/* Release identity and read-only, keyboard-accessible update notes. */
body .sparkle-version-badge{display:inline-flex!important;align-items:center;vertical-align:middle;margin:0 0 0 9px!important;padding:3px 7px!important;border:1px solid #d88aa16b!important;border-radius:6px!important;background:#231f223d!important;color:#f9e8e3!important;font:600 10.5px/1.2 system-ui,sans-serif!important;letter-spacing:0!important;text-transform:none!important;white-space:nowrap}
body button.sparkle-version-badge{cursor:pointer}
body button.sparkle-version-badge:hover{border-color:#f2afbb!important;background:#98122866!important}
body #sparkle-release-dialog{box-sizing:border-box;width:min(880px,calc(100vw - 28px));max-width:calc(100vw - 28px);max-height:calc(100dvh - 40px);margin:auto;padding:25px;border:1px solid var(--line,#685462);border-radius:17px;background:var(--paper,#231f22);color:var(--ink,#f9e8e3);box-shadow:0 24px 100px #0008;overflow:auto;font:14px/1.55 system-ui,sans-serif}
#sparkle-release-dialog::backdrop{background:#130e15b8;backdrop-filter:blur(4px)}
#sparkle-release-dialog *{box-sizing:border-box}
#sparkle-release-dialog .sparkle-release-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
#sparkle-release-dialog h2{margin:2px 0 5px;font-size:28px;line-height:1.2;color:var(--ink)}
#sparkle-release-dialog .sparkle-release-heading p{margin:0;color:var(--muted)}
#sparkle-release-dialog .sparkle-release-eyebrow{font-size:11px;font-weight:750;letter-spacing:.14em;color:var(--theme-aqua,#f28334)}
#sparkle-release-dialog .sparkle-release-close{flex:none;width:36px;height:36px;margin:0;padding:0;border:1px solid var(--line);border-radius:9px;background:var(--card);color:var(--ink);font:25px/1 system-ui;cursor:pointer}
#sparkle-release-dialog .sparkle-release-notice{margin:18px 0;padding:11px 13px;border-left:3px solid #f28334;background:var(--card);border-radius:0 8px 8px 0}
#sparkle-release-dialog .sparkle-release-filters{display:grid;grid-template-columns:minmax(0,1fr) 190px;gap:12px}
#sparkle-release-dialog label{display:block;font-size:12px;font-weight:650}
#sparkle-release-dialog :is(input,select){display:block;width:100%;min-width:0;margin:5px 0 0;padding:10px 11px;border:1px solid var(--line);border-radius:8px;background:var(--card);color:var(--ink);font:14px system-ui}
#sparkle-release-dialog .sparkle-release-count{margin:12px 0;font-size:12px;color:var(--muted)}
#sparkle-release-dialog .sparkle-release-entry{margin:0 0 12px;border:1px solid var(--line);border-radius:11px;overflow:hidden}
#sparkle-release-dialog summary{display:flex;align-items:center;gap:12px;padding:12px;background:var(--card);cursor:pointer;list-style:none}
#sparkle-release-dialog summary::before{content:'▸';color:#f28334}
#sparkle-release-dialog details[open]>summary::before{content:'▾'}
#sparkle-release-dialog summary time{font:650 12px ui-monospace,monospace;color:var(--muted);white-space:nowrap}
#sparkle-release-dialog summary strong{font-size:14px}
#sparkle-release-dialog summary>span{margin-left:auto;font-size:11px;color:var(--muted);white-space:nowrap}
#sparkle-release-dialog .sparkle-release-items{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:12px}
#sparkle-release-dialog .sparkle-release-item{min-width:0;padding:12px;border:1px solid var(--line);border-radius:9px;background:var(--card);overflow-wrap:anywhere}
#sparkle-release-dialog .sparkle-release-tag{display:inline-block;padding:2px 7px;border-radius:5px;background:#c2476420;color:var(--ink);font-size:10px;font-weight:700;letter-spacing:.04em}
#sparkle-release-dialog h3{margin:7px 0 5px;font-size:14px;line-height:1.4;color:var(--ink)}
#sparkle-release-dialog .sparkle-release-item p{margin:0;font-size:13px;line-height:1.6;color:var(--muted)}
#sparkle-release-dialog .sparkle-release-footer{margin:16px 0 0;padding-top:12px;border-top:1px solid var(--line);font-size:11px;color:var(--muted)}
@media(max-width:620px){body #sparkle-release-dialog{padding:16px;max-height:calc(100dvh - 24px)}#sparkle-release-dialog .sparkle-release-items{grid-template-columns:1fr}#sparkle-release-dialog .sparkle-release-filters{grid-template-columns:1fr}#sparkle-release-dialog summary{flex-wrap:wrap;gap:7px}#sparkle-release-dialog summary strong{flex-basis:calc(100% - 28px);order:3}#sparkle-release-dialog h2{font-size:24px}body .sparkle-version-badge{margin-left:6px!important;font-size:9px!important;padding:2px 5px!important}}
/* Burgundy / Ember / Ivory / Plum: user palette #981228, #f28334,
   #f9e8e3, #503549. Dark body background remains #231f22.
   Presentation only: never recolor/filter scientific canvases or SVG data. */
:root {
  color-scheme: light;
  --ink: #48253f !important; --muted: #845f7b !important;
  --paper: #f9e8e3 !important; --light: #f9e8e3 !important;
  --card: #fffaf8 !important; --line: #ece2de !important;
  /* Compatibility tokens used by the existing workbenches. */
  --green: #773667 !important; --mint: #f6f2f0 !important;
  /* Keep legacy --green2/--lime state colors aligned with matrix legends. */
  --shadow: 0 12px 36px #0000000a !important;
  --theme-name: hanabi; --theme-accent: #981228; --theme-indigo: #503549; --theme-aqua: #f28334; --theme-gold: #f28334; --theme-border: #ece2de; --theme-focus: #683b5d;
}
html, body { background: var(--paper) !important; color: var(--ink) !important; }
body { accent-color: #683b5d; }
::selection { background: #d6d6d6; color: #111111; }
a { color: #703962; }
:where(button, a, input, select, textarea, summary):focus-visible { outline: 2px solid var(--theme-focus) !important; outline-offset: 3px !important; }
body > header, .shell > header, .topbar, header.top {
  background: #503549 !important; background-image: none !important; color: #fffaf8 !important;
  border-color: #683b5d !important; box-shadow: 0 2px 12px #00000014 !important;
}
header a, header nav a, .topbar a { color: #f4eeec !important; }
header [data-hub-help] { border-color: #956c8b !important; }
header a:hover, .topbar a:hover { color: #fffaf8 !important; text-decoration: underline; }
header .brand small, .workspace-label { color: #e5c6dd !important; }
.mark, .brand .mark, .card > .mark, .card > .icon { background: #f4eeec !important; color: #773667 !important; box-shadow: none !important; }
.eyebrow, .side-label, .label, .hub-recent-title, .list-head, .section-title, .section-heading, .title, .detail-section h3 { color: #815676 !important; }
.hint, .muted, .mini, .meta, .footer-note, .history-meta, .run-sub, .file-note, .search-note, .source, .security, .card > p, .intro p { color: #845f7b !important; }
.layout > aside, aside.hub-aside, .sidebar { background: #f6f2f0 !important; border-color: #e8ddd9 !important; }
.hub-method-group, .hub-shortcuts, .hub-recent, .sidebar-recent, .side-rule, .rule, .settings, .form-section, .section, .card-head, .head, .section-head { border-color: #ede5e1 !important; }
.hub-method-group summary, .hub-method-group summary::before, .hub-group-count, .hub-method-link, .hub-aside-head, .hub-resource-note { color: #815676 !important; }
.hub-method-link:hover, .nav:hover, .nav-item:hover, .history-row:hover, .history-entry:hover, .run-item:hover { background: #fefdfc !important; color: #48253f !important; }
.hub-method-link.active, .nav.active, .nav-item.active, .history-row.selected, .history-entry.selected, .run-item.selected { background: #ece2de !important; color: #48253f !important; border-color: #dcb7d3 !important; }
.hub-method-link.active { box-shadow: inset 3px 0 #981228; }
.hub-resource, .hub-resource.gpu, .hub-resource.cpu, .hub-resource.view, .badge.gpu, .badge.cpu, .icon, .nav-icon, .engine, .chain-tag, .chain-head .tag, .stepnum, .section-heading b, .section-title > .num { background: #f4eeec !important; color: #760e1f !important; }
.hub-shortcuts a, .hub-nav-toggle, .hub-aside-close { background: #fffaf8 !important; color: #703962 !important; border-color: #e7dbd5 !important; }
.hub-shortcuts a:hover { background: #ede5e1 !important; }
.hub-nav-backdrop, .sidebar-backdrop { background: #00000066 !important; }
body .card, body .section, body .article, .search-panel, .toc, .settings, .chain-card, .chain, .gpu, .detail-metric, .cpu-metrics > div, .pose-side, .metric, .fact, .files .file { background-color: #fffaf8 !important; border-color: #ece2de !important; box-shadow: 0 5px 20px #00000006 !important; }
.history-row, .history-entry, .task, .run-item, .file, .parameter-wrap { border-color: #ece2de !important; }
.task:hover, .task.selected { background: #f9e8e3 !important; border-color: #d9b2cf !important; }
.gpu.busy { background: #f9f7f6 !important; border-color: #d9aacd !important; }
input:not([type=checkbox]):not([type=radio]):not([type=hidden]), textarea, select, .control { background-color: #fefdfd !important; color: #773667 !important; border-color: #e5d8d3 !important; }
input:focus, textarea:focus, select:focus, .control:focus { border-color: #815676 !important; box-shadow: 0 0 0 3px #c986b826 !important; }
input::placeholder, textarea::placeholder { color: #8c6582 !important; }
input[type=checkbox], input[type=radio] { accent-color: #683b5d !important; }
.upload, .note, .notice, .choice-note, .indexbox, .policy, .empty, .empty-note, .segmented, .selectbar, .seq, .settings-grid { background-color: #f9f7f6 !important; color: #815b77 !important; border-color: #e8cde1 !important; }
.upload:hover { background: #f6f2f0 !important; border-color: #c898bc !important; }
.upload strong, .upload b { color: #683b5d !important; }
button, .btn, a.button { background-color: #fffaf8 !important; color: #703962 !important; border-color: #e6cadf !important; box-shadow: none !important; }
button:hover:not(:disabled), .btn:hover, a.button:hover { background-color: #f6f2f0 !important; border-color: #c898bc !important; }
.secondary, .ghost, .add, .button, .button.secondary, .btn.secondary, .workflow-links a, .related a { background-color: #f6f2f0 !important; color: #703962 !important; border-color: #e7dbd5 !important; }
.primary, .button.primary, button[type=submit], .card a[href='/'], .filter.active, .seg.active, .tab.active, .toc a.active { background-color: #981228 !important; color: #fffaf8 !important; border-color: #981228 !important; }
.primary:hover:not(:disabled), .button.primary:hover, button[type=submit]:hover, .card a[href='/']:hover { background-color: #760e1f !important; border-color: #760e1f !important; }
.tab.active { border-bottom-color: #48253f !important; }
header button, header .ghost, .topbar button, .topbar .ghost { background: #fffaf810 !important; color: #f9e8e3 !important; border-color: #956c8b !important; }
header button:hover:not(:disabled), .topbar button:hover:not(:disabled) { background: #fffaf825 !important; }
.banner, .run-banner, .hero, body .section.hero { background: linear-gradient(110deg, #773667, #734166) !important; color: #fffaf8 !important; border-color: #703962 !important; box-shadow: 0 10px 26px #0000000c !important; }
.banner :is(h1,h2,h3,strong,b), .run-banner :is(h1,h2,h3,strong,b), .hero :is(h1,h2,h3,strong,b) { color: #fffaf8 !important; }
.banner p, .banner .run-sub, .run-banner p, .run-banner .run-sub, .hero p, .hero .hint, .hero small { color: #e3c0da !important; }
.badge, .chip, .pill, .tag, .quality, .system, .system-pill, .sys, .live { background-color: #f6f2f0 !important; color: #784b6d !important; border-color: #e3c0da !important; }
.banner .badge, .run-banner .badge, .hero .pill, .btn.dark { background: #fffaf814 !important; border-color: #fffaf855 !important; color: #fffaf8 !important; }
header :is(.sys,.system,.system-pill,.live) { background: #fffaf812 !important; color: #ede5e1 !important; border-color: #fffaf830 !important; }
.pulse, .live::before { background: #dcb7d3 !important; box-shadow: 0 0 0 3px #fffaf812 !important; }
.track, .meter, .task-progress .bar, .cpu-thread { background: #efe8e5 !important; }
.fill, .track > i, .track > div, .meter > i, .task-progress .bar > i, .cpu-thread i { background: linear-gradient(90deg, #986744, #f28334) !important; }
.pipe, .stage, .step, .flow-box { background-color: #fefdfc !important; border-color: #ebe1dc !important; }
.pipe.done, .stage.done, .step.ready { background-color: #f6f2f0 !important; border-color: #e5d2c5 !important; }
.pipe.active, .stage.active, .step.running { background-color: #f6f2f1 !important; border-color: #c898bc !important; }
.terminal, .preview, .code-block { background: #411d38 !important; border-color: #734166 !important; color: #ede5e1 !important; }
.terminal-bar, .terminal-head, .termbar, .terminal > .bar, .code-top { background: #5c3051 !important; color: #e3c0da !important; border-color: #734166 !important; }
.terminal pre, pre.terminal, .preview pre, .code-block pre { background: #411d38 !important; color: #ede5e1 !important; }
.lights i { background: #d1b098 !important; }
.terminal button, .code-top button { background: #734166 !important; color: #f6f2f0 !important; border-color: #956c8b !important; }
.terminal a, .term-actions button { color: #e3c0da !important; }
.toast, #toast { background: #981228 !important; color: #fffaf8 !important; box-shadow: 0 10px 25px #00000020 !important; }
.toc a, .link, .file a, .file button, .artifact, .artifacts a, .crumb button, .pose-state, .export-result a { color: #703962 !important; }
.toc a.active, .toc a.active small { color: #fffaf8 !important; }
.toc a:hover:not(.active) { background: #f6f2f0 !important; }
th { background: #f6f2f1 !important; color: #845879 !important; }
th, td, .kv, .details details { border-color: #efe8e5 !important; }
tr:hover td { background: #f9f7f6 !important; }
/* Small semantic accents; never use color as the only status indicator. */
.danger, .stop, button.remove, .btn.danger, .button.danger { background: #fbf8f7 !important; color: #953948 !important; border-color: #e5bbc2 !important; }
.danger:hover:not(:disabled), .stop:hover:not(:disabled) { background: #f3e4e4 !important; border-color: #c59494 !important; }
.error, .fail, .state.failed, .state.stopped { color: #953948 !important; }
.toast.error { background: #703b3b !important; color: #fffaf8 !important; }
.warning, .warn, .step.partial, .quality.low { background: #f6f1ef !important; color: #7b5438 !important; border-color: #ddc9bb !important; }
.state.queued, .state.pausing, .state.stopping { color: #80573a !important; }
.state.running, .state.starting { color: #775d4a !important; }
.state.paused { color: #7d5e75 !important; }
.state.completed, .good, .ok { color: #466454 !important; }
.badge.failed, .badge.purged { background: #f6eaea !important; color: #953948 !important; }
.badge.trashed, .badge.stale { background: #f6f1ef !important; color: #7b5438 !important; }
.badge.ready { background: #edf2ef !important; color: #466454 !important; }
#hub-account-controls { background: #f6f2f0 !important; color: #683b5d !important; border-color: #ece2de !important; }
#hub-account-controls a { color: #683b5d !important; }
#hub-account-controls button { background: #fffaf8 !important; color: #683b5d !important; border-color: #e7cbe0 !important; }
@media print {
  html, body { background: #fffaf8 !important; }
  .code-block, .code-top, .code-block pre { background: #f9e8e3 !important; color: #48253f !important; }
}

/* Tidal silk surfaces: airy pearl work areas against an indigo stage. */
body {
  background-image: radial-gradient(ellipse at 96% 0%, #f0e9e6 0%, transparent 36%),
    radial-gradient(ellipse at 3% 15%, #f9e8e3 0%, transparent 34%) !important;
  background-repeat: no-repeat !important;
}
body > header, .shell > header, .topbar, header.top {
  background-image: radial-gradient(ellipse at 96% -80%, #c79e8155, transparent 65%),
    linear-gradient(110deg, #503549, #68385c 72%, #612c54) !important;
  box-shadow: inset 0 -1px #f2833470, 0 5px 20px #48253f14 !important;
}
.mark, .brand .mark, .card > .mark, .card > .icon {
  background: linear-gradient(135deg, #fffaf8, #f0e8e5) !important;
  color: #981228 !important; border: 1px solid #cfad9480;
  box-shadow: 0 2px 10px #30152915 !important;
}
header [data-hub-help] { border-color: #d0b8a780 !important; }
.eyebrow { color: #981228 !important; }
.layout > aside, aside.hub-aside, .sidebar, .locations {
  background: linear-gradient(170deg, #f6f2f1, #f5f0ed) !important;
  border-color: #eadfda !important;
}
.hub-method-group summary::before { color: #981228 !important; }
.hub-method-link:hover, .hub-shortcuts a:hover { background: #fffaf8b8 !important; }
.hub-method-link.active, .nav.active, .nav-item.active, .history-row.selected,
.history-entry.selected, .run-item.selected, .locations .location[aria-current=true] {
  background: #f9e8e3 !important; color: #981228 !important;
  border-color: #e7c7cc !important; box-shadow: inset 3px 0 #981228;
}
.hub-shortcuts a[aria-current="page"] {
  background: #f9e8e3 !important; border-color: #dcb4bb !important;
  color: #981228 !important; box-shadow: inset 3px 0 #981228 !important;
}
.hub-resource.gpu, .badge.gpu { background: #f2ecea !important; color: #854b76 !important; }
.hub-resource.cpu, .badge.cpu { background: #efe7e4 !important; color: #704c33 !important; }
.hub-resource.view { background: #efe7e3 !important; color: #795237 !important; }
.card-head, .head, .section-head {
  background-image: linear-gradient(100deg, #fffaf800 45%, #f3edeb4d) !important;
}
.card-head h2::before, .section-head h2::before {
  content: ''; display: inline-block; width: 3px; height: 11px;
  background: #bb4b5e; border-radius: 2px; margin-right: 8px; vertical-align: -1px;
}
body .card, body .article, .browser-shell, dialog {
  box-shadow: 0 6px 24px #68305a10 !important;
}
.primary, .button.primary, button[type=submit], .card a[href='/'] {
  background-image: linear-gradient(115deg, #981228, #a62c40) !important;
  color: #fffaf8 !important; border-color: #981228 !important;
  box-shadow: 0 4px 12px #98122820 !important;
}
.primary:hover:not(:disabled), .button.primary:hover, button[type=submit]:hover,
.card a[href='/']:hover { background-image: linear-gradient(115deg, #760e1f, #a74051) !important; }
.filter.active { background: #6f3560 !important; border-color: #6f3560 !important; }
.seg.active { background: #fffaf8 !important; color: #981228 !important; border-color: #e2b4bb !important; box-shadow: 0 2px 7px #98122814 !important; }
.tab.active { background: transparent !important; color: #981228 !important; border-color: transparent !important; border-bottom-color: #981228 !important; }
.toc a.active { background: #f9e8e3 !important; color: #981228 !important; box-shadow: inset 3px 0 #981228; }
.toc a.active small { color: #966069 !important; }
input:not([type=checkbox]):not([type=radio]):not([type=hidden]), textarea, select, .control { color: #48253f !important; }
input:focus, textarea:focus, select:focus, .control:focus {
  border-color: #af8e76 !important; box-shadow: 0 0 0 3px #c59b7d20 !important;
}
.banner, .run-banner, .hero, body .section.hero {
  background: radial-gradient(ellipse at 96% 160%, transparent 0 25%, #d5b7a21f 25.5% 26%, transparent 26.5% 38%, #d5b7a214 38.5% 39%, transparent 39.5%),
    radial-gradient(ellipse at 96% 140%, #b784604d, transparent 48%),
    linear-gradient(110deg, #542949, #734166 76%, #785236) !important;
  border-color: #78466b !important;
}
.fill, .track > i, .track > div, .meter > i, .task-progress .bar > i, .cpu-thread i {
  background: linear-gradient(90deg, #91427d, #af764e 65%, #f28334) !important;
}
.pipe.done, .stage.done, .step.ready { background: #f8f5f3 !important; border-color: #e5d2c4 !important; }
.pipe.active, .stage.active, .step.running { background: #f6f2f1 !important; border-color: #c29f86 !important; }
.pulse, .live::before { background: #cca88f !important; box-shadow: 0 0 0 3px #cca88f18 !important; }
.terminal, .preview, .code-block, .terminal pre, pre.terminal, .preview pre, .code-block pre {
  background: #411d38 !important; color: #eee6e3 !important;
}
.terminal-bar, .terminal-head, .termbar, .terminal > .bar, .code-top {
  background: #5c3051 !important; color: #e4d1c4 !important;
}
.toast, #toast { background: #5c3051 !important; color: #fffaf8 !important; }
.inspector { background: #fbf9f9 !important; border-color: #ece2de !important; }
.browser-shell { background: #fffaf8; border-color: #ece2de; }
.file-row[aria-selected=true], .grid-item[aria-selected=true] { background: #f6f2f1 !important; }
.file-icon { background: #f6f2f1 !important; color: #865279 !important; border-color: #e9ded9 !important; }
.file-icon.directory { background: transparent !important; color: #955685 !important; }
#preview { background: #fefdfc !important; color: #643558 !important; border-color: #ebe1dd !important; }
#undoNotice { background: #f8f5f3 !important; border-color: #dfc9ba !important; color: #6b4c36; }
#hub-account-controls { background: #f6f2f0 !important; border-color: #ebe1dc !important; }
#hub-account-controls a { color: #7b466e !important; }
#hub-account-controls button { color: #853340 !important; border-color: #dfc2c7 !important; background: #fefdfd !important; }
body:has(> main.card) {
  background-image: radial-gradient(ellipse at 18% 30%, #f1ebe8, transparent 45%),
    radial-gradient(ellipse at 85% 75%, #ede4e0, transparent 44%) !important;
}
body > main.card { border-top: 3px solid #981228 !important; }
.apps .card { border-top: 2px solid #cfac93 !important; }
.apps .card p { color: #845f7b !important; }
::selection { background: #e7dbd6; color: #48253f; }

/* Theme choice lives only in this browser/origin. Keep controls in normal flow. */
#hub-theme-toggle {
  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
  width: auto; min-height: 36px; padding: 7px 11px; margin: 0 0 0 8px;
  border: 1px solid var(--line); border-radius: 8px;
  font: 650 12px/1.3 system-ui, sans-serif; white-space: nowrap; cursor: pointer;
}
.hub-theme-toolbar {
  display: flex; justify-content: flex-end; width: 100%; max-width: 100%;
  padding: 0 0 14px; margin: 0; box-sizing: border-box;
}
header:has(#hub-theme-toggle), .topbar:has(#hub-theme-toggle) {
  height: auto; min-height: 68px; flex-wrap: wrap; gap: 10px;
  padding-top: 10px; padding-bottom: 10px;
}
header nav:has(#hub-theme-toggle), .top-actions:has(#hub-theme-toggle) {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px; min-width: 0; max-width: 100%;
}
body:has(> .hub-theme-toolbar) { grid-template-rows: auto 1fr; }
body:has(> .hub-theme-toolbar) > main.card { align-self: center; }

@media screen {
  :root:not([data-hub-theme="light"]) {
    color-scheme: dark;
    --ink: #f9e8e3 !important; --muted: #c8b7bf !important;
    --paper: #231f22 !important; --light: #231f22 !important;
    --card: #2d282d !important; --line: #514752 !important;
    --green: #e2bdd9 !important; --mint: #38313d !important;
    --accent: #f28334 !important;
    --theme-accent: #f28334; --theme-indigo: #e2bdd9;
    --theme-aqua: #f28334; --theme-gold: #cca88f;
    --theme-border: #514752; --theme-focus: #f28334;
    --shadow: 0 12px 36px #00000025 !important;
    background: #231f22 !important; color: #f9e8e3 !important;
  }
  html:not([data-hub-theme="light"]) body {
    background: #231f22 !important; background-image: none !important;
    color: var(--ink) !important; accent-color: #f28334;
  }
  html:not([data-hub-theme="light"]) :is(a, .link, .artifact, .artifacts a,
      .file a, .file button, .crumb button, .pose-state, .export-result a) { color: #f6b884 !important; }
  html:not([data-hub-theme="light"]) :is(body > header, .shell > header, .topbar, header.top) {
    background: linear-gradient(110deg, #2d222a, #44303f 75%, #433328) !important;
    border-color: #514752 !important; color: #f9e8e3 !important;
    box-shadow: inset 0 -1px #775e4c66, 0 4px 18px #00000024 !important;
  }
  html:not([data-hub-theme="light"]) header a { color: #eee6e2 !important; }
  html:not([data-hub-theme="light"]) :is(.eyebrow, .section-title, .section-heading,
      .title, .detail-section h3) { color: #f6c6b8 !important; }
  html:not([data-hub-theme="light"]) :is(.hint, .muted, .mini, .meta, .footer-note,
      .history-meta, .run-sub, .file-note, .search-note, .source, .security,
      .card > p, .intro p, .apps .card p, .details-note, .side-label,
      .hub-recent-title, .list-head) { color: #c8b7bf !important; }
  html:not([data-hub-theme="light"]) :is(.account-label, .locations h2, .location small,
      .boundary-note, .items-head, .action-row .mode, .grid-item small, .blank,
      .pager, .inspector h2, .selection-head small, .properties dt, .empty-details,
      .preview-label, #previewNote, .root-path, .root-path strong, .footer, .checkline, .recent-head,
      dialog p) { color: #c8b7bf !important; }
  html:not([data-hub-theme="light"]) :is(.blank b, .properties dd, .field label) { color: #f9e8e3 !important; }
  html:not([data-hub-theme="light"]) :is(.toolbar, .pager, .root-path, .boundary-note,
      .view-switch, .grid-item, .ds-source-post, .ds-digest) { border-color: #514752 !important; }
  html:not([data-hub-theme="light"]) #message { background: #332d34 !important; border-color: #6e5467 !important; }
  html:not([data-hub-theme="light"]) .upload-status { background: #332d34 !important; color: #d2c5d5 !important; border-color: #6e5467 !important; }
  html:not([data-hub-theme="light"]) :is(.layout > aside, aside.hub-aside, .sidebar, .locations) {
    background: #272329 !important; border-color: #514752 !important;
  }
  html:not([data-hub-theme="light"]) :is(.hub-method-group summary, .hub-method-group summary::before,
      .hub-group-count, .hub-method-link, .hub-aside-head, .hub-resource-note) { color: #d0becb !important; }
  html:not([data-hub-theme="light"]) :is(.hub-method-group, .hub-shortcuts, .hub-recent,
      .sidebar-recent, .side-rule, .rule, .settings, .form-section, .section,
      .card-head, .head, .section-head) { border-color: #514752 !important; }
  html:not([data-hub-theme="light"]) :is(.hub-method-link:hover, .nav:hover, .nav-item:hover,
      .history-row:hover, .history-entry:hover, .run-item:hover, .hub-shortcuts a:hover) {
    background: #38313d !important; color: #f9e8e3 !important;
  }
  html:not([data-hub-theme="light"]) :is(.hub-method-link.active, .nav.active, .nav-item.active,
      .history-row.selected, .history-entry.selected, .run-item.selected,
      .locations .location[aria-current=true], .hub-shortcuts a[aria-current=page]) {
    background: #503549 !important; color: #f9e8e3 !important;
    border-color: #8c525c !important; box-shadow: inset 3px 0 #f28334 !important;
  }
  html:not([data-hub-theme="light"]) :is(body .card, body .section, body .article,
      .search-panel, .toc, .settings, .chain-card, .chain, .gpu, .detail-metric,
      .cpu-metrics > div, .pose-side, .metric, .fact, .files .file,
      .browser-shell, dialog, .kg-stats > div, .forum-stats > div, .stat) {
    background: #2d282d !important; color: var(--ink) !important;
    border-color: #514752 !important; box-shadow: 0 5px 20px #00000020 !important;
  }
  html:not([data-hub-theme="light"]) :is(.card-head, .head, .section-head) { background-image: none !important; }
  html:not([data-hub-theme="light"]) :is(.history-row, .history-entry, .task, .run-item,
      .file, .parameter-wrap, .kv, .details details, th, td) { border-color: #514752 !important; }
  html:not([data-hub-theme="light"]) :is(.task, .history-row, .history-entry, .run-item) { background-color: #2d282d !important; }
  html:not([data-hub-theme="light"]) :is(.task:hover, .task.selected, .gpu.busy) {
    background: #38313d !important; border-color: #81708d !important;
  }
  html:not([data-hub-theme="light"]) :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),
      textarea, select, .control) {
    background: #211e23 !important; color: #f9e8e3 !important; border-color: #716375 !important;
  }
  html:not([data-hub-theme="light"]) input::placeholder,
  html:not([data-hub-theme="light"]) textarea::placeholder { color: #b8aabb !important; }
  html:not([data-hub-theme="light"]) :is(input:focus, textarea:focus, select:focus, .control:focus) {
    border-color: #f28334 !important; box-shadow: 0 0 0 3px #f2833426 !important;
  }
  html:not([data-hub-theme="light"]) :is(input[type=checkbox], input[type=radio]) { accent-color: #f28334 !important; }
  html:not([data-hub-theme="light"]) :is(button, .btn, a.button, .hub-shortcuts a,
      .hub-nav-toggle, .hub-aside-close, .secondary, .ghost, .add, .button,
      .button.secondary, .btn.secondary, .workflow-links a, .related a) {
    background: #38313d !important; color: #f9e8e3 !important; border-color: #716375 !important;
  }
  html:not([data-hub-theme="light"]) :is(button:hover:not(:disabled), .btn:hover, a.button:hover) {
    background: #493c4b !important; border-color: #ba8991 !important;
  }
  html:not([data-hub-theme="light"]) :is(.primary, .button.primary, button[type=submit], .card a[href='/']) {
    background: #981228 !important; color: #fffaf8 !important; border-color: #cd7c89 !important;
  }
  html:not([data-hub-theme="light"]) :is(.primary:hover:not(:disabled), button[type=submit]:hover) { background: #760e1f !important; }
  html:not([data-hub-theme="light"]) :is(header button, header .ghost, .topbar button) {
    background: #fffaf80b !important; color: #f9e8e3 !important; border-color: #827289 !important;
  }
  html:not([data-hub-theme="light"]) :is(.mark, .brand .mark, .card > .mark, .card > .icon) {
    background: #503549 !important; color: #f9e8e3 !important; border-color: #805159 !important;
  }
  html:not([data-hub-theme="light"]) :is(.badge, .chip, .pill, .tag, .quality, .system,
      .system-pill, .sys, .live, .icon, .nav-icon, .engine, .chain-tag,
      .chain-head .tag, .stepnum, .section-heading b, .section-title > .num, .ds-pill) {
    background: #38313d !important; color: #e5d8d2 !important; border-color: #6e5467 !important;
  }
  html:not([data-hub-theme="light"]) :is(.hub-resource.gpu, .badge.gpu) { background: #4f3348 !important; color: #e9deda !important; }
  html:not([data-hub-theme="light"]) :is(.hub-resource.cpu, .badge.cpu) { background: #433226 !important; color: #d6b9a5 !important; }
  html:not([data-hub-theme="light"]) .hub-resource.view { background: #43352b !important; color: #d4b59e !important; }
  html:not([data-hub-theme="light"]) :is(.upload, .note, .notice, .choice-note, .indexbox,
      .policy, .empty, .empty-note, .segmented, .selectbar, .seq, .settings-grid,
      .scope, .connection, .read-only, .ds-item, .ds-tabs, .ds-topic-card,
      .forum-collection-link, .inspector) {
    background: #332d34 !important; color: #d2c5d5 !important; border-color: #6e5467 !important;
  }
  html:not([data-hub-theme="light"]) :is(.upload:hover, .upload strong, .upload b) { color: #f9e8e3 !important; }
  html:not([data-hub-theme="light"]) .upload:hover { background: #3e3342 !important; }
  html:not([data-hub-theme="light"]) :is(.filter.active, .seg.active, .toc a.active,
      .collection-tabs button[aria-selected=true], .ds-topic-card[aria-current=true],
      .ds-result[aria-current=true], .ds-tabs button[aria-selected=true], .workflow-links a[aria-current]) {
    background: #503549 !important; color: #f9e8e3 !important; border-color: #b37781 !important;
  }
  html:not([data-hub-theme="light"]) :is(.tab.active, .toc a.active small) { color: #f9e8e3 !important; }
  html:not([data-hub-theme="light"]) .tab.active { background: transparent !important; border-bottom-color: #f28334 !important; }
  html:not([data-hub-theme="light"]) .ds-result { background: #2d282d !important; }
  html:not([data-hub-theme="light"]) .ds-result:hover { background: #38313d !important; }
  html:not([data-hub-theme="light"]) .ds-topic-state { color: #f9e8e3 !important; }
  html:not([data-hub-theme="light"]) .ds-topic-future .ds-topic-state { color: #c8b7bf !important; }
  html:not([data-hub-theme="light"]) :is(.ds-evidence blockquote, pre, .terminal, .preview,
      .code-block, .terminal pre, pre.terminal, .preview pre, .code-block pre,
      .ds-content pre, #preview) { background: #201d24 !important; color: #eae2df !important; border-color: #615369 !important; }
  html:not([data-hub-theme="light"]) :is(.terminal-bar, .terminal-head, .termbar,
      .terminal > .bar, .code-top) { background: #38313d !important; color: #d1bdcc !important; }
  html:not([data-hub-theme="light"]) :is(.track, .meter, .progress-track, .monitor .progress, .task-progress .bar, .cpu-thread) { background: #4b414e !important; }
  html:not([data-hub-theme="light"]) :is(.pipe, .pipe-step, .stage, .step, .flow-box) { background: #332d34 !important; border-color: #6e5467 !important; }
  html:not([data-hub-theme="light"]) :is(.pipe.done, .pipe-step.done, .stage.done, .step.ready) { background: #263b36 !important; border-color: #557d70 !important; }
  html:not([data-hub-theme="light"]) :is(.pipe.active, .pipe-step.active, .stage.active, .step.running) { background: #492b41 !important; border-color: #ac866a !important; }
  html:not([data-hub-theme="light"]) th { background: #38313d !important; color: #d5c8d9 !important; }
  html:not([data-hub-theme="light"]) tr:hover td { background: #38313d !important; }
  html:not([data-hub-theme="light"]) :is(tr.selected, .file-row[aria-selected=true], .grid-item[aria-selected=true]) { background: #503549 !important; }
  html:not([data-hub-theme="light"]) .file-icon { background: #4b3345 !important; color: #e5d8d2 !important; border-color: #6e5467 !important; }
  html:not([data-hub-theme="light"]) .file-icon.directory { background: transparent !important; color: #e7cbe0 !important; }
  html:not([data-hub-theme="light"]) :is(.danger, .stop, button.remove, .btn.danger, .button.danger,
      .badge.failed, .badge.purged, .ds-pill.failed) { background: #49292e !important; color: #eac9ce !important; border-color: #a0616c !important; }
  html:not([data-hub-theme="light"]) :is(.error, .fail, .dialog-error, .state.failed, .state.stopped) { color: #eac9ce !important; }
  html:not([data-hub-theme="light"]) :is(.warning, .warn, .step.partial, .quality.low,
      .badge.trashed, .badge.stale, .evidence-notice) { background: #43352b !important; color: #dbc1ae !important; border-color: #8c6950 !important; }
  html:not([data-hub-theme="light"]) :is(.state.queued, .state.pausing, .state.stopping) { color: #dbc1ae !important; }
  html:not([data-hub-theme="light"]) :is(.state.running, .state.starting) { color: #dbc2b0 !important; }
  html:not([data-hub-theme="light"]) .state.paused { color: #e6c8df !important; }
  html:not([data-hub-theme="light"]) :is(.state.completed, .good, .ok) { color: #a5dcc7 !important; }
  html:not([data-hub-theme="light"]) :is(.badge.ready, .ds-pill.success, #undoNotice) { background: #263b36 !important; color: #a5dcc7 !important; border-color: #557d70 !important; }
  html:not([data-hub-theme="light"]) :is(.toast, #toast) { background: #4d3a51 !important; color: #fffaf8 !important; border: 1px solid #a881a0; }
  html:not([data-hub-theme="light"]) #hub-account-controls { background: #29242b !important; color: #e1d6e4 !important; border-color: #514752 !important; }
  html:not([data-hub-theme="light"]) #hub-account-controls a { color: #e8cce1 !important; }
  html:not([data-hub-theme="light"]) #hub-account-controls button { background: #503549 !important; color: #f9e8e3 !important; border-color: #8c525c !important; }
  html:not([data-hub-theme="light"]) ::selection { background: #76536d; color: #fffaf8; }
}
@media print {
  html, body { background: #fffaf8 !important; background-image: none !important; color: #30172a !important; }
  .code-block, .code-top, .code-block pre { background: #f9e8e3 !important; color: #48253f !important; }
}

/* Palette anchors. Contrast-safe tints for small text, not dark red on dark surfaces. */
:root { --accent: #981228 !important; --theme-accent: #981228; --theme-indigo: #503549; --theme-aqua: #f28334; --theme-gold: #f28334; }
.card-head h2::before, .section-head h2::before { background: #981228; }
body > header, .shell > header, .topbar, header.top,
html:not([data-hub-theme="light"]) :is(body > header, .shell > header, .topbar, header.top) {
  background: linear-gradient(110deg, #503549, #3e2b38 75%, #503549) !important;
  background-color: #503549 !important;
}
.primary, .button.primary, button[type=submit], .card a[href='/'] {
  background: #981228 !important; color: #f9e8e3 !important; border-color: #981228 !important;
}
.primary:hover:not(:disabled), .button.primary:hover, button[type=submit]:hover,
html:not([data-hub-theme="light"]) :is(.primary:hover:not(:disabled), button[type=submit]:hover) {
  background: #760e1f !important; color: #f9e8e3 !important;
}
.banner, .run-banner, .hero, body .section.hero { background: linear-gradient(110deg, #503549, #981228) !important; }
.fill, .track > i, .track > div, .meter > i, .task-progress .bar > i, .cpu-thread i {
  background: linear-gradient(90deg, #981228, #f28334) !important;
}
html:not([data-hub-theme="light"]) {
  --theme-focus: #f28334; --theme-accent: #f28334; --theme-indigo: #f9e8e3;
  --theme-aqua: #f28334; --theme-gold: #f28334;
}
html:not([data-hub-theme="light"]) :is(.primary, .button.primary, button[type=submit], .card a[href='/']) {
  background: #981228 !important; color: #f9e8e3 !important; border-color: #bd5261 !important;
}
html:not([data-hub-theme="light"]) .card-head h2::before,
html:not([data-hub-theme="light"]) .section-head h2::before { background: #f28334; }

/* Artifact downloads: themed surfaces rather than legacy pale-green chips.
   Explicit foreground/background pairs keep small filenames readable in both modes. */
@media screen {
  html body .artifacts a {
    background: #f9e8e3 !important;
    color: #7a1530 !important;
    border: 1px solid #a46b7e;
    font-weight: 600;
    transition: background-color .15s, border-color .15s;
  }
  html body .artifacts a:hover {
    background: #f3d2d9 !important;
    color: #6f102c !important;
    border-color: #7a1530;
    text-decoration: underline;
    text-underline-offset: 3px;
  }
  html:not([data-hub-theme="light"]) body .artifacts a {
    background: #3b3039 !important;
    color: #f9e8e3 !important;
    border-color: #aa7a8c;
  }
  html:not([data-hub-theme="light"]) body .artifacts a:hover {
    background: #503549 !important;
    color: #fff0e8 !important;
    border-color: #e8a5b0;
  }
  html body .artifacts a:focus-visible {
    outline: 2px solid #981228;
    outline-offset: 3px;
    text-decoration: underline;
    text-underline-offset: 3px;
  }
  html:not([data-hub-theme="light"]) body .artifacts a:focus-visible {
    outline-color: #f28334;
  }
}

/* One authenticated header across workbenches; original page links live in Menu. */
body header.hub-unified-header{display:flex;position:sticky;top:var(--hub-header-offset,0px);z-index:60;height:auto;min-height:68px;max-width:100%;padding:10px 22px;gap:12px;align-items:center;justify-content:space-between;border-bottom:1px solid #f9e8e324;box-shadow:0 4px 18px #00000012!important}
body .hub-unified-header .hub-header-brand{display:block;flex:0 1 auto;min-width:0;max-width:240px;gap:10px;margin:0 8px 0 0;color:#f9e8e3!important;font:800 15px/1.25 system-ui;letter-spacing:0;text-decoration:none}
body .hub-unified-header .hub-header-brand-icon{display:flex;align-items:center}
body .hub-unified-header .hub-header-brand :is(small,.cover-brand-sub){display:block;font:600 9px/1.4 system-ui;letter-spacing:.1em;text-transform:uppercase;color:#e5c6dd!important;margin:3px 0 0}
body .hub-unified-header .hub-header-brand svg{width:30px;height:34px;flex:none}
body .hub-unified-header .hub-header-brand .mark{width:36px;height:36px;flex:none}
body .hub-unified-header #hub-account-controls{display:flex;align-items:center;justify-content:flex-end;flex:1;gap:7px;min-width:0;width:auto;margin:0;padding:0;background:transparent!important;border:0!important}
body .hub-unified-header .hub-account-links{display:flex;gap:3px;align-items:center;min-width:0}
body .hub-unified-header #hub-account-controls a{display:inline-flex;align-items:center;padding:7px 9px;margin:0;border:1px solid transparent;border-radius:8px;font:550 12px/1.3 system-ui;color:#f9e8e3!important;text-decoration:none;white-space:nowrap}
body .hub-unified-header #hub-account-controls a:hover{background:#f9e8e312;border-color:#f9e8e329}
body .hub-unified-header #hub-account-controls button{display:inline-flex;align-items:center;gap:9px;min-height:34px;max-width:220px;padding:7px 12px;border:1px solid #c56f7f;border-radius:9px;background:#981228!important;color:#f9e8e3!important;font:650 12px/1.3 system-ui;white-space:nowrap;cursor:pointer;flex-shrink:0}
body .hub-unified-header .hub-account-name{overflow:hidden;text-overflow:ellipsis;max-width:140px}
body .hub-unified-header .hub-signout-label{font-weight:500;padding-left:9px;border-left:1px solid #f9e8e355}
body .hub-unified-header .hub-account-menu{display:none;position:relative;flex:none;margin:0;padding:0;border:0}
body .hub-unified-header .hub-account-menu:is(.has-page-links,.has-context){display:block}
body .hub-unified-header .hub-account-menu>summary{list-style:none;cursor:pointer;padding:7px 10px;border:1px solid #f9e8e340;border-radius:8px;color:#f9e8e3;font:600 12px/1.3 system-ui;white-space:nowrap}
body .hub-unified-header .hub-account-menu>summary::-webkit-details-marker{display:none}
body .hub-unified-header .hub-account-menu>summary::after{content:'⌄';margin-left:8px}
body .hub-unified-header .hub-account-menu>nav{position:absolute;right:0;top:calc(100% + 9px);width:270px;max-width:calc(100vw - 28px);max-height:65vh;overflow:auto;display:grid;gap:3px;padding:7px;margin:0;background:var(--card);border:1px solid var(--line);border-radius:12px;box-shadow:0 12px 32px #0004;z-index:70}
body .hub-unified-header #hub-account-controls .hub-account-menu a{display:block;color:var(--ink)!important;white-space:normal;padding:10px 12px}
body .hub-unified-header .hub-header-page-links{display:grid;border-top:1px solid var(--line);padding-top:7px;margin-top:5px}
body .hub-unified-header .hub-menu-label{color:var(--muted);font:700 10px/1.4 system-ui;text-transform:uppercase;letter-spacing:.1em;padding:5px 12px}
body .hub-unified-header .hub-header-tools{display:flex;align-items:center;gap:8px;flex:none;margin:0}
body .hub-unified-header #hub-theme-toggle{flex:none;min-height:34px!important;font-size:12px!important;padding:7px 10px!important;white-space:nowrap}
body .hub-unified-header [data-hub-help]{flex:none;margin-left:0!important;white-space:nowrap}
body .hub-unified-header>.hub-header-context{max-width:180px;min-width:0;flex:0 1 auto;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:11px;color:#e5c6dd}
body .hub-unified-header>.hub-header-context :is(.sys,.system,.system-pill,.live){font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:180px}
body .hub-unified-header .hub-account-menu .hub-header-context{padding:10px 12px;border-bottom:1px solid var(--line);margin-bottom:4px;color:var(--muted);font-size:12px;overflow-wrap:anywhere}
body .hub-unified-header .hub-account-menu .hub-header-context>*{max-width:100%;white-space:normal;font-size:12px}
@media(min-width:1051px){body .hub-unified-header .hub-header-methods{display:none}}
@media(max-width:1250px){body .hub-unified-header .hub-account-links{display:none}body .hub-unified-header .hub-account-menu{display:block}}
@media(max-width:650px){
 body header.hub-unified-header{display:grid;grid-template-columns:minmax(0,1fr) auto;padding:10px 13px;gap:8px}
 body .hub-unified-header .hub-header-brand{grid-area:1/1;margin-right:auto;max-width:100%;font-size:14px}
 body .hub-unified-header .hub-header-brand :is(small,.cover-brand-sub){display:none}
 body .hub-unified-header .hub-header-brand .mark{width:30px;height:30px;font-size:17px}
 body .hub-unified-header .hub-header-methods{grid-area:1/2;display:block;margin:0 0 0 auto}
 body .hub-unified-header #hub-account-controls{grid-area:2/1;justify-content:flex-start;margin:0;gap:6px}
 body .hub-unified-header .hub-header-tools{grid-area:2/2;gap:6px}
 body .hub-unified-header #hub-account-controls button{max-width:160px;padding:7px 9px;font-size:11px}
 body .hub-unified-header .hub-account-name{display:none}body .hub-unified-header .hub-signout-label{padding-left:0;border:0}
 body .hub-unified-header .hub-account-menu>nav{position:fixed;left:13px;right:auto;top:calc(var(--hub-header-offset,0px) + var(--hub-header-height,68px) + 7px);width:270px}
 body .hub-unified-header #hub-theme-toggle{font-size:11px!important;padding:6px 8px!important}
 body .hub-unified-header [data-hub-help]{font-size:11px!important;padding:6px 8px!important}
}
/* Sparkle Folded S · shared DEV/tourist identity, chosen 30 October 2026. */
.sparkle-brand-mark{display:block;flex:0 0 auto;width:28px;height:40px;fill:none;stroke:none;overflow:visible}
.sparkle-brand-mark path{stroke:none!important}
.sparkle-brand-lockup{display:inline-flex!important;align-items:center;gap:11px}
.sparkle-brand-text{display:block;min-width:0}
html[data-hub-theme] body :is(.mark,.icon).sparkle-mark-shell{display:inline-flex!important;align-items:center;justify-content:center;background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important}
.sparkle-mark-shell .sparkle-brand-mark{width:26px;height:36px}
.cover-brand>.sparkle-brand-mark{width:31px!important;height:44px!important;fill:none;stroke:none}
.cover-footer .sparkle-brand-mark{width:22px!important;height:31px!important}
header .brand:has(.sparkle-brand-mark){gap:11px}
header.top b.sparkle-brand-lockup{font:750 20px/1.2 system-ui,sans-serif}

.hub-live-md-link{display:inline-flex!important;align-items:center;justify-content:center;flex:none;padding:7px 10px;border:1px solid var(--line);border-radius:8px;color:var(--ink)!important;text-decoration:none;font:650 12px system-ui;white-space:nowrap}.hub-live-md-link:hover,.hub-live-md-link[aria-current=page]{border-color:var(--theme-accent);background:color-mix(in srgb,var(--theme-accent) 12%,var(--card))}

/* Light-mode reading contrast. Keep all surfaces and dark-mode rules intact;
   burgundy/plum remain accents, not low-contrast body/navigation text. */
html[data-hub-theme="light"] {
  --ink: #291f28 !important;
  --muted: #514451 !important;
}
html[data-hub-theme="light"] :is(.hub-method-group summary,
    .hub-method-group summary::before, .hub-method-link, .hub-aside-head) {
  color: #382b37 !important;
}
html[data-hub-theme="light"] :is(.hub-group-count, .hub-resource-note,
    .hub-recent-title, .sidebar-recent, .history-meta) { color: #514451 !important; }
html[data-hub-theme="light"] .hub-method-link { font-weight: 550; }
html[data-hub-theme="light"] :is(.hub-shortcuts a, .hub-nav-toggle, .hub-aside-close) {
  color: #382b37 !important;
}
html[data-hub-theme="light"] :is(.hub-method-link.active,
    .hub-shortcuts a[aria-current="page"]) { color: #291f28 !important; font-weight: 750; }
html[data-hub-theme="light"] :is(.hint, .muted, .mini, .meta, .footer-note,
    .file-note, .search-note, .source, .security, .intro p, .card > p):not(:is(.banner, .run-banner, .hero, header, .terminal, .preview, .code-block) *) {
  color: #514451 !important;
}
html[data-hub-theme="light"] :is(input, textarea)::placeholder { color: #5b4b59 !important; opacity: 1; }
html[data-hub-theme="light"] th { color: #43313f !important; }
html[data-hub-theme="light"] :is(.eyebrow, .side-label, .label, .list-head,
    .section-title, .section-heading, .detail-section h3):not(:is(.banner, .run-banner, .hero, header) *) {
  color: #43313f !important;
}
html[data-hub-theme="light"] :is(.toc a:not(.active), .toc .group, .toc a:not(.active) small) {
  color: #43313f !important;
}
html[data-hub-theme="light"] :is(.strategy-kicker, .strategy-intro .strategy-kicker,
    .strategy-flow b, .strategy-seal > span, .strategy-paper a) { color: #83162d !important; }
html[data-hub-theme="light"] .strategy-toc a { color: #382b37 !important; font-weight: 550; }
html[data-hub-theme="light"] .strategy-toc a[data-level="2"],
html[data-hub-theme="light"] .strategy-toc a.active { color: #291f28 !important; font-weight: 750; }
html[data-hub-theme="light"] :is(.strategy-source-ref, .strategy-reading-head,
    .strategy-table-toolbar span, .strategy-figure figcaption) { color: #514451 !important; }
html[data-hub-theme="light"] .strategy-table-toolbar span { color: #382b37 !important; }
html[data-hub-theme="light"] .strategy-intro .strategy-kicker { color: #651025 !important; }
html[data-hub-theme="light"] #manual-updates-body :is(.sparkle-release-eyebrow,
    .sparkle-release-entry time, .sparkle-release-tag) { color: #83162d !important; }
html[data-hub-theme="light"] header .hub-live-md-link { color: #f9e8e3 !important; }
