/* Familienspeicher
   Idee: der Familienplaner an der Küchenwand. Jede Person hat ihre Buntstift-Farbe,
   geschrieben wird in Königsblau, und "heute" ist mit Textmarker markiert. */

@font-face {
  font-family: 'Bricolage';
  src: url('/fonts/bricolage.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --paper: #ECEFE9;
  --sheet: #FFFFFF;
  --field: #F4F6F2;
  --ink: #1A2238;
  --ink-2: #586176;
  --ink-3: #8B93A5;
  --line: #DCE0D8;
  --line-strong: #C3C9BF;
  --blue: #2340C8;
  --on-blue: #FFFFFF;
  --blue-soft: #E4E9FB;
  --marker: #F6DE4E;
  --marker-ink: #1A2238;
  --danger: #B42318;

  --display: 'Bricolage', ui-sans-serif, system-ui, sans-serif;
  --text: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', system-ui, sans-serif;
  --radius: 14px;
  --tabbar: 62px;
  --gutter: 16px;
  color-scheme: light;
}

/* Dunkel: automatisch nach Gerät, außer "Hell" ist gewählt – oder fest gewählt */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #121725;
    --sheet: #1A2132;
    --field: #141A28;
    --ink: #E8EBF2;
    --ink-2: #A3ABBD;
    --ink-3: #6E7689;
    --line: #2A3246;
    --line-strong: #3B445A;
    --blue: #91A4FF;
    --on-blue: #10152A;
    --blue-soft: #232D50;
    --marker: #E9D03D;
    --danger: #FF8A7E;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #121725;
  --sheet: #1A2132;
  --field: #141A28;
  --ink: #E8EBF2;
  --ink-2: #A3ABBD;
  --ink-3: #6E7689;
  --line: #2A3246;
  --line-strong: #3B445A;
  --blue: #91A4FF;
  --on-blue: #10152A;
  --blue-soft: #232D50;
  --marker: #E9D03D;
  --danger: #FF8A7E;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.45 var(--text);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior-y: none;
}
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--blue); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Grundgerüst ---------- */
main {
  max-width: 640px;
  margin: 0 auto;
  padding: calc(env(safe-area-inset-top) + 22px) var(--gutter) calc(var(--tabbar) + env(safe-area-inset-bottom) + 28px);
}
.offline-banner {
  display: none;
  position: sticky; top: 0; z-index: 20;
  padding: calc(env(safe-area-inset-top) + 6px) 16px 6px;
  background: var(--ink); color: var(--paper);
  font-size: 13px; text-align: center;
}
html.offline .offline-banner { display: block; }

.tabs {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: grid; grid-template-columns: repeat(5, 1fr);
  padding: 0 max(8px, env(safe-area-inset-right)) env(safe-area-inset-bottom) max(8px, env(safe-area-inset-left));
  background: color-mix(in srgb, var(--sheet) 90%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
  border-top: 1px solid var(--line);
}
.tab {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  height: var(--tabbar); justify-content: center;
  color: var(--ink-2); text-decoration: none;
  font-size: 11px; font-weight: 600; letter-spacing: .01em;
}
.tab svg { width: 25px; height: 25px; }
.tab[aria-current="page"] { color: var(--blue); }

/* ---------- Kopf einer Ansicht ---------- */
.vh {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 12px;
  margin-bottom: 18px;
}
.vh-title {
  margin: 0;
  font-family: var(--display);
  font-weight: 720;
  font-size: 34px; line-height: 1.04;
  letter-spacing: -0.015em;
}
.vh-sub { margin: 4px 0 0; color: var(--ink-2); font-size: 15px; }
.vh-actions { display: flex; gap: 6px; flex: none; }

.greet { margin: 0 0 6px; color: var(--ink-2); font-size: 16px; }
.vh-today .vh-title { font-size: 40px; line-height: 1.02; }
.vh-today .vh-title .wd { display: block; color: var(--ink-2); font-weight: 560; font-size: 0.62em; letter-spacing: 0; margin-bottom: 4px; }

/* Der Textmarker – das eine laute Element */
.marker { position: relative; isolation: isolate; color: var(--marker-ink); white-space: nowrap; }
.marker::before {
  content: '';
  position: absolute; z-index: -1;
  left: -0.14em; right: -0.2em; top: 0.34em; bottom: -0.02em;
  background: var(--marker);
  border-radius: 0.28em 0.12em 0.34em 0.1em / 0.22em 0.42em 0.16em 0.36em;
  transform: rotate(-1.4deg) skewX(-10deg);
  transform-origin: left center;
}
.marker.draw::before { animation: swipe .55s cubic-bezier(.3, .7, .2, 1) .15s both; }
@keyframes swipe {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0 0 0 0); }
}

.back {
  display: inline-flex; align-items: center; gap: 2px;
  margin: -6px 0 10px -6px; padding: 4px 6px 4px 0;
  color: var(--blue); font-weight: 600; font-size: 16px; text-decoration: none;
}
.back svg { width: 20px; height: 20px; }

.icon-btn {
  display: inline-grid; place-items: center;
  width: 40px; height: 40px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--sheet); color: var(--ink);
}
.icon-btn svg { width: 22px; height: 22px; }
.icon-btn.primary { background: var(--blue); border-color: var(--blue); color: var(--on-blue); }

/* ---------- Abschnitte & Listen ---------- */
.sec { margin-top: 26px; }
.sec:first-child { margin-top: 0; }
.sec-h {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  margin: 0 2px 8px;
  font-family: var(--display); font-weight: 650; font-size: 20px; letter-spacing: -0.01em;
}
.sec-h .aside { font-family: var(--text); font-size: 14px; font-weight: 500; color: var(--ink-2); }
.sec-h button.aside, .sec-h a.aside { border: 0; background: none; color: var(--blue); padding: 4px 0; font-weight: 600; text-decoration: none; }

.sheet {
  background: var(--sheet);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.row {
  position: relative;
  display: flex; align-items: center; gap: 12px;
  width: 100%; min-height: 54px;
  padding: 10px 14px;
  border: 0; background: none; text-align: left;
}
.row + .row::before {
  content: ''; position: absolute; top: 0; left: 14px; right: 0;
  border-top: 1px solid var(--line);
}
button.row:active, .row .tap:active { background: var(--field); }
.row-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.row-title { font-size: 17px; overflow-wrap: anywhere; }
.row-sub { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; color: var(--ink-2); font-size: 14px; margin-top: 1px; }
.row-sub .meta { display: inline-flex; align-items: center; gap: 3px; }
.row-sub svg { width: 14px; height: 14px; }
.row-sub .late { color: var(--danger); font-weight: 600; }
.row .tap { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; border: 0; background: none; padding: 0; text-align: left; align-self: stretch; }
.row-chev { color: var(--ink-3); flex: none; }
.row-chev svg { width: 18px; height: 18px; }
.row.muted, .empty { color: var(--ink-2); font-size: 15px; }
.empty { padding: 16px 14px; }
.empty button { border: 0; background: none; padding: 0; color: var(--blue); font-weight: 600; }
.count-tag { color: var(--ink-2); font-size: 15px; font-variant-numeric: tabular-nums; }

/* Farbstreifen wie die Spalten im Familienplaner */
.bars { display: flex; gap: 2px; align-self: stretch; margin: 2px 0; flex: none; width: 16px; overflow: hidden; }
.bars i { flex: 0 1 4px; min-width: 2px; border-radius: 2px; background: var(--c); }

.ev-time {
  flex: none; width: 52px;
  font-variant-numeric: tabular-nums; font-size: 15px; font-weight: 600; line-height: 1.25;
}
.ev-time.allday { font-size: 13px; color: var(--ink-2); }
.ev-time small { display: block; font-weight: 400; color: var(--ink-2); font-size: 13px; }

/* Abhaken */
.check {
  flex: none;
  display: grid; place-items: center;
  width: 30px; height: 30px; padding: 0;
  border-radius: 50%;
  border: 2px solid var(--line-strong);
  background: transparent; color: var(--on-blue);
  transition: background .15s, border-color .15s, transform .15s;
}
.check svg { width: 17px; height: 17px; stroke-width: 2.6; opacity: 0; }
.check[aria-checked="true"] { background: var(--blue); border-color: var(--blue); }
.check[aria-checked="true"] svg { opacity: 1; }
.check:active { transform: scale(.88); }
.is-done .row-title { color: var(--ink-2); text-decoration: line-through; text-decoration-color: var(--ink-3); text-decoration-thickness: 1.5px; }
.amount { color: var(--ink-2); font-size: 15px; margin-left: 6px; font-variant-numeric: tabular-nums; }
.qty { font-weight: 650; margin-right: 6px; font-variant-numeric: tabular-nums; }

/* Personen */
.av {
  flex: none;
  display: inline-grid; place-items: center;
  width: var(--s, 26px); height: var(--s, 26px); border-radius: 50%;
  background: var(--c); color: #fff;
  font-size: calc(var(--s, 26px) * .46); font-weight: 700; line-height: 1;
}
.avs { display: flex; flex: none; }
.avs .av { box-shadow: 0 0 0 2px var(--sheet); }
.avs .av + .av { margin-left: -6px; }

/* Listen-Auswahl */
.pills {
  display: flex; gap: 8px;
  overflow-x: auto; scrollbar-width: none;
  margin: 0 calc(var(--gutter) * -1) 14px; padding: 2px var(--gutter);
}
.pills::-webkit-scrollbar { display: none; }
.pill {
  flex: none;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: transparent;
  font-size: 15px; font-weight: 600; white-space: nowrap;
}
.pill .n { font-weight: 500; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.pill[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.pill[aria-selected="true"] .n { color: inherit; opacity: .75; }
.pill.ghost { border-style: dashed; color: var(--ink-2); }

/* Schnell eintragen */
.add {
  display: flex; align-items: center; gap: 8px;
  padding: 5px 5px 5px 14px; margin-bottom: 14px;
  background: var(--sheet); border: 1px solid var(--line); border-radius: var(--radius);
}
.add:focus-within { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue); }
.add input { flex: 1; min-width: 0; border: 0; background: none; font-size: 17px; padding: 10px 0; outline: none; }
.add input::placeholder { color: var(--ink-3); }
.add .icon-btn { width: 44px; height: 44px; border-radius: 10px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 6px 12px 6px 10px; border-radius: 999px;
  border: 1px dashed var(--line-strong); background: transparent; color: var(--ink);
  font-size: 15px;
}
.chip svg { width: 15px; height: 15px; color: var(--blue); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 18px; border-radius: 12px;
  border: 1px solid var(--line-strong); background: var(--sheet);
  font-size: 17px; font-weight: 600;
}
.btn.primary { background: var(--blue); border-color: var(--blue); color: var(--on-blue); }
.btn.danger { color: var(--danger); }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .55; }
.btn svg { width: 20px; height: 20px; }
.btn-row { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.link-btn { border: 0; background: none; padding: 8px 2px; color: var(--blue); font-weight: 600; font-size: 15px; }
.link-btn.danger { color: var(--danger); }

/* ---------- Checklisten ---------- */
a.row { color: inherit; text-decoration: none; }
.progress { display: block; height: 6px; margin-top: 7px; border-radius: 3px; background: var(--line); overflow: hidden; }
.progress i { display: block; height: 100%; width: var(--p); border-radius: 3px; background: var(--blue); transition: width .3s; }
.cl-progress { margin: 0 2px 14px; }
.cl-count { font-size: 15px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.cl-progress .progress { height: 8px; border-radius: 4px; }
.cl-sections { margin-top: 4px; }
.notice { margin-bottom: 14px; }
.notice .row-title { font-weight: 600; }
.bullet { flex: none; width: 8px; height: 8px; margin: 0 11px; border-radius: 50%; background: var(--line-strong); }
.add-row .add-plus { flex: none; width: 30px; display: grid; place-items: center; color: var(--blue); }
.add-row .add-plus svg { width: 20px; height: 20px; }
.add-row input { flex: 1; min-width: 0; border: 0; background: none; font-size: 17px; padding: 6px 0; outline: none; }
.add-row input::placeholder { color: var(--ink-3); }
.sec-tools { display: inline-flex; align-items: center; gap: 4px; }
.icon-plain { display: inline-grid; place-items: center; border: 0; background: none; padding: 4px; color: var(--ink-2); }
.icon-plain svg { width: 20px; height: 20px; }
.choice-list { display: flex; flex-direction: column; border: 1px solid var(--line-strong); border-radius: 12px; overflow: hidden; }
.choice {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 50px; padding: 10px 14px; border: 0; background: var(--field); text-align: left; font-size: 16px;
}
.choice + .choice { border-top: 1px solid var(--line); }
.choice-title { font-weight: 600; }
.choice-sub { color: var(--ink-2); font-size: 14px; white-space: nowrap; }
.choice[aria-checked="true"] { background: var(--blue-soft); box-shadow: inset 4px 0 0 var(--blue); }

/* Personen-Knopf oben auf "Heute" */
.me-btn { border: 0; background: none; padding: 2px; border-radius: 50%; display: inline-grid; place-items: center; }
.me-btn .av { --s: 38px; }

/* ---------- Kalender ---------- */
.cal { background: var(--sheet); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 6px 10px; touch-action: pan-y; }
.cal-wd, .cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.cal-wd span { text-align: center; font-size: 12px; font-weight: 600; color: var(--ink-2); padding: 4px 0 6px; }
.cal-day {
  position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  height: 52px; padding: 5px 0 0;
  border: 0; background: none; border-radius: 10px;
}
.cal-day .num {
  font-family: var(--display); font-weight: 600; font-size: 18px; line-height: 1.2;
  font-variant-numeric: tabular-nums;
  padding: 0 4px;
}
.cal-day.other .num { color: var(--ink-3); font-weight: 450; }
.cal-day.weekend .num { color: var(--ink-2); }
.cal-day.today .num { color: var(--marker-ink); }
.cal-day[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--blue); }
.cal-day .dots { display: flex; gap: 3px; height: 6px; }
.cal-day .dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--c); }
.cal-head-month { display: flex; align-items: baseline; gap: 8px; }
.cal-head-month .yr { color: var(--ink-2); font-weight: 500; }

/* ---------- Formulare ---------- */
.form { display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-label { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.field-hint { font-size: 13px; color: var(--ink-2); }
.input, .form select, .form textarea {
  width: 100%; min-height: 46px;
  padding: 11px 12px;
  border: 1px solid var(--line-strong); border-radius: 10px;
  background: var(--field);
  font-size: 17px;
  -webkit-appearance: none; appearance: none;
}
.form select {
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
  background-size: 5px 5px; background-repeat: no-repeat;
  padding-right: 32px;
}
.form textarea { min-height: 90px; resize: vertical; line-height: 1.4; }
.input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue); }
input[type="date"].input, input[type="time"].input { min-width: 0; }
.grid-2 { display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; }
.grid-2.even { grid-template-columns: 1fr 1fr; }
.inline { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.inline .input { width: 76px; text-align: center; }

.switch-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; font-size: 17px; }
.switch {
  -webkit-appearance: none; appearance: none;
  position: relative; flex: none;
  width: 51px; height: 31px; margin: 0;
  border-radius: 999px; background: var(--line-strong);
  transition: background .2s;
}
.switch::after {
  content: ''; position: absolute; top: 2px; left: 2px;
  width: 27px; height: 27px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25);
  transition: transform .2s;
}
.switch:checked { background: var(--blue); }
.switch:checked::after { transform: translateX(20px); }

.toggles { display: flex; flex-wrap: wrap; gap: 6px; }
.toggle {
  min-width: 42px; height: 38px; padding: 0 10px;
  border-radius: 10px; border: 1px solid var(--line-strong); background: transparent;
  font-size: 15px; font-weight: 600;
}
.toggle[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: var(--on-blue); }
.segmented { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; padding: 3px; border-radius: 12px; background: var(--sheet); border: 1px solid var(--line); }
.segmented .toggle { border: 0; height: 38px; border-radius: 9px; }
.segmented .toggle[aria-pressed="true"] { background: var(--ink); color: var(--paper); }

.members { display: flex; flex-wrap: wrap; gap: 8px; }
.member {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 4px 12px 4px 4px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: transparent;
  font-size: 15px; font-weight: 600;
}
.member .av { --s: 28px; }
.member[aria-pressed="true"] { border-color: var(--c, var(--blue)); background: color-mix(in srgb, var(--c, var(--blue)) 16%, transparent); box-shadow: inset 0 0 0 1px var(--c, var(--blue)); }
.member.none { padding-left: 12px; }

.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--c); }
.swatch[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--sheet), 0 0 0 5px var(--c); }

.form-error { color: var(--danger); font-size: 15px; margin: 0; }
.form-error:empty { display: none; }

.sheet.pad { padding: 6px 14px 12px; }
.sheet.pad .switch-row { min-height: 50px; }
.device { padding: 2px 0 10px; }
.device .inline { gap: 4px 14px; }
.device-ok { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; color: var(--ink-2); }
.device-ok svg { width: 18px; height: 18px; color: var(--blue); stroke-width: 2.4; }
.divider { border-top: 1px solid var(--line); margin: 2px -14px 0; }
.inline-link { border: 0; background: none; padding: 0; color: var(--blue); font: inherit; font-weight: 600; }

/* ---------- Bottom Sheet ---------- */
.backdrop {
  position: fixed; inset: 0; z-index: 50;
  background: rgba(10, 14, 28, .42);
  display: flex; align-items: flex-end; justify-content: center;
  opacity: 0; transition: opacity .22s;
}
.backdrop.open { opacity: 1; }
.panel {
  width: 100%; max-width: 640px; max-height: calc(100% - env(safe-area-inset-top) - 24px);
  display: flex; flex-direction: column;
  background: var(--sheet);
  border-radius: 18px 18px 0 0;
  transform: translateY(100%); transition: transform .28s cubic-bezier(.2, .8, .2, 1);
}
.backdrop.open .panel { transform: none; }
.panel-head {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 10px 10px 8px; border-bottom: 1px solid var(--line);
}
.panel-head h2 { margin: 0; font-family: var(--display); font-size: 18px; font-weight: 650; text-align: center; }
.panel-head .link-btn { justify-self: start; padding: 8px 8px; font-weight: 500; font-size: 17px; }
.panel-head .link-btn.save { justify-self: end; font-weight: 700; }
.panel-body { overflow-y: auto; padding: 18px 16px calc(24px + env(safe-area-inset-bottom)); -webkit-overflow-scrolling: touch; }
.panel-body .danger-zone { margin-top: 22px; padding-top: 14px; border-top: 1px solid var(--line); }

.choices { display: flex; flex-direction: column; gap: 8px; }
.choices p { margin: 0 0 6px; color: var(--ink-2); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; z-index: 60;
  left: 50%; bottom: calc(var(--tabbar) + env(safe-area-inset-bottom) + 12px);
  width: min(calc(100% - 24px), 520px);
  transform: translate(-50%, 16px); opacity: 0;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px 12px 16px; border-radius: 12px;
  background: var(--ink); color: var(--paper);
  font-size: 15px;
  transition: opacity .2s, transform .2s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast span { flex: 1; }
.toast button { border: 0; background: none; padding: 4px 0; color: var(--marker); font-weight: 700; }

/* ---------- Anmeldung ---------- */
.auth {
  max-width: 400px; margin: 0 auto;
  padding: calc(env(safe-area-inset-top) + 9vh) 20px 40px;
}
.auth-logo { width: 64px; height: 64px; border-radius: 16px; display: block; margin-bottom: 22px; }
.auth h1 { margin: 0; font-family: var(--display); font-weight: 720; font-size: 36px; line-height: 1.05; letter-spacing: -0.015em; }
.auth .lead { margin: 8px 0 26px; color: var(--ink-2); font-size: 17px; }
.auth .btn.primary { margin-top: 6px; }

.prose { color: var(--ink-2); font-size: 15px; margin: 0 2px 10px; }
.prose strong { color: var(--ink); }
.code-box { padding: 10px 12px; border-radius: 10px; background: var(--field); border: 1px solid var(--line); font-size: 13px; overflow-wrap: anywhere; color: var(--ink-2); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

@media (min-width: 700px) {
  .vh-title { font-size: 40px; }
  .vh-today .vh-title { font-size: 48px; }
  .cal-day { height: 64px; }
}
