/* Layout used only by the optional dashboard preview. */
.workspace{margin-left:0;min-width:0;transition:margin-left .2s ease}
.sidebar-nav{transform:translateX(-100%);transition:transform .2s ease;overflow-y:auto;overscroll-behavior:contain;z-index:70}
.sidebar-nav.open{transform:translateX(0)}
.topbar #mobile-menu{display:inline-grid;place-items:center;flex:none;width:42px;height:42px;font-size:24px;line-height:1;cursor:pointer}
.topbar{gap:14px}.topbar .page-identity{margin-right:auto}.topbar .global-controls{flex-wrap:wrap}
.preview-nav-close{position:absolute;right:10px;top:9px;border:0;border-radius:7px;width:28px;height:28px;background:#173149;color:#c5e4ff;font-size:23px;cursor:pointer}
.sidebar-nav .brand{padding-right:24px}
#mobile-scrim.show{display:block;position:fixed;inset:0;background:#020916b0;z-index:60}
@media(min-width:901px){body:has(.sidebar-nav.open) .workspace{margin-left:238px}#mobile-scrim{display:none!important}}
#preview-live-dashboard .preview-heading{position:relative;min-height:118px;padding:16px 22px;margin-bottom:14px;border:1px solid #28506e;border-radius:14px;background:linear-gradient(110deg,#12334a,#0d1b2e);isolation:isolate;overflow:hidden;gap:16px}
#preview-live-dashboard .preview-heading h1{font-size:clamp(24px,1.8vw,32px);margin:5px 0 7px;letter-spacing:-.6px}
#preview-live-dashboard .preview-heading .intro{font-size:14px;line-height:1.5;max-width:900px}
#preview-live-dashboard .preview-heading>.art{position:absolute;inset:0 8% 0 auto;width:27%;height:100%;opacity:.18;z-index:-1}
#preview-live-dashboard .preview-heading>a{position:relative;flex:none;font-size:12px;text-decoration:none}
#preview-live-dashboard .instruction{padding:0 3px 13px;gap:9px;align-items:center}
#preview-live-dashboard .instruction strong{font-size:13px}#preview-live-dashboard .instruction p{font-size:12px;margin:1px 0}
#preview-live-dashboard .preview-discovery{padding:15px 18px;gap:18px;margin-bottom:13px;align-items:start;grid-template-columns:minmax(240px,.75fr) minmax(0,1.65fr)}
#preview-live-dashboard .preview-community-menu{position:relative;min-width:0;margin:0}
#preview-live-dashboard .preview-community-menu>summary{display:grid;grid-template-columns:minmax(0,1fr) 20px;align-items:center;gap:2px 8px;min-height:75px;list-style:none;border:1px solid #355c79;border-radius:10px;background:#0a1e30;padding:11px 13px;cursor:pointer;color:#e2f3ff}
#preview-live-dashboard .preview-community-menu>summary::-webkit-details-marker{display:none}
#preview-live-dashboard .preview-community-menu>summary>span:first-child{font-size:14px;font-weight:700}
#preview-live-dashboard .preview-community-menu>summary>small{grid-row:2;grid-column:1;font-size:12px;color:#96b9d3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#preview-live-dashboard .preview-chevron{grid-row:1 / 3;grid-column:2;align-self:center;font-size:22px;transition:transform .15s}
#preview-live-dashboard .preview-community-menu[open] .preview-chevron{transform:rotate(180deg)}
#preview-live-dashboard .preview-community-menu[open]>summary{border-color:#5bb6e6;box-shadow:0 0 0 2px #4cb2e519}
#preview-live-dashboard .preview-community-content{position:absolute;left:0;top:calc(100% + 8px);width:520px;max-width:calc(100vw - 50px);padding:10px;background:#10263b;border:1px solid #396584;border-radius:12px;box-shadow:0 18px 60px #0008;z-index:55}
#preview-live-dashboard #preview-community-buttons{display:flex;flex-direction:column;flex-wrap:nowrap;gap:5px;margin:0;max-height:350px;overflow:auto}
#preview-live-dashboard #preview-community-buttons .preview-community-item{display:flex;width:100%;align-items:stretch;border:1px solid #264861;border-radius:8px;overflow:hidden;background:#0c2033;flex:none}
#preview-live-dashboard #preview-community-buttons .preview-community-item:has(input:checked){border-color:#5abce6;background:#174260}
#preview-live-dashboard .preview-community-choice{display:flex;flex:1;min-width:0;align-items:center;gap:10px;padding:10px 12px;color:#deedfb;font-size:13px;font-weight:500;cursor:pointer}
#preview-live-dashboard .preview-community-choice input{appearance:auto;accent-color:#43b8f3;width:16px;height:16px;min-height:0;flex:none;padding:0;margin:0;border-radius:3px}
#preview-live-dashboard .preview-community-choice span{overflow-wrap:anywhere}
#preview-live-dashboard #preview-community-buttons .preview-discord-link{font-size:11px;padding:8px 11px;flex:none}
#preview-live-dashboard #preview-community-note{font-size:11px;line-height:1.5;color:#99b7ce;margin:9px 3px 2px}
#preview-live-dashboard .preview-filter-extras{margin:0 0 17px;gap:14px;grid-template-columns:1fr 1fr}
#preview-live-dashboard .preview-filter-extras .insight{padding:15px 18px;min-height:145px}
#preview-live-dashboard .preview-filter-extras .insight h3{font-size:14px;margin:0 0 3px}
#preview-live-dashboard .preview-filter-extras .insight p{font-size:12px}
#preview-live-dashboard .preview-filter-extras .bars{gap:7px;margin-top:10px}
#preview-live-dashboard .preview-filter-extras .bar{font-size:12px;grid-template-columns:90px minmax(0,1fr) 44px}
#preview-live-dashboard .preview-filter-extras .bar>span:last-child{text-align:right}
#preview-live-dashboard .preview-filter-extras .play{width:48px;height:48px;font-size:18px;box-shadow:0 0 0 6px #2a85ac18}
#preview-live-dashboard .preview-filter-extras .replay-cta{gap:17px}
#preview-live-dashboard #preview-refresh-slot{margin-top:9px}
#preview-live-dashboard #preview-refresh-slot button{font-size:11px;padding:5px 9px;margin:0!important}
#preview-live-dashboard .preview-session-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin:0 16px 12px;padding:10px 0;border-top:1px solid #25445e;border-bottom:1px solid #25445e}
#preview-live-dashboard .preview-session-kpis .kpi{display:flex;align-items:baseline;gap:8px;padding:4px 14px;border:0;border-right:1px solid #28445a;border-radius:0;background:transparent;box-shadow:none;overflow:visible}
#preview-live-dashboard .preview-session-kpis .kpi:last-child{border-right:0}
#preview-live-dashboard .preview-session-kpis .kpi:after{display:none}
#preview-live-dashboard .preview-session-kpis .kpi label{font-size:10px;letter-spacing:.05em;color:#8eabc3}
#preview-live-dashboard .preview-session-kpis .kpi strong{font-size:20px!important;line-height:1.3;margin:0;color:#d9f0ff}
#preview-live-dashboard .preview-session-kpis .kpi small{display:none}
#preview-live-dashboard .table-head{padding:16px 17px 12px}
#preview-live-dashboard .preview-session-controls{padding-top:0}
@media(max-width:1100px){#preview-live-dashboard .preview-filter-extras{grid-template-columns:1fr 1fr}}
@media(max-width:760px){.workspace{margin-left:0!important}.topbar{padding:10px 12px;height:auto;min-height:68px;gap:10px}.topbar .page-identity{display:none}.topbar .global-controls{margin-left:auto;gap:9px}.topbar .global-controls label{gap:5px}.topbar .global-controls label>span{display:none}#preview-live-dashboard .preview-heading{padding:16px;min-height:0;flex-direction:column;align-items:flex-start;gap:10px}#preview-live-dashboard .preview-heading h1{font-size:26px}#preview-live-dashboard .preview-heading>a{font-size:11px}#preview-live-dashboard .preview-heading>.art{width:55%;right:-6%}#preview-live-dashboard .preview-discovery{grid-template-columns:1fr;padding:13px;gap:12px}#preview-live-dashboard .preview-community-menu>summary{min-height:62px}#preview-live-dashboard .preview-community-content{width:100%;max-width:100%}#preview-live-dashboard .preview-filter-extras{grid-template-columns:1fr;gap:10px}#preview-live-dashboard .preview-filter-extras .insight{min-height:0;padding:14px}#preview-live-dashboard .preview-session-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:0 12px 12px}#preview-live-dashboard .preview-session-kpis .kpi{padding:3px 6px}#preview-live-dashboard .preview-session-kpis .kpi:nth-child(2){border-right:0}#preview-live-dashboard .preview-session-kpis .kpi strong{font-size:18px!important}}
@media(prefers-reduced-motion:reduce){.workspace,.sidebar-nav,#preview-live-dashboard .preview-chevron{transition:none}}
/* Replay Lab is the main product feature, with a dedicated visual identity. */
#preview-live-dashboard .preview-filter-extras{grid-template-columns:minmax(280px,.75fr) minmax(0,1.25fr);align-items:stretch}
#preview-live-dashboard .preview-filter-extras .insight:not(.replay-feature){display:flex;flex-direction:column;justify-content:center}
#preview-live-dashboard .preview-filter-extras .replay-feature{position:relative;isolation:isolate;display:block;overflow:hidden;min-height:260px;padding:24px 27px;border:1px solid #706ee0;border-radius:16px;background:radial-gradient(ellipse at 95% 15%,#6541ba50,transparent 60%),linear-gradient(115deg,#102947,#111d39 58%,#1e1d48);box-shadow:0 0 0 1px #8c7dff13,0 12px 36px #060a1e70}
#preview-live-dashboard .replay-feature:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#10263e 0%,#10263ef0 30%,#101f3b88 60%,transparent 100%),url('/static/dashboard-replay-feature.svg?v=1') center right/auto 100% no-repeat;z-index:-1;opacity:.95}
#preview-live-dashboard .replay-feature:after{content:'';position:absolute;left:0;top:24px;bottom:24px;width:3px;background:linear-gradient(#5ad9ff,#a385ff);box-shadow:0 0 18px #5ccaff88}
#preview-live-dashboard .replay-feature-copy{position:relative;max-width:580px;width:72%}
#preview-live-dashboard .replay-feature-kicker{display:flex;align-items:center;gap:7px;color:#b4afff;font-size:10px;letter-spacing:.16em;font-weight:800}
#preview-live-dashboard .replay-feature-kicker i{display:inline-block;width:6px;height:6px;border-radius:50%;background:#8be4ff;box-shadow:0 0 10px #64cfff}
#preview-live-dashboard .preview-filter-extras .replay-feature h3{font-size:clamp(25px,1.8vw,35px);letter-spacing:-.7px;line-height:1.12;margin:9px 0 10px;color:#f2f5ff}
#preview-live-dashboard .replay-feature-hook{display:block;font-size:15px;font-weight:650;color:#c5eaff;margin-bottom:7px}
#preview-live-dashboard .preview-filter-extras .replay-feature p{font-size:13px;line-height:1.65;color:#adc4df;margin:0 0 18px}
#preview-live-dashboard .replay-feature-bottom{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
#preview-live-dashboard .replay-feature .replay-feature-action{display:inline-flex;align-items:center;gap:9px;padding:11px 16px;border:1px solid #abacff;border-radius:9px;background:linear-gradient(110deg,#4878e9,#7750d8);color:#fff;font-size:13px;line-height:1.4;font-weight:750;text-decoration:none;box-shadow:0 5px 20px #5f63f33b;white-space:nowrap;transition:filter .15s,transform .15s}
#preview-live-dashboard .replay-feature-action:hover{filter:brightness(1.15);transform:translateY(-1px)}
#preview-live-dashboard .replay-feature-play{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#ffffff22;font-size:10px}
#preview-live-dashboard .replay-feature-note{color:#9eafcc;font-size:10px}
#preview-live-dashboard .replay-feature-badges{position:absolute;right:18px;top:19px;display:flex;gap:5px;flex-wrap:wrap;justify-content:flex-end;max-width:35%}
#preview-live-dashboard .replay-feature-badges span{padding:4px 7px;border:1px solid #8191cb44;border-radius:5px;color:#c8d3f2;background:#0a143578;font-size:9px;letter-spacing:.03em;white-space:nowrap}
/* Stack the two discovery controls and keep community search inside its menu. */
#preview-live-dashboard .preview-discovery{grid-template-columns:minmax(0,1fr);gap:15px}
#preview-live-dashboard .preview-community-menu>summary{min-height:64px}
#preview-live-dashboard .preview-community-content{width:100%;max-width:100%;padding:12px}
#preview-live-dashboard .preview-community-search-label{display:block;font-size:12px;font-weight:650;color:#b4d6ec}
#preview-live-dashboard #preview-community-search{width:100%;margin:6px 0 10px;font-size:14px;min-height:40px;background:#071b2d;border-color:#3c6687}
#preview-live-dashboard .preview-community-empty{font-size:13px;color:#abc9de;margin:12px 5px}
#preview-live-dashboard #preview-community-buttons .preview-community-item[hidden]{display:none}
@media(max-width:1100px){#preview-live-dashboard .preview-filter-extras{grid-template-columns:minmax(0,1fr)}#preview-live-dashboard .preview-filter-extras .replay-feature{grid-row:1;min-height:245px}#preview-live-dashboard .replay-feature-copy{width:72%}}
@media(max-width:600px){#preview-live-dashboard .preview-filter-extras .replay-feature{padding:22px 19px;min-height:290px}#preview-live-dashboard .replay-feature-copy{width:100%}#preview-live-dashboard .replay-feature:before{background:linear-gradient(90deg,#10263ef5,#10263ec9),url('/static/dashboard-replay-feature.svg?v=1') center right/auto 100% no-repeat}#preview-live-dashboard .replay-feature-badges{position:static;justify-content:flex-start;max-width:none;margin-top:15px}#preview-live-dashboard .preview-filter-extras .replay-feature h3{font-size:29px}#preview-live-dashboard .replay-feature-note{font-size:11px}#preview-live-dashboard .preview-community-content{padding:9px}}
/* Explain WOACC and lead directly to its three main uses. */
#preview-live-dashboard .preview-heading{display:grid;grid-template-columns:minmax(0,1fr) minmax(480px,1.05fr);gap:25px;align-items:center;min-height:215px;padding:27px 25px 36px;background:radial-gradient(ellipse at 100% 0,#34447355,transparent 65%),linear-gradient(115deg,#12364a,#102136 58%,#151c38);border-color:#37607d}
#preview-live-dashboard .preview-heading .preview-head-copy h1{font-size:clamp(26px,1.9vw,37px);line-height:1.12;letter-spacing:-.8px;margin:9px 0 12px}
#preview-live-dashboard .preview-head-copy>p{font-size:14px;line-height:1.7;color:#b8cde0;margin:0 0 9px}
#preview-live-dashboard .preview-heading-footnote{font-size:12px;color:#88bcd6}
#preview-live-dashboard .preview-head-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;position:relative;z-index:1}
#preview-live-dashboard .preview-head-actions>button,#preview-live-dashboard .preview-head-actions>a{display:flex;flex-direction:column;align-items:flex-start;text-align:left;min-width:0;min-height:157px;padding:16px 13px;border:1px solid #41657f;border-radius:12px;background:linear-gradient(130deg,#19425b88,#12273d);color:#e8f4ff;text-decoration:none;cursor:pointer;transition:background .15s,border-color .15s,transform .15s}
#preview-live-dashboard .preview-head-actions>button:hover,#preview-live-dashboard .preview-head-actions>a:hover{border-color:#7bcfff;background:#1b435e;transform:translateY(-2px)}
#preview-live-dashboard .preview-entry-icon{display:block;width:28px;height:28px;color:#86dcff;margin-bottom:10px}
#preview-live-dashboard .preview-entry-icon svg{width:100%;height:100%;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
#preview-live-dashboard .preview-head-actions strong{font-size:15px;line-height:1.25}
#preview-live-dashboard .preview-head-actions small{font-size:11px;line-height:1.5;color:#9db9d2;margin:6px 0 12px}
#preview-live-dashboard .preview-head-actions em{font-size:11px;line-height:1.4;font-style:normal;font-weight:650;color:#89d9ff;margin-top:auto}
#preview-live-dashboard .preview-head-actions .preview-entry-replay{background:linear-gradient(130deg,#3c356599,#1b2846);border-color:#71629c}
#preview-live-dashboard .preview-head-actions .preview-entry-replay .preview-entry-icon,#preview-live-dashboard .preview-head-actions .preview-entry-replay em{color:#c8bbff}
#preview-live-dashboard .preview-heading>.preview-return-link{position:absolute;right:17px;bottom:10px;font-size:10px;color:#9bb7d0;text-decoration:none}
@media(max-width:1150px){#preview-live-dashboard .preview-heading{grid-template-columns:1fr;padding:23px 20px 32px;gap:19px}#preview-live-dashboard .preview-head-actions>button,#preview-live-dashboard .preview-head-actions>a{min-height:137px}#preview-live-dashboard .preview-heading .preview-head-copy h1 br{display:none}}
@media(max-width:600px){#preview-live-dashboard .preview-heading{padding:21px 16px 32px;gap:16px}#preview-live-dashboard .preview-heading .preview-head-copy h1{font-size:28px}#preview-live-dashboard .preview-head-copy>p{font-size:13px}#preview-live-dashboard .preview-heading-footnote{font-size:11px}#preview-live-dashboard .preview-head-actions{grid-template-columns:1fr;gap:8px}#preview-live-dashboard .preview-head-actions>button,#preview-live-dashboard .preview-head-actions>a{display:grid;grid-template-columns:30px minmax(0,1fr);gap:2px 12px;min-height:0;padding:12px 13px}#preview-live-dashboard .preview-entry-icon{grid-column:1;grid-row:1 / 4;margin:0;align-self:center}#preview-live-dashboard .preview-head-actions strong,#preview-live-dashboard .preview-head-actions small,#preview-live-dashboard .preview-head-actions em{grid-column:2;margin:0}#preview-live-dashboard .preview-head-actions strong{font-size:14px}#preview-live-dashboard .preview-head-actions em{margin-top:3px}}
.preview-track-modal-footer{display:flex;flex-direction:column;gap:7px;padding-top:18px;margin-top:16px;border-top:1px solid #31526e}.preview-track-modal .preview-track-full-link{display:inline-flex;align-self:flex-start;align-items:center;justify-content:center;padding:11px 16px;border:1px solid #6dc4f3;border-radius:9px;background:linear-gradient(110deg,#1a85b7,#3d6bd6);color:white;text-decoration:none;font-weight:700;font-size:13px}.preview-track-modal .preview-track-full-link:hover{filter:brightness(1.12)}.preview-track-modal-footer>small{font-size:11px;color:#9cbcd5}@media(max-width:600px){.preview-track-modal .preview-track-full-link{align-self:stretch;text-align:center}}
#preview-live-dashboard .preview-tracks-inline{margin-top:0;border:0;border-top:1px solid #2a4c65;border-bottom:1px solid #2a4c65;border-radius:0;background:linear-gradient(115deg,#112f3f,#102037);box-shadow:none}
#preview-live-dashboard .preview-tracks-inline .head{padding:13px 17px 5px;border:0}
#preview-live-dashboard .preview-tracks-inline .head h2{font-size:14px;color:#b9ebd8}
#preview-live-dashboard .preview-tracks-inline .head p{font-size:11px;margin:3px 0 0}
#preview-live-dashboard .preview-tracks-inline #preview-tracks{grid-template-columns:repeat(auto-fit,minmax(155px,1fr));gap:8px;padding:10px 15px 15px}
#preview-live-dashboard .preview-tracks-inline #preview-tracks button{padding:10px 11px}
#preview-live-dashboard .preview-tracks-inline #preview-tracks strong{font-size:12px}
#preview-live-dashboard .preview-tracks-inline #preview-tracks small{font-size:10px;margin:3px 0}
#preview-live-dashboard .preview-tracks-inline #preview-tracks em{font-size:10px}
@media(max-width:480px){#preview-live-dashboard .preview-tracks-inline #preview-tracks{grid-template-columns:repeat(2,minmax(0,1fr))}}

#preview-live-dashboard #preview-tracks .preview-track-thumbnail{display:block;position:relative;width:100%;height:86px;margin:0 0 9px;padding:0;overflow:hidden;background:#0a1a2b;border:0;border-radius:7px;pointer-events:none}#preview-live-dashboard #preview-tracks .preview-track-thumbnail img{position:absolute;inset:5px;width:calc(100% - 10px);height:76px;min-width:0;min-height:0;max-width:100%;max-height:100%;object-fit:contain;object-position:center}#preview-live-dashboard #preview-tracks .preview-track-thumbnail .track-image-loading{font-size:10px}
