/* TeamRothöfer – „Familie“: warm, hell, gezeichnet (nach der Layout-Vorlage des Chefs).
   Farben und Schriften als Tokens oben; Klassennamen sind über alle Seiten gleich.
   Der frühere Entwurf „Nacht“ liegt als design/theme-nacht-entwurf.css bereit. */

@font-face { font-family: "Nunito"; font-style: normal; font-display: swap; font-weight: 200 1000;
  src: url(/static/fonts/nunito-latin-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Nunito"; font-style: normal; font-display: swap; font-weight: 200 1000;
  src: url(/static/fonts/nunito-latin-ext-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Patrick Hand"; font-style: normal; font-display: swap; font-weight: 400;
  src: url(/static/fonts/patrick-hand-latin-400-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Patrick Hand"; font-style: normal; font-display: swap; font-weight: 400;
  src: url(/static/fonts/patrick-hand-latin-ext-400-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  color-scheme: light;
  --bg: #FCFAF2;
  --bg-2: #F6F2E6;
  --surface: #FFFFFF;
  --surface-2: #FBF8F1;
  --surface-3: #F2EEE3;
  --surface-solid: #FFFFFF;
  --sheet: #FFFFFF;
  --glass: rgba(255, 255, 255, 0.92);
  --line: #ECE6D8;
  --line-2: #F3EEE3;
  --ink: #22242D;
  --ink-2: #4B4A4C;
  --ink-3: #8E8B84;
  --navy: #022A68;
  --coral: #F46E4C;
  --coral-2: #F78970;
  --coral-soft: #FFEAE0;
  --peach: #FEE5D9;
  --sage: #5E8A48;
  --sage-soft: #DBE8D4;
  --sage-tile: #D5E4CE;
  --sun: #FDB927;
  --butter: #FEF2C3;
  --sky-soft: #DDE3EA;
  --brand: var(--coral);
  --brand-2: #E85A38;
  --brand-ink: #FFFFFF;
  --brand-soft: var(--coral-soft);
  --accent: var(--coral);
  --accent-soft: var(--coral-soft);
  --money: #3F8A45;
  --money-soft: #E3F0DC;
  --warn: #B86E00;
  --warn-soft: #FFF1CF;
  --danger: #D5452B;
  --danger-soft: #FDE3DC;
  --info: #3A6FB0;
  --info-soft: #E3ECF7;
  --shadow-1: 0 1px 2px rgba(60, 48, 25, 0.05), 0 4px 14px rgba(60, 48, 25, 0.06);
  --shadow-2: 0 2px 6px rgba(60, 48, 25, 0.06), 0 14px 34px rgba(60, 48, 25, 0.1);
  --shadow-3: 0 24px 70px rgba(40, 30, 10, 0.25);
  --r-xs: 9px;
  --r-s: 12px;
  --r-m: 16px;
  --r-l: 22px;
  --r-xl: 28px;
  --font: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, system-ui, sans-serif;
  --font-round: "Nunito", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-hand: "Patrick Hand", "Nunito", system-ui, sans-serif;
  --tabbar-h: 72px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
  --gutter: 18px;
  --sidebar-w: 256px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0; min-height: 100dvh; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 16px; line-height: 1.45; font-weight: 500;
  -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(--coral); text-decoration: none; }
img, video, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--font-round); margin: 0; letter-spacing: -0.01em; font-weight: 850; }
p { margin: 0; }
:focus-visible { outline: 2.5px solid var(--coral); outline-offset: 2px; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hand { font-family: var(--font-hand); font-weight: 400; letter-spacing: .01em; }

/* ---------------------------------------------------------------- Rahmen */
.app { min-height: 100dvh; }
.main { padding: calc(var(--safe-t) + 10px) var(--gutter) calc(var(--tabbar-h) + var(--safe-b) + 96px); max-width: 1100px; margin: 0 auto; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 8px 0 16px; }
.page-head .eyebrow { font-family: var(--font-hand); font-size: 19px; color: var(--ink-2); }
.page-head h1 { font-size: 32px; line-height: 1.1; }
.page-head .actions { display: flex; gap: 8px; align-items: center; flex-shrink: 0; }

.topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 0 4px; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 70px; width: auto; }
.family-pic { position: relative; width: 68px; height: 68px; flex-shrink: 0; }
.family-pic .pic { width: 68px; height: 68px; border-radius: 999px; object-fit: cover; border: 3px solid #fff; box-shadow: var(--shadow-1); background: var(--sky-soft); }
.family-pic .badge { position: absolute; right: -4px; bottom: -2px; width: 26px; height: 26px; border-radius: 999px; background: var(--coral); color: #fff; display: flex; align-items: center; justify-content: center; border: 2.5px solid #fff; font-size: 13px; }
.family-pic .rays { position: absolute; right: -22px; top: -12px; width: 30px; height: 30px; }

.sidebar { display: none; }
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; height: calc(var(--tabbar-h) + var(--safe-b)); padding-bottom: var(--safe-b);
  display: grid; grid-template-columns: repeat(4, 1fr); background: rgba(255, 253, 248, 0.96);
  -webkit-backdrop-filter: saturate(1.4) blur(16px); backdrop-filter: saturate(1.4) blur(16px);
  border-top: 1px solid var(--line); box-shadow: 0 -4px 20px rgba(60, 48, 25, 0.04);
}
.tabbar a { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-size: 13.5px; font-weight: 700; color: var(--ink-2); }
.tabbar a svg { width: 28px; height: 28px; }
.tabbar a.active { color: var(--coral); }
.tabbar a.active svg .fillable { fill: var(--coral); }
.tabbar a.active::after { content: ""; position: absolute; bottom: 6px; left: 50%; transform: translateX(-50%); width: 58px; height: 3px; border-radius: 3px; background: var(--coral); }
.tabbar .dot { position: absolute; top: 8px; left: calc(50% + 10px); min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--coral); color: #fff; font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; border: 2px solid #fff; }

@media (min-width: 960px) {
  .app { display: grid; grid-template-columns: var(--sidebar-w) 1fr; }
  .tabbar { display: none; }
  .sidebar { display: flex; flex-direction: column; gap: 4px; position: sticky; top: 0; height: 100dvh; padding: 24px 16px; background: var(--bg-2); border-right: 1px solid var(--line); }
  .sidebar .brand { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 0 8px 22px; }
  .sidebar .brand:hover { background: none; }
  .sidebar .brand img { height: 64px; width: auto; }
  .sidebar .brand small { display: block; color: var(--ink-3); font-size: 13px; font-weight: 700; padding-left: 4px; }
  .sidebar a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 14px; color: var(--ink-2); font-weight: 700; font-size: 15.5px; }
  .sidebar a svg { width: 22px; height: 22px; }
  .sidebar a:hover { background: var(--surface); }
  .sidebar a.active { background: var(--surface); color: var(--coral); box-shadow: var(--shadow-1); }
  .sidebar .sub { padding-left: 46px; font-size: 14.5px; font-weight: 650; padding-top: 7px; padding-bottom: 7px; }
  .sidebar .sep { height: 1px; background: var(--line); margin: 10px 8px; }
  .sidebar .grow { flex: 1; }
  .sidebar .count { margin-left: auto; background: var(--coral); color: #fff; border-radius: 999px; font-size: 11px; padding: 1px 8px; font-weight: 800; }
  .main { padding: 24px 40px 80px; }
}

/* ---------------------------------------------------------------- Flächen */
.card { position: relative; background: var(--surface); border-radius: var(--r-l); box-shadow: var(--shadow-1); border: 1px solid var(--line-2); }
.card.pad { padding: 16px; }
.card + .card { margin-top: 12px; }
.section { margin-top: 26px; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin: 0 2px 12px; }
.section-head h2 { font-size: 24px; white-space: nowrap; display: flex; align-items: center; gap: 10px; }
@media (max-width: 400px) { .section-head h2 { font-size: 22px; } }
.section-head .more { color: var(--coral); font-weight: 800; font-size: 16px; display: inline-flex; align-items: center; gap: 2px; }
.section-head .muted { font-size: 14px; }
.muted { color: var(--ink-3); }
.ink2 { color: var(--ink-2); }
.small { font-size: 14px; }
.tiny { font-size: 12.5px; }
.row { display: flex; align-items: center; gap: 12px; }
.row.wrap { flex-wrap: wrap; }
.col { display: flex; flex-direction: column; gap: 12px; }
.grow { flex: 1; min-width: 0; }
.stack > * + * { margin-top: 12px; }
.grid-2 { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.divider { height: 1px; background: var(--line-2); margin: 12px 0; }
.nowrap { white-space: nowrap; }
.doodle { width: 26px; height: 26px; flex-shrink: 0; }

.list { list-style: none; margin: 0; padding: 0; }
.list-item { display: flex; align-items: center; gap: 12px; padding: 14px 16px; min-height: 58px; border-bottom: 1px solid var(--line-2); }
.list-item:last-child { border-bottom: 0; }
.list-item.tap { cursor: pointer; }
.list-item.tap:active { background: var(--surface-2); }
.list-item .title { font-weight: 750; }
.list-item .sub { color: var(--ink-3); font-size: 14px; }

/* ---------------------------------------------------------------- Knöpfe */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 800; font-size: 16px; background: var(--surface-3); color: var(--ink); transition: transform .08s ease, background .15s, box-shadow .15s; user-select: none; -webkit-user-select: none; white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn.primary { background: var(--coral); color: #fff; box-shadow: 0 6px 16px rgba(244, 110, 76, 0.3); }
.btn.primary:hover { background: var(--brand-2); }
.btn.money { background: var(--sage); color: #fff; box-shadow: 0 6px 16px rgba(94, 138, 72, 0.3); }
.btn.accent { background: var(--sun); color: var(--ink); }
.btn.ghost { background: transparent; color: var(--coral); padding: 0 12px; }
.btn.ghost:hover { background: var(--coral-soft); }
.btn.outline { background: var(--surface); border-color: var(--line); }
.btn.danger { background: var(--danger-soft); color: var(--danger); }
.btn.small { min-height: 40px; padding: 0 15px; font-size: 14.5px; }
.btn.block { width: 100%; }
.btn.icon { width: 48px; padding: 0; }
.btn.icon.small { width: 40px; }
.icon-btn { width: 42px; height: 42px; border-radius: 999px; border: 0; background: transparent; color: var(--ink-2); display: inline-flex; align-items: center; justify-content: center; }
.icon-btn:hover { background: var(--surface-3); }
.icon-btn svg { width: 22px; height: 22px; }
.fab { position: fixed; z-index: 45; right: max(18px, calc(env(safe-area-inset-right, 0px) + 14px)); bottom: calc(var(--tabbar-h) + var(--safe-b) + 16px);
  width: 60px; height: 60px; border-radius: 999px; border: 3px solid #fff; background: var(--coral); color: #fff; box-shadow: 0 10px 26px rgba(244, 110, 76, 0.45); display: flex; align-items: center; justify-content: center; }
.fab svg { width: 27px; height: 27px; }
.fab:active { transform: scale(.94); }
@media (min-width: 960px) { .fab { bottom: 30px; right: 34px; } }

/* ---------------------------------------------------------------- Formulare */
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span, .field > label { font-size: 14px; font-weight: 800; color: var(--ink-2); }
.field .hint { font-size: 13px; color: var(--ink-3); }
.input, .textarea, .select { width: 100%; min-height: 50px; padding: 12px 15px; border-radius: var(--r-m); border: 1.5px solid var(--line); background: var(--surface); outline: none; font-size: 16px; font-weight: 600; transition: border-color .15s, box-shadow .15s; }
.input::placeholder, .textarea::placeholder { color: #B5B0A5; font-weight: 500; }
.input:focus, .textarea:focus, .select:focus { border-color: var(--coral); box-shadow: 0 0 0 4px var(--coral-soft); }
.textarea { min-height: 96px; resize: vertical; line-height: 1.45; }
.select { appearance: none; -webkit-appearance: none; padding-right: 38px;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-3) 50%), linear-gradient(135deg, var(--ink-3) 50%, transparent 50%);
  background-position: calc(100% - 21px) 50%, calc(100% - 15px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.input.money-input { font-variant-numeric: tabular-nums; font-size: 20px; font-weight: 800; }
.field-row { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.field-row.three { grid-template-columns: 1fr 1fr 1fr; }
.form { display: flex; flex-direction: column; gap: 16px; }
.form-error { background: var(--danger-soft); color: var(--danger); padding: 11px 14px; border-radius: var(--r-m); font-size: 15px; font-weight: 700; }
.form-note { background: var(--info-soft); color: var(--info); padding: 10px 14px; border-radius: var(--r-m); font-size: 14.5px; }
.form-warn { background: var(--warn-soft); color: var(--warn); padding: 10px 14px; border-radius: var(--r-m); font-size: 14.5px; font-weight: 600; }
.switch { position: relative; display: inline-flex; width: 52px; height: 32px; flex-shrink: 0; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch span { position: absolute; inset: 0; border-radius: 999px; background: #E3DDD0; transition: background .2s; }
.switch span::after { content: ""; position: absolute; left: 3px; top: 3px; width: 26px; height: 26px; border-radius: 999px; background: #fff; box-shadow: 0 2px 5px rgba(0,0,0,.2); transition: transform .2s; }
.switch input:checked + span { background: var(--sage); }
.switch input:checked + span::after { transform: translateX(20px); }
.switch input:focus-visible + span { outline: 2.5px solid var(--coral); outline-offset: 2px; }
.segmented { display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 3px; padding: 4px; background: var(--surface-3); border-radius: 999px; }
.segmented button { border: 0; background: transparent; padding: 7px 16px; border-radius: 999px; font-size: 15px; font-weight: 800; color: var(--ink-2); min-height: 38px; }
.segmented button.on { background: var(--surface); color: var(--coral); box-shadow: var(--shadow-1); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); font-size: 15px; font-weight: 750; min-height: 40px; color: var(--ink-2); }
.chip.on { border-color: var(--chip-color, var(--coral)); background: color-mix(in srgb, var(--chip-color, var(--coral)) 14%, #fff); color: var(--ink); }
.chip .swatch { width: 24px; height: 24px; border-radius: 999px; background: var(--chip-color, var(--coral)) center/cover; flex-shrink: 0; }
.pill { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; font-size: 13px; font-weight: 800; background: var(--surface-3); color: var(--ink-2); white-space: nowrap; }
.pill.brand, .pill.accent { background: var(--coral-soft); color: #C4492B; }
.pill.money { background: var(--money-soft); color: var(--money); }
.pill.warn { background: var(--warn-soft); color: var(--warn); }
.pill.danger { background: var(--danger-soft); color: var(--danger); }
.pill.info { background: var(--info-soft); color: var(--info); }
.pill svg { width: 14px; height: 14px; }
.avatar { width: 36px; height: 36px; border-radius: 999px; flex-shrink: 0; background: var(--av, var(--coral)); color: #fff; font-weight: 900; font-size: 15px; display: inline-flex; align-items: center; justify-content: center; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar.illu { background: var(--sky-soft); }
.avatar.lg { width: 54px; height: 54px; font-size: 21px; }
.avatar.sm { width: 28px; height: 28px; font-size: 12px; }
.avatars { display: inline-flex; }
.avatars .avatar { border: 2px solid #fff; margin-left: -9px; }
.avatars .avatar:first-child { margin-left: 0; }
.illu-img { object-fit: contain; flex-shrink: 0; }

/* ---------------------------------------------------------------- Sheet / Dialog */
.backdrop { position: fixed; inset: 0; z-index: 80; background: rgba(40, 32, 18, 0.38); display: flex; align-items: flex-end; justify-content: center; animation: fade .18s ease; }
.sheet { width: 100%; max-width: 640px; max-height: 92dvh; overflow: auto; overscroll-behavior: contain; background: var(--sheet); border-radius: var(--r-xl) var(--r-xl) 0 0; box-shadow: var(--shadow-3); padding: 8px 18px calc(18px + var(--safe-b)); animation: slideup .28s cubic-bezier(.2, .9, .3, 1); }
.sheet .grabber { width: 40px; height: 5px; border-radius: 999px; background: var(--line); margin: 4px auto 10px; }
.sheet-head { display: flex; align-items: center; gap: 10px; padding: 4px 0 14px; position: sticky; top: -8px; background: var(--sheet); z-index: 2; }
.sheet-head h2 { font-size: 23px; flex: 1; }
.sheet-foot { display: flex; gap: 10px; padding-top: 16px; position: sticky; bottom: calc(-18px - var(--safe-b)); background: var(--sheet); padding-bottom: 4px; }
.sheet-foot .btn { flex: 1; }
@media (min-width: 720px) { .backdrop { align-items: center; padding: 24px; } .sheet { border-radius: var(--r-xl); padding: 10px 24px 22px; animation: pop .2s ease; } .sheet .grabber { display: none; } .sheet-foot { bottom: -22px; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideup { from { transform: translateY(100%); } to { transform: none; } }
@keyframes pop { from { transform: scale(.96); opacity: 0; } to { transform: none; opacity: 1; } }
.toasts { position: fixed; left: 0; right: 0; top: calc(var(--safe-t) + 10px); z-index: 120; display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none; padding: 0 16px; }
.toast { pointer-events: auto; max-width: 520px; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 18px; box-shadow: var(--shadow-2); font-size: 15px; font-weight: 700; display: flex; gap: 10px; align-items: center; animation: pop .2s ease; }
.toast.error { background: var(--danger); }
.toast.ok { background: var(--sage); }
.toast button { background: transparent; border: 0; color: inherit; font-weight: 900; text-decoration: underline; padding: 0; }
.empty { text-align: center; padding: 30px 20px; color: var(--ink-3); }
.empty .art { width: 84px; height: 84px; margin: 0 auto 10px; display: flex; align-items: center; justify-content: center; }
.empty .art img { width: 84px; height: 84px; }
.empty .art svg { width: 34px; height: 34px; color: var(--coral); }
.empty h3 { color: var(--ink); font-size: 20px; margin-bottom: 4px; }
.empty p { max-width: 380px; margin: 0 auto; font-size: 15px; }
.empty .btn { margin-top: 14px; }
.spinner { width: 22px; height: 22px; border-radius: 999px; border: 3px solid var(--line); border-top-color: var(--coral); animation: spin .8s linear infinite; }
.spinner.lg { width: 36px; height: 36px; }
@keyframes spin { to { transform: rotate(360deg); } }
.loading { display: flex; justify-content: center; padding: 40px; }
.skeleton { background: linear-gradient(90deg, var(--surface-3), var(--surface-2), var(--surface-3)); background-size: 200% 100%; animation: shimmer 1.2s infinite; border-radius: var(--r-s); }
@keyframes shimmer { to { background-position: -200% 0; } }
.progress { height: 9px; background: var(--surface-3); border-radius: 999px; overflow: hidden; }
.progress > div { height: 100%; background: var(--coral); border-radius: 999px; transition: width .4s ease; }
.progress.money > div { background: var(--sage); }
.offline-bar { position: sticky; top: 0; z-index: 30; background: var(--warn-soft); color: var(--warn); font-size: 14px; font-weight: 800; padding: 8px 14px; text-align: center; border-radius: 0 0 14px 14px; }

/* ---------------------------------------------------------------- Startseite (Vorlage) */
.hello-title { display: flex; align-items: center; gap: 14px; margin-top: 18px; }
.hello-title h1 { font-size: 34px; line-height: 1.1; }
.hello-title .sun { width: 58px; height: 58px; flex-shrink: 0; margin-top: -6px; }
.hello-sub { font-family: var(--font-hand); font-size: 24px; color: var(--ink-2); margin-top: 4px; }
.hero { position: relative; margin-top: 18px; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-2); background: var(--sky-soft); aspect-ratio: 3 / 2; }
.hero img { width: 100%; height: 100%; object-fit: cover; }
.hero .caption { position: absolute; left: 14px; bottom: 14px; right: 14px; display: flex; }
.hero .caption span { background: #fff; border-radius: 999px; padding: 7px 18px 6px; font-family: var(--font-hand); font-size: 20px; color: var(--ink); box-shadow: var(--shadow-1); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hero .edit { position: absolute; right: 12px; top: 12px; background: rgba(255, 255, 255, .9); border: 0; border-radius: 999px; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; color: var(--ink); box-shadow: var(--shadow-1); }
.hero .edit svg { width: 20px; height: 20px; }
@media (min-width: 720px) { .hero { aspect-ratio: 16 / 7; } }

.today-row { display: flex; align-items: center; gap: 14px; background: var(--surface); border-radius: 20px; box-shadow: var(--shadow-1); border: 1px solid var(--line-2); padding: 10px 14px 10px 12px; min-height: 74px; color: var(--ink); cursor: pointer; }
.today-row + .today-row { margin-top: 12px; }
.today-row:active { transform: scale(.99); }
.time-chip { min-width: 78px; padding: 9px 8px; border-radius: 14px; text-align: center; font-size: 21px; font-weight: 650; font-variant-numeric: tabular-nums; background: var(--chip-bg, var(--sage-soft)); flex-shrink: 0; line-height: 1.1; }
.time-chip.small { font-size: 15px; font-weight: 800; }
.today-row .illu-img { width: 50px; height: 50px; }
@media (max-width: 400px) { .today-row { gap: 10px; } .time-chip { min-width: 70px; font-size: 19px; } .today-row .title { font-size: 21px; } .today-row .illu-img { width: 44px; height: 44px; } }
.today-row .title { font-family: var(--font-hand); font-size: 23px; line-height: 1.15; flex: 1; min-width: 0; }
.today-row .title small { display: block; font-family: var(--font); font-size: 13.5px; color: var(--ink-3); font-weight: 650; }
.today-row .chev { color: var(--ink-3); width: 22px; height: 22px; flex-shrink: 0; }

.tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 188px; padding: 16px; border-radius: 24px; color: var(--ink); overflow: hidden; }
.tile.yellow { background: var(--butter); }
.tile.green { background: var(--sage-tile); }
.tile.peach { background: var(--coral-soft); }
.tile.blue { background: #E2EAF4; }
.tile .illu-img { width: 92px; height: 92px; margin-bottom: auto; }
.tile .chev { position: absolute; right: 14px; top: 52px; width: 24px; height: 24px; color: var(--ink-2); }
.tile .t { font-family: var(--font-hand); font-size: 26px; line-height: 1.05; }
.tile .s { font-family: var(--font-hand); font-size: 19px; color: var(--ink-2); margin-top: 4px; }
.tile .doodle { position: absolute; left: 122px; top: 20px; }

.note-card { display: flex; align-items: center; gap: 12px; background: var(--coral-soft); border-radius: 24px; padding: 18px 16px; margin-top: 12px; color: var(--ink); min-height: 120px; position: relative; overflow: hidden; }
.note-card .body { flex: 1; min-width: 0; }
.note-card .head { display: flex; align-items: center; gap: 8px; font-family: var(--font-hand); font-size: 27px; }
.note-card .head img { width: 38px; height: 38px; }
.note-card .msg { font-family: var(--font-hand); font-size: 21px; color: var(--ink-2); margin-top: 6px; }
.note-card .who { font-size: 13px; color: var(--ink-3); font-weight: 700; margin-top: 2px; }
.note-card .faces { display: flex; flex-shrink: 0; }
.note-card .faces img { width: 62px; height: 62px; margin-left: -18px; filter: drop-shadow(0 2px 4px rgba(0,0,0,.08)); }
.note-card .faces img:first-child { margin-left: 0; }
@media (max-width: 420px) { .note-card .faces img { width: 50px; height: 50px; margin-left: -16px; } }

.balance-card { position: relative; overflow: hidden; padding: 18px; border-radius: 24px; background: var(--butter); color: var(--ink); }
.balance-card .label { font-family: var(--font-hand); font-size: 22px; color: var(--ink-2); }
.balance-card .amount { font-size: 42px; font-weight: 900; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.balance-card .meta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 6px; font-size: 14.5px; color: var(--ink-2); font-weight: 700; }
.balance-card .goal { margin-top: 12px; background: rgba(255, 255, 255, .7); border-radius: 16px; padding: 10px 12px; }
.balance-card .goal .progress { margin-top: 7px; background: rgba(0,0,0,.06); }
.balance-card .goal .progress > div { background: var(--sage); }
.balance-card .link { position: relative; z-index: 1; color: var(--coral); font-weight: 800; font-size: 15px; display: inline-flex; align-items: center; gap: 4px; margin-top: 10px; }
.balance-card .coins { position: absolute; right: 12px; top: 12px; width: 70px; height: 70px; }

.child-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 10px; scrollbar-width: none; }
.child-tabs::-webkit-scrollbar { display: none; }
.child-tabs button { display: flex; align-items: center; gap: 8px; border: 1.5px solid var(--line); background: var(--surface); border-radius: 999px; padding: 5px 15px 5px 5px; font-weight: 800; white-space: nowrap; color: var(--ink-2); }
.child-tabs button.on { border-color: var(--coral); color: var(--ink); background: var(--coral-soft); }

.task { display: flex; gap: 12px; align-items: flex-start; padding: 14px 14px 14px 12px; position: relative; border-bottom: 1px solid var(--line-2); }
.task:last-child { border-bottom: 0; }
.task .illu-img { width: 46px; height: 46px; margin-top: -2px; }
.task .check { width: 34px; height: 34px; border-radius: 999px; border: 2.5px solid #D9D2C3; background: var(--surface); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 4px; color: #fff; transition: all .2s; }
.task .check:not(:disabled):hover { border-color: var(--sage); }
.task .check.done { background: var(--sage); border-color: var(--sage); }
.task .check.pending { background: var(--sun); border-color: var(--sun); }
.task .check svg { width: 19px; height: 19px; }
.task .body { flex: 1; min-width: 0; }
.task .title { font-family: var(--font-hand); font-size: 22px; line-height: 1.15; }
.task .desc { color: var(--ink-2); font-size: 14.5px; margin-top: 2px; }
.task .meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 7px; align-items: center; }
.task .reward { font-weight: 900; color: var(--money); white-space: nowrap; font-variant-numeric: tabular-nums; background: var(--money-soft); padding: 3px 10px; border-radius: 999px; font-size: 14px; }
.task .actions { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.task .note { margin-top: 8px; background: var(--warn-soft); color: var(--warn); padding: 8px 12px; border-radius: 14px; font-size: 14.5px; font-weight: 600; }
.task .note.child { background: var(--info-soft); color: var(--info); }
.task.done-anim .check { animation: popcheck .45s ease; }
@keyframes popcheck { 50% { transform: scale(1.25); } }

.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.stat { background: var(--surface); border: 1px solid var(--line-2); border-radius: 20px; padding: 12px 12px; box-shadow: var(--shadow-1); color: inherit; }
.stat .n { font-size: 25px; font-weight: 900; font-variant-numeric: tabular-nums; }
.stat .l { font-family: var(--font-hand); font-size: 17px; color: var(--ink-2); }
.stat.warn { background: var(--butter); border-color: transparent; }
.stat.money .n { color: var(--money); font-size: 21px; }

.today-list .list-item { min-height: 50px; padding: 10px 14px; }
.time-col { width: 54px; flex-shrink: 0; font-weight: 800; font-size: 14px; font-variant-numeric: tabular-nums; }
.color-bar { width: 5px; align-self: stretch; border-radius: 5px; background: var(--c, var(--coral)); flex-shrink: 0; }

.ledger-entry { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line-2); }
.ledger-entry:last-child { border-bottom: 0; }
.ledger-entry .amt { font-weight: 900; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ledger-entry .amt.pos { color: var(--money); }
.ledger-entry .amt.neg { color: var(--danger); }
.ledger-entry .ic { width: 40px; height: 40px; border-radius: 14px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ledger-entry .ic svg { width: 20px; height: 20px; }
.ic.credit { background: var(--money-soft); color: var(--money); }
.ic.payout { background: var(--coral-soft); color: var(--coral); }
.ic.correction { background: var(--info-soft); color: var(--info); }

/* ---------------------------------------------------------------- Hub-Seiten (Einkaufen, Wir) */
.hub-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 12px; margin: 0 -2px; scrollbar-width: none; }
.hub-tabs::-webkit-scrollbar { display: none; }
.hub-tabs a { display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px 6px 8px; border-radius: 999px; background: var(--surface); border: 1.5px solid var(--line); color: var(--ink-2); font-weight: 800; white-space: nowrap; }
.hub-tabs a img { width: 30px; height: 30px; }
.hub-tabs a.active { border-color: var(--coral); background: var(--coral-soft); color: var(--ink); }
.wir-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (min-width: 720px) { .wir-grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------------------------------------------------------------- Kalender */
.cal-toolbar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.cal-toolbar .title { font-size: 26px; font-weight: 900; flex: 1; min-width: 150px; }
.cal-filter { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 8px; margin-bottom: 4px; scrollbar-width: none; }
.cal-filter::-webkit-scrollbar { display: none; }
.cal-filter .chip { flex-shrink: 0; min-height: 36px; padding: 3px 12px 3px 4px; font-size: 14px; }
.month { user-select: none; -webkit-user-select: none; }
.month .wd { display: grid; grid-template-columns: repeat(7, 1fr); font-size: 13px; font-weight: 800; color: var(--ink-3); text-align: center; padding: 6px 0 8px; }
.month .grid { display: grid; grid-template-columns: repeat(7, 1fr); border-top: 1px solid var(--line-2); }
.month .day { position: relative; min-height: 60px; padding: 6px 2px 4px; border: 0; border-bottom: 1px solid var(--line-2); display: flex; flex-direction: column; align-items: center; gap: 3px; cursor: pointer; background: transparent; color: var(--ink); }
.month .day .num { width: 34px; height: 34px; border-radius: 999px; display: flex; align-items: center; justify-content: center; font-size: 17px; font-weight: 750; font-variant-numeric: tabular-nums; }
.month .day.other .num { color: var(--ink-3); opacity: .55; }
.month .day.today .num { background: var(--coral); color: #fff; }
.month .day.sel:not(.today) .num { background: var(--ink); color: #fff; }
.month .dots { display: flex; gap: 3px; height: 7px; }
.month .dots i { width: 7px; height: 7px; border-radius: 999px; background: var(--c, var(--coral)); }
.month .chips { display: none; }
@media (min-width: 720px) {
  .month .day { min-height: 110px; align-items: stretch; padding: 5px; border-right: 1px solid var(--line-2); }
  .month .day:nth-child(7n) { border-right: 0; }
  .month .day .num { align-self: flex-end; width: 30px; height: 30px; font-size: 15px; }
  .month .dots { display: none; }
  .month .chips { display: flex; flex-direction: column; gap: 3px; width: 100%; }
  .month .ev-chip { font-size: 12.5px; font-weight: 750; padding: 3px 7px; border-radius: 8px; text-align: left; background: color-mix(in srgb, var(--c, var(--coral)) 16%, #fff); color: var(--ink); border-left: 3px solid var(--c, var(--coral)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .month .ev-chip.allday { background: var(--c, var(--coral)); color: #fff; border-left: 0; }
  .month .more { font-size: 12px; color: var(--ink-3); font-weight: 750; padding-left: 4px; }
}
.agenda { margin-top: 16px; }
.agenda-day { font-family: var(--font-hand); font-size: 24px; margin: 16px 4px 8px; }
.ev-row { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-bottom: 1px solid var(--line-2); cursor: pointer; }
.ev-row:last-child { border-bottom: 0; }
.ev-row:active { background: var(--surface-2); }
.ev-row .time { width: 60px; flex-shrink: 0; font-size: 15px; font-weight: 800; font-variant-numeric: tabular-nums; }
.ev-row .time small { display: block; color: var(--ink-3); font-weight: 650; }
.ev-row .illu-img { width: 40px; height: 40px; }
.ev-row .title { font-family: var(--font-hand); font-size: 21px; line-height: 1.15; }
.ev-row .sub { font-size: 13.5px; color: var(--ink-3); font-weight: 600; }
.week-strip { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; margin-bottom: 8px; }
.week-strip button { border: 0; background: transparent; border-radius: 16px; padding: 6px 0; display: flex; flex-direction: column; align-items: center; gap: 2px; color: var(--ink); }
.week-strip .wd { font-size: 12px; font-weight: 800; color: var(--ink-3); }
.week-strip .num { width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; border-radius: 999px; font-weight: 800; font-size: 17px; }
.week-strip .today .num { background: var(--coral); color: #fff; }
.week-strip .sel:not(.today) .num { background: var(--ink); color: #fff; }
.timegrid { position: relative; display: grid; grid-template-columns: 50px 1fr; overflow: auto; max-height: calc(100dvh - 330px); min-height: 380px; border-top: 1px solid var(--line-2); -webkit-overflow-scrolling: touch; }
@media (min-width: 960px) { .timegrid { max-height: calc(100dvh - 240px); } }
.allday-row { display: grid; grid-template-columns: 50px 1fr; border-bottom: 1px solid var(--line); }
.allday-row .lbl { font-size: 11px; color: var(--ink-3); font-weight: 800; padding: 7px 4px; text-align: right; }
.allday-cols { display: grid; }
.allday-cols .cell { padding: 3px; border-left: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 2px; min-height: 30px; }
.allday-cols .ev { font-size: 12.5px; font-weight: 800; color: #fff; background: var(--c, var(--coral)); border-radius: 7px; padding: 3px 7px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; }
.tg-hours { position: relative; }
.tg-hours div { height: var(--hour-h); font-size: 11.5px; color: var(--ink-3); text-align: right; padding-right: 6px; transform: translateY(-7px); font-variant-numeric: tabular-nums; font-weight: 700; }
.tg-cols { position: relative; display: grid; }
.tg-col { position: relative; border-left: 1px solid var(--line-2); background-image: linear-gradient(var(--line-2) 1px, transparent 1px); background-size: 100% var(--hour-h); }
.tg-col.today { background-color: rgba(244, 110, 76, 0.04); }
.tg-event { position: absolute; left: 2px; right: 2px; border-radius: 9px; padding: 4px 7px; overflow: hidden; cursor: pointer; background: color-mix(in srgb, var(--c, var(--coral)) 18%, #fff); border-left: 4px solid var(--c, var(--coral)); font-size: 12.5px; line-height: 1.25; color: var(--ink); box-shadow: var(--shadow-1); }
.tg-event b { display: block; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tg-event span { color: var(--ink-2); font-size: 11.5px; font-weight: 650; }
.now-line { position: absolute; left: 0; right: 0; height: 2px; background: var(--coral); z-index: 3; pointer-events: none; }
.now-line::before { content: ""; position: absolute; left: -5px; top: -4px; width: 10px; height: 10px; border-radius: 999px; background: var(--coral); }
.week-head { display: grid; grid-template-columns: 50px 1fr; }
.week-head .cols { display: grid; }
.week-head .cols button { border: 0; background: transparent; padding: 6px 0; display: flex; flex-direction: column; align-items: center; font-size: 12px; color: var(--ink-3); font-weight: 800; }
.week-head .cols button .n { font-size: 17px; color: var(--ink); font-weight: 800; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 999px; }
.week-head .cols button.today .n { background: var(--coral); color: #fff; }
.repeat-days { display: flex; gap: 6px; flex-wrap: wrap; }
.repeat-days button { width: 42px; height: 42px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); font-weight: 800; font-size: 14px; }
.repeat-days button.on { background: var(--coral); color: #fff; border-color: var(--coral); }

/* ---------------------------------------------------------------- Einkauf */
.add-bar { display: flex; gap: 8px; position: sticky; top: calc(var(--safe-t) + 6px); z-index: 20; padding: 6px; border-radius: 999px; background: var(--glass); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border: 1.5px solid var(--line); box-shadow: var(--shadow-1); margin-bottom: 14px; }
.add-bar .input { border: 0; background: transparent; box-shadow: none; min-height: 44px; border-radius: 999px; }
.add-bar .input:focus { box-shadow: none; }
.cat-head { display: flex; align-items: center; gap: 8px; font-family: var(--font-hand); font-size: 22px; color: var(--ink-2); margin: 18px 6px 8px; }
.cat-head .n { font-family: var(--font); font-weight: 800; background: var(--surface-3); color: var(--ink-2); border-radius: 999px; padding: 1px 9px; font-size: 13px; }
.item { display: flex; align-items: center; gap: 12px; padding: 12px 14px; min-height: 58px; border-bottom: 1px solid var(--line-2); }
.item:last-child { border-bottom: 0; }
.item .box { width: 30px; height: 30px; border-radius: 10px; border: 2.5px solid #D9D2C3; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: var(--surface); color: #fff; padding: 0; transition: all .15s; }
.item .box.on { background: var(--sage); border-color: var(--sage); }
.item .box svg { width: 18px; height: 18px; }
.item .name { font-family: var(--font-hand); font-size: 22px; line-height: 1.15; }
.item.checked .name { text-decoration: line-through; color: var(--ink-3); }
.item .amt { font-weight: 800; color: var(--ink-2); font-size: 15px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.item .sub { font-size: 13px; color: var(--ink-3); font-weight: 600; }
.item .offer-hint { font-size: 13px; color: var(--money); font-weight: 800; display: flex; align-items: center; gap: 4px; }
.item-main { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 1px; background: none; border: 0; padding: 2px 0; text-align: left; color: inherit; cursor: pointer; }
a.chip, .chip.icon-chip { padding: 6px 14px; color: var(--ink-2); }
a.chip svg, .chip.icon-chip svg { width: 18px; height: 18px; color: var(--coral); }

/* ---------------------------------------------------------------- Rezepte */
.recipe-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(158px, 1fr)); }
@media (min-width: 720px) { .recipe-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); } }
.recipe-card { overflow: hidden; cursor: pointer; display: flex; flex-direction: column; }
.recipe-card:active { transform: scale(.98); }
.recipe-card .img { aspect-ratio: 4 / 3; background: var(--butter) center/cover no-repeat; position: relative; display: flex; align-items: center; justify-content: center; }
.recipe-card .img img.illu-img { width: 64px; height: 64px; }
.recipe-card .img .pill { position: absolute; left: 8px; top: 8px; }
.recipe-card .body { padding: 10px 12px 13px; }
.recipe-card .title { font-family: var(--font-hand); font-size: 21px; line-height: 1.1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.recipe-card .sub { font-size: 13px; color: var(--ink-3); margin-top: 4px; font-weight: 650; }
.recipe-hero { border-radius: var(--r-xl); overflow: hidden; background: var(--surface-3); aspect-ratio: 16 / 9; max-height: 360px; width: 100%; object-fit: cover; box-shadow: var(--shadow-1); }
.recipe-video { border-radius: var(--r-l); overflow: hidden; background: #000; max-height: 70dvh; margin: 0 auto; }
.servings { display: inline-flex; align-items: center; gap: 4px; background: var(--surface-3); border-radius: 999px; padding: 4px; }
.servings button { width: 40px; height: 40px; border: 0; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow-1); font-size: 22px; font-weight: 800; display: flex; align-items: center; justify-content: center; color: var(--coral); }
.servings span { min-width: 104px; text-align: center; font-weight: 850; font-variant-numeric: tabular-nums; font-size: 15px; }
.ing { display: flex; gap: 12px; align-items: baseline; padding: 11px 14px; border-bottom: 1px solid var(--line-2); cursor: pointer; }
.ing:last-child { border-bottom: 0; }
.ing .amt { min-width: 80px; font-weight: 900; font-variant-numeric: tabular-nums; color: var(--coral); }
.ing .nm { font-family: var(--font-hand); font-size: 21px; }
.ing.done { opacity: .45; }
.ing.done .nm { text-decoration: line-through; }
.unsure { display: inline-flex; align-items: center; justify-content: center; width: 19px; height: 19px; border-radius: 999px; background: var(--sun); color: var(--ink); font-size: 12px; font-weight: 900; margin-left: 5px; vertical-align: 2px; font-family: var(--font); }
.step { display: flex; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--line-2); }
.step:last-child { border-bottom: 0; }
.step .n { width: 30px; height: 30px; border-radius: 999px; background: var(--coral-soft); color: var(--coral); font-weight: 900; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 15px; }
.step.unsure .n { background: var(--butter); color: var(--warn); }
.job { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-bottom: 1px solid var(--line-2); }
.job:last-child { border-bottom: 0; }
.job .progress { margin-top: 7px; }
.edit-ing { display: grid; grid-template-columns: 70px 92px 1fr 36px; gap: 6px; align-items: center; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.edit-ing .input, .edit-ing .select { min-height: 42px; padding: 8px 10px; font-size: 15px; }
.edit-ing.unsure-row .input { border-color: var(--sun); }
.edit-ing .hint { grid-column: 1 / -1; font-size: 12.5px; color: var(--warn); margin-top: -2px; font-weight: 700; }
@media (max-width: 420px) { .edit-ing { grid-template-columns: 58px 74px 1fr 32px; } }
.recipe-card { color: var(--ink); }
.recipe-card .img .play { position: absolute; right: 8px; bottom: 8px; width: 34px; height: 34px; border-radius: 999px; background: rgba(255, 255, 255, .94); color: var(--coral); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-1); }
.recipe-card .img .play svg { width: 15px; height: 15px; margin-left: 2px; }
.reel-cta { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; border: 0; background: var(--coral-soft); border-radius: 22px; padding: 12px 16px 12px 12px; color: var(--ink); margin: 0 0 4px; }
.reel-cta b { display: block; font-family: var(--font-hand); font-weight: 400; font-size: 23px; line-height: 1.1; }
.reel-cta small { display: block; color: var(--ink-2); font-size: 14px; font-weight: 600; margin-top: 3px; line-height: 1.3; }
.reel-cta > svg { width: 22px; height: 22px; color: var(--ink-2); flex-shrink: 0; }
.reel-cta:active { transform: scale(.99); }
.starter-cta { display: flex; flex-direction: column; align-items: flex-end; margin: 6px 0 4px; }
.starter-cta .reel-cta.starter { background: var(--sage-soft); margin: 0; }
.starter-cta > .btn { margin-top: 2px; }
.starter-list { display: flex; flex-direction: column; gap: 2px; }
.starter-row { display: flex; gap: 12px; align-items: flex-start; padding: 10px 4px; border-bottom: 1px solid var(--line-2); cursor: pointer; }
.starter-row:last-child { border-bottom: 0; }
.starter-row input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--coral); flex-shrink: 0; }
.starter-row .title { display: block; font-weight: 750; line-height: 1.25; }
.starter-row .sub { display: block; color: var(--ink-3); font-size: 13.5px; font-weight: 600; line-height: 1.35; margin-top: 2px; }
.starter-row.have { cursor: default; opacity: .6; }
.search-bar { position: relative; margin: 6px 0 4px; }
.search-bar svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--ink-3); }
.search-bar .input { padding-left: 44px; border-radius: 999px; }
.import-hero { text-align: center; padding: 22px 18px; }
.import-hero .illu-img { margin: 0 auto 6px; }
.import-hero h3 { font-size: 22px; margin-bottom: 4px; }
.import-hero .how { text-align: left; max-width: 440px; margin: 16px auto 18px; }
.how { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; counter-reset: how; }
.how li { counter-increment: how; position: relative; padding: 2px 0 0 36px; min-height: 26px; font-size: 15px; color: var(--ink-2); line-height: 1.4; }
.how li::before { content: counter(how); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 999px; background: var(--coral-soft); color: var(--coral); font-weight: 900; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.dropzone { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; text-align: center; padding: 22px 16px; border: 2px dashed var(--line); border-radius: var(--r-l); background: var(--surface-2); cursor: pointer; color: var(--ink-2); min-height: 130px; }
.dropzone svg { width: 30px; height: 30px; color: var(--coral); margin-bottom: 4px; }
.dropzone b { color: var(--ink); font-size: 16px; }
.dropzone span { font-size: 13.5px; color: var(--ink-3); font-weight: 600; }
.dropzone.has-file { border-style: solid; border-color: var(--sage); background: var(--money-soft); }
.dropzone:focus-within { outline: 2.5px solid var(--coral); outline-offset: 2px; }
.job { align-items: flex-start; }
.job .title { font-weight: 800; }
.job .sub { font-size: 14px; color: var(--ink-2); font-weight: 600; margin-top: 1px; }
.job .sub.err { color: var(--danger); }
.job-ic { width: 40px; height: 40px; border-radius: 14px; background: var(--coral-soft); color: var(--coral); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.job-ic svg { width: 20px; height: 20px; }
.job-ic.done { background: var(--money-soft); color: var(--money); }
.job-ic.failed { background: var(--danger-soft); color: var(--danger); }
.job-ic.cancelled { background: var(--surface-3); color: var(--ink-3); }
.job-ic.running svg { animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.job-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.job-actions:empty { display: none; }
.back-link { display: inline-flex; align-items: center; gap: 2px; font-weight: 800; color: var(--coral); font-size: 15.5px; padding: 6px 2px; }
.link-btn { background: none; border: 0; padding: 0; color: var(--coral); font-weight: 800; text-decoration: underline; font-size: inherit; }
.recipe-top { display: grid; gap: 16px; }
@media (min-width: 900px) { .recipe-top { grid-template-columns: minmax(280px, 420px) 1fr; align-items: start; } }
.recipe-hero.illu { display: flex; align-items: center; justify-content: center; background: var(--butter); aspect-ratio: 16 / 9; }
.recipe-video { display: block; width: auto; max-width: 100%; max-height: 64dvh; margin: 0 auto; box-shadow: var(--shadow-1); }
.recipe-title { font-family: var(--font-hand); font-weight: 400; font-size: 38px; line-height: 1.05; letter-spacing: 0; }
.recipe-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.recipe-actions .btn { flex: 1 1 auto; }
.recipe-actions .btn.primary { flex-basis: 100%; }
@media (min-width: 560px) { .recipe-actions .btn, .recipe-actions .btn.primary { flex: 0 1 auto; } }
.recipe-cols { display: grid; gap: 0 22px; }
@media (min-width: 900px) { .recipe-cols { grid-template-columns: minmax(300px, 400px) 1fr; align-items: start; } }
.ing .nm small { font-family: var(--font); font-size: 14px; color: var(--ink-3); font-weight: 600; }
.step-text { white-space: pre-wrap; line-height: 1.5; }
.servings button:disabled { opacity: .4; cursor: default; }
.servings button svg { width: 20px; height: 20px; }
.cook-toggle { margin-top: 12px; }
.disclosure { overflow: hidden; }
.disclosure summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; font-weight: 800; }
.disclosure summary::-webkit-details-marker { display: none; }
.disclosure summary .chev { width: 20px; height: 20px; color: var(--ink-3); transition: transform .2s; }
.disclosure[open] summary .chev { transform: rotate(180deg); }
.disclosure-body { padding: 0 16px 16px; display: flex; flex-direction: column; gap: 8px; }
.orig { background: var(--surface-2); border: 1px solid var(--line-2); border-radius: var(--r-m); padding: 10px 12px; }
.orig-label { font-size: 12.5px; font-weight: 900; color: var(--ink-3); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 4px; }
.orig-text { white-space: pre-wrap; font-size: 14.5px; color: var(--ink-2); max-height: 260px; overflow: auto; overflow-wrap: anywhere; }
.notes .orig-text { max-height: none; }
.warn-list { margin: 0; padding: 12px 14px 12px 32px; background: var(--warn-soft); color: var(--warn); border-radius: var(--r-m); font-size: 14.5px; font-weight: 650; display: flex; flex-direction: column; gap: 4px; border: 0; box-shadow: none; }
.review-intro { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--ink-2); background: var(--butter); border-color: transparent; }
.unsure-inline { background: var(--sun); color: var(--ink); padding: 0 6px; border-radius: 6px; font-weight: 800; }
.input.unsure-input { border-color: var(--sun); background: #FFFBEA; }
.edit-ing.head { border: 0; padding: 0 0 2px; font-size: 12.5px; font-weight: 800; color: var(--ink-3); }
.edit-ing .icon-btn { width: 36px; height: 36px; }
.edit-ing.unsure-row .input, .edit-ing.unsure-row .select { border-color: var(--sun); background-color: #FFFBEA; }
.edit-step { display: grid; grid-template-columns: 30px 1fr auto; gap: 8px; align-items: start; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.edit-step .n { width: 30px; height: 30px; border-radius: 999px; background: var(--coral-soft); color: var(--coral); font-weight: 900; display: flex; align-items: center; justify-content: center; margin-top: 9px; font-size: 15px; }
.edit-step .textarea { min-height: 52px; font-size: 15.5px; resize: none; overflow: hidden; }
.disclosure .recipe-video { max-height: 52dvh; }
.edit-step .tools { display: flex; flex-direction: column; }
.edit-step .tools .icon-btn { width: 34px; height: 30px; }
.edit-step .tools .icon-btn:disabled { opacity: .3; cursor: default; }
.edit-step.unsure-row .textarea { border-color: var(--sun); background: #FFFBEA; }
.edit-step .hint { grid-column: 2 / -1; font-size: 12.5px; color: var(--warn); font-weight: 700; margin-top: -2px; }
.suggest { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); }
.suggest .chip { padding: 6px 12px; }
.suggest .chip svg { width: 16px; height: 16px; }
.edit-bar { position: sticky; bottom: calc(var(--tabbar-h) + var(--safe-b) + 10px); z-index: 25; display: flex; gap: 8px; margin-top: 18px; padding: 7px; border-radius: 999px; background: var(--glass); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border: 1.5px solid var(--line); box-shadow: var(--shadow-2); }
@media (min-width: 960px) { .edit-bar { bottom: 16px; max-width: 640px; margin-left: auto; } }
.item.off .name { color: var(--ink-3); }
.day-picker { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.day-picker button { border: 1.5px solid var(--line); background: var(--surface); border-radius: 14px; padding: 6px 0; display: flex; flex-direction: column; align-items: center; color: var(--ink); }
.day-picker button small { font-size: 11.5px; font-weight: 800; color: var(--ink-3); }
.day-picker button b { font-size: 18px; font-weight: 850; }
.day-picker button.on { background: var(--coral); border-color: var(--coral); color: #fff; }
.day-picker button.on small { color: rgba(255, 255, 255, .85); }

/* ---------------------------------------------------------------- Chat */
.chat { display: flex; flex-direction: column; height: calc(100dvh - var(--tabbar-h) - var(--safe-b) - var(--safe-t) - 16px); }
.main:has(> .chat) { padding-bottom: 0; }
@media (min-width: 960px) { .chat { height: calc(100dvh - 40px); } }
.chat-scroll { flex: 1; overflow-y: auto; padding: 8px 2px 12px; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.day-sep { text-align: center; margin: 14px 0 8px; }
.day-sep span { font-size: 12.5px; font-weight: 800; color: var(--ink-3); background: var(--surface-3); padding: 4px 11px; border-radius: 999px; }
.msg { display: flex; gap: 8px; align-items: flex-end; margin: 3px 0; }
.msg.me { flex-direction: row-reverse; }
.msg .avatar { margin-bottom: 2px; }
.msg.cont .avatar { visibility: hidden; }
.bubble { max-width: min(78%, 560px); padding: 8px 13px 6px; border-radius: 20px; background: var(--surface); box-shadow: var(--shadow-1); word-wrap: break-word; overflow-wrap: anywhere; }
.msg.me .bubble { background: var(--coral); color: #fff; }
.msg:not(.me) .bubble { border-bottom-left-radius: 7px; }
.msg.me .bubble { border-bottom-right-radius: 7px; }
.bubble .who { font-size: 13px; font-weight: 900; color: var(--c, var(--coral)); margin-bottom: 1px; }
.bubble .txt { white-space: pre-wrap; font-size: 16px; font-weight: 600; }
.bubble .ts { font-size: 11px; opacity: .65; text-align: right; margin-top: 2px; font-variant-numeric: tabular-nums; font-weight: 700; }
.bubble.deleted { font-style: italic; opacity: .6; }
.ref-card { display: flex; gap: 10px; align-items: center; margin: 4px 0; padding: 8px; border-radius: 14px; background: var(--surface-2); color: var(--ink); border: 1px solid var(--line-2); cursor: pointer; min-width: 200px; }
.msg.me .ref-card { background: rgba(255,255,255,.18); color: inherit; border-color: rgba(255,255,255,.3); }
.ref-card .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--butter) center/cover; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ref-card .ic img { width: 36px; height: 36px; }
.ref-card b { display: block; font-size: 15px; }
.ref-card small { font-size: 13px; opacity: .8; }
.composer { display: flex; gap: 8px; align-items: flex-end; padding: 8px 0 4px; }
.composer .textarea { min-height: 48px; max-height: 140px; border-radius: 24px; padding: 11px 17px; resize: none; }
.composer .attach { background: var(--coral-soft); color: #C4492B; padding: 6px 10px; border-radius: 12px; font-size: 13.5px; font-weight: 800; display: flex; gap: 6px; align-items: center; }
.e2e-note { text-align: center; font-size: 12.5px; color: var(--ink-3); margin: 6px 0; font-weight: 600; }

/* ---------------------------------------------------------------- Angebote */
.offer { padding: 12px 14px; border-bottom: 1px solid var(--line-2); }
.offer:last-child { border-bottom: 0; }
.offer .price { font-size: 22px; font-weight: 900; font-variant-numeric: tabular-nums; }
.offer .old { text-decoration: line-through; color: var(--ink-3); font-size: 14px; margin-left: 6px; }
.store-link { display: flex; align-items: center; gap: 10px; padding: 13px 14px; border-bottom: 1px solid var(--line-2); color: var(--ink); font-weight: 700; }
.store-link:last-child { border-bottom: 0; }

/* ---------------------------------------------------------------- Anmeldung */
.auth-wrap { min-height: 100dvh; display: flex; align-items: center; justify-content: center; padding: 24px 16px calc(24px + var(--safe-b)); background: var(--bg); }
.auth-card { width: 100%; max-width: 430px; padding: 26px 22px; }
.auth-logo { height: 96px; width: auto; margin: 0 auto 10px; }
.auth-illu { width: 100%; border-radius: 20px; aspect-ratio: 3 / 2; object-fit: cover; margin: 10px 0 4px; }
.auth-card h1 { text-align: center; font-size: 28px; }
.auth-card .lead { text-align: center; color: var(--ink-2); margin: 6px 0 18px; font-family: var(--font-hand); font-size: 21px; }

/* ---------------------------------------------------------------- Sprache */
.voice-orb { width: 108px; height: 108px; border-radius: 999px; border: 4px solid #fff; margin: 12px auto; display: flex; align-items: center; justify-content: center; background: var(--coral); color: #fff; box-shadow: 0 0 0 calc(var(--lvl, 0) * 22px + 8px) var(--coral-soft), 0 10px 26px rgba(244, 110, 76, 0.4); transition: box-shadow .1s linear; }
.voice-orb.rec { background: var(--danger); }
.voice-orb svg { width: 42px; height: 42px; }
.voice-status { text-align: center; font-family: var(--font-hand); font-size: 21px; color: var(--ink-2); min-height: 26px; }
.question { display: flex; gap: 8px; align-items: flex-start; background: var(--butter); color: #7A5200; padding: 9px 12px; border-radius: 14px; font-size: 14.5px; font-weight: 700; }
.question svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; }
.intent-tabs { width: 100%; }
.intent-tabs.segmented { display: grid; }
.intent-tabs.segmented button { padding: 7px 4px; font-size: 14.5px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------------------------------------------------------------- Sonstiges */
.kbd { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12.5px; background: var(--surface-3); padding: 2px 6px; border-radius: 6px; word-break: break-all; }
.qr img { width: 220px; height: 220px; margin: 0 auto; border-radius: 12px; }
.banner { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: var(--r-l); background: var(--info-soft); color: var(--info); font-size: 15px; font-weight: 600; }
.banner svg { width: 22px; height: 22px; flex-shrink: 0; }
.banner.warn { background: var(--warn-soft); color: var(--warn); }
.banner b { display: block; margin-bottom: 2px; }
.banner.brand { background: var(--coral-soft); color: #B94324; }
.setting { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-bottom: 1px solid var(--line-2); min-height: 58px; }
.setting:last-child { border-bottom: 0; }
.setting > svg { width: 24px; height: 24px; color: var(--coral); flex-shrink: 0; }
.setting .txt { flex: 1; min-width: 0; font-weight: 700; }
.setting .txt small { display: block; color: var(--ink-3); font-size: 13.5px; font-weight: 600; }
.meal-day { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-bottom: 1px solid var(--line-2); }
.meal-day:last-child { border-bottom: 0; }
.meal-day .d { width: 48px; flex-shrink: 0; text-align: center; }
.meal-day .d b { display: block; font-size: 22px; font-weight: 900; }
.meal-day .d small { color: var(--ink-3); font-weight: 800; font-size: 12.5px; }
.meal-day.today .d b { color: var(--coral); }
.color-choices { display: flex; gap: 10px; flex-wrap: wrap; }
.color-choices button { width: 38px; height: 38px; border-radius: 999px; border: 3px solid transparent; background: var(--c); }
.color-choices button.on { border-color: var(--ink); }
.avatar-choices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.avatar-choices button { border: 3px solid transparent; background: transparent; border-radius: 999px; padding: 2px; }
.avatar-choices button img { width: 100%; aspect-ratio: 1; }
.avatar-choices button.on { border-color: var(--coral); }
/* ---------------------------------------------------------------- Listen-Auswahl, Essensplan, Chat, Sprache, Familie */
.pick-row { width: 100%; border: 0; background: none; text-align: left; color: inherit; font: inherit; }
.pick-row:disabled { cursor: default; opacity: 1; }
.pick-row .title { display: block; font-weight: 750; }
.pick-row .sub { display: block; color: var(--ink-3); font-size: 13.5px; font-weight: 600; }
.thumb { width: 46px; height: 46px; border-radius: 14px; background: var(--butter) center/cover no-repeat; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--coral); }
.thumb.free { background: var(--sage-soft); color: var(--sage); }
.thumb svg { width: 22px; height: 22px; }
.week-nav { display: flex; align-items: center; gap: 8px; margin: 2px 0 12px; }
.week-nav b { font-size: 18px; }
.meal-day { align-items: center; }
.meal-day.past { opacity: .6; }
.meal-day .d small { display: block; }
.meal-day .meals { display: flex; flex-direction: column; gap: 6px; }
.meal-day .empty-day { font-family: var(--font-hand); font-size: 18px; }
.meal-day .add { color: var(--coral); background: var(--coral-soft); }
.card.pad > .btn.block { margin-top: 12px; }
.meal { display: flex; align-items: center; gap: 6px; }
.meal .icon-btn { width: 34px; height: 34px; }
.meal-link { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; color: var(--ink); }
.meal-link .thumb { width: 40px; height: 40px; border-radius: 12px; }
.meal-link .title { display: block; font-family: var(--font-hand); font-size: 20px; line-height: 1.1; }
.meal-link .sub { display: block; font-size: 12.5px; color: var(--ink-3); font-weight: 650; }
.offer.later { background: var(--surface-2); }
.offer-product { font-weight: 800; font-size: 16.5px; }
.chat .page-head { padding-top: 0; }
.chat-scroll .e2e-note { margin: 2px 0 10px; }
.attach-row { padding: 4px 0 0; }
.attach-row .ref-card { margin: 0; cursor: default; }
.ref-card .grow { min-width: 0; }
.ref-card .grow b, .ref-card .grow small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ref-card.missing { opacity: .6; }
.msg-del { font-size: 11px; color: inherit; opacity: .8; }
.msg:not(.me) .msg-del { color: var(--ink-3); }
.composer .btn.icon { flex-shrink: 0; }
.voice-orb:disabled { opacity: .45; cursor: not-allowed; }
.voice-examples { display: flex; flex-direction: column; align-items: center; gap: 4px; margin-top: 10px; }
.voice-examples span { font-family: var(--font-hand); font-size: 18px; color: var(--ink-3); }
.voice-draft { border-top: 1px dashed var(--line); margin-top: 14px; }
.about { display: flex; gap: 12px; align-items: flex-start; background: var(--surface-2); }
.qr { background: #fff; border-radius: 16px; padding: 8px; display: flex; justify-content: center; }
.qr img { width: 220px; height: 220px; }
/* ---------------------------------------------------------------- Kalender verbinden, Nur-Lese-Termine */
.ev-row.ro .color-bar { background: repeating-linear-gradient(180deg, var(--c) 0 6px, transparent 6px 10px); }
.ev-row.ro .title { color: var(--ink-2); }
.tg-event.ro { background: var(--surface); border-left-style: dashed; box-shadow: none; outline: 1px dashed color-mix(in srgb, var(--c) 45%, transparent); }
.allday-cols .ev.ro { background: color-mix(in srgb, var(--c) 18%, #fff); color: var(--ink); border: 1px dashed var(--c); }
@media (min-width: 720px) { .month .ev-chip.ro { background: transparent; border-left-style: dashed; } .month .ev-chip.allday.ro { background: color-mix(in srgb, var(--c) 18%, #fff); color: var(--ink); } }
.qr-row { display: flex; gap: 14px; align-items: center; }
.qr-row .qr { flex-shrink: 0; padding: 4px; border: 1px solid var(--line); }
.qr-row .qr img { width: 120px; height: 120px; }
@media (max-width: 719px) { .qr-row { display: none; } }
.sync-notes ul { margin: 6px 0 8px; padding-left: 18px; display: flex; flex-direction: column; gap: 4px; }
.btn.disabled-look { opacity: .55; }
.ext-cal { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-bottom: 1px solid var(--line-2); }
.ext-cal:last-child { border-bottom: 0; }
.ext-cal .dot { width: 14px; height: 14px; border-radius: 999px; background: var(--c); margin-top: 4px; flex-shrink: 0; }
.ext-cal .title { font-weight: 800; }
.ext-actions { display: flex; gap: 2px; flex-shrink: 0; }
.ext-actions .icon-btn { width: 36px; height: 36px; }
.err-text { color: var(--danger); font-weight: 700; }
.link-card { color: var(--ink); gap: 14px; }
.how-to p + p { margin-top: 8px; }
/* ---------------------------------------------------------------- Geburtstage */
.bday-row { align-items: center; }
.bday-date { width: 46px; flex-shrink: 0; text-align: center; border-radius: 14px; background: var(--coral-soft); padding: 5px 0 4px; }
.bday-date b { display: block; font-size: 19px; font-weight: 900; line-height: 1; color: var(--coral); }
.bday-date small { display: block; font-size: 11.5px; font-weight: 800; color: var(--ink-2); }
.bday-date.today { background: var(--coral); }
.bday-date.today b, .bday-date.today small { color: #fff; }
.bday-head { display: flex; gap: 14px; align-items: center; }
.plan-card { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.plan-card > svg { width: 24px; height: 24px; color: var(--sage); flex-shrink: 0; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* Datensicherung */
.secret-key { margin: 0; padding: 12px 14px; border-radius: var(--r-m, 12px); background: var(--bg-2); color: var(--ink);
  font: 600 13px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; white-space: pre-wrap; word-break: break-all; user-select: all; }
.check-row { display: flex; gap: 10px; align-items: center; font-weight: 600; cursor: pointer; }
.check-row input { width: 22px; height: 22px; accent-color: var(--coral); flex-shrink: 0; }
.backup details summary { cursor: pointer; font-weight: 700; color: var(--ink-2); padding: 4px 0; }
.backup details[open] summary { margin-bottom: 6px; }
.backup-files { margin-top: 6px; border-top: 1px solid var(--line); }
.danger-text { color: var(--danger, #C0392B); }

/* Unterwegs-Meldungen */
.btn.tall { min-height: 58px; font-size: 16.5px; }
.checkin-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.checkin-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; }
.checkin-row { display: flex; gap: 10px; align-items: center; }
.checkin-row small { display: block; color: var(--ink-3); font-weight: 600; }
.checkin-mini { gap: 8px; align-items: center; margin: 8px 2px 0; }
.chip.plain { padding: 6px 14px; }
.chip.plain.on { border-color: var(--coral); background: var(--coral-soft); color: var(--ink); }
.checkin-result { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 6px 0 4px; }
.checkin-result p { margin: 0; }
.checkin-result .btn { margin-top: 10px; }
.big-check { width: 64px; height: 64px; border-radius: 999px; display: grid; place-items: center; background: var(--sage); color: #fff; }
.big-check svg { width: 34px; height: 34px; }
.warn-text { color: var(--warn); }

/* Wetter mit Anzieh-Tipp */
.weather-card { display: flex; gap: 12px; align-items: flex-start; margin-top: 14px; padding: 12px 14px; border-radius: var(--r-l);
  background: linear-gradient(135deg, var(--sky-soft), var(--surface) 70%); border: 1px solid var(--line-2); box-shadow: var(--shadow-1); }
.weather-card.off { background: var(--surface); }
.weather-card small { display: block; font-size: 12px; margin-top: 2px; }
.w-emoji { font-size: 36px; line-height: 1.1; }
.w-head { display: flex; flex-direction: column; gap: 1px; }
.w-when { font-size: 13px; font-weight: 750; color: var(--ink-3); }
.w-head b { font-size: 17px; }
.w-tips { display: flex; flex-wrap: wrap; gap: 6px; margin: 7px 0 4px; }
.w-tip { padding: 3px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 13.5px; font-weight: 750; }
.weather-setup { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-weight: 750; color: var(--coral); }
.weather-setup svg { width: 18px; height: 18px; }
.place-results { margin-top: 6px; }

.place-results .title, .place-results .sub { display: block; }

/* „Was koche ich heute?“ */
.suggest-card { padding: 12px 6px 4px; margin-bottom: 4px; }
.suggest-head { display: flex; gap: 10px; align-items: center; padding: 0 10px 6px; }
.suggest-row { gap: 12px; }
.suggest-row .thumb { flex-shrink: 0; }
.suggest-row .sub { display: block; }
.fill-day { display: flex; gap: 8px; align-items: center; padding: 4px 8px 4px 12px; border-bottom: 1px solid var(--line-2); }
.fill-day:last-child { border-bottom: 0; }
.fill-day .d { display: flex; flex-direction: column; align-items: center; min-width: 30px; }
.fill-day .d small { color: var(--ink-3); font-weight: 700; }
.fill-day .list-item { border: 0; padding: 8px 4px; min-height: 0; }
.fill-day.skipped .grow { opacity: .4; text-decoration: line-through; }
.fill-actions { display: flex; flex-direction: column; align-items: flex-end; }

/* Laufweg */
.store-picker { margin: 0 0 10px; }
.scroll-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.scroll-chips::-webkit-scrollbar { display: none; }
.scroll-chips .chip { flex-shrink: 0; }
.walk-hint { margin: 6px 2px 0; }

/* Siri & Kurzbefehle */
.copy-row { display: flex; flex-direction: column; gap: 4px; }
.copy-row code { padding: 9px 12px; border-radius: var(--r-s); background: var(--bg-2); font-size: 13px; word-break: break-all; }
.steps { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.steps ul { margin: 4px 0 0; padding-left: 18px; }
.steps code { font-size: 13px; background: var(--bg-2); padding: 1px 5px; border-radius: 6px; word-break: break-all; }
.list-item.revoked { opacity: .5; }


/* ---------------------------------------------------------------- Gastzugang */
.guest-body { background: var(--bg); }
.guest { max-width: 640px; margin: 0 auto; padding: calc(18px + var(--safe-t, 0px)) 16px calc(28px + var(--safe-b, 0px)); }
.guest h1 { font-family: var(--font-hand); font-weight: 400; font-size: 34px; line-height: 1.05; margin: 0; }
.guest h2 { font-size: 20px; margin: 22px 2px 10px; }
.guest h3 { font-size: 18px; margin: 0 0 4px; }
.guest-hero { display: flex; gap: 14px; align-items: center; padding: 6px 2px 4px; }
.guest-hero img { flex-shrink: 0; border-radius: 24px; }
.guest-hero p { margin: 6px 0 0; }
.card.guest-hero { flex-direction: column; text-align: center; padding: 26px 18px; margin-top: 40px; }
.guest-card + .guest-card { margin-top: 10px; }
.guest-gifts { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; }
.guest-gift { display: flex; gap: 10px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line-2); }
.guest-gift .title { font-weight: 750; }
.guest-gift .sub { color: var(--ink-3); font-size: 13.5px; font-weight: 600; }
.guest-gift .btn { flex-shrink: 0; }
.guest-sizes { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; margin: 10px 0 0; }
.guest-sizes div { background: var(--surface-2); border-radius: 14px; padding: 8px 12px; }
.guest-sizes dt { font-size: 13px; color: var(--ink-3); font-weight: 650; }
.guest-sizes dd { margin: 2px 0 0; font-size: 20px; font-weight: 800; }
.guest-note { background: var(--money-soft); color: var(--ink); border-radius: 16px; padding: 10px 14px; margin: 12px 0 0; font-weight: 600; }
.guest-info a { color: var(--info); font-weight: 750; }
.guest-foot { margin-top: 26px; text-align: center; line-height: 1.5; }
.guest-qr { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-top: 6px; }
.guest-qr img { width: 180px; height: 180px; border-radius: 12px; background: #fff; }
.guest-link .title .pill { margin-left: 6px; vertical-align: 2px; }
.sizes-form { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.sizes-form .tiny { grid-column: 1 / -1; }

/* ---------------------------------------------------------------- Picnic */
.picnic-list { display: flex; flex-direction: column; }
.picnic-row { padding: 10px 2px; border-bottom: 1px solid var(--line-2); }
.picnic-row:last-child { border-bottom: 0; }
.picnic-row.off { opacity: .55; }
.picnic-row .title { font-weight: 750; }
.picnic-row .sub { color: var(--ink-3); font-size: 13.5px; font-weight: 600; margin-top: 2px; }
.picnic-check { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--coral); flex-shrink: 0; }
.picnic-count { display: grid; grid-template-columns: auto auto auto; align-items: center; gap: 2px; justify-items: center; flex-shrink: 0; }
.picnic-count b { min-width: 22px; text-align: center; font-size: 17px; }
.picnic-count .tiny { grid-column: 1 / -1; }
.picnic-state { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 6px; }
.picnic-picker { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.picnic-summary { margin-bottom: 12px; }
.picnic-summary ul { margin: 0 0 6px; padding-left: 18px; }
.warn-text { color: var(--warn); font-weight: 700; }

/* ---------------------------------------------------------------- Elternbriefe */
.letter-upload { cursor: pointer; margin-bottom: 4px; }
.letter-upload.disabled { opacity: .7; pointer-events: none; }
.letter-sug { display: flex; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--line-2); }
.letter-sug:last-child { border-bottom: 0; }
.letter-sug.done { opacity: .7; }
.letter-sug .title { font-weight: 800; font-size: 17px; }
.letter-sug .sub { color: var(--ink-2); font-weight: 650; font-size: 14px; margin: 2px 0 6px; }
.letter-sug .btn, .letter-sug .pill { margin-top: 4px; }
.letter-ic { width: 38px; height: 38px; border-radius: 12px; background: var(--peach); color: var(--coral); display: grid; place-items: center; flex-shrink: 0; }
.letter-ic svg { width: 20px; height: 20px; }
.letter-src { color: var(--ink-3); font-size: 13px; font-style: italic; line-height: 1.35; margin-top: 2px; }
.letter-past summary { cursor: pointer; font-weight: 700; }
.letter-past > div { margin-top: 10px; }
.letter-text { white-space: pre-wrap; font-size: 13.5px; max-height: 360px; overflow: auto; margin-top: 10px; }
.letter-photo { width: 100%; border-radius: 16px; margin-top: 10px; }
