/* VLADI Team-App · Powered and created by D1zzy (Zuka)
   Gips (Hintergrund) · Graphit (Marke) · VLADI-Blau (Aktion) · Abdeckband-Gelb (wartet / Achtung) */
@font-face {
  font-family: "Archivo"; font-style: normal; font-display: swap;
  font-weight: 100 900; font-stretch: 62% 125%;
  src: url("/archivo.woff2") format("woff2-variations"), url("/archivo.woff2") format("woff2");
}
:root {
  --gips: #ECEDEA; --card: #FFFFFF; --field: #F4F5F3; --graphit: #1B1E22; --graphit-2: #2A2E33;
  --ink: #1B1E22; --muted: #646B73; --line: #DCDFDB; --hair: #E8EAE7;
  --blue: #2498DD; --blue-ink: #FFFFFF; --blue-text: #1670AA; --blue-soft: #E1EFF8;
  --tape: #E3B341; --tape-ink: #4A3700; --ok: #2E8B57; --ok-soft: #E3F1E8; --bad: #C2412D; --bad-soft: #FBE9E5;
  --hero-ink: #F1F2F0; --hero-muted: #9AA1A9;
  --r-lg: 18px; --r: 14px; --r-sm: 10px; --tabh: 66px;
  --shadow: 0 1px 2px rgba(27, 30, 34, .06), 0 6px 20px rgba(27, 30, 34, .05);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --gips: #121417; --card: #1B1E22; --field: #23272C; --graphit: #0E1012; --graphit-2: #1B1E22;
    --ink: #E8EAEC; --muted: #9AA1A9; --line: #2E3338; --hair: #262A2F;
    --blue: #3AA6E6; --blue-text: #6CBDEE; --blue-soft: #14293A;
    --ok: #5CC28A; --ok-soft: #13291C; --bad: #F08A78; --bad-soft: #3A1914;
    --shadow: none;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
.sprite { position: absolute; }
.sprite symbol, .ic { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ic { width: 24px; height: 24px; flex: none; }
.ic .f, symbol .f { fill: currentColor; stroke: none; }
.ic.inl { width: 18px; height: 18px; vertical-align: -3px; }

html, body { margin: 0; background: var(--gips); color: var(--ink); }
html { scroll-padding: 80px 0 calc(var(--tabh) + 24px); }
body { font-family: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 17px; line-height: 1.45;
  font-variant-numeric: tabular-nums; min-height: 100vh; overscroll-behavior-y: none; -webkit-font-smoothing: antialiased; }
h1 { font-size: 30px; line-height: 1.1; font-weight: 720; font-stretch: 115%; letter-spacing: -0.015em; margin: 6px 0 16px; }
h2 { font-size: 20px; font-weight: 680; font-stretch: 108%; margin: 0 0 8px; }
h3 { font-size: 16px; font-weight: 650; margin: 0 0 4px; }
.sec { font-size: 15px; font-weight: 650; font-stretch: 100%; color: var(--muted); margin: 26px 2px 10px; letter-spacing: 0; }
.hint { color: var(--muted); font-size: 14px; margin: 0 0 10px; }
.hint.after { margin: 10px 2px 0; }
.opt { font-weight: 450; color: var(--muted); font-size: 13px; }
b { font-weight: 650; }
button { font-family: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

/* Kopf */
.top { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between;
  background: var(--graphit); color: var(--hero-ink); padding: calc(env(safe-area-inset-top) + 12px) 20px 12px; }
.logo { width: 92px; height: 26px; color: var(--hero-ink); }
.who { font-size: 14px; color: var(--hero-muted); }
.net { display: flex; align-items: center; gap: 10px; background: var(--tape); color: var(--tape-ink); padding: 10px 20px; font-size: 14px; font-weight: 600; }
.net .ic { width: 20px; height: 20px; }

main { padding: 18px 18px calc(var(--tabh) + env(safe-area-inset-bottom) + 28px); max-width: 620px; margin: 0 auto; }

/* Heute: Graphit-Kopf mit Wochenbalken */
.hero { background: var(--graphit); color: var(--hero-ink); margin: -18px -18px 4px; padding: 6px 22px 22px; border-radius: 0 0 26px 26px; }
.hero-date { color: var(--hero-muted); font-size: 15px; margin: 0; }
.hero h1 { font-size: 36px; font-stretch: 122%; font-weight: 740; margin: 2px 0 20px; }
.week { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; align-items: end; }
.wd { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.wd .v { font-size: 12px; color: var(--hero-muted); min-height: 16px; }
.wd .bar { width: 100%; max-width: 34px; height: 72px; border-radius: 8px; background: rgba(255, 255, 255, .07); position: relative; overflow: hidden; }
.wd .fill { position: absolute; left: 0; right: 0; bottom: 0; height: 0; background: #C9CDC8; border-radius: 8px 8px 0 0; transition: height .6s cubic-bezier(.2, .8, .2, 1); }
.wd .l { font-size: 13px; font-weight: 600; color: var(--hero-muted); }
.wd.today .fill { background: var(--blue); }
.wd.today .l, .wd.today .v { color: var(--hero-ink); }
.week-sum { margin: 16px 0 0; color: var(--hero-muted); font-size: 15px; }
.week-sum b { color: var(--hero-ink); font-size: 17px; }

/* Einsatz als Arbeitsauftrag */
.eins { display: grid; grid-template-columns: 82px 1fr; background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); margin-bottom: 10px; overflow: hidden; }
.eins .t { padding: 16px 0 16px 16px; border-right: 1.5px dashed var(--line); font-stretch: 112%; font-weight: 720; font-size: 22px; line-height: 1; color: var(--ink); }
.eins .t small { display: block; font-size: 12px; font-weight: 500; font-stretch: 100%; color: var(--muted); margin-top: 6px; }
.eins .b { padding: 14px 16px; min-width: 0; }
.eins .p { font-size: 18px; font-weight: 680; font-stretch: 105%; line-height: 1.25; margin-bottom: 6px; }
.eins .m { display: flex; gap: 8px; align-items: flex-start; font-size: 15px; color: var(--muted); margin-top: 4px; }
.eins .m .ic { width: 18px; height: 18px; margin-top: 1px; color: var(--muted); }
.eins a { color: var(--blue-text); text-decoration: none; font-weight: 550; }
.empty { color: var(--muted); background: transparent; border: 1.5px dashed var(--line); border-radius: var(--r); padding: 16px; margin-bottom: 10px; font-size: 15px; }

.quick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 26px; }
.tile { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; gap: 18px; text-align: left; font-size: 16px; font-weight: 650;
  padding: 16px; min-height: 104px; border-radius: var(--r); border: 0; background: var(--card); color: var(--ink); box-shadow: var(--shadow); cursor: pointer; }
.tile .ic { width: 28px; height: 28px; color: var(--blue); }
.tile:active, .item:active { transform: scale(.985); }

/* Formulare */
.card { background: var(--card); border-radius: var(--r-lg); padding: 18px; margin: 0 0 12px; box-shadow: var(--shadow); }
fieldset { border: 0; padding: 0; margin: 0 0 20px; min-width: 0; }
legend { padding: 0; margin-bottom: 8px; font-size: 14px; font-weight: 650; color: var(--ink); }
legend label { font: inherit; color: inherit; }
input, textarea { width: 100%; font: inherit; font-size: 17px; color: var(--ink); background: var(--field); border: 1.5px solid transparent;
  border-radius: var(--r-sm); padding: 13px 14px; min-height: 52px; transition: border-color .15s, background .15s; }
input::placeholder, textarea::placeholder { color: #9AA0A6; }
input:focus, textarea:focus { outline: none; border-color: var(--blue); background: var(--card); }
textarea { resize: vertical; line-height: 1.45; }
input[type=date] { margin-top: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chips:empty { display: none; }
.chip { font-size: 15px; font-weight: 550; padding: 9px 14px; min-height: 42px; border-radius: 999px; cursor: pointer; max-width: 100%;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; border: 1.5px solid var(--line); background: var(--card); color: var(--ink); }
.chips.quiet .chip { border-style: dashed; }
.chip[aria-pressed=true] { background: var(--graphit); border-color: var(--graphit); color: #fff; }
@media (prefers-color-scheme: dark) { .chip[aria-pressed=true] { background: var(--ink); border-color: var(--ink); color: var(--graphit); } }
fieldset .hint { margin: 14px 0 0; }
.stepper { display: grid; grid-template-columns: 56px 1fr 56px; gap: 10px; }
.stepper input { text-align: center; font-size: 30px; font-weight: 720; font-stretch: 112%; min-height: 60px; }
.round { display: grid; place-items: center; height: 60px; border-radius: var(--r-sm); border: 1.5px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 16px; font-weight: 650; font-stretch: 104%;
  border-radius: 13px; padding: 14px 20px; min-height: 54px; cursor: pointer; background: var(--card); color: var(--ink); border: 1.5px solid var(--line);
  transition: background .2s, transform .1s; }
.btn.primary { width: 100%; background: var(--blue); border-color: var(--blue); color: var(--blue-ink); }
.btn.primary.done { background: var(--ok); border-color: var(--ok); }
.btn:active { transform: scale(.985); }
.btn[disabled] { opacity: .6; }
.btn.danger { width: 100%; color: var(--bad); background: transparent; border-color: var(--line); margin-top: 6px; }
.card > .btn { width: 100%; }
.link { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; color: var(--blue-text); font-size: 16px; font-weight: 600; padding: 10px 0; cursor: pointer; }
.back { display: inline-flex; align-items: center; gap: 2px; background: none; border: 0; color: var(--blue-text); font-size: 16px; font-weight: 600; padding: 6px 8px 6px 0; margin: 0 0 2px -6px; cursor: pointer; }
.add { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; color: var(--blue-text); font-size: 15px; font-weight: 600; padding: 8px 0; cursor: pointer; }
.add .ic { width: 20px; height: 20px; }
.row { display: flex; align-items: center; }
.between { justify-content: space-between; gap: 12px; }
.row.head .sec { margin-bottom: 10px; }
.gap { gap: 10px; }
.grow { flex: 1; }
.seg { display: inline-flex; background: var(--field); border-radius: 11px; padding: 3px; }
.seg button { font-size: 14px; font-weight: 600; border: 0; background: transparent; color: var(--muted); padding: 7px 14px; min-height: 36px; border-radius: 8px; cursor: pointer; }
.seg button[aria-pressed=true] { background: var(--card); color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.seg.icons { background: transparent; gap: 6px; }
.seg.icons button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; color: var(--ink); background: var(--card); border-radius: 50%; box-shadow: var(--shadow); }

/* Listen */
.entries { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; }
.entry { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 13px 16px; border-top: 1px solid var(--hair); }
.entry:first-child { border-top: 0; }
.entry .d { font-size: 13px; color: var(--muted); }
.entry .h { font-weight: 680; font-stretch: 108%; white-space: nowrap; }
.entry.tot { background: var(--field); font-weight: 650; }
.entry.go { cursor: pointer; }
.entry.go:active { background: var(--field); }
.tag { display: inline-block; font-size: 12px; font-weight: 650; padding: 4px 9px; border-radius: 999px; background: var(--tape); color: var(--tape-ink); white-space: nowrap; }
.tag.ok { background: var(--ok-soft); color: var(--ok); }
.list { display: grid; gap: 10px; }
.item { display: flex; align-items: center; gap: 14px; text-align: left; padding: 16px; border-radius: var(--r); border: 0; background: var(--card); color: var(--ink); box-shadow: var(--shadow); cursor: pointer; font-size: 17px; font-weight: 650; }
.item > .ic:first-child { width: 26px; height: 26px; color: var(--blue); }
.item span { flex: 1; display: flex; flex-direction: column; }
.item small { font-size: 14px; font-weight: 450; color: var(--muted); margin-top: 2px; }
.item .chev { color: var(--muted); width: 20px; height: 20px; }

/* Fotos */
.photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 10px; }
.photos:empty { display: none; }
.ph { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--field); }
.ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph button { position: absolute; top: 6px; right: 6px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; border: 0; background: rgba(14, 16, 18, .7); color: #fff; cursor: pointer; padding: 0; }
.ph button .ic { width: 18px; height: 18px; }
.drop { position: relative; display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 64px; border: 1.5px dashed var(--line); border-radius: var(--r); color: var(--blue-text); font-weight: 600; cursor: pointer; background: var(--field); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.withmic { position: relative; }
.withmic textarea { padding-right: 62px; }
.mic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--card); color: var(--ink); box-shadow: 0 0 0 1.5px var(--line); cursor: pointer; padding: 0; }
.withmic .mic { position: absolute; right: 8px; bottom: 10px; }
.mic.rec { background: var(--bad); color: #fff; box-shadow: 0 0 0 6px var(--bad-soft); }

/* Regie */
.line { display: grid; gap: 8px; grid-template-columns: 1fr 82px 40px; margin-bottom: 8px; align-items: center; }
.line.mat { grid-template-columns: 1fr 1fr 40px; padding-bottom: 10px; margin-bottom: 10px; border-bottom: 1px solid var(--hair); }
.line.mat .m-t { grid-column: 1 / -1; }
.line input { min-height: 48px; padding: 11px 12px; }
.line .x { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 0; background: transparent; color: var(--muted); cursor: pointer; padding: 0; }
.line .x .ic { width: 20px; height: 20px; }

.doc { background: var(--card); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 20px 18px 8px; margin-top: 6px; border-top: 5px solid var(--blue); }
.doc-nr { margin: 0; font-size: 14px; color: var(--muted); font-weight: 600; }
.doc h1 { font-size: 24px; margin: 2px 0 4px; }
.doc-sub { color: var(--muted); margin: 0 0 14px; font-size: 15px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 15px; }
.tbl td { padding: 10px 2px; border-top: 1px solid var(--hair); vertical-align: top; }
.tbl td.n { text-align: right; white-space: nowrap; padding-left: 10px; }
.tbl tr.tot td { font-weight: 700; border-top: 2px solid var(--ink); }
.tbl td.note { color: var(--muted); font-size: 14px; }
.pdf { margin-top: 4px; }
.done { display: flex; align-items: center; gap: 10px; background: var(--ok-soft); color: var(--ok); border-radius: var(--r); padding: 16px; font-weight: 650; margin: 14px 0; }
.sigpad { position: relative; background: #fff; border-radius: var(--r); box-shadow: 0 0 0 1.5px var(--line); margin-bottom: 10px; }
canvas#sCanvas { display: block; width: 100%; height: 210px; touch-action: none; border-radius: var(--r); position: relative; z-index: 1; }
.sigline { position: absolute; left: 20px; right: 20px; bottom: 34px; border-top: 1.5px solid #B9BEC3; padding-top: 6px; font-size: 13px; color: #8A9097; pointer-events: none; }
#sName { margin-bottom: 10px; }

/* Farbtöne */
.swatch { width: 40px; height: 40px; border-radius: 10px; flex: none; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12);
  background: repeating-linear-gradient(135deg, var(--field) 0 6px, var(--hair) 6px 12px); }
.fton { display: flex; gap: 14px; align-items: center; min-width: 0; }
.fton b { font-stretch: 105%; }

/* Frag Vladi */
.examples { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.clog { display: flex; flex-direction: column; gap: 10px; margin: 10px 0 96px; }
.bub { max-width: 86%; padding: 12px 15px; border-radius: 18px; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 16px; }
.bub.me { align-self: flex-end; background: var(--blue); color: var(--blue-ink); border-bottom-right-radius: 6px; }
.bub.v { align-self: flex-start; background: var(--card); box-shadow: var(--shadow); border-bottom-left-radius: 6px; }
.bub.wait { color: var(--muted); }
.cform { position: fixed; left: 0; right: 0; bottom: calc(var(--tabh) + env(safe-area-inset-bottom)); display: flex; gap: 8px; align-items: center;
  padding: 10px 14px; background: var(--gips); max-width: 620px; margin: 0 auto; }
.cform input { min-height: 48px; border-radius: 24px; background: var(--card); box-shadow: 0 0 0 1.5px var(--line); }
.cform .mic { flex: none; width: 48px; height: 48px; }
.send { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--blue); color: #fff; cursor: pointer; padding: 0; }

/* Anmelden */
body.auth { background: var(--graphit); }
body.auth .top { display: none; }
.login-screen { color: var(--hero-ink); padding-top: calc(env(safe-area-inset-top) + 40px); }
.login-mark { margin: 0 0 36px; }
.login-mark svg { width: 168px; color: var(--hero-ink); display: block; }
.login-mark p { margin: 10px 0 0; color: var(--hero-muted); font-size: 15px; }
.login label { display: block; font-size: 15px; font-weight: 600; color: var(--hero-muted); margin-bottom: 10px; }
#code { font-size: 34px; text-align: center; letter-spacing: .14em; font-weight: 700; font-stretch: 112%; min-height: 72px;
  background: var(--graphit-2); color: var(--hero-ink); border-color: #3A3F45; }
#code:focus { border-color: var(--blue); }
#code::placeholder { color: #4B5157; }
.login .btn.primary { margin-top: 14px; }
.msg { color: #FF9C8A; font-weight: 600; min-height: 1.4em; margin: 14px 0 0; }
.install { background: var(--graphit-2); border-radius: var(--r-lg); padding: 18px; margin-bottom: 22px; }
.install h2 { color: var(--hero-ink); }
.steps { padding-left: 22px; margin: 10px 0; color: var(--hero-ink); }
.steps li { margin: 8px 0; }
.note { font-size: 14px; color: var(--hero-muted); }
.install .link { color: #7CC4F0; }

/* Stunden-Woche */
.days { display: grid; gap: 8px; margin-bottom: 12px; }
.day { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; }
.day > button.dh { display: grid; grid-template-columns: 58px 1fr auto; align-items: center; gap: 12px; width: 100%; text-align: left;
  padding: 14px 16px; border: 0; background: none; color: var(--ink); cursor: pointer; }
.day .wd2 { font-weight: 720; font-stretch: 112%; font-size: 20px; line-height: 1; }
.day .wd2 small { display: block; font-size: 12px; font-weight: 500; font-stretch: 100%; color: var(--muted); margin-top: 4px; }
.day .what { font-size: 14px; color: var(--muted); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.day .what b { color: var(--ink); font-weight: 600; }
.day .h2 { font-weight: 720; font-stretch: 108%; white-space: nowrap; display: flex; align-items: center; gap: 6px; }
.day .h2 .ic { width: 20px; height: 20px; color: var(--ok); }
.day.today { box-shadow: 0 0 0 2px var(--blue), var(--shadow); }
.day.off > button.dh { opacity: .7; }
.day.missing .h2 { color: var(--muted); font-weight: 600; }
.day.future > button.dh { opacity: .45; cursor: default; }
.dayform { padding: 4px 16px 16px; border-top: 1px solid var(--hair); }
.dayform .done-list { margin: 12px 0 4px; font-size: 14px; color: var(--muted); }
.dline { display: grid; grid-template-columns: 1fr 104px; gap: 8px; margin-top: 12px; align-items: center; }
.dline.two { grid-template-columns: 1fr 104px 36px; }
.dline .hrs { text-align: center; font-weight: 700; font-size: 20px; font-stretch: 110%; }
.dline .x { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 0; background: none; color: var(--muted); cursor: pointer; padding: 0; }
.dline label { grid-column: 1 / -1; font-size: 13px; font-weight: 650; margin-bottom: -4px; }
.dayform .add2 { margin-top: 4px; }
.dayform .chips-label { margin: 10px 0 0; }
.dayform .hint { margin: 10px 0 0; }
.dayform .note { margin: 14px 0 12px; }
.dayform .btn.primary { margin-top: 0; }

/* Zeitkonto & Ferien */
.saldo { margin-top: 14px; display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 999px; padding: 8px 14px;
  font-size: 15px; font-weight: 650; cursor: pointer; background: rgba(255, 255, 255, .08); color: var(--hero-ink); }
.saldo.minus { background: var(--tape); color: var(--tape-ink); }
.saldo.plus { background: rgba(92, 194, 138, .18); color: #9BE2B8; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stat { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); padding: 14px 16px; }
.stat .k { font-size: 13px; color: var(--muted); font-weight: 550; }
.stat .v { font-size: 26px; font-weight: 740; font-stretch: 112%; line-height: 1.15; margin-top: 4px; }
.stat .s { font-size: 13px; color: var(--muted); margin-top: 2px; }
.stat .v.minus { color: var(--bad); } .stat .v.plus { color: var(--ok); }
.konto { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; cursor: pointer; }
.konto .k { font-size: 14px; color: var(--muted); } .konto .v { font-size: 22px; font-weight: 720; font-stretch: 110%; }
.konto .v.minus { color: var(--bad); } .konto .v.plus { color: var(--ok); }
.check { display: flex; align-items: center; gap: 10px; font-size: 16px; margin: -6px 0 16px; cursor: pointer; }
.check input { width: 22px; height: 22px; min-height: 0; accent-color: var(--blue); }
.tag.bad { background: var(--bad-soft); color: var(--bad); }
.tag.muted { background: var(--field); color: var(--muted); }
.entry .x2 { background: none; border: 0; color: var(--blue-text); font-weight: 600; font-size: 14px; cursor: pointer; padding: 6px 0; }

/* Konto */
.acct { display: flex; flex-direction: column; margin: 0 0 6px; font-size: 18px; }
.acct span { color: var(--muted); font-size: 15px; }
.help p { color: var(--muted); font-size: 15px; margin: 0 0 14px; }
.foot { text-align: center; font-size: 12px; color: var(--muted); margin-top: 26px; }

/* Navigation */
.tabs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 6; display: grid; grid-template-columns: repeat(5, 1fr);
  background: var(--card); border-top: 1px solid var(--hair); padding: 0 6px env(safe-area-inset-bottom); }
.tabs button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; height: var(--tabh);
  font-size: 12px; font-weight: 600; color: var(--muted); background: none; border: 0; cursor: pointer; }
.tabs .ic { width: 26px; height: 26px; padding: 2px 10px; box-sizing: content-box; border-radius: 999px; transition: background .2s; }
.tabs button[aria-current=page] { color: var(--ink); }
.tabs button[aria-current=page] .ic { background: var(--blue-soft); color: var(--blue-text); }

.toast { position: fixed; left: 16px; right: 16px; bottom: calc(var(--tabh) + env(safe-area-inset-bottom) + 14px); z-index: 70;
  max-width: 588px; margin: 0 auto; padding: 14px 18px; border-radius: 14px; font-weight: 600; font-size: 15px;
  background: var(--graphit); color: #F1F2F0; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); animation: rise .22s ease-out; pointer-events: none; }
.toast.ok { background: var(--ok); color: #fff; }
.toast.bad { background: var(--bad); color: #fff; }
.toast.warn { background: var(--tape); color: var(--tape-ink); }
@keyframes rise { from { transform: translateY(10px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
@media (prefers-color-scheme: dark) {
  .toast.ok, .btn.primary.done { color: #0C1F14; }
  .toast.bad { color: #2A0B06; }
  .sigpad, canvas#sCanvas { background: #fff; }
}

/* Briefkasten-Hinweise (PC aus / nicht übernommen) */
.bknote { margin: 0 0 14px; display: grid; gap: 8px; }
.bknote .bk { display: flex; gap: 10px; align-items: flex-start; background: var(--card); box-shadow: var(--shadow); border: 1.5px solid transparent; border-radius: var(--r); padding: 12px 14px; font-size: 14.5px; line-height: 1.4; }
.bknote .bk .ic { flex: none; width: 18px; height: 18px; margin-top: 1px; color: var(--muted); }
.bknote .bk span { flex: 1; }
.bknote .bk.bad { border-color: #c2410c; }
.bknote .bk.bad .ic { color: #c2410c; }
.day .h2 .wait .ic { color: var(--muted); }
.bknote .bk button { flex: none; font: inherit; font-weight: 700; font-size: 13px; letter-spacing: .02em; color: var(--graphit); background: var(--field); border: 0; border-radius: 999px; padding: 6px 14px; min-height: 32px; cursor: pointer; }

/* Einsatz: Gesehen / Erledigt melden */
.eacts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; align-items: center; }
.eacts .tag { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; padding: 6px 11px; }
.eacts .tag .ic { width: 14px; height: 14px; }
.ebtn { display: inline-flex; align-items: center; gap: 6px; font: inherit; font-size: 15px; font-weight: 650; min-height: 42px; padding: 8px 14px;
  border-radius: 999px; border: 1.5px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; }
.ebtn .ic { width: 18px; height: 18px; }
.ebtn.primary { background: var(--graphit); border-color: var(--graphit); color: #fff; }
.ebtn[disabled] { opacity: .6; }
#seenAll { margin-bottom: 14px; }
.sheet-bg { position: fixed; inset: 0; background: rgba(10, 12, 14, .45); z-index: 60; display: flex; align-items: flex-end; justify-content: center; }
.sheet-bg[hidden] { display: none; }
.sheet { width: 100%; max-width: 560px; background: var(--card); border-radius: 22px 22px 0 0; padding: 22px 18px calc(18px + env(safe-area-inset-bottom)); box-shadow: 0 -10px 40px rgba(0,0,0,.25); }
.sheet h2 { margin: 0 0 4px; font-size: 22px; font-stretch: 110%; }
.sheet .hint { margin: 0 0 14px; font-weight: 600; color: var(--ink); }
.sheet textarea { margin-bottom: 16px; }
.sheet .check { margin: 0 0 18px; }
