:root{--surface:#fff}
html[data-theme=dark]{color-scheme:dark;--surface:#191919;--ink:#eee;--muted:#949494;--ink2:#d0d0d0;--ink3:#aaa;--line:#303030;--line2:#2b2b2b;--soft:#252525;--soft-h:#303030;--panel:#202020;--stack-bg:#151619;--tt-bg:#292929;--tt-fg:#eee;--matrix-base:#444;--matrix-active:#eee;--ok-bg:#1e352b;--ok-fg:#8ad7ae;--warn-bg:#3c2a22;--warn-fg:#edb597;--m-bg:#3b2a22;--m-fg:#ebb294;--d-bg:#382323;--d-fg:#f0a1a1}
html[data-theme=dark] body,html[data-theme=dark] .view{background:var(--surface)}
html[data-theme=dark] :is(.btn.dark,.chip[aria-pressed=true],.luma-btn[aria-pressed=true]){color:var(--surface)}
html[data-theme=dark] :is(.map,.stack-win,.win-head,.tree-cols,.pv-lines,.transport,.t-dropdown,.seg-ind,.url,.palette,.sheet,.search:focus-within,input:focus,select:focus,textarea:focus){background:var(--surface)}
html[data-theme=dark] :is(input,select,textarea){border-color:var(--line)}
html[data-theme=dark] .cs-page select{background:var(--surface)}
html[data-theme=dark] :is(.rt-document,.rt-document-text){background:var(--surface);color:var(--ink)}
html[data-theme=dark] .t-toggle-thumb{background:var(--surface)}
html[data-theme=dark] .t-toggle[data-on=false] .t-toggle-thumb{background:#aaa}
html[data-theme=dark] :is(.stage-ghost,.browse-pending){background:var(--panel)}
html[data-theme=dark] :is(.orbit-center,.orbit-card,.nt-frame,.tl-node,.tl-item[aria-current=true]){background:var(--surface);border-color:var(--line)}
html[data-theme=dark] :is(.nt-folders,.seg,.lead-icon,.palette-row[aria-selected=true],.tree-dir:hover,.tree-file[aria-selected=false]:hover){background:var(--soft)}
html[data-theme=dark] .orbit-card{box-shadow:0 10px 30px -20px #000}
html[data-theme=dark] .rt-document :is(pre,code){background:var(--soft);border-color:var(--line);color:var(--ink2)}
html[data-theme=dark] .rt-document :is(blockquote,summary){color:var(--muted)}
html[data-theme=dark] .rt-document a{color:#a6b5ff}
html[data-density=compact] :is(.record,.act-row){padding-top:10px;padding-bottom:10px}
html[data-density=compact] .cs-session-row{padding:9px 10px;gap:4px;contain-intrinsic-block-size:auto 78px}
html[data-density=compact] .cs-event{padding:9px 0}
html[data-density=compact] .folder-row{min-height:54px}
html[data-motion=false] *,html[data-motion=false] *::before,html[data-motion=false] *::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:0s!important;scroll-behavior:auto!important}
