










::placeholder { color: var(--text-dim); opacity: 1; }
.zaehler, .kennzahl-wert, .meter-wert, .zl-marke { font-variant-numeric: tabular-nums; }



.feld-form label input, .feld-form label select,
.freigabe-form label input, .freigabe-form label select,
.filterzeile label input, .filterzeile label select, .field input {
  font-weight: 400; color: var(--text); font-size: var(--fs-feld);
}
.feld-hinweis { margin: 0; color: var(--text-dim); font-size: var(--t-klein); line-height: var(--lh-eng); }
.feld-fehler { margin: 0; color: var(--danger); font-size: var(--fs-sm); font-weight: 500; line-height: var(--lh-eng); }
[aria-invalid="true"] { border-color: var(--danger) !important; }



.topbar { background: var(--bg-panel); }
.topbar-titel { font-weight: 600; letter-spacing: -0.01em; }



.chat-kopf {
  flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between;
  min-height: var(--h-ziel); padding: var(--s2) var(--s6);
}

.chat-titel {
  margin: 0; max-width: var(--lesebreite); overflow: hidden; text-overflow: ellipsis;
  white-space: nowrap; font-size: var(--fs-bd); font-weight: 600; letter-spacing: -0.005em;
  color: var(--text);
}
@media (max-width: 899px) {
  .chat-kopf { position: absolute; width: 1px; height: 1px; min-height: 0; padding: 0;
               overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }


  .chat-kopf .chat-aktionen, .chat-kopf #chat-projekt, .chat-kopf #chat-ort-trenner,
  .chat-kopf #chat-mehr { display: none; }
}
.edit-hinweis { margin: var(--s2) 0 0; color: var(--text-dim); font-size: var(--fs-sm); }
.chat-messages.laedt { opacity: 0.55; transition: opacity var(--tempo) var(--ease); }
.anhang-chip.laedt { background: linear-gradient(90deg, var(--bg-hover) 25%, var(--bg-active) 37%, var(--bg-hover) 63%);
                     background-size: 400% 100%; animation: schimmer var(--tempo-puls) ease-in-out infinite; opacity: 1; }


.treffer-inhalt {
  flex: 0 0 auto; padding: 0 var(--s2); border-radius: var(--r-pill);
  background: var(--info-soft); color: var(--info);
  font-size: var(--fs-xs); font-weight: 600; white-space: nowrap; line-height: 1.6;
}
@media (pointer: coarse) {

  .col-check input, .listenleiste .wahl-alle input { width: var(--s6); height: var(--s6); }
}
.wahl-liste { max-height: min(52dvh, 440px); overflow-y: auto; padding: var(--s0); }
.wahl small { display: block; margin-top: var(--s0); color: var(--text-dim); font-size: var(--fs-sm); }


.beschaeftigt { opacity: 0.7; pointer-events: none; }

.fg-person.fg-hervor { border-color: var(--accent); }
.fg-person-knoepfe { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: var(--s2); flex: 0 0 auto; }


.konto-loeschen { max-width: none; margin: var(--s2) 0 0; }





.einst-gruppe {
  margin: 0 0 var(--s5); border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--bg-panel);
}
.einst-zeile {
  display: grid; grid-template-columns: 11.25rem minmax(0, 1fr) auto; align-items: center; gap: var(--s1) var(--s4);
  min-height: var(--s9); padding: var(--s3) var(--s5); border-top: 1px solid var(--kante-fein);
}
.einst-zeile:first-child { border-top: 0; }
.einst-zeile dt { font-size: var(--fs-bd); font-weight: 600; }
.einst-zeile dd { margin: 0; min-width: 0; }
.einst-wert { color: var(--text); font-size: var(--fs-bd); overflow-wrap: anywhere; }
.einst-wert .feld-hinweis { display: block; margin: var(--s0) 0 0; }
.einst-tun { justify-self: end; }
.einst-warn { color: var(--warn); font-weight: 600; }




[data-zf-pflicht] > :not(.zf-pflicht, h1, h2, .view-head, .projekt-zurueck) { display: none; }
[data-zf-pflicht] > .view-head > :not(h1) { display: none; }
.zf-pflicht {
  display: flex; align-items: flex-start; gap: var(--s4); max-width: var(--formbreite); margin: var(--s4) 0;
  padding: var(--s5); border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--bg-panel);
}
.zf-pflicht-symbol { flex: none; display: inline-flex; color: var(--accent); margin-top: var(--s0); }
.zf-pflicht-text { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s2); min-width: 0; }
.zf-pflicht-titel { margin: 0; font-size: var(--fs-lg); font-weight: 600; color: var(--text); }
.zf-pflicht-satz { margin: 0 0 var(--s2); color: var(--text-dim); max-width: 60ch; overflow-wrap: break-word; }
@media (max-width: 599px) {
  .zf-pflicht { flex-direction: column; gap: var(--s3); padding: var(--s4); }
  .zf-pflicht-knopf { align-self: stretch; }
}



.ds-abschnitt { margin: 0 0 var(--s7); }

@media (min-width: 1200px) {
  #view-settings .view-inner.reiter-spalte { grid-template-columns: 13.125rem minmax(0, 1fr); }
}
.ds-kopfzeile { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s2) var(--s4);
                margin: 0 0 var(--s2); }
.ds-kopfzeile h3, .ds-gruppen-kopf { margin: 0; font-size: var(--fs-lg); }
.ds-gruppen-kopf { margin: 0 0 var(--s3); }
.ds-filter { flex-wrap: wrap; max-width: 100%; }
.ds-liste { margin-top: var(--s2); }
.ds-zeile .links-text { gap: var(--s0); }
.ds-art { color: var(--text-dim); font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.02em; }
.ds-titel-text { max-width: 100%; color: var(--text); font-weight: 600; line-height: var(--s6); overflow-wrap: anywhere; }
.ds-export-balken { display: block; margin-top: var(--s2); max-width: 18.75rem; }
.ds-loeschen { margin-top: var(--s6); }
@media (max-width: 599px) {
  .ds-filter span { padding: 0 var(--s2); }
}
.konto-formulare { display: none; }
.konto-dialog { width: min(var(--dialog-s), calc(100vw - var(--s6))); }
.konto-dialog .feld-form { align-items: stretch; }
.konto-dialog .feld-form > .feld-hinweis, .konto-dialog .form-error, .konto-dialog .hint { margin: 0; }
.konto-dialog .dialog-actions { margin-top: var(--s2); }


.zf-dialog.konto-dialog { width: min(var(--dialog-m), calc(100vw - var(--s6))); }
.zf-dialog .zf-inhalt { display: flex; flex-direction: column; gap: var(--s4); margin-top: var(--s4); }
.zf-dialog .zf-inhalt .feld-form { margin-top: 0; }
.zf-qr-rahmen { align-self: center; border-radius: var(--r-md); background: var(--papier); line-height: 0; overflow: hidden; }
.zf-qr { display: block; max-width: 100%; height: auto; }
.zf-schluessel-block { display: flex; flex-direction: column; gap: var(--s1); }
.zf-schluessel-zeile { display: flex; align-items: center; gap: var(--s2); }
.zf-schluessel {
  flex: 1 1 auto; min-width: 0; padding: var(--s2) var(--s3); border: 1px solid var(--kante-fein); border-radius: var(--r-sm);
  background: var(--bg-hover); color: var(--text); font-family: var(--mono); font-size: var(--fs-md); overflow-wrap: anywhere;
  user-select: all;
}
.zf-wechsel { align-self: flex-start; margin-top: calc(-1 * var(--s2)); }
.zf-codes-liste {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s2) var(--s5); margin: 0;
  padding: var(--s3) var(--s4); border: 1px solid var(--border); border-radius: var(--r-md); background: var(--bg-panel);
  list-style: none; font-family: var(--mono); font-size: var(--fs-bd); font-variant-numeric: tabular-nums;
}
.zf-codes-liste li { white-space: nowrap; }
.zf-code-knoepfe { display: flex; flex-wrap: wrap; gap: var(--s2); }
@media (max-width: 359px) { .zf-codes-liste { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 599px) {

  .einst-zeile {
    grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "was tun" "wert wert"; padding: var(--s3) var(--s4);
  }
  .einst-zeile dt { grid-area: was; }
  .einst-zeile .einst-wert { grid-area: wert; }
  .einst-zeile .einst-tun { grid-area: tun; }
  .einst-zeile:has(.wahl-segment) { grid-template-columns: minmax(0, 1fr); grid-template-areas: "was" "wert" "tun"; }
  .einst-zeile:has(.wahl-segment) .einst-tun { justify-self: stretch; margin-top: var(--s2); }

  .einst-zeile .wahl-segment span {
    padding: var(--s1) var(--s2); white-space: normal; text-align: center; line-height: var(--lh-eng);
  }
}




.sz-bereich { margin: 0 0 var(--s5); }
.sz-bereich > .einst-gruppe { margin-bottom: 0; }
.sz-geraet { display: flex; align-items: center; gap: var(--s2); min-width: 0; }
.einst-zeile.sz-zeile dt { font-weight: 500; }
.sz-geraet > svg { flex: none; color: var(--text-dim); }
.sz-name { min-width: 0; overflow-wrap: anywhere; }
.sz-zeile .einst-wert > .status.marke { margin-bottom: var(--s0); }
.sz-weitere { margin: var(--s2) 0 0; max-width: none; }
@media (max-width: 599px) {

  .einst-zeile.sz-kopf { grid-template-columns: minmax(0, 1fr); grid-template-areas: "was" "wert" "tun"; }
  .einst-zeile.sz-kopf .einst-tun { justify-self: stretch; margin-top: var(--s2); }
  .sz-kopf .einst-tun .btn { width: 100%; white-space: normal; text-align: center; }
}



.einstellungen-leiste .nav-symbol, .einstellungen-leiste .nav-wert, .einstellungen-leiste .nav-pfeil { display: none; }
.einstellungen-leiste .nav-symbol { flex: none; color: var(--text-dim); }
.einstellungen-leiste a.aktiv .nav-symbol { color: var(--accent); }
#view-settings .einst-zurueck { display: none; }
@media (min-width: 1200px) {
  .view-inner.reiter-spalte .einstellungen-leiste .abschnitt-nav a { gap: var(--s3); }
  .view-inner.reiter-spalte .einstellungen-leiste .nav-symbol { display: block; }
}


@media (max-width: 899px) {
  #view-settings .einstellungen-leiste {
    position: static; display: block; margin: 0; padding: 0; border-bottom: 0; background: none;
  }
  #view-settings .einstellungen-leiste > .abschnitt-nav {
    display: flex; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 0; overflow: visible;
    -webkit-mask-image: none; mask-image: none;
  }
  #view-settings .einstellungen-leiste > .abschnitt-nav::after { content: none; }
  #view-settings .einstellungen-leiste .abschnitt-nav a {
    display: flex; align-items: center; gap: var(--s3); width: 100%; min-height: var(--s9);
    padding: 0 var(--s1); border-radius: 0; border-bottom: 1px solid var(--kante-fein);
    color: var(--text); font-size: var(--fs-lg); font-weight: 500;
  }



  #view-settings .einstellungen-leiste .abschnitt-nav a:is(.abo-unbekannt, .plugins-unbekannt) { display: none; }
  #view-settings .einstellungen-leiste .abschnitt-nav a.aktiv { font-weight: 500; }


  #view-settings .einstellungen-leiste .abschnitt-nav a {
    padding: 0 var(--s4); background: var(--bg-panel); border: 1px solid var(--border); border-top: 0;
  }
  #view-settings .einstellungen-leiste .abschnitt-nav a:first-of-type,
  #view-settings .einstellungen-leiste .nav-rubrik + a { border-top: 1px solid var(--border);
    border-top-left-radius: var(--r-lg); border-top-right-radius: var(--r-lg); padding-left: var(--s4); }












  #view-settings .einstellungen-leiste .abschnitt-nav
    a:not([hidden], .abo-unbekannt, .plugins-unbekannt):not(:has(~ a:not([hidden], .abo-unbekannt, .plugins-unbekannt))) {
    border-bottom-left-radius: var(--r-lg); border-bottom-right-radius: var(--r-lg); }
  #view-settings .einstellungen-leiste .nav-wert { margin-left: auto; }
  #view-settings .einstellungen-leiste .abschnitt-nav a.aktiv::after { content: none; }
  #view-settings .einstellungen-leiste .nav-symbol,
  #view-settings .einstellungen-leiste .nav-pfeil { display: block; flex: none; color: var(--text-dim); }
  #view-settings .einstellungen-leiste .nav-wort { flex: 1 1 auto; min-width: 0; }
  #view-settings .einstellungen-leiste .nav-wert {
    display: inline; flex: none; max-width: 45%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    color: var(--text-dim); font-size: var(--fs-md);
  }
  #view-settings .einstellungen-leiste .nav-rubrik { display: block; margin: var(--s6) 0 var(--s1); padding: 0 var(--s1); }
  #view-settings .einstellungen-leiste .nav-rubrik:first-child { margin-top: var(--s2); }
  #view-settings.einst-liste .view-inner > .panel { display: none; }
  #view-settings:not(.einst-liste) .einstellungen-leiste { display: none; }
  #view-settings:not(.einst-liste) .einst-zurueck { display: inline-flex; }
}
.prompt-item.ungesichert .prompt-text { border-color: var(--warn); }
@media (max-width: 1199px) {


  .abschnitt-nav {
    position: sticky; top: 0; z-index: var(--z-haftend);
    flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none;
    margin: 0 calc(var(--s4) * -1) var(--s5); padding: var(--s1) var(--s4) 0;
    background: var(--bg);
  }
  .abschnitt-nav::-webkit-scrollbar { display: none; }
  .abschnitt-nav a { flex: 0 0 auto; white-space: nowrap; }
}




.tabellen-rahmen:has(> table[hidden]) { display: none; }











@media (max-width: 1199px) {
  .doc-layout:not(.ordner-offen) .ordnerbaum { display: none; }
}






.listenleiste:has(> .bulk-bar:not([hidden])) {
  background: var(--toast-grund); color: var(--toast-text);
  border-bottom-color: transparent; border-radius: var(--r-md);
}
.listenleiste:has(> .bulk-bar:not([hidden])) .wahl-alle { color: var(--toast-text); }
.bulk-bar .auswahl-griff { color: var(--toast-text); }
.bulk-bar .auswahl-griff:hover { background: var(--toast-hover); }
.bulk-bar .auswahl-weg, .bulk-bar .bulk-mehr { color: var(--toast-text); }
.bulk-bar .auswahl-weg:hover, .bulk-bar .bulk-mehr:hover { background: var(--toast-hover); }
.bulk-knoepfe > .btn {
  flex: none; white-space: nowrap;
  background: transparent; border-color: transparent; color: var(--toast-text); font-weight: 500;
}
.bulk-knoepfe > .btn:hover { background: var(--toast-hover); border-color: transparent; }
.bulk-bar :focus-visible { outline: 2px solid var(--toast-akzent); outline-offset: 1px; }
.bulk-knoepfe > .bulk-im-menue { display: none; }
.bulk-knoepfe > .bulk-mehr { display: inline-flex; }





.filterleiste { flex-wrap: nowrap; align-items: center; }
.suchfeld { position: relative; display: flex; flex: 1 1 240px; min-width: 0; }
.suchfeld > svg { position: absolute; left: var(--s3); top: 50%; transform: translateY(-50%); color: var(--text-dim);
                  pointer-events: none; }
.filterleiste .suchfeld > input[type="search"] { flex: 1 1 auto; min-width: 0; padding-left: var(--suchfeld-einzug); }
.filterleiste .filter-mehr select.chip-auswahl {
  appearance: none; -webkit-appearance: none; width: auto; flex: none; max-width: 14em;
  min-height: var(--h-ziel-klein); padding: 0 var(--pfeil-platz) 0 var(--s3);
  border: 1px solid var(--border); border-radius: var(--r-pill); background: var(--bg-panel); color: var(--text);
  font-size: var(--fs-md); font-weight: 500; text-overflow: ellipsis; cursor: pointer;
}
.filter-mehr select.chip-auswahl:hover { background: var(--bg-hover); }
.filter-mehr select.chip-auswahl.gewaehlt { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }
.filter-mehr .hinweis-knoepfe { flex: none; flex-wrap: nowrap; }
.filter-mehr .chip-knopf { min-height: var(--h-ziel-klein); border-radius: var(--r-pill); white-space: nowrap; }
.filter-mehr > .btn { flex: none; }
.listenleiste > .zaehler { color: var(--text-dim); font-size: var(--fs-md); }
.sortier-knopf {
  display: inline-flex; align-items: center; gap: var(--s2); min-height: var(--h-ziel-klein); padding: 0 var(--s2);
  border: 0; border-radius: var(--r-sm); background: none; color: var(--text-dim);
  font: inherit; font-size: var(--fs-md); font-weight: 500; white-space: nowrap; cursor: pointer;
}
.sortier-knopf:hover { background: var(--bg-hover); color: var(--text); }
.sortier-knopf:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.sortier-knopf .winkel { transform: rotate(45deg); margin-top: calc(var(--s1) * -1); }
.sortier-knopf[aria-expanded="true"] .winkel { transform: rotate(-135deg); margin-top: var(--s1); }
.listenleiste:not(:has(> .bulk-bar:not([hidden]))) > .wahl-alle { display: none; }
.doc-table-haupt:not(.waehlt) td.col-check input { opacity: 0; transition: opacity var(--tempo); }
.doc-table-haupt:not(.waehlt) tbody tr:hover td.col-check input,
.doc-table-haupt:not(.waehlt) tbody tr:focus-within td.col-check input { opacity: 1; }
@media (pointer: coarse) {

  .doc-table-haupt:not(.waehlt) td.col-check { display: none; }
}








@media (pointer: coarse) and (min-width: 760px) {
  .doc-table-haupt:not(.waehlt) col.col-check { width: var(--r-lg); }
  .doc-table-haupt:not(.waehlt) td.col-check { display: table-cell; width: var(--r-lg); padding: 0; }
  .doc-table-haupt:not(.waehlt) td.col-check input { visibility: hidden; }
}
@media (max-width: 759px) {
  .filterleiste .suchfeld { flex: 1 1 100%; }




  #view-documents .view-inner { padding-top: 0; }
  #view-documents #doc-nav { margin-bottom: var(--s3); }

  .doc-table-haupt:not(.waehlt) tr { padding-left: var(--s3); }


  body[data-ansicht="documents"] .topbar #topbar-new { display: none; }
}





.topbar .ablage-oben { display: none; }
@media (max-width: 759px) {
  body[data-ansicht="documents"] .topbar .ablage-oben:not(.reiter-zu) { display: inline-flex; }

  body[data-ansicht="documents"]:has(.kopf-aktionen.bestand-leer) .topbar #oben-hochladen,
  body[data-ansicht="documents"]:has(.kopf-aktionen.bestand-leer) .topbar #oben-verwalten { display: none; }
  #view-documents .kopf-aktionen > [data-reiter="feld-doc-ablage"] { display: none; }
  #view-documents .view-head:not(:has(.kopf-aktionen > :not([hidden], .reiter-zu, [data-reiter="feld-doc-ablage"]))) {
    display: none;
  }
}
.filter-mehr { display: contents; }
@media (max-width: 759px) {



  .doc-table-haupt tr { padding-top: var(--s3); padding-bottom: var(--s3); }
  .doc-table-haupt td.col-status {
    display: inline-flex !important; align-items: center; width: auto !important;
    margin-left: var(--einzug-symbol); font-size: var(--fs-sm);
  }

  .doc-table-haupt td.col-status:not(:has(.doc-index > :not(.sr-only))) {
    display: block !important; height: 0; margin: 0; padding: 0; overflow: hidden;
  }
  .doc-table-haupt td.zelle-name { font-size: var(--fs-bd); }
  .doc-table-haupt .doc-titel { font-size: var(--fs-lg); }


  .doc-meta > .doc-art { max-width: 7em; }
}



@media (forced-colors: active) {
  .bar-fill, .meter-fill, .zl-segment, .chat-punkt, .meter-soll, .sollskala-ist {
    forced-color-adjust: none; background: Highlight;
  }
  .bar, .meter, .zl-spur { border: 1px solid CanvasText; }
  .btn-primary, .send-btn { border: 1px solid ButtonText; }
  .nav-item.active, .chat-item.active, .baum-knoten.aktiv {
    outline: 2px solid Highlight; outline-offset: -2px;
  }
  .toast-meldung, .menu, .dialog { border: 1px solid CanvasText; }
  .nav-item.active::before, .chat-item.active::before, .sb-zeile.seite-offen::before, .sb-mehr[aria-current="page"]::before,
  .sb-kopf.seite-offen::before, .baum-knoten.aktiv::before, .abschnitt-nav a.aktiv::after { forced-color-adjust: none; background: Highlight; }

  :focus-visible { outline: 2px solid Highlight !important; outline-offset: 2px; }

  .vs-seite, .vs-bild, .vs-blatt, .vs-folie { border: 1px solid CanvasText; }
  .vorschau.neben, .vorschau.ueber { border-left: 1px solid CanvasText; }



  .vb-segment, .vb-schluessel, .vb-linie, .verlauf-fuellung, .bm-segment, .bm-hm-swatch {
    forced-color-adjust: none; outline: 1px solid CanvasText; outline-offset: -1px;
  }
}
@media (prefers-contrast: more) {
  :root { --border: var(--border-stark); }
  .stand-still, .hint, .feld-hinweis { color: var(--text); }
}














.skills-kopf { align-items: center; margin: 0 0 var(--s4); }
.skills-kopf h2 { margin: 0; }
.skills-suchzeile { display: flex; align-items: center; gap: var(--s3); margin: 0 0 var(--s4); }
.skills-suchzeile input[type="search"] { flex: 1 1 auto; min-width: 0; }
.skills-zahl { flex: none; color: var(--text-dim); font-size: var(--fs-md);
               font-variant-numeric: tabular-nums; }
.skills-liste { display: flex; flex-direction: column; gap: var(--s3); }
.skill-karte {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: start;
  gap: var(--s4); padding: var(--s4);
  border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--bg-panel);
  transition: border-color var(--tempo) var(--ease);
}
.skill-karte:hover { border-color: var(--border-stark); }
.skill-symbol {
  display: inline-flex; align-items: center; justify-content: center;
  width: var(--h-ziel); height: var(--h-ziel); border-radius: var(--r-pill);
  background: var(--accent-soft); color: var(--accent);
}
.skill-text { min-width: 0; display: flex; flex-direction: column; gap: var(--s1); }
.skill-kopf { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s1) var(--s3); }
.skill-name { font-size: var(--fs-lg); font-weight: 600; overflow-wrap: anywhere; }
.skill-befehl {
  padding: 0 var(--s1); border-radius: var(--r-xs); background: var(--bg-hover);
  color: var(--text-dim); font-family: var(--mono); font-size: var(--fs-sm); overflow-wrap: anywhere;
}
.skill-beschreibung {
  margin: 0; color: var(--text-dim); font-size: var(--fs-bd); line-height: var(--lh-eng);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  overflow-wrap: anywhere;
}
.skill-beschreibung.vorschau { font-style: italic; }
.skill-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--s1) var(--s3);
  color: var(--text-dim); font-size: var(--fs-sm);
}
.skill-aktionen { display: flex; align-items: center; gap: var(--s2); }
.skill-mehr[aria-expanded="true"] { background: var(--bg-active); color: var(--text); }
.skill-skelett { height: 76px; }
@media (max-width: 759px) {
  .skill-karte { grid-template-columns: auto minmax(0, 1fr); }
  .skill-aktionen { grid-column: 1 / -1; justify-content: flex-start; }
  .skill-aktionen .btn { flex: 1 1 auto; }
  .skill-aktionen .btn-icon { flex: none; margin-left: auto; }
}



.skills-leer {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: var(--s8) var(--s4) var(--s6);
}
.skills-leer-symbol {
  display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: var(--s3);
  border-radius: var(--r-pill); background: var(--accent-soft-stark); color: var(--accent);
}
.skills-leer-titel { font-size: var(--fs-lg); color: var(--text); }
.skills-leer-satz { margin: var(--s1) 0 0; color: var(--text-dim); font-size: var(--fs-bd); }
.skill-vorlagen { width: 100%; max-width: 640px; margin-top: var(--s7); }
.skill-vorlagen-titel {
  margin-bottom: var(--s3); color: var(--text-dim); font-size: var(--fs-sm); font-weight: 600;
}
.skill-vorlagen-kacheln {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(132px, 1fr)); gap: var(--s3);
}
.skill-vorlage {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--s2);
  min-height: 92px; padding: var(--s4) var(--s3);
  border: 1px solid var(--border); border-radius: var(--r-md); background: var(--bg-panel);
  color: var(--text); font: inherit; font-size: var(--fs-bd); font-weight: 600; cursor: pointer;
  transition: border-color var(--tempo) var(--ease), background var(--tempo) var(--ease);
}
.skill-vorlage:hover { border-color: var(--accent); background: var(--accent-soft); }
.skill-vorlage:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.skill-vorlage-name { line-height: var(--lh-eng); }
.skill-vorlage-symbol {
  display: grid; place-items: center; width: 36px; height: 36px;
  border-radius: var(--r-sm); background: var(--accent-soft-stark); color: var(--accent);
}



.skill-dok-wahl { display: flex; flex-direction: column; gap: var(--s2); margin-top: var(--s1); }




.skill-dok-wahl .wahl-zeile { flex-direction: row; align-items: flex-start; width: auto; gap: var(--s3); padding: var(--s3);
                              color: var(--text); font-size: var(--fs-bd); font-weight: 400; }
.skill-dok-wahl input[type="radio"] { margin: var(--s1) 0 0;
                                      border: 0; background: none; box-shadow: none; }
.skill-dok-wahl input[type="radio"]:focus { box-shadow: none; }
.skill-dok-wahl input[type="radio"]:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.skill-mehr-felder { width: 100%; }
.skill-mehr-felder > summary { color: var(--text-dim); font-size: var(--fs-md); font-weight: 500; }
.skill-mehr-felder[open] > summary { margin-bottom: var(--s3); }
.skill-mehr-felder > .skill-feld + .skill-feld { margin-top: var(--s4); }
.dialog.skill-dialog {
  width: min(var(--dialog-l), 100%);


  --rand: var(--s6); --rand-unten: var(--s6);
}
@media (max-width: 759px) {
  .dialog.skill-dialog { --rand: var(--s5); --rand-unten: max(var(--s5), env(safe-area-inset-bottom)); }
}
.skill-form { gap: var(--s4); }
.skill-feld { width: 100%; display: flex; flex-direction: column; gap: var(--s1); }
.skill-feld-kopf {
  display: flex; align-items: baseline; gap: var(--s2);
  color: var(--text-dim); font-size: var(--fs-sm); font-weight: 600;
}
.skill-optional { font-weight: 400; }
.skill-befehl-feld {
  display: flex; align-items: center; width: 100%;
  border: 1px solid var(--kante-feld); border-bottom-color: var(--kante-feld-unten);   border-radius: var(--r-sm); background: var(--bg-feld);
  transition: border-color var(--tempo) var(--ease), box-shadow var(--tempo) var(--ease);
}
.skill-befehl-feld:focus-within { border-color: var(--accent); box-shadow: var(--fokus); }
.skill-befehl-feld:has([aria-invalid="true"]) { border-color: var(--danger); }
.skill-schraeg {
  padding: 0 var(--s1) 0 var(--s3); color: var(--text-dim); font-family: var(--mono);
  font-size: var(--fs-feld); font-weight: 600;
}
.skill-befehl-feld .skill-befehl-eingabe,
.skill-befehl-feld .skill-befehl-eingabe:focus {
  flex: 1 1 auto; min-width: 0; padding-left: 0; border: none; border-radius: 0 var(--r-sm) var(--r-sm) 0;
  background: none; box-shadow: none; font-family: var(--mono);
}
.skill-anweisung { min-height: calc(var(--s9) * 2); line-height: var(--lh); resize: vertical; }
.skill-zaehler {
  align-self: flex-end; color: var(--text-dim); font-size: var(--fs-xs);
  font-variant-numeric: tabular-nums;
}
.skill-zaehler.zu-lang { color: var(--danger); font-weight: 600; }
.skill-symbole {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(var(--h-ziel), 1fr)); gap: var(--s1);
}
.skill-symbol-wahl {
  display: inline-flex; align-items: center; justify-content: center;
  height: var(--h-ziel); padding: 0; border: 1px solid transparent; border-radius: var(--r-sm);
  background: none; color: var(--text-dim); cursor: pointer;
  transition: background var(--tempo) var(--ease), color var(--tempo) var(--ease);
}
.skill-symbol-wahl:hover { background: var(--bg-hover); color: var(--text); }
.skill-symbol-wahl[aria-checked="true"] {
  border-color: var(--accent); background: var(--accent-soft); color: var(--accent);
}
.skill-entwurf {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--s1) var(--s3); width: 100%;
  padding: var(--s2) var(--s3); border-radius: var(--r-sm);
  background: var(--info-soft); color: var(--info); font-size: var(--fs-md);
}
.skill-gesamtfehler { width: 100%; padding: var(--s3); border-radius: var(--r-sm); background: var(--danger-soft); }


.skill-dialog .dialog-actions {
  position: sticky; bottom: calc(var(--rand-unten) * -1);
  margin: var(--s5) calc(var(--rand) * -1) calc(var(--rand-unten) * -1);
  padding: var(--s3) var(--rand) max(var(--s3), env(safe-area-inset-bottom));
  border-top: 1px solid var(--border); background: var(--bg-panel);
}


.skill-chip { display: flex; width: fit-content; max-width: calc(100% - var(--s6)); }
.inputbox > .skill-chip { margin: var(--s3) 0 0 var(--s3); }
.skill-zeichen { display: inline-flex; flex: none; }
.skill-titel { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.skill-marke {
  display: flex; align-items: center; gap: var(--s1); width: fit-content; max-width: 100%;
  min-height: var(--s6); margin: 0 0 var(--s1); padding: 0 var(--s2);
}
.skill-marke:last-child { margin-bottom: 0; }
.skill-marke > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.skill-marke > svg { flex: none; }
.edit-box > .skill-marke { margin-bottom: var(--s2); }


.inputbox { position: relative; }
.slash-menue {
  position: absolute; left: 0; right: 0; bottom: calc(100% + var(--s2)); z-index: var(--z-schwebend);
  display: flex; flex-direction: column; max-height: min(320px, 45dvh);
  border: 1px solid var(--kante-ebene); border-radius: var(--r-lg);
  background: var(--flaeche-ebene); box-shadow: var(--shadow-stark); overflow: hidden;
  animation: einblenden var(--tempo) var(--ease);
}
.slash-liste { overflow-y: auto; overscroll-behavior: contain; padding: var(--s1); }
.slash-liste:empty { display: none; }
.slash-option {
  display: flex; align-items: flex-start; gap: var(--s3);
  min-height: var(--h-ziel); padding: var(--s2) var(--s3);
  border-radius: var(--r-sm); cursor: pointer;
}
.slash-option.aktiv { background: var(--accent-soft); }
.slash-symbol { display: inline-flex; flex: none; margin-top: var(--s0); color: var(--text-dim); }
.slash-option.aktiv .slash-symbol { color: var(--accent); }
.slash-text { min-width: 0; display: flex; flex-direction: column; gap: var(--s0); }

.slash-text { flex: 1 1 auto; }
.slash-kopf { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--s0) var(--s3); }
.slash-name { color: var(--text); font-size: var(--fs-bd); font-weight: 600; }
.slash-befehl { color: var(--text-dim); font-size: var(--fs-md); font-weight: 500; }
.slash-option.aktiv .slash-name { color: var(--accent); }
.slash-beschr {
  color: var(--text-dim); font-size: var(--fs-sm); line-height: var(--lh-eng);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.slash-hinweis {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: var(--s2) var(--s3); margin: 0; padding: var(--s3) var(--s4);
  color: var(--text-dim); font-size: var(--fs-bd);
}
.slash-fuss {
  margin: 0; padding: var(--s1) var(--s3); border-top: 1px solid var(--border);
  color: var(--text-dim); font-size: var(--fs-xs);
}
@media (pointer: coarse) {
  .slash-fuss { display: none; }
}
