@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("./assets/Inter-var-latin.woff") format("woff"); }
/* Design tokeny: nové a upravované styly berou barvy odsud, ne natvrdo. */
:root {
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ink: #102543; --ink-strong: #102b4e; --ink-soft: #17324f;
  --muted: #58708f; --muted-soft: #8191a3;
  --primary: #164f85; --primary-strong: #174f97; --blue: #175d9f; --accent: #006ff0;
  --surface: #fff; --surface-soft: #f8fafc; --page: #f4f7fb; --tint: #e7eef6;
  --line: #d8e2ed; --line-strong: #b9c9dc;
  --warn-bg: #fff4dc; --warn-fg: #8c5a00; --warn-line: #f1d9a6;
  --radius-sm: 6px; --radius: 10px; --radius-pill: 999px;
  color-scheme: light; font-family: var(--font-sans); font-feature-settings: "cv11", "ss01"; color: var(--ink); background: var(--page);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
table, .tag, time, input { font-variant-numeric: tabular-nums; }
body { margin: 0; } main { max-width: 1200px; margin: 0 auto; padding: 32px 20px 64px; }
h1 { margin: 0 0 8px; } h2 { font-size: 1.05rem; margin-top: 0; } .muted { color: #58708f; }
.nav, .actions, .form-grid, .totals { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; }
.nav { margin: 24px 0; } a, button { color: #134b80; } button { background: #164f85; color: white; border: 0; border-radius: 7px; padding: 11px 16px; font: inherit; font-weight: 650; cursor: pointer; } button.secondary { background: #e7eef6; color: #164f85; }
.card { background: var(--color-surface, white); border: 1px solid #d7e0ec; border-radius: 10px; padding: 20px; margin: 18px 0; } label { display: grid; gap: 6px; min-width: 260px; color: #46617f; font-size: .9rem; }
input, select { box-sizing: border-box; width: 100%; min-height: 42px; padding: 8px 10px; border: 1px solid #b9c9dc; border-radius: 6px; font: inherit; } #state { min-height: 24px; }
table { width: 100%; border-collapse: collapse; } th, td { text-align: left; padding: 10px; border-bottom: 1px solid #dce5f0; vertical-align: top; } th { color: #486583; font-size: .8rem; } .table-wrap { overflow-x: auto; }
.sub { display: block; color: #657a92; font-size: .82rem; margin-top: 3px; } .tag { background: #e5f1eb; color: #1d6c42; border-radius: 999px; padding: 3px 8px; font-size: .8rem; }
.tag.inactive { background: #f7e6e6; color: #9b3333; } pre { overflow: auto; background: #111b2d; color: #e7f1ff; padding: 16px; border-radius: 7px; } .totals { justify-content: end; margin-top: 15px; } .totals span { padding: 8px 12px; background: #edf3fa; border-radius: 6px; }
/* Seznamy dokladů: výběr archivovaných na šířku obsahu, počet záznamů vpravo. */
#documentArchiveFilter, #orderArchiveFilter { width: auto; min-width: 10rem; flex: none; }
#documentInfo, #orderInfo { margin-left: auto; white-space: nowrap; }
