/* base.css – Bauteile von Serene im neuen Rahmen (Paket F1).
   Maße, Farben und Bewegung nach der Bibliothek (beispiele/base.css, form/BAUTEILE.md, animation/motion.css).
   Alle Klassen tragen den Vorsatz v-, weil app.css dieselben Wörter anders belegt (PLAN T6).
   Nur Tokens aus tokens.css und motion.css; keine festen Farben; kein Token des alten Stands.
   Zustände als Attribute (aria-current, aria-pressed, aria-selected, data-state, disabled), nicht als Klassen.
   Abschnitte: 1 Grund · 2 Knopf · 3 Feld · 4 Auswahl · 5 Reiter · 6 Tabelle und Liste · 7 Karte und Kennzahl
               8 Abzeichen und Status · 9 Hinweis, leer, lädt, Fehler · 10 Overlays · 11 Diagramm · 12 Seite · 13 Schmal */

/* ------------------------------------------------------------ 1 Grund */
@font-face { font-family: "Inter Variable"; src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
html:root {
  --font-sans: "Inter Variable", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, "Liberation Mono", "DejaVu Sans Mono", "Courier New", monospace;
  --focus-ring: var(--shadow-focus-ring); --scrim-color: var(--scrim); --skeleton-base: var(--gray-100); --skeleton-shine: var(--gray-200);
}
*, *::before, *::after { box-sizing: border-box; }
html { scrollbar-gutter: stable; text-size-adjust: 100%; -webkit-text-size-adjust: 100%; }
body { margin: 0; min-width: 320px; background: var(--surface-page); color: var(--text-secondary); font: var(--type-copy-14); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; font-synthesis: none; touch-action: manipulation; }
h1, h2, h3, h4, p, dl, dd, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
html[data-v-locked] { overflow: hidden; }
::selection { background: var(--selection-bg); color: var(--selection-text); }
/* Alles Neue setzt Schrift und Farbe selbst, damit geladene Alt-Stylesheets nichts verschieben. */
.v-scope, .v-sidebar, .v-topbar, .v-page, .v-menu, .v-modal, .v-sheet, .v-toast, .v-tooltip, .v-finder, .v-band, .v-gate, .v-mobilebar { font: var(--type-copy-14); color: var(--text-secondary); letter-spacing: normal; text-align: left; }
.v-scope *, .v-page *, .v-menu *, .v-modal *, .v-sheet *, .v-finder * { border-color: var(--border-default); }
.v-i { width: 16px; height: 16px; flex: none; display: block; }
.v-num { font-variant-numeric: tabular-nums; }
.v-mono { font: var(--type-mono-code); font-feature-settings: "liga" 0, "calt" 0; }
.v-muted { color: var(--text-secondary); } .v-strong { color: var(--text-primary); font-weight: 500; }
.v-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.v-trunc { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.v-link { color: var(--link); text-decoration: none; border-radius: 2px; }
.v-link--quiet { color: var(--text-primary); font-weight: 500; }
.v-link:focus-visible { outline: var(--focus-outline); outline-offset: 3px; }
.v-link--ext { display: inline-flex; align-items: center; gap: 4px; }
.v-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; min-width: 0; }
.v-row--nowrap { flex-wrap: nowrap; } .v-row--between { justify-content: space-between; } .v-row--top { align-items: flex-start; } .v-row--end { justify-content: flex-end; }
.v-col { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.v-grow { flex: 1; min-width: 0; }
.v-stack { display: flex; flex-direction: column; gap: var(--space-gap-block); min-width: 0; }
.v-stack--12 { gap: 12px; } .v-stack--16 { gap: 16px; } .v-stack--32 { gap: var(--space-gap-section); }
.v-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.v-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.v-grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.v-h24 { font: var(--type-heading-24); letter-spacing: var(--type-heading-24-tracking); color: var(--text-primary); }
.v-h20 { font: var(--type-heading-20); letter-spacing: var(--type-heading-20-tracking); color: var(--text-primary); }
.v-h16 { font: var(--type-heading-16); letter-spacing: var(--type-heading-16-tracking); color: var(--text-primary); }
.v-section-title { min-height: 32px; display: flex; align-items: center; gap: 8px; font: var(--type-nav-item); color: var(--text-primary); }
.v-skip { position: fixed; top: 64px; left: 48px; z-index: var(--z-skip-link); height: 24px; padding: 0 8px; display: inline-flex; align-items: center; background: var(--surface-card); color: var(--text-primary); box-shadow: var(--shadow-ring); border-radius: var(--radius-xs); transform: translateY(-200px); text-decoration: none; font: var(--type-label-14); }
.v-skip:focus { transform: none; outline: var(--focus-outline); outline-offset: 3px; }

/* ------------------------------------------------------------ 2 Knopf */
.v-btn {
  display: inline-flex; align-items: center; justify-content: center; max-width: 100%; user-select: none; cursor: pointer; flex: none; text-decoration: none;
  border: 0; outline: 0; margin: 0; height: var(--size-control-md); padding: 0 var(--size-button-pad-md); border-radius: var(--radius-sm);
  font: var(--type-button-14); letter-spacing: normal; background: var(--surface-inverse); color: var(--text-on-inverse); white-space: nowrap;
  transition-property: color, background-color, border-color, box-shadow; transition-duration: var(--motion-base); transition-timing-function: var(--ease-standard);
  --edge: 0 0 0 0 transparent; box-shadow: var(--edge);
}
.v-btn > .v-btn__t { padding: 0 var(--size-button-text-pad); overflow: hidden; text-overflow: ellipsis; }
.v-btn > .v-btn__pre { min-width: 20px; margin-right: 3px; display: inline-flex; justify-content: center; }
.v-btn > .v-btn__suf { margin-left: 4px; display: inline-flex; }
.v-btn--sm { height: var(--size-control-sm); padding: 0 var(--size-button-pad-sm); }
.v-btn--lg { height: var(--size-control-lg); padding: 0 var(--size-button-pad-lg); border-radius: var(--radius-md); font: var(--type-button-16); }
.v-btn--icon { width: 36px; padding: 0; } .v-btn--icon.v-btn--sm { width: 32px; } .v-btn--icon.v-btn--lg { width: 40px; }
.v-btn--icon.v-btn--xs { width: 24px; height: 24px; border-radius: var(--radius-xs); }
.v-btn--circle { border-radius: var(--radius-full); }
.v-btn--secondary { background: var(--surface-card); color: var(--text-primary); --edge: 0 0 0 1px var(--border-default); }
.v-btn--tertiary { background: transparent; color: var(--text-primary); }
.v-btn--danger { background: var(--danger-button); color: var(--danger-button-text); }
.v-btn--warning { background: var(--warning-button); color: var(--text-on-warning-fill); }
.v-btn:focus-visible { box-shadow: var(--focus-ring); transition: none; outline: 0; }
.v-btn:active:not(:disabled):not([aria-disabled="true"]) { background: var(--button-primary-pressed); }
.v-btn--secondary:active:not(:disabled):not([aria-disabled="true"]) { background: var(--surface-active); }
.v-btn--tertiary:active:not(:disabled):not([aria-disabled="true"]) { background: var(--gray-alpha-300); }
.v-btn--danger:active:not(:disabled):not([aria-disabled="true"]) { background: var(--danger-button-hover); }
.v-btn--warning:active:not(:disabled):not([aria-disabled="true"]) { background: var(--warning-button-hover); }
.v-btn:disabled, .v-btn[aria-disabled="true"] { background: var(--surface-hover); color: var(--gray-700); cursor: not-allowed; --edge: 0 0 0 1px var(--border-default); }
.v-btn--tertiary:disabled, .v-btn--tertiary[aria-disabled="true"] { background: transparent; --edge: 0 0 0 0 transparent; }
.v-btn[aria-busy="true"] { pointer-events: none; }
.v-split { display: inline-flex; gap: 1px; border-radius: var(--radius-sm); }
.v-split .v-btn:first-child { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.v-split .v-btn:last-child { border-top-left-radius: 0; border-bottom-left-radius: 0; width: 24px; padding: 0; }
.v-chip { height: 32px; padding: 0 12px; border-radius: var(--radius-full); border: 1px dashed var(--border-hover); background: none; display: inline-flex; align-items: center; gap: 6px; font: var(--type-label-14); color: var(--text-tertiary); cursor: pointer; white-space: nowrap; transition: color var(--motion-base) var(--ease-standard), border-color var(--motion-base) var(--ease-standard), background-color var(--motion-base) var(--ease-standard); }
.v-chip b { font-weight: 500; }
.v-chip--add { border: 0; box-shadow: 0 0 0 1px var(--border-default); background: var(--surface-card); color: var(--text-primary); font-weight: 500; gap: 8px; }
.v-chip[aria-pressed="true"], .v-chip[data-active] { border-style: solid; border-color: var(--border-default); background: var(--surface-card); color: var(--text-primary); }
.v-chip:focus-visible { outline: 0; box-shadow: var(--focus-ring); }
.v-chip:disabled { cursor: not-allowed; color: var(--gray-700); }
.v-spinner { --n: 12; width: 16px; height: 16px; position: relative; color: var(--gray-700); display: inline-block; flex: none; }
.v-spinner i { position: absolute; left: 7.25px; top: 0; width: 1.5px; height: 4.5px; border-radius: 1px; background: currentColor; transform-origin: 0.75px 8px; transform: rotate(calc(var(--i) * 30deg)); animation: spinner-fade var(--loop-spinner) linear infinite; animation-delay: calc(var(--loop-spinner) * (var(--i) - var(--n)) / var(--n)); }
.v-btn .v-spinner { color: inherit; }
.v-kbd { height: var(--size-kbd); min-width: 24px; padding: 0 6px; border-radius: var(--radius-xs); background: var(--surface-card); box-shadow: 0 0 0 1px var(--border-blend); font: var(--type-label-14); color: var(--text-primary); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.v-kbd--sm { height: var(--size-kbd-sm); min-width: 20px; padding: 0 4px; font: var(--type-label-12); }

/* ------------------------------------------------------------ 3 Feld */
.v-fieldgroup { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.v-fieldgroup > label, .v-label { font: var(--type-field-label); color: var(--text-secondary); }
.v-help { font: var(--type-copy-13); color: var(--text-secondary); }
.v-fielderr { font: var(--type-field-label); color: var(--danger-text); display: flex; align-items: center; gap: 8px; }
.v-input, .v-select { display: flex; align-items: center; overflow: hidden; height: var(--size-control-md); width: 215px; max-width: 100%; border-radius: var(--radius-sm); background: var(--surface-card); box-shadow: 0 0 0 1px var(--border-blend); transition: box-shadow var(--motion-base) var(--ease-standard); position: relative; color: var(--text-primary); }
.v-input--sm, .v-select--sm { height: var(--size-control-sm); } .v-input--lg, .v-select--lg { height: var(--size-control-lg); border-radius: var(--radius-md); width: 242px; }
.v-input--w300 { width: 300px; } .v-input--full, .v-select--full { width: 100%; } .v-input--grow { width: auto; flex: 1; min-width: 160px; }
.v-input input, .v-input textarea, .v-select select { border: 0; outline: 0; background: transparent; color: var(--text-primary); min-width: 0; width: 100%; height: 100%; padding: 0 var(--space-field-padding-x); font: var(--type-label-14); }
.v-input--lg input, .v-select--lg select { font-size: 16px; }
.v-input input::placeholder, .v-input textarea::placeholder { color: var(--text-placeholder); opacity: 1; }
.v-input input[type="search"]::-webkit-search-cancel-button { display: none; }
.v-input__affix { padding: 0 12px; color: var(--gray-700); display: flex; align-items: center; flex: none; }
.v-input__affix + input { padding-left: 0; }
.v-input__affix--box { align-self: stretch; background: var(--surface-page); border-right: 1px solid var(--border-default); color: var(--text-secondary); }
.v-input__affix--box + input { padding-left: 12px; }
.v-input__tail { padding: 0 6px; display: flex; align-items: center; gap: 4px; flex: none; }
.v-input--area { height: 100px; align-items: stretch; }
.v-input--area textarea { padding: 10px 12px; resize: none; }
.v-input:focus-within, .v-select:focus-within { box-shadow: var(--shadow-focus-field); }
.v-input[data-invalid]:not(:focus-within), .v-select[data-invalid]:not(:focus-within) { box-shadow: var(--shadow-focus-field-error); }
.v-input[data-disabled], .v-select[data-disabled] { background: var(--surface-hover); cursor: not-allowed; }
.v-input[data-disabled] input, .v-select[data-disabled] select { color: var(--gray-700); cursor: not-allowed; }
.v-input[data-readonly] input { font: var(--type-mono-code); }
.v-select { transition-duration: var(--motion-medium); }
.v-select select { appearance: none; -webkit-appearance: none; padding: 0 36px 0 12px; cursor: pointer; }
.v-select > svg { position: absolute; right: 12px; top: 50%; margin-top: -8px; pointer-events: none; color: var(--text-secondary); }
.v-select--bare { box-shadow: none; background: none; width: auto; }
.v-select--bare select { font-weight: 500; padding-left: 4px; padding-right: 28px; }
.v-select--bare > svg { right: 4px; }
/* Dropdown (dropdown.js): Knopf mit Rolle combobox im Rahmen von .v-select, natives Feld verborgen dahinter (BAUTEILE.md 2.2:
   Hover Fläche gray-100 und Ring stärker, Fokus Ring der Combobox) */
.v-dd { overflow: visible; }
.v-dd__btn { all: unset; box-sizing: border-box; display: flex; align-items: center; gap: 8px; width: 100%; height: 100%; padding: 0 36px 0 var(--space-field-padding-x); border-radius: inherit; font: var(--type-label-14); color: var(--text-primary); cursor: pointer; min-width: 0; }
.v-select--lg .v-dd__btn { font-size: 16px; }
.v-dd__btn > svg { position: absolute; right: 12px; top: 50%; margin-top: -8px; color: var(--text-secondary); pointer-events: none; transition: rotate var(--motion-medium) var(--ease-plain); }
.v-dd__btn[aria-expanded="true"] > svg { rotate: 180deg; }
.v-dd__lead, .v-select__icon { display: inline-flex; flex: none; color: var(--text-secondary); }
.v-dd__text { display: flex; align-items: center; gap: 8px; min-width: 0; flex: 1; }
.v-select__val { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.v-select__val--ph { color: var(--text-placeholder); }
.v-dd__native { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none; z-index: -1; }
.v-dd:not([data-disabled]):hover { background: var(--surface-hover); box-shadow: 0 0 0 1px var(--border-blend-hover); }
.v-dd:has(.v-dd__btn:focus-visible), .v-dd:has(.v-dd__btn[aria-expanded="true"]) { box-shadow: var(--shadow-focus-combobox); }
.v-dd[data-disabled] .v-dd__btn { color: var(--gray-700); cursor: not-allowed; }
.v-dd[data-invalid]:not(:has(.v-dd__btn:focus-visible)) { box-shadow: var(--shadow-focus-field-error); }
.v-select--bare.v-dd { box-shadow: none; background: none; }
.v-select--bare.v-dd:hover { background: var(--surface-hover); box-shadow: none; }
.v-select--bare .v-dd__btn { font-weight: 500; padding: 0 28px 0 4px; }
.v-select--bare .v-dd__btn > svg { right: 4px; }
.v-joined .v-dd:hover { box-shadow: none; }
/* ältere Felder (el-field--select mit data-v-dd-legacy): gleicher Knopf, der alte Pfeil entfällt */
.v-dd--legacy { padding: 0; }
.v-dd--legacy > svg { display: none; }
.v-dd--legacy[data-disabled] { background: var(--surface-hover); }
.v-combo { height: 36px; width: 240px; max-width: 100%; border-radius: var(--radius-sm); background: var(--surface-card); display: flex; position: relative; }
.v-combo input { width: 100%; height: 100%; border: 0; outline: 0; border-radius: var(--radius-inner); background: transparent; padding: 0 36px; font: var(--type-label-14); color: var(--text-primary); box-shadow: 0 0 0 1px var(--border-default); transition: box-shadow var(--motion-base) var(--ease-standard); }
.v-combo input::placeholder { color: var(--text-placeholder); opacity: 1; }
.v-combo input:focus { box-shadow: var(--shadow-focus-combobox); }
.v-combo__lead, .v-combo__chev { position: absolute; top: 10px; pointer-events: none; color: var(--text-secondary); }
.v-combo__lead { left: 12px; } .v-combo__chev { right: 12px; }
.v-joined { display: inline-flex; height: 36px; border-radius: var(--radius-sm); background: var(--surface-card); box-shadow: 0 0 0 1px var(--border-blend); max-width: 100%; }
.v-joined__box { width: 36px; display: grid; place-items: center; border-right: 1px solid var(--border-default); color: var(--text-secondary); flex: none; }
.v-joined .v-select { box-shadow: none; background: none; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.v-joined .v-select:focus-within { box-shadow: var(--shadow-focus-field); }
/* Auswahlfeld mit Symbol vorn (v.pick; Vorbild: Erfassung Logs/Traces): Feld 36, Symbolzelle 36, Text 14, Pfeil 16 rechts 12 */
.v-pick { width: 251px; }
.v-pick--full { width: 100%; }
.v-pick__btn { flex: 1 1 auto; display: flex; align-items: center; gap: var(--space-2); min-width: 0; height: 100%; padding: 0 var(--space-3) 0 10px; border: 0; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: transparent; color: var(--text-primary); font: var(--type-label-14); text-align: left; cursor: pointer; }
/* v.pick = v.dropdown im Uhr-Kasten: das Feld füllt den Rest, gesperrt grau wie v.dropdown */
.v-pick > .v-dd { flex: 1 1 auto; min-width: 0; height: 100%; }
.v-pick:has(.v-dd[data-disabled]) { background: var(--surface-hover); }
.v-pick__t { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v-pick__btn > .v-i { flex: none; color: var(--text-secondary); transition: rotate var(--motion-medium) var(--ease-plain); }
.v-pick__btn[aria-expanded="true"] > .v-i { rotate: 180deg; }
.v-pick__btn:focus-visible { outline: 0; box-shadow: var(--shadow-focus-field); }
.v-pick:has(.v-pick__btn[aria-disabled="true"]) { background: var(--surface-hover); }
.v-pick__btn[aria-disabled="true"] { color: var(--gray-700); cursor: not-allowed; }

/* ------------------------------------------------------------ 4 Auswahl */
.v-check { display: inline-flex; align-items: center; gap: 8px; position: relative; cursor: pointer; font: var(--type-label-14); color: var(--text-primary); }
.v-check input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: inherit; width: 100%; height: 100%; }
.v-check__mark { width: var(--size-checkbox); height: var(--size-checkbox); flex: none; border-radius: var(--radius-xs); border: 1px solid var(--gray-700); background: var(--surface-card); display: grid; place-items: center; transition: background-color var(--motion-medium) var(--ease-standard), border-color var(--motion-medium) var(--ease-standard); }
.v-check__mark svg { width: 16px; height: 16px; fill: none; stroke: var(--surface-card); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.v-check input:checked + .v-check__mark, .v-check input:indeterminate + .v-check__mark { background: var(--gray-1000); border-color: var(--gray-1000); }
.v-check input:checked + .v-check__mark svg { opacity: 1; }
.v-check input:indeterminate + .v-check__mark::after { content: ""; width: 8px; height: 2px; border-radius: 1px; background: var(--surface-card); }
.v-check input:focus-visible + .v-check__mark { box-shadow: var(--focus-ring); }
.v-check input:disabled + .v-check__mark { background: var(--gray-100); border-color: var(--gray-500); }
.v-check input:disabled:checked + .v-check__mark { background: var(--gray-600); border-color: var(--gray-600); }
.v-check:has(input:disabled) { cursor: not-allowed; color: var(--gray-700); }
.v-check--radio .v-check__mark { border-radius: var(--radius-full); }
.v-check--radio .v-check__mark::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--surface-card); opacity: 0; }
.v-check--radio input:checked + .v-check__mark::after { opacity: 1; }
.v-toggle { display: inline-flex; align-items: center; gap: 8px; position: relative; cursor: pointer; font: var(--type-label-13); color: var(--text-secondary); }
.v-toggle input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: inherit; width: 100%; height: 100%; }
.v-toggle__track { width: 40px; height: 24px; border-radius: var(--radius-toggle); background: var(--toggle-track); position: relative; flex: none; transition: background-color var(--motion-base) var(--ease-out); }
.v-toggle__track::after { content: ""; position: absolute; left: 1.5px; top: 1.5px; width: 21px; height: 21px; border-radius: 50%; background: var(--text-on-fill); transition: transform var(--motion-base) ease-in-out; }
.v-toggle input:checked + .v-toggle__track { background: var(--toggle-on); }
.v-toggle input:checked + .v-toggle__track::after { transform: translateX(16px); }
.v-toggle input:focus-visible + .v-toggle__track { box-shadow: var(--focus-ring); }
.v-toggle input:disabled + .v-toggle__track::after { background: var(--surface-page); }
.v-toggle input:disabled:checked + .v-toggle__track { background: var(--gray-500); }
.v-toggle:has(input:disabled) { cursor: not-allowed; }
.v-toggle--sm .v-toggle__track { width: var(--size-toggle-sm-w); height: 14px; } .v-toggle--sm .v-toggle__track::after { width: 11px; height: 11px; } .v-toggle--sm input:checked + .v-toggle__track::after { transform: translateX(14px); }
.v-seg { display: inline-flex; height: 36px; padding: 4px; border-radius: var(--radius-sm); background: var(--surface-card); box-shadow: 0 0 0 1px var(--border-blend); flex: none; max-width: 100%; }
.v-seg label { position: relative; height: 28px; padding: 0 12px; border-radius: var(--radius-xs); display: inline-flex; align-items: center; gap: 6px; font: var(--type-button-14); color: var(--text-secondary); cursor: pointer; white-space: nowrap; transition: background-color var(--motion-base) var(--ease-standard), color var(--motion-base) var(--ease-standard); }
.v-seg input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.v-seg label:has(input:checked) { background: var(--surface-hover); color: var(--text-primary); }
.v-seg label:has(input:focus-visible) { box-shadow: var(--focus-ring); }
.v-seg label:has(input:disabled) { color: var(--gray-700); cursor: not-allowed; }
.v-seg--sm { height: 32px; } .v-seg--sm label { height: 24px; padding: 0 8px; }
.v-seg--icons label { padding: 0; width: 28px; justify-content: center; } .v-seg--icons.v-seg--sm label { width: 24px; }
.v-choice { position: relative; display: flex; gap: 12px; padding: 12px; border-radius: var(--radius-sm); background: var(--surface-card); box-shadow: 0 0 0 1px var(--border-blend); cursor: pointer; transition: box-shadow var(--motion-base) var(--ease-standard); color: var(--text-secondary); }
.v-choice:has(input:checked) { box-shadow: 0 0 0 1px var(--gray-1000); }
.v-choice .v-check { align-self: flex-start; margin-top: 2px; position: static; }
.v-choice__t { color: var(--text-primary); font-weight: 500; }

/* ------------------------------------------------------------ 5 Reiter */
.v-tabs { display: flex; gap: 24px; box-shadow: inset 0 -1px var(--border-default); overflow-x: auto; scrollbar-width: none; }
.v-tabs::-webkit-scrollbar { display: none; }
.v-tab { height: var(--size-tab); padding: 14px 2px; border: 0; border-bottom: 2px solid transparent; background: none; font: var(--type-label-14); color: var(--text-secondary); cursor: pointer; white-space: nowrap; flex: none; transition: color var(--motion-base) var(--ease-standard); display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.v-tab[aria-selected="true"], .v-tab[aria-current="page"] { color: var(--text-primary); border-bottom-color: var(--text-primary); }
.v-tab:focus-visible { outline: 0; box-shadow: var(--focus-ring); }
.v-tabs--boxed { gap: 1px; box-shadow: none; }
.v-tabs--boxed .v-tab { height: var(--size-tab-boxed); padding: 0 12px; border: 0; border-radius: var(--radius-sm); font: var(--type-label-13); transition: color var(--motion-base) var(--ease-standard), background-color var(--motion-base) var(--ease-standard); }
.v-tabs--boxed .v-tab[aria-selected="true"], .v-tabs--boxed .v-tab[aria-current="page"] { background: var(--surface-active); }
.v-tabbar { position: sticky; top: var(--size-topbar); z-index: calc(var(--z-topbar) - 1); height: var(--size-tabbar); padding: 0 16px; background: var(--surface-page); border-bottom: 1px solid var(--border-frame); display: flex; align-items: flex-start; gap: 1px; overflow-x: auto; scrollbar-width: none; --focus-ring-surface: var(--surface-page); }
.v-tabbar::-webkit-scrollbar { display: none; }
.v-tabbar a, .v-tabbar button { height: 32px; padding: 0 12px; border: 0; background: none; border-radius: var(--radius-sm); display: inline-flex; align-items: center; gap: 6px; font: var(--type-nav-item); color: var(--text-secondary); white-space: nowrap; cursor: pointer; flex: none; text-decoration: none; transition: background-color var(--motion-base) var(--ease-standard), color var(--motion-base) var(--ease-standard); }
.v-tabbar [aria-current="page"], .v-tabbar [aria-selected="true"] { background: var(--surface-active); color: var(--text-primary); }
.v-tabbar a:focus-visible, .v-tabbar button:focus-visible { outline: 0; box-shadow: var(--focus-ring); }
.v-crumbs { display: flex; align-items: center; gap: 8px; font: var(--type-label-14); color: var(--text-secondary); min-width: 0; }
.v-crumbs a { color: var(--text-secondary); text-decoration: none; } .v-crumbs [aria-current] { color: var(--text-primary); } .v-crumbs__sep { color: var(--gray-600); }
.v-backlink { display: inline-flex; align-items: center; gap: 6px; color: var(--text-secondary); font: var(--type-label-14); text-decoration: none; border-radius: 2px; align-self: flex-start; }
.v-backlink:focus-visible { outline: var(--focus-outline); outline-offset: 3px; }
.v-pager { height: var(--size-table-foot); padding: 0 12px 0 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--text-secondary); font: var(--type-label-14); }
.v-pager__pg { display: flex; align-items: center; gap: 8px; }
.v-pager__of { font: var(--type-label-12); color: var(--text-secondary); margin-right: 8px; }
.v-pgbtn { width: 24px; height: 24px; border: 0; border-radius: var(--radius-xs); background: var(--surface-hover); box-shadow: 0 0 0 1px var(--border-blend); color: var(--text-primary); display: grid; place-items: center; cursor: pointer; transition: background-color var(--motion-base) var(--ease-standard); text-decoration: none; }
.v-pgbtn:disabled, .v-pgbtn[aria-disabled="true"] { color: var(--gray-700); cursor: not-allowed; }
.v-pgbtn:focus-visible { outline: 0; box-shadow: var(--focus-ring); }
.v-acc { background: var(--surface-card); border-radius: var(--radius-sm); box-shadow: var(--shadow-small); overflow: hidden; --focus-ring-surface: var(--surface-card); }
.v-acc__head { width: 100%; height: 56px; padding: 0 16px; border: 0; border-bottom: 1px solid var(--border-blend); background: none; display: flex; align-items: center; gap: 12px; cursor: pointer; text-align: left; font: var(--type-nav-item); color: var(--text-primary); }
.v-acc > :last-child { border-bottom: 0; }
.v-acc__end { margin-left: auto; display: flex; align-items: center; gap: 12px; font-weight: 400; color: var(--text-secondary); }
.v-acc__head[aria-expanded="true"] .m-chevron-side { rotate: 90deg; }
.v-acc__head:focus-visible { outline: var(--focus-outline); outline-offset: -2px; }
.v-acc__body { background: var(--surface-page); border-bottom: 1px solid var(--border-blend); padding: 16px; }

/* ------------------------------------------------------------ 6 Tabelle und Liste */
/* Verwaltungs-Form nach PLAN 7.2: Kopf 36, Zeile 48; --compact Kopf 36, Zeile 40; --stream Zeile 31 (Datenstrom).
   Alle Zellen 8 seitlich (DESIGN 6.6). Anklickbare Zeile: die Trefferfläche .v-table__hit liegt über der ganzen Zeile
   (tr position: relative), Fokus und Hover füllen die Zellen mit surface-hover (6.6, C27/C35). */
.v-table { position: relative; background: var(--surface-card); border: 1px solid var(--border-default); border-radius: var(--radius-sm); overflow: hidden; --focus-ring-surface: var(--surface-card); color: var(--text-primary); }
.v-table__scroll { overflow-x: auto; }
.v-table table { width: 100%; border-collapse: collapse; font: var(--type-label-14); color: var(--text-primary); }
.v-table th { height: var(--size-row-table-head); padding: 0 8px; background: var(--surface-page); border-bottom: 1px solid var(--border-default); text-align: left; font: var(--type-table-head); color: var(--text-secondary); white-space: nowrap; }
.v-table th > button { height: 36px; margin: 0 -8px; padding: 0 8px; border: 0; background: none; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; font: inherit; color: inherit; }
.v-table th > button:focus-visible { outline: var(--focus-outline); outline-offset: -2px; }
.v-table th[aria-sort="ascending"] > button, .v-table th[aria-sort="descending"] > button { color: var(--text-primary); }
.v-sortmark { width: 12px; height: 12px; border-radius: 50%; background: var(--gray-alpha-200); display: grid; place-items: center; color: var(--text-secondary); }
.v-sortmark svg { width: 8px; height: 8px; }
.v-table td { height: var(--size-row-table-admin); padding: 0 8px; border-bottom: 1px solid var(--border-default); white-space: nowrap; transition: background-color var(--motion-fast) var(--ease-standard); position: relative; }
.v-table tbody tr:last-child td { border-bottom: 0; }
.v-table td[data-align="end"], .v-table th[data-align="end"] { text-align: right; font-variant-numeric: tabular-nums; }
.v-table td[data-wrap] { white-space: normal; }
/* Status mit Dauer in einer umbrechenden Spalte: die Dauer steht unter dem Wort, eingerückt bis hinter den Punkt (DESIGN 5.5: kein waagerechtes Rollen) */
.v-table td[data-wrap] .v-status { flex-wrap: wrap; row-gap: 0; }
.v-table td[data-wrap] .v-status__dur { flex-basis: 100%; padding-left: calc(var(--size-status-dot) + 8px); font: var(--type-label-13); }
.v-table td[data-mono] { font: var(--type-label-13-mono); font-feature-settings: "liga" 0, "calt" 0; }
.v-table td[data-muted] { color: var(--text-secondary); }
.v-table__cell { display: flex; align-items: center; gap: 8px; min-width: 0; }
.v-table td[data-align="end"] .v-table__cell { justify-content: flex-end; }
.v-table tr[aria-selected="true"] td { background: var(--surface-row-highlight); }
.v-table tbody tr:has(> td > .v-table__hit) { position: relative; }
.v-table tbody tr:has(> td > .v-table__hit) > td { position: static; }
.v-table__hit { position: absolute; inset: 0; z-index: 1; border-radius: 0; }
.v-table__hit:focus-visible { outline: var(--focus-outline); outline-offset: -2px; }
.v-table tbody tr:has(> td > .v-table__hit:focus-visible) > td, .v-table tbody tr:has(> td > .v-table__hit:active) > td { background: var(--surface-hover); transition: none; }
.v-table td .v-btn, .v-table td button, .v-table td a:not(.v-table__hit) { position: relative; z-index: 2; }
.v-table__foot { border-top: 1px solid var(--border-default); background: var(--surface-card); }
.v-table__empty { min-height: 240px; display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--text-secondary); padding: 16px; text-align: center; }
.v-table--compact { border: 0; background: none; border-radius: 0; }
.v-table--compact th { background: none; padding: 0 8px; }
.v-table--compact td { height: var(--size-row-table); padding: 0 8px; border-bottom: 0; color: var(--text-secondary); }
.v-table--compact td:first-child { color: var(--text-primary); font-weight: 500; }
.v-table--compact td[data-mono]:first-child { font-weight: 400; } /* label-13-mono bleibt 13/20/400 (DESIGN 4.2) */
.v-table--compact[data-lined] td { border-bottom: 1px solid var(--border-default); } .v-table--compact[data-lined] tr:last-child td { border-bottom: 0; }
.v-table--stream td { height: 31px; padding: 0 8px; border-bottom: 0; font: var(--type-label-13-mono); font-feature-settings: "liga" 0, "calt" 0; }
.v-table--stream tbody tr:nth-child(odd) td { background: var(--log-row-alt); }
.v-table--stream tr[data-tone="warning"] td { background: var(--log-row-warning); } .v-table--stream tr[data-tone="error"] td { background: var(--log-row-error); color: var(--danger-text); }
.v-databar { position: relative; height: 24px; min-width: 120px; display: flex; align-items: center; }
.v-databar i { position: absolute; left: 0; top: 0; height: 100%; border-radius: var(--radius-xs); background: var(--data-bar); }
.v-databar span { position: relative; padding: 0 4px; }
.v-list { background: var(--surface-card); border: 1px solid var(--border-default); border-radius: var(--radius-sm); overflow: hidden; --focus-ring-surface: var(--surface-card); }
.v-list__head { min-height: 58px; padding: 0 16px; background: var(--surface-page); border-bottom: 1px solid var(--border-default); display: flex; align-items: center; gap: 12px; }
.v-lrow { position: relative; min-height: 47px; border-bottom: 1px solid var(--border-default); padding: 0 12px; display: flex; align-items: center; gap: 16px; color: var(--text-primary); transition: background-color var(--motion-base) var(--ease-standard); }
.v-list > .v-lrow:last-child { border-bottom: 0; }
.v-lrow__hit { position: absolute; inset: 0; z-index: 1; }
.v-lrow__hit:focus-visible { outline: var(--focus-outline); outline-offset: -2px; }
.v-lrow:has(> .v-lrow__hit:focus-visible), .v-lrow:has(> .v-lrow__hit:active) { background: var(--surface-hover); transition: none; }
.v-lrow__cell { display: flex; align-items: center; gap: 8px; min-width: 0; }
.v-lrow__cell--end { margin-left: auto; justify-content: flex-end; color: var(--text-secondary); }
.v-lrow__cell--stack { flex-direction: column; align-items: flex-start; gap: 0; flex: 1; }
.v-lrow .v-btn, .v-lrow button { position: relative; z-index: 2; }
.v-lrow--two { min-height: 71px; padding: 0 16px; }
.v-lrow__name { font-weight: 500; color: var(--text-primary); } .v-lrow--two .v-lrow__name { font-weight: 600; }
.v-lrow__sub { color: var(--text-secondary); font: var(--type-label-13); }
.v-iconcircle { width: 30px; height: 30px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--border-blend); display: grid; place-items: center; color: var(--text-secondary); flex: none; }
.v-code { font: var(--type-mono-code); font-feature-settings: "liga" 0, "calt" 0; color: var(--text-primary); background: var(--surface-page); border: 1px solid var(--border-default); border-radius: var(--radius-sm); padding: 10px 12px; overflow-x: auto; white-space: pre; position: relative; display: flex; align-items: flex-start; gap: 8px; }
.v-code > code { flex: 1; min-width: 0; font: inherit; }
.v-code--inline { display: inline; padding: 1px 5px; border-radius: var(--radius-xs); white-space: normal; }
.v-copy { position: relative; display: inline-flex; align-items: center; gap: 6px; max-width: 100%; border: 0; background: none; padding: 0; color: var(--text-primary); cursor: pointer; border-radius: var(--radius-xs); font: var(--type-label-13-mono); }
/* sichtbares Ziel unter 24: Trefferfläche mindestens 24 hoch und 24 breit (DESIGN 5.2) */
.v-copy::after { content: ""; position: absolute; left: 50%; top: 50%; width: max(100%, 24px); height: max(100%, 24px); transform: translate(-50%, -50%); }
.v-copy svg { color: var(--text-secondary); }
.v-copy:focus-visible { outline: 0; box-shadow: var(--focus-ring); }

/* ------------------------------------------------------------ 7 Karte und Kennzahl */
.v-card { position: relative; background: var(--surface-card); border-radius: var(--radius-sm); box-shadow: var(--shadow-small); padding: var(--space-card-padding); display: flex; flex-direction: column; gap: 12px; --focus-ring-surface: var(--surface-card); min-width: 0; color: var(--text-secondary); }
.v-card--base { box-shadow: var(--shadow-border); }
.v-card--flush { padding: 0; gap: 0; overflow: hidden; }
.v-card__header { min-height: var(--size-card-header); flex: none; padding: 12px 12px 12px 16px; display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--text-primary); }
.v-card__title { font: var(--type-nav-item); color: var(--text-primary); display: flex; align-items: center; gap: 8px; min-width: 0; }
.v-card__title .v-muted { font-weight: 400; }
.v-card__header--page { min-height: 56px; padding: 0 16px; border-bottom: 1px solid var(--border-default); }
.v-card__body { padding: 0 16px 16px; display: flex; flex-direction: column; gap: 12px; flex: 1; min-height: 0; }
.v-card__header--page + .v-card__body { padding-top: 16px; }
.v-card__foot { min-height: 48px; flex: none; padding: 8px 16px; background: var(--surface-page); border-top: 1px solid var(--border-default); display: flex; align-items: center; justify-content: space-between; gap: 12px; --focus-ring-surface: var(--surface-page); }
a.v-card { text-decoration: none; transition: box-shadow var(--motion-base) var(--ease-standard); }
a.v-card:focus-visible { outline: 0; box-shadow: var(--focus-ring); }
.v-tile { height: 64px; padding: 0 16px; border-radius: var(--radius-sm); background: var(--surface-card); box-shadow: 0 0 0 1px var(--border-blend); display: flex; flex-direction: column; justify-content: center; position: relative; color: var(--text-secondary); transition: box-shadow var(--motion-base) var(--ease-standard); min-width: 0; text-decoration: none; }
.v-tile b { font-weight: 500; color: var(--text-primary); }
.v-tile:focus-visible { outline: 0; box-shadow: var(--focus-ring); }
.v-fieldset { background: var(--surface-card); border-radius: var(--radius-sm); box-shadow: var(--shadow-border); overflow: hidden; max-width: var(--size-content-compact); --focus-ring-surface: var(--surface-card); color: var(--text-secondary); }
.v-fieldset__body { padding: var(--space-fieldset-padding); display: flex; flex-direction: column; gap: 12px; }
.v-fieldset h3, .v-fieldset h4 { font: var(--type-heading-20); letter-spacing: var(--type-heading-20-tracking); color: var(--text-primary); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.v-fieldset__body > p { color: var(--text-primary); }
.v-fieldset__foot { min-height: var(--size-modal-footer); padding: 12px 12px 12px 20px; background: var(--surface-page); border-top: 1px solid var(--border-default); display: flex; align-items: center; justify-content: space-between; gap: 12px; --focus-ring-surface: var(--surface-page); }
.v-fieldset--danger { box-shadow: none; border: 1px solid var(--danger-border); }
.v-fieldset--danger .v-fieldset__foot { background: var(--danger-surface); border-top-color: var(--danger-border); justify-content: flex-end; }
.v-fieldset[data-locked] .v-fieldset__body { color: var(--text-secondary); }
.v-fieldset .v-select { width: auto; min-width: 215px; }
.v-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; }
.v-fact { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.v-fact dt { color: var(--text-secondary); } .v-fact dd { color: var(--text-primary); font-weight: 500; display: flex; align-items: center; gap: 8px; min-height: 20px; min-width: 0; }
.v-facts--lined { padding: 16px 0; border-block: 1px solid var(--border-default); }
.v-facts--lined .v-fact dt { font: var(--type-label-13); } .v-facts--lined .v-fact dd { font-weight: 400; }
.v-kpi { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.v-kpi__label { color: var(--text-secondary); display: flex; align-items: center; gap: 6px; }
.v-kpi__value { font: var(--type-heading-24); letter-spacing: var(--type-heading-24-tracking); color: var(--text-primary); font-variant-numeric: tabular-nums; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.v-kpi__value small { font: var(--type-label-14); letter-spacing: normal; color: var(--text-secondary); font-weight: 400; }
.v-kpi__sub { font: var(--type-label-13); color: var(--text-secondary); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.v-kpi--sm .v-kpi__value { font: 500 14px/16px var(--font-sans); letter-spacing: normal; }
.v-usage { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.v-usage__line { display: flex; align-items: center; gap: 8px; min-height: 20px; }
.v-usage__name { flex: 1; color: var(--text-primary); min-width: 0; } .v-usage__val { color: var(--text-primary); font-variant-numeric: tabular-nums; } .v-usage__lim { color: var(--text-secondary); font-variant-numeric: tabular-nums; }
.v-usage__bar { height: 4px; border-radius: var(--radius-full); background: var(--usage-bar-track); overflow: hidden; }
.v-usage__bar i { display: block; height: 100%; border-radius: var(--radius-full); background: var(--usage-bar-fill); }
.v-usage[data-tone="warning"] .v-usage__bar i { background: var(--amber-700); } .v-usage[data-tone="danger"] .v-usage__bar i { background: var(--red-700); }

/* ------------------------------------------------------------ 8 Abzeichen und Status */
.v-badge { display: inline-flex; align-items: center; gap: 4px; height: var(--size-badge-md); padding: 0 12px; border-radius: var(--radius-full); white-space: nowrap; font: var(--type-badge-12); letter-spacing: normal; font-variant-numeric: tabular-nums; background: var(--badge-gray); color: var(--text-on-fill); flex: none; }
.v-badge:has(svg) { padding-left: 8px; }
.v-badge--sm { height: var(--size-badge-sm); padding: 0 8px; font: var(--type-badge-11); letter-spacing: var(--type-badge-11-tracking); }
.v-badge--sm:has(svg) { padding-left: 6px; }
.v-badge--blue { background: var(--badge-blue); } .v-badge--purple { background: var(--badge-purple); } .v-badge--red { background: var(--badge-red); }
.v-badge--amber { background: var(--badge-amber); color: var(--text-on-warning-fill); } .v-badge--green { background: var(--badge-green); } .v-badge--teal { background: var(--badge-teal); }
.v-badge--subtle.v-badge--gray, .v-badge--subtle { background: var(--badge-subtle-gray); color: var(--gray-1000); }
.v-badge--subtle.v-badge--blue { background: var(--badge-subtle-blue); color: var(--blue-900); } .v-badge--subtle.v-badge--green { background: var(--badge-subtle-green); color: var(--green-900); }
.v-badge--subtle.v-badge--amber { background: var(--badge-subtle-amber); color: var(--amber-900); } .v-badge--subtle.v-badge--red { background: var(--badge-subtle-red); color: var(--red-900); }
.v-badge--subtle.v-badge--purple { background: var(--badge-subtle-purple); color: var(--purple-900); } .v-badge--subtle.v-badge--teal { background: var(--badge-subtle-teal); color: var(--teal-900); }
.v-badge--outline { background: var(--surface-card); color: var(--text-primary); box-shadow: inset 0 0 0 1px var(--border-default); }
.v-badge[tabindex] { outline: 0; cursor: default; }
.v-badge[tabindex]:focus-visible { box-shadow: var(--focus-ring); transition: none; }
.v-badge--count { min-width: 20px; height: 20px; padding: 0 6px; justify-content: center; font: var(--type-label-12); font-weight: 500; }
.v-status { display: inline-flex; align-items: center; gap: 8px; font: 500 14px/20px var(--font-sans); color: var(--text-primary); white-space: nowrap; }
.v-status::before { content: ""; width: var(--size-status-dot); height: var(--size-status-dot); border-radius: 50%; background: var(--status-neutral); flex: none; }
.v-status[data-tone="progress"]::before { background: var(--status-progress); animation: skeleton-pulse var(--loop-pulse, 2s) ease-in-out infinite; }
.v-status[data-tone="ready"]::before { background: var(--status-ready); } .v-status[data-tone="error"]::before { background: var(--status-error); } .v-status[data-tone="canceled"]::before { background: var(--status-canceled); }
.v-status[data-tone="warning"]::before { background: var(--amber-700); }
.v-status__dur { font-weight: 400; color: var(--text-secondary); font-variant-numeric: tabular-nums; }
.v-status--dot { gap: 0; }
.v-avatar { width: 20px; height: 20px; border-radius: var(--radius-full); background: var(--surface-active); box-shadow: inset 0 0 0 1px var(--border-blend); display: grid; place-items: center; font: var(--type-badge-11); letter-spacing: normal; color: var(--text-primary); flex: none; }
.v-avatar--lg { width: 32px; height: 32px; font: 500 12px/16px var(--font-sans); }
.v-age { color: var(--text-secondary); font: var(--type-label-13); display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }

/* ------------------------------------------------------------ 9 Hinweis, leer, lädt, Fehler, gesperrt */
.v-note { min-height: var(--size-note); padding: 6px 12px; border-radius: var(--radius-sm); border: 1px solid var(--gray-400); color: var(--gray-900); font: var(--type-label-14); display: flex; align-items: center; gap: 12px; }
.v-note__ico { height: 20px; display: flex; align-items: center; align-self: flex-start; margin-top: 1px; }
.v-note__c { flex: 1; min-width: 0; } .v-note b { font-weight: 600; margin-right: 4px; } .v-note a:not(.v-btn) { color: inherit; font-weight: 500; text-decoration: underline; }
.v-note[data-action] { min-height: 46px; padding-right: 8px; } .v-note[data-action] .v-note__ico { margin-top: 6px; }
.v-note[data-tone="info"] { border-color: var(--info-border); color: var(--info-text); } .v-note[data-tone="danger"] { border-color: var(--danger-border); color: var(--danger-text); }
.v-note[data-tone="warning"] { border-color: var(--warning-border); color: var(--warning-text); } .v-note[data-tone="success"] { border-color: var(--success-border); color: var(--success-text); }
.v-note[data-filled] { background: var(--gray-alpha-200); border-color: transparent; }
.v-note[data-filled][data-tone="info"] { background: var(--info-surface-filled); border-color: var(--info-surface); } .v-note[data-filled][data-tone="warning"] { background: var(--warning-surface-filled); border-color: var(--warning-surface); }
.v-note[data-filled][data-tone="danger"] { background: var(--danger-surface-filled); border-color: var(--danger-surface); } .v-note[data-filled][data-tone="success"] { background: var(--success-surface-filled); border-color: var(--success-surface); }
.v-banner, .v-band__item { min-height: 40px; padding: 8px 16px; display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; background: var(--warning-surface-filled); color: var(--warning-text); border-bottom: 1px solid var(--warning-border); font: var(--type-label-14); }
.v-banner[data-tone="danger"], .v-band__item[data-tone="danger"] { background: var(--danger-surface-filled); color: var(--danger-text); border-color: var(--danger-border); }
.v-banner[data-tone="info"], .v-band__item[data-tone="info"] { background: var(--info-surface-filled); color: var(--info-text); border-color: var(--info-border); }
.v-banner a:not(.v-btn), .v-band__item a:not(.v-btn) { color: inherit; font-weight: 500; text-decoration: underline; }
.v-empty { border: 1px solid var(--border-frame); border-radius: var(--radius-md); background: var(--surface-card); padding: 48px 70px; display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; --focus-ring-surface: var(--surface-card); color: var(--text-secondary); }
.v-empty__ibox { width: 54px; height: 54px; padding: 10px; border-radius: var(--radius-md); border: 1px solid var(--border-blend); color: var(--text-secondary); display: grid; place-items: center; }
.v-empty__ibox svg { width: 32px; height: 32px; }
.v-empty__txt { display: flex; flex-direction: column; gap: 8px; align-items: center; }
.v-empty h3 { font: var(--type-empty-title); letter-spacing: var(--type-empty-title-tracking); color: var(--text-primary); max-width: var(--size-text-measure); text-wrap: balance; }
.v-empty p { max-width: var(--size-text-measure); text-wrap: balance; }
.v-empty__actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.v-empty--card { border: 0; background: none; padding: 16px; gap: 12px; flex: 1; justify-content: center; }
.v-empty--card .v-empty__ibox { width: 32px; height: 32px; padding: 7px; border-radius: var(--radius-md); }
.v-empty--card .v-empty__ibox svg { width: 16px; height: 16px; }
.v-empty--card h3 { font: var(--type-nav-item); letter-spacing: normal; }
.v-empty--card .v-empty__txt { gap: 4px; }
.v-empty--line { border: 0; background: none; padding: 16px; min-height: 240px; flex-direction: row; justify-content: center; gap: 8px; }
.v-error { border: 1px solid var(--danger-border); border-radius: var(--radius-md); background: var(--surface-card); padding: 32px 24px; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; --focus-ring-surface: var(--surface-card); color: var(--text-secondary); }
.v-error__ibox { width: 40px; height: 40px; border-radius: var(--radius-xs); display: grid; place-items: center; color: var(--danger-text); box-shadow: 0 0 0 1px var(--danger-border); }
.v-error__ibox svg { width: 20px; height: 20px; }
.v-error h3 { font: var(--type-empty-title); letter-spacing: var(--type-empty-title-tracking); color: var(--text-primary); max-width: var(--size-text-measure); text-wrap: balance; }
.v-error p { max-width: 420px; text-wrap: balance; }
.v-error__id { display: inline-flex; align-items: center; gap: 8px; font: var(--type-label-13); color: var(--text-secondary); }
.v-error--card { border: 0; padding: 16px; gap: 12px; flex: 1; justify-content: center; background: none; }
.v-locked { position: relative; border-radius: var(--radius-sm); overflow: hidden; min-height: 160px; }
.v-locked__behind { opacity: 0.25; filter: blur(2px); pointer-events: none; user-select: none; }
.v-locked__over { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; color: var(--text-primary); padding: 16px; }
.v-locked__over > strong { font: var(--type-label-14); font-weight: 500; color: var(--text-primary); }
.v-locked__over p { color: var(--text-secondary); max-width: var(--size-text-measure); text-wrap: balance; }
.v-locked--plain { border: 1px solid var(--border-frame); border-radius: var(--radius-md); background: var(--surface-card); }
.v-skel { display: block; border-radius: var(--radius-inner); position: relative; overflow: hidden; background: var(--gray-100); height: 16px; }
.v-skel::after { content: ""; position: absolute; inset: 0 -200% 0 0; background: linear-gradient(90deg, var(--gray-100), var(--gray-200), var(--gray-100)) 0 0 / 50% 100% repeat-x; animation: skeleton-sweep var(--loop-skeleton) ease-in-out infinite reverse; }
.v-skel--pill { border-radius: var(--radius-full); } .v-skel--circle { border-radius: 50%; }
.v-skelbox { display: flex; flex-direction: column; gap: 12px; }
.v-skelrow { display: flex; align-items: center; gap: 16px; min-height: 48px; padding: 0 12px; border-bottom: 1px solid var(--border-default); }
.v-skelrow:last-child { border-bottom: 0; }
.v-mount { min-width: 0; }
.v-mount[data-state="loading"] > .v-mount__late { visibility: hidden; }
.v-mount[data-state="loading"][data-slow] > .v-mount__late { visibility: visible; }
.v-progress { appearance: none; -webkit-appearance: none; border: 0; height: 10px; width: 100%; border-radius: var(--radius-sm); background: var(--viz-track-solid); overflow: hidden; display: block; }
.v-progress::-webkit-progress-bar { background: var(--viz-track-solid); }
.v-progress::-webkit-progress-value { background: var(--gray-1000); border-radius: var(--radius-sm); }
.v-progress::-moz-progress-bar { background: var(--gray-1000); }
.v-errline { display: flex; align-items: center; gap: 8px; color: var(--danger-text); }

/* ------------------------------------------------------------ 10 Overlays (Bewegung: motion.css) */
/* Pop-up am Objekt (v.popover; Karte, Bild): Tafel der Bibliothek (menu/popover: Fläche Karte, Radius 12, shadow-menu,
   Ring als erste Schattenschicht), Breite 320, nicht sperrend, ohne Schleier; auf sofort, zu 200 ms (m-popover). */
.v-pop { position: fixed; z-index: var(--z-drawer); width: 320px; max-width: calc(100vw - 16px); max-height: min(480px, calc(100dvh - 16px)); display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius-lg); background: var(--surface-card); box-shadow: var(--shadow-menu); outline: 0; --focus-ring-surface: var(--surface-card); }
.v-pop__head { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--space-2); padding: var(--space-3) var(--space-2) var(--space-2) var(--space-4); }
.v-pop__title { min-width: 0; }
.v-pop__title h2 { margin: 0; font: var(--type-heading-14); color: var(--text-primary); overflow-wrap: anywhere; }
.v-pop__meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); margin-top: var(--space-1); font: var(--type-label-13); color: var(--text-secondary); }
.v-pop__body { flex: 1 1 auto; min-height: 0; overflow: auto; padding: 0 var(--space-4) var(--space-3); font: var(--type-label-13); color: var(--text-secondary); }
.v-pop__foot { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); padding: var(--space-2) var(--space-3); border-top: 1px solid var(--border-default); }
/* Auslöser eines offenen Pop-ups (v.dialog o.from): bleibt als gewählt erkennbar */
[data-v-from], tr[data-v-from] > td { background: var(--surface-selected); }
.v-menu { position: fixed; z-index: var(--z-menu); min-width: var(--size-menu); width: var(--size-menu-app); max-width: calc(100vw - 16px); max-height: min(420px, calc(100dvh - 16px)); overflow-y: auto; padding: var(--space-popover-padding); border-radius: var(--radius-lg); background: var(--surface-card); box-shadow: var(--shadow-menu); border: 0; outline: 0; --focus-ring-surface: var(--surface-card); }
.v-menu--wide { width: var(--size-menu-wide); }
.v-menu[role="listbox"]:not(.v-menu--wide):not(.v-menu--sheet), .v-menu[role="dialog"]:not(.v-menu--wide):not(.v-menu--sheet) { width: auto; max-width: min(300px, calc(100vw - 16px)); }
.v-menu [role="option"] .v-grow > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
.v-menu__foot { margin: 6px -6px -6px; padding: 6px; border-top: 1px solid var(--border-default); }
.v-menu__sheethead { min-height: 40px; padding: 0 8px; display: flex; align-items: center; font: var(--type-label-14); font-weight: 500; color: var(--text-primary); }
.v-menu.v-menu--sheet { left: 8px; right: 8px; top: auto; bottom: calc(8px + env(safe-area-inset-bottom)); width: auto; max-width: none; max-height: min(70dvh, 520px); border-radius: var(--radius-lg); box-shadow: var(--shadow-modal); }
.v-menu.v-menu--sheet [role="option"], .v-menu.v-menu--sheet [role="menuitem"] { min-height: var(--size-control-touch-min); }
.v-menu--static { position: relative; z-index: auto; }
.v-menu [role="menuitem"], .v-menu [role="menuitemradio"], .v-menu [role="menuitemcheckbox"], .v-menu [role="option"] { min-height: var(--size-row-menu); width: 100%; padding: 0 var(--space-popover-row-padding-x); border: 0; border-radius: var(--radius-sm); background: none; display: flex; align-items: center; gap: 8px; font: var(--type-label-14); color: var(--text-primary); cursor: pointer; text-align: left; outline: 0; text-decoration: none; }
.v-menu [role]:focus, .v-menu [data-hl] { background: var(--surface-row-highlight); }
.v-menu [data-danger] { color: var(--danger-text); }
.v-menu [aria-disabled="true"] { color: var(--gray-700); cursor: not-allowed; }
.v-menu__end { margin-left: auto; color: var(--text-secondary); display: inline-flex; align-items: center; gap: 6px; font: var(--type-label-13); }
.v-menu__sub { display: block; font: var(--type-label-13); color: var(--text-secondary); }
.v-menu__title { min-height: 36px; padding: 0 8px; display: flex; align-items: center; color: var(--text-secondary); font: var(--type-label-14); }
.v-menu hr { border: 0; height: 1px; background: var(--border-default); margin: 6px -6px; }
.v-menu__filter { margin: 0 0 6px; }
.v-menu__filter .v-input { width: 100%; }
.v-scrim { z-index: var(--z-modal); }
.v-modal-wrap { position: fixed; inset: 0; z-index: var(--z-modal); display: grid; place-items: center; pointer-events: none; }
.v-modal { width: var(--size-dialog-md); max-width: calc(100vw - 48px); max-height: min(var(--size-dialog-max-height), calc(100dvh - 48px)); border-radius: var(--radius-lg); background: var(--modal-surface); box-shadow: var(--shadow-modal-elevated); border: 0; outline: 0; display: flex; flex-direction: column; overflow: hidden; visibility: hidden; --focus-ring-surface: var(--modal-surface); }
.v-modal--sm { width: var(--size-dialog-sm); } .v-modal--lg { width: var(--size-dialog-lg); }
.v-modal.m-dialog { transition: opacity var(--motion-overlay) var(--ease-swift), transform var(--motion-overlay) var(--ease-swift), visibility 0s linear var(--motion-overlay); }
.v-modal[data-state="open"], .v-modal.m-dialog[data-state="open"] { visibility: visible; pointer-events: auto; transition-delay: 0s; }
.v-modal--static { visibility: visible; opacity: 1; transform: none; }
.v-modal__body { padding: var(--space-modal-padding); overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; }
.v-modal h2 { font: var(--type-heading-20); letter-spacing: var(--type-heading-20-tracking); color: var(--text-primary); }
.v-modal__body > p { font: var(--type-copy-14); color: var(--text-secondary); margin-top: 8px; }
.v-modal__body > p strong { font-weight: var(--weight-strong, 600); color: var(--text-primary); }
.v-modal__body > .v-note { margin-top: 20px; }
.v-modal__body > .v-fieldgroup { margin-top: 24px; }
.v-modal__body > .v-fieldgroup > label { font: var(--type-label-14); color: var(--text-primary); }
.v-modal__body .v-input, .v-modal__body .v-select { width: 100%; }
.v-modal__content { margin-top: 16px; display: flex; flex-direction: column; gap: 12px; }
.v-modal__foot { padding: var(--space-modal-footer-padding); border-top: 1px solid var(--border-blend); background: var(--surface-page); display: flex; justify-content: space-between; align-items: center; gap: 8px; --focus-ring-surface: var(--surface-page); }
.v-sheet-wrap { position: fixed; inset: 0; z-index: var(--z-modal); pointer-events: none; }
.v-sheet-wrap[data-nonmodal] { z-index: var(--z-drawer); }
.v-sheet-scrim { position: absolute; inset: 0; background: var(--scrim-color); pointer-events: auto; --scrim-opacity: var(--opacity-scrim-sheet); opacity: var(--opacity-scrim-sheet); }
.v-sheet { position: absolute; top: var(--size-sheet-inset); right: var(--size-sheet-inset); bottom: var(--size-sheet-inset); width: 640px; max-width: calc(100vw - 2 * var(--size-sheet-inset)); border-radius: var(--radius-lg); background: var(--modal-surface); box-shadow: var(--shadow-modal-elevated); display: flex; flex-direction: column; overflow: hidden; pointer-events: auto; outline: 0; --focus-ring-surface: var(--modal-surface); }
.v-sheet--narrow { width: var(--size-sheet-max); }
.v-sheet__head { min-height: 56px; padding: 0 12px 0 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--border-blend); flex: none; }
.v-sheet__head h2 { font: var(--type-heading-16); letter-spacing: var(--type-heading-16-tracking); color: var(--text-primary); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v-sheet__body { padding: 20px; overflow-y: auto; overscroll-behavior: contain; flex: 1; display: flex; flex-direction: column; gap: 16px; }
.v-sheet__foot { padding: 12px; border-top: 1px solid var(--border-blend); background: var(--surface-page); display: flex; justify-content: flex-end; gap: 8px; flex: none; --focus-ring-surface: var(--surface-page); }
.v-tooltip { position: fixed; z-index: var(--z-tooltip); max-width: var(--size-tooltip-max); padding: 6px 8px; border-radius: var(--radius-md); background: var(--tooltip-surface); color: var(--tooltip-text); font: var(--type-tooltip); text-align: center; pointer-events: none; }
.v-tooltip--static { position: relative; z-index: auto; display: inline-block; opacity: 1; animation: none; }
.v-tooltip::after { content: ""; position: absolute; left: var(--arrow-x, 50%); top: 100%; margin-left: -5px; border: 5px solid transparent; border-bottom-width: 0; border-top-color: var(--tooltip-surface); }
.v-tooltip[data-side="bottom"]::after { top: auto; bottom: 100%; border: 5px solid transparent; border-top-width: 0; border-bottom-color: var(--tooltip-surface); }
.v-toasts { position: fixed; right: var(--space-toast-inset); bottom: var(--space-toast-inset); z-index: var(--z-toast); width: var(--size-toast); max-width: calc(100vw - 48px); }
.v-toast { position: absolute; right: 0; bottom: 0; width: 100%; padding: 15.5px var(--space-toast-padding); border-radius: var(--radius-lg); background: var(--toast-surface); box-shadow: var(--shadow-toast); color: var(--text-primary); font: var(--type-toast); display: flex; align-items: center; gap: 12px; min-height: var(--size-toast-min); --focus-ring-surface: var(--toast-surface); }
.v-toast--static { position: relative; }
.v-toast[data-tone="danger"] { background: var(--toast-error-surface); color: var(--text-on-fill); box-shadow: var(--shadow-toast-error); }
.v-toast[data-tone="danger"] .v-btn--tertiary { color: var(--text-on-fill); }
.v-toast[data-stack]:not([data-stack="0"]) > * { visibility: hidden; }
.v-toast[data-stack="2"] { transform: translate3d(0, -40px, 0) scale(.9); max-height: 50px; }
.v-toast[data-stack="3"] { opacity: 0; pointer-events: none; }
.v-toast__c { flex: 1; min-width: 0; }

/* ------------------------------------------------------------ 11 Diagramm */
.v-chart { position: relative; min-height: var(--size-chart-card); padding: 12px 12px 8px; border-radius: var(--radius-chart-card); background: var(--surface-card); box-shadow: var(--shadow-small); min-width: 0; display: flex; flex-direction: column; gap: 8px; --focus-ring-surface: var(--surface-card); color: var(--text-secondary); }
.v-chart--flat { min-height: var(--size-chart-card-flat); }
.v-chart--bare { padding: 0; box-shadow: none; background: none; min-height: 0; border-radius: 0; }
.v-chart__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 2px 0 0 4px; min-height: 30px; }
.v-chart__title { font: var(--type-nav-item); color: var(--text-primary); }
.v-chart__value { font: 500 14px/16px var(--font-sans); color: var(--text-primary); font-variant-numeric: tabular-nums; }
.v-chart__plot { position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: flex-end; }
.v-chart__plot > svg { display: block; width: 100%; height: auto; overflow: visible; }
.v-chart__state { flex: 1; min-height: 120px; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--text-secondary); padding: 8px; }
.v-chart svg .v-chart__grid line { stroke: var(--viz-grid-card); stroke-width: 1; shape-rendering: crispEdges; }
.v-chart svg .v-chart__base { stroke: var(--viz-baseline); stroke-width: 1; shape-rendering: crispEdges; }
.v-chart svg text { font: 400 12px/16px var(--font-sans); font-variant-numeric: tabular-nums; }
.v-chart svg .v-chart__y text { fill: var(--viz-axis-y); text-anchor: end; } .v-chart svg .v-chart__x text { fill: var(--viz-axis-x); }
.v-chart svg .v-chart__line { fill: none; stroke: var(--chart-1); stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; }
.v-chart svg .v-chart__area { stroke: none; fill: var(--chart-1); opacity: var(--opacity-viz-area); }
.v-chart svg .v-chart__bar { fill: var(--chart-1); }
.v-chart svg [data-s="2"] { stroke: var(--chart-2); fill: var(--chart-2); } .v-chart svg [data-s="3"] { stroke: var(--chart-3); fill: var(--chart-3); }
.v-chart svg [data-s="4"] { stroke: var(--chart-4); fill: var(--chart-4); } .v-chart svg [data-s="5"] { stroke: var(--chart-5); fill: var(--chart-5); }
.v-chart svg .v-chart__line[data-s] { fill: none; } .v-chart svg .v-chart__area[data-s], .v-chart svg .v-chart__bar[data-s] { stroke: none; }
@media (prefers-reduced-motion: no-preference) { .v-chart svg .v-chart__line { animation: fade-in var(--motion-overlay) var(--ease-out); } }
.v-legend { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font: var(--type-label-12); color: var(--text-secondary); }
.v-legend__item { display: inline-flex; align-items: center; gap: 6px; }
.v-legend__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--chart-1); flex: none; display: inline-block; }
.v-legend__dot[data-s="2"] { background: var(--chart-2); } .v-legend__dot[data-s="3"] { background: var(--chart-3); } .v-legend__dot[data-s="4"] { background: var(--chart-4); } .v-legend__dot[data-s="5"] { background: var(--chart-5); }
/* Bedienung der Diagramme (chart.js; DIAGRAMME.md 3.4, 5.1, 5.2, 5.4): Legende als Schalter, Band bzw. Linie, Tooltip, Auswahl */
.v-chart__foot { gap: 12px; }
.v-legend { gap: 4px 6px; }
button.v-legend__item { height: 20px; padding: 0 6px; border: 0; border-radius: var(--radius-xs); background: none; font: var(--type-label-12); color: var(--text-secondary); cursor: pointer; }
button.v-legend__item:hover { background: var(--surface-hover); color: var(--text-primary); }
button.v-legend__item:focus-visible { outline: 0; box-shadow: var(--focus-ring); }
button.v-legend__item[aria-pressed="false"] { color: var(--text-tertiary); }
button.v-legend__item[aria-pressed="false"] .v-legend__dot { background: none; box-shadow: inset 0 0 0 1.5px var(--gray-600); }
.v-chart .v-legend__dot[data-s="m"], .v-chart svg [data-s="m"] { background: var(--gray-600); fill: var(--gray-600); stroke: var(--gray-600); }
.v-chart__plot[tabindex] { outline: 0; border-radius: var(--radius-xs); touch-action: pan-y; -webkit-user-select: none; user-select: none; }
.v-chart__plot[tabindex]:focus-visible { box-shadow: var(--focus-ring); }
.v-chart__plot[data-pick] svg { cursor: pointer; }
.v-chart svg .v-chart__band { fill: var(--gray-alpha-100); stroke: none; }
.v-chart svg .v-chart__sel { fill: var(--gray-alpha-200); stroke: var(--gray-alpha-500); stroke-width: 1; }
.v-chart svg .v-chart__cursor { stroke: var(--gray-1000); stroke-width: 1; shape-rendering: crispEdges; pointer-events: none; }
.v-chart__ix { pointer-events: none; }
.v-chart__tip { position: absolute; z-index: var(--z-tooltip); min-width: 176px; max-width: var(--size-tooltip-max); border-radius: var(--radius-sm); background: var(--surface-card); box-shadow: var(--shadow-tooltip); font: var(--type-label-12); color: var(--text-primary); pointer-events: none; white-space: nowrap; }
.v-chart__tiprows { padding: 4px 8px 0; }
.v-chart__tiprow { height: 22px; display: flex; align-items: center; gap: 6px; }
.v-chart__tiprow .v-legend__dot { width: 6px; height: 6px; }
.v-chart__tipname { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; color: var(--text-primary); }
.v-chart__tiprow b { font-weight: 500; font-variant-numeric: tabular-nums; }
.v-chart__tipshare { min-width: 32px; text-align: right; color: var(--text-secondary); font-variant-numeric: tabular-nums; }
.v-chart__tiptime { height: 48px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; padding: 0 8px; color: var(--text-secondary); font-variant-numeric: tabular-nums; }
.v-chart__tiptime span { line-height: 12px; }
.v-spark { width: 32px; height: 16px; flex: none; } .v-spark path { fill: none; stroke: var(--gray-700); stroke-width: 1; } .v-spark[data-tone="bad"] path { stroke: var(--red-700); }
.v-gauge { position: relative; display: inline-grid; place-items: center; flex: none; width: 64px; height: 64px; }
.v-gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); display: block; }
.v-gauge circle { fill: none; stroke-linecap: round; }
.v-gauge__trk { stroke: var(--viz-track); } .v-gauge__val { stroke: var(--blue-700); }
.v-gauge[data-tone="ok"] .v-gauge__val { stroke: var(--green-700); } .v-gauge[data-tone="warn"] .v-gauge__val { stroke: var(--amber-700); } .v-gauge[data-tone="bad"] .v-gauge__val { stroke: var(--red-700); }
.v-gauge__n { position: absolute; color: var(--text-primary); font: 500 18px/24px var(--font-sans); font-variant-numeric: tabular-nums; }
.v-gauge--sm { width: 32px; height: 32px; } .v-gauge--sm .v-gauge__n { font: 500 11px/16px var(--font-sans); }
.v-gauge--xs { width: 20px; height: 20px; } .v-gauge--xs .v-gauge__n { display: none; }
.v-gauge--lg { width: 128px; height: 128px; } .v-gauge--lg .v-gauge__n { font: var(--type-heading-32); letter-spacing: var(--type-heading-32-tracking); }

/* ------------------------------------------------------------ 12 Seite: Kopf, Werkzeugzeile, Inhalt */
.v-page { display: flex; flex-direction: column; gap: var(--space-gap-block); min-width: 0; --focus-ring-surface: var(--surface-page); }
.v-page__head { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.v-page__titlerow { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px 16px; flex-wrap: wrap; min-height: 36px; }
.v-page__title { font: var(--type-heading-24); letter-spacing: var(--type-heading-24-tracking); color: var(--text-primary); min-width: 0; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; overflow-wrap: anywhere; }
.v-page[data-template="detail"] .v-page__title { font: var(--type-heading-32); letter-spacing: var(--type-heading-32-tracking); }
.v-page__lead { color: var(--text-secondary); max-width: 720px; }
.v-page__actions { display: flex; align-items: center; gap: 8px; flex: none; margin-left: auto; }
.v-page__band:empty { display: none; }
.v-page__body { display: flex; flex-direction: column; gap: var(--space-gap-block); min-width: 0; }
.v-page__tabs { margin-top: -4px; }
.v-toolbar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; min-width: 0; }
.v-toolbar__end { margin-left: auto; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.v-filterbar { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.v-filterbar__pills { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.v-filterbar__count { color: var(--text-secondary); font: var(--type-label-13); margin-left: 4px; }
.v-cols-aside { display: grid; grid-template-columns: minmax(0, 1fr) var(--size-col-aside); gap: 24px; align-items: start; }

/* ------------------------------------------------------------ Hover nur für Zeigergeräte */
@media (hover: hover) {
  .v-btn:hover:not(:disabled):not([aria-disabled="true"]):not(:active) { background: var(--surface-inverse-hover); }
  .v-btn--secondary:hover:not(:disabled):not([aria-disabled="true"]):not(:active) { background: var(--button-secondary-hover); }
  .v-btn--tertiary:hover:not(:disabled):not([aria-disabled="true"]):not(:active) { background: var(--surface-hover-blend); }
  .v-btn--danger:hover:not(:disabled):not([aria-disabled="true"]):not(:active) { background: var(--danger-button-hover); }
  .v-btn--warning:hover:not(:disabled):not([aria-disabled="true"]):not(:active) { background: var(--warning-button-hover); }
  .v-input:hover:not([data-disabled]):not(:focus-within):not([data-invalid]), .v-select:hover:not([data-disabled]):not(:focus-within), .v-joined:hover { box-shadow: 0 0 0 1px var(--border-blend-hover); }
  .v-joined .v-select:hover:not(:focus-within) { box-shadow: none; }
  .v-pick__btn:not([aria-disabled="true"]):hover > .v-i { color: var(--text-primary); }
  .v-tab:hover, .v-seg label:hover, .v-tabbar a:hover, .v-tabbar button:hover, .v-backlink:hover, .v-crumbs a:hover { color: var(--text-primary); }
  .v-chip:hover:not(:disabled) { color: var(--text-primary); border-color: var(--border-active); } .v-chip--add:hover { background: var(--button-secondary-hover); }
  .v-check:hover input:not(:checked):not(:disabled) + .v-check__mark { background: var(--gray-200); }
  .v-choice:hover:not(:has(input:checked)) { box-shadow: 0 0 0 1px var(--border-blend-hover); }
  .v-table tbody tr:has(.v-table__hit):hover td, .v-table--compact[data-interactive] tbody tr:hover td, .v-table--stream tbody tr:hover td { background: var(--surface-hover); }
  .v-lrow:has(.v-lrow__hit):hover { background: var(--surface-hover); }
  .v-pgbtn:hover:not(:disabled):not([aria-disabled="true"]) { background: var(--surface-active); }
  .v-menu [role]:hover:not([aria-disabled="true"]) { background: var(--surface-row-highlight); }
  a.v-card:hover, .v-tile:hover { box-shadow: 0 0 0 1px var(--border-blend-hover), var(--shadow-small); }
  .v-acc__head:hover { background: var(--surface-page); }
  p .v-link:hover, .v-link--ext:hover, .v-link:hover { text-decoration: underline; }
  .v-copy:hover svg { color: var(--text-primary); }
}

/* ------------------------------------------------------------ 13 Schmal */
@media (max-width: 960px) {
  .v-grid3, .v-grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v-cols-aside { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .v-grid2, .v-grid3, .v-grid4 { grid-template-columns: minmax(0, 1fr); }
  .v-empty { padding: 32px 24px; }
  .v-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v-fieldset__foot { flex-direction: column; align-items: flex-start; }
  .v-fieldset__foot .v-btn { align-self: flex-end; }
  .v-toasts { right: 16px; bottom: 76px; max-width: calc(100vw - 32px); }
  .v-modal { max-width: calc(100vw - 32px); }
  .v-modal__foot { flex-wrap: wrap; }
  .v-sheet { top: auto; left: 0; right: 0; bottom: 0; width: 100%; max-width: 100%; max-height: 92dvh; border-radius: var(--radius-lg) var(--radius-lg) 0 0; --sheet-from: 0; }
  .v-page__actions { margin-left: 0; flex-wrap: wrap; }
  .v-input, .v-select, .v-combo { width: 100%; }
  .v-joined { width: 100%; } .v-joined .v-select { flex: 1; } .v-pick { width: 100%; }
  .v-toolbar__end:has(> .v-pick) { flex: 1 1 100%; margin-left: 0; }
  /* Liste als Karte je Zeile: Kopfzeile aus, jede Zelle nennt ihre Spalte */
  .v-table[data-cards] thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .v-table[data-cards] table, .v-table[data-cards] tbody, .v-table[data-cards] tr, .v-table[data-cards] td { display: block; }
  .v-table[data-cards] tr { padding: 12px; border-bottom: 1px solid var(--border-default); position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; }
  .v-table[data-cards] tbody tr:last-child { border-bottom: 0; }
  .v-table[data-cards] td { height: auto; min-height: 20px; padding: 0; border: 0; white-space: normal; position: static; }
  .v-table[data-cards] td:first-child { grid-column: 1 / -1; font-weight: 500; }
  .v-table[data-cards] td[data-label]:not(:first-child)::before { content: attr(data-label); display: block; font: var(--type-label-12); color: var(--text-secondary); }
  .v-table[data-cards] td[data-align="end"] { text-align: left; } .v-table[data-cards] td[data-align="end"] .v-table__cell { justify-content: flex-start; }
  .v-table[data-cards] td:empty { display: none; }
  .v-pager { padding: 0 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .v-skel::after, .v-spinner i, .v-status[data-tone="progress"]::before { animation: none; }
}
