/* One semantic palette for public sites, documentation and the workspace. */
:root[data-burst-theme="dark"]{color-scheme:dark;--burst-background:#101010;--burst-surface:#1b1917;--burst-text:#fffaf5;--burst-border:#49413b;--burst-link:#ff9a62;--burst-focus:#ff9a62;--muted:#beb2a7;--theme-soft:#24201c;--theme-selected:#362418;--theme-accent:#ff9a62;--theme-shadow:#070707;--theme-warn-bg:#302218;--theme-warn-text:#f6c29b;--theme-error-bg:#321b19;--theme-error-text:#ffb4a8}
:root[data-burst-theme="light"]{color-scheme:light;--burst-background:#fffaf5;--burst-surface:#ffffff;--burst-text:#101010;--burst-border:#d9d2ca;--burst-link:#b33b00;--burst-focus:#b33b00;--muted:#675c52;--theme-soft:#f3ece4;--theme-selected:#ffead6;--theme-accent:#b33b00;--theme-shadow:#e6d9ca;--theme-warn-bg:#fff0df;--theme-warn-text:#71411e;--theme-error-bg:#fff0ed;--theme-error-text:#9b2a1d}
.theme-toggle{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;white-space:nowrap;gap:6px;background:var(--burst-surface);color:var(--burst-text);border:1px solid var(--burst-border);font:12px var(--burst-font-body);font-weight:600;min-height:40px;padding:8px 12px;border-radius:4px;cursor:pointer}.theme-toggle:hover{border-color:var(--theme-accent)}.theme-toggle:focus-visible{outline:3px solid var(--burst-focus);outline-offset:3px}.theme-actions{display:flex;gap:16px;align-items:center}dialog{background:var(--burst-surface);color:var(--burst-text);border-color:var(--burst-border)}.dialog-head{border-color:var(--burst-border)}.field input,.field select,.field textarea{background:var(--burst-background);color:var(--burst-text);border-color:var(--burst-border)}.help,.field small,.empty-state p{color:var(--muted)}.notice{background:var(--theme-warn-bg);color:var(--theme-warn-text);border-color:var(--burst-border)}.notice.error,.button.danger{background:var(--theme-error-bg);color:var(--theme-error-text)}.inline-error{color:var(--theme-error-text)}.tag.accent{background:var(--theme-selected);color:var(--theme-accent);border-color:var(--burst-border)}.tag.warn{background:var(--theme-error-bg);color:var(--theme-error-text);border-color:var(--burst-border)}
/* Developer landing and reading surfaces. Keep code examples intentionally dark. */
.docs-header,.docs-sidebar,.guide-card,.toc-note,.docs-search-trigger{background:var(--burst-surface);color:var(--burst-text);border-color:var(--burst-border)}.guide-card:hover,.search-result:hover,.docs-sidebar nav>a:hover{background:var(--theme-soft)}.developer-terminal{box-shadow:10px 14px 0 var(--theme-shadow)}.developer-hero h1 span{color:var(--theme-accent)}
.developer-hero .eyebrow,.developer-hero>div>p:not(.eyebrow),.developer-stack,.developer-start>.eyebrow,.guide-card p,.developer-component small,.docs-search-trigger kbd,.docs-build-label>span:last-child,.docs-sidebar nav>h2,.docs-sidebar nav>a,.docs-sidebar details>a,.docs-sidebar summary,.doc-toc>p,.doc-toc nav>a,.doc-source,.doc-breadcrumb,.doc-pagination>a span,.search-result p,.search-result-count{color:var(--muted)}
.guide-card>span,.guide-card b,.developer-component b,.developer-components .section-number,.docs-header nav>a:not(.button),.doc-article article a,.toc-note a,.doc-pagination>a,.sidebar-status,.search-result small{color:var(--theme-accent)}.developer-component,.docs-build-label,.sidebar-status,.doc-article h2,.doc-pagination,.doc-article .table-wrap,.doc-toc nav>a,.search-result{border-color:var(--burst-border)}.developer-component>span{background:var(--theme-selected);color:var(--theme-accent);border-color:var(--burst-border)}.docs-sidebar nav>a[aria-current=page]{background:var(--theme-selected);color:var(--theme-accent);border-color:var(--theme-accent)}.doc-toc nav>a.active{color:var(--theme-accent);border-color:var(--theme-accent)}.doc-article article>p,.doc-article article li,.doc-article td{color:var(--muted)}.doc-article article strong,.search-result strong{color:var(--burst-text)}.doc-article article :not(pre)>code{background:var(--theme-soft);color:var(--theme-accent);border-color:var(--burst-border)}.doc-article th{background:var(--theme-soft);color:var(--burst-text);border-color:var(--burst-border)}.doc-article td{border-color:var(--burst-border)}.doc-article blockquote{background:var(--theme-selected);color:var(--burst-text)}.doc-article .table-wrap{overflow:auto}.docs-trust{background:var(--burst-surface);color:var(--burst-text);border-color:var(--burst-border)}.docs-trust .eyebrow,.docs-trust p:not(.eyebrow){color:var(--muted)}.docs-trust .button{border-color:var(--burst-border)}
/* Workspace and sign-in share the same palette as the public sites. */
.sign-in,.sidebar{background:var(--burst-background);color:var(--burst-text)}.signin-card,.app-topbar,.summary-card,.panel,.space-card,.policy-card,.command-button{background:var(--burst-surface);color:var(--burst-text);border-color:var(--burst-border)}.signin-header,.signin-footer,.signin-bottom,.profile,.sidebar,.permission-row,.settings-row,.table-toolbar,.table-pagination,.activity-row,.tab-strip{border-color:var(--burst-border)}
.signin-docs,.signin-copy>.eyebrow,.signin-copy>p:not(.eyebrow),.signin-features,.signin-footer,.signin-footer a,.signin-card>p:not(.eyebrow),.signin-card>p.signin-assurance,.signin-bottom>span,.signin-header .brand small,.sidebar .brand small,.sidebar-section-label,.sidebar-bottom>a,.nav-item,.profile div span,.profile>button,.scope-picker>label,.scope-separator,.command-button kbd,.session-chip,.icon-button,.breadcrumbs,.page-heading p,.app-footer,.app-footer a,.summary-card>span,.summary-card .summary-note,.data-table th,.data-table td .cell-secondary,.table-toolbar>span,.table-pagination,.activity-row code,.activity-row time,.policy-meta>div>span,.settings-row>span,.app-main .help,.scope-context>div>span,.loading-state,.dialog-description{color:var(--muted)}
.signin-card .eyebrow,.signin-bottom a,.panel-heading>a,.panel-heading>button,.permission-row code,.space-card code,.policy-title .mono,.policy-card summary,.command-result .icon,.command-result span:last-child{color:var(--theme-accent)}.scope-picker select,.data-table td,.data-table td .cell-primary{color:var(--burst-text)}.scope-picker select option{background:var(--burst-surface);color:var(--burst-text)}.nav-item:hover,.command-result:hover{background:var(--theme-soft);color:var(--burst-text)}.nav-item[aria-current=page]{background:var(--theme-selected);color:var(--theme-accent);border-color:var(--burst-border)}.scope-context,.data-table th,.view-intro,.policy-card pre{background:var(--theme-soft);color:var(--muted);border-color:var(--burst-border)}.data-table td,.data-table th{border-color:var(--burst-border)}.table-toolbar input{background:var(--burst-background);color:var(--burst-text);border-color:var(--burst-border)}.app-main .tag.accent{color:var(--theme-accent)}.app-main .tag.warn{color:var(--theme-error-text)}.activity-symbol,.profile-avatar,.orbit-label{background:var(--theme-selected);color:var(--theme-accent);border-color:var(--burst-border)}.app-banner{background:var(--theme-warn-bg);color:var(--theme-warn-text);border-color:var(--burst-border)}
/* Public illustrations retain their intentional ink/orange artwork in both modes. */
.network-visual{color:#fffaf5}.creator-section{background:var(--burst-surface);color:var(--burst-text);border:1px solid var(--burst-border)}.creator-section h2 span{color:var(--theme-accent)}.creator-columns p,.creator-columns .small-note,.section-intro>p:last-child,.format-list p,.everywhere p,.build-note>p,.intro,.development,.small-note{color:var(--muted)}.formats,.format-list article,.build-note{border-color:var(--burst-border)}.format-list article>span,.text-link{color:var(--theme-accent)}
[data-burst-theme="light"] .hero-copy .eyebrow,[data-burst-theme="light"] .hero-description,[data-burst-theme="light"] .hero-footnote,[data-burst-theme="light"] .fact-strip span,[data-burst-theme="light"] .component-card p,[data-burst-theme="light"] .section-note,[data-burst-theme="light"] .principles>div>p,[data-burst-theme="light"] .principle-list p,[data-burst-theme="light"] .principles h2 span{color:var(--muted)}
[data-burst-theme="light"] .workflow-detail,[data-burst-theme="light"] .component-card{background:var(--burst-surface);color:var(--burst-text);border-color:var(--burst-border)}[data-burst-theme="light"] .component-card:hover{background:var(--theme-soft)}[data-burst-theme="light"] .component-index,[data-burst-theme="light"] .component-top .tag,[data-burst-theme="light"] .workflow-tabs button,[data-burst-theme="light"] .workflow-tabs button span,[data-burst-theme="light"] .workflow-detail .eyebrow,[data-burst-theme="light"] .workflow-detail>p:not(.eyebrow){color:var(--muted)}[data-burst-theme="light"] .workflow-tabs button,[data-burst-theme="light"] .principle-list article{border-color:var(--burst-border)}[data-burst-theme="light"] .workflow-tabs button[aria-selected=true]{background:var(--theme-selected);color:var(--burst-text)}[data-burst-theme="light"] .workflow-detail>a,[data-burst-theme="light"] .section-note a{color:var(--theme-accent)}
@media(max-width:850px){.public-nav nav{gap:12px}.docs-header{gap:12px}.docs-header .brand{width:auto}.theme-toggle{font-size:11px;padding:8px;min-height:38px}.theme-actions{gap:10px}}
@media(max-width:560px){.public-nav{height:auto;min-height:80px;gap:12px;padding:16px 0}.public-nav nav{gap:8px}.public-nav .button{padding:10px;font-size:10px}.public-nav .brand{font-size:23px;gap:6px}.public-nav .brand img{width:28px;height:28px}.public-nav .brand small{display:none}.docs-header .brand small{display:none}.docs-header .brand{font-size:21px}.signin-header{margin:0 20px}.signin-header .brand small,.theme-actions .signin-docs{display:none}.topbar-actions{gap:4px}.scope-picker select{max-width:95px}.docs-header nav{gap:6px}}
