/* Layout and handlers stay shared with night.css; only the palette changes. */
.site-theme-switch{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;min-width:44px;min-height:44px;padding:6px;border:1px solid var(--line);border-radius:50%;background:var(--surface-raised);color:var(--text);font-size:19px;cursor:pointer}
html[data-theme="light"]{color-scheme:light;--brand:#52694d;--brand-dark:#40573f;--brand-glow:#c7c9ae;--accent:#985b6b;--surface:#f4efe4;--surface-raised:#faf7f0;--surface-header:rgba(250,247,240,.96);--text:#333631;--text-muted:#68655e;--text-on-brand:#333631;--text-muted-on-brand:#68655e;--rule-rgb:73,77,62;--brand-gradient:linear-gradient(120deg,#e4e7d8,#f2e3e0);--cyan:#466953;--line:#c7c5b5}
html[data-theme="light"] body{background:radial-gradient(ellipse at 85% 0%,#eee1dc,transparent 42rem),var(--surface)}
html[data-theme="light"] ::selection{background:#d8b7bf;color:#282f27}
html[data-theme="light"] :is(.nav-links a,.cabinet-link,.feed-author,.field-label,.upload-choice strong,.genre-label,.glass-front .manuscript-text){color:var(--text)}
html[data-theme="light"] :is(.brand-lockup small,.hero-kicker span:last-child,.hero-description,.glass-label,.glass-front .manuscript-author,.art-caption,.genre-label small,.genre-pill,.editorial-heading>span,.editorial-heading>a,.feed-date,.feed-text,.feed-counters,.upload-choice small,.upload-clear,.song-player-label,.footer-links h4,.footer-links a,.footer-links span,.footer-bottom,.text-link,.quote-toggle){color:var(--text-muted)}
html[data-theme="light"] :is(.nav-panel,.filter-bar,.genre-strip,.section-alt,.auth-shell,.profile-hero,body>footer){background:var(--surface);border-color:var(--line)}
html[data-theme="light"] :is(.feed-item .feed-card,.auth-card,.stat-card,.rights-panel,.work-row,.author-card,.work-body,.empty-state,.song-player,.principle-grid article){background:var(--surface-raised);border-color:var(--line);box-shadow:0 8px 24px #55473508}
html[data-theme="light"] :is(.cabinet-note,.cta-band,.upload-box,.glass-front){background:linear-gradient(125deg,#e3e8d9,#f2e2e3);border-color:#b6b7a1;box-shadow:0 12px 30px #72625212}
html[data-theme="light"] .glass-back{background:#e7d6dc;border-color:#b89aa7;box-shadow:none}
html[data-theme="light"] :is(.orbit,.orbit-two){border-color:#a9b59d}
html[data-theme="light"] :is(.glass-label,.glass-front .manuscript-author,.journey-grid article,.night-section,.genre-strip,header){border-color:var(--line)}
html[data-theme="light"] :is(.btn-primary,.nav-cta,.consent-check){background:var(--brand);border-color:var(--brand);color:#fff;box-shadow:none}
html[data-theme="light"] :is(.btn-primary,.nav-cta):hover{background:var(--brand-dark);color:#fff}
html[data-theme="light"] :is(.btn-outline,.btn-ghost,.profile-actions .btn-ghost,.work-like){color:var(--brand-dark);border-color:var(--line)}
html[data-theme="light"] :is(.btn-outline,.btn-ghost,.pub-row):hover{background:#e3e8d9;color:var(--brand-dark)}
html[data-theme="light"] :is(.field-input,.author-search input){background:#fffdf8;color:var(--text);border-color:#a8ae9b}
html[data-theme="light"] :is(.field-input,.author-search input)::placeholder{color:#747268}
html[data-theme="light"] :is(.filter-bar .filter-pill:not(.active),.status-draft){color:var(--text-muted)}
html[data-theme="light"] :is(.filter-pill.active,.author-card-top .author-place,.page-link.current,.sort-option.current,.consent-card){background:#e2e8d6;color:#40573f;border-color:#a5b294}
html[data-theme="light"] .status-published{background:#e2ebd9;color:#40573f;border-color:#a5b294}
html[data-theme="light"] .status-review{background:#f0e3e5;color:#754557;border-color:#bfa0ac}
html[data-theme="light"] :is(.status-rejected,.field-error){color:#9c2945;border-color:#c294a0}
html[data-theme="light"] .upload-symbol{background:#eedee1;color:#754557;border-color:#bfa0ac}
html[data-theme="light"] audio{color-scheme:light}
html[data-theme="light"] .manuscript-dots button{background:#b59ca6}
html[data-theme="light"] .manuscript-dots button[aria-pressed=true]{background:var(--brand);box-shadow:none}
@media(max-width:420px){.nav{padding-inline:12px;gap:8px}.header-actions{gap:7px}.brand-lockup{gap:7px}.brand-lockup span{padding-left:7px}.brand-lockup small{max-width:100px;font-size:6px}.brand-lockup b{font-size:9px}.brand-lockup img{width:30px;height:30px}}
html[data-theme="light"] footer .brand-lockup{color:var(--text)}
html[data-theme="light"] .hero-kicker i{background:var(--line)}
