/* familie-henz.de – Design-System „Linie“ (Planer) + „Archiv“ (Fotos, ab Schritt 3) */

@font-face { font-family: 'Barlow'; font-weight: 400; font-style: normal; font-display: swap; src: url('../fonts/barlow-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Barlow'; font-weight: 500; font-style: normal; font-display: swap; src: url('../fonts/barlow-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Barlow'; font-weight: 600; font-style: normal; font-display: swap; src: url('../fonts/barlow-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Barlow'; font-weight: 700; font-style: normal; font-display: swap; src: url('../fonts/barlow-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-weight: 600; font-style: normal; font-display: swap; src: url('../fonts/barlow-condensed-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-weight: 700; font-style: normal; font-display: swap; src: url('../fonts/barlow-condensed-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-weight: 800; font-style: normal; font-display: swap; src: url('../fonts/barlow-condensed-latin-800-normal.woff2') format('woff2'); }

@font-face { font-family: 'IBM Plex Mono'; font-weight: 400; font-style: normal; font-display: swap; src: url('../fonts/ibm-plex-mono-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-weight: 500; font-style: normal; font-display: swap; src: url('../fonts/ibm-plex-mono-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-weight: 600; font-style: normal; font-display: swap; src: url('../fonts/ibm-plex-mono-latin-600-normal.woff2') format('woff2'); }
:root {
    --navy: #0F1B2D;
    --navy-2: #1B2A40;
    --navy-text: #C9D1DD;
    --signal: #F2B705;
    --paper: #F3F3EF;
    --rule: #E4E4DE;
    --line-input: #D3D3CB;
    --slate: #5B6576;
    --mute: #8A93A1;
    --ok: #13915A;
    --warn: #D7263D;
    --white: #FFFFFF;

    --p-do: #1F6FD1;
    --p-si: #D7263D;
    --p-jo: #7B3FA0;
    --p-ja: #13915A;
    --p-dog: #F2B705;

    --font: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-cond: 'Barlow Condensed', 'Barlow', system-ui, sans-serif;

    --safe-top: env(safe-area-inset-top, 0px);
    --safe-bottom: env(safe-area-inset-bottom, 0px);
    --tabbar-h: 58px;
    --sidebar-w: 248px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
/* iPhone-WebApp mit durchscheinender Statusleiste: Ist die Seite kürzer als der Bildschirm, endet der Anzeigebereich um die
   Statusleistenhöhe zu früh und die untere Leiste schwebt darüber (WebKit-Fehler 236445). Mindesthöhe samt Statusleiste. */
@media (display-mode: standalone) {
    html { min-height: calc(100% + env(safe-area-inset-top, 0px)); }
}
body { margin: 0; background: var(--paper); color: var(--navy); font: 400 16px/1.45 var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img, svg { display: block; }
code { font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace; font-size: .9em; background: rgba(15, 27, 45, .06); padding: 1px 4px; border-radius: 4px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.muted { color: var(--slate); }
.small { font-size: 13px; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; }

/* ---------- Bausteine ---------- */
.hsign { width: 38px; height: 38px; flex: none; border-radius: 50%; background: var(--signal); color: var(--navy); display: grid; place-items: center; font: 800 26px/1 var(--font-cond); }
.hsign-xl { width: 64px; height: 64px; font-size: 44px; }

.ln { font: 700 14px/1 var(--font-cond); color: #fff; min-width: 34px; height: 24px; padding: 0 6px; border-radius: 5px; display: inline-grid; place-items: center; letter-spacing: .03em; flex: none; background: var(--navy); }
.ln-DO { background: var(--p-do); }
.ln-SI { background: var(--p-si); }
.ln-JO { background: var(--p-jo); }
.ln-JA { background: var(--p-ja); }
.ln-XA, .ln-DE, .ln-food { background: var(--p-dog); color: var(--navy); }
.ln-FAM { background: var(--navy); }
.ln-LU { background: #5E6C84; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 20px; border: 0; border-radius: 12px; font: 700 17px/1 var(--font-cond); letter-spacing: .05em; text-transform: uppercase; text-decoration: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn-primary { background: var(--signal); color: var(--navy); }
.btn-primary:active { filter: brightness(.95); }
.btn-ghost { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 2px var(--navy); }
.btn-block { width: 100%; }
.btn-small { height: 34px; padding: 0 12px; font-size: 14px; border-radius: 8px; }
.btn-small svg { width: 16px; height: 16px; }
.btn-row { display: flex; gap: 8px; flex-wrap: wrap; }
.icon-btn { width: 36px; height: 36px; border: 0; border-radius: 8px; background: transparent; color: inherit; display: grid; place-items: center; cursor: pointer; }
.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn:hover { background: rgba(255, 255, 255, .08); }
.pill { font: 700 12px/1 var(--font-cond); letter-spacing: .06em; text-transform: uppercase; color: var(--slate); background: var(--paper); border-radius: 10px; padding: 5px 9px; }

.form { display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field > span, .field > legend { font: 700 13px/1.2 var(--font-cond); letter-spacing: .07em; text-transform: uppercase; color: var(--slate); padding: 0; }
.field em { font: 400 13px var(--font); text-transform: none; letter-spacing: 0; font-style: normal; color: var(--mute); }
.field input:not([type="checkbox"]):not([type="radio"]), .field select, .field textarea, .copy-src { width: 100%; min-width: 0; height: 50px; padding: 0 14px; border: 1.5px solid var(--line-input); border-radius: 10px; background: #fff; color: var(--navy); font: 400 17px var(--font); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(242, 183, 5, .45); }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235B6576' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 20px; }
.field textarea { height: auto; min-height: 92px; padding: 12px 14px; line-height: 1.4; resize: vertical; }
.field input[type="date"], .field input[type="time"] { -webkit-appearance: none; appearance: none; text-align: left; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--warn); }
.field-error { color: #9B1426; font-size: 13.5px; }
.hint { margin: -6px 0 0; font-size: 13.5px; color: var(--slate); }
.check { display: flex; align-items: center; gap: 10px; font-size: 15px; cursor: pointer; }
.check input { width: 22px; height: 22px; accent-color: var(--navy); }
.pick { display: flex; flex-wrap: wrap; gap: 8px; }
.pick-item { display: flex; align-items: center; gap: 8px; padding: 8px 12px 8px 8px; border: 1.5px solid var(--line-input); border-radius: 10px; background: #fff; cursor: pointer; font-weight: 500; }
.pick-item input { position: absolute; opacity: 0; pointer-events: none; }
.pick-item:has(input:checked) { border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); background: #FFFBEA; }
.pick-item:has(input:focus-visible) { outline: 3px solid var(--signal); outline-offset: 2px; }

.alert { margin: 0; padding: 10px 12px; border-radius: 10px; font-size: 15px; }
.alert-error { background: #FBE4E7; color: #9B1426; }
.alert-ok { background: #E3F3EA; color: #0B6B40; }
.flashes { display: flex; flex-direction: column; gap: 8px; margin: 12px 20px 0; }
.auth .flashes { margin: 0; }

/* ---------- Anmeldung ---------- */
.auth { min-height: 100vh; background: var(--navy) linear-gradient(180deg, var(--navy) 0 46%, var(--paper) 46% 100%) no-repeat; }
.auth-wrap { max-width: 440px; margin: 0 auto; padding: calc(var(--safe-top) + 48px) 20px calc(var(--safe-bottom) + 32px); }
.auth-brand { display: flex; align-items: center; gap: 16px; color: #fff; margin-bottom: 28px; }
.auth-brand .wordmark { font: 700 44px/1 var(--font-cond); letter-spacing: .01em; }
.auth-brand p { margin: 4px 0 0; color: var(--navy-text); font-size: 15px; }
.auth-card { background: #fff; border-radius: 16px; padding: 22px 20px; box-shadow: 0 24px 48px -28px rgba(15, 27, 45, .55); }
.auth-card > * + * { margin-top: 16px; }
.card-title { margin: 0; display: flex; align-items: center; gap: 10px; font: 700 22px/1.15 var(--font-cond); }
.auth-foot { margin: 18px 4px 0; color: var(--slate); font-size: 14px; text-align: center; }
.plain-list { margin: 0; padding-left: 20px; }
.error-details { max-height: 260px; overflow: auto; font-size: 11px; background: var(--paper); padding: 10px; border-radius: 8px; white-space: pre-wrap; }

/* ---------- App-Rahmen ---------- */
.topbar { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 12px; padding: calc(var(--safe-top) + 12px) 20px 14px; background: var(--navy); color: #fff; }
.topbar h1 { margin: 0; font: 700 26px/1 var(--font-cond); letter-spacing: .01em; }
.topbar-right { margin-left: auto; text-align: right; font-size: 13px; line-height: 1.3; color: var(--navy-text); font-variant-numeric: tabular-nums; }
.topbar-right b { display: block; color: #fff; font-size: 19px; font-weight: 600; }
.topbar .back { color: var(--signal); text-decoration: none; font: 600 34px/1 var(--font); padding: 0 6px 4px 0; }

.content { max-width: 720px; margin: 0 auto; padding-bottom: calc(var(--tabbar-h) + var(--safe-bottom) + 28px); }

.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: flex; justify-content: space-around; padding: 8px 4px calc(var(--safe-bottom) + 6px); background: rgba(255, 255, 255, .97); border-top: 1px solid var(--rule); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.tab { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; width: 68px; color: var(--mute); text-decoration: none; font: 700 11px/1.2 var(--font-cond); letter-spacing: .06em; text-transform: uppercase; -webkit-tap-highlight-color: transparent; }
.tab svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tab.on { color: var(--navy); }
.tab.on::before { content: ""; position: absolute; top: -9px; width: 30px; height: 3px; border-radius: 2px; background: var(--signal); }

.sidebar { display: none; }

@media (min-width: 960px) {
    .tabbar { display: none; }
    .sidebar { position: fixed; inset: 0 auto 0 0; width: var(--sidebar-w); display: flex; flex-direction: column; gap: 2px; padding: 18px 14px; background: var(--navy); color: var(--navy-text); overflow-y: auto; font-size: 15px; }
    .main { margin-left: var(--sidebar-w); }
    .topbar { position: static; padding: 22px 28px 18px; background: transparent; color: var(--navy); }
    .topbar .hsign { display: none; }
    .topbar h1 { font-size: 32px; }
    .topbar-right { color: var(--slate); }
    .topbar-right b { color: var(--navy); }
    .content { max-width: 880px; margin: 0; padding: 0 28px 48px; }
    .flashes { margin: 0 28px 12px; }
}

.brand { display: flex; align-items: center; gap: 10px; padding: 0 6px 16px; color: #fff; text-decoration: none; font: 700 24px/1 var(--font-cond); }
.brand .hsign { width: 34px; height: 34px; font-size: 23px; }
.side-nav { display: flex; flex-direction: column; gap: 1px; }
.side-nav a, .side-nav .soon { display: flex; align-items: center; justify-content: space-between; padding: 7px 10px; border-radius: 6px; text-decoration: none; }
.side-nav a:hover { background: var(--navy-2); color: #fff; }
.side-nav a.on { background: var(--navy-2); color: #fff; box-shadow: inset 3px 0 0 var(--signal); }
.side-nav .soon { color: #6E7B90; }
.side-nav .soon em { font: 700 10px/1 var(--font-cond); letter-spacing: .08em; text-transform: uppercase; font-style: normal; color: #55627A; }
.side-group { padding: 14px 10px 4px; font: 700 11.5px/1 var(--font-cond); letter-spacing: .1em; text-transform: uppercase; color: #7D8AA0; }
.side-me { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 14px 6px 0; border-top: 1px solid var(--navy-2); color: #fff; font-size: 14px; }
.side-me small { display: block; color: #7D8AA0; font-size: 12px; }
.side-me form { margin-left: auto; }

/* ---------- Inhalte ---------- */
.lines { display: flex; flex-wrap: wrap; gap: 6px; padding: 11px 20px; background: var(--rule); }
.section { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 20px 20px 8px; font: 700 15px/1.2 var(--font-cond); letter-spacing: .06em; text-transform: uppercase; }
.section span { font: 500 13px var(--font); letter-spacing: 0; text-transform: none; color: var(--slate); }
.card { margin: 0 20px 12px; padding: 14px 16px; background: #fff; border-radius: 12px; }
.card p { margin: 0; }
.card p + p { margin-top: 6px; }
.card-intro { box-shadow: inset 5px 0 0 var(--signal); }

.route { list-style: none; margin: 4px 20px 0; padding: 0 0 0 26px; position: relative; }
.route::before { content: ""; position: absolute; left: 8px; top: 12px; bottom: 12px; width: 4px; border-radius: 2px; background: var(--p-ja); }
.route li { position: relative; padding: 7px 0; font-size: 16px; font-weight: 500; }
.route li::before { content: ""; position: absolute; left: -24px; top: 11px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 3px solid var(--p-ja); }

.empty { margin: 48px 20px; text-align: center; color: var(--slate); }
.empty svg { width: 56px; height: 56px; margin: 0 auto 12px; fill: none; stroke: var(--mute); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.empty h2 { margin: 0 0 6px; color: var(--navy); font: 700 24px/1.1 var(--font-cond); }
.empty p { margin: 0 auto; max-width: 360px; }

/* Netzplan (Seite „Mehr“) */
.net { margin: 6px 20px 0; }
.grp-h { margin: 16px 0 4px; font: 700 13px/1 var(--font-cond); letter-spacing: .08em; text-transform: uppercase; color: var(--slate); }
.stations { --gc: var(--navy); position: relative; padding-left: 26px; }
.stations::before { content: ""; position: absolute; left: 8px; top: 16px; bottom: 16px; width: 5px; border-radius: 3px; background: var(--gc); }
.line-do { --gc: var(--p-do); } .line-ja { --gc: var(--p-ja); } .line-sig { --gc: var(--signal); } .line-si { --gc: var(--p-si); } .line-navy { --gc: var(--navy); }
.st { position: relative; display: flex; align-items: center; min-height: 40px; font-size: 17px; font-weight: 500; text-decoration: none; }
.st::before { content: ""; position: absolute; left: -24px; width: 13px; height: 13px; border-radius: 50%; background: #fff; border: 3px solid var(--gc); }
.st.soon { color: var(--mute); }
.st .bd { margin-left: auto; font: 700 11px/1 var(--font-cond); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.st .chev { margin-left: auto; width: 20px; height: 20px; fill: none; stroke: var(--slate); stroke-width: 2; }
.logout-row { margin: 28px 20px 0; }

/* Zeilenlisten (Admin) */
.rows { margin: 0 20px; background: #fff; border-radius: 12px; overflow: hidden; }
.row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--rule); flex-wrap: wrap; }
.row:last-child { border-bottom: 0; }
.row-main { flex: 1; min-width: 140px; }
.row-main b { display: block; font-weight: 600; }
.row-main .sub { display: block; font-size: 13px; color: var(--slate); }
.row-main .sub.mail { color: var(--navy); overflow-wrap: anywhere; }
.row-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.invite-box { margin-top: 14px; box-shadow: inset 5px 0 0 var(--signal); display: flex; flex-direction: column; gap: 10px; }
.copy-src { font-size: 14px; height: 44px; }
.waste-form { margin-top: 12px; }
.field input[type="file"] { height: auto; padding: 11px 12px; font-size: 15px; }

/* Heute */
.sub-section { display: flex; align-items: baseline; gap: 8px; margin: 12px 20px 6px; color: var(--slate); font: 700 13px/1.2 var(--font-cond); letter-spacing: .08em; text-transform: uppercase; }
.sub-section span { color: var(--warn); font: 500 13px var(--font); letter-spacing: 0; text-transform: none; }
.deps { margin: 0 20px; background: #fff; border-radius: 12px; overflow: hidden; }
.dep { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--rule); color: inherit; text-decoration: none; }
.dep:last-child { border-bottom: 0; }
.dep.now { background: #FFFBEA; box-shadow: inset 5px 0 0 var(--signal); }
.dep.masked { color: var(--slate); font-style: italic; }
.dep-main b { display: block; overflow: hidden; font-size: 16px; font-weight: 600; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.dep-main span { display: block; overflow: hidden; color: var(--slate); font-size: 12.5px; text-overflow: ellipsis; white-space: nowrap; }
.dep-time { font-size: 18px; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.dep-time small { display: block; color: var(--warn); font-size: 11px; font-weight: 600; }
.dep-time small.plain { color: var(--slate); font-size: 12px; font-weight: 500; }
.week-strip { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; margin: 0 20px; }
.week-strip .wd { padding: 6px 0 8px; background: #fff; border-radius: 7px; color: var(--slate); font-size: 11px; text-align: center; text-decoration: none; }
.week-strip .wd b { display: block; color: var(--navy); font-size: 16px; font-variant-numeric: tabular-nums; }
.week-strip .wd.hol b { color: var(--warn); }
.week-strip .wd.today { background: var(--navy); color: var(--navy-text); }
.week-strip .wd.today b { color: #fff; }
.week-strip .ticks { justify-content: center; margin-top: 5px; }

/* ---------- Einkauf ---------- */
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); border: 0; white-space: nowrap; }
.shop-add { position: sticky; top: calc(var(--safe-top) + 64px); z-index: 5; display: flex; gap: 8px; padding: 12px 20px; background: var(--paper); }
.shop-add input { flex: 1; min-width: 0; height: 50px; padding: 0 14px; border: 1.5px solid var(--line-input); border-radius: 12px; background: #fff; color: var(--navy); font: 400 17px var(--font); }
.shop-add input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(242, 183, 5, .45); }
.shop-add-btn { flex: none; width: 50px; height: 50px; display: grid; place-items: center; border: 0; border-radius: 12px; background: var(--signal); color: var(--navy); cursor: pointer; }
.shop-add-btn svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.shop-notice { margin: 0 20px 8px; }
.shop-suggest { display: flex; gap: 6px; align-items: center; margin: 0 0 4px; padding: 2px 20px 8px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.shop-suggest::-webkit-scrollbar { display: none; }
.shop-suggest form { flex: none; }
.shop-suggest-label { flex: none; margin-right: 2px; color: var(--slate); font: 700 12px/1 var(--font-cond); letter-spacing: .07em; text-transform: uppercase; }
.chip { height: 34px; padding: 0 12px; border: 1.5px solid var(--line-input); border-radius: 17px; background: #fff; color: var(--navy); font: 500 14px var(--font); white-space: nowrap; cursor: pointer; }
.chip:active { background: #FFFBEA; border-color: var(--signal); }
a.chip { display: inline-flex; flex: none; align-items: center; text-decoration: none; }
.chip.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.dok-upload { margin-top: 14px; }
.dok-filter { margin-top: 4px; }
.aisle { display: flex; align-items: baseline; gap: 8px; margin: 14px 20px 6px; color: var(--slate); font: 700 13px/1.2 var(--font-cond); letter-spacing: .08em; text-transform: uppercase; }
.aisle span { color: var(--mute); font: 500 12px var(--font); letter-spacing: 0; }
.shop-items { margin: 0 20px; padding: 0; list-style: none; background: #fff; border-radius: 12px; overflow: hidden; }
.shop-item { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 6px; min-height: 52px; padding: 4px 14px 4px 6px; border-bottom: 1px solid var(--rule); }
.shop-item:last-child { border-bottom: 0; }
.shop-item .ring { position: relative; width: 40px; height: 40px; padding: 0; border: 0; background: transparent; color: var(--slate); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.shop-item .ring::before { content: ""; position: absolute; inset: 8px; border: 3px solid currentColor; border-radius: 50%; }
.shop-item .ring:hover { color: var(--navy); }
.shop-item.done .ring { color: var(--ok); }
.shop-item.done .ring::before { background: currentColor; }
.shop-item.done .ring::after { content: ""; position: absolute; left: 17px; top: 12px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.shop-item.pending { opacity: .45; }
.shop-name { display: flex; align-items: baseline; gap: 8px; min-width: 0; padding: 8px 0; color: inherit; text-decoration: none; }
.shop-name b { overflow: hidden; font-size: 17px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.shop-name span { flex: none; color: var(--slate); font-size: 14px; }
.shop-item.done .shop-name b { color: var(--mute); font-weight: 500; text-decoration: line-through; }
.shop-by { display: flex; align-items: center; gap: 6px; color: var(--mute); font-size: 12px; white-space: nowrap; }
.aisle-done { margin-top: 22px; }
.shop-clear { margin: 10px 20px 0; }
.shop-empty { margin-top: 28px; }
.del-row { margin-top: 18px; }

/* ---------- Geburtstage ---------- */
.bday { color: inherit; text-decoration: none; flex-wrap: nowrap; }
.bday-date { flex: none; width: 52px; font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; }
.bday .row-main { min-width: 0; }
.bday .row-main b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bday.gone .row-main b, .dep.gone .dep-main b { color: var(--slate); font-weight: 500; }
.cross { color: var(--slate); font-weight: 400; }
.kind-tag { padding: 1px 6px; border-radius: 8px; background: #FFF4CC; color: #9A6B00; font: 700 11px/1.4 var(--font-cond); letter-spacing: .05em; text-transform: uppercase; vertical-align: 2px; }
.fold { padding: 0; }
.fold summary { padding: 14px 16px; cursor: pointer; font-weight: 600; list-style: none; }
.fold summary::-webkit-details-marker { display: none; }
.fold summary::after { content: "+"; float: right; color: var(--slate); font-weight: 500; }
.fold[open] summary::after { content: "–"; }
.fold-body { padding: 0 16px 16px; }

/* ---------- Fahrzeuge ---------- */
.veh { display: inline-grid; place-items: center; flex: none; min-width: 36px; height: 26px; padding: 0 4px; border: 2px solid var(--navy); border-radius: 4px; background: #fff; color: var(--navy); font: 700 14px/1 var(--font-cond); letter-spacing: .04em; }
.veh-sm { min-width: 30px; height: 22px; border-width: 1.5px; font-size: 12px; }
.veh-lg { min-width: 48px; height: 34px; font-size: 18px; }
.veh-xs { min-width: 26px; height: 19px; padding: 0 3px; border-width: 1.5px; border-radius: 3px; font-size: 11.5px; }
a.veh { text-decoration: none; }
.nz-sep { display: flex; justify-content: space-between; align-items: end; padding: 10px 10px 4px; border-bottom: 1px solid var(--rule); background: #FAFAF7; color: var(--slate); font: 700 12px/1 var(--font-cond); letter-spacing: .1em; text-transform: uppercase; }
.nz-sep a { color: var(--slate); font: 500 12px var(--font); letter-spacing: 0; text-transform: none; }
.mono { font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace; font-size: 14px; letter-spacing: .02em; }
.notice-bar { display: flex; align-items: center; gap: 10px; margin: 12px 20px 0; padding: 10px 12px; border-left: 5px solid var(--signal); border-radius: 6px; background: #FFFBEA; color: inherit; font-size: 14px; text-decoration: none; }
.notice-bar b { font-weight: 600; }
.notice-bar .chev { width: 18px; height: 18px; margin-left: auto; fill: none; stroke: var(--slate); stroke-width: 2; }
.veh-pager { margin: 12px 20px 4px; }
.vhead, .vrow { display: grid; grid-template-columns: 40px minmax(0, 1fr) 140px; gap: 10px; align-items: center; }
.vhead { padding: 8px 20px 4px; color: var(--slate); font: 700 12px/1 var(--font-cond); letter-spacing: .06em; text-transform: uppercase; }
.vhead .cells i { height: auto; background: none; font-style: normal; text-align: center; line-height: 1.2; }
.vhead .cells i b { display: block; color: var(--navy); font: 600 12px var(--font); }
.vhead .cells i.today b { color: #9A6B00; }
.vgrid { border-top: 1px solid var(--rule); }
.vrow { min-height: 50px; padding: 6px 20px; border-bottom: 1px solid var(--rule); background: #fff; color: inherit; text-decoration: none; }
.vrow-main { min-width: 0; }
.vrow-main b { display: block; overflow: hidden; font-size: 15px; font-weight: 600; line-height: 1.15; text-overflow: ellipsis; white-space: nowrap; }
.vrow-main span { display: block; overflow: hidden; color: var(--slate); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.vrow-main span.vrow-data { color: var(--slate); }
.vrow-data .plate { color: var(--navy); font-style: normal; font-weight: 600; letter-spacing: .02em; }
.vrow-data .sw { width: 9px; height: 9px; margin-right: 6px; vertical-align: 0; }
.vrow-main span.due { color: var(--warn); font-weight: 600; }
.vrow-main span.soon { color: #9A6B00; font-weight: 600; }
.cells { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; }
.cells i { height: 20px; border-radius: 3px; background: #EEEEE9; }
.cells i[class*="pc-"] { background: var(--pc); }
.cells i.pend { background: repeating-linear-gradient(135deg, var(--pc) 0 3px, #fff 3px 6px); }
.cells i.werk { background: var(--slate); }
.legend { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; padding: 10px 20px; color: var(--slate); font-size: 12px; }
.legend i { display: inline-block; width: 16px; height: 10px; margin-right: 5px; border-radius: 2px; vertical-align: -1px; }
.legend .lg-booked { background: var(--p-jo); }
.legend .lg-pend { background: repeating-linear-gradient(135deg, var(--p-jo) 0 3px, #fff 3px 6px); }
.legend .lg-werk { background: var(--slate); }
.frist { color: inherit; text-decoration: none; flex-wrap: wrap; row-gap: 8px; }
.fr-actions { flex-basis: 100%; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.fr-more[open] { flex-basis: 100%; }
.fr-more summary { list-style: none; float: right; }
.fr-more summary::-webkit-details-marker { display: none; }
.fr-more[open] summary { background: var(--paper); }
.fr-form { clear: both; margin-top: 10px; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px 10px; padding: 10px 12px; border-radius: 10px; background: var(--paper); }
.fr-form .field { flex: 1 1 150px; margin: 0; }
.frist .row-main { flex: 1 1 0; min-width: 0; color: inherit; text-decoration: none; }
.frist-d { flex: none; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.frist form { flex: none; }
.frist-d.overdue { color: var(--warn); }
.frist-d.soon { color: #9A6B00; }
.veh-teaser { margin-top: 16px; }
.veh-teaser-2 { margin-top: 8px; }
.veh-book-desk { margin: 14px 0 0; }
.veh-card { margin-top: 14px; }
.veh-title { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.veh-title b { display: block; font: 700 24px/1.1 var(--font-cond); }
.veh-title span:not(.veh) { color: var(--slate); font-size: 14px; }
.section-link { color: var(--navy); font: 600 14px var(--font); letter-spacing: 0; text-decoration: none; text-transform: none; }
.hint-card { margin: 0 20px 8px; padding: 10px 12px; border-radius: 10px; background: #FFFBEA; color: #6E5200; font-size: 14px; }
.doc-row { flex-wrap: nowrap; }
.doc-row .row-main { color: inherit; text-decoration: none; }
.doc-valid.overdue { color: var(--warn); font-weight: 600; }
.doc-valid.soon { color: #9A6B00; font-weight: 600; }
/* Dokument mit mehreren Dateien (Ausweis: Vorder- und Rückseite) */
.doc-files { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); margin-bottom: 14px; }
.doc-file-card { margin: 0; padding: 10px; }
.doc-file-card img { display: block; width: 100%; max-height: 420px; object-fit: contain; border-radius: 8px; background: var(--paper); }
.doc-file-card figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 8px 4px 0; }
.doc-file-card figcaption a { color: inherit; }
.doc-file-row { flex-wrap: nowrap; border-bottom: 0; }
.doc-file-row .row-main { color: inherit; text-decoration: none; }
.label-form { display: flex; gap: 8px; padding: 0 14px 12px; }
.label-form input { flex: 1; min-width: 0; height: 40px; padding: 0 10px; border: 1.5px solid var(--line-input); border-radius: 10px; font: inherit; }
.doc-file { align-items: end; }
.nick { color: var(--slate); font-style: normal; font-weight: 500; }
.sw { display: inline-block; width: 12px; height: 12px; margin-right: 7px; border-radius: 50%; background: var(--mute); box-shadow: inset 0 0 0 1px rgba(15, 27, 45, .28); vertical-align: -1px; }
.sw-grau { background: #8A9099; } .sw-rot { background: #C8102E; } .sw-blau { background: #1F5AA6; } .sw-weiss { background: #fff; }
.sw-gelb { background: #F2C200; } .sw-schwarz { background: #1B1B1B; } .sw-silber { background: #C3C7CD; } .sw-gruen { background: #2E7D32; }

/* Versicherungen */
.ins-card { display: flex; flex-direction: column; gap: 12px; }
.ins-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.ins-title b { display: block; font-weight: 600; }
.ins-title span { color: var(--slate); font-size: 13px; }
.ins-amount { flex: none; font-size: 18px; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.ins-amount small { display: block; color: var(--slate); font-size: 12px; font-weight: 500; }
.ins-soon { color: #9A6B00; font-weight: 600; }
.ins-actions { margin: 0; }
.ins-actions .btn svg, .ins-call svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.ins-contact { margin-top: 14px; box-shadow: inset 5px 0 0 var(--signal); }
.ins-contact h2 { display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 10px; font: 700 18px/1.2 var(--font-cond); }
.ins-contact h2 span { color: var(--slate); font: 600 13px var(--font); }
.ins-call { width: 100%; margin-bottom: 12px; }
.ins-call svg { width: 20px; height: 20px; }
.ins-contact a:not(.btn) { color: var(--navy); }
.ins-row { flex-wrap: nowrap; color: inherit; text-decoration: none; }
.ins-row .row-main { min-width: 0; }
.row-main .mono-sub { font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace; font-size: 12px; }
.claim-row { flex-wrap: nowrap; align-items: flex-start; }
.log-row { flex-wrap: nowrap; }
.log-row .row-main { min-width: 0; }
.log-row { align-items: flex-start; }
.log-date { color: var(--navy); font-style: normal; font-weight: 600; font-variant-numeric: tabular-nums; }
.log-form { margin-top: 10px; }
.card .hint-line { margin: 0; }

/* Verträge & Garantien */
.ct-kpis { margin-top: 14px; }
.ct-deadline { flex-wrap: nowrap; }
.ct-date { flex: none; width: 52px; font-size: 17px; font-weight: 600; line-height: 1.1; font-variant-numeric: tabular-nums; }
.ct-date small { display: block; color: var(--slate); font-size: 11.5px; font-weight: 500; }
.ct-deadline.soon .ct-date { color: #9A6B00; }
.ct-deadline.overdue .ct-date { color: var(--warn); }
a.ct-deadline { color: inherit; text-decoration: none; }
.ct-row { flex-wrap: nowrap; color: inherit; text-decoration: none; }
.ct-row .row-main { min-width: 0; }
.ct-row .sub em { font-style: normal; }
.ct-row.ended { opacity: .6; }
.ct-dot { flex: none; width: 30px; display: grid; place-items: center; }
.ct-dot::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--signal); }
.bill-amount small { display: block; color: var(--slate); font-size: 11.5px; font-weight: 500; text-align: right; }
.ct-until { flex: none; font-size: 13px; font-weight: 600; text-align: right; }
.ct-until small { display: block; font-size: 14px; font-variant-numeric: tabular-nums; }
.ct-ended { margin-top: 12px; }
.ct-ended-rows { margin: 0; border-top: 1px solid var(--rule); border-radius: 0 0 12px 12px; }

/* Hunde */
.dog-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 14px 20px 0; }
.dog-card { display: flex; flex-direction: column; gap: 2px; margin: 0; color: inherit; text-decoration: none; }
.dog-card b { margin-top: 8px; font: 700 22px/1.1 var(--font-cond); }
.dog-badge { min-width: 40px; height: 28px; font-size: 15px; }
.dog-sub { color: var(--slate); font-size: 13px; }
.dog-mini { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 8px; margin: 10px 0 0; font-size: 13px; }
.dog-mini dt { color: var(--slate); font: 700 11.5px/1.6 var(--font-cond); letter-spacing: .06em; text-transform: uppercase; }
.dog-mini dd { margin: 0; font-weight: 600; }
.dog-mini dd.frist-d { white-space: normal; }
.food-card { display: flex; flex-direction: column; gap: 6px; }
.food-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.food-head a { color: inherit; text-decoration: none; }
.food-state { flex: none; font-weight: 600; font-variant-numeric: tabular-nums; }
.food-state.soon { color: #9A6B00; }
.food-state.empty { color: var(--warn); }
.food-state.unknown { color: var(--slate); font-weight: 500; }
.food-sub { color: var(--slate); font-size: 13px; }
.food-actions { margin: 4px 0 0; flex-wrap: wrap; }
.weight-form { margin-top: 10px; }
.weight-inputs { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) auto; gap: 8px; align-items: end; }
.weight-inputs .btn { height: 48px; }
.chart-svg .line { fill: none; stroke: var(--navy); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.chart-svg .dot { fill: var(--navy); stroke: #fff; stroke-width: 2; }
.dog-kpis { margin: 0 20px 10px; }
.budget-card { display: flex; flex-direction: column; gap: 8px; }
.budget-head b { display: block; font-weight: 600; }
.budget-head span { color: var(--slate); font-size: 13px; }
.budget-bar { display: block; width: 100%; height: 10px; }
.budget-bar .track { fill: #EEEEE9; }
.budget-bar .used { fill: var(--navy); }
.budget-line { font-size: 15px; }
.budget-line b { font-weight: 600; }
.budget-open { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px; border-radius: 10px; background: #FFFBEA; font-size: 14px; }
.budget-open a { color: var(--navy); font-weight: 500; }
.budget-open .muted { font-size: 12.5px; }
.log-link { color: inherit; text-decoration: none; }
.sub.refund { color: var(--ok); }
.refund-open { color: #9A6B00; }
.form-hint-title { margin: 0; font-size: 15px; }
/* Notizen */
.list-seg { margin: 12px 20px 0; }
.note-search { margin: 12px 20px 0; }
.note-search input { width: 100%; height: 46px; padding: 0 14px; border: 1.5px solid var(--line-input); border-radius: 12px; background: #fff; color: var(--navy); font: 400 16px var(--font); }
.note-search input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(242, 183, 5, .45); }
.note-scopes { margin-top: 8px; }
.note-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 6px 20px 96px; }
.note-card { display: flex; flex-direction: column; gap: 6px; min-height: 110px; margin: 0; color: inherit; text-decoration: none; }
.note-card.pinned { box-shadow: inset 0 4px 0 var(--signal); }
.note-card.private, .note-full.private { background: #F6F4EE; }
.note-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; color: var(--slate); font-size: 12px; }
.note-meta svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }
.note-card b { font-size: 16px; font-weight: 600; line-height: 1.2; overflow-wrap: anywhere; }
.note-preview { display: -webkit-box; overflow: hidden; color: var(--slate); font-size: 13.5px; line-height: 1.35; overflow-wrap: anywhere; -webkit-line-clamp: 5; -webkit-box-orient: vertical; }
.note-progress { margin-top: auto; color: var(--ok); font-size: 12px; font-weight: 600; }
.note-full { margin-top: 14px; }
.note-full .note-meta { margin-bottom: 10px; }
.note-body p { margin: 0 0 4px; white-space: pre-wrap; overflow-wrap: anywhere; }
.note-body a { color: var(--navy); }
.note-gap { height: 10px; }
.note-check { display: grid; grid-template-columns: 40px minmax(0, 1fr); align-items: center; min-height: 44px; margin-left: -8px; }
.note-check .ring { position: relative; width: 40px; height: 40px; padding: 0; border: 0; background: transparent; color: var(--slate); cursor: pointer; }
.note-check .ring::before { content: ""; position: absolute; inset: 9px; border: 3px solid currentColor; border-radius: 6px; }
.note-check.done .ring { color: var(--ok); }
.note-check.done .ring::before { background: currentColor; }
.note-check.done .ring::after { content: ""; position: absolute; left: 16px; top: 12px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.note-check span { overflow-wrap: anywhere; }
.note-check.done span { color: var(--mute); text-decoration: line-through; }
.note-hint { margin: 0; }
.note-hint code { padding: 1px 4px; border-radius: 4px; background: var(--paper); }
/* Pinnwand & Abstimmungen */
.board-compose { margin-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.board-compose textarea { width: 100%; min-height: 80px; padding: 12px 14px; border: 1.5px solid var(--line-input); border-radius: 10px; color: var(--navy); font: 400 17px/1.4 var(--font); resize: vertical; }
.board-compose textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(242, 183, 5, .45); }
.board-compose-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.board-compose-foot .check { font-size: 14px; }
.board-poll-link { margin-top: 0; margin-bottom: 12px; }
.post-card, .poll-card { display: flex; flex-direction: column; gap: 8px; }
.post-card.important { box-shadow: inset 5px 0 0 var(--signal); }
.is-new { box-shadow: inset 0 0 0 2px var(--signal); }
.post-card.important.is-new { box-shadow: inset 5px 0 0 var(--signal), inset 0 0 0 2px var(--signal); }
.post-head { display: flex; align-items: center; gap: 8px; color: var(--slate); font-size: 13px; }
.post-head b { color: var(--navy); font-weight: 600; }
.post-head form { margin-left: auto; }
.post-text p { margin: 0 0 4px; white-space: pre-wrap; overflow-wrap: anywhere; }
.post-text a { color: var(--navy); }
.comments { display: flex; flex-direction: column; gap: 6px; padding-top: 8px; border-top: 1px solid var(--rule); }
.comment { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: start; gap: 8px; padding: 2px 4px; border-radius: 8px; font-size: 14px; }
.comment p { margin: 0; overflow-wrap: anywhere; }
.comment b { font-weight: 600; }
.comment .icon-btn { width: 30px; height: 30px; }
.comment-add { display: flex; gap: 8px; }
.comment-add input { flex: 1; min-width: 0; height: 38px; padding: 0 12px; border: 1.5px solid var(--line-input); border-radius: 19px; color: var(--navy); font: 400 15px var(--font); }
.comment-add input:focus { outline: none; border-color: var(--navy); }
.comment-add .btn { height: 38px; }
.poll-q { margin: 0; font: 700 20px/1.2 var(--font-cond); }
.poll-q a { color: inherit; text-decoration: none; }
.poll-state { margin-left: auto; padding: 2px 8px; border-radius: 10px; font: 700 11px/1.4 var(--font-cond); letter-spacing: .05em; text-transform: uppercase; }
.poll-state.open { background: #FFF4CC; color: #9A6B00; }
.poll-state.closed { background: var(--paper); color: var(--slate); }
.poll-form { display: flex; flex-direction: column; gap: 6px; }
.poll-option { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "box label count" "bar bar bar" "voters voters voters"; align-items: center; gap: 4px 10px; padding: 8px 10px; border: 1.5px solid var(--rule); border-radius: 10px; cursor: pointer; }
.poll-option input { grid-area: box; width: 20px; height: 20px; margin: 0; accent-color: var(--navy); }
.poll-option.mine { border-color: var(--navy); }
.poll-option.leading .poll-label { font-weight: 700; }
.poll-label { grid-area: label; overflow-wrap: anywhere; }
.poll-count { grid-area: count; font-weight: 600; font-variant-numeric: tabular-nums; }
.poll-bar { grid-area: bar; display: block; width: 100%; height: 6px; }
.poll-bar .track { fill: #EEEEE9; }
.poll-bar .fill { fill: var(--navy); }
.poll-option.mine .poll-bar .fill { fill: var(--signal); }
.poll-voters { grid-area: voters; display: flex; flex-wrap: wrap; gap: 3px; }
.poll-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-top: 4px; font-size: 13px; }
.poll-comments-link { margin: 0; font-size: 13px; }
.poll-comments-link a { color: var(--navy); }
.poll-detail .poll-card { margin-top: 14px; }
.poll-manage form { display: contents; }
.pinned-notes { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); margin-bottom: 0; }
.link-btn { padding: 0; border: 0; background: none; color: var(--slate); font: inherit; text-decoration: underline; cursor: pointer; }
.ins-claim-form { margin-top: 10px; }
.icon-btn-dark { color: var(--slate); }
.icon-btn-dark:hover { background: var(--paper); color: var(--warn); }
.doc-upload { margin-top: 10px; }
.dep.pending { background: #FFFBEA; }
.pend-text { color: #9A6B00; font-style: normal; font-weight: 600; }

.train { display: flex; flex-direction: column; margin: 0 20px 12px; }
.car { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 10px; background: #fff; }
.car b { display: block; font-size: 17px; font-weight: 600; }
.car > div > span { color: var(--slate); font-size: 12.5px; }
.car .tag { margin-left: auto; color: var(--slate); font: 700 12px var(--font-cond); letter-spacing: .06em; text-transform: uppercase; }
.car.bad { box-shadow: inset 0 0 0 2px var(--warn); }
.car.bad .tag { color: var(--warn); }
.coupling { display: flex; align-items: center; gap: 8px; height: 22px; padding-left: 31px; color: var(--slate); font: 700 12px var(--font-cond); letter-spacing: .06em; text-transform: uppercase; }
.coupling::before { content: ""; width: 4px; height: 22px; border-radius: 2px; background: var(--navy); }
.booking-train { margin-top: 14px; }
.checks-box { margin-bottom: 4px; }
.checks { margin: 0 20px 10px; padding: 0; list-style: none; font-size: 14px; }
.checks li { position: relative; padding: 3px 0 3px 22px; }
.checks li::before { position: absolute; left: 2px; font-weight: 700; }
.checks .okk::before { content: "✓"; color: var(--ok); }
.checks .wrn::before { content: "!"; left: 6px; color: #B88700; }
.checks .bad { color: var(--warn); font-weight: 600; }
.checks .bad::before { content: "✕"; color: var(--warn); }
.suggest { margin: 0 20px 12px; padding: 12px 14px; border: 2px solid var(--signal); border-radius: 10px; background: #FFFBEA; }
.suggest small { color: #9A6B00; font: 700 12px var(--font-cond); letter-spacing: .07em; text-transform: uppercase; }
.suggest-row { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.suggest-row b { display: block; font-size: 16px; font-weight: 600; }
.suggest-row span:not(.veh) { color: var(--slate); font-size: 12.5px; }
.suggest-take { width: 100%; margin-top: 10px; background: var(--navy); color: #fff; }
.approvals { margin: 0 20px 12px; padding: 2px 14px; border-radius: 10px; background: #fff; }
.appr { display: flex; align-items: center; gap: 10px; padding: 10px 0; font-size: 14px; }
.appr .stat { margin-left: auto; padding: 3px 8px; border-radius: 10px; background: #FFF4CC; color: #9A6B00; font-size: 12px; font-weight: 600; white-space: nowrap; }
.appr .stat.ok2 { background: #E3F3EA; color: var(--ok); }
.badge-pend, .badge-ok, .badge-bad { padding: 2px 8px; border-radius: 10px; font-size: 13px; font-weight: 600; }
.badge-pend { background: #FFF4CC; color: #9A6B00; }
.badge-ok { background: #E3F3EA; color: var(--ok); }
.badge-bad { background: #FBE4E7; color: var(--warn); }
.decide-card .btn-row { margin-top: 4px; }

.mx-intro { margin: 14px 20px 0; color: var(--slate); font-size: 14px; line-height: 1.45; }
.mx { margin: 10px 20px 0; overflow: hidden; border-radius: 10px; background: #fff; }
.mx-r { display: grid; grid-template-columns: minmax(0, 1fr) repeat(4, 44px); align-items: center; min-height: 46px; padding: 0 8px 0 12px; border-bottom: 1px solid var(--rule); }
.mx-r:last-child { border-bottom: 0; }
.mx-r.h { min-height: 38px; background: #FAFAF7; }
.mx-r.h > span { justify-self: center; }
.mx-r .what { display: flex; align-items: center; gap: 5px; min-width: 0; font-size: 14px; font-weight: 500; line-height: 1.15; }
.mx-r .what small { display: block; color: var(--slate); font-size: 11.5px; font-weight: 400; }
.mx-r .plus { color: var(--slate); font-weight: 600; }
.mx-r form { justify-self: center; }
.mx-cell { width: 30px; height: 30px; display: inline-grid; place-items: center; justify-self: center; border: 0; border-radius: 50%; font: 700 15px/1 var(--font); font-style: normal; cursor: default; }
button.mx-cell { cursor: pointer; }
.mx-cell.ok { background: #E3F3EA; color: var(--ok); }
.mx-cell.no { background: #FBE4E7; color: var(--warn); }
.mx-note { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin: 10px 20px 0; color: var(--slate); font-size: 12px; }
.mx-note span { display: flex; align-items: center; gap: 6px; }
.mx-note .mx-cell { width: 20px; height: 20px; font-size: 11px; }
.mx-all { padding: 10px 12px; background: #FAFAF7; color: var(--slate); font-size: 13px; line-height: 1.7; }
.mx-all b { color: var(--navy); font-weight: 600; margin-right: 4px; }
.mx-approvals { margin-top: 14px; }

/* ---------- Zähler ---------- */
.meter-seg { margin: 14px 20px 0; }
.meter-seg a { padding: 9px 2px; }
.meter-hero { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin: 16px 20px 0; }
.meter-hero b { display: block; font-size: 34px; font-weight: 600; line-height: 1; }
.meter-hero b small { color: var(--slate); font-size: 16px; font-weight: 500; }
.meter-hero span { display: block; margin-top: 6px; color: var(--slate); font-size: 13px; }
.due-text { color: var(--warn); font-style: normal; font-weight: 600; }
.read-btn { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-radius: 20px; background: var(--signal); color: var(--navy); font: 700 15px/1 var(--font-cond); letter-spacing: .05em; text-decoration: none; text-transform: uppercase; }
.read-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.meter-alert { margin-top: 12px; }
.chart-card { position: relative; margin: 12px 20px 0; padding: 10px 8px 6px; border-radius: 12px; background: #fff; }
.chart-legend { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; padding: 0 6px 4px; color: var(--slate); font-size: 12px; }
.chart-legend .sw { display: inline-block; width: 12px; height: 8px; margin-right: 5px; border-radius: 2px; }
.chart-legend a { color: var(--navy); font-weight: 600; }
.sw-cur { background: var(--navy); }
.sw-prev { background: #ADB4BF; }
.chart-unit { margin-left: auto; }
.chart-svg { display: block; width: 100%; height: auto; overflow: visible; font-family: var(--font); }
.chart-svg .grid { stroke: var(--rule); stroke-width: 1; shape-rendering: crispEdges; }
.chart-svg .grid.axis { stroke: #CFCFC7; }
.chart-svg .tick { fill: var(--slate); font-size: 10px; font-variant-numeric: tabular-nums; }
.chart-svg .col-cur { fill: var(--navy); }
.chart-svg .col-prev { fill: #ADB4BF; }
.chart-svg .hit { fill: transparent; cursor: pointer; outline: none; }
.chart-svg .hit:hover, .chart-svg .hit:focus-visible, .chart-svg .hit.active { fill: rgba(15, 27, 45, .05); }
.chart-tip { position: absolute; z-index: 3; min-width: 110px; padding: 7px 10px; border-radius: 8px; background: var(--navy); color: #fff; font-size: 12.5px; line-height: 1.35; pointer-events: none; box-shadow: 0 6px 16px -6px rgba(15, 27, 45, .5); }
.chart-tip b { display: block; color: var(--navy-text); font: 700 11px/1.3 var(--font-cond); letter-spacing: .06em; text-transform: uppercase; }
.chart-table { margin-top: 4px; padding: 0 6px; font-size: 13px; }
.chart-table summary { padding: 4px 0; color: var(--slate); cursor: pointer; }
.chart-table table { width: 100%; margin: 4px 0 6px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.chart-table th, .chart-table td { padding: 4px 6px; border-bottom: 1px solid var(--rule); text-align: right; }
.chart-table th:first-child, .chart-table td:first-child { text-align: left; }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 10px 20px 0; }
.kpis > div { padding: 10px 12px; border-radius: 10px; background: #fff; }
.kpis small { display: block; color: var(--slate); font: 700 11.5px/1.3 var(--font-cond); letter-spacing: .06em; text-transform: uppercase; }
.kpis b { display: block; margin-top: 2px; font-size: 22px; font-weight: 600; line-height: 1.1; }
.kpis span { color: var(--slate); font-size: 12px; }
.kpis b.good { color: var(--ok); }
.kpis b.bad { color: var(--warn); }
.read-row { flex-wrap: nowrap; }
.read-date { flex: none; width: 92px; color: var(--slate); font-size: 14px; font-variant-numeric: tabular-nums; }
.read-row .row-main b { font-variant-numeric: tabular-nums; }
.read-row .row-main a { color: inherit; text-decoration: none; }
.read-row .sub a { color: var(--slate); }
.read-delta { flex: none; color: var(--slate); font-size: 14px; font-variant-numeric: tabular-nums; }
.more-link { margin: 10px 20px 0; font-size: 14px; }
.more-link a { color: var(--navy); }
.meter-inputs { gap: 18px; }
.bill-row { flex-wrap: nowrap; }
.bill-row .row-main a { color: inherit; }
.bill-amount { flex: none; font-weight: 600; font-variant-numeric: tabular-nums; }
.hint-line { margin: 6px 20px 0; color: var(--mute); font-size: 12.5px; }
.bill-form { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--rule); }
.bill-inputs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.bill-inputs label { display: flex; flex-direction: column; gap: 4px; color: var(--slate); font-size: 12px; }
.bill-inputs input { width: 100%; min-width: 0; height: 42px; padding: 0 10px; border: 1.5px solid var(--line-input); border-radius: 8px; font: 400 16px var(--font); }
.meter-seg a { font-size: 12.5px; letter-spacing: .03em; }
.fc-card { margin-top: 10px; }
.fc-head { color: var(--slate); font: 700 12px/1.3 var(--font-cond); letter-spacing: .07em; text-transform: uppercase; }
.fc-main b { font-size: 20px; font-weight: 600; }
.fc-main span, .fc-note { color: var(--slate); }
.fc-money { font-size: 15px; }
.fc-note { margin-top: 6px !important; font-size: 12.5px; }
.good { color: var(--ok); }
.bad { color: var(--warn); }
.fc-total { margin: 10px 20px 0; padding: 10px 14px; border-radius: 10px; background: #fff; font-size: 15px; }
.fc-total.good { box-shadow: inset 4px 0 0 var(--ok); color: var(--navy); }
.fc-total.bad { box-shadow: inset 4px 0 0 var(--warn); color: var(--navy); }
.fc-total.good b { color: var(--ok); }
.fc-total.bad b { color: var(--warn); }
.fc-row { flex-wrap: nowrap; color: inherit; text-decoration: none; }
.fc-row .row-main { min-width: 0; }
.fc-side { flex: none; text-align: right; font-variant-numeric: tabular-nums; }
.fc-side b { display: block; font-weight: 600; }
.fc-side small { font-size: 12px; }
.decade { display: grid; gap: 10px; margin: 0 20px; }
.decade .chart-card { margin: 0; }
.chart-title { color: var(--navy); font: 700 14px/1.2 var(--font-cond); letter-spacing: .05em; text-transform: uppercase; }
.sw-fc { background: rgba(15, 27, 45, .2); box-shadow: inset 0 0 0 1px var(--navy); }
.chart-svg .col-fc { fill: rgba(15, 27, 45, .2); stroke: var(--navy); stroke-width: 1; stroke-dasharray: 3 2; }
.cost-table { overflow-x: auto; }
.cost-table table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.cost-table th { padding: 0 5px 6px; color: var(--slate); font: 700 11.5px var(--font-cond); letter-spacing: .06em; text-align: right; text-transform: uppercase; }
.cost-table td { padding: 6px 5px; border-top: 1px solid var(--rule); text-align: right; white-space: nowrap; }
.cost-table th:first-child, .cost-table td:first-child { text-align: left; }
.cost-table .fc-line td { color: var(--slate); }
.cost-table small { display: block; color: var(--mute); font-size: 11.5px; }
/* Finanzen */
.fin-row { flex-wrap: nowrap; color: inherit; text-decoration: none; }
.fin-row .row-main, .fin-due .row-main { min-width: 0; }
.fin-row .sub { overflow-wrap: anywhere; }
.fin-amount { flex: none; text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.fin-amount small { display: block; color: var(--slate); font-size: 12px; font-weight: 400; }
.fin-due { flex-wrap: nowrap; }
.fin-date { flex: none; width: 46px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.fin-date b { display: block; font-size: 15px; }
.fin-date small { color: var(--slate); font: 700 11px var(--font-cond); text-transform: uppercase; }
.fin-missing { padding: 8px 0 0; flex-wrap: wrap; overflow: visible; }
.mi-label { display: block; color: var(--slate); font: 700 12.5px/1.4 var(--font-cond); letter-spacing: .07em; text-transform: uppercase; }
.mi-label em { font: 400 12.5px var(--font); letter-spacing: 0; text-transform: none; }
.mi-row { display: flex; align-items: center; gap: 12px; margin-top: 6px; }
.mi-value { flex: none; width: 150px; height: 46px; padding: 0 12px; border: 1.5px solid var(--line-input); border-radius: 10px; background: #fff; color: var(--navy); font: 500 18px var(--font); font-variant-numeric: tabular-nums; }
.mi-value:focus, .start-input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(242, 183, 5, .45); }
.mi-calc { min-width: 0; color: var(--slate); font-size: 14px; line-height: 1.3; font-variant-numeric: tabular-nums; }
.mi-calc b { color: var(--navy); font-weight: 600; }
.mi-calc .warn { color: var(--warn); }
.mi-swap { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin-top: 6px; }
.meter-input .small-check { font-size: 13.5px; color: var(--slate); }
.meter-input .small-check input[type="checkbox"] { width: 18px; height: 18px; }
.mi-start { display: flex; align-items: center; gap: 8px; color: var(--slate); font-size: 13.5px; }
.mi-start[hidden] { display: none; }
.start-input { width: 110px; height: 36px; padding: 0 10px; border: 1.5px solid var(--line-input); border-radius: 8px; background: #fff; color: var(--navy); font: 400 16px var(--font); }
.mi-date input { max-width: 220px; }
.meter-input.has-error input:not([type="checkbox"]) { border-color: var(--warn); }

/* ---------- Plan ---------- */
.pc-DO { --pc: var(--p-do); --pc-ink: #fff; }
.pc-SI { --pc: var(--p-si); --pc-ink: #fff; }
.pc-JO { --pc: var(--p-jo); --pc-ink: #fff; }
.pc-JA { --pc: var(--p-ja); --pc-ink: #fff; }
.pc-XA, .pc-DE { --pc: var(--p-dog); --pc-ink: var(--navy); }
.pc-FAM { --pc: var(--navy); --pc-ink: #fff; }
.ln.sm { min-width: 26px; height: 19px; padding: 0 4px; border-radius: 4px; font-size: 12px; }
a.ln { text-decoration: none; }
.lnrow { display: flex; gap: 3px; flex: none; }
.btn-danger { background: transparent; color: var(--warn); box-shadow: inset 0 0 0 2px var(--warn); }

.plan-head { display: flex; flex-direction: column; gap: 10px; margin: 14px 20px 8px; }
.seg { display: flex; padding: 3px; background: #fff; border-radius: 9px; font: 700 14px/1 var(--font-cond); letter-spacing: .05em; text-transform: uppercase; }
.seg a, .seg span { flex: 1; padding: 9px 0; border-radius: 7px; color: var(--mute); text-align: center; text-decoration: none; }
.seg .on, .seg input:checked + span { background: var(--navy); color: #fff; }
.seg-input { background: var(--paper); }
.seg-input label { flex: 1; display: flex; cursor: pointer; }
.seg-input input { position: absolute; opacity: 0; pointer-events: none; }
.seg-input input:focus-visible + span { outline: 3px solid var(--signal); outline-offset: 1px; }
.pager { display: flex; align-items: center; gap: 6px; }
.pager-label { flex: 1; margin: 0; text-align: center; font: 600 16px/1.2 var(--font); }
.pager-btn { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: #fff; color: var(--navy); }
.pager-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* Tagesliste (iPhone-Woche, Monats-Agenda) */
.days { position: relative; border-top: 1px solid var(--rule); }
.day { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 10px; padding: 9px 46px 9px 20px; border-bottom: 1px solid var(--rule); background: #fff; }
.day .dt { text-decoration: none; font-variant-numeric: tabular-nums; line-height: 1.1; }
.day .dt small { display: block; font: 700 12px/1.3 var(--font-cond); letter-spacing: .06em; text-transform: uppercase; color: var(--slate); }
.day .dt b { font-size: 20px; font-weight: 600; }
.day.we .dt b { color: var(--slate); }
.day.today { box-shadow: inset 5px 0 0 var(--signal); }
.day.hol { background: #F7F7F3; }
.evs { min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.ev { display: flex; align-items: center; gap: 8px; min-height: 26px; padding: 2px 0; color: inherit; font-size: 15px; text-decoration: none; }
.ev .t { flex: none; width: 58px; color: var(--slate); font-size: 13px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ev-title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ev-ic { flex: none; width: 14px; height: 14px; fill: none; stroke: var(--mute); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ev.reg { color: var(--slate); font-size: 13px; }
.ev.reg .t { overflow: hidden; text-overflow: ellipsis; }
.ev.masked { color: var(--mute); font-style: italic; }
.ev.frei .ev-title { color: var(--slate); }
.ev-hol { color: var(--slate); font-size: 14px; font-style: italic; }
.ev-add { color: #B4BAC4; font-size: 13px; }
.band { position: absolute; top: 0; bottom: -1px; right: 16px; z-index: 1; width: 6px; background: var(--pc, var(--slate)); }
.band.slot-1 { right: 26px; }
.band.slot-2 { right: 36px; }
.band-start { top: 12px; border-radius: 3px 3px 0 0; }
.band-end { bottom: 12px; border-radius: 0 0 3px 3px; }

/* Tag */
.agenda { display: flex; flex-direction: column; gap: 8px; margin: 4px 20px 0; }
.ag { display: grid; grid-template-columns: 76px 1fr; gap: 12px; padding: 12px 14px 12px 17px; background: #fff; border-radius: 12px; color: inherit; text-decoration: none; box-shadow: inset 5px 0 0 var(--pc, var(--slate)); }
.ag-time { font: 600 18px/1.1 var(--font); font-variant-numeric: tabular-nums; }
.ag-time small { display: block; margin-top: 3px; color: var(--slate); font-size: 12px; font-weight: 500; }
.ag-main { min-width: 0; }
.ag-main b { display: block; font-size: 17px; font-weight: 600; line-height: 1.2; overflow-wrap: anywhere; }
.ag-sub { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 6px; color: var(--slate); font-size: 13px; }
.ag-loc { display: inline-flex; align-items: center; gap: 3px; }
.ag-loc svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }
.ag.masked, .nz-bar.masked, .nz-e.masked, .mo-e.masked { background: repeating-linear-gradient(135deg, #ECEDF0 0 6px, #F6F6F8 6px 12px); color: var(--slate); font-style: italic; }
.ag.frei { background: #FCFCFA; }
.hol-card { margin-top: 4px; color: var(--slate); font-style: italic; box-shadow: inset 5px 0 0 var(--warn); }
.empty-line { margin: 0 20px; color: var(--slate); }

/* Monat */
.month { margin: 4px 20px 0; }
.mo-head { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); padding-bottom: 5px; color: var(--slate); font: 700 12px/1 var(--font-cond); letter-spacing: .06em; text-align: center; text-transform: uppercase; }
.mo-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; }
.mo-day { display: flex; flex-direction: column; align-items: center; gap: 5px; min-width: 0; min-height: 54px; padding: 7px 2px; background: #fff; border-radius: 7px; color: inherit; text-decoration: none; font-variant-numeric: tabular-nums; }
.mo-day b { font-size: 16px; font-weight: 600; line-height: 1; }
.mo-day.we b { color: var(--slate); }
.mo-day.hol b { color: var(--warn); }
.mo-day.out { background: transparent; }
.mo-day.out b { color: var(--mute); font-weight: 500; }
.mo-day.today { background: var(--navy); }
.mo-day.today b { color: #fff; }
.ticks { display: flex; gap: 2px; height: 5px; }
.ticks i { width: 5px; height: 5px; border-radius: 50%; background: var(--pc, var(--slate)); }
.mo-day.today .ticks i { box-shadow: 0 0 0 1px var(--navy), 0 0 0 2px rgba(255, 255, 255, .5); }
.mo-items { display: none; }
.month + .only-phone .section { margin-top: 22px; }

.fab { position: fixed; right: 18px; bottom: calc(var(--tabbar-h) + var(--safe-bottom) + 16px); z-index: 15; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: var(--signal); color: var(--navy); box-shadow: 0 8px 18px -6px rgba(15, 27, 45, .55); }
.fab svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }

/* Netzplan Woche (Desktop) */
.netz { background: #fff; border-radius: 10px; overflow: hidden; font-size: 13px; }
.nz-row { display: grid; grid-template-columns: 136px minmax(0, 1fr); border-bottom: 1px solid var(--rule); }
.nz-row:last-child { border-bottom: 0; }
.nz-headrow { border-bottom: 2px solid var(--navy); }
.nz-label { display: flex; align-items: center; gap: 4px; min-width: 0; min-height: 58px; padding: 8px 10px; font-weight: 500; }
.nz-label small { color: var(--slate); font: 700 12px/1 var(--font-cond); letter-spacing: .08em; text-transform: uppercase; }
.nz-name { margin-left: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nz-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); grid-auto-rows: minmax(24px, auto); }
.nz-hd { grid-row: 1; display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: 6px 8px; border-left: 1px solid var(--rule); color: inherit; text-decoration: none; font-variant-numeric: tabular-nums; }
.nz-hd small { color: var(--slate); font: 700 12px/1.2 var(--font-cond); letter-spacing: .08em; text-transform: uppercase; }
.nz-hd b { font-size: 18px; font-weight: 600; line-height: 1; }
.nz-hd i { overflow: hidden; color: var(--slate); font-size: 10.5px; font-style: normal; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.nz-hd.today { box-shadow: inset 0 -4px 0 var(--signal); }
.nz-cell { grid-row-start: 1; min-height: 58px; border-left: 1px solid var(--rule); }
.nz-cell.off { background: #FAFAF7; }
.nz-cell.today { background: #FFFBEA; }
.nz-cell:hover { background: #F2F5F9; }
.nz-bar { z-index: 1; align-self: start; height: 20px; margin: 4px 3px 0; padding: 0 7px; display: flex; align-items: center; border-radius: 5px; background: var(--pc, var(--slate)); color: var(--pc-ink, #fff); font-size: 12px; font-weight: 600; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nz-bar.work { height: 15px; margin-top: 6px; padding: 0 6px; border: 1.5px solid currentColor; border-radius: 8px; background: #fff; color: var(--pc, var(--slate)); font-size: 10px; letter-spacing: .02em; }
.pc-XA.work, .pc-DE.work { color: #A07800; }
.nz-stack { z-index: 1; display: flex; flex-direction: column; gap: 3px; min-width: 0; padding: 4px 3px; pointer-events: none; }
.nz-e { display: flex; flex-direction: column; padding: 4px 6px; border-radius: 5px; background: var(--pc, var(--slate)); color: var(--pc-ink, #fff); font-size: 12px; font-weight: 600; line-height: 1.15; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; pointer-events: auto; }
.nz-e .t { font-size: 10.5px; font-weight: 500; opacity: .9; font-variant-numeric: tabular-nums; }
.nz-e.frei, .nz-bar.frei:not(.work) { background: #fff; color: var(--navy); outline: 1.5px dashed var(--pc, var(--slate)); outline-offset: -1.5px; }
.gc-1 { grid-column-start: 1; } .gc-2 { grid-column-start: 2; } .gc-3 { grid-column-start: 3; } .gc-4 { grid-column-start: 4; }
.gc-5 { grid-column-start: 5; } .gc-6 { grid-column-start: 6; } .gc-7 { grid-column-start: 7; }
.gs-1 { grid-column-end: span 1; } .gs-2 { grid-column-end: span 2; } .gs-3 { grid-column-end: span 3; } .gs-4 { grid-column-end: span 4; }
.gs-5 { grid-column-end: span 5; } .gs-6 { grid-column-end: span 6; } .gs-7 { grid-column-end: span 7; }
.gr-1 { grid-row-start: 1; } .gr-2 { grid-row-start: 2; } .gr-3 { grid-row-start: 3; } .gr-4 { grid-row-start: 4; } .gr-5 { grid-row-start: 5; }
.grs-1 { grid-row-end: span 1; } .grs-2 { grid-row-end: span 2; } .grs-3 { grid-row-end: span 3; } .grs-4 { grid-row-end: span 4; } .grs-5 { grid-row-end: span 5; }

/* Termin */
.ev-detail { margin-top: 14px; padding-left: 21px; box-shadow: inset 5px 0 0 var(--pc, var(--slate)); }
.ev-detail .lnrow { flex-wrap: wrap; gap: 5px; }
.ev-detail h2 { margin: 10px 0 12px; font: 700 27px/1.1 var(--font-cond); overflow-wrap: anywhere; }
.ev-detail > p { margin-top: 10px; }
.facts { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 8px 12px; margin: 0; }
.facts dt { color: var(--slate); font: 700 12.5px/1.5 var(--font-cond); letter-spacing: .07em; text-transform: uppercase; }
.facts dd { margin: 0; overflow-wrap: anywhere; }
.actions { margin: 4px 20px 0; }
.del-card { display: flex; flex-wrap: wrap; gap: 8px; }
.note { margin: 12px 20px; }

.abo-link, .teaser { display: flex; align-items: center; gap: 10px; margin: 18px 20px 0; padding: 12px 14px; background: #fff; border-radius: 12px; color: var(--navy); font-weight: 500; text-decoration: none; }
.teaser { margin-top: 0; }
.abo-link svg, .teaser svg { flex: none; width: 22px; height: 22px; fill: none; stroke: var(--slate); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.abo-link .chev, .teaser .chev { width: 18px; height: 18px; margin-left: auto; }
.teaser-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.teaser-text b { font-weight: 600; }
.meter-teaser { margin-top: 8px; box-shadow: inset 5px 0 0 var(--signal); }
.abo-intro { margin-top: 14px; }
.abo-card { display: flex; flex-direction: column; gap: 10px; }
.steps li + li { margin-top: 6px; }

.ev-form { gap: 0; margin-top: 14px; }
.ev-form .card-intro { margin-top: 0; }
.field-pair { display: grid; gap: 14px; }
.dt-inputs { display: flex; gap: 8px; }
.dt-inputs input[type="date"] { flex: 1.5; }
.dt-inputs input[type="time"] { flex: 1; }
.field-inline { flex-direction: row; align-items: center; gap: 10px; }
.field .field-inline-input, .field.field-inline input[type="number"] { width: 84px; flex: none; }
.field-inline em { min-width: 0; color: var(--slate); font-style: normal; }
.repeat-opts { display: flex; flex-direction: column; gap: 14px; }
.weekdays { display: flex; flex-wrap: wrap; gap: 6px; }
.wd-item { position: relative; }
.wd-item input { position: absolute; opacity: 0; pointer-events: none; }
.wd-item span { width: 40px; height: 40px; display: grid; place-items: center; border: 1.5px solid var(--line-input); border-radius: 50%; background: #fff; cursor: pointer; font: 700 14px/1 var(--font-cond); }
.wd-item input:checked + span { border-color: var(--navy); background: var(--navy); color: #fff; }
.wd-item input:focus-visible + span { outline: 3px solid var(--signal); outline-offset: 2px; }
.ev-form .pick-item { position: relative; padding: 6px 12px 6px 6px; }
.check.has-error { color: #9B1426; }
.form-actions { margin: 4px 20px 0; }

/* Adressbuch */
.ab-letter { margin-top: 16px; color: var(--navy); }
.ab-row { flex-wrap: nowrap; padding-top: 10px; padding-bottom: 10px; }
.ab-link { display: flex; align-items: center; gap: 12px; min-width: 0; }
.ab-text { min-width: 0; }
.ab-text b, .ab-text .sub { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ab-ini { flex: none; min-width: 34px; height: 24px; padding: 0 6px; border-radius: 5px; display: inline-grid; place-items: center; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line-input); color: var(--navy); font: 700 13px/1 var(--font-cond); letter-spacing: .03em; }
.ab-ini-lg { min-width: 40px; height: 28px; font-size: 15px; }
.ab-call { flex: none; color: var(--navy); }
.ab-unchecked { color: var(--warn); font-style: normal; }
.ab-check p { margin: 0 0 8px; }
.ab-check .btn-row { gap: 8px; }
.ab-mail { overflow-wrap: anywhere; }
.ab-note { white-space: pre-line; }
@media (min-width: 600px) {
    .ab-zip { grid-template-columns: 120px 1fr; }
}

/* Auslagen */
.ln-EL { background: linear-gradient(135deg, var(--p-do) 50%, var(--p-si) 50%); }
.veh-title span.ln { color: #fff; font-size: 15px; }
.veh-title span.ln-XA, .veh-title span.ln-DE, .veh-title span.ab-ini { color: var(--navy); }
.xp-row .row-main { flex: 1 1 0; min-width: 0; }
.xp-row .row-main b, .xp-row .row-main .sub { overflow-wrap: anywhere; }
.xp-actions, .xp-decide { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; padding-left: 46px; }
.xp-reject { display: flex; gap: 8px; flex: 1; min-width: 220px; }
.xp-reject input { flex: 1; min-width: 0; height: 34px; padding: 0 10px; border: 1.5px solid var(--line-input); border-radius: 8px; font: 400 14px var(--font); }
.xp-accounts { display: grid; gap: 8px; margin: 0 20px; }
.xp-accounts .card { margin: 0; }
.xp-account { display: flex; align-items: center; gap: 12px; color: var(--navy); text-decoration: none; }
.xp-account .chev { flex: none; width: 18px; height: 18px; margin-left: auto; fill: none; stroke: var(--slate); stroke-width: 1.8; }
.xp-acc-main { min-width: 0; }
.xp-acc-main b { display: block; font: 700 18px/1.2 var(--font-cond); }
.xp-acc-main .sub { display: block; font-size: 13px; color: var(--slate); }
.xp-acc-state strong { font-weight: 700; }
.xp-hero { display: flex; align-items: center; gap: 14px; }
.xp-hero b { display: block; font-weight: 600; }
.xp-hero .sub { display: block; font-size: 13px; color: var(--slate); }
.xp-big { display: block; font: 700 32px/1.1 var(--font-cond); }
.xp-state { font-style: normal; }
.xp-vorgemerkt, .xp-gemeldet, .xp-teilweise, .xp-offen { color: var(--warn); }
.xp-abgelehnt, .xp-rejected { color: #9B1426; font-style: normal; }
.xp-beglichen, .xp-bestaetigt { color: var(--slate); }
.xp-for { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.xp-for legend { margin-bottom: 8px; color: var(--slate); font: 700 12.5px/1.5 var(--font-cond); letter-spacing: .07em; text-transform: uppercase; }
.xp-how { margin-top: 18px; }
.xp-part { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.xp-part .check { flex: 1; min-width: 0; }
.field.xp-for .xp-part input[data-split-part] { flex: none; width: 104px; height: 40px; padding: 0 10px; border: 1.5px solid var(--line-input); border-radius: 10px; background: #fff; color: var(--navy); font: 400 16px var(--font); text-align: right; }
.xp-split-sum { margin: 0; color: var(--warn); font-size: 14px; font-weight: 600; }
.xp-split-sum.ok { color: var(--p-ja); }
.series-skip { margin: 8px 0 0; }

/* Aufgaben */
.ch-views { margin: 10px 20px 0; }
.ch-row { flex-wrap: nowrap; }
.ch-row .row-main { flex: 1 1 0; min-width: 0; }
.ch-row form { flex: none; }
.ch-check { width: 34px; height: 34px; padding: 0; border: 2.5px solid var(--pc, var(--slate)); border-radius: 50%; background: #fff; display: grid; place-items: center; cursor: pointer; }
.ch-check:hover, .ch-check:focus-visible { background: #FFFBEA; }
.ch-check svg { width: 18px; height: 18px; fill: none; stroke: var(--pc-ink, #fff); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.ch-check.on { background: var(--pc, var(--slate)); }
.ch-row.is-done .row-main b { color: var(--slate); text-decoration: line-through; }
.ch-lock { width: 13px; height: 13px; margin-right: 4px; vertical-align: -1px; fill: none; stroke: currentColor; stroke-width: 2; }
.ch-side { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.ch-side small { font-size: 13px; color: var(--slate); white-space: nowrap; }
.ch-anyone { font: 700 12px/19px var(--font-cond); color: var(--slate); text-transform: uppercase; letter-spacing: .05em; }
.ch-due.ch-overdue, .ch-due.ch-today { color: var(--warn); font-weight: 600; }
.ch-stats { display: grid; gap: 10px; }
.ch-stat { display: grid; grid-template-columns: auto 1fr 28px; align-items: center; gap: 12px; }
.ch-stat b { text-align: right; font: 700 18px/1 var(--font-cond); }
.ch-bar { width: 100%; height: 10px; }
.ch-bar .track { fill: var(--paper); }
.ch-bar .fill { fill: var(--pc, var(--slate)); }
.ch-on { outline: 2px solid var(--signal); outline-offset: 1px; }
.ch-actions form { display: contents; }

/* Karten – wie Kundenkarten */
.kk-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 14px 20px 0; }
.kk-link { display: block; color: inherit; text-decoration: none; border-radius: 12px; }
.kk-link:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; }
.kk { --kk-bg: var(--navy); --kk-ink: #fff; position: relative; display: block; aspect-ratio: 1.586; overflow: hidden; border-radius: 12px; background: var(--kk-bg); color: var(--kk-ink); box-shadow: 0 6px 14px -8px rgba(15, 27, 45, .6), inset 0 0 0 1px rgba(255, 255, 255, .08); }
.kk:not(.has-photo)::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0) 55%); pointer-events: none; }
.kk-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.kk-logo { position: absolute; left: 10px; top: 10px; display: grid; place-items: center; min-width: 30px; height: 30px; max-width: 62%; padding: 3px 6px; border-radius: 7px; background: #fff; color: var(--navy); font: 700 14px/1 var(--font-cond); }
.kk-logo img { display: block; max-width: 100%; max-height: 24px; object-fit: contain; }
.kk-title { position: absolute; left: 10px; right: 10px; bottom: 26px; overflow: hidden; font: 700 17px/1.15 var(--font-cond); letter-spacing: .02em; text-overflow: ellipsis; white-space: nowrap; }
.kk-num { position: absolute; left: 10px; bottom: 8px; font: 500 12px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .06em; opacity: .85; }
.kk-tags { position: absolute; right: 8px; top: 8px; display: flex; gap: 4px; align-items: center; z-index: 1; }
.kk.has-photo .kk-tags { top: auto; bottom: 8px; }
.kk-tag { display: grid; place-items: center; width: 22px; height: 19px; border-radius: 4px; background: rgba(15, 27, 45, .55); color: #fff; }
.kk-tag svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2.2; }
.kk-expired { position: absolute; left: 8px; top: 50%; padding: 2px 6px; border-radius: 4px; background: var(--warn); color: #fff; font: 700 11px/1.4 var(--font-cond); text-transform: uppercase; letter-spacing: .05em; z-index: 1; }
.kk.expired { filter: grayscale(.7); }
.kk-c-navy { --kk-bg: #0F1B2D; }
.kk-c-blau { --kk-bg: #1F6FD1; }
.kk-c-rot { --kk-bg: #D7263D; }
.kk-c-gruen { --kk-bg: #13915A; }
.kk-c-gelb { --kk-bg: #F2B705; --kk-ink: #0F1B2D; }
.kk-c-orange { --kk-bg: #E8740C; }
.kk-c-lila { --kk-bg: #7B3FA0; }
.kk-c-grau { --kk-bg: #5B6575; }
.kk-c-schwarz { --kk-bg: #151515; }
.kk-c-weiss { --kk-bg: #FFFFFF; --kk-ink: #0F1B2D; }
.kk.kk-c-weiss { box-shadow: 0 6px 14px -8px rgba(15, 27, 45, .5), inset 0 0 0 1.5px var(--line-input); }
.kk-big .kk-logo { left: 14px; top: 14px; height: 40px; }
.kk-big .kk-logo img { max-height: 32px; }
.kk-big .kk-title { left: 14px; bottom: 36px; font-size: 24px; }
.kk-big .kk-num { left: 14px; bottom: 14px; font-size: 14px; }
.kk-colors { display: flex; flex-wrap: wrap; gap: 8px; }
.kk-color { position: relative; }
.kk-color input { position: absolute; opacity: 0; pointer-events: none; }
.kk-color span { display: block; width: 40px; height: 26px; border-radius: 6px; background: var(--kk-bg); box-shadow: inset 0 0 0 1.5px rgba(15, 27, 45, .25); cursor: pointer; }
.kk-color input:checked + span { outline: 3px solid var(--signal); outline-offset: 2px; }
.kk-color input:focus-visible + span { outline: 3px solid var(--navy); outline-offset: 2px; }
.kk-current { display: flex; align-items: center; gap: 12px; }
.kk-current img { max-width: 120px; max-height: 76px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--rule); }

/* Karte im Vollbild: weißer Grund, großer Code */
body.card-full { background: #fff; }
.kf { max-width: 560px; margin: 0 auto; padding: calc(var(--safe-top) + 6px) 16px calc(var(--safe-bottom) + 24px); }
.kf-top { display: flex; align-items: center; gap: 10px; min-height: 48px; }
.kf-top b { flex: 1; overflow: hidden; font: 700 22px/1.1 var(--font-cond); text-overflow: ellipsis; white-space: nowrap; }
.kf-close { display: grid; place-items: center; width: 40px; height: 40px; margin-left: -8px; border-radius: 50%; color: var(--navy); }
.kf-close svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.kf-edit { color: var(--navy); font: 600 15px var(--font); }
.kf .flashes { margin: 4px 0 8px; }
.kf-card { width: min(100%, 360px); margin: 6px auto 18px; }
.kf-code { display: flex; justify-content: center; padding: 14px 0; }
.barcode .bg { fill: #fff; }
.barcode .bars, .barcode .bars rect { fill: #000; }
.kf-code-code128 .barcode, .kf-code-ean13 .barcode { width: 100%; height: 34vw; max-height: 190px; min-height: 110px; }
.kf-code-qr .barcode { width: min(76vw, 320px); height: auto; aspect-ratio: 1; }
.kf-number { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin-top: 4px; }
.kf-digits { font: 600 24px/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .08em; word-break: break-all; text-align: center; }
.kf-meta { margin: 14px 0 0; color: var(--slate); text-align: center; }
.kf-expired { color: var(--warn); font-weight: 600; }
.kf-note { margin: 10px 0 0; padding: 10px 12px; border-radius: 10px; background: var(--paper); white-space: pre-line; }
.kf-hint { margin: 12px 0; color: var(--warn); text-align: center; }
.kf-photos { display: grid; gap: 14px; margin-top: 22px; }
.kf-photos figure { margin: 0; }
.kf-photos img { display: block; width: 100%; border-radius: 12px; box-shadow: 0 6px 14px -8px rgba(15, 27, 45, .5); }
.kf-photos figcaption { margin-top: 6px; color: var(--slate); font-size: 13px; text-align: center; }
.kf-delete { margin-top: 26px; text-align: center; }
@media (min-width: 600px) {
    .kk-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .kf-photos { grid-template-columns: 1fr 1fr; }
}
.xp-manage { margin-top: 12px; }

/* Arbeitsplan: Tage als Zeilen, Personen als Spalten */
.wp-week { margin: 0 20px; background: #fff; border-radius: 12px; overflow: hidden; }
.wp-row { display: grid; grid-template-columns: 46px repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--rule); }
.wp-n-1 .wp-row { grid-template-columns: 46px minmax(0, 1fr); }
.wp-n-2 .wp-row { grid-template-columns: 46px repeat(2, minmax(0, 1fr)); }
.wp-n-3 .wp-row { grid-template-columns: 46px repeat(3, minmax(0, 1fr)); }
.wp-n-5 .wp-row { grid-template-columns: 46px repeat(5, minmax(0, 1fr)); }
.wp-n-6 .wp-row { grid-template-columns: 46px repeat(6, minmax(0, 1fr)); }
.wp-row:last-child { border-bottom: 0; }
.wp-row.off { background: #F7F7F3; }
.wp-row.today { box-shadow: inset 4px 0 0 var(--signal); }
.wp-head .wp-cell, .wp-who { border-left: 1px solid var(--rule); }
.wp-who { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 8px 2px 6px; color: var(--slate); font-size: 12px; text-decoration: none; }
.wp-name { display: none; }
.wp-day { display: flex; flex-direction: column; justify-content: center; padding: 6px 0 6px 10px; color: inherit; line-height: 1.1; text-decoration: none; font-variant-numeric: tabular-nums; }
.wp-day small { font: 700 11px/1.3 var(--font-cond); letter-spacing: .06em; text-transform: uppercase; color: var(--slate); }
.wp-day b { font-size: 17px; font-weight: 600; }
.wp-day i { margin-top: 2px; color: var(--warn); font-size: 10px; font-style: normal; overflow-wrap: anywhere; }
.wp-cell { display: flex; flex-direction: column; justify-content: center; gap: 3px; min-width: 0; padding: 5px 3px; border-left: 1px solid var(--rule); text-align: center; }
.wp-shift { display: block; padding: 4px 2px; border-radius: 6px; background: var(--pc, var(--slate)); color: var(--pc-ink, #fff); line-height: 1.15; text-decoration: none; }
.wp-shift b { display: block; font: 700 14px/1.15 var(--font-cond); letter-spacing: .02em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.wp-shift small { display: block; overflow: hidden; font-size: 10.5px; text-overflow: ellipsis; white-space: nowrap; opacity: .9; }
.wp-free { color: #C3C8D0; }
.wp-sum { background: var(--paper); color: var(--navy); font: 700 14px/1 var(--font-cond); }
.wp-sum .wp-cell { padding: 9px 3px; }
.wp-actions { flex-basis: 100%; align-items: flex-start; }
.wp-end summary { list-style: none; }
.wp-end summary::-webkit-details-marker { display: none; }
.wp-end[open] summary { background: var(--paper); }
.wp-end-box { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px; margin-top: 8px; }
.wp-end-form { display: flex; align-items: flex-end; gap: 8px; }
.wp-end-form .field { margin: 0; }
.ev.reg { flex-wrap: wrap; }
.ev.reg a.t { color: inherit; text-decoration: none; }
.wk-row { display: flex; flex-wrap: wrap; gap: 4px 10px; min-width: 0; }
/* Adresssuche unter Ort-Feldern */
.field:has([data-place]) { position: relative; }
.place-list { position: absolute; top: 100%; left: 0; right: 0; z-index: 30; max-height: 280px; margin: 4px 0 0; padding: 4px; overflow-y: auto; list-style: none; border: 1.5px solid var(--line-input); border-radius: 12px; background: #fff; box-shadow: 0 10px 24px -10px rgba(15, 27, 45, .45); }
.place-list li { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 10px 10px; border-radius: 8px; color: var(--navy); font-size: 15px; line-height: 1.3; cursor: pointer; }
.place-list li small { flex: none; color: var(--mute); font-size: 11px; }
.place-list li:hover, .place-list li.on { background: var(--paper); }

/* Schulferien dezent, Filter im Plan */
:root { --fe-bg: #EEF6EA; --fe-line: #9CC98C; --fe-ink: #4F7A43; }
.day.fe { background: var(--fe-bg); }
.day.fe.we, .day.fe.hol { background: #E6F0E1; }
.fe-name { display: block; margin-top: 2px; color: var(--fe-ink); font: 600 10px/1.1 var(--font); font-style: normal; }
.nz-hd.fe { box-shadow: inset 0 -3px 0 var(--fe-line); }
.nz-hd .fe-name { color: var(--fe-ink); }
.nz-cell.fe { background: rgba(156, 201, 140, .12); }
.mo-day.fe { background: var(--fe-bg); }
.mo-fe { color: var(--fe-ink); font-size: 11px; font-weight: 500; }
.fe-card { background: var(--fe-bg); color: var(--fe-ink); font-size: 14px; }
.plan-filters { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 20px 10px; }
.pf { display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 10px; border: 1.5px solid var(--line-input); border-radius: 15px; background: transparent; color: var(--mute); font: 500 13px var(--font); text-decoration: line-through; cursor: pointer; }
.pf .ev-sym { margin: 0; opacity: .45; }
.pf.on { border-color: var(--navy); background: #fff; color: var(--navy); text-decoration: none; }
.pf.on .ev-sym { opacity: 1; }
.pf-fe { width: 14px; height: 10px; border-radius: 3px; background: var(--fe-bg); box-shadow: inset 0 -3px 0 var(--fe-line); opacity: .5; }
.pf.on .pf-fe { opacity: 1; }

/* Druckansicht: drei Monatsstreifen auf A4 */
body.print-page { background: #E7E7E1; }
.pr-bar { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 8px; padding: calc(var(--safe-top) + 6px) 10px 6px; background: var(--navy); color: #fff; }
.pr-bar .pager-btn { width: 36px; height: 36px; background: rgba(255, 255, 255, .12); color: #fff; }
.pr-range { flex: 1; min-width: 0; font: 700 17px/1.2 var(--font-cond); text-align: center; }
.pr-bar .btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
body.print-page .plan-filters { justify-content: center; margin: 10px; }
.sheet-wrap { overflow-x: auto; padding: 0 10px calc(var(--safe-bottom) + 24px); }
.sheet { box-sizing: border-box; width: 210mm; min-height: 297mm; margin: 0 auto; padding: 9mm; background: #fff; box-shadow: 0 6px 18px -8px rgba(15, 27, 45, .45); -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.sheet-title { margin: 0 0 3mm; font: 700 15pt/1.1 var(--font-cond); }
.sheet-title span { color: var(--slate); font-weight: 500; }
.strips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3mm; }
.strip h2 { margin: 0 0 1mm; padding-bottom: 1mm; border-bottom: .6mm solid var(--navy); font: 700 12pt/1.1 var(--font-cond); letter-spacing: .05em; text-transform: uppercase; }
.strip h2 span { color: var(--slate); font-weight: 500; }
.strip ol { display: grid; grid-template-rows: repeat(31, 7.6mm); margin: 0; padding: 0; list-style: none; }
.strip li { display: grid; grid-template-columns: 7mm minmax(0, 1fr); overflow: hidden; border-bottom: .2mm solid #D5D8DD; font-size: 6.8pt; line-height: 1.18; }
.strip li.we { background: #F1F1EC; }
.strip li.fe { background: var(--fe-bg); }
.strip li.we.fe { background: #E2EEDC; }
.strip li.hol { background: #FBE9EB; }
.sd { padding: .6mm 0 0 .8mm; line-height: 1; }
.sd b { display: block; font-size: 9pt; }
.sd small { display: block; margin-top: .4mm; color: var(--slate); font: 700 5.6pt var(--font-cond); text-transform: uppercase; }
.se { display: -webkit-box; overflow: hidden; padding: .6mm .8mm 0 .6mm; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.si + .si::before { content: " · "; color: var(--mute); }
.si i { color: var(--slate); font-style: normal; }
.si u { color: var(--slate); font-size: 5.8pt; text-decoration: none; }
.si .ev-sym { width: 1.1em; height: 1.1em; margin-right: .15em; }
.sh, .sf { margin-right: 1mm; font-style: normal; font-weight: 600; }
.sh { color: var(--warn); }
.sf { color: var(--fe-ink); }
.sheet-foot { margin-top: 2mm; color: var(--slate); font-size: 6.5pt; }
@page { size: A4 portrait; margin: 0; }
@media print {
    body.print-page { background: #fff; }
    .pr-bar, body.print-page .plan-filters { display: none !important; }
    .sheet-wrap { overflow: visible; padding: 0; }
    .sheet { min-height: 0; margin: 0; box-shadow: none; break-inside: avoid; }
}

/* Notfall: große Anruf-Knöpfe, Notfallpass wie in Health */
.sos { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 14px 20px 6px; }
.sos-call { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 10px; padding: 12px 14px; border-radius: 12px; background: #fff; color: var(--warn); text-decoration: none; box-shadow: inset 0 0 0 1.5px #F2C5CB; }
.sos-call svg { grid-row: span 2; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sos-call b { font: 700 22px/1.05 var(--font-cond); letter-spacing: .02em; }
.sos-call span { color: var(--slate); font-size: 12.5px; line-height: 1.25; }
.sos-main { grid-column: 1 / -1; background: var(--warn); color: #fff; box-shadow: none; }
.sos-main b { font-size: 30px; }
.sos-main span { color: #FFE3E7; font-size: 14px; }
.sos-address { margin: 4px 20px 0; color: var(--slate); font-size: 14px; }
.np-row { color: inherit; text-decoration: none; flex-wrap: nowrap; }
.np-row .chev { flex: none; width: 18px; height: 18px; fill: none; stroke: var(--mute); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.np-row .row-main { min-width: 0; }
.np-row .sub { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.np-contact { flex-wrap: nowrap; }
.np-contact .row-main { min-width: 0; }
.np-contact .btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.np-contact .icon-btn { flex: none; color: var(--slate); }
.np-add { margin: 10px 20px 0; }
.np-add summary { list-style: none; display: inline-flex; }
.np-add summary::-webkit-details-marker { display: none; }
.np-add summary svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.np-add-form { margin: 10px 0 0; }
.np-dog .np-more { display: inline-block; margin: 12px 0 0; color: var(--navy); }
.np-item { flex-wrap: nowrap; }
.np-item .row-main { min-width: 0; color: inherit; text-decoration: none; }
.np-thumb { flex: none; display: block; width: 56px; height: 56px; overflow: hidden; border-radius: 8px; background: var(--paper); }
.np-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.np-photo { display: block; max-width: 100%; max-height: 260px; border-radius: 10px; }
.np-delete { margin: 18px 20px 0; }
.np-card { padding: 0 0 14px; overflow: hidden; }
.np-head { display: flex; align-items: center; gap: 8px; padding: 10px 16px; background: var(--warn); color: #fff; font: 700 15px/1.2 var(--font-cond); letter-spacing: .08em; text-transform: uppercase; }
.np-head svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; }
.np-who { display: flex; align-items: center; gap: 12px; padding: 14px 16px 10px; }
.np-who b { display: block; font: 700 24px/1.1 var(--font-cond); }
.np-who span:not(.ln) { color: var(--slate); font-size: 14px; }
.np-facts { padding: 4px 16px 0; }
.np-facts + .np-facts { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--rule); }
.np-alert { color: var(--warn); font-weight: 600; }
.np-empty { margin: 0 16px; }
@media (min-width: 600px) {
    .sos { grid-template-columns: repeat(4, 1fr); }
    .sos-main { grid-column: auto; }
    .sos-main b { font-size: 26px; }
}

/* Symbole vor Terminen: Torte, Tonnen in ihrer Farbe, Hundepfote */
.ev-sym { flex: none; display: inline-block; width: 1.15em; height: 1.15em; margin-right: .3em; vertical-align: -.2em; }
.sym-torte { color: #D7263D; }
.sym-pfote { color: #A87A00; }
.sym-tonne-schwarz { color: #1E1E1E; }
.sym-tonne-braun { color: #7A4A1F; }
.sym-tonne-blau { color: #1F5FBF; }
.nz-bar .ev-sym, .nz-e .ev-sym, .mo-e .ev-sym { padding: 1px; border-radius: 3px; background: #fff; }

/* Datei-Ansicht: Zurück · Teilen · Sichern über PDF oder Foto */
body.viewer { background: #E7E7E1; }
.vw-top { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 2px; padding: calc(var(--safe-top) + 6px) 6px 6px; background: var(--navy); color: #fff; }
.vw-title { flex: 1; min-width: 0; padding: 0 6px; overflow: hidden; font: 700 17px/1.2 var(--font-cond); text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.vw-btn { display: flex; flex-direction: column; align-items: center; gap: 3px; min-width: 54px; padding: 5px 6px; border: 0; border-radius: 9px; background: none; color: #fff; font: 600 11px/1 var(--font); text-decoration: none; cursor: pointer; }
.vw-btn[hidden] { display: none; }
.vw-btn:active { background: rgba(255, 255, 255, .14); }
.vw-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.vw-main { max-width: 920px; margin: 0 auto; padding: 12px 10px calc(var(--safe-bottom) + 28px); }
.vw-pages { display: flex; flex-direction: column; gap: 10px; }
.vw-page, .vw-image { display: block; width: 100%; height: auto; background: #fff; box-shadow: 0 4px 12px -6px rgba(15, 27, 45, .45); }
.vw-image { width: auto; max-width: 100%; margin: 0 auto; }
.vw-note { margin: 48px 16px; color: var(--slate); text-align: center; }
.feed-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.feed-head b { margin-right: 4px; }
.feed-meta { color: var(--slate); font-size: 13px; }
.feed-actions { margin-top: 10px; align-items: flex-start; }
.feed-edit { flex-basis: 100%; order: 3; }
.feed-edit summary { list-style: none; }
.feed-edit summary::-webkit-details-marker { display: none; }
.feed-edit[open] summary { background: var(--paper); }
.feed-edit form { margin-top: 10px; }
.wk { display: inline-flex; align-items: center; gap: 4px; color: var(--slate); font-size: 12.5px; text-decoration: none; white-space: nowrap; font-variant-numeric: tabular-nums; }

@media (min-width: 600px) {
    .field-pair { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 960px) {
    .lines, .section, .card, .rows, .net, .logout-row, .route, .empty, .agenda, .actions, .note, .form-actions, .empty-line, .month, .sub-section, .deps, .week-strip, .abo-link, .teaser, .shop-notice, .aisle, .shop-items, .shop-clear,
    .notice-bar, .veh-pager, .train, .checks, .suggest, .approvals, .mx, .mx-intro, .mx-note, .hint-card,
    .meter-seg, .meter-hero, .chart-card, .kpis, .more-link, .hint-line, .wp-week, .sos, .sos-address, .np-add, .np-delete, .plan-filters, .decade, .fc-total { margin-left: 0; margin-right: 0; }
    .decade { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
    .wp-week { max-width: 860px; }
    .wp-row { grid-template-columns: 76px repeat(4, minmax(0, 1fr)); }
    .wp-name { display: block; }
    .wp-shift b { font-size: 15px; }
    .wp-actions { flex-basis: auto; }
    .meter-seg { max-width: 520px; }
    .vhead, .vrow { grid-template-columns: 44px minmax(0, 1fr) 280px; padding-left: 14px; padding-right: 14px; }
    .vgrid { overflow: hidden; border-radius: 10px; }
    .shop-add { top: 0; padding-left: 0; padding-right: 0; }
    .shop-suggest { padding-left: 0; padding-right: 0; flex-wrap: wrap; overflow: visible; }
    .abo-link { max-width: 360px; }
    .lines { border-radius: 10px; }
    .only-phone { display: none !important; }
    .plan-head { flex-direction: row; align-items: center; gap: 16px; margin: 0 0 14px; }
    .plan-head .pager { flex: 1; }
    .plan-head .pager-label { flex: none; font-size: 18px; text-align: left; }
    .plan-head .seg { width: 336px; }
    .content:has(.plan-head) { max-width: 1240px; }
    .plan-head .pager-label { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .plan-head > .btn { flex: none; }
    .list-seg, .note-search, .ch-views { margin-left: 0; margin-right: 0; }
    .mo-day { align-items: stretch; min-height: 116px; padding: 6px; }
    .mo-day b { font-size: 14px; }
    .mo-day.today { background: #FFFBEA; box-shadow: inset 0 0 0 2px var(--signal); }
    .mo-day.today b { color: var(--navy); }
    .ticks { display: none; }
    .mo-items { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
    .mo-e { padding: 1px 5px; border-radius: 4px; background: var(--pc, var(--slate)); color: var(--pc-ink, #fff); font-size: 11.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .mo-e em { font-style: normal; font-weight: 500; opacity: .85; }
    .mo-e.frei { background: #fff; color: var(--navy); outline: 1.5px dashed var(--pc, var(--slate)); outline-offset: -1.5px; }
    .mo-reg { overflow: hidden; color: var(--slate); font-size: 11px; white-space: nowrap; }
    .mo-reg i { color: var(--pc, var(--slate)); font: 700 11px/1 var(--font-cond); font-style: normal; }
    .mo-hol { color: var(--warn); font-size: 11px; font-weight: 500; }
    .mo-more { color: var(--slate); font-size: 11px; }
    .ev-form, .ev-detail, .del-card { max-width: 720px; }
}

@media (max-width: 959.98px) {
    .only-desk { display: none !important; }
}

/* ---------- Archiv: Rollen, Kontaktbogen, Lichtkasten (Look "Archiv": dunkel, Plex Mono, Bernstein, Fettstift-Rot) ---------- */
body.archive { --ar-bg: #111110; --ar-film: #0A0A09; --ar-hole: #3A3A36; --ar-ink: #EDEAE2; --ar-mute: #8E8B83; --ar-amber: #D9A441; --ar-red: #E5432A; --ar-line: #2A2A27; --mono: 'IBM Plex Mono', ui-monospace, Menlo, Consolas, monospace; background: var(--ar-bg); color: var(--ar-ink); }
body.archive .topbar { background: var(--ar-bg); border-bottom: 1px solid var(--ar-line); }
body.archive .topbar h1 { font-family: var(--mono); font-weight: 600; font-size: 21px; letter-spacing: .08em; text-transform: uppercase; }
body.archive .topbar .back { color: var(--ar-amber); }
body.archive .topbar-right { color: var(--ar-mute); }
body.archive .tabbar { background: rgba(10, 10, 9, .96); border-top-color: var(--ar-line); }
body.archive .tab { color: #8E8B83; }
body.archive .tab.on { color: #fff; }
.ar { padding: 0 16px; }
.ar-mono { font-family: var(--mono); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--ar-mute); line-height: 1.5; }
.ar a { color: inherit; }
.ar-hero { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; padding: 18px 0 8px; }
.ar-hero b { font: 800 64px/1 var(--font-cond); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.ar-hero span { text-align: right; }
.ar-label { margin: 10px 0 8px; font: 500 14px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ar-amber); }
.ar-who { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ar-who .ln { text-decoration: none; opacity: .85; }
.ar-who .ln.on { opacity: 1; outline: 2px solid #fff; outline-offset: 2px; }
.ar-all { font: 500 13px/24px var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--ar-mute); text-decoration: none; padding: 0 6px; border: 1px solid var(--ar-line); border-radius: 4px; }
.ar-all.on { color: var(--ar-ink); border-color: var(--ar-ink); }
.ar-years { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 14px 0 4px; font: 500 15px/1.6 var(--mono); }
.ar-years a { color: var(--ar-mute); text-decoration: none; padding: 0 4px; }
.ar-years a.on { background: var(--ar-amber); color: var(--ar-bg); }
.ar-year { margin: 22px 0 10px; font: 500 16px/1 var(--mono); letter-spacing: .1em; color: var(--ar-amber); }
.ar-roll { display: block; margin: 0 0 14px; padding: 14px 12px 12px; background: var(--ar-film); color: var(--ar-ink); text-decoration: none; border-radius: 3px; }
.ar-strip { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 14px 0; }
.ar-strip::before, .ar-strip::after, .ar-sheet::before, .ar-sheet::after { content: ""; position: absolute; left: 0; right: 0; height: 6px; background: repeating-linear-gradient(90deg, var(--ar-hole) 0 14px, transparent 14px 24px); }
.ar-strip::before, .ar-sheet::before { top: 2px; }
.ar-strip::after, .ar-sheet::after { bottom: 2px; }
.ar-strip img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; background: #1A1A18; }
.ar-more { display: grid; place-items: center; aspect-ratio: 4 / 3; background: #1A1A18; color: var(--ar-amber); font: 500 16px/1 var(--mono); }
.ar-roll-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; padding-top: 6px; }
.ar-roll-foot b { display: block; font: 600 17px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.ar-tags { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.ar-fav { color: var(--ar-red); font: 500 15px/1 var(--mono); }
.ar-empty { margin: 20px 0; color: var(--ar-mute); font: 400 14px/1.5 var(--mono); }
.ar-title { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; padding: 18px 0 6px; }
.ar-title h2 { margin: 0; font: 800 46px/.95 var(--font-cond); text-transform: uppercase; letter-spacing: .01em; overflow-wrap: anywhere; }
.ar-title span { text-align: right; flex: none; }
.ar-note { margin: 0 0 6px; color: var(--ar-mute); font: 400 14px/1.4 var(--mono); }
.ar-tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 12px 0 14px; }
.ar-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border: 1px solid #3A3A36; border-radius: 3px; background: transparent; color: var(--ar-mute); font: 500 14px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.ar-btn-on { color: #fff; border-color: #fff; }
.ar-btn-fav { color: var(--ar-red); border-color: var(--ar-red); }
.ar-btn-danger { color: #F0806E; border-color: #6B2A21; }
.ar-who-sm { gap: 6px; }
.ar-sheet { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 8px; padding: 22px 10px; background: var(--ar-film); border-radius: 3px; }
.ar-frame { position: relative; display: block; text-decoration: none; }
.ar-frame img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #1A1A18; }
.ar-frame.fav::after { content: ""; position: absolute; left: -4%; right: -4%; top: -6%; height: 72%; border: 3px solid var(--ar-red); border-radius: 50%; transform: rotate(-4deg); pointer-events: none; opacity: .92; }
.ar-no { display: block; padding-top: 3px; font: 500 12px/1.2 var(--mono); color: var(--ar-amber); letter-spacing: .04em; }
.ar-pages { display: flex; justify-content: space-between; gap: 10px; margin: 12px 0 18px; }
.ar-pages a { color: var(--ar-ink); text-decoration: none; padding: 0 6px; }
.ar-pages b { color: var(--ar-ink); }
.ar-upload { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 6px 0 16px; }
.ar-file { position: relative; overflow: hidden; color: var(--ar-ink); }
.ar-file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.ar-status { flex-basis: 100%; text-transform: none; letter-spacing: .02em; }
.ar-new { margin: 18px 0; border-top: 1px solid var(--ar-line); padding-top: 12px; }
.ar-new summary { cursor: pointer; font: 500 14px/1.6 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ar-amber); }
.ar-form { display: flex; flex-direction: column; gap: 10px; margin: 12px 0; align-items: flex-start; }
.ar-form label { display: flex; flex-direction: column; gap: 4px; width: 100%; font: 500 12px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ar-mute); }
.ar-form label em { font-style: normal; color: #6C6A64; text-transform: none; }
.ar-form input:not([type]), .ar-form input[type="text"] { width: 100%; height: 42px; padding: 0 10px; background: #1A1A18; color: var(--ar-ink); border: 1px solid #3A3A36; border-radius: 3px; font: 400 15px/1 var(--font); }
.ar-pick { display: flex; flex-wrap: wrap; gap: 8px; }
.ar-pick label { position: relative; flex-direction: row; align-items: center; gap: 6px; width: auto; padding: 6px 10px 6px 6px; border: 1px solid #3A3A36; border-radius: 3px; color: var(--ar-ink); text-transform: none; letter-spacing: 0; font: 400 14px/1 var(--font); cursor: pointer; }
.ar-pick input { position: absolute; opacity: 0; pointer-events: none; }
.ar-pick label:has(input:checked) { border-color: #fff; background: #22221F; }
.ar-big { position: relative; margin: 12px 0 0; background: #000; display: grid; place-items: center; min-height: 200px; }
.ar-big img { display: block; max-width: 100%; max-height: 72vh; width: auto; height: auto; }
.ar-nav { position: absolute; top: 0; bottom: 0; width: 22%; display: flex; align-items: center; padding: 0 10px; color: rgba(255, 255, 255, .75); font: 300 44px/1 var(--font); text-decoration: none; -webkit-tap-highlight-color: transparent; }
.ar-prev { left: 0; }
.ar-next { right: 0; justify-content: flex-end; }
.ar-meta { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 16px 0 6px; text-transform: uppercase; }
.ar-meta dt { color: var(--ar-mute); }
.ar-meta dd { margin: 0; color: var(--ar-ink); display: flex; gap: 6px; flex-wrap: wrap; }
.ar-hint { margin: 10px 0 20px; text-transform: none; font-size: 12px; }
.ar-show { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: #000; }
.ar-show img { max-width: 100vw; max-height: 100vh; object-fit: contain; }
.ar-show button { position: absolute; top: calc(var(--safe-top) + 10px); right: 12px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .15); color: #fff; font: 400 24px/1 var(--font); cursor: pointer; }
.ar-show-no { position: absolute; bottom: calc(var(--safe-bottom) + 12px); left: 0; right: 0; text-align: center; color: var(--ar-amber); font: 500 13px/1 var(--mono); }
.ar-onedrive { margin: 4px 0 18px; }
.ar-folders { list-style: none; margin: 0 0 20px; padding: 0; border-top: 1px solid var(--ar-line); }
.ar-folders a { display: flex; justify-content: space-between; gap: 12px; padding: 13px 4px; border-bottom: 1px solid var(--ar-line); color: var(--ar-ink); text-decoration: none; font: 400 15px/1.3 var(--font); }
.ar-folders a span:first-child { overflow-wrap: anywhere; }
.od-code { margin: 10px 0; font: 600 30px/1.1 var(--mono); letter-spacing: .14em; user-select: all; }
@media (min-width: 700px) {
    .ar-sheet { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 960px) {
    body.archive .content { max-width: 1180px; }
    body.archive .topbar { background: var(--ar-bg); color: var(--ar-ink); }
    .ar { padding: 0; }
    .ar-lightbox { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
    .ar-big { margin-top: 0; }
}

/* Wunschlisten */
.wl-people { display: flex; gap: 8px; overflow-x: auto; margin: 4px 0 6px; padding: 2px 20px 8px; scrollbar-width: none; }
.wl-people::-webkit-scrollbar { display: none; }
.wl-person { flex: none; display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 12px 0 5px; border-radius: 19px; background: #fff; color: var(--navy); text-decoration: none; font: 600 14px/1 var(--font); box-shadow: inset 0 0 0 1.5px var(--line-input); }
.wl-person.on { box-shadow: inset 0 0 0 2px var(--navy); }
.wl-person b { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--paper); color: var(--slate); font: 600 12px/20px var(--font); text-align: center; }
.wl-side { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; justify-content: flex-end; margin-left: auto; }
.wl-row.is-taken .row-main b { color: var(--slate); }
.wl-star { color: #C99400; }
.row-main .wl-link { color: var(--navy); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.row-main .wl-note { color: var(--warn); }
.wl-taken { display: inline-flex; align-items: center; gap: 6px; color: var(--slate); font-size: 13px; }
.wl-important { align-self: end; min-height: 44px; }
.wl-gifted { margin: 14px 20px 0; }

/* Packlisten */
.pk-row { color: inherit; text-decoration: none; flex-wrap: nowrap; }
.pk-row.is-past .row-main b { color: var(--slate); }
.pk-count { flex: none; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--slate); }
.pk-count.done { color: var(--ok); }
.pk-bar { display: block; width: calc(100% - 40px); height: 6px; margin: 2px 20px 6px; }
.pk-bar .track { fill: #fff; }
.pk-bar .fill { fill: var(--ok); }
.pk-group-h { display: flex; justify-content: space-between; margin: 16px 20px 6px; color: var(--slate); font: 700 13px/1.2 var(--font-cond); letter-spacing: .08em; text-transform: uppercase; }
.pk-group-h > span { font: 600 13px var(--font); letter-spacing: 0; }
.pk-item { flex-wrap: nowrap; gap: 10px; padding-top: 8px; padding-bottom: 8px; }
.pk-item .row-main { min-width: 0; }
.pk-item.packed .row-main b { color: var(--mute); text-decoration: line-through; font-weight: 500; }
.pk-del { flex: none; width: 32px; height: 32px; border: 0; border-radius: 50%; background: transparent; color: var(--mute); font: 400 22px/1 var(--font); cursor: pointer; }
.pk-del:hover, .pk-del:focus-visible { background: var(--paper); color: var(--warn); }
.pk-add { margin: 18px 20px 0; }
.pk-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 20px 0; }
.pk-inline { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pk-inline select, .pk-inline input { height: 34px; padding: 0 10px; border: 1.5px solid var(--line-input); border-radius: 8px; background: #fff; font: 400 15px var(--font); }
.pk-new { margin: 14px 20px 0; }

/* Verleih */
.lo-row { flex-wrap: nowrap; }
.lo-row .row-main { min-width: 0; color: inherit; text-decoration: none; }
.lo-row.is-done .row-main b { color: var(--slate); }
.lo-due { white-space: nowrap; }
.lo-due.overdue { color: var(--warn); font-weight: 600; }
.lo-due.soon { color: #9A6B00; font-weight: 600; }
.lo-history { margin: 16px 20px 0; }
