/* Manrope, Google Fonts (SIL Open Font License). Local subsets avoid external font requests. */
@font-face {
  font-family: Manrope; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url('./manrope-cyrillic.woff2') format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: Manrope; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url('./manrope-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
:root {
  font-family: Manrope,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  --accent:#a84a16; --accent-soft:#fff0e4;
}
:root[data-theme="dark"] {--accent:#ffb17a; --accent-soft:#392b25; --bg:#121316; --surface:#1b1d22; --line:#303238; --muted:#adb0bc;}
.brand{padding:0 4px;gap:10px;font-size:24px;letter-spacing:-1.2px}
.brand-logo{display:block;width:52px;height:52px;border-radius:15px;object-fit:cover;flex-shrink:0;box-shadow:0 3px 15px #00000012}
.brand-sub{font-size:7px;letter-spacing:1.35px}
h1{font-weight:750;letter-spacing:-1.4px}
.task-name{font-weight:650;line-height:1.65}
.stat strong{font-variant-numeric:tabular-nums;font-weight:650}
.due,.task-id{font-variant-numeric:tabular-nums}
.primary{background:#aa4b17;box-shadow:0 4px 14px #b04d1114}
.focus-card{background:linear-gradient(110deg,#fff0e3,#fff9f3);border-color:#efd6c1}
.focus-card button{color:#984211}
.demo-banner{background:#fff0e3;color:#95400e}
.team-chip:before{background:#d78550}
.status{background:#f0eee9;color:#63594d}
.login-logo{width:84px;height:84px;border-radius:23px;margin-bottom:22px}
.login-eyebrow{font-size:9px;letter-spacing:1.4px;color:var(--accent);font-weight:700}
#login-dialog h2{font-size:29px;line-height:1.3;font-weight:750;margin-top:12px}
#login-dialog .primary{font-size:13px;min-height:48px}
#key-login{margin-top:20px;border-top:1px solid var(--line);padding-top:12px}
#key-login summary{padding:10px 0;cursor:pointer;font-size:12px;color:var(--muted)}
[data-theme="dark"] .shell{background:radial-gradient(ellipse at 95% 0%,#d78b4509,transparent 50%)}
[data-theme="dark"] .sidebar,[data-theme="dark"] .topbar{background:#17191d}
[data-theme="dark"] .workspace{background:#1c1f24}
[data-theme="dark"] .nav.active{box-shadow:inset 3px 0 #ffb17a}
[data-theme="dark"] .avatar{background:#38302a;color:#f1c5a5}
[data-theme="dark"] .primary{background:#ffb17a;color:#301b10;box-shadow:0 4px 16px #ff954016}
[data-theme="dark"] .primary:hover{background:#ffc398}
[data-theme="dark"] .stat{background:linear-gradient(135deg,#22242a,#1b1d22)}
[data-theme="dark"] .stat:hover{border-color:#766050}
[data-theme="dark"] .overdue-stat{background:linear-gradient(135deg,#30222d,#211c25)}
[data-theme="dark"] .focus-card{background:linear-gradient(110deg,#34281f,#232124);border-color:#514032}
[data-theme="dark"] .focus-card button{color:#ffc39a}
[data-theme="dark"] .demo-banner{background:#2b231e;color:#eec5a6;border-color:#4b382a}
[data-theme="dark"] .tabs{background:#131518}
[data-theme="dark"] .tabs button.selected{background:#3a2e26;color:#ffcea9}
[data-theme="dark"] .team-chip{background:#25262b;border-color:#37393f;color:#c3c5ce}
[data-theme="dark"] .team-chip:before{background:#ffb17a}
[data-theme="dark"] .status:not(.overdue):not(.done):not(.paused):not(.legacy){background:#353025;color:#dfc89d}
[data-theme="dark"] .table-head{background:#17191d}
[data-theme="dark"] .toast{background:#f7ddc9;color:#362317}
@media(max-width:760px){.brand{font-size:24px}.brand-logo{width:46px;height:46px;border-radius:13px}.brand-sub{font-size:7px}.login-logo{width:76px;height:76px;border-radius:20px}}
@media(prefers-reduced-motion:no-preference){.task-row,.nav,.theme-toggle{transition:background .18s ease,border-color .18s ease}}
