:root {
  --bg: #f3f5f1;
  --surface: #ffffff;
  --ink: #1b2b27;
  --muted: #5d6b66;
  --line: #dde3de;
  --line-soft: #eef1ee;
  --box: #7a8984;
  --track: #e1e7e2;
  --today: #e8f0ea;
  --danger: #b3261e;
  --focus: #2a62a8;
  --timer-bg: #1b2b27;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111816;
    --surface: #19231f;
    --ink: #e8efeb;
    --muted: #9baaa3;
    --line: #2c3a35;
    --line-soft: #243029;
    --box: #70807a;
    --track: #2a3732;
    --today: #1f302a;
    --danger: #f2897f;
    --focus: #8fb4f0;
    --timer-bg: #24342f;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.4;
}
h1, h2, p { margin: 0; }
h2 { font-size: 20px; line-height: 1.2; }
button, input, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.display { font-size: 32px; line-height: 1.1; font-weight: 700; letter-spacing: -0.01em; text-wrap: balance; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.muted { color: var(--muted); }
.strong { font-weight: 700; }
.num { font-variant-numeric: tabular-nums; }
.small-text { font-size: 12px; }
.hint { font-size: 14px; color: var(--muted); }
.pad { padding: 24px 16px; }
.pad-sm { padding: 12px 0; }

/* ---------- Skal ---------- */
.shell { min-height: 100vh; }
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: calc(12px + env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) 12px max(16px, env(safe-area-inset-left, 0px));
  background: var(--surface); border-bottom: 1px solid var(--line);
}
.brand { font-size: 20px; font-weight: 700; }
.me-pill { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 6px; font-weight: 600; }
.tabs {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 5;
  display: flex; justify-content: space-around;
  background: var(--surface); border-top: 1px solid var(--line);
  padding: 8px max(12px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px));
}
.tab { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-width: 60px; min-height: 48px; font-size: 12px; font-weight: 500; color: var(--muted); }
.tab.active { color: var(--ink); font-weight: 700; }
.icon { display: inline-flex; }
.main {
  max-width: 1240px; margin: 0 auto;
  padding: 20px max(16px, env(safe-area-inset-right, 0px)) 110px max(16px, env(safe-area-inset-left, 0px));
}
.narrow { max-width: 640px; margin: 0 auto; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.stack-sm { display: flex; flex-direction: column; gap: 10px; }
.row { display: flex; align-items: center; gap: 10px; }
.row.wrap { flex-wrap: wrap; }

@media (min-width: 820px) {
  .topbar { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); }
  .tabs { position: static; border: 0; border-bottom: 1px solid var(--line); justify-content: center; gap: 8px; padding: 6px 16px; }
  .tab { flex-direction: row; min-width: 0; min-height: 44px; padding: 0 16px; border-radius: 12px; gap: 8px; font-size: 15px; }
  .tab.active { background: var(--ink); color: var(--bg); }
  .main { padding-bottom: 48px; padding-top: 28px; }
}

/* ---------- Kort och delar ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 16px 16px 8px; }
.card.inline { display: flex; align-items: center; gap: 14px; padding-bottom: 16px; }
.card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 8px; }
.avatars { display: flex; }
.avatars .avatar + .avatar { margin-left: -10px; }
.avatar { display: inline-flex; align-items: center; justify-content: center; flex: none; border-radius: 50%; background: var(--c); color: #fff; font-weight: 700; border: 2px solid var(--surface); }
.avatar.sm { width: 30px; height: 30px; font-size: 14px; }
.avatar.md { width: 40px; height: 40px; font-size: 17px; }
.avatar.lg { width: 52px; height: 52px; font-size: 22px; }
.bar { height: 8px; border-radius: 4px; background: var(--track); overflow: hidden; flex: 1; min-width: 40px; }
.bar-fill { height: 100%; border-radius: 4px; background: var(--c); }
.family { display: flex; align-items: center; gap: 12px; font-size: 13px; }
.profile { display: flex; align-items: center; gap: 14px; }
.pill { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; background: var(--ink); color: var(--bg); border-radius: 6px; padding: 3px 7px; }

.daynav { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.daytitle { flex: 1; min-width: 0; }
.iconbtn { width: 44px; height: 44px; flex: none; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); font-size: 22px; line-height: 1; cursor: pointer; }
.iconbtn.ghost { visibility: hidden; }

.chips { display: flex; justify-content: space-between; gap: 6px; }
.chip { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; border: 0; background: transparent; padding: 0; cursor: pointer; }
.chip .avatar { border-color: var(--bg); }
.chip[aria-pressed='true'] .avatar { box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--c); }
.chip-name { font-size: 13px; font-weight: 500; }
.chip[aria-pressed='true'] .chip-name { font-weight: 700; }
.chip-count { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }

/* ---------- Uppgifter ---------- */
.task {
  display: flex; align-items: center; gap: 14px; width: 100%; min-height: 58px;
  border: 0; border-top: 1px solid var(--line-soft); background: transparent;
  padding: 10px 2px; text-align: left; font-size: 16px; line-height: 1.3; cursor: pointer;
}
.task:disabled { cursor: default; color: var(--ink); }
.box {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 28px; height: 28px; border-radius: 9px; border: 2px solid var(--box);
}
.task:disabled:not(.is-done) .box { border-color: var(--line); }
.is-done .box { background: var(--c); border-color: var(--c); }
.task-text { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.task-owner { font-size: 13px; font-weight: 700; color: var(--muted); }
.task-sub { font-size: 13px; color: var(--muted); }
.is-done .task-title { text-decoration: line-through; color: var(--muted); }
.task.small { min-height: 34px; padding: 6px 0; font-size: 14px; gap: 8px; align-items: flex-start; border-top: 0; }
.task.small .box { width: 20px; height: 20px; border-radius: 6px; margin-top: 1px; }
.task.small .box svg { width: 12px; height: 12px; }
.rotpick { border: 1px solid var(--line); border-radius: 20px; background: var(--surface); padding: 12px 16px; }

/* ---------- Veckan ---------- */
.week-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; }
.week-tools { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.seg { display: flex; background: var(--track); border-radius: 14px; padding: 4px; gap: 4px; }
.seg-item { min-height: 36px; display: flex; align-items: center; padding: 0 14px; border-radius: 10px; font-size: 14px; color: var(--muted); }
.seg-item.on { background: var(--surface); color: var(--ink); font-weight: 700; }
.grid-card { padding: 0; overflow: hidden; }
.grid { overflow-x: auto; }
.wrow { display: grid; grid-template-columns: 84px repeat(6, minmax(150px, 1fr)); min-width: 1000px; border-top: 1px solid var(--line-soft); }
.wrow.whead { border-top: 0; border-bottom: 1px solid var(--line); }
.wrow.today { background: var(--today); }
.wrow.wtotal { background: var(--bg); border-top: 1px solid var(--line); }
.wday { padding: 12px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.wcol-head { padding: 12px; display: flex; align-items: center; gap: 8px; min-width: 0; }
.wcell { padding: 8px 10px; min-width: 0; }
.wcell.totalcell { display: flex; align-items: center; gap: 8px; padding: 14px 12px; }
.cell-label { display: none; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--muted); padding: 6px 0 2px; }
.rot-note { font-size: 13px; color: var(--muted); padding: 6px 0; }
@media (max-width: 819px) {
  .grid { overflow: visible; }
  .wrow { display: block; min-width: 0; padding: 12px 14px; }
  .wrow.whead, .wrow.wtotal { display: none; }
  .wday { flex-direction: row; align-items: center; gap: 8px; padding: 0 0 4px; }
  .wcell { padding: 0 0 6px; }
  .wcell.empty { display: none; }
  .cell-label { display: flex; }
}

/* ---------- Helg ---------- */
.timer { display: flex; align-items: center; gap: 20px; background: var(--timer-bg); color: #fff; border-radius: 20px; padding: 20px; }
.timer-side { display: flex; flex-direction: column; gap: 12px; min-width: 0; color: #d5ddd8; }
.ring { position: relative; width: 128px; height: 128px; flex: none; }
.ring svg { display: block; }
.ring-track { fill: none; stroke: #3a4c47; stroke-width: 10; }
.ring-prog { fill: none; stroke: #f2f5f1; stroke-width: 10; stroke-linecap: round; stroke-dasharray: 351.9; stroke-dashoffset: 0; transform: rotate(-90deg); transform-origin: 64px 64px; }
.ring-text { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 30px; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; }
.btn.light { background: #fff; color: #1b2b27; border-color: #fff; }
.btn.ghost-light { background: transparent; color: #fff; border-color: #6b7f78; }
.rot-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.rot-item { min-height: 48px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); padding: 8px 12px; text-align: left; font-size: 14px; line-height: 1.25; cursor: pointer; display: flex; align-items: center; gap: 8px; }
.rot-item.done { background: var(--track); color: var(--muted); cursor: default; }
.rot-item.done svg { stroke: var(--muted); width: 14px; height: 14px; }
.rot-item.picked { background: var(--ink); color: var(--bg); border-color: var(--ink); font-weight: 700; }
.rot-item:disabled:not(.picked) { opacity: 0.6; cursor: default; }

/* ---------- Formulär ---------- */
label { display: block; font-size: 14px; font-weight: 600; margin-top: 4px; }
input[type='text'], input[type='password'], select {
  width: 100%; min-height: 46px; padding: 0 12px; border: 1px solid var(--box); border-radius: 12px; background: var(--surface);
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px;
  border: 1px solid var(--line); border-radius: 14px; background: var(--surface); font-weight: 700; cursor: pointer; text-align: center;
}
.btn.primary { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn.danger { color: var(--danger); border-color: var(--danger); }
.btn.small { min-height: 40px; padding: 0 14px; font-size: 14px; }
.form-error { color: var(--danger); font-weight: 600; }
fieldset { border: 0; padding: 0; margin: 4px 0 0; min-width: 0; }
legend { font-size: 14px; font-weight: 600; padding: 0; margin-bottom: 6px; }
.daybox-row { display: flex; flex-wrap: wrap; gap: 6px; }
.daybox { display: inline-flex; margin: 0; }
.daybox input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.daybox span { min-width: 48px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--box); border-radius: 12px; font-weight: 600; }
.daybox input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.daybox input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch { position: relative; display: inline-flex; margin: 0; }
.swatch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.swatch::before { content: ''; width: 40px; height: 40px; border-radius: 50%; background: var(--c); border: 2px solid var(--surface); }
.swatch:has(input:checked)::before { box-shadow: 0 0 0 3px var(--ink); }
.swatch:has(input:focus-visible)::before { box-shadow: 0 0 0 3px var(--focus); }
.checkline { display: flex; align-items: center; gap: 10px; min-height: 44px; }
.checkline input { width: 22px; height: 22px; }
.adm-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line-soft); }
.adm-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }

/* ---------- Inloggning och meddelande ---------- */
.login { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px max(16px, env(safe-area-inset-left, 0px)); }
.login-card { width: 100%; max-width: 380px; display: flex; flex-direction: column; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 24px; }
.login-card .btn { margin-top: 8px; }
.toast {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(96px + env(safe-area-inset-bottom, 0px)); z-index: 10;
  max-width: min(92vw, 520px); padding: 12px 16px; border-radius: 14px; font-weight: 600; background: var(--ink); color: var(--bg);
}
.toast.error { background: var(--danger); color: #fff; }
@media (min-width: 820px) { .toast { bottom: 24px; } }
@media (prefers-color-scheme: dark) { .toast.error { color: #111816; } }
@media (max-width: 420px) { .timer { flex-direction: column; align-items: flex-start; } }

/* ---------- Peng ---------- */
.pay { flex: none; align-self: center; font-size: 12px; font-weight: 700; line-height: 1; padding: 6px 9px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.pay.pending { background: var(--today); color: var(--ink); }
.pay.ok { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.pay.rejected { border-color: var(--danger); color: var(--danger); }
.badge { position: absolute; top: 0; right: 10px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--danger); color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; }
@media (min-width: 820px) { .badge { position: static; } }
.moneyline { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line-soft); }
.moneyline.soft { color: var(--muted); }
.moneycard .bar { margin: 8px 0 4px; display: block; }
.bigsum { font-size: 30px; font-weight: 700; line-height: 1; }
.review .btn { flex: none; }
.review { flex-wrap: wrap; }
.review .adm-main { flex-basis: 140px; }
.moneyline span:last-child { white-space: nowrap; }
.review-btns { margin-left: auto; flex: none; }

/* ---------- Veckoöversikt ---------- */
.seg { display: inline-flex; gap: 2px; padding: 3px; border-radius: 13px; background: var(--track); }
button.seg-item { border: 0; background: transparent; cursor: pointer; font-weight: 500; }
button.seg-item.on { font-weight: 700; }
.ov-card { padding: 10px; }
.ov-grid { display: grid; grid-template-columns: minmax(64px, 112px) repeat(7, minmax(0, 1fr)); gap: 4px; align-items: stretch; }
.ov-dayhead { display: flex; flex-direction: column; align-items: center; gap: 0; padding: 6px 0; min-height: 48px; border: 0; border-radius: 10px; background: transparent; cursor: pointer; line-height: 1.2; }
.ov-dayhead.today { background: var(--today); }
.ov-dayhead.sel, .ov-name.sel { box-shadow: inset 0 0 0 2px var(--ink); }
.ov-name { display: flex; align-items: center; gap: 6px; min-height: 52px; padding: 4px 4px; border: 0; border-radius: 10px; background: transparent; cursor: pointer; text-align: left; min-width: 0; }
.ov-nametext { display: flex; flex-direction: column; min-width: 0; font-size: 13px; line-height: 1.2; }
.ov-name .avatar { display: none; }
.ov-cell { display: flex; flex-wrap: wrap; align-content: center; justify-content: center; gap: 4px; min-height: 52px; padding: 6px 3px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); cursor: pointer; }
.ov-cell.today { background: var(--today); }
.ov-cell.none { border-color: transparent; background: transparent; cursor: default; }
.ov-cell.sel { box-shadow: 0 0 0 2px var(--ink); }
.dot { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--box); box-sizing: border-box; }
.dot.on { background: var(--c); border-color: var(--c); }
.dot.pend { background: transparent; border-color: var(--c); box-shadow: inset 0 0 0 2px var(--surface); background: var(--c); opacity: .55; }
.ov-sec { padding: 6px 0 4px; border-top: 1px solid var(--line-soft); }
.ov-sec:first-of-type { border-top: 0; }
.ov-detail .task { border-top: 0; }
@media (min-width: 520px) { .ov-name .avatar { display: inline-flex; } }
@media (min-width: 820px) {
  .ov-card { padding: 16px; }
  .ov-grid { gap: 6px; }
  .ov-cell, .ov-name { min-height: 64px; }
  .dot { width: 14px; height: 14px; }
  .ov-nametext { font-size: 15px; }
}
.swish-note { margin: 8px 0 0; padding: 8px 12px; border-radius: 12px; background: var(--today); font-size: 14px; font-weight: 600; }
a.btn { display: inline-flex; align-items: center; justify-content: center; }
.seg { align-self: flex-start; }
.ov-grid { grid-template-columns: minmax(74px, 150px) repeat(7, minmax(0, 1fr)); }
.ov-dayhead .strong { font-size: 12px; }
.ov-dayhead .small-text { font-size: 12px; }
.ov-nametext .strong { overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 820px) { .ov-dayhead .strong { font-size: 15px; } .ov-grid { grid-template-columns: 160px repeat(7, minmax(0, 1fr)); } }

/* ---------- Min vecka (agenda) ---------- */
.whos { display: flex; flex-wrap: wrap; gap: 8px; }
.who { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px 0 6px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-weight: 600; cursor: pointer; }
.who:first-child { padding-left: 14px; }
.who[aria-pressed='true'] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.weeksum { align-items: center; }
.weeksum .grow { flex: 1; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.weeksum .bar { flex: none; width: 100%; }
.ag { display: flex; flex-direction: column; gap: 8px; }
.ag-row { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 12px; padding: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; }
.ag-row.today { background: var(--today); box-shadow: inset 0 0 0 2px var(--ink); }
.ag-day { display: flex; flex-direction: column; align-items: center; gap: 2px; padding-top: 2px; }
.ag-dow { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.ag-date { font-size: 26px; font-weight: 700; line-height: 1.05; }
.ag-count { font-size: 12px; color: var(--muted); }
.ag-tasks { display: flex; flex-wrap: wrap; gap: 8px; align-content: center; min-width: 0; }
.chip-task { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; max-width: 100%; padding: 6px 12px 6px 8px; border: 1.5px solid var(--c); border-radius: 12px; background: var(--surface); font-size: 15px; line-height: 1.25; text-align: left; cursor: pointer; }
.chip-task .box { width: 22px; height: 22px; border-radius: 7px; }
.chip-task .box svg { width: 13px; height: 13px; }
.chip-task.shared { border-style: dashed; }
.chip-task.is-done { background: color-mix(in srgb, var(--c) 12%, var(--surface)); }
.chip-task:disabled { cursor: default; color: var(--ink); }
.chip-task.locked { border-color: var(--line); }
.ag-tasks .rot-note { flex-basis: 100%; margin: 0; }
@media (min-width: 820px) {
  .ag { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.chip-task.shared { min-height: 36px; padding: 4px 10px 4px 6px; font-size: 13px; border-width: 1px; color: var(--muted); }
.chip-task.shared .box { width: 18px; height: 18px; border-radius: 6px; }
.chip-task.shared .box svg { width: 11px; height: 11px; }
.chip-task.shared.is-done { color: var(--muted); }

/* ---------- Topplista ---------- */
.seg-wide { display: flex; }
.seg-wide .seg-item { flex: 1; justify-content: center; }
.seg-item[aria-pressed='true'] { background: var(--surface); color: var(--ink); font-weight: 700; }
.lb-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line-soft); }
.lb-row.me { font-weight: 600; }
.lb-rank { width: 24px; flex: none; text-align: center; font-size: 20px; font-weight: 700; color: var(--muted); }
.lb-row:first-of-type .lb-rank { color: var(--ink); }
.lb-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.lb-main .bar { flex: none; width: 100%; }
.lb-amount { flex: none; min-width: 64px; text-align: right; font-size: 20px; font-weight: 700; }

/* ---------- Meny och matsedel ---------- */
.menu { padding: 12px 0 4px; }
.menu-title { padding: 0 16px 6px; }
.menu-row { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 10px 16px; border-top: 1px solid var(--line-soft); }
.menu-row:hover { background: var(--bg); }
.menu-text { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.menu-chev { font-size: 24px; color: var(--muted); line-height: 1; }
.badge.inline { position: static; flex: none; }
.backlink { align-self: flex-start; font-weight: 600; color: var(--muted); padding: 6px 0; }
.meal-card.today { background: var(--today); box-shadow: inset 0 0 0 2px var(--ink); }
.meal-row { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 10px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line-soft); }
.meal-label { font-size: 13px; font-weight: 700; color: var(--muted); }
.meal-text { font-size: 16px; }
.meal-row input { width: 100%; }
.meal-row input.saved { box-shadow: 0 0 0 2px var(--ink); }
.meal-today { padding-bottom: 12px; }
.meal-line { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 10px; padding: 4px 0; font-size: 17px; }
.meal-roles { margin-top: 8px; gap: 10px; align-items: center; }
.linkbtn { font-size: 14px; font-weight: 600; color: var(--muted); }
.meal-summary { font-size: 14px; color: var(--muted); padding-bottom: 6px; }
[hidden] { display: none !important; }
.swish-confirm { background: var(--today); border-color: var(--ink); }

.approve-banner { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 48px; padding: 10px 16px; border-radius: 14px; background: var(--ink); color: var(--surface); text-decoration: none; font-size: 15px; }
.approve-banner .strong { color: inherit; }
.family-line { margin: -4px 4px 0; }
.ag-sharedlabel { flex-basis: 100%; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }
