/* Layout: feste Kopfzeile mit Kennzahlenleiste, darunter Arbeitsfläche aus Tafeln und Tabellen. */
:root {
  --bg: #eef2f3;
  --surface: #ffffff;
  --surface-2: #f6f8f9;
  --ink: #13232a;
  --muted: #5a6b72;
  --line: #d3dde1;
  --line-2: #e5ecee;
  --accent: #0b6577;
  --accent-ink: #ffffff;
  --accent-soft: #dbecef;
  --focus: #1d8ea5;
  --ok: #2c7a4b;
  --ok-soft: #dcf0e3;
  --warn: #9a5a00;
  --warn-soft: #fbecd2;
  --bad: #b02a20;
  --bad-soft: #f9dedb;
  --paper: #ffffff;
  --paper-ink: #1a1f22;
  --font-ui: "Barlow", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-head: "Barlow Semi Condensed", "Barlow", "Arial Narrow", system-ui, sans-serif;
  --r: 6px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0d1518; --surface: #142024; --surface-2: #19282d; --ink: #e1eaed; --muted: #92a5ac;
    --line: #2a3c42; --line-2: #213238; --accent: #4cb3c8; --accent-ink: #04191e; --accent-soft: #163a42;
    --focus: #6fd0e3; --ok: #6cc590; --ok-soft: #173826; --warn: #e6a84d; --warn-soft: #3b2c12;
    --bad: #f08a80; --bad-soft: #3d1c19; --paper: #f7f7f5; --paper-ink: #1a1f22;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0d1518; --surface: #142024; --surface-2: #19282d; --ink: #e1eaed; --muted: #92a5ac;
  --line: #2a3c42; --line-2: #213238; --accent: #4cb3c8; --accent-ink: #04191e; --accent-soft: #163a42;
  --focus: #6fd0e3; --ok: #6cc590; --ok-soft: #173826; --warn: #e6a84d; --warn-soft: #3b2c12;
  --bad: #f08a80; --bad-soft: #3d1c19; --paper: #f7f7f5; --paper-ink: #1a1f22;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 15px/1.45 var(--font-ui); font-variant-numeric: tabular-nums;
}
[hidden] { display: none !important; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 600; line-height: 1.15; margin: 0; text-wrap: balance; }
h2 { font-size: 1.3rem; }
h3 { font-size: 1.05rem; }
p { margin: 0; }
.muted { color: var(--muted); }
.r { text-align: right; }
.c { text-align: center; }
.nowrap { white-space: nowrap; }
.mt { margin-top: 20px; margin-bottom: 8px; }
a { color: var(--accent); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }

/* ---------- Kopf ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--surface); }
.top {
  background: var(--surface); border-bottom: 1px solid var(--line);
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px));
  padding-block: 10px 0;
}
@media (min-width: 900px) { .top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; } }
.top-in { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; letter-spacing: 0.01em; }
.brand-bg { fill: var(--accent); }
.brand-fg { stroke: var(--accent-ink); }
.proj { display: flex; align-items: center; gap: 8px; min-width: 0; }
.proj span { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.proj select { max-width: min(360px, 60vw); font-weight: 600; }
.nav { display: flex; gap: 2px; overflow-x: auto; margin-top: 8px; scrollbar-width: thin; }
.tab {
  padding: 8px 12px; text-decoration: none; color: var(--muted); font-weight: 500; white-space: nowrap;
  border-bottom: 3px solid transparent; font-family: var(--font-head); font-size: 1rem;
}
.tab:hover { color: var(--ink); }
.tab.on { color: var(--accent); border-bottom-color: var(--accent); }
.kpis {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1px; background: var(--line-2);
  margin-inline: calc(-1 * max(16px, env(safe-area-inset-left, 0px))) calc(-1 * max(16px, env(safe-area-inset-right, 0px)));
  border-top: 1px solid var(--line);
}
.kpi { background: var(--surface-2); padding: 7px 16px; display: flex; flex-direction: column; min-width: 0; }
.kpi span { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi b { font-family: var(--font-head); font-size: 1.15rem; font-weight: 600; white-space: nowrap; }
@media (max-width: 900px) { .kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 480px) { .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } .kpi { padding: 6px 12px; } }

/* ---------- Arbeitsfläche ---------- */
main {
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px));
  padding-block: 18px 48px; display: flex; flex-direction: column; gap: 18px; max-width: 1680px; margin: 0 auto;
}
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.panel.flush { padding: 0; gap: 0; }
.panel.flush > .empty, .panel.flush > .note { margin: 16px; }
.panel-h { display: flex; flex-direction: column; gap: 4px; }
.panel-h p { color: var(--muted); max-width: 72ch; }
.panel-h.row { flex-direction: row; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.panel-h.row > div:first-child { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1 1 320px; }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 18px; align-items: start; }
.grid { display: grid; gap: 12px 14px; }
.g2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.g3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.acts { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.legend { color: var(--muted); font-size: 0.85rem; max-width: 110ch; }
.note { font-size: 0.88rem; color: var(--muted); background: var(--surface-2); border: 1px dashed var(--line); padding: 8px 12px; border-radius: var(--r); }
.note.warn { color: var(--warn); background: var(--warn-soft); border-color: transparent; }

/* ---------- Formularelemente ---------- */
input, select, textarea, button { font: inherit; color: inherit; }
input[type="text"], input[type="search"], input[type="date"], input[type="password"], input:not([type]), select, textarea {
  background: var(--surface); border: 1px solid var(--line); border-radius: 4px; padding: 6px 8px; min-width: 0; width: 100%;
}
textarea { resize: vertical; line-height: 1.4; }
input.num { text-align: right; }
input::placeholder, textarea::placeholder { color: var(--muted); opacity: 0.75; }
input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--accent); }
.fld { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.fld-l { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted); font-weight: 600; }
.fld-h { font-size: 0.78rem; color: var(--muted); }
.checks { display: flex; flex-direction: column; gap: 8px; justify-content: center; }
.checks label { display: flex; gap: 8px; align-items: center; }

.btn {
  border: 1px solid var(--line); background: var(--surface); padding: 7px 14px; border-radius: 4px; cursor: pointer;
  font-weight: 600; white-space: nowrap; line-height: 1.2;
}
.btn:hover { border-color: var(--accent); color: var(--accent); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.primary:hover { filter: brightness(1.08); color: var(--accent-ink); }
.btn.ghost { background: transparent; }
.btn.sm { padding: 5px 10px; font-size: 0.88rem; }
.btn.danger:hover, .btn.armed { color: var(--bad); border-color: var(--bad); }
.btn.armed { background: var(--bad-soft); }
.btn.icon { padding: 4px 8px; background: transparent; border-color: transparent; color: var(--muted); font-size: 0.95rem; }
.btn.icon:hover { border-color: var(--line); color: var(--ink); }
.btn.icon.danger:hover, .btn.icon.armed { color: var(--bad); border-color: var(--bad); }

/* ---------- Werkzeugleiste ---------- */
.toolbar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line);
}
.toolbar > div:first-child:not(.acts) { flex: 1 1 320px; display: flex; flex-direction: column; gap: 2px; }
.toolbar input[type="search"] { width: 200px; flex: 0 1 200px; }
.toolbar select { width: auto; max-width: 200px; }
.toolbar .count { margin-left: auto; color: var(--muted); font-size: 0.85rem; }
.bulk {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 10px 14px;
  background: var(--accent-soft); border-bottom: 1px solid var(--line);
}
.bulk select { width: auto; max-width: 170px; }
.bulk input { width: 90px; }

/* ---------- Tabellen ---------- */
.tw { overflow-x: auto; min-width: 0; }
.tw.rb { max-height: calc(100vh - 290px); min-height: 260px; overflow: auto; }
@media (max-width: 900px) { .tw.rb { max-height: none; } }
.tbl { border-collapse: separate; border-spacing: 0; width: 100%; font-size: 0.92rem; }
.tbl th, .tbl td { padding: 6px 8px; border-bottom: 1px solid var(--line-2); vertical-align: middle; text-align: left; }
.tbl th.r, .tbl td.r { text-align: right; }
.tbl thead th {
  font-family: var(--font-head); font-weight: 600; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--muted); background: var(--surface-2); white-space: nowrap; position: sticky; top: 0; z-index: 1; border-bottom: 1px solid var(--line);
}
.tbl tfoot td { font-weight: 600; background: var(--surface-2); border-top: 1px solid var(--line); border-bottom: 0; position: sticky; bottom: 0; }
.tbl tr.cur td { background: var(--accent-soft); }
.tbl.edit td { padding: 3px 4px; }
.tbl.edit td:first-child { padding-left: 12px; }
.tbl.edit input, .tbl.edit select { border-color: transparent; background: transparent; padding: 5px 6px; }
.tbl.edit input:hover, .tbl.edit select:hover { border-color: var(--line); }
.tbl.edit input:focus, .tbl.edit select:focus { border-color: var(--focus); background: var(--surface); outline: none; box-shadow: 0 0 0 2px var(--accent-soft); }
.tbl.edit input.ovr { color: var(--accent); font-weight: 600; }
.tbl.edit tbody tr:hover td { background: var(--surface-2); }
.tbl.edit tbody tr.sel td { background: var(--accent-soft); }
.tbl td.warn select { color: var(--warn); }
.tbl td.out { font-weight: 600; white-space: nowrap; padding-inline: 8px; }
.tbl td.acts { display: table-cell; text-align: right; white-space: nowrap; }
.tbl td.acts .btn + .btn { margin-left: 6px; }
.tbl td.acts .btn.icon + .btn.icon { margin-left: 0; }
.tbl.calc td { padding: 7px 4px; }
.tbl.calc tr.sub td { font-weight: 600; border-top: 1px solid var(--line); }
.tbl.calc tr.total td { font-weight: 700; font-size: 1.05rem; color: var(--accent); border-top: 2px solid var(--ink); border-bottom: 0; }
.w-xs { width: 62px !important; } .w-s { width: 84px !important; } .w-m { width: 150px !important; } .w-l { width: 190px !important; } .w-xl { width: 300px !important; }
.sorter { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; color: inherit; text-transform: inherit; letter-spacing: inherit; }
.sorter.on { color: var(--accent); }

.pill { display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: 0.75rem; font-weight: 600; background: var(--accent-soft); color: var(--accent); vertical-align: middle; }
.pill.ok { background: var(--ok-soft); color: var(--ok); }
.pill.warn { background: var(--warn-soft); color: var(--warn); }
.pill.bad { background: var(--bad-soft); color: var(--bad); }
.bar { display: inline-block; width: 110px; height: 8px; background: var(--line-2); border-radius: 4px; overflow: hidden; vertical-align: middle; }
.bar > span { display: block; height: 100%; background: var(--accent); border-radius: 4px; }
.bar.ok > span { background: var(--ok); } .bar.warn > span { background: var(--warn); } .bar.bad > span { background: var(--bad); }
td.load { white-space: nowrap; } td.load .pill { margin-right: 8px; min-width: 52px; text-align: center; }
td.share { white-space: nowrap; } td.share span:last-child { margin-left: 8px; color: var(--muted); font-size: 0.85rem; }

.empty { padding: 28px; text-align: center; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.empty p { color: var(--muted); max-width: 60ch; }

/* ---------- Leistungskatalog ---------- */
.rg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: 14px; }
.rg { border: 1px solid var(--line); border-radius: var(--r); padding: 14px; display: flex; flex-direction: column; gap: 10px; background: var(--surface-2); }
.rg-h { display: grid; grid-template-columns: 1.4fr 0.8fr 1.2fr; gap: 10px; }
@media (max-width: 520px) { .rg-h { grid-template-columns: 1fr 1fr; } .rg-h .fld:first-child { grid-column: 1 / -1; } }
.rg textarea { font-size: 0.88rem; }
.rg-f { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 0.85rem; color: var(--muted); flex-wrap: wrap; }

/* ---------- Datenaustausch ---------- */
.xgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 14px; }
.xbox { border: 1px solid var(--line); border-radius: var(--r); padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.xbox p { color: var(--muted); font-size: 0.88rem; }
.xbox.wide { grid-column: 1 / -1; }
.xbox textarea { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 0.82rem; }

/* ---------- Reviere ---------- */
.rv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); gap: 14px; }
.rvbox { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 14px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.rvlist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.rvlist li { display: grid; grid-template-columns: minmax(0, 1fr) auto 140px; gap: 10px; align-items: center; padding: 4px 0; border-bottom: 1px solid var(--line-2); font-size: 0.9rem; }
.rvlist li > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rvlist select { padding: 3px 6px; font-size: 0.85rem; }

/* ---------- Auswertung ---------- */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 12px; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; }
.tile span { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.tile b { font-family: var(--font-head); font-size: 1.45rem; font-weight: 600; }

/* ---------- Angebot (Papier) ---------- */
.paper {
  background: var(--paper); color: var(--paper-ink); width: 100%; max-width: 820px; margin: 0 auto; padding: 56px 64px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 8px 30px rgba(0, 0, 0, 0.08); border-radius: 2px; font-size: 0.93rem;
  display: flex; flex-direction: column; gap: 12px;
}
@media (max-width: 700px) { .paper { padding: 28px 20px; } }
.paper h1 { font-size: 1.6rem; margin-top: 10px; }
.paper h1 span { font-weight: 500; color: #4a5559; font-size: 1.15rem; }
.paper h3 { font-size: 1.1rem; margin-top: 14px; padding-bottom: 4px; border-bottom: 1.5px solid var(--paper-ink); }
.paper .muted { color: #5c666a; }
.doc-from { font-size: 0.75rem; color: #5c666a; border-bottom: 1px solid #c9d0d2; padding-bottom: 4px; align-self: flex-start; }
.doc-head { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.doc-to { min-height: 5.5em; }
.doc-meta { display: grid; grid-template-columns: auto auto; gap: 2px 14px; margin: 0; font-size: 0.88rem; }
.doc-meta dt { color: #5c666a; } .doc-meta dd { margin: 0; text-align: right; }
.doc-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: #d5dbdd; border: 1px solid #d5dbdd; margin-top: 6px; }
.doc-facts div { background: #f3f5f5; padding: 8px 10px; display: flex; flex-direction: column; }
.doc-facts span { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.07em; color: #5c666a; }
@media (max-width: 600px) { .doc-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.lv-pos { break-inside: avoid; border-bottom: 1px solid #dfe4e5; padding-bottom: 8px; }
.lv-h { display: grid; grid-template-columns: 28px 1fr auto; gap: 10px; align-items: baseline; padding-top: 6px; }
.lv-h div { display: flex; flex-direction: column; }
.lv-h div span { font-size: 0.82rem; color: #5c666a; }
.lv-n { font-family: var(--font-head); font-weight: 700; color: #0b6577; }
.lv-p { font-weight: 600; white-space: nowrap; text-align: right; }
.lv-p small { display: block; font-weight: 400; color: #5c666a; font-size: 0.75rem; }
.lv-t { width: calc(100% - 38px); margin-left: 38px; border-collapse: collapse; font-size: 0.85rem; margin-top: 4px; }
.lv-t td { padding: 2px 0; vertical-align: top; }
.lv-t td:first-child::before { content: "– "; color: #8a9497; }
.lv-t td:last-child { color: #5c666a; text-align: right; white-space: nowrap; padding-left: 12px; width: 1%; }
.doc-t { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.doc-t th { text-align: left; font-weight: 600; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: #5c666a; border-bottom: 1px solid #9aa4a7; padding: 4px 6px; }
.doc-t td { padding: 4px 6px; border-bottom: 1px solid #e3e7e8; }
.doc-t .r { text-align: right; }
.doc-t.sm { font-size: 0.78rem; }
.doc-t tfoot td { font-weight: 600; border-top: 1px solid #9aa4a7; }
.doc-t.sum { max-width: 460px; margin-left: auto; }
.doc-t.sum tr.sub td { font-weight: 600; border-top: 1px solid #9aa4a7; }
.doc-t.sum tr.total td { font-weight: 700; font-size: 1.02rem; border-top: 2px solid #1a1f22; border-bottom: 0; }
.small { font-size: 0.8rem; color: #5c666a; }

/* ---------- Toast & Dialog ---------- */
.toast {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 50;
  background: var(--ink); color: var(--bg); padding: 10px 18px; border-radius: 6px; font-weight: 500; box-shadow: 0 6px 24px rgba(0,0,0,.25);
  max-width: calc(100% - 32px);
}
.dlg { position: fixed; inset: 0; background: rgba(8, 20, 24, 0.5); display: grid; place-items: center; z-index: 60; padding: 16px; }
.dlg-box { background: var(--surface); border-radius: var(--r); padding: 20px; width: min(720px, 100%); display: flex; flex-direction: column; gap: 10px; }
.dlg-box textarea { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 0.8rem; }

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

/* ---------- Druck ---------- */
@media print {
  @page { size: A4; margin: 16mm 16mm 18mm; }
  body { background: #fff; color: #000; font-size: 10.5pt; }
  body::before, .top, .noprint, .toast, .dlg { display: none !important; }
  main { padding: 0 !important; max-width: none; display: block; }
  main:not([data-view="angebot"]) > * { display: none; }
  .paper { box-shadow: none; padding: 0; max-width: none; color: #000; background: #fff; }
  .pb { break-before: page; }
  .doc-t tr, .lv-pos { break-inside: avoid; }
}

/* ---------- Server-Betrieb: Benutzer, Speicherstatus, Anmeldeseiten ---------- */
.top-r { display: flex; align-items: center; gap: 10px 14px; flex-wrap: wrap; min-width: 0; }
.top-r form { margin: 0; }
.usr { display: flex; align-items: center; gap: 6px; }
.usr-n { font-weight: 600; color: var(--muted); margin-right: 4px; }
.sync { font-size: 0.8rem; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.sync::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--line); flex: none; }
.sync.ok::before { background: var(--ok); }
.sync.busy::before { background: var(--warn); }
.sync.bad, .sync.auth { color: var(--bad); font-weight: 600; }
.sync.bad::before, .sync.auth::before { background: var(--bad); }
.sync a { color: inherit; }

.auth {
  min-height: 100vh; display: grid; place-items: center;
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); padding-block: 32px;
}
.auth-box {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; width: min(400px, 100%);
  display: flex; flex-direction: column; gap: 14px;
}
.auth-box.wide { width: min(520px, 100%); }
.auth-box h1 { font-size: 1.6rem; }
.auth-box .btn { justify-content: center; padding-block: 10px; }
.msg { padding: 10px 12px; border-radius: var(--r); background: var(--ok-soft); color: var(--ok); font-weight: 500; }
.msg.bad { background: var(--bad-soft); color: var(--bad); }
.checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; font-size: 0.92rem; }
.checklist li { display: flex; flex-wrap: wrap; gap: 0 8px; align-items: baseline; }
.checklist li > span { font-weight: 700; width: 1.1em; }
.checklist li.ok > span { color: var(--ok); }
.checklist li.bad { color: var(--bad); }
.checklist small { flex-basis: 100%; padding-left: calc(1.1em + 8px); }
.konto-page main > .msg { margin: 0; }
form.inline { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; margin: 0; }
form.inline input[type="text"] { width: 160px; }
form.inline select { width: auto; }
.confirm { display: inline-flex; gap: 4px; align-items: center; font-size: 0.85rem; color: var(--muted); }
a.btn { text-decoration: none; display: inline-flex; align-items: center; color: inherit; }
a.btn.primary { color: var(--accent-ink); }
