/* CRM MiPoStav · styl „C + verze 1“ (schváleno 27. 10. 2026) */
:root{
  --navy:#14263D;--blue:#2F4E74;--yellow:#F2B705;--yellow-soft:#FDF1CC;--yellow-bg:#FDF6DF;
  --bg:#F1F3F5;--line:#E1E5EA;--col:#E6EAEF;--muted:#5B6A7D;--muted-2:#8A97A8;--on-navy:#C3CEDB;
  --red:#A23B2C;--red-dot:#C2412F;--red-soft:#F8E1DD;--green:#22603A;--green-soft:#E3F1E6;--blue-soft:#E4ECF6;
  --head:Montserrat,Arial,sans-serif;--text:'Open Sans',Arial,sans-serif;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--navy);font-family:var(--text);font-size:14.5px;line-height:1.45}
a{color:var(--navy)}a:hover{color:var(--blue)}
h1,h2,h3{font-family:var(--head);margin:0}
button,input,select,textarea{font:inherit;color:inherit}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
:focus-visible{outline:3px solid var(--yellow);outline-offset:2px}

/* Rozvržení */
.app{display:flex;flex-wrap:wrap;min-height:100vh}
.side{flex:1 1 236px;max-width:100%;background:var(--blue);color:#fff;padding:28px 18px;display:flex;flex-direction:column;gap:32px}
.side .brand{display:flex;align-items:center;gap:10px;padding:0 10px;color:#fff;text-decoration:none}
.side .brand b{font-family:var(--head);font-weight:700;font-size:19px}
.nav{display:flex;flex-direction:column;gap:2px}
.nv{display:flex;align-items:center;gap:12px;padding:10px 14px;border-radius:12px;color:#D5DEE8;text-decoration:none;font-size:14.5px}
.nv svg{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;opacity:.85}
.nv:hover{background:rgba(255,255,255,.07);color:#fff}
.nv[aria-current=page]{background:#fff;color:var(--navy);font-weight:600}
.nv .badge{margin-left:auto;min-width:22px;height:22px;border-radius:11px;background:var(--yellow);color:var(--navy);font-size:11px;font-weight:700;display:grid;place-items:center;padding:0 6px}
.side .me{margin-top:auto;display:flex;align-items:center;gap:10px;padding:0 10px;font-size:13px}
.side .me a{color:var(--on-navy)}
.main{flex:999 1 560px;min-width:0;padding:30px 40px 56px;display:flex;flex-direction:column;gap:28px}
@media (max-width:820px){
  .side{flex-basis:100%;padding:14px 16px;gap:12px;flex-direction:row;flex-wrap:wrap;align-items:center}
  .side .nav{flex-direction:row;overflow-x:auto;flex-basis:100%;gap:4px;padding-bottom:4px}
  .nv{white-space:nowrap;padding:8px 12px}
  .side .me{margin:0 0 0 auto}
  .main{padding:20px 16px 40px;gap:22px}
}

/* Hlavička stránky */
.top{display:flex;flex-wrap:wrap;align-items:center;gap:16px}
.top .ttl{margin-right:auto;display:flex;flex-direction:column;gap:4px;min-width:0}
.top h1{font-weight:700;font-size:28px}
.sub{font-size:14px;color:var(--muted)}
.search{display:flex;align-items:center;gap:10px;height:46px;padding:0 18px;border-radius:23px;background:#fff;min-width:min(260px,100%);color:var(--muted)}
.search input{border:0;outline:0;background:transparent;flex:1;min-width:0}
.crumb{font-size:13px;color:var(--muted)}.crumb a{color:var(--muted)}

/* Tlačítka */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:46px;padding:0 22px;border:0;border-radius:23px;background:#fff;color:var(--navy);font-family:var(--head);font-weight:600;font-size:14px;cursor:pointer;text-decoration:none;white-space:nowrap}
.btn:hover{background:var(--line);color:var(--navy)}
.btn.primary{background:var(--yellow);font-weight:700}.btn.primary:hover{background:#E0A900}
.btn.glass{background:rgba(255,255,255,.92)}
.btn.big{height:54px;border-radius:27px;font-size:15.5px;width:100%}
.pill{display:inline-flex;align-items:center;justify-content:center;height:34px;padding:0 14px;border-radius:17px;font-family:var(--head);font-weight:600;font-size:12.5px;text-decoration:none;background:var(--bg);color:var(--navy);white-space:nowrap;border:0;cursor:pointer}
.pill:hover{background:var(--line)}
.pill.y{background:var(--yellow)}.pill.y:hover{background:#E0A900}
.pill.dark{background:var(--navy);color:#fff}
.pill.w{background:#fff}

/* Karty a sekce */
.card{background:#fff;border-radius:20px;padding:22px 24px}
.card.dark{background:var(--navy);color:#fff}
.h2{font-weight:700;font-size:18px}
.sechead{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:8px}
.more{font-family:var(--head);font-weight:600;font-size:13px;color:var(--blue);text-decoration:none}
.more:hover{text-decoration:underline}
.dark .more{color:var(--yellow)}
.cols{display:flex;flex-wrap:wrap;gap:28px;align-items:flex-start}
.cols.dash{align-items:stretch}
.cols>.wide{flex:999 1 540px;min-width:0;display:flex;flex-direction:column;gap:28px}
.cols>.narrow{flex:1 1 320px;min-width:0;display:flex;flex-direction:column;gap:28px}
.grid3{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(300px,100%),1fr));gap:28px;align-items:stretch}
.stack{display:flex;flex-direction:column;gap:16px}

/* Velká fotka */
.hero{position:relative;display:flex;align-items:flex-end;border-radius:20px;overflow:hidden;text-decoration:none;color:#fff;min-height:440px;background:var(--navy);flex:999 1 540px}
.hero:hover{color:#fff}
.hero img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hero .scrim{position:relative;width:100%;padding:120px 28px 26px;background:linear-gradient(transparent,rgba(13,25,41,.88));display:flex;flex-direction:column;gap:10px}
.hero.short{min-height:280px}.hero.short .scrim{padding-top:90px;flex-direction:row;flex-wrap:wrap;align-items:flex-end;gap:20px}
.eyebrow{font-family:var(--head);font-weight:600;font-size:12px;letter-spacing:.1em;text-transform:uppercase;color:var(--yellow)}
.hero .headline{font-family:var(--head);font-weight:800;font-size:30px;line-height:1.15;text-wrap:balance}
.hero .meta{display:flex;align-items:center;gap:14px;flex-wrap:wrap;font-size:14px;color:#DCE3EC}
.hero .flag{position:absolute;top:20px;left:20px;display:inline-flex;align-items:center;gap:8px;height:32px;padding:0 14px;border-radius:16px;background:rgba(255,255,255,.92);color:var(--navy);font-size:13px;font-weight:600}
.hbar{flex:0 1 220px;height:6px;border-radius:3px;background:rgba(255,255,255,.25);overflow:hidden}.hbar i{display:block;height:100%;background:var(--yellow)}
.dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--red-dot);flex:none}

/* Seznam k vyřízení */
.av{width:40px;height:40px;border-radius:50%;flex:none;display:grid;place-items:center;font-family:var(--head);font-weight:700;font-size:14px;background:var(--bg)}
.av.y{background:var(--yellow-soft);color:#6B4E00}.av.b{background:var(--blue-soft);color:var(--blue)}.av.r{background:var(--red-soft);color:var(--red)}.av.g{background:var(--green-soft);color:var(--green)}.av.me{background:var(--yellow);color:var(--navy);width:36px;height:36px}
.todo{display:flex;gap:14px;align-items:flex-start;padding:14px 0;border-top:1px solid var(--line);font-size:14px}
.todo:first-of-type{border-top:0}
.todo .body{display:flex;flex-direction:column;gap:8px;min-width:0;flex:1}
.todo .pill{align-self:flex-start}
.empty{color:var(--muted);font-size:14px;padding:10px 0}

/* Karty staveb */
.site{background:#fff;border-radius:16px;overflow:hidden;text-decoration:none;color:var(--navy);display:flex}
.site:hover{color:var(--navy);box-shadow:0 4px 14px rgba(20,38,61,.08)}
.site img,.site .ph{width:112px;object-fit:cover;flex:none;background:var(--col)}
.site .in{padding:16px;display:flex;flex-direction:column;gap:7px;font-size:14px;min-width:0;flex:1}
.site b{font-family:var(--head)}
.row2{display:flex;justify-content:space-between;gap:8px;font-size:13px;color:var(--muted)}
.bar{height:6px;border-radius:3px;background:var(--line);overflow:hidden;display:block}
.bar i{display:block;height:100%;border-radius:3px;background:var(--blue)}
.bar.y i{background:var(--yellow)}.bar.n i{background:var(--navy)}
.warn{color:var(--red);font-weight:600}
.ok{color:var(--green);font-weight:600}
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(300px,100%),1fr));gap:20px}

/* Termíny, obchod, peníze */
.trm{display:grid;grid-template-columns:52px 1fr;gap:14px;align-items:center;padding:11px 0;border-top:1px solid var(--line);font-size:14px}
.trm:first-of-type{border-top:0}
.day{display:flex;flex-direction:column;align-items:center;justify-content:center;height:48px;border-radius:12px;background:var(--bg);font-family:var(--head);line-height:1.1}
.day.y{background:var(--yellow-soft)}
.day b{font-size:17px}.day span{font-size:11px;color:var(--muted);text-transform:uppercase;letter-spacing:.05em}
.small{font-size:13px;color:var(--muted)}
.stg{display:grid;grid-template-columns:96px 1fr 26px;gap:12px;align-items:center;font-size:13.5px}
.stg b{text-align:right}
.total{margin-top:auto;padding-top:14px;border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:baseline;gap:12px;font-size:13.5px;color:var(--muted)}
.total b{font-family:var(--head);font-size:20px;color:var(--navy)}
.kv{display:flex;justify-content:space-between;align-items:baseline;gap:12px;font-size:14px;color:var(--on-navy)}
.kv b{color:#fff}.kv b.big{font-family:var(--head);font-size:22px}.kv b.y{color:var(--yellow)}
.sep{height:1px;background:rgba(255,255,255,.14)}
.card.dark .small{color:var(--on-navy)}
.flexcol{display:flex;flex-direction:column;gap:14px}

/* Karta zakázky */
.steps{list-style:none;margin:0;padding:6px;display:flex;flex-wrap:wrap;gap:4px;font-size:12.5px;background:#fff;border-radius:24px}
.steps li{flex:1 1 76px;padding:9px 4px;border-radius:18px;text-align:center;color:var(--blue)}
.steps li.todo-s{color:var(--muted-2)}
.steps li[aria-current=step]{background:var(--blue);color:#fff;font-weight:700}
.ph-row{display:grid;grid-template-columns:minmax(0,1fr) 160px 150px;gap:18px;align-items:center;padding:14px 0;border-top:1px solid var(--line);font-size:14px}
.ph-row.cur{background:var(--yellow-bg);margin:0 -12px;padding:14px 12px;border-radius:14px;border-top-color:transparent}
.ph-row .n{display:flex;flex-direction:column;gap:2px;min-width:0}.ph-row .n span{font-size:12.5px;color:var(--muted)}
.ph-row .m{text-align:right;font-family:var(--head);font-weight:700;font-variant-numeric:tabular-nums}.ph-row .m span{font-weight:500;color:var(--muted-2)}
.ph-row .m.over{color:var(--red)}
@media (max-width:640px){.ph-row{grid-template-columns:1fr;gap:6px}.ph-row .m{text-align:left}}
.entry{background:#fff;border-radius:16px;overflow:hidden;display:flex;flex-wrap:wrap}
.entry .pics{flex:1 1 260px;display:grid;grid-template-columns:2fr 1fr;grid-template-rows:90px 90px;gap:3px}
.entry .pics img{width:100%;height:100%;object-fit:cover}
.entry .pics img:first-child{grid-row:span 2}
.entry .thumb{width:120px;object-fit:cover;flex:none}
.entry .tx{flex:999 1 300px;padding:18px 20px;display:flex;flex-direction:column;gap:8px;font-size:14px;line-height:1.5}
.entry .hd{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.entry .hd b{font-family:var(--head)}
.state{margin-left:auto;display:inline-flex;align-items:center;gap:6px;font-size:12.5px;font-weight:600}
.state.wait{color:var(--red)}.state.done{color:var(--green)}
.who{display:flex;gap:14px;align-items:center}
.who .av{width:48px;height:48px;font-size:16px}

/* Poptávky */
.filters{display:flex;flex-wrap:wrap;gap:8px}
.board{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(200px,100%),1fr));gap:16px;align-items:start}
.colm{background:var(--col);border-radius:20px;padding:12px;display:flex;flex-direction:column;gap:10px}
.colh{display:flex;align-items:center;justify-content:space-between;padding:4px 6px}
.colh h2{font-weight:700;font-size:14.5px}
.cnt{min-width:24px;height:24px;border-radius:12px;background:#fff;display:grid;place-items:center;font-size:12px;font-weight:700;padding:0 6px}
.cnt.y{background:var(--yellow)}.cnt.n{background:var(--navy);color:#fff}
.lead{background:#fff;border-radius:16px;padding:14px;display:flex;flex-direction:column;gap:9px;text-decoration:none;color:var(--navy);font-size:13.5px}
.lead:hover{color:var(--navy);box-shadow:0 4px 14px rgba(20,38,61,.08)}
.lead.alert{box-shadow:inset 0 0 0 2px #F3C9C2}
.lh{display:flex;gap:10px;align-items:center}.lh>span:last-child{display:flex;flex-direction:column;min-width:0}.lh>span:last-child span{font-size:12.5px;color:var(--muted)}
.lead .av{width:34px;height:34px;font-size:12px}
.lm{display:flex;justify-content:space-between;gap:8px;font-size:12.5px;color:var(--muted)}
.lm b{color:var(--navy)}

/* Doklad */
.paper-wrap{flex:1 1 360px;min-width:0;background:var(--navy);border-radius:20px;padding:36px 24px;display:flex;justify-content:center}
.paper-wrap img{max-width:100%;max-height:640px;border-radius:6px;transform:rotate(-2deg);box-shadow:0 18px 40px rgba(0,0,0,.35)}
.fr{display:grid;grid-template-columns:130px minmax(0,1fr) auto;gap:16px;align-items:center;padding:12px 0;border-top:1px solid var(--line);font-size:14px}
.fr>span:first-child{color:var(--muted)}
.fr input{border:0;background:var(--bg);border-radius:10px;padding:8px 10px;min-width:0;width:100%}
.fr.unsure{background:var(--yellow-bg);margin:0 -12px;padding:12px;border-radius:12px;border-top-color:transparent}
.fr .hint{font-size:12.5px;font-weight:600}
.fr.unsure .hint{color:#6B4E00}
.sel{height:48px;border:0;border-radius:14px;background:var(--bg);padding:0 14px;width:100%}
label.f{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:600}
.actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}

/* Mobil: zápis do deníku a klientský deník */
.mobile{max-width:480px;margin:0 auto;min-height:100vh;display:flex;flex-direction:column;background:var(--bg)}
.mhead{background:var(--blue);color:#fff;padding:12px 16px 18px;border-radius:0 0 24px 24px;display:flex;flex-direction:column;gap:12px}
.mhead a{color:#fff}
.mhead .t{display:flex;align-items:center;gap:8px}
.mhead .t span{display:flex;flex-direction:column;min-width:0}.mhead .t b{font-family:var(--head);font-size:17px}.mhead .t small{font-size:12.5px;color:var(--on-navy)}
.back{display:flex;width:44px;height:44px;align-items:center;justify-content:center;margin-left:-10px}
.chips{display:flex;gap:8px;flex-wrap:wrap}
.chip{display:inline-flex;align-items:center;gap:6px;min-height:34px;padding:4px 13px;border-radius:17px;background:rgba(255,255,255,.16);font-size:13px}
.mbody{flex:1;padding:18px 16px;display:flex;flex-direction:column;gap:18px}
.lbl{font-family:var(--head);font-size:13px;font-weight:700}
.fld{width:100%;border:0;border-radius:14px;background:#fff;font-size:14.5px;padding:12px 14px;min-height:48px}
textarea.fld{resize:vertical;line-height:1.5}
.photos{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
.photos img,.photos .add{width:100%;aspect-ratio:1;object-fit:cover;border-radius:12px}
.photos .add{border:0;background:var(--yellow);display:flex;align-items:center;justify-content:center;cursor:pointer;position:relative}
.photos .add input{position:absolute;inset:0;opacity:0;cursor:pointer}
.aitag{font-size:11.5px;font-weight:700;background:var(--yellow-soft);color:#6B4E00;border-radius:12px;padding:3px 10px}
.mfoot{padding:14px 16px 22px;background:#fff;border-radius:24px 24px 0 0;display:flex;flex-direction:column;gap:8px;position:sticky;bottom:0}
.mfoot .small{text-align:center;font-size:12px}
.chk{display:flex;align-items:center;gap:10px;font-size:14px;min-height:40px}
.chk input{width:20px;height:20px;accent-color:var(--blue)}
.two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}

.chero{position:relative;height:300px;flex:none;color:#fff;background:var(--navy);border-radius:0 0 28px 28px;overflow:hidden}
.chero img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.chero .shade{position:absolute;inset:0;background:linear-gradient(rgba(13,25,41,.55),transparent 30%,transparent 40%,rgba(13,25,41,.9))}
.chero .brand{position:absolute;top:16px;left:20px;right:20px;display:flex;align-items:center;gap:9px}
.chero .brand b{font-family:var(--head);font-size:16px}
.chero .brand a{margin-left:auto;font-size:12px;color:#DCE3EC}
.chero .bottom{position:absolute;left:20px;right:20px;bottom:20px;display:flex;flex-direction:column;gap:8px}
.chero h1{font-weight:800;font-size:24px;line-height:1.15}
.segs{display:grid;grid-template-columns:repeat(var(--n,5),minmax(0,1fr));gap:4px}
.segs span{height:6px;border-radius:3px;background:rgba(255,255,255,.3)}
.segs span.done{background:var(--yellow)}.segs span.cur{background:rgba(242,183,5,.5)}
.kdcard{background:var(--navy);color:#fff;border-radius:20px;padding:14px 16px;display:flex;align-items:center;gap:14px}
.kdcard .cal{width:48px;height:48px;border-radius:14px;background:var(--yellow);color:var(--navy);display:flex;flex-direction:column;align-items:center;justify-content:center;font-family:var(--head);font-weight:800;line-height:1;flex:none}
.kdcard .cal span:first-child{font-size:17px}.kdcard .cal span:last-child{font-size:10px}
.kdcard small{color:var(--on-navy);font-size:13px}
.post{background:#fff;border-radius:20px;overflow:hidden}
.post .pics{display:grid;grid-template-columns:2fr 1fr;grid-template-rows:68px 68px;gap:3px}
.post .pics img{width:100%;height:100%;object-fit:cover}.post .pics img:first-child{grid-row:span 2}
.post .tx{padding:14px 16px;display:flex;flex-direction:column;gap:6px;font-size:14px;line-height:1.5}
.doc{display:flex;align-items:center;gap:12px;font-size:14px;min-height:56px;text-decoration:none;background:#fff;border-radius:16px;padding:0 16px}
.doc span:first-child{flex:1}
.mnav{padding:12px 16px 22px;background:#fff;border-radius:24px 24px 0 0;display:flex;gap:8px;position:sticky;bottom:0}
.act{flex:1;min-height:60px;border:0;border-radius:16px;background:var(--bg);font-size:12px;font-weight:600;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;cursor:pointer;text-decoration:none;color:var(--navy)}
.act.y{background:var(--yellow)}
.act svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.9}

/* Přihlášení a hlášky */
.center{min-height:100vh;display:grid;place-items:center;padding:24px}
.login{background:#fff;border-radius:24px;padding:36px;max-width:420px;width:100%;display:flex;flex-direction:column;gap:18px;text-align:center;align-items:center}
.notice{background:var(--yellow-soft);color:#6B4E00;border-radius:14px;padding:12px 16px;font-size:13.5px}
.notice.err{background:var(--red-soft);color:var(--red)}
.demo-banner{background:var(--navy);color:#fff;text-align:center;font-size:12.5px;padding:6px 12px}
.demo-banner b{color:var(--yellow)}

/* Řádky seznamů, tabulky, formuláře v kartách */
a.todo.row{text-decoration:none;color:inherit;align-items:center}
.todo.row{align-items:center}
.todo .r{font-family:var(--head);white-space:nowrap;margin-left:auto}
.card .fld{background:var(--bg)}
textarea.fld{resize:vertical;font:inherit}
.tbl{width:100%;border-collapse:collapse;font-size:14px}
.tbl th{text-align:left;font-size:12px;font-weight:600;color:var(--muted);padding:6px 8px;border-bottom:1px solid var(--line)}
.tbl td{padding:9px 8px;border-top:1px solid var(--line);vertical-align:top}
.tbl tr:first-child td{border-top:0}
.tbl .n{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
.stavform{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.stavform .sel{width:auto;height:40px;min-width:200px}
.stavform input{height:40px;border:0;border-radius:12px;background:var(--bg);padding:0 12px;flex:1 1 200px;min-width:0}

/* Uzávěrka deníku k tisku */
.print{max-width:820px;margin:0 auto;padding:32px 28px;background:#fff;color:#000;font-size:12.5px;line-height:1.45}
.print h1{font-size:20px;margin:0 0 4px}
.print .hlav{display:grid;grid-template-columns:150px 1fr;gap:3px 14px;margin:16px 0 22px}
.print .zap{border-top:1px solid #999;padding:10px 0;break-inside:avoid}
.print .zap h2{font-size:13.5px;margin:0 0 6px}
.print .zap dl{display:grid;grid-template-columns:150px 1fr;gap:2px 14px;margin:0}
.print .zap dt{color:#444}.print .zap dd{margin:0}
.print .otisk{font-family:monospace;font-size:10px;word-break:break-all;color:#444}
.print .noprint{margin-bottom:18px;display:flex;gap:10px}
@media print{body{background:#fff}.demo-banner,.noprint{display:none}.print{padding:0;max-width:none}}
/* Stavební deník zakázky */
.kvlist{display:grid;grid-template-columns:minmax(110px,150px) 1fr;gap:7px 14px;margin:0;font-size:14px}
.kvlist dt{color:var(--muted)}.kvlist dd{margin:0;min-width:0;overflow-wrap:anywhere}
.tag{display:inline-flex;align-items:center;min-height:26px;padding:2px 10px;border-radius:13px;background:var(--bg);font-size:12.5px;color:inherit}
.gal{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:6px}
.gal img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:10px}
details>summary{cursor:pointer;list-style:none}details>summary::-webkit-details-marker{display:none}
.mobile .tagchk{display:flex;flex-wrap:wrap;gap:8px}
.mobile .tagchk label{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:4px 12px;border-radius:18px;background:#fff;font-size:13px}
.mobile .tagchk input{accent-color:var(--blue)}
.print .ucast{width:100%;border-collapse:collapse;margin:6px 0 18px}
.print .ucast th,.print .ucast td{border:1px solid #999;padding:4px 6px;text-align:left;vertical-align:top}
.print .ucast th{background:#eee;font-weight:600}
.print .foto{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;margin-top:6px}
.print .foto img{width:100%;aspect-ratio:4/3;object-fit:cover}
.print .podpisy{display:grid;grid-template-columns:1fr 1fr;gap:40px;margin-top:40px}
.print .podpisy div{border-top:1px solid #000;padding-top:4px}
.print h2.cast{font-size:15px;margin:24px 0 8px;border-bottom:2px solid #000;padding-bottom:3px}
.mhead select.chip option{color:#14263D}
.print .ucast td.razitko{min-width:110px;height:48px}
/* Číslované strany v tištěné i PDF uzávěrce (příloha č. 12, C.1 d) */
@page{margin:16mm 14mm 18mm;@bottom-center{content:"Strana " counter(page) " z " counter(pages);font-size:9pt;color:#444}}
[hidden]{display:none!important}
.btn:disabled,.pill:disabled{opacity:.5;cursor:default}
.backbar{display:flex;align-items:center;gap:18px;flex-wrap:wrap;font-size:14px}
.backbar a{color:var(--navy);text-decoration:none;font-family:var(--head);font-weight:600}
.backbar a:hover{text-decoration:underline}
.backbar .zpet{display:inline-flex;align-items:center;gap:4px;height:36px;padding:0 14px 0 8px;border-radius:18px;background:#fff}
.backbar .zpet:hover{background:var(--line);text-decoration:none}
.nabidka .nhlav{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;border-bottom:3px solid #F2B705;padding-bottom:14px;margin-bottom:22px}
.nabidka .nlogo{display:flex;align-items:center;gap:12px;font-family:Montserrat,Arial,sans-serif;font-size:22px;color:#2F4E74}
.nabidka .nhlav .small{text-align:right}
.nabidka h1{font-family:Montserrat,Arial,sans-serif;color:#2F4E74}
.nabidka .ceny td.n{text-align:right;white-space:nowrap}
.nabidka .ceny tfoot td{font-weight:600}
.nabidka .ceny tr.celkem td{font-size:15px;background:#FFF6D6}
.nabidka .sliby{padding-left:20px;margin:6px 0 14px}
.nabidka .sliby li{margin:3px 0}
.nabidka .slogan{margin-top:28px;text-align:center;font-family:Montserrat,Arial,sans-serif;font-weight:700;color:#2F4E74}
