/* Juodkalnijoje.lt – partner dashboard */
:root{
  --ink:#2B2727;--ink2:#433F3F;--muted:#6B7280;--line:#E6E8EC;--line2:#D3D7DE;--bg:#F3F4F6;--panel:#FFFFFF;
  --gold:#FFC000;--gold2:#F2B600;--goldsoft:#FFF6D6;--green:#15803D;--greensoft:#E7F6EC;--red:#C2410C;--redsoft:#FDEDE6;
  --blue:#2563EB;--bluesoft:#E8EFFD;--grey:#9CA3AF;--r:12px;--f:Montserrat,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  --side:#2F2B2B;--sh:0 1px 2px rgba(16,24,40,.05);--sh2:0 12px 32px rgba(16,24,40,.14);
  --rowh:46px;--namew:200px;
}
*{box-sizing:border-box}
html,body{margin:0;height:100%}
body.jkp,.jkp-root,#jkp-app{font-family:var(--f);color:var(--ink);font-size:14px;line-height:1.45;-webkit-font-smoothing:antialiased}
body.jkp{background:var(--bg)}
a{color:inherit}
button,input,select,textarea{font:inherit;color:inherit}
:focus-visible{outline:3px solid var(--gold);outline-offset:1px;border-radius:6px}
.boot{display:grid;place-items:center;height:100vh;color:var(--muted)}

/* buttons & fields */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:38px;padding:0 14px;border-radius:8px;border:0;background:#fff;box-shadow:inset 0 0 0 1.5px var(--line2);font-weight:600;cursor:pointer;text-decoration:none;white-space:nowrap}
.btn:hover{box-shadow:inset 0 0 0 1.5px var(--ink)}
.btn.gold{background:var(--gold);box-shadow:none}.btn.gold:hover{background:var(--gold2)}
.btn.dark{background:var(--ink);color:#fff;box-shadow:none}.btn.dark:hover{background:var(--ink2)}
.btn.danger{color:var(--red)}.btn.danger:hover{box-shadow:inset 0 0 0 1.5px var(--red)}
.btn.sm{min-height:30px;padding:0 10px;font-size:13px}
.btn.icon{width:38px;padding:0}
.btn[disabled]{opacity:.5;cursor:not-allowed}
.lnk{background:none;border:0;padding:0;color:var(--ink);text-decoration:underline;cursor:pointer;font-weight:600}
input[type=text],input[type=email],input[type=tel],input[type=number],input[type=date],input[type=time],input[type=url],input[type=password],input[type=search],select,textarea{
  width:100%;min-height:38px;border:1.5px solid var(--line2);border-radius:8px;background:#fff;padding:6px 10px}
textarea{min-height:70px;resize:vertical}
input:focus,select:focus,textarea:focus{border-color:var(--ink);outline:0}
label.f{display:flex;flex-direction:column;gap:4px;font-size:12px;font-weight:600;color:var(--muted)}
label.f > span{display:flex;justify-content:space-between;gap:6px}
label.chk{display:flex;align-items:center;gap:8px;font-weight:500;cursor:pointer}
label.chk input{width:18px;height:18px;accent-color:var(--ink)}
.grid{display:grid;gap:12px}
.g2{grid-template-columns:repeat(2,minmax(0,1fr))}.g3{grid-template-columns:repeat(3,minmax(0,1fr))}.g4{grid-template-columns:repeat(4,minmax(0,1fr))}
.muted{color:var(--muted)}.small{font-size:12px}.b{font-weight:700}.nowrap{white-space:nowrap}.right{text-align:right}
.row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.sp{flex:1}
.hint{font-size:12px;color:var(--muted)}
.badge{display:inline-flex;align-items:center;gap:4px;padding:2px 8px;border-radius:99px;font-size:11px;font-weight:700;background:var(--bg);white-space:nowrap}
.st-pending{background:#FFF1D6;color:#9A5B00}.st-confirmed{background:var(--goldsoft);color:#6B5000}.st-active{background:var(--greensoft);color:var(--green)}
.st-completed{background:#EEE;color:#666}.st-cancelled,.st-no_show{background:var(--redsoft);color:var(--red)}
.alert{padding:10px 12px;border-radius:8px;background:var(--redsoft);color:var(--red);font-weight:600}
.okmsg{padding:10px 12px;border-radius:8px;background:var(--greensoft);color:var(--green);font-weight:600}
.warn{padding:10px 12px;border-radius:8px;background:#FFF1D6;color:#8A5300;font-weight:600}

/* app shell – sidebar on desktop, bottom tab bar on phones */
.shell{min-height:100vh;background:var(--bg)}
.side{position:fixed;left:0;top:0;bottom:0;width:244px;z-index:30;background:var(--side);color:#fff;display:flex;flex-direction:column;padding:18px 12px 14px}
.brand{font-weight:800;font-size:18px;letter-spacing:-.2px;white-space:nowrap;padding:2px 10px 18px}.brand span{color:var(--gold)}
.brand small{display:block;font-weight:500;font-size:11.5px;opacity:.6;letter-spacing:0;margin-top:2px;overflow:hidden;text-overflow:ellipsis}
.brand.big{font-size:26px;color:var(--ink);text-align:center}
.side .tabs{display:flex;flex-direction:column;gap:2px;flex:1;overflow-y:auto;scrollbar-width:none}
.side .tabs::-webkit-scrollbar{display:none}
.ng{font-size:10.5px;font-weight:700;text-transform:uppercase;letter-spacing:.09em;color:rgba(255,255,255,.42);padding:16px 12px 6px}
.tab{position:relative;display:flex;align-items:center;gap:12px;width:100%;background:none;border:0;color:rgba(255,255,255,.78);padding:0 12px;height:40px;border-radius:9px;font-weight:600;font-size:14px;cursor:pointer;white-space:nowrap;text-align:left;transition:background .15s,color .15s}
.tab .ic{flex:none;opacity:.85}
.tab:hover{background:rgba(255,255,255,.07);color:#fff}
.tab.on{background:rgba(255,192,0,.14);color:#fff}
.tab.on .ic{color:var(--gold);opacity:1}
.tab.on::before{content:"";position:absolute;left:-12px;top:9px;bottom:9px;width:3px;border-radius:0 3px 3px 0;background:var(--gold)}
.cnt{display:inline-grid;place-items:center;min-width:19px;height:19px;border-radius:10px;background:var(--gold);color:var(--ink);font-size:11px;font-weight:800;padding:0 5px;margin-left:auto}
.me{display:flex;align-items:center;gap:10px;padding:12px 6px 0;border-top:1px solid rgba(255,255,255,.1);margin-top:10px}
.me .av{width:34px;height:34px;border-radius:50%;background:var(--gold);color:var(--ink);display:grid;place-items:center;font-weight:800;flex:none}
.me .who{flex:1;min-width:0;display:flex;flex-direction:column;font-size:13px}
.me .who b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.me .who a{color:rgba(255,255,255,.6);font-size:12px;text-decoration:none}.me .who a:hover{color:#fff;text-decoration:underline}
.me select,.mtop select{width:auto;min-height:30px;padding:2px 6px;background:transparent;color:#fff;border:1px solid rgba(255,255,255,.25);border-radius:7px}
.me select option,.mtop select option{color:var(--ink)}
.mtop,.bnav,.msheet{display:none}
.main{margin-left:244px;padding:26px 32px 60px;max-width:calc(1440px + 244px)}
.main.wide{max-width:none}
.ph{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 18px}
.ph h1{font-size:24px;margin:0 8px 0 0;font-weight:700;letter-spacing:-.4px}
.card{background:var(--panel);border-radius:var(--r);box-shadow:var(--sh),0 0 0 1px var(--line);padding:18px 20px}
.card h2{font-size:15px;margin:0 0 12px;font-weight:700}
.card + .card{margin-top:16px}

/* dashboard */
.kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:14px}
.kpi{background:#fff;border-radius:var(--r);box-shadow:0 0 0 1px var(--line);padding:14px 16px}
.kpi b{display:block;font-size:24px;font-weight:800;letter-spacing:-.5px}
.kpi span{font-size:12px;color:var(--muted);font-weight:600}
.dash{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:14px}
.list{display:flex;flex-direction:column}
.li{display:flex;gap:12px;align-items:center;padding:10px 0;border-top:1px solid var(--line);cursor:pointer}
.li:first-child{border-top:0}
.li:hover .lt b{text-decoration:underline}
.li .when{width:62px;flex:none;font-weight:800;font-size:13px;text-align:center;line-height:1.2}
.li .when small{display:block;font-weight:600;color:var(--muted);font-size:11px}
.li .lt{flex:1;min-width:0}.li .lt b{display:block}
.li .lt > span{display:block;font-size:12px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.li .lt b .badge{margin-left:6px;vertical-align:1px}
.dir{width:28px;height:28px;flex:none;border-radius:50%;display:grid;place-items:center;font-weight:800;font-size:12px}
.dir.out{background:var(--goldsoft)}.dir.in{background:var(--greensoft);color:var(--green)}
.empty{padding:22px;text-align:center;color:var(--muted)}

/* calendar */
.calbar{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-bottom:10px}
.calbar .seg{display:inline-flex;background:#fff;border-radius:8px;box-shadow:inset 0 0 0 1.5px var(--line2);overflow:hidden}
.calbar .seg button{border:0;background:none;padding:0 12px;min-height:36px;font-weight:600;cursor:pointer}
.calbar .seg button.on{background:var(--ink);color:#fff}
.calbar input[type=date]{width:auto}
.legend{display:flex;gap:12px;flex-wrap:wrap;font-size:12px;color:var(--muted);margin:8px 0 0}
.legend i{display:inline-block;width:14px;height:10px;border-radius:3px;margin-right:4px;vertical-align:-1px}
.tlw{background:#fff;border-radius:var(--r);box-shadow:0 0 0 1px var(--line);overflow:hidden;position:relative}
.tl{display:grid;grid-template-columns:var(--namew) minmax(0,1fr);max-height:calc(100vh - 210px);overflow:auto;position:relative;overscroll-behavior:contain}
.tl .corner{position:sticky;top:0;left:0;z-index:6;background:#fff;border-bottom:1px solid var(--line);border-right:1px solid var(--line);padding:8px 10px;font-size:12px;color:var(--muted);font-weight:600;display:flex;align-items:flex-end}
.tl .head{position:sticky;top:0;z-index:5;background:#fff;border-bottom:1px solid var(--line);height:52px}
.tl .names{position:sticky;left:0;z-index:4;background:#fff;border-right:1px solid var(--line)}
.tl .name{height:var(--rowh);border-bottom:1px solid var(--line);padding:5px 10px;display:flex;flex-direction:column;justify-content:center;cursor:pointer;overflow:hidden}
.tl .name b{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tl .name span{font-size:11px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tl .name.svc b::after{content:" · servisas";color:var(--red);font-weight:600}
.tl .name:hover{background:var(--bg)}
.tl .catrow{height:24px;background:var(--bg);border-bottom:1px solid var(--line);font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.4px;color:var(--muted);padding:5px 10px}
.tl .body{position:relative}
.tl .mon{position:absolute;top:0;height:20px;font-size:11px;font-weight:800;padding:3px 6px;border-left:1px solid var(--line);white-space:nowrap;text-transform:capitalize}
.tl .day{position:absolute;top:20px;height:32px;text-align:center;font-size:11px;line-height:1.15;color:var(--muted);border-left:1px solid var(--line);padding-top:2px;overflow:hidden}
.tl .day b{display:block;font-size:13px;color:var(--ink)}
.tl .day.we{background:#FAF9F6}
.tl .day.today{background:var(--goldsoft)}.tl .day.today b{color:var(--ink)}
.tl .lane{position:relative;height:var(--rowh);border-bottom:1px solid var(--line)}
.tl .lane.catrow{height:24px;padding:0}
.tl .grid-bg{position:absolute;inset:0;pointer-events:none}
.tl .wkcol{position:absolute;top:0;bottom:0;background:#FAF9F6;pointer-events:none}
.tl .now{position:absolute;top:0;bottom:0;width:2px;background:var(--red);z-index:2;pointer-events:none}
.tl .sel{position:absolute;top:6px;bottom:6px;border-radius:6px;background:rgba(37,99,235,.15);box-shadow:inset 0 0 0 2px var(--blue);pointer-events:none;z-index:2}
.bar{position:absolute;top:5px;height:calc(var(--rowh) - 10px);border-radius:6px;padding:3px 8px;font-size:12px;line-height:1.2;overflow:hidden;white-space:nowrap;cursor:grab;z-index:3;touch-action:none;user-select:none;
  background:var(--gold);color:var(--ink);box-shadow:0 1px 2px rgba(0,0,0,.15);display:flex;flex-direction:column;justify-content:center}
.bar b{font-weight:700;overflow:hidden;text-overflow:ellipsis}
.bar span{font-size:10.5px;opacity:.85;overflow:hidden;text-overflow:ellipsis}
.bar.pending{background:repeating-linear-gradient(135deg,#FFE29A 0 8px,#FFD466 8px 16px)}
.bar.active{background:#9BDDB9}
.bar.completed{background:#DAD6D1;color:#555}
.bar.cancelled{background:#F5D0C2;color:#8A2E0A;opacity:.7}
.bar.src-manual,.bar.src-phone,.bar.src-email{box-shadow:inset 3px 0 0 var(--ink),0 1px 2px rgba(0,0,0,.15)}
.bar.unpaid::after{content:"€";position:absolute;right:6px;top:4px;font-weight:800;font-size:11px;color:var(--red)}
.bar.block{background:repeating-linear-gradient(135deg,#5B5656 0 6px,#433F3F 6px 12px);color:#fff;cursor:pointer}
.bar.dragging{cursor:grabbing;opacity:.92;z-index:20;box-shadow:0 6px 18px rgba(0,0,0,.25)}
.bar.bad{outline:3px solid var(--red)}
.bar.thin > span:not(.h){display:none}
.bar.thin b{font-size:11px}
.bar .h{position:absolute;top:0;bottom:0;width:10px;cursor:ew-resize}
.bar .h.l{left:0}.bar .h.r{right:0}
.bar.hl{outline:3px solid var(--blue);outline-offset:1px}
.tip{position:fixed;z-index:60;background:var(--ink);color:#fff;font-size:12px;padding:6px 9px;border-radius:6px;pointer-events:none;white-space:nowrap}
.freecount{font-size:10px;color:var(--muted)}

/* popover menu */
.menu{position:fixed;z-index:70;background:#fff;border-radius:10px;box-shadow:0 10px 30px rgba(0,0,0,.18),0 0 0 1px var(--line);padding:6px;min-width:220px}
.menu .mh{padding:6px 10px;font-size:12px;color:var(--muted);font-weight:600}
.menu button{display:flex;width:100%;text-align:left;gap:8px;align-items:center;background:none;border:0;padding:9px 10px;border-radius:7px;font-weight:600;cursor:pointer}
.menu button:hover{background:var(--bg)}

/* modal / drawer */
.ov{position:fixed;inset:0;background:rgba(30,28,28,.45);z-index:80;display:flex;justify-content:flex-end;animation:fade .15s}
.ov.center{justify-content:center;align-items:center;padding:16px}
@keyframes fade{from{opacity:0}}
.dr{background:var(--bg);width:min(760px,100%);height:100%;display:flex;flex-direction:column;animation:slide .18s ease-out}
@keyframes slide{from{transform:translateX(30px);opacity:.4}}
.dlg{background:#fff;border-radius:14px;width:min(520px,100%);max-height:calc(100vh - 32px);display:flex;flex-direction:column;overflow:hidden}
.dh{display:flex;align-items:center;gap:10px;padding:14px 18px;background:#fff;border-bottom:1px solid var(--line)}
.dh h3{margin:0;font-size:17px;font-weight:800;flex:1;min-width:0}
.dh h3 small{display:block;font-size:12px;color:var(--muted);font-weight:600}
.db{flex:1;overflow:auto;padding:16px 18px}
.dlg .db{padding:16px 18px}
.df{display:flex;gap:8px;align-items:center;flex-wrap:wrap;padding:12px 18px;background:#fff;border-top:1px solid var(--line)}
.sec{background:#fff;border-radius:var(--r);box-shadow:0 0 0 1px var(--line);padding:14px;margin-bottom:12px}
.sec h4{margin:0 0 10px;font-size:13px;font-weight:800;text-transform:uppercase;letter-spacing:.4px;color:var(--muted);display:flex;align-items:center;gap:8px}
.chips{display:flex;gap:6px;flex-wrap:wrap}
.chip{border:0;border-radius:99px;padding:6px 12px;font-weight:700;font-size:12px;cursor:pointer;background:var(--bg);box-shadow:inset 0 0 0 1.5px var(--line2)}
.chip.on{background:var(--ink);color:#fff;box-shadow:none}
.qline{display:flex;justify-content:space-between;gap:10px;padding:4px 0;font-size:13px}
.qline.tot{border-top:2px solid var(--gold);margin-top:6px;padding-top:8px;font-weight:800;font-size:15px}
.xrow{display:flex;align-items:center;gap:10px;padding:7px 0;border-top:1px solid var(--line)}
.xrow:first-child{border-top:0}
.xrow .xn{flex:1}.xrow .xn small{display:block;color:var(--muted)}
.step{display:inline-flex;align-items:center;border-radius:8px;box-shadow:inset 0 0 0 1.5px var(--line2);overflow:hidden}
.step button{width:32px;height:32px;border:0;background:#fff;font-size:16px;font-weight:700;cursor:pointer}
.step span{min-width:24px;text-align:center;font-weight:700}
.loglist{font-size:12px}
.loglist div{padding:6px 0;border-top:1px solid var(--line)}
.loglist div:first-child{border-top:0}
.conf{margin-top:8px}

/* cars */
.cars{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:14px}
.carc{background:#fff;border-radius:var(--r);box-shadow:0 0 0 1px var(--line);overflow:hidden;display:flex;flex-direction:column}
.carc .img{aspect-ratio:16/10;background:var(--bg) center/cover no-repeat;display:grid;place-items:center;color:var(--muted);font-size:12px;position:relative}
.carc .img .badge{position:absolute;left:8px;top:8px}
.carc .cb{padding:12px 14px;flex:1;display:flex;flex-direction:column;gap:4px}
.carc .cb b{font-size:15px}
.carc .cf{display:flex;gap:6px;padding:0 14px 14px;flex-wrap:wrap}
.specs{display:flex;gap:10px;flex-wrap:wrap;font-size:12px;color:var(--muted)}
.photos{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:8px}
.photo{position:relative;aspect-ratio:4/3;border-radius:8px;background:var(--bg) center/cover no-repeat;box-shadow:0 0 0 1px var(--line)}
.photo .pa{position:absolute;inset:auto 4px 4px 4px;display:flex;gap:4px;justify-content:space-between}
.photo .pa button{border:0;border-radius:6px;background:rgba(255,255,255,.92);font-size:12px;font-weight:700;padding:3px 6px;cursor:pointer}
.photo.main{box-shadow:0 0 0 3px var(--gold)}
.photo.main::before{content:"Pagrindinė";position:absolute;top:4px;left:4px;background:var(--gold);font-size:10px;font-weight:800;padding:1px 6px;border-radius:4px}
.drop{border:2px dashed var(--line2);border-radius:10px;padding:18px;text-align:center;color:var(--muted);cursor:pointer;display:grid;place-items:center;aspect-ratio:4/3}
.drop.over{border-color:var(--ink);background:var(--goldsoft)}

/* tables */
.tw{overflow:auto;background:#fff;border-radius:var(--r);box-shadow:0 0 0 1px var(--line)}
table.t{width:100%;border-collapse:collapse;font-size:13px}
table.t th{position:sticky;top:0;background:#fff;text-align:left;font-size:11px;text-transform:uppercase;letter-spacing:.4px;color:var(--muted);padding:9px 10px;border-bottom:1px solid var(--line2);white-space:nowrap;z-index:1}
table.t td{padding:9px 10px;border-bottom:1px solid var(--line);white-space:nowrap}
table.t tr.click{cursor:pointer}table.t tr.click:hover td{background:#FBFAF8}
table.t td.wrap{white-space:normal}
.filters{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}
.filters input,.filters select{width:auto;min-width:150px}

/* prices */
.pt th,.pt td{text-align:center}
.pt th:first-child,.pt td:first-child{text-align:left;position:sticky;left:0;background:#fff;z-index:2}
.pt th:first-child{z-index:3}
.pt td{padding:4px}
.pt input{width:68px;min-height:32px;text-align:center;padding:2px 4px;border-radius:6px}
.pt input.dirty{background:var(--goldsoft);border-color:var(--gold2)}
.pt input.min{width:50px;min-height:26px;font-size:11px;margin-top:3px}
.pt input::placeholder{color:#C5C0BA}
.pt th.season{background:#FFF8E1}
.pt .sel-col{width:30px}
.bulk{display:flex;gap:8px;flex-wrap:wrap;align-items:flex-end}
.bulk label.f{min-width:120px}

/* toast */
.toasts{position:fixed;left:50%;bottom:20px;transform:translateX(-50%);z-index:100;display:flex;flex-direction:column;gap:8px;align-items:center}
.toast{background:var(--ink);color:#fff;padding:10px 16px;border-radius:9px;font-weight:600;box-shadow:0 8px 20px rgba(0,0,0,.2);animation:fade .2s;max-width:90vw}
.toast.err{background:var(--red)}

/* login */
.login{min-height:100vh;display:grid;place-items:center;padding:16px;background:linear-gradient(180deg,var(--ink) 0 38%,var(--bg) 38%)}
.login-card{background:#fff;border-radius:16px;box-shadow:0 20px 50px rgba(0,0,0,.15);padding:30px 26px;width:min(420px,100%)}
.login-sub{text-align:center;color:var(--muted);margin:6px 0 20px}
.login-form{display:flex;flex-direction:column;gap:14px}
.login-form label{display:flex;flex-direction:column;gap:5px;font-weight:600;font-size:13px}
.login-form label.row{flex-direction:row;align-items:center;font-weight:500}
.login-form input[type=text],.login-form input[type=password]{min-height:46px;border:1.5px solid var(--line2);border-radius:9px;padding:8px 12px;font-size:16px}
.login-form .btn{min-height:48px;font-size:16px}
.login-foot{text-align:center;font-size:13px;margin:16px 0 0}

@media (max-width:900px){
  .kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
  .dash{grid-template-columns:1fr}
  .g3,.g4{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:640px){
  :root{--namew:118px;--rowh:44px}
  .top .in{gap:10px;padding:0 10px;height:auto;flex-wrap:wrap}
  .brand{padding-top:10px}
  .me{margin-left:auto;padding-top:10px}
  .me > span{display:none}
  .brand small{max-width:150px;overflow:hidden;text-overflow:ellipsis}
  .tabs{order:3;flex-basis:100%}
  .tab{height:44px;padding:0 10px}
  .main{padding:14px 10px 70px}
  .g2,.g3,.g4{grid-template-columns:minmax(0,1fr)}
  .g2.keep{grid-template-columns:repeat(2,minmax(0,1fr))}
  .dr{width:100%}
  .db{padding:12px}
  .tl{max-height:calc(100vh - 230px)}
  .tl .name{padding:4px 7px}
  .tl .name b{font-size:12px}
  .filters input,.filters select{min-width:0;flex:1 1 140px}
  .ph h1{font-size:19px}
}
.f .hint{font-weight:500}
.dash > div{min-width:0}
.tl .catrow{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media (max-width:640px){
  .li{flex-wrap:wrap}
  .li .lt{flex-basis:calc(100% - 120px)}
  .ph .btn{flex:1 1 auto}
}

/* ---- Google Sheet look for the timeline ---- */
.tl .head{height:66px}
.tl .half{position:absolute;top:52px;height:14px;font-size:9px;line-height:14px;text-align:center;color:var(--muted);border-left:1px solid var(--line);background:#fff}
.tl .half.we{background:#F2F5FB}.tl .day.we{background:#D9E1F2;color:var(--ink)}
.tl .half.today,.tl .day.today{background:#FFD966}
.tl .wkcol{background:#F2F5FB}
.tl .name.blk b{text-decoration:line-through;color:#7F7F7F}
.tst{font-style:normal;font-weight:700}
.tst.rented{color:#C0392B}.tst.free{color:#2E7D32}.tst.blocked{color:#fff;background:#7F7F7F;padding:0 4px;border-radius:3px}
.bar.sheet{flex-direction:row;align-items:stretch;justify-content:flex-start;padding:0;background:#E0503C;color:#fff;border-radius:4px;box-shadow:none}
.bar.sheet .cap{flex:none;display:flex;align-items:center;padding:0 6px;font-size:11px;font-weight:700;color:#fff;white-space:nowrap;font-variant-numeric:tabular-nums}
.bar.sheet .mid{flex:1;min-width:0;display:flex;align-items:center;justify-content:center;padding:0 4px;font-size:12px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bar.sheet.pending .mid{background:repeating-linear-gradient(135deg,rgba(255,255,255,.0) 0 7px,rgba(255,255,255,.28) 7px 14px)}
.bar.sheet.completed{background:#C9B4B0}.bar.sheet.completed .cap{opacity:.75}
.bar.sheet.cancelled{background:#F3D3CD;color:#8A2E0A}.bar.sheet.cancelled .cap{opacity:.45}
.bar.sheet.src-manual,.bar.sheet.src-phone,.bar.sheet.src-email{box-shadow:none}
.bar.sheet.unpaid::after{right:auto;left:50%;top:1px;color:#FFE08A;font-size:10px}
.bar.block{background:#7F7F7F;color:#fff;border-radius:4px;flex-direction:row;padding:0}
.bar.block .mid{flex:1;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:700;white-space:nowrap;overflow:hidden}
.bar.thin .mid{font-size:10.5px}
.bar.thin .cap{font-size:10px}
.bar.bad{outline:3px solid #111;outline-offset:1px}

/* bookings: one calm colour per status (times stay visible like in the Sheet) */
.bar.sheet{background:#FFC000;color:var(--ink)}
.bar.sheet .cap{color:var(--ink);background:rgba(255,255,255,.35);font-weight:700}
.bar.sheet.pending{background:repeating-linear-gradient(135deg,#FFE29A 0 8px,#FFD466 8px 16px)}
.bar.sheet.pending .mid{background:none}
.bar.sheet.active{background:#9BDDB9}
.bar.sheet.completed{background:#DAD6D1;color:#555}.bar.sheet.completed .cap{color:#555;opacity:1}
.bar.sheet.cancelled{background:#F3D3CD;color:#8A2E0A}
.bar.sheet.src-manual,.bar.sheet.src-phone,.bar.sheet.src-email{box-shadow:inset 3px 0 0 var(--ink)}
.bar.sheet.unpaid::after{color:#C2410C;left:auto;right:4px;top:2px}

/* generic segmented control */
.seg{display:inline-flex;background:#fff;border-radius:8px;box-shadow:inset 0 0 0 1.5px var(--line2);overflow:hidden;flex-wrap:wrap}
.seg button{border:0;background:none;padding:0 12px;min-height:36px;font-weight:600;cursor:pointer}
.seg button.on{background:var(--ink);color:#fff}

/* day plan */
.hov{display:flex;gap:12px;padding:12px 0;border-top:1px solid var(--line);cursor:pointer}
.hov:first-of-type{border-top:0}
.hov:hover .hv-m > b{text-decoration:underline}
.hv-t{width:64px;flex:none;font-size:20px;font-weight:800;line-height:1.1}
.hv-t small{display:block;font-size:11px;font-weight:700;color:var(--muted);margin-top:3px}
.hov.out .hv-t{color:#8A6400}.hov.in .hv-t{color:var(--green)}
.hv-m{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px;font-size:13px}
.hv-m > b{font-size:15px}
.hv-m a{color:var(--ink);font-weight:600}
.hv-n{background:var(--goldsoft);border-radius:6px;padding:4px 8px}
.hv-r{flex:none;display:flex;flex-direction:column;align-items:flex-end;gap:2px}
.hv-r b{font-size:16px;color:var(--red)}
.hov.hst-cancelled{opacity:.5}
.hv-m .badge{align-self:flex-start}
.tline{display:flex;flex-direction:column;gap:6px;font-size:13px}
.tline div{padding:6px 10px;border-radius:8px;background:var(--bg);border-left:4px solid var(--gold)}
.tline div.in{border-left-color:var(--green)}

/* statistics */
.mbars{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:8px;align-items:end;height:200px;padding-top:6px}
.mb{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;height:100%;gap:4px;min-width:0}
.mb i{display:block;width:100%;max-width:46px;background:var(--gold);border-radius:6px 6px 2px 2px;min-height:2px}
.mb small{font-size:11px;color:var(--muted);font-weight:700;text-transform:capitalize}
.mb .mv{font-size:10.5px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
table.rep td,table.rep th{padding:8px 8px}
table.rep tr.tot td{border-top:2px solid var(--ink);background:#FBFAF8}
table.rep td:first-child{position:sticky;left:0;background:#fff;z-index:1;white-space:nowrap}
.rank{display:flex;align-items:center;gap:10px;padding:8px 0;border-top:1px solid var(--line)}
.rank:first-of-type{border-top:0}
.rank .n{width:24px;height:24px;border-radius:50%;background:var(--bg);display:grid;place-items:center;font-size:12px;font-weight:800}
@media (max-width:640px){.mbars{gap:3px;height:160px}.mb .mv{display:none}.hv-t{width:52px;font-size:17px}}

@media print{
  .top,.ph .seg,.ph input,.ph .btn,.legend{display:none!important}
  body.jkp{background:#fff}
  .main{padding:0}
  .card{box-shadow:none;border:1px solid #ccc;break-inside:avoid}
  .grid.g2{grid-template-columns:1fr 1fr}
}

/* excursions & transfers */
.dep-m{font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.5px;color:var(--muted);padding:14px 0 4px;text-transform:capitalize}
.dep,.trow{display:grid;grid-template-columns:52px minmax(0,1fr) 170px 90px 110px;gap:12px;align-items:center;padding:10px 0;border-top:1px solid var(--line);cursor:pointer}
.trow{grid-template-columns:52px minmax(0,1fr) 100px 150px}
.dep:hover,.trow:hover{background:#FBFAF8}
.dep.closed{opacity:.55}
.dep-d{text-align:center;line-height:1.1}.dep-d b{display:block;font-size:20px}.dep-d small{font-size:11px;color:var(--muted);font-weight:700;text-transform:capitalize}
.dep-n{display:flex;flex-direction:column;gap:2px;min-width:0}
.dep-c{display:flex;align-items:center;gap:8px;font-size:13px}
.capbar{flex:1;height:8px;border-radius:4px;background:var(--bg);overflow:hidden;box-shadow:inset 0 0 0 1px var(--line)}
.capbar i{display:block;height:100%;background:var(--green);border-radius:4px}
.dep-r{text-align:right;font-weight:700}
.manifest tr.ci td{background:#F1FAF5}
.dchips{display:flex;gap:6px;flex-wrap:wrap;margin:6px 0}
.dchip{display:inline-flex;align-items:center;gap:4px;background:var(--bg);border-radius:99px;padding:3px 4px 3px 10px;font-size:12px;font-weight:600}
.dchip button{border:0;background:#fff;border-radius:50%;width:20px;height:20px;cursor:pointer;font-size:10px}
.trp{display:grid;grid-template-columns:260px minmax(0,1fr);gap:14px;align-items:start}
.trp-l .rt{display:flex;justify-content:space-between;gap:8px;width:100%;border:0;background:none;text-align:left;padding:8px 10px;border-radius:8px;cursor:pointer;font-weight:600}
.trp-l .rt:hover{background:var(--bg)}.trp-l .rt.on{background:var(--goldsoft)}
@media (max-width:760px){
  .dep{grid-template-columns:44px minmax(0,1fr) 90px;row-gap:4px}
  .dep .dep-r,.dep > .badge{grid-column:2}
  .trow{grid-template-columns:44px minmax(0,1fr);row-gap:4px}
  .trow > div:nth-child(n+3){grid-column:2}
  .trp{grid-template-columns:1fr}
  .kpis[style*="repeat(5"]{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}

/* ================= theme: clean brand-light admin (Shopify / Stripe-like) ================= */
.btn{min-height:38px;border-radius:9px;box-shadow:0 1px 2px rgba(16,24,40,.05),inset 0 0 0 1px var(--line2);font-weight:600;transition:background .15s,box-shadow .15s}
.btn:hover{box-shadow:0 1px 2px rgba(16,24,40,.05),inset 0 0 0 1px #A8AEB8;background:#FAFAFB}
.btn.gold{background:var(--gold);color:#1F1B1B;font-weight:700;box-shadow:0 1px 2px rgba(16,24,40,.08)}.btn.gold:hover{background:var(--gold2)}
.btn.dark{background:var(--ink2);box-shadow:none}.btn.dark:hover{background:var(--ink)}
.btn.danger:hover{box-shadow:inset 0 0 0 1px var(--red);background:var(--redsoft)}
.btn.sm{min-height:32px;border-radius:8px}
input[type=text],input[type=email],input[type=tel],input[type=number],input[type=date],input[type=time],input[type=url],input[type=password],input[type=search],select,textarea{min-height:40px;border:1px solid var(--line2);border-radius:9px;padding:7px 11px;box-shadow:0 1px 2px rgba(16,24,40,.04);transition:border-color .15s,box-shadow .15s}
input:focus,select:focus,textarea:focus{border-color:#B08600;box-shadow:0 0 0 3px rgba(255,192,0,.28)}
label.f{font-size:12.5px;color:#4B5563;gap:6px}
.kpis{gap:16px;margin-bottom:18px}
.kpi{border-radius:var(--r);box-shadow:var(--sh),0 0 0 1px var(--line);padding:16px 18px}
.kpi b{font-size:26px;font-weight:700;letter-spacing:-.6px}
.kpi span{font-size:12.5px;font-weight:500}
.dash{gap:16px}
.li{padding:12px 0}
.badge{font-weight:600;padding:3px 9px}
.tw{border-radius:var(--r);box-shadow:var(--sh),0 0 0 1px var(--line)}
table.t th{background:#F9FAFB;font-weight:600;letter-spacing:.04em;color:#6B7280;border-bottom:1px solid var(--line)}
table.t td{border-bottom:1px solid #EEF0F3}
table.t tr.click:hover td{background:#FAFAF7}
.seg,.calbar .seg{display:inline-flex;background:#E9EBEF;box-shadow:none;border-radius:10px;padding:3px;gap:2px;overflow:visible}
.seg button,.calbar .seg button{border-radius:8px;min-height:32px;padding:0 12px;color:#4B5563;font-weight:600}
.seg button.on,.calbar .seg button.on{background:#fff;color:var(--ink);box-shadow:0 1px 3px rgba(16,24,40,.14)}
.chip{background:#fff;box-shadow:inset 0 0 0 1px var(--line2);font-weight:600}
.chip.on{background:var(--ink2);color:#fff}
.tlw{border-radius:var(--r);box-shadow:var(--sh),0 0 0 1px var(--line)}
.sec{border-radius:var(--r);box-shadow:var(--sh),0 0 0 1px var(--line);padding:16px}
.sec h4{font-size:12px;letter-spacing:.06em;font-weight:700}
.dr{background:var(--bg)}
.dh{padding:16px 20px}.dh h3{font-weight:700}
.df{padding:12px 20px}
.dlg{border-radius:16px;box-shadow:var(--sh2)}
.menu{border-radius:12px;box-shadow:var(--sh2),0 0 0 1px var(--line)}
.toast{border-radius:10px}
.empty{padding:28px}
.capbar{height:7px;background:#EEF0F3;box-shadow:none}
.dep:hover,.trow:hover{background:#FAFAF7}
.login{background:linear-gradient(180deg,var(--side) 0 40%,var(--bg) 40%)}
.login-card{border-radius:18px}

/* tablet & phone */
@media (max-width:900px){
  .side{display:none}
  .mtop{display:flex;align-items:center;gap:10px;position:sticky;top:0;z-index:30;height:56px;padding:0 14px;background:var(--side);color:#fff}
  .mtop .brand{padding:0;font-size:17px}
  .mtop .mlo{color:rgba(255,255,255,.75);display:grid;place-items:center;width:36px;height:36px}
  .main{margin-left:0;padding:16px 14px calc(96px + env(safe-area-inset-bottom,0px))}
  .ph{margin-bottom:14px}.ph h1{font-size:20px}
  .bnav{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:40;background:rgba(255,255,255,.97);backdrop-filter:blur(8px);border-top:1px solid var(--line);padding:6px 6px calc(6px + env(safe-area-inset-bottom,0px))}
  .btab{position:relative;flex:1;display:flex;flex-direction:column;align-items:center;gap:3px;background:none;border:0;padding:5px 2px;font-size:11px;font-weight:600;color:#6B7280;cursor:pointer;min-width:0}
  .btab span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
  .btab .ic{width:22px;height:22px;padding:0;border-radius:10px}
  .btab.on{color:var(--ink)}
  .btab.on .ic{background:var(--goldsoft);color:#8A6400;box-shadow:0 0 0 5px var(--goldsoft)}
  .btab .cnt{position:absolute;top:0;left:calc(50% + 6px);margin:0;min-width:17px;height:17px;font-size:10px}
  .msheet{display:block;position:fixed;inset:0;z-index:90}
  .msheet[hidden]{display:none}
  .msb{position:absolute;inset:0;background:rgba(17,17,17,.4);opacity:0;transition:opacity .2s}
  .msp{position:absolute;left:0;right:0;bottom:0;background:#fff;border-radius:18px 18px 0 0;padding:10px 14px calc(18px + env(safe-area-inset-bottom,0px));display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;transform:translateY(100%);transition:transform .22s ease-out}
  .msp .grab{grid-column:1/-1;width:40px;height:5px;border-radius:3px;background:var(--line2);margin:0 auto 8px}
  .msheet.open .msb{opacity:1}.msheet.open .msp{transform:none}
  .mi{display:flex;flex-direction:column;align-items:center;gap:6px;border:0;background:var(--bg);border-radius:14px;padding:14px 6px;font-weight:600;font-size:12.5px;cursor:pointer;color:var(--ink)}
  .mi .ic{width:24px;height:24px}
  .mi.on{background:var(--goldsoft);box-shadow:inset 0 0 0 1.5px var(--gold)}
  .toasts{bottom:calc(84px + env(safe-area-inset-bottom,0px))}
  .ov.center{align-items:flex-end;padding:0}
  .ov.center .dlg{width:100%;border-radius:18px 18px 0 0;max-height:92vh}
  .kpis{gap:10px}
  .kpi{padding:12px 14px}.kpi b{font-size:21px}
  .card{padding:14px 16px}
}
@media print{.side,.mtop,.bnav,.msheet{display:none!important}.main{margin:0!important;padding:0!important}}
.grid > .card + .card,.dash > .card + .card{margin-top:0}

/* ================= palette v2: light sidebar, Adriatic blue accent (no graphite/yellow chrome) ================= */
:root{--ink:#101828;--ink2:#344054;--muted:#667085;--line:#E4E7EC;--line2:#D0D5DD;--bg:#F5F7FA;
  --pri:#1D6FE0;--pri2:#155BC0;--prisoft:#EAF2FD;--side:#FFFFFF;
  --violet:#7A5AF8;--violetsoft:#F1EEFE;--orange:#E8590C;--orangesoft:#FFF1E7}
:focus-visible{outline:3px solid rgba(29,111,224,.45)}
.side{background:#fff;color:var(--ink2);border-right:1px solid var(--line)}
.brand{color:var(--ink)}.brand span{color:var(--pri)}
.brand small{opacity:1;color:var(--muted)}
.ng{color:#98A2B3}
.tab{color:var(--ink2)}
.tab .ic{color:#667085;opacity:1}
.tab:hover{background:#F2F4F7;color:var(--ink)}
.tab.on{background:var(--prisoft);color:var(--pri2)}
.tab.on .ic{color:var(--pri)}
.tab.on::before{background:var(--pri)}
.cnt{background:var(--orange);color:#fff}
.me{border-top:1px solid var(--line)}
.me .av{background:var(--prisoft);color:var(--pri2)}
.me .who a{color:var(--muted)}.me .who a:hover{color:var(--ink)}
.me select,.mtop select{color:var(--ink2);border-color:var(--line2);background:#fff}
.btn.gold{background:var(--pri);color:#fff;box-shadow:0 1px 2px rgba(16,24,40,.1)}.btn.gold:hover{background:var(--pri2)}
.btn.dark{background:var(--ink2)}.btn.dark:hover{background:var(--ink)}
.lnk{color:var(--pri2);text-decoration:none}.lnk:hover{text-decoration:underline}
input:focus,select:focus,textarea:focus{border-color:var(--pri);box-shadow:0 0 0 3px rgba(29,111,224,.18)}
label.chk input{accent-color:var(--pri)}
.chip.on{background:var(--pri);color:#fff}
.seg button.on,.calbar .seg button.on{color:var(--pri2)}
.st-confirmed{background:var(--prisoft);color:var(--pri2)}
.dir{width:32px;height:32px}
.dir .ic{width:17px;height:17px}
.dir.out{background:var(--prisoft);color:var(--pri2)}
.dir.tour{background:var(--greensoft);color:var(--green)}
.dir.tr{background:var(--violetsoft);color:var(--violet)}
.kpi .kh{display:flex;align-items:center;gap:8px;font-size:12.5px;font-weight:600;color:var(--ink2);margin-bottom:8px}
.kpi .kh .ic{width:30px;height:30px;padding:6px;border-radius:9px;background:var(--prisoft);color:var(--pri)}
.kpi.k-tour .kh .ic{background:var(--greensoft);color:var(--green)}
.kpi.k-tr .kh .ic{background:var(--violetsoft);color:var(--violet)}
.kpi.k-wait .kh .ic{background:var(--orangesoft);color:var(--orange)}
.kpi.k-wait.hot{box-shadow:var(--sh),0 0 0 1px #FBCFA9}
.kpi.k-wait.hot b{color:var(--orange)}
.card h2 .muted{font-weight:500;margin-left:6px}
.hv-n{background:var(--prisoft)}
.tline div{border-left-color:var(--pri)}
.mb i{background:var(--pri)}
.trp-l .rt.on{background:var(--prisoft)}
.qline.tot{border-top-color:var(--pri)}
.photo.main{box-shadow:0 0 0 3px var(--pri)}.photo.main::before{background:var(--pri);color:#fff}
.drop.over{background:var(--prisoft);border-color:var(--pri)}
.pt input.dirty{background:#FFF8E1;border-color:#F2B600}
.login{background:linear-gradient(180deg,var(--prisoft) 0 40%,var(--bg) 40%)}
.capbar i{background:var(--green)}
@media (max-width:900px){
  .mtop{background:#fff;color:var(--ink);border-bottom:1px solid var(--line)}
  .mtop .mlo{color:var(--muted)}
  .btab.on{color:var(--pri2)}
  .btab.on .ic{background:var(--prisoft);color:var(--pri);box-shadow:0 0 0 5px var(--prisoft)}
  .mi.on{background:var(--prisoft);box-shadow:inset 0 0 0 1.5px var(--pri)}
}

/* overview: one block per service, colour-coded but calm */
.svt{flex:none;font-size:10.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;padding:3px 8px;border-radius:6px;min-width:86px;text-align:center}
.svt.car{background:var(--prisoft);color:var(--pri2)}.svt.tour{background:var(--greensoft);color:var(--green)}.svt.tr{background:var(--violetsoft);color:var(--violet)}
.dot{display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:7px;vertical-align:1px}
.dot.car{background:var(--pri)}.dot.tour{background:var(--green)}.dot.tr{background:var(--violet)}
.dashf{margin-bottom:16px}
.waitc{margin-bottom:16px;box-shadow:var(--sh),0 0 0 1px #FBD5B5}
.waitc h2{display:flex;align-items:center;gap:8px}.waitc h2 .ic{color:var(--orange)}.waitc h2 .cnt{margin-left:0;background:var(--orange)}
.svcs{display:grid;gap:16px;align-items:start}
.svcs.three{grid-template-columns:repeat(3,minmax(0,1fr))}
.svcs.one{grid-template-columns:minmax(0,1fr)}
.svc{background:#fff;border-radius:var(--r);box-shadow:var(--sh),0 0 0 1px var(--line);padding:0 18px 14px;border-top:4px solid var(--pri);min-width:0}
.svc.tour{border-top-color:var(--green)}.svc.tr{border-top-color:var(--violet)}
.svc header{display:flex;align-items:center;gap:12px;padding:16px 0 12px;border-bottom:1px solid var(--line)}
.svc header > .ic{width:38px;height:38px;padding:8px;border-radius:10px;flex:none;background:var(--prisoft);color:var(--pri)}
.svc.tour header > .ic{background:var(--greensoft);color:var(--green)}.svc.tr header > .ic{background:var(--violetsoft);color:var(--violet)}
.svc header > div{flex:1;min-width:0}
.svc header h2{margin:0;font-size:16px;font-weight:700}
.svc header span{font-size:12.5px;color:var(--ink2)}
.svc header i{font-style:normal}
.svc h3{font-size:11.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin:14px 0 2px}
.svc .li .when{width:56px}
.svcs.three .li .btn.sm{display:none}
.svcs.three .li .badge{display:none}
@media (max-width:1200px){.svcs.three{grid-template-columns:1fr 1fr}.svcs.three .svc.car{grid-column:1/-1}}
@media (max-width:900px){
  .svcs.three{grid-template-columns:1fr}
  .dashf{display:flex;width:100%;overflow-x:auto}.dashf button{flex:1 0 auto}
  .svt{min-width:0}
  .waitc .li{flex-wrap:wrap}.waitc .li .lt{flex-basis:calc(100% - 110px)}
}

/* whose booking: juodkalnijoje.lt (commission) vs partner's own */
.badge.own-s{background:var(--prisoft);color:var(--pri2)}
.badge.own-p{background:#F2F4F7;color:#344054;box-shadow:inset 0 0 0 1px #D0D5DD}
.pchip{display:inline-grid;place-items:center;width:16px;height:16px;border-radius:4px;background:#344054;color:#fff;font-size:10px;font-weight:800;font-style:normal;margin-right:5px;vertical-align:1px;flex:none}
.legend .pchip{padding:0 4px}
.bar.sheet.own-p .mid{justify-content:center}
.own-row{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.own-opt{display:flex;flex-direction:column;align-items:flex-start;gap:2px;text-align:left;border:0;border-radius:10px;padding:10px 12px;background:#fff;box-shadow:inset 0 0 0 1px var(--line2);cursor:pointer}
.own-opt span{font-size:12px;color:var(--muted)}
.own-opt.on{box-shadow:inset 0 0 0 2px var(--pri);background:var(--prisoft)}
.own-opt.p.on{box-shadow:inset 0 0 0 2px #344054;background:#F2F4F7}
.own-info{display:flex;flex-direction:column;gap:2px;padding:10px 12px;border-radius:10px;background:var(--prisoft)}
.own-info.p{background:#F2F4F7}
.own-info span{font-size:12.5px;color:var(--muted)}
.kpi .split{height:6px;border-radius:3px;background:#98A2B3;overflow:hidden;margin:8px 0 6px}
.kpi .split i{display:block;height:100%;background:var(--pri)}
.kleg{display:flex;flex-wrap:wrap;align-items:center;gap:4px 6px;font-size:12px;color:var(--ink2)}.kleg i{display:inline-block;width:8px;height:8px;border-radius:50%}.kleg .cs{background:var(--pri)}.kleg .cp{background:#98A2B3;margin-left:8px}
@media (max-width:640px){.own-row{grid-template-columns:1fr}}

/* partner's own bookings: their own colour in the calendar (blue), status still readable */
.bar.sheet.own-p{background:#A9C8F5;color:#0B2A57}
.bar.sheet.own-p .cap{color:#0B2A57;background:rgba(255,255,255,.4)}
.bar.sheet.own-p.active{background:#7FAEF0}
.bar.sheet.own-p.pending{background:repeating-linear-gradient(135deg,#CFE0FA 0 8px,#B5CFF6 8px 16px)}
.bar.sheet.own-p.completed{background:#D3DCE8;color:#4A5565}.bar.sheet.own-p.completed .cap{color:#4A5565}
.bar.sheet.own-p.cancelled{background:#E4E9F1;color:#6B7280}
.bar.sheet.own-p .pchip{background:#1D4ED8}
.badge.site-b{background:var(--prisoft);color:var(--pri2)}
.badge.site-b.s-lv{background:#FDECEE;color:#9E1B32}
.badge.site-b.s-pl{background:#FFF1E7;color:#B54708}

/* ---------- partners (car owners) & price approvals ---------- */
.badge.prov-b{background:color-mix(in srgb,var(--pc) 12%,#fff);color:color-mix(in srgb,var(--pc) 80%,#000);font-weight:700;gap:5px;vertical-align:middle}
.badge.prov-b i{width:7px;height:7px;border-radius:50%;background:var(--pc);flex:none}
.carc .img .pcorner{position:absolute;right:8px;top:8px}.carc .img .pcorner .badge{position:static;box-shadow:0 1px 3px rgba(0,0,0,.12)}
.tl .name.hasp{box-shadow:inset 4px 0 0 var(--pc);padding-left:12px}
.tl .name .pn{font-style:normal;font-size:10.5px;font-weight:700;color:var(--pc);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.2}
.seg.provf{margin:0 0 14px;flex-wrap:wrap}.seg.provf .dot{display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:6px;vertical-align:middle}
.alert.info{background:var(--orangesoft);color:#9A3B06;font-weight:600;margin:0 0 12px}
.pendchip{display:inline-flex;align-items:center;gap:6px;margin-top:8px;border:1px dashed var(--orange);background:var(--orangesoft);color:#9A3B06;border-radius:8px;padding:5px 9px;font:inherit;font-size:12px;font-weight:700;cursor:pointer}
.t.pt td.pendc{background:var(--orangesoft)}
.t.pt td.pendc input{border-color:var(--orange)}
i.pv{display:block;font-style:normal;font-size:10.5px;font-weight:700;color:var(--orange);margin-top:2px;white-space:nowrap}
.svt.price{background:var(--orangesoft);color:var(--orange)}
.chl{white-space:normal!important}
.chl b,.chl-list b{color:var(--ink,#111)}
.chl-list{display:flex;flex-direction:column;gap:6px;font-size:14px}.chl-list>div{padding:8px 10px;border-radius:8px;background:var(--bg)}
.waitc.mine{border-color:var(--orange)}

.chl b,.chl-list b{display:inline!important;font-size:inherit}
.tl .name span .pn{display:inline;font-size:inherit}

/* ---------- mobile v3: simpler phone layout (one "+" button, cards instead of tables, filters folded) ---------- */
.fab,.monly,.ftog,.bcards,.mmore,.muser{display:none}
.filters .mrow{display:contents}
@media (max-width:760px){
  .mtop select,.mtop .mlo{display:none}
  .mtop .brand{font-size:18px}
  .main{padding-bottom:calc(150px + env(safe-area-inset-bottom,0px))!important}
  /* one floating + button (Google Calendar / Airbnb host pattern) */
  .fab{display:grid;place-items:center;position:fixed;right:16px;bottom:calc(74px + env(safe-area-inset-bottom,0px));z-index:41;width:58px;height:58px;border-radius:18px;border:0;background:var(--pri,#1D6FE0);color:#fff;font-size:32px;font-weight:400;line-height:1;box-shadow:0 8px 24px rgba(29,111,224,.35);cursor:pointer}
  .fab span{margin-top:-3px}
  .menu.newm{min-width:240px}.menu.newm button{min-height:48px;font-size:15px}
  .ph .btn.gold[data-act=newmenu],#l-new,#l-csv,.calbar [data-act=new],.calbar [data-act=block],.ph [data-new],.ph .btn[onclick*=print],.ph button[data-print]{display:none!important}
  /* more sheet: user, language, logout */
  .muser{display:flex;grid-column:1/-1;align-items:center;gap:10px;padding:6px 4px 12px;border-bottom:1px solid var(--line);margin-bottom:6px}
  .muser .av{width:38px;height:38px;border-radius:50%;background:var(--bluesoft);color:var(--blue);display:grid;place-items:center;font-weight:800;flex:none}
  .muser>div:nth-child(2){flex:1;min-width:0;display:flex;flex-direction:column}.muser small{color:var(--muted);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .muser select{width:auto;min-height:36px;padding:2px 8px}
  /* overview */
  .dashf{overflow-x:auto;flex-wrap:nowrap;scrollbar-width:none}.dashf button{flex:none}
  .waitc .li{display:grid;grid-template-columns:1fr auto;gap:6px 10px;align-items:center;border-left:3px solid var(--line2);padding-left:10px!important}
  .waitc .li .svt{display:none}
  .waitc .li .lt{grid-column:1/-1}
  .waitc .li>.btn{grid-row:2}
  .waitc .li>.btn:first-of-type{grid-column:1;justify-self:start}
  .waitc .li:has(.svt.car){border-left-color:var(--blue)}.waitc .li:has(.svt.tour){border-left-color:var(--green)}.waitc .li:has(.svt.tr){border-left-color:var(--violet)}.waitc .li:has(.svt.price){border-left-color:var(--orange)}
  /* bookings: search + "Filters" button; cards instead of a wide table */
  .filters{display:grid;grid-template-columns:1fr;gap:8px}
  .filters .mrow{display:flex;gap:8px}.filters .mrow input{flex:1;min-width:0}
  .ftog{display:inline-flex}
  .filters>select,.filters>.monly{display:none}
  .filters.open>select,.filters.open>.monly{display:block}
  .bcards{display:flex;flex-direction:column;gap:10px}
  #l-tab table.t{display:none}
  #l-tab.tw{overflow:visible;box-shadow:none;background:none;border:0}
  .bcard{background:#fff;border-radius:14px;box-shadow:0 0 0 1px var(--line);padding:12px 14px;display:flex;flex-direction:column;gap:5px;cursor:pointer}
  .bcard .bc1{display:flex;justify-content:space-between;gap:8px;align-items:center}.bcard .bc1 b{font-size:15px}
  .bcard .bc2{font-size:13px;display:flex;flex-wrap:wrap;gap:6px;align-items:center}
  .bcard .bc3{display:flex;justify-content:space-between;gap:8px;font-size:13px;color:var(--muted)}.bcard .bc3 b{color:var(--ink);font-size:15px}
  .bcard .bc4{display:flex;gap:6px;align-items:center;flex-wrap:wrap}
  /* calendar controls: one compact row */
  .calbar{gap:6px}.calbar h1{display:none}.calbar #cal-date{display:none}
  .calbar [data-span="62"],.calbar [data-span="92"]{display:none}
  .calbar .chk.small{font-size:12px}
  /* cars: compact rows with a thumbnail */
  .cars{grid-template-columns:1fr;gap:10px}
  .carc{display:grid;grid-template-columns:112px 1fr;grid-template-rows:auto auto}
  .carc .img{aspect-ratio:auto;height:100%;min-height:96px;grid-row:1/3;background-size:150%}
  .carc .img .badge,.carc .img .pcorner{display:none}
  .carc .cb{padding:10px 12px 4px;gap:3px}.carc .cb .specs{display:none}
  .carc .cf{padding:0 12px 10px;gap:6px}
  .seg.provf{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}.seg.provf button{flex:none}
  .ph>.hint,.ph+.hint,p.hint[style*="margin-top:-6px"],#day-print{display:none!important}
  /* booking drawer: Save first, the rest under ⋯ */
  .dr .df{flex-wrap:nowrap;gap:8px}
  .dr .df [data-a=copy],.dr .df [data-a=resend],.dr .df [data-a=cancel]{display:none}
  .dr .df .mmore{display:inline-flex;font-size:20px;line-height:1;min-width:44px;justify-content:center}
  .dr .df [data-a=save]{min-height:46px;padding:0 22px}
  .dr .df .chk{font-size:12px;flex:1}
  .own-row{display:grid;grid-template-columns:1fr 1fr;gap:8px}
  .own-opt span{display:none}.own-opt{padding:10px!important;text-align:center}
}

/* ---------- service colours: rental blue · excursions green · transfers raspberry (clearly different) ---------- */
:root{--violet:#D6336C;--violetsoft:#FDEBF1}

/* ---------- overview v3 ---------- */
.kpis4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:14px}
.k4{background:#fff;border-radius:var(--r);box-shadow:0 0 0 1px var(--line);padding:14px 16px;display:flex;flex-direction:column;gap:2px;min-width:0}
.k4 span{font-size:12px;color:var(--muted);font-weight:600;text-transform:uppercase;letter-spacing:.04em}
.k4 b{font-size:26px;font-weight:800;line-height:1.2}
.k4 small{font-size:12px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.k4.hot{box-shadow:0 0 0 1px var(--orange);background:var(--orangesoft);cursor:pointer}.k4.hot b{color:var(--orange)}
.k4 .split{display:flex;height:6px;border-radius:6px;overflow:hidden;background:var(--line);margin-top:6px}
.k4 .split em{display:block;height:100%}.split .car{background:var(--pri,#2563EB)}.split .tour{background:var(--green)}.split .tr{background:var(--violet)}
.dgrid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);gap:14px;align-items:start}
.dgrid.nowait{grid-template-columns:1fr}
.dgrid .card{margin:0}
.card .ch{display:flex;align-items:center;gap:10px;justify-content:space-between;margin-bottom:10px;flex-wrap:wrap}
.card .ch h2{margin:0;display:flex;align-items:center;gap:8px}
.seg.sm button{padding:5px 10px;font-size:12.5px}
.fchips{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:10px}
.fchips button{border:1px solid var(--line2);background:#fff;border-radius:99px;padding:5px 11px;font:inherit;font-size:12.5px;font-weight:600;color:var(--ink2);cursor:pointer;display:inline-flex;align-items:center;gap:6px}
.fchips button.on{background:var(--ink);border-color:var(--ink);color:#fff}
.fchips button span{opacity:.7;font-weight:700}
.alist{display:flex;flex-direction:column}
.ai{display:flex;align-items:center;gap:10px;padding:10px 4px 10px 10px;border-bottom:1px solid var(--line);border-left:3px solid transparent;cursor:pointer}
.ai:last-child{border-bottom:0}.ai:hover{background:var(--bg)}
.ai.car{border-left-color:var(--pri,#2563EB)}.ai.tour{border-left-color:var(--green)}.ai.tr{border-left-color:var(--violet)}
.ai .when{width:54px;flex:none;font-weight:800;font-size:15px}.ai .when small{display:block;font-weight:600;font-size:11px;color:var(--muted)}
.ai .lt{flex:1;min-width:0;display:flex;flex-direction:column}.ai .lt b{font-size:14px}.ai .lt span{font-size:12.5px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ai .btn.icon-b{padding:0 9px;min-width:34px}
.warnt{font-style:normal;color:var(--orange);font-weight:700}
.agenda .lnk{margin-top:8px}
.sech{font-size:13px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);margin:22px 0 10px}
.msvcs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.msvc{display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto auto;column-gap:8px;text-align:left;background:#fff;border:0;border-radius:var(--r);box-shadow:0 0 0 1px var(--line);padding:14px 16px;font:inherit;cursor:pointer;border-top:4px solid transparent}
.msvc.car{border-top-color:var(--pri,#2563EB)}.msvc.tour{border-top-color:var(--green)}.msvc.tr{border-top-color:var(--violet)}
.msvc .dot{grid-row:1;align-self:center}.msvc span{font-weight:700;font-size:14px}.msvc b{grid-column:1/-1;font-size:22px;font-weight:800;margin-top:4px}.msvc small{grid-column:1/-1;color:var(--muted);font-size:12.5px}
@media (max-width:1100px){.dgrid{grid-template-columns:1fr}}
@media (max-width:760px){
  .kpis4{grid-template-columns:1fr 1fr;gap:8px}.k4{padding:11px 12px}.k4 b{font-size:21px}
  .msvcs{grid-template-columns:1fr;gap:8px}.msvc{grid-template-columns:auto 1fr auto;grid-template-rows:auto auto;padding:12px 14px}.msvc b{grid-column:3;grid-row:1/3;font-size:18px;align-self:center;margin:0}.msvc small{grid-column:2}
  .dgrid .waitc{order:-1}
  .ai{padding:10px 2px 10px 8px}.ai .when{width:44px;font-size:14px}.ai .btn.icon-b{display:none}
  .fchips{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}.fchips button{flex:none}
}
/* settings: e-mails & confirmations */
.mailrows{display:flex;flex-direction:column}
.mailrow{display:flex;align-items:center;gap:12px;padding:11px 0;border-bottom:1px solid var(--line)}
.mailrow:last-child{border-bottom:0}.mailrow .lt{flex:1;min-width:0;display:flex;flex-direction:column}.mailrow .lt span{font-size:12.5px;color:var(--muted)}
.mailrow .cust{font-size:11px;font-weight:700;color:var(--green);margin-left:6px}
.mgrp{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);margin:16px 0 4px;display:flex;align-items:center;gap:6px}
.mtabs{display:flex;gap:6px;margin-bottom:12px;flex-wrap:wrap}
.mtabs button{border:1px solid var(--line2);background:#fff;border-radius:8px;padding:6px 12px;font:inherit;font-weight:700;cursor:pointer}.mtabs button.on{background:var(--ink);color:#fff;border-color:var(--ink)}
.mtabs button i{font-style:normal;color:var(--green);margin-left:4px}
.phchips{display:flex;flex-wrap:wrap;gap:5px;margin:4px 0 10px}.phchips button{border:1px dashed var(--line2);background:var(--bg);border-radius:6px;padding:3px 7px;font:12px ui-monospace,Menlo,monospace;cursor:pointer}
.mprev{border:1px solid var(--line);border-radius:10px;width:100%;height:520px;background:#f3f1ec}
.medit{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px}
@media (max-width:1000px){.medit{grid-template-columns:1fr}.mprev{height:420px}}
.confgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.confc{border:1px solid var(--line);border-radius:12px;padding:14px;display:flex;flex-direction:column;gap:8px;border-top:4px solid var(--pri,#2563EB)}
.confc.tour{border-top-color:var(--green)}.confc.tr{border-top-color:var(--violet)}
.confc h3{margin:0;font-size:15px}.confc .opt{display:flex;gap:8px;align-items:flex-start;border:1px solid var(--line2);border-radius:10px;padding:9px 10px;cursor:pointer}
.confc .opt.on{border-color:var(--ink);box-shadow:0 0 0 1px var(--ink)}.confc .opt input{margin-top:3px}.confc .opt b{display:block;font-size:13.5px}.confc .opt small{color:var(--muted);font-size:12px}
.confc .fixed{background:var(--bg);border-radius:10px;padding:10px;font-size:13px}
.soon{font-size:10.5px;font-weight:800;background:var(--orangesoft);color:var(--orange);border-radius:99px;padding:2px 7px;margin-left:6px;letter-spacing:.03em}
@media (max-width:900px){.confgrid{grid-template-columns:1fr}}
.dr.wide{width:min(1180px,100%)}
.sw{position:relative;display:inline-block;width:40px;height:23px;flex:none;cursor:pointer}
.sw input{opacity:0;width:0;height:0;position:absolute}
.sw i{position:absolute;inset:0;background:var(--line2);border-radius:99px;transition:.2s}
.sw i::after{content:"";position:absolute;left:3px;top:3px;width:17px;height:17px;border-radius:50%;background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.2);transition:.2s}
.sw input:checked+i{background:var(--green)}.sw input:checked+i::after{transform:translateX(17px)}
.confc .opt.dis{opacity:.6;cursor:not-allowed}
.mcbox summary{cursor:pointer;color:var(--muted)}
.dgrid>*,.kpis4>*{min-width:0}
.card .ch .seg{max-width:100%;overflow-x:auto}
@media (max-width:760px){.dr.wide .df{flex-wrap:wrap}.dr.wide .df .sp{display:none}.dr.wide .df .btn{flex:1 1 40%}}

/* ---------- overview v4 + day plan v2 ---------- */
.aday{font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.05em;color:var(--muted);padding:12px 4px 6px;border-bottom:1px solid var(--line)}
.aday:first-child{padding-top:2px}
.dstrip{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;padding:2px 2px 10px;margin-bottom:6px}
.dstrip::-webkit-scrollbar{display:none}
.dstrip button{flex:none;width:58px;border:1px solid var(--line2);background:#fff;border-radius:12px;padding:7px 0 8px;display:flex;flex-direction:column;align-items:center;gap:1px;font:inherit;cursor:pointer;color:var(--ink2)}
.dstrip button small{font-size:10.5px;font-weight:700;text-transform:uppercase;color:var(--muted);white-space:nowrap;max-width:54px;overflow:hidden;text-overflow:ellipsis}
.dstrip button b{font-size:19px;font-weight:800}
.dstrip button i{font-style:normal;font-size:11px;font-weight:800;color:var(--muted);min-width:20px;text-align:center;border-radius:99px}
.dstrip button i.has{background:var(--prisoft);color:var(--pri)}
.dstrip button.tod{border-color:var(--pri)}
.dstrip button.on{background:var(--ink);border-color:var(--ink);color:#fff}.dstrip button.on small{color:rgba(255,255,255,.75)}.dstrip button.on i.has{background:var(--gold);color:var(--ink)}
.dsum{display:flex;align-items:baseline;gap:14px;flex-wrap:wrap;margin:4px 0 10px}.dsum h2{margin:0;font-size:20px}.dsum>span{color:var(--ink2);font-size:13.5px}
.dplist{display:flex;flex-direction:column;gap:10px}
.dpi{display:flex;gap:14px;background:#fff;border-radius:var(--r);box-shadow:0 0 0 1px var(--line);padding:14px 16px;border-left:4px solid var(--pri);cursor:pointer}
.dpi.tour{border-left-color:var(--green)}.dpi.tr{border-left-color:var(--violet)}
.dpi.done{opacity:.6}
.dpt{width:52px;flex:none;font-size:19px;font-weight:800;line-height:1.3}
.dpc{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}
.dph{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.dph b{font-size:15.5px}
.dph .svt{min-width:0}
.dpl{font-size:13.5px;color:var(--ink2)}.dpl.muted{color:var(--muted);font-size:12.5px}
.dpn{font-size:13px;background:var(--goldsoft);border-radius:8px;padding:6px 9px}
.dpa{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-top:6px}
.dpa .collect{font-size:13px;color:var(--red)}.dpa .collect b{font-size:15px}
.okd{font-weight:800;color:var(--green);font-size:13px}
@media (max-width:760px){
  .ph #day-date{display:none}
  .dpi{padding:12px;gap:10px}.dpt{width:44px;font-size:16px}
  .dpa .btn{min-height:38px}
  .dsum h2{font-size:17px}
}
@media print{.dstrip,.fchips,.dpa .btn{display:none!important}.dpi{break-inside:avoid;box-shadow:none;border:1px solid #ccc}}

/* service filters as clear buttons */
.fchips{gap:8px;margin-bottom:12px}
.fchips button{min-height:40px;padding:0 14px;border-radius:10px;border:1.5px solid var(--line2);background:#fff;font-size:14px;font-weight:700;color:var(--ink);box-shadow:0 1px 2px rgba(16,24,40,.06);transition:background .15s,border-color .15s,color .15s}
.fchips button:hover{border-color:var(--ink2);background:var(--bg)}
.fchips button .dot{width:10px;height:10px}
.fchips button span{background:var(--bg);color:var(--ink2);border-radius:99px;padding:1px 8px;font-size:12px;opacity:1}
.fchips button.on{background:var(--ink);border-color:var(--ink);color:#fff;box-shadow:0 2px 6px rgba(16,24,40,.18)}
.fchips button.on span{background:rgba(255,255,255,.22);color:#fff}
.fchips button[data-af=car].on,.fchips button[data-wf=car].on,.fchips button[data-f=car].on{background:var(--pri);border-color:var(--pri)}
.fchips button[data-af=tour].on,.fchips button[data-wf=tour].on,.fchips button[data-f=tour].on{background:var(--green);border-color:var(--green)}
.fchips button[data-af=tr].on,.fchips button[data-wf=tr].on,.fchips button[data-f=tr].on{background:var(--violet);border-color:var(--violet)}
.fchips button[data-wf=price].on{background:var(--orange);border-color:var(--orange)}
.fchips button.on .dot{background:#fff!important}
@media (max-width:760px){.fchips button{min-height:38px;padding:0 12px;font-size:13px}}

/* ---------- partners list ---------- */
.pdot{display:inline-block;width:11px;height:11px;border-radius:50%;margin-right:8px;vertical-align:0;flex:none}
.mono{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}
table.t td.center,table.t th.center{text-align:center}
.pk-y{color:var(--green);font-weight:800}.pk-n{color:#98A2B3}
tr.off td{opacity:.55}
.pcards{display:none}
.pcard{background:#fff;border-radius:14px;box-shadow:0 0 0 1px var(--line);padding:12px 14px;display:flex;flex-direction:column;gap:8px;cursor:pointer}
.pcard.off{opacity:.6}.pcard .pc1{display:flex;align-items:center;gap:6px}.pcard .pc1 b{font-size:15px}
.logbox{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;background:var(--bg);border-radius:10px;padding:12px 14px}
.logbox>div{display:flex;flex-direction:column;gap:2px;min-width:0}.logbox b{overflow:hidden;text-overflow:ellipsis}.logbox b.big{font-size:17px}
.pmode{display:flex;flex-direction:column;gap:8px;margin-top:12px}
label.chk.top{align-items:flex-start}label.chk.top>span{display:flex;flex-direction:column}label.chk.top small{color:var(--muted);font-size:12px;font-weight:500}
.dh h3 .pdot{width:13px;height:13px}
@media (max-width:760px){.pt-desk{display:none}.pcards{display:flex;flex-direction:column;gap:10px}.logbox{grid-template-columns:1fr}}

/* apartments, plans, finance, content */
.ltabs{display:inline-flex}
.carc .miss{opacity:.35;text-decoration:line-through}
.carc[data-ae],.carc[data-pe]{cursor:pointer}
.pfile{display:flex;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid var(--line)}
.pfile:last-child{border-bottom:0}
.pfile>b{min-width:30px}
.skpi{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:6px 0 12px}
.skpi>div{background:var(--bg);border-radius:10px;padding:10px 12px}
.skpi span{display:block;font-size:12px;color:var(--muted)}
.skpi b{font-size:20px}
.howto{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:6px}
.howto>div{display:flex;gap:10px;align-items:flex-start;background:var(--goldsoft);border-radius:10px;padding:10px 12px;font-size:13px}
.howto i{font-style:normal;font-weight:800;background:var(--gold);border-radius:50%;width:22px;height:22px;display:grid;place-items:center;flex:0 0 22px}
tr.off td{opacity:.5}
.nowrap{white-space:nowrap}
.seg .cnt:empty{display:none}
.seg .cnt{margin-left:6px;background:var(--red);color:#fff;border-radius:99px;font-size:11px;padding:0 6px}
@media (max-width:760px){.skpi{grid-template-columns:repeat(2,minmax(0,1fr))}.howto{grid-template-columns:1fr}}

.mailrow.sub{padding-left:22px;background:#FAFBFC}
.mailrow.sub .subi{width:38px;text-align:center;color:var(--muted);flex:none}
.card h3.sh{font-size:14px;margin:14px 0 2px;font-weight:700}
