.product-demo { --demo-accent:#2563eb; min-width:0; border:1px solid var(--panel-border,#d8e1ec); border-radius:22px; background:var(--panel,#fff); color:var(--text,#172235); box-shadow:0 20px 60px rgba(15,23,42,.09); overflow:hidden; }
.product-demo [hidden] { display:none!important; }
.product-demo-top,.product-demo-footer { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:18px 22px; }
.product-demo-top { border-bottom:1px solid var(--panel-border,#d8e1ec); font-weight:700; font-size:14px; }
.product-demo-badge { font-size:11px; font-weight:500; color:var(--muted,#607086); }
.product-demo-steps { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:6px; padding:16px 18px; }
.product-demo .product-demo-steps button { display:flex; align-items:center; justify-content:center; gap:8px; min-width:0; padding:10px 6px; border:1px solid transparent; border-radius:10px; background:transparent; color:var(--muted,#607086); font:inherit; font-size:12px; font-weight:600; cursor:pointer; }
.product-demo-steps button span { display:grid; place-items:center; width:22px; height:22px; border:1px solid currentColor; border-radius:50%; flex-shrink:0; font-size:11px; }
.product-demo .product-demo-steps button[aria-selected=true] { color:var(--demo-accent)!important; background:var(--accent-soft,#e8f1ff)!important; border-color:var(--demo-accent)!important; }
.product-demo-body { padding:4px 22px 22px; min-height:350px; }
.product-demo h3 { margin:0 0 8px; font-size:21px; line-height:1.3; }
.product-demo-panel>p { margin:0 0 20px; color:var(--muted,#607086); font-size:14px; line-height:1.6; }
.demo-file { display:flex; align-items:center; gap:14px; padding:22px 18px; border:1px solid var(--panel-border,#d8e1ec); border-radius:12px; margin:24px 0 16px; background:var(--bg-soft,#eaf0f7); }
.demo-file svg { width:34px; height:42px; flex-shrink:0; color:var(--demo-accent); }
.demo-file strong { display:block; font-size:14px; overflow-wrap:anywhere; }
.demo-file div>span { display:block; color:var(--muted,#607086); font-size:12px; margin-top:4px; }
.demo-file-tag { margin-left:auto; font-size:10px; border:1px solid var(--panel-border,#d8e1ec); border-radius:5px; padding:4px 6px; }
.demo-source-table { border:1px solid var(--panel-border,#d8e1ec); border-radius:10px; overflow:hidden; margin-bottom:16px; }
.demo-source-table>div { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; padding:12px; font-size:13px; }
.demo-source-table>div:first-child { background:var(--bg-soft,#eaf0f7); color:var(--muted,#607086); font-size:11px; }
.product-demo p.demo-small { font-size:11px; color:var(--muted,#607086); margin:12px 0 0; }
.demo-settings { display:flex; flex-wrap:wrap; align-items:center; gap:14px; margin-bottom:18px; }
.demo-layout-buttons { display:flex; gap:4px; }
.product-demo .demo-layout-buttons button { padding:7px 10px; background:transparent; border:1px solid var(--panel-border,#d8e1ec); border-radius:7px; font:inherit; font-size:12px; cursor:pointer; color:var(--text,#172235); }
.product-demo .demo-layout-buttons button[aria-pressed=true] { border-color:var(--demo-accent)!important; color:var(--demo-accent)!important; }
.demo-colors { display:flex; gap:7px; }
.product-demo .demo-colors button { width:24px; height:24px; padding:0; background:var(--swatch)!important; border:3px solid var(--panel,#fff); border-radius:50%; outline:1px solid transparent; cursor:pointer; }
.product-demo .demo-colors button[aria-pressed=true] { outline-color:var(--swatch); }
.demo-logo-switch { display:flex; align-items:center; gap:6px; font-size:12px; color:var(--muted,#607086); }
.demo-logo-switch input { width:14px; height:14px; accent-color:var(--demo-accent); }
.demo-report { padding:20px; border:1px solid #d8e1ec; border-radius:10px; background:#fff; color:#172235; box-shadow:0 8px 20px rgba(0,0,0,.04); }
.demo-report-header { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; padding-bottom:14px; border-bottom:3px solid var(--demo-accent); }
.demo-report-eyebrow { font-size:8px; letter-spacing:.12em; color:#607086; }
.demo-report h4 { font-size:23px; line-height:1.2; margin:6px 0; color:#172235!important; }
.demo-report-period { font-size:10px; color:#607086; }
.demo-publisher { font-size:9px; font-weight:800; line-height:1.1; display:flex; align-items:center; gap:5px; }
.demo-publisher>span { display:grid; place-items:center; width:28px; height:28px; background:var(--demo-accent); color:#fff; border-radius:5px; font-size:18px; }
.demo-report-kpis { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; padding:18px 0; }
.demo-report-kpis span { display:block; font-size:9px; color:#607086; }
.demo-report-kpis strong { display:block; font-size:23px; color:#172235; }
.demo-chart-title { font-size:10px; font-weight:600; margin-bottom:8px; }
.demo-chart { display:block; width:100%; height:90px; color:var(--demo-accent); }
.demo-report-foot { display:flex; justify-content:space-between; gap:8px; margin-top:12px; color:#607086; font-size:8px; }
.product-demo[data-layout=classic] .demo-report-header { border-bottom-width:1px; text-align:center; flex-direction:column; align-items:center; }
.product-demo[data-layout=classic] .demo-report h4 { font-family:Georgia,serif; }
.product-demo[data-layout=classic] .demo-report-kpis>div { padding:9px; background:#f4f7fb; border-radius:6px; }
.demo-outputs { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
.demo-outputs>span { padding:10px 8px; border:1px solid var(--panel-border,#d8e1ec); border-radius:8px; font-size:12px; font-weight:600; }
.demo-outputs small { display:block; margin-top:3px; font-size:9px; font-weight:400; color:var(--muted,#607086); }
.product-demo[data-stage="3"] .demo-report { margin-top:18px; }
.product-demo-footer { border-top:1px solid var(--panel-border,#d8e1ec); font-size:12px; color:var(--muted,#607086); }
.product-demo .product-demo-footer button { padding:9px 14px; background:#2563eb!important; color:#fff!important; border:0; border-radius:8px; cursor:pointer; font:inherit; font-weight:600; }
.product-demo button:focus-visible,.product-demo input:focus-visible { outline:3px solid #60a5fa; outline-offset:3px; }
.product-demo-panel.demo-enter { animation:demo-enter .18s ease-out; }
@keyframes demo-enter { from{opacity:.4;transform:translateY(4px)}to{opacity:1;transform:none} }
@media(prefers-reduced-motion:reduce) { .product-demo-panel.demo-enter { animation:none; } }
@media(max-width:980px) {
    .page-shell .site-header-actions { position:relative; }
    .page-shell .site-header-dropdown { position:static; }
    .page-shell .site-header-dropdown-menu { left:0; right:auto; max-width:calc(100vw - 44px); }
}
@media(max-width:600px) { .product-demo-top { flex-wrap:wrap; } .product-demo-top,.product-demo-footer { padding:14px; } .product-demo-body { padding:4px 14px 16px; } .product-demo-steps { padding:12px 8px; } .product-demo .product-demo-steps button { flex-direction:column; gap:5px; font-size:11px; } .demo-report { padding:14px; } .demo-report h4 { font-size:19px; } .demo-report-kpis strong { font-size:20px; } .demo-report-foot { flex-wrap:wrap; } }
