/**
 * src/styles/settings.scss
 *
 * Configures SASS variables and Vuetify overwrites
 */
@layer vuetify-components {
  .v-skeleton-loader {
    align-items: center;
    background: rgb(var(--v-theme-surface));
    border-radius: 4px;
    display: flex;
    flex-wrap: wrap;
    position: relative;
    vertical-align: top;
  }
  .v-skeleton-loader__actions {
    justify-content: end;
  }
  .v-skeleton-loader .v-skeleton-loader__ossein {
    height: 100%;
  }
  .v-skeleton-loader .v-skeleton-loader__avatar,
  .v-skeleton-loader .v-skeleton-loader__button,
  .v-skeleton-loader .v-skeleton-loader__chip,
  .v-skeleton-loader .v-skeleton-loader__divider,
  .v-skeleton-loader .v-skeleton-loader__heading,
  .v-skeleton-loader .v-skeleton-loader__image,
  .v-skeleton-loader .v-skeleton-loader__ossein,
  .v-skeleton-loader .v-skeleton-loader__text {
    background: color-mix(in srgb, rgb(var(--v-theme-on-surface)) calc(var(--v-border-opacity) * 100%), transparent);
  }
  @media (forced-colors: active) {
    .v-skeleton-loader .v-skeleton-loader__avatar,
    .v-skeleton-loader .v-skeleton-loader__button,
    .v-skeleton-loader .v-skeleton-loader__chip,
    .v-skeleton-loader .v-skeleton-loader__divider,
    .v-skeleton-loader .v-skeleton-loader__heading,
    .v-skeleton-loader .v-skeleton-loader__image,
    .v-skeleton-loader .v-skeleton-loader__ossein,
    .v-skeleton-loader .v-skeleton-loader__text {
      background: canvastext;
    }
  }
  .v-skeleton-loader .v-skeleton-loader__list-item,
  .v-skeleton-loader .v-skeleton-loader__list-item-avatar,
  .v-skeleton-loader .v-skeleton-loader__list-item-text,
  .v-skeleton-loader .v-skeleton-loader__list-item-two-line,
  .v-skeleton-loader .v-skeleton-loader__list-item-avatar-two-line,
  .v-skeleton-loader .v-skeleton-loader__list-item-three-line,
  .v-skeleton-loader .v-skeleton-loader__list-item-avatar-three-line {
    border-radius: 4px;
  }
  .v-skeleton-loader__bone {
    align-items: center;
    border-radius: inherit;
    display: flex;
    flex: 1 1 100%;
    flex-wrap: wrap;
    overflow: hidden;
    position: relative;
  }
  .v-skeleton-loader__bone::after {
    animation: loading 1.5s infinite;
    background: linear-gradient(90deg, color-mix(in srgb, rgb(var(--v-theme-surface)) 0%, transparent), color-mix(in srgb, rgb(var(--v-theme-surface)) 30%, transparent), color-mix(in srgb, rgb(var(--v-theme-surface)) 0%, transparent));
    transform: translateX(-100%);
    contain: content;
    will-change: transform;
    z-index: 1;
  }
  .v-skeleton-loader__bone::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  @media (forced-colors: active) and (pointer: fine) {
    .v-skeleton-loader__bone {
      cursor: progress;
    }
  }
  .v-skeleton-loader__avatar {
    border-radius: 50%;
    flex: 0 1 auto;
    margin: 8px 16px;
    max-height: 48px;
    min-height: 48px;
    height: 48px;
    max-width: 48px;
    min-width: 48px;
    width: 48px;
  }
  .v-skeleton-loader__avatar + .v-skeleton-loader__bone {
    flex: 1 1 auto;
    margin-inline-start: 0;
  }
  .v-skeleton-loader__avatar + .v-skeleton-loader__sentences > .v-skeleton-loader__text,
  .v-skeleton-loader__avatar + .v-skeleton-loader__paragraph > .v-skeleton-loader__text {
    margin-inline-start: 0;
  }
  .v-skeleton-loader__button {
    border-radius: 4px;
    height: 36px;
    margin: 16px;
    max-width: 64px;
  }
  .v-skeleton-loader__button + .v-skeleton-loader__bone {
    flex: 1 1 auto;
    margin-inline-start: 0;
  }
  .v-skeleton-loader__button + .v-skeleton-loader__sentences > .v-skeleton-loader__text,
  .v-skeleton-loader__button + .v-skeleton-loader__paragraph > .v-skeleton-loader__text {
    margin-inline-start: 0;
  }
  .v-skeleton-loader__chip {
    border-radius: 16px;
    margin: 16px;
    height: 32px;
    max-width: 96px;
  }
  .v-skeleton-loader__chip + .v-skeleton-loader__bone {
    flex: 1 1 auto;
    margin-inline-start: 0;
  }
  .v-skeleton-loader__chip + .v-skeleton-loader__sentences > .v-skeleton-loader__text,
  .v-skeleton-loader__chip + .v-skeleton-loader__paragraph > .v-skeleton-loader__text {
    margin-inline-start: 0;
  }
  .v-skeleton-loader__date-picker {
    border-radius: inherit;
  }
  .v-skeleton-loader__date-picker .v-skeleton-loader__list-item:first-child .v-skeleton-loader__text {
    max-width: 88px;
    width: 20%;
  }
  .v-skeleton-loader__date-picker .v-skeleton-loader__heading {
    max-width: 256px;
    width: 40%;
  }
  .v-skeleton-loader__date-picker-days {
    flex-wrap: wrap;
    margin: 16px;
  }
  .v-skeleton-loader__date-picker-days .v-skeleton-loader__avatar {
    border-radius: 4px;
    margin: 4px;
    max-width: 100%;
  }
  .v-skeleton-loader__date-picker-options {
    flex-wrap: nowrap;
  }
  .v-skeleton-loader__date-picker-options .v-skeleton-loader__text {
    flex: 1 1 auto;
  }
  .v-skeleton-loader__chip-group {
    flex-wrap: wrap;
    padding: 16px;
    gap: 12px;
  }
  .v-skeleton-loader__chip-group > .v-skeleton-loader__chip {
    flex: 0 0 auto;
    margin: 0;
  }
  .v-skeleton-loader__chip-group > .v-skeleton-loader__chip:nth-child(5n+1) {
    min-width: 60px;
  }
  .v-skeleton-loader__chip-group > .v-skeleton-loader__chip:nth-child(5n+2) {
    min-width: 160px;
  }
  .v-skeleton-loader__chip-group > .v-skeleton-loader__chip:nth-child(5n+3) {
    min-width: 85px;
  }
  .v-skeleton-loader__chip-group > .v-skeleton-loader__chip:nth-child(5n+4) {
    min-width: 55px;
  }
  .v-skeleton-loader__chip-group > .v-skeleton-loader__chip:nth-child(5n+5) {
    min-width: 110px;
  }
  .v-skeleton-loader__divider {
    border-radius: 1px;
    height: 2px;
  }
  .v-skeleton-loader__heading {
    border-radius: 12px;
    margin: 16px;
    height: 24px;
  }
  .v-skeleton-loader__heading + .v-skeleton-loader__subtitle {
    margin-top: -16px;
  }
  .v-skeleton-loader__image {
    height: 150px;
    border-radius: 0;
  }
  .v-skeleton-loader__card .v-skeleton-loader__image {
    border-radius: 0;
  }
  .v-skeleton-loader__list-item {
    margin: 16px;
  }
  .v-skeleton-loader__list-item .v-skeleton-loader__text {
    margin: 0;
  }
  .v-skeleton-loader__table-heading {
    align-items: center;
    display: flex;
    justify-content: space-between;
  }
  .v-skeleton-loader__table-heading > .v-skeleton-loader__heading {
    max-width: 15%;
    height: 32px;
  }
  .v-skeleton-loader__table-heading > .v-skeleton-loader__text {
    max-width: 40%;
  }
  .v-skeleton-loader__table-thead {
    align-items: baseline;
    display: grid;
    grid-auto-columns: 1fr;
    grid-auto-flow: column;
    margin: 0 8px;
  }
  .v-skeleton-loader__table-thead > .v-skeleton-loader__heading {
    margin-top: 16px;
    margin-inline: 8px;
    max-width: 100px;
  }
  .v-skeleton-loader__table-tfoot {
    justify-content: flex-end;
    flex-wrap: nowrap;
    min-height: 62px;
  }
  .v-skeleton-loader__table-tfoot > .v-skeleton-loader__avatar {
    min-height: 36px;
    min-width: 36px;
    height: 36px;
    width: 36px;
    flex-grow: 0;
  }
  .v-skeleton-loader__table-tfoot > .v-skeleton-loader__text.v-skeleton-loader__bone {
    margin-top: 16px;
  }
  .v-skeleton-loader__table-tfoot > .v-skeleton-loader__text.v-skeleton-loader__bone:nth-child(1) {
    max-width: 170px;
  }
  .v-skeleton-loader__table-tfoot > .v-skeleton-loader__text.v-skeleton-loader__bone:nth-child(2) {
    max-width: 64px;
  }
  .v-skeleton-loader__table-row {
    display: grid;
    grid-auto-columns: 1fr;
    grid-auto-flow: column;
    margin: 0 8px;
  }
  .v-skeleton-loader__table-row + .v-skeleton-loader__divider {
    margin: 0 16px;
  }
  .v-skeleton-loader__table-cell > .v-skeleton-loader__text {
    margin-inline: 8px;
  }
  .v-skeleton-loader__subtitle {
    max-width: 70%;
  }
  .v-skeleton-loader__subtitle > .v-skeleton-loader__text {
    height: 16px;
    border-radius: 8px;
  }
  .v-skeleton-loader__text {
    border-radius: 6px;
    margin: 16px;
    height: 12px;
  }
  .v-skeleton-loader__text + .v-skeleton-loader__text {
    margin-top: -8px;
    max-width: 50%;
  }
  .v-skeleton-loader__text + .v-skeleton-loader__text + .v-skeleton-loader__text {
    max-width: 70%;
  }
  .v-skeleton-loader--boilerplate .v-skeleton-loader__bone:after {
    display: none;
  }
  .v-skeleton-loader--is-loading {
    overflow: hidden;
  }
  .v-skeleton-loader--tile {
    border-radius: 0;
  }
  .v-skeleton-loader--tile .v-skeleton-loader__bone {
    border-radius: 0;
  }
  @keyframes loading {
    100% {
      transform: translateX(100%);
    }
  }
}
.kosten-aufstellung[data-v-eb0e1d94] {
  max-width: 460px;
  margin: 8px 0;
  padding: 14px 18px;
  border-radius: 10px;
  background: rgb(var(--v-theme-surface));
  color: rgba(var(--v-theme-on-surface), 0.87);
  border: 1px solid rgba(var(--v-theme-on-surface), 0.08);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}
.ka-eingerueckt[data-v-eb0e1d94] {
  margin-left: 64px;
}
.ka-titel[data-v-eb0e1d94] {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(var(--v-theme-on-surface), 0.55);
  margin-bottom: 10px;
}
.ka-pos[data-v-eb0e1d94] {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px dashed rgba(var(--v-theme-on-surface), 0.12);
}
.ka-art[data-v-eb0e1d94] {
  flex: 1;
  font-size: 14px;
}
.ka-meta[data-v-eb0e1d94] {
  display: block;
  font-size: 12px;
  color: rgba(var(--v-theme-on-surface), 0.55);
  margin-top: 2px;
}
.ka-kaestchen[data-v-eb0e1d94] {
  display: inline-block;
  vertical-align: 1px;
  font-size: 11px;
  line-height: 16px;
  padding: 0 6px;
  border-radius: 8px;
  background: rgba(var(--v-theme-on-surface), 0.06);
  color: rgba(var(--v-theme-on-surface), 0.65);
  margin-left: 6px;
  white-space: nowrap;
}
.ka-betrag[data-v-eb0e1d94] {
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.ka-summe[data-v-eb0e1d94] {
  display: flex;
  justify-content: space-between;
  padding-top: 10px;
  margin-top: 4px;
  border-top: 2px solid rgba(var(--v-theme-on-surface), 0.6);
  font-weight: 700;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}
.ka-leer[data-v-eb0e1d94] {
  padding: 8px 0;
  color: rgba(var(--v-theme-on-surface), 0.55);
}
@media (max-width: 600px) {
.kosten-aufstellung[data-v-eb0e1d94] {
    margin-left: 0;
    max-width: none;
}
}

[data-v-14cc3e2c] .row-pickable tbody tr {
  cursor: pointer;
}
.basevgrid-card.row-pickable[data-v-14cc3e2c] {
  cursor: pointer;
}
[data-v-14cc3e2c] .rowSelected > td {
  background-color: rgb(197, 195, 195) !important;
}
[data-v-14cc3e2c] .rowSelected {
  background-color: rgb(197, 195, 195) !important;
}
.v-table > .v-table__wrapper > table > tbody > tr > td[data-v-14cc3e2c] {
  padding: 0px !important;
}
.tdSum[data-v-14cc3e2c] {
  color: red;
  display: table-cell;
  text-align: end;
}
.tdSum-right[data-v-14cc3e2c] {
  padding-right: 20px;
}
/* .v-table > ... > td { padding: 0px !important } oben gewinnt sonst gegen .tdSum-right,
   da !important immer schlaegt - deshalb hier gleiche Spezifitaet + !important */
.v-table > .v-table__wrapper > table > tbody > tr.sum-row > td.tdSum-right[data-v-14cc3e2c] {
  padding-right: 20px !important;
}
.sum-row td[data-v-14cc3e2c] {
  border-top: 2px solid darkred;
}

/* Gruppierte Zeilen kompakt halten */

/* Kompaktes, sauberes Design für group-header mit Subtotal-Zellen */
[data-v-14cc3e2c] .v-data-table__tr--group-header {
  height: 28px !important;
  min-height: 28px !important;
}
[data-v-14cc3e2c] .v-data-table__tr--group-header > td.group-header-label-cell {
  padding-top: 2px !important;
  padding-bottom: 2px !important;
  height: 28px !important;
  min-height: 28px !important;
  line-height: 1.2 !important;
  vertical-align: middle !important;
  max-width: none !important;
  width: auto !important;
  min-width: 0 !important;
  white-space: nowrap !important;
  text-align: left !important;
}
.group-header-label-wrapper[data-v-14cc3e2c] {
  flex-wrap: nowrap !important;
  min-width: 0;
}
.group-header-label-text[data-v-14cc3e2c] {
  white-space: nowrap !important;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block;
  max-width: 100%;
}
[data-v-14cc3e2c] .v-data-table__tr--group-header .d-flex.align-center {
  min-height: 24px !important;
  align-items: center !important;
}
[data-v-14cc3e2c] .v-data-table__tr--group-header .v-btn {
  min-width: 22px !important;
  width: 22px !important;
  height: 22px !important;
  margin-right: 4px !important;
}
.tdZwischenSum[data-v-14cc3e2c] {
  font-size: 0.95em;
  color: #444;
  background: transparent;
  padding: 0 6px !important;
  text-align: right;
  vertical-align: middle;
}

/* Header-Zellen niemals umbrechen */
[data-v-14cc3e2c] .v-data-table thead th,[data-v-14cc3e2c] .v-data-table thead th .v-data-table-header__content,[data-v-14cc3e2c] .v-data-table thead th span {
  white-space: nowrap !important;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Data-table columns padding */
[data-v-14cc3e2c] .v-data-table__td {
  padding: 0 6px !important;
}
[data-v-14cc3e2c] .v-data-table-column {
  padding: 0 6px !important;
}
[data-v-14cc3e2c] th.th-checkbox-header .v-data-table-header__content {
  justify-content: center !important;
  text-align: center !important;
}

/* Expand-Spalte minimal */
[data-v-14cc3e2c] .v-data-table__td[data-key="data-table-expand"] {
  width: 20px !important;
  min-width: 20px !important;
  padding: 0 4px !important;
  text-align: center;
}
.expand-wrapper[data-v-14cc3e2c] {
  overflow-x: auto;
  max-width: 100%;
}
/* autoWidth (zB Sub-Grid im Zeilen-Expand): Vuetify setzt die <table> auf width:100% - dann
   wird der Restplatz auf die Spalten verteilt und alles zieht sich auseinander. So ist die
   Tabelle nur so breit wie ihre Spalten (Inhalt bzw. eingestellte Breite). */
.basevgrid-autowidth[data-v-14cc3e2c] .v-table__wrapper > table {
  width: auto;
}
.right-padding-cell[data-v-14cc3e2c] {
  padding-right: 10px !important;
}

/* Rechtes Padding für rechtsbündige Zellen */
[data-v-14cc3e2c] .v-data-table__td.v-data-table-column--align-end {
  padding-right: 20px !important;
}

/* Scrollbars: bekommt BaseVGrid von aussen eine maxHeight/maxWidth (z.B. in der
   StammMaske als Tab-Inhalt), soll die Tabelle in ihrem Bereich scrollen - vertikal
   UND horizontal - statt abgeschnitten zu werden. Dazu Root als Flex-Spalte, die
   Tabelle nimmt den Restplatz (min-height:0, damit der Flex-Child schrumpfen darf)
   und der v-table__wrapper scrollt. Nur Desktop; Mobile rendert gestapelt. */
@media (min-width: 601px) {
.basevgrid-root[data-v-14cc3e2c] {
    display: flex;
    flex-direction: column;
    min-height: 0;
}
.basevgrid-root[data-v-14cc3e2c] .v-data-table {
    flex: 1 1 auto;
    min-height: 0;
}
.basevgrid-root[data-v-14cc3e2c] .v-data-table > .v-table__wrapper {
    overflow: auto;
}

  /* Karten-Ansicht muss denselben Platz einnehmen wie die Tabelle oben, sonst wechselt beim
     Umschalten die Gesamthoehe von BaseVGrid und der umgebende Bereich (z.B. StammMaske-Tab)
     springt sichtbar. */
.basevgrid-root[data-v-14cc3e2c] .basevgrid-cards-wrapper {
    flex: 1 1 auto;
    min-height: 0;
}
.basevgrid-root[data-v-14cc3e2c] .basevgrid-card-list {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
}
}
@media (max-width: 600px) {
[data-v-14cc3e2c] .v-sheet {
    max-height: calc(100vh - 160px);
    overflow-y: auto;
    overflow-x: hidden;
}
[data-v-14cc3e2c] .v-table__wrapper {
    max-height: calc(100vh - 220px);
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}
[data-v-14cc3e2c] .v-data-table {
    width: 100% !important;
    overflow-x: hidden !important;
}
[data-v-14cc3e2c] .v-data-table thead th {
    text-align: left !important;
}
[data-v-14cc3e2c] .v-data-table thead th .v-data-table-header__content {
    justify-content: flex-start !important;
    text-align: left !important;
}
[data-v-14cc3e2c] 
    .v-data-table
      thead
      th.v-data-table-column--align-end
      .v-data-table-header__content
   {
    justify-content: flex-start !important;
}
[data-v-14cc3e2c] th.th-checkbox-header .v-data-table-header__content {
    justify-content: center !important;
    text-align: center !important;
}

  /* Alternativ gefärbte Zeilen in Mobile für bessere Lesbarkeit */
[data-v-14cc3e2c] .v-data-table tbody tr:nth-child(odd) {
    background-color: rgba(0, 0, 0, 0.06) !important;
}
[data-v-14cc3e2c] .v-data-table tbody tr:nth-child(even) {
    background-color: rgba(0, 0, 0, 0) !important;
}
}
[data-v-14cc3e2c] th[data-column-key="data-table-group"] {
  color: transparent !important;
  min-width: 24px !important;
  width: 24px !important;
  pointer-events: none;
}

/* ---- newDesign: einheitliches Grid-Design (siehe VTimeLineDay.vue) ---- */
.basevgrid-modern[data-v-14cc3e2c] {
  border: 1px solid rgba(36, 82, 113, 0.12) !important;
  border-radius: 0 !important;
  box-shadow: 0 7px 18px rgba(31, 62, 82, 0.08) !important;
  overflow: hidden;
}
.basevgrid-toolbar[data-v-14cc3e2c],
.basevgrid-top-toolbar[data-v-14cc3e2c] {
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.18);
}

/* v-toolbar-title kommt aus Vuetify mit flex:1 und margin-inline-start:20px - das drueckt
   Toggle/Suche in Richtung Mitte und weicht vom Karten-Titel ab. Titel auf natuerliche Breite
   begrenzen und exakt gleiche Schrift/Abstand wie .cards-title (Karten-Toolbar) verwenden. */
.basevgrid-top-toolbar[data-v-14cc3e2c] .v-toolbar-title {
  flex: 0 1 auto;
  margin-inline-start: 0 !important;
  font-size: 15px;
  font-weight: 500;
}
/* Feste Pixel-Hoehen (56px etc.) sind hier immer wieder danebengegangen, weil Vuetifys
   v-toolbar bei density="compact" per INLINE style eine eigene Hoehe auf .v-toolbar__content
   setzt (40px), die nichts mit dem Karten-Toolbar-div zu tun hat. Robuster Fix: diese Inline-
   Hoehe komplett entfernen (height:auto) und stattdessen dasselbe Padding wie
   .basevgrid-cards-toolbar (10px 14px) verwenden - beide Toolbars haben dieselbe
   .basevgrid-search-field als groesstes Kind, dadurch ergibt sich automatisch dieselbe
   Gesamthoehe statt eines geratenen Fixwerts. */
.basevgrid-top-toolbar[data-v-14cc3e2c] .v-toolbar__content {
  height: auto !important;
  min-height: 0 !important;
  padding: 10px 14px;
  overflow: visible !important;
}

/* newDesign, eingebettet als Block in einer Container-Maske (props.showTitle===false, z.B.
   Firma - Sondertage/Firmenkonten): der eigene Navy-Titel-Balken + Schatten + eckige Kanten
   wirken wie eine fremde App-Komponente auf der sonst schlichten weissen Formularflaeche.
   Kompakter, randlos-heller, abgerundet statt eckig - fuegt sich als Abschnitt ein statt als
   separate Karte. Titel im selben Orange-Kapitaelchen-Stil wie EditTitel.vue's .section-titel,
   damit Block-Ueberschriften (BaseEditor) und Grid-Ueberschriften (BaseVGrid) gleich aussehen. */
.basevgrid-embedded.basevgrid-modern[data-v-14cc3e2c] {
  border: 1px solid rgba(36, 82, 113, 0.14) !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}
.basevgrid-embedded .basevgrid-top-toolbar[data-v-14cc3e2c] {
  background: transparent !important;
  color: #17262e !important;
  box-shadow: none !important;
  border-bottom: 1px solid rgba(36, 82, 113, 0.14);
}
.basevgrid-embedded .basevgrid-top-toolbar[data-v-14cc3e2c] .v-toolbar__content {
  padding: 6px 10px;
}
.basevgrid-embedded .basevgrid-top-toolbar[data-v-14cc3e2c] .v-toolbar-title {
  color: #d9720a;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.basevgrid-embedded .basevgrid-top-toolbar[data-v-14cc3e2c] .v-btn {
  color: #56676f !important;
}
/* Karten-Ansicht eingebettet: gleicher heller Kopf wie die Tabellen-Toolbar oben statt des
   Navy-Balkens - sonst passt ein Block mit ansicht: karten (zB Firmenkonten) nicht zur Maske. */
.basevgrid-embedded .basevgrid-cards-toolbar[data-v-14cc3e2c] {
  background: transparent;
  color: #17262e;
  padding: 6px 10px;
  border-bottom: 1px solid rgba(36, 82, 113, 0.14);
}
.basevgrid-embedded .basevgrid-cards-toolbar .cards-title[data-v-14cc3e2c] {
  color: #d9720a;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.basevgrid-embedded .basevgrid-cards-toolbar[data-v-14cc3e2c] .v-btn {
  color: #56676f !important;
}
.basevgrid-table-modern[data-v-14cc3e2c] thead th {
  background: #f5f8fa !important;
  border-bottom: 0 !important;
}
.basevgrid-th[data-v-14cc3e2c] {
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #687a84 !important;
}

/* Boolean-Wert als Pill statt readonly-Checkbox - eine Checkbox sieht klickbar aus, obwohl
   sie nur anzeigt; das Pill macht "nur Anzeige" auf den ersten Blick klar. Gleiche Farben
   wie die Ampel-Spalte fuer Konsistenz (gruen=positiv, grau=neutral). */
.basevgrid-bool-pill[data-v-14cc3e2c] {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 12px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  line-height: 1.6;
}
.basevgrid-bool-pill.is-true[data-v-14cc3e2c] {
  color: #2e7d4f;
  background: rgba(46, 125, 79, 0.12);
}
.basevgrid-bool-pill.is-false[data-v-14cc3e2c] {
  color: #8a97a0;
  background: rgba(138, 151, 160, 0.14);
}

/* Alle/Ja/Nein-Filter-Pill im Spaltenkopf einer Boolean-Spalte (cycleCheckboxFilter). */
.basevgrid-bool-filter[data-v-14cc3e2c] {
  margin-left: 6px;
  border: 1px solid rgba(36, 82, 113, 0.18);
  background: #eef1f3;
  color: #5b6b76;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 2px 7px;
  border-radius: 999px;
  cursor: pointer;
}
.basevgrid-bool-filter.is-ja[data-v-14cc3e2c] {
  background: rgba(46, 125, 79, 0.14);
  border-color: rgba(46, 125, 79, 0.4);
  color: #2e7d4f;
}
.basevgrid-bool-filter.is-nein[data-v-14cc3e2c] {
  background: rgba(163, 74, 48, 0.14);
  border-color: rgba(163, 74, 48, 0.4);
  color: #a34a30;
}
.basevgrid-table-modern[data-v-14cc3e2c]
  tbody tr:not(.v-data-table__tr--group-header):nth-child(even) {
  background: #f5f8fa;
}

/* Select-Spalte wie in der Kartenansicht per Trennlinie von den Datenspalten abheben, statt
   dass sie wie eine Datenspalte unter den anderen wirkt (siehe .basevgrid-card-select-col).
   .v-data-table__td--select-row ist die echte, von Vuetify selbst vergebene Klasse fuer die
   Body-Zelle (VDataTableRow.js) - der Header-th hat keine eigene, daher dort ein selbst
   gesetzter Wrapper (siehe v-slot:header.data-table-select oben). */
.basevgrid-table-modern[data-v-14cc3e2c] .v-data-table__td--select-row {
  border-right: 1px solid rgba(36, 82, 113, 0.14) !important;
}
.basevgrid-table-modern[data-v-14cc3e2c] .basevgrid-select-header-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  border-right: 1px solid rgba(36, 82, 113, 0.14);
}
.basevgrid-table-modern[data-v-14cc3e2c] tbody tr:hover {
  background: rgba(36, 82, 113, 0.06) !important;
}
.basevgrid-table-modern[data-v-14cc3e2c] .rowSelected > td {
  background-color: rgba(36, 82, 113, 0.14) !important;
}
.basevgrid-sum-row-modern td[data-v-14cc3e2c] {
  border-top: 2px solid #245271 !important;
  color: #1f2f3a !important;
  font-weight: 700 !important;
}

/* ---- newDesign: Tabelle/Karten-Umschalter (gleiche Pill-Optik wie StammListe.vue) ---- */
.basevgrid-view-toggle[data-v-14cc3e2c] {
  display: flex;
  background: #eef1f3;
  border-radius: 20px;
  padding: 3px;
  gap: 2px;
  margin: 0 8px;
}
.basevgrid-view-toggle button[data-v-14cc3e2c] {
  border: 0;
  background: transparent;
  color: #5b6b76;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 17px;
  cursor: pointer;
}
.basevgrid-view-toggle button.active[data-v-14cc3e2c] {
  background: #ffffff;
  color: #245271;
  font-weight: 700;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* ---- newDesign: Karten-Ansicht ---- */
.basevgrid-cards-wrapper[data-v-14cc3e2c] {
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.basevgrid-cards-toolbar[data-v-14cc3e2c] {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px 14px;
  background: #245271;
  color: #ffffff;
}
.basevgrid-cards-toolbar .cards-title[data-v-14cc3e2c] {
  font-size: 15px;
  font-weight: 500;
}
/* Suchfeld in dunklen newDesign-Toolbars (Tabelle UND Karten setzen dort color:#fff fuer den
   Titel) - das darf nicht ins weisse Suchfeld durchschlagen (Icon/Text/Placeholder waeren
   sonst weiss auf weiss unsichtbar). */
.basevgrid-search-field[data-v-14cc3e2c] .v-field {
  background: #ffffff;
}
.basevgrid-search-field[data-v-14cc3e2c] .v-field__input,
.basevgrid-search-field[data-v-14cc3e2c] .v-field__prepend-inner .v-icon,
.basevgrid-search-field[data-v-14cc3e2c] .v-field__clearable .v-icon {
  color: #3d4c56 !important;
}
.basevgrid-search-field[data-v-14cc3e2c] .v-field__input input::placeholder {
  color: #8a97a0 !important;
  opacity: 1;
}
.basevgrid-cards-toolbar .basevgrid-view-toggle[data-v-14cc3e2c] {
  margin: 0;
}
.basevgrid-card-list[data-v-14cc3e2c] {
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.basevgrid-card[data-v-14cc3e2c] {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(36, 82, 113, 0.12);
}
.basevgrid-card[data-v-14cc3e2c]:nth-child(even) {
  background: #f5f8fa;
}
.basevgrid-card[data-v-14cc3e2c]:hover {
  background: rgba(36, 82, 113, 0.05);
}
.basevgrid-card.is-selected[data-v-14cc3e2c] {
  background: rgba(36, 82, 113, 0.1);
}
/* Eigene Spalte fuer die Auswahl-Checkbox mit Trennlinie - sonst wirkt sie wie ein
   Datenfeld unter den anderen. align-self:stretch + border-right zieht die Trennlinie
   ueber die volle Kartenhoehe, unabhaengig von der Kartengroesse. */
.basevgrid-card-select-col[data-v-14cc3e2c] {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  flex: 0 0 auto;
  padding-right: 12px;
  margin-right: 4px;
  border-right: 1px solid rgba(36, 82, 113, 0.14);
}
/* VCheckboxBtn rendert VSelectionControl als eigenes Root-Element - dieselbe Klasse traegt
   Vuetifys .v-selection-control { flex: 1 0 }, wodurch die Checkbox in dieser Flex-Row
   waechst und sich den Platz mit .basevgrid-card-body teilt. !important noetig, da beide
   Regeln dieselbe Spezifitaet haben und die Ladereihenfolge der Stylesheets nicht garantiert
   ist. */
.basevgrid-card-select[data-v-14cc3e2c] {
  flex: 0 0 auto !important;
  width: auto;
}
.basevgrid-card-body[data-v-14cc3e2c] {
  flex: 1 1 auto;
  min-width: 0;
}
.basevgrid-card-title[data-v-14cc3e2c] {
  font-size: 14.5px;
  font-weight: 700;
  color: #1c2b36;
  margin-bottom: 6px;
}
.basevgrid-card-fields[data-v-14cc3e2c] {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
}
.basevgrid-card-field[data-v-14cc3e2c] {
  display: flex;
  flex-direction: column;
  min-width: 90px;
}
.basevgrid-card-field .field-label[data-v-14cc3e2c] {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #8a97a0;
}
.basevgrid-card-field .field-value[data-v-14cc3e2c] {
  font-size: 13px;
  color: #3d4c56;
}
.basevgrid-card-field .field-value.amount[data-v-14cc3e2c] {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}
.basevgrid-card-actions[data-v-14cc3e2c] {
  flex: 0 0 auto;
  align-self: center;
}
.basevgrid-cards-loading[data-v-14cc3e2c] {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 16px;
}
.basevgrid-cards-empty[data-v-14cc3e2c] {
  padding: 40px 16px;
  text-align: center;
  color: #8a97a0;
  font-size: 13.5px;
}
.basevgrid-cards-footer[data-v-14cc3e2c] {
  display: flex;
  justify-content: center;
  padding: 10px;
  border-top: 1px solid rgba(36, 82, 113, 0.12);
}

/* ---- newDesign: Beleg-Liste (belegModus) ---- */
.bl-kopfbereich[data-v-14cc3e2c] {
  padding: 16px 16px 0;
  --bl-text: rgba(var(--v-theme-on-surface), 0.87);
  --bl-leise: rgba(var(--v-theme-on-surface), 0.55);
  --bl-linie: rgba(var(--v-theme-on-surface), 0.1);
}
.bl-kpis[data-v-14cc3e2c] {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.bl-kpi[data-v-14cc3e2c] {
  border: 1px solid var(--bl-linie);
  border-radius: 10px;
  padding: 10px 16px;
  min-width: 140px;
  background: rgb(var(--v-theme-surface));
  cursor: pointer;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.bl-kpi[data-v-14cc3e2c]:hover {
  border-color: rgba(37, 106, 191, 0.4);
}
.bl-kpi.aktiv[data-v-14cc3e2c] {
  border-color: #256abf;
  box-shadow: 0 0 0 1px #256abf inset;
}
.bl-kpi span[data-v-14cc3e2c] {
  display: block;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bl-leise);
}
.bl-kpi b[data-v-14cc3e2c] {
  display: block;
  font-size: 20px;
  font-variant-numeric: tabular-nums;
  color: var(--bl-text);
}
.bl-farbe-orange[data-v-14cc3e2c] {
  color: #b26a00 !important;
}
.bl-farbe-rot[data-v-14cc3e2c] {
  color: #b3261e !important;
}
.bl-farbe-gruen[data-v-14cc3e2c] {
  color: #1b6e2e !important;
}
.bl-filter[data-v-14cc3e2c] {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.bl-fchip[data-v-14cc3e2c] {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--bl-linie);
  border-radius: 16px;
  padding: 4px 12px;
  font-size: 13px;
  cursor: pointer;
  user-select: none;
  background: rgb(var(--v-theme-surface));
  color: var(--bl-text);
}
.bl-fchip.aktiv[data-v-14cc3e2c] {
  background: rgba(37, 106, 191, 0.12);
  border-color: #256abf;
}
.bl-trenner[data-v-14cc3e2c] {
  width: 1px;
  height: 24px;
  background: var(--bl-linie);
}
.bl-sort[data-v-14cc3e2c] {
  max-width: 230px;
  flex: 0 0 230px;
}
.bl-reset[data-v-14cc3e2c] {
  font-size: 13px;
  color: #256abf;
  cursor: pointer;
}
.bl-treffer[data-v-14cc3e2c] {
  font-size: 12px;
  color: var(--bl-leise);
  margin-left: auto;
}
.bl-listenkopf[data-v-14cc3e2c],
.bl-zeile[data-v-14cc3e2c] {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) 170px 120px 96px;
  align-items: center;
  gap: 16px;
}
.bl-listenkopf[data-v-14cc3e2c] {
  padding: 10px 16px;
  margin: 0 -16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bl-leise);
  border-top: 1px solid var(--bl-linie);
  border-bottom: 1px solid var(--bl-linie);
}
.bl-listenkopf .rechts[data-v-14cc3e2c] {
  text-align: right;
}
.basevgrid-belegliste[data-v-14cc3e2c] tbody > tr.bl-row > td.bl-cell {
  padding: 10px 16px !important;
  height: auto !important;
  border-bottom: 1px solid rgba(var(--v-theme-on-surface), 0.06) !important;
}
.basevgrid-belegliste[data-v-14cc3e2c] tbody > tr.bl-row:hover > td {
  background: rgba(37, 106, 191, 0.04);
}
.basevgrid-belegliste[data-v-14cc3e2c] tbody > tr.bl-row.is-expanded > td {
  background: rgba(37, 106, 191, 0.06);
}
.bl-dot[data-v-14cc3e2c] {
  justify-self: center;
}
.bl-haupt[data-v-14cc3e2c] {
  min-width: 0;
}
.bl-titel[data-v-14cc3e2c] {
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bl-sub[data-v-14cc3e2c] {
  font-size: 12px;
  color: rgba(var(--v-theme-on-surface), 0.55);
  margin-top: 3px;
  display: flex;
  gap: 12px;
  align-items: center;
  white-space: nowrap;
  overflow: hidden;
}
.bl-sub > span[data-v-14cc3e2c] {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.bl-ablage[data-v-14cc3e2c] {
  color: #256abf;
  max-width: 280px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block !important;
}
.bl-memo[data-v-14cc3e2c] {
  font-style: italic;
  max-width: 240px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block !important;
}
.bl-chip[data-v-14cc3e2c] {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 500;
  padding: 3px 10px 3px 6px;
  border-radius: 12px;
  white-space: nowrap;
}
.bl-chip-orange[data-v-14cc3e2c] {
  color: #b26a00;
  background: #fff4e0;
}
.bl-chip-gruen[data-v-14cc3e2c] {
  color: #1b6e2e;
  background: #e6f4ea;
}
.bl-chip-rot[data-v-14cc3e2c] {
  color: #b3261e;
  background: #fde7e7;
}
.bl-chip-grau[data-v-14cc3e2c] {
  color: #455a64;
  background: #eceff1;
}
.bl-status .bl-sub[data-v-14cc3e2c] {
  margin-top: 4px;
}
.bl-betrag[data-v-14cc3e2c] {
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}
.bl-betrag.null[data-v-14cc3e2c] {
  color: rgba(var(--v-theme-on-surface), 0.35);
  font-weight: 400;
}
.bl-aktionen[data-v-14cc3e2c] {
  display: flex;
  justify-content: flex-end;
  gap: 2px;
}
