/* Shared theme layer. Images, audio and video keep their original colors. */
html{color-scheme:dark}.theme-toggle{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:44px;min-height:44px;padding:10px 14px;border:1px solid #e6b76555;border-radius:10px;background:#16191f;color:#f2efe9;font:600 12px/1.3 Arial,sans-serif;cursor:pointer;flex-shrink:0;white-space:nowrap}.theme-toggle:hover{border-color:#e6b765;background:#242019}.theme-toggle:focus-visible{outline:2px solid #e6b765;outline-offset:4px}.theme-toggle [data-theme-icon]{font-size:20px;line-height:1}.theme-toggle-floating{position:fixed;right:20px;top:20px;z-index:35;box-shadow:0 4px 20px #0003}.topbar>.theme-toggle{margin-left:auto}.topbar>.theme-toggle~.bell,.topbar>.theme-toggle~.user-box{margin-left:0}.site-header .theme-toggle{margin-left:auto}.site-header .header-login{margin-left:0}
html[data-theme=light]{color-scheme:light;--bg:#f5f6f8;--panel:#fff;--text:#202936;--muted:#5c6674;--line:#d8dee6;--gold:#86560d;--theme-surface:#fff;--theme-soft:#edf1f6;--theme-text:#202936;--theme-link:#80500a}
html[data-theme=light] body{background:var(--bg);color:var(--theme-text)}
html[data-theme=light] :is(.card,.sidebar,.msg-drawer,.producer-metric,.producer-panel,.plan-card,.role-path,.workspace-preview,.login-survey){background:var(--theme-surface);border-color:var(--line);color:var(--theme-text)}
html[data-theme=light] :is(.topbar,.site-header){background:#f5f6f8f5;border-color:var(--line);color:var(--theme-text)}
html[data-theme=light] :is(.muted,.brand small,.user-box small,.central-footer,.dashboard-welcome p,.access-footer,.access-footer span,.environment-tag,.chat-item small,.section-title>span,.producer-metric-label,.producer-metric small,.producer-project-copy small,.producer-agenda-row small,.producer-stage){color:var(--muted)}
html[data-theme=light] .brand .brand-audio{color:var(--theme-text)}html[data-theme=light] .brand .brand-match{color:var(--gold)}
html[data-theme=light] :is(.field label,.field legend,.plan-includes,.plan-includes li){color:#374151}
html[data-theme=light] :is(.field input,.field textarea,.field select,.chat-form textarea,.tl-advance input,.drawer-item input,.agenda-form input,.agenda-form textarea,.agenda-form select,.pix-code){background:#fff;color:var(--theme-text);border-color:#b8c3d1}
html[data-theme=light] :is(input,textarea)::placeholder{color:#6c7683;opacity:1}
html[data-theme=light] :is(.btn,.button-gold){background:#e6b765;color:#281d0b;border-color:#c7984c}
html[data-theme=light] :is(.btn:hover,.button-gold:hover){background:#f0c985;color:#281d0b}
html[data-theme=light] :is(.btn.secondary,.button-outline,.role-path,.theme-toggle){background:#fff;border-color:#bec8d4;color:var(--theme-text)}
html[data-theme=light] :is(.btn.secondary:hover,.button-outline:hover,.role-path:hover,.theme-toggle:hover){background:#edf1f6;border-color:#9c7a42}
html[data-theme=light] :is(.nav a,.shortcut-card,.chat-item){color:var(--theme-text)}
html[data-theme=light] :is(.nav a:hover,.nav a.active,.chat-item:hover,.chat-item.active){background:#e6b76524;border-color:#ae8c5340;color:var(--theme-link)}
html[data-theme=light] :is(.user-initial,.shelf-chip,.draft-badge,.preview-status){background:#fff1d8;border-color:#dfbf86;color:#76501a}
html[data-theme=light] .badge{background:#80500a;color:#fff}
html[data-theme=light] :is(.shortcut-card,.shortcut-card.fx){background:linear-gradient(145deg,#fff,#eef2f7);border-color:var(--line)}
html[data-theme=light] :is(.shortcut-icon,.shortcut-go){background:#e8edf4;border-color:#cbd5e1;color:var(--theme-text)}
html[data-theme=light] :is(.central-hero,.hero-main){background:#fff;border-color:var(--line)}
html[data-theme=light] .central-hero-image{background-image:linear-gradient(90deg,#fff,transparent 30%),url('/assets/images/collaboration-hero-v2.webp')}
html[data-theme=light] :is(.bubble,.support-message,.office-review,.preview-task){background:#edf1f6;border-color:var(--line);color:var(--theme-text)}
html[data-theme=light] :is(.bubble.mine,.support-message.from-support){background:#fff1d8;border-color:#dfbf86;color:#332a1c}
html[data-theme=light] :is(.support-message.from-support header strong,.support-ticket-row:hover h4,.support-pagination a,.management-pagination a){color:var(--theme-link)}
html[data-theme=light] :is(.chat-head,.chat-form,.support-ticket-row,.management-material,.producer-project-row,.producer-opportunity,.producer-message-row,.producer-agenda-row,.sidebar-footer,.central-footer,.drawer-item){border-color:var(--line)}
html[data-theme=light] :is(table,.table-wrap){background:#fff;border-color:var(--line);color:var(--theme-text)}html[data-theme=light] :is(td,th){border-color:var(--line)}html[data-theme=light] th{background:#edf1f6;color:#6f4810}
html[data-theme=light] :is(.alert,.office-deadline-alert,.management-alert,.management-warning){background:#fff1db;border-color:#d8a557;color:#744a0d}
html[data-theme=light] :is(.alert.success,.pay-ok){background:#e8f6ed;border-color:#91cba7;color:#215b39}
html[data-theme=light] :is(.preview-payment-notice,.office-deadline-alert){background:#fff5e7;border-color:#d6b175;color:#6b4611}
html[data-theme=light] :is(.office-deadline-alert strong,.office-counters strong,.management-metrics strong,.management-person summary,.operation-tabs a[aria-current=page],.support-empty>span,.support-ticket-row>span:last-child){color:var(--theme-link)}
html[data-theme=light] :is(.management-alert>span,.usage-chart-bar-label,.usage-chart-scale,.operation-tabs a){color:var(--muted)}
html[data-theme=light] :is(.management-alert,.operation-tabs a[aria-current=page]){background:#fff5e7;border-color:#dfbf86}
html[data-theme=light] :is(.office-counters>div,.office-review,.office-header,.management-plan-options,.operation-tabs a){border-color:var(--line)}
html[data-theme=light] .office-header{background:linear-gradient(125deg,#fff5e7,#fff 75%)}
html[data-theme=light] .office-media{background:#edf1f6}
html[data-theme=light] .usage-chart{background:#f8fafc;border-color:var(--line)}html[data-theme=light] .usage-chart-track{background:repeating-linear-gradient(to right,transparent 0,transparent calc(25% - 1px),#ccd5df calc(25% - 1px),#ccd5df 25%),#e5eaf1}
html[data-theme=light] .usage-bar-session{background:#a96b0d}html[data-theme=light] .usage-bar-active{background:#137699}
html[data-theme=light] :is(.progress,.producer-stage i,.mini-tl i){background:#d8dee6}
html[data-theme=light] .timeline-card{background:radial-gradient(ellipse at 30% 0,#fff0d8,transparent 70%),#fff}
html[data-theme=light] .tl-step{background:linear-gradient(180deg,color-mix(in srgb,var(--c) 10%,#fff),#fff 75%);border-color:color-mix(in srgb,var(--c) 55%,#cbd5e1)}
html[data-theme=light] .tl-step p{color:#515d6c}html[data-theme=light] .tl-step strong{color:#202936}html[data-theme=light] .tl-step.todo .tl-num{background:#fff}
html[data-theme=light] :is(.tl-status,.tl-note,.ph){color:color-mix(in srgb,var(--c) 45%,#15202d)}
html[data-theme=light] .tl-banner{background:linear-gradient(0deg,color-mix(in srgb,var(--c) 12%,#fff),transparent)}
html[data-theme=light] :is(.seg-pills a,.seg-pills small){background:#fff;color:var(--theme-text);border-color:var(--line)}html[data-theme=light] .seg-pills a.on{background:#fff1d8;color:#76501a;border-color:#b58b42}
html[data-theme=light] .genre-actions a{background:#fff;border-color:#cbd5e1;color:var(--theme-text)}
html[data-theme=light] :is(.audience-card,.producer-card){background:#fff;border-color:var(--line);color:var(--theme-text)}
html[data-theme=light] :is(.audience-card p,.audience-card li,.desktop-nav a,.hero-intro p,.animation-note,.preview-bottom,.preview-top,.site-footer p,.site-footer small,.closing-inner p,.prelaunch-label){color:var(--muted)}
html[data-theme=light] .closing-section{background:radial-gradient(ellipse at 50% 100%,#f1e1c3,transparent 65%),#eef1f5;border-color:var(--line)}
html[data-theme=light] :is(.preview-tabs button,.play-button){background:#fff;border-color:var(--line);color:var(--theme-text)}html[data-theme=light] .preview-tabs button[aria-selected=true]{background:#fff1d8;color:#76501a}
/* Preserve light lettering on photographic artwork in either theme. */
html[data-theme=light] :is(.reception-story,.scene-label,.connection-badge,.genre-art){color:#f4f1eb}html[data-theme=light] .reception-story :is(h2,p,.back-home){color:#f4f1eb}html[data-theme=light] .reception-story em{color:#e6b765}
html[data-theme=light] .rating-stars span[aria-hidden]{color:#85909d}html[data-theme=light] .rating-stars label.selected span[aria-hidden],html[data-theme=light] .rating-stars label:has(input:checked) span[aria-hidden]{color:#86560d}
@media(max-width:700px){.theme-toggle{padding:8px;min-height:40px;min-width:40px}.theme-toggle [data-theme-label]{display:none}.theme-toggle-floating{right:16px;top:16px}.header-inner{gap:10px}.topbar{gap:12px}}
@media print{.theme-toggle{display:none!important}}

html[data-theme=light] :is(.back-home,.audience-number){color:var(--theme-link)}html[data-theme=light] .hero-caption{color:var(--muted)}html[data-theme=light] .hero-caption strong{color:var(--theme-text)}html[data-theme=light] .reception-story .back-home{color:#f4f1eb}html[data-theme=light] .tl-num{color:#15202d}html[data-theme=light] .tl-step.todo .tl-num{color:color-mix(in srgb,var(--c) 45%,#15202d)}
.topbar>div:first-of-type{min-width:0}.topbar h1{overflow-wrap:anywhere}@media(max-width:700px){.site-header .header-login{padding:10px 12px;gap:12px;min-height:40px}}
html[data-theme=light] :is(.reception-story,.hero-scene){--gold:#e6b765}html[data-theme=light] .reception-story .eyebrow{color:#e6b765}
