/* LifeDashPro Web user-selectable themes. Core layout remains unchanged. */
html[data-theme="dark"]{color-scheme:dark}
html[data-theme="ocean"]{color-scheme:dark;--bg:#03141f;--bg2:#062333;--panel:#09293a;--panel2:#0c3449;--line:#1d5269;--text:#f1fbff;--muted:#9bc4d2;--brand:#008ecf;--purple:#5570ff;--cyan:#20dcff;--green:#45dda2;--gold:#ffd166;--red:#ff7b92}
html[data-theme="violet"]{color-scheme:dark;--bg:#12091f;--bg2:#1b0d30;--panel:#21113a;--panel2:#2c174a;--line:#553775;--text:#fbf6ff;--muted:#c2acd3;--brand:#8157ff;--purple:#bd4cff;--cyan:#5ccfff;--green:#64d8ad;--gold:#ffd17d;--red:#ff7f9f}
html[data-theme="light"]{color-scheme:light;--bg:#f5f7fb;--bg2:#eef2f8;--panel:#ffffff;--panel2:#f8faff;--line:#d9e1ec;--text:#152033;--muted:#66768c;--brand:#2563eb;--purple:#6a38f5;--cyan:#008fba;--green:#16865d;--gold:#a76a00;--red:#c83f58;--shadow:0 20px 55px rgba(27,45,72,.12)}
html[data-theme="light"] body{background:radial-gradient(circle at 80% 0,rgba(106,56,245,.08),transparent 30%),var(--bg);color:var(--text)}
html[data-theme="light"] .sidebar{background:#fff;border-color:var(--line)}
html[data-theme="light"] .topbar{background:rgba(245,247,251,.9);border-color:var(--line)}
html[data-theme="light"] .auth-card,html[data-theme="light"] .card,html[data-theme="light"] .settings-card{background:linear-gradient(160deg,#fff,#f7f9fd);border-color:var(--line)}
html[data-theme="light"] .auth-tabs,html[data-theme="light"] .auth-form input,html[data-theme="light"] .auth-form select,html[data-theme="light"] .field,html[data-theme="light"] .modal-form input,html[data-theme="light"] .modal-form select,html[data-theme="light"] .modal-form textarea{background:#f5f7fb;color:var(--text);border-color:var(--line)}
html[data-theme="light"] .auth-tabs button.active{background:#e5ebf5;color:var(--text)}
html[data-theme="light"] .side-nav button{color:#596b82}
html[data-theme="light"] .side-nav button:hover,html[data-theme="light"] .side-nav button.active{color:#17345f;background:#eaf1ff;border-color:#c8d8f3}
html[data-theme="light"] .quiet,html[data-theme="light"] .icon-btn,html[data-theme="light"] .mini-btn{background:#edf2f8;color:#2a3b53;border-color:var(--line)}
html[data-theme="light"] .list-item,html[data-theme="light"] .stat,html[data-theme="light"] .quick-card,html[data-theme="light"] .station{background:#f5f7fb}
html[data-theme="light"] .modal-card{background:#fff;border-color:#d2dce9}
html[data-theme="light"] .modal-head{background:rgba(255,255,255,.97);border-color:var(--line)}
html[data-theme="light"] .mobile-nav{background:rgba(255,255,255,.96);border-color:var(--line)}
html[data-theme="light"] .mobile-nav button{color:#65778d}
html[data-theme="light"] .mobile-nav button.active{color:#153663;background:#eaf1ff}
html[data-theme="light"] .audio-dock{background:rgba(255,255,255,.97);border-color:#ccd9ea}
html[data-theme="ocean"] body{background:radial-gradient(circle at 80% 0,rgba(32,220,255,.12),transparent 32%),var(--bg)}
html[data-theme="ocean"] .sidebar{background:#041a28}html[data-theme="ocean"] .topbar{background:rgba(3,20,31,.88)}
html[data-theme="violet"] body{background:radial-gradient(circle at 82% 0,rgba(189,76,255,.14),transparent 32%),var(--bg)}
html[data-theme="violet"] .sidebar{background:#150a25}html[data-theme="violet"] .topbar{background:rgba(18,9,31,.88)}
.theme-settings{grid-column:1/-1}.theme-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:14px}.theme-choice{display:grid;gap:6px;text-align:left;border:1px solid var(--line);background:rgba(255,255,255,.025);color:var(--text);border-radius:14px;padding:10px}.theme-choice.active{outline:2px solid var(--brand);outline-offset:1px}.theme-choice b{font-size:12px}.theme-choice span{font-size:9px;color:var(--muted)}.theme-preview{height:50px;border-radius:9px;border:1px solid rgba(128,145,170,.25);display:block}.theme-preview-dark{background:linear-gradient(135deg,#07111f,#14243a)}.theme-preview-light{background:linear-gradient(135deg,#fff,#e9eef6)}.theme-preview-ocean{background:linear-gradient(135deg,#03141f,#0c526b)}.theme-preview-violet{background:linear-gradient(135deg,#12091f,#562076)}.today-summary{display:flex;gap:8px;flex-wrap:wrap;margin:-8px 0 16px}.timeline-item time small{display:block;margin-top:3px;color:var(--muted)}
@media(max-width:760px){.theme-grid{grid-template-columns:1fr 1fr}}
@media(max-width:420px){.theme-grid{grid-template-columns:1fr}}
