:root{color-scheme:light;--surface:#faf9f4;--accent:#937953}
:root[data-theme="dark"]{color-scheme:dark;--paper:#141513;--ink:#eee9de;--muted:#a9a99c;--bronze:#c2a579;--line:#35372f;--white:#1c1e19;--surface:#1c1e19;--accent:#d0b68a}
body{transition:background-color .25s,color .25s}
.header-actions{display:flex;align-items:center;gap:16px}
.theme-toggle{border:1px solid var(--line);border-radius:30px;padding:9px 13px;display:flex;align-items:center;gap:7px;font-size:10px;white-space:nowrap}
.theme-toggle svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.4}
.theme-toggle:hover{border-color:var(--bronze);color:var(--bronze)}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--bronze)}
[data-theme="dark"] body{background:radial-gradient(ellipse at 10% 12%,#4942351c,transparent 42%),var(--paper)}
[data-theme="dark"] .announcement{background:#0b0d0b;color:#d8d0bd;border-bottom:1px solid #b6975d2e}
[data-theme="dark"] .announcement span{color:#9e9f90}
[data-theme="dark"] .brand svg{stroke:var(--bronze)}
[data-theme="dark"] header{border-color:#b69c6a33}
[data-theme="dark"] nav button.active:after{box-shadow:0 0 12px #c2a57944}
[data-theme="dark"] .member{background:#25291f;border-color:#515440;color:#d4bc91}
[data-theme="dark"] h1 em,[data-theme="dark"] h2 em{color:#c3ad86}
[data-theme="dark"] .primary{background:linear-gradient(110deg,#d2bb91,#b89b6b);color:#191b15;border-color:#cbb080}
[data-theme="dark"] .primary:hover{background:#dfcba7}
[data-theme="dark"] .hero-image{background:#25271f;border:1px solid #b69c6a2e;box-shadow:0 22px 65px #0004}
[data-theme="dark"] .hero-image>img{filter:grayscale(.85) sepia(.3) brightness(.65);object-position:50% 58%}
[data-theme="dark"] .image-shade{background:linear-gradient(0deg,#10150eea,transparent 85%)}
[data-theme="dark"] .image-label{color:#ddd4bd}
[data-theme="dark"] .hero-caption>span:nth-child(2){color:#f1e9d8}
[data-theme="dark"] .hero-caption .eyebrow{color:#d2bd94}
[data-theme="dark"] .principles{background:#ffffff02}
[data-theme="dark"] .filter-bar{background:var(--surface);border-color:#464639}
[data-theme="dark"] select,[data-theme="dark"] input{background-color:var(--surface)}
[data-theme="dark"] .filter-bar select{background:transparent}
[data-theme="dark"] .filter-bar label{border-color:#414436}
[data-theme="dark"] .card-image{background:#262b21;border:1px solid #353b2e}
[data-theme="dark"] .card-image img{filter:saturate(.5) brightness(.8)}
[data-theme="dark"] .thumbnail-fallback{background:linear-gradient(125deg,#10170bc7,#151b0e44),url('studio.jpg') center 60%/cover}
[data-theme="dark"] .save-video{background:#1b211cd9;border:1px solid #b9ab864d;color:#e3d3b1}
[data-theme="dark"] .save-video.saved{background:#c4a979;color:#151910}
[data-theme="dark"] .intensity i{background:#424939}
[data-theme="dark"] .intensity i.on{background:#bfa574}
[data-theme="dark"] .builder-banner{background:radial-gradient(ellipse at 85% 40%,#3e4830,#20291d 65%);border:1px solid #5d6144;color:#eee9de;box-shadow:0 20px 65px #0002}
[data-theme="dark"] .builder-banner h2 em{color:#c5b188}
[data-theme="dark"] .cream{background:#e6ddc9;color:#20261a}
[data-theme="dark"] .outline{border-color:#585c49}
[data-theme="dark"] .panel{background:var(--surface)}
[data-theme="dark"] .session-summary{background:radial-gradient(ellipse at top right,#3a4230,#242c1e);border:1px solid #65674b;color:#eee9de}
[data-theme="dark"] .session-summary>p{color:#c7b38a}
[data-theme="dark"] .session-summary .total-time{color:#e7d8b7}
[data-theme="dark"] .empty{border-color:#4b513f}
[data-theme="dark"] .session-summary .light{color:#ece5d7}
[data-theme="dark"] .dialog-top .close{color:#e4dcc8}
[data-theme="dark"] dialog{box-shadow:0 25px 100px #0008}
[data-theme="dark"] dialog::backdrop{background:#060905c9}
[data-theme="dark"] #toast{background:#dfceac;color:#1a2015}
[data-theme="dark"] progress{accent-color:#c7ad7a}
[data-theme="dark"] #form-error{color:#e6a48b}
[data-theme="dark"] .sort-label select{background:transparent}
@media(max-width:1000px){header{gap:20px}nav{gap:23px}.header-actions{gap:10px}.theme-toggle{padding:8px 10px}}
@media(max-width:700px){.header-actions{margin-left:auto;gap:9px}.header-actions .member{margin-left:0}.theme-toggle{font-size:9px;padding:7px 10px}.theme-toggle svg{width:12px;height:12px}.brand{gap:8px}.brand>span{font-size:12px;letter-spacing:1.8px}.brand small{letter-spacing:1.5px}.hero h1{font-size:66px}.banner-art svg{margin-right:-25px;width:140px}}
@media(prefers-reduced-motion:reduce){body{transition:none}}
