/* Meridian HR – Kommandozentrale mit Glas-Panels. Hell ist Standard (Büroalltag), Dunkel optional. */
:root {
  --bg: #eef2f8;
  --bg-grad: radial-gradient(1200px 600px at 85% -10%, #dce6ff 0%, transparent 60%), radial-gradient(900px 500px at -10% 110%, #e4f4ee 0%, transparent 60%);
  --panel: rgba(255, 255, 255, .78);
  --panel-solid: #ffffff;
  --panel-border: rgba(20, 40, 80, .10);
  --text: #15203a;
  --muted: #5b6780;
  --line: rgba(20, 40, 80, .10);
  --accent: #2f6bff;
  --accent-ink: #ffffff;
  --accent-soft: rgba(47, 107, 255, .10);
  --danger: #c93a3a;
  --warn: #a05a00;
  --warn-bg: #fff4e2;
  --ok: #18865a;
  --shadow: 0 1px 2px rgba(15, 30, 70, .05), 0 8px 24px rgba(15, 30, 70, .06);
  --radius: 14px;
  --sidebar: #ffffffcc;
  --input: #ffffff;
  --st-office: #2f6bff; --st-home: #18a37a; --st-client: #e8833a; --st-travel: #9b5de5; --st-break: #c9a227; --st-off: #8a94a6;
  /* Globus */
  --g-ocean: #eaf0fa; --g-ocean-edge: #cfdbef; --g-land: #a7b9da; --g-land-stroke: #8fa4cb; --g-grid: rgba(40, 70, 130, .10);
  --g-night: 30, 45, 95; --g-night-alpha: .22; --g-glow: rgba(47, 107, 255, .18); --g-label: #15203a;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #070b16;
    --bg-grad: radial-gradient(1200px 600px at 85% -10%, #12204a 0%, transparent 60%), radial-gradient(900px 500px at -10% 110%, #0b2a2a 0%, transparent 60%);
    --panel: rgba(18, 26, 48, .72); --panel-solid: #111a30; --panel-border: rgba(140, 170, 255, .14);
    --text: #e6ecff; --muted: #94a0bf; --line: rgba(140, 170, 255, .12);
    --accent: #5b8cff; --accent-soft: rgba(91, 140, 255, .16); --danger: #ff6b6b; --warn: #ffb547; --warn-bg: rgba(255, 181, 71, .10); --ok: #3ed598;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 10px 30px rgba(0, 0, 0, .35); --sidebar: rgba(10, 16, 32, .8); --input: #0c1428;
    --g-ocean: #0b1736; --g-ocean-edge: #1d2f60; --g-land: #1f3a6e; --g-land-stroke: #2f5296; --g-grid: rgba(120, 160, 255, .10);
    --g-night: 0, 0, 0; --g-night-alpha: .5; --g-glow: rgba(91, 140, 255, .30); --g-label: #e6ecff;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #070b16;
  --bg-grad: radial-gradient(1200px 600px at 85% -10%, #12204a 0%, transparent 60%), radial-gradient(900px 500px at -10% 110%, #0b2a2a 0%, transparent 60%);
  --panel: rgba(18, 26, 48, .72); --panel-solid: #111a30; --panel-border: rgba(140, 170, 255, .14);
  --text: #e6ecff; --muted: #94a0bf; --line: rgba(140, 170, 255, .12);
  --accent: #5b8cff; --accent-soft: rgba(91, 140, 255, .16); --danger: #ff6b6b; --warn: #ffb547; --warn-bg: rgba(255, 181, 71, .10); --ok: #3ed598;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 10px 30px rgba(0, 0, 0, .35); --sidebar: rgba(10, 16, 32, .8); --input: #0c1428;
  --g-ocean: #0b1736; --g-ocean-edge: #1d2f60; --g-land: #1f3a6e; --g-land-stroke: #2f5296; --g-grid: rgba(120, 160, 255, .10);
  --g-night: 0, 0, 0; --g-night-alpha: .5; --g-glow: rgba(91, 140, 255, .30); --g-label: #e6ecff;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font: 15px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text); background: var(--bg); background-image: var(--bg-grad); background-attachment: fixed; min-height: 100vh;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .6em; }
h2 { font-size: 1.02rem; letter-spacing: .01em; }
h3 { font-size: .95rem; margin-top: 1em; }
small { font-size: .82em; }
code { font-size: .8em; color: var(--muted); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--panel-solid); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }
.center { text-align: center; }
.grow { flex: 1 1 auto; min-width: 0; }
[hidden] { display: none !important; }

/* Shell */
.shell { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.sidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 18px 12px; background: var(--sidebar);
  border-right: 1px solid var(--panel-border); backdrop-filter: blur(14px); z-index: 20; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--text); padding: 4px 10px 18px; font-size: 1.05rem; }
.brand svg { width: 28px; height: 28px; color: var(--accent); }
.brand--big { font-size: 1.4rem; padding: 0 0 8px; }
.brand--big svg { width: 38px; height: 38px; }
.sidebar nav { display: flex; flex-direction: column; gap: 2px; overflow-y: auto; }
.sidebar nav a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; color: var(--text); font-weight: 500; }
.sidebar nav a:hover { background: var(--accent-soft); text-decoration: none; }
.sidebar nav a.is-active { background: var(--accent); color: var(--accent-ink); }
.sidebar nav .badge { margin-left: auto; }
.sidebar nav a.is-active .badge { background: var(--accent-ink); color: var(--accent); }
.sidebar__foot { margin-top: auto; padding: 12px 10px 0; border-top: 1px solid var(--line); }
.who { display: flex; flex-direction: column; font-size: .88rem; }
.who span { color: var(--muted); }
.main { min-width: 0; display: flex; flex-direction: column; }
.topbar { display: flex; align-items: center; gap: 12px; padding: 14px 24px; position: sticky; top: 0; z-index: 10;
  background: linear-gradient(var(--bg), transparent); backdrop-filter: blur(6px); }
.topbar__title { font-size: 1.25rem; margin: 0; flex: 1; }
.topbar__actions { display: flex; align-items: center; gap: 8px; }
main { padding: 4px 24px 40px; outline: none; }
.menu-toggle { display: none; }
.inline { display: inline; margin: 0; }

/* Panels & Grid */
.panel { background: var(--panel); border: 1px solid var(--panel-border); border-radius: var(--radius); padding: 18px 20px;
  box-shadow: var(--shadow); backdrop-filter: blur(14px); min-width: 0; }
.panel--accent { border-color: color-mix(in srgb, var(--accent) 40%, transparent); background: color-mix(in srgb, var(--accent) 6%, var(--panel)); }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; grid-auto-flow: dense; }
.span-2 { grid-column: span 2; }
.span-3 { grid-column: 1 / -1; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.row--end { align-items: flex-end; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.empty { max-width: 460px; margin: 10vh auto; text-align: center; }
.greeting { font-size: 1.05rem; color: var(--muted); margin: 0 0 14px; }

/* KPIs */
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 16px; }
.kpi { background: var(--panel); border: 1px solid var(--panel-border); border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--shadow); }
.kpi span { display: block; color: var(--muted); font-size: .82rem; }
.kpi strong { font-size: 1.7rem; font-variant-numeric: tabular-nums; }
.kpis--small { grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 10px; }
.kpis--small .kpi { padding: 10px 12px; box-shadow: none; }
.kpis--small .kpi strong { font-size: 1.3rem; }
.big { font-size: 1.6rem; font-weight: 700; margin: .2em 0; font-variant-numeric: tabular-nums; }
.big small { font-size: .9rem; font-weight: 400; }
.balance { display: flex; gap: 18px; margin-bottom: 8px; }
.balance div { display: flex; flex-direction: column; }
.balance strong { font-size: 1.6rem; font-variant-numeric: tabular-nums; }
.balance span { color: var(--muted); font-size: .82rem; }
.meter { height: 8px; background: var(--line); border-radius: 99px; overflow: hidden; margin: 6px 0; }
.meter span { display: block; height: 100%; width: var(--v); background: var(--accent); border-radius: 99px; }

/* Forms */
label { display: flex; flex-direction: column; gap: 4px; font-size: .85rem; color: var(--muted); font-weight: 500; }
input, select, textarea { font: inherit; color: var(--text); background: var(--input); border: 1px solid var(--panel-border); border-radius: 10px;
  padding: 8px 10px; min-height: 38px; width: 100%; }
input[type="color"] { width: 42px; padding: 3px; }
input[type="checkbox"], input[type="radio"] { width: auto; min-height: 0; accent-color: var(--accent); }
.row input, .row select { width: auto; }
.row .grow input, .row .grow select, .row input.grow { width: 100%; }
label.check { flex-direction: row; align-items: center; gap: 8px; color: var(--text); }
fieldset { border: 1px solid var(--line); border-radius: 12px; padding: 12px; margin: 0; }
legend { font-weight: 600; font-size: .9rem; padding: 0 6px; }
.choices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; border: 0; padding: 0; }
.choices legend { padding: 0 0 8px; }
.choice { flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 14px 8px; border: 1px solid var(--panel-border);
  border-radius: 12px; cursor: pointer; color: var(--text); background: var(--input); text-align: center; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 1px var(--accent) inset; }
.choice:has(input:focus-visible) { outline: 2px solid var(--accent); }
.hint { display: flex; gap: 8px; align-items: flex-start; font-size: .85rem; color: var(--muted); margin: 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font: inherit; font-weight: 600; padding: 8px 14px; min-height: 38px;
  border-radius: 10px; border: 1px solid var(--panel-border); background: var(--panel-solid); color: var(--text); cursor: pointer; white-space: nowrap; }
.btn:hover { border-color: var(--accent); text-decoration: none; }
.btn--primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn--primary:hover { filter: brightness(1.08); }
.btn--danger { color: var(--danger); }
.btn--danger:hover { border-color: var(--danger); }
.btn--sm { padding: 4px 10px; min-height: 30px; font-size: .85rem; }
.btn--lg { padding: 12px 18px; font-size: 1.05rem; }
.btn--block { width: 100%; }
.link { background: none; border: 0; padding: 0; font: inherit; color: var(--accent); cursor: pointer; }
.link:hover { text-decoration: underline; }
.iconbtn { width: 38px; height: 38px; display: inline-grid; place-items: center; border-radius: 10px; border: 1px solid var(--panel-border);
  background: var(--panel); color: var(--text); cursor: pointer; font: inherit; font-weight: 700; font-size: .8rem; }
.iconbtn:hover { border-color: var(--accent); }
.iconbtn[aria-pressed="true"] { background: var(--accent-soft); border-color: var(--accent); }

/* Status */
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 99px; font-size: .85rem; font-weight: 600;
  background: color-mix(in srgb, var(--st) 14%, transparent); color: color-mix(in srgb, var(--st) 80%, var(--text)); border: 1px solid color-mix(in srgb, var(--st) 30%, transparent); --st: var(--st-off); }
.pill:hover { text-decoration: none; }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--st); }
.pill--office { --st: var(--st-office); } .pill--home { --st: var(--st-home); } .pill--client { --st: var(--st-client); }
.pill--travel { --st: var(--st-travel); } .pill--break { --st: var(--st-break); }
.pill--office .dot, .pill--home .dot, .pill--client .dot, .pill--travel .dot { box-shadow: 0 0 0 3px color-mix(in srgb, var(--st) 25%, transparent); }
.pill--sm { padding: 2px 8px; font-size: .78rem; }
.badge { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: var(--accent); color: var(--accent-ink); font-size: .75rem; font-weight: 700; }
.tag { display: inline-block; padding: 1px 8px; border-radius: 99px; font-size: .75rem; font-weight: 600; background: var(--line); color: var(--muted); }
.tag--approved, .tag--done { background: color-mix(in srgb, var(--ok) 15%, transparent); color: var(--ok); }
.tag--pending, .tag--pending_hr, .tag--open { background: color-mix(in srgb, var(--st-break) 18%, transparent); color: var(--warn); }
.tag--rejected, .tag--cancelled { background: color-mix(in srgb, var(--danger) 12%, transparent); color: var(--danger); }
.tag--in_progress, .tag--current { background: var(--accent-soft); color: var(--accent); }
.tag--reported { background: var(--line); color: var(--muted); }
.swatch { display: inline-block; width: 10px; height: 10px; border-radius: 3px; background: var(--c); margin-right: 6px; vertical-align: baseline; }
.warn { color: var(--warn); background: var(--warn-bg); border-radius: 8px; padding: 4px 8px; font-size: .85rem; margin: 4px 0; }
.ok { color: var(--ok); }
.flash { padding: 10px 14px; border-radius: 12px; margin-bottom: 16px; font-weight: 500; border: 1px solid; }
.flash--ok { background: color-mix(in srgb, var(--ok) 10%, var(--panel-solid)); border-color: color-mix(in srgb, var(--ok) 35%, transparent); }
.flash--error { background: color-mix(in srgb, var(--danger) 10%, var(--panel-solid)); border-color: color-mix(in srgb, var(--danger) 35%, transparent); }
.flash--warn { background: var(--warn-bg); border-color: color-mix(in srgb, var(--warn) 35%, transparent); }

/* Listen & Tabellen */
.list { list-style: none; margin: 0 0 8px; padding: 0; }
.list li { padding: 7px 0; border-bottom: 1px solid var(--line); }
.list li:last-child { border-bottom: 0; }
.list--plain li { border: 0; padding: 3px 0; }
.date { display: inline-block; min-width: 88px; color: var(--muted); font-variant-numeric: tabular-nums; font-size: .88rem; }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.table th, .table td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { color: var(--muted); font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .03em; }
.table tbody tr:hover { background: var(--accent-soft); }
.table--dense td { padding: 5px 8px; }
.table--matrix td { text-align: center; color: var(--accent); }
.table--matrix tbody th { text-transform: none; letter-spacing: 0; font-size: .88rem; color: var(--text); font-weight: 500; }
.row--table { display: grid; grid-template-columns: 1.4fr 1fr auto auto 1.2fr 40px auto; gap: 6px; }
.app-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 24px; align-items: start; margin-bottom: 16px; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0; }
.facts dt { color: var(--muted); font-size: .88rem; }
.facts dd { margin: 0; overflow-wrap: anywhere; }
.request { display: flex; gap: 16px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.request:last-child { border-bottom: 0; }
.request p { margin: 4px 0 0; }
.tasklist { list-style: none; padding: 0; margin: 0; }
.tasklist li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.tasklist li > div { display: flex; flex-direction: column; }
.tasklist li.is-done strong { text-decoration: line-through; color: var(--muted); }
.tasklist li.is-current { background: linear-gradient(90deg, var(--accent-soft), transparent); border-radius: 8px; padding-left: 8px; }
.news { padding: 10px 0; border-bottom: 1px solid var(--line); }
.news:last-child { border-bottom: 0; }
.news h3 { margin: 0 0 4px; }
.news p { margin: 0 0 4px; }

/* Profil */
.profile__head { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.profile__head h2 { font-size: 1.3rem; margin: 0; }
.profile__head p { margin: 2px 0 0; }
.avatar { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-weight: 700; font-size: 1.2rem; color: #fff;
  background: linear-gradient(135deg, var(--c), color-mix(in srgb, var(--c) 60%, #000)); }

/* Stempeluhr */
.clock__head { display: flex; justify-content: space-between; align-items: baseline; }
.clock__now { font-variant-numeric: tabular-nums; font-size: 1.4rem; font-weight: 700; color: var(--muted); }
.clock__state { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.visible-as { display: flex; gap: 10px; align-items: flex-start; font-size: 1.05rem; font-weight: 600; }
.visible-as > .ico { margin-top: 3px; }
.visible-as small { display: block; font-weight: 400; }
.visible-as--off { color: var(--muted); font-weight: 500; }

/* Kalender */
.cal { border-collapse: separate; border-spacing: 0; font-size: .8rem; width: 100%; }
.cal th, .cal td { padding: 0; height: 30px; min-width: 26px; text-align: center; border-bottom: 1px solid var(--line); }
.cal thead th { color: var(--muted); font-weight: 600; padding-bottom: 4px; line-height: 1.1; }
.cal .cal__name { text-align: left; white-space: nowrap; padding-right: 12px; font-weight: 500; position: sticky; left: 0; background: var(--panel-solid); z-index: 1; min-width: 160px; }
.cal .is-off { background: color-mix(in srgb, var(--line) 60%, transparent); }
.cal .is-today { box-shadow: inset 2px 0 0 var(--accent), inset -2px 0 0 var(--accent); }
.cal__group th { text-align: left; font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); padding-top: 12px; }
.cal__bar { display: block; height: 18px; margin: 0 1px; border-radius: 4px; background: var(--c); }
.cal__bar.is-pending { background: repeating-linear-gradient(45deg, var(--c, var(--muted)) 0 4px, transparent 4px 8px); border: 1px solid var(--c, var(--muted)); }
.cal__bar--inline { display: inline-block; width: 24px; height: 12px; vertical-align: middle; --c: var(--muted); }

/* Login */
body.bare { display: grid; place-items: center; padding: 24px; }
.login { display: grid; grid-template-columns: minmax(300px, 380px) minmax(300px, 460px); gap: 20px; align-items: start; width: 100%; max-width: 880px; }
.login__card { padding: 28px; }
.login__lang { margin-top: 14px; text-align: center; }
.demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.demo-grid form { margin: 0; }
.demo-btn { width: 100%; text-align: left; display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 12px; cursor: pointer;
  background: var(--input); border: 1px solid var(--panel-border); color: var(--text); font: inherit; }
.demo-btn:hover { border-color: var(--accent); }
.demo-btn span { color: var(--muted); font-size: .8rem; }

/* Globus */
.shell--wide main { padding-bottom: 24px; }
.globe-page { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 16px; height: calc(100vh - 100px); min-height: 560px; }
.globe-stage { position: relative; padding: 0; overflow: hidden; }
.globe-stage canvas { width: 100%; height: 100%; display: block; cursor: grab; touch-action: none; }
.globe-stage canvas.is-dragging { cursor: grabbing; }
.globe-legend { position: absolute; left: 14px; top: 14px; display: flex; flex-wrap: wrap; gap: 6px; max-width: 70%; pointer-events: none; }
.globe-legend .pill { background: var(--panel); backdrop-filter: blur(8px); }
.globe-controls { position: absolute; right: 14px; top: 14px; display: flex; flex-direction: column; gap: 6px; }
.globe-note { position: absolute; left: 14px; bottom: 10px; right: 14px; margin: 0; font-size: .8rem; color: var(--muted); display: flex; gap: 6px; pointer-events: none; }
.globe-side { display: flex; flex-direction: column; gap: 16px; min-height: 0; }
.globe-side > .panel:last-child { flex: 1; overflow-y: auto; min-height: 0; }
.filter { margin-top: 10px; }
.loc-item { display: flex; align-items: center; gap: 10px; width: 100%; background: none; border: 0; color: inherit; font: inherit; text-align: left; padding: 6px 4px; cursor: pointer; border-radius: 8px; }
.loc-item:hover { background: var(--accent-soft); }
.loc-item .count { margin-left: auto; font-weight: 700; font-variant-numeric: tabular-nums; }
.loc-item .bars { display: flex; height: 6px; width: 60px; border-radius: 99px; overflow: hidden; background: var(--line); }
.loc-item .bars span { display: block; height: 100%; }
.person { padding: 8px 0; border-bottom: 1px solid var(--line); }
.person:last-child { border: 0; }
.person__name { font-weight: 600; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.person p { margin: 2px 0 0; font-size: .85rem; color: var(--muted); }
.team-bar { display: flex; height: 10px; border-radius: 99px; overflow: hidden; background: var(--line); margin: 6px 0 4px; }
.team-bar span { height: 100%; }
.globe-teaser { position: relative; overflow: hidden; color: var(--text); }
.globe-teaser:hover { text-decoration: none; border-color: var(--accent); }

/* Icons (reines CSS, keine externen Fonts) */
.ico { display: inline-block; width: 18px; height: 18px; flex: none; background: currentColor; -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; vertical-align: -3px; }
.ico-xl { position: absolute; right: -20px; bottom: -20px; width: 120px; height: 120px; opacity: .12; color: var(--accent); }
.ico-home { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11l9-7 9 7v9a1 1 0 0 1-1 1h-5v-6H9v6H4a1 1 0 0 1-1-1z'/%3E%3C/svg%3E"); }
.ico-globe { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cellipse cx='12' cy='12' rx='4' ry='9'/%3E%3Cpath d='M3 12h18'/%3E%3C/svg%3E"); }
.ico-clock { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E"); }
.ico-sun { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 2v2M12 20v2M4.9 4.9l1.4 1.4M17.7 17.7l1.4 1.4M2 12h2M20 12h2M4.9 19.1l1.4-1.4M17.7 6.3l1.4-1.4'/%3E%3C/svg%3E"); }
.ico-calendar { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E"); }
.ico-check { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='3'/%3E%3Cpath d='M8 12l3 3 5-6'/%3E%3C/svg%3E"); }
.ico-users { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='9' cy='8' r='3.5'/%3E%3Cpath d='M2.5 20c.8-3.5 3.4-5.5 6.5-5.5s5.7 2 6.5 5.5'/%3E%3Cpath d='M16 4.5a3.5 3.5 0 0 1 0 7M18 14.8c1.8.8 3 2.6 3.5 5.2'/%3E%3C/svg%3E"); }
.ico-inbox { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M3 13l3-8h12l3 8v6a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1z'/%3E%3Cpath d='M3 13h5l1 3h6l1-3h5'/%3E%3C/svg%3E"); }
.ico-news { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='2'/%3E%3Cpath d='M7 9h10M7 13h10M7 17h6'/%3E%3C/svg%3E"); }
.ico-shield { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M12 3l8 3v6c0 4.5-3.4 8-8 9-4.6-1-8-4.5-8-9V6z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E"); }
.ico-gear { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M12 2v3M12 19v3M2 12h3M19 12h3M4.9 4.9l2.1 2.1M17 17l2.1 2.1M4.9 19.1L7 17M17 7l2.1-2.1'/%3E%3C/svg%3E"); }
.ico-list { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M8 6h13M8 12h13M8 18h13M3.5 6h.01M3.5 12h.01M3.5 18h.01'/%3E%3C/svg%3E"); }
.ico-menu { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 6h16M4 12h16M4 18h16'/%3E%3C/svg%3E"); }
.ico-contrast { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='M12 3a9 9 0 0 1 0 18z' fill='black'/%3E%3C/svg%3E"); }
.ico-logout { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 4h4a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1h-4M10 16l-4-4 4-4M6 12h10'/%3E%3C/svg%3E"); }
.ico-lock { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='5' y='10' width='14' height='10' rx='2'/%3E%3Cpath d='M8 10V7a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E"); }
.ico-rotate { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M20 12a8 8 0 1 1-2.3-5.7M20 4v4h-4'/%3E%3C/svg%3E"); }
.ico-place-office { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='4' y='3' width='16' height='18' rx='1'/%3E%3Cpath d='M8 7h2M14 7h2M8 11h2M14 11h2M8 15h2M14 15h2M10 21v-3h4v3'/%3E%3C/svg%3E"); width: 26px; height: 26px; color: var(--st-office); }
.ico-place-home { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M3 11l9-7 9 7v9a1 1 0 0 1-1 1h-5v-6H9v6H4a1 1 0 0 1-1-1z'/%3E%3C/svg%3E"); width: 26px; height: 26px; color: var(--st-home); }
.ico-place-client { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Crect x='3' y='7' width='18' height='13' rx='2'/%3E%3Cpath d='M9 7V5a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v2M3 13h18'/%3E%3C/svg%3E"); width: 26px; height: 26px; color: var(--st-client); }
.ico-place-travel { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M21 16v-2l-8-5V3.5a1.5 1.5 0 0 0-3 0V9l-8 5v2l8-2.5V19l-2 1.5V22l3.5-1 3.5 1v-1.5L13 19v-5.5z'/%3E%3C/svg%3E"); width: 26px; height: 26px; color: var(--st-travel); }

/* Responsiv */
@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .span-3 { grid-column: 1 / -1; }
  .globe-page { grid-template-columns: 1fr; height: auto; }
  .globe-stage { height: 62vh; min-height: 380px; }
  .row--table { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .shell { grid-template-columns: 1fr; }
  .sidebar { position: fixed; left: 0; top: 0; width: 260px; transform: translateX(-105%); transition: transform .2s; }
  .sidebar.is-open { transform: none; box-shadow: var(--shadow); }
  .menu-toggle { display: inline-grid; }
  .topbar { padding: 12px 16px; }
  .topbar__title { font-size: 1.05rem; }
  main { padding: 4px 16px 32px; }
  .grid { grid-template-columns: 1fr; }
  .span-2, .span-3 { grid-column: auto; }
  .choices { grid-template-columns: repeat(2, 1fr); }
  .login { grid-template-columns: 1fr; }
  .app-split { grid-template-columns: 1fr; }
  .demo-grid { grid-template-columns: 1fr; }
  .topbar .pill { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ===== Phase 2 ===== */
:root { --st-jobs: #d6457a; }
.nav-group { display: block; margin: 12px 10px 4px; font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; }
.sidebar nav { padding-bottom: 8px; }
.toolbar { margin-bottom: 16px; }
.span-all { grid-column: 1 / -1; }
.badge--muted { background: var(--line); color: var(--muted); }
.warn-text { color: var(--warn); }
.is-muted { opacity: .6; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .85rem; }
.prose { line-height: 1.65; }
.prose h1 { font-size: 1.6rem; }
.prose h2 { font-size: 1.1rem; margin-top: 1.4em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 16px 0; }
details summary { cursor: pointer; color: var(--accent); font-weight: 600; margin: 8px 0; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-block; padding: 2px 8px; border-radius: 99px; border: 1px solid var(--panel-border); background: var(--input); color: var(--text); font: inherit; font-size: .78rem; cursor: pointer; }
.chip:hover { border-color: var(--accent); text-decoration: none; }
.pill--jobs { --st: var(--st-jobs); }
button.pill { cursor: pointer; font: inherit; font-weight: 600; font-size: .78rem; }
button.pill[aria-pressed="false"] { opacity: .5; filter: grayscale(.6); }
.globe-layers { position: absolute; left: 14px; bottom: 36px; display: flex; gap: 6px; flex-wrap: wrap; }
.globe-layers .pill { background: var(--panel); backdrop-filter: blur(8px); }
.meter--lg { height: 12px; }
.progress-cell { min-width: 140px; }

/* Schritte */
.steps { list-style: none; display: flex; gap: 0; padding: 0; margin: 12px 0; counter-reset: s; flex-wrap: wrap; }
.steps li { flex: 1; min-width: 90px; position: relative; padding: 28px 4px 0; text-align: center; font-size: .82rem; color: var(--muted); counter-increment: s; }
.steps li::before { content: counter(s); position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center; background: var(--line); color: var(--muted); font-weight: 700; font-size: .75rem; z-index: 1; }
.steps li::after { content: ''; position: absolute; top: 10px; left: -50%; width: 100%; height: 2px; background: var(--line); }
.steps li:first-child::after { display: none; }
.steps li.is-done::before { content: '✓'; background: var(--ok); color: #fff; }
.steps li.is-done::after, .steps li.is-current::after { background: var(--ok); }
.steps li.is-current { color: var(--text); font-weight: 700; }
.steps li.is-current::before { background: var(--accent); color: #fff; }
.steps--compact li { min-width: 70px; }

/* Kanban */
.kanban { display: grid; grid-template-columns: repeat(6, minmax(180px, 1fr)); gap: 12px; overflow-x: auto; padding-bottom: 8px; margin-top: 16px; }
.kanban__col { background: color-mix(in srgb, var(--panel) 60%, transparent); border: 1px solid var(--panel-border); border-radius: var(--radius); padding: 12px; min-height: 200px; }
.kanban__col h2 { font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); display: flex; justify-content: space-between; }
.kanban__card { display: flex; flex-direction: column; gap: 4px; background: var(--panel-solid); border: 1px solid var(--panel-border); border-radius: 10px; padding: 10px; margin-bottom: 8px; color: var(--text); box-shadow: var(--shadow); }
.kanban__card:hover { border-color: var(--accent); text-decoration: none; }
.stars { color: var(--st-break); font-weight: 700; }
.jobhead { display: flex; gap: 16px; align-items: flex-start; flex-wrap: wrap; }
.jobhead p { margin: 0 0 4px; }
.tag--job-open { background: color-mix(in srgb, var(--ok) 15%, transparent); color: var(--ok); }
.tag--job-pending { background: color-mix(in srgb, var(--st-break) 18%, transparent); color: var(--warn); }
.tag--job-rejected, .tag--job-closed { background: var(--line); color: var(--muted); }
.tag--job-paused { background: var(--accent-soft); color: var(--accent); }
.tag--stage-hired { background: color-mix(in srgb, var(--ok) 15%, transparent); color: var(--ok); }
.tag--stage-rejected, .tag--stage-withdrawn { background: color-mix(in srgb, var(--danger) 12%, transparent); color: var(--danger); }
.tag--stage-interview, .tag--stage-offer { background: var(--accent-soft); color: var(--accent); }
.rating { border: 0; padding: 0; display: flex; gap: 4px; align-items: center; flex-wrap: wrap; }
.rating legend { width: 100%; padding: 0 0 4px; font-size: .88rem; }
.rating label { flex-direction: row; }
.rating input { position: absolute; opacity: 0; }
.rating span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; border: 1px solid var(--panel-border); background: var(--input); color: var(--text); cursor: pointer; font-weight: 700; }
.rating input:checked + span { background: var(--accent); color: #fff; border-color: var(--accent); }
.rating input:focus-visible + span { outline: 2px solid var(--accent); }

/* Checklisten */
.checklist { list-style: none; padding: 0; margin: 0 0 8px; }
.checklist li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.checklist li.is-done .grow { text-decoration: line-through; color: var(--muted); }
.checkbox { width: 22px; height: 22px; border-radius: 6px; border: 2px solid var(--muted); background: var(--input); cursor: pointer; display: inline-grid; place-items: center; padding: 0; flex: none; }
.checkbox:hover { border-color: var(--accent); }
.checkbox.is-checked { background: var(--ok); border-color: var(--ok); }
.checkbox.is-checked::after { content: '✓'; color: #fff; font-weight: 700; font-size: 13px; }
.checkbox.is-readonly { cursor: default; opacity: .6; }

/* Dateien */
.filelist { list-style: none; padding: 0; margin: 0 0 12px; }
.filelist li { display: flex; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line); }
.filelist li.is-unread { font-weight: 600; }
.filelist li.is-unread::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }
.paper { background: #fff; color: #111; font: 15px/1.6 Georgia, "Times New Roman", serif; padding: 40px 48px; border-radius: 6px; box-shadow: var(--shadow); max-width: 760px; }
.paper h2 { font-size: 1.2rem; }
.paper mark { background: #ffe9a8; }
.list--scroll { max-height: 360px; overflow-y: auto; }

/* Organigramm */
.org__level { list-style: none; padding-left: 22px; margin: 0; border-left: 2px solid var(--line); }
.org > .org__level { border-left: 0; padding-left: 0; }
.org__level > li { margin: 8px 0; }
.org__node { position: relative; display: inline-flex; flex-direction: column; min-width: 220px; padding: 8px 12px 8px 14px; border-radius: 10px; background: var(--panel-solid);
  border: 1px solid var(--panel-border); box-shadow: var(--shadow); border-left: 4px solid var(--c); }
.org__node.is-me { outline: 2px solid var(--accent); }
.org__count { position: absolute; right: 8px; top: 8px; font-size: .7rem; color: var(--muted); }
.org details { margin-left: 4px; }
.org details summary { font-size: .8rem; }

/* Diagramme */
.bars-list { list-style: none; padding: 0; margin: 0; }
.bars-list li { display: grid; grid-template-columns: minmax(90px, 1fr) 2fr auto; gap: 10px; align-items: center; padding: 5px 0; font-size: .88rem; }
.bars-list__label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bars-list__track { height: 10px; background: var(--line); border-radius: 99px; overflow: hidden; }
.bars-list__track span { display: block; height: 100%; width: var(--w); background: var(--accent); border-radius: 99px; }
.bars-list__track span.is-neg { background: var(--st-client); }
.bars-list__hidden { grid-column: 2 / -1; font-size: .8rem; }
.bars-list strong { font-variant-numeric: tabular-nums; min-width: 48px; text-align: right; }
.colchart { display: flex; gap: 6px; align-items: flex-end; height: 140px; padding-top: 8px; }
.colchart__col { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 2px; }
.colchart__col span { width: 70%; border-radius: 3px 3px 0 0; height: var(--h); min-height: 0; }
.colchart__in { background: var(--ok); }
.colchart__out { background: var(--danger); }
.colchart small { color: var(--muted); font-size: .7rem; }

/* Öffentliche Karriereseite */
body.public { display: block; }
.public__head { display: flex; justify-content: space-between; align-items: center; padding: 16px 24px; max-width: 1100px; margin: 0 auto; }
.public__main { max-width: 1100px; margin: 0 auto; padding: 0 24px 40px; }
.public__foot { max-width: 1100px; margin: 0 auto; padding: 24px; font-size: .85rem; }
.hero { padding: 24px 0 16px; }
.hero h1 { font-size: 2rem; margin-bottom: .3em; }
.jobcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.jobcard { color: var(--text); display: flex; flex-direction: column; gap: 4px; }
.jobcard:hover { border-color: var(--accent); text-decoration: none; }
.jobcard h2 { font-size: 1.1rem; margin: 0; }
.jobcard p { margin: 0; }
.jobcard--initiative { border-style: dashed; }
.salary { font-weight: 700; color: var(--ok); }
.grid--career { align-items: start; }
.status-card { max-width: 640px; margin: 24px auto; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 760px) {
  .kanban { grid-template-columns: repeat(6, 78vw); }
  .bars-list li { grid-template-columns: 1fr 1.2fr auto; }
  .paper { padding: 20px; }
}
.ico-plane { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M21 16v-2l-8-5V3.5a1.5 1.5 0 0 0-3 0V9l-8 5v2l8-2.5V19l-2 1.5V22l3.5-1 3.5 1v-1.5L13 19v-5.5z'/%3E%3C/svg%3E"); }
.ico-file { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M14 3H6a1 1 0 0 0-1 1v16a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V8z'/%3E%3Cpath d='M14 3v5h5M9 13h6M9 17h6'/%3E%3C/svg%3E"); }
.ico-book { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M4 4h6a2 2 0 0 1 2 2v14a2 2 0 0 0-2-2H4zM20 4h-6a2 2 0 0 0-2 2v14a2 2 0 0 1 2-2h6z'/%3E%3C/svg%3E"); }
.ico-org { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='9' y='3' width='6' height='5' rx='1'/%3E%3Crect x='3' y='16' width='6' height='5' rx='1'/%3E%3Crect x='15' y='16' width='6' height='5' rx='1'/%3E%3Cpath d='M12 8v4M6 16v-4h12v4'/%3E%3C/svg%3E"); }
.ico-search { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='10' cy='10' r='6'/%3E%3Cpath d='M15 15l5 5'/%3E%3C/svg%3E"); }
.ico-flag { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M5 21V4M5 4h12l-2 4 2 4H5'/%3E%3C/svg%3E"); }
.ico-laptop { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Crect x='4' y='5' width='16' height='11' rx='1'/%3E%3Cpath d='M2 19h20'/%3E%3C/svg%3E"); }
.ico-chart { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 20h16M7 16v-5M12 16V6M17 16v-8'/%3E%3C/svg%3E"); }
a.who { color: var(--text); border-radius: 8px; padding: 4px; margin: -4px; }
a.who:hover { background: var(--accent-soft); text-decoration: none; }
.codes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; font-family: ui-monospace, Menlo, Consolas, monospace; background: var(--input); padding: 12px; border-radius: 10px; border: 1px dashed var(--panel-border); }
.secret-key { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 1.05rem; letter-spacing: .08em; word-break: break-all; background: var(--input); padding: 8px 10px; border-radius: 8px; display: inline-block; }
.otp { font-size: 1.6rem; letter-spacing: .4em; text-align: center; font-family: ui-monospace, Menlo, Consolas, monospace; }
.login--single { grid-template-columns: minmax(300px, 420px); justify-content: center; }
.login--single h1 { font-size: 1.3rem; }
.setup-steps { padding-left: 20px; display: flex; flex-direction: column; gap: 12px; }

/* ===== Phase 3 ===== */
.ico-target { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Ccircle cx='12' cy='12' r='5'/%3E%3Ccircle cx='12' cy='12' r='1'/%3E%3C/svg%3E"); }
.ico-receipt { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M5 3h14v18l-3-2-2 2-2-2-2 2-2-2-3 2z'/%3E%3Cpath d='M9 8h6M9 12h6M9 16h3'/%3E%3C/svg%3E"); }
.goals { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.goal { border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.goal p { margin: 4px 0; }
.goal__form { margin-top: 8px; gap: 6px; }
.kr { font-size: .88rem; color: var(--text); }
.kr input { width: 80px; }
input[type="range"] { accent-color: var(--accent); padding: 0; min-height: 0; border: 0; background: none; }
.tag--review-preparation { background: color-mix(in srgb, var(--st-break) 18%, transparent); color: var(--warn); }
.tag--review-meeting { background: var(--accent-soft); color: var(--accent); }
.tag--review-completed, .tag--review-acknowledged { background: color-mix(in srgb, var(--ok) 15%, transparent); color: var(--ok); }
.review { margin: 16px 0; }
.review__head, .review__row { display: grid; grid-template-columns: 1fr 1.2fr 1.2fr; gap: 12px; }
.review__head { padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.review__row { padding: 10px 0; border-bottom: 1px solid var(--line); align-items: start; }
.review__q { margin: 0; font-weight: 600; }
.review__a p { margin: 0; }
.review__hidden { font-size: .85rem; font-style: italic; }
.oneonone { border-bottom: 1px solid var(--line); padding: 10px 0; }
.private { background: color-mix(in srgb, var(--st-break) 10%, transparent); border-radius: 8px; padding: 8px; font-size: .9rem; }
.kudos-feed { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.kudos-feed li { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 5%, transparent), transparent); }
.kudos-feed p { margin: 6px 0; }
.kudos__head { display: flex; gap: 8px; align-items: center; }
.chip.is-on { background: var(--accent-soft); border-color: var(--accent); }
@media (max-width: 760px) {
  .review__head { display: none; }
  .review__row { grid-template-columns: 1fr; }
  .review__a::before { content: attr(data-side); }
}
.perdiem { border-bottom: 1px solid var(--line); padding: 6px 0; }
.perdiem .row { gap: 6px; }
.perdiem label.check { font-size: .8rem; }
.tag--exp-draft { background: var(--line); color: var(--muted); }
.tag--exp-submitted { background: color-mix(in srgb, var(--st-break) 18%, transparent); color: var(--warn); }
.tag--exp-approved { background: var(--accent-soft); color: var(--accent); }
.tag--exp-paid { background: color-mix(in srgb, var(--ok) 15%, transparent); color: var(--ok); }
.tag--exp-rejected { background: color-mix(in srgb, var(--danger) 12%, transparent); color: var(--danger); }

/* Lange Navigation scrollt, Fußbereich bleibt sichtbar */
.sidebar nav { flex: 1 1 auto; min-height: 0; }
.sidebar__foot { flex: none; background: var(--sidebar); }
