/* =================================================================
   Kolamafushi Council — Task Assigner
   Design tokens
   ================================================================= */
:root {
  --bg:            #F3F7F7;
  --surface:       #FFFFFF;
  --surface-2:     #EDF3F3;
  --ink:           #142B2E;
  --ink-muted:     #5B6E72;
  --ink-faint:     #92A3A6;
  --border:        #DCE6E6;
  --border-soft:   #E8EFEF;

  --primary:       #0E5C63;
  --primary-dark:  #093B40;
  --primary-light: #E4F0EF;

  --accent:        #E2703A;
  --accent-light:  #FBEAE0;

  --success:       #1F8253;
  --success-bg:    #E4F5EC;
  --warning:       #B8841F;
  --warning-bg:    #FBF1DD;
  --danger:        #C6482E;
  --danger-bg:     #FBEAE5;
  --slate-bg:      #EDF1F1;

  --radius-sm: 7px;
  --radius:    12px;
  --radius-lg: 18px;

  --shadow-sm: 0 1px 2px rgba(20,43,46,.07);
  --shadow:    0 8px 24px rgba(15,40,43,.09);
  --shadow-lg: 0 16px 40px rgba(15,40,43,.14);

  --font-display: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;
  --font-mono:    'IBM Plex Mono', ui-monospace, SFMono-Regular, monospace;

  --sidebar-w: 250px;
  --topbar-h: 58px;
  --bottomnav-h: 60px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 4px; }
svg { width: 20px; height: 20px; fill: currentColor; flex-shrink: 0; }

/* Signature tide-line motif */
.tide { width: 100%; height: 24px; }
.tide path { fill: none; stroke: var(--primary); stroke-width: 2.4; stroke-linecap: round; opacity: .55; }
.tide-sm { height: 16px; margin-bottom: 14px; }

/* =================================================================
   Buttons, forms, notices — shared across auth + app
   ================================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: .92rem;
  padding: 11px 18px; border-radius: var(--radius-sm); border: 1px solid transparent;
  cursor: pointer; transition: transform .08s ease, background .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-secondary { background: var(--surface); color: var(--ink); border-color: var(--border); }
.btn-secondary:hover { background: var(--surface-2); }
.btn-ghost { background: transparent; color: var(--ink-muted); }
.btn-ghost:hover { background: var(--surface-2); color: var(--ink); }
.btn-danger { background: var(--danger-bg); color: var(--danger); }
.btn-danger:hover { background: var(--danger); color: #fff; }
.btn-sm { padding: 7px 12px; font-size: .82rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field span { font-size: .82rem; font-weight: 600; color: var(--ink-muted); }
input, select, textarea {
  font-family: inherit; font-size: .95rem; color: var(--ink);
  padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: var(--surface); width: 100%;
}
textarea { resize: vertical; min-height: 80px; }
input:focus, select:focus, textarea:focus { border-color: var(--primary); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }

.notice { padding: 10px 13px; border-radius: var(--radius-sm); font-size: .87rem; margin-bottom: 14px; }
.notice-error { background: var(--danger-bg); color: var(--danger); }
.notice-warn { background: var(--warning-bg); color: var(--warning); }
.notice-info { background: var(--primary-light); color: var(--primary-dark); }

/* =================================================================
   Auth screens (login / install)
   ================================================================= */
.auth-body { background: var(--primary-dark); }
.auth-shell {
  min-height: 100vh; display: grid; grid-template-columns: 1.1fr 1fr;
}
.auth-brand {
  background: linear-gradient(165deg, var(--primary-dark), var(--primary) 120%);
  color: #fff; padding: 56px; display: flex; flex-direction: column; justify-content: center;
  position: relative; overflow: hidden;
}
.auth-brand .tide { max-width: 340px; }
.auth-brand .tide path { stroke: #EAF3F2; opacity: .5; }
.auth-brand-text .eyebrow { font-size: .78rem; letter-spacing: .09em; text-transform: uppercase; color: #A9D4CF; font-weight: 600; }
.auth-brand-text h1 { font-size: 2.5rem; line-height: 1.12; margin: 14px 0 16px; font-weight: 700; }
.auth-brand-text p { color: #C9E3E0; font-size: 1rem; max-width: 360px; line-height: 1.5; }
.auth-panel { display: flex; align-items: center; justify-content: center; background: var(--bg); padding: 32px; }
.auth-form { width: 100%; max-width: 340px; }
.auth-form h2 { font-size: 1.5rem; margin-bottom: 6px; }
.auth-sub { color: var(--ink-muted); font-size: .9rem; margin-bottom: 22px; line-height: 1.4; }
.auth-form .btn { margin-top: 6px; }
.auth-form code { background: var(--surface-2); padding: 1px 6px; border-radius: 4px; font-family: var(--font-mono); font-size: .82em; }

@media (max-width: 760px) {
  .auth-shell { grid-template-columns: 1fr; }
  .auth-brand { padding: 40px 28px; }
  .auth-brand-text h1 { font-size: 1.9rem; }
  .auth-panel { padding: 28px; }
}

/* =================================================================
   App shell
   ================================================================= */
.app-shell {
  display: grid;
  grid-template-columns: var(--sidebar-w) 1fr;
  min-height: 100vh;
}

.sidebar {
  background: var(--primary-dark); color: #EAF3F2;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 24px 16px; position: sticky; top: 0; height: 100vh;
}
.sidebar-top .tide-sm path { stroke: #7FB8B2; }
.brand { display: flex; flex-direction: column; padding: 0 8px; }
.brand-eyebrow { font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: #8FC2BC; font-weight: 600; }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; margin-top: 2px; }

.nav { display: flex; flex-direction: column; gap: 2px; margin-top: 30px; }
.nav-link {
  display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: var(--radius-sm);
  color: #C7E1DD; font-weight: 500; font-size: .92rem; position: relative; transition: background .15s ease;
}
.nav-link svg { opacity: .8; }
.nav-link:hover { background: rgba(255,255,255,.06); color: #fff; }
.nav-link.active { background: rgba(255,255,255,.12); color: #fff; }
.nav-link .badge { margin-left: auto; }

.sidebar-bottom { display: flex; align-items: center; justify-content: space-between; padding: 0 8px; }
.me { display: flex; align-items: center; gap: 10px; min-width: 0; cursor: pointer; border-radius: var(--radius-sm); padding: 4px 6px; margin: -4px -6px; transition: background .15s ease; }
.me:hover { background: rgba(255,255,255,.07); }
.me-avatar {
  width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-family: var(--font-display);
  flex-shrink: 0;
}
.me-text { display: flex; flex-direction: column; min-width: 0; }
.me-name { font-size: .87rem; font-weight: 600; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 130px; }
.me-role { font-size: .74rem; color: #8FC2BC; }
.logout-link { color: #A9D4CF; padding: 8px; border-radius: var(--radius-sm); }
.logout-link:hover { background: rgba(255,255,255,.08); color: #fff; }

.badge {
  background: var(--accent); color: #fff; font-size: .68rem; font-weight: 700;
  min-width: 18px; height: 18px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; padding: 0 5px;
}
.badge-dot { width: 9px; height: 9px; min-width: 0; padding: 0; position: absolute; top: 6px; right: 6px; }

.topbar { display: none; }
.sidebar-scrim { display: none; }

.content { padding: 32px 40px 60px; max-width: 1180px; }

/* =================================================================
   Mobile layout
   ================================================================= */
@media (max-width: 900px) {
  .app-shell { grid-template-columns: 1fr; }
  .sidebar {
    position: fixed; left: 0; top: 0; z-index: 40; width: 260px;
    transform: translateX(-100%); transition: transform .22s ease; box-shadow: var(--shadow-lg);
  }
  .sidebar.open { transform: translateX(0); }
  .sidebar-scrim {
    display: none; position: fixed; inset: 0; background: rgba(9,20,22,.45); z-index: 35;
  }
  .sidebar-scrim.open { display: block; }

  .topbar {
    display: flex; align-items: center; gap: 12px; height: var(--topbar-h);
    padding: 0 14px; background: var(--surface); border-bottom: 1px solid var(--border);
    position: sticky; top: 0; z-index: 20;
  }
  .topbar-title { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; flex: 1; }
  .icon-btn {
    background: none; border: none; color: var(--ink); padding: 8px; border-radius: var(--radius-sm);
    display: inline-flex; position: relative; cursor: pointer;
  }
  .icon-btn:hover { background: var(--surface-2); }

  .content { padding: 20px 16px calc(var(--bottomnav-h) + 28px); }

  .bottom-nav {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0; height: var(--bottomnav-h);
    background: var(--surface); border-top: 1px solid var(--border); z-index: 20;
  }
  .bottom-nav a {
    flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
    color: var(--ink-faint); font-size: .68rem; font-weight: 600;
  }
  .bottom-nav a svg { width: 21px; height: 21px; }
  .bottom-nav a.active { color: var(--primary); }
}
@media (min-width: 901px) {
  .bottom-nav { display: none; }
}

/* =================================================================
   Content: page header, stat cards, sections
   ================================================================= */
.page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.page-head h1 { font-size: 1.6rem; }
.page-head p { color: var(--ink-muted); font-size: .9rem; margin-top: 4px; }

.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin-bottom: 30px; }
.stat-card {
  background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--radius);
  padding: 18px 18px 16px; box-shadow: var(--shadow-sm);
}
.stat-card .num { font-family: var(--font-mono); font-size: 1.7rem; font-weight: 500; color: var(--ink); }
.stat-card .label { font-size: .8rem; color: var(--ink-muted); margin-top: 4px; }
.stat-card.accent-pending .num { color: var(--ink-muted); }
.stat-card.accent-progress .num { color: var(--primary); }
.stat-card.accent-semi .num { color: var(--warning); }
.stat-card.accent-finished .num { color: var(--success); }
.stat-card.accent-incomplete .num { color: var(--danger); }

.section { margin-bottom: 34px; }
.section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; gap: 12px; flex-wrap: wrap; }
.section-head h2 { font-size: 1.1rem; }
.section-head .hint { font-size: .82rem; color: var(--ink-muted); }

.empty-state {
  border: 1.5px dashed var(--border); border-radius: var(--radius); padding: 34px 20px;
  text-align: center; color: var(--ink-muted); font-size: .9rem;
}
.empty-state strong { display: block; color: var(--ink); font-family: var(--font-display); font-size: 1rem; margin-bottom: 4px; }

.loading-state { color: var(--ink-muted); padding: 40px 0; font-size: .9rem; }

/* =================================================================
   Status pills + progress
   ================================================================= */
.status-pill {
  display: inline-flex; align-items: center; gap: 6px; font-size: .76rem; font-weight: 700;
  padding: 4px 10px; border-radius: 20px; text-transform: uppercase; letter-spacing: .03em; white-space: nowrap;
}
.status-pill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-pending       { background: var(--slate-bg);   color: var(--ink-muted); }
.status-in_progress   { background: var(--primary-light); color: var(--primary-dark); }
.status-semi_finished { background: var(--warning-bg); color: var(--warning); }
.status-finished      { background: var(--success-bg); color: var(--success); }
.status-incomplete    { background: var(--danger-bg);  color: var(--danger); }

.progress-track { height: 6px; background: var(--slate-bg); border-radius: 4px; overflow: hidden; }
.progress-fill { height: 100%; border-radius: 4px; background: var(--primary); transition: width .25s ease; }
.progress-fill.is-incomplete { background: var(--danger); }
.progress-fill.is-finished { background: var(--success); }

/* Countdown box shown when a task is opened */
.countdown-box {
  display: flex; align-items: baseline; gap: 10px; background: var(--surface-2);
  border-radius: var(--radius-sm); padding: 12px 14px; margin: 14px 0 4px;
}
.countdown-label { font-size: .7rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-muted); font-weight: 700; }
.countdown-value { font-family: var(--font-mono); font-size: 1.05rem; font-weight: 600; color: var(--ink); }
.countdown-box.is-ok .countdown-value { color: var(--primary-dark); }
.countdown-box.is-urgent { background: var(--warning-bg); }
.countdown-box.is-urgent .countdown-value { color: var(--warning); }
.countdown-box.is-overdue { background: var(--danger-bg); }
.countdown-box.is-overdue .countdown-value { color: var(--danger); }
.countdown-box.is-finished { background: var(--success-bg); }
.countdown-box.is-finished .countdown-value { color: var(--success); }

/* =================================================================
   Filter bar / tabs
   ================================================================= */
.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.chip {
  border: 1px solid var(--border); background: var(--surface); color: var(--ink-muted);
  padding: 7px 14px; border-radius: 20px; font-size: .82rem; font-weight: 600; cursor: pointer;
}
.chip:hover { border-color: var(--primary); color: var(--primary); }
.chip.active { background: var(--primary); border-color: var(--primary); color: #fff; }

/* =================================================================
   Task cards
   ================================================================= */
.task-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.task-card {
  background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--radius);
  padding: 16px 18px; box-shadow: var(--shadow-sm); cursor: pointer; transition: box-shadow .15s ease, border-color .15s ease;
  display: flex; flex-direction: column; gap: 10px;
}
.task-card:hover { box-shadow: var(--shadow); border-color: var(--border); }
.task-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.task-card h3 { font-size: 1rem; font-weight: 600; line-height: 1.35; }
.task-card .meta { font-size: .78rem; color: var(--ink-muted); display: flex; flex-wrap: wrap; gap: 4px 10px; }
.task-card .meta.overdue { color: var(--danger); font-weight: 600; }
.task-card .desc { font-size: .84rem; color: var(--ink-muted); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* =================================================================
   Banners (transfer requests)
   ================================================================= */
.banner-list { display: flex; flex-direction: column; gap: 10px; }
.banner {
  background: var(--accent-light); border: 1px solid #F0C4A9; border-radius: var(--radius);
  padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
}
.banner p { font-size: .87rem; line-height: 1.4; }
.banner .banner-actions { display: flex; gap: 8px; }

/* =================================================================
   Users list (admin)
   ================================================================= */
.user-list { display: flex; flex-direction: column; gap: 10px; }
.user-row {
  background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--radius);
  padding: 14px 16px; display: flex; align-items: center; gap: 14px; box-shadow: var(--shadow-sm); flex-wrap: wrap;
}
.user-row .me-avatar { background: var(--primary); }
.user-row .u-info { flex: 1; min-width: 160px; }
.user-row .u-name { font-weight: 600; font-size: .95rem; display: flex; align-items: center; gap: 8px; }
.role-tag {
  font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em;
  padding: 2px 8px; border-radius: 10px; background: var(--primary-light); color: var(--primary-dark);
}
.role-tag.role-user { background: var(--slate-bg); color: var(--ink-muted); }
.role-tag.role-super { background: var(--accent-light); color: var(--accent); }
.u-username { font-size: .8rem; color: var(--ink-muted); font-family: var(--font-mono); }
.u-stats { display: flex; gap: 16px; font-size: .78rem; color: var(--ink-muted); }
.u-stats b { color: var(--ink); font-family: var(--font-mono); font-weight: 500; }
.u-actions { display: flex; gap: 8px; }

/* =================================================================
   Notifications list
   ================================================================= */
.notif-list { display: flex; flex-direction: column; gap: 2px; }
.notif-item {
  display: flex; gap: 12px; padding: 14px 12px; border-radius: var(--radius-sm); cursor: pointer;
  border-bottom: 1px solid var(--border-soft);
}
.notif-item:hover { background: var(--surface-2); }
.notif-item.unread { background: var(--primary-light); }
.notif-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-top: 6px; flex-shrink: 0; }
.notif-item.unread .notif-dot { background: var(--accent); }
.notif-item:not(.unread) .notif-dot { background: transparent; }
.notif-text { flex: 1; }
.notif-msg { font-size: .89rem; line-height: 1.4; }
.notif-time { font-size: .76rem; color: var(--ink-faint); margin-top: 3px; }

/* =================================================================
   Modal
   ================================================================= */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(9,20,22,.5); z-index: 60;
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.modal-overlay[hidden] { display: none; }
.modal {
  background: var(--surface); border-radius: var(--radius-lg); width: 100%; max-width: 520px;
  max-height: 88vh; display: flex; flex-direction: column; box-shadow: var(--shadow-lg);
}
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--border-soft); }
.modal-head h3 { font-size: 1.1rem; }
.modal-body { padding: 20px; overflow-y: auto; }

/* =================================================================
   Task detail (inside modal)
   ================================================================= */
.detail-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .84rem; color: var(--ink-muted); margin: 10px 0 16px; }
.detail-desc { font-size: .9rem; line-height: 1.55; color: var(--ink); margin-bottom: 18px; white-space: pre-wrap; }
.detail-block { margin-bottom: 20px; }
.detail-block h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-muted); margin-bottom: 10px; }
.detail-block h4 .hint { text-transform: none; letter-spacing: 0; font-weight: 500; font-size: .95em; }
.status-options { display: flex; flex-wrap: wrap; gap: 8px; }
.status-opt {
  border: 1.5px solid var(--border); background: var(--surface); padding: 8px 13px; border-radius: 20px;
  font-size: .82rem; font-weight: 600; cursor: pointer; color: var(--ink-muted);
}
.status-opt.active { border-color: var(--primary); background: var(--primary-light); color: var(--primary-dark); }

/* Assignee chips shown on task cards (compact avatar + status dot) */
.assignee-row { display: flex; flex-wrap: wrap; gap: 8px; }
.assignee-chip { position: relative; display: inline-flex; cursor: default; }
.assignee-chip-avatar {
  width: 26px; height: 26px; border-radius: 50%; background: var(--primary-light); color: var(--primary-dark);
  display: flex; align-items: center; justify-content: center; font-size: .68rem; font-weight: 700; font-family: var(--font-display);
  border: 2px solid var(--surface);
}
.assignee-chip-dot {
  position: absolute; bottom: -1px; right: -1px; width: 9px; height: 9px; border-radius: 50%;
  border: 2px solid var(--surface);
}
.status-dot-pending { background: var(--ink-faint); }
.status-dot-in_progress { background: var(--primary); }
.status-dot-semi_finished { background: var(--warning); }
.status-dot-finished { background: var(--success); }
.status-dot-incomplete { background: var(--danger); }

/* Assignee list inside the task detail modal (People & progress) */
.assignee-list { display: flex; flex-direction: column; gap: 6px; }
.assignee-detail-row {
  display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: var(--radius-sm);
  background: var(--surface-2); flex-wrap: wrap;
}
.assignee-avatar {
  width: 28px; height: 28px; border-radius: 50%; background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: .7rem; font-weight: 700;
  font-family: var(--font-display); flex-shrink: 0;
}
.ad-name { font-size: .86rem; font-weight: 600; flex: 1; min-width: 80px; }
.ad-name em { color: var(--ink-faint); font-style: normal; font-weight: 500; }

/* Multi-select checklist (used when assigning a task to a group) */
.checklist { border: 1px solid var(--border); border-radius: var(--radius-sm); max-height: 220px; overflow-y: auto; background: var(--surface); }
.checklist-row { display: flex; align-items: center; gap: 10px; padding: 9px 12px; font-size: .89rem; cursor: pointer; border-bottom: 1px solid var(--border-soft); }
.checklist-row:last-child { border-bottom: none; }
.checklist-row:hover { background: var(--surface-2); }
.checklist-row input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--primary); flex-shrink: 0; }
.checklist-username { color: var(--ink-faint); font-family: var(--font-mono); font-size: .8em; }

.comment-list { display: flex; flex-direction: column; gap: 12px; max-height: 240px; overflow-y: auto; margin-bottom: 12px; }
.comment { background: var(--surface-2); border-radius: var(--radius-sm); padding: 10px 12px; }
.comment-head { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.comment-author { font-size: .82rem; font-weight: 700; }
.comment-author.is-admin { color: var(--primary); }
.comment-time { font-size: .72rem; color: var(--ink-faint); }
.comment-text { font-size: .86rem; line-height: 1.45; white-space: pre-wrap; }
.comment-form { display: flex; gap: 8px; align-items: flex-start; }
.comment-form textarea { min-height: 44px; }

/* =================================================================
   Toasts
   ================================================================= */
.toast-stack {
  position: fixed; bottom: 20px; right: 20px; z-index: 80; display: flex; flex-direction: column; gap: 10px;
  max-width: 320px;
}
@media (max-width: 900px) { .toast-stack { left: 16px; right: 16px; bottom: calc(var(--bottomnav-h) + 14px); max-width: none; } }
.toast {
  background: var(--ink); color: #fff; padding: 12px 16px; border-radius: var(--radius-sm);
  font-size: .87rem; box-shadow: var(--shadow-lg); animation: toast-in .2s ease;
}
.toast.error { background: var(--danger); }
.toast.success { background: var(--success); }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
