/* Hyperfocus app shell + board + task drawer.
   Board polish + right slide-in drawer ported 1:1 from Noa's mock
   (hyperfocus_task_drawer_mock.html). All values reference tokens.css. */

/* ----------------------------------------------------------------- top bar */
.topbar {
  display: flex; align-items: center; gap: var(--space-3);
  height: 52px; padding: 0 var(--space-6);
  background: var(--bg-base); border-bottom: 1px solid var(--border-subtle);
  position: sticky; top: 0; z-index: 20;
}
.brand { display: flex; align-items: center; gap: var(--space-3); }
.brand svg { width: 24px; height: 24px; display: block; }
.brand .wordmark { font-weight: 600; font-size: var(--fs-lg); letter-spacing: -0.01em; }
.topbar .spacer { flex: 1; }
.topbar .who { font-family: var(--font-mono); font-size: var(--fs-micro); color: var(--text-tertiary); }

/* ------------------------------------------------------------------- shell */
.shell { display: grid; grid-template-columns: 232px 1fr; height: calc(100vh - 52px); }
.sidebar {
  background: var(--bg-base); border-right: 1px solid var(--border-subtle);
  padding: var(--space-4) var(--space-3); overflow-y: auto;
}
.sidebar .label {
  font-size: var(--fs-micro); text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--text-tertiary); padding: 0 var(--space-2); margin-bottom: var(--space-2);
}
.nav-item {
  display: flex; align-items: center; gap: var(--space-2);
  padding: var(--space-2) var(--space-3); border-radius: var(--radius-md);
  color: var(--text-secondary); font-size: var(--fs-body);
  cursor: pointer; transition: background var(--dur-fast) var(--ease-out);
  min-height: 36px; user-select: none;
}
.nav-item:hover { background: var(--bg-surface); color: var(--text-primary); }
.nav-item.active { background: var(--accent-tint); color: var(--text-primary); }
.nav-item.active .dot { background: var(--accent); }
.nav-item .dot { width: 6px; height: 6px; border-radius: var(--radius-full); background: var(--text-tertiary); flex: none; }
.nav-item .count { margin-left: auto; font-family: var(--font-mono); font-size: var(--fs-micro); color: var(--text-tertiary); }
.nav-add {
  margin-top: var(--space-2); color: var(--text-tertiary);
  border: 1px dashed var(--border-default); background: transparent;
  width: 100%; text-align: left; padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md); font-size: var(--fs-body);
}
.nav-add:hover { color: var(--accent); border-color: var(--accent); }

/* -------------------------------------------------------------- board area */
.main { overflow: hidden; display: flex; flex-direction: column; }
.board-head {
  display: flex; align-items: center; gap: var(--space-3);
  height: 56px; flex: none; padding: 0 var(--space-6); border-bottom: 1px solid var(--border-subtle);
}
.board-title { font-size: var(--fs-lg); font-weight: 600; letter-spacing: -0.01em; }
.board-head .meta { font-family: var(--font-mono); font-size: var(--fs-micro); color: var(--text-tertiary); }
.board-head .spacer { flex: 1; }

/* board polish: 16px gaps, 24px gutter, 280px columns */
.board-scroll {
  display: flex; gap: var(--space-4); align-items: flex-start;
  padding: var(--space-6); overflow-x: auto; flex: 1;
}
.column {
  background: var(--bg-canvas); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg); flex: 1 1 0; min-width: 280px; max-width: 360px;
  display: flex; flex-direction: column; max-height: 100%; padding: var(--space-4);
}
.column-head {
  display: flex; align-items: center; gap: var(--space-2);
  height: 40px; padding: 0 var(--space-1); margin-bottom: var(--space-2);
}
.column-head .kind-dot { width: 6px; height: 6px; border-radius: var(--radius-full); flex: none; }
.kind-dot.todo { background: var(--text-tertiary); }
.kind-dot.doing { background: var(--accent); }
.kind-dot.done { background: var(--success); }
.column-head .name { font-weight: 600; font-size: var(--fs-micro); letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-secondary); }
.column-head .count { margin-left: auto; font-family: var(--font-mono); font-size: var(--fs-micro); color: var(--text-tertiary); }
.column-body { overflow-y: auto; display: flex; flex-direction: column; gap: 10px; min-height: 24px; }
.column-body.drag-over { background: var(--accent-tint); border-radius: var(--radius-md); }

/* --------------------------------------------------------- polished card */
.card {
  background: var(--bg-surface); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md); padding: 14px var(--space-4);
  box-shadow: var(--elev-1); cursor: pointer; position: relative;
  display: flex; flex-direction: column; gap: var(--space-2);
  transition: background var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out);
}
.card:hover { background: var(--bg-elevated); box-shadow: var(--elev-2); }
.card.selected { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--elev-2); }
.card.dragging { opacity: 0.5; }
.card.age-1 { border-left: 2px solid var(--border-strong); }
.card.age-2 { border-left: 2px solid var(--warning); }
.card.age-3 { border-left: 2px solid var(--danger); }
.card .title { font-size: var(--fs-body); font-weight: 500; color: var(--text-primary); line-height: 1.4; white-space: pre-wrap; word-break: break-word; }
.card .sel {
  position: absolute; top: var(--space-2); right: var(--space-2);
  width: 18px; height: 18px; border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong); background: var(--bg-input);
  display: grid; place-items: center; opacity: 0; transition: opacity var(--dur-fast); z-index: 2;
}
.card:hover .sel, .card.selected .sel { opacity: 1; }
.card.selected .sel { background: var(--accent); border-color: var(--accent); color: var(--text-inverse); }

/* category pill on card */
.card-cat { display: inline-flex; align-items: center; gap: 5px; font-size: 10px; font-weight: 600; letter-spacing: 0.3px; padding: 2px 7px; border-radius: var(--radius-sm); width: fit-content; }
.card-cat .catdot { width: 7px; height: 7px; border-radius: var(--radius-full); background: currentColor; flex: none; }
.cat-deep { background: var(--accent-tint); color: var(--cat-deep); }
.cat-ops { background: rgba(61,166,224,0.14); color: var(--cat-ops); }
.cat-growth { background: rgba(52,199,123,0.14); color: var(--cat-growth); }
.cat-creative { background: rgba(224,136,61,0.14); color: var(--cat-creative); }
.cat-personal { background: rgba(199,108,208,0.14); color: var(--cat-personal); }
.cat-bug { background: var(--danger-tint); color: var(--cat-bug); }
.cat-none { background: var(--bg-pressed); color: var(--text-tertiary); }

.progress-mini { height: 3px; border-radius: 2px; background: var(--bg-pressed); overflow: hidden; }
.progress-mini > i { display: block; height: 100%; background: var(--accent); border-radius: 2px; }
.card-foot { display: flex; align-items: center; gap: var(--space-3); }
.metachip { display: inline-flex; align-items: center; gap: 4px; font-family: var(--font-mono); font-size: 10px; color: var(--text-tertiary); }
.metachip svg { width: 12px; height: 12px; }
.card-foot .pri { font-size: 10px; font-weight: 600; letter-spacing: 0.2px; padding: 1px 6px; border-radius: var(--radius-sm); }
.pri-high { background: var(--danger-tint); color: var(--danger); }
.pri-med { background: var(--warning-tint); color: var(--warning); }
.pri-low { background: var(--accent-tint); color: var(--accent); }
.card-foot .budget { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; font-family: var(--font-mono); font-size: 10px; color: var(--text-tertiary); }

/* member avatars — Noa system (hyperfocus_avatar_mock.html): 8 hand-tuned jewel
   tones that sit inside the cool-slate canvas, stable per member (djb2 % 8),
   Inter 600 initials. Solo avatar carries no ring (its fill separates it). */
.av { border-radius: var(--radius-full); display: grid; place-items: center;
      font-family: var(--font-sans); font-weight: 600; line-height: 1; flex: none; user-select: none; }
.av.xs { width: 18px; height: 18px; font-size: 9px;  letter-spacing: 0.2px; }
.av.sm { width: 22px; height: 22px; font-size: 10px; letter-spacing: 0.2px; }
.av.md { width: 28px; height: 28px; font-size: 12px; letter-spacing: 0.1px; }
.av.lg { width: 40px; height: 40px; font-size: 15px; letter-spacing: 0; }
.av.xl { width: 64px; height: 64px; font-size: 24px; letter-spacing: -0.2px; }
.av.av-0 { background: #4A3FA0; color: #D8D2FF; }  /* iris-deep    */
.av.av-1 { background: #1F5E48; color: #B6F0D6; }  /* emerald      */
.av.av-2 { background: #6B4A1F; color: #F0D6B6; }  /* amber-bronze */
.av.av-3 { background: #2E4A7A; color: #C8DAF5; }  /* slate-blue   */
.av.av-4 { background: #6B2C66; color: #F2CDEE; }  /* magenta      */
.av.av-5 { background: #1C5266; color: #A6E0EE; }  /* cyan-steel   */
.av.av-6 { background: #7A3340; color: #F5C9CF; }  /* clay-rose    */
.av.av-7 { background: #4D5320; color: #DDE8AE; }  /* olive        */

/* timers / budget states */
.card.running { border-color: var(--accent-tint-strong); box-shadow: 0 0 0 1px var(--accent-tint-strong), var(--elev-1); }
.card-foot .timer { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; font-family: var(--font-mono); font-size: 10px; color: var(--timer-running); }
.card-foot .timer.warn { color: var(--timer-warn); }
.card-foot .timer.over { color: var(--timer-over); }
.pulse { width: 6px; height: 6px; border-radius: var(--radius-full); background: var(--timer-running); box-shadow: 0 0 0 0 rgba(46,190,126,0.5); animation: pulse 1600ms var(--ease-out) infinite; flex: none; }
.timer.warn .pulse { background: var(--timer-warn); box-shadow: 0 0 0 0 rgba(240,180,41,0.5); }
.timer.over .pulse { background: var(--timer-over); box-shadow: 0 0 0 0 rgba(224,85,107,0.5); }
@keyframes pulse { to { box-shadow: 0 0 0 6px rgba(46,190,126,0); } }
.card.alarm { animation: alarmflash 900ms ease-in-out infinite; }
@keyframes alarmflash { 0%,100% { box-shadow: 0 0 0 1px var(--danger), var(--elev-2); } 50% { box-shadow: 0 0 0 3px var(--danger), var(--elev-2); } }
.timer-btn { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: var(--radius-full); border: 1px solid var(--border-default); background: transparent; color: var(--text-secondary); font-family: var(--font-mono); font-size: 11px; cursor: pointer; transition: background var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out); }
.timer-btn:hover { border-color: var(--accent); color: var(--text-primary); }
.timer-btn.running { background: var(--success-tint); border-color: transparent; color: var(--timer-running); }
.budget-bar > i.warn { background: var(--timer-warn); }
.budget-bar > i.over { background: var(--timer-over); }

/* quick add */
.quick-add { padding-top: var(--space-2); }
.quick-add input {
  width: 100%; background: transparent; border: 1px dashed var(--border-default);
  color: var(--text-primary); border-radius: var(--radius-md);
  padding: var(--space-2) var(--space-3); font-size: var(--fs-body); font-family: inherit;
}
.quick-add input::placeholder { color: var(--text-tertiary); }
.quick-add input:focus { outline: none; border-color: var(--accent); border-style: solid; background: var(--bg-base); }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; gap: var(--space-2); height: 36px;
  padding: 0 var(--space-4); border-radius: var(--radius-md); font-size: var(--fs-body);
  border: 1px solid var(--border-default); background: var(--bg-surface); color: var(--text-primary);
  transition: background var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.btn:hover { background: var(--bg-elevated); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--text-inverse); font-weight: 500; box-shadow: var(--elev-1); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { background: transparent; border-color: transparent; color: var(--text-secondary); }
.btn-ghost:hover { background: var(--bg-surface); color: var(--text-primary); }
.btn-danger { background: var(--danger-tint); border-color: transparent; color: var(--danger); }
.btn-danger:hover { background: var(--danger); color: #fff; }
.btn-sm { height: 30px; padding: 0 var(--space-3); font-size: var(--fs-small); }

/* --------------------------------------------------------------- bulk bar */
.bulk-bar {
  position: fixed; left: 50%; bottom: var(--space-6); transform: translateX(-50%);
  display: flex; align-items: center; gap: var(--space-3);
  background: var(--bg-elevated); border: 1px solid var(--border-strong);
  box-shadow: var(--elev-3); border-radius: var(--radius-full);
  padding: var(--space-2) var(--space-3) var(--space-2) var(--space-4); z-index: 45;
  animation: slideUp var(--dur-normal) var(--ease-out);
}
.bulk-bar .n { font-family: var(--font-mono); font-size: var(--fs-small); color: var(--accent); }
.bulk-bar .sep { width: 1px; height: 20px; background: var(--border-default); }
@keyframes slideUp { from { transform: translate(-50%, 12px); opacity: 0; } to { transform: translate(-50%, 0); opacity: 1; } }

/* ------------------------------------------------------------------ modal */
.modal-overlay {
  position: fixed; inset: 0; background: var(--bg-overlay); z-index: 50;
  display: grid; place-items: center; animation: fade var(--dur-fast) var(--ease-out);
}
.modal {
  background: var(--bg-elevated); border: 1px solid var(--border-default);
  border-radius: var(--radius-lg); box-shadow: var(--elev-3);
  width: 420px; max-width: calc(100vw - 32px); padding: var(--space-6);
}
.modal h3 { margin: 0 0 var(--space-4); font-size: var(--fs-lg); font-weight: 600; }
.modal label { display: block; font-size: var(--fs-small); color: var(--text-secondary); margin: var(--space-3) 0 var(--space-1); }
.modal input, .modal select {
  width: 100%; background: var(--bg-input); border: 1px solid var(--border-default);
  color: var(--text-primary); border-radius: var(--radius-md);
  padding: var(--space-2) var(--space-3); font-size: var(--fs-body); font-family: inherit;
}
.modal input:focus, .modal select:focus { outline: none; border-color: var(--accent); }
.modal .actions { display: flex; justify-content: flex-end; gap: var(--space-2); margin-top: var(--space-6); }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ============================================================ TASK DRAWER */
.scrim { position: fixed; inset: 0; background: var(--bg-overlay); z-index: 55; animation: fade var(--dur-normal) var(--ease-out); }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: var(--drawer-w); max-width: 100vw;
  background: var(--bg-base); border-left: 1px solid var(--border-default);
  box-shadow: var(--elev-drawer); z-index: 56;
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform var(--dur-normal) var(--ease-out);
}
.drawer.open { transform: translateX(0); }
.dwr-inner { display: flex; flex-direction: column; height: 100%; }

.dwr-head { flex: none; height: 56px; display: flex; align-items: center; gap: var(--space-3); padding: 0 var(--space-6); border-bottom: 1px solid var(--border-subtle); }
.complete-pill {
  display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 14px;
  border-radius: var(--radius-full); background: transparent; border: 1px solid var(--border-default);
  color: var(--text-secondary); font-size: var(--fs-small); font-weight: 500; font-family: inherit;
  cursor: pointer; transition: all var(--dur-fast) var(--ease-out);
}
.complete-pill:hover { border-color: var(--success); color: var(--success); }
.complete-pill.done { background: var(--success-tint); border-color: transparent; color: var(--success); }
.complete-pill svg { width: 15px; height: 15px; }
.dwr-head .spacer { flex: 1; }
.icon-btn { width: 32px; height: 32px; border-radius: var(--radius-md); display: grid; place-items: center; background: transparent; border: none; color: var(--text-tertiary); cursor: pointer; transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out); }
.icon-btn:hover { background: var(--bg-elevated); color: var(--text-primary); }

.dwr-body { flex: 1; overflow-y: auto; padding: var(--space-6); }
.dwr-title {
  width: 100%; background: transparent; border: none; color: var(--text-primary);
  font-size: 22px; font-weight: 600; letter-spacing: -0.4px; line-height: 1.25; font-family: inherit;
  padding: 6px var(--space-2); margin-left: calc(-1 * var(--space-2)); border-radius: var(--radius-md);
}
.dwr-title:hover { background: var(--bg-surface); }
.dwr-title:focus { outline: none; background: var(--bg-surface); box-shadow: inset 0 0 0 1px var(--accent); }
.dwr-breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--text-tertiary); margin: var(--space-1) 0 var(--space-6); padding-left: var(--space-1); }

/* label:value rows */
.rows { display: flex; flex-direction: column; }
.row { display: flex; align-items: center; min-height: var(--row-h); padding: var(--space-1) var(--space-2); margin: 0 calc(-1 * var(--space-2)); border-radius: var(--radius-md); transition: background var(--dur-fast) var(--ease-out); }
.row:hover { background: var(--bg-surface); }
.row .label { width: var(--label-w); flex: none; font-size: 12px; color: var(--text-secondary); display: flex; align-items: center; gap: 8px; }
.row .label svg { width: 15px; height: 15px; color: var(--text-tertiary); flex: none; }
.row .value { flex: 1; display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 13px; color: var(--text-primary); }
.dwr-control {
  background: transparent; border: 1px solid transparent; color: var(--text-primary);
  font-family: inherit; font-size: 13px; border-radius: var(--radius-md);
  padding: 4px 8px; margin-left: -8px; cursor: pointer; max-width: 100%;
  transition: background var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.dwr-control:hover { background: var(--bg-elevated); }
.dwr-control:focus { outline: none; border-color: var(--accent); background: var(--bg-input); cursor: text; }
select.dwr-control { cursor: pointer; }
/* strip native number-input spinner arrows everywhere — off-brand, replaced by clean fields */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; appearance: none; margin: 0; }
input[type="number"] { -moz-appearance: textfield; appearance: textfield; }
.time-val { font-family: var(--font-mono); font-size: 13px; }
.budget-bar { flex: 1; max-width: 180px; height: 6px; border-radius: 3px; background: var(--bg-pressed); overflow: hidden; }
.budget-bar > i { display: block; height: 100%; border-radius: 3px; background: var(--accent); }

.dwr-section { margin-top: var(--space-6); padding-top: var(--space-6); border-top: 1px solid var(--border-subtle); }
.dwr-section-label { font-size: 10px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: var(--text-tertiary); margin-bottom: var(--space-3); }
.desc {
  width: 100%; background: var(--bg-input); border: 1px solid var(--border-default);
  color: var(--text-secondary); font-size: 13px; line-height: 1.6; font-family: inherit;
  border-radius: var(--radius-md); padding: var(--space-3); resize: vertical;
}
.desc:focus { outline: none; border-color: var(--accent); color: var(--text-primary); }

/* checklist / subtasks */
.check-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--space-3); }
.check-progress { display: flex; align-items: center; gap: var(--space-2); }
.check-progress .bar { width: 120px; height: 6px; border-radius: 3px; background: var(--bg-pressed); overflow: hidden; }
.check-progress .bar > i { display: block; height: 100%; background: var(--accent); border-radius: 3px; transition: width var(--dur-normal) var(--ease-out); }
.check-progress .frac { font-family: var(--font-mono); font-size: 11px; color: var(--text-tertiary); }
.sub { display: flex; align-items: center; gap: var(--space-3); min-height: 40px; padding: var(--space-1) var(--space-2); margin: 0 calc(-1 * var(--space-2)); border-radius: var(--radius-md); transition: background var(--dur-fast) var(--ease-out); }
.sub:hover { background: var(--bg-surface); }
.sub .box { width: 18px; height: 18px; border-radius: var(--radius-sm); border: 1.5px solid var(--border-strong); flex: none; display: grid; place-items: center; cursor: pointer; transition: all var(--dur-fast) var(--ease-out); color: var(--text-inverse); }
.sub .box svg { width: 11px; height: 11px; opacity: 0; }
.sub.done .box { background: var(--accent); border-color: var(--accent); }
.sub.done .box svg { opacity: 1; }
.sub .stext { flex: 1; font-size: 13px; color: var(--text-primary); }
.sub.done .stext { color: var(--text-tertiary); text-decoration: line-through; }
.sub .chk-del { background: none; border: none; color: var(--text-tertiary); font-size: 16px; line-height: 1; padding: 0 var(--space-1); cursor: pointer; opacity: 0; }
.sub:hover .chk-del { opacity: 1; }
.sub .chk-del:hover { color: var(--danger); }
.sub-add { width: 100%; background: transparent; border: 1px dashed var(--border-default); color: var(--text-tertiary); border-radius: var(--radius-md); font-family: inherit; font-size: var(--fs-small); padding: var(--space-2) var(--space-3); margin-top: var(--space-2); }
.sub-add:focus { outline: none; border-color: var(--accent); border-style: solid; color: var(--text-primary); }

/* activity / notes */
.activity { display: flex; flex-direction: column; gap: var(--space-3); }
.note-row { background: var(--bg-surface); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); padding: var(--space-2) var(--space-3); }
.note-meta { font-family: var(--font-mono); font-size: var(--fs-micro); color: var(--text-tertiary); margin-bottom: 2px; }
.note-text { font-size: 13px; line-height: 1.5; white-space: pre-wrap; word-break: break-word; }

/* sticky composer */
.composer { flex: none; border-top: 1px solid var(--border-subtle); background: var(--bg-base); padding: var(--space-3) var(--space-6); }
.composer-input { display: flex; align-items: center; gap: var(--space-2); background: var(--bg-input); border: 1px solid var(--border-default); border-radius: var(--radius-md); padding: var(--space-1) var(--space-1) var(--space-1) var(--space-3); transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out); }
.composer-input:focus-within { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-tint-strong); }
.composer-input input { flex: 1; background: transparent; border: none; color: var(--text-primary); font-family: inherit; font-size: 13px; padding: 8px 0; }
.composer-input input:focus { outline: none; }
.composer-input input::placeholder { color: var(--text-tertiary); }
.send-btn { width: 32px; height: 32px; border-radius: var(--radius-md); background: var(--accent); border: none; display: grid; place-items: center; color: var(--text-inverse); cursor: pointer; flex: none; }
.send-btn:hover { background: var(--accent-hover); }
.send-btn svg { width: 15px; height: 15px; }
.dwr-footer-actions { display: flex; align-items: center; gap: var(--space-2); margin-top: var(--space-6); padding-top: var(--space-4); border-top: 1px solid var(--border-subtle); }

/* ------------------------------------------------------------- empty / toast */
.empty { text-align: center; color: var(--text-tertiary); padding: var(--space-12); margin: auto; max-width: 360px; }
.empty svg { width: 40px; height: 40px; opacity: 0.5; margin-bottom: var(--space-4); }
.empty p { font-size: var(--fs-body); }
.toast {
  position: fixed; bottom: var(--space-6); right: var(--space-6); z-index: 60;
  background: var(--bg-elevated); border: 1px solid var(--border-default);
  border-left: 3px solid var(--accent); border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4); box-shadow: var(--elev-3); font-size: var(--fs-small);
  animation: slideUp var(--dur-normal) var(--ease-out);
}

/* mobile / PWA: drop the sidebar, board + drawer go full-width */
@media (max-width: 700px) {
  .shell { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .drawer { width: 100vw; }
  .board-scroll { padding: var(--space-3); }
}
