/* Warenwirtschaft – Designsystem
   Leitidee: Pfosten-Riegel-Fassade. Dünne Linien teilen die Fläche in Felder,
   Schraffur markiert Felder, die noch nicht gebaut sind. Eine Akzentfarbe (Lichtpausen-Blau).
   Schrift: Barlow (DIN-nah, lokal eingebunden – keine externen Anfragen). */

@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/barlow-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/barlow-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/barlow-latin-ext-500-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/barlow-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/barlow-latin-ext-600-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/barlow-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Barlow Semi Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/barlow-semi-condensed-latin-ext-600-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Barlow Semi Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/barlow-semi-condensed-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

:root {
  color-scheme: light dark;
  --paper: #edf0f2;          /* Aluminium, hell */
  --panel: #ffffff;
  --ink: #111c26;
  --ink-2: #3b4a58;
  --muted: #5d6c7c;
  --line: #d3dae0;           /* Pfosten und Riegel */
  --line-strong: #b4bfc9;
  --accent: #0b4f8a;         /* Lichtpausen-Blau */
  --accent-hover: #083c6a;
  --accent-ink: #ffffff;
  --accent-tint: #e4eef8;
  --danger: #b3261e;
  --danger-tint: #fcebea;
  --ok: #1b6e3c;
  --ok-tint: #e6f4ea;
  --r-panel: 8px;
  --r-ctl: 5px;
  --r-chip: 4px;
  --sidebar: 256px;
  --font: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Barlow Semi Condensed", "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0f161d;
    --panel: #16202a;
    --ink: #e6ebf0;
    --ink-2: #b4c0cc;
    --muted: #8c9bab;
    --line: #26323d;
    --line-strong: #3a4856;
    --accent: #6fb1ec;
    --accent-hover: #93c4f1;
    --accent-ink: #06121c;
    --accent-tint: #142a3d;
    --danger: #ff8a80;
    --danger-tint: #3b1a18;
    --ok: #6fd196;
    --ok-tint: #14301f;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.5 var(--font); -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2 { font-family: var(--font-display); font-weight: 600; margin: 0; }
h1 { font-size: 2rem; line-height: 1.1; letter-spacing: -.005em; }
h2 { font-size: 1.15rem; line-height: 1.25; }
p { margin: 0 0 .75rem; }
code { background: var(--paper); padding: .1rem .35rem; border-radius: var(--r-chip); font-size: .9em; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.strong { font-weight: 600; color: var(--ink); }
.nowrap { white-space: nowrap; }
.center { text-align: center; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- Anwendungsrahmen ---------- */
.app { display: grid; grid-template-columns: var(--sidebar) minmax(0, 1fr); min-height: 100vh; }
.sidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; background: var(--panel); border-right: 1px solid var(--line); padding: 1.25rem .75rem 1rem; overflow-y: auto; }
.brand { display: flex; align-items: center; gap: .75rem; padding: .25rem .65rem 1.5rem; color: var(--ink); font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; line-height: 1.1; }
.brand:hover { text-decoration: none; }
.brand-mark { display: grid; grid-template: 1fr 1fr / 1fr 1fr; gap: 2px; width: 26px; height: 26px; flex: none; }
.brand-mark i { background: var(--ink); border-radius: 1px; }
.brand-mark i:nth-child(2) { background: var(--accent); }
.brand-mark i:nth-child(3) { background: var(--line-strong); }

.nav { display: flex; flex-direction: column; gap: 2px; }
.nav a { position: relative; display: flex; align-items: center; gap: .75rem; padding: .55rem .65rem; border-radius: var(--r-ctl); color: var(--ink-2); font-weight: 500; }
.nav a:hover { background: var(--paper); color: var(--ink); text-decoration: none; }
.nav a[aria-current="page"] { background: var(--accent-tint); color: var(--accent); font-weight: 600; }
.nav a[aria-current="page"]::before { content: ""; position: absolute; left: -.75rem; top: 6px; bottom: 6px; width: 3px; background: var(--accent); border-radius: 0 3px 3px 0; }
.nav svg { flex: none; }
.nav-sep { border: 0; border-top: 1px solid var(--line); margin: .6rem .65rem; width: calc(100% - 1.3rem); }

.sidebar-foot { margin-top: auto; border-top: 1px solid var(--line); padding-top: .9rem; display: flex; flex-direction: column; gap: .75rem; }
.me { display: flex; align-items: center; gap: .7rem; padding: 0 .35rem; min-width: 0; }
.me-badge { display: grid; place-items: center; width: 36px; height: 36px; flex: none; background: var(--ink); color: var(--panel); border-radius: var(--r-ctl); font-weight: 600; font-size: .9rem; letter-spacing: .02em; }
.me-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.me-name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.me-role { color: var(--muted); font-size: .85rem; }
.me-actions { display: flex; gap: .4rem; }
.me-actions form { margin: 0; }
.ver { color: var(--muted); font-size: .8rem; padding: 0 .35rem; }

.main { min-width: 0; padding: 2.25rem clamp(1.25rem, 3.5vw, 3rem) 4rem; }
.main-inner { max-width: 1120px; }

/* ---------- Seitenkopf ---------- */
.page-head { margin-bottom: 1.5rem; }
.page-head.with-actions { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.page-head p { margin: .35rem 0 0; }
.crumb { margin: 0 0 .5rem !important; font-size: .95rem; font-weight: 500; }
.crumb a::before { content: ""; display: inline-block; width: .42em; height: .42em; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-right: .6em; position: relative; top: -.04em; }

/* ---------- Dashboard: Kacheln als Fassadenraster ---------- */
.tiles-frame { border: 1px solid var(--line); border-radius: var(--r-panel); overflow: hidden; background: var(--panel); }
.tiles { display: flex; flex-wrap: wrap; margin: 0 -1px -1px 0; }
.tile { position: relative; flex: 1 1 300px; min-height: 200px; display: flex; flex-direction: column; gap: .4rem; padding: 1.5rem 1.5rem 1.35rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--ink); transition: background-color .15s ease; }
a.tile:hover { background: var(--accent-tint); text-decoration: none; }
a.tile:focus-visible { outline-offset: -3px; }
.tile-icon { display: block; color: var(--ink-2); line-height: 0; transition: color .15s ease; }
a.tile:hover .tile-icon { color: var(--accent); }
.tile-name { margin-top: .75rem; font-family: var(--font-display); font-weight: 600; font-size: 1.45rem; line-height: 1.15; }
.tile-desc { color: var(--muted); max-width: 34ch; }
.tile-foot { margin-top: auto; padding-top: .9rem; font-weight: 500; color: var(--ink-2); min-height: 1.5em; }
/* Schraffur = noch nicht gebaut */
.tile.is-planned { background: repeating-linear-gradient(135deg, transparent 0 9px, color-mix(in srgb, var(--line) 75%, transparent) 9px 10px); }
.tile.is-planned .tile-icon, .tile.is-planned .tile-name { color: var(--muted); }

/* ---------- Karten, Tabellen ---------- */
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-panel); padding: 1.75rem; }
.card.narrow { max-width: 440px; margin: 0 auto; }
.table-wrap { padding: 0; overflow-x: auto; }
form.card .table-wrap { border: 1px solid var(--line); border-radius: var(--r-ctl); }
.table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.table th, .table td { padding: .8rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.table thead th { font-size: .875rem; font-weight: 600; color: var(--muted); border-bottom-color: var(--line-strong); white-space: nowrap; }
.table tbody tr:last-child td, .table tbody tr:last-child th { border-bottom: 0; }
.table tbody tr:hover { background: color-mix(in srgb, var(--accent-tint) 55%, transparent); }
a.strong:hover { color: var(--accent); }
.cell-sub { display: block; color: var(--muted); font-size: .9rem; }
.col-company { min-width: 15rem; }
.empty { padding: 2.5rem 1rem; text-align: center; color: var(--muted); margin: 0; }
.matrix th[scope="row"] { font-weight: 600; font-size: 1rem; color: var(--ink); white-space: nowrap; }
.matrix input[type="radio"] { width: 18px; height: 18px; accent-color: var(--accent); }

/* ---------- Formulare ---------- */
.fsec { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 1rem 2.5rem; padding: 1.75rem 0; border-top: 1px solid var(--line); }
.fsec:first-of-type { border-top: 0; padding-top: 0; }
.fsec > h2 { padding-top: .1rem; }
.fsec-body > .hint:first-child { margin-top: 0; }
.grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.1rem; }
.col-3 { grid-column: span 3; } .col-4 { grid-column: span 4; } .col-5 { grid-column: span 5; }
.col-6 { grid-column: span 6; } .col-8 { grid-column: span 8; } .col-12 { grid-column: span 12; }
.field { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1rem; }
.grid .field { margin-bottom: 0; }
label { font-weight: 600; font-size: .95rem; }
.req { color: var(--danger); }
input[type="text"], input[type="email"], input[type="password"], input[type="tel"], input[type="number"], input[type="search"], select, textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--panel); border: 1px solid var(--line-strong); border-radius: var(--r-ctl); padding: .6rem .75rem; min-height: 42px; }
textarea { resize: vertical; }
input::placeholder { color: color-mix(in srgb, var(--muted) 70%, transparent); }
input:hover, select:hover, textarea:hover { border-color: var(--muted); }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.has-error input, .has-error select, .has-error textarea { border-color: var(--danger); }
.err { color: var(--danger); font-size: .9rem; font-weight: 500; }
.hint { color: var(--muted); font-size: .9rem; margin-top: .3rem; }
fieldset.fs { border: 0; padding: 0; margin: 0; min-width: 0; }
fieldset.fs:disabled input, fieldset.fs:disabled select, fieldset.fs:disabled textarea { background: var(--paper); color: var(--ink); border-color: var(--line); }
.check { display: flex; align-items: center; gap: .6rem; font-weight: 500; font-size: 1rem; padding: .25rem 0; }
.check input { width: 18px; height: 18px; accent-color: var(--accent); flex: none; }
.checklist { display: flex; flex-direction: column; gap: .1rem; }
.checklist.cols { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.checklist + .hint { margin-top: .6rem; }
.actions { position: sticky; bottom: 0; display: flex; gap: .6rem; margin: 1rem -1.75rem -1.75rem; padding: 1rem 1.75rem; background: var(--panel); border-top: 1px solid var(--line); border-radius: 0 0 var(--r-panel) var(--r-panel); }
.danger-zone { margin-top: 1rem; text-align: right; }
.toolbar { display: flex; gap: .6rem; margin-bottom: 1rem; flex-wrap: wrap; }
.toolbar input[type="search"] { flex: 1 1 300px; width: auto; padding-left: 2.6rem; background-repeat: no-repeat; background-position: .85rem center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%238a97a5' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E"); }
.toolbar select { width: auto; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; align-items: start; }
.two-col .card h2 { margin-bottom: 1.1rem; }
.card > h2 { margin-bottom: 1rem; }
.card > h2:not(:first-child) { margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }

/* ---------- Schaltflächen ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 40px; padding: .5rem 1.05rem; font: inherit; font-weight: 600; line-height: 1.2; color: var(--ink); background: var(--panel); border: 1px solid var(--line-strong); border-radius: var(--r-ctl); cursor: pointer; transition: background-color .12s ease, border-color .12s ease; }
.btn:hover { background: var(--paper); text-decoration: none; }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn-danger { color: var(--danger); border-color: var(--danger); }
.btn-danger:hover { background: var(--danger-tint); }
.btn-ghost { background: transparent; border-color: transparent; color: var(--ink-2); }
.btn-ghost:hover { background: var(--paper); }
.btn-sm { min-height: 34px; padding: .3rem .8rem; font-size: .9rem; }
.btn-block { width: 100%; }
.btn:disabled, .btn.is-disabled { opacity: .45; pointer-events: none; }
.pager { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.25rem; }

/* ---------- Hinweise, Marken ---------- */
.alert { padding: .8rem 1rem; border-radius: var(--r-ctl); margin-bottom: 1.1rem; background: var(--accent-tint); border-left: 4px solid var(--accent); }
.alert-success { background: var(--ok-tint); border-left-color: var(--ok); }
.alert-error { background: var(--danger-tint); border-left-color: var(--danger); }
.badge { display: inline-block; font-size: .8rem; font-weight: 600; line-height: 1.5; padding: 0 .55rem; border-radius: 999px; background: var(--paper); color: var(--muted); border: 1px solid var(--line); vertical-align: middle; }
.badge-ok { background: var(--ok-tint); color: var(--ok); border-color: transparent; }
.badge-off { background: var(--paper); color: var(--muted); }
.badge-admin { background: var(--accent-tint); color: var(--accent); border-color: transparent; }
.chip { display: inline-block; font-size: .85rem; font-weight: 500; padding: .05rem .55rem; border-radius: var(--r-chip); background: var(--paper); border: 1px solid var(--line); margin: 0 .3rem .3rem 0; }
.chip.lvl-1 { background: transparent; }
.chip.lvl-2 { background: var(--accent-tint); border-color: transparent; color: var(--accent); }
.chip.lvl-3 { background: var(--accent); border-color: transparent; color: var(--accent-ink); }
.checks { list-style: none; padding: 0; margin: 1.1rem 0; }
.checks li { padding: .15rem 0; }
.checks .ok { color: var(--ok); } .checks .fail { color: var(--danger); font-weight: 600; }

/* ---------- Anmeldung / Installer ---------- */
body.plain { background-color: var(--paper);
  background-image: linear-gradient(color-mix(in srgb, var(--line) 70%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--line) 70%, transparent) 1px, transparent 1px);
  background-size: 72px 72px; background-position: -1px -1px; }
.plain-wrap { max-width: 760px; margin: 0 auto; padding: clamp(2rem, 11vh, 6rem) 1.25rem 3rem; }
.plain-brand { display: flex; align-items: center; justify-content: center; gap: .75rem; margin-bottom: 1.5rem; font-family: var(--font-display); font-weight: 600; font-size: 1.6rem; }
.plain-wrap .card h1 { margin-bottom: 1.1rem; }
.plain-wrap .card .fs h2 { margin: 1.5rem 0 .9rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.plain-wrap .card .fs h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }

/* ---------- Responsiv ---------- */
@media (max-width: 900px) {
  .app { display: block; }
  .sidebar { position: static; height: auto; flex-direction: row; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; padding: .65rem .75rem 0; border-right: 0; border-bottom: 1px solid var(--line); overflow: visible; }
  .brand { order: 1; padding: 0 .25rem; font-size: 1.15rem; }
  .sidebar-foot { order: 2; margin: 0 0 0 auto; border: 0; padding: 0; flex-direction: row; align-items: center; gap: .5rem; }
  .me { padding: 0; }
  .me-text, .ver { display: none; }
  .nav { order: 3; flex-direction: row; width: 100%; gap: .25rem; overflow-x: auto; }
  .nav a { white-space: nowrap; padding: .65rem .7rem; border-radius: var(--r-ctl) var(--r-ctl) 0 0; }
  .nav a[aria-current="page"] { background: transparent; }
  .nav a[aria-current="page"]::before { left: .3rem; right: .3rem; top: auto; bottom: 0; width: auto; height: 3px; border-radius: 3px 3px 0 0; }
  .nav-sep { display: none; }
  .main { padding-top: 1.5rem; }
  .two-col { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .fsec { grid-template-columns: 1fr; gap: .75rem; }
  .grid > * { grid-column: span 12; }
  .actions { margin: 1rem -1.1rem -1.1rem; padding: .85rem 1.1rem; }
  .card { padding: 1.1rem; }
  h1 { font-size: 1.7rem; }
}
@media (max-width: 520px) {
  .brand-name, .me-badge { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ---- CSV-Import ---- */
.head-actions { display: flex; gap: .6rem; flex-wrap: wrap; }
.import-card { max-width: 46rem; margin-bottom: 1.25rem; padding: 1.25rem 1.4rem; }
.import-help { max-width: 46rem; padding: 1.25rem 1.4rem; }
.import-help h2, .card-title { font-size: 1.05rem; margin: 0 0 .6rem; }
.import-help h3 { font-size: .95rem; margin: 1.2rem 0 .3rem; }
.import-help ol { margin: 0 0 1rem; padding-left: 1.2rem; }
.import-help li { margin-bottom: .4rem; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; margin: .5rem 0; }
.chip-strong { font-weight: 700; }
.card-title { padding: 1rem 1.1rem 0; }
.pad { padding: 0 1.1rem 1rem; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .75rem; margin-bottom: 1.25rem; max-width: 46rem; }
.stat { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-ctl); padding: .8rem 1rem; display: flex; flex-direction: column; }
.stat-n { font-size: 1.7rem; font-weight: 700; line-height: 1.1; }
.stat-l { color: var(--muted); font-size: .88rem; }
.stat-ok .stat-n { color: var(--ok); }
.stat-err .stat-n { color: var(--danger); }
.badge-err { background: var(--danger-tint); color: var(--danger); border-color: transparent; }
.form-actions { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1rem; }
.card + .card.table-wrap, .table-wrap + .table-wrap { margin-top: 1.25rem; }

/* ---- Einstellungen ---- */
.tabs { display: flex; gap: .25rem; border-bottom: 1px solid var(--line); margin-bottom: 1.25rem; overflow-x: auto; }
.tabs a { padding: .65rem 1rem; color: var(--ink-2); font-weight: 600; border-bottom: 3px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs a:hover { color: var(--ink); text-decoration: none; }
.tabs a[aria-current="page"] { color: var(--accent); border-bottom-color: var(--accent); }
.settings-card { max-width: 56rem; margin-bottom: 1.25rem; }
.settings-actions { padding: 0 1.4rem 1.25rem; }
.fsec-note { margin: .75rem 0 0; font-size: .92rem; }
.range-table input { width: 100%; min-width: 7rem; }
.range-table td { vertical-align: top; }
.range-table input.has-error { border-color: var(--danger); }
