/* OPP Doelen — huisstijl afgestemd op supersum.nl: Open Sans, navy + oranje, ronde witte kaarten op een lichte achtergrond. Geen externe bronnen. */
:root {
  --bg: #f6f9fb;
  --card: #ffffff;
  --surface: #eef4f8;
  --surface-2: #e2ecf3;
  --text: #152d41;
  --navy: #102d4b;
  --body: #3d4f5e;
  --muted: #6b7c8c;
  --line: #dbe5ec;
  --accent: #cc4800;
  --accent-soft: #fbeee6;
  --blue: #01689f;
  --blue-soft: #e4f0f7;
  --green: #1d7a4a;
  --green-soft: #e6f4ec;
  --danger: #b3261e;
  --radius: 22px;
  --radius-s: 14px;
  --shadow: 0 10px 30px rgba(21, 45, 65, .06);
  --nav-h: 64px;
  --font: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); background: var(--bg); color: var(--body); font-size: 15px; line-height: 1.55;
  padding-bottom: calc(var(--nav-h) + env(safe-area-inset-bottom));
}
h1, h2, h3, h4 { color: var(--text); margin: 0; line-height: 1.15; font-weight: 800; letter-spacing: -.02em; }
h1 { font-size: 34px; }
h2 { font-size: 20px; letter-spacing: -.01em; }
h3 { font-size: 15px; letter-spacing: 0; }
p { margin: 0 0 10px; }
a { color: var(--blue); }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: var(--text); }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.hidden { display: none !important; }
.eyebrow { color: var(--accent); font-size: 11.5px; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; display: block; margin-bottom: 8px; }
.eyebrow.blue { color: var(--blue); }
.lead { font-size: 17px; color: var(--body); max-width: 56ch; }
@media (min-width: 900px) { h1 { font-size: 46px; } h2 { font-size: 24px; } }

/* ---------- Kop en navigatie ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 18px; padding-top: calc(12px + env(safe-area-inset-top));
}
.wordmark { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.wordmark .mark { display: inline-flex; align-items: center; font-weight: 800; font-size: 19px; letter-spacing: .06em; color: var(--text); line-height: 1; }
.wordmark .mark svg { width: 13px; height: 22px; margin: 0 1px; }
.wordmark .sub { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-left: 2px; }
.topbar .who { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; font-size: 12px; display: inline-grid; place-items: center; }

.tabbar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 20; height: calc(var(--nav-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom); background: #fff; border-top: 1px solid var(--line); display: flex; justify-content: space-around;
}
.tabbar a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; text-decoration: none; color: var(--muted); font-size: 10.5px; font-weight: 700; }
.tabbar a svg { width: 22px; height: 22px; }
.tabbar a.active { color: var(--accent); }

.page { padding: 20px 18px 40px; max-width: 1120px; margin: 0 auto; }
.hero { margin: 6px 0 22px; }
.hero .row-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

@media (min-width: 900px) {
  body { padding-bottom: 40px; }
  .tabbar {
    position: sticky; top: 0; bottom: auto; height: 58px; padding: 0; justify-content: center; gap: 4px;
    border-top: none; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.92); backdrop-filter: blur(8px);
  }
  .tabbar a { flex: 0 0 auto; flex-direction: row; gap: 8px; padding: 0 18px; font-size: 14px; }
  .tabbar a svg { width: 18px; height: 18px; }
  .tabbar a.active { box-shadow: inset 0 -3px 0 var(--accent); color: var(--text); }
  .page { padding: 36px 28px 60px; }
  .hero { margin: 0 0 30px; }
}

/* ---------- Kaarten en bouwstenen ---------- */
.card { background: var(--card); border-radius: var(--radius); padding: 20px; margin-bottom: 16px; box-shadow: var(--shadow); }
.card.flat { box-shadow: none; background: var(--surface); }
.card.navy { background: var(--navy); color: #d9e4ee; }
.card.navy h2, .card.navy h3, .card.navy .value, .card.navy b { color: #fff; }
.card.navy .muted { color: #a9bccd; }
.card.navy .eyebrow { color: #f0b48a; }
.card.navy .bar { background: rgba(255,255,255,.14); }
.card.navy .bar > i { background: #fff; }
.card.navy .bar > i.accent { background: #ff8a3d; }
.card h2 { margin-bottom: 10px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
.grid-2 { display: grid; gap: 16px; }
.grid-3 { display: grid; gap: 12px; }
@media (min-width: 700px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.spread { justify-content: space-between; }

.btn {
  border: none; border-radius: 999px; padding: 11px 20px; font-weight: 700; font-size: 14px;
  background: var(--navy); color: #fff; display: inline-flex; align-items: center; gap: 8px; justify-content: center; text-decoration: none;
}
.btn.accent { background: var(--accent); }
.btn.ghost { background: transparent; color: var(--text); border: 1.5px solid var(--line); }
.btn.white { background: #fff; color: var(--navy); }
.btn.danger { background: transparent; color: var(--danger); border: 1.5px solid var(--danger); }
.btn.sm { padding: 7px 14px; font-size: 13px; }
.btn.block { width: 100%; }
.btn:disabled { opacity: .5; cursor: default; }
.link-btn { background: none; border: none; color: var(--blue); padding: 0; font-weight: 700; }

.seg { display: inline-flex; background: var(--surface-2); border-radius: 999px; padding: 4px; gap: 2px; flex-wrap: wrap; }
.seg button { border: none; background: transparent; border-radius: 999px; padding: 8px 14px; font-size: 13px; font-weight: 700; color: var(--muted); }
.seg button.active { background: #fff; color: var(--text); box-shadow: 0 1px 3px rgba(21,45,65,.15); }
.seg.wide { display: flex; }
.seg.wide button { flex: 1; }

.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 5px 12px; font-size: 12px; font-weight: 700; color: var(--muted); }
.chip.active { background: var(--navy); border-color: var(--navy); color: #fff; }

.badge { display: inline-flex; align-items: center; gap: 5px; border-radius: 999px; padding: 3px 10px; font-size: 11px; font-weight: 800; letter-spacing: .02em; white-space: nowrap; }
.badge.open, .badge.nieuw { background: var(--surface-2); color: var(--muted); }
.badge.bezig, .badge.koers { background: var(--blue-soft); color: var(--blue); }
.badge.aandacht, .badge.achter { background: var(--accent-soft); color: var(--accent); }
.badge.behaald { background: var(--green-soft); color: var(--green); }
.badge.type { background: #fff; border: 1px solid var(--line); color: var(--muted); font-weight: 700; }
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

.bar { position: relative; height: 10px; background: var(--surface-2); border-radius: 999px; overflow: visible; }
.bar > i { display: block; height: 100%; background: var(--blue); border-radius: 999px; transition: width .4s; }
.bar > i.koers { background: var(--blue); }
.bar > i.achter { background: var(--accent); }
.bar > i.behaald { background: var(--green); }
.bar > i.nieuw { background: var(--muted); }
.bar > .mark { position: absolute; top: -4px; width: 2px; height: 18px; background: var(--text); border-radius: 2px; opacity: .55; }
.bar.big { height: 14px; }
.bar.thin { height: 6px; }

.stat { display: flex; flex-direction: column; }
.stat .value { font-size: 26px; font-weight: 800; color: var(--text); letter-spacing: -.02em; line-height: 1.1; }
.stat .label { font-size: 12px; color: var(--muted); font-weight: 600; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }

/* Statustegels */
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 16px; }
@media (min-width: 700px) { .tiles { grid-template-columns: repeat(4, 1fr); } }
.tile { background: #fff; border-radius: var(--radius-s); padding: 14px 16px; box-shadow: var(--shadow); cursor: pointer; border-left: 5px solid var(--line); }
.tile .n { font-size: 30px; font-weight: 800; color: var(--text); letter-spacing: -.03em; line-height: 1; }
.tile .l { font-size: 12px; font-weight: 700; color: var(--muted); margin-top: 4px; }
.tile.behaald { border-color: var(--green); }
.tile.koers { border-color: var(--blue); }
.tile.achter { border-color: var(--accent); }
.tile.nieuw { border-color: var(--muted); }

/* Ringen, donut, sparkline */
.ring { display: block; }
.ring .track { stroke: var(--surface-2); }
.ring text { font-weight: 800; fill: var(--text); font-family: var(--font); }
.card.navy .ring .track { stroke: rgba(255,255,255,.14); }
.card.navy .ring text { fill: #fff; }
.donut-wrap { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.legend { display: grid; gap: 6px; font-size: 13px; }
.legend span { display: flex; align-items: center; gap: 8px; }
.legend i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.spark { width: 100%; height: 36px; display: block; }

/* ---------- Financieel ---------- */
.fin-card { background: #fff; border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); margin-bottom: 12px; display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; align-items: center; cursor: pointer; }
.fin-card .amount { font-size: 24px; font-weight: 800; color: var(--text); letter-spacing: -.02em; line-height: 1.1; }
.fin-card .amount small { font-size: 13px; color: var(--muted); font-weight: 600; letter-spacing: 0; margin-left: 4px; }
.fin-card .title { font-weight: 700; color: var(--text); }
.fin-card .delta { font-size: 12.5px; font-weight: 700; }
.fin-card .delta.achter { color: var(--accent); }
.fin-card .delta.koers { color: var(--blue); }
.fin-card .delta.behaald { color: var(--green); }
.fin-card .delta.nieuw { color: var(--muted); }
.fin-card .full { grid-column: 1 / -1; }
.fin-card .bar { margin: 6px 0 2px; }
.fin-card .scale { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); font-weight: 600; }
.fin-card .foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 22px 0 10px; }
.section-head h2 { margin: 0; }
.section-head .muted { font-size: 13px; }

/* ---------- Doelen (lijst) ---------- */
.goal { background: #fff; border-radius: var(--radius-s); padding: 12px 14px; margin-bottom: 8px; box-shadow: var(--shadow); display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; align-items: center; cursor: pointer; }
.goal .title { font-weight: 700; color: var(--text); }
.goal .meta { font-size: 12px; color: var(--muted); grid-column: 1 / -1; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.goal .bar { grid-column: 1 / -1; }
.goal .num { font-size: 13px; font-weight: 800; color: var(--text); white-space: nowrap; }
.goal.done .title { color: var(--muted); text-decoration: line-through; }
.goal.stop { border-left: 5px solid var(--accent); }

/* ---------- OPP-raster ---------- */
.opp-cols { display: grid; gap: 14px; }
.opp-col .pillar { font-size: 11.5px; color: var(--accent); letter-spacing: .17em; text-transform: uppercase; font-weight: 800; margin: 4px 0 8px; }
.cell { background: #fff; border-radius: var(--radius-s); padding: 12px 14px; margin-bottom: 10px; min-height: 64px; box-shadow: var(--shadow); }
.cell.stop { background: var(--accent-soft); box-shadow: none; }
.cell-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.cell-head .h { font-size: 12px; font-weight: 800; color: var(--text); }
.cell-head .h small { font-weight: 600; color: var(--muted); margin-left: 4px; }
.cell .add { border: none; background: var(--surface); color: var(--navy); width: 28px; height: 28px; border-radius: 50%; font-size: 18px; line-height: 1; display: grid; place-items: center; }
.item { background: var(--surface); border-radius: 10px; padding: 7px 10px; margin-bottom: 6px; font-size: 13px; color: var(--text); cursor: pointer; display: grid; grid-template-columns: 10px 1fr auto; gap: 8px; align-items: center; }
.cell.stop .item { background: #fff; }
.item .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.item .dot.koers { background: var(--blue); }
.item .dot.achter { background: var(--accent); }
.item .dot.behaald { background: var(--green); }
.item .pct { font-size: 11px; color: var(--muted); font-weight: 800; }
.item.done span.t { color: var(--muted); text-decoration: line-through; }
.item .mini { grid-column: 2 / -1; height: 4px; }
.empty { font-size: 12px; color: var(--muted); font-style: italic; }
.values { font-size: 13px; color: var(--muted); }
.values b { color: var(--text); }
@media (min-width: 900px) { .opp-cols { grid-template-columns: repeat(4, 1fr); } .opp-mobile-pillars { display: none; } }
@media (max-width: 899px) { .opp-col.collapsed { display: none; } }

/* ---------- Check-in ---------- */
.ci-goal { background: #fff; border-radius: var(--radius-s); padding: 12px 14px; margin-bottom: 8px; box-shadow: var(--shadow); }
.ci-goal.stop { border-left: 5px solid var(--accent); }
.ci-goal .title { font-weight: 700; color: var(--text); margin-bottom: 6px; }
.ci-goal .seg { margin-top: 8px; }
.ci-goal .seg button.active.bezig { color: var(--blue); }
.ci-goal .seg button.active.aandacht { color: var(--accent); }
.ci-goal .seg button.active.behaald { color: var(--green); }
.ci-entry { border-top: 1px solid var(--line); padding: 10px 0; }
.ci-entry:first-child { border-top: none; }
.ci-entry .q { font-size: 11.5px; color: var(--accent); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; margin-top: 8px; }
.ci-entry .a { white-space: pre-wrap; }

/* ---------- Formulieren ---------- */
.field { margin-bottom: 12px; }
.field label { display: block; font-size: 12px; font-weight: 800; color: var(--text); margin-bottom: 4px; }
.field input[type=text], .field input[type=number], .field input[type=date], .field input[type=password], .field select, .field textarea {
  width: 100%; border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 13px; background: #fff; font-size: 16px;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); }
.field textarea { min-height: 72px; resize: vertical; }
.field .hint { font-size: 12px; color: var(--muted); margin-top: 3px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.error { color: var(--danger); font-size: 13px; margin: 6px 0; }
.actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 14px; flex-wrap: wrap; }
.actions .left { margin-right: auto; }
.quick-value { display: flex; gap: 8px; align-items: center; margin-top: 6px; }
.quick-value input { width: 130px; border: 1.5px solid var(--line); border-radius: 10px; padding: 7px 10px; font-size: 16px; }
.big-input input { font-size: 28px !important; font-weight: 800; text-align: center; }

/* ---------- Modal ---------- */
.modal-bg { position: fixed; inset: 0; background: rgba(16,45,75,.5); z-index: 40; display: flex; align-items: flex-end; justify-content: center; }
.modal { background: #fff; width: 100%; max-width: 560px; max-height: 92vh; overflow: auto; border-radius: 22px 22px 0 0; padding: 22px 20px calc(22px + env(safe-area-inset-bottom)); }
.modal h2 { margin-bottom: 14px; }
@media (min-width: 700px) { .modal-bg { align-items: center; padding: 20px; } .modal { border-radius: 22px; max-height: 88vh; } }

/* ---------- Inlog ---------- */
.login { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: var(--bg); }
.login .box { width: 100%; max-width: 400px; }
.login .brand { text-align: center; margin-bottom: 22px; }
.login .brand h1 { font-size: 36px; }
.login .card { padding: 24px; }
.lock { width: 44px; height: 44px; margin: 0 auto 12px; color: var(--navy); }

/* ---------- Diversen ---------- */
.toast { position: fixed; left: 50%; bottom: calc(var(--nav-h) + 16px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 50; background: var(--navy); color: #fff; padding: 11px 18px; border-radius: 999px; font-size: 14px; font-weight: 600; max-width: 90vw; box-shadow: 0 8px 24px rgba(0,0,0,.2); }
.toast.err { background: var(--danger); }
@media (min-width: 900px) { .toast { bottom: 24px; } }
.list-plain { list-style: none; margin: 0; padding: 0; }
.list-plain li { padding: 9px 0; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.list-plain li:first-child { border-top: none; }
.fab { position: fixed; right: 18px; bottom: calc(var(--nav-h) + 18px + env(safe-area-inset-bottom)); z-index: 21; width: 56px; height: 56px; border-radius: 50%; border: none; background: var(--accent); color: #fff; font-size: 30px; font-weight: 300; line-height: 1; box-shadow: 0 8px 20px rgba(204,72,0,.35); }
@media (min-width: 900px) { .fab { bottom: 28px; right: 28px; } }
.kernwaarden { display: flex; gap: 6px; flex-wrap: wrap; }
.kernwaarden span { background: var(--blue-soft); color: var(--blue); border-radius: 999px; padding: 4px 11px; font-size: 12px; font-weight: 800; }
.card.navy .kernwaarden span { background: rgba(255,255,255,.12); color: #fff; }
.ua { font-size: 11px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 260px; }
details summary { cursor: pointer; font-weight: 700; color: var(--text); }
.plan-card .head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.plan-card .head .ring { flex: 0 0 auto; }
.plan-card .head h2 { margin: 0; }
.stop-list { display: flex; gap: 6px; flex-wrap: wrap; }
.stop-list .chip { cursor: pointer; }
.stop-list .chip.behaald { background: var(--green-soft); border-color: var(--green-soft); color: var(--green); }

/* ---------- v2: financiële modules ---------- */
.subnav { margin-bottom: 18px; }
.kpis { display: grid; gap: 14px; margin-top: 14px; }
@media (min-width: 700px) { .kpis { grid-template-columns: repeat(3, 1fr); } }
.kpi { display: flex; align-items: center; gap: 12px; }
.kpi .k-label { font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #a9bccd; }
.kpi .k-value { font-size: 24px; font-weight: 800; color: #fff; letter-spacing: -.02em; line-height: 1.1; }
.kpi .k-sub { font-size: 12px; color: #a9bccd; }
.kpi-card { cursor: pointer; }
.kpi-card .big { font-size: 28px; font-weight: 800; color: var(--text); letter-spacing: -.02em; line-height: 1.1; }
.chart-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 6px -4px; }
.chart { width: 100%; min-width: 560px; height: auto; display: block; }
.chart text { font-family: var(--font); }
.legend.row { gap: 14px; margin-top: 6px; font-size: 12px; }
.table-wrap { overflow-x: auto; margin-top: 10px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 12.5px; white-space: nowrap; }
.tbl th { text-align: left; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 6px 8px; border-bottom: 1.5px solid var(--line); }
.tbl td { padding: 6px 8px; border-bottom: 1px solid var(--line); }
.tbl td.num, .tbl th:not(:first-child) { text-align: right; }
.tbl tr.hl td { background: var(--blue-soft); font-weight: 700; }
.question { font-size: 11.5px; color: var(--muted); font-style: italic; margin: -2px 0 8px; line-height: 1.35; }
.cell.stop .question { color: #9a5a3a; }
.tile .n { font-size: 24px; }
@media (min-width: 700px) { .tile .n { font-size: 28px; } }
.hero h1 b { color: var(--accent); }
.field select { width: 100%; border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 13px; background: #fff; font-size: 16px; }
.field input[type=month] { width: 100%; border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 13px; background: #fff; font-size: 16px; }
.row > .field { flex: 1 1 140px; }

/* ---------- Gezinsagenda ---------- */
.cal { display: none; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-h { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); text-align: center; padding: 4px 0; }
.cal-d { background: #fff; border-radius: 12px; min-height: 108px; padding: 6px; box-shadow: var(--shadow); cursor: pointer; display: flex; flex-direction: column; gap: 3px; }
.cal-d.we { background: var(--surface); box-shadow: none; }
.cal-d.past { opacity: .72; }
.cal-d.today { outline: 2px solid var(--accent); }
.cal-n { font-size: 13px; font-weight: 800; color: var(--text); margin-bottom: 2px; }
.cal-n small { font-weight: 600; color: var(--muted); font-size: 11px; }
.cal-d.today .cal-n { color: var(--accent); }
.ev { --c: var(--blue); font-size: 11.5px; line-height: 1.3; padding: 3px 6px 3px 8px; border-radius: 6px; background: color-mix(in srgb, var(--c) 14%, #fff); border-left: 3px solid var(--c); color: var(--text); cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ev b { color: var(--c); font-weight: 800; }
.ev.ext { background: color-mix(in srgb, var(--c) 8%, #fff); border-left-style: dashed; color: var(--body); }
@supports not (background: color-mix(in srgb, red 10%, white)) { .ev { background: var(--surface); } }
.cal-list { display: block; }
.cal-week { margin-bottom: 18px; }
.cal-week .eyebrow { margin: 0 0 6px; }
.cal-row { display: grid; grid-template-columns: 86px 1fr; gap: 8px; padding: 8px 10px; background: #fff; border-radius: 12px; margin-bottom: 6px; box-shadow: var(--shadow); cursor: pointer; align-items: start; }
.cal-row.empty { background: transparent; box-shadow: none; padding: 4px 10px; }
.cal-row.today { outline: 2px solid var(--accent); }
.cal-day { font-size: 13px; color: var(--muted); white-space: nowrap; }
.cal-day b { color: var(--text); text-transform: uppercase; font-size: 11px; letter-spacing: .06em; }
.cal-row.today .cal-day b { color: var(--accent); }
.cal-evs { display: flex; flex-direction: column; gap: 4px; }
.cal-evs .ev { white-space: normal; }
@media (min-width: 900px) { .cal { display: grid; } .cal-list { display: none; } }
.legend i.ext { opacity: .7; }
.dotc { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 8px; vertical-align: middle; }
.who-seg button { --c: var(--blue); }
.who-seg button.active { color: var(--c); }
.color-pick { cursor: pointer; }
.color-pick input { display: none; }
.color-pick i { display: inline-block; width: 28px; height: 28px; border-radius: 50%; border: 3px solid transparent; }
.color-pick input:checked + i { border-color: var(--text); }
