/* A second Atelier palette; layout and operational controls are unchanged. */
.atelier-theme-toggle{display:inline-flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap;min-height:33px;padding:6px 11px;font-size:10px;border-radius:100px;margin-left:10px;flex-shrink:0}
.atelier-theme-toggle [data-theme-icon]{font-size:17px;line-height:1;width:17px}
.atelier-login-theme{position:absolute;top:22px;right:28px}
html[data-theme=dark]{color-scheme:dark;--bg:#101a16;--panel:#17251f;--line:#304439;--text:#e5eee7;--muted:#a5b8aa;--gold:#a1d7b5;--atelier-ink:#e5eee7;--atelier-sage:#23372b;--atelier-accent:#e6ba75;--atelier-shadow:0 5px 24px #00000016}
html[data-theme=dark] body::before{background:radial-gradient(ellipse at 95% 0,#354c2c45,transparent 45%)}
html[data-theme=dark] ::selection{background:#4c7057;color:#fff}
html[data-theme=dark] a{color:#a2d2ac}html[data-theme=dark] a:hover{color:#d7efcc}
html[data-theme=dark] aside{background:#14211b;border-color:var(--line)}
html[data-theme=dark] .wordmark,html[data-theme=dark] .atelier-workspace-label strong{color:#d7e6d9}
html[data-theme=dark] .wordmark small,html[data-theme=dark] aside nav .nav-group{color:#8fa594}
html[data-theme=dark] aside nav button,html[data-theme=dark] aside nav a{color:#a6b9aa!important}
html[data-theme=dark] aside nav button:hover,html[data-theme=dark] aside nav a:hover{background:#25382c!important;color:#e4eee0!important}
html[data-theme=dark] aside nav button.active,html[data-theme=dark] aside nav a[aria-current=page]{background:#2b4432!important;color:#c6e5bc!important}
html[data-theme=dark] aside nav button.active::after,html[data-theme=dark] aside nav a[aria-current=page]::after{background:#a6d598}
html[data-theme=dark] nav span#review-count{background:#3c5439;color:#d1e6bc}
html[data-theme=dark] .aside-bottom,html[data-theme=dark] .atelier-workspace-label,html[data-theme=dark] footer{border-color:var(--line);color:#9eaf9e}
html[data-theme=dark] .aside-bottom button,html[data-theme=dark] footer a{color:#b1c2a8}
html[data-theme=dark] .atelier-workspace-label>span:first-child{background:#2b4030;color:#c1dcba}
html[data-theme=dark] .eyebrow,html[data-theme=dark] main>header .eyebrow,html[data-theme=dark] .panel .eyebrow{color:#9cb896}
html[data-theme=dark] button,html[data-theme=dark] .primary{background:#203429;border-color:#38523f;color:#d2e4ca}
html[data-theme=dark] button:hover:not(:disabled){background:#304a37;border-color:#688569;box-shadow:0 4px 12px #0002}
html[data-theme=dark] button.primary,html[data-theme=dark] .primary{background:#8bbf9a;border-color:#8bbf9a;color:#132d20}
html[data-theme=dark] button.primary:hover:not(:disabled){background:#abd6b1;border-color:#abd6b1;color:#10271a}
html[data-theme=dark] :is(input,select,textarea){background:#112018;border-color:#38523c;color:#dfebd8}
html[data-theme=dark] :is(input,select,textarea):focus{background:#192d20;border-color:#8aab7c;box-shadow:0 0 0 4px #8faf741c}
html[data-theme=dark] :is(input,textarea)::placeholder{color:#91a486}
html[data-theme=dark] label{color:#bacdaf}
html[data-theme=dark] input[type=file]::file-selector-button{background:#2d4331;border-color:#4a6246;color:#d8e8cd}
html[data-theme=dark] :is(.panel,.card,.stat,.toolbar,.calendar-scroll,.inspiration-card,.atelier-history-grid>.panel){background:var(--panel);border-color:var(--line)}
html[data-theme=dark] :is(.notice,#banner,.worker-check-bar,.automation-result,.automation-run .outcome,.atelier-recovery,.connection-grid details,.brand-details){background:#213322;border-color:#3b5033;color:#bad0a8}
html[data-theme=dark] .stat:first-child{background:#293b27;border-color:#3e5337}html[data-theme=dark] .stat:nth-child(2){background:#382f22;border-color:#534531}html[data-theme=dark] .stat:nth-child(3){background:#28362c;border-color:#3c5040}html[data-theme=dark] .stat:nth-child(4){background:#213a31;border-color:#355345}
html[data-theme=dark] .stat strong{color:#deedcf}html[data-theme=dark] .stat::after{color:#9ab68a}
html[data-theme=dark] .stat{border-top-color:var(--line)!important}
html[data-theme=dark] :is(.stat small,.stat small:first-child,.row p,.card h3,.activity li,.drop-zone strong,.empty h2,.calendar-toolbar h2,.calendar-day>strong,.dialog-head h2,.editor-grid h3,.automation-top h2,.automation-action h3,.automation-action h4,.creative-page main>header h1,#chatgpt-compose h2,.inspiration-upload h2,.inspiration-drop strong,.library-heading h2,.inspiration-card-body h3,.login-card h1,.atelier-legal h1){color:#d0e0c2}
html[data-theme=dark] :is(.help,.page-description,.row small,.card-body p,.automation-action p,.automation-help,.automation-empty,.automation-install,.automation-run small,.automation-run-body p,.worker-check-bar p,.inspiration-drop p,.inspiration-drop small,.inspiration-card-body p,#chatgpt-jobs .help,#chatgpt-jobs [data-paste-target],#chatgpt-prompt-form>p:not([role=status]),.atelier-reference-stage>.help,.brand-details summary,.brand-details p,.atelier-legal p){color:#afc0a3!important}
html[data-theme=dark] :is(.toolbar .muted,.stat small:last-child,.activity small,.library-heading>span,.creative-page main>p.muted,.creative-connection>summary,.creative-connection [role=status],.analysis,.editor-preview .help,.check .muted,.creative-steps,.inspiration-drop,.archive-toggle,#chatgpt-jobs [data-archive-chatgpt],.login-card .muted,.workspace-loading p:last-child,.calendar-day>small,.workspace-legend,.calendar-post-copy small,.calendar-deliveries summary){color:#a3b593}
html[data-theme=dark] :is(.row,.activity li,td,.creative-page #chat-form,.automation-run,.automation-progress-row){border-color:var(--line)}
html[data-theme=dark] .activity li::before{background:#a0bb8d;border-color:#2e442c}
html[data-theme=dark] :is(.workspace-quick-actions a,.toolbar select,.toolbar input,.card-body button,.empty,.drop-zone,.file-row,.upload-topline button,.calendar-toolbar button,.dialog-head,.dialog-head .close,.editor-grid textarea,.tabs button.active,.delivery-technical,.automation-connection,.discovery-single-actions button,.creative-connection,.creative-connection[open],#chatgpt-compose,#chatgpt-prompt,.inspiration-drop,.chat-message,.chat-assistant,.creative-page .attach-control,.design-preview-tabs [aria-selected=true],#design-preview,.login-card){background:#1c2c21!important;border-color:#3b5236;color:#c5d8b9}
html[data-theme=dark] :is(.preview,.editor-preview,.tabs,.editor-grid .tabs,.check,.editor-grid .check,.inspiration-preview,.atelier-reference-stage,.design-edit-preview,.design-image-stage,.design-preview-tabs button,#design-preview-image,.creative-page #chat-messages,.design-edit-chat,#chatgpt-jobs>.panel,.atelier-job-history){background:#223322!important;border-color:#3b5134;color:#bed4ad}
html[data-theme=dark] :is(.check:has(:checked),.editor-grid .check:has(:checked),#chatgpt-prompt-form .check:has(:checked),.chat-user,.creative-steps span,#chatgpt-jobs [data-recover-chatgpt],#chatgpt-jobs [data-paste-target]){background:#2c442a!important;border-color:#5a7648;color:#cce4b9}
html[data-theme=dark] :is(.inspiration-upload,#upload-dialog.inline-upload,.drop-zone.drag,.inspiration-drop.drag,.delivery-status-panel){background:#253922!important;border-color:#405836}
html[data-theme=dark] :is(.delivery-status-panel .help,.delivery-technical summary,.dialog-head .eyebrow,.tabs button,.creative-steps .current,.inspiration-card-body h3,.atelier-reference-stage>.eyebrow,#chatgpt-prompt-form label:first-child,#chatgpt-jobs>.panel>p:first-child,#chatgpt-jobs>.panel>strong,.chat-message strong,.login-card label,.login-card .eyebrow,.workspace-loading .eyebrow,details,details>summary,.connection-grid details summary,.atelier-recovery summary,.atelier-job-history>summary){color:#b6cf9f}
html[data-theme=dark] :is(.library-heading>span,.inspiration-preview span){background:#2d4027;border-color:#4a603e;color:#d0e0bb}
html[data-theme=dark] .calendar{background:#30432b}html[data-theme=dark] .day-head{background:#263621;color:#a4be8d}html[data-theme=dark] .calendar>div:empty{background:#182519}
html[data-theme=dark] .calendar-day{background:#1b2b1d!important}html[data-theme=dark] .calendar-day.slot-rest{background:#172417!important}
html[data-theme=dark] .calendar-day.slot-image>small:first-of-type{color:#b3c387}html[data-theme=dark] .calendar-day.slot-video>small:first-of-type{color:#8fc5ad}
html[data-theme=dark] :is(.calendar-post,.calendar-day button.calendar-post,.calendar-post.confirmed){background:#2c4026;border-color:#47633b}html[data-theme=dark] .calendar-post.complete{background:#314a29;border-color:#527448}html[data-theme=dark] .calendar-post.attention{background:#453725;border-color:#795e37}html[data-theme=dark] .calendar-post:hover{background:#3a542e;border-color:#719357}
html[data-theme=dark] :is(.calendar-post-copy strong,.calendar-day .calendar-post-copy strong){color:#d0e5b9}html[data-theme=dark] :is(.calendar-post-copy>span,.calendar-post.complete .calendar-post-copy>span){color:#b7d396}html[data-theme=dark] .calendar-post.attention .calendar-post-copy>span{color:#efc17e}
html[data-theme=dark] :is(.calendar-post-thumb,.calendar-deliveries[open]){background:#3e5231}
html[data-theme=dark] .badge{background:#2d3d24;color:#bfcd9d;border-color:#475838}
html[data-theme=dark] :is(.badge.published,.badge.approved,.badge.complete,.badge.verified){background:#2c4625;color:#b8dfa0;border-color:#48673a}
html[data-theme=dark] :is(.badge.scheduled,.badge.provider_scheduled,.badge.server_queued,.badge.awaiting_delivery,.badge.submitted,.badge.publishing){background:#213f32;color:#a5d8ba;border-color:#3e6750}
html[data-theme=dark] .badge.draft{background:#463820;color:#e4c486;border-color:#6c5732}html[data-theme=dark] :is(.badge.needs_review,.badge.uncertain,.badge.preflight_failed,.badge.rejected,.badge.failed){background:#4b3026;color:#f2b291;border-color:#81533a}
html[data-theme=dark] dialog,html[data-theme=dark] dialog#editor-dialog{background:#16261b;border-color:#3b5534;box-shadow:0 30px 100px #0006}html[data-theme=dark] dialog::backdrop{background:#030a07a8}
html[data-theme=dark] .editor-publish-actions{background:#1c2e20f5;border-color:#466138;box-shadow:0 -6px 20px #0002}
html[data-theme=dark] .editor-lock-note{background:#3b3220;border-color:#6a5933;color:#e2c688}
html[data-theme=dark] .error,html[data-theme=dark] #reject{color:#f0a283}html[data-theme=dark] #approve{color:#b8dba0;border-color:#719759}
html[data-theme=dark] table{color:#bed0ac}html[data-theme=dark] th{background:#243421;color:#a9bc93}html[data-theme=dark] tr:hover td{background:#243720}
html[data-theme=dark] .automation-connection.connected{background:#2d4526;border-color:#5c7946;color:#bfdfa6}html[data-theme=dark] :is(.automation-run strong,.automation-run summary::after,.automation-run .outcome.success){color:#badc9d}html[data-theme=dark] .automation-run .outcome.attention{background:#433720;color:#e7c386}
html[data-theme=dark] .login,html[data-theme=dark] .workspace-loading{background:var(--bg)}html[data-theme=dark] .atelier-legal main{background:var(--panel);border-color:var(--line)}
html[data-theme=dark] .mobile-menu-toggle{background:#30442c!important;border-color:#4d6443;color:#d1e3bc}
html[data-theme=dark] #toast{background:#2b4833;border-color:#557a51;color:#ebf5e3}
@media(max-width:760px){.atelier-workspace-label{gap:6px}.atelier-theme-toggle{padding:5px 9px;margin-left:auto;font-size:9px}.atelier-workspace-label .atelier-date{display:none}html[data-theme=dark] aside{background:#14211bf5}html[data-theme=dark] aside nav{background:#1b2d20;border-color:#3c5533}.atelier-login-theme{top:17px;right:20px}}
@media(max-width:420px){.atelier-workspace-label>span:nth-child(3){display:none}.atelier-theme-toggle [data-theme-label]{font-size:9px}}
