:root {
  --ink: #0f1b2a; --muted: #5d6b7c; --faint: #8a96a5; --line: #e4e9ef; --line2: #eef2f6; --bg: #f3f5f8; --card: #fff;
  --navy: #0F253D; --brand: #0E6FD8; --brand-d: #0A58AD; --accent: #168BFF; --tint: #eaf3fe;
  --bad: #c0281c; --warn: #a15c07; --info: #2558a8; --ok: #1f7a4a;
  --r: 12px; --sh: 0 1px 2px rgba(15,37,61,.05), 0 1px 3px rgba(15,37,61,.06);
  --font: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font: 14px/1.45 var(--font); background: var(--bg); color: var(--ink); -webkit-text-size-adjust: 100%; -webkit-font-smoothing: antialiased; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-d); }
h1 { font-size: 24px; margin: 0; letter-spacing: -.02em; line-height: 1.2; }
h2 { font-size: 15px; margin: 0; letter-spacing: -.01em; }
.muted { color: var(--muted); } .small { font-size: 12px; } .err { color: var(--bad); }
.err:empty { display: none; }
svg.i { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- rám */
.app { display: grid; grid-template-columns: 232px minmax(0, 1fr); min-height: 100vh; }
.side { background: var(--navy); color: #c9d5e3; display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; padding: 14px 12px; }
.brand { padding: 4px 8px 18px; font-weight: 800; font-size: 16px; letter-spacing: -.01em; color: #fff; display: flex; align-items: center; gap: 10px; }
.brand small { display: block; font-size: 11px; font-weight: 500; color: #8fa3ba; letter-spacing: .02em; }
.brand-sym { width: 34px; height: 34px; border-radius: 9px; background: #fff; padding: 5px; display: grid; place-items: center; flex: none; }
.brand-sym img { width: 100%; height: 100%; object-fit: contain; }
.nav { display: flex; flex-direction: column; gap: 2px; }
.nav a { display: flex; align-items: center; gap: 11px; padding: 9px 10px; border-radius: 8px; color: #b8c6d6; font-weight: 500; position: relative; }
.nav a:hover { background: #ffffff0d; color: #fff; }
.nav a.on { background: #ffffff17; color: #fff; }
.nav a.on::before { content: ""; position: absolute; left: -12px; top: 8px; bottom: 8px; width: 3px; border-radius: 0 3px 3px 0; background: var(--accent); }
.nav a .s { display: none; }
.nav a .cnt { margin-left: auto; }
.cnt[hidden] { display: none; }
.mbtn, .msheet { display: none; }
.cnt { background: #e5484d; color: #fff; border-radius: 99px; font-size: 11px; font-weight: 700; min-width: 19px; height: 19px; padding: 0 6px; display: inline-grid; place-items: center; }
.side-foot { margin-top: auto; padding: 12px 8px 4px; border-top: 1px solid #ffffff14; font-size: 12px; display: flex; align-items: center; gap: 10px; }
.side-foot .who { min-width: 0; flex: 1; }
.side-foot .who div { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #e3eaf2; }
.side-foot .who .muted { color: #7f94ab; }
.ibtn { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 8px; border: 0; background: #ffffff10; color: #c9d5e3; cursor: pointer; flex: none; }
.ibtn:hover { background: #ffffff22; color: #fff; }
.mtop { display: none; }
.content { padding: 28px 32px 64px; max-width: 1360px; width: 100%; }

/* ---------- hlavička stránky */
.head { display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; margin-bottom: 20px; flex-wrap: wrap; }
.head > div:first-child { min-width: 0; }
.head p { margin: 5px 0 0; color: var(--muted); }
.head .row > span { color: var(--muted); }
.back { display: inline-flex; align-items: center; gap: 4px; margin-bottom: 10px; font-size: 13px; font-weight: 500; color: var(--muted); }
.back:hover { color: var(--brand); }
.th { display: flex; align-items: center; gap: 14px; min-width: 0; }
.av { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; font-weight: 700; font-size: 14px; color: #fff; flex: none; letter-spacing: -.02em; }
.av.lg { width: 52px; height: 52px; font-size: 18px; border-radius: 13px; }
.av.sm { width: 32px; height: 32px; font-size: 12px; border-radius: 8px; }

/* ---------- čísla */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 20px; }
.stat { background: var(--card); border-radius: var(--r); padding: 14px 16px; box-shadow: var(--sh); min-width: 0; }
.stat span { font-size: 12px; color: var(--muted); font-weight: 500; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stat b { display: block; font-size: 24px; letter-spacing: -.02em; margin: 2px 0 1px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stat b.t { font-size: 16px; margin: 6px 0 3px; }
.stat small { color: var(--faint); font-size: 12px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stat.warn b { color: var(--warn); } .stat.bad b { color: var(--bad); }

/* ---------- karty */
.card { background: var(--card); border-radius: var(--r); box-shadow: var(--sh); margin-bottom: 20px; overflow: clip; }
.card-h { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line2); gap: 10px; min-height: 52px; }
.card-h a.small { font-weight: 600; }
.card-b { padding: 16px 18px; }
.grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 20px; align-items: start; }
/* přilepená hlavička: předek nesmí posouvat (overflow auto/hidden), proto clip a posouvání jen když se tabulka nevejde (app.js fitWraps) */
.wrap { overflow-x: clip; }
.wrap.hscroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line2); vertical-align: middle; }
tbody tr:last-child td { border-bottom: 0; }
th { font-size: 11px; color: var(--faint); text-transform: uppercase; letter-spacing: .05em; white-space: nowrap; font-weight: 600; background: #fafbfd;
  position: sticky; top: 0; z-index: 5; border-bottom: 0; box-shadow: inset 0 -1px 0 var(--line2); }
thead.stuck th { box-shadow: inset 0 -1px 0 var(--line2), 0 8px 12px -10px #0f253d59; }
th:first-child, td:first-child { padding-left: 18px; } th:last-child, td:last-child { padding-right: 18px; }
tr.click { cursor: pointer; } tr.click:hover td { background: #f6f9fd; }
td.num, th.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
td.nw { white-space: nowrap; }
.firm { display: flex; align-items: center; gap: 12px; min-width: 200px; }
.firm b { display: block; line-height: 1.3; }
.acts { display: flex; gap: 6px; justify-content: flex-end; flex-wrap: nowrap; }

.pill { display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border-radius: 99px; font-size: 12px; font-weight: 600; white-space: nowrap; line-height: 1.5; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .8; }
.pill.gray::before, .pill.info::before { display: none; }
.pill.trial, .pill.warn { background: #fff3dc; color: #8a5300; } .pill.active { background: #e0f4e8; color: var(--ok); }
.pill.suspended, .pill.bad { background: #fde6e3; color: var(--bad); }
.pill.life { background: #efe7fd; color: #6b34c9; } .pill.life::before { display: none; }
.pill.info { background: #e6effc; color: var(--info); } .pill.gray { background: #eef1f5; color: var(--muted); }

.btn { font: inherit; font-weight: 500; padding: 8px 14px; border-radius: 8px; border: 1px solid #d5dce5; background: #fff; color: var(--ink); cursor: pointer; white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 6px; transition: background .12s, border-color .12s; }
.btn:hover { background: #f4f7fa; border-color: #c4ccd7; color: var(--ink); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn.primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn.primary:hover { background: var(--brand-d); border-color: var(--brand-d); }
.btn.danger { color: var(--bad); border-color: #f2cdc8; }
.btn.danger:hover { background: #fff4f2; }
.btn.warn { color: #7a4600; border-color: #f0d9b0; background: #fff8ec; }
.btn.warn:hover { background: #fff0d6; }
.btn.sm { padding: 5px 10px; font-size: 12px; border-radius: 7px; }
input, select, textarea { font: inherit; padding: 8px 11px; border: 1px solid #d5dce5; border-radius: 8px; background: #fff; color: inherit; min-height: 38px; }
input:focus, select:focus, textarea:focus { outline: 3px solid color-mix(in srgb, var(--brand) 22%, transparent); border-color: var(--brand); }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 35%, transparent); outline-offset: 1px; }
textarea { width: 100%; resize: vertical; }
.f { display: flex; flex-direction: column; gap: 5px; } .f span { font-size: 12px; font-weight: 600; color: #3d4a5a; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.inline-f { display: flex; gap: 8px; flex-wrap: wrap; padding: 14px 18px; border-top: 1px solid var(--line2); background: #fafbfd; }
.inline-f input { flex: 1 1 200px; }
.tabs { display: flex; gap: 4px; box-shadow: inset 0 -1px 0 var(--line); margin-bottom: 20px; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a { padding: 10px 12px; color: var(--muted); font-weight: 600; border-bottom: 2px solid transparent; white-space: nowrap; }
.tabs a:hover { color: var(--ink); }
.tabs a.on { color: var(--brand); border-bottom-color: var(--brand); }
.list { list-style: none; margin: 0; padding: 0; }
.list li { padding: 11px 18px; border-bottom: 1px solid var(--line2); display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.list li:last-child { border-bottom: 0; }
.list li > span:first-child { min-width: 0; }
.list .when { font-size: 12px; color: var(--faint); white-space: nowrap; flex: none; }
.tl { list-style: none; margin: 0; padding: 0; }
.tl li { display: grid; grid-template-columns: 92px 1fr auto; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line2); }
.tl li:last-child { border-bottom: 0; }
.tl .pill { align-self: start; justify-self: start; }
.kv { display: grid; grid-template-columns: 130px 1fr; gap: 8px 14px; margin: 0; } .kv dt { color: var(--muted); } .kv dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.empty { padding: 26px 18px; color: var(--faint); text-align: center; }
.note { background: #fff8ec; border: 1px solid #f0d9b0; border-radius: 9px; padding: 10px 12px; font-size: 13px; }
.linkbox { display: flex; gap: 8px; margin-top: 10px; } .linkbox input { flex: 1; min-width: 0; }
.search { width: 300px; max-width: 100%; }
dialog { border: 0; border-radius: 14px; padding: 22px; width: min(480px, 92vw); box-shadow: 0 20px 60px #0f253d40; }
dialog::backdrop { background: #0f253d80; }
.hint { margin: 4px 0 0; }

/* ---------- přihlášení */
.login-wrap { position: fixed; inset: 0; display: grid; place-items: center; padding: 20px; overflow-y: auto; overscroll-behavior: none;
  background: radial-gradient(1200px 500px at 50% -10%, #dbe9fb 0%, transparent 60%), var(--bg); }
.login { width: 100%; max-width: 360px; background: #fff; padding: 28px; border-radius: 16px; box-shadow: 0 10px 40px #0f253d1a; }
.login input { width: 100%; margin-bottom: 10px; min-height: 44px; }
.login .btn { min-height: 44px; }
.login-logo { display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: 800; font-size: 24px; letter-spacing: -.02em; color: var(--navy); }
.login-logo img { height: 34px; }
.login .sub { text-align: center; color: var(--muted); margin: 6px 0 20px; font-size: 13px; }

/* ---------- střední šířka */
@media (max-width: 1100px) {
  .grid { grid-template-columns: minmax(0, 1fr); }
  .content { padding: 24px 22px 60px; }
}

@media (min-width: 761px) and (max-width: 1400px) { th.hm, td.hm { display: none; } }
/* tablet (761–1100 px): boční panel jen s ikonami, obsah dostane místo pro tabulky */
@media (min-width: 761px) and (max-width: 1100px) {
  .app { grid-template-columns: 68px minmax(0, 1fr); }
  .side { padding: 14px 10px; }
  .brand { padding: 4px 0 18px; justify-content: center; }
  .brand > div { display: none; }
  .nav a { justify-content: center; padding: 10px; min-height: 44px; }
  .nav a .l { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .nav a .cnt { position: absolute; top: 2px; right: 2px; margin: 0; }
  .nav a.on::before { left: -10px; }
  .side-foot { justify-content: center; padding: 12px 0 4px; }
  .side-foot .who { display: none; }
}

/* ---------- mobil */
@media (max-width: 760px) {
  body { font-size: 14px; }
  .app { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; align-content: start; padding-bottom: calc(62px + env(safe-area-inset-bottom)); }
  .mtop { display: flex; align-items: center; gap: 10px; position: sticky; top: 0; z-index: 20; background: var(--navy); color: #fff;
    padding: calc(8px + env(safe-area-inset-top)) 12px 8px 16px; font-weight: 800; font-size: 15px; }
  .mtop .brand-sym { width: 30px; height: 30px; padding: 4px; border-radius: 8px; }
  .mtop .ibtn { margin-left: auto; }
  .side { position: fixed; top: auto; bottom: 0; left: 0; right: 0; height: auto; z-index: 20; padding: 0 4px env(safe-area-inset-bottom);
    background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -2px 12px #0f253d0d; }
  .side .brand, .side-foot { display: none; }
  .nav { flex-direction: row; gap: 0; }
  .nav a { flex: 1; flex-direction: column; gap: 3px; padding: 8px 2px 7px; font-size: 11px; color: var(--faint); border-radius: 0; min-width: 0; }
  .nav a:hover { background: none; color: var(--muted); }
  .nav a.on { background: none; color: var(--brand); }
  .nav a.on::before { left: 25%; right: 25%; top: 0; bottom: auto; width: auto; height: 3px; border-radius: 0 0 3px 3px; }
  .nav a .l { display: none; } .nav a .s { display: block; white-space: nowrap; }
  .nav a svg.i { width: 22px; height: 22px; }
  .nav a .cnt { position: absolute; top: 4px; left: calc(50% + 6px); margin: 0; min-width: 17px; height: 17px; font-size: 10px; }
  .nav a.x { display: none; }
  .mbtn { display: flex; flex: 1; flex-direction: column; align-items: center; gap: 3px; padding: 8px 2px 7px; min-width: 0; position: relative;
    background: none; border: 0; font: inherit; font-size: 11px; font-weight: 500; color: var(--faint); cursor: pointer; }
  .mbtn .s { white-space: nowrap; }
  .mbtn svg.i { width: 22px; height: 22px; }
  .mbtn.on, .side.open .mbtn { color: var(--brand); }
  .mbtn.on::before { content: ""; position: absolute; left: 25%; right: 25%; top: 0; height: 3px; border-radius: 0 0 3px 3px; background: var(--accent); }
  .side.open .msheet { display: flex; flex-direction: column; position: absolute; right: 8px; bottom: calc(100% + 8px); min-width: 230px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 8px 28px #0f253d29; padding: 6px; }
  .msheet a { display: flex; align-items: center; gap: 12px; padding: 12px; min-height: 44px; border-radius: 8px; color: var(--ink); font-weight: 500; font-size: 15px; }
  .msheet a.on { background: var(--tint); color: var(--brand); }
  .msheet a svg.i { width: 20px; height: 20px; color: var(--faint); }
  .msheet a.on svg.i { color: var(--brand); }

  .content { padding: 14px 12px 24px; }
  h1 { font-size: 20px; }
  .head { margin-bottom: 14px; gap: 10px; align-items: center; }
  .head p { margin-top: 3px; font-size: 13px; }
  .head > .row, .head > .btn, .head > a.btn { width: 100%; }
  .head > .row .search { flex: 1 1 100%; width: auto; }
  .head > .row select { flex: 1; }
  .head > .row .btn { flex: none; }
  .back { margin-bottom: 6px; }
  .av.lg { width: 42px; height: 42px; font-size: 15px; border-radius: 11px; }

  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 14px; }
  .stat { padding: 10px 11px; border-radius: 10px; }
  .stat span { font-size: 11px; }
  .stat b { font-size: 18px; margin: 1px 0 0; }
  .stat b.t { font-size: 13px; margin: 4px 0 1px; }
  .stat small { font-size: 11px; }

  .card { margin-bottom: 14px; border-radius: 11px; }
  .card-h { padding: 11px 14px; min-height: 0; }
  .card-b { padding: 12px 14px; }
  .grid { gap: 0; }
  .list li { padding: 9px 14px; font-size: 13px; }
  .tabs { margin: 0 -12px 14px; padding: 0 8px; }
  .tabs a { padding: 9px 10px; font-size: 13px; }
  .kv { grid-template-columns: 110px 1fr; }
  .tl li { grid-template-columns: 1fr auto; gap: 6px 10px; }
  .tl li > .pill { grid-column: 1 / -1; }
  .tl li > div { grid-column: 1; }
  .inline-f { padding: 12px 14px; }
  .inline-f input { flex-basis: 100%; }
  .inline-f .btn.primary { flex: 1; }
  .linkbox { flex-direction: column; }
  #nn { flex-direction: column; }
  #nn textarea { flex: none !important; }
  #nn > div { flex-direction: row !important; }
  #nn > div > * { flex: 1; }
  #pf .f { flex: 1 1 140px; }
  #pf input { width: 100%; }
  .row > .btn { flex: 1 1 auto; }

  /* tabulky → karty */
  .wrap { overflow: visible; }
  .wrap table, .wrap tbody, .wrap tr, .wrap td { display: block; }
  .wrap thead { display: none; }
  .wrap tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 12px; padding: 12px 14px; border-bottom: 1px solid var(--line2); }
  .wrap tbody tr:last-child { border-bottom: 0; }
  .wrap td { padding: 0 !important; border: 0; text-align: left !important; min-width: 0; font-size: 13px; overflow-wrap: anywhere; }
  .wrap td::before { content: attr(data-l); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 10.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--faint); font-weight: 600; margin-bottom: 1px; }
  .wrap td:first-child, .wrap td.full, .wrap td.empty { grid-column: 1 / -1; }
  .wrap td:first-child::before, .wrap td.full::before, .wrap td:not([data-l])::before, .wrap td[data-l=""]::before { display: none; }
  .wrap td.empty { padding: 14px 0 !important; text-align: center !important; }
  .wrap td.hm { display: none; }
  .wrap td select { width: 100%; min-height: 34px; padding: 5px 9px; }
  .acts { justify-content: stretch; flex-wrap: wrap; }
  .acts .btn { flex: 1; }
  .firm { min-width: 0; }
  tr.click:hover td { background: none; }
  tr.click:active { background: #f6f9fd; }
}

/* ---------- r3: verze, žádost o aktivaci, rychlé akce s výsledným datem */
.verbar { display: flex; align-items: flex-start; gap: 10px; padding: 10px 14px; border-radius: var(--r); margin-bottom: 16px; font-size: 13px; border: 1px solid #f0d9b0; background: #fff8ec; color: #7a4600; }
.verbar[hidden] { display: none; }
.verbar.bad { border-color: #f2cdc8; background: #fff4f2; color: var(--bad); }
.verbar .i { margin-top: 1px; }
.vwarn { color: #ffcf7a; font-weight: 600; }
.req-bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: var(--r); margin: 0 0 16px; border: 1px solid #f0d9b0; background: #fff8ec; color: #7a4600; }
.req-bar > div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.req-bar span { color: var(--ink); font-size: 13px; }
.qa-h { margin: 18px 0 8px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.qa { display: flex; flex-wrap: wrap; gap: 8px; }
.qa .btn { flex-direction: column; align-items: flex-start; gap: 0; padding: 7px 12px; min-height: 44px; text-align: left; }
.qa .btn b { font-weight: 600; }
.qa .btn small { font-size: 11px; opacity: .8; font-weight: 500; }
@media (max-width: 760px) { .qa .btn { flex: 1 1 calc(50% - 4px); } .req-bar { flex-wrap: wrap; } .req-bar .btn { width: 100%; min-height: 44px; } }

/* tarify */
.plans { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; margin-bottom: 14px; }
.plans .card { margin: 0; }
.plans .card-h label, #plf .inline-f label { display: inline-flex; gap: 6px; align-items: center; }
#plf input[type=radio] { width: auto; height: auto; min-height: 0; padding: 0; margin: 0; flex: none; }

/* potvrzení heslem, řádky auditu s chybou */
dialog.pwdlg { border: 1px solid var(--line, #ddd); border-radius: 12px; padding: 18px; max-width: 420px; width: calc(100% - 32px); }
dialog.pwdlg::backdrop { background: rgba(15, 37, 61, .35); }
dialog.pwdlg input { width: 100%; }
tr.bad-row td { color: #b42318; }
.ok-msg { color: #067647; }
.del-bar { background: #fef3f2; border-color: #fecdca; }
.danger-zone { border-color: #fecdca; }
.f.chk { flex-direction: row; align-items: center; gap: 8px; }

/* Tržby */
.kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; margin-bottom: 20px; }
.kpi { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; min-width: 0; }
.kpi span { display: block; font-size: 12px; color: var(--muted); font-weight: 500; }
.kpi b { display: block; font-size: 22px; margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi small { display: block; color: var(--faint); font-size: 12px; margin-top: 2px; }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 160px; padding: 14px 18px 8px; }
.bar { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; min-width: 0; }
.bar i { display: block; width: 100%; max-width: 38px; min-height: 2px; background: var(--brand); border-radius: 4px 4px 0 0; }
.bar span { font-size: 11px; color: var(--faint); margin-top: 6px; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 20px; align-items: start; margin-bottom: 20px; }
/* doživotní tarif */
.life-card { border-left: 3px solid #8b5cf6; }
.life-card .form-grid { margin-bottom: 4px; }
