/* Baf design system: shared by every panel. Each panel only sets --accent (and a few accent tints) in its own css. */
:root{
  --paper:#f5f6f8; --surface:#ffffff; --surface-2:#eef0f4; --ink:#18233a; --ink-2:#3b4660; --muted:#6c768a;
  --line:#e1e5ec; --line-strong:#cbd2dd;
  --accent:#d6338a; --accent-ink:#ffffff; --accent-soft:#fbe7f1; --accent-line:#f2b9d6;
  --ok:#1f8a5b; --ok-soft:#e3f4ec; --warn:#b66a00; --warn-soft:#fff2db; --bad:#c9353a; --bad-soft:#fde8e8; --info:#2563c9; --info-soft:#e6eefc;
  --r-s:8px; --r-m:12px; --r-l:18px;
  --shadow:0 1px 2px rgba(24,35,58,.06),0 6px 18px rgba(24,35,58,.06);
  --font:'Vazirmatn',Tahoma,'Segoe UI',sans-serif;
  color-scheme:light;
}
:root[data-theme="dark"]{
  --paper:#0f1522; --surface:#171f30; --surface-2:#1f2940; --ink:#e9edf5; --ink-2:#c3cbda; --muted:#8f9ab0;
  --line:#28324a; --line-strong:#36425e;
  --accent-soft:#3a1d2d; --accent-line:#6b2c4d;
  --ok-soft:#14332a; --warn-soft:#3a2a10; --bad-soft:#3d1a1d; --info-soft:#172a4a;
  --shadow:0 1px 2px rgba(0,0,0,.3),0 6px 18px rgba(0,0,0,.25);
  color-scheme:dark;
}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html{font-size:15px}
body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--font);line-height:1.75;
  padding-top:env(safe-area-inset-top,0);padding-bottom:env(safe-area-inset-bottom,0);font-feature-settings:"ss01"}
button,input,select,textarea{font:inherit;color:inherit}
button{cursor:pointer;border:0;background:none;padding:0}
a{color:var(--accent)}
h1,h2,h3,h4{margin:0;line-height:1.45}
h1{font-size:1.45rem;font-weight:800}
h2{font-size:1.2rem;font-weight:800}
h3{font-size:1.02rem;font-weight:700}
p{margin:0}
.num{font-variant-numeric:tabular-nums}
.muted{color:var(--muted)}
.small{font-size:.85rem}
.tiny{font-size:.76rem}
.ltr{direction:ltr;unicode-bidi:isolate}
.hidden{display:none!important}
:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:6px}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

/* ---------------- layout */
.wrap{max-width:560px;margin:0 auto;padding:12px 16px 110px}
.stack>*+*{margin-top:12px}
.row{display:flex;align-items:center;gap:10px}
.row.between{justify-content:space-between}
.row.wrap-ok{flex-wrap:wrap}
.grow{flex:1;min-width:0}
.section{margin-top:22px}
.section-head{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:10px}
.section-head .link{font-size:.85rem;color:var(--accent);font-weight:600}

/* ---------------- surfaces */
.panel{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-l);padding:14px}
.panel.flat{box-shadow:none}
.panel.raised{box-shadow:var(--shadow);border-color:transparent}
.divider{height:1px;background:var(--line);margin:12px 0}

/* ---------------- top bar */
.topbar{display:flex;align-items:center;gap:12px;padding:6px 0 14px}
.avatar{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;font-weight:800;font-size:1.05rem;
  background:var(--accent-soft);color:var(--accent);flex:none}
.topbar .who{flex:1;min-width:0}
.topbar .who b{display:block;font-size:1.02rem;line-height:1.4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.topbar .who span{font-size:.8rem;color:var(--muted)}
.icon-btn{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;border:1px solid var(--line);background:var(--surface);flex:none}
.icon-btn svg{width:20px;height:20px}

/* ---------------- buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:0 18px;border-radius:var(--r-m);
  font-weight:700;background:var(--accent);color:var(--accent-ink);transition:transform .12s,opacity .15s;white-space:nowrap}
.btn:active{transform:scale(.98)}
.btn[disabled]{opacity:.45;pointer-events:none}
a.btn{text-decoration:none}
.btn.block{width:100%}
.btn.ghost{background:var(--surface);color:var(--ink);border:1px solid var(--line-strong)}
.btn.soft{background:var(--accent-soft);color:var(--accent)}
.btn.danger{background:var(--bad);color:#fff}
.btn.danger-ghost{background:var(--surface);color:var(--bad);border:1px solid var(--line-strong)}
.btn.sm{min-height:36px;padding:0 12px;font-size:.88rem;border-radius:10px}
.btn svg{width:18px;height:18px}
.link-btn{color:var(--accent);font-weight:600;font-size:.9rem}

/* ---------------- forms */
.field{display:block;margin-top:14px}
.field>span{display:flex;justify-content:space-between;gap:8px;font-weight:600;font-size:.9rem;margin-bottom:6px}
.field>span small{font-weight:400;color:var(--muted)}
.input,select.input,textarea.input{width:100%;min-height:46px;border:1.5px solid var(--line-strong);border-radius:var(--r-m);padding:10px 12px;
  background:var(--surface);outline:0;transition:border-color .15s}
textarea.input{min-height:90px;resize:vertical;line-height:1.7}
.input:focus{border-color:var(--accent)}
.input.ltr{text-align:left}
.input-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(90px,1fr));gap:8px}
.input-row>*,.pe-grid>*{min-width:0}
.input{min-width:0}
.check{display:flex;align-items:center;gap:10px;min-height:40px}
.check input{width:20px;height:20px;accent-color:var(--accent)}
.err{color:var(--bad);font-size:.85rem;min-height:1.2em;margin-top:8px}
.stepper{display:flex;align-items:center;border:1.5px solid var(--line-strong);border-radius:var(--r-m);overflow:hidden;background:var(--surface)}
.stepper button{width:44px;height:44px;font-size:1.2rem;font-weight:700;color:var(--accent)}
.stepper input{flex:1;min-width:0;width:100%;border:0;text-align:center;height:44px;outline:0;background:none;font-variant-numeric:tabular-nums}

/* ---------------- segmented control + chips */
.seg{display:flex;background:var(--surface-2);border-radius:var(--r-m);padding:4px;gap:4px}
.seg button{flex:1;min-height:38px;border-radius:9px;font-weight:600;font-size:.9rem;color:var(--muted)}
.seg button.on{background:var(--surface);color:var(--ink);box-shadow:0 1px 3px rgba(0,0,0,.12)}
.chips{display:flex;flex-wrap:wrap;gap:8px}
.chips.scroll{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;padding-bottom:4px}
.chip{display:inline-flex;align-items:center;gap:6px;min-height:34px;padding:0 12px;border-radius:999px;border:1px solid var(--line-strong);
  font-size:.86rem;background:var(--surface);white-space:nowrap}
.chip.on{background:var(--accent);border-color:var(--accent);color:var(--accent-ink)}
.dot{width:10px;height:10px;border-radius:50%;flex:none;display:inline-block}

/* ---------------- tags / badges */
.tag{display:inline-flex;align-items:center;gap:4px;font-size:.75rem;font-weight:700;padding:1px 9px;border-radius:999px;background:var(--surface-2);color:var(--ink-2);white-space:nowrap}
.tag.ok{background:var(--ok-soft);color:var(--ok)}
.tag.warn{background:var(--warn-soft);color:var(--warn)}
.tag.bad{background:var(--bad-soft);color:var(--bad)}
.tag.info{background:var(--info-soft);color:var(--info)}
.tag.accent{background:var(--accent-soft);color:var(--accent)}
.badge{min-width:20px;height:20px;padding:0 6px;border-radius:10px;background:var(--bad);color:#fff;font-size:.72rem;font-weight:800;display:inline-grid;place-items:center}

/* ---------------- banners */
.banner{display:flex;gap:10px;align-items:flex-start;padding:12px 14px;border-radius:var(--r-m);font-size:.9rem;line-height:1.7}
.banner b{display:block}
.banner.bad{background:var(--bad-soft);color:var(--bad)}
.banner.warn{background:var(--warn-soft);color:var(--warn)}
.banner.info{background:var(--info-soft);color:var(--info)}
.banner.ok{background:var(--ok-soft);color:var(--ok)}
.banner .btn{margin-inline-start:auto;flex:none}
.sticky-alert{position:sticky;top:0;z-index:30;margin:0 -16px 12px;border-radius:0;padding-inline:16px;box-shadow:0 2px 8px rgba(0,0,0,.08)}

/* ---------------- lists */
.list{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-l);overflow:hidden}
.list-item{display:flex;align-items:center;gap:12px;padding:12px 14px;width:100%;text-align:start}
.list-item+.list-item{border-top:1px solid var(--line)}
.list-item .grow b{display:block;font-weight:700;line-height:1.5;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.list-item .grow small{color:var(--muted);font-size:.8rem}
.chev{width:16px;height:16px;color:var(--muted);flex:none}

/* ---------------- stats */
.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.stat{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-m);padding:10px 8px;text-align:center}
.stat b{display:block;font-size:1.25rem;font-weight:800;line-height:1.4;font-variant-numeric:tabular-nums}
.stat small{color:var(--muted);font-size:.76rem}

/* ---------------- progress */
.bar{height:8px;border-radius:8px;background:var(--surface-2);overflow:hidden}
.bar i{display:block;height:100%;border-radius:8px;background:var(--accent);transition:width .4s}

/* ---------------- empty / loading */
.empty{text-align:center;padding:28px 18px;border:1.5px dashed var(--line-strong);border-radius:var(--r-l);color:var(--muted)}
.empty b{display:block;color:var(--ink);font-size:1rem;margin-bottom:4px}
.empty .btn{margin-top:14px}
.skel{border-radius:var(--r-m);background:linear-gradient(90deg,var(--surface-2),var(--line),var(--surface-2));background-size:200% 100%;animation:sk 1.2s infinite linear}
@keyframes sk{to{background-position:-200% 0}}
.center-screen{min-height:70vh;display:grid;place-items:center;text-align:center;padding:24px}
.center-screen .big{font-size:2.6rem;line-height:1.2;margin-bottom:8px}

/* ---------------- bottom navigation */
.tabbar{position:fixed;bottom:0;inset-inline:0;z-index:40;background:var(--surface);border-top:1px solid var(--line);
  padding:6px 8px calc(6px + env(safe-area-inset-bottom,0));display:flex;justify-content:center}
.tabbar .in{display:flex;width:100%;max-width:560px}
.tabbar button{flex:1;display:flex;flex-direction:column;align-items:center;gap:2px;padding:4px 0;font-size:.74rem;color:var(--muted);position:relative}
.tabbar button svg{width:23px;height:23px}
.tabbar button.on{color:var(--accent);font-weight:700}
.tabbar .badge{position:absolute;top:0;inset-inline-start:calc(50% + 6px)}

/* ---------------- bottom sheet + toast */
.sheet-bg{position:fixed;inset:0;z-index:60;background:rgba(10,15,25,.45);display:flex;align-items:flex-end;justify-content:center;
  opacity:0;pointer-events:none;transition:opacity .2s}
.sheet-bg.open{opacity:1;pointer-events:auto}
.sheet{width:100%;max-width:560px;max-height:88vh;overflow:auto;background:var(--surface);border-radius:22px 22px 0 0;padding:8px 16px calc(18px + env(safe-area-inset-bottom,0));
  transform:translateY(30px);transition:transform .22s}
.sheet-bg.open .sheet{transform:none}
.sheet .grab{width:42px;height:5px;border-radius:5px;background:var(--line-strong);margin:4px auto 12px}
.sheet h3{margin-bottom:6px}
.sheet .actions{display:flex;gap:8px;margin-top:18px}
.sheet .actions .btn{flex:1}
#toast{position:fixed;bottom:calc(84px + env(safe-area-inset-bottom,0));left:50%;transform:translate(-50%,20px);z-index:80;background:var(--ink);color:var(--paper);
  padding:9px 16px;border-radius:12px;font-size:.88rem;opacity:0;transition:.2s;pointer-events:none;max-width:90vw;text-align:center}
#toast.show{opacity:1;transform:translate(-50%,0)}
#toast.bad{background:var(--bad);color:#fff}

/* ---------------- subject rows (plans, reports) */
.srow{display:flex;align-items:center;gap:10px;padding:9px 0}
.srow+.srow{border-top:1px dashed var(--line)}
.srow .bar-s{width:4px;align-self:stretch;border-radius:4px;flex:none}
.srow .grow b{font-weight:700}
.srow .grow small{display:block;color:var(--muted);font-size:.8rem;line-height:1.5}
.srow .amt{text-align:end;font-size:.82rem;color:var(--ink-2);white-space:nowrap;font-variant-numeric:tabular-nums}

/* ---------------- time grid (the study sheet) */
.tgrid{direction:rtl;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;touch-action:pan-y;background:var(--surface);border:1px solid var(--line);
  border-radius:var(--r-l);padding:8px 8px 8px 6px}
.tgrid .hr{display:grid;grid-template-columns:38px repeat(6,1fr);height:27px;position:relative}
.tgrid .hr+.hr{margin-top:2px}
.tgrid .hl{grid-column:1;grid-row:1;align-self:center;justify-self:center;font-size:.72rem;font-weight:700;color:var(--muted);
  background:var(--surface-2);border-radius:6px;padding:0 6px;font-variant-numeric:tabular-nums;line-height:20px}
.tgrid .c{grid-row:1;position:relative;border:1px solid var(--line);border-inline-start:0;background:var(--surface)}
.tgrid .c.c0{border-inline-start:1px solid var(--line);border-start-start-radius:6px;border-end-start-radius:6px}
.tgrid .c.c5{border-start-end-radius:6px;border-end-end-radius:6px}
.tgrid .c.p{border:0;background:var(--col);border-radius:0}
.tgrid .c.p:not(.re){box-shadow:-1.5px 0 0 var(--col)}
.tgrid .c.p.rs{border-start-start-radius:7px;border-end-start-radius:7px}
.tgrid .c.p.re{border-start-end-radius:7px;border-end-end-radius:7px}
.tgrid .c.anchor{box-shadow:inset 0 0 0 2px var(--ink)}
.tgrid .lab{grid-row:1;z-index:2;pointer-events:none;align-self:center;font-size:.7rem;font-weight:700;color:#fff;text-shadow:0 1px 1px rgba(0,0,0,.35);
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:0 6px;text-align:center}
.tgrid .hr.q .hl{background:transparent}
.tgrid.ro{padding:6px}
.tgrid.ro .hr{height:20px}
.brushes{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;padding:2px 0 8px}
.brush{display:inline-flex;align-items:center;gap:7px;min-height:38px;padding:0 12px 0 14px;border-radius:999px;border:1.5px solid var(--line-strong);
  background:var(--surface);font-size:.86rem;font-weight:600;white-space:nowrap;flex:none}
.brush i{width:14px;height:14px;border-radius:4px;background:var(--col)}
.brush.on{border-color:var(--ink);box-shadow:inset 0 0 0 1px var(--ink)}
.brush.erase i{background:repeating-linear-gradient(45deg,var(--line-strong) 0 3px,transparent 3px 6px);border:1px solid var(--line-strong)}
.grid-tools{display:flex;align-items:center;gap:8px;margin-bottom:8px;font-size:.82rem;color:var(--muted)}
.grid-legend{display:flex;flex-wrap:wrap;gap:6px 12px;margin-top:10px;font-size:.82rem}
.grid-legend span{display:inline-flex;align-items:center;gap:6px}
.strip{display:grid;grid-template-columns:repeat(144,1fr);height:16px;border-radius:4px;overflow:hidden;background:var(--surface-2)}
.strip i{display:block}

/* ---------------- calendar */
.cal{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-l);padding:12px}
.cal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}
.cal-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:5px}
.cal-grid .wd{text-align:center;font-size:.72rem;color:var(--muted);font-weight:700}
.cal-day{aspect-ratio:1;border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:.85rem;font-weight:600;
  position:relative;background:var(--surface-2);color:var(--ink-2);font-variant-numeric:tabular-nums}
.cal-day.out{visibility:hidden}
.cal-day.future{opacity:.4}
.cal-day.today{box-shadow:inset 0 0 0 2px var(--ink)}
.cal-day.g3{background:#1f8a5b;color:#fff}.cal-day.g2{background:#62b58c;color:#fff}.cal-day.g1{background:#e3a43a;color:#fff}.cal-day.g0{background:#d9575b;color:#fff}
.cal-day.rest{background:var(--info-soft);color:var(--info)}
.cal-day.draft{background:var(--surface);box-shadow:inset 0 0 0 1.5px var(--line-strong)}
.cal-day.miss{background:var(--surface);color:var(--bad);box-shadow:inset 0 0 0 1.5px var(--bad)}
.cal-day .fb{position:absolute;top:3px;inset-inline-end:3px;width:8px;height:8px;border-radius:50%;background:var(--info);box-shadow:0 0 0 2px var(--surface)}
.cal-day .fb.unread{background:var(--bad)}
.cal-legend{display:flex;flex-wrap:wrap;gap:4px 12px;margin-top:10px;font-size:.74rem;color:var(--muted)}
.cal-legend span{display:inline-flex;align-items:center;gap:5px}
.cal-legend i{width:10px;height:10px;border-radius:3px;display:inline-block}

/* ---------------- chat */
.chat{display:flex;flex-direction:column;gap:8px}
.msg{max-width:84%;padding:8px 12px;border-radius:16px;background:var(--surface-2);align-self:flex-start;position:relative;word-break:break-word;white-space:pre-wrap}
.msg.mine{align-self:flex-end;background:var(--accent-soft)}
.msg.counselor:not(.mine){background:var(--info-soft)}
.msg .meta{display:flex;gap:8px;font-size:.7rem;color:var(--muted);margin-top:2px;white-space:nowrap}
.msg .who{font-size:.74rem;font-weight:700;color:var(--ink-2);display:block}
.msg.deleted{font-style:italic;color:var(--muted)}
.msg audio{width:220px;max-width:100%;height:36px;display:block}
.msg .acts{display:inline-flex;gap:10px}
.msg .acts button{font-size:.7rem;color:var(--accent);font-weight:700}
.composer{display:flex;align-items:flex-end;gap:8px;margin-top:10px}
.composer textarea{flex:1;min-height:44px;max-height:140px;resize:none}
.rec{display:flex;align-items:center;gap:10px;padding:8px 12px;border-radius:var(--r-m);background:var(--bad-soft);color:var(--bad);font-weight:700;margin-top:10px}
.rec .pulse{width:10px;height:10px;border-radius:50%;background:var(--bad);animation:pl 1s infinite}
@keyframes pl{50%{opacity:.25}}

/* ---------------- tables (admin, plan) */
.table-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:var(--r-l);background:var(--surface)}
table.t{width:100%;border-collapse:collapse;font-size:.88rem}
table.t th,table.t td{padding:10px 12px;text-align:start;border-bottom:1px solid var(--line);white-space:nowrap}
table.t th{font-size:.78rem;color:var(--muted);font-weight:700;background:var(--surface-2)}
table.t tr:last-child td{border-bottom:0}
table.t td.wrap{white-space:normal}

/* ---------------- view-as banner (admin looking at a counselor panel) */
.viewas{position:sticky;top:0;z-index:50;background:var(--ink);color:var(--paper);padding:8px 16px;font-size:.85rem;display:flex;gap:10px;align-items:center}
.viewas button{margin-inline-start:auto;color:var(--paper);text-decoration:underline;font-weight:700}

/* ---------------- plan editor */
.pe-day{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-l);padding:10px 12px;margin-bottom:10px}
.pe-day>summary{cursor:pointer;list-style:none;display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;padding:4px 0}
.pe-day>summary::-webkit-details-marker{display:none}
.pe-day>summary::before{content:"";width:8px;height:8px;border-inline-end:2px solid var(--muted);border-bottom:2px solid var(--muted);transform:rotate(45deg);margin-inline-end:4px;transition:transform .15s;align-self:center}
.pe-day[open]>summary::before{transform:rotate(-135deg)}
.pe-day .pe-sum{margin-inline-start:auto}
.pe-item{border:1px solid var(--line);border-radius:var(--r-m);padding:10px;margin:10px 0;background:var(--paper)}
.pe-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.pe-grid .input{min-height:40px;padding:6px 10px}
.pe-wide{grid-column:1/-1}
.pe-num{position:relative;display:block}
.pe-num span{position:absolute;inset-inline-end:10px;top:50%;transform:translateY(-50%);font-size:.75rem;color:var(--muted);pointer-events:none}
.pe-num .input{padding-inline-end:52px}
.pe-acts{display:flex;gap:6px;margin-top:8px;align-items:center}
.pe-acts .icon-btn{width:36px;height:36px}
.pe-acts .pe-move{min-height:36px;padding:2px 8px;width:auto;flex:1;font-size:.85rem}
.icon-btn.danger{color:var(--bad)}
.ti{width:14px;height:14px}
.tag .ti{width:13px;height:13px}

/* ---------------- daily checklist (student "today") */
.task{display:flex;gap:10px;align-items:flex-start;padding:12px;border:1px solid var(--line);border-radius:var(--r-l);background:var(--surface)}
.task+.task{margin-top:8px}
.task .bar-s{width:5px;align-self:stretch;border-radius:5px;flex:none}
.task .grow b{font-weight:700}
.task .grow small{display:block;color:var(--muted);font-size:.8rem;line-height:1.55}
.task.done{background:var(--ok-soft);border-color:transparent}
.task.partial{background:var(--warn-soft);border-color:transparent}
.task.skipped{background:var(--surface-2);border-color:transparent}
.task.skipped .grow b{text-decoration:line-through;color:var(--muted)}
.tick{display:flex;gap:6px;flex:none}
.tick button{width:38px;height:38px;border-radius:12px;border:1.5px solid var(--line-strong);display:grid;place-items:center;color:var(--muted);background:var(--surface)}
.tick button svg{width:19px;height:19px}
.tick button.on.done{background:var(--ok);border-color:var(--ok);color:#fff}
.tick button.on.partial{background:var(--warn);border-color:var(--warn);color:#fff}
.tick button.on.skipped{background:var(--bad);border-color:var(--bad);color:#fff}
.moods{display:flex;gap:6px}
.moods button{flex:1;height:48px;border-radius:var(--r-m);font-size:1.5rem;border:1.5px solid var(--line);background:var(--surface);filter:grayscale(.8);opacity:.7}
.moods button.on{filter:none;opacity:1;border-color:var(--accent);background:var(--accent-soft)}
.stars{display:flex;gap:4px}
.stars button{font-size:1.7rem;color:var(--line-strong);line-height:1}
.stars button.on{color:#e3a43a}
.savebar{display:flex;align-items:center;gap:8px;font-size:.8rem;color:var(--muted)}

/* date picker */
.dp{margin-top:10px}
.dp-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}
.dp-head b{font-size:1rem}
.dp-head .icon-btn{font-size:1.4rem;line-height:1;width:40px;height:40px}
.dp-week,.dp-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;text-align:center}
.dp-week span{font-size:.75rem;color:var(--muted);padding-bottom:4px}
.dp-days button{height:40px;border-radius:10px;font-weight:600;font-variant-numeric:tabular-nums}
.dp-days button:not([disabled]):hover{background:var(--surface-2)}
.dp-days button.today{box-shadow:inset 0 0 0 1.5px var(--accent-line)}
.dp-days button.on{background:var(--accent);color:var(--accent-ink)}
.dp-days button[disabled]{opacity:.3;cursor:default}
