/* Netzportal – handwritten stylesheet, no build step. */

/* ---------- Fonts (served locally, SIL OFL) ---------- */
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/ibm-plex-sans-400.77bc02670657.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/ibm-plex-sans-500.f7016cd446d2.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/ibm-plex-sans-600.196e3cbc5fee.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/ibm-plex-sans-700.c277d7b83f8a.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/ibm-plex-mono-500.b1c8a895f5fd.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/ibm-plex-mono-600.5a2ce7798732.woff2") format("woff2"); }

:root {
  --bg: #F4F5F7;          /* Seitenhintergrund */
  --surface: #FFFFFF;     /* Karten */
  --border: #E1E4E8;      /* Kartenrand */
  --divider: #EEF0F2;     /* Trennlinien in Listen */
  --input-border: #D5DAE0;
  --text: #14181F;
  --text-2: #3B4452;      /* Sekundärtext */
  --muted: #5B6573;       /* Labels, Metadaten */
  --accent: #0F766E;      /* Primärbuttons, aktive Navigation */
  --accent-ink: #0F5F58;  /* Links, aktive Tabs */
  --accent-soft: #E3F1EF; /* Hervorhebungen, interne Info-Flächen */
  --sidebar: #12161C;
  --sidebar-hover: #1E242D;
  --sidebar-text: #B8C1CC;
  --sidebar-muted: #8C96A3;
  --badge: #B45309;
  --ok-bg: #E6F4EA;   --ok: #14612F;
  --warn-bg: #FDF0DC; --warn: #8A4A06;
  --bad-bg: #FBE5E5;  --bad: #9B1C1C;
  --neutral-bg: #EEF0F2; --neutral: #3B4452;
  --radius-card: 12px;
  --radius-control: 8px;

  --font: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --focus: 0 0 0 3px rgba(15, 118, 110, .35);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
}
h1, h2, h3, p { margin: 0; }
a { color: var(--accent-ink); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { flex-shrink: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.mono { font-family: var(--mono); font-weight: 500; }
.muted { color: var(--muted); }
.text-2 { color: var(--text-2); }
.small { font-size: 13px; }
.nowrap { white-space: nowrap; }
.break { overflow-wrap: anywhere; }
.prewrap { white-space: pre-wrap; overflow-wrap: anywhere; }
.mt-sm { margin-top: 10px; }
.stack-sm { display: grid; gap: 8px; }
.stack { display: grid; gap: 16px; }
.text-bad { color: var(--bad); }
[hidden] { display: none !important; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 10;
  background: var(--surface); color: var(--accent-ink); padding: 8px 12px;
  border-radius: var(--radius-control); border: 1px solid var(--border); font-weight: 600;
}
.skip-link:focus { top: 12px; }
.label {
  font-size: 12px; font-weight: 600; text-transform: uppercase;
  letter-spacing: .06em; color: var(--muted);
}

/* ---------- Layout ---------- */
.layout { display: flex; flex-wrap: wrap; min-height: 100vh; }
.sidebar {
  flex: 0 0 240px; width: 240px;
  background: var(--sidebar); color: var(--sidebar-text);
  display: flex; flex-direction: column;
  padding: 18px 14px;
  /* Desktop: stays in view so the user block with "Abmelden" is always visible */
  position: sticky; top: 0; height: 100vh; align-self: flex-start;
}
.main {
  flex: 1 1 0; min-width: 0;
  padding: 28px 32px 48px;
  max-width: 1440px;
}
.main:focus { outline: none; }

/* Brand */
.brand {
  display: flex; align-items: center; gap: 10px;
  padding: 4px 6px 18px; color: #fff; text-decoration: none;
}
.brand:hover { text-decoration: none; }
.logo {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 9px;
  background: var(--accent); color: #fff;
}
.logo-lg { width: 44px; height: 44px; border-radius: 11px; }
.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-name { font-weight: 700; font-size: 15px; color: #fff; line-height: 1.2; }
.brand-company { font-size: 12px; color: var(--sidebar-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Navigation */
.nav { flex: 1; min-height: 0; overflow-y: auto; scrollbar-width: thin; }
.nav-section {
  margin: 18px 10px 6px;
  font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--sidebar-muted);
}
.nav-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.nav-link {
  display: flex; align-items: center; gap: 10px;
  min-height: 40px; padding: 8px 10px;
  border-radius: var(--radius-control);
  color: var(--sidebar-text); font-weight: 500;
}
.nav-link:hover { background: var(--sidebar-hover); color: #fff; text-decoration: none; }
.nav-link.is-active { background: var(--accent); color: #fff; }
.nav-link .icon { opacity: .9; }
.nav-label { flex: 1; }
.nav-badge {
  min-width: 22px; height: 20px; padding: 0 7px;
  border-radius: 999px; background: var(--badge); color: #fff;
  font-size: 12px; font-weight: 600; line-height: 20px; text-align: center;
}
.nav-link:focus-visible { outline-color: #fff; }

/* Sidebar user */
.sidebar-user {
  display: flex; align-items: center; gap: 10px;
  margin-top: 18px; padding: 14px 6px 0;
  border-top: 1px solid var(--sidebar-hover);
}
.sidebar-user-text { flex: 1; min-width: 0; }
.sidebar-user-name { color: #fff; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sidebar-user-role { font-size: 12px; color: var(--sidebar-muted); }
.logout-form { margin: 0; }
.logout-link {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 40px; padding: 6px 8px;
  border: 0; background: none; border-radius: var(--radius-control);
  color: var(--sidebar-text); font-size: 13px; font-weight: 500; cursor: pointer;
}
.logout-link:hover { background: var(--sidebar-hover); color: #fff; }
.logout-link:focus-visible { outline-color: #fff; }

/* Avatar */
.avatar {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent-ink);
  font-size: 13px; font-weight: 600; letter-spacing: .02em;
}
.sidebar .avatar { background: var(--sidebar-hover); color: #fff; }

/* Page header */
.page-header {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 16px; margin-bottom: 22px;
}
.page-heading { min-width: 0; }
.page-header h1 { font-size: 26px; font-weight: 700; line-height: 1.25; overflow-wrap: anywhere; }
.page-subtitle { margin-top: 4px; color: var(--muted); }
.page-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.heading-number { color: var(--muted); font-weight: 600; }
.back-link {
  display: inline-flex; align-items: center; gap: 6px; margin-bottom: 8px;
  color: var(--muted); font-weight: 600; font-size: 13px;
}
.chips-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.section-title { font-size: 17px; font-weight: 600; margin: 26px 0 12px; }

/* ---------- Cards ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 20px;
}
.card + .card { margin-top: 16px; }
.card-flush { padding: 0; overflow: hidden; }
.card-title { font-size: 17px; font-weight: 600; margin-bottom: 14px; }
.card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.card-head .card-title { margin-bottom: 0; }
.card-link { font-weight: 600; font-size: 13px; }
.card-footer { padding: 12px 20px; border-top: 1px solid var(--divider); }
.card-footer:empty { display: none; }
a.card { color: inherit; display: block; }
a.card:hover { text-decoration: none; border-color: var(--input-border); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.stats .card + .card { margin-top: 0; }
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-value { font-size: 32px; font-weight: 700; line-height: 1.15; }
.stat-note { font-size: 13px; color: var(--muted); }

/* Site cards */
.site-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.site-grid .card + .card { margin-top: 0; }
.site-card-head { display: flex; align-items: center; gap: 8px; }
.site-icon { color: var(--accent); display: inline-flex; }
.site-name { font-weight: 600; font-size: 15px; flex: 1; }
.site-count { margin-top: 10px; color: var(--muted); }
.site-count-value { font-size: 26px; font-weight: 700; color: var(--text); margin-right: 4px; }
.site-card-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; min-height: 24px; align-items: center; }

.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; margin-top: 26px; }
.two-col .card + .card { margin-top: 0; }

/* Ticket mini list + activity */
.ticket-list, .activity { list-style: none; margin: 0; padding: 0; }
.ticket-list li, .activity li { padding: 10px 0; border-top: 1px solid var(--divider); }
.ticket-list li:first-child, .activity li:first-child { border-top: 0; padding-top: 0; }
.ticket-list-link { display: flex; gap: 8px; color: var(--text); }
.ticket-list-subject { font-weight: 600; }
.ticket-list-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 6px; }
.activity li { display: flex; gap: 10px; }
.activity-icon {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 26px; height: 26px; border-radius: 50%; background: var(--neutral-bg); color: var(--muted);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 40px; padding: 8px 16px;
  border-radius: var(--radius-control); border: 1px solid transparent;
  font-size: 14px; font-weight: 600; line-height: 1.2;
  cursor: pointer; text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn:focus-visible { outline: none; box-shadow: var(--focus); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-ink); }
.btn-secondary { background: var(--surface); color: var(--text); border-color: var(--input-border); }
.btn-secondary:hover { background: var(--bg); }
.btn-danger { color: var(--bad); }
.btn-block { width: 100%; }
.btn-sm { min-height: 34px; padding: 6px 12px; font-size: 13px; }
.btn.is-disabled { opacity: .5; cursor: default; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 16px; }
.form-compact { gap: 12px; }
.form-card { max-width: 860px; }
.form-card-narrow { max-width: 560px; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.field { display: grid; gap: 6px; align-content: start; }
.field > label, .field-label { font-size: 13px; font-weight: 600; color: var(--text); }
.optional { font-weight: 400; color: var(--muted); }
.field input[type=text], .field input[type=search], .field input[type=password], .field input[type=email],
.field input[type=number], .field input[type=date], .field select, .field textarea {
  width: 100%; min-height: 42px; padding: 9px 12px;
  border: 1px solid var(--input-border); border-radius: var(--radius-control);
  background: var(--surface); color: var(--text);
}
.field textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235B6573' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
}
.field input[type=file] {
  width: 100%; padding: 10px; border: 1px dashed var(--input-border);
  border-radius: var(--radius-control); background: var(--bg);
}
.field input:focus, .field select:focus, .field textarea:focus, .field input[type=file]:focus-visible {
  outline: none; border-color: var(--accent); box-shadow: var(--focus);
}
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--bad); }
.field-error { color: var(--bad); font-size: 13px; font-weight: 500; }
.help { color: var(--muted); font-size: 13px; }
.help-upload { margin-top: -10px; }
.field-check { display: flex; align-items: center; gap: 8px; }
.field-check input { width: 18px; height: 18px; accent-color: var(--accent); margin: 0; }
.field-check label { font-weight: 500; }
.field-check { flex-wrap: wrap; }
.field-check .help, .field-check .field-error { flex-basis: 100%; margin: 0 0 0 26px; }
.fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; }
.fieldset legend { padding: 0; margin-bottom: 10px; }
.card-actions { margin-top: 18px; }

/* Filters */
.filter-card { padding: 16px 20px; margin-bottom: 16px; }
.filters { display: flex; flex-wrap: wrap; gap: 12px 14px; align-items: flex-end; }
.filters .field { flex: 1 1 160px; }
.filters .field-search { flex: 2 1 240px; }
.filters .field-inline { flex: 0 0 auto; min-height: 42px; }
.filter-actions { display: flex; gap: 8px; }

/* Segmented control (public reply / internal note) */
.segmented {
  display: inline-flex; flex-wrap: wrap; margin: 0; padding: 3px; gap: 3px;
  border: 1px solid var(--input-border); border-radius: var(--radius-control); background: var(--bg);
  justify-self: start;
}
.segmented-option {
  position: relative; display: inline-flex; align-items: center;
  min-height: 34px; padding: 6px 14px; border-radius: 6px;
  font-weight: 600; color: var(--muted); cursor: pointer;
}
.segmented-option input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.segmented-option:has(input:checked) { background: var(--surface); color: var(--text); box-shadow: 0 0 0 1px var(--border); }
.segmented-option:has(input:focus-visible) { box-shadow: var(--focus); }
.internal-hint { display: flex; align-items: center; gap: 6px; color: var(--warn); }
.reply-card.is-internal-mode textarea { background: var(--warn-bg); }

/* ---------- Alerts ---------- */
.alerts { display: grid; gap: 10px; margin-bottom: 18px; }
.alert {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px 14px; border-radius: var(--radius-control);
  background: var(--accent-soft); color: var(--accent-ink); font-weight: 500;
}
.alert .icon { margin-top: 1px; }
.alert-success { background: var(--ok-bg); color: var(--ok); }
.alert-error { background: var(--bad-bg); color: var(--bad); }
.alert-warning { background: var(--warn-bg); color: var(--warn); }

/* ---------- Chips ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 2px 10px 2px 8px; border-radius: 999px;
  font-size: 12px; font-weight: 600; line-height: 20px; white-space: nowrap;
  background: var(--neutral-bg); color: var(--neutral);
}
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.chip-ok { background: var(--ok-bg); color: var(--ok); }
.chip-warn { background: var(--warn-bg); color: var(--warn); }
.chip-bad { background: var(--bad-bg); color: var(--bad); }
.chip-neutral { background: var(--neutral-bg); color: var(--neutral); }
.chip-accent { background: var(--accent-soft); color: var(--accent-ink); }
.chip-muted { background: var(--bg); color: var(--muted); }

/* ---------- Tabs ---------- */
.tabs {
  display: flex; gap: 22px; padding: 0 20px;
  border-bottom: 1px solid var(--divider);
  overflow-x: auto; scrollbar-width: thin;
}
.tab {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 14px 0 12px; margin-bottom: -1px;
  border-bottom: 2px solid transparent;
  font-size: 14px; font-weight: 600; color: var(--muted); white-space: nowrap;
}
.tab:hover { color: var(--text); text-decoration: none; }
.tab.is-active { color: var(--accent-ink); border-bottom-color: var(--accent); }
.tab-count { font-weight: 500; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th {
  text-align: left; font-size: 12px; font-weight: 600; color: var(--muted);
  padding: 12px 14px; border-bottom: 1px solid var(--divider); white-space: nowrap;
}
.table td { padding: 12px 14px; border-bottom: 1px solid var(--divider); vertical-align: top; }
.table th:first-child, .table td:first-child { padding-left: 20px; }
.table th:last-child, .table td:last-child { padding-right: 20px; }
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: #FAFBFC; }
.table tr.is-inactive td { color: var(--muted); }
.cell-subject { min-width: 220px; }
.row-link { color: var(--text); font-weight: 600; }
.row-link:hover { text-decoration: underline; }
.cell-meta { font-size: 12px; color: var(--muted); margin-top: 2px; }
.sort-link { color: inherit; }
.sort-link:hover { color: var(--text); }
.col-actions { text-align: right; width: 1%; }
.row-actions { display: flex; gap: 8px; justify-content: flex-end; }
.row-actions form { margin: 0; }
.audit-action { display: inline-flex; align-items: center; gap: 6px; }
.audit-details { font-size: 13px; color: var(--text-2); min-width: 180px; }

.pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.pagination-info { color: var(--muted); font-size: 13px; }

/* Empty states */
.empty { padding: 40px 20px; text-align: center; color: var(--muted); display: grid; justify-items: center; gap: 6px; }
.empty-sm { padding: 18px 0; }
.empty .icon { color: var(--accent); }
.empty-title { color: var(--text); font-weight: 600; font-size: 15px; }

/* ---------- Ticket detail ---------- */
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; }
.detail-side .card + .card, .detail-side .card { margin-top: 0; }
.detail-side { display: grid; gap: 16px; }
.timeline { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 12px; }
.tl-card { padding: 18px; }
.tl-card + .tl-card { margin-top: 0; }
.tl-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.tl-who { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.tl-name { font-weight: 600; }
.tl-meta { font-size: 13px; color: var(--muted); }
.tl-body { color: var(--text); }
.tl-card.is-internal { background: var(--warn-bg); border-color: #F3D9AE; }
.tl-card.is-internal .avatar { background: #F8E1BC; color: var(--warn); }
.internal-label {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; font-weight: 600; color: var(--warn);
  text-transform: uppercase; letter-spacing: .06em;
}
.tl-event {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
  padding: 2px 6px; font-size: 13px; color: var(--muted);
}
.tl-event-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 50%; background: var(--neutral-bg);
}
.tl-event-time { margin-left: auto; font-size: 12px; }
.attachments { list-style: none; margin: 12px 0 0; padding: 12px 0 0; border-top: 1px solid var(--divider); display: grid; gap: 6px; }
.attachments a { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; overflow-wrap: anywhere; }
.reply-card { margin-top: 0; }
.props { margin: 0; display: grid; gap: 12px; }
.props > div { display: grid; grid-template-columns: 100px 1fr; gap: 8px; align-items: baseline; }
.props dt { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.props dd { margin: 0; min-width: 0; }
.side-card { padding: 18px; }

/* ---------- Login ---------- */
.login-body { min-height: 100vh; display: flex; }
.login-wrap { flex: 1; display: flex; align-items: center; justify-content: center; padding: 24px 16px; }
.login-card { width: 100%; max-width: 400px; padding: 28px; display: grid; gap: 18px; }
.login-brand { display: flex; align-items: center; gap: 12px; }
.login-title { font-size: 18px; font-weight: 700; }
.login-company { font-size: 13px; color: var(--muted); }
.login-heading { font-size: 20px; font-weight: 600; line-height: 1.3; }
.login-hint { font-size: 13px; color: var(--muted); }
.error-code { color: var(--muted); font-size: 13px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .detail-grid { grid-template-columns: minmax(0, 1fr) 280px; }
}
@media (max-width: 900px) {
  .sidebar { flex: 1 1 100%; width: 100%; padding: 12px 14px; position: static; height: auto; }
  .nav { overflow: visible; }
  .brand { padding-bottom: 10px; }
  .nav { display: flex; flex-wrap: wrap; gap: 4px 6px; align-items: center; }
  .nav-section { margin: 0 4px 0 8px; }
  .nav-list { display: flex; flex-wrap: wrap; gap: 4px; }
  .nav-link { min-height: 40px; padding: 8px 12px; }
  .sidebar-user { margin-top: 10px; padding-top: 10px; }
  .main { flex-basis: 100%; padding: 20px 16px 40px; }
  .detail-grid { grid-template-columns: 1fr; }
  .page-header h1 { font-size: 22px; }
}
@media (max-width: 520px) {
  .page-actions, .page-actions .btn { width: 100%; }
  .card { padding: 16px; }
  .card-flush { padding: 0; }
  .tabs { padding: 0 16px; gap: 18px; }
  .table th:first-child, .table td:first-child { padding-left: 16px; }
  .props > div { grid-template-columns: 90px 1fr; }
  .filters .field, .filters .field-search { flex-basis: 100%; }
  .tl-event-time { margin-left: 32px; }
  .login-card { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
