/* AZE – Designsystem (entspricht der Design-Leinwand „AZE App-Design“) */
@font-face { font-family: 'Bricolage Grotesque'; font-weight: 600; font-display: swap; src: url(../fonts/bricolage-grotesque-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Bricolage Grotesque'; font-weight: 700; font-display: swap; src: url(../fonts/bricolage-grotesque-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-weight: 400; font-display: swap; src: url(../fonts/plus-jakarta-sans-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-weight: 500; font-display: swap; src: url(../fonts/plus-jakarta-sans-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-weight: 600; font-display: swap; src: url(../fonts/plus-jakarta-sans-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-weight: 700; font-display: swap; src: url(../fonts/plus-jakarta-sans-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-weight: 500; font-display: swap; src: url(../fonts/jetbrains-mono-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-weight: 600; font-display: swap; src: url(../fonts/jetbrains-mono-latin-600-normal.woff2) format('woff2'); }

:root {
  --ink: #131B1F; --ink-2: #1C272C; --ink-line: #2B3A40; --ink-muted: #9AAAB2;
  --ground: #F2F4F7; --surface: #FFFFFF; --surface-2: #F5F7FA; --line: #E3E7EE; --line-2: #EEF1F5;
  --text: #131B1F; --muted: #5B6778; --faint: #8792A2;
  --accent: #08845D; --accent-strong: #066B4B; --accent-soft: #E1F4EC; --accent-bright: #10B981; --accent-glow: #4ADE9B;
  --pos: #1E7A4F; --pos-soft: #E3F6EC; --pos-bright: #7EE2B0; --neg: #B42318;
  --urlaub: #B7791F; --urlaub-dot: #D08A1E; --urlaub-soft: #FDF1DC; --urlaub-text: #6B4400; --urlaub-btn: #A56A12;
  --krank: #C2413B; --krank-soft: #FCE7E6; --krank-text: #8A231D; --krank-btn: #B42318;
  --za: #6D4AE0; --za-soft: #EEEAFD; --za-text: #4B2DB8; --za-btn: #5B3CC4;
  --warn-soft: #FFF4E0; --warn-text: #7A4B00;
  --display: 'Bricolage Grotesque', system-ui, sans-serif;
  --sans: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --r-card: 20px; --r-ctl: 14px;
  --safe-top: env(safe-area-inset-top, 0px); --safe-bottom: env(safe-area-inset-bottom, 0px);
  --tabbar-h: calc(68px + var(--safe-bottom));
}
* { box-sizing: border-box; }
html, body { overflow-x: hidden; }
html, body { margin: 0; background: var(--ground); color: var(--text); font-family: var(--sans); -webkit-text-size-adjust: 100%; }
body { min-height: 100dvh; overscroll-behavior-y: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--accent); text-decoration: none; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 55%, transparent); outline-offset: 2px; }
.mono { font-family: var(--mono); font-weight: 600; font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.pos { color: var(--pos); } .neg { color: var(--neg); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Layout */
.app { min-height: 100dvh; }
.main { padding: calc(20px + var(--safe-top)) 20px calc(var(--tabbar-h) + 28px); max-width: 560px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.main.flush-top { padding-top: 0; }
.main.has-action { padding-bottom: calc(var(--tabbar-h) + 150px); }
.topbar { display: flex; align-items: center; gap: 8px; min-height: 48px; }
.topbar h1 { margin: 0; flex: 1; font-family: var(--display); font-weight: 700; font-size: 24px; letter-spacing: -0.01em; }
.page-title { margin: 0; font-family: var(--display); font-weight: 700; font-size: 26px; letter-spacing: -0.01em; }
.row { display: flex; align-items: center; gap: 10px; }
.between { justify-content: space-between; }
.grow { flex: 1; min-width: 0; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.stack { display: flex; flex-direction: column; gap: 10px; }
.section-title { font-size: 14px; font-weight: 700; margin: 4px 0 -2px; }

/* ---------- Karten */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 14px 16px; }
.card.dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.card.tight { padding: 10px 12px; border-radius: 14px; }
.kpi { display: flex; flex-direction: column; gap: 3px; }
.kpi .label { font-size: 12px; font-weight: 600; color: var(--muted); }
.card.dark .kpi .label, .card.dark .muted { color: var(--ink-muted); }
.kpi .value { font-family: var(--mono); font-weight: 600; font-size: 24px; font-variant-numeric: tabular-nums; }
.kpi .sub { font-size: 12px; color: var(--muted); }
.kpi.sm .value { font-size: 18px; }
.kpi.sm .label { font-size: 11px; }

/* ---------- Hero (Heute) */
.hero { background: var(--ink); color: #fff; margin: 0 -20px; padding: calc(18px + var(--safe-top)) 20px 20px; border-radius: 0 0 28px 28px; display: flex; flex-direction: column; gap: 14px; }
.avatar { width: 40px; height: 40px; border-radius: 20px; background: var(--ink-2); border: 1px solid var(--ink-line); display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 15px; flex-shrink: 0; }
.hero .greet-date { font-size: 13px; color: var(--ink-muted); }
.hero .greet { font-family: var(--display); font-weight: 700; font-size: 21px; }
.clock { background: var(--ink-2); border: 1px solid var(--ink-line); border-radius: 22px; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.clock .eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; color: var(--ink-muted); }
.clock .big { font-family: var(--mono); font-weight: 600; font-size: 46px; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.live { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--pos-bright); }
.live::before { content: ''; width: 8px; height: 8px; border-radius: 4px; background: #34C98A; }
.live.paused { color: #F2C46D; } .live.paused::before { background: #F2C46D; }
.progress { height: 8px; border-radius: 4px; background: #26353B; overflow: hidden; }
.progress > div { height: 100%; border-radius: 4px; background: var(--accent); transition: width .4s; }
.hero .progress > div { background: linear-gradient(90deg, var(--accent-bright), var(--accent-glow)); }

/* ---------- Buttons */
.btn { height: 48px; border-radius: var(--r-ctl); border: 1px solid var(--line); background: var(--surface); color: var(--text); font-weight: 700; font-size: 15px; padding: 0 16px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn.ghost-dark { background: transparent; border-color: var(--ink-line); color: #fff; }
.btn.danger { color: var(--neg); border-color: #F2C9C5; }
.btn.big { height: 54px; border-radius: 16px; font-size: 16px; }
.btn.block { width: 100%; }
.btn.sm { height: 38px; font-size: 13px; padding: 0 12px; border-radius: 11px; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.icon-btn { width: 44px; height: 44px; border-radius: 22px; border: 1px solid var(--line); background: var(--surface); color: var(--text); display: grid; place-items: center; padding: 0; flex-shrink: 0; }
.icon-btn.on-dark { background: var(--ink-2); border-color: var(--ink-line); color: #fff; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { height: 40px; padding: 0 16px; border-radius: 20px; border: 1px solid var(--line); background: var(--surface); font-size: 14px; font-weight: 600; }
.chip.sm { height: 34px; padding: 0 12px; font-size: 13px; border-radius: 17px; }
.chip.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.seg { background: #E4E8EE; border-radius: 14px; padding: 4px; display: grid; gap: 4px; }
.seg button { height: 40px; border: 0; border-radius: 11px; background: transparent; font-weight: 700; font-size: 14px; color: var(--muted); }
.seg button.on { background: #fff; color: var(--text); box-shadow: 0 1px 3px rgba(14, 26, 43, .12); }

/* ---------- Formulare */
.field { display: flex; flex-direction: column; gap: 6px; }
.field > label, .field > .label { font-size: 13px; font-weight: 700; }
.field .hint { font-size: 12px; color: var(--muted); }
.input { height: 48px; width: 100%; border: 1px solid var(--line); border-radius: var(--r-ctl); background: var(--surface); padding: 0 14px; font-size: 16px; }
.input:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px var(--accent-soft); }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%235B6778' stroke-width='2'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.timepair { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 6px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6px; }
.timebox { background: var(--surface-2); border-radius: 15px; padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; position: relative; min-width: 0; overflow: hidden; }
.timebox span { font-size: 12px; font-weight: 600; color: var(--muted); }
.timebox input { border: 0; background: transparent; font-family: var(--mono); font-weight: 600; font-size: 26px; padding: 0; width: 100%; min-width: 0; min-height: 40px; }
.timebox input::-webkit-calendar-picker-indicator { opacity: .5; margin-left: 0; }
.timebox input:focus { outline: none; }
.timebox:focus-within { box-shadow: 0 0 0 2px var(--accent); }
.pause-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.pause-grid button { height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); font-size: 14px; font-weight: 600; padding: 0; }
.pause-grid button.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.with-icon { position: relative; }
.with-icon svg { position: absolute; left: 14px; top: 15px; color: var(--muted); pointer-events: none; }
.with-icon .input { padding-left: 42px; }
.toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; }
.toggle input { width: 46px; height: 28px; appearance: none; border-radius: 14px; background: #D5DBE4; position: relative; cursor: pointer; flex-shrink: 0; transition: background .2s; }
.toggle input::after { content: ''; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 11px; background: #fff; transition: left .2s; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.toggle input:checked { background: var(--accent); }
.toggle input:checked::after { left: 21px; }

/* ---------- Hinweise */
.notice { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; font-size: 13px; line-height: 1.45; }
.notice svg { flex-shrink: 0; margin-top: 1px; }
.notice.warn { background: var(--warn-soft); color: var(--warn-text); }
.notice.info { background: var(--accent-soft); color: #0B5A40; }
.notice.ok { background: var(--pos-soft); color: #145A3A; }
.notice.err { background: var(--krank-soft); color: var(--krank-text); }
.badge { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 10px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.b-arbeit { background: var(--accent-soft); color: var(--accent-strong); }
.b-urlaub { background: var(--urlaub-soft); color: var(--urlaub-text); }
.b-krank { background: var(--krank-soft); color: var(--krank-text); }
.b-zeitausgleich { background: var(--za-soft); color: var(--za-text); }
.b-neutral { background: var(--line-2); color: var(--muted); }
.b-ok { background: var(--ink); color: #fff; }
.b-warn { background: var(--warn-soft); color: var(--warn-text); }

/* ---------- Listen */
.list-item { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; color: inherit; width: 100%; text-align: left; }
.datebadge { width: 42px; height: 42px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: flex; flex-direction: column; align-items: center; justify-content: center; flex-shrink: 0; }
.datebadge small { font-size: 10px; font-weight: 700; }
.datebadge b { font-size: 15px; line-height: 1; }
.datebadge.urlaub { background: var(--urlaub-soft); color: var(--urlaub); }
.datebadge.krank { background: var(--krank-soft); color: var(--krank); }
.datebadge.zeitausgleich { background: var(--za-soft); color: var(--za); }
.li-title { font-size: 14px; font-weight: 600; }
.li-sub { font-size: 12px; color: var(--muted); }

/* ---------- Woche */
.week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; align-items: end; }
.week .col { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.week .bar-wrap { height: 56px; width: 100%; display: flex; align-items: flex-end; justify-content: center; position: relative; }
.week .bar { width: 22px; border-radius: 7px; background: #BFDCCF; min-height: 5px; }
.week .bar.today { background: var(--accent); }
.week .bar.empty { background: var(--line-2); }
.week .bar.urlaub { background: var(--urlaub-dot); } .week .bar.krank { background: var(--krank); } .week .bar.zeitausgleich { background: var(--za); }
.week small { font-size: 11px; color: var(--muted); font-weight: 500; }
.week small.today { color: var(--text); font-weight: 700; }

/* ---------- Kalender */
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cal .wd { text-align: center; font-size: 11px; font-weight: 600; color: var(--muted); padding-bottom: 2px; }
.cal .d { height: 46px; border-radius: 12px; border: 2px solid transparent; background: transparent; padding: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 14px; font-weight: 500; color: var(--text); }
.cal .d .dot { width: 6px; height: 6px; border-radius: 3px; background: transparent; }
.cal .d.off { color: var(--faint); }
.cal .d.urlaub { background: var(--urlaub-soft); } .cal .d.krank { background: var(--krank-soft); } .cal .d.zeitausgleich { background: var(--za-soft); }
.cal .d.arbeit .dot { background: var(--accent); } .cal .d.urlaub .dot { background: var(--urlaub-dot); } .cal .d.krank .dot { background: var(--krank); } .cal .d.zeitausgleich .dot { background: var(--za); }
.cal .d.missing .dot { background: transparent; box-shadow: inset 0 0 0 1.5px var(--krank); }
.cal .d.today { border-color: var(--accent); font-weight: 700; }
.cal .d.sel { background: var(--ink); color: #fff; font-weight: 700; }
.cal .d.sel .dot { background: #fff; }
.cal .d.hol { color: var(--faint); text-decoration: underline dotted; }
.cal .r { height: 38px; margin: 2px 0; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.legend { display: flex; flex-wrap: wrap; gap: 12px; font-size: 11px; color: var(--muted); padding-top: 6px; }
.legend span { display: inline-flex; align-items: center; gap: 5px; }
.legend i { width: 8px; height: 8px; border-radius: 4px; display: inline-block; }

/* ---------- Prüfliste */
.check { display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 6px 0; }
.check + .check { border-top: 1px solid var(--line-2); }
.check .ic { width: 28px; height: 28px; border-radius: 14px; display: grid; place-items: center; flex-shrink: 0; }
.check .ic.ok { background: var(--pos-soft); color: var(--pos); }
.check .ic.warn { background: var(--warn-soft); color: #9A5B00; }

/* ---------- Tabelle (Jahr) */
.table { width: 100%; border-collapse: collapse; font-size: 13px; }
.table th { text-align: right; font-size: 11px; font-weight: 700; color: var(--muted); padding: 6px 4px; border-bottom: 1px solid var(--line); }
.table th:first-child, .table td:first-child { text-align: left; }
.table td { text-align: right; padding: 8px 4px; border-bottom: 1px solid var(--line-2); font-family: var(--mono); font-variant-numeric: tabular-nums; }
.table td:first-child { font-family: var(--sans); font-weight: 600; }
.table tr.sum td { font-weight: 700; border-bottom: 0; }
@media (max-width: 480px) { .table { font-size: 12px; } .table .hide-sm { display: none; } }

/* ---------- Tab-Leiste (mobil) */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; height: var(--tabbar-h); padding-bottom: var(--safe-bottom); background: rgba(255,255,255,.96); backdrop-filter: blur(12px); border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: start; padding-top: 8px; }
.tabbar a { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 11px; font-weight: 600; color: var(--muted); min-height: 48px; }
.tabbar a.on { color: var(--accent); font-weight: 700; }
.tabbar .fab-wrap { display: flex; justify-content: center; }
.fab { width: 56px; height: 56px; margin-top: -24px; border-radius: 18px; background: var(--accent); color: #fff !important; display: grid !important; place-items: center; box-shadow: 0 8px 20px rgba(8, 132, 93, .35); }
.action-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; background: #fff; border-top: 1px solid var(--line); border-radius: 24px 24px 0 0; padding: 14px 20px calc(16px + var(--safe-bottom)); display: flex; flex-direction: column; gap: 12px; box-shadow: 0 -8px 24px rgba(14,26,43,.06); }
.action-bar .inner { max-width: 520px; margin: 0 auto; width: 100%; display: flex; flex-direction: column; gap: 12px; }

/* ---------- Seitenleiste (Desktop/Tablet) */
.sidebar { display: none; }
@media (min-width: 960px) {
  .tabbar { display: none; }
  .sidebar { display: flex; position: fixed; left: 0; top: 0; bottom: 0; width: 248px; background: var(--ink); color: #fff; padding: 28px 18px; flex-direction: column; gap: 26px; z-index: 20; }
  .sidebar .brand { display: flex; align-items: center; gap: 12px; padding: 0 6px; }
  .sidebar .brand img { width: 196px; display: block; margin: -6px 0 -4px -4px; }
  .sidebar .me { display: flex; align-items: center; gap: 10px; } .sidebar .me .avatar { width: 36px; height: 36px; font-size: 13px; } .sidebar .me b { display: block; color: #fff; font-size: 13px; }
  .sidebar nav { display: flex; flex-direction: column; gap: 4px; }
  .sidebar nav a { height: 44px; border-radius: 12px; padding: 0 14px; display: flex; align-items: center; gap: 12px; color: var(--ink-muted); font-weight: 600; font-size: 14px; }
  .sidebar nav a.on { background: rgba(16,185,129,.14); color: var(--accent-glow); }
  .sidebar nav a:hover { color: #fff; }
  .sidebar .foot { margin-top: auto; background: var(--ink-2); border: 1px solid var(--ink-line); border-radius: 16px; padding: 14px; font-size: 12px; color: var(--ink-muted); display: flex; flex-direction: column; gap: 10px; }
  .app { padding-left: 248px; }
  .main { max-width: 1100px; padding: 32px 40px 48px; }
  .main.has-action { padding-bottom: 170px; }
  .main.flush-top { padding-top: 32px; }
  .hero { margin: 0; border-radius: 24px; padding: 24px; }
  .action-bar { left: 248px; }
  .desk-2 { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px; align-items: start; }
  .desk-4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
}

/* ---------- Dialoge, Toasts, Sync */
.overlay { position: fixed; inset: 0; background: rgba(14, 26, 43, .45); z-index: 50; display: flex; align-items: flex-end; justify-content: center; padding: 16px; animation: fade .15s; }
@media (min-width: 640px) { .overlay { align-items: center; } }
.dialog { background: #fff; border-radius: 24px; padding: 20px; width: 100%; max-width: 440px; display: flex; flex-direction: column; gap: 14px; margin-bottom: var(--safe-bottom); animation: up .2s; }
.dialog h2 { margin: 0; font-family: var(--display); font-size: 20px; }
.dialog p { margin: 0; font-size: 14px; line-height: 1.5; color: #33404F; white-space: pre-line; }
.dialog .actions { display: flex; flex-direction: column; gap: 8px; }
.toast { position: fixed; left: 50%; transform: translateX(-50%); top: calc(14px + var(--safe-top)); z-index: 60; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 14px; font-size: 14px; font-weight: 600; box-shadow: 0 10px 30px rgba(14,26,43,.3); max-width: calc(100% - 32px); animation: up .2s; }
.syncpill { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--muted); }
.syncpill i { width: 8px; height: 8px; border-radius: 4px; background: #34C98A; display: inline-block; }
.syncpill.offline i { background: #E0A43A; } .syncpill.error i { background: var(--krank); } .syncpill.syncing i { background: var(--accent); animation: pulse 1s infinite; }
@keyframes fade { from { opacity: 0; } }
@keyframes up { from { transform: translateY(12px); opacity: 0; } }
@keyframes pulse { 50% { opacity: .3; } }
.toast { transform: translateX(-50%); }

/* ---------- Login (dunkel, mit Schriftzug) */
.login-screen { min-height: 100dvh; background: #0C1215; color: #fff; position: relative; overflow: hidden; display: flex; justify-content: center; }
.login-screen::before { content: ''; position: absolute; width: 760px; height: 760px; border-radius: 50%; left: 50%; top: -420px; transform: translateX(-50%); background: radial-gradient(circle, rgba(16, 185, 129, .30), transparent 64%); pointer-events: none; }
.login { position: relative; min-height: 100dvh; width: 100%; max-width: 420px; display: flex; flex-direction: column; padding: calc(36px + var(--safe-top)) 24px calc(28px + var(--safe-bottom)); gap: 16px; box-sizing: border-box; }
.login .brandmark { width: min(300px, 84vw); align-self: center; display: block; margin-top: 4vh; }
.login .hello { font-family: var(--display); font-weight: 700; font-size: 24px; text-align: center; margin: 4px 0 0; }
.login .sub { color: #8FA3AD; font-size: 14px; text-align: center; margin: -8px 0 0; line-height: 1.5; }
.login .form { margin-top: auto; display: flex; flex-direction: column; gap: 12px; padding-top: 24px; }
.login .field label { color: #B8C6CC; }
.login .input { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); color: #fff; }
.login .input:focus { border-color: var(--accent-bright); box-shadow: 0 0 0 3px rgba(16,185,129,.25); }
.login .btn.primary, .hero .btn.primary { background: var(--accent-bright); border-color: var(--accent-bright); color: #04140E; }
.login .foot { text-align: center; font-size: 11px; color: #5E727B; letter-spacing: .04em; }

/* ---------- Profilbild */
.avatar.photo { background-size: cover; background-position: center; border-color: rgba(255,255,255,.25); }
.avatar-edit { display: flex; align-items: center; gap: 14px; }
.avatar-edit .avatar { width: 72px; height: 72px; border-radius: 36px; font-size: 24px; background-color: var(--ink); color: #fff; }

/* ---------- Statistik */
.chart { width: 100%; height: auto; display: block; }
.monthlabels { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); font-size: 10px; color: var(--ink-muted); text-align: center; }
.stackbar { height: 10px; border-radius: 5px; background: var(--line-2); display: flex; overflow: hidden; }
.loading { min-height: 100dvh; display: grid; place-items: center; color: var(--muted); }
@media (min-width: 640px) and (min-height: 700px) { .login { justify-content: center; } .login .brandmark { margin-top: 0; } .login .form { margin-top: 20px; } }
