/* @balistas/framework – balistas-extra.css. Nové komponenty od 0.1.6; načítá se vedle balistas.css (používá jeho třídu bal-visually-hidden). */
/* textarea.css */
.bal-textarea {
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  color: var(--bal-text);
  font-family: var(--bal-font-ui);
  font-size: 14px;
  font-weight: 400;
  line-height: 17px;
  letter-spacing: 0;
  text-align: left;
}
.bal-textarea__label { display: block; margin: 0; padding: 0; color: var(--bal-text); font-size: 14px; font-weight: 600; line-height: 17px; }
.bal-textarea__field {
  box-sizing: border-box;
  width: 100%;
  height: auto;
  min-height: 88px;
  margin: 0;
  padding: 12px 14px;
  border: 0;
  border-radius: var(--bal-component-control-radius);
  background: var(--bal-paper);
  box-shadow: inset 0 0 0 1px var(--bal-text-muted);
  color: var(--bal-text);
  font-family: var(--bal-font-ui);
  font-size: 14px;
  font-weight: 400;
  line-height: 17px;
  letter-spacing: 0;
  text-decoration: none;
  opacity: 1;
  resize: vertical;
  appearance: none;
}
/* Stavy najetí, zaměření, chyby a nedostupnosti stejně jako bal-input__field. */
.bal-textarea__field:hover:not(:disabled) { box-shadow: inset 0 0 0 1px var(--bal-text); }
.bal-textarea__field:focus-visible { outline: 2px solid var(--bal-brand-mid); outline-offset: 2px; }
.bal-textarea__field[aria-invalid="true"],
.bal-textarea__field[aria-invalid="true"]:hover:not(:disabled) { box-shadow: inset 0 0 0 1px var(--bal-danger); }
.bal-textarea__field:disabled { cursor: not-allowed; }
.bal-textarea:has(.bal-textarea__field:disabled) { opacity: 0.55; }
.bal-textarea__field::placeholder { color: var(--bal-text-muted); opacity: 1; }
.bal-textarea__help { display: flex; align-items: center; gap: 5px; color: var(--bal-text-muted); font-size: 12px; line-height: 15px; }
.bal-textarea__help--error { color: var(--bal-danger); }
.bal-textarea__help-icon { display: block; flex: none; width: 13px; height: 13px; }
.bal-textarea__help-icon > svg { display: block; width: 13px; height: 13px; }
.bal-textarea__help-text { display: block; min-width: 0; }

/* table-card.css */
.bal-table-card { box-sizing: border-box; padding: 16px; border: 1px solid var(--bal-line); border-radius: var(--bal-component-surface-radius); background: var(--bal-paper); color: var(--bal-text); font-family: var(--bal-font-ui); font-size: 16px; font-weight: 700; line-height: 19px; letter-spacing: 0; }
.bal-table-card__title { margin: 0; padding: 0 0 12px; color: var(--bal-text); font-size: 16px; font-weight: 700; line-height: 19px; }
.bal-table-wrap--in-card { border: 0; border-radius: 0; }

/* segmented.css */
/* Přepínač voleb SegmentedControl – předlohy cpktv (report), XsK62 (view), e9SXpP/w7p0s/A02Yyk (neutral), qoAE6 (pills).
   Barvy rolí čtou --bal-segment-*, které tokens.css nastaví podle [data-bal-control-role]. Obrys je stín dovnitř: mobilní skupina má 3 + 44 + 3 = 50 px. */
.bal-segmented { display: block; min-inline-size: 0; margin: 0; padding: 0; border: 0; color: var(--bal-text); font-family: var(--bal-font-ui); font-size: 13px; font-weight: 500; line-height: 16px; letter-spacing: 0; }
.bal-segmented__legend { float: left; width: 100%; margin: 0 0 8px; padding: 0; color: var(--bal-text); font-size: 14px; font-weight: 600; line-height: 17px; }
.bal-segmented__options { clear: both; display: flex; flex-wrap: wrap; gap: 2px; box-sizing: border-box; width: fit-content; max-width: 100%; padding: 3px; border-radius: 8px; background: var(--bal-paper); box-shadow: inset 0 0 0 1px var(--bal-text-secondary); }
.bal-segmented__option { position: relative; display: flex; flex: 1 1 auto; color: inherit; font: inherit; cursor: pointer; }
.bal-segmented__input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; color: inherit; opacity: 0; cursor: inherit; appearance: none; }
.bal-segmented__input:focus-visible { outline: 0; }
.bal-segmented__label { display: flex; flex: 1 1 auto; align-items: center; justify-content: center; box-sizing: border-box; min-height: 30px; padding: 7px 18px; border-radius: 8px; white-space: nowrap; }
.bal-segmented__label { background: var(--bal-segment-inactive-bg); color: var(--bal-segment-inactive-fg); }
.bal-segmented__input:checked + .bal-segmented__label { background: var(--bal-segment-active-bg); color: var(--bal-segment-active-fg); font-weight: 600; }
.bal-segmented:not(.bal-segmented--pills)[data-bal-control-role="neutral"] .bal-segmented__options { background: var(--bal-bg); box-shadow: none; }
.bal-segmented:not(.bal-segmented--pills)[data-bal-control-role="neutral"] .bal-segmented__input:checked + .bal-segmented__label { box-shadow: 0 1px 2px color-mix(in srgb, var(--bal-text) 8%, transparent); }
.bal-segmented__option:hover .bal-segmented__input:not(:checked):not(:disabled) + .bal-segmented__label { background: var(--bal-surface-muted); color: var(--bal-text); }
.bal-segmented__input:focus-visible + .bal-segmented__label { outline: 2px solid var(--bal-brand-mid); outline-offset: 2px; }
/* Vybraná nedostupná volba si ponechá barvy vybrané volby své role; nedostupnost ukáže přeškrtnutí a kurzor. */
.bal-segmented__input:disabled:not(:checked) + .bal-segmented__label { color: var(--bal-text-muted); text-decoration: line-through; }
.bal-segmented__input:checked:disabled + .bal-segmented__label { text-decoration: line-through; }
.bal-segmented__option:has(.bal-segmented__input:disabled) { cursor: not-allowed; }
.bal-segmented--pills .bal-segmented__options { gap: 8px; padding: 0; background: none; box-shadow: none; }
.bal-segmented--pills .bal-segmented__label { min-height: 30px; padding: 6px 12px; border: 1px solid var(--bal-text-secondary); border-radius: var(--bal-radius-pill); }
@media (max-width: 899px) {
  .bal-segmented__label, .bal-segmented--pills .bal-segmented__label { min-height: 44px; padding: 0 12px; }
  .bal-segmented--pills .bal-segmented__options { gap: 6px; }
}
/* Vynucené barvy (vysoký kontrast Windows) stín ani podklad nevykreslí – obrys skupiny nese outline v systémových barvách,
   pilulky mají skutečný rámeček, který prohlížeč přebarví sám.
   Vybranou volbu označí podtržení 2 px (rozměr volby se nemění ve všech tvarech a šířkách), aby se nepletla se zaměřením (outline). */
@media (forced-colors: active) {
  .bal-segmented__options { outline: 1px solid CanvasText; outline-offset: -1px; }
  .bal-segmented--pills .bal-segmented__options { outline: 0; }
  .bal-segmented__input:checked + .bal-segmented__label { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
  .bal-segmented__input:checked:disabled + .bal-segmented__label { text-decoration-line: underline line-through; text-decoration-thickness: 2px; }
  .bal-segmented__input:focus-visible + .bal-segmented__label { outline: 2px solid Highlight; outline-offset: 2px; }
}

/* switch.css */
/* Vypínač Switch – předlohy rcwtp (zapnuto) a xVbNj (vypnuto): dráha 44 × 25, jezdec 19, mezera 11, popisek 14/400.
   Nedostupný stav plátno nemá: dráha --bal-line v obou polohách, zapnutý se od vypnutého liší polohou jezdce. */
.bal-switch { position: relative; display: flex; width: fit-content; align-items: center; gap: 11px; color: var(--bal-text); font-family: var(--bal-font-ui); font-size: 14px; font-weight: 400; line-height: 17px; letter-spacing: 0; cursor: pointer; }
.bal-switch__input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; color: inherit; opacity: 0; cursor: inherit; appearance: none; }
.bal-switch__input:focus-visible { outline: 0; }
.bal-switch__track { display: flex; flex: none; align-items: center; justify-content: flex-start; box-sizing: border-box; width: 44px; height: 25px; padding: 0 3px; border-radius: var(--bal-radius-pill); background: var(--bal-text-muted); }
.bal-switch__knob { display: block; width: 19px; height: 19px; border-radius: var(--bal-radius-pill); background: var(--bal-paper); }
.bal-switch__input:checked + .bal-switch__track { justify-content: flex-end; background: var(--bal-brand); }
.bal-switch__input:focus-visible + .bal-switch__track { outline: 2px solid var(--bal-brand-mid); outline-offset: 2px; }
.bal-switch--disabled { cursor: not-allowed; color: var(--bal-text-muted); }
.bal-switch--disabled .bal-switch__track,
.bal-switch--disabled .bal-switch__input:checked + .bal-switch__track,
.bal-switch__input:disabled + .bal-switch__track,
.bal-switch__input:disabled:checked + .bal-switch__track { background: var(--bal-line); }
@media (max-width: 899px) { .bal-switch { min-height: 44px; } }
/* Vynucené barvy přebarví podklady na Canvas: dráha dostane hranici, jezdec barvu textu, zapnutá dráha Highlight, nedostupný GrayText.
   Rozměr drží box-sizing: border-box; zaměření je outline, zapnutí výplň – nekryjí se. */
@media (forced-colors: active) {
  .bal-switch__track, .bal-switch__knob { forced-color-adjust: none; }
  .bal-switch__track { border: 1px solid CanvasText; background: Canvas; }
  .bal-switch__knob { background: CanvasText; }
  .bal-switch__input:checked + .bal-switch__track { border-color: Highlight; background: Highlight; }
  .bal-switch__input:checked + .bal-switch__track .bal-switch__knob { background: HighlightText; }
  .bal-switch__input:focus-visible + .bal-switch__track { outline: 2px solid Highlight; outline-offset: 2px; }
  .bal-switch--disabled .bal-switch__track,
  .bal-switch--disabled .bal-switch__input:checked + .bal-switch__track,
  .bal-switch__input:disabled + .bal-switch__track,
  .bal-switch__input:disabled:checked + .bal-switch__track { border-color: GrayText; background: Canvas; }
  .bal-switch--disabled { color: GrayText; }
  .bal-switch--disabled .bal-switch__knob, .bal-switch--disabled .bal-switch__input:checked + .bal-switch__track .bal-switch__knob,
  .bal-switch__input:disabled + .bal-switch__track .bal-switch__knob { background: GrayText; }
}

/* filter-chips.css */
/* Filtrové čipy s počtem FilterChips – předloha t6f9tz, galerie Grafiku C7U1i. Výjimka z pravidla čtyř stylů (rozhodnutí Marka 5. 10. 2026).
   Obrys je skutečný rámeček 1 px jako na plátně: pen.dev ho počítá do rozměru, čip má tak 1 + 6 + 18 + 6 + 1 = 32 px a šířku exportu C7U1i. Text --bal-brand-interactive u vybraného i nevybraného. */
.bal-filter-chips { display: block; min-inline-size: 0; margin: 0; padding: 0; border: 0; color: var(--bal-text); font-family: var(--bal-font-ui); font-size: 13px; font-weight: 500; line-height: 16px; letter-spacing: 0; }
.bal-filter-chips__legend { float: left; width: 100%; margin: 0 0 8px; padding: 0; color: var(--bal-text); font-size: 14px; font-weight: 600; line-height: 17px; }
.bal-filter-chips__options { clear: both; display: flex; flex-wrap: wrap; gap: 6px; }
.bal-filter-chips__chip { position: relative; display: flex; color: inherit; font: inherit; cursor: pointer; }
.bal-filter-chips__input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; color: inherit; opacity: 0; cursor: inherit; appearance: none; }
.bal-filter-chips__input:focus-visible { outline: 0; }
.bal-filter-chips__label { display: inline-flex; align-items: center; gap: 8px; box-sizing: border-box; min-height: 32px; padding: 6px 8px 6px 12px; border: 1px solid var(--bal-line); border-radius: var(--bal-radius-pill); background: var(--bal-paper); color: var(--bal-brand-interactive); white-space: nowrap; }
.bal-filter-chips__count { display: inline-block; padding: 2px 8px; border-radius: var(--bal-radius-pill); background: var(--bal-bg); color: var(--bal-text-secondary); font-family: var(--bal-font-mono); font-size: 12px; font-weight: 600; line-height: 14px; font-variant-numeric: tabular-nums; }
.bal-filter-chips__input:checked + .bal-filter-chips__label { border-color: var(--bal-brand); background: var(--bal-brand-soft); }
.bal-filter-chips__chip:hover .bal-filter-chips__input:not(:checked):not(:disabled) + .bal-filter-chips__label { background: var(--bal-surface-muted); }
.bal-filter-chips__input:focus-visible + .bal-filter-chips__label { outline: 2px solid var(--bal-brand-mid); outline-offset: 2px; }
/* Vybraný nedostupný čip si ponechá barvy vybraného; nedostupnost ukáže přeškrtnutí a kurzor (stejně jako přepínač). */
.bal-filter-chips__input:disabled:not(:checked) + .bal-filter-chips__label { color: var(--bal-text-muted); text-decoration: line-through; }
.bal-filter-chips__input:checked:disabled + .bal-filter-chips__label { text-decoration: line-through; }
.bal-filter-chips__chip:has(.bal-filter-chips__input:disabled) { cursor: not-allowed; }
@media (max-width: 899px) { .bal-filter-chips__label { min-height: 44px; } }
/* Vynucené barvy (vysoký kontrast Windows): rámeček čipu prohlížeč vykreslí systémovou barvou, podklad vybraného ne –
   vybraný čip proto dostane rámeček 2 px Highlight (odsazení o 1 px menší, rozměr zůstane); zaměření nese jen outline. */
@media (forced-colors: active) {
  .bal-filter-chips__input:checked + .bal-filter-chips__label { padding: 5px 7px 5px 11px; border: 2px solid Highlight; }
  .bal-filter-chips__input:focus-visible + .bal-filter-chips__label { outline: 2px solid Highlight; outline-offset: 2px; }
}

/* count-badge.css */
/* CountBadge – jGc92. Tón neutral: nevybraný řádek filtru Grafiku. */
.bal-count-badge { display: inline-block; box-sizing: border-box; min-width: 24px; height: 20px; padding: 2px 8px; border-radius: 9px; background: var(--bal-brand-soft); color: var(--bal-brand-interactive); font-family: var(--bal-font-mono); font-size: 12px; font-weight: 600; line-height: 16px; letter-spacing: 0; text-align: center; white-space: nowrap; font-variant-numeric: tabular-nums; vertical-align: top; }
.bal-count-badge--neutral { color: var(--bal-text); }

/* tag.css */
/* Tag – SSdFk (text Inter jako na obrazovkách, ne písmo předlohy), cost – tgZEx. Výška 26 = rámeček 1 + odsazení 5 + řádek 14. */
.bal-tag { display: inline-flex; align-items: center; gap: 6px; box-sizing: border-box; max-width: 100%; min-height: 26px; padding: 5px 10px; border: 1px solid var(--bal-line); border-radius: var(--bal-radius-surface); background: var(--bal-bg); color: var(--bal-text-secondary); font-family: var(--bal-font-ui); font-size: 12px; font-weight: 400; line-height: 14px; letter-spacing: 0; vertical-align: top; }
.bal-tag__icon { display: inline-flex; flex: none; color: var(--bal-text-muted); }
.bal-tag__icon > svg { width: 13px; height: 13px; }
.bal-tag__label { min-width: 0; overflow-wrap: anywhere; }
.bal-tag--cost { padding: 4px 10px; border-radius: var(--bal-radius-pill); background: var(--bal-paper); color: var(--bal-text); font-family: var(--bal-font-mono); font-weight: 700; line-height: 16px; font-variant-numeric: tabular-nums; }
/* Odebrání: 24 px, pod 900 px 44 px; záporný okraj drží výšku štítku a ikonu 6 px za textem. */
.bal-tag__remove { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 24px; height: 24px; margin: -5px; padding: 0; border: 0; border-radius: var(--bal-radius-control); background: none; color: var(--bal-text-secondary); text-decoration: none; cursor: pointer; appearance: none; }
.bal-tag__remove > svg { width: 14px; height: 14px; }
.bal-tag__remove:hover { color: var(--bal-danger); }
.bal-tag__remove:focus-visible { outline: 2px solid var(--bal-brand-mid); outline-offset: 0; }
@media (max-width: 899px) { .bal-tag__remove { width: var(--bal-mobile-control-height); height: var(--bal-mobile-control-height); margin: -15px; } }

/* card.css */
.bal-card { display: flex; flex-direction: column; gap: 12px; box-sizing: border-box; min-width: 0; padding: 16px; border-radius: var(--bal-component-surface-radius); outline: 1px solid var(--bal-line); outline-offset: -1px; background: var(--bal-paper); color: var(--bal-text); font-family: var(--bal-font-ui); font-size: 14px; font-weight: 400; line-height: 17px; letter-spacing: 0; }
.bal-card__header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bal-card__titles, .bal-card__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.bal-card__body { gap: 12px; }
.bal-card__title { margin: 0; font-size: 16px; font-weight: 600; line-height: 19px; overflow-wrap: anywhere; }
.bal-batch-status .bal-card__title { font-size: 14px; font-weight: 700; line-height: 17px; }
.bal-card__description { margin: 0; color: var(--bal-text-secondary); font-size: 12px; line-height: 15px; }
.bal-card__actions { display: flex; flex: none; align-items: center; gap: 8px; }

/* progress-bar.css */
.bal-progress { display: block; box-sizing: border-box; width: 100%; height: 8px; margin: 0; padding: 0; border: 0; border-radius: var(--bal-radius-pill); overflow: hidden; background: var(--bal-bg); color: var(--bal-brand); font: 400 12px/1 var(--bal-font-ui); letter-spacing: 0; appearance: none; }
.bal-progress--sm { height: 4px; }
.bal-progress--waiting { color: var(--bal-text-secondary); }
.bal-progress::-webkit-progress-bar { background: none; }
.bal-progress::-webkit-progress-value { border-radius: var(--bal-radius-pill); background: currentColor; }
.bal-progress::-moz-progress-bar { border-radius: var(--bal-radius-pill); background: currentColor; }
.bal-progress:indeterminate { background: linear-gradient(currentColor 0 0) 50% / 40% 100% no-repeat var(--bal-bg); }
.bal-progress:indeterminate::-moz-progress-bar { background: none; }
@keyframes bal-progress { from { background-position: -67% 0; } to { background-position: 167% 0; } }
@media (prefers-reduced-motion: no-preference) { .bal-progress:indeterminate { animation: bal-progress 1.5s ease-in-out infinite; } }
.bal-progress-label { color: var(--bal-brand-interactive); font-family: var(--bal-font-mono); font-size: 12px; font-weight: 600; line-height: 15px; letter-spacing: 0; white-space: nowrap; }
@media (forced-colors: active) { .bal-progress, .bal-progress:indeterminate { forced-color-adjust: none; border: 1px solid CanvasText; background-color: Canvas; color: Highlight; } }

/* data-freshness.css */
.bal-data-freshness { flex-direction: row; align-items: center; --bal-fresh: var(--bal-done); --bal-fresh-bg: var(--bal-done-bg); }
.bal-data-freshness--warning { --bal-fresh: var(--bal-warning); --bal-fresh-bg: var(--bal-warning-bg); }
.bal-data-freshness--danger { --bal-fresh: var(--bal-danger); --bal-fresh-bg: var(--bal-danger-bg); }
.bal-data-freshness__icon { display: flex; flex: none; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: var(--bal-radius-pill); background: var(--bal-fresh-bg); color: var(--bal-fresh); }
.bal-data-freshness__icon > svg { width: 17px; height: 17px; }
.bal-data-freshness__text { display: flex; flex: 1 1 0; flex-direction: column; gap: 3px; min-width: 0; overflow-wrap: anywhere; }
.bal-data-freshness__title { margin: 0; font-size: 14px; font-weight: 700; line-height: 17px; }

/* stat-card-tile.css */
.bal-stat-card--tile { gap: 4px; padding: 12px; }
.bal-stat-card--tile .bal-stat-card__label { color: var(--bal-text-secondary); font-family: var(--bal-font-ui); font-weight: 600; line-height: 15px; letter-spacing: 0; text-transform: none; }
.bal-stat-card--tile .bal-stat-card__value { font-size: 26px; line-height: 31px; letter-spacing: -.6px; }
.bal-stat-card--tile .bal-stat-card__detail { font-size: 12px; line-height: 15px; }
.bal-stat-card--tile > * { min-width: 0; overflow-wrap: anywhere; }
.bal-stat-card__hint { display: flex; align-items: center; gap: 6px; color: var(--bal-brand-interactive); font-size: 12px; font-weight: 600; line-height: 15px; }
.bal-stat-card__hint-icon { display: inline-flex; color: var(--bal-brand); }
.bal-stat-card__hint-icon > svg { width: 14px; height: 14px; }
.bal-stat-card__footer { display: flex; flex-direction: column; gap: 6px; margin-top: 2px; }

/* table-head.css */
/* Záhlaví sloupce jako obsah: vedle tlačítka řazení jen s ikonou. */
.bal-table__head-content {
  display: inline-block; box-sizing: border-box; max-width: calc(100% - 30px); padding: 11px 0 11px 8px;
  vertical-align: middle;
}
th.bal-table__head-cell--sortable:first-child > .bal-table__head-content { padding-left: 16px; }
.bal-table__sort.bal-table__sort--icon { display: inline-flex; width: auto; vertical-align: middle; }
th.bal-table__head-cell--sortable > .bal-table__sort.bal-table__sort--icon { padding: 11px 8px; }
th.bal-table__head-cell--sortable:last-child > .bal-table__sort.bal-table__sort--icon { padding-right: 16px; }

@container bal-table (max-width: 559px) {
  th.bal-table__head-cell--sortable:first-child > .bal-table__head-content { padding-left: 12px; }
  th.bal-table__head-cell--sortable:last-child > .bal-table__sort.bal-table__sort--icon { padding-right: 12px; }
}

/* value-list.css */
/* ValueList – zq1Jh, p68u9H, xB0UD, MnzFk; hodnota se pod 360 px zalomí pod popisek (FZvoO). */
.bal-value-list { display: flex; flex-direction: column; gap: 12px; box-sizing: border-box; min-width: 0; margin: 0; padding: 0; color: var(--bal-text); font-family: var(--bal-font-ui); font-size: 12px; font-weight: 400; line-height: 15px; letter-spacing: 0; }
.bal-value-list__row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; min-width: 0; margin: 0; }
.bal-value-list__label, .bal-value-list__value, .bal-value-list__note { margin: 0; padding: 0; overflow-wrap: anywhere; }
.bal-value-list__label { flex: 0 0 170px; min-width: 0; color: var(--bal-text-secondary); font-weight: 400; }
.bal-value-list__value { flex: 1 1 182px; min-width: 0; color: var(--bal-text); font-weight: 600; text-align: left; }
.bal-value-list__value--emphasis { color: var(--bal-brand-interactive); }
.bal-value-list__note { flex: 0 0 100%; color: var(--bal-text-secondary); }
.bal-value-list--end .bal-value-list__row { column-gap: 8px; row-gap: 8px; }
.bal-value-list--end .bal-value-list__label { flex: 0 1 auto; }
.bal-value-list--end .bal-value-list__value { flex: 0 1 auto; margin-left: auto; text-align: right; }
.bal-value-list--end .bal-value-list__note { text-align: right; }
.bal-value-list--mono .bal-value-list__value { font-family: var(--bal-font-mono); }

/* table-cards.css */
/* Karty řádků tabulky – MnzFk, titulek kDZAw; pod hranicí šířky CSS skryje tabulku a ukáže karty. */
.bal-table-cards-host { min-width: 0; color: var(--bal-text); font-family: var(--bal-font-ui); font-size: 12.5px; font-weight: 400; line-height: 18px; letter-spacing: 0; }
.bal-table-cards { display: none; flex-direction: column; gap: 12px; box-sizing: border-box; min-width: 0; margin: 0; padding: 0; list-style: none; font-size: 13px; line-height: 16px; }
.bal-table-cards__status { display: none; }
@media (max-width: 639px) {
  .bal-table--cards-640 > .bal-table-wrap { display: none; }
  .bal-table--cards-640 > .bal-table-cards { display: flex; }
  .bal-table--cards-640 > .bal-table-cards__status { display: block; }
}
@media (max-width: 899px) {
  .bal-table--cards-900 > .bal-table-wrap { display: none; }
  .bal-table--cards-900 > .bal-table-cards { display: flex; }
  .bal-table--cards-900 > .bal-table-cards__status { display: block; }
}
.bal-table-cards__card, .bal-table-cards__empty { box-sizing: border-box; border-radius: var(--bal-component-control-radius); outline: 1px solid var(--bal-line); outline-offset: -1px; background: var(--bal-paper); }
.bal-table-cards__card { display: flex; flex-direction: column; gap: 10px; min-width: 0; margin: 0; padding: 16px; }
.bal-table-cards__title { margin: 0; font-size: 16px; font-weight: 600; line-height: 19px; overflow-wrap: anywhere; }
.bal-table-cards__link {
  display: inline-flex; align-items: center; box-sizing: border-box; min-height: var(--bal-mobile-control-height); margin: 0; padding: 0; border: 0; border-radius: var(--bal-radius-control);
  background: transparent; appearance: none; opacity: 1; color: inherit; font: inherit; letter-spacing: inherit; text-align: inherit; text-decoration: none; cursor: pointer;
}
.bal-table-cards__fields .bal-table-cards__link, .bal-table-cards__link:hover { text-decoration: underline; }
.bal-table-cards__link:focus-visible { outline: 2px solid var(--bal-brand-mid); outline-offset: 2px; }
.bal-table-cards__fields.bal-value-list { gap: 10px; }
.bal-table-cards__fields .bal-value-list__row { align-items: center; column-gap: 16px; row-gap: 4px; }
.bal-table-cards__fields .bal-value-list__label { font-weight: 600; }
.bal-table-cards__fields .bal-value-list__value { font-size: 13px; line-height: 16px; }
.bal-table-cards__field--wide > .bal-value-list__value { flex: 1 1 100%; margin-left: 0; text-align: left; }
.bal-table-cards__toggle { display: flex; width: 100%; min-height: var(--bal-mobile-control-height); list-style: none; }
.bal-table-cards__toggle::-webkit-details-marker { display: none; }
.bal-table-cards__close, .bal-table-cards__more[open] .bal-table-cards__open { display: none; }
.bal-table-cards__more[open] .bal-table-cards__close { display: inline; }
.bal-table-cards__more > .bal-table-cards__fields, .bal-table-cards__detail { margin: 10px 0 0; min-width: 0; overflow-wrap: anywhere; }
.bal-table-cards__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.bal-table-cards__card > .bal-skeleton__bar { width: 70%; }
.bal-table-cards__card > .bal-table-cards__bar-title { width: 45%; height: 16px; }
.bal-table-cards__empty { padding: 32px 16px; text-align: center; }
.bal-table-cards__empty > .bal-empty-state { padding: 8px 0; border-radius: 0; background: transparent; box-shadow: none; }

/* toast.css */
.bal-toast-region { position: fixed; right: 16px; bottom: 16px; z-index: calc(var(--bal-z-overlay, 1000) - 1); display: flex; flex-direction: column; align-items: flex-end; gap: 8px; width: min(360px, calc(100vw - 32px)); margin: 0; padding: 0; color: var(--bal-text); font-family: var(--bal-font-ui); font-size: 14px; font-weight: 500; line-height: 17px; letter-spacing: 0; pointer-events: none; }
.bal-toast { display: flex; align-items: center; gap: 12px; box-sizing: border-box; max-width: 100%; padding: 13px 16px; border-radius: 12px; background: var(--bal-paper); box-shadow: inset 0 0 0 1px var(--bal-line), 0 6px 20px color-mix(in srgb, var(--bal-text) 15%, transparent); pointer-events: auto; }
.bal-toast__icon { display: inline-flex; flex: none; }
.bal-toast__icon > svg { width: 19px; height: 19px; }
.bal-toast--success .bal-toast__icon { color: var(--bal-success); }
.bal-toast--info .bal-toast__icon { color: var(--bal-info); }
.bal-toast--warning .bal-toast__icon { color: var(--bal-warning); }
.bal-toast--error .bal-toast__icon { color: var(--bal-danger); }
.bal-toast__message { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
.bal-toast__action { flex: none; margin: 0; padding: 0; border: 0; background: none; color: var(--bal-brand-interactive); font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; appearance: none; }
.bal-toast__close { display: inline-flex; align-items: center; justify-content: center; flex: none; box-sizing: border-box; width: 44px; height: 44px; margin: -12.5px -12px; padding: 0; border: 0; border-radius: var(--bal-component-control-radius); background: transparent; color: var(--bal-text-secondary); cursor: pointer; appearance: none; }
.bal-toast__close > svg { width: 17px; height: 17px; }
.bal-toast :focus-visible { outline: 2px solid var(--bal-brand-mid); outline-offset: 2px; }
.bal-toast__close:focus-visible { outline-offset: -2px; }
@media (max-width: 899px) { .bal-toast-region { bottom: calc(16px + var(--bal-mobile-control-height)); } }
@media (prefers-reduced-motion: no-preference) { .bal-toast { animation: bal-toast-in 150ms ease-out; } }
@keyframes bal-toast-in { from { opacity: 0; } }
@media (forced-colors: active) { .bal-toast { outline: 1px solid CanvasText; outline-offset: -1px; } }

/* date-range-field.css */
/* DateRangeField – qoAE6; obrys --bal-text-muted jako Input. */
.bal-date-range { display: flex; flex-wrap: wrap; gap: 8px; box-sizing: border-box; min-width: 0; margin: 0; padding: 0; border: 0; color: var(--bal-text); font-family: var(--bal-font-ui); font-size: 12.5px; font-weight: 400; line-height: 15px; letter-spacing: 0; }
.bal-date-range__field { display: flex; flex: 0 0 154px; align-items: center; gap: 8px; box-sizing: border-box; min-width: 0; padding: 9px 12px; border-radius: 8px; background: var(--bal-bg); box-shadow: inset 0 0 0 1px var(--bal-text-muted); color: var(--bal-text); font-size: 12.5px; font-weight: 400; line-height: 15px; }
.bal-date-range--time .bal-date-range__field { flex-basis: 220px; }
.bal-date-range__field:focus-within { outline: 2px solid var(--bal-brand-mid); outline-offset: 2px; }
.bal-date-range__field:has([aria-invalid="true"]) { box-shadow: inset 0 0 0 1px var(--bal-danger); }
.bal-date-range__field:has(:disabled) { opacity: 0.55; cursor: not-allowed; }
.bal-date-range__label { flex: none; }
.bal-date-range__input { flex: 1 1 0; box-sizing: border-box; min-width: 0; height: 15px; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; color: inherit; font: inherit; opacity: 1; appearance: none; }
.bal-date-range__input:focus-visible { outline: 0; outline-offset: 0; }
.bal-date-range__input::-webkit-calendar-picker-indicator { margin: 0; padding: 0; }
.bal-date-range__input::-webkit-datetime-edit { padding: 0; }
.bal-date-range__help { display: flex; flex: 0 0 100%; align-items: center; gap: 5px; color: var(--bal-text-secondary); font-size: 12px; }
.bal-date-range__help--error { color: var(--bal-danger); }
.bal-date-range__help-icon, .bal-date-range__help-icon > svg { display: block; flex: none; width: 13px; height: 13px; }
@media (max-width: 899px) {
  .bal-date-range__field { flex-grow: 1; flex-shrink: 1; flex-basis: 154px; height: var(--bal-mobile-control-height); padding-block: 0; }
}

/* page-tabs.css */
/* PageTabs – OenbI, AuLck; černý segment podle role report přepínače (cpktv). Skupina: rámeček 1 px + odsazení 2 px (na plátně odsazení 3), výška řady 36 px. */
.bal-page-tabs { min-width: 0; color: var(--bal-text); font: 500 13px/16px var(--bal-font-ui); letter-spacing: 0; }
.bal-page-tabs > ul { display: flex; gap: 2px; width: fit-content; max-width: 100%; box-sizing: border-box; margin: 0; padding: 2px; border: 1px solid var(--bal-text-secondary); border-radius: 8px; background: var(--bal-paper); overflow-x: auto; list-style: none; scrollbar-width: none; }
.bal-page-tabs--wrap > ul { flex-wrap: wrap; overflow: visible; }
.bal-page-tabs li { flex: none; margin: 0; padding: 0; }
.bal-page-tabs__tab { display: flex; align-items: center; gap: 8px; min-height: 30px; box-sizing: border-box; padding: 7px 18px; border-radius: 8px; color: inherit; text-decoration: none; white-space: nowrap; }
.bal-page-tabs--wrap .bal-page-tabs__tab { white-space: normal; }
.bal-page-tabs__tab > .bal-tag { margin-block: -5px; }
.bal-page-tabs__tab[aria-current="page"] { background: var(--bal-text); color: var(--bal-paper); font-weight: 600; }
.bal-page-tabs__tab:focus-visible { outline: 2px solid var(--bal-brand-mid); outline-offset: -2px; }
@media (hover: hover) {
  .bal-page-tabs__tab:not([aria-current="page"]):hover { background: var(--bal-surface-muted); }
}
@media (max-width: 899px) {
  .bal-page-tabs__tab { min-height: 44px; padding: 0 12px; }
}
@media (forced-colors: active) {
  .bal-page-tabs > ul { outline: 1px solid CanvasText; outline-offset: -1px; }
  .bal-page-tabs__tab[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
}
