/* Shared dark palette. Screen only: exports and printed sheets keep their light artwork. */
@media screen {
html[data-theme=dark]{color-scheme:dark;--u-paper:#090b0e;--u-glass:#171b20f2;--u-ink:#f5f7fa;--u-border:#4d555f;--u-muted:#c7ced7;--ink:#f5f7fa;--cream:#101318;--line:#4d555f}
html[data-theme=dark] body.oomi-family{--family-paper:#090b0e;--family-glass:#171b20f2;--family-ink:#f5f7fa;--family-line:#4d555f}
html[data-theme=dark] body:is(.oomi-family.oomi-family,.universe-app.universe-app){background:radial-gradient(ellipse at 8% 0%,#ffffff0e,transparent 45%),radial-gradient(ellipse at 92% 30%,#a9ce2010,transparent 50%),linear-gradient(135deg,#06080a,#15191e 48%,#080a0d)!important;color:#f5f7fa!important}
html[data-theme=dark] body:is(.oomi-family,.universe-app) :is(dialog,.dialog-head,#composeForm,#composeForm .form-actions,.profile-step,.help,.help button,.reply,.message,.thread,.network-reasons,.need-checks label,.metric,.tech-card,.tag,.day,.shift,.high,.deleted-note){background:#1b2027!important;color:#f5f7fa!important;border-color:#515b66!important}
html[data-theme=dark] body:is(.oomi-family,.universe-app) :is(label,legend,.hero small,h1,h2,h3,h4,summary,.metric b,.tech-specs small,.note,.hint,.reply small,.message small,.thread small){color:#f5f7fa!important}
html[data-theme=dark] body:is(.oomi-family,.universe-app) :is(input,select,textarea){background:#101419!important;color:#ffffff!important;border-color:#697583!important;caret-color:#ffffff}
html[data-theme=dark] body:is(.oomi-family,.universe-app) :is(input,textarea)::placeholder{color:#bdc6d1!important;opacity:1}
html[data-theme=dark] body:is(.oomi-family,.universe-app) :is(.outline,.chip,.button,button:not(.primary):not(.u-primary):not([aria-pressed=true])){background-color:#202730!important;color:#f5f7fa!important;border-color:#697583!important}
html[data-theme=dark] body:is(.oomi-family,.universe-app) :is(.primary,.u-primary){background:#e8f780!important;color:#111800!important;border-color:#e8f780!important}
html[data-theme=dark] body:is(.oomi-family,.universe-app) :is(td,th){background:#171c22!important;color:#f5f7fa!important;border-color:#515b66!important}
html[data-theme=dark] body:is(.oomi-family,.universe-app) th{background:#303b28!important}
html[data-theme=dark] body:is(.oomi-family,.universe-app) :is(.note,.hint,.tech-specs small,.reply small,.message small,.thread small){color:#c7ced7!important}
html[data-theme=dark] body:is(.oomi-family,.universe-app) :is(.error,#modalError,#item-error,[role=alert]){color:#ffb8ab!important}
html[data-theme=dark] body:is(.oomi-family,.universe-app) .dialog-head{border-bottom:1px solid #515b66}
html[data-theme=dark] body:is(.oomi-family,.universe-app) :is(.family-nav,.u-header,.family-franchise-intro,.hero,.card,.u-universe-hero){box-shadow:inset 0 1px 0 #ffffff18,0 12px 36px #0005}
}
