/* The owner's dashboard — styles only. Tokens come from theme.css; this file
   adds no colours of its own. Panels are glass over the ground (ruling
   2026-10-25): --glass with the photograph blurred behind, solid where a
   browser cannot blur. Loaded by index.html for everyone, so EVERY rule
   is scoped under .dash (or #tabs): an unscoped class name here once collided
   with the login card's .box and squashed it to a 62px flex row. The portal
   oracle now checks the gate's layout for exactly that. */

/* ── tabs (top bar; the one thing outside .dash) ──────────────────────────── */
#tabs { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
#tabs::-webkit-scrollbar { display: none; }
@media (max-width: 480px) { #tabs button { padding: 0 10px; } }
#tabs button {
  min-height: var(--tap); padding: 0 16px; font-family: var(--mono); font-size: 12px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-2); background: transparent; border: 0; border-bottom: 2px solid transparent;
  cursor: pointer; white-space: nowrap; flex: 0 0 auto; transition: color .2s, border-color .2s;
}
#tabs button:hover { color: var(--ink); }
#tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--accent-ink); }

/* ── frame ────────────────────────────────────────────────────────────────── */
.dash { max-width: 1240px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 32px) 72px; }
.dash .dash-head { position: relative; padding: 36px 0 22px; }
.dash .dash-head .label { margin: 0 0 12px; color: var(--ink-2); }
.dash .dash-head .label b { color: var(--accent-ink); font-weight: 500; }
.dash .dash-head h1 { margin: 0; max-width: 820px; font-size: clamp(30px, 4.6vw, 46px); line-height: 1.1; font-weight: 300; letter-spacing: -0.035em; text-shadow: 0 2px 24px rgba(10,13,12,.8); }
.dash .dash-head h1 .dim { color: #98a4a8; }

/* capture — always first, always one Enter away */
.dash .cap { display: flex; gap: 10px; margin: 0 0 18px; }
.dash .cap input { flex: 1 1 auto; min-width: 0; }
.dash .cap-msg { font-size: 13px; color: var(--crit); margin: 8px 0 0; min-height: 0; }

/* needs you — the one strip that interrupts; absent when empty */
.dash .needs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin: 0 0 18px; padding: 12px 16px;
  background: var(--accent-soft); border: 1px solid var(--accent); border-radius: var(--radius); }
.dash .needs .label { color: var(--accent-ink); }
.dash .needs a { display: inline-flex; align-items: center; min-height: 32px; font-size: 14px; color: var(--ink); text-decoration: none; }
.dash .needs a:hover { color: var(--accent-ink); }
.dash .needs a::before { content: "▸"; margin-right: 8px; color: var(--accent-ink); }

/* ── panel grid: two columns, one on a phone ──────────────────────────────── */
.dash .dash-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.dash .dash-col { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
@media (max-width: 800px) { .dash .dash-grid { grid-template-columns: minmax(0, 1fr); } }

.dash .panel { background: var(--glass); border: 1px solid var(--glass-line); border-radius: var(--radius);
  backdrop-filter: blur(var(--glass-blur)); -webkit-backdrop-filter: blur(var(--glass-blur));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035), var(--shadow); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .dash .panel, .dash .proposal { background: var(--panel); } }
.dash .panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px 10px; }
.dash .panel-head h2 { margin: 0; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.dash .panel-head .count { font-family: var(--mono); font-size: 12px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.dash .panel-head.warn h2 { color: var(--warn); }
.dash .panel-body { padding: 0 8px 8px; }
.dash .panel-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; padding: 10px 18px 14px; border-top: 1px solid var(--line-2); }
.dash .panel-foot .more { font-size: 13px; color: var(--ink-3); }
.dash .goto { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; }
.dash .goto:hover { color: #cfe3ee; }
.dash .empty-state { padding: 12px 10px 16px; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.dash .unavailable { padding: 12px 10px 16px; font-size: 13px; color: var(--warn); }

/* rows: a tick, the text, a trailing mono tag */
.dash .row { display: flex; align-items: center; gap: 6px; border-radius: 6px; transition: background .2s; }
.dash .row:hover { background: var(--panel-2); }
.dash .tick { flex: none; width: 48px; height: 52px; display: flex; align-items: center; justify-content: center; background: transparent; border: 0; padding: 0; cursor: pointer; }
.dash .tick:hover .tickbox { border-color: var(--accent-ink); }
.dash .tickbox { display: flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 6px; border: 1.5px solid var(--accent); background: transparent; transition: background .2s, border-color .2s; }
.dash .tickbox svg { opacity: 0; }
.dash .done .tickbox { background: var(--accent-ink); border-color: var(--accent-ink); }
.dash .done .tickbox svg { opacity: 1; }
.dash .row .text { flex: 1 1 auto; min-width: 0; font-size: 15px; line-height: 1.4; padding: 8px 0; }
.dash .row.done .text { color: var(--ink-3); text-decoration: line-through; }
.dash .tag { flex: none; font-family: var(--mono); font-size: 11px; letter-spacing: .04em; color: var(--ink-3); padding-right: 14px; white-space: nowrap; }
.dash .tag.warm { color: var(--warm-ink); background: var(--warm); padding: 4px 9px; border-radius: 3px; margin-right: 10px; }
.dash .tag.cool { color: var(--teal-ink); background: var(--teal); padding: 4px 9px; border-radius: 3px; margin-right: 10px; }
.dash .row.plain { padding-left: 12px; }
.dash .row .pos { flex: none; width: 24px; font-family: var(--mono); font-size: 12px; color: var(--ink-3); text-align: right; }
.dash .row.day .pos { color: var(--accent-ink); font-weight: 600; }
.dash .row.day .text { font-weight: 500; }
.dash .group { padding: 10px 12px 4px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }

/* schedule */
.dash .ev { display: flex; gap: 14px; padding: 10px 12px; border-radius: 6px; }
.dash .ev .when { flex: none; width: 74px; font-family: var(--mono); font-size: 12px; color: var(--ink-3); padding-top: 3px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.dash .ev .what { flex: 1 1 auto; min-width: 0; font-size: 15px; line-height: 1.4; }
.dash .ev .what small { display: block; font-family: var(--mono); font-size: 11px; color: var(--ink-3); margin-top: 2px; }
.dash .ev.past .what { color: var(--ink-3); text-decoration: line-through; }
.dash .ev.past .when { color: var(--ink-3); }
.dash .ev.next .when { color: var(--accent-ink); }
.dash .ev.next .what { font-weight: 500; }
.dash .ev .dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-top: 8px; }
.dash .ev.next .dot { background: var(--accent-ink); animation: dash-pulse 2.6s ease-out infinite; }
.dash .ev.past .dot { background: var(--line); }
@keyframes dash-pulse { 0% { box-shadow: 0 0 0 0 rgba(159,193,212,.55); } 70% { box-shadow: 0 0 0 8px rgba(159,193,212,0); } 100% { box-shadow: 0 0 0 0 rgba(159,193,212,0); } }

/* mail headers — links out; nothing here can mark or send */
.dash .mail-row { display: flex; align-items: baseline; gap: 12px; padding: 9px 12px; border-radius: 6px; text-decoration: none; color: var(--ink); }
.dash .mail-row:hover { background: var(--panel-2); }
.dash .mail-row .from { flex: none; width: 120px; font-size: 13px; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dash .mail-row .subj { flex: 1 1 auto; min-width: 0; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dash .mail-row.unread .subj { font-weight: 600; }
.dash .mail-row .urgent { flex: none; font-family: var(--mono); font-size: 10px; letter-spacing: .08em; color: var(--warm-ink); background: var(--warm); padding: 3px 7px; border-radius: 3px; }
.dash .mail-counts { display: flex; gap: 18px; padding: 4px 18px 10px; }
.dash .mail-counts b { display: block; font-size: 26px; font-weight: 300; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.dash .mail-counts span { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }

/* habits: a tick for today, the title, seven cells for the week, archive */
.dash .habit { display: flex; align-items: center; gap: 6px; border-radius: 6px; }
.dash .habit:hover { background: var(--panel-2); }
.dash .habit .text { flex: 1 1 auto; min-width: 0; font-size: 15px; padding: 8px 0; }
.dash .habit.done .text { color: var(--ink-2); }
.dash .habit .strip { display: inline-flex; gap: 4px; flex: none; margin-right: 6px; }
.dash .habit .cell { width: 18px; height: 18px; border-radius: 4px; display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 9px; color: var(--ink-3); background: var(--inset); border: 1px solid var(--line-2); }
.dash .habit .cell.on { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.dash .habit .cell.now { border-color: var(--accent-ink); }
.dash .habit .archive { flex: none; color: var(--ink-3); }
.dash .add { display: flex; gap: 8px; padding: 8px 10px 6px; }
.dash .add input { flex: 1 1 auto; min-width: 0; }

/* smart capture (D4): the proposal card under the capture box */
.dash .proposal { margin: 0 0 18px; padding: 14px 16px 12px; background: var(--glass); backdrop-filter: blur(var(--glass-blur)); -webkit-backdrop-filter: blur(var(--glass-blur)); border: 1px solid var(--accent); border-radius: var(--radius); animation: dash-rise .4s cubic-bezier(.2,.8,.2,1) both; }
.dash .proposal[data-status="error"] { border-color: var(--warn); }
.dash .prop-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-bottom: 8px; }
.dash .prop-text { font-size: 13px; color: var(--ink-3); }
.dash .prop-card { padding: 10px 0 12px; border-top: 1px solid var(--line-2); }
.dash .prop-card:first-of-type { border-top: 0; }
.dash .prop-kind { font-size: 13px; color: var(--ink-2); }
.dash .prop-kind b { color: var(--accent-ink); font-weight: 500; }
.dash .prop-dest { color: var(--ink-3); }
.dash .prop-title { font-size: 17px; font-weight: 500; margin: 6px 0 4px; letter-spacing: -0.01em; }
.dash .prop-fields { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 4px 0 2px; }
.dash .prop-fields div { display: flex; gap: 6px; align-items: baseline; }
.dash .prop-fields dt { font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.dash .prop-fields dd { margin: 0; font-size: 14px; }
.dash .prop-flag { margin: 6px 0 0; font-size: 13px; color: var(--warm-ink); }
.dash .prop-reason { margin: 6px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--ink-2); }
.dash .prop-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.dash .prop-edit { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px; margin-top: 8px; }
.dash .prop-edit #propTitle0, .dash .prop-edit [id^="propTitle"] { grid-column: 1 / -1; }
.dash .prop-field { display: flex; flex-direction: column; gap: 4px; }
.dash .prop-field span { font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.dash .prop-retype { display: flex; gap: 8px; padding: 10px 0 4px; border-top: 1px solid var(--line-2); }
.dash .prop-retype select { flex: 1 1 auto; }
.dash .prop-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line-2); }

/* daily updates (D5) */
.dash .brief-strand { padding: 4px 0 6px; }
.dash .brief-item { padding: 10px 12px 12px; border-radius: 6px; }
.dash .brief-item + .brief-item { border-top: 1px solid var(--line-2); }
.dash .brief-item h3 { margin: 0 0 4px; font-size: 15.5px; font-weight: 500; line-height: 1.35; letter-spacing: -0.01em; }
.dash .brief-team { display: inline-block; font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); margin-right: 8px; vertical-align: 2px; }
.dash .brief-item p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.dash .brief-result { display: block; margin-top: 8px; font-family: var(--mono); font-size: 13px; color: var(--ink); }
.dash .brief-result[hidden] { display: none; }   /* spoiler-safe: the class must not beat the hidden attribute */
.dash .brief-item .reveal { margin-top: 8px; }
.dash .brief-meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 12px; margin-top: 8px; }
.dash .brief-meta a { font-family: var(--mono); font-size: 11px; letter-spacing: .04em; color: var(--ink-3); text-decoration: none; }
.dash .brief-meta a:hover { color: var(--accent-ink); }
.dash .brief-fb { display: flex; flex-wrap: wrap; gap: 4px; }
.dash .brief-fb button { font-family: var(--mono); font-size: 10.5px; letter-spacing: .04em; color: var(--ink-3); background: transparent; border: 1px solid var(--line-2); border-radius: 3px; padding: 4px 8px; min-height: 28px; cursor: pointer; }
.dash .brief-fb button:hover { color: var(--ink); border-color: var(--line); }
.dash .brief-fb button[aria-pressed="true"] { color: var(--accent-ink); border-color: var(--accent); background: var(--accent-soft); }
.dash .brief-tools { display: flex; gap: 6px; flex-wrap: wrap; }
.dash .brief-setup { display: grid; gap: 12px; padding: 6px 10px 8px; }
.dash .brief-strands { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.dash .brief-check { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; min-height: var(--tap); }
.dash .brief-check input { width: 18px; height: 18px; accent-color: var(--accent-ink); }
.dash .brief-styles { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 6px; }
.dash .brief-style { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center; padding: 8px 10px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: var(--inset); cursor: pointer; }
.dash .brief-style:has(input:checked) { border-color: var(--accent); }
.dash .brief-style input { grid-row: 1 / 3; accent-color: var(--accent-ink); }
.dash .brief-style b { font-size: 14px; font-weight: 500; }
.dash .brief-style small { font-size: 12px; color: var(--ink-3); line-height: 1.4; }

/* linked calendars (D3a): a line per feed under today's events, and the link form */
.dash .feeds { margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--line-2); }
.dash .feed { display: flex; align-items: center; gap: 10px; padding: 4px 12px; border-radius: 6px; }
.dash .feed::before { content: "●"; flex: none; font-size: 10px; color: var(--good); }
.dash .feed.stale::before { color: var(--warn); }
.dash .feed.error::before { color: var(--crit); }
.dash .feed .text { flex: 1 1 auto; min-width: 0; font-size: 14px; }
.dash .feed .text small { display: block; font-family: var(--mono); font-size: 11px; color: var(--ink-3); margin-top: 1px; }
.dash .feed.error .text small { color: var(--crit); }
.dash .feed-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; padding: 10px 10px 4px; margin-top: 8px; border-top: 1px solid var(--line-2); }
.dash .feed-form #feedLabel { grid-column: 1 / -1; }
.dash .feed-form .feed-hint, .dash .feed-form .cap-msg { grid-column: 1 / -1; margin: 2px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--ink-3); }
.dash .feed-form .feed-hint b { color: var(--ink-2); }

/* agents (D9): one link per run, agent badge, state tag */
.dash .run { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 6px; color: inherit; text-decoration: none; }
.dash .run:hover { background: var(--panel-2); }
.dash .run .agent { flex: none; font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; padding: 4px 7px; border-radius: 3px;
  background: var(--inset); border: 1px solid var(--line-2); color: var(--ink-2); }
.dash .run .agent.claude { color: var(--accent-ink); border-color: var(--accent); }
.dash .run .agent.codex { color: var(--teal-ink); border-color: var(--teal); }
.dash .run .text { flex: 1 1 auto; min-width: 0; font-size: 15px; line-height: 1.35; }
.dash .run .text small { display: block; font-family: var(--mono); font-size: 11px; color: var(--ink-3); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dash .run.ci-failing .text small { color: var(--crit); }
.dash .run.merged .text, .dash .run.closed .text { color: var(--ink-3); }
.dash .run .tag { padding-right: 0; }
.dash .tag.crit { color: var(--crit); }
.dash .tag.good { color: var(--good); }

/* lists tab, the sheets, focus management */
.dash.lists .list-nav { display: flex; flex-wrap: wrap; gap: 6px 4px; margin: 14px 0 0; }
.dash.lists .list-nav a { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); text-decoration: none; padding: 10px 12px; min-height: var(--tap); display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line-2); border-radius: 999px; }
.dash.lists .list-nav a:hover { border-color: var(--accent-ink); color: var(--ink); }
.dash.lists .list-nav a b { color: var(--accent-ink); font-weight: 500; }
.dash.lists .list-sec { margin-top: 18px; scroll-margin-top: 80px; }
.dash .engage { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; padding: 4px 10px 10px; }
.dash .cal-filters { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 10px 10px; }
.dash .cal-filters .btn.active { border-color: var(--accent-ink); color: var(--ink); }
.dash .row .icon-btn.edit { opacity: .55; }
.dash .row:hover .icon-btn.edit, .dash .row .icon-btn.edit:focus-visible { opacity: 1; }
.dash .row .text small { display: block; font-family: var(--mono); font-size: 11px; color: var(--ink-3); margin-top: 2px; font-weight: 400; }
.dash .mv { display: inline-flex; gap: 2px; flex: none; }
.dash .mv .icon-btn { width: 36px; }
.dash .mv .icon-btn:disabled { opacity: .25; cursor: default; }
.dash .pick, .dash .carry, .dash .record { margin: 8px 10px 4px; padding: 8px 4px 4px; border-top: 1px solid var(--line-2); }
.dash .hist { display: grid; grid-template-columns: 90px 90px 1fr 50px; gap: 10px; align-items: center; padding: 5px 8px; font-family: var(--mono); font-size: 11px; color: var(--ink-3); }
.dash .hist.miss .score:first-of-type { color: var(--warn); }
.dash .hist .bar { height: 4px; background: var(--inset); border-radius: 2px; overflow: hidden; }
.dash .hist .bar i { display: block; height: 100%; background: var(--accent); }
.dash .project-open { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-align: left; text-decoration: underline dotted var(--line); text-underline-offset: 3px; min-height: 28px; }
.dash .project-open:hover { color: var(--accent-ink); }
.dash .new-project { display: grid; gap: 10px; margin-top: 10px; padding: 12px 12px 10px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: var(--inset); }
.dash .new-project-btn { margin-top: 8px; }
.dash-sheet-bg { position: fixed; inset: 0; background: rgba(10, 13, 12, .72); display: none; align-items: flex-start; justify-content: center; padding: 48px 16px; overflow: auto; z-index: 40; }
.dash-sheet-bg.open { display: flex; }
.dash-sheet { width: min(720px, 100%); background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 20px 16px; animation: dash-rise .3s cubic-bezier(.2,.8,.2,1) both; }
.dash .sheet-title { margin: 0 0 14px; font-size: 20px; font-weight: 500; letter-spacing: -0.015em; }
.dash .sheet-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.dash .sheet-grid .span2, .dash .span2 { grid-column: 1 / -1; }
.dash .sheet-label { margin: 16px 0 4px; }
.dash .sheet-actions { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line-2); }
.dash .sheet-right { display: flex; gap: 8px; }
.dash .draftbox { white-space: pre-wrap; font-family: var(--mono); font-size: 12.5px; background: var(--inset); border: 1px solid var(--line-2); border-radius: var(--radius-sm); padding: 10px 12px; }
.dash input[aria-invalid="true"] { border-color: var(--crit); }

/* site conditions */
.dash .wx { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 4px 10px 8px; }
.dash .wx-day { background: var(--inset); border: 1px solid var(--line-2); border-radius: var(--radius-sm); padding: 12px 14px; }
.dash .wx-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.dash .wx-head .sky { font-size: 14px; font-weight: 500; }
.dash .wx-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 8px; }
.dash .wx-grid b { display: block; font-size: 22px; font-weight: 300; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.dash .wx-grid span { font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
@media (max-width: 420px) { .dash .wx { grid-template-columns: minmax(0, 1fr); } }

/* plans */
.dash.plans .hint { margin: 14px 0 0; max-width: 720px; font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.dash.plans .warn-ink { color: var(--warn); }
.dash .area { padding: 22px 0 18px; border-top: 1px solid var(--line-2); }
.dash .area-name { margin: 0 0 14px; font-size: 20px; font-weight: 500; letter-spacing: -0.015em; }
.dash .area-name small { font-family: var(--mono); font-size: 11px; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-left: 10px; }
.dash .area-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 18px; align-items: start; }
@media (max-width: 800px) { .dash .area-cols { grid-template-columns: minmax(0, 1fr); } }
.dash .goals, .dash .projects { background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 12px 8px 8px; }
.dash .goals .label, .dash .projects .label { padding: 0 10px 6px; }
.dash .project { padding: 10px 12px; border-radius: 6px; }
.dash .project:hover { background: var(--panel-2); }
.dash .project-title { font-size: 15px; font-weight: 500; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.dash .project-outcome { font-size: 13px; color: var(--ink-2); margin-top: 3px; line-height: 1.5; }
.dash .project-next { font-size: 13.5px; color: var(--accent-ink); margin-top: 6px; }
.dash .project-next.warn { color: var(--warn); }
.dash .project.orphan { border-left: 2px solid var(--warn); }
.dash .plans-foot { border-top: 1px solid var(--line-2); margin-top: 18px; padding: 12px 0 0; }
.dash .review-line { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 16px; padding: 10px 14px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: var(--panel); font-size: 14px; color: var(--ink-2); }
.dash .review-line.overdue { border-color: var(--warn); color: var(--warn); }

/* sync strip */
.dash .sync { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 20px; padding: 12px 0 0; border-top: 1px solid var(--line-2); font-family: var(--mono); font-size: 11px; letter-spacing: .06em; color: var(--ink-3); }
.dash .sync .src::before { content: "●"; margin-right: 7px; color: var(--good); }
.dash .sync .src.stale::before { color: var(--warn); }
.dash .sync .src.error::before { color: var(--crit); }
.dash .sync .src.stale, .dash .sync .src.error { color: var(--ink-2); }

@keyframes dash-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.dash .rise { animation: dash-rise .6s cubic-bezier(.2,.8,.2,1) both; }
@media (prefers-reduced-motion: reduce) {
  .dash .rise, .dash .ev.next .dot { animation: none; }
  .dash .row, .dash .tickbox, #tabs button { transition: none; }
}
