/* Ampoule-inspired semantic accents. Graphite workspace only; public page, other palettes, surfaces and geometry unchanged. */
html[data-theme="dark"]:is([data-palette="graphite"],:not([data-palette])) body:has(.sidebar){--action-mint:#A6CFB5;--action-butter:#E5CE83;--action-apricot:#E5A385;--action-lavender:#C2ACD2;--action-sky:#9ACBD8;--action-danger:#F1ADB4;--action-ink:#20272D;}
html[data-theme="dark"]:is([data-palette="graphite"],:not([data-palette])) body:has(.sidebar) [data-tone="mint"].button,
html[data-theme="dark"]:is([data-palette="graphite"],:not([data-palette])) body:has(.sidebar) [data-collab="share"].button,
html[data-theme="dark"]:is([data-palette="graphite"],:not([data-palette])) body:has(.sidebar) [data-collab="ack"].button,
html[data-theme="dark"]:is([data-palette="graphite"],:not([data-palette])) body:has(.sidebar) [data-shot="done"].button,
html[data-theme="dark"]:is([data-palette="graphite"],:not([data-palette])) body:has(.sidebar) [data-run="save"].button,
html[data-theme="dark"]:is([data-palette="graphite"],:not([data-palette])) body:has(.sidebar) [data-run="status"].button,
html[data-theme="dark"]:is([data-palette="graphite"],:not([data-palette])) body:has(.sidebar) [data-route="people"].button,
html[data-theme="dark"]:is([data-palette="graphite"],:not([data-palette])) body:has(.sidebar) [data-route="team"].button,
html[data-theme="dark"]:is([data-palette="graphite"],:not([data-palette])) body:has(.sidebar) [data-shoot-target="sharing"].button{--button-tone:var(--action-mint);}
html[data-theme="dark"]:is([data-palette="graphite"],:not([data-palette])) body:has(.sidebar) [data-tone="sky"].button,
html[data-theme="dark"]:is([data-palette="graphite"],:not([data-palette])) body:has(.sidebar) [data-route="stripboard"].button,
html[data-theme="dark"]:is([data-palette="graphite"],:not([data-palette])) body:has(.sidebar) [data-route="runsheet"].button,
html[data-theme="dark"]:is([data-palette="graphite"],:not([data-palette])) body:has(.sidebar) [data-route="calendar"].button,
html[data-theme="dark"]:is([data-palette="graphite"],:not([data-palette])) body:has(.sidebar) [href^="#runsheet/"].button,
html[data-theme="dark"]:is([data-palette="graphite"],:not([data-palette])) body:has(.sidebar) [href^="/#runsheet/"].button,
html[data-theme="dark"]:is([data-palette="graphite"],:not([data-palette])) body:has(.sidebar) [href^="/production-live/"].button,
html[data-theme="dark"]:is([data-palette="graphite"],:not([data-palette])) body:has(.sidebar) [data-run="day"].button,
html[data-theme="dark"]:is([data-palette="graphite"],:not([data-palette])) body:has(.sidebar) [data-collab="shoot-edit"].button,
html[data-theme="dark"]:is([data-palette="graphite"],:not([data-palette])) body:has(.sidebar) [data-shoot-target="editor"].button{--button-tone:var(--action-sky);}
html[data-theme="dark"]:is([data-palette="graphite"],:not([data-palette])) body:has(.sidebar) [data-tone="apricot"].button,
html[data-theme="dark"]:is([data-palette="graphite"],:not([data-palette])) body:has(.sidebar) [data-action="new"].button,
html[data-theme="dark"]:is([data-palette="graphite"],:not([data-palette])) body:has(.sidebar) [data-project="new"].button,
html[data-theme="dark"]:is([data-palette="graphite"],:not([data-palette])) body:has(.sidebar) [data-route="storyboard"].button,
html[data-theme="dark"]:is([data-palette="graphite"],:not([data-palette])) body:has(.sidebar) [data-route="shotlist"].button,
html[data-theme="dark"]:is([data-palette="graphite"],:not([data-palette])) body:has(.sidebar) [data-route="sceneMedia"].button,
html[data-theme="dark"]:is([data-palette="graphite"],:not([data-palette])) body:has(.sidebar) [data-story="new"].button,
html[data-theme="dark"]:is([data-palette="graphite"],:not([data-palette])) body:has(.sidebar) [data-story="edit"].button,
html[data-theme="dark"]:is([data-palette="graphite"],:not([data-palette])) body:has(.sidebar) [data-story="image"].button,
html[data-theme="dark"]:is([data-palette="graphite"],:not([data-palette])) body:has(.sidebar) [data-shot="new"].button,
html[data-theme="dark"]:is([data-palette="graphite"],:not([data-palette])) body:has(.sidebar) [data-shot="edit"].button,
html[data-theme="dark"]:is([data-palette="graphite"],:not([data-palette])) body:has(.sidebar) [data-shot="duplicate"].button,
html[data-theme="dark"]:is([data-palette="graphite"],:not([data-palette])) body:has(.sidebar) [data-run="add"].button{--button-tone:var(--action-apricot);}
html[data-theme="dark"]:is([data-palette="graphite"],:not([data-palette])) body:has(.sidebar) [data-tone="lavender"].button,
html[data-theme="dark"]:is([data-palette="graphite"],:not([data-palette])) body:has(.sidebar) [data-route="screenplay"].button,
html[data-theme="dark"]:is([data-palette="graphite"],:not([data-palette])) body:has(.sidebar) [data-route="microdrama"].button,
html[data-theme="dark"]:is([data-palette="graphite"],:not([data-palette])) body:has(.sidebar) [data-micro="plan"].button,
html[data-theme="dark"]:is([data-palette="graphite"],:not([data-palette])) body:has(.sidebar) [data-micro="write"].button,
html[data-theme="dark"]:is([data-palette="graphite"],:not([data-palette])) body:has(.sidebar) [data-micro="editor"].button,
html[data-theme="dark"]:is([data-palette="graphite"],:not([data-palette])) body:has(.sidebar) .sp-actions .primary.button,
html[data-theme="dark"]:is([data-palette="graphite"],:not([data-palette])) body:has(.sidebar) .sp-editor-tools .button,
html[data-theme="dark"]:is([data-palette="graphite"],:not([data-palette])) body:has(.sidebar) .assistant-panel .primary.button{--button-tone:var(--action-lavender);}
html[data-theme="dark"]:is([data-palette="graphite"],:not([data-palette])) body:has(.sidebar) [data-tone="butter"].button,
html[data-theme="dark"]:is([data-palette="graphite"],:not([data-palette])) body:has(.sidebar) [data-route="budget"].button,
html[data-theme="dark"]:is([data-palette="graphite"],:not([data-palette])) body:has(.sidebar) [data-budget].button,
html[data-theme="dark"]:is([data-palette="graphite"],:not([data-palette])) body:has(.sidebar) #budget-form .primary.button{--button-tone:var(--action-butter);}
html[data-theme="dark"]:is([data-palette="graphite"],:not([data-palette])) body:has(.sidebar) .danger.button,
html[data-theme="dark"]:is([data-palette="graphite"],:not([data-palette])) body:has(.sidebar) [data-action="delete-concept"].button,
html[data-theme="dark"]:is([data-palette="graphite"],:not([data-palette])) body:has(.sidebar) [data-action="delete-source"].button,
html[data-theme="dark"]:is([data-palette="graphite"],:not([data-palette])) body:has(.sidebar) [data-story="remove"].button,
html[data-theme="dark"]:is([data-palette="graphite"],:not([data-palette])) body:has(.sidebar) [data-shot="remove"].button,
html[data-theme="dark"]:is([data-palette="graphite"],:not([data-palette])) body:has(.sidebar) [data-lifecycle-delete].button{--button-tone:var(--action-danger);}
html[data-theme="dark"]:is([data-palette="graphite"],:not([data-palette])) body:has(.sidebar) [data-tone="mint"].button,
html[data-theme="dark"]:is([data-palette="graphite"],:not([data-palette])) body:has(.sidebar) [data-collab="share"].button,
html[data-theme="dark"]:is([data-palette="graphite"],:not([data-palette])) body:has(.sidebar) [data-collab="ack"].button,
html[data-theme="dark"]:is([data-palette="graphite"],:not([data-palette])) body:has(.sidebar) [data-shot="done"].button,
html[data-theme="dark"]:is([data-palette="graphite"],:not([data-palette])) body:has(.sidebar) [data-run="save"].button,
html[data-theme="dark"]:is([data-palette="graphite"],:not([data-palette])) body:has(.sidebar) [data-run="status"].button,
html[data-theme="dark"]:is([data-palette="graphite"],:not([data-palette])) body:has(.sidebar) [data-route="people"].button,
html[data-theme="dark"]:is([data-palette="graphite"],:not([data-palette])) body:has(.sidebar) [data-route="team"].button,
html[data-theme="dark"]:is([data-palette="graphite"],:not([data-palette])) body:has(.sidebar) [data-shoot-target="sharing"].button,
html[data-theme="dark"]:is([data-palette="graphite"],:not([data-palette])) body:has(.sidebar) [data-tone="sky"].button,
html[data-theme="dark"]:is([data-palette="graphite"],:not([data-palette])) body:has(.sidebar) [data-route="stripboard"].button,
html[data-theme="dark"]:is([data-palette="graphite"],:not([data-palette])) body:has(.sidebar) [data-route="runsheet"].button,
html[data-theme="dark"]:is([data-palette="graphite"],:not([data-palette])) body:has(.sidebar) [data-route="calendar"].button,
html[data-theme="dark"]:is([data-palette="graphite"],:not([data-palette])) body:has(.sidebar) [href^="#runsheet/"].button,
html[data-theme="dark"]:is([data-palette="graphite"],:not([data-palette])) body:has(.sidebar) [href^="/#runsheet/"].button,
html[data-theme="dark"]:is([data-palette="graphite"],:not([data-palette])) body:has(.sidebar) [href^="/production-live/"].button,
html[data-theme="dark"]:is([data-palette="graphite"],:not([data-palette])) body:has(.sidebar) [data-run="day"].button,
html[data-theme="dark"]:is([data-palette="graphite"],:not([data-palette])) body:has(.sidebar) [data-collab="shoot-edit"].button,
html[data-theme="dark"]:is([data-palette="graphite"],:not([data-palette])) body:has(.sidebar) [data-shoot-target="editor"].button,
html[data-theme="dark"]:is([data-palette="graphite"],:not([data-palette])) body:has(.sidebar) [data-tone="apricot"].button,
html[data-theme="dark"]:is([data-palette="graphite"],:not([data-palette])) body:has(.sidebar) [data-action="new"].button,
html[data-theme="dark"]:is([data-palette="graphite"],:not([data-palette])) body:has(.sidebar) [data-project="new"].button,
html[data-theme="dark"]:is([data-palette="graphite"],:not([data-palette])) body:has(.sidebar) [data-route="storyboard"].button,
html[data-theme="dark"]:is([data-palette="graphite"],:not([data-palette])) body:has(.sidebar) [data-route="shotlist"].button,
html[data-theme="dark"]:is([data-palette="graphite"],:not([data-palette])) body:has(.sidebar) [data-route="sceneMedia"].button,
html[data-theme="dark"]:is([data-palette="graphite"],:not([data-palette])) body:has(.sidebar) [data-story="new"].button,
html[data-theme="dark"]:is([data-palette="graphite"],:not([data-palette])) body:has(.sidebar) [data-story="edit"].button,
html[data-theme="dark"]:is([data-palette="graphite"],:not([data-palette])) body:has(.sidebar) [data-story="image"].button,
html[data-theme="dark"]:is([data-palette="graphite"],:not([data-palette])) body:has(.sidebar) [data-shot="new"].button,
html[data-theme="dark"]:is([data-palette="graphite"],:not([data-palette])) body:has(.sidebar) [data-shot="edit"].button,
html[data-theme="dark"]:is([data-palette="graphite"],:not([data-palette])) body:has(.sidebar) [data-shot="duplicate"].button,
html[data-theme="dark"]:is([data-palette="graphite"],:not([data-palette])) body:has(.sidebar) [data-run="add"].button,
html[data-theme="dark"]:is([data-palette="graphite"],:not([data-palette])) body:has(.sidebar) [data-tone="lavender"].button,
html[data-theme="dark"]:is([data-palette="graphite"],:not([data-palette])) body:has(.sidebar) [data-route="screenplay"].button,
html[data-theme="dark"]:is([data-palette="graphite"],:not([data-palette])) body:has(.sidebar) [data-route="microdrama"].button,
html[data-theme="dark"]:is([data-palette="graphite"],:not([data-palette])) body:has(.sidebar) [data-micro="plan"].button,
html[data-theme="dark"]:is([data-palette="graphite"],:not([data-palette])) body:has(.sidebar) [data-micro="write"].button,
html[data-theme="dark"]:is([data-palette="graphite"],:not([data-palette])) body:has(.sidebar) [data-micro="editor"].button,
html[data-theme="dark"]:is([data-palette="graphite"],:not([data-palette])) body:has(.sidebar) .sp-actions .primary.button,
html[data-theme="dark"]:is([data-palette="graphite"],:not([data-palette])) body:has(.sidebar) .sp-editor-tools .button,
html[data-theme="dark"]:is([data-palette="graphite"],:not([data-palette])) body:has(.sidebar) .assistant-panel .primary.button,
html[data-theme="dark"]:is([data-palette="graphite"],:not([data-palette])) body:has(.sidebar) [data-tone="butter"].button,
html[data-theme="dark"]:is([data-palette="graphite"],:not([data-palette])) body:has(.sidebar) [data-route="budget"].button,
html[data-theme="dark"]:is([data-palette="graphite"],:not([data-palette])) body:has(.sidebar) [data-budget].button,
html[data-theme="dark"]:is([data-palette="graphite"],:not([data-palette])) body:has(.sidebar) #budget-form .primary.button,
html[data-theme="dark"]:is([data-palette="graphite"],:not([data-palette])) body:has(.sidebar) .danger.button,
html[data-theme="dark"]:is([data-palette="graphite"],:not([data-palette])) body:has(.sidebar) [data-action="delete-concept"].button,
html[data-theme="dark"]:is([data-palette="graphite"],:not([data-palette])) body:has(.sidebar) [data-action="delete-source"].button,
html[data-theme="dark"]:is([data-palette="graphite"],:not([data-palette])) body:has(.sidebar) [data-story="remove"].button,
html[data-theme="dark"]:is([data-palette="graphite"],:not([data-palette])) body:has(.sidebar) [data-shot="remove"].button,
html[data-theme="dark"]:is([data-palette="graphite"],:not([data-palette])) body:has(.sidebar) [data-lifecycle-delete].button{background:color-mix(in srgb,var(--button-tone) 12%,var(--paper));color:var(--button-tone);border-color:color-mix(in srgb,var(--button-tone) 65%,var(--paper));box-shadow:none;}
html[data-theme="dark"]:is([data-palette="graphite"],:not([data-palette])) body:has(.sidebar) .button.primary{background:var(--button-tone,var(--action-mint));color:var(--action-ink);border-color:var(--button-tone,var(--action-mint));box-shadow:none;}
html[data-theme="dark"]:is([data-palette="graphite"],:not([data-palette])) body:has(.sidebar) .button:not(:disabled):not([aria-disabled="true"]):hover{filter:brightness(1.08);}
html[data-theme="dark"]:is([data-palette="graphite"],:not([data-palette])) body:has(.sidebar) .button:focus-visible{outline:3px solid var(--focus);outline-offset:3px;}
html[data-theme="dark"]:is([data-palette="graphite"],:not([data-palette])) body:has(.sidebar) .button:disabled,html[data-theme="dark"]:is([data-palette="graphite"],:not([data-palette])) body:has(.sidebar) .button[aria-disabled="true"]{filter:none;opacity:.45;box-shadow:none;}
@media (forced-colors:active){html[data-theme="dark"]:is([data-palette="graphite"],:not([data-palette])) body:has(.sidebar) .button{forced-color-adjust:auto;border:1px solid ButtonText;}html[data-theme="dark"]:is([data-palette="graphite"],:not([data-palette])) body:has(.sidebar) .button:focus-visible{outline-color:Highlight;}}
