/* CRM Signitive – styl D „Dvojí plátno": tmavý vršek, bílý list */
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;font-family:"Sora","Segoe UI",system-ui,sans-serif;font-weight:300;color:#F2F2F0;background:#18181A;font-size:14px;line-height:1.5}
a{color:#F2F2F0}a:hover{color:#fff}
b,strong{font-weight:600}
button,input,select,textarea{font:inherit}
[hidden]{display:none!important}
.w{width:100%;max-width:1240px;margin:0 auto;padding:0 32px;padding-left:max(32px,env(safe-area-inset-left));padding-right:max(32px,env(safe-area-inset-right))}
@media (max-width:640px){.w{padding-left:max(16px,env(safe-area-inset-left));padding-right:max(16px,env(safe-area-inset-right))}}
#app{min-height:100vh;display:flex;flex-direction:column;padding-top:env(safe-area-inset-top)}
.hd{display:flex;flex-wrap:wrap;gap:6px 28px;align-items:center;min-height:72px;border-bottom:1px solid #2E2E31}
.br{font-weight:600;font-size:17px;letter-spacing:-.01em;display:inline-flex;align-items:center;gap:8px;text-decoration:none}
.br i{width:10px;height:10px;border-radius:50%;background:#F2F2F0;display:inline-block}
.nv{display:flex;gap:4px 26px;flex-wrap:wrap;margin-left:auto}
.nv a{color:#A8A8A6;text-decoration:none;min-height:44px;display:inline-flex;align-items:center;font-size:13px;border-bottom:1px solid transparent}
.nv a.on{color:#F2F2F0;font-weight:400;border-bottom-color:#F2F2F0}
.st{display:inline-flex;align-items:center;gap:8px;min-height:34px;padding:0 14px;border:1px solid #3A3A3D;border-radius:999px;font-size:12px;color:#F2F2F0;text-decoration:none;white-space:nowrap}
.dot{width:7px;height:7px;border-radius:50%;display:inline-block;background:#4ADE80}
.st.off{border-color:#FF9F45}.st.off .dot{background:#FF9F45}
.st.err{border-color:#FF6B5E}.st.err .dot{background:#FF6B5E}
.hero{padding:36px 0 32px;display:flex;flex-direction:column;gap:18px}
.gr{color:#A8A8A6;font-size:13px}
h1{margin:0;font-size:38px;font-weight:200;letter-spacing:-.02em;line-height:1.2;text-wrap:balance}
h2{margin:0;font-size:22px;font-weight:300;letter-spacing:-.01em}
h3{margin:0;font-size:12px;font-weight:400;color:#A8A8A6}
@media (max-width:640px){h1{font-size:28px}}
.rw{display:flex;flex-wrap:wrap;gap:8px 10px;align-items:center}
.sp{justify-content:space-between}
.mu{color:#A8A8A6;font-size:13px}
.grow{flex:1 1 260px;min-width:0}
.dc{background:#222224;border:1px solid #2E2E31;border-radius:14px;padding:18px;display:flex;flex-direction:column;gap:12px;min-width:0}
.pill{display:inline-flex;align-items:center;gap:8px;min-height:28px;padding:0 12px;border:1px solid #3A3A3D;border-radius:999px;font-size:12px;white-space:nowrap}
.k{width:8px;height:8px;border-radius:50%;display:inline-block;flex:0 0 auto}
.bt{font-weight:400;font-size:13px;padding:0 18px;min-height:44px;border-radius:6px;border:1px solid #3A3A3D;background:#18181A;color:#F2F2F0;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;text-decoration:none}
.bt.p{background:#F2F2F0;border-color:#F2F2F0;color:#18181A;font-weight:600}
.bt.sq{padding:0;width:44px}
.bt:disabled{opacity:.5;cursor:default}
input[type=text],input[type=search],select,textarea{padding:0 12px;min-height:44px;border:1px solid #3A3A3D;border-radius:6px;background:#18181A;color:#F2F2F0;max-width:100%}
::placeholder{color:#A8A8A6;opacity:1}
:focus-visible{outline:2px solid #5B9BFF;outline-offset:2px}
.seg{display:inline-flex;border:1px solid #3A3A3D;border-radius:999px;padding:3px;gap:2px}
.seg button{font-size:12px;min-height:38px;padding:0 16px;border:0;border-radius:999px;background:transparent;color:#A8A8A6;cursor:pointer}
.seg button.on{background:#F2F2F0;color:#18181A;font-weight:600}
.ch{font-size:12px;min-height:44px;padding:0 16px;border-radius:999px;border:1px solid #3A3A3D;background:transparent;color:#C8C8C6;cursor:pointer}
.ch.on{background:#F2F2F0;border-color:#F2F2F0;color:#18181A;font-weight:600}
/* přehled */
.heroTop{display:flex;flex-wrap:wrap;gap:24px 40px;justify-content:space-between;align-items:flex-end}
.heroTop>div:first-child{flex:999 1 520px;min-width:0}
.heroTop h1{margin-top:8px;max-width:760px}
.tot{flex:1 1 240px;text-align:right}
.tot .n{font-size:44px;font-weight:300;letter-spacing:-.02em;line-height:1.1;white-space:nowrap}
.tot .n small{font-size:20px;font-weight:300}
@media (max-width:640px){.tot{text-align:left}.tot .n{font-size:32px}}
.gs{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px}
.g{background:#222224;border:1px solid #2E2E31;border-radius:14px;padding:18px;display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center;text-decoration:none}
.g .pill{align-self:flex-start}
.rg{position:relative;width:120px;height:120px}
.rg div{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1.15}
.rg b{font-size:30px;font-weight:300}
.rg span{font-size:11px;color:#A8A8A6}
/* časová osa */
.lg{display:flex;flex-wrap:wrap;gap:14px;font-size:12px;color:#A8A8A6}
.lg span{display:inline-flex;align-items:center;gap:6px}
.ov{overflow-x:auto}
.ax{min-width:720px;display:flex;flex-direction:column;gap:6px;padding:4px 0}
.ln{display:grid;grid-template-columns:76px minmax(0,1fr);align-items:center;gap:10px}
.ll{font-size:12px;color:#A8A8A6}
.wk{display:grid}
.wk span{font-size:12px;color:#A8A8A6;padding:0 8px;border-left:1px solid #3A3A3D;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tr{position:relative;height:46px;border-bottom:1px solid #2E2E31}
.gl{position:absolute;top:0;bottom:0;width:1px;background:#3A3A3D}
.now{position:absolute;top:-4px;bottom:-4px;width:1px;background:#F2F2F0;z-index:1}
.ev{position:absolute;bottom:0;background:#5B9BFF;border-radius:4px 4px 0 0}
.mk{position:absolute;top:50%;display:inline-flex;align-items:center;gap:8px;white-space:nowrap;font-size:12px;font-weight:400;line-height:1;text-decoration:none;transform:translate(-5px,-50%);z-index:2}
.mk::before{content:"";width:10px;height:10px;border-radius:50%;flex:0 0 auto;background:#FF9F45}
.mk.l{transform:translate(calc(-100% + 5px),-50%);flex-direction:row-reverse}
.mk.od::before{background:#FF6B5E}
.mk.tk::before{background:#F2F2F0}
.mk.tk.od::before{background:#FF6B5E}
.tll{display:flex;flex-direction:column}
.tll a{display:flex;gap:12px;align-items:baseline;padding:8px 0;border-top:1px solid #2E2E31;text-decoration:none}
.tll a span:first-child{flex:0 0 70px;color:#A8A8A6;font-size:12px}
/* výběr s našeptáváním */
.pk{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.pk>label.pl{font-size:12px;color:#A8A8A6;flex:0 0 84px}
.pk input[type=search]{flex:1 1 200px;min-width:160px}
.sel{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 4px 0 12px;border:1px solid #F2F2F0;border-radius:999px;font-size:13px;cursor:pointer}
.sel.offv{border-color:#3A3A3D;color:#A8A8A6}
.sel input{width:18px;height:18px;accent-color:#F2F2F0;margin:0}
.x{width:36px;height:36px;border:0;border-radius:50%;background:transparent;color:#A8A8A6;cursor:pointer;font-size:17px;line-height:1}
.sug{flex:1 1 100%;display:flex;flex-wrap:wrap;gap:6px;padding-left:92px}
@media (max-width:640px){.sug{padding-left:0}.pk>label.pl{flex-basis:100%}}
.sug button{font-size:13px;min-height:40px;padding:0 14px;border-radius:999px;border:1px dashed #5C5C5F;background:transparent;color:#F2F2F0;cursor:pointer}
.sug button b{font-weight:600}
/* detail */
.g3{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px}
.big{font-size:20px;font-weight:300;line-height:1.35;margin:0;white-space:pre-wrap}
.nm{font-size:24px;font-weight:300;letter-spacing:-.01em;white-space:nowrap}
.kv{display:grid;grid-template-columns:max-content minmax(0,1fr);gap:6px 16px;margin:0}
.kv dt{color:#A8A8A6}.kv dd{margin:0;overflow-wrap:anywhere}
.pre{white-space:pre-wrap;overflow-wrap:anywhere;margin:0}
/* bílý list */
.sh{background:#fff;color:#1A1A1A;border-radius:28px 28px 0 0;padding:40px 0 48px;flex:1;color-scheme:light}
.c.pr{color-scheme:dark}
.sh a{color:#1A1A1A}.sh .mu{color:#5C5C5A}
.sh>.w{display:flex;flex-direction:column;gap:12px}
.cols{display:flex;flex-wrap:wrap;gap:28px 32px;align-items:flex-start}
.cols>*{flex:1 1 380px;min-width:0;display:flex;flex-direction:column;gap:12px}
.cols>.S{flex:1 1 320px;gap:6px}.cols>.D{flex:999 1 520px}
.c{background:#F4F4F3;border-radius:14px;padding:14px 18px;display:flex;flex-wrap:wrap;gap:6px 14px;align-items:center}
.c>.t{flex:1 1 240px;min-width:0;overflow-wrap:anywhere}
.c>.id{flex:0 0 92px;font-size:12px;color:#5C5C5A}
.c>.cu{flex:0 1 160px;overflow-wrap:anywhere}
.c>.ph{flex:0 1 210px;display:flex;flex-wrap:wrap;gap:6px}
.c>.dt{flex:0 0 64px;font-size:12px;color:#5C5C5A}
.c a.ti{text-decoration:none;font-weight:600}
.c.pr{background:#1A1A1A;color:#fff}.c.pr .mu{color:#C8C8C6}.sh .c.pr a{color:#fff}
.c.dn .t b{text-decoration:line-through;font-weight:300;color:#5C5C5A}
.c.wait{box-shadow:inset 0 0 0 1px #C2620A}
.ck{width:22px;height:22px;accent-color:#1A1A1A;flex:0 0 auto;margin:0;cursor:pointer}
.c.pr .ck{accent-color:#F2F2F0}
.tg{display:inline-flex;align-items:center;gap:7px;min-height:26px;padding:0 10px;background:#fff;color:#1A1A1A;border-radius:999px;font-size:12px;white-space:nowrap}
.tg.r{color:#B3261E;font-weight:600}
.tg.d{background:#1A1A1A;color:#fff}
.tg.hi{background:#FF6B5E;font-weight:600}
.tg.q{background:#FFE9CF;color:#6B3F06}
.tg.g{background:#F4F4F3}
.sh .bt{background:#fff;border-color:#CFCFCC;color:#1A1A1A}
.sh .bt.p{background:#1A1A1A;border-color:#1A1A1A;color:#fff}
.sh .bt.d{border-color:#B3261E;color:#B3261E}
.sh input[type=text],.sh input[type=search],.sh select,.sh textarea{background:#fff;border-color:#CFCFCC;color:#1A1A1A}
.sh ::placeholder{color:#6A6A68}
.tb{display:flex;gap:6px;flex-wrap:wrap}
.tb button{font-size:12px;min-height:44px;padding:0 16px;border-radius:999px;border:1px solid #CFCFCC;background:#fff;color:#1A1A1A;cursor:pointer}
.tb button.on{background:#1A1A1A;border-color:#1A1A1A;color:#fff;font-weight:600}
.prs{display:flex;justify-content:space-between;align-items:center;gap:10px;min-height:56px;padding:6px 14px;border-radius:12px;text-decoration:none;border:0;background:transparent;text-align:left;cursor:pointer;color:#1A1A1A;width:100%}
.prs.on{background:#1A1A1A;color:#fff}.prs.on .mu{color:#C8C8C6}
.prs .ty{font-size:12px;white-space:nowrap}
.nt{background:#FFF3E3;border-radius:10px;padding:12px 14px;color:#6B3F06}
.gate{max-width:520px;margin:12vh auto 0;display:flex;flex-direction:column;gap:16px;padding:0 24px}
#toast{position:fixed;left:50%;bottom:calc(20px + env(safe-area-inset-bottom));transform:translateX(-50%);background:#F2F2F0;color:#18181A;padding:12px 18px;border-radius:999px;font-weight:400;font-size:13px;max-width:90vw;z-index:20;box-shadow:0 4px 24px rgba(0,0,0,.35)}
/* formuláře (etapa 2) */
input[type=date]{padding:0 12px;min-height:44px;border:1px solid #3A3A3D;border-radius:6px;background:#18181A;color:#F2F2F0;max-width:100%}
.sh input[type=date]{background:#fff;border-color:#CFCFCC;color:#1A1A1A}
textarea{padding:10px 12px;min-height:96px;width:100%;resize:vertical;line-height:1.5}
label.f{font-size:12px;color:#A8A8A6;display:flex;flex-direction:column;gap:4px;min-width:0}
.sh label.f{color:#5C5C5A}
label.f.grow,.frm .grow{flex:1 1 220px}
label.f>input,label.f>select{width:100%}
.frm{gap:10px}
.pj{background:#F4F4F3;border-radius:14px;padding:18px;display:flex;flex-direction:column;gap:12px}
.vs{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}
.vb{border:1px solid #3A3A3D;border-radius:10px;padding:12px;display:flex;flex-direction:column;gap:6px;overflow-wrap:anywhere}
.totb{justify-content:flex-end;margin-top:12px}
@media (max-width:640px){.totb{justify-content:flex-start}}
.sel .mu{font-size:12px}
