/* DoplÅˆky specifickÃ© pro jednotlivÃ© obrazovky. */
.page-head h1 { display: block; }
.page-head .sub svg { margin-right: 4px; color: var(--ok); }
.item-card { text-decoration: none; }
.item-card .link.mono { font-variant-numeric: tabular-nums; }
.person-card.between { justify-content: space-between; }
.card-pad.stack { gap: var(--sp-md); }
.input[type="search"]::-webkit-search-cancel-button { filter: invert(0.6); }
.tbl td .badge { white-space: nowrap; }
.tbl td .btn { white-space: nowrap; }
.tbl th { white-space: nowrap; }
.card .card-head .chip { font-weight: 600; }
.tile .v .chip { vertical-align: middle; }
.kpi .avatar-sm { width: 48px; height: 48px; font-size: 22px; }
dialog.modal .tbl-empty { padding: 16px; }
dialog.modal .table-wrap { max-height: 40vh; }
dialog.modal ul { margin: 0; padding-left: 20px; }
.print-area table { color: inherit; }
.tbl td .trunc { min-width: 0; }
.stepper .step svg { font-size: 16px; }
.seg button { white-space: nowrap; }
.field[hidden] { display: none; }
code { font-family: var(--font-mono); font-size: 12px; background: var(--surface-3); padding: 1px 5px; border-radius: var(--r); }
@media (max-width: 1023px) {
  .split, .split.wide-left, .split.narrow-left { grid-template-columns: minmax(0, 1fr); }
  .cond { grid-template-columns: 1fr; }
  .timeline li { grid-template-columns: 1fr; gap: 2px; }
  .kv { grid-template-columns: 1fr; }
}

/* ---------- Administrace ---------- */
.label-lg { font-size: 14px; line-height: 20px; font-weight: 600; }
.kpi .kpi-ic { background: var(--surface-3); color: var(--link); }
.avatar-lg { width: 44px; height: 44px; border-radius: 50%; background: var(--primary); color: var(--on-primary); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; flex: none; }
.role-chip { white-space: nowrap; }
.role-chip.role-zpracovatel { background: color-mix(in srgb, var(--primary) 22%, transparent); color: var(--link); }
.role-chip.role-podatelna { background: color-mix(in srgb, var(--warn) 22%, transparent); color: var(--warn-fg); }
.role-chip.role-spravce { background: color-mix(in srgb, var(--info) 22%, transparent); color: var(--st-open-fg); }
.role-chip.role-posuzovatel { background: var(--surface-3); color: var(--text); }
.switch-row { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-md); padding: var(--sp-md); border-radius: var(--r-lg); background: var(--bg); cursor: pointer; position: relative; }
.switch-row:hover { background: var(--surface-2); }
.switch-row.off { cursor: not-allowed; opacity: 0.7; }
.sw-input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sw { width: 44px; height: 24px; border-radius: 999px; background: var(--surface-3); position: relative; flex: none; transition: background 0.15s; }
.sw::after { content: ""; position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--text-2); transition: transform 0.15s, background 0.15s; }
.sw-input:checked + .sw { background: var(--primary); }
.sw-input:checked + .sw::after { transform: translateX(20px); background: var(--on-primary); }
.sw-input:focus-visible + .sw { outline: 2px solid var(--focus); outline-offset: 2px; }
.save-feedback { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 6px 10px; border-radius: var(--r-lg); background: var(--st-done-bg); color: var(--st-done-fg); font-size: 12px; font-weight: 500; }
.save-feedback[hidden] { display: none; }
.check-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; }
.tbl tr.sel { background: var(--surface-2); }

/* ---------- Podací deník ---------- */
.mix-bar { display: flex; height: 8px; border-radius: 999px; overflow: hidden; background: var(--bg); }
.mix-bar > span { display: block; height: 100%; }
.dot-sm { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); }
.tabnum { font-variant-numeric: tabular-nums; }
