/* Language links share the appearance palette in both themes. The bar remains
   available without JavaScript, when its appearance-control slot is empty. */
.appearance-bar.wrap:has(.language-switcher) { display:flex; }
.language-switcher { display:inline-flex;align-items:center;gap:4px;flex-wrap:wrap;max-width:100%;margin:0; }
.language-switcher a { display:inline-flex;align-items:center;justify-content:center;min-height:34px;min-width:34px;padding:7px 9px;border:1px solid transparent;border-radius:100px;color:var(--theme-control-ink,var(--muted));font:500 12px/1.35 'Instrument Sans',system-ui,sans-serif;text-decoration:none;white-space:nowrap; }
.language-switcher a:hover { background:var(--theme-control-hover); }
.language-switcher a[aria-current="page"] { border-color:var(--theme-control-selected);background:var(--theme-control-selected);color:var(--theme-control-selected-ink);font-weight:600; }
.language-switcher a:focus-visible { outline:3px solid var(--theme-control-focus);outline-offset:3px; }
@media(forced-colors:active) { .language-switcher a[aria-current="page"] { border-color:Highlight;background:Highlight;color:HighlightText; } }

/* Night palette for the existing presale and presentation components.
   Load after site.css and presentation.css. No image filters, new assets or
   reduced opacity: text, forms and illustrative cards get explicit colors.
   Keep the explicit and system branches aligned when changing a night color. */
html[data-theme="dark"] { --paper:#101714;--ink:#e9efe7;--pine:#8dd2b0;--algae:#6bcca2;--mint:#8dd2b0;--muted:#b7c6ba;--line:#435749;--night:#0b1510;--soft:#213328;--soft-line:#435749;color-scheme:dark; }
html[data-theme="dark"] .service-page { --soft:#213328;--soft-line:#435749; }
html[data-theme="dark"] body,
html[data-theme="dark"] .header { background:var(--paper);color:var(--ink); }
html[data-theme="dark"] .presentation-layout .header { background:#101714f5; }
html[data-theme="dark"] .button { background:#8dd2b0;border-color:#8dd2b0;color:#10251b; }
html[data-theme="dark"] .button:hover { background:#b2e3c8;border-color:#b2e3c8;color:#10251b; }
html[data-theme="dark"] .button.secondary { background:transparent;border-color:#789980;color:#b8dfc5; }
html[data-theme="dark"] .button.secondary:hover { background:#2a4131;color:#e8f3e7; }
html[data-theme="dark"] .button:disabled { background:#2b4032;border-color:#587151;color:#d5e4cc;opacity:1;cursor:not-allowed; }
html[data-theme="dark"] a:focus-visible,
html[data-theme="dark"] button:focus-visible,
html[data-theme="dark"] input:focus-visible,
html[data-theme="dark"] textarea:focus-visible,
html[data-theme="dark"] select:focus-visible,
html[data-theme="dark"] summary:focus-visible,
html[data-theme="dark"] [tabindex]:focus-visible,
html[data-theme="dark"] .service-page :focus-visible { outline-color:#e4bd6b; }
html[data-theme="dark"] input:not([type=checkbox]):not([type=hidden]),
html[data-theme="dark"] textarea,
html[data-theme="dark"] select,
html[data-theme="dark"] .compact-form input[type=email] { background:#111b15;border-color:#6a846f;color:var(--ink); }
html[data-theme="dark"] input::placeholder,
html[data-theme="dark"] textarea::placeholder { color:#b7c6ba;opacity:1; }
html[data-theme="dark"] input:disabled,
html[data-theme="dark"] textarea:disabled,
html[data-theme="dark"] select:disabled { background:#1e2c23;color:#bdcbbb;opacity:1; }
html[data-theme="dark"] input:focus,
html[data-theme="dark"] textarea:focus,
html[data-theme="dark"] select:focus { border-color:#a2d2ac; }
html[data-theme="dark"] input[aria-invalid=true] { border-color:#eea789; }
html[data-theme="dark"] .form-status { color:#f0aa94; }
html[data-theme="dark"] .form-card,
html[data-theme="dark"] .situation,
html[data-theme="dark"] .template-card,
html[data-theme="dark"] .customer { background:#17231d;border-color:#435749; }
html[data-theme="dark"] .example,
html[data-theme="dark"] .kit-card,
html[data-theme="dark"] .notice,
html[data-theme="dark"] .illustration { background:#213328;border-color:#536e58;color:var(--ink); }
html[data-theme="dark"] .example-top,
html[data-theme="dark"] .example-bottom { border-color:#536e58; }
html[data-theme="dark"] .assistant { background:#24573f;color:#f1faf1; }
html[data-theme="dark"] .assistant>span { color:#d5f5e5; }
html[data-theme="dark"] .check-icon { background:#2f513a;color:#c6e8b6; }
html[data-theme="dark"] .process-section,
html[data-theme="dark"] .service-knowledge { color:#e9efe7; }
html[data-theme="dark"] .preview-notice { background:#254634;color:#e4f2e5; }
html[data-theme="dark"] .review-banner { background:#213328;color:#e9efe7; }
html[data-theme="dark"] .review-banner a { color:#9ee0b9; }
html[data-theme="dark"] .skip { background:#17231d;color:#b9e7cb; }
html[data-theme="dark"] .brand img,
html[data-theme="dark"] .service-speaker img,
html[data-theme="dark"] .orbit-brand img,
html[data-theme="dark"] .service-invitation>div>img,
html[data-theme="dark"] .art-answer-bubble>div>img { background:#e5eee2;border-radius:5px;box-shadow:0 0 0 4px #e5eee2; }
html[data-theme="dark"] .service-example-label,
html[data-theme="dark"] .service-context div>span,
html[data-theme="dark"] .service-scene-caption,
html[data-theme="dark"] .service-playground-bottom { color:#b7cbb9; }
html[data-theme="dark"] .service-tabs { border-color:#617c64; }
html[data-theme="dark"] .service-tabs button { color:#c9dcc8; }
html[data-theme="dark"] .service-tabs button[aria-selected=true] { background:#8dd2b0;color:#10251b; }
html[data-theme="dark"] .service-tabs button:hover:not([aria-selected=true]) { background:#34513c;color:#edf4e7; }
html[data-theme="dark"] .service-customer { background:#36533b;color:#edf4e7; }
html[data-theme="dark"] .service-customer>span { color:#c2d8bf; }
html[data-theme="dark"] .service-answer { background:#172b20;border-color:#536f56;color:#edf4e7; }
html[data-theme="dark"] .service-context-icon,
html[data-theme="dark"] .service-playground-bottom { border-color:#58725b; }
html[data-theme="dark"] .service-example-dot { background:#a4c996; }
html[data-theme="dark"] .service-knowledge { background:#0e231b; }
html[data-theme="dark"] .service-feature-icon { background:#2c4431;color:#b8dfad; }
html[data-theme="dark"] .service-invitation { background:#172b20;border-color:#435c43; }
html[data-theme="dark"] .service-invitation h2+p,
html[data-theme="dark"] .service-invitation .note { color:#b7cbb9; }
html[data-theme="dark"] .service-invitation::before,
html[data-theme="dark"] .service-invitation::after { border-color:#385335; }
html[data-theme="dark"] .hero-scroll-link { color:#b5cdb8; }
html[data-theme="dark"] .scroll-line { background:#a0baa3; }
html[data-theme="dark"] .orbit-ring { border-color:#53684d55; }
html[data-theme="dark"] .orbit-caption { color:#b7cbb0; }
html[data-theme="dark"] .orbit-document { background:#263a25;border-color:#566f48;box-shadow:8px 8px 0 #1b2c1d; }
html[data-theme="dark"] .orbit-document>span:last-of-type { color:#c5d5b9; }
html[data-theme="dark"] .orbit-document i { background:#5c744e; }
html[data-theme="dark"] .orbit-question p { background:#203e2d;border-color:#46694d;color:#d8eedc; }
html[data-theme="dark"] .orbit-voice { background:#312d23;border-color:#786644; }
html[data-theme="dark"] .orbit-voice>span { color:#d4c39e; }
html[data-theme="dark"] .orbit-wave i { background:#cfab68; }
html[data-theme="dark"] .orbit-team { background:#213e2b;border-color:#517256; }
html[data-theme="dark"] .orbit-avatars span { background:#365337;border-color:#729065;color:#e4efd8; }
html[data-theme="dark"] .orbit-avatars span+span { background:#8dd2b0;border-color:#8dd2b0;color:#10251b; }
html[data-theme="dark"] .orbit-plus { border-color:#617c61; }
html[data-theme="dark"] .orbit-knowledge p,
html[data-theme="dark"] .hero-illustration-note { color:#b7c6ba; }
html[data-theme="dark"] .service-story { background:#10251d; }
html[data-theme="dark"] .chapter-art { background:#243b2b;color:#e4efde; }
html[data-theme="dark"] .art-orbit-ring { border-color:#89a97755; }
html[data-theme="dark"] .art-label { color:#bed1b6; }
html[data-theme="dark"] .knowledge-sheet { border-color:#789369;box-shadow:0 25px 50px -25px #00000077; }
html[data-theme="dark"] .sheet-back { background:#40513b; }
html[data-theme="dark"] .sheet-middle { background:#4e5d41; }
html[data-theme="dark"] .sheet-front { background:#26382a;color:#e6f0db; }
html[data-theme="dark"] .sheet-lines i { background:#9cae7a88; }
html[data-theme="dark"] .art-answer { background:#343222; }
html[data-theme="dark"] .art-answer .art-orbit-ring { border-color:#a99b6655; }
html[data-theme="dark"] .answer-source { background:#383e2b;border-color:#78845b;color:#e4efd6; }
html[data-theme="dark"] .art-customer { background:#535239;color:#f0f0df; }
html[data-theme="dark"] .art-answer-bubble { background:#232e22;color:#eff4e4;box-shadow:0 15px 40px -22px #00000077; }
html[data-theme="dark"] .art-answer-bubble em { color:#c8dfb5; }
html[data-theme="dark"] .answer-chip { background:#3d482d;border-color:#78845b;color:#e0eccb; }
html[data-theme="dark"] .art-people { background:#213a32; }
html[data-theme="dark"] .route-human { background:#37634a;border-color:#6d977c;color:#e7f4dd; }
html[data-theme="dark"] .route-path { border-color:#88b391; }
html[data-theme="dark"] .people-ticket { background:#1b3024;border-color:#5b7a60;color:#e1eddb;box-shadow:0 20px 50px -25px #00000077; }
html[data-theme="dark"] .ticket-status,
html[data-theme="dark"] .people-ticket p { color:#bed1b9; }
html[data-theme="dark"] .ticket-status i { background:#dcba6f; }
html[data-theme="dark"] .ticket-bottom { border-color:#536e52; }
html[data-theme="dark"] .people-return { color:#bfd8c5; }
html[data-theme="dark"] .stage-progress i { background:#8cb59655; }
html[data-theme="dark"] .story-stage[data-active="0"] .stage-progress i:nth-child(1),
html[data-theme="dark"] .story-stage[data-active="1"] .stage-progress i:nth-child(2),
html[data-theme="dark"] .story-stage[data-active="2"] .stage-progress i:nth-child(3) { background:#b8e0b6; }
html[data-theme="dark"] .voice-preview h2 { color:#f1e5c8; }
html[data-theme="dark"] .voice-question,
html[data-theme="dark"] .voice-disclosure { color:#d8c8a6; }
html[data-theme="dark"] .voice-status,
html[data-theme="dark"] .voice-transcript summary,
html[data-theme="dark"] .voice-transcript p { color:#e2d2ae; }
html[data-theme="dark"] .voice-transcript { border-color:#756341; }
html[data-theme="dark"] .voice-transcript summary::after { color:#e2c78f; }
html[data-theme="dark"] .voice-play { background:#ecd6a6;border-color:#ecd6a6;color:#332b17; }
html[data-theme="dark"] .voice-play:hover { background:#ffe7b9;border-color:#ffe7b9;color:#332b17; }
html[data-theme="dark"] .voice-preview .orbit-wave i { background:#d8b576; }

@media (prefers-color-scheme:dark) {
  html:not([data-theme="light"]) { --paper:#101714;--ink:#e9efe7;--pine:#8dd2b0;--algae:#6bcca2;--mint:#8dd2b0;--muted:#b7c6ba;--line:#435749;--night:#0b1510;--soft:#213328;--soft-line:#435749;color-scheme:dark; }
  html:not([data-theme="light"]) .service-page { --soft:#213328;--soft-line:#435749; }
  html:not([data-theme="light"]) body,
  html:not([data-theme="light"]) .header { background:var(--paper);color:var(--ink); }
  html:not([data-theme="light"]) .presentation-layout .header { background:#101714f5; }
  html:not([data-theme="light"]) .button { background:#8dd2b0;border-color:#8dd2b0;color:#10251b; }
  html:not([data-theme="light"]) .button:hover { background:#b2e3c8;border-color:#b2e3c8;color:#10251b; }
  html:not([data-theme="light"]) .button.secondary { background:transparent;border-color:#789980;color:#b8dfc5; }
  html:not([data-theme="light"]) .button.secondary:hover { background:#2a4131;color:#e8f3e7; }
  html:not([data-theme="light"]) .button:disabled { background:#2b4032;border-color:#587151;color:#d5e4cc;opacity:1;cursor:not-allowed; }
  html:not([data-theme="light"]) a:focus-visible,
  html:not([data-theme="light"]) button:focus-visible,
  html:not([data-theme="light"]) input:focus-visible,
  html:not([data-theme="light"]) textarea:focus-visible,
  html:not([data-theme="light"]) select:focus-visible,
  html:not([data-theme="light"]) summary:focus-visible,
  html:not([data-theme="light"]) [tabindex]:focus-visible,
  html:not([data-theme="light"]) .service-page :focus-visible { outline-color:#e4bd6b; }
  html:not([data-theme="light"]) input:not([type=checkbox]):not([type=hidden]),
  html:not([data-theme="light"]) textarea,
  html:not([data-theme="light"]) select,
  html:not([data-theme="light"]) .compact-form input[type=email] { background:#111b15;border-color:#6a846f;color:var(--ink); }
  html:not([data-theme="light"]) input::placeholder,
  html:not([data-theme="light"]) textarea::placeholder { color:#b7c6ba;opacity:1; }
  html:not([data-theme="light"]) input:disabled,
  html:not([data-theme="light"]) textarea:disabled,
  html:not([data-theme="light"]) select:disabled { background:#1e2c23;color:#bdcbbb;opacity:1; }
  html:not([data-theme="light"]) input:focus,
  html:not([data-theme="light"]) textarea:focus,
  html:not([data-theme="light"]) select:focus { border-color:#a2d2ac; }
  html:not([data-theme="light"]) input[aria-invalid=true] { border-color:#eea789; }
  html:not([data-theme="light"]) .form-status { color:#f0aa94; }
  html:not([data-theme="light"]) .form-card,
  html:not([data-theme="light"]) .situation,
  html:not([data-theme="light"]) .template-card,
  html:not([data-theme="light"]) .customer { background:#17231d;border-color:#435749; }
  html:not([data-theme="light"]) .example,
  html:not([data-theme="light"]) .kit-card,
  html:not([data-theme="light"]) .notice,
  html:not([data-theme="light"]) .illustration { background:#213328;border-color:#536e58;color:var(--ink); }
  html:not([data-theme="light"]) .example-top,
  html:not([data-theme="light"]) .example-bottom { border-color:#536e58; }
  html:not([data-theme="light"]) .assistant { background:#24573f;color:#f1faf1; }
  html:not([data-theme="light"]) .assistant>span { color:#d5f5e5; }
  html:not([data-theme="light"]) .check-icon { background:#2f513a;color:#c6e8b6; }
  html:not([data-theme="light"]) .process-section,
  html:not([data-theme="light"]) .service-knowledge { color:#e9efe7; }
  html:not([data-theme="light"]) .preview-notice { background:#254634;color:#e4f2e5; }
  html:not([data-theme="light"]) .review-banner { background:#213328;color:#e9efe7; }
  html:not([data-theme="light"]) .review-banner a { color:#9ee0b9; }
  html:not([data-theme="light"]) .skip { background:#17231d;color:#b9e7cb; }
  html:not([data-theme="light"]) .brand img,
  html:not([data-theme="light"]) .service-speaker img,
  html:not([data-theme="light"]) .orbit-brand img,
  html:not([data-theme="light"]) .service-invitation>div>img,
  html:not([data-theme="light"]) .art-answer-bubble>div>img { background:#e5eee2;border-radius:5px;box-shadow:0 0 0 4px #e5eee2; }
  html:not([data-theme="light"]) .service-example-label,
  html:not([data-theme="light"]) .service-context div>span,
  html:not([data-theme="light"]) .service-scene-caption,
  html:not([data-theme="light"]) .service-playground-bottom { color:#b7cbb9; }
  html:not([data-theme="light"]) .service-tabs { border-color:#617c64; }
  html:not([data-theme="light"]) .service-tabs button { color:#c9dcc8; }
  html:not([data-theme="light"]) .service-tabs button[aria-selected=true] { background:#8dd2b0;color:#10251b; }
  html:not([data-theme="light"]) .service-tabs button:hover:not([aria-selected=true]) { background:#34513c;color:#edf4e7; }
  html:not([data-theme="light"]) .service-customer { background:#36533b;color:#edf4e7; }
  html:not([data-theme="light"]) .service-customer>span { color:#c2d8bf; }
  html:not([data-theme="light"]) .service-answer { background:#172b20;border-color:#536f56;color:#edf4e7; }
  html:not([data-theme="light"]) .service-context-icon,
  html:not([data-theme="light"]) .service-playground-bottom { border-color:#58725b; }
  html:not([data-theme="light"]) .service-example-dot { background:#a4c996; }
  html:not([data-theme="light"]) .service-knowledge { background:#0e231b; }
  html:not([data-theme="light"]) .service-feature-icon { background:#2c4431;color:#b8dfad; }
  html:not([data-theme="light"]) .service-invitation { background:#172b20;border-color:#435c43; }
  html:not([data-theme="light"]) .service-invitation h2+p,
  html:not([data-theme="light"]) .service-invitation .note { color:#b7cbb9; }
  html:not([data-theme="light"]) .service-invitation::before,
  html:not([data-theme="light"]) .service-invitation::after { border-color:#385335; }
  html:not([data-theme="light"]) .hero-scroll-link { color:#b5cdb8; }
  html:not([data-theme="light"]) .scroll-line { background:#a0baa3; }
  html:not([data-theme="light"]) .orbit-ring { border-color:#53684d55; }
  html:not([data-theme="light"]) .orbit-caption { color:#b7cbb0; }
  html:not([data-theme="light"]) .orbit-document { background:#263a25;border-color:#566f48;box-shadow:8px 8px 0 #1b2c1d; }
  html:not([data-theme="light"]) .orbit-document>span:last-of-type { color:#c5d5b9; }
  html:not([data-theme="light"]) .orbit-document i { background:#5c744e; }
  html:not([data-theme="light"]) .orbit-question p { background:#203e2d;border-color:#46694d;color:#d8eedc; }
  html:not([data-theme="light"]) .orbit-voice { background:#312d23;border-color:#786644; }
  html:not([data-theme="light"]) .orbit-voice>span { color:#d4c39e; }
  html:not([data-theme="light"]) .orbit-wave i { background:#cfab68; }
  html:not([data-theme="light"]) .orbit-team { background:#213e2b;border-color:#517256; }
  html:not([data-theme="light"]) .orbit-avatars span { background:#365337;border-color:#729065;color:#e4efd8; }
  html:not([data-theme="light"]) .orbit-avatars span+span { background:#8dd2b0;border-color:#8dd2b0;color:#10251b; }
  html:not([data-theme="light"]) .orbit-plus { border-color:#617c61; }
  html:not([data-theme="light"]) .orbit-knowledge p,
  html:not([data-theme="light"]) .hero-illustration-note { color:#b7c6ba; }
  html:not([data-theme="light"]) .service-story { background:#10251d; }
  html:not([data-theme="light"]) .chapter-art { background:#243b2b;color:#e4efde; }
  html:not([data-theme="light"]) .art-orbit-ring { border-color:#89a97755; }
  html:not([data-theme="light"]) .art-label { color:#bed1b6; }
  html:not([data-theme="light"]) .knowledge-sheet { border-color:#789369;box-shadow:0 25px 50px -25px #00000077; }
  html:not([data-theme="light"]) .sheet-back { background:#40513b; }
  html:not([data-theme="light"]) .sheet-middle { background:#4e5d41; }
  html:not([data-theme="light"]) .sheet-front { background:#26382a;color:#e6f0db; }
  html:not([data-theme="light"]) .sheet-lines i { background:#9cae7a88; }
  html:not([data-theme="light"]) .art-answer { background:#343222; }
  html:not([data-theme="light"]) .art-answer .art-orbit-ring { border-color:#a99b6655; }
  html:not([data-theme="light"]) .answer-source { background:#383e2b;border-color:#78845b;color:#e4efd6; }
  html:not([data-theme="light"]) .art-customer { background:#535239;color:#f0f0df; }
  html:not([data-theme="light"]) .art-answer-bubble { background:#232e22;color:#eff4e4;box-shadow:0 15px 40px -22px #00000077; }
  html:not([data-theme="light"]) .art-answer-bubble em { color:#c8dfb5; }
  html:not([data-theme="light"]) .answer-chip { background:#3d482d;border-color:#78845b;color:#e0eccb; }
  html:not([data-theme="light"]) .art-people { background:#213a32; }
  html:not([data-theme="light"]) .route-human { background:#37634a;border-color:#6d977c;color:#e7f4dd; }
  html:not([data-theme="light"]) .route-path { border-color:#88b391; }
  html:not([data-theme="light"]) .people-ticket { background:#1b3024;border-color:#5b7a60;color:#e1eddb;box-shadow:0 20px 50px -25px #00000077; }
  html:not([data-theme="light"]) .ticket-status,
  html:not([data-theme="light"]) .people-ticket p { color:#bed1b9; }
  html:not([data-theme="light"]) .ticket-status i { background:#dcba6f; }
  html:not([data-theme="light"]) .ticket-bottom { border-color:#536e52; }
  html:not([data-theme="light"]) .people-return { color:#bfd8c5; }
  html:not([data-theme="light"]) .stage-progress i { background:#8cb59655; }
  html:not([data-theme="light"]) .story-stage[data-active="0"] .stage-progress i:nth-child(1),
  html:not([data-theme="light"]) .story-stage[data-active="1"] .stage-progress i:nth-child(2),
  html:not([data-theme="light"]) .story-stage[data-active="2"] .stage-progress i:nth-child(3) { background:#b8e0b6; }
  html:not([data-theme="light"]) .voice-preview h2 { color:#f1e5c8; }
  html:not([data-theme="light"]) .voice-question,
  html:not([data-theme="light"]) .voice-disclosure { color:#d8c8a6; }
  html:not([data-theme="light"]) .voice-status,
  html:not([data-theme="light"]) .voice-transcript summary,
  html:not([data-theme="light"]) .voice-transcript p { color:#e2d2ae; }
  html:not([data-theme="light"]) .voice-transcript { border-color:#756341; }
  html:not([data-theme="light"]) .voice-transcript summary::after { color:#e2c78f; }
  html:not([data-theme="light"]) .voice-play { background:#ecd6a6;border-color:#ecd6a6;color:#332b17; }
  html:not([data-theme="light"]) .voice-play:hover { background:#ffe7b9;border-color:#ffe7b9;color:#332b17; }
  html:not([data-theme="light"]) .voice-preview .orbit-wave i { background:#d8b576; }
}
