:root { color-scheme: light; }
.album-controls { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; margin: -8px 0 26px; }
.album-controls label { display: grid; gap: 5px; color: var(--muted); font-size: 12px; }
.album-controls select { min-height: 43px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 6px; background: var(--white); color: var(--ink); }
.album-controls .button { min-height: 43px; }
.album-date { display: flex; align-items: center; gap: 5px; margin-top: 5px; color: var(--green); }
.album-date svg { width: 14px; height: 14px; }
#theme-toggle .theme-sun { display: none; }
[data-theme="dark"] { color-scheme: dark; --paper: #171b19; --ink: #edf1ed; --muted: #b0bdb4; --line: #424e46; --green: #8dd9b4; --green-light: #283d32; --coral: #ffad96; --white: #222924; }
[data-theme="dark"] #theme-toggle .theme-sun { display: block; }
[data-theme="dark"] #theme-toggle .theme-moon { display: none; }
[data-theme="dark"] .header,
[data-theme="dark"] .asset-card,
[data-theme="dark"] .badge,
[data-theme="dark"] dialog,
[data-theme="dark"] .button { background: var(--white); color: var(--ink); }
[data-theme="dark"] input:not([type=checkbox]):not([type=file]):not([type=hidden]),
[data-theme="dark"] select,
[data-theme="dark"] textarea { background: var(--white); border-color: var(--line); color: var(--ink); }
[data-theme="dark"] input::placeholder,
[data-theme="dark"] textarea::placeholder { color: var(--muted); opacity: 1; }
[data-theme="dark"] .button.primary,
[data-theme="dark"] .brand-mark { background: var(--green); color: #13251b; border-color: var(--green); }
[data-theme="dark"] .button:hover { background: var(--green-light); }
[data-theme="dark"] .button.primary:hover { background: #abe9c9; }
[data-theme="dark"] .asset-preview { background: #2c3530; }
[data-theme="dark"] .notice.warning { background: #392c22; color: #ffe2ca; }
[data-theme="dark"] .errorlist { background: #402825; color: #ffb7aa !important; }
[data-theme="dark"] .user-state { color: #ffc396; }
[data-theme="dark"] .user-state.approved { color: var(--green); }
[data-theme="dark"] .zip-job[data-state=failed] .zip-state { color: #ffb7aa; }
[data-theme="dark"] .empty-state { background: repeating-linear-gradient(0deg, transparent, transparent 31px, #b0bdb409 32px); }
@media (max-width: 650px) {
  .header { column-gap: 8px; }
  .header nav { flex-wrap: wrap; gap: 10px 18px; }
  .header nav .nav-link { white-space: nowrap; }
  .header .account { gap: 3px; }
  .header .account-name { max-width: 70px; }
  .header > #theme-toggle { margin-left: auto; }
  .header .account + #theme-toggle { margin-left: 0; }
}
[data-theme="dark"] .danger-zone { border-top-color: #6b3b36; }
[data-theme="dark"] .danger-zone h2 { color: #ff9c8f; }
