/* ARCHIDOT STUDIO — PROPRIETARY AND CONFIDENTIAL
Copyright (c) 2026 ArchiDot Studio. All rights reserved.

This source code is the intellectual property of ArchiDot Studio.
Unauthorized copying, modification, distribution, disclosure,
sublicensing, or commercial use is prohibited without prior
written permission from ArchiDot Studio. */

/* Theme only: existing layout, spacing and alignment remain authoritative. */
html[data-theme="dark"]{color-scheme:dark;--blue:#8bb7ff;--line:#303a4a;--surface:#1a212d;--surface-raised:#202938;--ink:#e8edf5;--muted:#a7b4c8;background:#10141c;color:var(--ink)}
html[data-theme="dark"] body{background:#10141c;color:var(--ink)}
html[data-theme="dark"] body>header{background:#141b26;color:var(--ink);box-shadow:inset 0 -1px 0 #303a4a}
html[data-theme="dark"] .brand,html[data-theme="dark"] nav a{color:#edf3fc}
html[data-theme="dark"] .brand span{color:#a7b4c8}
html[data-theme="dark"] nav a:hover{color:#a9caff}
html[data-theme="dark"] a{color:var(--blue)}
html[data-theme="dark"] a:hover{color:#bad5ff}
html[data-theme="dark"] h1,html[data-theme="dark"] h2,html[data-theme="dark"] h3{color:var(--ink)}
html[data-theme="dark"] .panel,html[data-theme="dark"] .login,html[data-theme="dark"] .overview-filter,html[data-theme="dark"] .metric{background:var(--surface);border-color:var(--line)}
html[data-theme="dark"] .overview-group{background:#171e29;border-color:var(--line);border-left-color:var(--category-color)}
html[data-theme="dark"] .overview-table{background:var(--surface)}
html[data-theme="dark"] .muted,html[data-theme="dark"] small,html[data-theme="dark"] .eyebrow,html[data-theme="dark"] footer,html[data-theme="dark"] .overview-subtitle,html[data-theme="dark"] .group-title p,html[data-theme="dark"] .overview-totals,html[data-theme="dark"] .empty{color:var(--muted)}
html[data-theme="dark"] .overview-totals strong,html[data-theme="dark"] .metric strong,html[data-theme="dark"] .project span{color:var(--ink)}
html[data-theme="dark"] input,html[data-theme="dark"] select,html[data-theme="dark"] textarea{background:#121a25;color:var(--ink);border-color:#48556b;accent-color:#76a7ff}
html[data-theme="dark"] input::placeholder,html[data-theme="dark"] textarea::placeholder{color:#8998af;opacity:1}
html[data-theme="dark"] input:focus,html[data-theme="dark"] select:focus,html[data-theme="dark"] textarea:focus{border-color:#8bb7ff}
html[data-theme="dark"] input:disabled,html[data-theme="dark"] select:disabled,html[data-theme="dark"] textarea:disabled{background:#222936;color:#91a0b4}
html[data-theme="dark"] button,html[data-theme="dark"] .button{background:#315fc8;color:#fff}
html[data-theme="dark"] button:hover,html[data-theme="dark"] .button:hover{background:#3d70e2;color:#fff}
html[data-theme="dark"] .quiet{background:#303d53;color:#e8edf5}
html[data-theme="dark"] .quiet:hover{background:#3c4b65}
html[data-theme="dark"] .button.secondary{background:#202c40;color:#a9caff;border-color:#496389}
html[data-theme="dark"] th{color:#aebed5;border-color:var(--line)}
html[data-theme="dark"] td,html[data-theme="dark"] .project,html[data-theme="dark"] .comment,html[data-theme="dark"] .overview-comment-list article{border-color:var(--line)}
html[data-theme="dark"] tbody tr:hover{background:#202b3b}
html[data-theme="dark"] .badge{background:#2a3850;color:#cedfff}
html[data-theme="dark"] summary{color:#9bc0ff}
html[data-theme="dark"] .kind-task{background:#253b61;color:#b4d1ff}
html[data-theme="dark"] .kind-delivery{background:#193f39;color:#a0e3cd}
html[data-theme="dark"] .priority-note{color:#efc17a}
html[data-theme="dark"] .late,html[data-theme="dark"] .late small{color:#ffaaa5}
html[data-theme="dark"] .error{background:#382126;color:#ffc4bd;border-color:#9d5357}
html[data-theme="dark"] .overview-empty{background:#182331;color:var(--muted);border-color:#3a4c64}
html[data-theme="dark"] dialog.project-create-dialog,html[data-theme="dark"] dialog.task-create-dialog{background:var(--surface);color:var(--ink);border-color:#46546c;box-shadow:0 24px 90px #0009}
html[data-theme="dark"] dialog::backdrop{background:#060b13bb}
html[data-theme="dark"] .workspace-date{color:var(--ink)}
html[data-theme="dark"] .calendar-part small,html[data-theme="dark"] .calendar-slash{color:var(--muted)}
html[data-theme="dark"] #group-overdue,html[data-theme="dark"] .metric-overdue{--category-color:#a63135}
html[data-theme="dark"] #group-today,html[data-theme="dark"] .metric-today{--category-color:#315fc8}
html[data-theme="dark"] #group-week,html[data-theme="dark"] .metric-week{--category-color:#246653}
html[data-theme="dark"] #group-later,html[data-theme="dark"] .metric-later{--category-color:#68508f}
html[data-theme="dark"] #group-undated,html[data-theme="dark"] .metric-undated{--category-color:#815d19}
html[data-theme="dark"] .metric{border-top-color:var(--category-color)}
html[data-theme="dark"] .metric-overdue strong{color:#ffaaa5}
html[data-theme="dark"] .overview-group .group-title{border-color:var(--line)}
html[data-theme="dark"] .overview-group .group-title h2,html[data-theme="dark"] .overview-metrics .metric>span{background:var(--category-color);color:#fff}
html[data-theme="dark"] .group-count{background:#ffffff20;color:#fff;border-color:#ffffff45}
html[data-theme="dark"] :is(a,button,input,select,textarea,summary):focus-visible{outline-color:#edc980}
html[data-theme="dark"] ::selection{background:#4169a7;color:#fff}
