/* Chimera identity. Calendar colors and isolated event descriptions are separate. */
:root{--brand:#0b6b80;--ink:#172f46;--muted:#536779;--paper:#f5f8fb;--panel:#fff;--line:#d4e0e8;--soft:#eaf4f7;--link:#08677d;--focus:#a34d0d;--brand-chrome:#fafdff;--brand-selected:#dceff3;--brand-selected-ink:#07566a;--brand-border:#7a939f;--brand-input:#fff;--brand-gold:#ffad38}
html[data-theme=dark]{--ink:#e4eef5;--muted:#afc2d0;--paper:#0e1c2b;--panel:#162a3d;--line:#3f596d;--soft:#1c374d;--link:#83dfdf;--focus:#ffbf66;--brand-chrome:#112234;--brand-selected:#204859;--brand-selected-ink:#a2f0ec;--brand-border:#7693a8;--brand-input:#102337}
a,html[data-theme=dark] a{color:var(--link)}
:focus-visible,html[data-theme=dark] :focus-visible{outline-color:var(--focus)}
.brand,html[data-theme=dark] .brand{color:var(--ink);gap:10px;min-width:0}
.brand>span{min-width:0;overflow-wrap:anywhere}
.brand .brand-mark{display:block;flex:none;object-fit:contain;background:#f5f8fb;border:1px solid #d4e0e8;border-radius:12px;padding:3px}
.guest-brand{font-size:clamp(1.125rem,2vw,1.5rem);gap:16px}
.guest-brand .brand-mark{border-radius:17px;padding:5px}
.sidebar,.topbar,html[data-theme=dark] .sidebar,html[data-theme=dark] .topbar{background:var(--brand-chrome);color:var(--muted)}
.sidebar{border-top:3px solid var(--brand-gold);padding-top:27px}
.sidebar nav{margin-top:30px}
.sidebar nav>a,html[data-theme=dark] .sidebar nav>a{color:var(--muted)}
.sidebar nav>a:hover,html[data-theme=dark] .sidebar nav>a:hover{background:var(--soft)}
.sidebar nav>a[aria-current],html[data-theme=dark] .sidebar nav>a[aria-current]{background:var(--brand-selected);color:var(--brand-selected-ink);box-shadow:inset 3px 0 0 var(--link)}
.nav-label,.step,.eyebrow,.side-link,.public-footer,.overview-strip svg,.big-number,html[data-theme=dark] .nav-label,html[data-theme=dark] .step,html[data-theme=dark] .eyebrow,html[data-theme=dark] .side-link,html[data-theme=dark] .public-footer,html[data-theme=dark] .overview-strip svg,html[data-theme=dark] .big-number{color:var(--muted)}
.button{color:#fff}
.button.secondary,html[data-theme=dark] .button.secondary{background:var(--panel);color:var(--ink);border-color:var(--brand-border)}
.button.quiet,html[data-theme=dark] .button.quiet{background:transparent;color:var(--link)}
.field>label,.event-title,.release-notes,html[data-theme=dark] .field>label,html[data-theme=dark] .event-title,html[data-theme=dark] .release-notes{color:var(--ink)}
input:not([type=checkbox]):not([type=radio]),textarea,select,html[data-theme=dark] input:not([type=checkbox]):not([type=radio]),html[data-theme=dark] textarea,html[data-theme=dark] select{background:var(--brand-input);color:var(--ink);border-color:var(--brand-border)}
input::placeholder,textarea::placeholder,html[data-theme=dark] input::placeholder,html[data-theme=dark] textarea::placeholder{color:var(--muted)}
input[readonly],textarea[readonly],html[data-theme=dark] input[readonly],html[data-theme=dark] textarea[readonly]{background:var(--soft);color:var(--muted)}
input[type=checkbox],input[type=radio]{accent-color:var(--brand)}
html[data-theme=dark] input[type=checkbox],html[data-theme=dark] input[type=radio]{accent-color:#67cfd1}
.chip-check,.repeat-box,.publish-panel,.image-upload,.event-facts,.guide-toc,.guide-content .tip,.empty-symbol,html[data-theme=dark] .chip-check,html[data-theme=dark] .repeat-box,html[data-theme=dark] .publish-panel,html[data-theme=dark] .image-upload,html[data-theme=dark] .event-facts,html[data-theme=dark] .guide-toc,html[data-theme=dark] .guide-content .tip,html[data-theme=dark] .empty-symbol{background:var(--soft);border-color:var(--line)}
.empty-symbol,html[data-theme=dark] .empty-symbol{color:var(--link)}
.chip-check:has(input:checked),html[data-theme=dark] .chip-check:has(input:checked){background:var(--brand-selected);border-color:var(--brand-border)}
th,html[data-theme=dark] th{background:var(--soft);color:var(--ink);border-color:var(--line)}
td,.approval-setting,html[data-theme=dark] td,html[data-theme=dark] .approval-setting{border-color:var(--line)}
.guest-wrap,html[data-theme=dark] .guest-wrap{background:var(--paper)}
.login-panel{border-top:3px solid var(--brand-gold)}
code,pre,.checks li,html[data-theme=dark] code,html[data-theme=dark] pre,html[data-theme=dark] .checks li{background:var(--soft);color:var(--ink);border-color:var(--line)}
.public-body,html[data-theme=dark] .public-body{background:var(--paper)}
.public-header{border-color:var(--line)}
.featured-badge,html[data-theme=dark] .featured-badge{background:var(--soft);color:var(--ink)}
@media print{:root,html[data-theme=dark]{--ink:#000;--muted:#333;--paper:#fff;--panel:#fff;--line:#bbb;--soft:#fff;--link:#000}.guest-wrap,.public-body{background:#fff!important}}
