/* Familienplaner – Oberfläche */
:root {
  --bg: #f6f2ea;
  --paper: #fffdf9;
  --ink: #22302c;
  --muted: #6b7772;
  --faint: #a3aca8;
  --line: #e6e0d4;
  --line-strong: #d6cebf;
  --accent: #2f6f62;
  --accent-soft: #e2eeea;
  --danger: #b3412e;
  --danger-soft: #f8e4df;
  --warn: #b7791f;
  --warn-soft: #fbf0d9;
  --c-urlaub: #2b7a9b;
  --c-haus: #b0623a;
  --c-weiteres: #6b6f86;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(34, 48, 44, .05), 0 6px 20px rgba(34, 48, 44, .05);
  --font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-display: ui-rounded, "SF Pro Rounded", "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
  --safe-b: env(safe-area-inset-bottom, 0px);
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.45; -webkit-text-size-adjust: 100%; }
body { min-height: 100vh; }
a { color: var(--accent); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--font-display); letter-spacing: -.01em; margin: 0; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
[hidden] { display: none !important; }

/* ---------- Login / Einrichtung ---------- */
.auth { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.auth-card { width: 100%; max-width: 380px; background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 32px 28px; box-shadow: var(--shadow); display: grid; gap: 14px; }
.auth-card.wide { max-width: 720px; }
.auth-card h1 { font-size: 1.6rem; }
.auth-card p { margin: 0; }
.brand-mark { width: 52px; height: 52px; border-radius: 15px; background: var(--accent); color: var(--bg); display: grid; place-items: center; font-size: 26px; }
.brand-mark.sm { width: 32px; height: 32px; border-radius: 10px; font-size: 16px; }
.setup-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
fieldset { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px 14px; display: grid; gap: 10px; margin: 0; }
legend { font-weight: 600; padding: 0 6px; }
.err { color: var(--danger); background: var(--danger-soft); padding: 8px 12px; border-radius: 8px; }

/* ---------- Formulare ---------- */
label { display: grid; gap: 5px; font-size: .85rem; color: var(--muted); font-weight: 500; }
input[type=text], input[type=password], input[type=email], input[type=date], input[type=time], input[type=number], input:not([type]), select, textarea {
  width: 100%; border: 1px solid var(--line-strong); background: #fff; border-radius: var(--radius-sm); padding: 11px 12px; font-size: 1rem; color: var(--ink); outline: none; transition: border-color .15s, box-shadow .15s; min-height: 46px;
}
textarea { min-height: 84px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
input[type=color] { width: 46px; height: 40px; border: 1px solid var(--line-strong); border-radius: 8px; padding: 2px; background: #fff; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.row3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.check { display: flex; align-items: center; gap: 10px; color: var(--ink); font-size: .95rem; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--accent); }
.form { display: grid; gap: 14px; }
.form-actions { display: flex; gap: 10px; justify-content: space-between; align-items: center; margin-top: 4px; flex-wrap: wrap; }
.form-actions .right { display: flex; gap: 10px; margin-left: auto; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--line-strong); background: var(--paper); border-radius: 999px; padding: 10px 18px; font-weight: 600; font-size: .95rem; cursor: pointer; min-height: 44px; text-decoration: none; color: var(--ink); transition: background .15s, transform .05s; white-space: nowrap; }
.btn:hover { background: #f1ece2; }
.btn:active { transform: scale(.98); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.primary:hover { background: #285f54; }
.btn.danger { color: var(--danger); border-color: #e9c3ba; background: transparent; }
.btn.ghost { border-color: transparent; background: transparent; }
.btn.small { padding: 6px 12px; min-height: 34px; font-size: .85rem; }
.btn.block { width: 100%; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 0; background: transparent; display: inline-grid; place-items: center; cursor: pointer; color: var(--muted); flex: none; }
.icon-btn:hover { background: #efe9de; color: var(--ink); }
.icon-btn svg, .btn svg { width: 20px; height: 20px; }

/* ---------- Layout ---------- */
.app { min-height: 100vh; }
.side { display: none; }
.main { padding: 0 16px calc(96px + var(--safe-b)); max-width: 1180px; margin: 0 auto; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: max(18px, env(safe-area-inset-top)) 2px 14px; position: sticky; top: 0; background: linear-gradient(var(--bg) 80%, rgba(246, 242, 234, 0)); z-index: 5; }
.topbar h1 { font-size: 1.65rem; font-weight: 700; }
.page-actions { display: flex; gap: 8px; }
.view { display: grid; gap: 16px; }

.tabbar { position: fixed; left: 0; right: 0; bottom: 0; background: rgba(255, 253, 249, .96); backdrop-filter: blur(12px); border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(5, 1fr); padding: 6px 4px calc(6px + var(--safe-b)); z-index: 20; }
.tabbar a { display: grid; justify-items: center; gap: 2px; font-size: .7rem; font-weight: 600; color: var(--muted); text-decoration: none; padding: 6px 0; border-radius: 12px; position: relative; }
.tabbar a svg { width: 24px; height: 24px; }
.tabbar a.active { color: var(--accent); }
.tabbar .badge { position: absolute; top: 2px; left: 55%; }

@media (min-width: 900px) {
  .app { display: grid; grid-template-columns: 248px 1fr; }
  .side { display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; padding: 22px 14px; border-right: 1px solid var(--line); background: var(--paper); }
  .side-brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; padding: 0 8px 22px; }
  .side-nav { display: grid; gap: 2px; }
  .side-nav a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; text-decoration: none; color: var(--ink); font-weight: 500; }
  .side-nav a svg { width: 20px; height: 20px; color: var(--muted); }
  .side-nav a:hover { background: #f3eee5; }
  .side-nav a.active { background: var(--accent-soft); color: var(--accent); font-weight: 600; }
  .side-nav a.active svg { color: var(--accent); }
  .side-nav .badge { margin-left: auto; }
  .side-nav .sep { height: 1px; background: var(--line); margin: 10px 8px; }
  .side-foot { margin-top: auto; display: flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--muted); padding: 0 8px; }
  .tabbar { display: none; }
  .main { padding: 0 32px 48px; width: 100%; }
  .topbar { padding-top: 26px; }
  .topbar h1 { font-size: 1.9rem; }
}

/* ---------- Karten ---------- */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.card-head h2 { font-size: 1.05rem; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.card-head h2 svg { width: 19px; height: 19px; color: var(--accent); }
.card-head a { font-size: .85rem; font-weight: 600; text-decoration: none; }
.grid-dash { display: grid; gap: 16px; }
@media (min-width: 760px) { .grid-dash { grid-template-columns: 1fr 1fr; } .span2 { grid-column: span 2; } }
@media (min-width: 1200px) { .grid-dash { grid-template-columns: 1.3fr 1fr 1fr; } .span2 { grid-column: span 1; } .tall { grid-row: span 2; } }
.empty { color: var(--faint); font-size: .92rem; padding: 6px 0; }
.empty-big { text-align: center; padding: 40px 20px; color: var(--muted); }
.empty-big .big { font-size: 2.2rem; margin-bottom: 6px; }

.hello { padding: 4px 2px 0; }
.hello h2 { font-size: 1.35rem; }
.hello p { margin: 2px 0 0; color: var(--muted); }
.quick { display: flex; gap: 8px; overflow-x: auto; padding: 2px; scrollbar-width: none; }
.quick::-webkit-scrollbar { display: none; }
.quick .btn { flex: none; }

/* ---------- Listen ---------- */
.list { display: grid; }
.item { display: flex; align-items: center; gap: 12px; padding: 11px 2px; border-bottom: 1px solid var(--line); min-height: 52px; }
.item:last-child { border-bottom: 0; }
.item .body { flex: 1; min-width: 0; cursor: pointer; }
.item .title { font-weight: 500; overflow-wrap: anywhere; }
.item .meta { font-size: .8rem; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 1px; }
.item.done .title { text-decoration: line-through; color: var(--faint); }
.tick { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--line-strong); background: #fff; flex: none; cursor: pointer; display: grid; place-items: center; transition: all .15s; padding: 0; }
.tick:hover { border-color: var(--accent); }
.tick svg { width: 15px; height: 15px; color: #fff; opacity: 0; }
.item.done .tick { background: var(--accent); border-color: var(--accent); }
.item.done .tick svg { opacity: 1; }
.group-title { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; color: var(--muted); margin: 14px 2px 2px; display: flex; align-items: center; gap: 8px; }
.group-title:first-child { margin-top: 0; }
.group-title .count { font-weight: 600; color: var(--faint); }
.dot { width: 9px; height: 9px; border-radius: 50%; flex: none; display: inline-block; }

.pill { display: inline-flex; align-items: center; gap: 4px; font-size: .75rem; font-weight: 600; padding: 2px 9px; border-radius: 999px; background: #efeae0; color: var(--muted); white-space: nowrap; }
.pill.danger { background: var(--danger-soft); color: var(--danger); }
.pill.warn { background: var(--warn-soft); color: var(--warn); }
.pill.ok { background: var(--accent-soft); color: var(--accent); }
.badge { background: var(--accent); color: #fff; font-size: .68rem; font-weight: 700; border-radius: 999px; padding: 1px 6px; min-width: 18px; text-align: center; }
.avatar { width: 22px; height: 22px; border-radius: 50%; color: #fff; font-size: .7rem; font-weight: 700; display: inline-grid; place-items: center; flex: none; }

.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chips.scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.chip { border: 1px solid var(--line-strong); background: var(--paper); border-radius: 999px; padding: 7px 14px; font-size: .88rem; font-weight: 600; cursor: pointer; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; color: var(--ink); }
.chip.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip .n { opacity: .6; font-weight: 500; }
.chip.soft { background: #f1ece2; border-color: transparent; font-weight: 500; }
.chip.soft.active { background: var(--ink); color: #fff; }
a.chip { text-decoration: none; }

/* Kategorie-Farben */
.cat-Urlaub { --c: var(--c-urlaub); } .cat-Haus { --c: var(--c-haus); } .cat-Weiteres { --c: var(--c-weiteres); }
.cat-dot { background: var(--c, var(--c-weiteres)); }

/* ---------- Eingabezeile ---------- */
.addbar { display: flex; gap: 8px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 6px 6px 6px 16px; box-shadow: var(--shadow); align-items: center; }
.addbar input { flex: 1; min-width: 0; border: 0 !important; box-shadow: none !important; padding: 8px 0; background: transparent; min-height: 40px; }
.addbar input.qty { width: 70px; flex: none; text-align: center; border-left: 1px solid var(--line) !important; border-radius: 0; }
.addbar select { width: auto; border: 0; background: #f1ece2; border-radius: 999px; min-height: 38px; padding: 6px 10px; font-size: .85rem; flex: none; max-width: 130px; }
@media (max-width: 560px) { .addbar select { display: none; } .addbar input.qty { width: 62px; } }
.addbar .btn { flex: none; min-height: 40px; width: 40px; padding: 0; }

/* ---------- Termine ---------- */
.agenda-day { display: grid; grid-template-columns: 56px 1fr; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.agenda-day:last-child { border-bottom: 0; }
.agenda-date { text-align: center; line-height: 1.1; padding-top: 2px; }
.agenda-date .wd { font-size: .72rem; font-weight: 700; text-transform: uppercase; color: var(--muted); letter-spacing: .04em; }
.agenda-date .d { font-family: var(--font-display); font-size: 1.45rem; font-weight: 700; }
.agenda-day.today .agenda-date .d { color: #fff; background: var(--accent); border-radius: 12px; width: 40px; margin: 2px auto 0; padding: 3px 0; }
.ev { display: flex; gap: 10px; align-items: stretch; padding: 7px 10px; border-radius: 10px; background: color-mix(in srgb, var(--ec) 9%, #fff); cursor: pointer; margin-bottom: 6px; }
.ev:last-child { margin-bottom: 0; }
.ev::before { content: ""; width: 4px; border-radius: 3px; background: var(--ec); flex: none; }
.ev .t { font-weight: 600; font-size: .95rem; overflow-wrap: anywhere; }
.ev .s { font-size: .8rem; color: var(--muted); }
.ev-list-compact .ev { background: transparent; padding: 6px 4px; margin: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
.ev-list-compact .ev:last-child { border-bottom: 0; }
.day-label { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin: 12px 0 2px; }
.day-label:first-child { margin-top: 0; }

.month { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.month-head { display: flex; align-items: center; justify-content: space-between; padding: 10px 10px 6px 16px; }
.month-head h2 { font-size: 1.15rem; }
.month-grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.month-grid .wdh { text-align: center; font-size: .72rem; font-weight: 700; color: var(--muted); padding: 6px 0; text-transform: uppercase; }
.mday { min-height: 54px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); padding: 4px; cursor: pointer; position: relative; overflow: hidden; }
.mday:nth-child(7n+1) { border-left: 0; }
.mday .n { font-size: .82rem; font-weight: 600; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; margin: 0 auto; }
.mday.other { background: #faf7f1; }
.mday.other .n { color: var(--faint); }
.mday.today .n { background: var(--accent); color: #fff; }
.mday.sel { background: var(--accent-soft); }
.mday .dots { display: flex; justify-content: center; gap: 3px; margin-top: 3px; flex-wrap: wrap; }
.mday .dots i { width: 6px; height: 6px; border-radius: 50%; }
.mday .chips-ev { display: none; }
@media (min-width: 900px) {
  .mday { min-height: 92px; }
  .mday .n { margin: 0; }
  .mday .dots { display: none; }
  .mday .chips-ev { display: grid; gap: 2px; margin-top: 2px; }
  .mday .chips-ev span { font-size: .72rem; padding: 1px 5px; border-radius: 4px; background: color-mix(in srgb, var(--ec) 14%, #fff); border-left: 3px solid var(--ec); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .mday .chips-ev em { font-size: .7rem; color: var(--muted); font-style: normal; padding-left: 4px; }
}
.cal-layout { display: grid; gap: 16px; }
@media (min-width: 1100px) { .cal-layout { grid-template-columns: 1.6fr 1fr; align-items: start; } }

/* ---------- Samuel ---------- */
.hero { background: linear-gradient(135deg, #2f6f62, #3f8a7a); color: #fff; border-radius: var(--radius); padding: 20px; display: flex; gap: 16px; align-items: center; box-shadow: var(--shadow); }
.hero .big-emoji { font-size: 2.6rem; width: 64px; height: 64px; border-radius: 20px; background: rgba(255, 255, 255, .15); display: grid; place-items: center; flex: none; }
.hero h2 { font-size: 1.4rem; }
.hero p { margin: 2px 0 0; opacity: .85; }
.hero .stats { display: flex; gap: 18px; margin-top: 8px; flex-wrap: wrap; }
.hero .stats b { display: block; font-size: 1.1rem; }
.hero .stats span { font-size: .75rem; opacity: .8; }
.timeline { position: relative; padding-left: 22px; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 2px; background: var(--line-strong); border-radius: 2px; }
.tl-item { position: relative; padding: 0 0 18px; }
.tl-item::before { content: ""; position: absolute; left: -21px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--paper); border: 3px solid var(--kc, var(--accent)); }
.tl-item .when { font-size: .78rem; color: var(--muted); font-weight: 600; }
.tl-card { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; margin-top: 4px; cursor: pointer; box-shadow: var(--shadow); }
.tl-card h3 { font-size: 1.02rem; font-family: var(--font); font-weight: 600; }
.tl-card p { margin: 4px 0 0; color: var(--muted); font-size: .92rem; white-space: pre-line; }
.photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 6px; margin-top: 10px; }
.photos img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; display: block; background: #eee; }
.lightbox { position: fixed; inset: 0; background: rgba(20, 24, 22, .92); z-index: 60; display: grid; place-items: center; padding: 20px; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 8px; }

/* ---------- Dokumente ---------- */
.doc-grid { display: grid; gap: 12px; }
@media (min-width: 760px) { .doc-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); } }
.doc { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 14px; cursor: pointer; box-shadow: var(--shadow); display: grid; gap: 6px; }
.doc:hover { border-color: var(--line-strong); }
.doc .top { display: flex; justify-content: space-between; gap: 8px; align-items: start; }
.doc h3 { font-size: 1rem; font-family: var(--font); font-weight: 600; }
.doc .sub { font-size: .85rem; color: var(--muted); }
.doc .foot { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin-top: 2px; }
.doc.archived { opacity: .55; }
.file-list { display: grid; gap: 6px; }
.file-row { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.file-row a { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-decoration: none; font-weight: 500; }
.dropzone { border: 1.5px dashed var(--line-strong); border-radius: 12px; padding: 14px; text-align: center; color: var(--muted); font-size: .9rem; cursor: pointer; background: #fcfaf6; }
.dropzone:hover { border-color: var(--accent); color: var(--accent); }
.search { position: relative; }
.search input { padding-left: 40px; border-radius: 999px; background: var(--paper); }
.search svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); }

/* ---------- Geburtstage ---------- */
.bday { display: flex; gap: 14px; align-items: center; padding: 12px 2px; border-bottom: 1px solid var(--line); cursor: pointer; }
.bday:last-child { border-bottom: 0; }
.bday .cal { width: 50px; text-align: center; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); flex: none; background: #fff; }
.bday .cal .m { background: #c2703d; color: #fff; font-size: .68rem; font-weight: 700; text-transform: uppercase; padding: 2px 0; }
.bday .cal .d { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; padding: 2px 0 3px; }
.bday .body { flex: 1; min-width: 0; }
.bday .name { font-weight: 600; }
.bday .ideas { font-size: .82rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- Einstellungen ---------- */
.settings { display: grid; gap: 16px; max-width: 820px; }
.settings h2 { font-size: 1.1rem; margin-bottom: 4px; }
.steps { margin: 6px 0 4px; padding-left: 20px; color: var(--muted); font-size: .9rem; }
.steps li { margin: 4px 0; }
.code { font-family: ui-monospace, Consolas, monospace; font-size: .82rem; background: #f1ece2; padding: 8px 10px; border-radius: 8px; overflow-wrap: anywhere; display: flex; gap: 8px; align-items: center; justify-content: space-between; }
.cal-row { display: grid; grid-template-columns: 1fr 1fr 46px auto 40px; gap: 8px; align-items: center; }
@media (max-width: 640px) { .cal-row { grid-template-columns: 1fr 46px 40px; padding-bottom: 10px; border-bottom: 1px solid var(--line); } .cal-row .cr-name { order: 1; } .cal-row input[type=color] { order: 2; } .cal-row [data-rmcal] { order: 3; } .cal-row .cr-id { order: 4; grid-column: 1 / -1; } .cal-row .check { order: 5; grid-column: 1 / -1; } }

/* ---------- Bottom-Sheet / Dialog ---------- */
.sheet { position: fixed; inset: 0; z-index: 50; display: grid; align-items: end; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(28, 36, 33, .38); animation: fade .18s ease; }
.sheet-panel { position: relative; background: var(--paper); border-radius: 22px 22px 0 0; max-height: 92vh; overflow-y: auto; padding: 8px 18px calc(22px + var(--safe-b)); animation: up .22s cubic-bezier(.2, .8, .2, 1); width: 100%; }
.sheet-grip { width: 40px; height: 5px; border-radius: 3px; background: var(--line-strong); margin: 4px auto 12px; }
.sheet h2 { font-size: 1.3rem; margin-bottom: 14px; }
@media (min-width: 700px) {
  .sheet { place-items: center; }
  .sheet-panel { width: min(560px, 94vw); border-radius: 20px; padding: 22px 24px 24px; animation: pop .18s ease; }
  .sheet-grip { display: none; }
}
@keyframes up { from { transform: translateY(40px); opacity: .4; } }
@keyframes pop { from { transform: scale(.97); opacity: 0; } }
@keyframes fade { from { opacity: 0; } }
.menu-list { display: grid; gap: 4px; }
.menu-list a { display: flex; align-items: center; gap: 14px; padding: 14px 10px; border-radius: 12px; text-decoration: none; color: var(--ink); font-weight: 500; font-size: 1.05rem; }
.menu-list a:hover { background: #f3eee5; }
.menu-list a svg { width: 22px; height: 22px; color: var(--accent); }

.toast { position: fixed; left: 50%; bottom: calc(92px + var(--safe-b)); transform: translateX(-50%); background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 999px; font-size: .9rem; z-index: 70; box-shadow: 0 8px 24px rgba(0, 0, 0, .2); max-width: 90vw; text-align: center; }
.toast.err { background: var(--danger); }
@media (min-width: 900px) { .toast { bottom: 28px; } }
.notice { background: var(--warn-soft); color: #7a5313; border-radius: 12px; padding: 10px 14px; font-size: .9rem; }
.notice a { color: inherit; font-weight: 600; }
.spinner { width: 22px; height: 22px; border: 3px solid var(--line); border-top-color: var(--accent); border-radius: 50%; animation: spin .8s linear infinite; margin: 30px auto; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Packlisten ---------- */
.pack-card { text-decoration: none; color: inherit; }
.progress { height: 8px; border-radius: 99px; background: #eee7da; overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--accent); border-radius: 99px; transition: width .3s; }

/* ---------- Connector ---------- */
.connector-hero { display: flex; gap: 14px; align-items: flex-start; }
.connector-hero .brand-mark { flex: none; background: #c96442; }
.session-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.session-row:last-child { border-bottom: 0; }
.session-row .body { flex: 1; }
