/* Accessible switch: the thumb travels between sun and moon; no image filters. */
.displayControls{position:fixed;top:12px;right:16px;z-index:1400;display:flex;align-items:center;gap:12px;width:auto}.displayControls>.languageSwitch{position:static!important;margin:0!important;width:auto!important;max-width:none!important}.themeToggle{position:relative!important;display:block;flex:0 0 72px;width:72px;height:36px;min-height:36px;padding:0!important;border:1px solid #d6dfed!important;border-radius:999px!important;background:#edf2fa!important;color:#66758c!important;box-shadow:0 2px 8px #24324e0a;cursor:pointer}.themeToggle[hidden]{display:none}.themeToggle span{position:absolute;top:3px;width:28px;height:28px;display:grid;place-items:center;font-size:20px;line-height:1;pointer-events:none}.themeSun{left:3px;z-index:2;color:#a46b0a}.themeMoon{right:3px;z-index:2;color:#6f7b96}.themeToggle .themeThumb{left:3px;z-index:1;border-radius:50%;background:#fff;box-shadow:0 2px 5px #24324e25;transition:transform .22s ease,background .22s}.themeToggle[aria-checked=true]{background:#263349!important;border-color:#44526b!important}.themeToggle[aria-checked=true] .themeThumb{transform:translateX(36px);background:#445b85}.themeToggle[aria-checked=true] .themeMoon{color:#edf3ff}.themeToggle[aria-checked=true] .themeSun{color:#a4adc0}.themeToggle:focus-visible{outline:3px solid #6d94ff!important;outline-offset:4px}.landingPage .displayControls{position:absolute;top:27px;right:max(24px,calc((100vw - 1260px)/2));z-index:20}.landingPage .displayControls .languageSwitch{background:transparent;border:0;padding:0;box-shadow:none}.landingPage .themeToggle{flex-basis:68px;width:68px;height:34px;min-height:34px}.landingPage .themeToggle span{top:2px}.landingPage .themeToggle[aria-checked=true] .themeThumb{transform:translateX(32px)}
@media(max-width:700px){.displayControls{top:8px;right:10px;gap:8px}.landingPage .displayControls{top:74px;right:22px}.landingPage .landingHeader{align-items:center}.landingPage .landingHeader nav{padding-top:0;margin:0}.displayControls .languageSwitch select{max-width:105px}}
@media(prefers-reduced-motion:reduce){.themeToggle .themeThumb{transition:none}}

html[data-theme=dark],:host([data-theme=dark]){color-scheme:dark;--ink:#edf2fb;--muted:#a5b2c8;--line:#334159;--border:#334159;--green:#779dff;--accent:#779dff;background:#111827;color:#edf2fb}
html[data-theme=dark] body{background:#111827;color:#edf2fb}
html[data-theme=dark] :is(h1,h2,h3,h4,strong,legend),:host([data-theme=dark]) :is(h1,h2,h3,h4,strong,legend){color:#edf2fb}
html[data-theme=dark] :is(p,small,.small,.smallText,label,dt,dd,li),:host([data-theme=dark]) :is(p,small,.small,.smallText,label,dt,dd,li){color:#aab7cc}
html[data-theme=dark] a,:host([data-theme=dark]) a{color:#91afff}
html[data-theme=dark] :is(input,select,textarea),:host([data-theme=dark]) :is(input,select,textarea){background:#121d2e;color:#edf2fb;border-color:#64799b}
html[data-theme=dark] :is(input,textarea)::placeholder,:host([data-theme=dark]) :is(input,textarea)::placeholder{color:#8f9eb6}
html[data-theme=dark] :is(button,.button),:host([data-theme=dark]) :is(button,.button){background:#4167cc;color:#fff}
html[data-theme=dark] :is(.secondary,.badge,.ticketStatus,.infoButton),:host([data-theme=dark]) :is(.secondary,.badge,.ticketStatus,.infoButton){background:#263349;color:#d2ddef;border-color:#40506a}
html[data-theme=dark] :is(article,.serverStorage,.panel:not(.collectionPanel),.stat:not(.collectionStat),.cardTile:not(.collectionCard),.catalogCard,.ticketCard,.ticketComposer,.ticketMessage,.table,.empty,dialog,.platformAuth main>form,.collectionPreview,.featureGrid article,.supportGrid article,.kogiConsent),:host([data-theme=dark]) :is(article,.notice,.stats:not(.collectionStats) article,.ticketCard,.ticketMessage,.catalogCard,dialog){background:#1b2639;border-color:#34435c;color:#e4ecfa;box-shadow:none}
html[data-theme=dark] :is(#shell>aside,.platformSidebar){background:#151f30;border-color:#34435c}
html[data-theme=dark] :is(nav button:not(.collectionNavItem),.platformSidebar nav a){background:transparent;color:#adbad1}
html[data-theme=dark] :is(nav button:not(.collectionNavItem).active,.platformSidebar nav a.active,.platformAccount.active){background:#293c61;color:#b2c8ff!important}
html[data-theme=dark] :is(.platformViewSwitch,.platformViewSwitch button){background:#263858!important;border-color:#42587b!important;color:#c4d6ff!important}
html[data-theme=dark] :is(.platformAccount,.platformTagline){color:#b0bdd2!important}
html[data-theme=dark] :is(.cardTile:not(.collectionCard):hover,.primary,.notice,.result,.scanWizardSummary,.scanWizardNav),:host([data-theme=dark]) .notice{background:#20314e;border-color:#40597f;color:#c7d9ff}
html[data-theme=dark] :is(.cardTile:not(.collectionCard) .value,.legendValue,.primary h2,.stats:not(.collectionStats) strong,.gameRow b,.stat:not(.collectionStat)>span){color:#b2caff}
html[data-theme=dark] :is(.cardTile:not(.collectionCard) img,.cardTileImage){background:#111827}
html[data-theme=dark] :is(.scanReviewWarning,.scanCompletenessWarning,.scanAttention,.localReviewNotice,#platformUploadNotice,.legalPreviewStatus){background:#3b2c19!important;color:#ffdc9b!important;border-color:#805c2d!important}
html[data-theme=dark] :is(.warning,.error,.danger){color:#ffc0b4}
html[data-theme=dark] .danger{background:#492637;border-color:#814459}
html[data-theme=dark] :is(th,td,fieldset),:host([data-theme=dark]) :is(th,td,fieldset){border-color:#35435b}
html[data-theme=dark] th,:host([data-theme=dark]) th{background:#233149;color:#c5d2e7}
html[data-theme=dark] :is(.infoContent,.infoPopover,#refreshCountdown,#nextUpdateTimer){background:#223149;border-color:#455775;color:#d9e5f7}
html[data-theme=dark] .chart text{fill:#b5c1d5}html[data-theme=dark] .chart .grid{stroke:#3b4861}
html[data-theme=dark] .languageSwitch,html[data-theme=dark] .languageSwitch select{background:#1c293d!important;color:#c5d2ea!important;border-color:#40506b!important}
html[data-theme=dark] :is(.legalDocument,.legalDocument p,.legalDocument li,.legalDocument dd,.kogiLegalFooter){color:#b3bfd3}
html[data-theme=dark] :is(.legalDocument h1,.legalDocument h2,.legalDocument h3){color:#edf2fb}
html[data-theme=dark] :is(.kogiLegalFooter,.legalDocumentEnd,.landingFooter,.gamesStrip,.previewBottom){background:transparent;border-color:#35425c}
html[data-theme=dark] .kogiConsent :is(p,label,summary){color:#c2cee1}html[data-theme=dark] .kogiConsent h2{color:#edf2fb}html[data-theme=dark] .kogiConsentOpen{background:#263958;color:#d0dfff;border-color:#455b7f}
html[data-theme=dark] .landingHeader{background:transparent}html[data-theme=dark] .landingWordmark{color:#edf2fb}html[data-theme=dark] .wordmarkSuffix{color:#92adff}html[data-theme=dark] .heroCopy h1>span{color:#91acff}html[data-theme=dark] .landingLogin{background:#1c293d;border-color:#3c4c68;color:#e1eaff}
html[data-theme=dark] .landingButton{background:#4167cc;color:#fff}html[data-theme=dark] :is(.heroDescription,.landingTextLink,.heroFineprint,.landingEyebrow,.sectionHeading>p:last-child,.landingHowIntro>p:last-child,.featureGrid p,.landingHow li p,.supportDetail,.supportRights,.landingClosing>p,.landingDisclaimer,.landingFootnote,.landingFooter>p,.previewTop,.previewMeta,.previewBottom,.gamesStrip p){color:#acb9cf}
html[data-theme=dark] :is(.landingHow,.gradingSupport){background:#1c2c46}html[data-theme=dark] :is(.gradingSupport li,.supportMonogram,.featureIcon,.landingHow li>span,.demoPill){background:#293b5b;border-color:#425a83;color:#c2d4ff}
html[data-theme=dark] .visualOrbit{background:#1c2540}html[data-theme=dark] .orbitTwo{background:transparent;border-color:#2b3b59}html[data-theme=dark] .previewValue{color:#edf2fb}html[data-theme=dark] .previewGain{background:#183e38;color:#9ce0c8}html[data-theme=dark] .graphGrid{stroke:#3b4861}html[data-theme=dark] .graphLine{stroke:#91acff}html[data-theme=dark] .graphArea{fill:#759cff12}html[data-theme=dark] .graphLine{fill:none}html[data-theme=dark] .featureIcon{box-shadow:none}html[data-theme=dark] .landingFootnote:target{outline-color:#526c99}

html[data-theme=dark] .landingPage :is(.landingHero,.landingSupport,.landingFeatures,.landingClosing){background:transparent}html[data-theme=dark] body.platformPanelOpen #mainNavigation>a.platformAccount.active,html[data-theme=dark] a.platformAccount:hover{background:#293c61;color:#b2c8ff!important}
/* Preserve valuation meaning and movement colours in both appearances. */
html[data-theme=dark] :is(.rawReference,.referenceValue,.offerValue,.quality-fallback,.quality-stale,.quality-missing,.quality-reference),html[data-theme=dark] .cardTile:not(.collectionCard) .value.rawReference,html[data-theme=dark] .cardTile:not(.collectionCard) .value.referenceValue,html[data-theme=dark] .primary h2.rawReference,html[data-theme=dark] #total.rawReference{color:#f6bd6f}html[data-theme=dark] .chart .rawPoint{fill:#f6bd6f}html[data-theme=dark] .chart .line.rawLine{stroke:#f6bd6f}html[data-theme=dark] :is(.priceChange-up,.positiveChange){color:#85d8b5}html[data-theme=dark] .priceChange-down{color:#ff98a9}html[data-theme=dark] .priceChange-flat{color:#edf2fb}:host([data-theme=dark]) .kogiLegalFooter{color:#b3bfd3;border-color:#35425c}

/* Paint components, never structural page/header wrappers (dashboard gaps). */
html[data-theme=dark] #shell>main>header,html[data-theme=dark] #shell>main>.page{background:transparent;box-shadow:none}
html[data-theme=dark] .platformLayout main>section:not(.ticketList),html[data-theme=dark] .platformAuth main>section:not(.ticketList),:host([data-theme=dark]) main>section:not(.ticketList){background:#1b2639;border-color:#34435c;color:#e4ecfa;box-shadow:none}
html[data-theme=dark] .ticketMessage header,:host([data-theme=dark]) .ticketMessage header{background:transparent;color:#aab7cc}

/* Shared action geometry: comfortable text padding, wrapping and touch targets.
   Navigation is intentionally denser; switches retain their own track geometry. */
html button:not(:where(.themeToggle,.infoButton)),html .button:not(.landingButton),:host button:not(:where(.themeToggle,.infoButton)),:host .button:not(.landingButton){min-height:44px;min-width:44px;max-width:100%;box-sizing:border-box;padding:12px 16px;line-height:1.4;gap:8px;white-space:normal;overflow-wrap:break-word}
html #logout,html .platformLogout button,html .queueItem button,html .platformViewSwitch button,html .viewSwitch button,html .languageSwitch button,html .kogiConsentOpen,html .kogiConsentActions button,html #scanWizardProgress button,:host .platformViewSwitch button,:host .queueItem button,:host .viewSwitch button{padding:12px 16px;min-height:44px;line-height:1.4}
html #mainNavigation>button,html #platformNavigation>a{padding:10px 16px}
html .navLabel,:host .navLabel{min-width:0;overflow-wrap:break-word}
html .infoButton:not(.collectionWorkspace .infoButton),:host .infoButton:not(.collectionWorkspace .infoButton){width:36px;height:36px;min-width:36px;min-height:36px;flex:0 0 36px;padding:0;line-height:1;display:inline-flex;align-items:center;justify-content:center}
@media(max-width:700px){html #mainNavigation>button,html #platformNavigation>a{padding:10px 12px;min-height:44px}}
@media(max-width:700px),(pointer:coarse){html .infoButton:not(.collectionWorkspace .infoButton),:host .infoButton:not(.collectionWorkspace .infoButton){width:44px;height:44px;min-width:44px;min-height:44px;flex-basis:44px}}
/* Sticky dialog tools share the dialog surface instead of a mismatched band. */
html dialog .dialogHead,html #editor .dialogHead,html #editor .editorActions,:host dialog .dialogHead,:host #editor .dialogHead,:host #editor .editorActions{background:#fff}
html[data-theme=dark] dialog .dialogHead,html[data-theme=dark] #editor .dialogHead,html[data-theme=dark] #editor .editorActions,:host([data-theme=dark]) dialog .dialogHead,:host([data-theme=dark]) #editor .dialogHead,:host([data-theme=dark]) #editor .editorActions{background:#1b2639;border-color:#34435c}

html[data-theme=dark] .variantSelectionRequired,:host([data-theme=dark]) .variantSelectionRequired{color:#ff98a9}

/* Embedded pages have their own stylesheet scope: keep surfaces identical. */
html[data-theme=dark],:host([data-theme=dark]){--surface:#1b2639;--surface-inset:#121d2e;--surface-raised:#233149}
html[data-theme=dark] :is(.providerLegend,.providerDecision,.legalDrafts section,.legalDrafts details,.legalInternal,.table,.ticketComposer,.queueItem,.selectionToolbar,.selectionToggle,.scanImageComparison figure,.recognitionTable .uncertainField,.comparisonTable .chosenPrice,.photoCanvas,#detailInfo,.scanFeedback),
:host([data-theme=dark]) :is(.table,.panel:not(.collectionPanel),.ticketComposer,.empty,.providerLegend,.providerDecision,.legalDrafts section,.legalDrafts details,.legalInternal){background:var(--surface);color:var(--ink);border-color:var(--line);box-shadow:none}
html[data-theme=dark] #settings :is(fieldset,details),html[data-theme=dark] #scanDebugContent .ocrSummary,
:host([data-theme=dark]) .providerTerms .providerLegend{background:var(--surface);color:var(--ink);border-color:var(--line)}
html[data-theme=dark] :is(.providerDecision--conditional,.providerDecision--conflict,.legalDrafts mark,.scanSystemNotice,#scanWizardError,.valuationNotice,.valuationReview),
:host([data-theme=dark]) :is(.providerDecision--conditional,.providerDecision--conflict,.legalDrafts mark){background:#3b2c19;color:#ffdc9b;border-color:#805c2d}
:host([data-theme=dark]) :is(.secondary,.badge,.ticketStatus,.infoButton,.viewSwitch button){background:var(--surface-raised);color:#d2ddef;border-color:var(--line)}
:host([data-theme=dark]) :is(main,header,footer){background:transparent;color:var(--ink)}
:host([data-theme=dark]) :is(.legalDrafts nav a,.invitationForm textarea){background:var(--surface-inset);color:var(--ink);border-color:var(--line)}
html[data-theme=dark] :is(.kogiConsentActions button,.kogiConsentClose){background:var(--surface-raised);color:var(--ink);border-color:var(--line)}

/* Keep navigation highlights inside their scrollport; hover is not keyboard focus. */
html :is(#mainNavigation,#platformNavigation)>:is(a,button){border-radius:10px}
html :is(#mainNavigation,#platformNavigation)>:is(a,button):hover,
html :is(#mainNavigation,#platformNavigation)>:is(a,button):focus:not(:focus-visible){outline:none}
html :is(#mainNavigation,#platformNavigation)>:is(a,button):focus-visible{outline:2px solid var(--green,#315ddb);outline-offset:-2px}
html #mainNavigation>.platformAccount:first-of-type{border-top:0;border-radius:10px;padding-top:12px}
@media(max-width:700px){html #mainNavigation>.platformAccount:first-of-type{padding-top:10px}}

/* Supported-game links retain the existing showcase typography. */
.supportTileCopy h3 a{color:inherit;text-decoration:none}.supportTileCopy h3 a:hover{text-decoration:underline;text-underline-offset:.2em}

/* Mobile layout contract: flow content, intrinsic columns and safe-area spacing.
   Shared with embedded admin/account pages through :host. */
html[data-theme=dark] :is(.notice,.ticketMessage.teamReply,.actionConfirmation,.legalDrafts blockquote,.legalDrafts nav a,.providerTerms .providerLegend),
:host([data-theme=dark]) :is(.notice,.ticketMessage.teamReply,.actionConfirmation,.legalDrafts blockquote,.legalDrafts nav a){background:var(--surface,#1b2639);color:var(--ink,#edf2fb);border-color:var(--line,#334159)}
html[data-theme=dark] :is(header,footer):not(.dialogHead):not(.ticketMessage header){background:transparent}
html[data-theme=dark] :is(progress,meter){color-scheme:dark}
@media(max-width:700px){
 html{scroll-padding-top:150px}
 html body,:host{overflow-wrap:break-word}
 html .displayControls{position:relative;inset:auto;justify-content:flex-end;max-width:100%;padding:8px 14px;gap:12px;z-index:20}
 html .landingPage .landingHeader{grid-template-columns:minmax(0,1fr) auto;padding:16px;gap:12px}
 html .landingHeader nav{gap:10px;flex-wrap:wrap;max-width:100%}
 html .landingHeader nav a{min-height:44px;font-size:13px}
 html .landingPage .landingHeader .displayControls{padding:0;justify-self:stretch;justify-content:flex-end}
 html #shell>aside{height:auto;max-height:70dvh;padding:10px 14px;overflow-y:auto;overscroll-behavior:contain}
 html #shell>aside .brandRow{gap:12px;min-width:0}
 html #shell>main{padding:18px 14px 28px;width:auto;min-width:0}
 html #shell main>header{display:flex;flex-direction:column;align-items:stretch;padding:0;gap:12px}
 html #mainNavigation{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
 html #mainNavigation>:is(a,button){margin:0;min-width:0}
 html :is(.panelHead,.controls,.toolbar:not(.collectionToolbar),.headerTools){flex-wrap:wrap;min-width:0;gap:10px}
 html :is(.controls,.toolbar:not(.collectionToolbar)) :is(input,select){flex:1 1 150px;width:auto;min-width:0;max-width:100%}
 html :is(input,select,textarea),:host :is(input,select,textarea){font-size:16px;max-width:100%;box-sizing:border-box}
 html :is(.formGrid,.purchaseGrid),:host .formGrid{grid-template-columns:minmax(0,1fr)}
 html :is(.formGrid,.editorFields,.editorPhotoPane,.panel,.stat:not(.collectionStat),.platformContent),:host :is(main,section,form,fieldset){min-width:0}
 html .platformAuth main{margin:16px auto;padding:0 14px}
 html .platformAuth main>form{padding:20px 16px}
 html .platformLayout main{margin-top:16px;padding-inline:14px}
 html .platformLayout :is(section,article),:host main>section{padding:18px 14px}
 html :is(table,.table),:host :is(table,.table){max-width:100%}
 html .table,:host .table{overflow-x:auto;overscroll-behavior-x:contain}
 html dialog{max-width:100%;max-height:100dvh;box-sizing:border-box;padding:16px;padding-bottom:max(16px,env(safe-area-inset-bottom))}
 html #editor .scanImageComparison{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 html #editor .scanImageComparison figure{min-width:0;margin:0;padding:10px}
 html #editor .editorPhotoPane .scanImageComparison img{width:100%;height:190px;object-fit:contain;max-height:30dvh}
 html #editor .editorActions{padding-bottom:max(14px,env(safe-area-inset-bottom));gap:10px}
 html .gradingSupport{padding:22px 18px;gap:18px}
 html .gradingSupport ul{gap:8px}
 html .landingFooter{padding-inline:16px}
 html .landingFooter .kogiLegalFooter nav{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 16px}
 html .landingFooter .kogiLegalFooter nav a{min-width:0;overflow-wrap:anywhere;line-height:1.5}
 html #toast{max-width:calc(100vw - 28px);bottom:max(16px,env(safe-area-inset-bottom));overflow-wrap:anywhere}
}
@media(max-width:360px){
 html .landingHeader .landingWordmark{width:115px;flex-basis:115px}
 html .supportGrid{grid-template-columns:minmax(0,1fr)}
 html #mainNavigation .navItem:not(.collectionNavItem){flex-direction:column;gap:4px;font-size:11px}
 html #editor .scanImageComparison{grid-template-columns:minmax(0,1fr)}
}

/* Legacy light-theme declarations use !important: override only these controls. */
html[data-theme=dark] .languageSwitch select,:host([data-theme=dark]) .languageSwitch select{background:#121d2e!important;color:#edf2fb!important;border-color:#64799b!important}
@media(max-width:700px){
 html #shell>aside .brandRow,html .platformBrandRow{flex-wrap:wrap}
 html :is(.brandRow,.platformBrandRow)>.displayControls{flex:1 0 100%;padding:0;justify-content:flex-end}
 html .platformAuthBrand>.displayControls{justify-self:center;padding:10px 0 0}
 html body.platformAuth{padding-top:0}
 html #shell>aside{position:relative;top:auto}
}
/* Wizard state colours must override the legacy ID selectors as well. */
html[data-theme=dark] #scanWizardProgress button{background:#233149;color:#b7c5dc;border-color:#40516f;opacity:1}
html[data-theme=dark] #scanWizardProgress button[aria-current=step]{background:#293f69;color:#c5d7ff;border-color:#779dff}
html[data-theme=dark] #scanWizardProgress button:disabled{background:#1b2639;color:#8392ab;border-color:#34435c}
@media(max-width:700px){html #editor.guidedScan .editorActions{position:static;margin-top:20px;padding-bottom:16px}}
/* Header-actions rules carry :has specificity; retain wrapping on admin pages. */
@media(max-width:700px){
 html .platformSidebar .platformBrandRow:has(>.headerActions),html #shell>aside .brandRow:has(>.headerActions){flex-wrap:wrap;gap:10px}
 html .platformSidebar .platformBrandRow>.platformBrand{flex:0 0 120px;width:120px}
 html .platformSidebar .platformBrandRow>.displayControls{flex:1 0 100%;width:100%;min-width:0;padding:0}
 html .platformSidebar{position:relative;inset:auto;height:auto;max-height:none}
}
html[data-theme=dark] #platformNavigation>a.active,html[data-theme=dark] #mainNavigation>a.active{background:#293c61;color:#c5d7ff!important;border-color:#40516f}
/* Controls now live in the header: remove the legacy fixed-control spacer. */
@media(max-width:700px){html body:has(#shell),html body.platformLayout{padding-top:0}}
/* Light appearance must explicitly replace legacy dark mobile/component surfaces. */
html:not([data-theme=dark]){--surface:#fff;--surface-inset:#f3f6fa;--surface-raised:#edf2fc}
html:not([data-theme=dark]) :is(#shell>aside,.platformSidebar,.queueItem,.scanImageComparison figure,.photoCanvas,.scanFeedback,.providerLegend,.providerTerms .providerLegend){background:#fff;color:#273449;border-color:#dfe5ed}
html:not([data-theme=dark]) #mainNavigation.expanded>:not(.active){background:#f3f6fa;color:#52617a}
html:not([data-theme=dark]) #scan .upload .fileLabel{background:#edf2fc;color:#3157a0;border-color:#a9bde3}
html:not([data-theme=dark]) #editor .editorActions{background:#fff;box-shadow:none}
html:not([data-theme=dark]) :is(.welcomePanel,.scanWizardSummary){background:#edf2fc;color:#273449;border-color:#dfe5ed}
html:not([data-theme=dark]) .welcomePanel :is(p,small){color:#52617a}
.adminActivity{min-width:0}.activityLegend{display:flex;flex-wrap:wrap;gap:12px 24px;font-size:.9rem}.activityRegistered{color:#315ddb}.activityLogins{color:#16846b}.activityChart{display:block;width:100%;height:auto;min-height:150px;margin:18px 0}.activityChart text{fill:currentColor;font-size:13px}.adminActivity table{width:100%}
html[data-theme=dark] .activityRegistered,:host([data-theme=dark]) .activityRegistered{color:#91afff}html[data-theme=dark] .activityLogins,:host([data-theme=dark]) .activityLogins{color:#85d8b5}

.activityExplorer{position:relative;padding-bottom:52px}.activityTooltip{position:absolute;bottom:0;left:0;right:0;max-width:100%;box-sizing:border-box;padding:10px 12px;border:1px solid var(--line,#dfe5ed);border-radius:10px;background:var(--surface,#fff);color:inherit;font-size:14px;line-height:1.5;overflow-wrap:anywhere}.activityTooltip[hidden]{display:none}.activityDay{cursor:crosshair;touch-action:pan-y}.activityDay:focus-visible{outline:none;fill:#315ddb20;stroke:#315ddb;stroke-width:1}.activityCursor[hidden]{display:none}

.activityRange{display:flex;align-items:end;flex-wrap:wrap;gap:12px;margin:16px 0}.activityRange label{flex:0 1 180px}.activityRange select{width:100%;min-height:44px}.activityRange button{min-height:44px}

/* Keep the flag row transparent; theme the native language popup explicitly. */
html[data-theme=dark] .displayControls .languageSwitch{background:transparent!important;box-shadow:none!important}
html[data-theme=dark] .displayControls .languageCaption{background:transparent;color:#c5d2ea}
html[data-theme=dark] .displayControls .languageSwitch select{color-scheme:dark;background:#121d2e!important;color:#edf2fb!important;border-color:#64799b!important}
html[data-theme=dark] .displayControls .languageSwitch :is(option,optgroup){background:#121d2e;color:#edf2fb}
html[data-theme=dark] .displayControls .languageSwitch select:focus-visible{outline:2px solid #91afff;outline-offset:3px}

html[data-theme=dark] .infoContent.floatingInfo a{color:#b2caff}

/* Shared text actions retain readable ink in both appearances. */
html .legalDocument a.button{color:#fff}
html a:is(.skipLink,.platformSkip,.landingSkip,.publicSiteSkip){background:#315ddb;color:#fff}
html body.publicSitePage a:is(.landingSkip,.publicSiteSkip){background:#315ddb;color:#fff}
html:not([data-theme=dark]){--muted:#5d6b82}

html[data-theme=dark] .cardLavender :is(span,b,small){color:#55456f}
html[data-theme=dark] .cardPeach :is(span,b,small){color:#76523c}
html[data-theme=dark] .landingFooterBrand span{color:#92adff}
html[data-theme=dark] .legalDocument mark{background:#3b2c19;color:#ffdc9b}
html[data-theme=dark] :is(code,.eyebrow){color:#b3c9ff}
html[data-theme=dark] :is(.platformTagline,aside>.small){color:#aab7cc!important}
