/* Shared appearance layer. All three themes use the same page and visitor data. */
html[data-theme]{--blue:var(--accent);--muted:var(--text-muted);--surface:var(--panel);--ink:var(--text);color:var(--text);background:var(--bg);scrollbar-color:var(--border) var(--bg)}
html[data-theme="deep-space"]{color-scheme:dark;--bg:#060e20;--panel:#0d1b33;--panel-raised:#112441;--panel-soft:#0a162c;--field:#0a162b;--text:#e9f4ff;--text-muted:#92abc5;--accent:#78d2ff;--accent-2:#8ee9da;--border:#253c58;--line:#203550;--wash:#163957;--button-text:#071829;--green:#85e1bd;--green-bg:#12392f;--red:#ffa6a6;--red-bg:#3d202c;--amber:#f1cc88;--amber-bg:#382e20;--radius:19px;--hero:radial-gradient(ellipse at 86% 30%,#164b7699,transparent 66%),linear-gradient(130deg,#102b51,#0b1d36);--hero-ink:#edf8ff;--hero-muted:#9dc6e3;--shadow:0 16px 60px #01081630;--aura:#1b55943b}
html[data-theme="obsidian"]{color-scheme:dark;--bg:#090b10;--panel:#12161f;--panel-raised:#1b2130;--panel-soft:#0e121a;--field:#10141d;--text:#f1f3fb;--text-muted:#9ca6bc;--accent:#a3b7ff;--accent-2:#83d8d2;--border:#313849;--line:#272f3e;--wash:#252d47;--button-text:#101425;--green:#8cdbb6;--green-bg:#19372c;--red:#efa3a7;--red-bg:#392128;--amber:#e6c68d;--amber-bg:#362e23;--radius:13px;--hero:radial-gradient(ellipse at 86% 30%,#39446977,transparent 70%),linear-gradient(125deg,#202738,#11151f);--hero-ink:#f5f6ff;--hero-muted:#b0bddb;--shadow:0 20px 60px #0003;--aura:#47558422}
html[data-theme="titanium"]{color-scheme:light;--bg:#e9edf2;--panel:#f8fafc;--panel-raised:#fff;--panel-soft:#f0f3f8;--field:#fff;--text:#202d42;--text-muted:#65758c;--accent:#285ed7;--accent-2:#2d827c;--border:#cdd6e3;--line:#dbe2ec;--wash:#e4ebfa;--button-text:#fff;--green:#20715b;--green-bg:#e6f4ee;--red:#b94349;--red-bg:#fff0ef;--amber:#93631d;--amber-bg:#fff5e3;--radius:9px;--hero:linear-gradient(125deg,#fff,#eef2f7 55%,#dce4ef);--hero-ink:#233b60;--hero-muted:#657b96;--shadow:0 12px 36px #283f5b08;--aura:#aebfd41c}
html[data-theme] body{background:radial-gradient(ellipse at 85% 0%,var(--aura),transparent 45%),var(--bg);color:var(--text)}
html[data-theme] body::before{background:radial-gradient(circle,var(--aura),transparent 70%)}
html[data-theme] .ambient-grid{background-image:linear-gradient(var(--line) 1px,transparent 1px),linear-gradient(90deg,var(--line) 1px,transparent 1px);background-size:72px 72px;opacity:.13;mask-image:linear-gradient(#000,transparent 70%)}
html[data-theme] .topbar{background:var(--panel);border-color:var(--border);min-height:82px;height:auto;padding-top:12px;padding-bottom:12px;gap:16px;backdrop-filter:none}
html[data-theme] .brand-name strong,html[data-theme] .brand strong{color:var(--text)}
html[data-theme] .brand-name small,html[data-theme] .brand-caption{color:var(--text-muted)}
html[data-theme] .brand-divider{background:var(--border)}
html[data-theme] .header-actions .muted,html[data-theme] .muted{color:var(--text-muted)}
html[data-theme] :is(h1,h2,h3,.cell-main,.entry-site-name,.site-card-title strong){color:var(--text)}
html[data-theme] .page-heading{margin:26px 0 24px;min-height:116px}
html[data-theme] .page-heading h1{color:var(--text);font-size:clamp(36px,3vw,54px)}
html[data-theme] :is(.eyebrow,.journey-eyebrow,.manager-eyebrow){color:var(--accent)}
html[data-theme] :is(.eyebrow-line,.records-title:before){background:var(--accent)}
html[data-theme] :is(.mode-banner,.environment){background:var(--panel-soft);border-color:var(--line);color:var(--text-muted)}
html[data-theme] .mode-banner a{color:var(--accent)}
html[data-theme] :is(.button,.page-control,.page-number-button,.country-toggle,.page-go,.journey-rules){background:var(--panel-raised);border-color:var(--border);color:var(--text);box-shadow:none}
html[data-theme] :is(.button,.page-control,.country-toggle,.page-go,.journey-rules):hover:not(:disabled){background:var(--wash);border-color:var(--accent);color:var(--text);box-shadow:0 5px 18px #0001}
html[data-theme] .button.quiet{background:transparent;border-color:transparent;color:var(--text-muted)}
html[data-theme] .button.primary{background:linear-gradient(115deg,var(--accent),var(--accent-2));color:var(--button-text);border-color:transparent;box-shadow:0 4px 18px #0002}
html[data-theme] .button.primary:hover:not(:disabled){background:var(--accent);color:var(--button-text)}
html[data-theme] :is(input,select,textarea){background:var(--field);color:var(--text);border-color:var(--border);accent-color:var(--accent)}
html[data-theme] :is(input,textarea)::placeholder{color:var(--text-muted);opacity:.8}
html[data-theme] :is(input,select,textarea):disabled{background:var(--panel-soft);color:var(--text-muted)}
html[data-theme] :is(button,a,input,select,textarea,summary):focus-visible{outline:2px solid var(--accent);outline-offset:4px}
html[data-theme] :is(.filter-panel,.records,.country-panel,.visitor-funnel.journey-panel){background:var(--panel);border-color:var(--border);border-radius:var(--radius);box-shadow:var(--shadow);backdrop-filter:none}
html[data-theme] .filter-panel .toolbar{background:transparent}
html[data-theme] .eligibility-filters{background:var(--panel-soft);border-color:var(--line);color:var(--text-muted);border-radius:var(--radius)}
html[data-theme] .eligibility-filters label{color:var(--text-muted)}
html[data-theme] :is(.site-mark,.device-icon,.country-symbol,.version-platform,.count){color:var(--accent);background:var(--wash);border-color:var(--border)}
html[data-theme] :is(.site-picker select,.date-actions input,.range-select,.eligibility-filters select,.page-size-label select,.page-jump input){background:var(--field);color:var(--text);border-color:var(--border)}
html[data-theme] :is(.timezone,.date-range-label){color:var(--text-muted)}
html[data-theme] .day-shortcuts{background:var(--panel-soft)}
html[data-theme] .day-shortcuts .button{background:transparent;color:var(--text-muted)}
html[data-theme] .day-shortcuts .button[aria-pressed="true"],html[data-theme] .range-select.is-active{background:var(--wash);color:var(--accent);border-color:var(--accent);box-shadow:none}
html[data-theme] .journey-panel{position:relative}
html[data-theme] :is(.journey-header p,.journey-rules span,.journey-disclosure summary,.journey-popover p,.journey-link,.journey-bridge,.conversion-title){color:var(--text-muted)}
html[data-theme] .journey-header h2{color:var(--text)}
html[data-theme] .visitor-primary{background:var(--hero);color:var(--hero-ink);border:1px solid var(--border);border-radius:calc(var(--radius) - 3px);position:relative;isolation:isolate;overflow:hidden;box-shadow:inset 0 1px 0 #ffffff0c;min-height:300px}
html[data-theme] .visitor-primary:before{content:"";position:absolute;inset:0;background:radial-gradient(300px circle at var(--pointer-x,80%) var(--pointer-y,35%),var(--aura),transparent);z-index:-1;pointer-events:none}
html[data-theme] .visitor-primary:after{content:"";position:absolute;left:0;top:0;width:36%;height:1px;background:linear-gradient(90deg,transparent,var(--accent),transparent);animation:theme-edge 7s ease-in-out infinite;pointer-events:none}
html[data-theme] .visitor-primary-heading{position:relative;z-index:1}
html[data-theme] .visitor-primary-heading h3{color:var(--hero-ink);font-weight:650;letter-spacing:1px}
html[data-theme] .visitor-primary-heading span{background:var(--wash);border-color:var(--border);color:var(--hero-ink)}
html[data-theme] .visitor-primary-value{position:relative;z-index:1}
html[data-theme] .visitor-primary-value strong{font-size:clamp(76px,6.4vw,116px);color:var(--hero-ink);text-shadow:0 4px 32px var(--aura)}
html[data-theme] :is(.visitor-primary-value .people-unit,.visitor-primary-caption,.visitor-primary-note){color:var(--hero-muted);position:relative;z-index:1}
html[data-theme] .visitor-primary .journey-track{background:var(--border);position:relative;margin-top:28px;z-index:1}
html[data-theme] .visitor-primary .journey-track span{background:linear-gradient(90deg,var(--accent),var(--accent-2))}
html[data-theme] .visitors-first .journey-stage{background:var(--panel-soft);border:1px solid var(--line);border-radius:calc(var(--radius) - 3px)}
html[data-theme] :is(.journey-stage-label,.journey-stage p){color:var(--text-muted)}
html[data-theme] .journey-stage-label b{color:var(--text);background:var(--wash)}
html[data-theme] :is(.journey-stage-value strong,.journey-stage-value .people-unit){color:var(--text)}
html[data-theme] .journey-track{background:var(--line)}
html[data-theme] .journey-track span{background:linear-gradient(90deg,var(--accent),var(--accent-2));position:relative;overflow:hidden}
html[data-theme] .journey-track span:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent,#ffffff55,transparent);transform:translateX(-100%);animation:theme-sheen 6s ease-in-out infinite}
html[data-theme] .visitors-first .journey-outcome{background:var(--panel-raised);border:1px solid var(--border);border-radius:calc(var(--radius) - 3px);box-shadow:inset 3px 0 var(--accent-2)}
html[data-theme] :is(.journey-outcome .journey-outcome-label,.journey-outcome .people-unit,.journey-outcome .journey-share span,.journey-outcome .journey-outcome-bottom span){color:var(--text-muted)}
html[data-theme] :is(.journey-outcome-value strong,.journey-share strong,.journey-outcome-bottom strong){color:var(--accent-2)}
html[data-theme] .journey-outcome .journey-track{background:var(--line)}
html[data-theme] .journey-outcome .journey-track span{background:var(--accent-2)}
html[data-theme] .journey-share{border-color:var(--border)}
html[data-theme] .journey-bottom{border-color:var(--line)}
html[data-theme] .journey-popover{background:var(--panel-raised);border-color:var(--border);color:var(--text);box-shadow:0 16px 45px #0004}
html[data-theme] .journey-popover strong{color:var(--accent)}
html[data-theme] :is(.country-heading p,.country-summary,.country-empty,.country-footer,.country-row-label){color:var(--text-muted)}
html[data-theme] :is(.country-heading h2,.country-row-label strong,.country-row-label b){color:var(--text)}
html[data-theme] :is(.country-row-label em,.analysis-action){color:var(--accent)}
html[data-theme] .analysis-action{background:var(--wash);border-color:var(--border)}
/* Match all disclosure states so the legacy light open-state background cannot flash. */
html[data-theme] .analysis-fold>.country-header{background:var(--panel);color:var(--text)}
html[data-theme] .analysis-fold[open]>.country-header{background:var(--panel-soft);border-color:var(--line)}
html[data-theme] .analysis-fold>.country-header:is(:hover,:focus-visible){background:var(--panel-raised)}
html[data-theme] .analysis-fold>.country-header:focus-visible{outline-color:var(--accent)}
html[data-theme] .country-rank{background:var(--wash);color:var(--text-muted)}
html[data-theme] .country-rank.leading{background:var(--accent);color:var(--button-text)}
html[data-theme] .country-track{background:var(--line)}
html[data-theme] .country-track span{background:linear-gradient(90deg,var(--accent),var(--accent-2))}
html[data-theme] .country-footer{border-color:var(--line)}
html[data-theme] .country-footer>span,html[data-theme] #latest-visit-note{color:var(--text-muted)}
html[data-theme] th{background:var(--panel-soft);color:var(--text-muted);border-color:var(--line)}
html[data-theme] td{border-color:var(--line);color:var(--text)}
html[data-theme] :is(.cell-sub,.cell-sub.version,.entry-channel,.status,.updated,.table-footer,.bottom-notes,.page-jump,.pagination-summary){color:var(--text-muted)}
html[data-theme] :is(.entry-site-name,.cell-main){color:var(--text)}
html[data-theme] .records-title h2{color:var(--text)}
html[data-theme] .entry-page-cell .page-site-name{color:var(--text)}
html[data-theme] .entry-page-cell :is(.page-channel,.page-path){color:var(--text-muted)}
html[data-theme] .page-channel-label{background:var(--wash);color:var(--text-muted);border-color:var(--border)}
html[data-theme] :is(.table-footer,.records-heading){background:transparent;border-color:var(--line)}
html[data-theme] tbody tr:hover,html[data-theme] #rows tr:has(.online-marker:not([hidden])){background:var(--panel-raised)}
html[data-theme] :is(.qualification-valid,.duration-long,.connection-badge.received,.online-marker){background:var(--green-bg);color:var(--green);border-color:color-mix(in srgb,var(--green) 35%,transparent);box-shadow:none}
html[data-theme] :is(.qualification-invalid,.duration-short,.error-strip){background:var(--red-bg);color:var(--red);border-color:color-mix(in srgb,var(--red) 30%,transparent)}
html[data-theme] :is(.duration-medium,.qualification-pending,.connection-badge.pending){background:var(--amber-bg);color:var(--amber);border-color:color-mix(in srgb,var(--amber) 30%,transparent)}
html[data-theme] .error{color:var(--red)}
html[data-theme] :is(.source,.connection-badge.test){background:var(--wash);color:var(--accent)}
html[data-theme] #rows tr:has(.online-marker:not([hidden])) .device-icon{background:var(--green-bg);color:var(--green);border-color:var(--green-bg)}
html[data-theme] :is(.page-number,.page-control){color:var(--text);background:var(--panel-raised);border-color:var(--border)}
html[data-theme] .page-number[aria-current="page"]{background:var(--accent);color:var(--button-text);border-color:var(--accent);box-shadow:none}
html[data-theme] :is(.empty-state,.empty-icon){background:var(--panel-soft);color:var(--text-muted);border-color:var(--line)}
html[data-theme] :is(dialog,#connect-dialog){background:var(--panel);color:var(--text);border-color:var(--border);border-radius:var(--radius);box-shadow:0 30px 100px #0005}
html[data-theme] dialog::backdrop{background:#01071499;backdrop-filter:blur(8px)}
html[data-theme] :is(.dialog-heading h2,.manager-section-heading h3,.install-heading h3){color:var(--text)}
html[data-theme] :is(.dialog-note,.connection-steps,.install-panel,.site-add-panel,.device-rule-summary){background:var(--panel-soft);color:var(--text-muted);border-color:var(--line)}
html[data-theme] :is(.manager-subtitle,.site-origin,.site-card-meta,.field-hint,.install-hint,.install-steps,.manager-section-heading>span,.management-row p,.management-form label){color:var(--text-muted)}
html[data-theme] .site-card{background:var(--panel-raised);border-color:var(--border)}
html[data-theme] .site-card.selected{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent)}
html[data-theme] :is(.connection-steps b,.site-card .site-code-button){color:var(--accent);background:var(--wash);border-color:var(--border)}
html[data-theme] :is(.management-form,.management-row,.manager-section-heading,.device-rule-summary){border-color:var(--line)}
html[data-theme] :is(.site-add-panel summary,.device-rule-summary strong){color:var(--accent)}
html[data-theme] :is(.auth-panel,.login-form-side){background:var(--panel);color:var(--text);border-color:var(--border)}
html[data-theme] .auth-panel{box-shadow:var(--shadow)}
html[data-theme] .login-story{background:var(--hero);color:var(--hero-ink);border-color:var(--border)}
html[data-theme] :is(.login-promise,.login-story h2,.login-brand strong){color:var(--hero-ink)}
html[data-theme] :is(.login-brand small,.login-story p,.login-signature){color:var(--hero-muted)}
html[data-theme] :is(.auth-panel h1,.auth-panel h2){color:var(--text)}
html[data-theme] :is(.auth-panel label,.auth-note,.login-access-label,.login-form-content p){color:var(--text-muted)}
html[data-theme] :is(.auth-panel input,.login-input){background:var(--field);color:var(--text);border-color:var(--border)}
html[data-theme] .auth-preview{color:var(--accent)}
html[data-theme] #site-subtitle{color:var(--text-muted)}
html[data-theme] .journey-number{background:var(--wash);color:var(--accent)}
html[data-theme] .visitors-first #funnel-qualified{color:var(--accent-2)}
html[data-theme] .visitors-first .journey-outcome-track{background:var(--line)}
html[data-theme] .visitors-first .journey-outcome-track span{background:var(--accent-2)}
html[data-theme] .visitors-first .journey-share{border-color:var(--border)}
html[data-theme] .page-index{background:var(--panel-raised);color:var(--text);border-color:var(--border)}
html[data-theme] .page-index[aria-current="page"]{background:var(--accent);color:var(--button-text);border-color:var(--accent);box-shadow:none}
html[data-theme] .login-promise h2 em{color:var(--accent-2)}
html[data-theme] .login-capabilities{color:var(--hero-muted)}
html[data-theme] .orbit-core{background:var(--panel-raised);border:1px solid var(--border);box-shadow:0 15px 45px var(--aura)}
html[data-theme] .orbit-core svg{stroke:var(--accent)}
html[data-theme] .orbit{border-color:var(--border)}
html[data-theme] #auth.auth-panel{background:var(--panel);border-color:var(--border);box-shadow:var(--shadow)}
html[data-theme] #auth .login-form-content h1{color:var(--text)}
html[data-theme] #auth #auth-description,html[data-theme] #auth #auth-form label,html[data-theme] #auth .auth-note{color:var(--text-muted)}
html[data-theme] #auth .login-input input{background:var(--field);color:var(--text);border-color:var(--border)}
html[data-theme] #auth .login-input input:focus{background:var(--panel-raised);border-color:var(--accent);box-shadow:0 0 0 3px var(--wash)}
html[data-theme] #auth #auth-submit{background:linear-gradient(115deg,var(--accent),var(--accent-2));color:var(--button-text);box-shadow:0 9px 24px var(--aura)}
html[data-theme] .login-signature{border-color:var(--line);color:var(--text-muted)}
html[data-theme] #connect-dialog .install-panel{background:var(--panel-soft);border-color:var(--border)}
html[data-theme] #connect-dialog #snippet-code{background:var(--field);border-color:var(--border);color:var(--text)}
html[data-theme] #connect-dialog .site-form-grid :is(input,select){background:var(--field);color:var(--text);border-color:var(--border)}
html[data-theme] #connect-dialog #site-form-title{color:var(--text-muted)}
html[data-theme] body:has(#auth:not([hidden])) .topbar{display:flex;position:absolute;top:0;left:0;right:0;background:transparent;border:0;box-shadow:none;padding:20px 28px;min-height:78px}
html[data-theme] body:has(#auth:not([hidden])) .topbar>.brand{display:none}
html[data-theme] body:has(#auth:not([hidden])) .header-actions{margin-left:auto;margin-top:0}
html[data-theme] body:has(#auth:not([hidden])) .header-actions>:not(.theme-trigger){display:none}
@media(max-width:680px){html[data-theme] body:has(#auth:not([hidden])) main{padding-top:96px}}

/* Analysis center: keep the homepage focused while the detailed modules share one workspace. */
html[data-theme] .workspace-tabs{display:flex;align-items:stretch;gap:8px;margin:-4px 0 18px;padding:6px;border:1px solid var(--border);border-radius:13px;background:var(--panel-soft);box-shadow:inset 0 1px 0 #ffffff09}
html[data-theme] .workspace-tabs button{display:flex;align-items:center;gap:10px;position:relative;flex:1;min-width:0;border:1px solid transparent;border-radius:9px;background:transparent;color:var(--text-muted);padding:10px 12px;font-family:var(--font-reading);text-align:left;cursor:pointer;transition:background .18s,border-color .18s,box-shadow .18s,transform .18s}
html[data-theme] .workspace-tabs button:hover{border-color:color-mix(in srgb,var(--accent) 38%,var(--border));background:var(--panel-raised);transform:translateY(-1px)}
html[data-theme] .workspace-tabs .workspace-tab-icon{display:grid;place-items:center;flex:none;width:30px;height:30px;border-radius:8px;background:var(--wash);color:var(--accent);font:700 18px/1 var(--font-reading);font-style:normal}
html[data-theme] .workspace-tabs button>span{display:grid;gap:2px;min-width:0}
html[data-theme] .workspace-tabs button strong{overflow:hidden;color:var(--text);font:750 14px/1.3 var(--font-reading);white-space:nowrap;text-overflow:ellipsis}
html[data-theme] .workspace-tabs button small{overflow:hidden;color:var(--text-muted);font:500 10px/1.35 var(--font-reading);white-space:nowrap;text-overflow:ellipsis}
html[data-theme] .workspace-tabs .workspace-tab-cta,html[data-theme] .analysis-tab-action{position:relative;isolation:isolate;overflow:hidden;display:inline-flex;align-items:center;gap:7px;width:max-content;border:1px solid color-mix(in srgb,var(--amber) 58%,var(--border));background:linear-gradient(112deg,color-mix(in srgb,var(--amber) 23%,var(--panel-raised)) 0%,color-mix(in srgb,var(--amber) 10%,var(--panel)) 48%,color-mix(in srgb,var(--amber) 20%,var(--panel-raised)) 100%);color:color-mix(in srgb,var(--amber) 88%,#fff);font:750 10px/1 var(--font-reading);letter-spacing:.075em;white-space:nowrap;text-shadow:0 1px 0 #0008;box-shadow:inset 0 1px 0 #fff3,inset 0 -1px 0 #0006,0 5px 12px #00000024}
html[data-theme] .workspace-tabs .workspace-tab-cta{margin-left:auto;padding:6px 7px 6px 10px;border-radius:999px}
html[data-theme] .analysis-tab-action{margin-top:5px;padding:5px 6px 5px 10px;border-radius:999px;font-style:normal}
html[data-theme] .workspace-tabs .workspace-tab-cta:before,html[data-theme] .analysis-tab-action:before{content:'';position:absolute;z-index:-1;inset:1px 35% 52% 1px;border-radius:inherit;background:linear-gradient(90deg,#fff0,#fff4,#fff0);opacity:.72;transform:skewX(-22deg)}
html[data-theme] .workspace-tabs .workspace-tab-cta span,html[data-theme] .analysis-tab-action span{position:relative;z-index:1}
html[data-theme] .workspace-tab-cta em,html[data-theme] .analysis-tab-action b{position:relative;z-index:1;display:grid;place-items:center;width:18px;height:18px;border:1px solid #ffe6a866;border-radius:50%;background:linear-gradient(145deg,color-mix(in srgb,#fff 72%,var(--amber)),var(--amber));color:#2b1b08;font:850 13px/1 var(--font-reading);font-style:normal;letter-spacing:0;text-shadow:none;box-shadow:inset 0 1px 0 #fff9,0 2px 5px #00000045;transition:transform .18s,box-shadow .18s}
html[data-theme] .workspace-tabs button.active{border-color:var(--accent);background:linear-gradient(120deg,var(--wash),var(--panel-raised));box-shadow:0 4px 14px var(--aura)}
html[data-theme] .workspace-tabs button.active .workspace-tab-icon{background:var(--accent);color:var(--panel)}
html[data-theme] .workspace-tabs button.active .workspace-tab-cta{display:none}
html[data-theme] .analysis-hub{margin-top:2px;border:1px solid var(--border);border-radius:var(--radius);background:var(--panel);box-shadow:var(--shadow);overflow:hidden}
html[data-theme] .analysis-hub-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;padding:22px 24px 18px;border-bottom:1px solid var(--line)}
html[data-theme] .analysis-hub-heading h2{font-size:22px;margin:5px 0 6px;color:var(--text)}
html[data-theme] .analysis-hub-heading p{font-size:12px;color:var(--text-muted);margin:0;line-height:1.7}
html[data-theme] .analysis-scope{flex:none;margin-top:6px;padding:7px 10px;border-radius:8px;background:var(--panel-soft);color:var(--text-muted);font-size:11px}
html[data-theme] .analysis-selector{padding:18px 22px 20px;border-bottom:1px solid var(--line);background:linear-gradient(100deg,var(--panel-soft),var(--panel))}
html[data-theme] .analysis-selector-copy{display:flex;align-items:baseline;gap:10px;margin:0 0 12px 2px}
html[data-theme] .analysis-selector-copy span{color:var(--accent);font:750 10px var(--font-reading);letter-spacing:.13em;text-transform:uppercase}
html[data-theme] .analysis-selector-copy strong{color:var(--text);font:700 14px var(--font-reading)}
html[data-theme] .analysis-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
html[data-theme] .analysis-tabs button{display:flex;align-items:center;gap:11px;min-width:0;min-height:82px;padding:12px 13px;border:1px solid var(--line);border-radius:11px;background:var(--panel);color:var(--text-muted);text-align:left;font-family:var(--font-reading);cursor:pointer;transition:border-color .18s,background .18s,box-shadow .18s,transform .18s}
html[data-theme] .analysis-tabs button:hover{border-color:color-mix(in srgb,var(--accent) 55%,var(--border));background:var(--panel-raised);transform:translateY(-1px)}
html[data-theme] .analysis-tab-icon{display:grid;place-items:center;flex:none;width:34px;height:34px;border-radius:9px;background:var(--wash);color:var(--accent);font:700 18px/1 var(--font-reading);font-style:normal}
html[data-theme] .analysis-tabs button>span{display:grid;gap:3px;min-width:0}
html[data-theme] .analysis-tabs button strong{color:var(--text-muted);font:750 14px var(--font-reading);white-space:nowrap}
html[data-theme] .analysis-tabs button small{overflow:hidden;color:var(--text-muted);font:500 11px var(--font-reading);line-height:1.35;white-space:nowrap;text-overflow:ellipsis}
html[data-theme] .analysis-tabs button:hover .analysis-tab-action b,html[data-theme] .analysis-tabs button[aria-selected='true'] .analysis-tab-action b,html[data-theme] .workspace-tabs button:hover .workspace-tab-cta em{transform:translateX(2px);box-shadow:inset 0 1px 0 #fff9,0 0 0 3px color-mix(in srgb,var(--amber) 20%,transparent),0 2px 5px #00000045}
html[data-theme] .analysis-tabs button[aria-selected='true']{border-color:var(--accent);background:linear-gradient(135deg,var(--wash),var(--panel));box-shadow:0 5px 18px var(--aura)}
html[data-theme] .analysis-tabs button[aria-selected='true'] .analysis-tab-icon{background:var(--accent);color:var(--panel)}
html[data-theme] .analysis-tabs button[aria-selected='true'] strong{color:var(--text)}
html[data-theme] .analysis-tabs button[aria-selected='true'] small{color:var(--accent)}
html[data-theme] .analysis-stage{padding:20px 22px 8px}
html[data-theme] #analysis-workspace .country-panel{margin:0 0 14px;border-color:var(--border);box-shadow:none}
html[data-theme] #analysis-workspace .analysis-fold>.country-header{padding:16px 18px}
html[data-theme] .data-reminder{display:flex;align-items:center;gap:12px;width:100%;text-align:left;padding:14px 17px;margin:0 0 16px;border:1px solid color-mix(in srgb,var(--amber) 45%,var(--border));border-radius:var(--radius);background:linear-gradient(100deg,var(--amber-bg),var(--panel));color:var(--text);cursor:pointer}
html[data-theme] .data-reminder:hover{border-color:var(--amber);box-shadow:0 5px 18px var(--aura)}
html[data-theme] .reminder-icon{display:grid;place-items:center;flex:none;width:34px;height:34px;border-radius:9px;background:var(--panel);border:1px solid color-mix(in srgb,var(--amber) 35%,var(--border));color:var(--amber);font-size:18px;font-weight:800}
html[data-theme] .data-reminder small{display:block;margin-bottom:3px;color:var(--text-muted);font-size:10px}
html[data-theme] .data-reminder strong{font-size:13px;color:var(--text)}
html[data-theme] .data-reminder em{margin-left:auto;color:var(--amber);font-size:12px;font-style:normal;font-weight:800}
html[data-theme] .data-reminder>b{color:var(--amber);font-size:19px}
html[data-theme] .pending-analysis-panel{overflow:hidden}
html[data-theme] .pending-analysis-header{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:80px;padding:16px 20px;border-bottom:1px solid var(--line);background:var(--panel-soft)}
html[data-theme] .pending-analysis-header .country-symbol{width:39px;height:39px;border-radius:10px}
html[data-theme] .pending-analysis-header .country-heading h2{margin:0;font-size:19px;font-weight:700;line-height:1.3;color:var(--text)}
html[data-theme] .pending-analysis-header .country-heading p{margin:5px 0 0;color:var(--text-muted);font-size:13px;line-height:1.55}
html[data-theme] .pending-analysis-header .country-summary{font-size:13px}
html[data-theme] .pending-symbol{font:700 19px var(--font-metric);color:var(--amber);background:var(--amber-bg)}
html[data-theme] .pending-metrics{display:grid;grid-template-columns:minmax(265px,1.28fr) repeat(2,minmax(0,1fr));gap:12px;margin-bottom:16px}
html[data-theme] .pending-metrics article{min-width:0;min-height:140px;padding:17px 18px;border:1px solid var(--border);border-radius:12px;background:var(--panel-soft)}
html[data-theme] .pending-metrics article:first-child{border-color:color-mix(in srgb,var(--amber) 42%,var(--border));background:linear-gradient(135deg,var(--panel-soft),var(--amber-bg))}
html[data-theme] .pending-metrics span{display:flex;align-items:center;justify-content:space-between;gap:8px;color:var(--text-muted);font-size:13px}
html[data-theme] .pending-metrics span i{display:grid;place-items:center;width:27px;height:27px;border-radius:8px;background:var(--wash);color:var(--accent);font-style:normal;font-size:15px}
html[data-theme] .pending-metrics article:first-child span i{background:var(--amber-bg);color:var(--amber)}
html[data-theme] .pending-metrics strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:15px 0 6px;color:var(--text);font:600 30px/1 var(--font-metric);letter-spacing:-.05em}
html[data-theme] .pending-metrics article:first-child strong{color:var(--amber)}
html[data-theme] .pending-metrics p{margin:0;color:var(--text-muted);font-size:12px;line-height:1.6}
html[data-theme] .pending-primary-metric{position:relative;overflow:hidden}
html[data-theme] .pending-primary-metric:after{position:absolute;right:-30px;bottom:-48px;width:132px;height:132px;border:1px solid color-mix(in srgb,var(--amber) 26%,transparent);border-radius:50%;content:'';pointer-events:none}
html[data-theme] .pending-primary-reading{display:flex;align-items:flex-end;gap:8px;margin:11px 0 4px}
html[data-theme] .pending-metrics .pending-primary-reading strong{margin:0;color:var(--amber);font-size:58px;line-height:.92;letter-spacing:-.065em}
/* The diagnostic panel stays compact and uses the existing pending-analysis
   language. It explains collection stages without presenting them as causes. */
html[data-theme] .pending-diagnostic-panel{overflow:hidden;margin:0 0 16px;border:1px solid color-mix(in srgb,var(--amber) 34%,var(--border));border-radius:13px;background:linear-gradient(118deg,color-mix(in srgb,var(--amber) 7%,var(--panel-soft)),var(--panel-raised) 52%);box-shadow:inset 0 1px 0 #ffffff08}
html[data-theme] .pending-diagnostic-header{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 18px 13px;border-bottom:1px solid var(--line)}
html[data-theme] .pending-diagnostic-header h3{margin:0;color:var(--text);font:700 19px/1.32 var(--font-reading)}
html[data-theme] .pending-diagnostic-header p{margin:5px 0 0;color:var(--text-muted);font-size:13px;line-height:1.45}
html[data-theme] .pending-diagnostic-sample{display:grid;justify-items:end;gap:4px;flex:none;padding:8px 11px;border:1px solid color-mix(in srgb,var(--amber) 32%,var(--border));border-radius:9px;background:var(--amber-bg)}
html[data-theme] .pending-diagnostic-sample span{color:var(--text-muted);font-size:12px}
html[data-theme] .pending-diagnostic-sample strong{color:var(--amber);font:700 22px/1 var(--font-metric);letter-spacing:-.04em}
html[data-theme] .pending-diagnostic-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:1px;border-bottom:1px solid var(--line);background:var(--line)}
html[data-theme] .pending-diagnostic-metrics article{min-width:0;padding:13px 16px;background:var(--panel-soft)}
html[data-theme] .pending-diagnostic-metrics span{display:block;color:var(--text-muted);font-size:12px}
html[data-theme] .pending-diagnostic-metrics strong{display:block;margin:6px 0 4px;color:var(--text);font:700 25px/1 var(--font-metric);letter-spacing:-.04em}
html[data-theme] .pending-diagnostic-metrics article:first-child strong{color:var(--amber)}
html[data-theme] .pending-diagnostic-metrics p{overflow:hidden;margin:0;color:var(--text-muted);font-size:11px;line-height:1.4;text-overflow:ellipsis;white-space:nowrap}
html[data-theme] .pending-diagnostic-browser-head{display:flex;align-items:baseline;justify-content:space-between;gap:14px;padding:11px 18px 8px}
html[data-theme] .pending-diagnostic-browser-head span{color:var(--text);font:700 15px/1.3 var(--font-reading)}
html[data-theme] .pending-diagnostic-browser-head small{color:var(--text-muted);font-size:12px}
html[data-theme] .pending-diagnostic-browsers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:0 18px 15px}
html[data-theme] .pending-diagnostic-browser{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;padding:11px 12px;border:1px solid var(--line);border-radius:10px;background:var(--panel-soft)}
html[data-theme] .pending-diagnostic-browser strong{overflow:hidden;color:var(--text);font:700 14px/1.3 var(--font-reading);text-overflow:ellipsis;white-space:nowrap}
html[data-theme] .pending-diagnostic-browser>span{color:var(--text-muted);font:600 12px/1.3 var(--font-metric);white-space:nowrap}
html[data-theme] .pending-diagnostic-browser p{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;margin:0;color:var(--text-muted);font-size:12px}
html[data-theme] .pending-diagnostic-browser p b{color:var(--amber);font-family:var(--font-metric)}
html[data-theme] .pending-diagnostic-browser p i{color:var(--accent);font-style:normal;font-family:var(--font-metric)}
@media(max-width:800px){html[data-theme] .pending-diagnostic-header{align-items:flex-start;flex-wrap:wrap;padding:14px}html[data-theme] .pending-diagnostic-sample{justify-items:start}html[data-theme] .pending-diagnostic-metrics{grid-template-columns:1fr 1fr}html[data-theme] .pending-diagnostic-metrics article{padding:12px 14px}html[data-theme] .pending-diagnostic-browser-head{align-items:flex-start;flex-direction:column;padding:11px 14px 8px}html[data-theme] .pending-diagnostic-browsers{grid-template-columns:1fr;padding:0 14px 14px}}
html[data-theme] .pending-primary-reading em{padding-bottom:4px;color:var(--amber);font:700 15px var(--font-reading);font-style:normal}
html[data-theme] .pending-primary-metric p{display:flex;align-items:baseline;gap:8px}
html[data-theme] .pending-primary-metric p b{color:var(--amber);font:700 26px/1 var(--font-metric);letter-spacing:-.04em}
html[data-theme] .pending-primary-metric p span{display:inline;color:var(--text-muted);font-size:13px}
html[data-theme] .pending-primary-metric small{display:block;margin-top:8px;color:var(--text-muted);font-size:12px;line-height:1.4}
html[data-theme] .pending-country-panel{overflow:hidden;margin:0 0 16px;border:1px solid color-mix(in srgb,var(--accent) 25%,var(--border));border-radius:13px;background:var(--panel-raised);box-shadow:inset 0 1px 0 #ffffff08}
html[data-theme] .pending-country-header{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:13px 18px 11px;border-bottom:1px solid var(--line);background:linear-gradient(105deg,color-mix(in srgb,var(--accent) 8%,var(--panel-soft)),var(--panel-soft))}
html[data-theme] .pending-country-kicker{display:block;margin-bottom:4px;color:var(--accent);font:750 11px/1 var(--font-reading);letter-spacing:.12em;text-transform:uppercase}
html[data-theme] .pending-country-header h3{margin:0;color:var(--text);font:700 19px/1.32 var(--font-reading)}
html[data-theme] .pending-country-header p{margin:5px 0 0;color:var(--text-muted);font-size:13px;line-height:1.45}
html[data-theme] .pending-country-benchmark{display:grid;justify-items:end;gap:4px;flex:none;padding:8px 11px;border:1px solid color-mix(in srgb,var(--amber) 35%,var(--border));border-radius:9px;background:var(--amber-bg)}
html[data-theme] .pending-country-benchmark span{color:var(--text-muted);font-size:12px}
html[data-theme] .pending-country-benchmark strong{color:var(--amber);font:700 22px/1 var(--font-metric);letter-spacing:-.04em}
html[data-theme] .pending-country-columns,.pending-country-row{display:grid;grid-template-columns:minmax(145px,1.34fr) minmax(72px,.58fr) minmax(82px,.67fr) minmax(70px,.57fr) minmax(132px,.9fr) minmax(125px,.94fr);gap:10px;align-items:center}
html[data-theme] .pending-country-columns{padding:8px 18px 7px;background:var(--panel-soft);color:var(--text-muted);font:650 12px/1 var(--font-reading)}
html[data-theme] .pending-country-columns span:not(:first-child){text-align:right}
html[data-theme] .pending-country-columns span:nth-child(2){text-align:left}
html[data-theme] .pending-country-ranking{padding:0 18px}
html[data-theme] .pending-country-row{min-height:54px;border-top:1px solid var(--line);transition:background .18s}
html[data-theme] .pending-country-row:hover{background:color-mix(in srgb,var(--accent) 5%,transparent)}
html[data-theme] .pending-country-name{display:flex;align-items:center;gap:9px;min-width:0}
html[data-theme] .pending-country-name>b{display:grid;place-items:center;flex:none;width:27px;height:27px;border-radius:7px;background:var(--wash);color:var(--accent);font:750 11px/1 var(--font-metric)}
html[data-theme] .pending-country-name span{display:grid;gap:2px;min-width:0}
html[data-theme] .pending-country-name strong{overflow:hidden;color:var(--text);font:700 16px/1.2 var(--font-reading);white-space:nowrap;text-overflow:ellipsis}
html[data-theme] .pending-country-name small{color:var(--text-muted);font-size:12px}
html[data-theme] .pending-country-continent{justify-self:start;display:inline-flex;align-items:center;min-width:0;padding:5px 8px;border:1px solid color-mix(in srgb,var(--accent) 26%,var(--border));border-radius:999px;background:var(--wash);color:var(--accent);font:700 12px/1 var(--font-reading);white-space:nowrap}
html[data-theme] .pending-country-continent.is-unknown{border-color:var(--line);background:transparent;color:var(--text-muted)}
html[data-theme] .pending-country-number{justify-self:end;display:flex;align-items:baseline;gap:3px;color:var(--text-muted);white-space:nowrap}
html[data-theme] .pending-country-number b{color:var(--text);font:650 16px/1 var(--font-metric)}
html[data-theme] .pending-country-number small{font-size:12px}
html[data-theme] .pending-country-waiting b{color:var(--amber)}
html[data-theme] .pending-country-rate{display:grid;grid-template-columns:auto minmax(42px,1fr);align-items:center;justify-content:end;gap:7px}
html[data-theme] .pending-country-rate strong{color:var(--text);font:700 16px/1 var(--font-metric);letter-spacing:-.02em}
html[data-theme] .pending-country-rate>i{display:block;overflow:hidden;height:6px;border-radius:99px;background:var(--line)}
html[data-theme] .pending-country-rate>i>i{display:block;height:100%;border-radius:inherit;background:var(--accent)}
html[data-theme] .pending-country-higher .pending-country-rate strong{color:var(--amber)}
html[data-theme] .pending-country-higher .pending-country-rate>i>i{background:var(--amber)}
html[data-theme] .pending-country-limited .pending-country-rate>i>i{background:var(--text-muted)}
html[data-theme] .pending-country-unknown{opacity:.72}
html[data-theme] .pending-country-status{justify-self:end;display:inline-flex;align-items:center;justify-content:flex-end;gap:6px;color:var(--text-muted);font-size:12px;white-space:nowrap}
html[data-theme] .pending-country-status>i{width:6px;height:6px;border-radius:50%;background:var(--accent);box-shadow:0 0 0 3px var(--wash)}
html[data-theme] .pending-country-higher .pending-country-status{color:var(--amber)}
html[data-theme] .pending-country-higher .pending-country-status>i{background:var(--amber);box-shadow:0 0 0 3px var(--amber-bg)}
html[data-theme] .pending-country-limited .pending-country-status>i,.pending-country-unknown .pending-country-status>i{background:var(--text-muted);box-shadow:none}
html[data-theme] .pending-country-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:9px 18px;border-top:1px solid var(--line);background:var(--panel-soft);color:var(--text-muted);font-size:12px;line-height:1.45}
html[data-theme] .pending-continent-panel{overflow:hidden;margin:0 0 16px;border:1px solid color-mix(in srgb,var(--accent) 25%,var(--border));border-radius:13px;background:var(--panel-raised);box-shadow:inset 0 1px 0 #ffffff08}
html[data-theme] .pending-continent-header{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:13px 18px 11px;border-bottom:1px solid var(--line);background:linear-gradient(105deg,color-mix(in srgb,var(--accent) 8%,var(--panel-soft)),var(--panel-soft))}
html[data-theme] .pending-continent-header h3{margin:0;color:var(--text);font:700 19px/1.32 var(--font-reading)}
html[data-theme] .pending-continent-header p{margin:5px 0 0;color:var(--text-muted);font-size:13px;line-height:1.45}
html[data-theme] .pending-continent-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:13px 18px}
html[data-theme] .pending-continent-card{min-width:0;padding:12px 13px;border:1px solid var(--border);border-radius:10px;background:var(--panel-soft);color:var(--text);text-align:left;cursor:pointer;transition:transform .18s,border-color .18s,background .18s}
html[data-theme] .pending-continent-card:hover{transform:translateY(-1px);border-color:var(--accent)}
html[data-theme] .pending-continent-card.is-active{border-color:color-mix(in srgb,var(--amber) 60%,var(--border));background:linear-gradient(135deg,var(--panel-soft),color-mix(in srgb,var(--amber) 12%,var(--panel-soft)));box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--amber) 12%,transparent)}
html[data-theme] .pending-continent-card-title{display:flex;align-items:center;justify-content:space-between;gap:8px}
html[data-theme] .pending-continent-card-title b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:700 15px/1.2 var(--font-reading)}
html[data-theme] .pending-continent-card-title i{flex:none;color:var(--text-muted);font-style:normal;font-size:10px}
html[data-theme] .pending-continent-card>strong{display:block;margin:9px 0 4px;color:var(--text);font:700 26px/1 var(--font-metric);letter-spacing:-.05em}
html[data-theme] .pending-continent-meta{display:block;overflow:hidden;color:var(--text-muted);font-size:11px;white-space:nowrap;text-overflow:ellipsis}
html[data-theme] .pending-continent-bar{display:block;height:4px;margin-top:10px;border-radius:99px;background:var(--line);overflow:hidden}
html[data-theme] .pending-continent-bar i{display:block;height:100%;border-radius:inherit;background:var(--accent)}
html[data-theme] .pending-continent-higher .pending-continent-card-title i,html[data-theme] .pending-continent-higher>strong{color:var(--amber)}
html[data-theme] .pending-continent-higher .pending-continent-bar i{background:var(--amber)}
html[data-theme] .pending-continent-guidance{display:flex;align-items:center;gap:10px;padding:10px 18px;border-top:1px solid var(--line);background:color-mix(in srgb,var(--accent) 7%,var(--panel-soft));color:var(--text-muted);font-size:12px}
html[data-theme] .pending-continent-guidance>span{flex:none;color:var(--accent);font-size:11px;font-weight:700}
html[data-theme] .pending-continent-guidance>span b{font-size:14px}
html[data-theme] .pending-continent-guidance p{margin:0;line-height:1.5}
html[data-theme] .pending-continent-guidance button{flex:none;margin-left:auto;border:0;background:transparent;color:var(--accent);font:700 11px var(--font-reading);cursor:pointer}
@media(max-width:800px){html[data-theme] .pending-continent-header{align-items:flex-start;flex-wrap:wrap;padding:14px}html[data-theme] .pending-continent-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding:12px}html[data-theme] .pending-continent-guidance{align-items:flex-start;flex-wrap:wrap;padding:10px 14px}html[data-theme] .pending-continent-guidance p{flex-basis:100%}html[data-theme] .pending-continent-guidance button{margin-left:0}}
html[data-theme] .pending-breakdowns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
html[data-theme] .pending-breakdowns>section,html[data-theme] .pending-more{min-width:0;border:1px solid var(--border);border-radius:11px;background:var(--panel-raised);overflow:hidden}
html[data-theme] .pending-breakdowns h3{margin:0;padding:13px 15px;border-bottom:1px solid var(--line);background:var(--panel-soft);color:var(--text-muted);font-size:16px;font-weight:650}
html[data-theme] .pending-list{padding:0 15px}
html[data-theme] .pending-list-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px;align-items:center;min-height:46px;border-top:1px solid var(--line);font-size:14px}
html[data-theme] .pending-list-row:first-child{border-top:0}
html[data-theme] .pending-list-row>span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--text)}
html[data-theme] .pending-list-row>b{color:var(--amber);font:600 15px var(--font-metric);white-space:nowrap}
html[data-theme] .pending-list-row>span:last-child{display:flex;align-items:center;gap:6px;color:var(--text-muted);white-space:nowrap}
html[data-theme] .pending-bar{display:block;width:38px;height:4px;border-radius:99px;background:var(--line);overflow:hidden}
html[data-theme] .pending-bar i{display:block;height:100%;border-radius:inherit;background:var(--amber)}
html[data-theme] .pending-list-empty{margin:0;padding:16px 0;color:var(--text-muted);font-size:12px}
html[data-theme] .pending-more{grid-column:1/-1}
html[data-theme] .pending-more summary{cursor:pointer;list-style:none;padding:13px 15px;background:var(--panel-soft);color:var(--text-muted);font-size:16px;font-weight:650}
html[data-theme] .pending-more summary::-webkit-details-marker{display:none}
html[data-theme] .pending-more summary:after{content:'⌄';float:right;color:var(--accent)}
html[data-theme] .pending-more[open] summary:after{content:'⌃'}
html[data-theme] .pending-more-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:12px}
html[data-theme] .pending-more-grid section{border:1px solid var(--line);border-radius:8px;overflow:hidden}
html[data-theme] .pending-note{margin:16px 0 2px;padding:11px 13px;border:1px solid var(--line);border-radius:9px;background:var(--panel-soft);color:var(--text-muted);font-size:12px;line-height:1.75}
@media(max-width:800px){html[data-theme] .workspace-tabs{margin-top:-4px}html[data-theme] .workspace-tabs button{padding:9px 10px}html[data-theme] .workspace-tabs .workspace-tab-cta{display:none}html[data-theme] .analysis-hub-heading{padding:19px 16px;flex-wrap:wrap}html[data-theme] .analysis-scope{margin-top:0}html[data-theme] .analysis-selector{padding:15px 14px}html[data-theme] .analysis-tabs{grid-template-columns:1fr 1fr;gap:8px}html[data-theme] .analysis-tab-icon{width:31px;height:31px;font-size:16px}html[data-theme] .analysis-tabs button small{display:none}html[data-theme] .analysis-stage{padding:16px 14px 4px}html[data-theme] #analysis-workspace .analysis-fold>.country-header{padding:14px}html[data-theme] .pending-analysis-header{padding:14px;align-items:flex-start;flex-wrap:wrap}html[data-theme] .pending-metrics,html[data-theme] .pending-breakdowns{grid-template-columns:1fr}html[data-theme] .pending-country-header{align-items:flex-start;flex-wrap:wrap;padding:14px}.pending-country-benchmark{justify-items:start}.pending-country-columns{display:none}.pending-country-ranking{padding:0 14px}.pending-country-row{grid-template-columns:minmax(0,1fr) auto auto;gap:7px;min-height:unset;padding:12px 0}.pending-country-name{grid-column:1/-1}.pending-country-continent{grid-column:1;grid-row:2}.pending-country-number{grid-row:2}.pending-country-rate{grid-column:1/-1;grid-row:3;justify-content:start}.pending-country-status{grid-column:1/-1;grid-row:4;justify-self:start}.pending-country-footer{align-items:flex-start;flex-direction:column;padding:10px 14px}.pending-country-footer .country-toggle{align-self:flex-end}.pending-metrics .pending-primary-reading strong{font-size:54px}html[data-theme] .pending-more{grid-column:auto}html[data-theme] .pending-more-grid{grid-template-columns:1fr}html[data-theme] .data-reminder{align-items:flex-start}html[data-theme] .data-reminder em{display:none}}
@media(min-width:801px){html[data-theme] .topbar{position:sticky;top:0;z-index:40}}
/* The theme entry stays visible for every role, including the login screen. */
html[data-theme] .theme-trigger{order:-1;position:relative;display:inline-flex;align-items:center;gap:12px;min-height:50px;padding:8px 16px;border:1px solid var(--accent);border-radius:12px;background:var(--wash);color:var(--text);margin-right:12px;box-shadow:0 0 20px var(--aura);transition:background .2s,transform .2s;flex-shrink:0}
html[data-theme] .theme-trigger:hover{background:var(--panel-raised);transform:translateY(-1px)}
.theme-trigger-icon{display:grid;place-items:center;width:26px;height:28px;color:var(--accent)}
.theme-trigger-icon svg{width:25px;height:25px;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.theme-trigger strong{display:block;font-size:14px;line-height:1.5;letter-spacing:1px;font-weight:650}
.theme-trigger small{display:block;text-align:left;font-size:10px;line-height:1.5;color:var(--text-muted)}
.theme-trigger-swatches{display:flex;padding-left:5px}
.theme-trigger-swatches i{width:12px;height:12px;border:1px solid #ffffff80;border-radius:50%;background:#2b66bd;margin-left:-3px}
.theme-trigger-swatches i:nth-child(2){background:#edf1f8}.theme-trigger-swatches i:nth-child(3){background:#151820}
html[data-theme] #theme-dialog{width:min(990px,calc(100vw - 40px));max-height:calc(100dvh - 40px);padding:34px;border-radius:23px;overflow:auto}
.theme-dialog-header{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:27px}
.theme-kicker{font-size:10px;letter-spacing:3px;color:var(--accent);font-weight:600}
html[data-theme] #theme-title{font-family:var(--font-sans,"Segoe UI","Microsoft YaHei",sans-serif);font-size:28px;letter-spacing:1px;font-weight:650;margin:10px 0}
.theme-dialog-header p{color:var(--text-muted);font-size:14px;margin:0}
.theme-close{border:1px solid var(--border);background:var(--panel-raised);color:var(--text-muted);width:36px;height:36px;border-radius:50%;font-size:26px;line-height:1;flex:none}
.theme-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}
.theme-option{cursor:pointer;position:relative;min-width:0;display:block}
.theme-option input{position:absolute;opacity:0;width:1px;height:1px;left:15px;top:15px}
.theme-option-body{display:block;position:relative;border:1px solid var(--border);border-radius:15px;overflow:hidden;background:var(--panel-raised);padding:8px 8px 17px;transition:transform .25s,border-color .2s,box-shadow .2s}
.theme-option:hover .theme-option-body{transform:translateY(-3px);border-color:var(--accent)}
.theme-option input:checked+.theme-option-body{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent),0 8px 28px var(--aura)}
.theme-option input:focus-visible+.theme-option-body{outline:2px solid var(--accent);outline-offset:5px}
.theme-mini{display:block;position:relative;height:178px;border-radius:9px;padding:13px;background:var(--mini-bg);color:var(--mini-ink);border:1px solid var(--mini-line);overflow:hidden}
.theme-option[data-palette="deep-space"]{--mini-bg:#0a1530;--mini-ink:#6fcaff;--mini-line:#284870;--mini-card:#122744}
.theme-option[data-palette="titanium"]{--mini-bg:#e9edf3;--mini-ink:#426db9;--mini-line:#c3cddd;--mini-card:#f9fbff}
.theme-option[data-palette="obsidian"]{--mini-bg:#0a0c11;--mini-ink:#9aabde;--mini-line:#343c50;--mini-card:#191e2b}
.mini-toolbar{display:flex;align-items:center;gap:5px;padding-bottom:12px;border-bottom:1px solid var(--mini-line)}
.mini-toolbar i{width:5px;height:5px;border-radius:50%;background:var(--mini-ink)}
.mini-toolbar i:last-child{width:40px;height:4px;border-radius:3px;margin-left:auto;opacity:.5}
.mini-content{display:grid;grid-template-columns:1.3fr 1fr;gap:8px;margin-top:10px;height:76px}
.mini-hero{background:var(--mini-card);border:1px solid var(--mini-line);border-radius:5px;position:relative;overflow:hidden}
.mini-lines{position:absolute;left:10px;top:10px;width:26px;height:4px;background:var(--mini-ink);opacity:.85}
.mini-lines:after{content:"";position:absolute;top:13px;width:38px;height:17px;border-radius:2px;background:currentColor;opacity:.75}
.mini-orb{position:absolute;width:58px;height:58px;right:-5px;bottom:-8px;border:1px solid var(--mini-ink);border-radius:50%;opacity:.6;background:repeating-radial-gradient(circle,transparent 0 9px,var(--mini-line) 10px 11px,transparent 12px 17px)}
.theme-option[data-palette="deep-space"] .mini-orb:after{content:"";position:absolute;inset:0;border-radius:50%;background:conic-gradient(transparent 65%,#68cdff66);animation:theme-rotate 8s linear infinite}
.theme-option[data-palette="obsidian"] .mini-orb{border-radius:10px;transform:rotate(-30deg);background:var(--mini-card);box-shadow:0 0 18px #728ee544}
.theme-option[data-palette="titanium"] .mini-orb{border:4px double #9fadc3;box-shadow:inset 2px 2px 8px #fff;background:linear-gradient(135deg,#fff,#bbc7d9)}
.mini-side{display:grid;gap:7px}
.mini-side i{border:1px solid var(--mini-line);border-radius:4px;background:var(--mini-card);position:relative}
.mini-side i:after{content:"";position:absolute;left:8px;bottom:7px;right:12px;height:3px;background:var(--mini-ink);opacity:.6}
.mini-table{display:grid;gap:6px;margin-top:11px}.mini-table i{height:4px;border-radius:4px;background:var(--mini-line)}
.mini-table i:nth-child(2){width:84%}.mini-table i:nth-child(3){width:94%}
.theme-option-info{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:17px 10px 0}
.theme-option-info small{display:block;color:var(--text-muted);font:9px/1.5 "Segoe UI",sans-serif;letter-spacing:2px}
.theme-option-info strong{display:block;font-size:22px;font-weight:650;line-height:1.6;color:var(--text)}
.theme-check{width:24px;height:24px;border:1px solid var(--border);border-radius:50%;font-size:13px;display:grid;place-items:center;color:transparent;flex:none}
.theme-option input:checked+.theme-option-body .theme-check{background:var(--accent);border-color:var(--accent);color:var(--button-text)}
.theme-description{display:block;padding:8px 10px 12px;font-size:12px;color:var(--text-muted)}
.theme-option-state{display:block;padding:9px 10px 0;margin:0 10px;border-top:1px solid var(--line);font-size:11px;color:var(--text-muted);text-align:center}
.theme-option input:checked+.theme-option-body .theme-option-state{color:var(--accent)}
.theme-dialog-footer{display:flex;align-items:center;gap:18px;margin-top:27px;border-top:1px solid var(--line);padding-top:23px}
.theme-dialog-footer p{font-size:12px;color:var(--text-muted);margin:0;flex:1;line-height:1.7}
.theme-dialog-footer .button{flex:none}
.theme-motion-control{display:flex;align-items:center;gap:10px;cursor:pointer;font-size:12px;color:var(--text);position:relative;flex:none}
.theme-motion-control input{position:absolute;opacity:0;width:1px;height:1px}
.theme-motion-control small{display:block;font-size:10px;color:var(--text-muted);margin-top:3px}
.motion-switch{width:34px;height:20px;border-radius:20px;background:var(--border);padding:3px;position:relative}
.motion-switch:after{content:"";display:block;width:14px;height:14px;border-radius:50%;background:var(--panel-raised);transition:transform .2s}
.theme-motion-control input:checked+.motion-switch{background:var(--accent)}
.theme-motion-control input:checked+.motion-switch:after{transform:translateX(14px);background:var(--button-text)}
.theme-motion-control input:focus-visible+.motion-switch{outline:2px solid var(--accent);outline-offset:4px}
.theme-motion-control input:disabled+.motion-switch{opacity:.5}
/* One light-weight decorative composition; no charts or counts are simulated. */
.theme-orb{position:absolute;width:210px;height:210px;right:14px;top:50%;transform:translateY(-50%);opacity:.75;z-index:0;pointer-events:none;color:var(--accent)}
.theme-orbit{position:absolute;border:1px solid currentColor;border-radius:50%;inset:10%;opacity:.3}
.theme-orbit-a{inset:0;border-style:dashed;animation:theme-rotate 55s linear infinite}
.theme-orbit-b{inset:19%;border-width:1px;animation:theme-rotate 25s linear infinite reverse}
.theme-orbit-c{inset:35%;border-width:2px;box-shadow:0 0 35px var(--aura)}
.theme-core{position:absolute;inset:43%;border-radius:50%;background:var(--accent);box-shadow:0 0 40px var(--accent);opacity:.65;animation:theme-pulse 4s ease-in-out infinite}
.theme-scan{position:absolute;inset:10%;border-radius:50%;background:conic-gradient(transparent 65%,color-mix(in srgb,var(--accent) 8%,transparent) 80%,color-mix(in srgb,var(--accent) 40%,transparent));animation:theme-rotate 10s linear infinite}
.theme-satellite{position:absolute;width:5px;height:5px;border-radius:50%;top:29%;right:20%;background:var(--accent-2);box-shadow:0 0 12px var(--accent-2);animation:theme-pulse 3s ease-in-out infinite}
html[data-theme="obsidian"] .theme-scan{display:none}
html[data-theme="obsidian"] .theme-orbit-b{inset:22%;border-radius:17px;opacity:.75;transform:rotate(-30deg);animation:theme-cube 18s ease-in-out infinite}
html[data-theme="obsidian"] .theme-orbit-c{transform:rotateX(55deg) rotate(-30deg);inset:6%;opacity:.65}
html[data-theme="obsidian"] .theme-core{inset:38%;border-radius:10px;transform:rotate(-30deg);background:linear-gradient(145deg,#8397cd,#202f52);box-shadow:0 0 45px #718ce755}
html[data-theme="titanium"] .theme-scan{display:none}
html[data-theme="titanium"] .theme-orbit-a{border:6px double #a4b3ca;border-right-color:#f8fbff;border-bottom-color:#f8fbff;opacity:.8}
html[data-theme="titanium"] .theme-orbit-b{border:1px dashed #8194b2;opacity:.6}
html[data-theme="titanium"] .theme-orbit-c{border:8px solid #c0cbdc;border-top-color:#f9fcff;box-shadow:3px 4px 9px #778eae22}
html[data-theme="titanium"] .theme-core{background:linear-gradient(135deg,#fff,#9eafc9);box-shadow:0 5px 12px #30466a2c;opacity:1}
html[data-theme="titanium"] .visitor-primary{border-top:3px solid var(--accent)}
html[data-theme="titanium"] .theme-trigger{box-shadow:0 3px 10px #2a467410;border-radius:7px}
html[data-theme="titanium"] body:before{display:none}
/* Selected online marker 05: decorative waveform, not request-frequency telemetry. */
html[data-theme] .online-marker.online-waveform{display:inline-flex;align-items:center;gap:7px;min-height:29px;padding:0;border:0;border-radius:0;background:transparent;color:var(--green);box-shadow:none;font-size:12px;font-weight:600;line-height:1.5;letter-spacing:.15px}
.online-wave-icon{display:block;flex:none;width:34px;height:26px;overflow:visible;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.online-wave-base{opacity:.3}
.online-wave-light{stroke-dasharray:28 72;animation:presence-wave-flow 3.6s linear infinite;filter:drop-shadow(0 0 2px currentColor)}
@keyframes presence-wave-flow{to{stroke-dashoffset:-100}}
/* Selected marker 06: decorative traces; validity, duration and online state remain independent. */
html[data-theme] .qualification.pulse-mark{display:inline-flex;align-items:center;gap:10px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;font-size:14px;font-weight:550;line-height:1.5;white-space:nowrap}
.qualification-trace{position:relative;display:block;flex:none;width:20px;height:2px;border-radius:3px;background:linear-gradient(90deg,transparent,currentColor)}
.qualification-trace:after{content:"";position:absolute;right:0;top:-1px;width:4px;height:4px;border-radius:50%;background:currentColor;box-shadow:0 0 9px currentColor;animation:marker-signal 3.6s ease-in-out infinite}
.qualification-invalid .qualification-trace{background:repeating-linear-gradient(90deg,currentColor 0 4px,transparent 4px 7px)}
.qualification-invalid .qualification-trace:after{display:none}
html[data-theme] .duration.pulse-duration{position:relative;display:inline-flex;flex-direction:row;align-items:center;gap:0;min-width:100px;min-height:34px;padding:0 0 8px;border:0;border-radius:0;background:transparent;box-shadow:none;line-height:1.2;white-space:nowrap}
.pulse-duration .duration-reading{display:inline-flex;align-items:baseline;gap:5px}
.pulse-duration .duration-reading b{font-family:var(--font-metric);font-size:21px;font-weight:500;line-height:1.15;font-variant-numeric:tabular-nums;animation:marker-reading-glow 4.5s ease-in-out infinite}
html[data-theme] .pulse-duration small{font-size:10px;font-weight:400;margin:0;color:inherit;opacity:.85}
.duration-trace{position:absolute;bottom:1px;left:0;display:flex;align-items:center;gap:4px;width:73px;height:2px;opacity:.65;overflow:hidden}
.duration-trace i{height:1px;flex:1;background:currentColor}
.duration-trace i:first-child{flex:2}
.duration-trace i:last-child{flex:4}
.duration-trace:after{content:"";position:absolute;width:22px;height:2px;background:linear-gradient(90deg,transparent,currentColor,transparent);animation:marker-sweep 4.5s ease-in-out infinite}
@keyframes marker-signal{0%,100%{opacity:.65;transform:translateX(-6px)}50%{opacity:1;transform:translateX(0)}}
@keyframes marker-sweep{0%,35%{transform:translateX(-24px);opacity:0}55%{opacity:1}90%,100%{transform:translateX(95px);opacity:0}}
@keyframes marker-reading-glow{0%,100%{text-shadow:none}50%{text-shadow:0 0 14px color-mix(in srgb,currentColor 35%,transparent)}}
@keyframes theme-rotate{to{transform:rotate(360deg)}}
@keyframes theme-cube{0%,100%{transform:rotate(-30deg)}50%{transform:rotate(30deg)}}
@keyframes theme-pulse{0%,100%{opacity:.55;scale:.93}50%{opacity:1;scale:1.06}}
@keyframes theme-edge{0%,100%{transform:translateX(-80%);opacity:0}40%,65%{opacity:.7}85%{transform:translateX(290%);opacity:0}}
@keyframes theme-sheen{0%,50%{transform:translateX(-100%)}90%,100%{transform:translateX(100%)}}
html[data-motion="off"] *,html[data-motion="off"] *:before,html[data-motion="off"] *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
html[data-motion="off"] .visitor-primary:before{display:none}
html[data-page-visibility="hidden"] *,html[data-page-visibility="hidden"] *:before,html[data-page-visibility="hidden"] *:after{animation-play-state:paused!important}
@media(prefers-reduced-motion:reduce){html[data-theme] *,html[data-theme] *:before,html[data-theme] *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(max-width:1200px){.theme-orb{width:168px;height:168px;right:8px;opacity:.55}html[data-theme] .theme-trigger{margin-right:3px;gap:8px;padding:8px 12px}.theme-trigger-swatches{display:none}}
@media(max-width:800px){html[data-theme] .topbar{flex-wrap:wrap;padding:13px 18px}.header-actions{flex-wrap:wrap}html[data-theme] .theme-trigger{min-height:45px}.theme-trigger-icon{width:22px}.theme-trigger strong{font-size:13px}html[data-theme] #theme-dialog{padding:23px;width:calc(100vw - 28px);max-height:calc(100dvh - 28px)}.theme-choices{gap:10px}.theme-mini{height:148px;padding:10px}.mini-content{height:58px}.theme-option-info{padding:12px 6px 0}.theme-option-info strong{font-size:19px}.theme-description{padding:7px 6px;font-size:11px}.theme-dialog-footer{flex-wrap:wrap;gap:14px}.theme-dialog-footer .button{margin-left:auto}.theme-dialog-footer p{min-width:150px}}
@media(max-width:600px){html[data-theme] .topbar{position:relative;display:block;min-height:77px;padding-right:16px}.brand{min-height:44px}html[data-theme] .header-actions{margin-top:7px;gap:5px;justify-content:flex-start}html[data-theme] .theme-trigger{position:absolute;top:12px;right:16px;margin:0;padding:7px 12px;gap:9px}.theme-trigger-swatches{display:none}html[data-theme] .page-heading{min-height:98px;margin:20px 0}html[data-theme] .page-heading h1{font-size:36px}html[data-theme] .visitor-primary{min-height:245px;padding:24px 22px}html[data-theme] .visitor-primary-value strong{font-size:80px}.theme-orb{right:-8px;top:45%;width:165px;height:165px;opacity:.5}html[data-theme] #theme-title{font-size:23px}.theme-dialog-header{margin-bottom:20px}.theme-dialog-header p{font-size:12px}.theme-choices{grid-template-columns:1fr;gap:12px}.theme-option-body{display:grid;grid-template-columns:112px minmax(0,1fr);column-gap:13px;padding:8px;min-height:124px;border-radius:12px}.theme-mini{grid-row:1 / 4;height:112px;padding:8px}.mini-toolbar{padding-bottom:7px}.mini-content{margin-top:8px;height:46px;gap:5px;grid-template-columns:1fr .65fr}.mini-lines{left:5px;top:5px;width:17px;height:3px}.mini-lines:after{width:24px;height:10px;top:9px}.mini-orb{width:35px;height:35px}.mini-side i:after{left:4px;right:4px;bottom:4px;height:2px}.mini-table{gap:4px;margin-top:8px}.mini-table i{height:3px}.theme-option-info{padding:4px 2px 0}.theme-option-info strong{font-size:20px}.theme-option-info small{font-size:8px;letter-spacing:1.3px}.theme-description{padding:4px 2px;font-size:11px}.theme-option-state{padding:5px 2px 0;margin:0 2px;font-size:10px;text-align:left}.theme-dialog-footer{margin-top:19px;padding-top:18px}.theme-dialog-footer p{order:3;flex-basis:100%;font-size:11px}html[data-theme] .journey-rules{font-size:11px}html[data-theme] .journey-rules>span{font-size:10px}}

/* Desktop density: readable at normal browser zoom, across all three themes. */
@media(min-width:681px){
  html[data-theme] .detail-filter-panel .eligibility-filters{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(min-width:801px){
  html[data-theme] body:has(#dashboard:not([hidden])) main{padding-top:20px}
  html[data-theme] body:has(#dashboard:not([hidden])) .topbar{min-height:72px;padding-top:8px;padding-bottom:8px}
  html[data-theme] .page-heading{min-height:90px;margin:20px 0 18px}
  html[data-theme] .page-heading h1{font-size:42px;line-height:1.2;margin-bottom:10px}
  html[data-theme] .page-heading .muted{font-size:18px;line-height:1.6}
  html[data-theme] .page-heading .eyebrow{font-size:11px;margin-bottom:10px}
  html[data-theme] .filter-panel{margin-bottom:16px}
  html[data-theme] .filter-panel .toolbar{padding:12px 18px}
  html[data-theme] .visitor-funnel.journey-panel{padding:20px 22px 10px;margin-bottom:16px}
  html[data-theme] .journey-header{margin-bottom:16px}
  html[data-theme] .journey-header h2{font-size:20px;line-height:1.35;margin:4px 0}
  html[data-theme] .journey-header p{line-height:1.6}
  html[data-theme] .journey-eyebrow{font-size:10px;line-height:1.5}
  html[data-theme] .visitors-first .journey-body{grid-template-columns:minmax(0,1fr) 48px minmax(0,1.05fr);gap:18px}
  html[data-theme] .visitor-primary{min-height:260px;padding:24px}
  html[data-theme] .visitor-primary-value{margin:18px 0 10px}
  html[data-theme] .visitor-primary-value strong{font-size:88px;line-height:1}
  html[data-theme] .visitor-primary-caption{margin-bottom:14px}
  html[data-theme] .visitor-primary .journey-track{margin:16px 0 10px}
  html[data-theme] .visitors-first .journey-stage{padding:12px 16px}
  html[data-theme] .visitors-first .journey-stage h3{line-height:1.5}
  html[data-theme] .journey-stage-value strong{line-height:1.1}
  html[data-theme] .visitors-first .journey-outcome{padding:14px 18px 12px}
  html[data-theme] .visitors-first .journey-outcome-main{margin:10px 0 8px}
  html[data-theme] .visitors-first .journey-outcome-bottom{margin-top:8px}
  html[data-theme] .visitors-first .journey-bottom{margin-top:10px;padding-top:3px}
  html[data-theme] .theme-orb{width:180px;height:180px;right:20px}
  html[data-theme] .analysis-fold>.country-header{padding:12px 18px}
  html[data-theme] .analysis-fold{margin-bottom:10px}
  html[data-theme] .analysis-fold:last-of-type{margin-bottom:16px}
  html[data-theme] .records-heading{padding:16px 20px}
  html[data-theme] th{padding-top:11px;padding-bottom:11px}
  html[data-theme] td{height:72px;padding-top:12px;padding-bottom:12px}
}
@media(min-width:801px) and (max-width:1200px){
  html[data-theme] .page-heading h1{font-size:38px}
  html[data-theme] .visitors-first .journey-body{grid-template-columns:minmax(0,1fr) 32px minmax(0,1.12fr);gap:12px}
  html[data-theme] .visitor-primary{padding:20px;min-height:250px}
  html[data-theme] .visitor-primary-value strong{font-size:76px}
  html[data-theme] .theme-orb{width:150px;height:150px;right:0;opacity:.4}
}
/* Structured iOS catalog: shared theme tokens for admin editing and channel viewing. */
html[data-theme] #device-rules-dialog{width:min(760px,calc(100vw - 32px));padding:26px;box-sizing:border-box}
#device-rules-dialog .dialog-heading{margin-bottom:12px}
#device-rules-dialog .dialog-note{margin:12px 0;padding:12px 14px;line-height:1.8}
#device-rules-dialog .management-form{margin-top:16px;padding-top:16px}
.rules-list-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}
.rules-list-heading h3{font-size:17px;margin:0 0 5px}
#rules-group-total{font-size:12px;font-variant-numeric:tabular-nums}
.rules-add-panel label{display:block;margin:0 0 8px;font-size:12px}
.rules-add-row{display:flex;gap:10px;align-items:center}
.rules-add-row input{min-width:0;flex:1;width:0;margin:0;min-height:40px}
.rules-add-row .button{flex:none;min-height:40px;padding:8px 16px}
#rules-edit-help{line-height:1.8;margin:10px 0 14px}
.rules-version-groups{display:grid;gap:8px}
.rules-version-group{border:1px solid var(--border);background:var(--panel-soft);border-radius:10px;overflow:hidden}
.rules-version-group summary{display:flex;align-items:center;gap:12px;padding:13px 16px;cursor:pointer;list-style:none;color:var(--text)}
.rules-version-group summary::-webkit-details-marker{display:none}
.rules-version-group summary:hover{background:var(--wash)}
.rules-version-group summary strong{font-family:inherit;font-size:16px;letter-spacing:.2px;color:var(--text)}
.rules-version-count{font-size:12px;color:var(--text-muted);font-variant-numeric:tabular-nums}
.rules-group-chevron{margin-left:auto;color:var(--accent);font-size:19px;line-height:1;transition:transform .18s}
.rules-version-group[open] .rules-group-chevron{transform:rotate(180deg)}
.rules-version-group[open] summary{border-bottom:1px solid var(--line)}
.rules-version-chips{display:flex;flex-wrap:wrap;gap:8px;list-style:none;margin:0;padding:14px 16px 16px}
.rules-version-chips li{display:inline-flex;align-items:center;gap:8px;padding:5px 10px;border:1px solid var(--border);border-radius:6px;background:var(--panel-raised);color:var(--text);font-size:13px;line-height:1.5;font-variant-numeric:tabular-nums}
.rules-remove-version{display:grid;place-items:center;border:0;border-radius:4px;background:transparent;color:var(--text-muted);width:26px;height:26px;padding:0;font-size:19px;cursor:pointer}
.rules-remove-version:hover:not(:disabled){background:var(--red-bg);color:var(--red)}
.rules-remove-version:disabled{opacity:.45;cursor:wait}
.rules-empty{padding:25px 12px;text-align:center;border:1px dashed var(--border);border-radius:10px}
#device-rules-dialog .rules-actions{display:flex;flex-wrap:wrap;gap:10px;padding-top:4px}
#device-rules-dialog .rules-change-summary{margin:14px 0 8px;color:var(--text-muted)}
#device-rules-dialog #rules-result{color:var(--green);line-height:1.7}
#device-rules-dialog .error:empty,#device-rules-dialog #rules-result:empty,#device-rules-dialog .rules-change-summary:empty{display:none}
@media(max-width:680px){html[data-theme] #device-rules-dialog{padding:20px 16px}.rules-add-row{gap:6px}.rules-add-row .button{padding:8px 10px}.rules-version-group summary{padding:12px}.rules-version-chips{padding:12px;gap:6px}.rules-version-chips li{padding:4px 7px;gap:5px}.rules-remove-version{width:28px;height:28px}.rules-list-heading h3{font-size:16px}}
/* Make the visitor filters easy to discover without adding another action step. */
html[data-theme] .detail-filter-panel{border-color:color-mix(in srgb,var(--accent) 40%,var(--border));background:var(--panel);box-shadow:0 3px 18px var(--aura)}
.detail-filter-heading{display:flex;align-items:center;gap:12px;padding:16px 20px 0}
.detail-filter-icon{display:grid;place-items:center;flex:none;width:36px;height:36px;border-radius:9px;background:var(--wash);color:var(--accent)}
.detail-filter-icon svg{width:21px;height:21px;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
html[data-theme] .detail-filter-copy h2{font-family:inherit;font-size:17px;font-weight:700;line-height:1.3;margin:0;color:var(--accent)}
.detail-filter-copy{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px 14px;min-width:0}
.detail-filter-copy p{font-size:12px;line-height:1.6;color:var(--text-muted);margin:0}
html[data-theme] .detail-filter-panel .eligibility-filters{background:transparent;padding:14px 20px 18px;gap:14px 28px;border:0}
html[data-theme] .detail-filter-panel .filter-field{flex-direction:row;align-items:center;gap:12px;min-width:0}
html[data-theme] .detail-filter-panel .filter-field label{font-size:13px;font-weight:600;color:var(--text);flex:none}
html[data-theme] .detail-filter-panel .filter-field select{width:0;flex:1;min-width:0;min-height:44px;font-size:14px;font-weight:600;padding:10px 34px 10px 14px;cursor:pointer;background:var(--panel-raised);border-color:color-mix(in srgb,var(--accent) 32%,var(--border));box-shadow:inset 0 1px 0 #ffffff08}
html[data-theme] .detail-filter-panel .filter-field select:hover{border-color:var(--accent);background:var(--wash)}
/* Keep filter focus inside the field instead of drawing a second outer frame. */
html[data-theme] .detail-filter-panel .filter-field select:focus{outline:none;outline-offset:0;border-color:var(--accent)}
html[data-theme] .detail-filter-panel .filter-field select:focus-visible{box-shadow:inset 0 0 0 1px var(--accent)}
html[data-theme] .detail-filter-panel .filter-field-confirmation{display:flex;grid-template-columns:none;align-items:center;gap:12px}
html[data-theme] .detail-filter-panel .filter-field-confirmation select{width:0;flex:1}
@media(max-width:680px){.detail-filter-heading{padding:14px 14px 0;align-items:flex-start;gap:10px}.detail-filter-icon{width:32px;height:32px}.detail-filter-copy{display:block}.detail-filter-copy p{margin-top:5px;font-size:11px}html[data-theme] .detail-filter-panel .eligibility-filters{padding:14px;gap:12px}html[data-theme] .detail-filter-panel .filter-field label{width:78px;font-size:12px}html[data-theme] .detail-filter-panel .filter-field select{font-size:14px}}
@media(max-width:680px){html[data-theme] .detail-filter-panel .filter-field-confirmation{display:flex;grid-template-columns:none;gap:12px}html[data-theme] .detail-filter-panel .filter-field-confirmation label{width:78px}html[data-theme] .detail-filter-panel .filter-field-confirmation select{width:0%;flex:1}}
/* Visual device guide: generated product artwork with preserved alpha. */
.rules-visual-hero{display:flex;align-items:center;justify-content:space-between;position:relative;min-height:142px;padding:16px 22px;border:1px solid var(--line);border-radius:13px;background:radial-gradient(ellipse at 90% 45%,var(--wash),transparent 68%),var(--panel-soft);overflow:hidden}
.rules-hero-copy{position:relative;z-index:1;flex:none}.rules-device-label{display:flex;align-items:center;gap:6px;font-size:11px;color:var(--text-muted)}.rules-device-label svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round}.rules-hero-copy>strong{display:block;font:650 30px/1.3 "Segoe UI",sans-serif;letter-spacing:-.8px;color:var(--text);margin:6px 0}.rules-hero-copy p{font-size:12px;color:var(--text-muted);margin:0}
.rules-hero-art{display:block;width:246px;height:164px;object-fit:contain;flex:none;margin:-8px -12px -8px 10px;animation:rules-art-drift 8s ease-in-out infinite}

.rules-explanation{margin-top:10px;color:var(--text-muted);font-size:12px}.rules-explanation summary{display:flex;align-items:center;gap:7px;cursor:pointer;list-style:none;padding:8px 0}.rules-explanation summary::-webkit-details-marker{display:none}.rules-info-chevron{margin-left:auto}.rules-explanation[open] .rules-info-chevron{transform:rotate(180deg)}.rules-explanation p{margin:5px 0 8px;line-height:1.8}.rules-explanation summary:hover{color:var(--accent)}
#device-rules-dialog #rules-environment{margin:3px 0 0;font-size:11px;color:var(--text-muted)}
#device-rules-dialog .management-form{margin-top:13px;padding-top:15px}
.rules-family-icon{--family:var(--accent);--family-shadow:var(--wash);display:grid;place-items:center;position:relative;isolation:isolate;overflow:hidden;flex:none;width:37px;height:37px;border-radius:10px;background:linear-gradient(145deg,var(--family-shadow),var(--panel-soft));border:1px solid color-mix(in srgb,var(--family) 45%,var(--border));color:var(--text);font:650 22px/1 "Segoe UI",sans-serif;letter-spacing:-1px;box-shadow:inset 0 1px 0 #ffffff18}
.rules-family-icon:before{content:"";position:absolute;z-index:-1;inset:-16px;background:radial-gradient(ellipse at 80% 10%,color-mix(in srgb,var(--family) 40%,transparent),transparent 65%);transform:rotate(-30deg)}
.rules-version-group[data-major="13"] .rules-family-icon{--family:#ffad8c;--family-shadow:#733c36}.rules-version-group[data-major="14"] .rules-family-icon{--family:#8bbaff;--family-shadow:#2f4680}.rules-version-group[data-major="15"] .rules-family-icon{--family:#b4b2ff;--family-shadow:#403d89}.rules-version-group[data-major="16"] .rules-family-icon{--family:#b8a0ff;--family-shadow:#51357a}.rules-version-group[data-major="17"] .rules-family-icon{--family:#e9a2ed;--family-shadow:#693879}.rules-version-group[data-major="18"] .rules-family-icon{--family:#90dfd9;--family-shadow:#215e70}
html[data-theme="titanium"] .rules-family-icon{background:linear-gradient(140deg,color-mix(in srgb,var(--family) 35%,white),white);color:var(--text)}
#device-rules-dialog .rules-version-group summary{padding:10px 14px;gap:12px}
@keyframes rules-art-drift{0%,100%{transform:translateY(0)}50%{transform:translateY(-4px)}}
@media(max-width:680px){.rules-visual-hero{padding:14px;min-height:128px}.rules-hero-art{width:150px;height:125px;margin:-7px -14px -7px 0}.rules-hero-copy>strong{font-size:26px}.rules-hero-copy p{font-size:10px}.rules-device-label{font-size:10px}.rules-family-icon{width:34px;height:34px;font-size:20px}#device-rules-dialog .rules-version-group summary{padding:9px 11px;gap:10px}}
@media(max-width:360px){.rules-hero-art{width:112px}.rules-hero-copy p{max-width:120px;line-height:1.6}}

/* Selected proposal 01: original release badge, independent of online/valid status. */
.release-badge{--release-family:#b3a5ff;--release-deep:#502789;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;position:relative;isolation:isolate;overflow:hidden;flex:none;width:36px;height:40px;border-radius:10px;color:#fff;background:radial-gradient(ellipse at 20% 0%,color-mix(in srgb,var(--release-family) 65%,transparent),transparent 70%),radial-gradient(ellipse at 90% 100%,var(--release-deep),transparent 80%),#241942;box-shadow:inset 0 1px 1px #ffffff40,0 2px 5px #0001}
.release-badge small{position:relative;z-index:1;font:600 8px/1 "Segoe UI",sans-serif;letter-spacing:.3px;color:#ffffffd9}
.release-badge b{position:relative;z-index:1;font:600 19px/1 "Segoe UI",sans-serif;letter-spacing:-.6px;font-variant-numeric:tabular-nums;text-shadow:0 2px 8px #0004}
.release-badge:after{content:"";position:absolute;inset:-30% -70%;background:linear-gradient(110deg,transparent 40%,#ffffff22 50%,transparent 60%);animation:release-glint 8s ease-in-out -4s infinite}
.release-badge[data-ios-major="13"]{--release-family:#ffb485;--release-deep:#a34323}
.release-badge[data-ios-major="14"]{--release-family:#88b8ff;--release-deep:#244c9e}
.release-badge[data-ios-major="15"]{--release-family:#94b9ff;--release-deep:#384bb8}
.release-badge[data-ios-major="16"]{--release-family:#a5a4ff;--release-deep:#6036ad}
.release-badge[data-ios-major="17"]{--release-family:#ec9df1;--release-deep:#883aa4}
.release-badge[data-ios-major="18"]{--release-family:#79e2d4;--release-deep:#176878}
.release-unknown{display:grid;place-items:center;flex:none;width:42px;height:42px;border-radius:12px;background:var(--panel-raised);color:var(--text-muted);border:1px solid var(--border);font:600 24px/1 "Segoe UI",sans-serif}
html[data-theme] .device-cell .release-full-version{color:var(--text);font-size:16px;font-weight:700;line-height:1.4;margin:0;letter-spacing:.15px;font-variant-numeric:tabular-nums}
@keyframes release-glint{0%,55%{transform:translateX(-40%)}85%,100%{transform:translateX(40%)}}

/* Analysis uses the same compact release badge; support and share remain independent. */
.version-analysis-row{gap:10px}
.version-analysis-row .release-unknown{width:36px;height:40px;font-size:20px}
.version-analysis-row .country-row-label{align-items:center;gap:10px;margin-bottom:8px}
.version-analysis-identity{display:flex;align-items:center;flex-wrap:wrap;gap:7px 14px;min-width:0}
html[data-theme] .version-analysis-name{font-size:16px;font-weight:700;line-height:1.35;color:var(--text);font-variant-numeric:tabular-nums}
.version-support{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;font-size:13px;font-weight:500;line-height:1.5}
.version-support i{width:5px;height:5px;border-radius:50%;background:currentColor;flex:none}
.version-support-supported{color:var(--green)}
.version-support-unsupported{color:var(--red)}
.version-support-unconfirmed{color:var(--text-muted)}
@media(max-width:1100px){.version-analysis-identity{align-items:flex-start;flex-direction:column;gap:3px}.version-analysis-row .country-row-label em{min-width:48px}}
@media(max-width:480px){.version-analysis-row .country-row-label{align-items:flex-start;flex-direction:column;gap:4px}.version-analysis-row .country-row-label>span{margin-left:0}}

.release-badge[data-ios-major="26"]{--release-family:#b0dcff;--release-deep:#415cb0}
.release-android{--release-family:#b0e8bf;--release-deep:#24766b}
.release-android small{font-size:6.5px;letter-spacing:0}
.release-pc{--release-family:#91baff;--release-deep:#394da0}
.release-badge b svg{display:block;width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.4}
.release-badge b .platform-solid{fill:currentColor;stroke:none}

/* Analysis entries share the filter bar's heading, icon and panel treatment. */
html[data-theme] .country-panel.analysis-fold{border-color:color-mix(in srgb,var(--accent) 40%,var(--border));box-shadow:0 3px 18px var(--aura)}
html[data-theme] .analysis-fold>.country-header{padding:16px 20px;gap:20px;min-height:80px}
html[data-theme] .analysis-fold .country-symbol{width:39px;height:39px;border-radius:10px;background:var(--wash);color:var(--accent)}
html[data-theme] .analysis-fold .country-symbol svg{width:23px;height:23px;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
html[data-theme] .analysis-fold .detail-filter-copy{display:block}
html[data-theme] .analysis-fold .detail-filter-copy h2{font-size:19px;font-weight:700;line-height:1.3;color:var(--accent)}
html[data-theme] .analysis-fold .detail-filter-copy p{display:block;margin-top:5px;font-size:13px;line-height:1.55;color:var(--text-muted)}
html[data-theme] .analysis-fold .analysis-action{min-height:44px;min-width:128px;justify-content:center;gap:12px;padding:10px 16px;font-size:14px;font-weight:700;white-space:nowrap;border:1px solid var(--accent);border-radius:9px;color:var(--button-text);background:linear-gradient(115deg,var(--accent),var(--accent-2));box-shadow:0 3px 12px var(--aura);transition:box-shadow .18s,filter .18s}
html[data-theme] .analysis-fold .analysis-chevron{width:18px;height:18px;flex:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
html[data-theme] .analysis-fold>.country-header:is(:hover,:focus-visible) .analysis-action{filter:brightness(1.08);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 18%,transparent)}
html[data-theme] .analysis-fold[open] .analysis-action{background:var(--wash);color:var(--accent);box-shadow:none}
/* Analysis cards already switch the visible panel, so their result headers stay static. */
html[data-theme] .analysis-static>.country-header{cursor:default;background:var(--panel-soft);border-bottom:1px solid var(--line)}
html[data-theme] .analysis-static>.country-header:is(:hover,:focus-visible){background:var(--panel-soft)}
html[data-theme] #analysis-workspace .analysis-static .country-summary{font-size:13px}
html[data-theme] #analysis-workspace .analysis-static .country-row-label strong{font-size:16px}
html[data-theme] #analysis-workspace .analysis-static .country-row-label>span{font-size:13px}
html[data-theme] #analysis-workspace .analysis-static .country-row-label b{font-size:16px}
html[data-theme] #analysis-workspace .analysis-static .country-ranking{max-height:none;overflow:visible}
@media(max-width:1000px){html[data-theme] .analysis-fold>.country-header{flex-wrap:wrap;gap:10px 14px}html[data-theme] .analysis-fold>.country-header>.country-summary,html[data-theme] .analysis-fold>.country-header>.version-overview{display:flex;order:3;flex-basis:100%;padding-left:48px;font-size:11px}}
@media(max-width:680px){html[data-theme] .analysis-fold>.country-header{padding:14px;gap:12px}html[data-theme] .analysis-fold .country-symbol{width:32px;height:32px}html[data-theme] .analysis-fold .detail-filter-copy h2{font-size:15px}html[data-theme] .analysis-fold .detail-filter-copy p{font-size:11px}html[data-theme] .analysis-fold .country-heading{flex-basis:100%;gap:10px}html[data-theme] .analysis-fold>.country-header>.country-summary,html[data-theme] .analysis-fold>.country-header>.version-overview{order:0;flex:1;min-width:0;padding-left:0}html[data-theme] .analysis-fold .analysis-action{min-width:116px;padding:10px 12px;font-size:13px}}
@media(prefers-reduced-motion:reduce){html[data-theme] .analysis-fold .analysis-action{transition:none}}

/* The analysis entrance has a calm, repeating cue instead of a loud static badge. */
html[data-theme] .workspace-tabs button[data-workspace-view="analysis"]:not(.active) .workspace-tab-cta{min-height:34px;padding:7px 8px 7px 12px;font-size:11px;letter-spacing:.09em;border-color:color-mix(in srgb,var(--amber) 78%,var(--border));box-shadow:inset 0 1px 0 #fff4,inset 0 -1px 0 #0007,0 0 0 0 color-mix(in srgb,var(--amber) 0%,transparent),0 6px 15px #00000035;animation:analysis-entrance-breathe 2.9s ease-in-out infinite}
html[data-theme] .workspace-tabs button[data-workspace-view="analysis"]:not(.active) .workspace-tab-cta:before{inset:1px 46% 44% 1px;opacity:.15;animation:analysis-entrance-sheen 3.8s ease-in-out infinite}
html[data-theme] .workspace-tabs button[data-workspace-view="analysis"]:not(.active) .workspace-tab-cta:after{content:'';position:absolute;right:25px;top:50%;z-index:-1;width:8px;height:8px;border-radius:50%;background:#ffe1a1;box-shadow:0 0 0 0 #ffe1a100;transform:translateY(-50%);animation:analysis-entrance-beacon 2.9s ease-out infinite}
html[data-theme] .workspace-tabs button[data-workspace-view="analysis"]:not(.active) .workspace-tab-cta em{width:20px;height:20px;font-size:14px;animation:analysis-entrance-arrow 2.9s ease-in-out infinite}
html[data-theme] .workspace-tabs button[data-workspace-view="analysis"]:not(.active):hover .workspace-tab-cta{animation-play-state:paused;filter:brightness(1.09);box-shadow:inset 0 1px 0 #fff7,inset 0 -1px 0 #0007,0 0 0 4px color-mix(in srgb,var(--amber) 18%,transparent),0 9px 20px #00000040}

/* The overview promise is deliberately larger and carries a small moving light line. */
html[data-theme][data-workspace-view="overview"] .page-heading{isolation:isolate}
html[data-theme][data-workspace-view="overview"] .page-heading .heading-copy{padding:5px 0 10px}
html[data-theme][data-workspace-view="overview"] #site-subtitle{--promise-glide:270px;position:relative;display:inline-block;z-index:1;padding-bottom:15px;font-family:var(--font-brand);font-size:clamp(24px,2vw,31px);font-weight:650;line-height:1.32;letter-spacing:.45px;color:var(--text);text-shadow:0 7px 26px color-mix(in srgb,var(--accent) 18%,transparent)}
html[data-theme][data-workspace-view="overview"] #site-subtitle:after{content:'';position:absolute;left:0;right:auto;bottom:1px;width:min(100%,285px);height:2px;border-radius:999px;background:linear-gradient(90deg,var(--accent),color-mix(in srgb,var(--accent-2) 74%,var(--accent)),transparent);opacity:.8;box-shadow:0 0 12px color-mix(in srgb,var(--accent) 55%,transparent)}
html[data-theme][data-workspace-view="overview"] #site-subtitle:before{content:'';position:absolute;z-index:1;left:0;bottom:-2px;width:7px;height:7px;border-radius:50%;background:#e9fff8;box-shadow:0 0 0 0 color-mix(in srgb,var(--accent-2) 45%,transparent),0 0 14px color-mix(in srgb,var(--accent-2) 80%,transparent);animation:overview-promise-glide 4.6s cubic-bezier(.45,0,.2,1) infinite}
html[data-theme][data-workspace-view="overview"] .signal-art{opacity:.94;filter:drop-shadow(0 0 13px color-mix(in srgb,var(--accent) 26%,transparent));animation:overview-signal-float 6s ease-in-out infinite}

@keyframes analysis-entrance-breathe{0%,100%{transform:translateY(0);border-color:color-mix(in srgb,var(--amber) 65%,var(--border))}50%{transform:translateY(-1px);border-color:color-mix(in srgb,#ffe0a0 76%,var(--border));box-shadow:inset 0 1px 0 #fff5,inset 0 -1px 0 #0007,0 0 0 4px color-mix(in srgb,var(--amber) 14%,transparent),0 8px 18px #00000042}}
@keyframes analysis-entrance-sheen{0%,22%{transform:translateX(-110%) skewX(-22deg);opacity:0}44%,59%{opacity:.78}78%,100%{transform:translateX(255%) skewX(-22deg);opacity:0}}
@keyframes analysis-entrance-beacon{0%,55%,100%{box-shadow:0 0 0 0 #ffe1a100;opacity:0}65%{opacity:.92;box-shadow:0 0 0 7px #ffe1a100}80%{opacity:0;box-shadow:0 0 0 12px #ffe1a100}}
@keyframes analysis-entrance-arrow{0%,15%,100%{transform:translateX(0)}31%{transform:translateX(3px)}46%{transform:translateX(0)}}
@keyframes overview-promise-glide{0%,15%{transform:translateX(0) scale(.82);opacity:.45}45%,62%{transform:translateX(var(--promise-glide)) scale(1);opacity:1}82%,100%{transform:translateX(var(--promise-glide)) scale(.82);opacity:.35}}
@keyframes overview-signal-float{0%,100%{transform:translate3d(0,0,0)}50%{transform:translate3d(0,-5px,0)}}

@media(max-width:800px){html[data-theme][data-workspace-view="overview"] .page-heading .heading-copy{padding-bottom:4px}html[data-theme][data-workspace-view="overview"] #site-subtitle{--promise-glide:205px;padding-bottom:12px;font-size:clamp(20px,6.1vw,26px);line-height:1.42}html[data-theme][data-workspace-view="overview"] #site-subtitle:after{width:min(100%,220px)}html[data-theme][data-workspace-view="overview"] .signal-art{animation:none}}
@media(prefers-reduced-motion:reduce){html[data-theme] .workspace-tabs button[data-workspace-view="analysis"]:not(.active) .workspace-tab-cta,html[data-theme] .workspace-tabs button[data-workspace-view="analysis"]:not(.active) .workspace-tab-cta:before,html[data-theme] .workspace-tabs button[data-workspace-view="analysis"]:not(.active) .workspace-tab-cta:after,html[data-theme] .workspace-tabs button[data-workspace-view="analysis"]:not(.active) .workspace-tab-cta em,html[data-theme][data-workspace-view="overview"] #site-subtitle:before,html[data-theme][data-workspace-view="overview"] .signal-art{animation:none}}

/* Keep the four analysis cards visually consistent with the main analysis entrance. */
html[data-theme] .analysis-tabs .analysis-tab-action{min-height:30px;padding:6px 7px 6px 10px;font-size:10px;letter-spacing:.09em;border-color:color-mix(in srgb,var(--amber) 76%,var(--border));box-shadow:inset 0 1px 0 #fff4,inset 0 -1px 0 #0007,0 0 0 0 color-mix(in srgb,var(--amber) 0%,transparent),0 5px 12px #00000030;animation:analysis-entrance-breathe 2.9s ease-in-out infinite}
html[data-theme] .analysis-tabs .analysis-tab-action:before{inset:1px 46% 44% 1px;opacity:.15;animation:analysis-entrance-sheen 3.8s ease-in-out infinite}
html[data-theme] .analysis-tabs .analysis-tab-action:after{content:'';position:absolute;right:23px;top:50%;z-index:-1;width:7px;height:7px;border-radius:50%;background:#ffe1a1;box-shadow:0 0 0 0 #ffe1a100;transform:translateY(-50%);animation:analysis-entrance-beacon 2.9s ease-out infinite}
html[data-theme] .analysis-tabs .analysis-tab-action b{width:19px;height:19px;font-size:13px;animation:analysis-entrance-arrow 2.9s ease-in-out infinite}
html[data-theme] .analysis-tabs button:hover .analysis-tab-action{animation-play-state:paused;filter:brightness(1.1);box-shadow:inset 0 1px 0 #fff7,inset 0 -1px 0 #0007,0 0 0 3px color-mix(in srgb,var(--amber) 16%,transparent),0 8px 17px #0000003c}

/* Fill the spare overview space with a quiet radar field, never a competing content card. */
html[data-theme][data-workspace-view="overview"] .page-heading{min-height:202px;margin:32px 0 28px}
html[data-theme][data-workspace-view="overview"] .page-heading:before{content:'';position:absolute;z-index:0;pointer-events:none;right:108px;top:-18px;width:min(57%,820px);height:220px;border:1px solid color-mix(in srgb,var(--accent) 25%,transparent);border-radius:48% 52% 44% 56% / 44% 47% 53% 56%;background:radial-gradient(ellipse at 45% 52%,color-mix(in srgb,var(--accent) 15%,transparent),transparent 45%),radial-gradient(circle at 76% 30%,color-mix(in srgb,var(--accent-2) 15%,transparent),transparent 20%),repeating-linear-gradient(122deg,transparent 0 17px,color-mix(in srgb,var(--accent) 11%,transparent) 18px 19px,transparent 20px 38px),linear-gradient(108deg,transparent 7%,color-mix(in srgb,var(--panel-raised) 45%,transparent) 51%,transparent 93%);box-shadow:inset 0 1px 0 color-mix(in srgb,#fff 15%,transparent),0 0 55px color-mix(in srgb,var(--accent) 10%,transparent);opacity:.88;transform:rotate(-7deg);animation:overview-field-breathe 9s ease-in-out infinite}
html[data-theme][data-workspace-view="overview"] .page-heading:after{content:'';position:absolute;z-index:0;pointer-events:none;right:clamp(160px,13vw,260px);top:19px;width:360px;height:145px;border:1px solid color-mix(in srgb,var(--accent-2) 36%,transparent);border-radius:50%;background:radial-gradient(circle at 50% 50%,transparent 0 18%,color-mix(in srgb,var(--accent) 13%,transparent) 18.5% 19%,transparent 19.5% 37%,color-mix(in srgb,var(--accent-2) 15%,transparent) 37.5% 38%,transparent 38.5% 56%,color-mix(in srgb,var(--accent) 11%,transparent) 56.5% 57%,transparent 57.5%);box-shadow:inset 0 0 28px color-mix(in srgb,var(--accent) 8%,transparent),0 0 30px color-mix(in srgb,var(--accent-2) 9%,transparent);opacity:.9;transform:rotate(-16deg);animation:overview-radar-drift 16s linear infinite}
html[data-theme][data-workspace-view="overview"] .page-heading h1{position:relative;z-index:1;font-size:clamp(52px,4vw,68px);line-height:1.13;margin-bottom:15px}
html[data-theme][data-workspace-view="overview"] .page-heading #site-subtitle{--promise-glide:320px;font-size:clamp(28px,2.45vw,37px);line-height:1.28;padding-bottom:17px}
html[data-theme][data-workspace-view="overview"] .page-heading #site-subtitle:after{width:min(100%,335px);height:3px}
html[data-theme][data-workspace-view="overview"] .signal-art{z-index:0;right:clamp(150px,12vw,250px);top:-18px;width:430px;height:205px;opacity:1;filter:drop-shadow(0 0 18px color-mix(in srgb,var(--accent) 34%,transparent));animation:overview-signal-float 6s ease-in-out infinite}

@keyframes overview-field-breathe{0%,100%{opacity:.7;transform:rotate(-7deg) scale(.985)}50%{opacity:1;transform:rotate(-7deg) scale(1.015)}}
@keyframes overview-radar-drift{from{transform:rotate(-16deg)}to{transform:rotate(344deg)}}
@media(max-width:1200px){html[data-theme][data-workspace-view="overview"] .page-heading{min-height:178px}html[data-theme][data-workspace-view="overview"] .page-heading:before{right:78px;width:52%;height:192px}html[data-theme][data-workspace-view="overview"] .page-heading:after{right:130px;width:285px;height:120px}html[data-theme][data-workspace-view="overview"] .signal-art{right:125px;width:340px;height:170px}html[data-theme][data-workspace-view="overview"] .page-heading h1{font-size:clamp(46px,4vw,58px)}html[data-theme][data-workspace-view="overview"] .page-heading #site-subtitle{--promise-glide:265px;font-size:clamp(24px,2.2vw,31px)}}
@media(max-width:800px){html[data-theme] .analysis-tabs .analysis-tab-action{animation:none}html[data-theme][data-workspace-view="overview"] .page-heading{min-height:0;margin:28px 0 24px}html[data-theme][data-workspace-view="overview"] .page-heading:before,html[data-theme][data-workspace-view="overview"] .page-heading:after{display:none}html[data-theme][data-workspace-view="overview"] .page-heading h1{font-size:clamp(40px,10vw,50px);line-height:1.18}html[data-theme][data-workspace-view="overview"] #site-subtitle{--promise-glide:205px;font-size:clamp(22px,6.7vw,29px)}}
@media(prefers-reduced-motion:reduce){html[data-theme] .analysis-tabs .analysis-tab-action,html[data-theme] .analysis-tabs .analysis-tab-action:before,html[data-theme] .analysis-tabs .analysis-tab-action:after,html[data-theme] .analysis-tabs .analysis-tab-action b,html[data-theme][data-workspace-view="overview"] .page-heading:before,html[data-theme][data-workspace-view="overview"] .page-heading:after{animation:none}}

/* Stable columns keep visitor identity, qualification and source information aligned. */
.visitor-table{table-layout:fixed;width:100%;min-width:1300px}
.visitor-col-number{width:4%}.visitor-col-time{width:8%}.visitor-col-page{width:16%}.visitor-col-device{width:22%}.visitor-col-duration{width:13%}.visitor-col-receipt{width:14%}.visitor-col-ip{width:13%}.visitor-col-browser{width:10%}
html[data-theme] .visitor-table th{padding:14px 16px;font-size:12px;font-weight:600;line-height:1.5;white-space:nowrap;text-align:left}
html[data-theme] .visitor-table td{padding:13px 16px;height:80px;vertical-align:middle;line-height:1.6}
html[data-theme] .visitor-table :is(th,td).entry-number-cell{width:auto;min-width:0;padding-left:8px;padding-right:8px;text-align:center;color:var(--text-muted)}
.visitor-table .entry-time-cell,.visitor-table .entry-page-cell{width:auto;min-width:0}
html[data-theme] .visitor-table :is(th,td).duration-col{text-align:left;padding-left:16px;padding-right:12px}
html[data-theme] .visitor-table :is(th,td).entry-device-cell,html[data-theme] .visitor-table :is(th,td).entry-ip-cell{border-left:1px solid color-mix(in srgb,var(--line) 55%,transparent);padding-left:20px}
.visitor-table .device-cell{gap:12px;min-width:0}.visitor-table .device-cell>div{min-width:0;flex:1}
.visitor-table .device-meta{display:flex;flex-direction:column;align-items:flex-start;gap:4px}
.visitor-table .device-heading{gap:6px 14px;min-width:0}
.visitor-table .system-version{overflow-wrap:anywhere;white-space:normal}
.visitor-table .entry-page-cell :is(.page-site-name,.page-channel,.page-path){max-width:100%}
.visitor-table .entry-ip-cell .cell-main{font-variant-numeric:tabular-nums;overflow-wrap:anywhere;white-space:normal}
.visitor-table .entry-ip-cell .cell-sub,.visitor-table .entry-browser-cell{white-space:normal;overflow-wrap:anywhere}
.visitor-table .entry-browser-cell{padding-right:20px}
@media(min-width:1500px){html[data-theme] .visitor-table :is(th,td){padding-left:22px;padding-right:22px}html[data-theme] .visitor-table :is(th,td).entry-number-cell{padding-left:10px;padding-right:10px}html[data-theme] .visitor-table :is(th,td).entry-device-cell,html[data-theme] .visitor-table :is(th,td).entry-ip-cell{padding-left:26px}}

/* Selected titanium-gold details: one metal finish, with color reserved for verdicts. */
html[data-theme]{--device-metal-light:#a99d86;--device-metal-deep:#4e483f;--device-metal-base:#3d3c3b;--device-metal-ink:#f3ebdc;--record-value:#e8e3d9;--record-detail:#aca18c;--record-valid:#70dbc0;--record-invalid:#ff949b}
html[data-theme="titanium"]{--device-metal-light:#96876c;--device-metal-deep:#534a3b;--device-metal-base:#514b42;--record-value:#3d392f;--record-detail:#78694f;--record-valid:#13735b;--record-invalid:#b53745}
html[data-theme] .release-badge{color:var(--device-metal-ink);background:radial-gradient(ellipse at 20% 0%,color-mix(in srgb,var(--device-metal-light) 80%,transparent),transparent 70%),radial-gradient(ellipse at 90% 100%,var(--device-metal-deep),transparent 80%),var(--device-metal-base)}
html[data-theme] .release-badge small{color:var(--device-metal-ink)}
html[data-theme] .visitor-table :is(.device-icon,.release-unknown){color:var(--device-metal-ink);background:linear-gradient(145deg,var(--device-metal-deep),var(--device-metal-base));border-color:var(--device-metal-deep)}
html[data-theme] .visitor-table .qualification-valid{color:var(--record-valid)}
html[data-theme] .visitor-table .qualification-invalid{color:var(--record-invalid)}
html[data-theme] .visitor-table .qualification.pulse-mark{gap:7px;font-size:13px;font-weight:650}
html[data-theme] .visitor-table .revisit-badge.revisit-trace{display:inline-flex;align-items:center;gap:5px;min-height:24px;padding:2px 1px 4px 2px;border:0;border-bottom:1px solid color-mix(in srgb,var(--accent) 42%,transparent);border-radius:0;background:transparent;color:var(--accent);font-size:11px;font-weight:700;line-height:1;white-space:nowrap}
html[data-theme] .visitor-table .revisit-trace-icon{position:relative;display:inline-block;flex:none;width:23px;height:20px}
html[data-theme] .visitor-table .revisit-trace-icon:before{content:"";position:absolute;left:4px;right:2px;top:11px;height:1px;background:currentColor;transform:rotate(-18deg);transform-origin:left}
html[data-theme] .visitor-table .revisit-trace-icon i{position:absolute;box-sizing:border-box;width:6px;height:6px;border:1.5px solid currentColor;border-radius:50%;background:var(--panel)}
html[data-theme] .visitor-table .revisit-trace-icon i:first-child{left:1px;top:10px}
html[data-theme] .visitor-table .revisit-trace-icon i:last-child{right:0;top:4px;box-shadow:0 0 8px color-mix(in srgb,currentColor 45%,transparent)}
html[data-theme] .visitor-table .duration.pulse-duration{gap:10px;min-width:0;color:var(--record-value)}
html[data-theme] .visitor-table .pulse-duration small,.visitor-table .duration-trace{color:var(--record-detail)}
.visitor-table .duration-label{font-size:12px;font-weight:650;line-height:1.4}
.visitor-table .duration-pass .duration-label{color:var(--record-valid)}
.visitor-table .duration-fail .duration-label{color:var(--record-invalid)}
.visitor-table .duration-pending .duration-label{color:var(--muted)}
.visitor-table .duration-pending .duration-trace{display:none}
.visitor-table .duration-pending .duration-reading b{animation:none;font-family:inherit}
.visitor-table .online-marker{font-size:11px;gap:6px}
.visitor-table .online-wave-icon{width:26px;height:20px}

/* Stay analysis uses the shared theme and the same collapsible entry as other analyses. */
.stay-body{padding:24px}
.stay-overview{display:flex;gap:36px;align-items:center;padding:24px 28px;border:1px solid var(--line);border-radius:14px;background:radial-gradient(ellipse at 90% 10%,var(--aura),transparent 65%),var(--panel-soft)}
.stay-qualified{min-width:230px;padding-right:36px;border-right:1px solid var(--border)}
.stay-kicker{color:var(--accent);font-size:13px;font-weight:700;letter-spacing:.3px}
.stay-value{display:flex;gap:7px;align-items:baseline;margin:6px 0}
.stay-value strong{font:600 54px/1.15 var(--font-metric);color:var(--text);font-variant-numeric:tabular-nums}
.stay-value>span{font:600 23px var(--font-metric);color:var(--accent)}
.stay-qualified p{margin:0;color:var(--text);font-size:13px}
.stay-qualified p>span{color:var(--text-muted)}
.stay-qualified b{font-weight:600;font-variant-numeric:tabular-nums}
.stay-context{min-width:0}
.stay-badge{display:inline-block;padding:5px 9px;border-radius:6px;background:var(--wash);color:var(--accent);font-size:11px;font-weight:600}
.stay-context h3{font-size:18px;margin:12px 0 10px;font-weight:600}
.stay-context p{font-size:12px;line-height:1.7;color:var(--text-muted);margin:3px 0}
.stay-chart-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:26px 0 16px}
.stay-chart-heading h3{font-size:15px;margin:0 0 5px}
.stay-chart-heading p,.stay-chart-heading>span{font-size:11px;color:var(--text-muted);margin:0;line-height:1.6}
.stay-selection{display:flex;align-items:baseline;gap:16px;flex-wrap:wrap;min-height:43px;padding:12px 16px;background:var(--panel-soft);border:1px solid var(--line);border-radius:9px;font-size:12px;color:var(--text-muted)}
.stay-selection b{color:var(--accent)}
.stay-selection>strong{font:600 23px var(--font-metric);color:var(--text);font-variant-numeric:tabular-nums}
.stay-selection small{font-family:var(--font-reading);font-weight:400;font-size:11px;color:var(--text-muted)}
.stay-difference{margin-left:auto;font-size:11px}
.stay-chart-scroll{overflow-x:auto;overscroll-behavior-x:contain;margin-top:15px;scrollbar-width:thin}
.stay-chart-scroll:focus-visible{outline:1px solid var(--accent);outline-offset:-1px;border-radius:9px}
.stay-chart{position:relative;min-width:880px;height:300px;color:var(--text-muted)}
.stay-chart>svg{display:block;width:100%;height:100%;overflow:visible}
.stay-grid{stroke:var(--line);stroke-width:1;stroke-dasharray:3 5;vector-effect:non-scaling-stroke}
.stay-y-label{fill:var(--text-muted);font:11px var(--font-reading)}
.stay-line{stroke:var(--accent);stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round;fill:none;vector-effect:non-scaling-stroke}
.stay-threshold{stroke:var(--accent-2);stroke-width:1;stroke-dasharray:4 5;opacity:.8;vector-effect:non-scaling-stroke}
.stay-cursor{stroke:var(--accent);stroke-width:1;stroke-dasharray:3 3;vector-effect:non-scaling-stroke}
.stay-node{position:absolute;width:30px;height:30px;min-height:0;padding:0;border:0!important;border-radius:50%;background:transparent!important;box-shadow:none!important;transform:translate(-50%,-50%);cursor:pointer}
.stay-node:before{content:'';position:absolute;inset:10px;border-radius:50%;background:var(--panel);border:2px solid var(--accent);transition:box-shadow .15s,background .15s}
.stay-node:hover:before,.stay-node.is-selected:before{background:var(--accent);box-shadow:0 0 0 5px color-mix(in srgb,var(--accent) 18%,transparent)}
.stay-node-goal:before{border-color:var(--accent-2);background:var(--accent-2)}
.stay-x-label{position:absolute;bottom:12px;transform:translateX(-50%);font-size:11px;white-space:nowrap;pointer-events:none}
.stay-label-goal{font-weight:700;color:var(--accent-2)}
.stay-footnote{border-top:1px solid var(--line);padding-top:16px;margin-top:6px;font-size:11px;color:var(--text-muted);line-height:1.8}
.stay-footnote details{margin-top:8px}
.stay-footnote summary{cursor:pointer;width:fit-content;color:var(--accent);padding:4px 0}
.stay-footnote p{margin:5px 0}
@media(max-width:680px){.stay-body{padding:16px}.stay-overview{padding:18px;display:block}.stay-qualified{border-right:0;padding:0 0 16px;min-width:0}.stay-context{border-top:1px solid var(--line);padding-top:16px}.stay-value strong{font-size:46px}.stay-context h3{font-size:16px}.stay-chart-heading{align-items:flex-start;flex-direction:column;gap:4px}.stay-selection{gap:8px 12px}.stay-difference{margin-left:0;width:100%}.stay-chart{height:270px}}
@media(prefers-reduced-motion:reduce){.stay-node:before{transition:none}}
html[data-motion="off"] .stay-node:before{transition:none}

/* Success receipts have IP units, no visitor conversion percentage. */
#online-status{font-size:13px;line-height:1.6;margin:8px 0;overflow-wrap:anywhere}
#online-dialog{width:min(620px,calc(100vw - 32px));max-height:calc(100vh - 48px);overflow:auto}
#online-dialog p{line-height:1.65}
#online-dialog input[readonly],#online-secret{box-sizing:border-box;width:100%;margin:8px 0 14px;padding:12px;border:1px solid var(--line);border-radius:10px;background:var(--bg);color:var(--text)}
#online-secret{font:13px/1.6 monospace;overflow-wrap:anywhere;resize:vertical}
#online-rotate-label{display:flex;align-items:flex-start;gap:10px;line-height:1.5}
#online-rotate-label[hidden]{display:none}
#online-rotate-confirm{width:auto;flex:none;margin-top:4px}
.online-home-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.online-home-heading .journey-outcome-label{min-width:0;font-weight:600}
.online-home-heading #online-configure{flex:none;font-size:11px;min-height:30px;padding:5px 9px;border-radius:7px;color:var(--text-muted)}
.online-home-value{display:flex;align-items:baseline;gap:10px;margin:17px 0 12px;min-width:0}
.online-home-value #online-total{font:600 clamp(36px,3.5vw,54px)/1.1 var(--font-metric);letter-spacing:-1.5px;color:var(--accent-2);overflow-wrap:anywhere;min-width:0}
.online-home-value>span{flex:none;font-size:12px;color:var(--text-muted)}
html[data-theme] .visitors-first .online-home-outcome{padding:18px 20px}
.online-home-outcome #online-status{margin:0;font-size:11px;line-height:1.6;color:var(--text-muted)}

.entry-referrer{overflow-wrap:anywhere;white-space:normal;line-height:1.5;margin-top:6px}
.referrer-browser-label{display:flex;align-items:center;gap:10px;color:var(--text-muted);font-size:13px}
.referrer-browser-label select{min-height:38px}
.referrer-summary{margin:0 0 10px;font-weight:650;line-height:1.6}
.referrer-coverage{font-size:13px;color:var(--text-muted);line-height:1.8;margin-bottom:18px}
.referrer-domain{min-width:0;overflow-wrap:anywhere;white-space:normal}
.referrer-link{color:var(--accent);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
.referrer-link:hover{color:var(--text);}
.referrer-row .country-row-label{align-items:flex-start;gap:12px}
.referrer-row .country-row-label>span{flex:none;white-space:nowrap}
.referrer-notes{color:var(--text-muted);font-size:13px;line-height:1.7;margin-top:16px}
.referrer-notes summary{cursor:pointer;color:var(--accent)}
@media(min-width:1101px){html[data-theme] .analysis-tabs{grid-template-columns:repeat(6,minmax(0,1fr))}}
@media(min-width:681px) and (max-width:1100px){html[data-theme] .analysis-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:680px){.referrer-browser-label{flex-wrap:wrap}.referrer-row .country-row-label{flex-wrap:wrap}}

/* Online analysis: compact, read-only clues rather than a second dashboard. */
.online-home-reference{margin-top:10px;padding:15px 18px;border:1px solid var(--border);border-radius:10px;background:var(--panel-soft);color:var(--text-muted)}
.online-home-reference>div{display:flex;align-items:center;justify-content:space-between;gap:16px}.online-home-reference span{font-size:12px;line-height:1.6}.online-home-reference strong{flex:none;font:600 28px/1.15 var(--font-metric);color:var(--accent-2)}
.online-analysis-panel{overflow:hidden}.online-analysis-symbol{display:grid;place-items:center;font-size:22px;color:var(--accent);background:var(--panel-soft);border-radius:10px;width:38px;height:38px}
.online-analysis-body{padding-top:18px}.online-analysis-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.online-analysis-metrics article{padding:16px;border:1px solid var(--border);border-radius:12px;background:var(--panel-soft)}.online-analysis-metrics article>span{display:block;font-size:12px;color:var(--text-muted)}.online-analysis-metrics strong{display:block;margin:8px 0 5px;font:600 32px var(--font-metric);color:var(--text)}.online-analysis-metrics small{display:block;color:var(--text-muted);font-size:10px;line-height:1.5}.online-analysis-metrics .online-analysis-success{background:color-mix(in srgb,var(--accent-2) 9%,var(--panel));border-color:color-mix(in srgb,var(--accent-2) 25%,var(--border))}.online-analysis-metrics .online-analysis-success strong{color:var(--accent-2)}
.online-analysis-rates{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:12px}.online-analysis-rates article{padding:14px 16px;border-left:3px solid var(--accent);background:var(--panel-soft);border-radius:9px}.online-analysis-rates article>div{display:flex;align-items:baseline;justify-content:space-between;gap:10px}.online-analysis-rates span{font-size:12px;color:var(--text-muted)}.online-analysis-rates strong{font:600 25px var(--font-metric);color:var(--accent)}.online-analysis-rates p{margin:6px 0 0;font-size:10px;color:var(--text-muted);line-height:1.5}
.online-analysis-clue{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:16px;padding:14px 16px;border:1px solid var(--border);border-radius:10px;background:var(--panel)}.online-analysis-clue h3{margin:4px 0 0;font-size:15px}.online-analysis-clue p{max-width:68%;margin:0;font-size:12px;line-height:1.7;color:var(--text-muted)}
.online-analysis-dimensions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:12px}.online-analysis-dimension{border:1px solid var(--border);border-radius:10px;overflow:hidden;background:var(--panel)}.online-analysis-dimension header{display:flex;align-items:baseline;justify-content:space-between;gap:10px;padding:12px 14px;border-bottom:1px solid var(--border);background:var(--panel-soft)}.online-analysis-dimension h3{margin:0;font-size:13px}.online-analysis-dimension header small{font-size:10px;color:var(--text-muted)}.online-analysis-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto auto;align-items:center;gap:8px;padding:9px 12px;border-bottom:1px solid var(--border);font-size:11px}.online-analysis-row:last-child{border-bottom:0}.online-analysis-row strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.online-analysis-row span{color:var(--text-muted);white-space:nowrap}.online-analysis-row b{font:600 13px var(--font-metric);color:var(--accent-2)}.online-analysis-row em{font-style:normal;font-size:9px;color:var(--accent-2)}.online-analysis-row em.is-observe{color:var(--text-muted)}.online-analysis-empty-row,.online-analysis-empty{margin:0;padding:16px;color:var(--text-muted);font-size:12px}.online-analysis-empty{border:1px dashed var(--border);border-radius:9px}.online-analysis-notes{margin-top:16px;font-size:11px;line-height:1.7;color:var(--text-muted)}.online-analysis-notes summary{cursor:pointer;color:var(--accent)}.online-analysis-notes p{margin:6px 0}
@media(max-width:680px){.online-analysis-metrics,.online-analysis-rates,.online-analysis-dimensions{grid-template-columns:1fr}.online-analysis-clue{display:block}.online-analysis-clue p{max-width:none;margin-top:10px}.online-analysis-row{grid-template-columns:minmax(0,1fr) auto}.online-analysis-row span{grid-column:1}.online-analysis-row b,.online-analysis-row em{grid-row:1;grid-column:auto}.online-analysis-dimension header{display:block}.online-analysis-dimension header small{display:block;margin-top:4px}.online-home-reference strong{font-size:22px}}

/* Independent headline freshness and on-demand detail controls. */
.details-toggle-row{padding:18px 22px;border:1px solid var(--border);border-radius:14px;margin-top:18px;gap:12px;flex-wrap:wrap}
.details-toggle-row .records-title{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.details-toggle-row h2{margin:0;font-size:17px}
.details-toggle-row .muted{font-size:12px}

/* Receipt status is separate from the page's live presence indicator. */
.receipt-status-stack{display:flex;flex-direction:column;align-items:flex-start;gap:7px}
.receipt-badge{--receipt-color:var(--text-muted);display:inline-flex;align-items:center;justify-content:flex-start;gap:8px;min-width:138px;min-height:36px;padding:7px 11px;border:1px solid color-mix(in srgb,var(--receipt-color) 25%,var(--line));border-radius:10px;background:linear-gradient(135deg,color-mix(in srgb,var(--receipt-color) 10%,var(--panel)),color-mix(in srgb,var(--receipt-color) 5%,var(--panel)));color:var(--receipt-color);box-shadow:inset 0 1px 0 color-mix(in srgb,var(--receipt-color) 9%,transparent);font-size:12px;font-weight:650;line-height:20px;white-space:nowrap;vertical-align:middle}
.receipt-matched{--receipt-color:var(--record-valid);border-color:color-mix(in srgb,var(--record-valid) 38%,var(--line));background:linear-gradient(135deg,color-mix(in srgb,var(--record-valid) 16%,var(--panel)),color-mix(in srgb,var(--record-valid) 8%,var(--panel)))}
.receipt-status-icon{position:relative;display:block;flex:none;width:26px;height:26px}
.receipt-hex svg{display:block;width:26px;height:26px;overflow:visible}
.receipt-hex-shell{stroke:currentColor;fill:none;stroke-width:1.3}
.receipt-hex-inside{stroke:currentColor;fill:none;stroke-width:1;opacity:.5;transform-origin:13px 13px;animation:receipt-hex-turn 8s linear infinite}
.receipt-hex-core{fill:currentColor;filter:drop-shadow(0 0 2px currentColor);transform-origin:13px 13px;animation:receipt-hex-breathe 2.6s ease-in-out infinite}
.receipt-hex-travel{fill:none;stroke:currentColor;stroke-width:2;stroke-dasharray:9 63;animation:receipt-hex-perimeter 3s linear infinite}
.receipt-hex-missing .receipt-hex-shell{stroke-dasharray:2 3;opacity:.7}
.receipt-hex-missing .receipt-hex-inside{animation-duration:14s;opacity:.3}
.receipt-hex-missing .receipt-hex-core{fill:none;stroke:currentColor;stroke-width:1;filter:none;animation:receipt-hex-wait 5s ease-in-out infinite}
.receipt-hex-missing .receipt-hex-travel,.receipt-hex-unavailable .receipt-hex-travel{display:none}
.receipt-hex-unavailable .receipt-hex-inside{animation:none;opacity:.3}
.receipt-hex-unavailable .receipt-hex-core{animation:none;fill:none;stroke:currentColor;stroke-width:1;filter:none;opacity:.5}
.receipt-badge{gap:7px;min-height:40px;padding:6px 9px}
@keyframes receipt-hex-turn{to{transform:rotate(360deg)}}
@keyframes receipt-hex-breathe{0%,100%{transform:scale(.7);opacity:.6}50%{transform:scale(1);opacity:1}}
@keyframes receipt-hex-perimeter{to{stroke-dashoffset:-72}}
@keyframes receipt-hex-wait{0%,100%{opacity:.45}50%{opacity:1}}
@media(prefers-reduced-motion:reduce){.receipt-hex *{animation:none!important}}
.receipt-unavailable{border-style:dashed;background:var(--panel-soft);box-shadow:none}
.receipt-time{display:flex;flex-wrap:wrap;gap:3px 7px;padding-left:2px;font-size:10px;font-variant-numeric:tabular-nums;line-height:1.5;color:var(--text-muted)}
html[data-theme] .detail-filter-panel .receipt-filter-field select{border-color:color-mix(in srgb,var(--accent) 42%,var(--border));background-color:color-mix(in srgb,var(--accent) 6%,var(--field));font-weight:650}
html[data-theme] .detail-filter-panel .receipt-filter-field select:focus-visible{outline:2px solid var(--accent);outline-offset:3px}

/* Channel scope exposes its registered landing pages without changing the report scope. */
.landing-page-cue-label{flex:none}
.landing-page-links{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;min-width:0;flex:1;font-size:12px;color:var(--text-muted)}
.landing-page-links a{display:inline-flex;align-items:center;gap:8px;max-width:100%;padding:4px 8px;border:1px solid var(--line);border-radius:7px}
.landing-page-links a>span{min-width:0;overflow:hidden;text-overflow:ellipsis}
.landing-page-links .landing-page-site-name{color:var(--text-muted);font-size:11px;font-weight:500;max-width:140px}
.landing-page-invalid{color:var(--text-muted);font-size:12px}
.landing-page-more{position:relative;font-size:11px;color:var(--text-muted)}
.landing-page-more summary{cursor:pointer;padding:6px 8px;border:1px solid var(--line);border-radius:7px}
.landing-page-more-list{position:absolute;z-index:25;top:calc(100% + 8px);right:0;display:flex;flex-direction:column;gap:8px;min-width:250px;max-width:min(400px,calc(100vw - 48px));max-height:250px;overflow:auto;padding:12px;border:1px solid var(--line);border-radius:10px;background:var(--panel);box-shadow:0 12px 30px #0003}
.landing-page-links a:focus-visible,.landing-page-more summary:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
@media(max-width:680px){.landing-page-cue{align-items:flex-start}.landing-page-links a{flex-wrap:wrap;white-space:normal}.landing-page-links a>span{overflow-wrap:anywhere}.landing-page-cue-label{max-width:80px}.landing-page-more-list{right:auto;left:0;min-width:190px}}
html[data-theme] .detail-filter-panel .eligibility-filters{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(min-width:1650px){html[data-theme] .detail-filter-panel .eligibility-filters{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px 18px}}
@media(max-width:680px){html[data-theme] .detail-filter-panel .eligibility-filters{grid-template-columns:1fr}}

/* 紫曜钛境：烟紫、石墨与钛银，独立主页预览。 */
html[data-theme="titanium-violet"]{
  color-scheme:dark;
  --bg:#0e0e14;--panel:#19181f;--panel-raised:#23212b;--panel-soft:#14131b;--field:#1b1923;
  --text:#f0edf5;--text-muted:#a7a0b4;--accent:#b29acb;--accent-2:#c6b1dc;
  --border:#3b3448;--line:#2e2938;--wash:#2e253d;--button-text:#f8f4ff;
  --green:#8bc9ad;--green-bg:#1b302a;--red:#d99aa7;--red-bg:#36212b;--amber:#c8b18c;--amber-bg:#302920;
  --radius:14px;--hero-ink:#f6f1fc;--hero-muted:#c4b6d5;
  --hero:radial-gradient(ellipse at 87% 20%,#9573bc26,transparent 60%),linear-gradient(117deg,#26202f 0%,#3b2d4d 56%,#514061 100%);
  --shadow:0 14px 46px #00000025;--aura:#78609620;
}
html[data-theme="titanium-violet"] body{background:radial-gradient(ellipse at 80% -5%,#523b7129,transparent 43%),var(--bg)}
html[data-theme="titanium-violet"] .ambient-grid{opacity:.08}
html[data-theme="titanium-violet"] .topbar{background:linear-gradient(110deg,#16151c,#1d1925);border-color:#383140;box-shadow:0 6px 24px #0002}
html[data-theme="titanium-violet"] :is(.visitor-funnel,.country-panel,.records-panel){background:linear-gradient(115deg,#1c1a23,#17151d);border:1px solid #39323f;box-shadow:inset 0 1px #ffffff08,0 16px 35px #0002}
html[data-theme="titanium-violet"] .page-heading:after{opacity:.35}
html[data-theme="titanium-violet"] .page-heading h1{color:#f3effa}
html[data-theme="titanium-violet"] .visitor-primary{border-color:#725d88;border-radius:12px;box-shadow:inset 0 1px #d6c1e92c,inset 0 -1px #120a2299,0 12px 28px #05020b30}
html[data-theme="titanium-violet"] .visitor-primary:before{background:linear-gradient(116deg,transparent 35%,#eee4ff 50%,transparent 62%);opacity:.045;transform:translateX(-100%);animation:titanium-light-pass 18s ease-in-out infinite}
html[data-theme="titanium-violet"] .visitor-primary:after{background:linear-gradient(90deg,transparent,#d2bfdc88,transparent);animation-duration:12s}
html[data-theme="titanium-violet"] .visitor-primary-heading>span{background:#b7a1ce12;border-color:#c6b1dc38;color:#e1d4ec;border-radius:5px}
html[data-theme="titanium-violet"] .visitor-primary-value strong{color:#f4f0f7;text-shadow:0 4px 28px #08050c44;letter-spacing:-3px}
html[data-theme="titanium-violet"] .visitor-primary .journey-track{background:#b59bcd19}
html[data-theme="titanium-violet"] .visitor-primary .journey-track span{background:linear-gradient(90deg,#897299,#c6b5d0)}
html[data-theme="titanium-violet"] .theme-orb{width:198px;height:198px;right:26px;opacity:.76;color:#aa98bd}
html[data-theme="titanium-violet"] .theme-orbit-a{inset:1%;border:1px solid #afa0c445;border-top:2px solid #d6c6e299;border-bottom-color:#76608944;animation:theme-rotate 65s linear infinite;box-shadow:0 0 35px #bfa0ec07}
html[data-theme="titanium-violet"] .theme-orbit-b{inset:12%;border:5px double #a79aaa66;border-right-color:#c7bcd099;border-bottom-color:#34283f;animation:theme-rotate 42s linear infinite reverse;box-shadow:inset 0 0 22px #d6c1e509}
html[data-theme="titanium-violet"] .theme-orbit-c{inset:27%;border:1px solid #c4afda66;border-radius:16px;transform:rotate(45deg);background:linear-gradient(135deg,#c4afd826,#20182788);box-shadow:0 7px 22px #09051266,inset 0 1px #dfd0e93d}
html[data-theme="titanium-violet"] .theme-core{inset:35%;border-radius:9px;transform:rotate(45deg);background:linear-gradient(135deg,#bbabc9 0%,#8e789e 16%,#4d3b5d 45%,#73577f 70%,#bfaace 100%);box-shadow:inset 1px 1px 1px #fff7,inset -2px -2px 3px #17101e88,0 6px 18px #08050c55;opacity:1;animation:titanium-core-light 9s ease-in-out infinite}
html[data-theme="titanium-violet"] .theme-scan{inset:3%;background:conic-gradient(transparent 75%,#c7b2e20c 89%,#d1bde32e 98%,transparent);animation:theme-rotate 38s linear infinite}
html[data-theme="titanium-violet"] .theme-satellite{width:3px;height:3px;background:#ddd0e8;box-shadow:0 0 7px #cab2e155;animation-duration:7s}
html[data-theme="titanium-violet"] .visitors-first .journey-stage{background:linear-gradient(120deg,#221c2c,#1b1724);border-color:#413548;border-radius:11px}
html[data-theme="titanium-violet"] .visitors-first .online-home-outcome{background:linear-gradient(110deg,#302638,#231d2d);border-color:#604a71;box-shadow:inset 3px 0 #8e6aa8,inset 0 1px #ffffff0b;border-radius:12px}
html[data-theme="titanium-violet"] .online-home-value #online-total{color:#d8c2ed}
html[data-theme="titanium-violet"] .online-home-reference{background:linear-gradient(110deg,#221c2a,#2b2235);border-color:#43344f;border-radius:9px}
html[data-theme="titanium-violet"] .online-home-reference strong{color:#cfb5e6}
html[data-theme="titanium-violet"] .journey-forward{color:#9b83b4}
html[data-theme="titanium-violet"] .records-title:before{background:#9b80b7}
html[data-theme="titanium-violet"] :is(.workspace-tabs,.filterbar,.landing-page-cue){background:linear-gradient(112deg,#201b29,#18151e);border-color:#3b3147;box-shadow:inset 0 1px #d9b9ff08;border-radius:11px}
html[data-theme="titanium-violet"] .workspace-tabs button[aria-selected="true"]{background:linear-gradient(110deg,#382944,#26202f);border-color:#8c6da5;box-shadow:inset 0 1px #dabbed17}
html[data-theme="titanium-violet"] .theme-trigger{background:linear-gradient(120deg,#35293e,#231d2d);border-color:#766084;box-shadow:inset 0 1px #e9cef322,0 4px 16px #0002;border-radius:8px}
html[data-theme="titanium-violet"] .theme-trigger-swatches i:first-child{background:#796083}
html[data-theme="titanium-violet"] .theme-trigger-swatches i:nth-child(2){background:#b4a7bc}
html[data-theme="titanium-violet"] .theme-trigger-swatches i:nth-child(3){background:#282330}
html[data-theme="titanium-violet"] .button.primary{background:linear-gradient(115deg,#654c77,#8b6b9e);border:1px solid #a58abb66;box-shadow:inset 0 1px #ffffff12,0 6px 18px #0002;border-radius:8px}
html[data-theme="titanium-violet"] .button.primary:hover:not(:disabled){background:linear-gradient(115deg,#765888,#9b7aad);color:#fff}
html[data-theme="titanium-violet"] :is(input,select){border-color:#4b3c57}
.theme-option[data-palette="titanium-violet"]{--mini-bg:#15121c;--mini-ink:#b39ac8;--mini-line:#4d3b60;--mini-card:#241c30}
.theme-option[data-palette="titanium-violet"] .mini-hero{background:linear-gradient(120deg,#31223e,#685074)}
.theme-option[data-palette="titanium-violet"] .mini-lines,.theme-option[data-palette="titanium-violet"] .mini-lines:after{background:#c6b4d5}
.theme-option[data-palette="titanium-violet"] .mini-orb{border:3px double #b5a0cc80;border-radius:10px;background:linear-gradient(135deg,#a48ab2,#382c44 50%,#8b70a0);box-shadow:inset 1px 1px #e9d6ff55,0 3px 10px #0004;transform:rotate(45deg);animation:titanium-core-light 9s ease-in-out infinite}
.theme-choices{grid-template-columns:repeat(2,minmax(0,1fr))}
@keyframes titanium-light-pass{0%,18%{transform:translateX(-100%)}65%,100%{transform:translateX(100%)}}
@keyframes titanium-core-light{0%,100%{opacity:.72}50%{opacity:1}}
@media(max-width:1100px){html[data-theme="titanium-violet"] .theme-orb{width:160px;height:160px;right:10px;opacity:.55}}
@media(max-width:600px){.theme-choices{grid-template-columns:1fr}html[data-theme="titanium-violet"] .theme-orb{width:142px;height:142px;right:-8px;opacity:.35}}
html[data-motion="off"] :is(.visitor-primary:before,.theme-core,.mini-orb),html[data-page-visibility="hidden"] :is(.visitor-primary:before,.theme-core,.mini-orb){animation-play-state:paused!important}
@media(prefers-reduced-motion:reduce){html[data-theme="titanium-violet"] *,html[data-theme="titanium-violet"] *:before,html[data-theme="titanium-violet"] *:after{animation:none!important;transition:none!important}}
