/* JHA Team-Kalender – Tokens und Komponenten laut DESIGN.md */
:root {
  color-scheme: light dark;
  --bg: #F6F7F9; --surface: #FFFFFF; --surface-2: #F0F2F5; --surface-3: #E6E9EE;
  --text: #0E1116; --text-2: #4A5261; --text-3: #6B7382;
  --border: #E2E5EA; --border-strong: #CDD2DA;
  --accent: #5E6AD2; --accent-hover: #4F5BC4; --accent-text: #4C57C2; --accent-soft: rgba(94,106,210,.12);
  --ok: #15803D; --ok-soft: rgba(22,163,74,.12);
  --warn: #B45309; --warn-soft: rgba(217,119,6,.14);
  --bad: #B91C1C; --bad-soft: rgba(220,38,38,.10);
  --t-seminar: #DC2626; --t-seminar-soft: rgba(220,38,38,.10);
  --t-dreh: #0D9488; --t-dreh-soft: rgba(13,148,136,.12);
  --t-termin: #64748B; --t-termin-soft: rgba(100,116,139,.13);
  --k-schule: #64748B; --k-urlaub: #0284C7; --k-frei: #9CA3AF; --k-krank: #BE185D; --k-krank-soft: rgba(190,24,93,.12);
  --holiday: rgba(202,166,96,.16); --weekend: rgba(100,116,139,.07);
  --shadow-subtle: 0 1px 2px rgba(15,17,22,.08);
  --shadow-float: 0 12px 40px rgba(15,17,22,.18), 0 2px 6px rgba(15,17,22,.08);
  --inverse: #0E1116; --on-inverse: #F2F4F7;

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 20px; --s6: 24px; --s8: 32px; --s10: 40px; --s12: 48px;
  --r-sm: 6px; --r-md: 10px; --r-lg: 16px; --r-pill: 999px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
  --ease: cubic-bezier(.2,.8,.2,1);
  --tabbar-h: 60px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0E0F11; --surface: #16181C; --surface-2: #1D2025; --surface-3: #262A31;
    --text: #F2F4F7; --text-2: #B4BBC7; --text-3: #858D9B;
    --border: #272A30; --border-strong: #363B43;
    --accent: #5E6AD2; --accent-hover: #6F7AE0; --accent-text: #A3AAFF; --accent-soft: rgba(124,133,255,.16);
    --ok: #4ADE80; --ok-soft: rgba(74,222,128,.13);
    --warn: #FBBF24; --warn-soft: rgba(251,191,36,.13);
    --bad: #F87171; --bad-soft: rgba(248,113,113,.13);
    --t-seminar: #EF4444; --t-seminar-soft: rgba(239,68,68,.16);
    --t-dreh: #2DD4BF; --t-dreh-soft: rgba(45,212,191,.13);
    --t-termin: #94A3B8; --t-termin-soft: rgba(148,163,184,.14);
    --k-schule: #94A3B8; --k-urlaub: #38BDF8; --k-frei: #6B7280; --k-krank: #F472B6; --k-krank-soft: rgba(244,114,182,.15);
    --holiday: rgba(202,166,96,.10); --weekend: rgba(148,163,184,.05);
    --shadow-subtle: 0 1px 2px rgba(0,0,0,.4);
    --shadow-float: 0 16px 48px rgba(0,0,0,.5), 0 2px 6px rgba(0,0,0,.3);
    --inverse: #F2F4F7; --on-inverse: #0E1116;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 15px/1.45 var(--font); font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent;
}
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--accent-text); }
h1, h2, h3, p { margin: 0; }
svg.i { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ------------------------------------------------ Shell */
.shell { min-height: 100dvh; }
.sidebar { display: none; }
.main { padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom) + var(--s6)); }
.topbar {
  position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: var(--s2);
  padding: calc(var(--s3) + env(safe-area-inset-top)) var(--s4) var(--s3);
  background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent;
}
.topbar.scrolled { border-bottom-color: var(--border); }
.topbar h1 { font-size: 22px; font-weight: 650; letter-spacing: -.015em; line-height: 1.2; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.content { padding: var(--s2) var(--s4) var(--s6); max-width: 1080px; display: flex; flex-direction: column; gap: var(--s5); }
.content.wide { max-width: none; }

.tabbar {
  position: fixed; z-index: 10; left: 0; right: 0; bottom: 0; display: flex;
  padding: 0 var(--s2) env(safe-area-inset-bottom); height: calc(var(--tabbar-h) + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); border-top: 1px solid var(--border);
}
.tab {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  color: var(--text-3); text-decoration: none; font-size: 11px; font-weight: 600; border-radius: var(--r-sm);
  transition: color 120ms ease-out;
}
.tab svg.i { width: 22px; height: 22px; }
.tab[aria-current="page"] { color: var(--accent-text); }

@media (min-width: 900px) {
  .shell { display: grid; grid-template-columns: 240px minmax(0, 1fr); }
  .tabbar { display: none; }
  .main { padding-bottom: var(--s10); }
  .sidebar {
    display: flex; flex-direction: column; gap: var(--s1); position: sticky; top: 0; height: 100dvh;
    padding: var(--s5) var(--s3); border-right: 1px solid var(--border); background: var(--surface);
  }
  .topbar { padding: var(--s6) var(--s8) var(--s4); }
  .content { padding: var(--s2) var(--s8) var(--s8); }
}
.brand { display: flex; align-items: center; gap: var(--s3); padding: 0 var(--s2) var(--s5); }
.brand .brand-mark { width: 32px; height: 32px; border-radius: 9px; background: var(--accent); color: #fff; display: grid; place-items: center; flex: none; }
.brand .brand-mark svg.i { width: 18px; height: 18px; }
.brand b { display: block; font-size: 15px; font-weight: 650; letter-spacing: -.01em; }
.brand > span:not(.brand-mark) > span { display: block; font-size: 12px; color: var(--text-3); }
.nav-item {
  display: flex; align-items: center; gap: var(--s3); padding: var(--s2) var(--s3); border-radius: var(--r-sm);
  color: var(--text-2); text-decoration: none; font-weight: 510; transition: background-color 120ms ease-out, color 120ms ease-out;
}
.nav-item:hover { background: var(--surface-2); color: var(--text); }
.nav-item[aria-current="page"] { background: var(--accent-soft); color: var(--accent-text); }
.nav-item .count { margin-left: auto; font-size: 12px; font-weight: 600; color: var(--bad); background: var(--bad-soft); border-radius: var(--r-pill); padding: 0 var(--s2); }
.sidebar-foot { margin-top: auto; display: flex; align-items: center; gap: var(--s3); padding: var(--s3) var(--s2) 0; border-top: 1px solid var(--border); }
.sidebar-foot .who { flex: 1; min-width: 0; font-size: 13px; }
.sidebar-foot .who b { display: block; font-weight: 590; }
.sidebar-foot .who span { color: var(--text-3); }

/* ------------------------------------------------ Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2); min-height: 40px;
  padding: 0 var(--s4); border-radius: var(--r-sm); border: 1px solid var(--border-strong); background: var(--surface);
  font-weight: 590; font-size: 14px; white-space: nowrap; text-decoration: none; color: var(--text);
  transition: background-color 120ms ease-out, border-color 120ms ease-out, transform 120ms ease-out;
}
.btn:hover { background: var(--surface-2); }
.btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .5; pointer-events: none; }
.btn[aria-busy="true"] { opacity: .7; pointer-events: none; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn.ghost { background: transparent; border-color: transparent; color: var(--text-2); }
.btn.ghost:hover { background: var(--surface-2); color: var(--text); }
.btn.danger { color: var(--bad); }
.btn.danger:hover { background: var(--bad-soft); border-color: var(--bad); }
.btn.sm { min-height: 32px; padding: 0 var(--s3); font-size: 13px; }
.btn.block { width: 100%; }
.icon-btn {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r-sm); border: 0;
  background: transparent; color: var(--text-2); transition: background-color 120ms ease-out, transform 120ms ease-out; flex: none;
}
.icon-btn:hover { background: var(--surface-2); color: var(--text); }
.icon-btn:active { transform: scale(.94); }
.icon-btn.sm { width: 32px; height: 32px; }
.icon-btn.sm svg.i { width: 16px; height: 16px; }
.row-actions { display: flex; gap: var(--s2); flex-wrap: wrap; }

/* ------------------------------------------------ Chips, Segmented, Pills */
.chips { display: flex; flex-wrap: wrap; gap: var(--s2); }
.chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 var(--s3);
  border-radius: var(--r-pill); border: 1px solid var(--border-strong); background: var(--surface);
  font-size: 13px; font-weight: 510; color: var(--text-2); transition: background-color 120ms ease-out, color 120ms ease-out, border-color 120ms ease-out;
}
.chip:hover { border-color: var(--text-3); color: var(--text); }
.chip[aria-pressed="true"] { background: var(--accent-soft); border-color: transparent; color: var(--accent-text); }
.chip .dot { width: 8px; height: 8px; border-radius: 50%; }
.chip .warn-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--warn); }
.chip.day { flex-direction: column; gap: 0; min-width: 54px; min-height: 44px; border-radius: var(--r-sm); padding: var(--s1) var(--s2); line-height: 1.2; }
.chip.day small { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; opacity: .8; }
.chip.day[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.chip.day.conflict { border-style: dashed; border-color: var(--warn); }
.chip.day.conflict[aria-pressed="true"] { border: 2px dashed var(--warn); }

.segmented { display: inline-flex; padding: 3px; gap: 2px; background: var(--surface-3); border-radius: 9px; }
.segmented button {
  border: 0; background: transparent; padding: 0 var(--s3); min-height: 30px; border-radius: 7px;
  font-size: 13px; font-weight: 590; color: var(--text-2); transition: background-color 120ms ease-out, color 120ms ease-out;
}
.segmented button[aria-pressed="true"] { background: var(--surface); color: var(--text); box-shadow: var(--shadow-subtle); }

.pill {
  display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 var(--s2); border-radius: var(--r-pill);
  font-size: 12px; font-weight: 590; white-space: nowrap;
}
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill.ok { color: var(--ok); background: var(--ok-soft); }
.pill.partial { color: var(--warn); background: var(--warn-soft); }
.pill.open { color: var(--bad); background: var(--bad-soft); }
.pill.na { color: var(--text-3); background: var(--surface-2); }
.tag { display: inline-flex; align-items: center; height: 20px; padding: 0 6px; border-radius: 5px; font-size: 11px; font-weight: 600; background: var(--surface-2); color: var(--text-2); letter-spacing: .01em; }
.tag.warn { background: var(--warn-soft); color: var(--warn); }
.tag.accent { background: var(--accent-soft); color: var(--accent-text); }

.type-dot { width: 8px; height: 8px; border-radius: 2px; flex: none; display: inline-block; }
.type-dot.seminar { background: var(--t-seminar); }
.type-dot.dreh { background: var(--t-dreh); }
.type-dot.termin { background: var(--t-termin); }

/* ------------------------------------------------ Avatare */
.avatar {
  --size: 32px; width: var(--size); height: var(--size); border-radius: 50%; display: inline-grid; place-items: center; flex: none;
  font-size: calc(var(--size) * .4); font-weight: 650; letter-spacing: -.01em; background: var(--c); color: var(--on-c, #fff);
}
.avatar.xs { --size: 20px; font-size: 10px; }
.avatar.sm { --size: 24px; }
.avatar.lg { --size: 48px; }
.avatar.off { opacity: .35; }
.stack { display: inline-flex; }
.stack .avatar { box-shadow: 0 0 0 2px var(--surface); }
.stack .avatar + .avatar { margin-left: -6px; }
.person { display: inline-flex; align-items: center; gap: var(--s2); min-width: 0; }
.person b { font-weight: 590; }

/* ------------------------------------------------ Karten & Listen */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); }
.card-pad { padding: var(--s4); }
.section { display: flex; flex-direction: column; gap: var(--s3); }
.section-head { display: flex; align-items: center; gap: var(--s3); min-height: 32px; }
.section-head h2 { font-size: 17px; font-weight: 600; letter-spacing: -.01em; flex: 1; }
.overline { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.muted { color: var(--text-2); }
.faint { color: var(--text-3); }
.small { font-size: 13px; }
.list { display: flex; flex-direction: column; }
.list > * + * { border-top: 1px solid var(--border); }
.list-row { display: flex; align-items: center; gap: var(--s3); padding: var(--s3) var(--s4); min-height: 56px; }
.list-row .grow { flex: 1; min-width: 0; }
.list-row .title { font-weight: 590; }
.list-row .sub { font-size: 13px; color: var(--text-2); }

.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s3); }
.stat { padding: var(--s3) var(--s4); }
.stat b { display: block; font-size: 22px; font-weight: 650; letter-spacing: -.015em; line-height: 1.2; }
.stat span { font-size: 12px; color: var(--text-2); font-weight: 510; }
.stat.alert b { color: var(--bad); }

.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s3); }
.toolbar .spacer { flex: 1; }

/* Termin-Zeile */
.month-head { display: flex; align-items: baseline; gap: var(--s2); padding: var(--s2) var(--s1) 0; }
.month-head h3 { font-size: 13px; font-weight: 650; letter-spacing: .02em; text-transform: uppercase; color: var(--text-2); }
.month-head span { font-size: 12px; color: var(--text-3); }
.events { overflow: hidden; }
.ev {
  display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: var(--s3); align-items: center; width: 100%;
  padding: var(--s3) var(--s4); border: 0; background: transparent; text-align: left; transition: background-color 120ms ease-out;
}
.ev:hover { background: var(--surface-2); }
.ev.past { opacity: .55; }
.ev-date { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 48px; border-radius: 8px; background: var(--surface-2); line-height: 1.1; }
.ev-date b { font-size: 16px; font-weight: 650; letter-spacing: -.02em; }
.ev-date span { font-size: 11px; font-weight: 600; color: var(--text-3); text-transform: uppercase; letter-spacing: .04em; }
.ev-date.today { background: var(--accent-soft); color: var(--accent-text); }
.ev-main { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.ev-title { display: flex; align-items: center; gap: var(--s2); font-weight: 590; min-width: 0; }
.ev-title .t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ev-meta { font-size: 13px; color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ev-hint { font-size: 12px; color: var(--warn); font-weight: 510; display: flex; align-items: center; gap: 4px; }
.ev-hint svg.i { width: 13px; height: 13px; }
.ev-hint.mine { color: var(--accent-text); }
.ev-side { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
@media (max-width: 599px) {
  .ev { grid-template-columns: 48px minmax(0, 1fr); align-items: start; row-gap: var(--s2); }
  .ev-meta { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .ev-side { grid-column: 2; flex-direction: row-reverse; justify-content: flex-end; align-items: center; }
  .stats { gap: var(--s2); }
  .stat { padding: var(--s3); }
  .stat span { display: block; line-height: 1.3; }
}

/* Signatur: Besetzungs-Streifen */
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 2px; height: 6px; max-width: 220px; margin-top: 3px; }
.strip i { border-radius: var(--r-pill); background: var(--surface-3); }
.strip i.full { background: var(--ok); }
.strip i.part { background: var(--warn); }
.strip.na i { background: var(--surface-2); }
.section-head .strip { width: 96px; margin: 0; }

/* ------------------------------------------------ Formulare */
.form { display: flex; flex-direction: column; gap: var(--s4); }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > span { font-size: 13px; font-weight: 510; color: var(--text-2); }
.field small { font-size: 12px; color: var(--text-3); }
.input, .field input, .field select, .field textarea {
  width: 100%; min-height: 40px; padding: 0 var(--s3); border-radius: var(--r-sm); border: 1px solid var(--border-strong);
  background: var(--surface); font-size: 16px; transition: border-color 120ms ease-out, box-shadow 120ms ease-out;
}
.field textarea { padding: var(--s2) var(--s3); min-height: 88px; resize: vertical; line-height: 1.45; }
.field input:focus, .field select:focus, .field textarea:focus, .input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field input[disabled], .field select[disabled] { background: var(--surface-2); color: var(--text-3); }
.grid-2 { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: var(--s3); }
/* iPhone: Datums-/Uhrzeitfelder haben sonst eine feste Mindestbreite und ragen aus der Spalte */
.field input[type="date"], .field input[type="time"] {
  -webkit-appearance: none; appearance: none; display: block; min-width: 0; max-width: 100%; height: 40px; line-height: 38px; text-align: left;
}
.field input[type="date"]::-webkit-date-and-time-value, .field input[type="time"]::-webkit-date-and-time-value { text-align: left; margin: 0; }
.field input[type="date"], .field input[type="time"] { padding: 0 var(--s2) 0 var(--s3); }
.field input::-webkit-calendar-picker-indicator { margin: 0; padding: 0 0 0 2px; }
@media (max-width: 359px) { .grid-2 { grid-template-columns: minmax(0, 1fr); } }
.check { display: flex; align-items: center; gap: var(--s2); font-size: 14px; }
.check input { width: 18px; height: 18px; accent-color: var(--accent); }
.error { color: var(--bad); font-size: 13px; font-weight: 510; min-height: 1em; }
.error:empty { display: none; }
.swatches { display: flex; flex-wrap: wrap; gap: var(--s2); }
.swatch { width: 32px; height: 32px; border-radius: 50%; border: 0; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); display: grid; place-items: center; color: #fff; }
.swatch[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--c); }
.swatch svg.i { width: 16px; height: 16px; opacity: 0; }
.swatch[aria-pressed="true"] svg.i { opacity: 1; }

.callout { display: flex; gap: var(--s2); align-items: flex-start; padding: var(--s3); border-radius: var(--r-sm); font-size: 13px; line-height: 1.4; }
.callout svg.i { width: 16px; height: 16px; margin-top: 1px; }
.callout.warn { background: var(--warn-soft); color: var(--warn); }
.callout.info { background: var(--surface-2); color: var(--text-2); }
.callout.ok { background: var(--ok-soft); color: var(--ok); }
.callout b { font-weight: 650; }

.code { font: 13px/1.45 var(--mono); background: var(--surface-2); border-radius: var(--r-sm); padding: var(--s2) var(--s3); word-break: break-all; user-select: all; -webkit-user-select: all; }
.secret { font: 600 20px/1.3 var(--mono); letter-spacing: .02em; text-align: center; padding: var(--s4); background: var(--surface-2); border-radius: var(--r-md); user-select: all; -webkit-user-select: all; }

/* ------------------------------------------------ Sheet (dialog) */
dialog.sheet {
  border: 0; padding: 0; color: var(--text); background: var(--surface); box-shadow: var(--shadow-float);
  width: 100%; max-width: 100%; max-height: 92dvh; margin: auto 0 0; border-radius: var(--r-lg) var(--r-lg) 0 0;
  display: flex; flex-direction: column; overflow: hidden;
}
dialog.sheet:not([open]) { display: none; }
dialog.sheet::backdrop { background: rgba(8,9,12,.45); }
dialog.sheet[open] { animation: sheet-in 220ms var(--ease); }
@keyframes sheet-in { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (min-width: 640px) {
  dialog.sheet { width: 560px; max-width: calc(100% - 32px); max-height: 86dvh; margin: auto; border-radius: var(--r-lg); }
  @keyframes sheet-in { from { transform: translateY(8px) scale(.985); opacity: 0; } to { transform: none; opacity: 1; } }
}
.sheet-head { display: flex; align-items: flex-start; gap: var(--s3); padding: var(--s4) var(--s4) var(--s3) var(--s5); border-bottom: 1px solid var(--border); }
.sheet-head .grow { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; padding-top: 6px; }
.sheet-head h2 { font-size: 19px; font-weight: 650; letter-spacing: -.012em; line-height: 1.25; }
.sheet-body { padding: var(--s4) var(--s5) var(--s5); overflow-y: auto; display: flex; flex-direction: column; gap: var(--s5); overscroll-behavior: contain; }
.sheet-foot { display: flex; gap: var(--s2); justify-content: flex-end; padding: var(--s3) var(--s5) calc(var(--s3) + env(safe-area-inset-bottom)); border-top: 1px solid var(--border); flex-wrap: wrap; }
.sheet-foot .spacer { flex: 1; }

.meta-list { display: flex; flex-direction: column; gap: var(--s2); }
.meta-list div { display: flex; gap: var(--s3); align-items: flex-start; font-size: 14px; }
.meta-list svg.i { color: var(--text-3); margin-top: 1px; }
.notes { white-space: pre-wrap; font-size: 14px; color: var(--text-2); background: var(--surface-2); border-radius: var(--r-sm); padding: var(--s3); }

.day-table { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; }
.day-row { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: var(--s3); padding: var(--s2) var(--s3); align-items: center; font-size: 13px; }
.day-row + .day-row { border-top: 1px solid var(--border); }
.day-row .d { font-weight: 590; white-space: nowrap; display: flex; align-items: center; gap: 6px; }
.day-row .d i { width: 6px; height: 6px; border-radius: 50%; background: var(--surface-3); flex: none; }
.day-row .d i.full { background: var(--ok); }
.day-row .d i.part { background: var(--warn); }
.day-row .who { display: flex; flex-wrap: wrap; gap: 4px var(--s2); align-items: center; min-width: 0; }
.day-row .free { color: var(--text-3); }
.name-chip { display: inline-flex; align-items: center; gap: 5px; font-weight: 510; }
.name-chip .avatar { --size: 18px; font-size: 9px; }
.name-chip.off { color: var(--text-3); font-weight: 400; }
.name-chip.off .avatar { opacity: .4; }

.assignee { display: flex; gap: var(--s3); align-items: flex-start; padding: var(--s3) 0; }
.assignee + .assignee { border-top: 1px solid var(--border); }
.assignee .grow { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.assignee .sub { font-size: 13px; color: var(--text-2); }
.editor { display: flex; flex-direction: column; gap: var(--s3); padding: var(--s4); border-radius: var(--r-md); background: var(--surface-2); }
.editor .chip { background: var(--surface); }
.editor .input, .editor input { background: var(--surface); }

/* ------------------------------------------------ Monatskalender */
.cal-head { display: flex; align-items: center; gap: var(--s2); flex-wrap: wrap; }
.cal-head h2 { font-size: 17px; font-weight: 650; min-width: 150px; letter-spacing: -.01em; }
.legend { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s4); font-size: 12px; color: var(--text-2); font-weight: 510; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.month-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.month { min-width: 0; }
.swipe-hint { display: none; }
.wd-row { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-bottom: 1px solid var(--border); }
.wd-row div { padding: var(--s2) 0; text-align: center; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.week { --top-h: 34px; --lane-h: 26px; --bot-h: 16px; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); grid-auto-rows: min-content; position: relative; min-height: 116px; padding-bottom: var(--s2); }
.week + .week { border-top: 1px solid var(--border); }
.cell { grid-row: 1 / -1; border: 0; background: transparent; padding: 0; text-align: left; display: flex; flex-direction: column; align-items: stretch; min-width: 0; transition: background-color 120ms ease-out; }
.cell + .cell { border-left: 1px solid var(--border); }
.cell:hover { background: var(--surface-2); }
.cell.weekend { background: var(--weekend); }
.cell.holiday { background: var(--holiday); }
.cell.other { opacity: .45; }
.cell-top { display: flex; align-items: center; gap: 4px; padding: 6px 6px 0; min-height: 28px; }
.cell-num { font-size: 14px; font-weight: 590; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; flex: none; }
.cell.today .cell-num { background: var(--accent); color: #fff; }
.cell-hol { font-size: 10px; color: var(--text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.cell-dots { display: flex; flex-wrap: wrap; gap: 2px; padding: 2px 6px 0; margin-top: auto; padding-bottom: 2px; }
.cell-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--c); }
.bar {
  position: relative; z-index: 1; margin: 2px 3px 0; height: 24px; border: 0; border-radius: 6px; padding: 0 8px;
  display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 590; text-align: left; min-width: 0;
  overflow: hidden; white-space: nowrap; transition: filter 120ms ease-out;
}
.bar:hover { filter: brightness(.96); }
.bar .t { overflow: hidden; text-overflow: ellipsis; }
.bar.seminar { background: var(--t-seminar-soft); color: var(--t-seminar); }
.bar.dreh { background: var(--t-dreh-soft); color: var(--t-dreh); }
.bar.termin { background: var(--t-termin-soft); color: var(--t-termin); }
.bar.cont-l { border-top-left-radius: 0; border-bottom-left-radius: 0; margin-left: 0; }
.bar.cont-r { border-top-right-radius: 0; border-bottom-right-radius: 0; margin-right: 0; }
.bar .st { width: 6px; height: 6px; border-radius: 50%; flex: none; background: var(--surface-3); box-shadow: 0 0 0 1.5px currentColor inset; }
.bar .st.ok { background: var(--ok); box-shadow: none; }
.bar .st.partial { background: var(--warn); box-shadow: none; }
.bar .st.na { display: none; }
.bar.mine { box-shadow: inset 0 0 0 1.5px currentColor; }
@media (max-width: 639px) {
  /* auf dem Handy wird der Monat breiter als der Bildschirm und lässt sich seitlich wischen – dafür ist alles lesbar */
  .month { min-width: 620px; }
  .swipe-hint { display: block; margin-top: calc(-1 * var(--s3)); }
  .week { min-height: 96px; --top-h: 30px; --lane-h: 24px; --bot-h: 12px; }
  .bar { height: 22px; font-size: 11.5px; padding: 0 6px; }
}

/* ------------------------------------------------ Team-Matrix */
.matrix-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); }
.matrix { --name-w: 120px; --day-min: 27px; border-collapse: separate; border-spacing: 0; font-size: 12px; width: 100%; table-layout: fixed;
  min-width: calc(var(--name-w) + var(--days, 31) * var(--day-min)); }
.matrix col.c-name { width: var(--name-w); }
.matrix th, .matrix td { padding: 0; height: 42px; text-align: center; border-bottom: 1px solid var(--border); }
@media (max-width: 639px) { .matrix { --name-w: 96px; --day-min: 32px; } .matrix th, .matrix td { height: 38px; } }
.matrix thead th { height: 44px; font-weight: 510; color: var(--text-3); position: sticky; top: 0; background: var(--surface); }
.matrix thead th b { display: block; font-size: 13px; color: var(--text); font-weight: 590; }
.matrix .we { background: var(--weekend); }
.matrix .hol { background: var(--holiday); }
.matrix .today b { color: var(--accent-text); }
.matrix .name {
  position: sticky; left: 0; z-index: 2; background: var(--surface); text-align: left; padding: 0 var(--s3);
  border-right: 1px solid var(--border); white-space: nowrap; font-weight: 510; overflow: hidden; text-overflow: ellipsis;
}
.matrix thead .name { z-index: 3; }
.matrix tr:last-child td, .matrix tr:last-child th { border-bottom: 0; }
.matrix .lane td { height: 28px; }
.mbar { display: block; margin: 0 1px; height: 22px; border: 0; border-radius: 5px; padding: 0 6px; font-size: 11px; font-weight: 590; text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; width: 0; min-width: calc(100% - 2px); }
.mbar.seminar { background: var(--t-seminar-soft); color: var(--t-seminar); }
.mbar.dreh { background: var(--t-dreh-soft); color: var(--t-dreh); }
.mbar.termin { background: var(--t-termin-soft); color: var(--t-termin); }
.mcell { width: min(calc(100% - 4px), 30px); height: 28px; margin: 0 auto; border: 0; border-radius: 6px; display: grid; place-items: center; font-size: 11px; font-weight: 700; background: transparent; color: var(--text-3); padding: 0; }
.mcell.free:hover { background: var(--surface-2); }
.mcell.seminar { background: var(--t-seminar); color: #fff; }
.mcell.dreh { background: var(--t-dreh); color: #fff; }
.mcell.termin { background: var(--t-termin); color: #fff; }
.mcell.schule { background: repeating-linear-gradient(135deg, var(--t-termin-soft) 0 3px, transparent 3px 6px), var(--surface-2); color: var(--k-schule); box-shadow: inset 0 0 0 1px var(--border-strong); }
.mcell.urlaub { background: var(--k-urlaub); color: #fff; }
.mcell.krank { background: var(--k-krank); color: #fff; }
.mcell.verhindert { background: repeating-linear-gradient(135deg, var(--t-termin-soft) 0 3px, transparent 3px 6px), var(--surface-2); color: var(--k-schule); box-shadow: inset 0 0 0 1px var(--border-strong); opacity: .85; }
.mcell.frei, .mcell.sonstiges { background: var(--k-frei); color: #fff; }
.mcell.conflict { box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--bad); }

/* ------------------------------------------------ Login, Leerzustand, Toast */
.center { min-height: 100dvh; display: grid; place-items: center; padding: var(--s6) var(--s4); }
.login { width: 100%; max-width: 380px; display: flex; flex-direction: column; gap: var(--s6); }
.login .brand { padding: 0; justify-content: center; flex-direction: column; text-align: center; gap: var(--s3); }
.login .brand .brand-mark { width: 52px; height: 52px; border-radius: 14px; }
.login .brand .brand-mark svg.i { width: 26px; height: 26px; }
.login .brand b { font-size: 22px; }
.login .brand > span:not(.brand-mark) > span { font-size: 14px; }
.login .card { padding: var(--s6); }

.empty { display: flex; flex-direction: column; align-items: center; gap: var(--s3); text-align: center; padding: var(--s10) var(--s4); color: var(--text-2); }
.empty .ico { width: 48px; height: 48px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; color: var(--text-3); }
.empty .ico svg.i { width: 22px; height: 22px; }

#toast {
  position: fixed; z-index: 100; left: 50%; bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom) + var(--s4));
  transform: translate(-50%, 12px); opacity: 0; pointer-events: none; max-width: calc(100% - 32px);
  background: var(--inverse); color: var(--on-inverse); padding: var(--s3) var(--s4); border-radius: var(--r-md);
  font-size: 14px; font-weight: 510; box-shadow: var(--shadow-float); transition: opacity 220ms var(--ease), transform 220ms var(--ease);
}
#toast.show { opacity: 1; transform: translate(-50%, 0); }
#toast.bad { background: var(--bad); color: #fff; }
@media (min-width: 900px) { #toast { bottom: var(--s6); } }

.loading { display: grid; place-items: center; min-height: 60dvh; color: var(--text-3); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ------------------------------------------------ Assistent-Knopf */
.fab {
  position: fixed; z-index: 9; right: var(--s4); bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom) + var(--s4));
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2); width: 56px; height: 56px; padding: 0;
  border: 0; border-radius: var(--r-pill); background: var(--accent); color: #fff; box-shadow: var(--shadow-float);
  font-weight: 650; font-size: 15px; transition: transform 120ms ease-out, background-color 120ms ease-out;
}
.fab:hover { background: var(--accent-hover); }
.fab:active { transform: scale(.95); }
.fab svg.i { width: 24px; height: 24px; }
.fab span { display: none; }
.main { padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom) + 88px); }
@media (min-width: 900px) {
  .fab { right: var(--s8); bottom: var(--s8); width: auto; height: 48px; padding: 0 var(--s5) 0 var(--s4); }
  .fab svg.i { width: 20px; height: 20px; }
  .fab span { display: inline; }
  .main { padding-bottom: 96px; }
}

/* ------------------------------------------------ Assistent-Chat */
.chat-intro { display: flex; flex-direction: column; gap: var(--s3); }
.chat-intro .chip { text-align: left; }
.chat { display: flex; flex-direction: column; gap: var(--s3); }
.chat:empty { display: none; }
.msg { max-width: 88%; padding: var(--s3) var(--s4); border-radius: 14px; font-size: 15px; line-height: 1.45; display: flex; flex-direction: column; gap: var(--s3); }
.msg p { white-space: pre-line; }
.msg.user { align-self: flex-end; background: var(--accent); color: #fff; border-bottom-right-radius: 4px; }
.msg.bot { align-self: flex-start; background: var(--surface-2); border-bottom-left-radius: 4px; }
.msg.typing { flex-direction: row; gap: 5px; padding: var(--s4); }
.msg.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--text-3); animation: dot 1s infinite ease-in-out; }
.msg.typing i:nth-child(2) { animation-delay: .15s; }
.msg.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.plan { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); padding: var(--s3); display: flex; flex-direction: column; gap: var(--s3); }
.plan ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--s2); font-size: 14px; }
.plan li { display: flex; gap: var(--s2); align-items: flex-start; }
.plan li svg.i { width: 16px; height: 16px; margin-top: 2px; color: var(--ok); }
.plan .hints li { color: var(--warn); font-size: 13px; }
.plan .hints li svg.i { color: var(--warn); }
.plan-state { font-size: 13px; font-weight: 590; color: var(--text-3); display: flex; align-items: center; gap: 6px; }
.plan-state.ok { color: var(--ok); }
.plan-state svg.i { width: 15px; height: 15px; }
.chat-form { display: flex; gap: var(--s2); width: 100%; }
.chat-form .input { flex: 1; min-width: 0; }
.chat-form .btn { width: 44px; padding: 0; flex: none; }

/* ------------------------------------------------ Offline & App installieren */
.offline-bar { display: flex; align-items: center; gap: var(--s2); margin: 0 var(--s4) var(--s2); padding: var(--s2) var(--s3); border-radius: var(--r-sm);
  background: var(--warn-soft); color: var(--warn); font-size: 13px; font-weight: 510; }
.offline-bar svg.i { width: 16px; height: 16px; }
@media (min-width: 900px) { .offline-bar { margin: 0 var(--s8) var(--s2); } }
.install { display: flex; align-items: center; gap: var(--s3); padding: var(--s3) var(--s4); border-radius: var(--r-md);
  background: var(--accent-soft); color: var(--text); font-size: 14px; line-height: 1.45; }
.install > svg.i { width: 22px; height: 22px; color: var(--accent-text); flex: none; }
.install span { flex: 1; min-width: 0; }
.install span svg.i { width: 15px; height: 15px; vertical-align: -2px; color: var(--accent-text); }
.install .btn { flex: none; }

/* ------------------------------------------------ Handy: kein Zoom, keine Rahmen beim Antippen */
html, body { touch-action: pan-x pan-y; }
:focus:not(:focus-visible) { outline: none; }
@media (hover: none) {
  .input, .field input, .field select, .field textarea { font-size: 16px; } /* iOS zoomt sonst beim Tippen */
  .bar:hover { filter: none; }
  .cell:hover { background: transparent; }
  .cell.weekend:hover { background: var(--weekend); }
  .cell.holiday:hover { background: var(--holiday); }
  *:focus:not(input):not(textarea):not(select) { outline: none; box-shadow: none; }
  .bar.mine:focus { box-shadow: inset 0 0 0 1.5px currentColor; }
}
.avatar { overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-pick { cursor: pointer; }
.link { color: var(--accent-text); background: none; border: 0; padding: 0; cursor: pointer; font: inherit; }
.crop { position: relative; margin: 0 auto; flex: none; overflow: hidden; border-radius: var(--r-md); background: #000; touch-action: none; cursor: grab; user-select: none; -webkit-user-select: none; }
.crop img { position: absolute; left: 0; top: 0; max-width: none; transform-origin: 0 0; pointer-events: none; }
.crop-ring { position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 999px rgba(0,0,0,.55); border: 2px solid rgba(255,255,255,.85); pointer-events: none; }

/* ------------------------------------------------ Mitteilungen & Pausen */
.vstack { display: flex; flex-direction: column; gap: var(--s4); }
.vstack-sm { display: flex; flex-direction: column; gap: var(--s2); }
.bell { position: relative; }
.bell .badge {
  position: absolute; top: 4px; right: 3px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: var(--r-pill);
  background: var(--bad); color: #fff; font-size: 10.5px; font-weight: 700; line-height: 17px; text-align: center;
  box-shadow: 0 0 0 2px var(--bg); font-variant-numeric: tabular-nums;
}
.notif { width: 100%; border: 0; background: transparent; text-align: left; align-items: flex-start; font: inherit; color: inherit; cursor: pointer; transition: background-color 120ms ease-out; }
.notif:hover { background: var(--surface-2); }
.notif .grow { display: flex; flex-direction: column; gap: 2px; }
.notif .when { flex: none; padding-top: 2px; }
.notif.unread { background: var(--accent-soft); }
.notif.unread .title::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-right: 6px; vertical-align: 2px; }
.notif-ic { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--surface-2); color: var(--text-2); }
.notif-ic svg.i { width: 16px; height: 16px; }
.notif-ic.pause { background: var(--warn-soft); color: var(--warn); }
.notif-ic.einteilung { background: var(--ok-soft); color: var(--ok); }
.notif-ic.termin { background: var(--t-dreh-soft); color: var(--t-dreh); }

.pause-bar { display: flex; align-items: center; gap: var(--s3); padding: var(--s3) var(--s4); border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--border); }
.pause-bar > svg.i { width: 22px; height: 22px; color: var(--text-2); flex: none; }
.pause-bar .grow { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.pause-bar .grow b { font-weight: 590; }
.pause-bar .grow > span { font-size: 13px; color: var(--text-2); }
.lock-tip { display: flex; align-items: center; gap: var(--s3); width: 100%; text-align: left; font: inherit; color: inherit; cursor: pointer; transition: background-color 120ms ease-out; }
.lock-tip:hover { background: var(--surface-2); }
.lock-tip > svg.i { width: 20px; height: 20px; color: var(--accent-text); flex: none; }
.lock-tip .grow { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.lock-tip .grow b { font-weight: 590; }
.lock-tip .grow span { font-size: 13px; color: var(--text-2); }
.steps { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: var(--s3); font-size: 14px; line-height: 1.5; }
.steps li::marker { color: var(--accent-text); font-weight: 650; }
.steps b { font-weight: 650; }
.setup-step { display: flex; gap: var(--s3); align-items: flex-start; }
.setup-step .num { width: 28px; height: 28px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-text); font-weight: 650; font-size: 14px; }
.setup-step .grow { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: var(--s2); align-items: flex-start; }
.setup-step b { font-weight: 650; }
.setup-step p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--text-2); }
.setup-step p b { color: var(--text); font-weight: 600; }
.help summary { cursor: pointer; font-size: 14px; font-weight: 590; color: var(--accent-text); }
.help[open] { display: flex; flex-direction: column; gap: var(--s2); }
.reload.spin svg.i { animation: spin 700ms linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .reload.spin svg.i { animation: none; opacity: .5; } }
.pause-giant {
  display: flex; align-items: center; justify-content: center; gap: var(--s4); width: 100%; min-height: 96px; padding: var(--s4) var(--s5);
  border: 0; border-radius: 14px; background: var(--accent); color: #fff; font: inherit; text-align: left; cursor: pointer;
  box-shadow: 0 6px 18px rgba(94,106,210,.25); transition: transform 120ms ease-out, background-color 120ms ease-out;
}
.pause-giant:hover { background: var(--accent-hover); }
.pause-giant:active { transform: scale(.98); }
.pause-giant[aria-busy="true"] { opacity: .75; pointer-events: none; }
.pause-giant svg.i { width: 34px; height: 34px; flex: none; }
.pause-giant span { display: flex; flex-direction: column; gap: 2px; }
.pause-giant b { font-size: 22px; font-weight: 700; letter-spacing: -.015em; line-height: 1.2; }
.pause-giant small { font-size: 14px; opacity: .85; }
.pause-giant.done { background: var(--ok-soft); color: var(--ok); box-shadow: none; }

/* ------------------------------------------------ Start, Kalender-Umschalter, Profil oben rechts */
.segmented a { display: inline-flex; align-items: center; padding: 0 var(--s4); min-height: 30px; border-radius: 7px; font-size: 13px; font-weight: 590; color: var(--text-2); text-decoration: none; transition: background-color 120ms ease-out, color 120ms ease-out; }
.segmented a[aria-current="page"] { background: var(--surface); color: var(--text); box-shadow: var(--shadow-subtle); }
.cal-switch { align-self: flex-start; }
.me-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; flex: none; text-decoration: none; }
.me-btn .avatar { --size: 30px; box-shadow: 0 0 0 2px var(--bg); }
.me-btn[aria-current="page"] .avatar { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--accent); }
.me-link { display: inline-flex; text-decoration: none; }
.quick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3); }
.quick-btn { display: flex; align-items: center; gap: var(--s3); padding: var(--s3) var(--s4); min-height: 64px; border-radius: var(--r-md); border: 1px solid var(--border); background: var(--surface); color: var(--text); font: inherit; text-align: left; cursor: pointer; transition: background-color 120ms ease-out, transform 120ms ease-out; }
.quick-btn:hover { background: var(--surface-2); }
.quick-btn:active { transform: scale(.98); }
.quick-btn > svg.i { width: 22px; height: 22px; flex: none; color: var(--k-urlaub); }
.quick-btn.krank > svg.i { color: var(--k-krank); }
.quick-btn span { display: flex; flex-direction: column; min-width: 0; }
.quick-btn b { font-weight: 590; font-size: 14px; line-height: 1.3; }
.quick-btn small { font-size: 12px; color: var(--text-3); }
.tag.krank { background: var(--k-krank-soft); color: var(--k-krank); }
.notif-ic.krank { background: var(--k-krank-soft); color: var(--k-krank); }
.link-row { color: inherit; text-decoration: none; transition: background-color 120ms ease-out; }
.link-row:hover { background: var(--surface-2); }
.link-row > svg.i { width: 18px; height: 18px; color: var(--text-3); flex: none; }
@media (hover: none) { .quick-btn:hover, .link-row:hover { background: var(--surface); } }

/* kein Gummiband-Überscrollen oben/unten (auch nicht beim Runterziehen) */
html, body { overscroll-behavior-y: none; }

.undo-btn { align-self: center; margin-top: calc(-1 * var(--s2)); }
.undo-count { font-variant-numeric: tabular-nums; color: var(--text-3); font-weight: 510; }
.person-filter .chip { gap: 6px; }
.person-filter .avatar.xs { box-shadow: none; }
