                                                                                                                                         
:root{--font-num:var(--font);--bg:#191919;--solid:#222222;--ink:#ececec;--ink-2:#c4c4c4;--muted:#a6a6a6;--faint:#9e9e9e;--glass:rgba(255,255,255,.045);--glass-2:rgba(255,255,255,.075);--card:var(--glass);--field:rgba(255,255,255,.055);--hover:rgba(255,255,255,.07);--stroke:rgba(255,255,255,.09);--stroke-2:rgba(255,255,255,.16);--hair:rgba(255,255,255,.06);--overlay:rgba(15,15,15,.35);--green:#58c08d;--green-bg:rgba(88,192,141,.13);--tr-kirim-bg:#1a3629;--tr-chiqim-bg:#41241f;--red:#e0705a;--red-bg:rgba(224,112,90,.13);--amber:#d9a24e;--amber-bg:rgba(217,162,78,.14);--blue:#5e9bd6;--blue-bg:rgba(94,155,214,.14);--purple:#a78bda;--purple-bg:rgba(167,139,218,.14);--teal:#4fb8a6;--teal-bg:rgba(79,184,166,.14);--gold:#d6b45e;--orange:#e09a5a;--cyan:#5ec2d6;--r-sm:12px;--r:14px;--r-lg:20px;--r-chip:99px;--sh-card:0 8px 28px rgba(0,0,0,.5);--sh-pop:0 20px 50px rgba(0,0,0,.55);--sh-hero:0 16px 36px rgba(var(--bz-rgb),.35);--anim-fast:.2s;--anim-base:.4s;--anim-slow:.6s;--anim-ease:cubic-bezier(.22,1,.36,1);--anim-spring:cubic-bezier(.34,1.56,.64,1);--stagger:70ms;--nav-w:240px;--safe-b:env(safe-area-inset-bottom);--safe-t:env(safe-area-inset-top)}
@media(prefers-reduced-motion:reduce){
  :root{--anim-fast:.12s;--anim-base:.16s;--anim-slow:.2s;--stagger:0ms}
}
[data-theme="light"]{--faint:#656a72;--glass:#ffffff;--glass-2:#ffffff;--stroke:rgba(18,20,26,.08);--stroke-2:rgba(18,20,26,.14);--overlay:rgba(40,42,48,.18);--green:#1f9e63;--green-bg:rgba(31,158,99,.12);--red:#cf4a32;--red-bg:rgba(207,74,50,.1);--amber:#b4740a;--amber-bg:rgba(180,116,10,.12);--blue:#2A63B0;--blue-bg:rgba(37,99,235,.1);--purple:#7c5cd6;--purple-bg:rgba(124,92,214,.1);--teal:#0d9488;--teal-bg:rgba(13,148,136,.1);--gold:#b8860b;--orange:#ea7a2a;--cyan:#0891b2;--sh-card:0 10px 30px rgba(18,20,26,.06);--sh-pop:0 24px 60px rgba(18,20,26,.14);--sh-accent:0 10px 24px rgba(var(--bz-rgb),.3);--sh-hero:0 16px 36px rgba(var(--bz-rgb),.3)}
*{margin:0;padding:0;box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{color:var(--ink);text-rendering:optimizeLegibility}
body::before{content:'';position:fixed;inset:0;z-index:-2;pointer-events:none;background:var(--bg)}
body::after{content:'';position:fixed;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(900px 500px at 80% -10%,rgba(var(--bz-rgb),.13),transparent 60%)}
[data-theme="light"] body::after{background:radial-gradient(900px 500px at 80% -10%,rgba(var(--bz-rgb),.10),transparent 60%)}
button{font-family:inherit;color:inherit;font-size:inherit}
button{background:none;border:none;cursor:pointer}
a{text-decoration:none;color:inherit}
img,svg{display:block;max-width:100%}
ul,ol{list-style:none}
:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:6px}
*::-webkit-scrollbar{width:10px;height:10px}
*::-webkit-scrollbar-thumb{background:var(--stroke-2);border-radius:99px;border:3px solid transparent;background-clip:content-box}
*::-webkit-scrollbar-thumb:hover{background:var(--muted);background-clip:content-box}
*::-webkit-scrollbar-track{background:transparent}
::selection{background:rgba(var(--bz-rgb),.3);color:var(--ink)}
h1{font-size:26px;font-weight:790;letter-spacing:-.03em;line-height:1.15}
h2{font-size:20px;font-weight:780;letter-spacing:-.03em}
h3{font-size:16px;font-weight:760;letter-spacing:-.02em}
.t-muted{color:var(--muted)}
.num{letter-spacing:-.02em}
.sh{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:22px 2px 12px}
.sh .all{font-size:13px;font-weight:700;color:var(--accent-ink);display:inline-flex;align-items:center;gap:3px;transition:gap var(--anim-fast) var(--anim-ease)}
.sh .all:hover{gap:7px}
.sh .all svg{width:14px;height:14px;stroke:currentColor;fill:none;stroke-width:2.4}
.wrap{max-width:1200px;margin:0 auto;padding:24px 20px 60px}
.row{display:flex;gap:12px;flex-wrap:wrap;align-items:center}
.col{display:flex;flex-direction:column;gap:12px}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr))}
.grid-2{display:grid;grid-template-columns:1fr 1fr}
.spacer{flex:1}
.sep{height:1px;background:var(--hair);margin:14px 0;border:none}
.panel{background:var(--card);border:1px solid var(--hair);padding:16px}
.card{background:var(--card);border:1px solid var(--hair);position:relative;overflow:hidden}
.card.tap,.panel.tap{cursor:pointer}
.card.tap:hover,.panel.tap:hover{transform:translateY(-2px);box-shadow:0 14px 34px rgba(0,0,0,.55);border-color:var(--stroke-2)}
[data-theme="light"] .card.tap:hover,[data-theme="light"] .panel.tap:hover{box-shadow:0 16px 38px rgba(18,20,26,.10)}
.card.b-red::before,.card.b-green::before,.card.b-amber::before,.card.b-blue::before,.card.b-ind::before,.card.b-purple::before{content:'';position:absolute;left:0;top:0;bottom:0;width:4px;border-radius:0 3px 3px 0;opacity:.9}
.card.b-red::before{background:var(--red)}
.card.b-green::before{background:var(--green)}
.card.b-amber::before{background:var(--amber)}
.card.b-blue::before{background:var(--blue)}
.card.b-purple::before{background:var(--purple)}
.card.b-ind::before{background:var(--accent)}
.hero-card{color:#fff;position:relative;overflow:hidden}
.hero-card::before{content:'';position:absolute;top:-70px;right:-50px;width:200px;height:200px;border-radius:50%;background:rgba(255,255,255,.08)}
.hero-card::after{content:'';position:absolute;bottom:-90px;left:-40px;width:170px;height:170px;border-radius:50%;background:rgba(255,255,255,.05)}
.hero-card>*{position:relative}
.hero-card .lbl{font-size:13px;font-weight:700;color:rgba(255,255,255,.9)}
.hero-card .val{font-weight:800;letter-spacing:-.03em;margin-top:6px;font-variant-numeric:tabular-nums}
.hero-card .sub{font-size:12.5px;color:rgba(255,255,255,.78);margin-top:4px}
.stat .lbl{font-weight:640}
.stat .val{font-weight:800}
.stat .delta{font-size:11.5px;font-weight:750;margin-left:7px}
.delta.up{color:var(--green)}
.icd{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;flex:0 0 auto}
.icd svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.icd.i-ind{background:rgba(var(--bz-rgb),.12);color:var(--accent-ink)}
.icd.i-green{background:var(--green-bg);color:var(--green)}
.icd.i-amber{background:var(--amber-bg);color:var(--amber)}
.icd.i-red{background:var(--red-bg);color:var(--red)}
.icd.i-blue{background:var(--blue-bg);color:var(--blue)}
.icd.i-purple{background:var(--purple-bg);color:var(--purple)}
.icd.i-teal{background:var(--teal-bg);color:var(--teal)}
.avatar{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;color:#fff;font-weight:700;font-size:14px;flex:0 0 auto;overflow:hidden;background:var(--accent)}
.avatar.round{border-radius:50%}
.avatar img{width:100%;height:100%;object-fit:cover}
.icon-btn{background:var(--card);border:1px solid var(--stroke);display:grid;place-items:center}
.icon-btn svg{stroke:var(--ink);fill:none;stroke-width:2}
.icon-btn:hover{background:var(--hover);border-color:var(--stroke-2)}
.badge{display:inline-block;white-space:nowrap;letter-spacing:.1px}
.badge.bg-green{background:var(--green-bg);color:var(--green)}
.badge.bg-red{background:var(--red-bg);color:var(--red)}
.badge.bg-amber{background:var(--amber-bg);color:var(--amber)}
.badge.bg-blue{background:var(--blue-bg);color:var(--blue)}
.badge.bg-purple{background:var(--purple-bg);color:var(--purple)}
.badge.bg-ind{background:rgba(var(--bz-rgb),.12);color:var(--accent-ink)}
.search{position:relative}
.search input{width:100%}
.search .si{position:absolute;top:50%;transform:translateY(-50%);stroke:var(--muted);fill:none;stroke-width:2;pointer-events:none;transition:stroke var(--anim-fast)}
.search input:focus~.si{stroke:var(--accent)}
.fld .hint{color:var(--muted);margin-top:5px}
.fld.err .msg{font-size:12px;color:var(--red);margin-top:5px;animation:bcFadeUp .25s var(--anim-ease) both}
.sw{width:46px;height:27px;border-radius:99px;background:var(--stroke-2);position:relative;display:inline-block;cursor:pointer;flex:0 0 auto}
.sw::after{content:"";position:absolute;top:3px;left:3px;width:21px;height:21px;border-radius:50%;background:var(--solid);box-shadow:0 1px 4px rgba(20,21,26,.25);transition:transform var(--anim-base) var(--anim-spring)}
.sw.on{background:var(--accent)}
.sw.on::after{transform:translateX(19px)}
.chk{display:inline-flex;align-items:center;gap:9px;cursor:pointer;font-size:14px}
.chk input{width:19px;accent-color:var(--accent);flex:0 0 auto;cursor:pointer}
input[type=range]{-webkit-appearance:none;width:100%;height:5px;border-radius:99px;background:var(--field)}
input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:18px;height:18px;border-radius:50%;background:var(--accent);box-shadow:0 2px 8px rgba(var(--bz-rgb),.4);cursor:pointer;transition:transform var(--anim-fast) var(--anim-ease)}
input[type=range]::-webkit-slider-thumb:hover{transform:scale(1.18)}
.overlay{position:fixed;inset:0;z-index:50;background:var(--overlay);backdrop-filter:blur(16px) saturate(130%);-webkit-backdrop-filter:blur(16px) saturate(130%);opacity:0;visibility:hidden;transition:opacity var(--anim-base),visibility 0s linear var(--anim-base)}
.overlay.on{opacity:1;visibility:visible;transition:opacity var(--anim-base)}
.modal{position:fixed;top:50%;left:50%;width:min(480px,94vw);max-height:88vh;background:var(--solid);display:flex;flex-direction:column;opacity:0;visibility:hidden}
.modal.on{opacity:1;visibility:visible}
.modal .m-h{flex:0 0 auto}
.modal .m-b{flex:1;min-height:0}
.modal .m-f{display:flex;flex:0 0 auto}
body.lock{overflow:hidden}
.pop{position:absolute;min-width:180px;background:var(--solid);visibility:hidden}
.pop a,.pop button{display:flex;align-items:center;gap:10px;width:100%;text-align:left}
.pop a svg,.pop button svg{stroke:currentColor;fill:none;stroke-width:2}
.tip{position:relative}
.tip::after{content:attr(data-tip);position:absolute;bottom:calc(100% + 8px);left:50%;transform:translateX(-50%) translateY(4px);background:var(--solid);color:var(--ink);border:1px solid var(--stroke);padding:6px 10px;font-weight:600;white-space:nowrap;box-shadow:var(--sh-card);opacity:0;pointer-events:none;z-index:60}
.tip:hover::after{opacity:1;transform:translateX(-50%) translateY(0)}
.toast{position:fixed;z-index:60;pointer-events:none;display:flex;align-items:center;max-width:88vw}
.toast svg{fill:none;flex:0 0 auto}
.toast.err{color:#fff}
.alert{display:flex;gap:12px;align-items:flex-start;border:1px solid transparent}
.alert svg{width:19px;height:19px;stroke:currentColor;fill:none;stroke-width:2;flex:0 0 auto;margin-top:1px}
.alert.a-green{background:var(--green-bg);color:var(--green);border-color:rgba(88,192,141,.22)}
.alert.a-red{background:var(--red-bg);color:var(--red);border-color:rgba(224,112,90,.22)}
.alert.a-amber{background:var(--amber-bg);color:var(--amber);border-color:rgba(217,162,78,.22)}
.spinner{width:22px;height:22px;border:2.5px solid rgba(var(--bz-rgb),.25);border-top-color:var(--accent);border-radius:50%}
.prg{background:var(--field);overflow:hidden}
.prg>i{display:block;height:100%;border-radius:99px;background:var(--gr-accent);width:0}
.prg.thin{height:5px}
.ring{position:relative;width:96px;height:96px;flex:0 0 auto}
.ring svg{width:100%;height:100%;transform:rotate(-90deg)}
.ring .trk{fill:none;stroke:var(--field);stroke-width:8}
.ring .n{position:absolute;inset:0;display:grid;place-items:center;font-size:20px;font-weight:780;font-variant-numeric:tabular-nums}
.ring .n i{font-size:12px;font-style:normal}
.hero-card .ring .trk{stroke:rgba(255,255,255,.28)}
.hero-card .ring .n{color:#fff}
.tbl th{text-align:left}
.tbl .num{text-align:right}
.tbl-wrap{-webkit-overflow-scrolling:touch}
.item{display:flex;align-items:center;gap:12px;padding:13px 0;border-bottom:1px solid var(--hair)}
.item:last-child{border-bottom:none}
.item .rt{text-align:right;font-size:13.5px;font-weight:700;flex:0 0 auto}
.item .rt small{display:block;font-size:11px;color:var(--muted);font-weight:500}
.tabs{width:max-content;scrollbar-width:none}
.tabs::-webkit-scrollbar{display:none}
.tabs button{font-weight:680}
.tabs button:hover{color:var(--ink)}
.side{padding:18px 12px;display:flex;flex-direction:column;gap:4px}
.side a{display:flex;align-items:center;gap:11px;padding:11px 14px;border-radius:99px;font-size:14px;font-weight:650;color:var(--muted);position:relative}
.side a svg{width:19px;height:19px;stroke:currentColor;fill:none;stroke-width:2;flex:0 0 auto}
.side a:hover{background:var(--hover);color:var(--ink)}
.side a.on{background:var(--gr-accent);color:#fff;box-shadow:0 6px 14px rgba(var(--bz-rgb),.28)}
.side a.on svg{animation:bcBump .34s var(--anim-ease)}
.topbar{display:flex;align-items:center;gap:12px;padding:12px 20px;min-height:62px}
.bnav{position:fixed;left:12px;right:12px;bottom:calc(var(--safe-b) + 10px);z-index:45;max-width:496px;margin:0 auto;padding:9px 6px;border-radius:24px;background:rgba(30,30,30,.6);border:1px solid rgba(255,255,255,.08);backdrop-filter:blur(18px) saturate(150%);-webkit-backdrop-filter:blur(18px) saturate(150%);box-shadow:0 8px 30px rgba(0,0,0,.25)}
[data-theme="light"] .bnav{background:rgba(255,255,255,.92);border-color:rgba(18,20,26,.05);box-shadow:0 14px 34px rgba(18,20,26,.14)}
.bnav a{flex:1;display:flex;flex-direction:column;align-items:center;gap:4px;padding:3px 0;font-size:10px;font-weight:650;color:var(--muted)}
.bnav a svg{width:21px;height:21px;stroke:currentColor;fill:none;stroke-width:2}
body.lock .bnav{opacity:0;pointer-events:none;transition:opacity .18s var(--anim-ease)}
.empty{place-items:center}
.empty .ic{width:60px;height:60px;border-radius:20px;background:var(--card);display:grid;place-items:center;margin:0 auto 14px;box-shadow:var(--sh-card)}
.empty .ic svg{width:27px;height:27px;stroke:var(--faint);fill:none;stroke-width:1.8}
.empty b{display:block;margin-bottom:4px}
.bars{display:flex;align-items:flex-end;gap:3px;height:120px}
.bars i{flex:1;border-radius:4px 4px 2px 2px;background:linear-gradient(180deg,var(--accent-2),var(--accent));opacity:.45;min-height:3px;transform-origin:bottom;animation:bcGrow .6s var(--anim-ease) both}
.bars i.hot{opacity:1}
.bars i:hover{opacity:1}
.hbar{display:flex;align-items:center;gap:10px;padding:7px 0}
.hbar .lb{width:88px;color:var(--ink-2);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:0 0 auto}
.hbar .trk{flex:1;background:var(--field);overflow:hidden}
.hbar .trk>i{display:block;height:100%;border-radius:99px;background:var(--gr-accent);width:0}
.hbar .vl{width:34px;text-align:right;font-weight:750;flex:0 0 auto;font-variant-numeric:tabular-nums}
.card,.panel,.icon-btn,.tabs button,.side a,.bnav a,.sw,.item{transition:transform var(--anim-fast) var(--anim-ease),background var(--anim-fast) var(--anim-ease), box-shadow var(--anim-fast) var(--anim-ease),color var(--anim-fast), border-color var(--anim-fast),opacity var(--anim-fast),filter var(--anim-fast);touch-action:manipulation}
.card.tap:active,.panel.tap:active,.tabs button:active,.item:active{transform:scale(.965)}
.icon-btn:active,.bnav a:active{transform:scale(.88)}
.side a:active{transform:scale(.98)}
@keyframes bcFadeUp{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@keyframes bcSpin{to{transform:rotate(360deg)}}
@keyframes bcOkIn{to{transform:rotate(-45deg) scale(1);opacity:1}}
@keyframes bcBump{0%{transform:scale(1) translateY(0)}45%{transform:scale(1.22) translateY(-2px)}100%{transform:scale(1) translateY(0)}}
@keyframes bcGrow{from{transform:scaleY(0)}to{transform:scaleY(1)}}
@media(max-width:520px){
  .wrap{padding:18px 16px 90px}
  h1{font-size:23px}
  .grid-2{grid-template-columns:1fr}
  .grid{grid-template-columns:1fr}
  .hero-card{padding:18px}
  .hero-card .val{font-size:28px}
  .modal{width:94vw;border-radius:var(--r-lg)}
  .side{display:none}
}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
}
@font-face{font-family:'SF Pro Display';font-weight:400;font-display:swap;src:url(fonts/sfpro-400.woff2) format('woff2')}
@font-face{font-family:'SF Pro Display';font-weight:500;font-display:swap;src:url(fonts/sfpro-500.woff2) format('woff2')}
@font-face{font-family:'SF Pro Display';font-weight:700;font-display:swap;src:url(fonts/sfpro-700.woff2) format('woff2')}
[hidden]{display:none!important}
#loginScreen{min-height:100vh}
.login-card{width:min(400px,100%);background:var(--solid);border:1px solid var(--stroke)}
.login-card h2{margin:22px 0 18px}
.login-logo{display:flex;align-items:center}
.login-logo b{display:block;font-size:17px;letter-spacing:-.02em}
.login-logo span{font-size:12.5px;color:var(--muted)}
.login-foot{text-align:center;margin-top:18px}
#loginErr{margin-bottom:12px}
#app{display:flex}
.side{position:sticky;top:0;height:100vh;border-right:1px solid var(--hair);background:var(--solid);overflow-y:auto}
.brand{display:flex;align-items:center;padding:8px 10px 18px;cursor:pointer}
.brand b{display:block;line-height:1.1}
.brand span{color:var(--muted)}
.side nav{display:flex;flex-direction:column;gap:3px}
.side nav a{cursor:pointer}
.side-user{display:flex;align-items:center;gap:10px;padding:10px 8px;margin-top:10px}
.side-user:hover{background:var(--hover)}
.side-user b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.side-user span{color:var(--muted)}
.main{flex:1;min-width:0;display:flex;flex-direction:column}
.topbar h2{font-size:18px}
.burger{display:none}
#content{padding:22px 24px 80px}
.bnav{display:none}
#sideVeil{z-index:49}
@media (max-width:900px){
  .side{position:fixed;left:0;top:0;bottom:0;z-index:51;transform:translateX(-100%);transition:transform var(--anim-base) var(--anim-ease);width:270px}
  .side.on{transform:none}
  .burger{display:grid}
  #content{padding:16px 14px 110px}
  .bnav{display:flex}
  .grid-2{grid-template-columns:1fr}
  .topbar{padding:10px 14px}
  .topbar h2{font-size:16px}
}
.ph{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:16px}
.ph .search{flex:1;min-width:200px;max-width:380px}
.stats{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));margin-bottom:16px}
.tbl tbody tr.tap{cursor:pointer}
.tbl .sub{display:block;color:var(--muted)}
.card.flat{padding:0}
.card h3{margin-bottom:10px}
.mini{font-size:12px;color:var(--muted)}
.kv{display:grid;grid-template-columns:150px 1fr}
.kv dd{font-weight:600;word-break:break-word}
.actions{display:flex;flex-wrap:wrap}
.modal.wide{width:min(860px,96vw)}
.modal .m-h .mini{margin-top:3px}
.f-row{display:grid;grid-template-columns:1fr 1fr}
.f-row3{display:grid;grid-template-columns:1fr 1fr 1fr}
@media (max-width:560px){
  .f-row,.f-row3{grid-template-columns:1fr}
}
.pos{color:var(--green)}
.neg{color:var(--red)}
.amb-t{color:var(--amber)}
.prg-lbl{display:flex;justify-content:space-between;color:var(--muted);margin-bottom:4px}
.tag{display:inline-block;background:var(--field);color:var(--ink-2);margin:2px 3px 2px 0}
.items-tbl td{padding:6px 6px}
.items-tbl input,.items-tbl select{padding:7px 10px;width:100%}
.items-tbl .del{color:var(--red);font-size:18px;padding:4px 8px}
.total-row{display:flex;justify-content:flex-end;gap:24px;padding:10px 6px;font-weight:700;font-size:15px}
.plan-row{display:flex;align-items:flex-start}
.plan-row.sch-done{opacity:.6}
.plan-row.sch-in_progress .plan-time{color:var(--amber)}
.plan-time{font-weight:800;flex:0 0 auto;font-variant-numeric:tabular-nums}
.plan-body{flex:1}
.plan-body b{display:block}
.mixer-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr))}
.mixer .plate{font-weight:800;font-family:ui-monospace,Menlo,Consolas,monospace}
.mixer .st{margin:8px 0}
.mixer .cur{font-size:12.5px;color:var(--ink-2);line-height:1.45}
.st-free{border-color:rgba(88,192,141,.35)}
.st-loading{border-color:rgba(217,162,78,.4)}
.st-on_route{border-color:rgba(94,155,214,.45)}
.st-returning{border-color:rgba(167,139,218,.4)}
.st-repair{opacity:.6}
.note{color:var(--muted);margin-top:6px}
.pop{right:12px}
.ver-list{font-size:13.5px;line-height:1.6;padding-left:18px;list-style:disc}
.dt-line{display:flex;justify-content:space-between;border-bottom:1px solid var(--hair)}
.dt-line:last-child{border-bottom:none}
.dt-line span:last-child{font-weight:700;font-variant-numeric:tabular-nums}
#printArea{display:none}
@media print{
  body *{visibility:hidden}
  #printArea,#printArea *{visibility:visible}
  #printArea{display:block;position:absolute;left:0;top:0;width:100%;padding:20px;background:#fff;color:#000;font-size:12px}
  #printArea h2{font-size:18px;margin-bottom:6px}
  #printArea table{width:100%;border-collapse:collapse;margin-top:10px}
  #printArea th,#printArea td{border:1px solid #999;padding:5px 7px;font-size:11.5px}
  #printArea .r{text-align:right}
  #printArea .sign{display:flex;justify-content:space-between;margin-top:40px}
}
:root{--accent:#2A63B0;--accent-2:#2A63B0;--accent-ink:#45A8EE;--bz-rgb:42,99,176;--gr-accent:linear-gradient(135deg,var(--accent),var(--accent));--r-card:20px;--sh-accent:0 4px 12px rgba(var(--bz-rgb),.18)}
[data-theme="light"]{--accent:#2A63B0;--accent-2:#2A63B0;--accent-ink:#2A63B0;--bz-rgb:42,99,176;--gr-accent:linear-gradient(135deg,var(--accent),var(--accent))}
button{font:inherit}
.icon-btn svg{flex:0 0 18px}
.icon-btn{flex-shrink:0}
.icon-btn:disabled{cursor:not-allowed;opacity:.55;transform:none}
.icon-btn:focus-visible,.tabs button:focus-visible,.side nav a:focus-visible{outline:2px solid var(--accent-ink);outline-offset:3px}
.card{min-width:0}
.stats{grid-template-columns:repeat(auto-fit,minmax(min(210px,100%),1fr))}
.stat.card{display:flex;flex-direction:column;justify-content:space-between}
.stat .val{line-height:1.3}
.stat .lbl{line-height:1.45}
.stat .mini{line-height:1.5;overflow-wrap:anywhere}
.ph>.spacer{min-width:0}
.tabs{overflow-x:auto}
.tabs>button{min-height:40px;flex-shrink:0}
.m-f{display:flex;gap:8px}
.modal{max-height:calc(100dvh - 32px)}
.login-card{max-width:440px}
.side nav a.on,.side nav a.active{color:#fff}
.side nav a.on svg,.side nav a.active svg{color:inherit}
.plan-body{min-width:0}
.mixer .cur{overflow-wrap:anywhere}
@media(max-width:560px){
  .stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .stat.card{padding:13px;min-height:132px}
  .stat .val{font-size:20px}
  .ph .search{min-width:0;max-width:none;flex-basis:100%}
  .kv{grid-template-columns:minmax(90px,110px) minmax(0,1fr)}
  .mat-bar{flex-wrap:wrap}
  .mat-bar .nm{width:auto;flex:1}
  .mat-bar .prg{order:3;flex-basis:100%}
  .login-card{padding:24px}
  .grid-2{gap:12px}
  .icon-btn{min-width:40px;min-height:40px}
}
@media(max-width:360px){
  .stats{grid-template-columns:1fr}
}
#purchaseItems input,#purchaseItems select{width:100%;min-width:100px;padding:10px 12px;box-sizing:border-box}
#purchaseItems select[data-k="material_id"]{min-width:210px}
.side nav a.on,.side nav a.active{background:var(--accent)!important}
@media(min-width:901px){
  body{padding:18px;background:var(--bg)}
  body::after{inset:18px;border-radius:18px}
  #app{min-height:calc(100vh - 36px);max-width:1700px;margin:0 auto;border:1px solid var(--hair);border-radius:18px;overflow:clip;background:var(--solid);box-shadow:var(--sh-card)}
  .side{height:calc(100vh - 36px);width:216px;flex-basis:216px;padding:16px 12px;background:var(--solid)}
  .brand{position:sticky;top:-16px;z-index:2;background:var(--solid);padding:5px 8px 16px;margin-bottom:2px}
  .brand img{width:32px;height:32px;border-radius:9px}
  .brand b{font-size:14px}
  .brand span{font-size:10.5px}
  .side nav{gap:0}
  .nav-section{display:flex;flex-direction:column;gap:2px;margin-bottom:11px}
  .nav-section-label{padding:4px 11px 5px;font-size:9px;line-height:1;font-weight:750;letter-spacing:.095em;color:var(--faint)}
  .side nav a{min-height:34px;padding:7px 10px;border-radius:8px;font-size:12.5px;gap:9px;box-shadow:none!important}
  .side nav a svg{width:16px;height:16px}
  .side nav a.on{border-radius:8px}
  .side-user{position:sticky;bottom:-16px;background:var(--solid);border-top:1px solid var(--hair);border-radius:0;margin:0 -2px -16px;padding:13px 8px 16px}
  .main{height:calc(100vh - 36px);overflow:auto;background:var(--bg)}
  .topbar{min-height:58px;padding:9px 18px;border-radius:0;background:var(--solid)}
  .top-title h2{font-size:15px;line-height:1.15}
  .top-title span{display:block;margin-top:2px;font-size:10px;color:var(--muted)}
  .top-search{width:220px;height:34px;padding:0 10px;display:flex;align-items:center;gap:7px;background:var(--field);border:1px solid var(--hair);border-radius:8px}
  .top-search svg{width:14px;height:14px;fill:none;stroke:var(--muted);stroke-width:2}
  .top-search input{min-width:0;width:100%}
  .topbar .icon-btn{width:34px;height:34px;border-radius:9px;box-shadow:none}
  .topbar .icon-btn svg{width:17px;height:17px}
  #content{max-width:none;padding:18px 20px 44px}
}
.top-title{min-width:0}
.top-title span{display:none}
.top-search{display:none}
@media(min-width:901px){
  .top-title span,.top-search{display:flex}
  .top-title span{display:block}
}
.card,.panel{border-radius:12px;box-shadow:none}
.card{padding:14px 15px}
.stats{grid-template-columns:repeat(4,minmax(0,1fr))}
.stat.card{padding:13px 14px}
.stat .icd{width:30px;height:30px;border-radius:9px}
.stat .icd svg{width:16px;height:16px}
.stat .val{margin-top:12px}
.stat .lbl{margin-top:4px}
.stat .mini{font-size:10.5px}
.card.flat .tbl-wrap{padding:0}
.tabs button,.tabs button.on{border-radius:7px}
.dashboard-page>.ph{margin-bottom:14px}
.dashboard-page>.ph h1{font-size:20px}
.dashboard-page>.grid-2{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:10px}
.dashboard-page>.grid-2>.card{grid-column:span 6;min-width:0}
.dashboard-page>.grid-2>.card:nth-child(n+3){grid-column:span 4}
.dashboard-page .empty{min-height:100px;padding:20px 14px}
.dashboard-page .bars{height:110px}
@media(max-width:1180px) and (min-width:901px){
  .stats{grid-template-columns:repeat(3,minmax(0,1fr))}
  .dashboard-page>.grid-2>.card,.dashboard-page>.grid-2>.card:nth-child(n+3){grid-column:span 6}
  .top-search{width:170px}
}
@media(max-width:900px){
  body{padding:0}
  .nav-section-label{display:none}
  .side nav .nav-section{display:contents}
  .top-title span,.top-search{display:none}
  .stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .dashboard-page>.grid-2{grid-template-columns:1fr}
  .dashboard-page>.grid-2>.card,.dashboard-page>.grid-2>.card:nth-child(n+3){grid-column:auto}
}
html,body{width:100%;height:100%;min-height:100%;overflow:hidden}
#app{width:100%;height:100dvh;min-height:100vh;max-width:none;margin:0;border:0;border-radius:0;box-shadow:none;overflow:hidden}
.main{height:100dvh;min-height:0;overflow:hidden;background:var(--bg)}
.side{height:100dvh;flex:0 0 232px;width:232px;border-radius:0;box-shadow:none}
.topbar{position:sticky;top:0;z-index:30;flex:0 0 auto;border-radius:0}
#content{flex:1;min-height:0;max-width:none;width:100%;margin:0;overflow-y:auto;overscroll-behavior:contain}
@media(min-width:901px){
  body{padding:0;background:var(--bg)}
  body::after{inset:0;border-radius:0}
  #app{height:100vh;min-height:100vh;max-width:none;margin:0;border:0;border-radius:0;box-shadow:none;overflow:hidden}
  .side{height:100vh;width:232px;flex-basis:232px;padding:16px 12px}
  .main{height:100vh;overflow:hidden}
  #content{padding:22px 24px 56px}
  .topbar{min-height:62px;padding:10px 20px}
  .top-search{width:min(260px,24vw)}
}
.page-shell{display:block;min-height:calc(100% - 1px)}
.page-loading{flex-direction:column;align-items:center;justify-content:center;gap:12px}
.page-error{min-height:280px;display:flex;align-items:center;justify-content:center;gap:18px;padding:32px;border:1px solid var(--stroke);border-radius:14px;background:var(--solid)}
.page-error-icon{width:50px;height:50px;display:grid;place-items:center;flex:0 0 auto;border-radius:13px;background:var(--red-bg);color:var(--red)}
.page-error-icon svg{width:25px;height:25px}
.page-error-copy{max-width:560px}
.page-error-copy h3{font-size:18px;margin:0 0 7px}
.page-error-copy p{color:var(--muted);line-height:1.55;margin:0 0 16px;overflow-wrap:anywhere}
.page-shell>.ph,.section-toolbar{position:relative;margin:0 0 14px}
.dashboard-page>.ph{min-height:auto;padding:0;border:0;background:transparent}
.ph h1{letter-spacing:-.025em}
.ph .search:focus-within{border-color:var(--accent)}
.page-shell .card h3,.page-shell .panel h3{display:flex;align-items:center}
.grid>.card,.grid-2>.card{min-width:0}
.stat.card{transition:border-color var(--anim-fast) var(--anim-ease),transform var(--anim-fast) var(--anim-ease)}
.stat.card:hover{border-color:var(--stroke-2)}
.stat .val{font-variant-numeric:tabular-nums}
.kv{grid-template-columns:minmax(130px,180px) minmax(0,1fr);align-items:start}
.kv dt{line-height:1.45}
.kv dd{text-align:right;line-height:1.45}
.card.flat{border:1px solid var(--hair);background:var(--solid);overflow:hidden}
.card.flat .tbl-wrap{width:100%}
.tbl thead{position:relative;z-index:2}
.tbl th{white-space:nowrap}
.tbl tbody tr{transition:background var(--anim-fast) var(--anim-ease)}
.tbl td .icon-btn{border-color:transparent;background:transparent}
.tbl td .icon-btn:hover{border-color:var(--stroke);background:var(--field)}
.empty{min-height:180px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:28px;color:var(--muted);text-align:center}
.fld label{display:block;margin:0 0 6px}
.fld input,.fld select,.fld textarea{width:100%}
.fld textarea{resize:vertical}
.modal{width:min(620px,calc(100vw - 28px));max-height:calc(100dvh - 28px);border:1px solid var(--stroke);overflow:hidden}
.modal.wide{width:min(920px,calc(100vw - 28px))}
.modal .m-h{border-bottom:1px solid var(--hair)}
.modal .m-b{overflow-y:auto}
.modal .m-f{border-top:1px solid var(--hair)}
.mixer-grid{grid-template-columns:repeat(auto-fit,minmax(250px,1fr))}
.actions{row-gap:8px}
@media(min-width:1500px){
  #content{padding-left:28px;padding-right:28px}
  .stats{grid-template-columns:repeat(6,minmax(0,1fr))}
  .dashboard-page>.grid-2>.card{grid-column:span 4}
  .dashboard-page>.grid-2>.card:nth-child(n+3){grid-column:span 4}
}
@media(max-width:1180px) and (min-width:901px){
  .side{width:214px;flex-basis:214px}
}
@media(max-width:900px){
  html,body{overflow:auto}
  .main{height:auto;min-height:100dvh;overflow:visible}
  #app{height:auto;min-height:100dvh;overflow:visible}
  .side{display:flex;height:100dvh;width:min(286px,86vw);padding:16px 12px}
  #content{overflow:visible;padding:14px 12px calc(96px + var(--safe-b))}
  .page-shell>.ph,.section-toolbar{position:relative;top:auto;padding:10px;gap:8px}
  .page-error{min-height:240px;align-items:flex-start;justify-content:flex-start;flex-direction:column;padding:24px}
  .card.flat{border-radius:11px}
  .tbl th,.tbl td{padding-left:11px;padding-right:11px}
}
@media(max-width:560px){
  .page-shell>.ph,.section-toolbar{align-items:stretch}
  .ph>.spacer{display:none}
  .ph .search{order:-1;width:100%;flex-basis:100%}
  .ph>.actions{flex:1 1 auto}
  .page-shell .card:not(.flat),.page-shell .panel{padding:14px}
  .kv{grid-template-columns:minmax(90px,110px) minmax(0,1fr);gap:8px 10px}
  .kv dd{text-align:left}
  .f-row,.f-row3{grid-template-columns:1fr;gap:0}
  .modal{width:100%;max-height:92dvh;bottom:0;top:auto;transform:translate(-50%,100%);border-radius:16px 16px 0 0}
  .modal.on{transform:translate(-50%,0)}
}
@media(min-width:901px){
  #app>.side{display:flex!important;position:fixed!important;left:0!important;top:0!important;bottom:0!important;width:232px!important;min-width:232px!important;max-width:232px!important;height:100vh!important;transform:none!important;visibility:visible!important;opacity:1!important;z-index:40}
  #app>.main{flex:none;width:calc(100% - 232px);margin-left:232px}
}
.dashboard-page{padding-bottom:48px!important}
.dashboard-page .dash-stat{background:var(--solid);justify-content:flex-start}
.dashboard-page .dash-stat:hover{border-color:rgba(var(--bz-rgb),.28)}
.dashboard-page .dash-stat .mini{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dash-board{grid-template-columns:repeat(12,minmax(0,1fr));align-items:stretch}
.dash-plan{grid-column:span 7}
.dash-materials{grid-column:span 5}
.dash-overdue,.dash-top,.dash-products{grid-column:span 4}
.dash-trend{grid-column:span 12}
.dash-card-head>div{min-width:0}
.dash-card-head h3{min-height:0!important}
.dash-card-head span{display:block;color:var(--muted)}
.dash-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;text-align:center;color:var(--muted)}
.dash-empty>svg{margin-bottom:3px;color:var(--faint)}
.dash-empty>b{color:var(--ink)}
.dash-empty>span{max-width:280px;line-height:1.45}
.dash-trend .bars{margin-top:8px}
@media(max-width:1320px) and (min-width:901px){
  .dashboard-page .dash-secondary{grid-template-columns:repeat(4,minmax(0,1fr))}
  .dash-plan,.dash-materials{grid-column:span 12;min-height:0}
  .dash-overdue,.dash-top,.dash-products{grid-column:span 6}
}
@media(max-width:1180px) and (min-width:901px){
  #app>.side{width:214px!important;min-width:214px!important;max-width:214px!important}
  #app>.main{width:calc(100% - 214px);margin-left:214px}
  .dashboard-page .dash-primary,.dashboard-page .dash-secondary{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:900px){
  .dashboard-page{padding-top:12px!important}
  .dash-head{padding:17px;margin-bottom:12px;align-items:flex-start}
  .dash-head h1{font-size:22px}
  .dash-actions{max-width:54%}
  .dash-steps{grid-template-columns:1fr}
  .dash-group{margin-bottom:14px}
  .dashboard-page .dash-primary,.dashboard-page .dash-secondary{grid-template-columns:repeat(2,minmax(0,1fr))}
  .dash-board{grid-template-columns:1fr}
  .dash-plan,.dash-materials,.dash-overdue,.dash-top,.dash-products,.dash-trend{grid-column:auto;min-height:0}
}
@media(max-width:560px){
  .dash-head{display:block}
  .dash-actions{max-width:none;justify-content:flex-start;margin-top:13px}
  .dash-onboarding{padding:13px}
  .dash-onboarding-title{align-items:flex-start}
  .dashboard-page .dash-stat{min-height:108px;padding:12px}
  .dashboard-page .dash-stat .val{font-size:19px}
  .dashboard-page .dash-secondary{grid-template-columns:repeat(2,minmax(0,1fr))}
  .dash-group-title span{display:none}
  .dash-board>.card{padding:14px!important}
  .dash-card-head{align-items:flex-start}
}
:root{--ios-radius:14px}
@media(min-width:901px){
  #app>.side{width:220px!important;min-width:220px!important;max-width:220px!important;padding:12px 10px!important}
  #app>.main{width:calc(100% - 220px);margin-left:220px}
  .brand{top:-12px!important;padding:4px 7px 12px!important}
  .side-user{bottom:-12px!important;margin-bottom:-12px!important;padding-bottom:12px!important}
  .side nav a{min-height:32px!important;padding:6px 9px!important;border-radius:9px!important;font-size:12px!important}
  .nav-section{margin-bottom:7px!important}
  .nav-section-label{padding:4px 9px!important;font-size:8.5px!important}
  #content{padding:14px 16px 32px!important}
  .topbar{min-height:54px!important;padding:8px 16px!important}
}
.topbar{border-bottom-color:var(--hair)}
.topbar .icon-btn{border-radius:11px!important}
.page-shell>.grid,.page-shell>.grid-2,.page-shell>.stats,.grid,.grid-2{gap:var(--ios-gap)}
.page-shell .card,.page-shell .panel,.card.flat{border-radius:var(--ios-radius)}
.icon-btn{box-shadow:none}
.dash-board{flex-wrap:wrap}
.dash-plan{flex:2 1 620px;min-height:0}
.dash-materials{min-height:0}
.dash-overdue,.dash-top,.dash-products{flex:1 1 310px;min-height:0}
.dash-trend{flex:1 1 100%;min-height:0}
.plan-time{width:50px}
@media(max-width:1180px) and (min-width:901px){
  #app>.side{width:204px!important;min-width:204px!important;max-width:204px!important}
  #app>.main{width:calc(100% - 204px);margin-left:204px}
  .dashboard-page .dash-primary{grid-template-columns:repeat(4,minmax(0,1fr))}
  .dashboard-page .dash-secondary{grid-template-columns:repeat(auto-fit,minmax(110px,1fr))}
}
@media(max-width:900px){
  #content{padding:10px 10px calc(84px + var(--safe-b))!important}
  .topbar{min-height:52px;padding:7px 11px}
  .dashboard-page{padding-top:10px!important}
  .dash-head,.dash-onboarding{margin-bottom:9px}
  .dash-group{margin-bottom:10px}
  .dashboard-page .dash-primary,.dashboard-page .dash-secondary{grid-template-columns:repeat(2,minmax(0,1fr))}
  .dash-plan.is-empty .dash-empty{min-height:82px}
  .dash-board>.card{flex-basis:100%}
}
@media(max-width:560px){
  .dash-head{padding:13px}
  .dash-head h1{font-size:20px}
  .dash-actions{margin-top:10px}
  .dash-onboarding{padding:11px}
  .dash-steps button{min-height:50px}
  .dashboard-page .dash-stat{min-height:88px;padding:9px 10px}
  .dashboard-page .dash-stat .val{font-size:18px}
  .page-shell>.ph,.section-toolbar{padding:7px}
}
:root{--ios-gap:14px}
@media(min-width:901px){
  #app>.side{width:232px!important;min-width:232px!important;max-width:232px!important;padding:16px 12px!important}
  #app>.main{width:calc(100% - 232px);margin-left:232px}
  .brand{top:-16px!important;padding:7px 8px 16px!important}
  .brand b{font-size:15px}
  .brand span{font-size:11px}
  .side nav{gap:3px}
  .side nav a{min-height:40px!important;padding:9px 11px!important;border-radius:11px!important;font-size:13.5px!important;gap:10px!important}
  .side nav a svg{width:17px!important;height:17px!important}
  .nav-section{margin-bottom:10px!important}
  .nav-section-label{padding:6px 10px!important;font-size:9px!important}
  .side-user{bottom:-16px!important;margin-bottom:-16px!important;padding:14px 9px 16px!important}
  #content{padding:20px 22px 42px!important}
  .topbar{min-height:64px!important;padding:10px 22px!important}
  .topbar h2{font-size:19px}
  .topbar p{font-size:12px}
  .top-search{height:42px!important;min-width:220px!important;font-size:13px}
}
.page-shell>.ph,.section-toolbar{min-height:58px}
.page-shell .card h3,.page-shell .panel h3{min-height:28px;margin-bottom:12px;font-size:15px}
.dashboard-page .dash-stat .val{margin-top:13px}
.dashboard-page .dash-stat .lbl{margin-top:7px}
.dash-plan{flex-basis:650px}
.dash-materials{flex-basis:420px}
.dash-overdue,.dash-top,.dash-products{flex-basis:340px}
.dash-empty{min-height:126px;padding:15px}
.dash-empty>svg{width:26px;height:26px}
.dash-empty>b{font-size:14px}
.dash-empty>span{font-size:11.5px}
.dash-plan.is-empty .dash-empty{min-height:136px}
.dash-board .hbar{min-height:39px}
@media(max-width:1180px) and (min-width:901px){
  #app>.side{width:220px!important;min-width:220px!important;max-width:220px!important}
  #app>.main{width:calc(100% - 220px);margin-left:220px}
  #content{padding:18px!important}
  .dashboard-page .dash-primary{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:900px){
  :root{--ios-control:42px;--ios-gap:11px}
  #content{padding:13px 12px calc(92px + var(--safe-b))!important}
  .topbar{min-height:58px!important;padding:8px 13px!important}
  .topbar h2{font-size:17px}
  .page-shell>.ph,.section-toolbar{min-height:54px}
  .ph h1{font-size:19px}
  .dashboard-page{padding-top:14px!important}
  .dash-head{min-height:0;padding:17px;margin-bottom:12px}
  .dash-head h1{font-size:24px}
  .dash-onboarding{padding:14px;margin-bottom:12px}
  .dashboard-page .dash-primary,.dashboard-page .dash-secondary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .dashboard-page .dash-secondary .dash-stat{flex:auto}
  .dashboard-page .dash-stat{min-height:112px;padding:12px}
  .dashboard-page .dash-stat .val{font-size:21px}
  .dash-board{gap:11px}
  .dash-board>.card{padding:15px!important}
}
@media(max-width:560px){
  .brand b{font-size:14px}
  .side nav a{font-size:13px!important}
  .page-shell .card:not(.flat),.page-shell .panel{padding:14px}
  .tbl th{height:40px}
  .tbl td{height:48px}
  .dash-head h1{font-size:22px}
  .dashboard-page .dash-stat{min-height:105px}
  .dashboard-page .dash-stat .val{font-size:20px}
  .dash-group-title h2{font-size:15px}
}
:root{--ios-control:38px}
@media(max-width:900px){
  :root{--ios-control:38px}
  .icon-btn{width:38px;height:38px;min-width:38px;min-height:38px}
}
.top-search{padding:0 11px!important}
.top-search svg{width:15px;height:15px}
@media(max-width:900px){
  .ph .search{min-height:38px}
}
@media(max-width:560px){
  .dash-quickbar{align-items:flex-start;flex-direction:column;margin-bottom:10px}
  .dash-greeting b{font-size:15px}
  .dash-quickbar .dash-actions{width:100%}
}
@media(max-width:1180px) and (min-width:901px){
  .dash-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:900px){
  .dash-hero{min-height:0;padding:17px;margin-bottom:12px}
  .dash-hero h1{font-size:24px}
  .dash-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-bottom:13px}
  .dash-shortcut{padding:11px}
  .dash-shortcut small{display:none}
}
@media(max-width:560px){
  .dash-hero{align-items:flex-start;flex-direction:column;gap:12px;padding:15px}
  .dash-hero h1{font-size:22px}
  .dash-hero .dash-actions{width:100%}
  .dash-shortcut{gap:9px;padding:10px}
  .dash-shortcut .icd{width:31px;height:31px}
  .dash-shortcut b{font-size:11.5px}
}
@media(min-width:1181px){
  #app>.side{width:240px!important;min-width:240px!important;max-width:240px!important}
  #app>.main{width:calc(100% - 240px);margin-left:240px}
}
.top-date{display:flex;flex-direction:column;justify-content:center;min-width:104px;line-height:1.2}
.top-date b{font-size:11px;color:var(--ink-2)}
.top-date span{margin-top:3px;font-size:10px;color:var(--muted);text-transform:capitalize}
.dash-bell>i{position:absolute;top:5px;right:5px;width:7px;height:7px;border:2px solid var(--solid);border-radius:50%;background:var(--red)}
.dashboard-page{padding-top:15px!important}
.dashboard-page .dash-stat .icd{flex:0 0 auto}
.dashboard-page .dash-stat .mini{max-width:none;text-align:left}
.dash-materials{flex:1.2 1 650px}
.dash-activity{flex:.8 1 480px}
.dash-card-head h3 svg{margin-right:7px}
.dash-activity-list{display:flex;flex-direction:column}
.dash-activity-row{grid-template-columns:32px minmax(0,1fr) auto}
.dash-activity-row .icd svg{width:15px;height:15px}
.dash-activity-row>span:nth-child(2){min-width:0}
.dash-activity-row b,.dash-activity-row small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:1450px) and (min-width:1181px){
  .dashboard-page .dash-secondary{grid-template-columns:repeat(4,minmax(0,1fr))}
  .dash-hero{grid-template-columns:minmax(300px,1fr) auto}
  .dash-hero-quote{display:none}
}
@media(max-width:1180px) and (min-width:901px){
  .dash-hero{grid-template-columns:minmax(280px,1fr) auto}
  .dash-hero-quote{display:none}
  .dashboard-page .dash-primary{grid-template-columns:repeat(2,minmax(0,1fr))}
  .dashboard-page .dash-secondary{grid-template-columns:repeat(4,minmax(0,1fr))}
  .dash-stat-foot{padding-left:54px}
}
@media(max-width:900px){
  .top-date{display:none}
  .dash-hero{display:flex;min-height:0}
  .dash-hero-quote{display:none}
  .dashboard-page .dash-primary,.dashboard-page .dash-secondary{grid-template-columns:repeat(2,minmax(0,1fr))}
  .dashboard-page .dash-stat,.dashboard-page .dash-primary .dash-stat,.dashboard-page .dash-secondary .dash-stat{min-height:112px}
  .dash-material-row{grid-template-columns:28px minmax(120px,1fr) 80px 54px}
  .dash-material-row>span:last-child{display:none}
}
@media(max-width:560px){
  .dash-periods{display:none}
  .dash-hero{padding:16px}
  .dash-shortcuts{gap:8px}
  .dash-shortcut{min-height:58px;padding:9px}
  .dash-shortcut .icd{width:34px;height:34px}
  .dashboard-page .dash-stat .icd{width:36px;height:36px}
  .dash-stat-foot,.dashboard-page .dash-secondary .dash-stat-foot{padding-left:0}
  .dash-material-row{grid-template-columns:25px minmax(110px,1fr) 72px}
  .dash-material-row>span:nth-child(4){display:none}
}
html,body{max-width:100%;overflow-x:hidden}
#app{isolation:isolate;transform:none;filter:none;contain:none}
#app>.main{min-width:0}
#content{min-width:0;scrollbar-gutter:stable;overflow-x:hidden}
.brand span{text-transform:uppercase}
.side nav a{font-weight:600}
.side nav a:focus-visible{outline:2px solid var(--accent-ink);outline-offset:-2px}
.side-user{cursor:pointer}
@media(min-width:901px){
  #app{display:grid!important;grid-template-columns:var(--erp-nav) minmax(0,1fr);height:100dvh!important;min-height:0!important}
  #app>#sideNav.side{position:relative!important;inset:auto!important;grid-column:1;grid-row:1;display:flex!important;width:auto!important;min-width:0!important;max-width:none!important;height:100dvh!important;transform:none!important;padding:14px 12px!important;overflow:hidden}
  #app>.main{grid-column:2;grid-row:1;margin:0!important;width:auto!important;height:100dvh!important}
  #sideNav .brand{position:static!important;flex:none;padding:3px 7px 16px!important;min-height:56px}
  #sideNav #navList{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;padding-right:3px}
  #sideNav>.spacer{display:none}
  #sideNav .side-user{position:static!important;flex:none;margin:10px 0 0!important;padding:10px!important}
  #sideNav nav a{min-height:34px!important;padding:7px 10px!important;font-size:13px!important;border-radius:9px!important}
  #sideNav .nav-section{margin-bottom:12px!important}
  .nav-section-label{font-size:10px!important}
  #app .topbar{height:64px;min-height:64px!important;padding:10px 20px!important;gap:12px}
  #app #content{padding:18px 18px 28px!important;margin:0!important;max-width:none!important}
  .bnav,.burger{display:none!important}
}
.page-shell>.ph,.section-toolbar{display:flex;align-items:center;flex-wrap:wrap;margin-bottom:14px;border:1px solid var(--hair);background:var(--solid)}
.ph>div:first-child:not(.spacer){min-width:0}
.ph>div:first-child h2{font-size:17px;line-height:1.35}
.ph .row{flex-wrap:wrap;min-width:0}
.search,.ph .search{border:0;background:transparent;box-shadow:none}
.search input,.ph .search input{box-sizing:border-box}
.ph .search:focus-within{box-shadow:none;border:0}
.top-search{min-width:0!important}
.top-search input{padding:0}
.icon-btn{min-width:30px;min-height:30px;flex:none}
.actions{gap:7px;align-items:center}
.page-shell .card:not(.flat),.page-shell .panel{padding:16px}
.page-shell .card.flat{padding:0}
.grid,.grid-2{gap:var(--erp-gap);align-items:start}
.grid-2>*{min-width:0}
.stats{gap:12px}
.stat .val{overflow-wrap:anywhere}
.hero-card{padding:22px}
.hero-card .val{overflow-wrap:anywhere}
.card.flat .tbl-wrap,.tbl-wrap{max-width:100%;overflow:auto;scrollbar-width:thin}
.tbl{width:100%}
.tbl td{vertical-align:middle}
.tbl td.num{white-space:nowrap}
.tbl .sub{line-height:1.4}
.tbl td .badge{white-space:nowrap}
.tbl td:has(.empty){height:auto}
.tabs{display:flex;flex-wrap:wrap;max-width:100%;width:fit-content;margin-bottom:14px;border:1px solid var(--hair);background:var(--field)}
.tabs button{flex:none;line-height:20px;white-space:normal}
.fld label{margin-bottom:6px}
.f-row,.f-row3{gap:0 14px}
.fld{min-width:0;margin-bottom:14px}
.kv{grid-template-columns:minmax(95px,145px) minmax(0,1fr)}
.kv dd{overflow-wrap:anywhere}
.modal{width:min(660px,calc(100vw - 32px));max-height:calc(100dvh - 32px);z-index:70}
.modal.wide{width:min(960px,calc(100vw - 32px))}
#modalVeil{z-index:69}
.modal .m-f{justify-content:flex-end}
.modal .m-b{overscroll-behavior:contain;overflow:auto}
.items-tbl input,.items-tbl select{min-width:78px}
.mixer-grid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}
.mixer{min-height:0}
.plan-row{gap:12px}
.plan-body{overflow-wrap:anywhere}
.dt-line{gap:12px;align-items:center}
.dash-board>.card{flex-grow:1}
.dash-activity{min-height:0}
.dash-activity-list:empty{display:none}
@media(max-width:1180px) and (min-width:901px){
  :root{--erp-nav:220px}
  .top-search{width:180px}
  .top-date{display:none}
  .dashboard-page .dash-primary{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:900px){
  #app{display:block!important;height:auto!important;overflow:visible!important}
  #app>.main{width:100%!important;margin:0!important;height:auto!important;min-height:100dvh}
  #app>#sideNav{display:flex!important;position:fixed!important;top:0!important;left:0!important;bottom:0!important;width:min(280px,85vw)!important;height:100dvh!important;transform:translateX(-100%)!important;z-index:62;overflow:hidden;padding:14px!important}
  #app>#sideNav.on{transform:none!important}
  #sideNav #navList{flex:1;min-height:0;overflow:auto}
  #sideNav>.spacer{display:none}
  #sideNav .side-user{position:static!important;margin:8px 0 0!important;padding:10px!important}
  .brand{position:static!important}
  .nav-section-label{display:block}
  .side nav .nav-section{display:flex;flex-direction:column}
  #sideVeil{z-index:61}
  .burger{display:grid!important}
  .bnav{display:flex!important;z-index:55}
  .topbar{position:sticky!important;top:0;min-height:58px!important;gap:8px}
  .top-title h2{font-size:17px}
  .top-search,.top-date{display:none!important}
  #topActions:empty{display:none}
  #app #content{padding:14px 12px calc(88px + var(--safe-b))!important;overflow:visible}
  .dashboard-page .dash-hero{display:flex;flex-wrap:wrap;gap:12px}
  .dash-hero .dash-actions{max-width:100%;margin:0}
  .grid-2{grid-template-columns:1fr}
  .page-shell>.ph{padding:10px}
  .ph .search{max-width:none}
  .tbl td,.tbl th{padding:9px 11px}
  .ph .row{width:100%}
}
@media(max-width:560px){
  .ph .search{flex:1 1 100%}
  .ph>.actions{flex:1}
  .tabs{width:100%;flex-wrap:nowrap;overflow:auto}
  .tabs button{white-space:nowrap}
  .f-row,.f-row3{grid-template-columns:1fr}
  .modal,.modal.wide{width:100%;left:0;right:0;top:auto;bottom:0;max-height:92dvh;transform:translateY(100%);border-radius:18px 18px 0 0}
  .modal.on{transform:translateY(0)}
  .modal .m-h,.modal .m-b{padding:14px 16px}
  .modal .m-f{padding:12px 16px calc(12px + var(--safe-b))}
  .dashboard-page .dash-primary,.dashboard-page .dash-secondary{grid-template-columns:repeat(2,minmax(0,1fr))}
  .dashboard-page .dash-stat{padding:12px!important}
  .dash-stat-main{gap:8px}
  .dashboard-page .dash-stat .icd{width:30px;height:30px}
  .dashboard-page .dash-stat .lbl{font-size:11px}
  .dash-stat-foot{padding-left:0!important}
  .dash-hero h1{font-size:22px}
  .dash-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}
  .dash-shortcut b{white-space:normal}
  .dash-material-row{grid-template-columns:25px minmax(120px,1fr) 80px 55px minmax(120px,1fr)}
  .dash-material-row>span:nth-child(4),.dash-material-row>span:last-child{display:flex}
  .dash-materials{min-width:0}
}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
}
@media print{
  #app{display:block!important;height:auto!important}
  #printArea{z-index:100}
}
@media screen{
  html{zoom:1.1}
  .modal{max-height:calc(100dvh / 1.1 - 32px);width:min(660px,calc(100vw / 1.1 - 32px))}
  .modal.wide{width:min(960px,calc(100vw / 1.1 - 32px))}
}
@media screen and (min-width:901px){
  #app,#app>#sideNav.side,#app>.main{height:calc(100dvh / 1.1)!important}
}
@media screen and (max-width:900px){
  #app>.main{min-height:calc(100dvh / 1.1)}
  #app>#sideNav{height:calc(100dvh / 1.1)!important;width:min(280px,calc(85vw / 1.1))!important}
}
@media screen and (max-width:560px){
  .modal,.modal.wide{width:100%;max-height:calc(92dvh / 1.1)}
}
.warehouse-stock-view{display:flex;flex-direction:column;gap:10px}
.warehouse-stock-view>.warehouse-summary{order:1}
.warehouse-stock-view>.section-toolbar{order:2}
.warehouse-stock-view>#crudList{order:3}
.warehouse-summary{display:flex;align-items:center;gap:18px;padding:12px 14px;border:1px solid var(--hair);border-radius:10px;background:var(--solid)}
.warehouse-summary-title{display:flex;align-items:center;gap:10px;min-width:210px}
.warehouse-summary-title .icd{width:34px;height:34px;border-radius:9px;flex:none}
.warehouse-summary-title .icd svg{width:19px;height:19px}
.warehouse-summary-title b{display:block;font-size:12px}
.warehouse-summary-title small{display:block;margin-top:2px;color:var(--muted)}
.warehouse-kpis{display:grid;grid-template-columns:repeat(4,minmax(110px,1fr));flex:1}
.warehouse-kpis article{padding:0 16px;border-left:1px solid var(--hair)}
.warehouse-kpis span{display:block;color:var(--muted)}
.warehouse-kpis strong{display:block;margin-top:3px;color:var(--ink);line-height:1.3;font-variant-numeric:tabular-nums;white-space:nowrap}
.warehouse-kpis strong small{display:inline;font-size:9px;font-weight:500;color:var(--muted)}
.warehouse-kpis .is-warning strong{color:var(--amber)}
.warehouse-kpis .is-danger strong{color:var(--red)}
.warehouse-stock-view>.section-toolbar{margin:0;padding:9px 11px;border:1px solid var(--hair);border-radius:9px;background:var(--solid);box-shadow:none}
.warehouse-stock-view>.section-toolbar .search{flex:1;max-width:420px;margin:0}
.warehouse-stock-view>.section-toolbar .spacer{flex:1}
.warehouse-stock-view>#crudList>.card{border-radius:10px;overflow:hidden;box-shadow:none}
.warehouse-stock-view .tbl{min-width:720px}
.warehouse-material{display:flex;align-items:center;gap:10px;text-align:left}
.warehouse-material-icon{display:grid;place-items:center;width:30px;height:30px;flex:none;border-radius:8px;background:var(--ui-tint);color:var(--accent-ink)}
.warehouse-material-icon svg{width:16px;height:16px}
.warehouse-material b{display:block;font-size:11px}
.warehouse-material small{display:block;margin-top:2px;color:var(--muted)}
.warehouse-stock{min-width:112px;text-align:right}
.warehouse-stock b{font-size:12px}
.warehouse-stock small{display:block;margin-top:2px;color:var(--muted)}
.warehouse-stock-bar{height:3px;margin:5px 0 0;border-radius:3px;background:var(--hover);overflow:hidden}
.warehouse-stock-bar i{display:block;height:100%;border-radius:inherit;background:var(--green)}
.warehouse-stock.is-low b,.warehouse-stock.is-low small{color:var(--red)}
.warehouse-stock.is-low .warehouse-stock-bar i{background:var(--red)}
.warehouse-min{white-space:nowrap}
.warehouse-stock-view .icon-btn{width:28px!important;height:28px!important}
@container(max-width:1000px){
  .warehouse-summary{align-items:flex-start;flex-wrap:wrap}
  .warehouse-summary-title{min-width:180px}
  .warehouse-kpis{min-width:520px}
  .warehouse-kpis article{padding:0 12px}
  .warehouse-stock-view>.section-toolbar .search{max-width:none}
}
@media(max-width:700px){
  .warehouse-summary{padding:11px;gap:12px}
  .warehouse-summary-title{width:100%}
  .warehouse-kpis{min-width:0;width:100%;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .warehouse-kpis article{padding:0 8px}
  .warehouse-kpis article:nth-child(odd){border-left:0;padding-left:0}
  .warehouse-kpis article:nth-child(n+3){padding-top:9px;border-top:1px solid var(--hair)}
  .warehouse-kpis strong{font-size:17px}
  .warehouse-stock-view>.section-toolbar{flex-wrap:wrap;gap:8px}
  .warehouse-stock-view>.section-toolbar .search{flex-basis:100%;order:0}
  .warehouse-stock-view>.section-toolbar .spacer{display:none}
  .warehouse-stock-view .tbl td{height:48px}
}
.transport-workspace{display:flex;flex-direction:column;gap:12px}
.transport-workspace>.tabs{margin:0;align-self:flex-start;padding:3px;border-radius:8px}
.transport-workspace>.tabs button{min-height:30px;padding:6px 13px;font-size:11px}
.transport-workspace #tBody{min-width:0}
.fleet-summary{display:flex;align-items:center;gap:0;padding:12px 14px;border:1px solid var(--hair);border-radius:10px;background:var(--solid);margin-bottom:14px}
.fleet-summary>div{display:flex;align-items:center;gap:10px;flex:1;border-right:1px solid var(--hair);padding:0 15px;min-width:0}
.fleet-summary>div:first-child{padding-left:0}
.fleet-summary>div>svg{width:29px;height:29px;flex:none;padding:6px;border-radius:8px;background:var(--ui-tint);color:var(--accent-ink)}
.fleet-summary>div>span{font-size:10px;color:var(--muted)}
.fleet-summary strong{display:block;color:var(--ink);line-height:1.25}
.fleet-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px;font-size:12px}
.fleet-heading>span{font-size:10px;color:var(--muted)}
.transport-workspace .mixer-grid{margin-bottom:12px;gap:10px;grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}
.fleet-empty{grid-column:1/-1;display:flex;align-items:center;gap:12px;border:1px dashed var(--hair);border-radius:10px;background:var(--solid);padding:16px}
.fleet-empty>svg{width:32px;height:32px;color:var(--accent-ink);flex:none}
.fleet-empty>div{flex:1}
.fleet-empty b{font-size:12px}
.fleet-empty p{font-size:10px;color:var(--muted);margin:4px 0 0}
.transport-workspace .mixer{padding:13px;border-radius:10px;box-shadow:none;border-top:3px solid var(--accent)}
.transport-workspace .mixer.st-free{border-top-color:var(--green)}
.transport-workspace .mixer.st-repair{border-top-color:var(--red)}
.transport-workspace .mixer .plate{font-size:14px}
.transport-workspace .mixer>.mini{font-size:10px;margin-top:6px}
.transport-workspace .mixer .cur{padding:8px;border-radius:6px;background:var(--hover);font-size:11px}
.transport-workspace .grid-2{gap:12px;align-items:start}
.transport-workspace .card.flat{border-radius:10px;overflow:hidden;box-shadow:none}
.transport-workspace .card.flat>h3{font-size:12px;margin:0;padding:11px 13px!important;border-bottom:1px solid var(--hair)}
.transport-workspace .tbl{min-width:410px}
.transport-workspace .tbl .sub{font-size:9px}
.transport-workspace .section-toolbar{padding:10px 12px;margin-bottom:10px}
.transport-workspace .empty{min-height:90px;padding:16px}
@container(max-width:900px){
  .transport-workspace .grid-2{grid-template-columns:1fr}
  .fleet-summary>div{padding:0 10px;gap:7px}
  .fleet-summary>div>svg{display:none}
}
@media(max-width:700px){
  .transport-workspace>.tabs{width:100%;display:flex;overflow:auto;white-space:nowrap}
  .transport-workspace>.tabs button{flex:1;padding:6px 8px;font-size:10px}
  .fleet-summary{flex-wrap:wrap;gap:10px;padding:10px}
  .fleet-summary>div{flex:1 1 40%;padding:0 8px;border:0}
  .fleet-summary>div:nth-child(2n){border-left:1px solid var(--hair)}
  .fleet-summary>div:nth-child(3){padding-left:0}
  .fleet-summary strong{font-size:19px}
  .fleet-empty{flex-wrap:wrap;padding:12px;gap:9px}
  .fleet-empty>div{min-width:180px}
  .transport-workspace .mixer-grid{grid-template-columns:1fr}
  .transport-workspace .grid-2{grid-template-columns:1fr}
}
.production-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:12px 14px;border:1px solid var(--hair);background:var(--solid);border-radius:10px;margin-bottom:14px}
.production-caption{display:block;color:var(--muted);margin-bottom:5px}
.production-date .row{gap:6px;flex-wrap:nowrap}
.production-date .icon-btn{width:29px;height:29px;border-radius:7px}
.production-date .icon-btn svg{width:15px;height:15px}
.production-date input{width:133px;padding:4px 8px}
.production-metrics{display:flex;align-items:center;gap:0}
.production-metrics>div{display:flex;align-items:center;gap:10px;padding:0 22px;border-left:1px solid var(--hair)}
.production-metrics>div>svg{width:30px;height:30px;padding:6px;background:var(--ui-tint);border-radius:8px;color:var(--accent-ink)}
.production-metrics span{color:var(--muted)}
.production-metrics strong{display:block;line-height:1.3;color:var(--ink);font-variant-numeric:tabular-nums}
.production-metrics small{font-size:11px;font-weight:500}
.production-section-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:9px;gap:10px}
.production-section-title>span:first-child{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:650}
.production-section-title svg{width:16px;height:16px;color:var(--accent-ink)}
.production-section-title>span:last-child{font-size:10px;color:var(--muted)}
.production-grid{gap:12px;align-items:start}
.production-grid .card{border-radius:10px;box-shadow:none}
.production-grid h3{font-size:12px;display:flex;align-items:center;gap:7px}
.production-plan-empty{padding:13px}
.production-empty{display:flex;align-items:center;gap:10px;padding:17px 0 5px}
.production-empty>svg{width:31px;height:31px;color:var(--accent-ink);flex:none}
.production-empty>div{flex:1}
.production-empty b{font-size:11px}
.production-empty p{margin:4px 0 0;font-size:10px;color:var(--muted);line-height:1.5}
.production-grid .tbl{min-width:420px}
.production-grid .plan-row{padding:12px 0}
.production-grid .plan-time{font-size:13px}
.production-grid .plan-body>b{font-size:12px}
.production-grid .plan-body .mini{font-size:10px}
.production-grid .dt-line{padding:10px 0;gap:10px}
.production-grid .note{font-size:10px;padding:8px}
@container(max-width:950px){
  .production-toolbar{flex-wrap:wrap;gap:12px}
  .production-metrics{flex:1;justify-content:flex-end}
  .production-metrics>div{padding:0 12px}
  .production-grid{grid-template-columns:1fr}
  .production-empty{padding-bottom:8px}
}
@media(max-width:700px){
  .production-toolbar{padding:11px;gap:13px}
  .production-date{width:100%}
  .production-date .row{justify-content:space-between}
  .production-date input{flex:1}
  .production-metrics{width:100%;justify-content:space-between;border-top:1px solid var(--hair);padding-top:10px}
  .production-metrics>div{padding:0 8px;gap:5px;flex:1}
  .production-metrics>div:first-child{border:0;padding-left:0}
  .production-metrics>div>svg{display:none}
  .production-metrics span{font-size:9px}
  .production-metrics strong{font-size:18px}
  .production-section-title>span:last-child{font-size:9px}
  .production-empty{flex-wrap:wrap}
  .production-grid{grid-template-columns:1fr}
}
.contracts-workspace{border:1px solid var(--hair);border-radius:11px;background:var(--solid);overflow:hidden}
.contracts-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border-bottom:1px solid var(--hair)}
.contracts-tabs{display:flex;gap:6px;overflow:auto}
.contracts-tabs button{background:none;border:0;border-bottom:2px solid transparent;padding:9px 12px;font:inherit;font-size:11px;white-space:nowrap;color:var(--muted);cursor:pointer}
.contracts-tabs button[aria-pressed=true]{color:var(--accent-ink);border-color:var(--accent);background:var(--ui-tint)}
.contracts-workspace .section-toolbar{margin:0;padding:11px 14px;background:none;border:0;box-shadow:none}
.contracts-workspace .section-toolbar .search{width:100%;max-width:none;flex:1}
.contracts-workspace .section-toolbar .spacer{display:none}
.contracts-workspace #crudList>.card{border:0;border-radius:0;box-shadow:none}
.contracts-workspace .tbl td:first-child b{color:var(--accent-ink)}
.contracts-workspace .tbl{min-width:680px}
.modal:has(.contract-form){width:min(650px,calc(100vw / 1.1 - 24px));max-height:calc(96dvh / 1.1)}
.modal:has(.contract-form) .m-h{padding:14px 16px;border-bottom:1px solid var(--hair)}
.modal:has(.contract-form) .m-h h3{font-size:18px}
.modal:has(.contract-form) .m-h .mini{font-size:10px;margin-top:3px}
.modal:has(.contract-form) .m-b{padding:0 13px 8px;background:var(--solid)}
.modal:has(.contract-form) .m-f{padding:8px 13px;background:var(--solid);border-top:1px solid var(--hair)}
.contract-form{display:flex;flex-direction:column;gap:8px}
@media(max-width:700px){
  .contracts-toolbar{flex-wrap:wrap;gap:8px;padding:9px}
  .contracts-tabs{width:100%;order:2}
  .modal:has(.contract-form){width:100%;border-radius:10px 10px 0 0}
  .contract-section>header>span{display:none}
  .contract-fields .f-row{grid-template-columns:1fr}
  .contract-control>span{height:35px}
  .contract-fields{padding:9px 10px 0}
}
.customers-workspace{display:flex;flex-direction:column;min-width:0}
.customer-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}
.customer-stat{display:flex;align-items:flex-start;gap:15px;padding:16px;background:var(--solid);border:1px solid var(--hair);border-radius:10px;box-shadow:0 4px 18px rgba(35,55,100,.035)}
.customer-stat .icd{width:38px;height:38px;border-radius:10px;flex:none}
.customer-stat .icd svg{width:21px;height:21px}
.customer-stat>div{min-width:0}
.customer-stat span{color:var(--muted)}
.customer-stat strong{display:block;line-height:1.4;color:var(--ink);font-variant-numeric:tabular-nums}
.customer-stat small{display:block;color:var(--muted);font-size:9px}
.customer-filters{display:flex;align-items:flex-end;gap:12px;padding:12px;background:var(--solid);border:1px solid var(--hair);border-radius:11px}
.customer-filters .search{flex:1 1 270px;min-width:160px;margin:0}
.customer-filters>label{display:flex;flex-direction:column;gap:4px;color:var(--muted);font-size:10px;flex:1 1 100px;min-width:85px}
.customer-filters :is(select, input){width:100%}
.customer-table{overflow:hidden;border-radius:12px!important}
.customer-table .tbl{min-width:810px}
.customer-table .tbl th{white-space:nowrap}
.customer-table .tbl td{border-color:var(--hair)}
.customer-table .tbl td:first-child{width:35px}
.customer-table .tbl td:last-child{width:60px;text-align:center}
.customer-name{display:flex;align-items:center;gap:11px;text-align:left;background:none;border:0;padding:0;color:var(--ink);cursor:pointer;font:inherit}
.customer-name .avatar{width:33px;height:33px;min-width:33px;font-size:11px;background:var(--ui-tint);color:var(--accent-ink);border-radius:50%}
.customer-name b{font-size:11px;font-weight:600}
.customer-name small{display:block;margin-top:2px;color:var(--muted)}
.customer-cell{display:flex;align-items:center;gap:7px;white-space:nowrap}
.customer-cell svg{width:14px;height:14px;color:var(--accent-ink)}
.customer-term{white-space:nowrap}
.customer-table .badge{font-size:10px;border-radius:6px;padding:3px 7px}
.customer-table .icon-btn{width:28px;height:28px;border:0;background:none;box-shadow:none}
.customer-table .icon-btn svg{width:16px;height:16px}
.customer-table footer{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:14px 16px;border-top:1px solid var(--hair);font-size:11px;color:var(--muted)}
.customer-table footer nav{display:flex;gap:6px;align-items:center}
.customer-table footer button{display:grid;place-items:center;width:29px;height:29px;border:1px solid var(--hair);border-radius:6px;background:var(--solid);color:var(--ink);font:inherit;cursor:pointer}
.customer-table footer button[aria-current]{background:var(--accent);color:white;border-color:var(--accent)}
.customer-table footer button:disabled{opacity:.35;cursor:default}
.customer-table .empty{min-height:170px;gap:8px}
.customer-table .empty>svg{width:30px;height:30px;color:var(--accent-ink)}
@container(max-width:1050px){
  .customer-filters{flex-wrap:wrap}
  .customer-filters .search{flex-basis:100%}
  .customer-stat{padding:13px;gap:10px}
  .customer-stat small{font-size:8px}
}
@media(max-width:700px){
  .customers-workspace{gap:12px}
  .customers-heading h1{font-size:22px}
  .customers-heading p{font-size:10px}
  .customer-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .customer-stat{padding:11px;gap:8px}
  .customer-stat .icd{width:28px;height:28px}
  .customer-stat span{font-size:9px}
  .customer-stat strong{font-size:21px}
  .customer-stat small{font-size:8px}
  .customer-filters{gap:8px}
  .customer-filters>label{flex-basis:40%}
  .customer-table footer{align-items:flex-start;flex-direction:column;padding:12px}
}
.customer-filters>label :is(select, input){padding:5px 9px}
#content:has(.customers-workspace){padding-top:12px}
.customers-workspace{gap:10px}
.customers-summary{display:flex;align-items:center;gap:16px;padding:12px 14px;background:var(--solid);border:1px solid var(--hair);border-radius:10px}
.customers-summary .customer-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));flex:1;gap:0;min-width:0}
.customers-summary .customer-stat{align-items:center;gap:10px;border:0;border-radius:0;box-shadow:none;padding:0 14px;background:none;min-width:0}
.customers-summary .customer-stat:first-child{padding-left:0}
.customers-summary .customer-stat+.customer-stat{border-left:1px solid var(--hair)}
.customers-summary .customer-stat .icd{width:31px;height:31px;border-radius:8px}
.customers-summary .customer-stat .icd svg{width:17px;height:17px}
.customers-summary .customer-stat strong{font-size:20px;line-height:1.2}
.customers-summary .customer-stat span{font-size:10px;line-height:1.3}
.customers-summary .customer-stat>div{display:flex;flex-direction:column;gap:3px}
.customers-workspace .customer-filters{padding:9px 11px;gap:10px;border-radius:9px}
.customers-workspace .customer-table{border-radius:9px!important}
.customers-workspace .customer-table footer{padding:9px 13px}
@container(max-width:900px){
  .customers-summary{gap:10px;flex-wrap:wrap}
  .customers-summary .customer-stat{padding:0 8px;gap:7px}
  .customers-summary .customer-stat .icd{display:none}
  .customers-summary .customer-stats{flex-basis:70%}
}
@media(max-width:700px){
  .customers-summary{padding:10px;gap:12px}
  .customers-summary .customer-stats{flex:1 1 100%;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .customers-summary .customer-stat{padding:0 8px;gap:8px}
  .customers-summary .customer-stat .icd{display:flex}
  .customers-summary .customer-stat:nth-child(3){border:0;padding-left:0}
  .customers-workspace .customer-table footer{padding:10px}
  .customers-workspace{gap:9px}
}
:root{--ui-ease:cubic-bezier(.2,.7,.2,1);--ui-tint:rgba(var(--bz-rgb),.07);--ui-shadow:0 1px 2px rgba(0,0,0,.035)}
body{-webkit-font-smoothing:antialiased}
#app[hidden]{display:none!important}
#content{container-type:inline-size}
.num,.val,time{font-variant-numeric:tabular-nums}
.brand b{font-size:19px!important;letter-spacing:-.04em}
.brand span{font-size:9px!important;letter-spacing:.14em}
.brand img{width:30px;height:30px}
.nav-collapse{display:none;z-index:3;border:1px solid var(--hair)}
.nav-section-label{font-size:9px!important;letter-spacing:.09em;color:var(--muted);padding:0 10px 6px!important}
#sideNav nav a{gap:10px;box-shadow:none}
#sideNav nav a svg{flex:none}
#sideNav nav a:hover{background:var(--hover)}
#sideNav nav a.on{background:var(--ui-tint)!important;border-color:rgba(var(--bz-rgb),.12)}
#sideNav nav a.on::before{content:'';position:absolute}
.side-user{border:0;border-top:1px solid var(--hair);border-radius:0!important}
.side-user .avatar{width:30px;height:30px;font-size:12px}
.top-title h2{line-height:1.25}
.top-title span{margin-top:2px}
.topbar{box-shadow:none!important;background:var(--solid)!important;backdrop-filter:none!important;border-bottom:1px solid var(--hair)}
.top-search{width:220px!important;background:var(--field)!important;border:1px solid var(--hair)!important}
.top-date{padding-left:12px;border-left:1px solid var(--hair)}
@media(min-width:901px){
  #app>#sideNav.side{padding:14px 10px!important}
  #sideNav .brand{padding:2px 6px 18px!important;min-height:60px;gap:8px}
  .nav-collapse{display:grid;place-items:center;position:absolute;right:8px;top:17px;width:23px;height:26px;border-radius:6px;color:var(--muted);background:var(--field);cursor:pointer}
  .nav-collapse svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.6}
  #sideNav .side-user{margin:8px 0 0!important;padding:12px 5px 0!important}
  #app .topbar{height:58px;min-height:58px!important;padding:8px 20px!important;gap:10px}
  #app #content{padding:20px 20px 28px!important}
  #app.nav-compact{--erp-nav:66px}
  .nav-compact .brand>div,.nav-compact .nav-section-label,.nav-compact .side-user>div:not(.avatar){display:none!important}
  .nav-compact #sideNav .brand{padding:0 6px 18px!important;min-height:67px}
  .nav-compact .nav-collapse{top:49px;right:22px;height:17px;width:20px}
  .nav-compact .nav-collapse svg{transform:rotate(180deg)}
  .nav-compact #sideNav nav a{justify-content:center;padding:8px!important}
  .nav-compact #sideNav nav a span{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden}
  .nav-compact #sideNav .nav-section{border-bottom:1px solid var(--hair);padding-bottom:10px}
  .nav-compact .side-user{justify-content:center}
}
.page-shell .card,.page-shell .panel,.hero-card{border:1px solid var(--hair);border-radius:10px;background:var(--solid);box-shadow:var(--ui-shadow);backdrop-filter:none}
.card h3,.panel h3{font-size:14px;line-height:1.4;letter-spacing:-.02em}
.card h2{font-size:19px}
.page-shell .ph,.section-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:10px 12px;margin-bottom:12px;border:1px solid var(--hair);border-radius:10px;background:var(--solid);box-shadow:var(--ui-shadow)}
.ph h1,.ph h2{font-size:16px;line-height:1.35}
.ph .row{gap:8px}
.ph .note,.ph .mini{line-height:1.5}
.search,.ph .search{height:36px;min-height:36px;border-radius:8px}
.search input,.ph .search input{padding:7px 30px 7px 34px}
.search .si{left:11px;width:15px;height:15px}
.icon-btn{width:34px;height:34px;transition:background var(--ui-fast),transform var(--ui-fast)}
.icon-btn:active{transform:scale(.94)}
.stat.card{min-height:98px}
.stat .val{font-size:24px;letter-spacing:-.035em}
.stat .lbl{font-size:11px;color:var(--muted)}
.hero-card .val{font-size:28px}
.badge,.tbl td .badge{font-size:10px;line-height:1.4}
.tag{border-radius:5px}
.alert{border-radius:8px;padding:11px 13px;line-height:1.5}
.note{line-height:1.6}
.tbl{font-size:12px;border-collapse:separate;border-spacing:0}
.tbl th{position:sticky;top:0;z-index:1}
.tbl td{transition:background var(--ui-fast)}
.tbl .sub{font-size:10px;margin-top:3px}
.tbl td b{font-weight:600}
.page-shell .empty{min-height:100px;padding:24px 16px;line-height:1.6;color:var(--muted);background:transparent}
.empty b{font-weight:600;color:var(--ink-2)}
.empty svg{width:25px;height:25px;opacity:.6;margin-bottom:8px}
.pager{border-top:1px solid var(--hair);padding:10px 12px;gap:6px}
.tabs{gap:3px;padding:3px;border-radius:8px}
.tabs button{min-height:32px;padding:6px 11px;border-radius:5px!important;color:var(--muted);transition:color var(--ui-fast),background var(--ui-fast),box-shadow var(--ui-fast)}
.tabs button.on{background:var(--solid);color:var(--accent-ink);box-shadow:0 1px 3px rgba(0,0,0,.09);font-weight:650}
.tabs button:hover:not(.on){color:var(--ink);background:var(--hover)}
.fld label{color:var(--ink-2)}
.fld input,.fld select,.fld textarea{padding:8px 10px}
.fld input[type=checkbox],.fld input[type=radio]{min-height:0;width:17px;height:17px;padding:0;accent-color:var(--accent)}
.kv{gap:9px 14px}
.kv dt{color:var(--muted)}
.modal{transform:translate(-50%,calc(-50% + 10px)) scale(.99);transition:opacity var(--ui-time) var(--ui-ease),transform var(--ui-time) var(--ui-ease),visibility 0s linear var(--ui-time)}
.modal.on{transform:translate(-50%,-50%) scale(1);transition:opacity var(--ui-time) var(--ui-ease),transform var(--ui-time) var(--ui-ease)}
#modalVeil{backdrop-filter:none}
.modal .m-h h3{letter-spacing:-.025em}
.modal .m-b{padding:18px 20px}
.pop{z-index:75}
.login-card{border-radius:14px;box-shadow:0 12px 40px rgba(0,0,0,.08);border-top:3px solid var(--accent);padding:26px}
.login-card h2{font-size:22px}
.mixer-grid{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px}
.mixer{border-radius:10px;padding:15px;border:1px solid var(--hair);box-shadow:none}
.mixer .plate{font-size:18px;letter-spacing:.03em}
.plan-row{padding:12px 0;border-bottom:1px solid var(--hair)}
.plan-row:last-child{border-bottom:0}
.plan-time{background:var(--field);border:1px solid var(--hair);border-radius:6px;padding:6px;font-size:11px;min-width:45px}
.plan-body b{font-size:12px}
.plan-body .mini{font-size:10px}
.dt-line{padding:11px 0}
.prg,.progress,.hbar .trk{height:5px;border-radius:4px}
.prg>i,.progress>i,.hbar .trk>i{transition:width var(--ui-time) var(--ui-ease);transform-origin:left}
.dashboard-page{display:flex;flex-direction:column}
.dashboard-page>section{flex-shrink:0}
.dashboard-page .dash-stat{display:flex;flex-direction:column;transition:border-color var(--ui-fast),box-shadow var(--ui-fast),transform var(--ui-fast)}
.dashboard-page .dash-stat .icd svg{width:16px;height:16px}
.dashboard-page .dash-stat .lbl{margin:0;line-height:1.35;color:var(--muted)}
.dashboard-page .dash-stat .val{margin:9px 0 0;letter-spacing:-.035em;white-space:normal;overflow-wrap:anywhere}
.dashboard-page .dash-stat .mini{color:var(--muted)}
.dash-board{order:4;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr)}
.dash-board>.card{min-width:0;padding:14px!important;border-radius:10px;flex:none}
.dash-plan{order:1}
.dash-materials{order:0}
.dash-activity{order:2}
.dash-overdue{order:3}
.dash-top{order:4}
.dash-products{order:5}
.dash-trend{order:6}
.dash-card-head{min-height:30px;margin:0 0 12px}
.dash-card-head h3{letter-spacing:-.02em}
.dash-card-head h3 svg{width:14px;height:14px;vertical-align:-2px}
.dash-activity-row{grid-template-columns:27px minmax(0,1fr) auto}
.dash-trend .bars{height:110px}
@keyframes ui-enter{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@keyframes ui-shimmer{from{transform:translateX(-100%)}to{transform:translateX(100%)}}
.bars>i{transform-origin:bottom;transition:height var(--ui-time) var(--ui-ease),opacity var(--ui-fast)}
.page-loading{display:block;min-height:220px;padding:12px 0;color:var(--muted);font-size:12px}
.loading-preview{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:18px}
.loading-preview i,.loading-preview b{position:relative;overflow:hidden;display:block;height:95px;border:1px solid var(--hair);border-radius:10px;background:var(--field)}
.loading-preview b{grid-column:1/-1;height:135px}
.loading-preview i::after,.loading-preview b::after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,transparent,var(--ui-tint),transparent);animation:ui-shimmer 1.2s ease-in-out infinite}
details[open]>:not(summary){animation:ui-enter var(--ui-time) var(--ui-ease)}
@container(max-width:900px){
  .dash-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}
  .dashboard-page .dash-primary{grid-template-columns:repeat(2,minmax(0,1fr))}
  .dash-board{grid-template-columns:1fr}
  .dash-hero .dash-actions{max-width:255px}
  .dash-periods>span:last-child:not(:first-child){display:none}
}
@container(max-width:540px){
  .dashboard-page .dash-hero{align-items:flex-start;flex-direction:column;gap:12px}
  .dash-hero .dash-actions{max-width:100%}
  .dashboard-page .dash-secondary{grid-template-columns:repeat(2,minmax(0,1fr))}
  .dash-signals{grid-template-columns:1fr}
  .dash-shortcut small{display:none}
  .dashboard-page .dash-stat .val{font-size:23px}
  .dashboard-page .dash-secondary .dash-stat .val{font-size:19px}
}
@media(max-width:1180px){
  .top-date{display:none}
  .top-search{width:170px!important}
}
@media(max-width:900px){
  .brand{gap:8px}
  #sideVeil{backdrop-filter:none}
  .bnav{background:var(--solid);backdrop-filter:none}
  .topbar{min-height:52px!important;gap:7px;padding:8px 12px!important}
  .top-title h2{font-size:16px}
  .ph>.fld{flex:1 1 130px;min-width:0!important}
  .ph>.fld input,.ph>.fld select{width:100%}
  .bnav a{font-size:9px}
  .page-shell .ph{padding:9px}
  .icon-btn{min-width:36px;min-height:36px}
}
@media(max-width:560px){
  .ph .search{min-width:0}
  .modal,.modal.wide{transform:translateY(100%);border-radius:14px 14px 0 0}
  .modal.on{transform:translateY(0)}
  .modal .m-h,.modal .m-b{padding:14px}
  .modal .m-f{padding:11px 14px calc(11px + var(--safe-b))}
  .dashboard-page{gap:14px}
  .dash-hero h1{font-size:22px!important}
  .dashboard-page .dash-stat,.dashboard-page .dash-primary .dash-stat{padding:11px;min-height:105px}
  .dashboard-page .dash-stat .icd{width:23px;height:23px}
  .dash-stat-main{gap:5px}
  .dashboard-page .dash-stat .lbl{font-size:10px}
  .loading-preview{grid-template-columns:repeat(2,1fr)}
  .login-card{padding:22px}
}
@media(max-width:900px){
  html{overflow-x:clip}
  body{height:auto!important;min-height:calc(100dvh / 1.1)}
  body:not(.lock){overflow:visible}
  #content{scrollbar-gutter:auto}
  .bnav{left:0!important;right:0!important;bottom:0!important;width:100%!important;max-width:none!important;transform:none!important;border-radius:0!important;border:0;border-top:1px solid var(--hair);box-shadow:0 -2px 8px rgba(0,0,0,.035);padding:5px 4px calc(5px + var(--safe-b))!important}
}
@media screen{
  #loginScreen{min-height:calc(100dvh / 1.1)}
}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
  .loading-preview i::after,.loading-preview b::after{display:none}
}
@media print{
  html{zoom:1}
  .nav-collapse{display:none!important}
  *,*::before,*::after{animation:none!important;transition:none!important}
}
.page-buyurtmalar{--orders-pad:14px}
.orders-page{display:flex;flex-direction:column;gap:12px}
.orders-toolbar{display:grid;grid-template-columns:minmax(260px,430px) minmax(250px,1fr) auto;align-items:center;gap:12px;padding:14px;border:1px solid var(--hair);border-radius:12px;background:var(--solid);box-shadow:var(--ui-shadow)}
.orders-search{width:100%;max-width:none!important}
.orders-search input{width:100%}
.orders-overview{display:flex;justify-content:flex-end;align-items:center;gap:16px;min-width:0;color:var(--muted);font-size:10px;white-space:nowrap}
.orders-overview span{display:flex;align-items:baseline;gap:4px}
.orders-overview span+span{padding-left:16px;border-left:1px solid var(--hair)}
.orders-overview b{font-size:14px;color:var(--ink);font-variant-numeric:tabular-nums}
.orders-create{min-width:142px;justify-self:end}
.orders-status{display:flex;gap:5px;max-width:100%;padding:3px 0 6px;overflow-x:auto;scrollbar-width:thin}
.orders-status button{display:inline-flex;align-items:center;gap:7px;flex:none;min-height:31px;padding:5px 9px;border:1px solid var(--hair);border-radius:7px;background:var(--solid);color:var(--muted);font-weight:600;line-height:18px;white-space:nowrap}
.orders-status button:hover{color:var(--ink);background:var(--ui-tint)}
.orders-status button:active{transform:none}
.orders-status button.on{color:var(--accent-ink);background:var(--ui-tint);border-color:rgba(var(--bz-rgb),.35)}
.orders-status button b{display:grid;place-items:center;min-width:18px;height:18px;padding:0 5px;border-radius:5px;background:var(--field);color:inherit;font-variant-numeric:tabular-nums}
.orders-status button.on b{background:rgba(var(--bz-rgb),.12)}
.orders-table-card{overflow:hidden;border-radius:12px!important}
.orders-table-head{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:52px;padding:10px 14px;border-bottom:1px solid var(--hair)}
.orders-table-head>div b,.orders-table-head>div span{display:block}
.orders-table-head>div b{font-size:13px}
.orders-table-head>div span,.orders-table-head>span{margin-top:2px;color:var(--muted);font-size:10px}
.orders-table tbody tr{cursor:pointer}
.orders-table .order-number{color:var(--accent-ink);font-weight:700;letter-spacing:.01em}
.orders-table .prg-lbl{font-size:9px;gap:8px}
.orders-table .prg{margin-top:6px}
.orders-empty{display:flex;min-height:280px;flex-direction:column;align-items:center;justify-content:center;padding:34px 16px;color:var(--muted);text-align:center}
.orders-empty>svg{width:46px;height:46px;margin-bottom:14px;padding:10px;border-radius:14px;background:var(--ui-tint);color:var(--accent-ink)}
.orders-empty b{color:var(--ink);font-size:16px}
.orders-empty span{max-width:380px;margin:6px 0 16px;line-height:1.55}
.modal:has(.order-form){width:min(940px,calc(100vw / 1.1 - 28px));max-height:calc(100dvh / 1.1 - 24px)}
.order-form{display:flex;flex-direction:column}
.order-form-section{border:1px solid var(--hair);background:var(--solid);overflow:hidden}
.order-form-section>header{display:flex;border-bottom:1px solid var(--hair)}
.order-form-section>header .icd{flex:none}
.order-form-section>header h4{margin:0;color:var(--ink)}
.order-form-section>header p{color:var(--muted)}
.order-form-fields .fld textarea{resize:vertical}
.order-form .order-parties{grid-template-columns:1.15fr 1fr 1fr}
.order-products .order-form-fields{padding-bottom:12px}
.order-products .items-tbl{min-width:620px}
.order-products .items-tbl th{position:static;height:31px}
.order-products .items-tbl td{height:42px;padding:5px}
.order-products .items-tbl .del{display:grid;place-items:center;width:30px;height:30px;border-radius:6px;background:var(--red-bg);color:var(--red);font-size:16px}
.order-products #ieAdd{min-height:31px;background:var(--ui-tint);color:var(--accent-ink)}
.order-products .total-row{font-size:12px}
.order-products #ieTotal{font-size:14px;color:var(--accent-ink);font-variant-numeric:tabular-nums}
.order-total{bottom:-14px;z-index:3;display:flex;align-items:center;justify-content:space-between;gap:14px;border-top:1px solid rgba(var(--bz-rgb),.22);background:var(--solid)}
.order-total span{color:var(--muted);font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.04em}
.order-total strong{color:var(--accent-ink);letter-spacing:-.025em;font-variant-numeric:tabular-nums}
@container(max-width:880px){
  .orders-toolbar{grid-template-columns:minmax(220px,1fr) auto}
  .orders-overview{grid-column:1/-1;grid-row:2;justify-content:flex-start}
  .orders-create{grid-column:2;grid-row:1}
}
@media(max-width:900px){
  .modal:has(.order-form){width:100%;max-height:calc(94dvh / 1.1);border-radius:14px 14px 0 0}
  .modal:has(.order-form) .m-b{padding:10px}
  .order-form .order-parties{grid-template-columns:1fr}
  .order-form-section>header p{display:none}
  .order-total{bottom:-10px;margin:0 -10px -10px}
}
@media(max-width:700px){
  .orders-toolbar{display:flex;align-items:stretch;gap:8px;padding:10px;flex-wrap:wrap}
  .orders-search{flex:1 1 100%;order:0}
  .orders-create{flex:1 1 auto;order:1;min-width:0}
  .orders-overview{order:2;width:100%;justify-content:space-between;gap:4px}
  .orders-overview span+span{padding-left:6px}
  .orders-overview span{gap:3px}
  .orders-status{margin:0 -1px}
  .orders-table-head{min-height:48px;padding:9px 11px}
  .orders-table-head>span{display:none}
  .orders-table thead{display:none}
  .orders-table,.orders-table tbody{display:block}
  .orders-table tbody{padding:8px}
  .orders-table tbody tr{position:relative;display:grid;grid-template-columns:1fr 1fr;gap:9px 12px;margin-bottom:8px;padding:12px;border:1px solid var(--hair);border-radius:9px;background:var(--solid)}
  .orders-table tbody tr:last-child{margin-bottom:0}
  .orders-table tbody td{display:block;height:auto;padding:0!important;border:0;background:transparent!important;text-align:left!important;min-width:0}
  .orders-table tbody td::before{content:attr(data-label);display:block;margin-bottom:3px;color:var(--muted);font-size:8px;font-weight:650;text-transform:uppercase;letter-spacing:.04em}
  .orders-table tbody td:nth-child(1),.orders-table tbody td:nth-child(2),.orders-table tbody td:nth-child(6){grid-column:1/-1}
  .orders-table .order-open{position:absolute;right:10px;top:12px;width:18px}
  .orders-table .order-open::before{display:none}
  .orders-table .order-open svg{width:13px}
  .orders-table .badge{display:inline-block}
  .orders-table .prg-lbl{max-width:210px}
  .orders-empty{min-height:230px}
  .orders-table tbody tr:has(.orders-empty){display:block;padding:0}
  .orders-table tbody td:has(.orders-empty){display:block}
  .order-form-section>header{padding:9px 10px}
  .order-form-fields{padding:11px 10px 1px}
  .order-form .f-row,.order-form .f-row3{grid-template-columns:1fr;gap:0}
  .order-products .items-tbl{min-width:545px}
  .order-total span{font-size:9px}
  .order-total strong{font-size:18px}
}
.modal:has(.order-form){width:min(770px,calc(100vw / 1.1 - 28px));max-height:calc(94dvh / 1.1)}
.modal:has(.order-form) .m-h{padding:18px 20px 16px;border-bottom:0;background:var(--solid)}
.modal:has(.order-form) .m-h h3{font-size:18px;line-height:1.25;letter-spacing:-.025em}
.modal:has(.order-form) .m-h .mini{font-size:11px;margin-top:3px;color:var(--muted)}
.modal:has(.order-form) .m-b{padding:0 13px 13px;background:var(--solid)}
.modal:has(.order-form) .m-f{padding:11px 16px;border-top:1px solid var(--hair);background:var(--solid);gap:9px}
.order-form{gap:10px}
.order-form-section>header{padding:12px 14px 10px;min-height:43px;gap:10px;align-items:flex-start}
.order-form-section>header .icd{width:18px;height:20px;background:none;color:var(--accent-ink);border-radius:0}
.order-form-section>header .icd svg{width:18px;height:18px}
.order-form-section>header>div{display:flex;align-items:baseline;flex-wrap:wrap;gap:5px 12px}
.order-form-section>header h4{line-height:20px;letter-spacing:-.02em}
.order-form-section>header p{display:block;margin:0}
.order-form-fields{padding:0 14px 0}
.order-form-fields .fld{margin-bottom:12px}
.order-form-fields .fld label{line-height:14px;margin-bottom:5px}
.order-form .f-row,.order-form .f-row3{gap:0 14px}
.order-form .order-parties{grid-template-columns:repeat(3,minmax(0,1fr))}
.order-control{position:relative}
.order-field-icon{position:absolute;left:11px;display:flex;width:14px;height:14px;color:var(--ink-2);pointer-events:none}
.order-field-icon svg{width:14px;height:14px}
.order-form-fields .order-control :is(input, select){padding:5px 28px 5px 36px}
.order-form-fields .order-control input[type=date],.order-form-fields .order-control input[type=time]{padding-right:10px}
.order-form-fields .hint{font-size:9px;margin-top:4px;line-height:14px}
.order-total{position:static;min-height:42px;margin:0;padding:8px 14px;border:1px solid var(--hair);border-radius:7px;box-shadow:none}
.order-total strong{font-size:17px}
[data-theme="light"] .modal:has(.order-form){color:#1f2023;box-shadow:0 24px 80px #1f202333}
[data-theme="light"] .order-form-section h4,[data-theme="light"] .modal:has(.order-form) .m-h h3{color:#1f2023}
[data-theme="light"] .order-form-fields label,[data-theme="light"] .order-field-icon{color:#425374}
[data-theme="light"] .modal:has(.order-form) .m-f{background:#fafafb}
@media(max-width:700px){
  .modal:has(.order-form){width:100%;max-height:calc(96dvh / 1.1);border-radius:10px 10px 0 0}
  .modal:has(.order-form) .m-h{padding:14px}
  .order-form .order-parties{grid-template-columns:1fr}
  .order-form-section>header>div{display:block}
  .order-form-section>header p{font-size:9px;line-height:14px}
  .order-field-icon{top:11px}
}
.products-shell .tbl td:last-child{text-align:right;width:40px}
@media(max-width:700px){
  .products-shell .product-list-pane .section-toolbar{flex-wrap:wrap}
  .products-shell .product-filters select{min-width:0;width:auto;flex:1}
}
.products-shell{display:flex;min-width:0;flex-direction:column}
.products-shell>.tabs{display:flex;align-self:stretch;width:100%;margin:0;padding:0;border:0;border-bottom:1px solid var(--hair);border-radius:0;background:transparent;box-shadow:none;overflow:auto}
.products-shell>.tabs button{border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent!important;color:var(--muted);transition:color var(--ui-fast),border-color var(--ui-fast)}
.products-shell>.tabs button:hover{color:var(--ink)}
.products-shell>.tabs button.on{border-color:var(--accent);color:var(--accent-ink);box-shadow:none}
.products-workspace{display:flex;min-width:0;flex-direction:column}
.product-summary{display:flex;align-items:center}
.product-summary-title{display:flex;align-items:center}
.product-summary-title>.icd{flex:none}
.product-summary-title b,.product-summary-title small{display:block}
.product-summary-title b{letter-spacing:-.02em}
.product-summary-title small{color:var(--muted);line-height:1.35}
.product-kpis{display:grid;grid-template-columns:repeat(4,minmax(85px,1fr));flex:1}
.product-kpis article{min-width:0;border-left:1px solid rgba(var(--bz-rgb),.11)}
.product-kpis span,.product-kpis strong{display:block}
.product-kpis span{color:var(--muted);white-space:nowrap}
.product-kpis strong{color:var(--ink);line-height:1.2;font-variant-numeric:tabular-nums}
.product-directory-grid{display:grid;grid-template-columns:minmax(0,3fr) minmax(270px,1fr);align-items:start}
.product-list-pane,.product-category-pane{min-width:0;overflow:hidden;background:var(--solid)}
.product-list-pane>header,.product-category-pane>header{display:flex;align-items:center;justify-content:space-between;gap:10px}
.product-list-pane>header b,.product-list-pane>header small,.product-category-pane>header b,.product-category-pane>header small{display:block}
.product-list-pane>header small,.product-category-pane>header small{color:var(--muted)}
.product-list-pane>header>span,.product-pane-tools>span{border-radius:999px;background:var(--ui-tint);color:var(--accent-ink);white-space:nowrap}
.product-pane-tools{display:flex;align-items:center}
.product-pane-tools #categoryAction{display:flex}
.product-list-pane .section-toolbar{display:flex;border:0;box-shadow:none}
.product-list-pane .section-toolbar .spacer{display:none}
.product-list-pane .section-toolbar .search{width:auto;max-width:none;flex:1}
.product-filters{display:flex}
.product-list-pane #crudList>.card,.product-category-pane #crudList>.card{margin:0;border:0;border-radius:0;box-shadow:none}
.product-list-pane .tbl{width:100%;table-layout:fixed}
.product-category-pane thead{display:none}
.product-list-pane .tbl tbody tr,.product-category-pane .tbl tbody tr{transition:background var(--ui-fast)}
.product-list-pane .icon-btn:focus-visible,.product-category-pane .icon-btn:focus-visible{outline-offset:1px}
.product-code{letter-spacing:.02em}
.product-name-cell b,.product-name-cell small{display:block}
.product-name-cell small{color:var(--muted)}
.product-category{display:inline-flex;align-items:center}
.product-unit{white-space:nowrap}
.product-status{display:inline-flex;align-items:center;gap:5px;border-radius:999px}
.product-status i{border-radius:50%;background:currentColor}
.product-status.is-inactive{color:var(--red);background:var(--red-bg)}
.product-category-cell{display:grid;grid-template-columns:25px minmax(0,1fr) auto;align-items:center}
.product-category-cell>span:first-child{display:grid;place-items:center;background:var(--ui-tint);color:var(--accent-ink)}
.product-category-cell b{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.product-category-cell em{display:grid;place-items:center;border-radius:999px;color:var(--ink-2);font-style:normal;font-weight:700}
@container(max-width:1050px){
  .product-summary{align-items:flex-start;flex-wrap:wrap}
  .product-summary-title{min-width:210px}
  .product-kpis{min-width:440px}
  .product-kpis article{padding:0 10px}
  .product-directory-grid{grid-template-columns:minmax(0,3fr) minmax(245px,1fr)}
  .product-filters select{width:125px}
  .product-filters select:last-child{width:95px}
}
@container(max-width:850px){
  .product-directory-grid{grid-template-columns:1fr}
  .product-category-pane .tbl{min-width:100%}
  .product-list-pane .section-toolbar{flex-wrap:wrap}
  .product-list-pane .section-toolbar .search{flex:1 1 100%}
  .product-filters{flex:1}
  .product-filters select{flex:1;width:auto!important}
}
@media(max-width:700px){
  .products-shell{gap:8px}
  .products-shell>.tabs{gap:16px}
  .products-shell>.tabs button{font-size:9px}
  .product-summary{display:grid;grid-template-columns:minmax(0,1fr);padding:10px;gap:9px}
  .product-summary-title{width:auto;min-width:0}
  .product-kpis{min-width:0;width:auto;grid-template-columns:repeat(2,minmax(0,1fr));gap:0}
  .product-kpis article{padding:7px 9px;border-top:1px solid rgba(var(--bz-rgb),.1)}
  .product-kpis article:nth-child(odd){padding-left:0;border-left:0}
  .product-kpis span{font-size:8px}
  .product-kpis strong{font-size:16px}
  .product-directory-grid{grid-template-columns:minmax(0,1fr)}
  .product-list-pane,.product-category-pane{width:100%;max-width:100%}
  .product-list-pane>header,.product-category-pane>header{padding:8px 10px}
  .product-list-pane .section-toolbar{align-items:stretch;margin:0 8px 7px;gap:6px}
  .product-list-pane .section-toolbar .search{width:100%;flex:1 1 100%}
  .product-filters{width:100%;flex:1 1 100%}
  .product-list-pane .tbl td,.product-category-pane .tbl td{height:38px}
}
@media (prefers-reduced-motion: reduce){
  .page-shell.page-revealed{animation:none}
}
:root{--font:-apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', Inter, sans-serif;--erp-nav:228px;--erp-radius:14px;--erp-gap:12px;--ui-fast:180ms;--ui-time:220ms;--surface-radius:14px;--surface-shadow:0 2px 10px rgba(15,23,42,.03);--control-radius:10px}
[data-theme="light"]{--solid:#fff;--ink:#111827;--ink-2:#374151;--muted:#6b7280;--hair:rgba(15,23,42,.06);--field:#f5f6f8;--hover:#fafafa}
body{font-family:var(--font);line-height:1.5;background:var(--bg)}
#app,#app>.main{background:var(--bg)}
#app #content{padding:16px 20px 28px!important}
#app .topbar{min-height:60px!important;height:60px;gap:12px}
.top-title h2{font-size:22px;font-weight:650;letter-spacing:-.035em}
.top-search{height:36px!important;border-radius:var(--control-radius)!important;border-color:transparent!important}
#sideNav .nav-section{margin-bottom:12px!important}
#sideNav .nav-section-label{padding-bottom:6px!important}
#sideNav nav a.on{border:0}
#app #sideNav .side-user{padding:10px!important;border:1px solid var(--hair);border-radius:12px!important;background:var(--field)}
.side-user .avatar{border-radius:10px}
.page-shell :is(.card, .panel, .contracts-workspace, .product-list-pane, .product-category-pane, .orders-toolbar, .customers-summary, .warehouse-summary, .fleet-summary, .production-toolbar){border-color:var(--hair);border-radius:var(--surface-radius);box-shadow:var(--surface-shadow);background:var(--solid)}
.page-shell :is(.card, .panel) h3{font-size:15px;font-weight:600}
.page-shell .section-toolbar,.page-shell>.ph{border-color:var(--hair);border-radius:12px;box-shadow:none;padding:10px 12px;gap:8px}
.icon-btn{border-radius:10px}
.badge,.tbl td .badge{border:0;box-shadow:none;border-radius:7px;padding:3px 8px;font-weight:500}
.page-shell .tbl .sub{font-weight:400}
.tbl-wrap{overflow-x:auto;border-radius:12px}
.tbl td.num,.tbl th.num{text-align:right;font-variant-numeric:tabular-nums}
.page-shell .tabs{background:transparent;border:0;border-bottom:1px solid var(--hair);border-radius:0;padding:0;gap:16px;max-width:100%;overflow-x:auto}
.page-shell .tabs button{border-radius:0!important;min-height:34px;padding:6px 2px;border-bottom:2px solid transparent;background:transparent!important;box-shadow:none;white-space:nowrap}
.page-shell .tabs button.on{border-bottom-color:var(--accent);font-weight:600}
.page-shell .search{border-radius:10px}
.fld label,.order-form-fields .fld label{font-size:11px;font-weight:500}
.order-field-icon{top:11px}
.modal,.modal:has(.order-form),.modal:has(.contract-form){border-radius:18px;box-shadow:0 20px 70px rgba(15,23,42,.18)}
.modal .m-h{padding:16px 20px;background:var(--solid)}
.modal .m-h h3{font-size:19px;font-weight:600}
.modal .m-f{gap:8px;padding:12px 16px;background:var(--solid)}
.order-form-section{border-radius:12px;border-color:var(--hair)}
.order-form-section>header{background:var(--field);border:0}
.dashboard-page{gap:12px}
.dashboard-page .dash-stat .lbl{font-size:12px;font-weight:500}
.dashboard-page .dash-stat .val{font-size:27px;font-weight:650;line-height:1.2}
.dashboard-page .dash-stat .mini{font-size:11px}
.dashboard-page .dash-stat .icd{width:32px;height:32px;border-radius:10px}
.dashboard-page .dash-board>.card{padding:16px!important;border-radius:14px}
.dash-card-head{border-bottom:0;padding-bottom:0}
.dash-card-head h3{font-size:15px!important;font-weight:600}
.dash-activity-row{min-height:44px;border-color:var(--hair)}
.product-summary{background:var(--solid);border-radius:14px}
.product-kpis article{border-left-color:var(--hair)}
.products-shell{width:100%;gap:16px}
.products-shell>.tabs{min-height:40px;gap:26px}
.products-shell>.tabs button{min-height:40px;padding:8px 2px;font-size:13px;font-weight:500}
.products-shell>.tabs button.on{font-weight:650}
.products-workspace{gap:16px}
.product-summary{min-height:82px;padding:14px 16px;gap:20px;border:1px solid var(--hair);box-shadow:var(--surface-shadow)}
.product-summary-title{min-width:270px;gap:12px}
.product-summary-title>.icd{width:38px;height:38px;border-radius:12px}
.product-summary-title>.icd svg{width:20px;height:20px}
.product-summary-title b{font-size:15px;font-weight:600}
.product-summary-title small{margin-top:3px}
.product-kpis article{padding:0 20px}
.product-kpis span{font-weight:500}
.product-kpis strong{margin-top:3px;font-weight:650}
.product-directory-grid{grid-template-columns:minmax(0,1fr) 312px;gap:16px}
.product-list-pane,.product-category-pane{border:1px solid var(--hair);border-radius:16px;box-shadow:var(--surface-shadow)}
.product-list-pane>header,.product-category-pane>header{min-height:64px;padding:14px 16px 10px}
.product-list-pane>header b,.product-category-pane>header b{font-size:16px;font-weight:600}
.product-list-pane>header small,.product-category-pane>header small{margin-top:3px;font-size:11px}
.product-list-pane>header>span,.product-pane-tools>span{padding:4px 8px;font-size:10px;font-weight:600}
.product-pane-tools{gap:8px}
.product-list-pane .section-toolbar{min-height:56px;margin:0 12px 12px;padding:8px;gap:10px;border-radius:12px;background:var(--field)}
.product-list-pane .section-toolbar .search input{padding-left:38px}
.product-filters{gap:8px}
.product-filters select{width:170px;padding:6px 32px 6px 11px}
.product-filters select:last-child{width:132px}
.product-list-pane .tbl{min-width:600px}
.product-list-pane .tbl th:last-child,.product-list-pane .tbl td:last-child{width:42px!important;min-width:42px!important;max-width:42px!important;text-align:center!important}
.product-list-pane .tbl tbody tr+tr td{box-shadow:inset 0 1px var(--hair)}
.product-code{font-size:12px;color:var(--muted)}
.product-name-cell b{font-size:13px;font-weight:600}
.product-name-cell small{margin-top:2px}
.product-category{min-height:25px;padding:3px 9px;border-radius:999px;background:var(--ui-tint);color:var(--ink-2);font-weight:500}
.product-unit{font-size:12px;font-weight:600}
.product-status{min-height:27px;padding:3px 10px;font-size:11px;font-weight:600}
.product-status.is-active{color:#15803d;background:rgba(34,197,94,.10)}
.product-status i{width:6px;height:6px}
.product-category-pane .tbl tbody tr+tr td{box-shadow:inset 0 1px var(--hair)}
.product-category-cell{grid-template-columns:30px minmax(0,1fr) auto;gap:10px}
.product-category-cell>span:first-child{width:30px;height:30px;border-radius:9px}
.product-category-cell svg{width:15px;height:15px}
.product-category-cell b{font-weight:600}
.product-category-cell em{min-width:27px;height:24px;padding:0 8px;background:var(--field)}
@container(max-width:1080px){
  .product-summary{flex-wrap:wrap}
  .product-summary-title{min-width:240px}
  .product-kpis{min-width:480px}
  .product-directory-grid{grid-template-columns:minmax(0,1fr) 280px}
  .product-filters select{width:145px}
}
@container(max-width:880px){
  .product-directory-grid{grid-template-columns:1fr}
  .product-category-pane .tbl{min-width:100%}
  .product-list-pane .section-toolbar .search{flex:1 1 100%}
  .product-filters{flex:1}
  .product-filters select{flex:1;width:auto!important}
}
@media(max-width:700px){
  .products-shell{gap:12px}
  .products-shell>.tabs{gap:18px}
  .products-shell>.tabs button{min-height:38px;font-size:12px}
  .product-summary{display:grid;padding:14px;gap:12px}
  .product-summary-title{min-width:0}
  .product-kpis{min-width:0;grid-template-columns:repeat(2,minmax(0,1fr))}
  .product-kpis article{padding:8px 10px;border-top:1px solid var(--hair)}
  .product-kpis article:nth-child(odd){padding-left:0;border-left:0}
  .product-list-pane>header,.product-category-pane>header{min-height:58px;padding:13px 14px}
  .product-list-pane .section-toolbar{margin:0 10px 10px;padding:8px}
  .product-list-pane .tbl th{padding:8px 12px}
  .product-list-pane .tbl td{height:46px;padding:8px 12px}
}
.product-list-pane .section-toolbar{flex-wrap:wrap}
.product-list-pane .section-toolbar .search{min-width:160px}
.product-category-cell b{font-size:12px}
.product-category-pane .tbl{min-width:0;width:100%;table-layout:fixed}
.product-category-pane .tbl td:last-child{width:40px}
.product-category-pane .product-pane-tools{margin-left:auto}
.product-category-pane>header{flex-wrap:nowrap}
.product-category-pane .product-pane-tools{flex:none}
.product-list-pane .tbl th:nth-child(1){width:12%}
.product-list-pane .tbl th:nth-child(2){width:30%}
.product-list-pane .tbl th:nth-child(3){width:17%}
.product-list-pane .tbl th:nth-child(4){width:12%}
.product-list-pane .tbl th:nth-child(5){width:calc(29% - 42px)}
.product-list-pane .tbl th:nth-child(6),.product-list-pane .tbl td:nth-child(6){width:42px!important;min-width:42px!important;max-width:42px!important;padding-inline:4px!important;text-align:center!important}
.product-list-pane .icon-btn,.product-category-pane .icon-btn{width:24px!important;height:24px!important;min-width:24px!important;min-height:24px!important;padding:0!important;border-radius:7px}
body:has(#modal[data-variant="lab-test"].on) #modalVeil{background:rgba(15,23,42,.20);backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}
#modal[data-variant="lab-test"]{width:min(1000px,calc(100vw / 1.1 - 48px));max-height:calc(100dvh / 1.1 - 42px);border:1px solid var(--hair);border-radius:20px;background:var(--solid);box-shadow:0 24px 70px rgba(15,23,42,.18)}
#modal[data-variant="lab-test"] .m-h{padding:18px 24px;border-bottom:1px solid var(--hair)}
#modal[data-variant="lab-test"] .modal-heading{display:flex;align-items:center;min-width:0;gap:14px}
#modal[data-variant="lab-test"] .modal-heading-icon{display:grid;place-items:center;width:48px;height:48px;flex:none;border-radius:14px;color:var(--accent-ink);background:var(--ui-tint)}
#modal[data-variant="lab-test"] .modal-heading-icon svg{width:22px;height:22px}
#modal[data-variant="lab-test"] .m-h h3{margin:0;font-size:21px;font-weight:700;line-height:1.2;letter-spacing:-.035em}
#modal[data-variant="lab-test"] .m-h .mini{margin-top:4px;color:var(--muted);font-size:12px;line-height:1.45}
#modal[data-variant="lab-test"] .m-h .icon-btn{width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important;border:1px solid var(--hair);border-radius:11px;background:var(--solid)}
#modal[data-variant="lab-test"] .m-h .icon-btn:hover{background:var(--field-bg)}
#modal[data-variant="lab-test"] .m-h .icon-btn:active{transform:scale(.96)}
#modal[data-variant="lab-test"] .m-b{padding:18px 24px 14px;background:var(--solid)}
#modal[data-variant="lab-test"] .f-row{gap:0 16px}
#modal[data-variant="lab-test"] .fld{margin-bottom:13px}
#modal[data-variant="lab-test"] .fld label{margin-bottom:7px;color:var(--ink-2,var(--ink));font-size:12px;font-weight:600}
#modal[data-variant="lab-test"] .field-control{position:relative}
#modal[data-variant="lab-test"] .field-icon{position:absolute;z-index:1;top:50%;left:13px;display:grid;width:18px;height:18px;transform:translateY(-50%);color:var(--accent-ink);pointer-events:none}
#modal[data-variant="lab-test"] .field-icon svg{width:18px;height:18px}
#modal[data-variant="lab-test"] .has-field-icon :is(input, select, textarea){padding-left:43px}
#modal[data-variant="lab-test"] .fld :is(input, select, textarea){padding-top:8px;padding-bottom:8px}
#modal[data-variant="lab-test"] .fld textarea{padding-top:12px;resize:vertical}
#modal[data-variant="lab-test"] .has-field-icon:has(textarea) .field-icon{top:14px;transform:none}
#modal[data-variant="lab-test"] .fld .chk{display:flex;align-items:center;gap:9px;min-height:30px!important;padding:2px 0;color:var(--ink-2,var(--ink));font-size:13px;font-weight:600;cursor:pointer}
#modal[data-variant="lab-test"] .fld .chk input{width:20px;margin:0;display:grid;place-content:center}
#modal[data-variant="lab-test"] .fld .chk input::after{content:"";width:9px;height:5px;border-left:2px solid #fff;border-bottom:2px solid #fff;transform:rotate(-45deg) scale(0);transition:transform 140ms ease}
#modal[data-variant="lab-test"] .fld .chk input:checked::after{transform:rotate(-45deg) scale(1)}
#modal[data-variant="lab-test"] .m-f{padding:12px 24px;border-top:1px solid var(--hair);background:var(--solid)}
@media(max-width:700px){
  #modal[data-variant="lab-test"]{width:calc(100vw / 1.1 - 20px);max-height:calc(100dvh / 1.1 - 20px);border-radius:18px 18px 0 0}
  #modal[data-variant="lab-test"] .m-h{padding:15px 16px}
  #modal[data-variant="lab-test"] .m-b{padding:15px 16px 11px}
  #modal[data-variant="lab-test"] .m-f{padding:11px 16px calc(11px + var(--safe-b))}
  #modal[data-variant="lab-test"] .f-row{grid-template-columns:1fr;gap:0}
  #modal[data-variant="lab-test"] .modal-heading-icon{width:42px;height:42px;border-radius:12px}
  #modal[data-variant="lab-test"] .m-h h3{font-size:18px}
}
.cash-workspace{width:100%;display:flex;flex-direction:column}
.cash-commandbar{display:flex;align-items:center;gap:12px;border:1px solid var(--hair);background:var(--solid);box-shadow:var(--surface-shadow)}
.cash-commandbar .row{gap:8px;align-items:center}
.cash-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr))}
.cash-metric{display:flex;border:1px solid var(--hair);background:var(--solid);box-shadow:var(--surface-shadow)}
.cash-metric-icon{display:grid;place-items:center;flex:none;color:var(--accent-ink);background:var(--ui-tint)}
.cash-metric.income .cash-metric-icon{color:var(--green);background:var(--green-bg)}
.cash-metric.expense .cash-metric-icon{color:var(--red);background:var(--red-bg)}
.cash-metric.balance .cash-metric-icon{color:var(--accent-ink);background:var(--ui-tint)}
.cash-metric>div{min-width:0}
.cash-metric span:not(.cash-metric-icon),.cash-metric small{display:block;color:var(--muted);line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cash-metric strong{display:block;color:var(--ink);line-height:1.2;letter-spacing:-.03em}
.cash-tabs .tabs{margin:0;width:fit-content;gap:3px;border:1px solid var(--hair);background:var(--field)}
.cash-tabs .tabs button{border-bottom:0!important}
.cash-workspace #kBody{min-width:0}
.cash-workspace #kBody>.section-toolbar{border:1px solid var(--hair);background:var(--solid);box-shadow:var(--surface-shadow)}
.cash-workspace #kBody>.card{border:1px solid var(--hair);box-shadow:var(--surface-shadow);overflow:hidden}
.cash-workspace #kBody>.card .empty{padding:22px}
@media(max-width:850px){
  .cash-commandbar{flex-wrap:wrap}
  .cash-commandbar .actions{margin-left:auto}
  .cash-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:560px){
  .cash-workspace{gap:10px}
  .cash-commandbar{padding:9px}
  .cash-commandbar>.row{width:100%}
  .cash-commandbar .fld{flex:1}
  .cash-commandbar .fld input{width:100%}
  .cash-commandbar .actions{width:100%}
  .cash-summary{grid-template-columns:1fr}
  .cash-tabs .tabs{width:100%;overflow:auto}
}
.cash-workspace{gap:14px}
.cash-commandbar{min-height:64px;padding:10px 14px;border-radius:16px}
.cash-commandbar .fld input{width:172px;padding:7px 12px}
.cash-commandbar .actions{gap:8px}
.cash-summary{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.cash-metric{min-height:114px;padding:16px;align-items:flex-start;gap:12px;border-radius:16px;transition:transform 180ms ease,border-color 180ms ease,box-shadow 180ms ease}
.cash-metric:hover{border-color:rgba(var(--bz-rgb),.16);box-shadow:0 5px 16px rgba(15,23,42,.05)}
.cash-metric-icon{width:44px;height:44px;border-radius:12px}
.cash-metric-icon svg{width:21px;height:21px}
.cash-metric span:not(.cash-metric-icon){font-size:12px;font-weight:600}
.cash-metric strong{margin:5px 0 3px;font-weight:700}
.cash-tabs .tabs{min-height:40px;padding:4px;border-radius:14px}
.cash-tabs .tabs button{min-height:32px;padding:6px 14px;border-radius:10px!important;color:var(--muted);font-size:12px;font-weight:600;transition:background-color 180ms ease,color 180ms ease,transform 180ms ease}
.cash-tabs .tabs button.on{background:var(--accent)!important;color:#fff;box-shadow:0 3px 8px rgba(var(--bz-rgb),.18)}
.cash-workspace #kBody>.section-toolbar{min-height:64px;margin:0;padding:10px 12px;border-radius:14px}
.cash-workspace #kBody>.card{border-radius:16px}
.cash-workspace #kBody>.card .empty{min-height:250px;color:#94a3b8}
.cash-workspace #kBody>.card .empty b{color:#334155;font-size:16px}
@media(max-width:1250px){
  .cash-summary{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:850px){
  .cash-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
}
body:has(#modal[data-variant="expense-request"].on) #modalVeil{background:rgba(15,23,42,.20);backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}
#modal[data-variant="expense-request"]{width:min(1000px,calc(100vw / 1.1 - 48px));max-height:calc(100dvh / 1.1 - 42px);border:1px solid var(--hair);border-radius:20px;background:var(--solid);box-shadow:0 24px 70px rgba(15,23,42,.18)}
#modal[data-variant="expense-request"] .m-h{padding:18px 24px;border-bottom:1px solid var(--hair)}
#modal[data-variant="expense-request"] .modal-heading{display:flex;align-items:center;min-width:0;gap:14px}
#modal[data-variant="expense-request"] .modal-heading-icon{display:grid;place-items:center;width:48px;height:48px;flex:none;border-radius:14px;color:var(--red);background:var(--red-bg)}
#modal[data-variant="expense-request"] .modal-heading-icon svg{width:22px;height:22px}
#modal[data-variant="expense-request"] .m-h h3{margin:0;font-size:21px;font-weight:700;line-height:1.2;letter-spacing:-.035em}
#modal[data-variant="expense-request"] .m-h .mini{margin-top:4px;color:var(--muted);font-size:12px}
#modal[data-variant="expense-request"] .m-h .icon-btn{width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important;border:1px solid var(--hair);border-radius:11px;background:var(--solid)}
#modal[data-variant="expense-request"] .m-h .icon-btn:hover{background:var(--field-bg)}
#modal[data-variant="expense-request"] .m-b{padding:18px 24px 12px;background:var(--solid)}
#modal[data-variant="expense-request"] .f-row{gap:0 16px}
#modal[data-variant="expense-request"] .fld{margin-bottom:12px}
#modal[data-variant="expense-request"] .fld label{margin-bottom:7px;color:var(--ink-2,var(--ink));font-size:12px;font-weight:600}
#modal[data-variant="expense-request"] .field-control{position:relative}
#modal[data-variant="expense-request"] .field-icon{position:absolute;z-index:1;top:50%;left:13px;display:grid;width:18px;height:18px;transform:translateY(-50%);color:var(--accent-ink);pointer-events:none}
#modal[data-variant="expense-request"] .field-icon svg{width:18px;height:18px}
#modal[data-variant="expense-request"] .has-field-icon :is(input, select, textarea){padding-left:43px}
#modal[data-variant="expense-request"] .fld :is(input, select, textarea){padding-top:7px;padding-bottom:7px}
#modal[data-variant="expense-request"] .note{margin:0 0 2px;padding:9px 11px;border:0;border-radius:9px;background:var(--amber-bg);color:var(--amber);font-size:11px}
#modal[data-variant="expense-request"] .m-f{padding:12px 24px;border-top:1px solid var(--hair);background:var(--solid)}
@media(max-width:700px){
  #modal[data-variant="expense-request"]{width:calc(100vw / 1.1 - 20px);max-height:calc(100dvh / 1.1 - 20px);border-radius:18px 18px 0 0}
  #modal[data-variant="expense-request"] .m-h{padding:15px 16px}
  #modal[data-variant="expense-request"] .m-b{padding:15px 16px 11px}
  #modal[data-variant="expense-request"] .m-f{padding:11px 16px calc(11px + var(--safe-b))}
  #modal[data-variant="expense-request"] .f-row{grid-template-columns:1fr;gap:0}
  #modal[data-variant="expense-request"] .modal-heading-icon{width:42px;height:42px;border-radius:12px}
  #modal[data-variant="expense-request"] .m-h h3{font-size:18px}
}
.product-code{font-weight:500}
@media (max-width:900px){
  #app .topbar{height:auto;min-height:56px!important}
  #app #content{padding:12px 12px 88px!important}
  .top-title h2{font-size:19px}
  .dash-board{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:560px){
  .top-title h2{font-size:17px}
  .order-field-icon{top:14px}
  .modal,.modal:has(.order-form),.modal:has(.contract-form){border-radius:18px 18px 0 0}
}
@media (prefers-reduced-motion:reduce){
  .page-shell.page-revealed{animation:none}
}
@font-face{font-family:'Sora';font-weight:800;font-style:normal;font-display:swap;src:url(fonts/sora-800.woff2) format('woff2')}
:root{--brand-ink:#ffffff;--brand-sub:#45A8EE}
[data-theme="light"]{--brand-ink:#1f2023;--brand-sub:#2A63B0}
.brand-text{display:flex!important;align-items:baseline;gap:.28em;min-width:0}
.wordmark,.brand-sub{font-family:'Sora','SF Pro Display',system-ui,sans-serif!important;font-weight:800!important;letter-spacing:-.03em!important;line-height:1!important;text-transform:none!important;white-space:nowrap;display:block}
.wordmark{color:var(--brand-ink)!important}
.wordmark em{font-style:normal;color:var(--brand-ink)}
.brand-sub{color:var(--brand-sub)!important;padding:0;border:0;opacity:1}
.login-logo{gap:12px}
.login-logo img{width:48px!important;height:48px!important;border-radius:0!important}
.login-logo b.wordmark,.login-logo .brand-sub{font-size:21px!important}
.brand img{border-radius:0!important}
.brand{padding-right:32px!important;gap:8px!important}
.brand .brand-text{gap:.22em}
.brand b.wordmark,.brand .brand-sub{font-size:13.5px!important}
#bootLoader img{width:64px;height:64px;border-radius:0}
@media(max-width:900px){
  .brand{padding-right:10px!important}
}
@media print{
  .wordmark{color:#1f2023!important}
  .brand-sub{color:#2A63B0!important}
}
[data-theme="light"]{--bg:#f0f0f2;--ui-tint:rgba(42,99,176,.10)}
.dash-stat .icd{background:rgba(var(--bz-rgb),.12)}
#content{scroll-behavior:auto!important}
#content.is-loading{pointer-events:none}
#content.is-loading .page-loading{opacity:1}
.page-shell.page-revealed{animation:none!important}
@media(min-width:901px){
  .nav-compact #sideNav .brand{justify-content:center;align-items:flex-start;padding:2px 0 24px!important;min-height:72px}
  .nav-compact #sideNav .brand img{width:40px!important;height:40px!important;border-radius:0!important}
  .nav-compact .nav-collapse{top:62px;left:50%;right:auto;transform:translateX(-50%)}
}
#sideNav nav a{min-height:38px!important;padding:8px 12px!important;border-radius:10px!important;border:0!important;font-weight:600!important;color:var(--ink-2)!important;background:transparent!important;isolation:isolate;transition:color .22s ease,transform .22s cubic-bezier(.2,.8,.2,1),box-shadow .22s ease!important}
#sideNav nav a::before{content:'';position:absolute;inset:0;z-index:-1;border-radius:inherit;background:rgba(var(--bz-rgb),.10);transform:scaleX(0);transform-origin:left center;transition:transform .26s cubic-bezier(.2,.8,.2,1),background .22s ease;top:auto;bottom:auto;height:100%;width:100%;left:0}
#sideNav nav a:hover::before{transform:scaleX(1)}
#sideNav nav a:hover{color:var(--accent-ink)!important}
#sideNav nav a svg{width:18px!important;height:18px!important;opacity:1!important;transition:transform .26s cubic-bezier(.2,.8,.2,1),color .22s ease}
#sideNav nav a.on{color:#fff!important;font-weight:700!important;transform:none;box-shadow:0 6px 16px rgba(var(--bz-rgb),.32),inset 0 1px 0 rgba(255,255,255,.14)!important}
#sideNav nav a.on::before{transform:scaleX(1);background:linear-gradient(135deg,#2A63B0,#2A63B0);top:0!important;bottom:0!important;left:0!important;right:0!important;width:100%!important;height:100%!important;border-radius:inherit!important}
#sideNav nav a.on:hover{transform:none;color:#fff!important}
#sideNav nav a.on svg{transform:none;animation:navIconPop .38s cubic-bezier(.2,.8,.2,1)}
#sideNav nav a.on::after{content:'';position:absolute;right:10px;top:50%;width:6px;height:6px;margin-top:-3px;border-radius:50%;background:#fff;opacity:.9;animation:navDotIn .3s ease both}
[data-theme="light"] #sideNav nav a.on{box-shadow:0 6px 16px rgba(var(--bz-rgb),.28)!important}
#sideNav nav a:active{transform:scale(.97)!important}
#sideNav nav a:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
#sideNav .nav-section-label{color:var(--accent-ink)!important;opacity:.75;font-weight:700!important;letter-spacing:.12em!important}
#sideNav nav a{animation:navItemIn .42s cubic-bezier(.2,.8,.2,1) both}
#sideNav nav .nav-section:nth-child(1) a:nth-child(2){animation-delay:.02s}
#sideNav nav .nav-section:nth-child(1) a:nth-child(3){animation-delay:.05s}
#sideNav nav .nav-section:nth-child(1) a:nth-child(4){animation-delay:.08s}
#sideNav nav .nav-section:nth-child(1) a:nth-child(5){animation-delay:.11s}
#sideNav nav .nav-section:nth-child(1) a:nth-child(6){animation-delay:.14s}
#sideNav nav .nav-section:nth-child(1) a:nth-child(7){animation-delay:.17s}
#sideNav nav .nav-section:nth-child(2) a{animation-delay:.2s}
#sideNav nav .nav-section:nth-child(3) a{animation-delay:.26s}
#sideNav nav .nav-section:nth-child(4) a{animation-delay:.32s}
@keyframes navItemIn{from{opacity:0;transform:translateX(-10px)}to{opacity:1;transform:none}}
@keyframes navIconPop{0%{transform:scale(.6)}60%{transform:scale(1.18)}100%{transform:scale(1)}}
@keyframes navDotIn{from{opacity:0;transform:scale(0)}to{opacity:.9;transform:scale(1)}}
.nav-compact #sideNav nav a.on::after{display:none}
.nav-compact #sideNav nav a:hover{transform:none}
.bnav a{transition:color .2s ease,transform .2s ease}
.bnav a svg{transition:transform .26s cubic-bezier(.2,.8,.2,1)}
.bnav a.on{color:var(--accent-ink)!important}
.bnav a.on svg{transform:translateY(-2px) scale(1.12);animation:navIconPop .38s cubic-bezier(.2,.8,.2,1)}
.bnav a.on::after{content:'';display:block;width:18px;height:3px;border-radius:2px;background:var(--accent);margin-top:2px;animation:navDotIn .3s ease both}
#sideNav .side-user .avatar{background:linear-gradient(135deg,#2A63B0,#2A63B0);color:#fff;transition:transform .22s ease}
@media(prefers-reduced-motion:reduce){
  #sideNav nav a,#sideNav nav a::before,#sideNav nav a svg,.bnav a svg{animation:none!important;transition:none!important}
  #sideNav nav a:hover{transform:none}
}
@keyframes bzIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@keyframes bzRow{from{opacity:0;transform:translateX(-6px)}to{opacity:1;transform:none}}
.page-enter :is(.dir-kpi,.card,.panel,.stats>*,.customers-summary,.customer-filters,.warehouse-summary,.fleet-summary,.production-toolbar,.orders-toolbar,.orders-status,.contracts-workspace,.product-summary,.product-directory-grid>*,.hero-card,.mixer,.cash-summary>*,.cash-commandbar,.customer-stat),.page-enter>:is(.ph,.tabs),.page-enter.dashboard-page>section{animation:bzFade .2s ease-out both}
.page-shell .stats>*:nth-child(2),.page-shell .grid>*:nth-child(2),.page-shell .grid-2>*:nth-child(2),.dash-board>*:nth-child(2),.cash-summary>*:nth-child(2),.customer-stats>*:nth-child(2),.mixer-grid>*:nth-child(2),.dashboard-page>section:nth-child(2){animation-delay:.035s}
.page-shell .stats>*:nth-child(3),.page-shell .grid>*:nth-child(3),.page-shell .grid-2>*:nth-child(3),.dash-board>*:nth-child(3),.cash-summary>*:nth-child(3),.customer-stats>*:nth-child(3),.mixer-grid>*:nth-child(3),.dashboard-page>section:nth-child(3){animation-delay:.07s}
.page-shell .stats>*:nth-child(4),.page-shell .grid>*:nth-child(4),.page-shell .grid-2>*:nth-child(4),.dash-board>*:nth-child(4),.cash-summary>*:nth-child(4),.customer-stats>*:nth-child(4),.mixer-grid>*:nth-child(4),.dashboard-page>section:nth-child(4){animation-delay:.105s}
.page-shell .stats>*:nth-child(5),.page-shell .grid>*:nth-child(5),.page-shell .grid-2>*:nth-child(5),.dash-board>*:nth-child(5),.cash-summary>*:nth-child(5),.mixer-grid>*:nth-child(5),.dashboard-page>section:nth-child(5){animation-delay:.14s}
.page-shell .stats>*:nth-child(6),.page-shell .grid>*:nth-child(6),.page-shell .grid-2>*:nth-child(6),.dash-board>*:nth-child(6),.mixer-grid>*:nth-child(6),.dashboard-page>section:nth-child(6){animation-delay:.175s}
.page-shell .stats>*:nth-child(n+7),.page-shell .grid>*:nth-child(n+7),.page-shell .grid-2>*:nth-child(n+7),.dash-board>*:nth-child(n+7),.mixer-grid>*:nth-child(n+7),.dashboard-page>section:nth-child(n+7){animation-delay:.2s}
.page-shell .tbl tbody tr:nth-child(10){animation-delay:.18s}
.page-shell .tbl tbody tr:nth-child(11){animation-delay:.2s}
.page-shell .tbl tbody tr:nth-child(12){animation-delay:.22s}
.page-shell .tbl tbody tr:nth-child(13){animation-delay:.24s}
.page-shell .tbl tbody tr:nth-child(14){animation-delay:.26s}
.page-shell .tbl tbody tr:nth-child(n+15){animation:none}
.plan-row:nth-child(2),.dt-line:nth-child(2),.hbar:nth-child(2){animation-delay:.03s}
.plan-row:nth-child(3),.dt-line:nth-child(3),.hbar:nth-child(3){animation-delay:.06s}
.plan-row:nth-child(4),.dt-line:nth-child(4),.hbar:nth-child(4){animation-delay:.09s}
.plan-row:nth-child(5),.dt-line:nth-child(5),.hbar:nth-child(5){animation-delay:.12s}
.plan-row:nth-child(n+6),.dt-line:nth-child(n+6),.hbar:nth-child(n+6){animation-delay:.15s}
.page-shell .card .card,.page-shell .card .panel,.modal .card,.modal .tbl tbody tr,#printArea *{animation:none!important}
.page-shell .card.tap,.dash-stat.tap,.customer-stat,.mixer,.panel.tap{transition:transform .18s cubic-bezier(.2,.8,.2,1),box-shadow .18s ease,border-color .18s ease}
.page-shell .card.tap:hover,.dash-stat.tap:hover,.mixer:hover{box-shadow:0 10px 24px rgba(var(--bz-rgb),.14)!important;border-color:rgba(var(--bz-rgb),.3)!important}
.page-shell .card.tap:active,.dash-stat.tap:active{transform:translateY(0) scale(.99)}
.page-shell .tbl tbody tr td{transition:background .15s ease}
.page-shell .tbl tbody tr.tap{cursor:pointer}
.page-shell .tbl tbody tr.tap:hover td:first-child{box-shadow:inset 3px 0 0 var(--accent)}
.page-shell .tabs button{transition:color .18s ease,border-color .18s ease,background .18s ease,transform .15s ease}
.page-shell .tabs button:active{transform:scale(.96)}
.badge{transition:transform .15s ease}
@media(prefers-reduced-motion:reduce){
  .page-shell *,.page-shell{animation:none!important;transition:none!important}
}
.login-card #forgotPassword{background:var(--solid)!important;color:var(--accent-ink)!important;border:1px solid rgba(var(--bz-rgb),.35)!important}
@keyframes bzShake{0%,100%{transform:none}20%{transform:translateX(-5px)}40%{transform:translateX(5px)}60%{transform:translateX(-3px)}80%{transform:translateX(3px)}}
@keyframes bzRing{0%{transform:scale(1);opacity:.7}100%{transform:scale(2.2);opacity:0}}
@keyframes bzSpin{to{transform:rotate(360deg)}}
@keyframes bzBell{0%,100%{transform:rotate(0)}25%{transform:rotate(-14deg)}50%{transform:rotate(12deg)}75%{transform:rotate(-6deg)}}
.prg i,.warehouse-stock-bar i,.trk i{transform-origin:left center}
.login-card{animation:bzIn .42s cubic-bezier(.2,.8,.2,1) both}
.login-card .alert:not([hidden]){animation:bzShake .42s ease both}
.dash-stat .icd,.customer-stat .icd,.cash-metric-icon,.warehouse-summary-title .icd,.product-summary-title .icd{transition:transform .22s cubic-bezier(.2,.8,.2,1),background .2s ease}
.dash-bell{position:relative}
.dash-bell i{position:relative}
.dash-bell i::after{content:'';position:absolute;inset:0;border-radius:50%;background:inherit;animation:bzRing 1.6s ease-out infinite}
.dash-bell:hover svg{animation:bzBell .6s ease}
.topbar .icon-btn svg{transition:transform .35s cubic-bezier(.2,.8,.2,1)}
.topbar .icon-btn:active svg{transform:rotate(-180deg)}
.top-search{transition:width .25s cubic-bezier(.2,.8,.2,1),box-shadow .2s ease,border-color .2s ease!important}
@media(min-width:901px){
  .top-search:focus-within{width:300px!important;border-color:var(--accent)!important;box-shadow:0 0 0 3px rgba(var(--bz-rgb),.14)!important}
}
.icon-btn,#sideNav nav a,.tabs button,.bnav a{position:relative;overflow:hidden}
#customerPager button{transition:background .15s ease,color .15s ease,transform .15s ease}
#customerPager button:hover:not(:disabled){transform:translateY(-1px)}
.orders-status button{transition:background .18s ease,color .18s ease,transform .18s cubic-bezier(.2,.8,.2,1),box-shadow .18s ease}
.orders-status button b{transition:transform .2s ease}
.orders-status button.on b{transform:scale(1.12)}
.modal.on .m-b>.order-form>section:nth-child(2),.modal.on .m-b>.contract-form>section:nth-child(2){animation-delay:.04s}
.modal.on .m-b>.order-form>section:nth-child(3),.modal.on .m-b>.contract-form>section:nth-child(3){animation-delay:.08s}
.modal.on .m-b>.order-form>section:nth-child(4),.modal.on .m-b>.contract-form>section:nth-child(4){animation-delay:.12s}
.spinner{animation:bzSpin .8s linear infinite}
@media(prefers-reduced-motion:reduce){
  #pageTitle.swap,.prg i,.login-card,.empty svg,.dash-bell i::after,.ripple,.badge{animation:none!important}
}
#modal,#modal[data-variant]{animation:none!important;will-change:transform,opacity}
@media(min-width:561px){
  #modal,#modal[data-variant]{transform:translate(-50%,calc(-50% + 18px)) scale(.965)!important}
  #modal.on,#modal[data-variant].on{transform:translate(-50%,-50%) scale(1)!important}
}
body:has(#modal[data-variant].on) #modalVeil{animation:none!important}
#modal.on .m-b>.fld,#modal.on .m-b>.f-row,#modal.on .m-b>.f-row3,#modal.on .m-b>.note,#modal.on .m-b>.alert,#modal.on .m-b>table,#modal.on .m-b>.tbl-wrap,#modal.on .m-b>.hero-card,#modal.on .m-b>dl,#modal.on .m-b>.stats{animation:bzRow .22s cubic-bezier(.2,.8,.2,1) both}
#modal.on .m-b>:nth-child(2){animation-delay:.03s}
#modal.on .m-b>:nth-child(3){animation-delay:.06s}
#modal.on .m-b>:nth-child(4){animation-delay:.09s}
#modal.on .m-b>:nth-child(5){animation-delay:.12s}
#modal.on .m-b>:nth-child(6){animation-delay:.15s}
#modal.on .m-b>:nth-child(n+7){animation-delay:.18s}
#modal .m-h .icon-btn svg{transition:transform .25s cubic-bezier(.2,.8,.2,1)}
#modal .m-h .icon-btn:hover svg{transform:rotate(90deg)}
@media(max-width:560px){
  #modal,#modal[data-variant]{transform:translateY(100%)!important}
  #modal.on,#modal[data-variant].on{transform:translateY(0)!important}
}
@media(prefers-reduced-motion:reduce){
  #modal,#modal.on,#modal .m-h,#modal .m-b,#modal .m-f,#modal .m-b>*{animation:none!important;transition:none!important}
}
@keyframes bzToastBar{from{transform:scaleX(1)}to{transform:scaleX(0)}}
.toast{--toast-dur:2500ms;left:50%;bottom:28px;padding:11px 16px 11px 12px;border-radius:14px;gap:10px;font-weight:600;background:#1f2023;color:#fff;border:1px solid rgba(255,255,255,.08);box-shadow:0 14px 40px rgba(18,20,26,.32);overflow:hidden;transform:translate3d(-50%,18px,0) scale(.95);opacity:0;transition:opacity .2s ease,transform .22s ease-in!important}
.toast.on{opacity:1;transform:translate3d(-50%,0,0) scale(1);transition:opacity .22s ease,transform .38s cubic-bezier(.34,1.45,.64,1)!important}
.toast svg{width:18px;height:18px;padding:4px;box-sizing:content-box;border-radius:9px;background:rgba(var(--bz-rgb),.28);stroke:#bcc5ec;stroke-width:2.4}
.toast.on svg{animation:navIconPop .42s cubic-bezier(.2,.8,.2,1) .06s both}
.toast.ok svg{background:rgba(31,158,99,.28);stroke:#7fe0b0}
.toast.err{background:#b3382a;border-color:rgba(255,255,255,.12)}
.toast.err svg{background:rgba(255,255,255,.18);stroke:#fff}
.toast.err.on{animation:bzShake .4s ease .1s}
.toast::after{content:'';position:absolute;left:0;bottom:0;height:2px;width:100%;background:rgba(255,255,255,.55);transform-origin:left;transform:scaleX(0)}
.toast.on::after{animation:bzToastBar var(--toast-dur) linear .1s forwards}
[data-theme="light"] .toast{box-shadow:0 14px 40px rgba(18,20,26,.22)}
.pop{padding:6px;border-radius:12px;border:1px solid rgba(var(--bz-rgb),.16);box-shadow:0 16px 40px rgba(18,20,26,.16),0 2px 6px rgba(18,20,26,.06);transform:translateY(-8px) scale(.94);opacity:0;transform-origin:top right;transition:opacity .16s ease,transform .18s ease-in,visibility 0s linear .18s!important}
.pop.left{transform-origin:top left}
.pop.on{opacity:1;visibility:visible;transform:none;transition:opacity .18s ease,transform .26s cubic-bezier(.2,.8,.2,1)!important}
.pop button,.pop a{position:relative;overflow:hidden;min-height:36px;padding:8px 12px;border-radius:9px;font-weight:600;color:var(--ink-2);transition:background .15s ease,color .15s ease,transform .15s cubic-bezier(.2,.8,.2,1)}
.pop button svg,.pop a svg{width:16px;height:16px;flex:none;color:var(--accent-ink);transition:transform .2s cubic-bezier(.2,.8,.2,1)}
.pop button:hover,.pop a:hover{background:rgba(var(--bz-rgb),.10);color:var(--accent-ink)}
.pop button:active,.pop a:active{transform:translateX(3px) scale(.97)}
.pop .danger,.pop .danger svg{color:var(--red)}
.pop .danger:hover{background:var(--red-bg);color:var(--red)}
.pop.on :nth-child(2){animation-delay:.03s}
.pop.on :nth-child(3){animation-delay:.06s}
.pop.on :nth-child(4){animation-delay:.09s}
.pop.on :nth-child(5){animation-delay:.12s}
.pop.on :nth-child(6){animation-delay:.15s}
.pop.on :nth-child(n+7){animation-delay:.18s}
.tip::after{border-radius:8px;transition:opacity .16s ease,transform .22s cubic-bezier(.2,.8,.2,1)}
@media(prefers-reduced-motion:reduce){
  .toast,.toast.on,.toast svg,.toast::after,.pop,.pop.on,.pop.on button,.pop.on a{animation:none!important;transition:none!important}
}
body{font-size:14px}
#modal .tbl td{font-size:13.5px!important}
.page-shell .tbl td b,.page-shell .tbl td strong{font-size:13.5px}
.page-shell .tbl .sub,.page-shell .tbl td small,.tbl .mini,.page-shell .mini{font-size:11.5px!important}
.badge,.tag{font-size:11.5px!important;padding:3px 8px}
.fld label,#modal .fld label,.customer-filters label{font-size:12.5px!important}
.fld .hint,.note,.alert{font-size:12.5px!important}
.fld .chk{font-size:13px!important}
.icon-btn svg{width:18px;height:18px}
#sideNav nav a{font-size:13.5px!important}
#sideNav .nav-section-label{font-size:10.5px!important}
.side-user b{font-size:13.5px!important}
.side-user span{font-size:11.5px!important}
.top-title span,.topbar .top-date span{font-size:12.5px!important}
.dash-stat .lbl{font-size:13.5px!important}
.dash-stat .mini{font-size:12.5px!important}
.dash-card-head span{font-size:12.5px!important}
.plan-row .mini,.dash-activity-row small,.dash-activity-row time{font-size:12.5px!important}
.dash-activity-row b{font-size:13.5px!important}
.customer-stat span,.warehouse-kpis span,.product-kpis span,.production-metrics span,.fleet-summary span,.cash-metric span{font-size:12px!important}
.customer-stat strong,.warehouse-kpis strong,.product-kpis strong,.production-metrics strong,.fleet-summary strong,.cash-metric strong{font-size:22px!important}
.cash-metric small,.warehouse-summary-title small,.product-summary-title small,.production-caption{font-size:12px!important}
.warehouse-material small,.product-name-cell small,.customer-name small{font-size:11.5px!important}
.warehouse-stock small,.warehouse-min{font-size:11.5px!important}
.orders-status button,.orders-overview span,.orders-table-head span,.orders-empty span,.customer-term,.pager,#customerPager{font-size:12.5px!important}
.orders-status button b{font-size:11.5px!important}
.kv,.kv dt,.kv dd,.dt-line,.hbar .lb,.hbar .vl,.prg-lbl{font-size:13px!important}
.empty,.orders-empty,.page-shell .empty{font-size:13px!important}
.empty b{font-size:14.5px!important}
.tabs button,.page-shell .tabs button{font-size:13px!important}
#modal .m-h h3{font-size:19px!important}
#modal .m-h .mini{font-size:12.5px!important}
.toast{font-size:14px!important}
.pop button,.pop a{font-size:13.5px!important}
.tip::after{font-size:11.5px!important}
.no-anim,.no-anim *{animation:none!important}
.dashboard-page>section{margin:0 0 16px}
.dashboard-page .stats{display:grid!important;gap:12px!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important;border-radius:0!important;overflow:visible!important}
.dashboard-page .dash-stat{min-height:116px!important;padding:14px 15px!important;border:1px solid var(--hair)!important;border-right:1px solid var(--hair)!important;border-bottom:1px solid var(--hair)!important;border-radius:14px!important;box-shadow:var(--surface-shadow,0 2px 6px rgba(18,20,26,.05))!important}
.dash-board{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(385px,1fr))!important;gap:14px!important;align-items:start!important}
.dash-board>.card{grid-column:auto!important;min-height:0!important;margin:0!important}
@media(min-width:1600px){
  .dash-board>.dash-plan{grid-column:span 2!important}
}
@media(max-width:820px){
  .dash-board{grid-template-columns:minmax(0,1fr)!important}
}
.dash-card-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}
.dash-card-head h3{display:flex;align-items:center;gap:8px;margin:0!important}
.dash-card-head>div>span{display:block;margin-top:2px;color:var(--muted)}
.dash-activity-row{display:grid;grid-template-columns:32px minmax(0,1fr) auto;align-items:center;gap:10px;padding:7px 0;border-bottom:1px solid var(--hair)}
.dash-activity-row:last-child{border-bottom:0}
.dash-activity-row .icd{width:32px;height:32px;border-radius:9px}
.dash-activity-row b{display:block;font-weight:600}
.dash-activity-row small{display:block;margin-top:1px;color:var(--muted)}
.dash-activity-row time{color:var(--muted);white-space:nowrap}
.dashboard-page .dash-stat,.dashboard-page .dash-stat .val{min-width:0}
@container (min-width:600px) and (max-width:879.98px){
  .dash-board{grid-template-columns:minmax(0,1fr)!important}
  .dash-board>.dash-plan{grid-column:auto!important}
}
@container (max-width:599.98px){
  .dash-board{grid-template-columns:minmax(0,1fr)!important}
  .dash-board>.dash-plan{grid-column:auto!important}
}
.dash-trend .bars{min-width:0;overflow:hidden}
.dash-trend .bars>i{min-width:0;flex:1 1 0}
.dash-acc-list{display:flex;flex-direction:column}
.dash-acc-row{display:grid;grid-template-columns:32px minmax(0,1fr) auto;align-items:center;gap:10px;padding:8px 0;border-bottom:1px solid var(--hair)}
.dash-acc-row:last-child{border-bottom:0}
.dash-acc-row .icd{width:32px;height:32px;border-radius:9px}
.dash-acc-row b{display:block;font-weight:600}
.dash-acc-row small{display:block;margin-top:1px;color:var(--muted)}
.dash-acc-row.total{margin-top:2px;padding-top:10px;border-top:1px solid var(--hair)}
.dash-acc-row.total .num{color:var(--accent-ink)}
@container (min-width:1020px){
  .dashboard-page .stats[data-n="1"]{grid-template-columns:minmax(0,1fr)!important}
  .dashboard-page .stats[data-n="2"]{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .dashboard-page .stats[data-n="3"],.dashboard-page .stats[data-n="6"],.dashboard-page .stats[data-n="9"]{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .dashboard-page .stats[data-n="4"],.dashboard-page .stats[data-n="7"],.dashboard-page .stats[data-n="8"]{grid-template-columns:repeat(4,minmax(0,1fr))!important}
  .dashboard-page .stats[data-n="5"],.dashboard-page .stats[data-n="10"]{grid-template-columns:repeat(5,minmax(0,1fr))!important}
}
@container (min-width:880px) and (max-width:1019.98px){
  .dashboard-page .stats[data-n="1"]{grid-template-columns:minmax(0,1fr)!important}
  .dashboard-page .stats[data-n="2"]{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .dashboard-page .stats[data-n="3"],.dashboard-page .stats[data-n="5"],.dashboard-page .stats[data-n="6"],.dashboard-page .stats[data-n="9"]{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .dashboard-page .stats[data-n="4"],.dashboard-page .stats[data-n="7"],.dashboard-page .stats[data-n="8"],.dashboard-page .stats[data-n="10"]{grid-template-columns:repeat(4,minmax(0,1fr))!important}
}
.dash-board>.dash-plan{order:1!important}
.dash-board>.dash-materials{order:2!important}
.dash-board>.dash-accounts{order:3!important}
.dash-board>.dash-activity{order:4!important}
.dash-board>.dash-overdue{order:5!important}
.dash-board>.dash-top{order:6!important}
.dash-board>.dash-products{order:7!important}
.dash-board>.dash-trend{order:8!important}
#content>.page-shell{align-self:stretch!important;width:100%!important;max-width:none!important;margin:0!important;min-width:0}
.dashboard-page{max-width:none!important;margin:0!important}
.products-shell,.cash-workspace{max-width:none!important;margin:0!important}
.dash-materials{container-type:inline-size}
#content{position:relative}
.set-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.set-kpi{display:flex;align-items:center;gap:12px;padding:14px 16px;border-radius:16px;background:var(--solid);border:1px solid var(--hair);box-shadow:0 1px 2px rgba(18,20,26,.04);animation:bzIn .34s cubic-bezier(.2,.8,.2,1) both}
.set-kpi:nth-child(2){animation-delay:.04s}
.set-kpi:nth-child(3){animation-delay:.08s}
.set-kpi:nth-child(4){animation-delay:.12s}
.set-kpi .icd{width:36px;height:36px;border-radius:12px}
.set-kpi b{display:block;font-size:22px;font-weight:800;line-height:1.1;letter-spacing:-.02em}
.set-kpi small{display:block;margin-top:2px;color:var(--muted);font-size:12.5px}
.set-card{margin-top:14px}
.set-card>.ph{padding:0 0 12px;margin:0;border:0;background:none;min-height:0}
.set-card>.ph h3{margin:0;font-size:16px}
.role-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:10px}
.role-card{border:1px solid var(--hair);border-radius:14px;background:var(--bg-soft,rgba(var(--bz-rgb),.03));overflow:hidden;transition:border-color .18s ease,box-shadow .18s ease}
.role-card[open]{border-color:rgba(var(--bz-rgb),.3);box-shadow:0 4px 16px rgba(18,20,26,.06)}
.role-card summary{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 14px;cursor:pointer;list-style:none;user-select:none;transition:background .18s ease}
.role-card summary::-webkit-details-marker{display:none}
.role-card summary:hover{background:rgba(var(--bz-rgb),.06)}
.role-name{display:flex;align-items:center;gap:8px;min-width:0}
.role-name b{font-size:14px;font-weight:700}
.role-n{display:inline-flex;align-items:center;gap:5px;flex:none;color:var(--muted);font-size:12.5px;font-weight:600;white-space:nowrap}
.role-n svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;transition:transform .22s ease}
.role-card[open] .role-n svg{transform:rotate(180deg)}
.role-pages{display:flex;flex-wrap:wrap;gap:6px;padding:0 14px 13px;animation:bzIn .26s ease both}
.role-pages .tag{font-size:11.5px}
.tag.tag-s{background:rgba(var(--bz-rgb),.12);color:var(--accent-ink);font-size:10.5px;font-weight:700;text-transform:uppercase;letter-spacing:.03em}
.perm-box{margin-top:6px;border:1px solid var(--hair);border-radius:14px;overflow:hidden}
.perm-head{display:flex;align-items:flex-start;gap:10px;padding:12px 14px;cursor:pointer;background:rgba(var(--bz-rgb),.05);border-bottom:1px solid var(--hair)}
.perm-head input{margin-top:2px;width:17px;flex:none;accent-color:var(--accent)}
.perm-head b{display:block;font-size:13.5px}
.perm-head small{display:block;margin-top:1px;color:var(--muted);font-size:12px}
.perm-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(178px,1fr));gap:2px 10px;padding:12px 14px;max-height:none;transition:opacity .2s ease}
.perm-grid.off{opacity:.42;pointer-events:none}
.perm-item{display:flex;align-items:center;gap:8px;padding:5px 0;font-size:13px;cursor:pointer;border-radius:8px}
.perm-item input{width:16px;flex:none;accent-color:var(--accent)}
.perm-item span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.perm-foot{display:flex;gap:6px;flex-wrap:wrap;padding:0 14px 12px}
.set-sys .card h3{display:flex;align-items:center;gap:8px;margin:0 0 4px;font-size:15.5px}
.set-sys .card h3 svg{width:17px;height:17px;flex:none;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;color:var(--accent)}
.set-sys .actions{margin-top:14px}
.sum-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px;padding:11px 13px;border-radius:12px;background:rgba(var(--bz-rgb),.07);font-size:13.5px}
.sum-row b{font-size:16px;font-weight:800;color:var(--accent-ink)}
.st-line{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:10px 0 2px;padding:9px 12px;border-radius:11px;background:rgba(var(--bz-rgb),.05);font-size:13.5px}
.bk-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:12px}
.bk-stats>div{padding:10px 8px;border-radius:12px;background:rgba(var(--bz-rgb),.05);text-align:center}
.bk-stats b{display:block;font-size:15px;font-weight:800;letter-spacing:-.01em}
.bk-stats small{display:block;margin-top:2px;color:var(--muted);font-size:11.5px}
@container (max-width:900px){
  .set-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
  .bk-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@container (max-width:620px){
  .set-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
  .set-kpi{padding:11px 12px;gap:9px}
  .set-kpi b{font-size:19px}
  .role-grid{grid-template-columns:1fr}
  .perm-grid{grid-template-columns:1fr 1fr}
}
.set-dirty{display:inline-flex;align-items:center;gap:6px;margin-right:auto;color:var(--amber);font-size:12.5px;font-weight:600}
.set-dirty::before{content:'';width:7px;height:7px;border-radius:50%;background:currentColor;animation:bzRing 1.6s ease-in-out infinite}
.set-sys .actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.set-sys .card>p.note{margin:0 0 14px}
.set-sys .card .fld:first-of-type,.set-sys .card .f-row:first-of-type{margin-top:0}
#content{--ctl-h:38px}
#content .ph .search,#content .section-toolbar .search{min-height:var(--ctl-h)!important;height:var(--ctl-h)}
#content .ph>select,#content .ph>input:not([type=checkbox]):not([type=radio]),#content .ph .fld>select,#content .ph .fld>input,#content .section-toolbar select,#content .section-toolbar input:not([type=checkbox]):not([type=radio]),#content .row>.fld>input,#content .row>.fld>select,#content .row>select{padding-top:0!important;padding-bottom:0!important}
#content .ph h2,#content>.page-shell>.ph h2{font-size:17px;font-weight:700;letter-spacing:-.01em}
#content .card>h3,#content .card.flat>h3{font-size:15.5px!important;font-weight:700;text-transform:none;letter-spacing:-.005em}
.production-section-title span,.fleet-heading span{font-size:12px!important}
.page-mahsulotlar header span,.product-pane-tools span,.product-category,.product-category-cell em{font-size:11.5px!important}
#content strong>small{font-size:11.5px!important}
.page-mijozlar .tbl thead th:last-child{text-align:center}
:root:not([data-theme="light"]) .product-status.is-active{color:#4ade80;background:rgba(74,222,128,.14)}
.page-shell .card,.page-shell .panel,.page-shell>.ph,.page-shell>.tabs,.page-shell .stats>*,.dashboard-page>section,.customers-summary,.customer-filters,.warehouse-summary,.fleet-summary,.production-toolbar,.orders-toolbar,.orders-status,.contracts-workspace,.product-summary,.product-directory-grid>*,.hero-card,.mixer,.cash-summary>*,.cash-commandbar,.customer-stat,.set-kpi{animation-duration:.56s!important;animation-timing-function:cubic-bezier(.22,.8,.2,1)!important}
.page-shell .tbl tbody tr,.plan-row,.dt-line,.hbar,.dash-acc-row{animation-duration:.44s!important}
.page-shell .tbl tbody tr:nth-child(2){animation-delay:.04s}
.page-shell .tbl tbody tr:nth-child(3){animation-delay:.08s}
.page-shell .tbl tbody tr:nth-child(4){animation-delay:.12s}
.page-shell .tbl tbody tr:nth-child(5){animation-delay:.16s}
.page-shell .tbl tbody tr:nth-child(6){animation-delay:.2s}
.page-shell .tbl tbody tr:nth-child(7){animation-delay:.24s}
.page-shell .tbl tbody tr:nth-child(8){animation-delay:.28s}
.page-shell .tbl tbody tr:nth-child(9){animation-delay:.32s}
.page-shell .tbl tbody tr:nth-child(n+10){animation-delay:.36s}
#modalVeil{transition:opacity .34s ease,visibility 0s linear .34s!important}
#modalVeil.on{transition:opacity .34s ease!important}
#modal.on .m-h,#modal.on .m-b,#modal.on .m-f{animation-duration:.42s!important}
#sideNav nav a,.tabs button,.icon-btn{transition-duration:.26s!important}
.tabs button::after{transition-duration:.34s!important}
@media(prefers-reduced-motion:reduce){
  #content>.page-shell.page-enter{animation:none!important}
}
.order-form .fld[hidden]{display:none!important}
.order-form .deliv-slot{min-width:0}
.order-total span small{display:block;margin-top:2px;font-size:12px;font-weight:600;color:var(--accent-ink)}
.order-total span small:empty{display:none}
.order-extra{background:rgba(var(--bz-rgb),.025)}
.order-form-section>header p{font-size:12px!important;line-height:1.35}
.order-form-section>header h4{font-size:14.5px!important}
.order-products .items-tbl th{font-size:11.5px!important}
.order-total>span{font-size:13px!important}
@media(min-width:901px){
  .order-form .order-parties{grid-template-columns:1.25fr 1fr 1fr!important}
}
.order-form select{text-overflow:ellipsis}
.order-products #oItems{overflow-x:auto;-webkit-overflow-scrolling:touch}
@media(max-width:900px){
  .order-form .order-parties{grid-template-columns:1fr!important}
}
.order-form .deliv-row{align-items:start}
.order-form .deliv-hint{margin:-4px 0 11px;font-size:12px;line-height:1.35;color:var(--muted)}
.order-form .deliv-hint[hidden]{display:none}
#modal .items-tbl .del{width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;border-radius:8px;border:1px solid var(--hair);background:transparent;color:var(--muted);font-size:16px;line-height:1;cursor:pointer;transition:background .2s ease,color .2s ease,border-color .2s ease}
#modal .items-tbl .del:hover{background:var(--red-bg);border-color:transparent;color:var(--red)}
#modal .items-tbl th.num,#modal .items-tbl td.num{padding-right:14px!important}
#modal .items-tbl thead th:last-child,#modal .items-tbl tbody td:last-child{text-align:center;padding-left:14px!important;padding-right:10px!important}
#modal .items-tbl tbody td:last-child{vertical-align:middle}
#modal #ieAdd{background:rgba(var(--bz-rgb),.10)!important;color:var(--accent-ink)!important;border:1px solid rgba(var(--bz-rgb),.18)!important;box-shadow:none!important;font-weight:600}
#modal #ieAdd:hover{background:rgba(var(--bz-rgb),.18)!important;border-color:rgba(var(--bz-rgb),.3)!important}
#modal #ieAdd svg{opacity:.85}
#modal .order-form{--of-line:rgba(18,20,26,.13);--of-line-h:rgba(18,20,26,.26);gap:12px!important}
#modal:has(.order-form) .m-b{background:#f1f1f3}
:root:not([data-theme="light"]) #modal:has(.order-form) .m-b{background:var(--bg)}
:root:not([data-theme="light"]) #modal .order-form{--of-line:rgba(255,255,255,.13);--of-line-h:rgba(255,255,255,.26)}
#modal .order-form-section{border:1px solid var(--of-line)!important;border-radius:14px!important;background:var(--solid)!important;box-shadow:0 1px 2px rgba(18,20,26,.05)!important;overflow:visible;padding:16px 18px 8px}
#modal .order-extra{background:none!important}
#modal .order-form-section>header{padding:0!important;margin:0 0 14px;min-height:0!important;background:none!important;border:0!important;align-items:center!important;gap:10px!important}
#modal .order-form-section>header .icd{width:30px!important;height:30px!important;display:grid;place-items:center;flex:none;background:rgba(var(--bz-rgb),.10)!important;border-radius:9px!important;color:var(--accent)!important}
#modal .order-form-section>header .icd svg{width:17px!important;height:17px!important}
#modal .order-form-section>header h4{font-size:15px!important;font-weight:700;letter-spacing:-.01em;margin:0}
#modal .order-form-section>header p{display:none}
#modal .order-form-fields{padding:0!important}
#modal .order-form .fld>label{font-size:12.5px!important;font-weight:600;color:var(--muted);margin-bottom:5px}
#modal .order-form .order-field-icon{color:var(--muted)}
#modal .order-form .items-tbl thead th{height:auto!important;text-transform:none!important;letter-spacing:0!important}
#modal .order-form .items-tbl tbody td{border:0!important;height:auto!important;padding:4px 6px!important}
#modal .order-form .items-tbl tbody td:first-child{padding-left:0!important}
#modal .order-form .items-tbl td.num b{font-size:14px;font-weight:700}
#modal .order-form .items-tbl .del{width:30px;height:30px;border:0!important;background:none!important;color:var(--muted);font-size:18px;border-radius:8px}
#modal .order-form .items-tbl .del:hover{background:var(--red-bg)!important;color:var(--red)}
#modal .order-form #oItems>.row{margin-top:6px!important;align-items:center}
#modal .order-form #ieAdd{background:none!important;border:0!important;box-shadow:none!important;color:var(--accent-ink)!important;padding:0 6px 0 0!important;min-height:34px;height:34px;font-weight:700;font-size:13.5px}
#modal .order-form #ieAdd:hover{text-decoration:underline;text-underline-offset:3px}
#modal .order-form #ieAdd svg{width:16px;height:16px;opacity:1;stroke:currentColor!important;fill:none!important}
#modal .order-form .total-row{font-size:13px;font-weight:600;color:var(--muted)}
#modal .order-form .total-row span{font-size:14px;font-weight:700;color:var(--ink-1,var(--ink))}
#modal .order-form .deliv-hint{margin:2px 0 12px}
#modal .order-form .order-total{background:var(--solid)!important;border-top:1px solid var(--of-line)!important;box-shadow:none!important}
#modal .order-form .order-total>span{font-size:13.5px!important;font-weight:600;color:var(--muted)}
#modal .order-form .order-total strong{font-size:19px;font-weight:800;letter-spacing:-.02em;color:var(--ink-1,var(--ink))}
@media(max-width:900px){
  #modal .order-form-section{padding:12px 12px 4px;border-radius:12px!important}
  #modal .order-form-section>header{margin-bottom:10px}
}
#modal:has(.order-form) .m-h{background:#f1f1f3!important;border-bottom-color:transparent!important}
:root:not([data-theme="light"]) #modal:has(.order-form) .m-h{background:var(--bg)!important}
#modal .items-tbl{table-layout:fixed;width:100%}
#modal .items-tbl thead th:nth-child(1){width:40%!important}
#modal .items-tbl thead th:nth-child(2){width:17%!important}
#modal .items-tbl thead th:nth-child(3){width:22%!important}
#modal .items-tbl thead th:nth-child(4){width:16%!important}
#modal .items-tbl thead th:nth-child(5){width:40px!important}
#modal .ie-unit{position:relative}
#modal .ie-unit input{width:100%;padding-right:46px!important}
#modal .ie-unit::after{content:attr(data-u);position:absolute;right:12px;top:50%;transform:translateY(-50%);font-size:12.5px;font-weight:600;color:var(--muted);pointer-events:none}
#modal .ie-unit input[type=number]::-webkit-inner-spin-button,#modal .ie-unit input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
#modal .items-tbl input:-webkit-autofill,#modal .items-tbl input:-webkit-autofill:hover,#modal .items-tbl input:-webkit-autofill:focus{-webkit-box-shadow:0 0 0 40px var(--solid) inset!important;-webkit-text-fill-color:var(--ink)!important;caret-color:var(--ink)}
#modal .items-tbl td.num b{white-space:nowrap}
#modal .items-tbl td.num b.ie-empty{color:var(--muted);font-weight:500}
#modal .order-form .items-tbl thead th{background:#f4f4f6!important;color:var(--ink-2)!important;font-size:12.5px!important;font-weight:700;padding:10px 6px 10px 16.4px!important;border:0!important}
#modal .order-form .items-tbl thead th:first-child{padding-left:10.4px!important;border-radius:10px 0 0 10px}
#modal .order-form .items-tbl thead th:last-child{border-radius:0 10px 10px 0}
#modal .order-form .items-tbl thead th.num{padding-right:6px!important}
#modal .order-form .items-tbl tbody tr:first-child td{padding-top:10px!important}
:root:not([data-theme="light"]) #modal .order-form .items-tbl thead th{background:rgba(255,255,255,.06)!important}
#loginScreen{min-height:calc(100dvh / 1.1);display:grid;place-items:center;padding:28px 20px;background:radial-gradient(900px 500px at 12% 8%,rgba(42,99,176,.10),transparent 60%),radial-gradient(700px 500px at 92% 95%,rgba(30,146,220,.08),transparent 60%),#f1f1f3}
:root:not([data-theme="light"]) #loginScreen{background:radial-gradient(900px 500px at 12% 8%,rgba(42,99,176,.18),transparent 60%),var(--bg)}
.login-shell{width:min(1000px,100%);display:grid;grid-template-columns:1.05fr 1fr;background:var(--solid);border-radius:24px;overflow:hidden;border:1px solid rgba(18,20,26,.06);box-shadow:0 30px 80px rgba(18,20,26,.14),0 2px 6px rgba(18,20,26,.05);animation:bzIn .5s cubic-bezier(.2,.8,.2,1) both}
:root:not([data-theme="light"]) .login-shell{border-color:rgba(255,255,255,.07);box-shadow:0 30px 80px rgba(0,0,0,.45)}
.login-brand{position:relative;isolation:isolate;display:flex;flex-direction:column;gap:34px;padding:38px 40px;color:#fff;overflow:hidden;background:linear-gradient(155deg,#2A63B0 0%,#2A63B0 42%,#234f8f 100%)}
.login-brand::before{content:'';position:absolute;inset:0;z-index:-1;background-image:linear-gradient(rgba(255,255,255,.07) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.07) 1px,transparent 1px);background-size:34px 34px;-webkit-mask-image:radial-gradient(120% 90% at 0% 0%,#000 30%,transparent 75%);mask-image:radial-gradient(120% 90% at 0% 0%,#000 30%,transparent 75%)}
.login-brand::after{content:'';position:absolute;z-index:-1;width:420px;height:420px;right:-160px;bottom:-170px;border-radius:50%;background:radial-gradient(circle,rgba(125,190,255,.35),transparent 65%)}
.lb-top{display:flex;align-items:center;gap:12px}
.lb-top img{width:44px;height:44px;border-radius:12px;box-shadow:0 6px 18px rgba(0,0,0,.18)}
.lb-top .wordmark,.lb-top .brand-sub{font-size:20px!important;color:#fff!important}
.lb-top .wordmark em{color:#fff!important;font-style:normal}
.lb-top .brand-sub{color:#c3cbef!important}
.lb-main{margin-top:auto}
.lb-main h1{margin:0 0 12px;font-family:'Sora','SF Pro Display',system-ui,sans-serif;font-weight:800;font-size:29px;line-height:1.18;letter-spacing:-.025em;color:#fff}
.lb-main>p{margin:0 0 28px;font-size:14.5px;line-height:1.55;color:rgba(255,255,255,.82);max-width:36ch}
.lb-feats{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.lb-feats li{display:flex;align-items:center;gap:13px;padding:11px 13px;border-radius:14px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12)}
.lb-ic{width:36px;height:36px;flex:none;display:grid;place-items:center;border-radius:10px;background:rgba(255,255,255,.16)}
.lb-ic svg{width:19px;height:19px;fill:none;stroke:#fff;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.lb-feats b{display:block;font-size:14px;font-weight:700}
.lb-feats small{display:block;margin-top:1px;font-size:12.5px;color:rgba(255,255,255,.72)}
.lb-foot{margin-top:auto;font-size:12.5px;color:rgba(255,255,255,.62)}
#loginScreen .login-card{width:auto!important;max-width:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:none!important;padding:52px 48px 30px!important;display:flex;flex-direction:column;justify-content:center;animation:none!important}
#loginScreen .login-card>.login-logo{display:none}
#loginScreen #authTitle{margin:0 0 6px;font-size:27px;font-weight:800;letter-spacing:-.025em}
#loginScreen .login-sub{margin:0 0 28px;font-size:14.5px;color:var(--muted)}
#loginScreen .fld{margin-bottom:16px}
#loginScreen .fld label{display:block;margin-bottom:7px;font-size:13px;font-weight:600;color:var(--ink-2)}
.lf-row{display:flex;align-items:baseline;justify-content:space-between;gap:10px}
.lf-wrap{position:relative}
.lf-ic{position:absolute;left:14px;top:50%;transform:translateY(-50%);width:18px;height:18px;fill:none;stroke:var(--muted);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;pointer-events:none;transition:stroke .2s ease}
#loginScreen .login-card input{width:100%;height:50px;min-height:50px;padding:0 14px;font-size:15px;border-radius:12px;background:var(--solid)!important;border:1px solid rgba(18,20,26,.14)!important;box-shadow:none;transition:border-color .2s ease,box-shadow .2s ease}
:root:not([data-theme="light"]) #loginScreen .login-card input{border-color:rgba(255,255,255,.14)!important}
#loginScreen .lf-wrap input{padding-left:44px}
#loginScreen #loginPass{padding-right:48px}
#loginScreen .login-card input:hover{border-color:rgba(18,20,26,.28)!important}
#loginScreen .login-card input:focus{outline:none;border-color:var(--accent)!important;box-shadow:0 0 0 4px rgba(var(--bz-rgb),.14)}
.lf-wrap:focus-within .lf-ic{stroke:var(--accent)}
#loginScreen input:-webkit-autofill,#loginScreen input:-webkit-autofill:hover,#loginScreen input:-webkit-autofill:focus{-webkit-box-shadow:0 0 0 60px var(--solid) inset!important;-webkit-text-fill-color:var(--ink)!important;caret-color:var(--ink)}
#loginScreen #forgotPassword{background:none!important;border:0!important;box-shadow:none!important;padding:0;min-height:0;width:auto;font-size:13px;font-weight:600;color:var(--accent-ink)!important;cursor:pointer}
#loginScreen #forgotPassword:hover{text-decoration:underline;text-underline-offset:3px;transform:none}
.lf-eye{position:absolute;right:4px;top:0;bottom:0;margin:auto 0;transform:none;width:44px;height:44px;display:grid;place-items:center;border:0;border-radius:9px;background:none;color:var(--muted);cursor:pointer;transition:background .2s ease,color .2s ease}
.lf-eye:hover{background:rgba(var(--bz-rgb),.08);color:var(--accent)}
.lf-eye.on{color:var(--accent)}
.lf-eye svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
#loginScreen .lf-submit{height:52px;min-height:52px;margin-top:8px;border-radius:12px;font-size:15.5px;font-weight:700;display:flex;align-items:center;justify-content:center;gap:9px}
#loginScreen .lf-submit svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s ease}
#loginScreen .lf-submit:hover svg{transform:translateX(3px)}
#loginScreen #loginErr:not([hidden]){margin:4px 0 6px}
#loginScreen #recoveryResend,#loginScreen #recoveryBack{background:var(--solid)!important;color:var(--accent-ink)!important;border:1px solid rgba(var(--bz-rgb),.3)!important;box-shadow:none!important}
#loginScreen #recoveryForm>p.t-muted{margin:0 0 18px;font-size:14px;line-height:1.55}
#loginScreen .login-foot{margin-top:28px;text-align:center;font-size:12px;color:var(--muted)}
@media(max-width:860px){
  .login-shell{grid-template-columns:1fr;max-width:460px;border-radius:20px}
  .login-brand{display:none}
  #loginScreen .login-card{padding:32px 24px 24px!important}
  #loginScreen .login-card>.login-logo{display:flex;margin-bottom:22px}
  #loginScreen #authTitle{font-size:24px}
}
@media(prefers-reduced-motion:reduce){
  .login-shell{animation:none!important}
}
.obj-new{margin:2px 0 14px;padding:14px 16px 12px;border-radius:12px;border:1px solid rgba(var(--bz-rgb),.28);background:rgba(var(--bz-rgb),.05);animation:bzIn .3s cubic-bezier(.2,.8,.2,1) both}
.obj-new-head{display:flex;align-items:baseline;gap:8px;margin-bottom:10px}
.obj-new-head b{font-size:14px;font-weight:700;color:var(--accent-ink)}
.obj-new-head small{font-size:12.5px;color:var(--muted)}
.obj-new-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1.3fr) minmax(0,.7fr);gap:0 10px}
.obj-new .fld{margin-bottom:8px}
.obj-new input{width:100%;padding:0 12px}
.obj-new-err{margin:0 0 8px;font-size:12.5px;font-weight:600;color:var(--red)}
.obj-new-foot{display:flex;justify-content:flex-end;gap:8px}
@media(max-width:700px){
  .obj-new-grid{grid-template-columns:1fr}
}
#modal .m-b{--mf-line:rgba(18,20,26,.14);--mf-line-h:rgba(18,20,26,.28)}
:root:not([data-theme="light"]) #modal .m-b{--mf-line:rgba(255,255,255,.14);--mf-line-h:rgba(255,255,255,.28)}
#modal .m-b .fld textarea{padding:10px 12px}
#modal .order-control :is(input, select){padding-left:36px!important}
#modal .order-control .order-field-icon{top:50%!important;transform:translateY(-50%)}
#modal .m-b .fld>label{font-size:12.5px!important;font-weight:600;color:var(--muted)}
#modal .m-b table th{font-size:12px!important}
#modal .order-form textarea{padding:10px 12px!important}
#modal input:-webkit-autofill,#modal input:-webkit-autofill:hover,#modal input:-webkit-autofill:focus{-webkit-box-shadow:0 0 0 60px var(--solid) inset!important;-webkit-text-fill-color:var(--ink)!important}
.page-shell .contracts-toolbar{padding:14px 16px!important;gap:14px}
.page-shell .contracts-tabs{gap:6px;padding:2px}
.page-shell .contracts-tabs button{height:36px;padding:0 15px!important;border:1px solid var(--hair-strong,rgba(18,20,26,.12))!important;border-radius:9px;background:var(--solid)!important;font-size:13px!important;font-weight:600;color:var(--ink-2,#374151)!important;transition:background .2s ease,border-color .2s ease,color .2s ease}
.page-shell .contracts-tabs button:hover{border-color:rgba(var(--bz-rgb),.35)!important;color:var(--accent-ink)!important}
.page-shell .contracts-tabs button[aria-pressed=true]{background:rgba(var(--bz-rgb),.10)!important;border-color:rgba(var(--bz-rgb),.40)!important;color:var(--accent-ink)!important}
.page-shell .contracts-tabs button:focus-visible{outline:none;box-shadow:0 0 0 3px rgba(var(--bz-rgb),.18)}
.page-shell .contracts-workspace .section-toolbar{margin:0!important;padding:14px 16px!important;background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important}
.page-shell .contracts-workspace .card.flat{border:0!important;border-radius:0!important;box-shadow:none!important;background:none!important}
.page-shell .contracts-workspace .tbl-wrap{border-radius:0!important}
.page-shell .contracts-workspace .tbl td .sub{display:block;margin-top:2px;font-size:12px;color:var(--muted);font-weight:500}
.page-shell .contracts-workspace .tbl td:first-child b{font-size:13.5px}
.page-shell .tbl .empty{min-height:170px!important;padding:30px 16px!important;gap:4px;color:var(--muted)}
.page-shell .tbl .empty::before{content:'';width:46px;height:46px;margin-bottom:8px;border-radius:14px;background-color:rgba(var(--bz-rgb),.08);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232A63B0' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 13h4l2 3h4l2-3h4'/%3E%3Cpath d='M5.5 6.5 4 13v5a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-5l-1.5-6.5a1 1 0 0 0-1-.8h-11a1 1 0 0 0-1 .8Z'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:center;background-size:24px}
.page-shell .tbl .empty b{color:var(--ink)!important;font-size:15px!important;font-weight:700}
.page-shell .tbl .empty .mini{display:block;max-width:46ch;font-size:13px;line-height:1.5;color:var(--muted)}
:root:not([data-theme="light"]) .page-shell .contracts-tabs button:not([aria-pressed=true]){border-color:rgba(255,255,255,.14)!important}
.page-shell .contracts-tabs{scrollbar-width:none}
.page-shell .contracts-tabs::-webkit-scrollbar{display:none}
@media(max-width:700px){
  .page-shell .contracts-tabs button{height:34px;padding:0 12px!important}
}
.ov{display:flex;flex-direction:column;gap:12px}
.ov .card{margin:0;border-radius:12px}
.ov-head{padding:12px 14px!important}
.ov-top{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.ov-id{display:flex;align-items:center;flex-wrap:wrap;gap:4px 8px;min-width:0;flex:1 1 240px}
.ov-id h2{margin:0;font-size:18px;line-height:1.35;overflow-wrap:anywhere;letter-spacing:-.02em}
.ov-id .mini{flex-basis:100%;font-size:12px;color:var(--muted)}
.ov-top>.ov-acts{flex:0 1 auto;max-width:100%;justify-content:flex-end}
.ov-acts{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}
.ov-note{margin:10px 0 0}
.ov-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin-top:12px;border:1px solid var(--hair);border-radius:10px;overflow:hidden}
.ov-fact{display:flex;flex-direction:column;gap:2px;padding:9px 12px;min-width:0}
.ov-fact+.ov-fact{border-left:1px solid var(--hair)}
.ov-fact>span{font-size:12px;font-weight:600;color:var(--muted)}
.ov-fact>b{font-size:13px;line-height:1.4;font-weight:700;color:var(--ink);overflow-wrap:anywhere}
.ov-fact>small{font-size:12px;color:var(--muted);line-height:1.45}
.ov-link{color:var(--accent-ink);cursor:pointer}
.ov-link:hover{text-decoration:underline;text-underline-offset:3px}
.ov-muted{color:var(--muted);font-weight:500}
.ov-notes{margin-top:8px;display:grid;gap:4px}
.ov-notes p{margin:0;font-size:12px;line-height:1.4}
.ov-notes span{color:var(--muted);font-weight:600}
.ov-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.ov-kpi{display:flex;flex-direction:column;gap:4px;padding:10px 12px;min-width:0;border-radius:12px;background:var(--solid);border:1px solid var(--hair)}
.ov-kpi>span{font-size:12px;line-height:1.4;font-weight:600;color:var(--muted)}
.ov-kpi>b{font-size:20px;line-height:1.25;font-weight:700;letter-spacing:-.02em;color:var(--ink);white-space:normal;overflow-wrap:anywhere}
.ov-kpi>b i{font-style:normal;font-size:12px;font-weight:600;color:var(--muted)}
.ov-kpi>small{font-size:12px;line-height:1.4;color:var(--muted)}
.ov-kpi .prg{margin:1px 0;height:4px}
.ov-kpi.is-neg>b{color:var(--red)}
.ov-kpi.is-neg{border-color:color-mix(in srgb,var(--red) 35%,transparent);background:color-mix(in srgb,var(--red) 5%,var(--solid))}
.ov-kpi.is-pos>b{color:var(--green)}
.ov-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);gap:10px;align-items:start}
.ov-acts .ov-cancel{margin-left:auto}
.ov-block>h3{display:flex;align-items:center;gap:8px;margin:0;padding:11px 12px;font-size:14px;line-height:1.4}
.ov-block>h3 em{font-style:normal;font-size:11px;font-weight:700;min-width:20px;height:20px;padding:0 7px;display:inline-grid;place-items:center;border-radius:11px;background:rgba(var(--bz-rgb),.1);color:var(--accent-ink)}
.ov-empty{padding:12px;font-size:12px;color:var(--muted);border-top:1px solid var(--hair)}
.ov-sum{padding:2px 12px 8px;border-top:1px solid var(--hair)}
.ov-sum>div{display:flex;justify-content:space-between;gap:12px;padding:6px 0;font-size:13px}
.ov-sum>div+div{border-top:1px dashed var(--hair)}
.ov-sum .ov-total{font-size:14px;font-weight:700}
@media(max-width:1100px){
  .ov-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ov-facts{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ov-fact:nth-child(3){border-left:0}
  .ov-fact:nth-child(n+3){border-top:1px solid var(--hair)}
  .ov-grid{grid-template-columns:1fr}
}
@media(max-width:620px){
  .ov-head{padding:12px!important}
  .ov-top>.ov-acts{justify-content:flex-start;flex-basis:100%;width:100%}
  .ov-kpis{gap:8px}
  .ov-kpi{padding:10px}
  .ov-kpi>b{font-size:18px}
}
#topActions{flex:none}
@media(max-width:620px){
  .ov-kpi>b{white-space:normal;overflow:visible;font-size:18px;line-height:1.25}
}
@keyframes bzFade{from{opacity:0}to{opacity:1}}
#pageTitle.swap{animation:bzFade .2s ease-out both!important}
.page-shell>.ph,.page-shell>.tabs,.page-shell>.card,.page-shell>.grid-2,.page-shell>.stats,.dashboard-page>section,.page-shell .tbl tbody tr,.plan-row,.dt-line,.hbar,.badge,.bars>i,.prg i,.warehouse-stock-bar i,.trk i,.empty svg,.orders-empty>svg,.fleet-empty>svg,.production-empty>svg,.dash-empty>svg{animation:none!important}
.page-shell .card.tap:hover,.dash-stat.tap:hover,.mixer:hover,.cash-metric:hover,#customerPager button:hover,.orders-status button:hover,#sideNav nav a:hover,.pop button:hover,.pop a:hover,#sideNav nav a:hover svg,#sideNav .side-user:hover .avatar,.tbl tbody tr:hover .badge,.tbl tr:hover .avatar,.dash-stat:hover .icd,.customer-stat:hover .icd,.cash-metric:hover .cash-metric-icon,.topbar .icon-btn:hover svg,.pop button:hover svg,.pop a:hover svg{transform:none!important}
#modal.on .m-h,#modal.on .m-b,#modal.on .m-f,#modal.on .m-b>*,#modal .m-b.swap,.modal.on .m-b>.order-form>section,.modal.on .m-b>.contract-form>section,#modal .items-tbl tbody tr,.pop.on button,.pop.on a{animation:none!important}
.stat.card:hover,.dashboard-page .dash-stat:hover{transform:none!important}
.orders-redesign{gap:12px;min-width:0;width:100%}
.orders-redesign .orders-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.orders-redesign .orders-kpis article{display:flex;align-items:center;gap:10px;min-width:0;padding:10px 12px;min-height:66px;box-sizing:border-box;background:var(--solid);border:1px solid var(--hair);border-radius:12px;box-shadow:none}
.orders-redesign .orders-kpi-icon{display:grid;place-items:center;flex:none;width:32px;height:32px;border-radius:9px;color:var(--accent-ink);background:rgba(var(--bz-rgb),.10)}
.orders-redesign .orders-kpi-icon svg{width:18px;height:18px}
.orders-redesign .orders-kpis article:nth-child(2) .orders-kpi-icon{color:var(--amber);background:var(--amber-bg)}
.orders-redesign .orders-kpis article:nth-child(3) .orders-kpi-icon{color:var(--green);background:var(--green-bg)}
.orders-redesign .orders-kpis article>div>span{display:block;color:var(--muted);font-size:12px;line-height:1.4}
.orders-redesign .orders-kpis strong{display:block;font-size:22px;line-height:1.2;font-weight:700;color:var(--ink);font-variant-numeric:tabular-nums}
.orders-redesign .orders-workbench{min-width:0;border:1px solid var(--hair);border-radius:14px;overflow:hidden;background:var(--solid);box-shadow:0 4px 20px rgba(15,23,42,.04)}
.orders-redesign .orders-toolbar{grid-template-columns:minmax(200px,1fr) auto auto;gap:10px;padding:12px 12px 8px;border:0;border-radius:0;box-shadow:none!important;background:transparent!important}
.orders-redesign .orders-search{max-width:560px!important;min-width:0}
.orders-redesign .orders-search input{padding-left:40px}
.orders-redesign .orders-create{min-width:0;white-space:nowrap}
.orders-redesign .orders-overview{gap:12px;padding:8px 10px;border:1px solid var(--hair);border-radius:10px}
.orders-redesign .orders-overview span{font-size:11px!important}
.orders-redesign .orders-overview span+span{padding-left:12px}
.orders-redesign .orders-overview b{font-size:12px}
.orders-redesign .orders-status{gap:8px;padding:0 12px 10px;border:0;box-shadow:none!important;border-radius:0;background:transparent!important}
.orders-redesign .orders-status button{min-height:32px;padding:5px 10px;border:1px solid transparent;border-radius:10px;background:var(--field);font-size:12px!important}
.orders-redesign .orders-status button.on{border-color:var(--accent);color:var(--accent-ink);background:rgba(var(--bz-rgb),.08)}
.orders-redesign .orders-status button b{font-size:10px!important;background:rgba(var(--bz-rgb),.05);border-radius:6px}
.orders-redesign .orders-table-card{border:0!important;border-top:1px solid var(--hair)!important;border-radius:0!important;box-shadow:none!important;margin:0;padding:0}
.orders-redesign .orders-table-head{display:none}
.orders-redesign .orders-table{width:100%;min-width:1060px}
.orders-redesign .orders-table th{white-space:nowrap}
.orders-redesign .orders-table td{vertical-align:middle}
.orders-redesign .orders-table .sub{font-size:11px!important;color:var(--muted);line-height:1.5;margin-top:3px}
.orders-redesign .orders-table .order-number{color:var(--accent-ink);white-space:nowrap;font-weight:650}
.orders-redesign .orders-table .prg-lbl{font-size:10px;white-space:nowrap;gap:12px}
.orders-redesign .orders-table .prg{height:6px;border-radius:99px;background:var(--field)}
.orders-redesign .orders-product-chip{display:inline-block;padding:5px 9px;border-radius:9px;border:1px solid var(--hair);background:var(--field);font-size:11px;font-weight:600}
.orders-redesign .orders-table .badge{border:0;border-radius:9px;padding:5px 9px;font-size:10px!important;white-space:nowrap}
.orders-redesign .orders-list-footer{display:flex;justify-content:space-between;gap:12px;padding:10px 12px;color:var(--muted);font-size:12px}
.orders-redesign .orders-list-footer span:last-child{font-size:10px}
.orders-redesign .orders-empty{min-height:220px}
@container(max-width:1050px){
  .orders-redesign .orders-toolbar{grid-template-columns:minmax(0,1fr) auto}
  .orders-redesign .orders-overview{display:none}
  .orders-redesign .orders-create{grid-column:2;grid-row:1}
}
@media(max-width:700px){
  .orders-redesign{gap:12px}
  .orders-redesign .orders-kpis{gap:8px}
  .orders-redesign .orders-kpis article{padding:10px;gap:4px;min-height:78px;flex-direction:column;align-items:flex-start}
  .orders-redesign .orders-kpi-icon{display:none}
  .orders-redesign .orders-kpi-icon svg{width:18px;height:18px}
  .orders-redesign .orders-kpis article>div>span{font-size:12px;min-height:34px}
  .orders-redesign .orders-kpis strong{font-size:22px}
  .orders-redesign .orders-toolbar{display:flex;flex-wrap:wrap;padding:12px;gap:10px}
  .orders-redesign .orders-search{flex:1 1 100%}
  .orders-redesign .orders-create{flex:none;margin-left:auto}
  .orders-redesign .orders-status{padding:0 12px 12px}
  .orders-redesign .orders-table{min-width:0}
  .orders-redesign .orders-table td{height:auto;padding:0!important;border:0}
  .orders-redesign .orders-table td:first-child{padding-left:0!important}
  .orders-redesign .orders-table .order-open{padding:0!important}
  .orders-redesign .orders-list-footer{padding:12px}
  .orders-redesign .orders-list-footer span:last-child{display:none}
}
.icon-btn>svg{width:16px;height:16px;flex:0 0 16px;pointer-events:none}
.action-symbol-source{display:none!important}
.icon-btn:focus-visible,.pop button:focus-visible,[data-more]:focus-visible{outline:2px solid var(--accent-ink)!important;outline-offset:3px}
.tbl td:last-child:has(>[data-more]){width:48px;text-align:right}
.tbl td [data-more]{display:inline-flex;align-items:center;justify-content:center;width:30px!important;height:30px!important;min-width:30px;min-height:30px;flex:none}
.section-toolbar,.ph>.actions,.m-f{row-gap:8px}
.m-f{flex-wrap:wrap}
@media(pointer:coarse){
  .tbl td [data-more]{min-width:40px;min-height:40px}
}
@media(prefers-reduced-motion:reduce){
  .icon-btn,.pop button{transition:none!important}
}
.customers-reference{gap:12px!important}
.customers-reference .customers-summary{display:block;padding:0;border:0;background:none;box-shadow:none!important}
.customers-reference .customer-stats{display:grid!important;grid-template-columns:1fr 1fr 1fr 1.85fr!important;gap:8px!important}
.customers-reference .customer-stat{display:flex;align-items:center;gap:12px!important;padding:12px 16px!important;border:0!important;border-radius:14px;background:var(--solid)!important;box-shadow:0 5px 22px rgba(18,20,26,.035)!important;min-height:64px}
.customers-reference .customer-stat .icd{display:grid!important;place-items:center;width:36px!important;height:36px!important;border-radius:14px;flex:none}
.customers-reference .customer-stat .icd svg{width:20px!important;height:20px!important}
.customers-reference .customer-stat strong{font-size:22px!important;font-weight:700;line-height:1.1}
.customers-reference .customer-stat>div>span{font-size:13px!important;white-space:nowrap;color:var(--muted)}
.customers-reference #customerCreate{margin-left:auto;flex:none;white-space:nowrap}
.customers-reference .customer-directory{border-radius:14px;overflow:hidden;background:var(--solid);box-shadow:0 6px 24px rgba(18,20,26,.04)}
.customers-reference .customer-filters{display:grid;grid-template-columns:minmax(250px,2.1fr) repeat(3,minmax(125px,1fr)) minmax(160px,1.2fr) auto;align-items:end;gap:12px;padding:12px 14px;border:0;border-radius:0;background:transparent;box-shadow:none!important}
.customers-reference .customer-filters .search{width:100%;max-width:none;min-width:0;margin:0}
.customers-reference .customer-filters>label{display:flex;flex-direction:column;gap:4px;min-width:0;color:var(--muted);font-size:13px!important}
.customers-reference .customer-filters :is(input, select){width:100%;min-width:0;padding:6px 10px}
.customers-reference .customer-filters .search input{padding-left:42px!important}
.customers-reference .customer-table{border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent}
.customers-reference .customer-table table{width:100%;min-width:940px}
.customers-reference .customer-table .tbl td{vertical-align:middle}
.customers-reference .customer-table .tbl th:first-child,.customers-reference .customer-table .tbl td:first-child{width:44px}
.customers-reference .customer-table .tbl th:nth-child(2){width:27%}
.customers-reference .customer-table .tbl th:last-child,.customers-reference .customer-table .tbl td:last-child{text-align:center;width:90px}
.customers-reference .customer-name{gap:10px;text-align:left;max-width:100%}
.customers-reference .customer-name b{font-size:13px!important;font-weight:650}
.customers-reference .customer-name small{font-size:11px!important;margin-top:2px;color:var(--muted)}
.customers-reference .customer-name .avatar{width:34px;height:34px;flex:none;border-radius:50%;background:rgba(var(--bz-rgb),.1);color:var(--accent-ink);font-size:14px!important}
.customers-reference .customer-cell{gap:10px;white-space:nowrap}
.customers-reference .customer-cell svg{width:17px;height:17px;color:var(--accent-ink)}
.customers-reference .badge{border:0!important;border-radius:8px;padding:4px 8px;font-size:11px!important}
.customers-reference #customerPager{display:flex;justify-content:space-between;align-items:center;padding:10px 16px;gap:10px;border:0;color:var(--muted);font-size:13px!important}
.customers-reference #customerPager button{width:30px;height:30px;border-radius:7px;font-size:14px}
.customers-reference #customerPager button svg{width:16px;height:16px}
#modal[data-variant="customer-reference"]{width:min(720px,calc(100vw / 1.1 - 32px));max-height:calc(100dvh / 1.1 - 32px);border-radius:16px}
#modal[data-variant="customer-reference"] .m-h{padding:14px 20px 10px;border-bottom:0;background:var(--solid)}
#modal[data-variant="customer-reference"] .modal-heading{display:flex;align-items:center;gap:12px}
#modal[data-variant="customer-reference"] .modal-heading-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:13px;color:var(--accent-ink);background:rgba(var(--bz-rgb),.08)}
#modal[data-variant="customer-reference"] .modal-heading-icon svg{width:22px;height:22px}
#modal[data-variant="customer-reference"] #modalTitle{font-size:20px!important;line-height:1.25}
#modal[data-variant="customer-reference"] .m-h .mini{font-size:12px!important;margin-top:2px}
#modal[data-variant="customer-reference"] .m-b{padding:6px 20px 12px;background:var(--solid);overflow-y:auto}
.customer-form{display:grid;gap:16px}
.customer-form-section h4{display:flex;align-items:center;gap:10px;font-size:15px;margin:0 0 8px;color:var(--ink)}
.customer-form-section h4:after{content:'';height:1px;flex:1;background:var(--hair);margin-left:3px}
.customer-form-section h4 svg{width:18px;height:18px;color:var(--accent-ink);flex:none}
.customer-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 16px}
.customer-form-grid .customer-full{grid-column:1/-1}
#modal[data-variant="customer-reference"] #modalB .customer-form .fld{margin:0;min-width:0}
#modal[data-variant="customer-reference"] #modalB .customer-form .fld label{margin-bottom:4px;font-size:12px!important;font-weight:600}
#modal[data-variant="customer-reference"] #modalB .customer-form .fld :is(input, select, textarea){width:100%;padding:6px 10px!important}
#modal[data-variant="customer-reference"] #modalB .customer-form .fld textarea{resize:vertical}
#modal[data-variant="customer-reference"] .m-f{padding:10px 20px;border-top:1px solid var(--hair);background:var(--solid);gap:10px}
@container(max-width:1100px){
  .customers-reference .customer-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .customers-reference .customer-filters{grid-template-columns:repeat(4,minmax(0,1fr))}
  .customers-reference .customer-filters .search{grid-column:span 2}
}
@media(max-width:700px){
  .customers-reference .customer-stat{padding:12px!important;gap:10px!important;min-height:64px}
  .customers-reference .customer-stat .icd{width:32px!important;height:32px!important}
  .customers-reference .customer-stat .icd svg{width:20px!important;height:20px!important}
  .customers-reference .customer-stat>div>span{font-size:11px!important;white-space:normal}
  .customers-reference .customer-stat:last-child{flex-wrap:wrap}
  .customers-reference #customerCreate{width:100%}
  .customers-reference .customer-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:12px}
  .customers-reference .customer-filters .search{grid-column:1/-1}
  .customers-reference #customerClear{grid-column:1/-1}
  .customers-reference #customerPager{align-items:flex-start;flex-direction:column;padding:12px}
  #modal[data-variant="customer-reference"]{width:calc(100vw / 1.1 - 20px);max-height:calc(100dvh / 1.1 - 20px)}
  #modal[data-variant="customer-reference"] :is(.m-h, .m-b, .m-f){padding:14px}
  #modal[data-variant="customer-reference"] #modalTitle{font-size:20px!important}
  #modal[data-variant="customer-reference"] .m-h .mini{font-size:12px!important}
  .customer-form-grid{grid-template-columns:1fr;gap:12px}
  .customer-form{gap:16px}
  .customer-form-section h4{font-size:15px}
}
#modal[data-variant="customer-reference"]{left:50%!important;top:50%!important;right:auto!important;bottom:auto!important;margin:0!important}
#modal[data-variant="customer-reference"].on{transform:translate(-50%,-50%)!important}
@media(prefers-reduced-motion:reduce){
  #modal[data-variant="customer-reference"]{transition:none!important}
}
.customers-reference .customer-filters .search{align-self:end;padding:0!important;line-height:0}
.customers-reference .customer-filters .search input{display:block;margin:0!important}
@media(min-width:701px){
  .customer-form-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 14px}
  .customer-form-grid .customer-full{grid-column:auto}
  .customer-form-grid .fld:has([name="name"]),.customer-form-grid .fld:has([name="address"]),.customer-form-grid .fld:has([name="notes"]){grid-column:span 2}
}
#modal[data-variant="customer-reference"] #modalB .customer-form .fld{display:flex;flex-direction:column}
#modal[data-variant="customer-reference"] #modalB .customer-form .fld :is(input, select, textarea){margin-top:auto}
.contracts-reference{overflow:hidden;border:1px solid var(--hair);border-radius:14px;background:var(--solid);box-shadow:0 6px 24px rgba(18,20,26,.04)}
.page-shell .contracts-reference .contracts-toolbar,.contracts-reference .contracts-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;padding:14px 18px!important;border-bottom:1px solid var(--hair)}
.contracts-reference .contracts-tabs{display:flex;gap:8px;padding:0;overflow:auto;min-width:0}
.contracts-reference .contracts-tabs button{flex:none;height:36px;min-height:36px;padding:0 16px;border:1px solid var(--hair);border-radius:9px;background:var(--solid);color:var(--ink);font-size:13px;font-weight:600;cursor:pointer;white-space:nowrap}
.contracts-reference .contracts-tabs button[aria-pressed=true]{background:rgba(var(--bz-rgb),.09)!important;border-color:rgba(var(--bz-rgb),.22)!important;color:var(--accent-ink)!important}
.contracts-reference #contractCreate{white-space:nowrap}
.contracts-reference .contract-searchbar{display:flex;align-items:center;gap:24px;padding:14px 18px}
.contracts-reference .contract-searchbar .search{flex:1;min-width:0;max-width:none;margin:0;padding:0;line-height:0}
.contracts-reference #contractSearch{width:100%;display:block;margin:0;padding:0 12px 0 38px!important}
.contracts-reference #contractCount{flex:none;color:var(--muted);font-size:12px;white-space:nowrap}
.contracts-reference .contract-directory-table{width:100%;min-width:920px;table-layout:auto}
.contracts-reference .contract-directory-table th{white-space:nowrap}
.contracts-reference .contract-directory-table td{vertical-align:middle}
.contracts-reference .contract-directory-table th:nth-child(1){width:20%}
.contracts-reference .contract-directory-table th:nth-child(2){width:25%}
.contracts-reference .contract-directory-table th:nth-child(3){width:19%}
.contracts-reference .contract-directory-table th:last-child,.contracts-reference .contract-directory-table td:last-child{width:80px;text-align:center}
.contract-number-cell,.contract-customer,.contract-term{display:flex;align-items:center;gap:16px;min-width:0}
.contract-number-cell>svg{width:22px;height:22px;flex:none;color:var(--accent-ink)}
.contract-number{border:0;padding:0;background:none;color:var(--accent-ink);font-family:inherit;font-size:14px;font-weight:650;cursor:pointer;text-align:left;white-space:nowrap}
.contracts-reference .sub{display:block;margin-top:4px;font-size:12px!important;line-height:1.4;color:var(--muted)}
.contracts-reference .contract-customer .avatar{width:36px;height:36px;flex:none;border-radius:50%;font-size:13px;background:rgba(var(--bz-rgb),.1);color:var(--accent-ink)}
.contracts-reference .contract-customer b{font-weight:650}
.contract-term>svg{width:18px;height:18px;flex:none;color:var(--muted)}
.contract-payment{display:inline-flex;align-items:center;gap:7px;padding:5px 9px;border:1px solid rgba(var(--bz-rgb),.3);border-radius:8px;background:rgba(var(--bz-rgb),.04);color:var(--accent-ink);font-size:12px;white-space:nowrap}
.contract-payment svg{width:15px;height:15px;flex:none}
.contract-state{display:inline-flex;align-items:center;gap:8px}
.contract-state:before{content:'';width:7px;height:7px;border-radius:50%;background:var(--muted)}
.contract-state.is-active:before{background:var(--green)}
.contract-state.is-draft:before{background:var(--accent)}
.contract-state .badge{padding:5px 10px;border:0!important;border-radius:8px;font-size:11px!important}
.contracts-reference [data-contract-action]{width:30px!important;height:30px!important;min-height:30px;min-width:30px;border:0;background:none;box-shadow:none}
.contracts-reference .contract-pager{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 18px;color:var(--muted);font-size:12px}
.contract-pager nav{display:flex;align-items:center;gap:8px}
.contract-pager button{display:grid;place-items:center;width:32px;height:32px;border:1px solid var(--hair);border-radius:8px;background:var(--solid);color:var(--ink);font:inherit;cursor:pointer}
.contract-pager button svg{width:15px;height:15px}
.contract-pager button[aria-current]{background:var(--accent);border-color:var(--accent);color:#fff}
.contract-pager button:disabled{opacity:.4;cursor:default}
.contract-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:36px 16px;min-height:180px;text-align:center;color:var(--muted)}
.contract-empty>svg{width:28px;height:28px;color:var(--accent-ink)}
.contract-empty b{font-size:15px;color:var(--ink)}
.contracts-reference button:focus-visible{outline:2px solid var(--accent-ink);outline-offset:2px}
.contracts-reference [aria-busy=true]{opacity:.55}
@media(max-width:700px){
  .page-shell .contracts-reference .contracts-toolbar,.contracts-reference .contracts-toolbar{padding:12px!important;gap:10px}
  .contracts-reference .contracts-tabs{width:100%;gap:6px}
  .contracts-reference .contracts-tabs button{flex:1;padding:0 10px!important;font-size:12px}
  .contracts-reference #contractCreate{margin-left:auto}
  .contracts-reference .contract-searchbar{padding:12px;gap:8px;flex-wrap:wrap}
  .contracts-reference .contract-searchbar .search{flex-basis:100%}
  .contracts-reference .contract-pager{padding:12px;flex-wrap:wrap}
  .contracts-reference .contract-directory-table{min-width:900px}
}
.production-reference{display:grid;gap:16px;min-width:0}
.production-reference .production-toolbar{margin:0;min-height:92px;padding:16px;border:1px solid var(--hair);border-radius:14px;box-shadow:0 4px 20px rgba(18,20,26,.035)}
.production-reference .production-caption{font-size:13px!important;margin-bottom:9px}
.production-reference .production-date .row{gap:7px}
.production-reference .production-date .icon-btn{width:34px;height:34px;min-width:34px;min-height:34px;border-radius:9px}
.production-reference #dDate{width:150px;padding:6px 10px}
.production-reference .production-metrics>div{padding:0 20px;gap:10px}
.production-reference .production-metrics>div>svg{width:38px;height:38px;padding:8px;border-radius:11px;background:rgba(var(--bz-rgb),.08);color:var(--accent-ink);flex:none}
.production-reference .production-metrics span{font-size:12px!important}
.production-reference .production-metrics strong{font-size:24px!important;line-height:1.4}
.production-reference .production-metrics small{font-size:13px}
.production-reference .production-section-title{margin:0;gap:12px}
.production-reference .production-section-title>span:first-child{font-size:15px!important;font-weight:650}
.production-reference .production-section-title svg{width:19px;height:19px}
.production-reference .production-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start}
.production-reference .production-grid>div{min-width:0;display:grid;gap:14px}
.production-reference .production-grid .card{border:1px solid var(--hair);border-radius:14px;box-shadow:0 4px 20px rgba(18,20,26,.035);margin:0}
.production-reference .production-plant-card{padding:16px}
.production-reference .production-plant-heading{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:14px}
.production-reference .production-plant-heading h3{font-size:16px!important;line-height:1.4;margin:0}
.production-reference .production-plant-heading .mini{font-size:11px;color:var(--muted)}
.production-reference .production-jobs{display:grid;gap:16px}
.production-reference .production-job .plan-row{display:flex;align-items:flex-start;gap:14px;border:1px solid var(--hair);border-radius:12px;padding:14px!important}
.production-reference .production-job .plan-time{flex:none;min-width:58px;padding:8px;border:1px solid var(--hair);border-radius:9px;background:var(--field);font-size:16px;font-weight:650;text-align:left;line-height:1.4}
.production-reference .production-job .plan-time .mini{display:block;font-size:11px!important;color:var(--muted);font-weight:500;margin-top:2px}
.production-reference .production-job .plan-body{flex:1;min-width:0}
.production-reference .production-job-title{display:flex;align-items:center;gap:7px;flex-wrap:wrap;line-height:1.5}
.production-reference .production-job-title>b{font-size:14px!important;font-weight:650}
.production-reference .production-job-title .badge{font-size:11px!important;border:0;padding:4px 8px;border-radius:8px}
.production-reference .production-order-link{display:inline-block;margin:3px 0 8px;padding:0;border:0;background:none;color:var(--accent-ink);font:inherit;font-size:13px;font-weight:550;text-align:left;cursor:pointer}
.production-reference .production-job-note{display:block;margin-bottom:6px;overflow-wrap:anywhere}
.production-reference .production-job-progress{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:6px 0 9px;color:var(--muted);font-size:12px}
.production-reference .production-job-progress .prg{flex:1;min-width:70px;height:8px;border-radius:99px;background:var(--field);overflow:hidden}
.production-reference .production-job .plan-body>.mini{display:block;font-size:11px!important;color:var(--muted);line-height:1.5}
.production-reference .production-reorder{display:grid;gap:5px;flex:none}
.production-reference .production-reorder .icon-btn{width:30px;height:30px;min-width:30px;min-height:30px;border-radius:8px;box-shadow:none}
.production-reference .production-job-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;padding-top:12px}
.production-reference .production-job-actions .icon-btn{width:36px;height:36px;min-width:36px;min-height:36px;border-radius:9px;box-shadow:none}
.production-reference .production-batches>h3{font-size:17px!important;padding:16px 16px 12px;margin:0}
.production-reference .production-batches .tbl-wrap{padding:0 10px 10px}
.production-reference .production-batches .tbl{width:100%;min-width:510px}
.production-reference .production-batches th{white-space:nowrap}
.production-reference .production-batches th:first-child{border-radius:8px 0 0 8px}
.production-reference .production-batches th:last-child{border-radius:0 8px 8px 0}
.production-reference .production-batch-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-height:185px;padding:24px 12px;color:var(--muted);text-align:center}
.production-reference .production-batch-empty>svg{width:34px;height:34px;color:var(--muted)}
.production-reference .production-batch-empty>b{font-size:16px;color:var(--ink)}
.production-reference button:focus-visible{outline:2px solid var(--accent-ink);outline-offset:2px}
@container(max-width:1100px){
  .production-reference .production-toolbar{flex-wrap:wrap}
  .production-reference .production-grid{grid-template-columns:1fr}
  .production-reference .production-metrics>div{padding:0 12px}
}
@media(max-width:700px){
  .production-reference{gap:12px}
  .production-reference .production-toolbar{padding:12px;min-height:0}
  .production-reference .production-date{width:100%}
  .production-reference #dDate{width:120px;min-width:0;flex:1}
  .production-reference .production-metrics{justify-content:space-between}
  .production-reference .production-metrics>div{padding:0 8px;min-width:0}
  .production-reference .production-metrics>div>svg{display:none}
  .production-reference .production-metrics span{font-size:10px!important}
  .production-reference .production-metrics strong{font-size:19px!important}
  .production-reference .production-section-title{align-items:flex-start;flex-direction:column;gap:4px}
  .production-reference .production-grid{grid-template-columns:1fr}
  .production-reference .production-plant-card{padding:12px}
  .production-reference .production-plant-heading h3{font-size:14px!important}
  .production-reference .production-job .plan-row{display:grid;grid-template-columns:1fr auto;padding:12px!important;gap:10px}
  .production-reference .production-job .plan-time{grid-column:1;grid-row:1;justify-self:start;display:flex;align-items:center;gap:8px;min-width:0;font-size:14px}
  .production-reference .production-job .plan-time .mini{margin:0}
  .production-reference .production-reorder{grid-column:2;grid-row:1;display:flex}
  .production-reference .production-job .plan-body{grid-column:1/-1;grid-row:2}
  .production-reference .production-job-title>b{font-size:13px!important}
  .production-reference .production-batch-empty{min-height:150px}
  .production-reference .production-job-progress{gap:8px}
}
.production-reference .production-job-progress>span{white-space:nowrap;flex:none}
.production-reference .production-job-progress b{display:inline;font-size:inherit}
.transport-reference{gap:14px;min-width:0}
.transport-reference>.tabs{align-self:stretch!important;padding:0!important;border:0!important;border-bottom:1px solid var(--hair)!important;border-radius:0!important;background:none!important;gap:18px;box-shadow:none}
.transport-reference>.tabs button{height:38px;min-height:38px;padding:0 2px!important;border:0!important;border-bottom:2px solid transparent!important;border-radius:0!important;background:none!important;box-shadow:none!important;font-size:13px!important;color:var(--muted)}
.transport-reference>.tabs button.on{border-bottom-color:var(--accent)!important;color:var(--accent-ink)!important}
.transport-reference .fleet-summary{padding:15px 18px;margin-bottom:18px;border-radius:14px;box-shadow:0 4px 20px rgba(18,20,26,.035)}
.transport-reference .fleet-summary>div{padding:0 20px;gap:12px}
.transport-reference .fleet-summary>div:first-child{padding-left:0}
.transport-reference .fleet-summary>div>svg{display:block;width:38px;height:38px;padding:8px;border-radius:10px;background:rgba(var(--bz-rgb),.08)}
.transport-reference .fleet-summary strong{font-size:24px!important;line-height:1.3;margin-top:3px}
.transport-reference .fleet-heading{margin-bottom:12px;font-size:14px}
.transport-reference .mixer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:18px}
.transport-reference .mixer{padding:16px;border:1px solid var(--hair);border-radius:14px;box-shadow:0 4px 20px rgba(18,20,26,.035);min-width:0}
.transport-reference .fleet-mixer-head{display:flex;align-items:center;gap:14px}
.transport-reference .fleet-mixer-icon{display:grid;place-items:center;flex:none;width:48px;height:48px;border-radius:12px;background:rgba(var(--bz-rgb),.08);color:var(--accent-ink)}
.transport-reference .fleet-mixer-icon svg{width:31px;height:31px}
.transport-reference .fleet-mixer-info{flex:1;min-width:0}
.transport-reference .mixer .plate{font:650 19px/1.3 inherit;font-family:inherit;font-size:19px;font-weight:650;letter-spacing:0}
.transport-reference .fleet-mixer-info .mini{font-size:12px!important;color:var(--muted);margin-top:4px;overflow-wrap:anywhere}
.transport-reference .fleet-mixer-head>.badge{align-self:flex-start;margin:0;border:0;padding:5px 10px;border-radius:8px;font-size:12px!important;white-space:nowrap}
.transport-reference .mixer .actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px!important}
.transport-reference .mixer .cur{margin-top:12px!important;padding:10px;background:var(--field);border-radius:9px;font-size:12px}
.transport-reference .fleet-tables{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:stretch}
.transport-reference .fleet-tables>.card{min-width:0;margin:0;border:1px solid var(--hair);border-radius:14px;box-shadow:0 4px 20px rgba(18,20,26,.035)}
.transport-reference .fleet-tables>.card>h3{padding:15px 16px!important;font-size:17px!important;border-bottom:0}
.transport-reference .tbl th{white-space:nowrap}
.transport-reference .tbl .sub{font-size:11px!important;margin-top:4px;line-height:1.4}
.transport-reference .fleet-tables .tbl{min-width:480px}
.transport-reference .fleet-tables td:last-child{width:1%;white-space:nowrap}
.transport-reference .fleet-product{display:inline-flex;border-radius:8px;padding:5px 9px;background:var(--field);font-size:12px}
.transport-reference .fleet-table-empty{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:9px;min-height:158px;padding:20px 12px;text-align:center;color:var(--muted);white-space:normal}
.transport-reference .fleet-table-empty>svg{width:34px;height:34px;opacity:.7}
.transport-reference .fleet-table-empty>b{font-size:16px;color:var(--ink)}
.transport-reference #tBody:not([data-transport-tab=doska]){padding:14px;background:var(--solid);border:1px solid var(--hair);border-radius:14px;box-shadow:0 4px 20px rgba(18,20,26,.035)}
.transport-reference .section-toolbar{padding:0!important;border:0!important;box-shadow:none!important;background:none!important;gap:12px;margin-bottom:14px!important}
.transport-reference .section-toolbar .search{flex:1;max-width:none;min-width:0}
.transport-reference .section-toolbar .spacer{display:none}
.transport-reference #crudNew{white-space:nowrap}
.transport-reference #crudList .tbl-wrap{border:0;box-shadow:none}
.transport-reference #crudList td:last-child{text-align:right;width:48px}
.transport-reference #crudList [data-more]{width:28px;height:28px;min-width:28px;min-height:28px}
.transport-reference button:focus-visible{outline:2px solid var(--accent-ink);outline-offset:2px}
#modal[data-variant^="transport-"]{width:min(640px,calc(100vw / 1.1 - 32px))!important;max-height:calc(100dvh / 1.1 - 32px)!important;left:50%!important;top:50%!important;right:auto!important;bottom:auto!important;margin:0!important;border-radius:16px!important}
#modal[data-variant="transport-dispatch"]{width:min(740px,calc(100vw / 1.1 - 32px))!important}
#modal[data-variant^="transport-"].on{transform:translate(-50%,-50%)!important}
#modal[data-variant^="transport-"] #modalH{padding:18px!important;gap:12px}
#modal[data-variant^="transport-"] .modal-heading{gap:12px}
#modal[data-variant^="transport-"] .modal-heading-icon{width:40px;height:40px;border-radius:11px;flex:none;background:rgba(var(--bz-rgb),.08);color:var(--accent-ink)}
#modal[data-variant^="transport-"] .modal-heading-icon svg{width:25px;height:25px}
#modal[data-variant^="transport-"] #modalTitle{font-size:20px!important;line-height:1.3}
#modal[data-variant^="transport-"] #modalH .mini{font-size:12px!important;margin-top:4px;color:var(--muted)}
#modal[data-variant^="transport-"] #modalB{padding:18px!important;overflow:auto;min-height:0}
#modal[data-variant^="transport-"] #modalB .fld{margin:0;gap:6px}
#modal[data-variant^="transport-"] #modalB .fld label{font-size:12px!important;margin-bottom:6px}
#modal[data-variant^="transport-"] #modalB .fld :is(input, select):not([type=checkbox]):not([type=radio]){padding:7px 11px!important}
#modal[data-variant^="transport-"] #modalB .fld textarea{padding:10px 11px!important}
#modal[data-variant^="transport-"] #modalF{padding:12px 18px!important;gap:8px}
#modal[data-variant^="transport-"] #modalH .icon-btn{width:32px;height:32px;min-width:32px;min-height:32px}
@container(max-width:1000px){
  .transport-reference .fleet-tables{grid-template-columns:1fr}
  .transport-reference .fleet-summary>div{padding:0 12px}
  .transport-reference .fleet-summary>div>svg{width:32px;height:32px}
}
@media(max-width:700px){
  .transport-reference>.tabs{gap:14px}
  .transport-reference>.tabs button{font-size:11px!important;flex:none}
  .transport-reference .fleet-summary{padding:12px;gap:12px}
  .transport-reference .fleet-summary>div{padding:0 8px}
  .transport-reference .fleet-summary>div:first-child,.transport-reference .fleet-summary>div:nth-child(3){padding-left:0}
  .transport-reference .fleet-summary strong{font-size:21px!important}
  .transport-reference .mixer-grid,.transport-reference .fleet-tables{grid-template-columns:1fr}
  .transport-reference .mixer{padding:12px}
  .transport-reference .fleet-mixer-head{gap:10px;flex-wrap:wrap}
  .transport-reference .fleet-mixer-icon{width:38px;height:38px}
  .transport-reference .fleet-mixer-icon svg{width:26px;height:26px}
  .transport-reference .mixer .plate{font-size:17px}
  .transport-reference .fleet-mixer-head>.badge{font-size:10px!important;padding:4px 7px}
  .transport-reference .fleet-mixer-info .mini{font-size:11px!important}
  .transport-reference .section-toolbar{flex-wrap:wrap}
  .transport-reference .section-toolbar .search{flex-basis:100%}
  .transport-reference #crudNew{margin-left:auto}
  #modal[data-variant^="transport-"] #modalH,#modal[data-variant^="transport-"] #modalB{padding:14px!important}
  #modal[data-variant^="transport-"] #modalTitle{font-size:18px!important}
  #modal[data-variant^="transport-"] #modalB .half{grid-column:1/-1}
  #modal[data-variant^="transport-"] #modalF{padding:12px 14px!important}
}
.transport-reference .mixer.st-free,.transport-reference .mixer.st-repair{border-top-color:var(--hair)}
#modal[data-variant^="transport-"] .modal-heading{display:flex;align-items:center;min-width:0}
#modal[data-variant^="transport-"] .modal-heading-icon{display:grid;place-items:center}
#modal[data-variant^="transport-"] #modalB>.f-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:0 0 14px!important}
#modal[data-variant^="transport-"] #modalB>.fld{margin-bottom:14px!important}
#modal[data-variant^="transport-"] #modalB>.fld:last-child{margin-bottom:0!important}
#modal[data-variant^="transport-"] #modalB .f-row .fld{margin:0!important}
@media(max-width:700px){
  #modal[data-variant^="transport-"] #modalB>.f-row{grid-template-columns:1fr;gap:14px}
}
#modal[data-variant^="transport-"] #modalB>.f-row3{gap:14px;margin-bottom:14px}
@media(max-width:700px){
  .transport-reference .fleet-tables .tbl:has(.fleet-table-empty){min-width:0;table-layout:fixed}
  .transport-reference .fleet-tables .tbl:has(.fleet-table-empty) th{padding:8px 5px!important;white-space:normal}
  #modal[data-variant^="transport-"] #modalB>.f-row3{grid-template-columns:1fr}
}
#modal[data-variant="production-batch"]{width:min(920px,calc(100vw / 1.1 - 32px))!important;max-height:calc(100dvh / 1.1 - 32px)!important;left:50%!important;top:50%!important;right:auto!important;bottom:auto!important;margin:0!important;border-radius:16px!important}
#modal[data-variant="production-batch"].on{transform:translate(-50%,-50%)!important}
#modal[data-variant="production-batch"] #modalH{padding:18px 22px!important}
#modal[data-variant="production-batch"] .modal-heading{display:flex;align-items:center;gap:16px;min-width:0}
#modal[data-variant="production-batch"] .modal-heading-icon{display:grid;place-items:center;width:46px;height:46px;flex:none;border-radius:11px;background:rgba(var(--bz-rgb),.08);color:var(--accent-ink)}
#modal[data-variant="production-batch"] .modal-heading-icon svg{width:28px;height:28px}
#modal[data-variant="production-batch"] #modalTitle{font-size:21px!important;line-height:1.3;overflow-wrap:anywhere}
#modal[data-variant="production-batch"] #modalH .mini{font-size:13px!important;margin-top:4px;color:var(--muted)}
#modal[data-variant="production-batch"] #modalH .icon-btn{width:32px!important;height:32px!important;min-height:32px;min-width:32px;flex:none}
#modal[data-variant="production-batch"] #modalB{padding:18px 22px!important;min-height:0;overflow:auto}
#modal[data-variant="production-batch"] #modalB>.f-row3{display:grid;grid-template-columns:1.1fr 1.2fr .8fr;gap:16px;margin:0 0 16px!important}
#modal[data-variant="production-batch"] #modalB>.f-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:0 0 16px!important}
#modal[data-variant="production-batch"] #modalB .fld{margin:0!important;min-width:0}
#modal[data-variant="production-batch"] #modalB .fld label{display:block;font-size:12px!important;font-weight:600;margin-bottom:7px;color:var(--muted)}
#modal[data-variant="production-batch"] #modalB .fld :is(input, select){width:100%;padding:8px 11px!important}
.batch-required{color:var(--red)}
#modal[data-variant="production-batch"] .batch-recipe-note{display:flex;align-items:center;gap:12px;padding:12px 14px;margin-bottom:12px;border-radius:9px;background:var(--field);font-size:12px;line-height:1.5}
.batch-recipe-note>svg{width:20px;height:20px;flex:none;color:var(--accent-ink)}
.batch-recipe-note>div{display:flex;flex-wrap:wrap;gap:6px 12px}
.batch-recipe-note strong{font-weight:550;color:var(--ink)}
.batch-recipe-note span{color:var(--muted)}
.batch-materials-scroll{overflow:auto;border-radius:9px}
#modal[data-variant="production-batch"] .batch-materials{min-width:660px;table-layout:fixed;width:100%;border:0}
#modal[data-variant="production-batch"] .batch-materials th{height:36px;padding:8px 12px!important;font-size:10px!important;font-weight:650;text-align:left;background:var(--field);color:var(--muted);white-space:nowrap}
#modal[data-variant="production-batch"] .batch-materials th:first-child{width:31%}
#modal[data-variant="production-batch"] .batch-materials th:nth-child(2){width:14%}
#modal[data-variant="production-batch"] .batch-materials th:nth-child(3){width:22%}
#modal[data-variant="production-batch"] .batch-materials th:nth-child(4){width:18%}
#modal[data-variant="production-batch"] .batch-materials th:last-child{width:15%}
#modal[data-variant="production-batch"] .batch-materials td{height:50px;padding:8px 12px!important;font-size:13px!important;border-bottom:1px solid var(--hair);vertical-align:middle}
#modal[data-variant="production-batch"] .batch-materials tr:last-child td{border-bottom:0}
#modal[data-variant="production-batch"] .batch-unit-input{display:flex;align-items:stretch;border:1px solid var(--hair);border-radius:8px;overflow:hidden;background:var(--solid)}
#modal[data-variant="production-batch"] .batch-unit-input:focus-within{outline:2px solid rgba(var(--bz-rgb),.25);border-color:var(--accent)}
#modal[data-variant="production-batch"] .batch-unit-input input{width:100%;min-width:0;margin:0!important;padding:6px 10px!important}
#modal[data-variant="production-batch"] .batch-unit-input>span{display:grid;place-items:center;min-width:35px;border-left:1px solid var(--hair);background:var(--field);color:var(--muted);font-size:12px}
#modal[data-variant="production-batch"] .batch-material-status .badge{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;border:0!important;border-radius:7px;padding:5px 8px;font-size:11px!important}
.batch-material-status svg{width:13px;height:13px}
#modal[data-variant="production-batch"] #modalF{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 22px!important}
.batch-stock-summary{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--green);min-width:0}
.batch-stock-summary.is-short{color:var(--red)}
.batch-stock-summary>svg{width:18px;height:18px;flex:none}
.batch-footer-actions{display:flex;align-items:center;gap:9px;flex:none}
#modal[data-variant="production-batch"] #bMat[aria-busy=true]{opacity:.55;pointer-events:none}
@media(max-width:700px){
  #modal[data-variant="production-batch"] #modalH,#modal[data-variant="production-batch"] #modalB{padding:14px!important}
  #modal[data-variant="production-batch"] #modalTitle{font-size:17px!important}
  #modal[data-variant="production-batch"] #modalH .mini{font-size:11px!important}
  #modal[data-variant="production-batch"] .modal-heading{gap:10px}
  #modal[data-variant="production-batch"] .modal-heading-icon{width:34px;height:34px}
  #modal[data-variant="production-batch"] .modal-heading-icon svg{width:23px;height:23px}
  #modal[data-variant="production-batch"] #modalB>.f-row3,#modal[data-variant="production-batch"] #modalB>.f-row{grid-template-columns:1fr;gap:12px;margin-bottom:12px!important}
  #modal[data-variant="production-batch"] #modalF{padding:12px 14px!important;flex-direction:column;align-items:stretch}
  .batch-footer-actions{justify-content:flex-end}
  .batch-stock-summary{font-size:11px}
}
#modal[data-variant="production-batch"] #modalB .batch-unit-input input{padding:6px 10px!important}
#modal[data-variant="production-batch"] #modalB .batch-materials td{height:50px!important;padding:8px 12px!important}
#modal[data-variant="production-batch"] #modalH .icon-btn{background:var(--solid)!important;color:var(--accent-ink)!important;border:1px solid var(--hair)!important}
.warehouse-reference{display:flex;flex-direction:column;gap:16px;min-width:0}
.warehouse-reference>.tabs{align-self:stretch;width:100%;display:flex;gap:20px;margin:0!important;padding:0!important;border:0!important;border-bottom:1px solid var(--hair)!important;border-radius:0!important;background:none!important;box-shadow:none!important}
.warehouse-reference>.tabs button{height:36px!important;min-height:36px!important;padding:0 2px!important;border:0!important;border-bottom:2px solid transparent!important;border-radius:0!important;background:none!important;box-shadow:none!important;color:var(--muted);font-size:13px!important}
.warehouse-reference>.tabs button.on{border-bottom-color:var(--accent)!important;color:var(--accent-ink)!important}
.warehouse-reference #wBody{min-width:0}
.warehouse-reference .warehouse-stock-view{gap:0}
.warehouse-reference .warehouse-summary{padding:16px 18px;gap:18px;margin-bottom:16px;border:1px solid var(--hair);border-radius:14px;box-shadow:0 4px 20px rgba(18,20,26,.035)}
.warehouse-reference .warehouse-summary-title{gap:12px}
.warehouse-reference .warehouse-summary-title .icd{width:38px;height:38px;border-radius:10px;background:rgba(var(--bz-rgb),.08);color:var(--accent-ink)}
.warehouse-reference .warehouse-summary-title b{font-size:14px!important}
.warehouse-reference .warehouse-summary-title small{font-size:11px!important;line-height:1.5;margin-top:3px}
.warehouse-reference .warehouse-kpis{min-width:0;grid-template-columns:repeat(3,minmax(75px,1fr)) minmax(150px,1.6fr);align-items:center}
.warehouse-reference .warehouse-kpis article{min-width:0}
.warehouse-reference .warehouse-kpis span{font-size:11px!important}
.warehouse-reference .warehouse-kpis strong{font-size:23px!important;line-height:1.35;white-space:normal;overflow-wrap:anywhere}
.warehouse-reference .warehouse-kpis strong small{font-size:11px!important;margin-left:2px}
.warehouse-reference .warehouse-kpis article:last-child strong{font-size:19px!important}
.warehouse-reference .section-toolbar{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:0!important;padding:14px!important;border:1px solid var(--hair)!important;border-bottom:0!important;border-radius:14px 14px 0 0!important;background:var(--solid)!important;box-shadow:none!important}
.warehouse-reference .section-toolbar .search{flex:1;max-width:none;min-width:180px;margin:0!important}
.warehouse-reference .section-toolbar .spacer{display:none}
.warehouse-reference #crudList>.card{margin:0;border:1px solid var(--hair);border-top:0;border-radius:0 0 14px 14px;overflow:hidden;box-shadow:0 6px 22px rgba(18,20,26,.035)}
.warehouse-reference #crudList .tbl-wrap{border-radius:0;box-shadow:none}
.warehouse-reference .tbl{width:100%;min-width:760px;table-layout:auto}
.warehouse-reference .tbl th{white-space:nowrap}
.warehouse-reference .tbl td{vertical-align:middle}
.warehouse-reference .tbl th:last-child,.warehouse-reference .tbl td:last-child{width:44px!important;text-align:right}
.warehouse-reference .warehouse-material{gap:11px}
.warehouse-reference .warehouse-material-icon{width:32px;height:32px;border-radius:9px;background:rgba(var(--bz-rgb),.07)}
.warehouse-reference .warehouse-material b{font-size:13px!important;font-weight:650}
.warehouse-reference .warehouse-material small{font-size:11px!important;line-height:1.4;margin-top:3px}
.warehouse-reference .warehouse-stock{min-width:112px;margin-left:auto}
.warehouse-reference .warehouse-stock b{font-size:13px!important;font-weight:650}
.warehouse-reference .warehouse-stock small{font-size:10px!important;margin-top:4px}
.warehouse-reference .warehouse-stock-bar{height:4px;margin-top:6px;border-radius:99px;background:var(--field)}
.warehouse-reference .warehouse-min,.warehouse-reference .tbl .sub{font-size:11px!important}
.warehouse-reference .tbl .sub{margin-top:4px;line-height:1.4}
.warehouse-reference #crudList [data-more]{width:28px!important;height:28px!important;min-width:28px;min-height:28px;box-shadow:none;background:transparent;border:0}
.warehouse-reference button:focus-visible{outline:2px solid var(--accent-ink);outline-offset:2px}
#modal[data-variant^="warehouse-"]{width:min(640px,calc(100vw / 1.1 - 32px))!important;max-height:calc(100dvh / 1.1 - 32px)!important;left:50%!important;top:50%!important;right:auto!important;bottom:auto!important;margin:0!important;border-radius:16px!important}
#modal[data-variant^="warehouse-"].on{transform:translate(-50%,-50%)!important}
#modal[data-variant^="warehouse-"] #modalH{padding:18px!important}
#modal[data-variant^="warehouse-"] .modal-heading{display:flex;align-items:center;gap:12px;min-width:0}
#modal[data-variant^="warehouse-"] .modal-heading-icon{display:grid;place-items:center;width:40px;height:40px;flex:none;border-radius:11px;background:rgba(var(--bz-rgb),.08);color:var(--accent-ink)}
#modal[data-variant^="warehouse-"] .modal-heading-icon svg{width:24px;height:24px}
#modal[data-variant^="warehouse-"] #modalTitle{font-size:20px!important;line-height:1.35;overflow-wrap:anywhere}
#modal[data-variant^="warehouse-"] #modalH .mini{font-size:12px!important;line-height:1.5;margin-top:3px;color:var(--muted)}
#modal[data-variant^="warehouse-"] #modalH .icon-btn{width:32px!important;height:32px!important;min-height:32px;min-width:32px;flex:none;background:var(--solid)!important;color:var(--muted)!important;border:1px solid var(--hair)!important}
#modal[data-variant^="warehouse-"] #modalB{padding:18px!important;min-height:0;overflow:auto}
#modal[data-variant^="warehouse-"] #modalB>.f-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:0 0 14px!important}
#modal[data-variant^="warehouse-"] #modalB>.f-row:last-child{margin-bottom:0!important}
#modal[data-variant^="warehouse-"] #modalB .fld{min-width:0;margin:0!important}
#modal[data-variant^="warehouse-"] #modalB>.fld{margin-bottom:14px!important}
#modal[data-variant^="warehouse-"] #modalB>.fld:last-child{margin-bottom:0!important}
#modal[data-variant^="warehouse-"] #modalB .fld label{display:block;font-size:12px!important;font-weight:600;margin-bottom:7px;color:var(--muted)}
#modal[data-variant^="warehouse-"] #modalB .fld :is(input, select):not([type=checkbox]):not([type=radio]){width:100%;padding:7px 11px!important}
#modal[data-variant^="warehouse-"] #modalB .fld textarea{padding:9px 11px!important}
#modal[data-variant^="warehouse-"] #modalB .hint{font-size:10px;line-height:1.4;margin-top:5px}
#modal[data-variant^="warehouse-"] #modalF{padding:12px 18px!important;gap:8px}
@container(max-width:1100px){
  .warehouse-reference .warehouse-summary{flex-wrap:wrap;gap:14px}
  .warehouse-reference .warehouse-summary-title{width:100%}
  .warehouse-reference .warehouse-summary-title small{max-width:none}
  .warehouse-reference .warehouse-kpis{flex-basis:100%;min-width:0}
  .warehouse-reference .warehouse-kpis article:first-child{border-left:0;padding-left:0}
}
@media(max-width:700px){
  .warehouse-reference{gap:12px}
  .warehouse-reference>.tabs{gap:18px}
  .warehouse-reference>.tabs button{font-size:12px!important}
  .warehouse-reference .warehouse-summary{padding:12px;margin-bottom:12px}
  .warehouse-reference .warehouse-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .warehouse-reference .warehouse-kpis article{padding:0 10px}
  .warehouse-reference .warehouse-kpis article:nth-child(odd){border-left:0;padding-left:0}
  .warehouse-reference .warehouse-kpis article:last-child strong{font-size:16px!important}
  .warehouse-reference .warehouse-kpis strong{font-size:21px!important}
  .warehouse-reference .section-toolbar{padding:12px!important;gap:8px}
  .warehouse-reference .section-toolbar .search{flex-basis:100%}
  .warehouse-reference .tbl{min-width:740px}
  #modal[data-variant^="warehouse-"] #modalH,#modal[data-variant^="warehouse-"] #modalB{padding:14px!important}
  #modal[data-variant^="warehouse-"] #modalTitle{font-size:18px!important}
  #modal[data-variant^="warehouse-"] #modalB>.f-row{grid-template-columns:1fr;gap:14px}
  #modal[data-variant^="warehouse-"] #modalF{padding:12px 14px!important}
}
.warehouse-reference .warehouse-summary-title{flex:0 1 24%;min-width:210px}
.warehouse-reference .warehouse-summary-title small{max-width:none}
.warehouse-reference .warehouse-kpis{grid-template-columns:1fr 1.1fr 1.1fr 1.8fr}
.warehouse-reference .warehouse-kpis article{padding:0 18px}
.warehouse-reference .warehouse-stock-view .tbl{table-layout:fixed}
.warehouse-reference .warehouse-stock-view .tbl th:first-child{width:34%}
.warehouse-reference .warehouse-stock-view .tbl th:nth-child(2){width:18%}
.warehouse-reference .warehouse-stock-view .tbl th:nth-child(3){width:12%}
.warehouse-reference .warehouse-stock-view .tbl th:nth-child(4){width:14%}
.warehouse-reference .warehouse-stock-view .tbl th:nth-child(5){width:18%}
.warehouse-reference .warehouse-stock-view .tbl th:last-child{width:4%!important}
.warehouse-reference .warehouse-stock{max-width:180px}
.warehouse-reference .warehouse-stock-view .tbl td:nth-child(n+3):not(:last-child){white-space:nowrap}
.warehouse-reference .directory-count{padding:13px 18px;border-top:1px solid var(--hair);font-size:12px;color:var(--muted);background:var(--solid)}
@container(max-width:1100px){
  .warehouse-reference .warehouse-summary-title{flex-basis:100%}
  .warehouse-reference .warehouse-kpis article{padding:0 12px}
  .warehouse-reference .warehouse-stock-view .tbl{min-width:920px}
}
@media(max-width:700px){
  .warehouse-reference .warehouse-summary-title{min-width:0;flex-basis:100%}
  .warehouse-reference .warehouse-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
  .warehouse-reference .warehouse-kpis article{padding:0 10px}
  .warehouse-reference .warehouse-kpis article:nth-child(odd){padding-left:0}
  .warehouse-reference .directory-count{padding:12px 14px}
}
.products-reference{max-width:1380px!important;gap:16px!important}
.products-reference>.tabs{gap:24px!important;margin:0!important;min-height:36px;border-bottom:1px solid var(--hair)!important}
.products-reference>.tabs button{height:36px!important;min-height:36px!important;border-radius:0!important;font-size:13px!important;padding:0 2px!important;border-bottom:2px solid transparent!important;box-shadow:none!important}
.products-reference>.tabs button.on{border-bottom-color:var(--accent)!important;color:var(--accent-ink)!important}
.products-reference .products-workspace{gap:16px}
.products-reference .product-summary{padding:16px 18px;border:1px solid var(--hair);border-radius:14px;box-shadow:0 4px 20px rgba(18,20,26,.035);background:var(--solid);gap:18px}
.products-reference .product-summary-title{flex:0 1 29%;min-width:250px;gap:12px}
.products-reference .product-summary-title .icd{width:38px;height:38px;border-radius:10px;background:rgba(var(--bz-rgb),.08)}
.products-reference .product-summary-title b{font-size:15px!important}
.products-reference .product-summary-title small{font-size:11px!important;line-height:1.5;margin-top:3px}
.products-reference .product-kpis{min-width:0}
.products-reference .product-kpis article{padding:0 18px}
.products-reference .product-kpis span{font-size:11px!important}
.products-reference .product-kpis strong{font-size:24px!important}
.products-reference .product-directory-grid{grid-template-columns:minmax(0,3fr) minmax(275px,1fr)!important;gap:16px}
.products-reference .product-list-pane,.products-reference .product-category-pane{border:1px solid var(--hair);border-radius:14px;box-shadow:0 4px 20px rgba(18,20,26,.035)}
.products-reference .product-list-pane>header,.products-reference .product-category-pane>header{padding:16px 18px!important;min-height:0;border-bottom:0}
.products-reference .product-list-pane>header b,.products-reference .product-category-pane>header b{font-size:17px!important}
.products-reference header small{font-size:11px!important;line-height:1.5;margin-top:4px}
.products-reference .product-list-pane .section-toolbar{padding:0!important;margin:0 14px 14px!important;gap:8px;min-height:0;background:none!important;box-shadow:none!important;border:0!important}
.products-reference .product-list-pane .section-toolbar .search{min-width:120px;flex:1}
.products-reference .product-filters{gap:8px}
.products-reference .product-filters select{width:150px;padding:0 8px!important}
.products-reference .product-filters select:last-child{width:120px}
.products-reference .product-list-pane .tbl{table-layout:fixed;min-width:650px}
.products-reference .product-list-pane .tbl th:nth-child(1){width:13%}
.products-reference .product-list-pane .tbl th:nth-child(2){width:28%}
.products-reference .product-list-pane .tbl th:nth-child(3){width:18%}
.products-reference .product-list-pane .tbl th:nth-child(4){width:13%}
.products-reference .product-list-pane .tbl th:nth-child(5){width:calc(28% - 44px)}
.products-reference .product-list-pane .tbl th:last-child,.products-reference .product-list-pane .tbl td:last-child{width:44px!important;text-align:right}
.products-reference .product-code{color:var(--muted)!important;font-size:12px!important;font-weight:500!important}
.products-reference .product-name-cell b{font-size:13px!important;font-weight:650}
.products-reference .product-name-cell small{font-size:11px!important}
.products-reference .product-status{padding:5px 9px;border:0;border-radius:99px;font-size:11px!important}
.products-reference .product-category{background:rgba(var(--bz-rgb),.06);font-size:11px!important;padding:5px 9px}
.products-reference .product-category-pane .tbl{min-width:0;table-layout:fixed}
.products-reference .product-category-pane td:last-child{width:36px!important}
.products-reference .product-category-cell{gap:10px}
.products-reference .product-category-cell b{font-size:13px!important}
.products-reference .product-category-cell>span{width:32px;height:32px;background:rgba(var(--bz-rgb),.06)}
.products-reference .product-category-cell em{margin-left:auto;min-width:26px;text-align:center}
.products-reference [data-more]{width:28px!important;height:28px!important;min-width:28px!important;min-height:28px!important;border:0;background:transparent;box-shadow:none}
.products-reference #mBody[data-product-tab=retsept],.products-reference #mBody[data-product-tab=narx]{display:grid;gap:16px;min-width:0}
.recipes-toolbar{display:flex;align-items:center;gap:12px;padding:12px 14px;border:1px solid var(--hair);border-radius:12px;background:var(--solid)}
.recipe-intro-icon{display:grid;place-items:center;width:34px;height:34px;flex:none;border-radius:9px;background:rgba(var(--bz-rgb),.06);color:var(--accent-ink)}
.recipe-intro-icon svg{width:20px;height:20px}
.recipes-toolbar p{flex:1;min-width:0;margin:0;color:var(--muted);font-size:12px;line-height:1.5}
.recipes-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.recipe-card{position:relative;display:flex;flex-direction:column;min-width:0;padding:16px 16px 14px 20px;border:1px solid var(--hair);border-radius:13px;background:var(--solid);box-shadow:0 4px 20px rgba(18,20,26,.035);overflow:hidden}
.recipe-card.is-active:before{position:absolute;content:'';left:0;top:0;bottom:0;width:4px;background:var(--green)}
.recipe-card header{display:flex;justify-content:space-between;align-items:flex-start;gap:8px}
.recipe-card header b{font-size:19px;line-height:1.3}
.recipe-version{color:var(--muted);font-size:11px}
.recipe-card header small{display:block;font-size:12px!important;color:var(--muted);margin-top:3px}
.recipe-tags{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end;flex:none}
.recipe-tags .badge,.recipe-volume{padding:5px 7px;border:0;border-radius:7px;font-size:10px!important;white-space:nowrap}
.recipe-volume{background:rgba(var(--bz-rgb),.07);color:var(--accent-ink)}
.recipe-card dl{margin:12px 0 16px;font-size:12px;flex:1}
.recipe-card dl>div{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:7px 0;border-bottom:1px solid var(--hair)}
.recipe-card dl>div:last-child{border-bottom:0}
.recipe-card dt{min-width:0;line-height:1.4}
.recipe-card dd{margin:0;font-weight:650;white-space:nowrap}
.recipe-card footer{display:flex;gap:8px}
.products-reference .recipe-delete{width:34px!important;padding:0!important}
.recipe-delete svg{width:15px;height:15px}
.price-pane{min-width:0;background:var(--solid);border:1px solid var(--hair);border-radius:14px;overflow:hidden;box-shadow:0 4px 20px rgba(18,20,26,.035)}
.price-pane>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px}
.price-pane h3{font-size:17px!important;margin:0}
.price-priority{display:flex;gap:10px;align-items:center;padding:0 18px 14px;color:var(--muted);font-size:12px;line-height:1.5}
.price-priority>svg{width:18px;height:18px;flex:none;color:var(--accent-ink)}
.price-pane #crudList>.card{border:0;border-radius:0;margin:0;box-shadow:none}
.price-pane .tbl{min-width:620px;width:100%}
.price-pane .tbl th:last-child,.price-pane .tbl td:last-child{width:56px;text-align:right}
.price-product{display:flex;gap:12px;align-items:center}
.price-product svg{width:21px;height:21px;color:var(--accent-ink);flex:none}
.price-product span{color:var(--muted);font-size:12px}
.price-pane .badge{padding:5px 9px;font-size:11px;border:0}
.product-calculator{padding:18px;border:1px solid var(--hair);border-radius:14px;background:var(--solid);box-shadow:0 4px 20px rgba(18,20,26,.035);min-width:0}
.product-calculator>header{display:flex;gap:14px;align-items:center;margin-bottom:18px}
.product-calculator>header>span{display:grid;place-items:center;width:40px;height:40px;border-radius:10px;background:rgba(var(--bz-rgb),.07);color:var(--accent-ink)}
.product-calculator>header svg{width:25px;height:25px}
.product-calculator h3{font-size:20px!important;margin:0}
.product-calculator .f-row{gap:18px;margin-bottom:16px}
.product-calculator .fld{min-width:0}
.product-calculator label{font-size:13px;margin-bottom:6px}
.products-reference .product-calculator .fld :is(input, select){padding:7px 12px}
.calculator-volume{position:relative}
.calculator-volume input{width:100%;padding-right:45px!important}
.calculator-volume>span{position:absolute;right:13px;top:50%;transform:translateY(-50%);font-size:12px;color:var(--muted);pointer-events:none}
.calculator-table-scroll{overflow:auto;border:1px solid var(--hair);border-radius:10px}
.calculator-table{min-width:740px;width:100%;table-layout:fixed}
.calculator-table th:first-child{width:34%}
.calculator-table th:nth-child(2){width:15%}
.calculator-table th:nth-child(3){width:20%}
.calculator-table th:nth-child(4){width:18%}
.calculator-table th:last-child{width:13%}
.products-reference .calculator-table :is(th, td):nth-child(3){background:rgba(var(--bz-rgb),.055);color:var(--accent-ink)}
.calculator-material{display:flex;align-items:center;gap:14px}
.calculator-material svg{width:23px;height:23px;flex:none;color:var(--muted)}
.calculator-table .badge{border:0;border-radius:99px;padding:6px 11px;font-size:11px!important;white-space:nowrap}
.calculator-stock-result{display:flex;align-items:center;gap:14px;border-radius:10px;padding:14px 16px;margin-top:16px;font-size:13px}
.calculator-stock-result svg{width:21px;height:21px;flex:none}
.calculator-stock-result.is-short{color:var(--red);background:rgba(220,60,50,.08)}
.calculator-stock-result.is-enough{color:var(--green);background:rgba(30,150,80,.08)}
.catalog-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-height:150px;padding:24px;text-align:center;color:var(--muted);grid-column:1/-1}
.catalog-empty svg{width:30px;height:30px;color:var(--accent-ink)}
.catalog-empty b{font-size:15px;color:var(--ink)}
.catalog-empty span{font-size:12px}
#kR[aria-busy=true]{opacity:.5;transition:opacity .15s}
#modal[data-variant^="product-"]{width:min(660px,calc(100vw / 1.1 - 32px))!important;max-height:calc(100dvh / 1.1 - 32px)!important;left:50%!important;top:50%!important;right:auto!important;bottom:auto!important;margin:0!important;border-radius:16px!important}
#modal[data-variant="product-recipe"]{width:min(820px,calc(100vw / 1.1 - 32px))!important}
#modal[data-variant^="product-"].on{transform:translate(-50%,-50%)!important}
#modal[data-variant^="product-"] #modalH,#modal[data-variant^="product-"] #modalB{padding:18px!important}
#modal[data-variant^="product-"] .modal-heading{display:flex;align-items:center;gap:12px}
#modal[data-variant^="product-"] .modal-heading-icon{display:grid;place-items:center;width:40px;height:40px;flex:none;border-radius:10px;background:rgba(var(--bz-rgb),.07);color:var(--accent-ink)}
#modal[data-variant^="product-"] .modal-heading-icon svg{width:24px;height:24px}
#modal[data-variant^="product-"] #modalTitle{font-size:20px!important}
#modal[data-variant^="product-"] #modalH .mini{font-size:12px!important;color:var(--muted);margin-top:4px}
#modal[data-variant^="product-"] #modalB .f-row{gap:16px;margin-bottom:14px}
#modal[data-variant^="product-"] #modalB .fld{margin:0 0 14px!important;min-width:0}
#modal[data-variant^="product-"] #modalB .f-row .fld{margin:0!important}
#modal[data-variant^="product-"] #modalB .fld label{font-size:12px!important;margin-bottom:7px}
#modal[data-variant^="product-"] #modalB :is(input, select):not([type=checkbox]){padding:7px 10px!important}
#modal[data-variant^="product-"] #modalF{padding:12px 18px!important;gap:8px}
#modal[data-variant^="product-"] #modalB .items-tbl th{font-size:11px!important;padding:9px!important}
#modal[data-variant^="product-"] #modalB .items-tbl td{padding:7px!important}
#modal[data-variant^="product-"] #modalB .items-tbl{min-width:600px}
#modal[data-variant^="product-"] #modalB{overflow:auto}
#modal[data-variant^="product-"] #modalH .icon-btn{background:var(--solid)!important;color:var(--muted)!important}
@container(max-width:1150px){
  .products-reference .recipes-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .products-reference .product-directory-grid{grid-template-columns:minmax(0,1fr) 280px!important}
  .products-reference .product-list-pane .section-toolbar{flex-wrap:wrap}
  .products-reference .product-list-pane .section-toolbar .search{flex-basis:100%}
  .products-reference .product-filters{flex:1}
  .products-reference .product-filters select{flex:1}
}
@container(max-width:850px){
  .products-reference .product-directory-grid{grid-template-columns:1fr!important}
  .products-reference .recipes-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .products-reference .product-summary{flex-wrap:wrap}
  .products-reference .product-kpis{width:100%;min-width:0}
}
@media(max-width:700px){
  .products-reference{gap:12px!important}
  .products-reference>.tabs{gap:20px!important}
  .products-reference>.tabs button{font-size:12px!important}
  .products-reference .product-directory-grid{grid-template-columns:1fr!important}
  .products-reference .product-summary{padding:12px;display:grid;grid-template-columns:1fr}
  .products-reference .product-summary-title{min-width:0}
  .products-reference .product-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;min-width:0}
  .products-reference .product-kpis article{padding:0 8px}
  .products-reference .product-list-pane>header,.products-reference .product-category-pane>header{padding:12px!important}
  .products-reference .product-list-pane>header b,.products-reference .product-category-pane>header b{font-size:15px!important}
  .products-reference .product-list-pane .section-toolbar{margin:0 12px 12px!important;flex-wrap:wrap}
  .products-reference .product-filters{width:100%;flex-basis:100%}
  .recipes-toolbar{flex-wrap:wrap}
  .recipes-toolbar p{flex-basis:calc(100% - 48px)}
  .recipes-grid{grid-template-columns:1fr!important}
  .recipe-card{padding:14px 16px 14px 20px}
  .price-pane>header{padding:12px 14px}
  .price-priority{padding:0 14px 12px}
  .product-calculator{padding:14px}
  .product-calculator h3{font-size:17px!important}
  .product-calculator .f-row{grid-template-columns:1fr;gap:12px}
  .calculator-stock-result{padding:12px;font-size:12px}
  .calculator-table{min-width:690px}
  #modal[data-variant^="product-"] #modalH,#modal[data-variant^="product-"] #modalB{padding:14px!important}
  #modal[data-variant^="product-"] #modalTitle{font-size:18px!important}
  #modal[data-variant^="product-"] #modalB .f-row{grid-template-columns:1fr;gap:12px}
  #modal[data-variant^="product-"] #modalF{padding:12px 14px!important}
}
.products-reference .product-category-pane>header b{font-size:15px!important}
.products-reference .product-category-pane>header small{white-space:nowrap;font-size:10px!important}
.products-reference .product-category-pane>header{gap:8px!important;padding:14px!important}
.products-reference .product-pane-tools{gap:6px}
.products-reference .recipe-delete svg{width:16px!important;height:16px!important;flex:none}
.products-reference .calculator-table :is(th, td):last-child{text-align:center!important}
#modal[data-variant="product-recipe"] .recipe-editor-scroll{overflow:auto;border-radius:9px;border:1px solid var(--hair)}
.products-reference button:focus-visible{outline:2px solid var(--accent-ink);outline-offset:2px}
.cash-workspace.cash-redesign{max-width:none!important;margin:0!important;gap:16px;width:100%;min-width:0}
.cash-redesign .cash-commandbar{min-height:70px;padding:12px 18px;border:1px solid var(--hair);border-radius:16px;background:var(--solid);box-shadow:0 3px 16px rgba(15,23,42,.035);gap:16px}
.cash-redesign .cash-period{display:flex;align-items:center;gap:12px;min-width:0}
.cash-redesign .cash-period>span{font-size:12px;font-weight:600;color:var(--muted);white-space:nowrap}
.cash-redesign .cash-period .row{gap:8px;flex-wrap:nowrap}
.cash-redesign .cash-period .fld{min-width:0}
.cash-redesign .cash-period input{width:152px;padding:6px 10px!important}
.cash-redesign .cash-commandbar .actions{gap:8px;flex-wrap:nowrap}
.cash-redesign .cash-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}
.cash-redesign .cash-metric{min-height:100px;padding:16px;border:1px solid var(--hair);border-radius:16px;background:var(--solid);box-shadow:0 3px 16px rgba(15,23,42,.035);align-items:center;gap:10px}
.cash-redesign .cash-metric.account:first-child{border-color:var(--hair);background:var(--solid)}
.cash-redesign .cash-metric-icon{width:42px;height:42px;border-radius:12px;background:var(--ui-tint);color:var(--accent-ink);flex:none}
.cash-redesign .cash-metric-icon svg{width:23px!important;height:23px!important}
.cash-redesign .cash-metric.income .cash-metric-icon{background:var(--green-bg);color:var(--green)}
.cash-redesign .cash-metric.expense .cash-metric-icon{background:var(--red-bg);color:var(--red)}
.cash-redesign .cash-metric>div{flex:1;min-width:0}
.cash-redesign .cash-metric span:not(.cash-metric-icon){font-size:12px!important;font-weight:600;line-height:1.4;white-space:normal;color:var(--muted)}
.cash-redesign .cash-metric strong{font-size:clamp(20px,1.55vw,24px)!important;font-weight:750;line-height:1.25;margin:4px 0 3px;letter-spacing:-.035em;text-align:left;white-space:normal;overflow-wrap:anywhere;color:var(--ink)}
.cash-redesign .cash-metric strong.neg{color:var(--red)}
.cash-redesign .cash-metric small{font-size:11px!important;color:var(--muted);white-space:normal;line-height:1.4}
.cash-redesign .cash-ledger{min-width:0;border:1px solid var(--hair);border-radius:16px;background:var(--solid);box-shadow:0 5px 24px rgba(15,23,42,.04);overflow:hidden}
.cash-redesign .cash-tabs{padding:0 18px;border-bottom:1px solid var(--hair)}
.cash-redesign .cash-tabs .tabs{display:flex;align-items:center;gap:28px;width:100%;min-height:46px;padding:0;margin:0;border:0;border-radius:0;background:transparent;overflow-x:auto;scrollbar-width:thin}
.cash-redesign .cash-tabs .tabs button{position:relative;min-height:46px;height:46px;padding:0 2px;border:0!important;border-radius:0!important;background:transparent!important;color:var(--muted)!important;font-size:13px!important;font-weight:650;box-shadow:none!important;white-space:nowrap;flex:none}
.cash-redesign .cash-tabs .tabs button.on{color:var(--accent-ink)!important}
.cash-redesign .cash-tabs .tabs button.on:after{content:'';position:absolute;bottom:0;left:0;right:0;height:2px;background:var(--accent);border-radius:2px}
.cash-redesign .cash-tabs .tabs button:hover{color:var(--accent-ink)!important;background:transparent!important}
.cash-redesign #kBody{min-width:0}
.cash-redesign #kBody>.section-toolbar{display:flex;align-items:center;flex-wrap:nowrap;gap:10px;min-height:64px;padding:12px 18px;margin:0;border:0;border-radius:0;background:var(--solid);box-shadow:none}
.cash-redesign #kBody>.section-toolbar .spacer{display:none}
.cash-redesign #kBody>.section-toolbar .search{flex:1;max-width:none;min-width:0;min-height:38px;height:38px;border:0!important;background:transparent!important;border-radius:9px}
.cash-redesign #kBody>.section-toolbar .search input{width:100%;padding:7px 12px 7px 34px}
.cash-redesign #kBody>.section-toolbar .search .si{width:16px;height:16px;left:11px;top:10px}
.cash-redesign #cashAccount{width:195px;min-width:0;padding:6px 10px}
.cash-redesign #cashReset{flex:none}
.cash-redesign #cashReset svg{width:15px!important;height:15px!important}
.cash-redesign #crudList .card,.cash-redesign #kBody>.card{border:0!important;border-radius:0!important;background:var(--solid)!important;box-shadow:none!important;overflow:hidden}
.cash-redesign .tbl-wrap{padding:0!important;max-width:100%;width:100%;overflow:auto}
.cash-redesign .tbl{table-layout:fixed;min-width:1060px;width:100%}
.cash-redesign .tbl th{position:static}
.cash-redesign .tbl td{white-space:normal;overflow-wrap:anywhere}
.cash-redesign .tbl .sub{font-size:11px!important;color:var(--muted);margin-top:4px}
.cash-redesign .tbl .mini{font-size:11px!important}
.cash-redesign .cash-document{font-size:13px;font-weight:700;color:var(--ink)}
.cash-redesign .cash-customer{font-size:13px;font-weight:650;color:var(--ink);text-decoration:none}
.cash-redesign .cash-customer:hover{color:var(--accent-ink);text-decoration:underline;text-underline-offset:3px}
.cash-redesign .cash-method{display:flex;align-items:center;gap:6px;color:var(--ink-2);font-size:12px}
.cash-redesign .cash-method svg{flex:none;width:15px!important;height:15px!important;color:var(--muted)}
.cash-redesign .cash-status{display:inline-flex}
.cash-redesign .cash-status .badge{border:0!important;border-radius:20px;font-size:11px!important;padding:5px 9px!important;display:inline-flex;align-items:center;gap:5px;line-height:1.2;white-space:nowrap}
.cash-redesign .cash-status .badge:before{content:'';width:5px;height:5px;border-radius:50%;background:currentColor;flex:none}
.cash-redesign .tbl [data-more]{width:28px!important;height:28px!important;min-width:28px!important;min-height:28px!important;border:0!important;border-radius:7px!important;background:transparent!important;color:var(--muted)!important;box-shadow:none!important}
.cash-redesign .tbl [data-more]:hover{background:var(--ui-tint)!important;color:var(--accent-ink)!important}
.cash-redesign .tbl [data-more] svg{width:16px!important;height:16px!important}
.cash-redesign [data-cash-tab="tolov"]{min-width:0}
.cash-redesign[data-cash-tab="xarajat"] .tbl{min-width:860px}
.cash-redesign[data-cash-tab="xarajat"] .tbl th:nth-child(1){width:125px}
.cash-redesign[data-cash-tab="xarajat"] .tbl th:nth-child(2){width:120px}
.cash-redesign[data-cash-tab="xarajat"] .tbl th:nth-child(3){width:145px}
.cash-redesign[data-cash-tab="xarajat"] .tbl th:nth-child(5){width:140px}
.cash-redesign[data-cash-tab="xarajat"] .tbl th:nth-child(6){width:150px}
.cash-redesign[data-cash-tab="xarajat"] .tbl th:nth-child(7){width:42px}
.cash-redesign .directory-count{padding:12px 18px;border-top:1px solid var(--hair);font-size:12px;color:var(--muted)}
.cash-redesign .empty{min-height:190px!important;padding:24px!important;gap:7px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--muted)}
.cash-redesign .empty b{font-size:15px;color:var(--ink)}
.cash-redesign .cash-transfer-head,.cash-redesign .cash-category-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px}
.cash-redesign .cash-transfer-head h3,.cash-redesign .cash-category-head h3{font-size:15px;margin:0 0 4px;color:var(--ink)}
.cash-redesign .cash-transfer-head span,.cash-redesign .cash-category-head span{font-size:11px;color:var(--muted)}
.cash-redesign .cash-count{border-radius:20px;background:var(--ui-tint);color:var(--accent-ink)!important;padding:5px 9px;white-space:nowrap}
.cash-redesign[data-cash-tab="otkazma"] .tbl{min-width:780px}
.cash-redesign[data-cash-tab="otkazma"] .tbl th:nth-child(1){width:100px}
.cash-redesign[data-cash-tab="otkazma"] .tbl th:nth-child(4){width:165px;text-align:right}
.cash-redesign[data-cash-tab="otkazma"] .tbl td:nth-child(4){text-align:right}
.cash-redesign[data-cash-tab="otkazma"] .tbl th:nth-child(5){width:135px}
.cash-redesign[data-cash-tab="otkazma"] .tbl th:nth-child(6){width:120px;text-align:right}
.cash-redesign[data-cash-tab="otkazma"] .tbl td:nth-child(6) .actions{justify-content:flex-end}
.cash-redesign .cash-category-head>div:last-child{display:grid;gap:5px;text-align:right}
.cash-redesign .cash-category-head b{font-size:19px;color:var(--ink);letter-spacing:-.025em}
.cash-redesign .cash-category-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:0 16px 16px}
.cash-redesign .cash-category{border:1px solid var(--hair);border-radius:11px;padding:14px;background:var(--solid)}
.cash-redesign .cash-category>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px}
.cash-redesign .cash-category>div>span{display:flex;align-items:center;gap:7px;min-width:0}
.cash-redesign .cash-category svg{width:16px;height:16px;color:var(--accent-ink);flex:none}
.cash-redesign .cash-category b{font-size:13px;white-space:nowrap}
.cash-redesign .cash-category-track{margin:12px 0 6px;height:5px;background:var(--field);border-radius:5px;overflow:hidden}
.cash-redesign .cash-category-track i{display:block;height:100%;border-radius:5px;background:var(--accent)}
.cash-redesign .cash-category small{font-size:10px;color:var(--muted)}
.cash-redesign .cash-category-empty{min-height:190px;padding:24px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:var(--muted);text-align:center}
.cash-redesign .cash-category-empty svg{width:34px;height:34px;margin-bottom:5px;color:var(--accent-ink);opacity:.65}
.cash-redesign .cash-category-empty b{color:var(--ink);font-size:15px}
.cash-redesign .cash-category-empty span{font-size:12px}
#modal[data-variant^="cash-"]{width:660px!important;max-width:calc(100vw / 1.1 - 32px)!important;max-height:calc(100dvh / 1.1 - 32px)!important;left:50%!important;top:50%!important;right:auto!important;bottom:auto!important;transform:translate(-50%,-50%)!important;border-radius:16px!important}
#modal[data-variant^="cash-"] #modalH,#modal[data-variant^="cash-"] #modalB{padding:18px!important}
#modal[data-variant^="cash-"] #modalF{padding:12px 18px!important;background:var(--solid)}
#modal[data-variant^="cash-"] #modalH h3{font-size:20px!important}
#modal[data-variant^="cash-"] .modal-heading-icon{width:38px;height:38px;flex:none;border-radius:11px}
#modal[data-variant^="cash-"] .modal-heading-icon svg{width:21px;height:21px}
#modal[data-variant^="cash-"] .fld label{font-size:12px!important;margin-bottom:6px!important}
#modal[data-variant^="cash-"] .fld input,#modal[data-variant^="cash-"] .fld select{padding:7px 10px!important}
#modal[data-variant^="cash-"] .fld{margin-bottom:12px!important}
@media(max-width:1180px){
  .cash-redesign .cash-summary{grid-template-columns:repeat(3,minmax(0,1fr))}
  .cash-redesign .cash-commandbar{flex-wrap:wrap}
  .cash-redesign .cash-commandbar .actions{margin-left:auto}
  .cash-redesign .cash-metric strong{font-size:21px!important}
}
@media(max-width:760px){
  .cash-redesign .cash-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
  .cash-redesign .cash-summary .balance:last-child{grid-column:1/-1}
  .cash-redesign .cash-commandbar .spacer{display:none}
  .cash-redesign .cash-period{width:100%;justify-content:space-between}
  .cash-redesign .cash-period>span{font-size:11px}
  .cash-redesign .cash-period input{width:135px}
  .cash-redesign .cash-commandbar .actions{width:100%;justify-content:flex-end}
  .cash-redesign .cash-category-grid{grid-template-columns:1fr}
}
@media(max-width:560px){
  .cash-workspace.cash-redesign{gap:12px}
  .cash-redesign .cash-commandbar{padding:12px}
  .cash-redesign .cash-period{display:block}
  .cash-redesign .cash-period>span{display:block;margin-bottom:7px}
  .cash-redesign .cash-period .row{width:100%}
  .cash-redesign .cash-period .fld{flex:1}
  .cash-redesign .cash-period input{width:100%}
  .cash-redesign .cash-commandbar .actions{gap:6px}
  .cash-redesign .cash-summary{gap:10px}
  .cash-redesign .cash-metric{display:block;min-height:98px;padding:12px}
  .cash-redesign .cash-metric-icon{float:right;width:28px;height:28px;border-radius:9px}
  .cash-redesign .cash-metric-icon svg{width:17px!important;height:17px!important}
  .cash-redesign .cash-metric span:not(.cash-metric-icon){min-height:28px;padding-right:34px;font-size:10px!important}
  .cash-redesign .cash-metric strong{clear:both;font-size:19px!important;margin:6px 0 3px}
  .cash-redesign .cash-tabs{padding:0 12px}
  .cash-redesign .cash-tabs .tabs{gap:18px}
  .cash-redesign .cash-tabs .tabs button{font-size:11px!important}
  .cash-redesign #kBody>.section-toolbar{padding:12px;flex-wrap:wrap;gap:8px}
  .cash-redesign #kBody>.section-toolbar .search{flex:1 1 100%}
  .cash-redesign #cashAccount{flex:1;width:auto}
  .cash-redesign .cash-category-head{padding:14px;align-items:flex-start;flex-wrap:wrap}
  .cash-redesign .cash-category-head b{font-size:17px}
  .cash-redesign .cash-category-grid{padding:0 12px 12px}
  .cash-redesign .cash-category>div:first-child{flex-wrap:wrap}
  .cash-redesign .cash-transfer-head{padding:14px}
  .cash-redesign .cash-transfer-head span{font-size:10px}
}
#modal[data-variant^="cash-"].on{transform:translate(-50%,-50%)!important}
#modal[data-variant^="cash-"] .modal-heading{display:flex;align-items:center;gap:12px;min-width:0}
#modal[data-variant^="cash-"] .modal-heading-icon{display:grid;place-items:center;background:var(--ui-tint);color:var(--accent-ink)}
#modal[data-variant^="cash-"] #modalB{min-height:0;overflow:auto}
#modal[data-variant^="cash-"] #modalH .mini{font-size:12px!important;line-height:1.5;margin-top:4px}
.cash-redesign #kBody>.section-toolbar .search .si{transform:none!important}
.cash-redesign[data-cash-tab="tolov"] .tbl{min-width:1120px}
.cash-redesign[data-cash-tab="tolov"] .tbl th:nth-child(1){width:10%}
.cash-redesign[data-cash-tab="tolov"] .tbl th:nth-child(2){width:12%}
.cash-redesign[data-cash-tab="tolov"] .tbl th:nth-child(3){width:18%}
.cash-redesign[data-cash-tab="tolov"] .tbl th:nth-child(4){width:12%}
.cash-redesign[data-cash-tab="tolov"] .tbl th:nth-child(5){width:13%}
.cash-redesign[data-cash-tab="tolov"] .tbl th:nth-child(6){width:11%}
.cash-redesign[data-cash-tab="tolov"] .tbl th:nth-child(7){width:9%}
.cash-redesign[data-cash-tab="tolov"] .tbl th:nth-child(8){width:11%}
.cash-redesign[data-cash-tab="tolov"] .tbl th:nth-child(9){width:4%}
@media(max-width:560px){
  #modal[data-variant^="cash-"] #modalH,#modal[data-variant^="cash-"] #modalB{padding:14px!important}
  #modal[data-variant^="cash-"] #modalTitle{font-size:18px!important}
  #modal[data-variant^="cash-"] #modalF{padding:12px 14px!important}
  #modal[data-variant^="cash-"] .modal-heading-icon{width:34px;height:34px}
}
[data-theme="dark"] .cash-redesign input[type="date"],[data-theme="dark"] #modal[data-variant^="cash-"] input[type="date"]{color-scheme:dark}
.cash-polished #kBody>.section-toolbar{display:grid;grid-template-columns:minmax(200px,1fr) 174px 150px auto;align-items:center;gap:10px;padding:14px 18px;min-height:64px}
.cash-polished #kBody>.section-toolbar .search{width:100%;margin:0}
.cash-polished #cashAccount,.cash-polished #cashStatus{width:100%;min-width:0;padding:6px 10px}
.cash-polished #kBody>.section-toolbar .search{height:36px;min-height:36px}
.cash-polished .cash-ledger{box-shadow:0 4px 20px rgba(15,23,42,.035)}
.cash-polished .cash-metric{box-shadow:0 2px 10px rgba(15,23,42,.025);align-items:center}
.cash-polished .cash-metric strong{font-variant-numeric:tabular-nums}
.cash-polished .cash-tabs .tabs{gap:24px}
.cash-polished .cash-table td{vertical-align:middle}
.cash-polished .cash-table .cash-document,.cash-polished .cash-table .cash-customer{font-size:13.5px!important;font-weight:650;line-height:1.4}
.cash-polished .cash-table .cash-money{font-size:14px!important;font-weight:700;white-space:nowrap;font-variant-numeric:tabular-nums;letter-spacing:-.025em}
.cash-polished .cash-money.is-reversed{color:var(--muted)!important;text-decoration:line-through;text-decoration-thickness:1px;opacity:.8}
.cash-polished .cash-note{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;color:var(--muted);font-size:11.5px!important;line-height:1.5;overflow-wrap:anywhere}
.cash-polished .cash-status .badge{font-size:10.5px!important;line-height:1.3;padding:5px 8px!important}
.cash-polished .cash-actions-heading{display:grid;place-items:center;color:var(--muted)}
.cash-polished .cash-actions-heading svg{width:15px!important;height:15px!important}
.cash-polished .cash-table td:has(>[data-more]),.cash-polished .cash-table th:has(.cash-actions-heading){position:sticky;right:0;z-index:1;text-align:right;box-shadow:-8px 0 12px -12px rgba(15,23,42,.15)}
.cash-polished .cash-table td [data-more]{width:30px!important;height:30px!important;min-width:30px!important;min-height:30px!important;background:transparent!important;border-radius:8px!important}
.cash-polished .cash-table td [data-more]:hover{background:var(--ui-tint)!important}
.cash-polished .directory-count{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 18px;font-size:11.5px}
.cash-polished .cash-currency{font-size:10.5px;color:var(--muted)}
@media(max-width:1000px) and (min-width:641px){
  .cash-polished #kBody>.section-toolbar{grid-template-columns:1fr 1fr auto}
  .cash-polished #kBody>.section-toolbar .search{grid-column:1/-1}
  .cash-polished .cash-summary{gap:10px}
}
@media(max-width:640px){
  .cash-polished #kBody>.section-toolbar{grid-template-columns:minmax(0,1fr) minmax(0,1fr);padding:12px;gap:8px}
  .cash-polished #kBody>.section-toolbar .search{grid-column:1/-1;min-width:0}
  .cash-polished #cashReset{grid-column:1/-1;justify-self:end;min-width:94px}
  .cash-polished .cash-summary{gap:10px}
  .cash-polished .cash-metric strong{font-size:20px!important;line-height:1.3}
  .cash-polished .cash-metric small{font-size:10px!important}
  .cash-polished .cash-table{display:block;min-width:0!important;table-layout:auto;width:100%;border-collapse:separate}
  .cash-polished .cash-table thead{position:absolute!important;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;clip-path:inset(50%)}
  .cash-polished .cash-table tbody{display:block;width:100%}
  .cash-polished .cash-table tr[data-id]{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;position:relative;padding:16px 14px;border-top:1px solid var(--hair)}
  .cash-polished .cash-table tr[data-id]>td{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:4px;min-width:0;height:auto!important;padding:0!important;border:0;background:transparent!important;line-height:1.5;white-space:normal;overflow-wrap:anywhere;text-align:left}
  .cash-polished .cash-table tr[data-id]>td[data-label]:not(:first-child):before{content:attr(data-label);line-height:1.3}
  .cash-polished .cash-table tr[data-id]>td:nth-child(2){order:1;grid-column:1/-1;padding-right:130px!important;min-height:46px}
  .cash-polished .cash-table tr[data-id]>td:nth-child(2):before{display:none}
  .cash-polished .cash-table tr[data-id]>td:first-child{position:absolute;top:17px;right:48px;display:block;width:auto}
  .cash-polished .cash-table tr[data-id]>td:has(>[data-more]){position:absolute;top:12px;right:8px;display:flex;align-items:center;padding:0!important;box-shadow:none;z-index:2;grid-column:auto}
  .cash-polished .cash-table tr[data-id]>td:has(>[data-more]):before{display:none}
  .cash-polished .cash-table td [data-more]{width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important}
  .cash-polished .cash-table tr[data-id]>td:nth-child(n+3){order:3}
  .cash-polished[data-cash-tab="tolov"] .cash-table tr[data-id]>td:nth-child(3){order:2;grid-column:1/-1}
  .cash-polished[data-cash-tab="tolov"] .cash-table tr[data-id]>td:nth-child(8){order:5;grid-column:1/-1}
  .cash-polished[data-cash-tab="tolov"] .cash-table tr[data-id]>td:nth-child(3):before{display:none}
  .cash-polished[data-cash-tab="xarajat"] .cash-table tr[data-id]>td:nth-child(4){order:2;grid-column:1/-1}
  .cash-polished .cash-table .cash-money{font-size:15px!important;max-width:100%;white-space:normal;overflow-wrap:anywhere}
  .cash-polished .cash-table .cash-method{font-size:12px}
  .cash-polished .cash-table .cash-status .badge{font-size:10px!important;max-width:116px;white-space:normal;text-align:left}
  .cash-polished .cash-table .sub{margin:0;font-size:10.5px!important}
  .cash-polished .cash-table .cash-customer,.cash-polished .cash-table .cash-document{font-size:13px!important}
  .cash-polished .cash-table td:has(.cash-note[title=""]){display:none!important}
  .cash-polished .cash-table .cash-note{font-size:12px!important;-webkit-line-clamp:3}
  .cash-polished .cash-table tbody>tr:not([data-id]),.cash-polished .cash-table tbody>tr:not([data-id])>td{display:block;width:100%}
  .cash-polished .cash-table .empty{padding:20px!important;text-align:center;min-height:170px!important}
  .cash-polished .directory-count{padding:12px 14px;font-size:11px}
}
@media(max-width:640px){
  .cash-polished .cash-table tbody>tr:not([data-id])>td{height:auto!important;min-height:170px;padding:0!important}
}
#content,#content.is-loading,#content>.page-shell,#content.is-loading>.page-shell{opacity:1;filter:none!important;transform:none!important;transition:none!important}
#content.page-enter,#content>.page-shell.page-enter,#content.page-revealed{animation:none!important}
                                                                
.section-loading-overlay{position:fixed;z-index:45;display:grid;place-items:center;box-sizing:border-box;background:color-mix(in srgb,var(--solid) 65%,transparent);cursor:progress;animation:sectionLoadingReveal .12s ease-out both}
.section-loading-card{display:grid;justify-items:center;gap:12px;color:var(--accent-ink);pointer-events:none}
.section-loading-card strong{font:500 12px/1.4 var(--font)}
.section-loading-card>span:last-child{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@keyframes sectionLoadingReveal{from{opacity:0}to{opacity:1}}
@media(prefers-reduced-motion:reduce){.section-loading-overlay{animation:none!important}}

@media print{
  .section-loading-overlay{display:none!important}
}
#modal[data-variant^="cash-"],#modal[data-variant^="cash-"].on{transition:opacity .2s ease,visibility 0s linear .2s!important}
#modal[data-variant^="cash-"].on{transition:opacity .2s ease!important}
@media(prefers-reduced-motion:reduce){
  #modal[data-variant^="cash-"],#modal[data-variant^="cash-"].on{transition:none!important}
}
.purchases-workspace{display:flex;flex-direction:column;gap:14px;width:100%;min-width:0}
.purchases-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.purchases-summary article{display:flex;align-items:center;gap:12px;min-width:0;padding:14px 16px;border:1px solid var(--hair);border-radius:14px;background:var(--solid);box-shadow:0 2px 10px rgba(15,23,42,.025)}
.purchase-stat-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:var(--ui-tint);color:var(--accent-ink);flex:none}
.purchase-stat-icon svg{width:20px;height:20px}
.purchases-summary article>div>span{font-size:12px;color:var(--muted)}
.purchases-summary strong{display:block;font-size:24px;line-height:1.3;color:var(--ink);font-variant-numeric:tabular-nums}
.purchases-summary article:last-child .purchase-stat-icon{background:var(--green-bg);color:var(--green)}
.purchases-ledger{min-width:0;border:1px solid var(--hair);border-radius:14px;background:var(--solid);overflow:hidden;box-shadow:0 4px 20px rgba(15,23,42,.035)}
.purchases-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 18px 12px}
.purchases-heading h3{margin:0;color:var(--ink);font-size:16px;line-height:1.4}
.purchases-heading p{margin:4px 0 0;color:var(--muted);font-size:11.5px}
.purchases-toolbar{display:grid;grid-template-columns:minmax(0,1fr) 190px auto;align-items:center;gap:10px;padding:0 18px 14px}
.purchase-search{display:flex;position:relative;align-items:center;min-width:0}
.purchase-search>svg{position:absolute;left:11px;width:16px;height:16px;color:var(--muted);pointer-events:none}
.purchases-toolbar input,.purchases-toolbar select{min-width:0}
.purchase-search input{width:100%;padding:7px 10px 7px 35px}
.purchases-toolbar select{padding:6px 10px}
.purchases-workspace #purchaseList>.card{animation:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:0!important;margin:0!important;overflow:hidden}
.purchases-workspace .tbl-wrap{max-width:100%;overflow:auto;padding:0}
.purchases-workspace .tbl{table-layout:fixed;width:100%;min-width:1060px}
.purchases-workspace .tbl th{position:static}
.purchases-workspace .tbl td{vertical-align:middle;white-space:normal;overflow-wrap:anywhere}
.purchases-workspace .tbl th:nth-child(1){width:12%}
.purchases-workspace .tbl th:nth-child(2){width:16%}
.purchases-workspace .tbl th:nth-child(3){width:9%}
.purchases-workspace .tbl th:nth-child(4){width:10%}
.purchases-workspace .tbl th:nth-child(5){width:26%}
.purchases-workspace .tbl th:nth-child(6){width:13%;text-align:right}
.purchases-workspace .tbl td:nth-child(6){text-align:right}
.purchases-workspace .tbl th:nth-child(7){width:9%}
.purchases-workspace .tbl th:nth-child(8){width:5%}
.purchases-workspace .tbl td .actions{display:flex;gap:5px;flex-wrap:wrap;justify-content:flex-end}
.purchase-document{display:flex;align-items:center;gap:7px;color:var(--ink);font-size:12px}
.purchase-document svg{width:16px;height:16px;color:var(--accent-ink);flex:none}
.purchase-supplier{font-weight:600;color:var(--ink)}
.purchase-materials{display:grid;gap:3px;color:var(--muted);font-size:11px}
.purchase-materials b{font-weight:500;color:var(--ink-2)}
.purchase-amount{white-space:nowrap;font-size:13px;letter-spacing:-.025em;font-variant-numeric:tabular-nums;color:var(--ink)}
.purchase-status .badge{padding:4px 7px;border-radius:20px;font-size:10px!important;line-height:1.4}
.purchases-count{padding:12px 18px;border-top:1px solid var(--hair);font-size:11.5px;color:var(--muted)}
.purchases-workspace td:has(>.empty){height:auto!important;text-align:center!important}
.purchases-workspace .empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:190px!important;padding:26px!important;color:var(--muted);text-align:center}
.purchases-workspace .empty svg{width:28px;height:28px;color:var(--accent-ink);padding:10px;box-sizing:content-box;background:var(--ui-tint);border-radius:13px;margin:0 0 3px;opacity:1}
.purchases-workspace .empty b{font-size:15px;color:var(--ink)}
.purchases-workspace .empty>span{font-size:12px}
.purchases-workspace button:focus-visible{outline:2px solid var(--accent-ink);outline-offset:2px}
#modal[data-variant="purchase-entry"]{width:840px!important;max-width:calc(100vw / 1.1 - 32px)!important;max-height:calc(100dvh / 1.1 - 32px)!important;left:50%!important;top:50%!important;bottom:auto!important;right:auto!important;transform:translate(-50%,-50%)!important;border-radius:16px!important;background:var(--solid);transition:opacity .2s ease,visibility 0s linear .2s!important}
#modal[data-variant="purchase-entry"].on{transform:translate(-50%,-50%)!important;transition:opacity .2s ease!important}
body:has(#modal[data-variant="purchase-entry"].on) #modalVeil{background:rgba(15,23,42,.20);backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px)}
#modal[data-variant="purchase-entry"] #modalH,#modal[data-variant="purchase-entry"] #modalB{padding:18px!important;background:var(--solid)}
#modal[data-variant="purchase-entry"] #modalH{border-bottom:1px solid var(--hair)}
#modal[data-variant="purchase-entry"] .modal-heading{display:flex;align-items:center;gap:12px;min-width:0}
#modal[data-variant="purchase-entry"] .modal-heading-icon{display:grid;place-items:center;flex:none;width:38px;height:38px;border-radius:11px;color:var(--accent-ink);background:var(--ui-tint)}
#modal[data-variant="purchase-entry"] .modal-heading-icon svg{width:21px;height:21px}
#modal[data-variant="purchase-entry"] #modalTitle{font-size:20px!important;line-height:1.35}
#modal[data-variant="purchase-entry"] #modalH .mini{font-size:11.5px!important;color:var(--muted);margin-top:3px;line-height:1.5}
#modal[data-variant="purchase-entry"] #modalB{min-height:0;overflow:auto}
#modal[data-variant="purchase-entry"] .purchase-meta{display:grid;grid-template-columns:minmax(0,1.6fr) repeat(2,minmax(0,1fr));gap:14px}
#modal[data-variant="purchase-entry"] .fld{margin-bottom:14px!important;min-width:0}
#modal[data-variant="purchase-entry"] .fld label{font-size:12px!important;margin-bottom:6px!important}
#modal[data-variant="purchase-entry"] :is(input, select){width:100%;min-width:0;padding:7px 10px!important}
.purchase-items-panel{border:1px solid var(--hair);border-radius:12px;overflow:hidden;background:var(--solid)}
.purchase-items-panel>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 12px}
.purchase-items-panel>header>div{display:flex;align-items:center;gap:7px;color:var(--accent-ink);min-width:0}
.purchase-items-panel h4{margin:0;font-size:13px;color:var(--ink)}
.purchase-items-panel>header svg{width:16px;height:16px;flex:none}
#purchaseItemCount{color:var(--muted);font-size:11px}
#modal[data-variant="purchase-entry"] #purchaseAdd{flex:none}
.purchase-items-scroll{overflow:auto;max-width:100%}
#modal[data-variant="purchase-entry"] .purchase-items-table{table-layout:fixed;width:100%;min-width:0}
#modal[data-variant="purchase-entry"] .purchase-items-table th{height:32px;padding:7px 10px!important;font-size:10px!important;color:var(--muted);background:var(--field);position:static}
#modal[data-variant="purchase-entry"] .purchase-items-table td{height:54px;padding:8px 10px!important;border-bottom:1px solid var(--hair);font-size:12px;vertical-align:middle}
.purchase-items-table th:nth-child(1){width:34%}
.purchase-items-table th:nth-child(2){width:12%}
.purchase-items-table th:nth-child(3){width:10%}
.purchase-items-table th:nth-child(4){width:17%}
.purchase-items-table th:nth-child(5){width:20%;text-align:right}
.purchase-items-table td:nth-child(5){text-align:right;font-variant-numeric:tabular-nums}
.purchase-items-table th:nth-child(6){width:7%}
.purchase-items-table [data-subtotal]{font-size:12px;font-weight:600;white-space:nowrap}
#modal[data-variant="purchase-entry"] .purchase-items-table :is(input, select){padding:5px 7px!important}
#modal[data-variant="purchase-entry"] .purchase-item-action .icon-btn{width:26px!important;height:26px!important;min-width:26px!important;min-height:26px!important;border:0!important;background:transparent;box-shadow:none;color:var(--muted);border-radius:7px}
.purchase-item-action .icon-btn svg{width:15px;height:15px}
.purchase-item-action .icon-btn:hover{background:var(--red-bg)!important;color:var(--red)!important}
.purchase-items-empty{display:flex;align-items:center;justify-content:center;gap:10px;padding:24px 12px;color:var(--muted);font-size:12px;text-align:center}
.purchase-items-empty svg{width:22px;height:22px;flex:none;color:var(--accent-ink)}
#modal[data-variant="purchase-entry"] #modalF{padding:12px 18px!important;display:flex;align-items:center;gap:16px;background:var(--solid);border-top:1px solid var(--hair)}
.purchase-total{margin-right:auto;min-width:0;display:grid;gap:2px}
.purchase-total>span{font-size:11px;color:var(--muted)}
.purchase-total strong{font-size:18px;line-height:1.4;letter-spacing:-.025em;color:var(--ink);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.purchase-footer-actions{display:flex;align-items:center;gap:8px;flex:none}
.purchase-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(max-width:640px){
  .purchases-workspace{gap:12px}
  .purchases-summary{gap:8px}
  .purchases-summary article{padding:12px;gap:8px;align-items:flex-start;flex-direction:column}
  .purchase-stat-icon{width:30px;height:30px;border-radius:9px}
  .purchase-stat-icon svg{width:17px;height:17px}
  .purchases-summary article>div>span{font-size:10px}
  .purchases-summary strong{font-size:22px}
  .purchases-heading{padding:14px 12px 12px;gap:12px}
  .purchases-heading h3{font-size:15px}
  .purchases-heading p{font-size:10.5px}
  .purchases-toolbar{grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:0 12px 12px}
  .purchase-search{grid-column:1/-1}
  .purchases-toolbar select{width:100%}
  .purchases-workspace .tbl,.purchases-workspace .tbl tbody{display:block;width:100%;min-width:0!important}
  .purchases-workspace .tbl thead{display:none}
  .purchases-workspace .tbl tbody tr:has(td[data-label]){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 14px;padding:14px 12px;border-bottom:1px solid var(--hair)}
  .purchases-workspace .tbl tbody tr:has(td[data-label])>td{display:block;width:100%;height:auto!important;padding:0!important;border:0!important;text-align:left!important;min-width:0}
  .purchases-workspace td[data-label]:before{content:attr(data-label);display:block;margin-bottom:4px}
  .purchases-workspace .tbl td:nth-child(5),.purchases-workspace .tbl td:nth-child(8){grid-column:1/-1}
  .purchases-workspace .tbl td .actions{justify-content:flex-start;flex-wrap:wrap}
  .purchases-workspace .tbl tbody tr:not(:has(td[data-label])),.purchases-workspace .tbl tbody tr:not(:has(td[data-label]))>td{display:block;width:100%}
  .purchases-count{padding:12px}
  #modal[data-variant="purchase-entry"] #modalH,#modal[data-variant="purchase-entry"] #modalB{padding:14px!important}
  #modal[data-variant="purchase-entry"] #modalTitle{font-size:18px!important}
  #modal[data-variant="purchase-entry"] .purchase-meta{grid-template-columns:1fr;gap:0}
  .purchase-items-panel>header{gap:8px;padding:10px}
  .purchase-items-panel>header>div>svg{display:none}
  #modal[data-variant="purchase-entry"] .purchase-items-table,#modal[data-variant="purchase-entry"] .purchase-items-table tbody{display:block;width:100%}
  #modal[data-variant="purchase-entry"] .purchase-items-table thead{display:none}
  #modal[data-variant="purchase-entry"] .purchase-items-table tr{position:relative;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:12px 10px;border-top:1px solid var(--hair)}
  #modal[data-variant="purchase-entry"] .purchase-items-table tr td{display:block;min-width:0;height:auto!important;width:100%;border:0;padding:0!important;text-align:left}
  .purchase-items-table tr td[data-label]:before{content:attr(data-label);display:block;margin-bottom:4px}
  .purchase-items-table tr td:first-child{grid-column:1/-1;padding-right:24px!important}
  #modal[data-variant="purchase-entry"] .purchase-items-table tr td.purchase-item-action{position:absolute;right:5px;top:5px;width:26px}
  .purchase-items-table tr td:nth-child(5){align-self:end;padding-bottom:8px!important}
  #modal[data-variant="purchase-entry"] #modalF{padding:12px 14px!important;gap:10px;flex-wrap:wrap}
  .purchase-total{width:100%;display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0}
  .purchase-total strong{font-size:16px;text-align:right}
  .purchase-footer-actions{width:100%}
}
@media(prefers-reduced-motion:reduce){
  #modal[data-variant="purchase-entry"],#modal[data-variant="purchase-entry"].on{transition:none!important}
}
.purchase-source-actions{display:none!important}
.purchases-workspace [data-purchase-more]{width:28px!important;height:28px!important;min-width:28px!important;min-height:28px!important;border:0!important;border-radius:7px;color:var(--muted);background:transparent;box-shadow:none}
.purchases-workspace [data-purchase-more] svg{width:16px;height:16px}
.purchases-workspace [data-purchase-more]:hover{color:var(--accent-ink);background:var(--ui-tint)}
.equipment-workspace{display:flex;flex-direction:column;gap:14px;width:100%;min-width:0}
.equipment-workspace>.tabs{margin:0!important}
.equipment-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.equipment-summary article{display:flex;align-items:center;gap:12px;min-width:0;padding:14px 16px;border:1px solid var(--hair);border-radius:14px;background:var(--solid);box-shadow:0 2px 10px rgba(15,23,42,.025)}
.equipment-stat-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:var(--ui-tint);color:var(--accent-ink);flex:none}
.equipment-stat-icon svg{width:20px;height:20px}
.equipment-summary article>div{min-width:0}
.equipment-summary article>div>span{font-size:12px;color:var(--muted)}
.equipment-summary strong{display:block;font-size:24px;line-height:1.3;color:var(--ink);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.equipment-summary .service-due-stat .equipment-stat-icon{color:var(--amber);background:var(--amber-bg)}
.equipment-ledger{min-width:0;border:1px solid var(--hair);border-radius:14px;background:var(--solid);overflow:hidden;box-shadow:0 4px 20px rgba(15,23,42,.035)}
.equipment-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 18px 12px}
.equipment-heading h3{margin:0;color:var(--ink);font-size:16px;line-height:1.4}
.equipment-heading p{margin:4px 0 0;color:var(--muted);font-size:11.5px}
.equipment-toolbar{display:grid;grid-template-columns:minmax(0,1fr) 190px auto;align-items:center;gap:10px;padding:0 18px 14px}
.equipment-search{display:flex;position:relative;align-items:center;min-width:0}
.equipment-search>svg{position:absolute;left:11px;width:16px;height:16px;color:var(--muted);pointer-events:none}
.equipment-toolbar input,.equipment-toolbar select{min-width:0}
.equipment-search input{width:100%;padding:7px 10px 7px 35px}
.equipment-toolbar select{padding:6px 10px}
.equipment-workspace #equipmentList>.card{animation:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:0!important;margin:0!important;overflow:hidden}
.equipment-workspace .tbl-wrap{max-width:100%;overflow:auto;padding:0}
.equipment-workspace .tbl{table-layout:fixed;width:100%;min-width:1040px}
.equipment-workspace .tbl th{position:static}
.equipment-workspace .tbl td{vertical-align:middle;white-space:normal;overflow-wrap:anywhere}
.equipment-workspace .tbl th:nth-child(1){width:23%}
.equipment-workspace .tbl th:nth-child(2){width:12%}
.equipment-workspace .tbl th:nth-child(3){width:11%}
.equipment-workspace .tbl th:nth-child(4){width:10%}
.equipment-workspace .tbl th:nth-child(5){width:14%}
.equipment-workspace .tbl th:nth-child(6){width:17%}
.equipment-workspace .tbl th:nth-child(7){width:8%}
.equipment-workspace .tbl th:nth-child(8){width:5%}
.equipment-workspace[data-view=events] .tbl th:nth-child(1){width:9%}
.equipment-workspace[data-view=events] .tbl th:nth-child(2){width:18%}
.equipment-workspace[data-view=events] .tbl th:nth-child(3){width:11%}
.equipment-workspace[data-view=events] .tbl th:nth-child(4){width:13%}
.equipment-workspace[data-view=events] .tbl th:nth-child(5){width:14%}
.equipment-workspace[data-view=events] .tbl th:nth-child(6){width:20%}
.equipment-workspace[data-view=events] .tbl th:nth-child(7){width:10%}
.equipment-workspace .tbl td:last-child .actions{display:flex;justify-content:flex-end}
.equipment-identity{display:flex;align-items:center;gap:10px;min-width:0}
.equipment-identity>span{display:grid;place-items:center;width:32px;height:32px;flex:none;border-radius:9px;background:var(--ui-tint);color:var(--accent-ink)}
.equipment-identity svg{width:18px;height:18px}
.equipment-identity b{display:block;font-size:13px;color:var(--ink)}
.equipment-identity small{display:block;color:var(--muted);font-size:11px;margin-top:2px}
.equipment-service-due,.equipment-over-norm{display:flex;align-items:center;gap:4px;font-size:10px;color:var(--amber);margin-top:4px}
.equipment-service-due svg,.equipment-over-norm svg{width:12px;height:12px;flex:none}
.equipment-cost{font-variant-numeric:tabular-nums;white-space:nowrap}
.equipment-workspace[data-view=events] .tbl :is(th, td):nth-child(5){text-align:right}
.equipment-workspace .badge{padding:4px 7px;border-radius:20px;font-size:10px!important;line-height:1.4}
.equipment-count{padding:12px 18px;border-top:1px solid var(--hair);font-size:11.5px;color:var(--muted)}
.equipment-workspace td:has(>.empty){height:auto!important;text-align:center!important}
.equipment-workspace .empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:190px!important;padding:26px!important;color:var(--muted);text-align:center}
.equipment-workspace .empty svg{width:28px;height:28px;color:var(--accent-ink);padding:10px;box-sizing:content-box;background:var(--ui-tint);border-radius:13px;margin:0 0 3px;opacity:1}
.equipment-workspace .empty b{font-size:15px;color:var(--ink)}
.equipment-workspace .empty>span{font-size:12px}
.equipment-workspace .empty::before{display:none!important}
.equipment-inactive{color:var(--muted);background:var(--field)}
.equipment-source-actions{display:none!important}
.equipment-workspace [data-equipment-more]{width:28px!important;height:28px!important;min-width:28px!important;min-height:28px!important;border:0!important;border-radius:7px;color:var(--muted);background:transparent;box-shadow:none}
.equipment-workspace [data-equipment-more] svg{width:16px;height:16px}
.equipment-workspace [data-equipment-more]:hover{color:var(--accent-ink);background:var(--ui-tint)}
.equipment-workspace button:focus-visible{outline:2px solid var(--accent-ink);outline-offset:2px}
#modal[data-variant="equipment-entry"]{width:720px!important;max-width:calc(100vw / 1.1 - 32px)!important;max-height:calc(100dvh / 1.1 - 32px)!important;left:50%!important;top:50%!important;bottom:auto!important;right:auto!important;transform:translate(-50%,-50%)!important;border-radius:16px!important;background:var(--solid);transition:opacity .2s ease,visibility 0s linear .2s!important}
#modal[data-variant="equipment-entry"].on{transform:translate(-50%,-50%)!important;transition:opacity .2s ease!important}
body:has(#modal[data-variant="equipment-entry"].on) #modalVeil{background:rgba(15,23,42,.20);backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px)}
#modal[data-variant="equipment-entry"] #modalH,#modal[data-variant="equipment-entry"] #modalB{padding:18px!important;background:var(--solid)}
#modal[data-variant="equipment-entry"] #modalH{border-bottom:1px solid var(--hair)}
#modal[data-variant="equipment-entry"] .modal-heading{display:flex;align-items:center;gap:12px;min-width:0}
#modal[data-variant="equipment-entry"] .modal-heading-icon{display:grid;place-items:center;flex:none;width:44px;height:44px;border-radius:12px;color:var(--accent-ink);background:var(--ui-tint)}
#modal[data-variant="equipment-entry"] .modal-heading-icon svg{width:21px;height:21px}
#modal[data-variant="equipment-entry"] #modalTitle{font-size:20px!important;line-height:1.35}
#modal[data-variant="equipment-entry"] #modalH .mini{font-size:11.5px!important;color:var(--muted);margin-top:3px;line-height:1.5}
#modal[data-variant="equipment-entry"] #modalB{min-height:0;overflow:auto}
.equipment-form{display:grid;gap:18px}
.equipment-form-section{min-width:0}
.equipment-form-section h4{display:flex;align-items:center;gap:8px;margin:0 0 12px;font-size:13px;font-weight:600;color:var(--ink)}
.equipment-form-section h4:after{content:'';height:1px;background:var(--hair);flex:1;margin-left:4px}
.equipment-form-section h4 svg{width:17px;height:17px;color:var(--accent-ink);flex:none}
.equipment-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px}
.equipment-full{grid-column:1/-1}
#modal[data-variant="equipment-entry"] .fld{margin:0!important;min-width:0}
#modal[data-variant="equipment-entry"] .fld label{font-size:12px!important;margin-bottom:6px!important}
#modal[data-variant="equipment-entry"] :is(input, select, textarea){width:100%;min-width:0;padding:7px 10px!important}
#modal[data-variant="equipment-entry"] .field-control{position:relative}
#modal[data-variant="equipment-entry"] .field-icon{position:absolute;z-index:1;top:50%;left:12px;display:grid;width:17px;height:17px;transform:translateY(-50%);color:var(--accent-ink);pointer-events:none}
#modal[data-variant="equipment-entry"] .field-icon svg{width:17px;height:17px}
#modal[data-variant="equipment-entry"] .has-field-icon :is(input, select, textarea){padding-left:39px!important}
#modal[data-variant="equipment-entry"] .has-field-icon:has(textarea) .field-icon{top:12px;transform:none}
#modal[data-variant="equipment-entry"] textarea{resize:vertical}
#modal[data-variant="equipment-entry"] .equipment-form-note{padding:10px 12px;background:var(--field);color:var(--muted);font-size:11px;line-height:1.6;border:1px solid var(--hair);border-radius:9px;margin:0}
#modal[data-variant="equipment-entry"] #modalF{padding:12px 18px!important;display:flex;align-items:center;justify-content:flex-end;gap:8px;background:var(--solid);border-top:1px solid var(--hair)}
@media(max-width:640px){
  .equipment-workspace{gap:12px}
  .equipment-summary{gap:8px}
  .equipment-summary article{padding:12px;gap:8px;align-items:flex-start;flex-direction:column}
  .equipment-stat-icon{width:30px;height:30px;border-radius:9px}
  .equipment-stat-icon svg{width:17px;height:17px}
  .equipment-summary article>div>span{font-size:10px}
  .equipment-summary strong{font-size:22px}
  .equipment-workspace[data-view=events] .equipment-summary article:last-child strong{font-size:15px}
  .equipment-heading{padding:14px 12px 12px;gap:12px}
  .equipment-heading h3{font-size:15px}
  .equipment-heading p{font-size:10.5px}
  .equipment-toolbar{grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:0 12px 12px}
  .equipment-search{grid-column:1/-1}
  .equipment-toolbar select{width:100%}
  .equipment-workspace .tbl,.equipment-workspace .tbl tbody{display:block;width:100%;min-width:0!important}
  .equipment-workspace .tbl thead{display:none}
  .equipment-workspace .tbl tbody tr:has(td[data-label]){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 14px;padding:14px 12px;border-bottom:1px solid var(--hair)}
  .equipment-workspace .tbl tbody tr:has(td[data-label])>td{display:block;width:100%;height:auto!important;padding:0!important;border:0!important;text-align:left!important;min-width:0}
  .equipment-workspace td[data-label]:before{content:attr(data-label);display:block;margin-bottom:4px}
  .equipment-workspace .tbl td:nth-child(1){grid-column:1/-1}
  .equipment-workspace .tbl td:last-child .actions{justify-content:flex-start}
  .equipment-workspace .tbl tbody tr:not(:has(td[data-label])),.equipment-workspace .tbl tbody tr:not(:has(td[data-label]))>td{display:block;width:100%}
  .equipment-count{padding:12px}
  #modal[data-variant="equipment-entry"] #modalH,#modal[data-variant="equipment-entry"] #modalB{padding:14px!important}
  #modal[data-variant="equipment-entry"] #modalTitle{font-size:18px!important}
  .equipment-form{gap:18px}
  .equipment-form-grid{grid-template-columns:1fr;gap:12px}
  .equipment-full{grid-column:auto}
  #modal[data-variant="equipment-entry"] #modalF{padding:12px 14px!important}
}
@media(prefers-reduced-motion:reduce){
  #modal[data-variant="equipment-entry"],#modal[data-variant="equipment-entry"].on{transition:none!important}
}
.payroll-workspace{display:grid;gap:12px;min-width:0;font-family:var(--font);font-size:12px;line-height:1.45}
.payroll-workspace>.tabs{margin:0!important;border-bottom:1px solid var(--hair);border-radius:0;background:transparent;display:flex;gap:22px;padding:0;overflow:auto}
.payroll-workspace>.tabs button{border:0!important;border-bottom:2px solid transparent!important;border-radius:0!important;background:transparent!important;padding:8px 2px 10px!important;box-shadow:none!important;color:var(--muted);font-size:13px!important;white-space:nowrap}
.payroll-workspace>.tabs button.on{color:var(--accent-ink)!important;border-bottom-color:var(--accent)!important}
.payroll-panel{min-width:0;background:var(--solid);border:1px solid var(--hair);border-radius:14px;overflow:hidden;box-shadow:0 4px 18px rgba(24,40,80,.025)}
.payroll-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:12px 16px}
.payroll-toolbar h3{display:flex;align-items:center;gap:10px;font-size:16px;margin:0;color:var(--ink)}
.payroll-count{display:grid;place-items:center;min-width:28px;height:24px;padding:0 7px;border-radius:8px;background:var(--ui-tint);color:var(--accent-ink);font-size:12px}
.payroll-search{margin-left:8px;position:relative;min-width:190px;width:auto;flex:1}
.payroll-search>svg,.payroll-filter>svg{position:absolute;top:50%;left:12px;transform:translateY(-50%);width:17px;height:17px;pointer-events:none;color:var(--muted)}
.payroll-filter{position:relative;width:220px;min-width:0}
.payroll-filter>svg{color:var(--accent-ink)}
.payroll-toolbar :is(input, select){width:100%;padding:8px 32px 8px 39px!important}
.payroll-toolbar #salaryAdd{margin-left:auto}
.payroll-workspace[data-view=employees] #salaryAdd{margin-left:0}
.payroll-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.payroll-metric{display:flex;align-items:center;gap:12px;padding:14px 16px;background:var(--solid);border:1px solid var(--hair);border-radius:14px;min-width:0;min-height:82px;box-sizing:border-box}
.payroll-metric-icon{display:grid;place-items:center;width:38px;height:38px;flex:none;border-radius:11px;color:var(--accent-ink);background:var(--ui-tint)}
.payroll-metric-icon svg{width:20px;height:20px}
.payroll-metric-icon.green{color:var(--green);background:color-mix(in srgb,var(--green) 12%,transparent)}
.payroll-metric-icon.amber{color:var(--amber);background:color-mix(in srgb,var(--amber) 12%,transparent)}
.payroll-metric>div{min-width:0}
.payroll-metric>div>span{color:var(--muted);font-size:12px;font-weight:600}
.payroll-metric strong{display:block;margin-top:3px;font-size:22px;font-weight:700;line-height:1.25;color:var(--ink);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
#payrollRows{padding:0}
.payroll-workspace #payrollRows .card{border-radius:0!important;border:0!important;padding:0!important;margin:0!important;box-shadow:none!important;background:var(--solid)}
.payroll-workspace .tbl{width:100%;table-layout:auto;font-size:12px!important}
.payroll-workspace .tbl th{white-space:nowrap}
.payroll-workspace .tbl td{vertical-align:middle}
.payroll-workspace .tbl td:nth-child(3),.payroll-workspace .tbl td:nth-child(4){font-variant-numeric:tabular-nums}
.payroll-workspace[data-view=payrolls] .tbl td{white-space:nowrap}
.payroll-workspace .tbl td:last-child .actions{display:flex;gap:6px;justify-content:flex-end;flex-wrap:nowrap}
.payroll-workspace .tbl th:last-child{text-align:right}
.payroll-person{display:flex;gap:10px;align-items:center}
.payroll-person>span{width:34px;height:34px;display:grid;place-items:center;flex:none;background:var(--ui-tint);color:var(--accent-ink);border-radius:50%;font-weight:700;font-size:13px}
.payroll-person b{font-size:13px}
.payroll-state{display:inline-flex;align-items:center;gap:7px;padding:5px 10px;border-radius:20px;background:var(--field);color:var(--muted);font-size:11px;font-weight:600}
.payroll-state.active{background:color-mix(in srgb,var(--green) 12%,transparent);color:var(--green)}
.payroll-state i{width:6px;height:6px;background:currentColor;border-radius:50%}
.payroll-workspace .badge{font-size:10px!important;white-space:nowrap;padding:5px 8px;border-radius:8px}
.payroll-formula{display:flex;align-items:center;gap:10px;margin:0;padding:8px 14px;border:0;border-top:1px solid var(--hair);border-radius:0;background:var(--field);color:var(--muted);font-size:11.5px;line-height:1.6}
.payroll-formula svg{width:17px;height:17px;flex:none}
.payroll-workspace .empty{display:flex;flex-direction:column;align-items:center;gap:10px;min-height:160px!important;box-sizing:border-box;justify-content:center;padding:20px!important;text-align:center}
.payroll-workspace .empty:before{display:none!important}
.payroll-workspace .empty>svg{width:27px;height:27px;padding:14px;box-sizing:content-box;border-radius:16px;background:var(--ui-tint);color:var(--accent-ink);margin:0 0 5px;opacity:1}
.payroll-workspace .empty b{font-size:15px;color:var(--ink)}
.payroll-workspace .empty>span{font-size:12px;color:var(--muted)}
#modal[data-variant=payroll-entry]{width:660px!important;max-width:calc(100vw / 1.1 - 32px)!important;max-height:calc(100dvh / 1.1 - 32px)!important;left:50%!important;top:50%!important;right:auto!important;bottom:auto!important;transform:translate(-50%,-50%)!important;border-radius:16px!important;background:var(--solid);transition:opacity .2s ease,visibility 0s linear .2s!important}
#modal[data-variant=payroll-entry].on{transform:translate(-50%,-50%)!important;transition:opacity .2s ease!important}
body:has(#modal[data-variant=payroll-entry].on) #modalVeil{background:rgba(15,23,42,.22);backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px)}
#modal[data-variant=payroll-entry] #modalH{padding:18px!important;border-bottom:1px solid var(--hair);background:var(--solid)}
#modal[data-variant=payroll-entry] .modal-heading{display:flex;align-items:center;gap:13px}
#modal[data-variant=payroll-entry] .modal-heading-icon{display:grid;place-items:center;width:38px;height:38px;color:var(--accent-ink)}
#modal[data-variant=payroll-entry] .modal-heading-icon svg{width:28px;height:28px}
#modal[data-variant=payroll-entry] #modalTitle{font-size:20px!important;line-height:1.3}
#modal[data-variant=payroll-entry] #modalB{padding:18px!important;min-height:0;overflow:auto;background:var(--solid)}
#modal[data-variant=payroll-entry] .f-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:14px}
#modal[data-variant=payroll-entry] .f-row:last-child{margin-bottom:0}
#modal[data-variant=payroll-entry] .fld{margin:0!important;min-width:0}
#modal[data-variant=payroll-entry] label{font-size:12px!important;margin-bottom:7px!important;color:var(--muted);font-weight:600}
#modal[data-variant=payroll-entry] :is(input, select){width:100%;min-width:0;padding:8px 11px!important}
.payroll-amount-input{position:relative}
.payroll-amount-input>span{position:absolute;right:1px;top:1px;bottom:1px;display:flex;align-items:center;padding:0 12px;border-left:1px solid var(--hair);border-radius:0 8px 8px 0;background:var(--field);color:var(--muted);font-size:12px;pointer-events:none}
#modal[data-variant=payroll-entry] .payroll-amount-input input{padding-right:65px!important}
.payroll-asterisk{color:var(--red)}
.payroll-form-note{display:flex;gap:8px;padding:12px;border-radius:9px;background:var(--field);color:var(--muted);font-size:11px;line-height:1.6}
.payroll-form-note svg{width:17px;height:17px;flex:none}
#modal[data-variant=payroll-entry] #modalF{display:flex;align-items:center;gap:9px;padding:12px 18px!important;border-top:1px solid var(--hair);background:var(--solid)}
.payroll-required{margin-right:auto;color:var(--muted);font-size:11px}
@media(max-width:1050px){
  .payroll-metric{padding:14px 16px;gap:12px}
  .payroll-metric strong{font-size:20px}
  .payroll-metric-icon{width:38px;height:38px}
  .payroll-toolbar{gap:10px}
  .payroll-filter{width:190px}
}
@media(max-width:640px){
  .payroll-workspace{gap:12px}
  .payroll-workspace>.tabs{gap:14px}
  .payroll-workspace>.tabs button{font-size:11px!important}
  .payroll-summary{gap:8px}
  .payroll-metric{padding:12px;gap:8px;align-items:flex-start;flex-direction:column}
  .payroll-metric-icon{width:32px;height:32px}
  .payroll-metric-icon svg{width:18px;height:18px}
  .payroll-metric>div>span{font-size:10px}
  .payroll-metric strong{font-size:15px}
  .payroll-toolbar{padding:12px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .payroll-toolbar h3{font-size:16px;grid-column:1/-1}
  .payroll-search{width:100%;min-width:0;grid-column:1/-1;margin:0}
  .payroll-filter{width:100%}
  .payroll-toolbar #salaryAdd{margin:0!important;justify-self:start;grid-column:1/-1}
  .payroll-toolbar :is(input, select){padding-left:32px!important}
  .payroll-filter>svg{left:9px;width:15px}
  #payrollRows{padding:0}
  .payroll-workspace .tbl,.payroll-workspace .tbl tbody{display:block;width:100%;min-width:0!important}
  .payroll-workspace .tbl thead{display:none}
  .payroll-workspace .tbl tbody tr:has(td[data-label]){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:14px;border-bottom:1px solid var(--hair)}
  .payroll-workspace .tbl tbody tr:has(td[data-label])>td{display:block;width:100%;min-width:0;padding:0!important;border:0!important;white-space:normal!important;overflow-wrap:anywhere}
  .payroll-workspace td[data-label]:before{content:attr(data-label);display:block;margin-bottom:5px}
  .payroll-workspace .tbl td:last-child{grid-column:1/-1}
  .payroll-workspace .tbl td:last-child .actions{justify-content:flex-start;flex-wrap:wrap}
  .payroll-workspace .tbl tr:not(:has(td[data-label])),.payroll-workspace .tbl tr:not(:has(td[data-label]))>td{display:block;width:100%}
  .payroll-workspace[data-view=employees] .tbl td:first-child{grid-column:1/-1}
  .payroll-formula{margin:0;padding:8px 12px;font-size:10px;align-items:flex-start}
  .payroll-workspace .empty{min-height:160px!important}
  #modal[data-variant=payroll-entry] #modalH,#modal[data-variant=payroll-entry] #modalB{padding:16px!important}
  #modal[data-variant=payroll-entry] #modalTitle{font-size:18px!important}
  #modal[data-variant=payroll-entry] .f-row{grid-template-columns:1fr;gap:14px;margin-bottom:14px}
  #modal[data-variant=payroll-entry] #modalF{padding:12px 16px!important;flex-wrap:wrap}
  .payroll-required{width:100%;margin-bottom:3px}
}
@media(prefers-reduced-motion:reduce){
  #modal[data-variant=payroll-entry],#modal[data-variant=payroll-entry].on{transition:none!important}
}
.payroll-workspace>.tabs{width:100%!important;max-width:none!important}
#modal[data-variant=payroll-entry] #modalH .icon-btn{background:var(--field)!important;color:var(--ink)!important;border:1px solid var(--hair)!important}
html[data-theme=dark] #modal[data-variant=payroll-entry] :is(input, select){color-scheme:dark}
.alerts-workspace{display:grid;gap:14px;min-width:0;font-family:var(--font);font-size:12px}
.alerts-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.alerts-metric{display:flex;align-items:center;gap:12px;min-height:82px;min-width:0;box-sizing:border-box;padding:14px 16px;background:var(--solid);border:1px solid var(--hair);border-radius:14px}
.alerts-icon{display:grid;place-items:center;flex:none;width:38px;height:38px;border-radius:11px;background:var(--ui-tint);color:var(--accent-ink)}
.alerts-icon svg{width:20px;height:20px}
.alerts-icon.amber{background:var(--amber-bg);color:var(--amber)}
.alerts-icon.red{background:var(--red-bg);color:var(--red)}
.alerts-metric>div{min-width:0}
.alerts-metric>div>span{font-size:12px;color:var(--muted);line-height:1.4}
.alerts-metric strong{display:block;margin-top:3px;font-size:22px;line-height:1.25;font-weight:700;color:var(--ink);font-variant-numeric:tabular-nums}
.alerts-panel{min-width:0;overflow:hidden;background:var(--solid);border:1px solid var(--hair);border-radius:14px;box-shadow:0 4px 18px rgba(24,40,80,.025)}
.alerts-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px 14px}
.alerts-heading h3{display:flex;align-items:center;gap:8px;margin:0;color:var(--ink);font-size:16px;line-height:1.4}
.alerts-heading h3>svg{width:18px;height:18px;color:var(--accent-ink)}
.alerts-heading p{margin:4px 0 0;font-size:11.5px;color:var(--muted)}
.alerts-count{display:inline-grid;place-items:center;min-width:24px;height:22px;padding:0 6px;border-radius:7px;background:var(--ui-tint);color:var(--accent-ink);font-size:11px}
.alerts-toolbar{display:grid;grid-template-columns:minmax(0,1fr) 220px auto;gap:10px;padding:0 18px 16px}
.alerts-search{position:relative;min-width:0}
.alerts-search>svg{position:absolute;left:11px;top:50%;transform:translateY(-50%);width:16px;height:16px;pointer-events:none;color:var(--muted)}
.alerts-toolbar input,.alerts-toolbar select{width:100%;min-width:0;padding:7px 10px!important}
.alerts-toolbar input{padding-left:35px!important}
.alerts-table-wrap{overflow-x:auto}
.alerts-table{width:100%;border-collapse:collapse;text-align:left}
.alerts-table th{border-block:1px solid var(--hair)}
.alerts-table td{vertical-align:middle}
.alerts-table th:nth-child(2){width:205px}
.alerts-table th:last-child{width:130px}
.alerts-table :is(th, td):last-child{text-align:right}
.alerts-item{display:flex;gap:12px;align-items:center;min-width:0}
.alerts-item .alerts-icon{width:34px;height:34px;border-radius:10px}
.alerts-item .alerts-icon svg{width:18px;height:18px}
.alerts-item>div{min-width:0}
.alerts-item b{display:block;font-size:13px;font-weight:600;color:var(--ink);line-height:1.5;overflow-wrap:anywhere}
.alerts-item div>span{display:block;margin-top:2px;font-size:11px;color:var(--muted)}
.alerts-tag{display:inline-flex;padding:4px 8px;border-radius:7px;font-size:10.5px;line-height:1.5;background:var(--ui-tint);color:var(--accent-ink)}
.alerts-tag.amber{background:var(--amber-bg);color:var(--amber)}
.alerts-tag.red{background:var(--red-bg);color:var(--red)}
.alerts-footer{display:flex;justify-content:space-between;gap:12px;padding:12px 18px;border-top:1px solid var(--hair);color:var(--muted);font-size:11px}
.alerts-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;min-height:200px;padding:24px;text-align:center}
.alerts-empty>svg{width:25px;height:25px;padding:13px;box-sizing:content-box;background:var(--ui-tint);color:var(--accent-ink);border-radius:14px;margin-bottom:4px}
.alerts-empty b{font-size:15px;color:var(--ink)}
.alerts-empty>span{font-size:12px;color:var(--muted)}
@media(max-width:1000px){
  .alerts-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
  .alerts-table th:nth-child(2){width:170px}
}
@media(max-width:640px){
  .alerts-workspace{gap:12px}
  .alerts-summary{gap:8px}
  .alerts-metric{padding:12px;gap:9px;min-height:76px}
  .alerts-metric>div>span{font-size:10px}
  .alerts-metric strong{font-size:20px}
  .alerts-icon{width:32px;height:32px;border-radius:9px}
  .alerts-icon svg{width:18px;height:18px}
  .alerts-heading{padding:14px 12px;align-items:flex-start}
  .alerts-heading h3{font-size:15px;gap:6px}
  .alerts-heading p{font-size:10.5px;line-height:1.5}
  .alerts-heading h3>svg{display:none}
  .alerts-toolbar{padding:0 12px 12px;grid-template-columns:minmax(0,1fr) auto;gap:8px}
  .alerts-search{grid-column:1/-1}
  .alerts-table,.alerts-table tbody{display:block;width:100%}
  .alerts-table thead{display:none}
  .alerts-table tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:14px 12px;border-top:1px solid var(--hair)}
  .alerts-table td{display:block;min-width:0;padding:0;border:0}
  .alerts-table td:first-child{grid-column:1/-1}
  .alerts-table td:nth-child(2){align-self:center}
  .alerts-table td:last-child{text-align:right}
  .alerts-table td[colspan]{grid-column:1/-1}
  .alerts-item b{font-size:12px}
  .alerts-footer{padding:12px;flex-wrap:wrap;font-size:10px}
  .alerts-empty{min-height:190px;padding:16px}
}
.debt-workspace{display:grid;gap:16px;min-width:0;font-family:var(--font);font-size:12px}
.debt-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.debt-metric{display:flex;align-items:center;gap:12px;padding:14px 16px;min-width:0;min-height:92px;box-sizing:border-box;background:var(--solid);border:1px solid var(--hair);border-radius:14px}
.debt-icon{display:grid;place-items:center;width:38px;height:38px;flex:none;border-radius:11px;color:var(--accent-ink);background:var(--ui-tint)}
.debt-icon svg{width:20px;height:20px}
.debt-icon.red{color:var(--red);background:var(--red-bg)}
.debt-icon.green{color:var(--green);background:var(--green-bg)}
.debt-icon.amber{color:var(--amber);background:var(--amber-bg)}
.debt-metric>div{min-width:0}
.debt-metric>div>span{font-size:11.5px;color:var(--muted);line-height:1.4}
.debt-metric strong{display:block;margin:4px 0;font-size:22px;line-height:1.25;font-weight:700;color:var(--ink);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.debt-metric small{display:block;font-size:10.5px;color:var(--muted);line-height:1.4}
.debt-panel{min-width:0;overflow:hidden;border:1px solid var(--hair);border-radius:14px;background:var(--solid);box-shadow:0 4px 18px rgba(24,40,80,.025)}
.debt-tabs{padding:0 18px;border-bottom:1px solid var(--hair)}
.debt-tabs>.tabs{display:flex!important;gap:22px!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important;border-radius:0!important;overflow:auto}
.debt-tabs>.tabs button{font-size:12px!important;white-space:nowrap;padding:14px 2px 12px!important;border:0!important;border-bottom:2px solid transparent!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:var(--muted)}
.debt-tabs>.tabs button.on{border-bottom-color:var(--accent)!important;color:var(--accent-ink)!important}
.debt-toolbar{display:grid;grid-template-columns:minmax(0,1fr) 190px auto;gap:10px;padding:14px 18px}
.debt-workspace:not([data-view=debitor]) .debt-toolbar{grid-template-columns:minmax(0,1fr) auto}
.debt-search{position:relative;min-width:0}
.debt-search>svg{position:absolute;left:11px;top:50%;transform:translateY(-50%);width:16px;height:16px;color:var(--muted);pointer-events:none}
.debt-toolbar :is(input, select){width:100%;min-width:0;padding:7px 10px!important}
.debt-toolbar input{padding-left:35px!important}
.debt-table-wrap{overflow-x:auto}
.debt-table{width:100%;border-collapse:collapse;text-align:left;font-size:12px}
.debt-table th{border-block:1px solid var(--hair);white-space:nowrap}
.debt-table td{vertical-align:middle}
.debt-table .num{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
.debt-table .actions{display:flex;gap:6px;justify-content:flex-end;flex-wrap:nowrap}
.debt-actions-head{text-align:right}
.debt-person{display:flex;align-items:center;gap:10px;min-width:165px}
.debt-avatar{display:grid;place-items:center;flex:none;width:34px;height:34px;border-radius:50%;font-weight:600;font-size:12px;background:var(--ui-tint);color:var(--accent-ink)}
.debt-avatar svg{width:18px;height:18px}
.debt-person>div{min-width:0}
.debt-name{display:block;border:0;background:transparent;text-align:left;padding:0;color:var(--ink);font-family:inherit;font-size:12.5px;font-weight:600;line-height:1.5;cursor:pointer;overflow-wrap:anywhere}
.debt-name:hover{color:var(--accent-ink)}
.debt-person small{display:block;font-size:10.5px;color:var(--muted);margin-top:2px}
.debt-table .badge{font-size:10px!important;white-space:nowrap;padding:4px 7px;border-radius:7px}
.debt-limit{display:flex;align-items:center;gap:4px;color:var(--red);font-size:10px;margin-top:5px;white-space:nowrap}
.debt-limit svg{width:12px;height:12px}
.debt-muted{color:var(--muted)}
.debt-footer{display:flex;justify-content:space-between;gap:12px;padding:12px 18px;border-top:1px solid var(--hair);color:var(--muted);font-size:11px}
.debt-aging>header{display:flex;align-items:center;gap:11px;padding:16px 18px}
.debt-aging h3{margin:0;font-size:15px;line-height:1.4;color:var(--ink)}
.debt-aging p{margin:3px 0 0;font-size:11px;color:var(--muted)}
.debt-aging .debt-icon{width:34px;height:34px;border-radius:10px}
.debt-aging .debt-icon svg{width:18px;height:18px}
.debt-empty{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:9px;min-height:160px;padding:20px;box-sizing:border-box;text-align:center}
.debt-empty>svg{width:24px;height:24px;padding:12px;box-sizing:content-box;border-radius:13px;color:var(--accent-ink);background:var(--ui-tint);margin-bottom:4px}
.debt-empty b{font-size:15px;color:var(--ink)}
.debt-empty>span{font-size:12px;color:var(--muted);line-height:1.5}
.debt-aging .debt-empty{min-height:115px}
.debt-aging[hidden]{display:none!important}
.debt-toolbar select[hidden]{display:none!important}
@media(max-width:1150px){
  .debt-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
  .debt-metric strong{font-size:21px}
}
@media(max-width:640px){
  .debt-workspace{gap:12px}
  .debt-summary{gap:8px}
  .debt-metric{padding:12px;gap:8px;align-items:flex-start;flex-direction:column;min-height:108px}
  .debt-icon{width:30px;height:30px;border-radius:9px}
  .debt-icon svg{width:17px;height:17px}
  .debt-metric>div>span{font-size:10px}
  .debt-metric strong{font-size:18px}
  .debt-metric small{font-size:10px}
  .debt-tabs{padding:0 12px}
  .debt-tabs>.tabs{gap:16px!important}
  .debt-tabs>.tabs button{font-size:11px!important}
  .debt-toolbar{grid-template-columns:minmax(0,1fr) auto;padding:12px;gap:8px}
  .debt-search{grid-column:1/-1}
  .debt-table,.debt-table tbody{display:block;width:100%;min-width:0}
  .debt-table thead{display:none}
  .debt-table tr:has(td[data-label]){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:14px 12px;border-top:1px solid var(--hair)}
  .debt-table td[data-label]{display:block;min-width:0;width:100%;padding:0!important;border:0;text-align:left!important;white-space:normal!important;overflow-wrap:anywhere}
  .debt-table td[data-label]:before{content:attr(data-label);display:block;margin-bottom:4px}
  .debt-table td:first-child,.debt-table td[data-label=Amallar]{grid-column:1/-1}
  .debt-table td[data-label=Amallar] .actions{justify-content:flex-start;flex-wrap:wrap}
  .debt-person{min-width:0}
  .debt-table tr:not(:has(td[data-label])),.debt-table td[colspan]{display:block;width:100%}
  .debt-table td[colspan]{padding:12px}
  .debt-footer{padding:12px;font-size:10px}
  .debt-aging>header{padding:14px 12px;align-items:flex-start}
  .debt-aging h3{font-size:14px}
  .debt-aging p{font-size:10px;line-height:1.5}
  .debt-empty{min-height:150px;padding:20px 12px}
  .debt-empty b{font-size:14px}
  .debt-empty>span{font-size:11px}
}
.payroll-workspace .tbl th{box-sizing:border-box}
.payroll-workspace .tbl td{box-sizing:border-box}
.payroll-workspace .tbl td:has(>.empty){height:auto!important;padding:0!important;text-align:center!important}
.payroll-workspace .tbl .empty{min-height:160px!important;padding:16px!important;gap:8px;box-sizing:border-box}
.payroll-workspace .tbl .empty>svg{width:24px;height:24px;padding:10px;margin:0 0 2px;border-radius:12px}
@media(max-width:640px){
  .payroll-workspace .tbl tbody tr:has(td[data-label])>td{height:auto!important}
  .payroll-workspace .tbl .empty{min-height:160px!important}
}
@media(max-width:480px){
  .payroll-toolbar .payroll-filter{grid-column:1/-1}
}
.reports-workspace{display:grid;gap:14px;min-width:0;font-family:var(--font);font-size:12px;color:var(--ink)}
.report-controls{display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px;padding:14px 16px;background:var(--solid);border:1px solid var(--hair);border-radius:14px;min-width:0}
.report-field{display:grid;gap:6px;min-width:0}
.report-field>label,.report-field>span{font-size:11px;font-weight:600;color:var(--muted);line-height:1.4}
.report-type{flex:1;min-width:200px;max-width:310px}
.report-period>.row{flex-wrap:nowrap;gap:8px}
.report-period .fld{min-width:0}
.reports-workspace .report-controls :is(input, select){width:100%;min-width:0;padding:7px 10px!important;box-sizing:border-box}
.report-period input{max-width:155px}
.report-presets{display:flex;gap:7px;flex-wrap:wrap}
#rPrint{margin-left:auto}
.report-context{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 2px}
.report-context h3{display:flex;align-items:center;gap:8px;margin:0;font-size:15px;font-weight:700;color:var(--ink)}
.report-context h3 svg{width:18px;height:18px;color:var(--accent-ink)}
.report-context>span{font-size:11px;color:var(--muted)}
#rBody{min-width:0;display:grid;gap:14px}
.report-metrics{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}
.report-metric{display:flex;align-items:center;gap:10px;min-width:0;min-height:96px;box-sizing:border-box;padding:14px;background:var(--solid);border:1px solid var(--hair);border-radius:14px}
.report-icon{display:grid;place-items:center;flex:none;width:36px;height:36px;border-radius:10px;background:var(--ui-tint);color:var(--accent-ink)}
.report-icon svg{width:19px;height:19px}
.report-icon.green{background:var(--green-bg);color:var(--green)}
.report-icon.red{background:var(--red-bg);color:var(--red)}
.report-metric>div{min-width:0}
.report-metric>div>span{display:block;font-size:11px;color:var(--muted);line-height:1.4}
.report-metric strong{display:block;font-size:22px;font-weight:700;line-height:1.3;margin-top:4px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.report-metric small{display:block;margin-top:3px;font-size:10.5px;color:var(--muted);line-height:1.4}
.report-metric:has(.green) strong{color:var(--green)}
.report-metric:has(.red) strong{color:var(--red)}
.report-charts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:stretch}
.report-panel{min-width:0;overflow:hidden;background:var(--solid);border:1px solid var(--hair);border-radius:14px;display:flex;flex-direction:column}
.report-panel>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px;border-bottom:1px solid var(--hair)}
.report-panel h3{display:flex;align-items:center;gap:8px;font-size:15px;line-height:1.4;margin:0;color:var(--ink)}
.report-panel h3 svg{width:18px;height:18px;color:var(--accent-ink)}
.report-panel header div>span{display:block;margin-top:4px;color:var(--muted);font-size:11px}
.report-panel header>b{font-size:13px;font-variant-numeric:tabular-nums;white-space:nowrap}
.report-count{background:var(--ui-tint);color:var(--accent-ink);padding:4px 8px;border-radius:7px;font-size:11px;white-space:nowrap}
.report-category-list{padding:4px 16px 12px}
.report-category{padding:11px 0}
.report-category>div:first-child{display:flex;justify-content:space-between;gap:16px;line-height:1.4}
.report-category b{font-size:12px;font-variant-numeric:tabular-nums}
.report-track{height:5px;overflow:hidden;background:var(--field);border-radius:5px}
.report-category .report-track{margin-top:7px}
.report-track i{display:block;height:100%;background:var(--accent);border-radius:inherit}
.report-months{display:grid;gap:16px;padding:18px 16px;max-height:286px;overflow:auto;flex:1}
.report-month{display:grid;grid-template-columns:60px minmax(30px,1fr) minmax(85px,auto);gap:12px;align-items:center}
.report-month>span{font-size:11px;color:var(--muted)}
.report-month b{text-align:right;font-size:12px;font-variant-numeric:tabular-nums}
.report-cashflow{display:grid;gap:6px;margin-top:auto;padding:12px 16px;border-top:1px solid var(--hair);background:var(--field)}
.report-cashflow>div{display:flex;align-items:center;justify-content:space-between;gap:12px}
.report-cashflow strong{font-size:14px;font-variant-numeric:tabular-nums}
.report-cashflow>span{font-size:10.5px;line-height:1.5;color:var(--muted)}
.report-note{display:flex;align-items:flex-start;gap:10px;padding:12px 14px;background:var(--solid);border:1px solid var(--hair);border-radius:11px;font-size:11px;line-height:1.65;color:var(--muted)}
.report-note>svg{flex:none;width:16px;height:16px;margin-top:1px;color:var(--accent-ink)}
.report-note span{display:block;margin-top:3px}
.report-empty,.reports-workspace .empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:160px!important;padding:18px!important;text-align:center;box-sizing:border-box}
.report-empty>svg,.reports-workspace .empty>svg{width:22px;height:22px;padding:10px;box-sizing:content-box;border-radius:12px;color:var(--accent-ink);background:var(--ui-tint);margin:0 0 3px}
.report-empty b,.reports-workspace .empty b{font-size:14px;color:var(--ink)}
.report-empty>span,.reports-workspace .empty>span{font-size:11px;color:var(--muted);line-height:1.5}
.report-panel>.report-empty{flex:1}
#rBody>.empty,#rBody>.report-empty,.report-loading{background:var(--solid);border:1px solid var(--hair);border-radius:14px}
.report-loading{display:flex;align-items:center;justify-content:center;gap:10px;min-height:160px;color:var(--muted)}
.report-loading .spinner{width:20px;height:20px}
.reports-workspace .card.flat{padding:0!important;border:1px solid var(--hair);border-radius:14px!important;overflow:hidden;box-shadow:none}
.reports-workspace .tbl-wrap{overflow-x:auto;max-width:100%}
.reports-workspace .tbl{width:100%;font-size:12px}
.reports-workspace .tbl .mini{font-size:11px}
.reports-workspace .tbl td:has(>.empty){padding:0!important}
.reports-workspace .tbl .empty{min-height:160px!important}
@media(max-width:1500px){
  .report-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}
  .report-metric{min-height:86px;padding:12px 16px}
  .report-icon{width:38px;height:38px}
  .report-type{max-width:none}
}
@media(max-width:1000px){
  .report-controls{gap:10px}
  .report-type{flex:1;min-width:180px}
  .report-charts{grid-template-columns:1fr}
  .report-metric strong{font-size:20px}
}
@media(max-width:640px){
  .reports-workspace,#rBody{gap:12px}
  .report-controls{display:grid;grid-template-columns:1fr auto;padding:12px}
  .report-type,.report-period{grid-column:1/-1}
  .report-period>.row{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)}
  .report-period input{max-width:none}
  .report-presets{gap:5px;grid-column:1/-1}
  #rPrint{grid-column:1/-1;justify-self:end}
  .report-context{align-items:flex-start;flex-direction:column;gap:5px}
  .report-context h3{font-size:14px}
  .report-context>span{font-size:10px}
  .report-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .report-metric{flex-direction:column;align-items:flex-start;gap:8px;padding:12px;min-height:122px}
  .report-icon{width:30px;height:30px;border-radius:9px}
  .report-icon svg{width:17px;height:17px}
  .report-metric strong{font-size:18px}
  .report-metric>div>span{font-size:10.5px}
  .report-metric small{font-size:10px}
  .report-panel>header{padding:12px;gap:8px}
  .report-panel h3{font-size:14px}
  .report-panel header>b{font-size:11px}
  .report-panel header div>span{font-size:10px}
  .report-category-list{padding:2px 12px 10px}
  .report-months{padding:16px 12px}
  .report-month{grid-template-columns:50px minmax(15px,1fr) auto;gap:8px}
  .report-month b{font-size:11px}
  .report-cashflow{padding:12px}
  .report-cashflow strong{font-size:12px}
  .report-note{font-size:10.5px}
  .reports-workspace .tbl{min-width:620px}
  .reports-workspace .tbl:has(.empty){min-width:0}
  .reports-workspace .tbl:has(.empty) thead,.reports-workspace .tbl:has(.empty) tfoot{display:none}
}
html[data-theme=dark] .reports-workspace .report-controls :is(input, select){color-scheme:dark}
.settings-directories{display:grid;gap:14px;min-width:0;font-family:var(--font);font-size:12px}
.directory-intro{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:11.5px;line-height:1.5}
.directory-intro svg{width:16px;height:16px;flex:none;color:var(--accent-ink)}
.directory-layout{display:grid;grid-template-columns:230px minmax(0,1fr);gap:16px;align-items:start;min-width:0}
.directory-nav{display:grid;gap:4px;padding:10px;background:var(--solid);border:1px solid var(--hair);border-radius:14px;min-width:0}
.directory-nav-title{padding:7px 10px 10px;color:var(--muted);font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.04em}
.directory-nav button{display:flex;align-items:center;gap:10px;min-height:44px;padding:10px;border:1px solid transparent;background:transparent;color:var(--muted);border-radius:9px;font-family:inherit;font-size:12px;font-weight:600;text-align:left;cursor:pointer;line-height:1.4}
.directory-nav button>svg{width:17px;height:17px;flex:none}
.directory-nav button>svg:last-child{width:14px;height:14px;margin-left:auto;opacity:0}
.directory-nav button:hover{background:var(--field);color:var(--ink)}
.directory-nav button.on{background:var(--ui-tint);border-color:rgba(var(--bz-rgb),.15);color:var(--accent-ink)}
.directory-nav button.on>svg:last-child{opacity:1}
.directory-nav button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.directory-panel{min-width:0;overflow:hidden;border:1px solid var(--hair);border-radius:14px;background:var(--solid)}
.directory-heading{display:flex;align-items:center;gap:10px;padding:16px;border-bottom:1px solid var(--hair)}
.directory-icon{display:grid;place-items:center;width:36px;height:36px;flex:none;border-radius:10px;color:var(--accent-ink);background:var(--ui-tint)}
.directory-icon svg{width:19px;height:19px}
.directory-heading h3{margin:0;font-size:16px;line-height:1.4;color:var(--ink)}
.directory-heading p{margin:3px 0 0;font-size:11px;line-height:1.5;color:var(--muted)}
.settings-directories .ph.section-toolbar{display:flex;align-items:center;gap:10px;padding:12px 16px;margin:0;border:0;background:none;min-height:0}
.settings-directories .section-toolbar .search{flex:1;min-width:0;max-width:none;width:auto}
.settings-directories .section-toolbar .spacer{display:none}
.settings-directories .search input{padding:8px 12px 8px 34px!important}
.settings-directories .search .si{width:16px;height:16px;left:11px}
.settings-directories .card.flat{border:0!important;border-radius:0!important;box-shadow:none!important;padding:0!important;margin:0!important}
.settings-directories .tbl-wrap{overflow-x:auto;max-width:100%}
.settings-directories .tbl{width:100%;font-size:12px}
.settings-directories .tbl th:last-child,.settings-directories .tbl td:last-child{width:48px}
.settings-directories .tbl .badge{font-size:10px;padding:4px 7px}
.settings-directories .tbl td:has(>.empty){padding:0!important}
.settings-directories .tbl .empty{min-height:150px!important;padding:20px!important}
.settings-directories .directory-count{padding:10px 16px;font-size:11px;color:var(--muted);border-top:1px solid var(--hair)}
.directory-loading{display:flex;align-items:center;justify-content:center;gap:9px;min-height:150px;color:var(--muted);font-size:12px}
.directory-loading .spinner{width:20px;height:20px}
@media(max-width:1000px){
  .directory-layout{grid-template-columns:200px minmax(0,1fr);gap:12px}
  .directory-nav button{font-size:11px;padding:9px;gap:8px}
}
@media(max-width:640px){
  .directory-layout{grid-template-columns:minmax(0,1fr);gap:12px}
  .directory-nav{display:flex;overflow-x:auto;padding:8px;gap:6px;border-radius:12px}
  .directory-nav-title,.directory-nav button>svg:last-child{display:none}
  .directory-nav button{flex:none;min-height:36px;padding:8px 10px;white-space:nowrap}
  .directory-intro{align-items:flex-start;font-size:10.5px}
  .directory-heading{padding:12px}
  .directory-heading h3{font-size:15px}
  .directory-heading p{font-size:10.5px}
  .settings-directories .ph.section-toolbar{padding:12px}
  .settings-directories .tbl th{padding:9px 12px!important}
  .settings-directories .tbl td{padding:10px 12px!important;white-space:normal;overflow-wrap:anywhere}
  .settings-directories .tbl td.num{white-space:nowrap}
  .settings-directories .directory-count{padding:10px 12px}
}
@media(min-width:641px){
  .settings-directories .tbl-wrap{max-height:clamp(180px,calc(100dvh - 320px),560px);overflow:auto;scrollbar-gutter:stable}
  .settings-directories .tbl thead th{position:sticky;top:0;z-index:1}
}
@media(max-width:640px){
  .directory-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible}
  .directory-nav button{min-width:0;white-space:normal;font-size:10.5px}
  .directory-nav button:last-child{grid-column:1/-1}
}
.system-layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:14px;align-items:start;font-family:var(--font);font-size:12px;min-width:0}
.system-column{display:grid;gap:14px;min-width:0;align-content:start}
.system-layout .system-card{min-width:0;padding:16px!important;border:1px solid var(--hair);border-radius:14px!important;background:var(--solid);box-shadow:none!important;margin:0!important}
.system-layout .system-card h3{font-size:15px;line-height:1.4;margin:0 0 10px;gap:8px}
.system-layout .system-card h3 svg{width:18px;height:18px}
.system-layout .system-card>p.note{font-size:11px;line-height:1.65;margin:0 0 14px}
.system-layout .fld{margin-bottom:12px;min-width:0}
.system-layout .fld label{font-size:11px!important;margin-bottom:6px;color:var(--muted);line-height:1.4}
.system-layout .f-row{gap:12px}
.system-layout .fld input{padding:8px 10px!important}
.system-layout .fld .hint,.system-layout .fld .mini{font-size:10.5px;line-height:1.5}
.system-layout .actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;margin:14px -16px -16px!important;padding:12px 16px;border-top:1px solid var(--hair);background:var(--field);border-radius:0 0 14px 14px}
.system-layout .sum-row{margin:0;padding:11px 12px;border-radius:9px;font-size:12px;background:var(--ui-tint)}
.system-layout .sum-row b{font-size:17px;font-variant-numeric:tabular-nums}
.system-layout .st-line{padding:10px 12px;border-radius:9px;margin-bottom:8px;background:var(--field);font-size:12px}
.system-layout .st-line .badge{font-size:10px}
.system-layout .bk-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:12px 0 0}
.system-layout .bk-stats>div{padding:12px 8px;border-radius:10px;background:var(--field);text-align:center;min-width:0}
.system-layout .bk-stats b{font-size:16px;line-height:1.4;overflow-wrap:anywhere}
.system-layout .bk-stats small{font-size:10px;margin-top:3px}
.system-layout .kv{display:grid;grid-template-columns:110px minmax(0,1fr);column-gap:12px;row-gap:0;margin:0}
.system-layout .kv dt,.system-layout .kv dd{margin:0;padding:9px 0;border-bottom:1px solid var(--hair);font-size:12px;line-height:1.4;overflow-wrap:anywhere}
.system-layout .kv dt{color:var(--muted)}
.system-layout .kv dd{text-align:right;font-weight:600}
.system-layout .kv dt:last-of-type,.system-layout .kv dd:last-of-type{border-bottom:0}
.system-layout .set-dirty{font-size:10.5px;line-height:1.4}
.system-layout .system-errors{grid-column:1/-1}
.system-layout .system-errors .tbl-wrap{max-height:240px;overflow:auto;border:1px solid var(--hair);border-radius:10px}
.system-layout .system-errors th{position:sticky;top:0}
.system-layout .system-errors td .mini{font-size:11px}
@media(max-width:1000px){
  .system-layout{grid-template-columns:minmax(0,1fr)}
  .system-column{display:contents}
  .system-norms{order:1}
  .system-telegram{order:2}
  .system-backup{order:3}
  .system-account{order:4}
  .system-errors{order:5}
}
@media(max-width:640px){
  .system-layout{gap:12px}
  .system-layout .system-card{padding:12px!important}
  .system-layout .system-card h3{font-size:14px}
  .system-layout .system-card>p.note{font-size:10.5px}
  .system-layout .f-row{grid-template-columns:minmax(0,1fr);gap:0}
  .system-layout .actions{margin:12px -12px -12px!important;padding:12px;gap:7px}
  .system-layout .set-dirty{width:100%;margin-bottom:3px}
  .system-layout .bk-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .system-layout .kv{grid-template-columns:85px minmax(0,1fr);gap:0 10px}
  .system-layout .kv dt,.system-layout .kv dd{font-size:11px}
  .system-layout .system-errors .tbl{min-width:550px}
}
.journal-workspace{min-width:0;border:1px solid var(--hair);border-radius:14px;background:var(--solid);overflow:hidden;font-family:var(--font);font-size:12px}
.journal-heading{display:flex;align-items:center;gap:10px;padding:16px;border-bottom:1px solid var(--hair)}
.journal-heading-icon{display:grid;place-items:center;flex:none;width:36px;height:36px;border-radius:10px;color:var(--accent-ink);background:var(--ui-tint)}
.journal-heading-icon svg{width:19px;height:19px}
.journal-heading>div{flex:1;min-width:0}
.journal-heading h3{font-size:16px;margin:0;line-height:1.4}
.journal-heading p{font-size:11px;color:var(--muted);margin:3px 0 0}
.journal-toolbar{display:grid;grid-template-columns:minmax(0,1fr) 210px auto;gap:10px;padding:12px 16px}
.journal-search{position:relative;min-width:0}
.journal-search>svg{position:absolute;width:16px;height:16px;left:11px;top:50%;transform:translateY(-50%);color:var(--muted);pointer-events:none}
.journal-toolbar input,.journal-toolbar select{width:100%;min-width:0;padding:8px 10px!important}
.journal-toolbar input{padding-left:34px!important}
.journal-table-wrap{overflow:auto;max-width:100%}
.journal-table{width:100%;table-layout:fixed}
.journal-table td{vertical-align:middle}
.journal-table th:nth-child(1){width:122px}
.journal-table th:nth-child(2){width:155px}
.journal-table th:nth-child(3){width:125px}
.journal-table th:nth-child(4){width:160px}
.journal-table th:nth-child(6){width:138px}
.journal-table th:nth-child(7){width:110px}
.journal-table td>small{display:block;margin-top:3px;font-size:10.5px;color:var(--muted)}
.journal-table td>b{font-weight:500}
.journal-person{display:flex;align-items:center;gap:8px;min-width:0}
.journal-person>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.journal-avatar{display:grid;place-items:center;flex:none;width:28px;height:28px;border-radius:50%;background:var(--ui-tint);color:var(--accent-ink);font-size:11px;font-weight:600}
.journal-table .badge{font-size:10px!important;padding:4px 7px;max-width:100%;white-space:normal}
.journal-preview{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--muted);font-size:11px}
.journal-ip{font-size:10.5px;color:var(--muted);overflow-wrap:anywhere}
.journal-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 16px;border-top:1px solid var(--hair);font-size:11px;color:var(--muted)}
.journal-footer>div{display:flex;align-items:center;gap:10px}
.journal-empty{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:9px;min-height:170px;padding:20px;text-align:center;color:var(--muted)}
.journal-empty>svg{width:24px;height:24px;padding:11px;box-sizing:content-box;background:var(--ui-tint);color:var(--accent-ink);border-radius:12px}
.journal-empty b{font-size:14px;color:var(--ink)}
.journal-empty>span{font-size:11px}
.journal-empty .spinner{width:22px;height:22px}
.journal-detail-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.journal-detail-meta>div{padding:10px 12px;background:var(--field);border-radius:9px;min-width:0}
.journal-detail-meta span{display:block;font-size:11px;color:var(--muted)}
.journal-detail-meta b{display:block;margin-top:5px;font-size:12px;overflow-wrap:anywhere}
.journal-detail-title{margin:18px 0 10px;font-size:13px}
.journal-detail-text{margin:0;padding:14px;border:1px solid var(--hair);border-radius:10px;background:var(--field);color:var(--ink);font:12px/1.65 Consolas,monospace;white-space:pre-wrap;overflow-wrap:anywhere;max-height:340px;overflow:auto}
#modal[data-variant=journal-detail]{width:760px;max-width:calc(100vw / 1.1 - 28px)}
@media(max-width:1200px){
  .journal-table{min-width:980px}
}
@media(max-width:640px){
  .journal-heading{padding:12px;flex-wrap:wrap}
  .journal-heading h3{font-size:15px}
  .journal-heading p{font-size:10px}
  .journal-toolbar{grid-template-columns:minmax(0,1fr) auto;padding:12px;gap:8px}
  .journal-search{grid-column:1/-1}
  .journal-table,.journal-table tbody{display:block;width:100%;min-width:0}
  .journal-table thead{display:none}
  .journal-table tr:has(td[data-label]){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:14px 12px;border-top:1px solid var(--hair)}
  .journal-table td[data-label]{display:block;height:auto!important;min-width:0;padding:0!important;border:0!important;overflow-wrap:anywhere}
  .journal-table td[data-label]:before{content:attr(data-label);display:block;margin-bottom:5px}
  .journal-table td[data-label=Tafsilot]{grid-column:1/-1}
  .journal-table td[data-label=Ko‘rish]{grid-column:2;grid-row:4}
  .journal-table td[data-label=Ko‘rish]:before{display:none}
  .journal-preview{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
  .journal-table td[colspan],.journal-table tr:has(td[colspan]){display:block;width:100%}
  .journal-footer{padding:10px 12px;font-size:10px}
  .journal-detail-meta{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .journal-detail-text{font-size:11px}
}
.journal-toolbar input,.journal-toolbar select{box-sizing:border-box}
@media(min-width:641px){
  .journal-table-wrap{max-height:clamp(220px,calc(100dvh - 300px),660px);scrollbar-gutter:stable}
  .journal-table thead th{position:sticky;top:0;z-index:1}
}
.settings-shell{display:grid;grid-template-columns:230px minmax(0,1fr);gap:16px;align-items:start;min-width:0;font-family:var(--font)}
.settings-side{display:grid;gap:5px;padding:10px;background:var(--solid);border:1px solid var(--hair);border-radius:14px;max-height:calc(100dvh - 120px);overflow:auto;position:sticky;top:12px}
.settings-side-label{padding:7px 10px 10px;font-size:10px;color:var(--muted);font-weight:600;text-transform:uppercase;letter-spacing:.04em}
.settings-section-button{display:flex;align-items:center;gap:9px;width:100%;min-height:44px;padding:10px;border:1px solid transparent;border-radius:9px;background:transparent;color:var(--muted);font-family:inherit;font-size:12px;font-weight:600;text-align:left;cursor:pointer;line-height:1.4}
.settings-section-button>svg{width:17px;height:17px;flex:none}
.settings-section-button>span{flex:1}
.settings-section-button>svg:last-child{width:14px;height:14px;opacity:0}
.settings-side-group.active>.settings-section-button{background:var(--ui-tint);border-color:rgba(var(--bz-rgb),.15);color:var(--accent-ink)}
.settings-side-group.active>.settings-section-button>svg:last-child{opacity:1}
.settings-section-button:hover,.settings-subnav button:hover{background:var(--field);color:var(--ink)}
.settings-subnav{display:none;padding:5px 0 5px 14px;margin-left:17px;border-left:1px solid var(--hair);gap:3px}
.settings-side-group.active>.settings-subnav{display:grid}
.settings-subnav button{border:0;border-radius:7px;min-height:34px;padding:7px 9px;background:none;color:var(--muted);font-family:inherit;font-size:11px;font-weight:500;line-height:1.45;text-align:left;cursor:pointer}
.settings-subnav button.on{color:var(--accent-ink);background:var(--ui-tint);font-weight:600}
.settings-side button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.settings-content{min-width:0}
.settings-loading,.settings-load-error{display:flex;align-items:center;justify-content:center;gap:10px;min-height:180px;padding:20px;border:1px solid var(--hair);border-radius:14px;background:var(--solid);color:var(--muted);font-size:12px}
.settings-load-error{flex-direction:column}
.settings-loading .spinner{width:22px;height:22px}
.settings-shell .settings-directories{display:block}
.settings-shell .directory-intro,.settings-shell .directory-nav{display:none!important}
.settings-shell .directory-layout{display:block}
.settings-shell .system-layout{display:block}
.settings-shell .system-column{display:contents}
.settings-shell[data-setting-tab=tizim] .system-card{display:none}
.settings-shell[data-setting-sub=norms] .system-norms,.settings-shell[data-setting-sub=telegram] .system-telegram,.settings-shell[data-setting-sub=backup] .system-backup,.settings-shell[data-setting-sub=account] .system-account,.settings-shell[data-setting-sub=errors] .system-errors{display:block}
.settings-shell .settings-no-errors{text-align:center;padding:36px!important}
.settings-no-errors>svg{width:28px;height:28px;color:var(--green);margin-bottom:10px}
.settings-no-errors h3{justify-content:center}
.settings-no-errors p{font-size:12px;color:var(--muted)}
.settings-shell[data-setting-sub=users] .settings-roles-card{display:none}
.settings-shell[data-setting-sub=roles] .set-kpis,.settings-shell[data-setting-sub=roles] .settings-users-card{display:none}
.settings-shell .settings-roles-card{margin-top:0}
.settings-shell .set-kpi{border-radius:14px}
.settings-shell .set-card{border-radius:14px}
.settings-shell .journal-table{min-width:930px}
.settings-shell .system-layout .fld input{max-width:none}
.settings-shell .system-layout .kv{grid-template-columns:160px minmax(0,1fr)}
@media(max-width:1050px){
  .settings-shell{grid-template-columns:205px minmax(0,1fr);gap:12px}
  .settings-section-button{font-size:11px}
  .settings-shell .set-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
  .settings-shell .role-grid{grid-template-columns:1fr}
  .settings-shell .settings-users-card .tbl{min-width:740px}
}
@media(max-width:700px){
  .settings-shell{grid-template-columns:minmax(0,1fr);gap:12px}
  .settings-side{position:static;max-height:none;overflow:visible;padding:8px;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
  .settings-side-label{grid-column:1/-1;padding:4px 8px}
  .settings-side-group{min-width:0}
  .settings-section-button{font-size:11px;min-height:40px;padding:8px;gap:6px}
  .settings-section-button>svg:last-child{display:none}
  .settings-subnav{margin-left:13px;padding-left:5px}
  .settings-subnav button{font-size:10.5px}
  .settings-shell .system-layout .kv{grid-template-columns:85px minmax(0,1fr)}
}
@media(max-width:640px){
  .settings-shell .journal-table{min-width:0}
  .settings-shell .set-kpis{gap:8px}
  .settings-shell .set-kpi small{font-size:10px}
}
@media(max-width:700px){
  .settings-side{display:flex;flex-wrap:wrap;gap:6px}
  .settings-side-label{width:100%}
  .settings-side-group{display:contents}
  .settings-section-button{width:calc(50% - 3px)}
  .settings-side-group.active>.settings-subnav{order:2;width:100%;margin:2px 0 0;padding:8px 0 0;border-left:0;border-top:1px solid var(--hair);grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}
  .settings-subnav button{padding:8px}
}
.settings-shell .set-kpis{gap:12px;align-items:stretch}
.settings-shell .set-kpi{min-width:0;min-height:82px;box-sizing:border-box;padding:14px 16px;gap:10px;border:1px solid var(--hair);box-shadow:none;align-items:center}
.settings-shell .set-kpi>div{min-width:0}
.settings-shell .set-kpi .icd{flex:none;width:36px;height:36px;border-radius:10px}
.settings-shell .set-kpi .icd svg{width:20px;height:20px}
.settings-shell .set-kpi b{font-size:22px;line-height:1.2;font-weight:700}
.settings-shell .set-kpi small{font-size:11px;line-height:1.4;margin-top:4px}
.settings-shell .settings-users-card,.settings-shell .settings-roles-card{padding:0!important;overflow:hidden;border:1px solid var(--hair);border-radius:14px;box-shadow:none}
.settings-shell .settings-users-card{margin-top:14px}
.settings-shell .set-card>.ph{display:flex;align-items:center;gap:12px;margin:0!important;padding:16px!important;border-bottom:1px solid var(--hair);border-radius:0;background:var(--solid);box-sizing:border-box}
.settings-shell .set-card>.ph>div:first-child{min-width:0;flex:1}
.settings-shell .set-card>.ph .spacer{display:none}
.settings-shell .set-card>.ph h3{font-size:16px;line-height:1.4;margin:0 0 4px}
.settings-shell .set-card>.ph .mini{font-size:11px;line-height:1.5;color:var(--muted)}
.settings-shell .settings-users-card>.tbl-wrap{overflow:auto;max-width:100%}
.settings-shell .settings-users-card .tbl{margin:0;border-radius:0;font-size:12px}
.settings-shell .settings-users-card .tbl th{box-sizing:border-box}
.settings-shell .settings-users-card .tbl td{box-sizing:border-box;vertical-align:middle}
.settings-shell .settings-users-card .tbl .sub{margin-top:4px;font-size:10.5px;line-height:1.4}
.settings-shell .settings-users-card .tbl .mini{font-size:10.5px}
.settings-shell .settings-users-card .badge{font-size:10px;padding:4px 7px}
.settings-shell .settings-users-card .tbl th:last-child,.settings-shell .settings-users-card .tbl td:last-child{width:96px;text-align:right}
.settings-shell .settings-roles-card .role-grid{padding:16px;gap:12px}
.settings-shell .role-card{min-width:0}
.settings-shell .role-card summary{gap:10px}
.settings-shell .role-name{min-width:0}
@media(max-width:1200px){
  .settings-shell .set-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
  .settings-shell .settings-users-card .tbl{min-width:740px}
}
@media(max-width:640px){
  .settings-shell .set-kpis{gap:8px}
  .settings-shell .set-kpi{padding:12px;min-height:76px;gap:8px}
  .settings-shell .set-kpi .icd{width:30px;height:30px}
  .settings-shell .set-kpi .icd svg{width:18px;height:18px}
  .settings-shell .set-kpi b{font-size:20px}
  .settings-shell .set-kpi small{font-size:10px}
  .settings-shell .set-card>.ph{padding:12px!important;flex-wrap:wrap;gap:10px}
  .settings-shell .set-card>.ph>div:first-child{flex-basis:100%}
  .settings-shell .set-card>.ph h3{font-size:15px}
  .settings-shell .settings-roles-card .role-grid{padding:12px}
  .settings-shell .role-card summary{flex-wrap:wrap}
}
#app #sideNav #sideUser{height:44px;min-height:44px;box-sizing:border-box;padding:6px 8px!important;gap:8px;border-radius:10px!important;flex-shrink:0}
#app #sideNav #sideUser .avatar{width:28px;height:28px;flex:0 0 28px;border-radius:8px;font-size:11px!important;line-height:1;font-weight:600}
#app #sideNav #sideUser>div:not(.avatar){min-width:0;flex:1}
#app #sideNav #sideUser b{font-size:12px!important;line-height:1.2;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#app #sideNav #sideUser span{display:block;font-size:10px!important;line-height:1.2;margin-top:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#app.nav-compact #sideNav #sideUser{padding:6px!important;gap:0;justify-content:center}
#app .settings-shell{--settings-text:13px;--settings-small:12px;font-size:var(--settings-text)}
#app .settings-shell :is(.settings-section-button, .settings-subnav button){font-size:var(--settings-text)!important;line-height:1.45}
#app .settings-shell .settings-side-label{font-size:11px;line-height:1.4}
#app .settings-shell :is(.tbl td, .system-layout .kv dt, .system-layout .kv dd, .role-name, .role-n){font-size:var(--settings-text)!important;line-height:1.45}
#app .settings-shell :is(.mini, .sub, .note, .hint, small, .directory-heading p, .directory-count, .journal-heading p, .journal-preview, .journal-ip, .journal-footer, .journal-empty>span, .system-layout .system-card>p.note, .set-dirty){font-size:var(--settings-small)!important;line-height:1.5}
#app .settings-shell :is(.tbl th, .fld label, .badge, .tag){font-size:var(--settings-small)!important;line-height:1.4}
#app .settings-shell .settings-subnav button{overflow-wrap:break-word}
#app .topbar{column-gap:10px!important}
#app .topbar .top-search{height:36px!important;min-height:36px!important;width:220px!important;flex:0 1 220px;border:1px solid var(--hair)!important;border-radius:10px!important;background:var(--field)!important;transition:border-color .15s,box-shadow .15s}
#app .topbar .top-search:focus-within{border-color:var(--accent-ink)!important;box-shadow:0 0 0 3px rgba(var(--bz-rgb),.1)}
#app .topbar .top-search>svg{width:16px;height:16px;flex:0 0 16px}
#app .topbar .top-search input{padding:0!important}
#app .topbar .top-search input::-webkit-calendar-picker-indicator{opacity:.45;cursor:pointer}
#app .topbar .icon-btn{display:inline-flex;align-items:center;justify-content:center;flex:0 0 36px;width:36px!important;min-width:36px!important;height:36px!important;min-height:36px!important;padding:0!important;border:1px solid var(--hair)!important;border-radius:10px!important;background:var(--solid);color:var(--ink)}
#app .topbar .icon-btn:hover{background:var(--ui-tint);border-color:rgba(var(--bz-rgb),.3)!important;color:var(--accent-ink)}
#app .topbar .icon-btn>svg{width:18px;height:18px;flex:0 0 18px;transform:none!important}
#app #topActions{display:flex;align-items:center;flex-wrap:nowrap;gap:12px;flex:none}
#app #topActions:empty{display:none}
#app .topbar .top-notification-dot{position:absolute!important;inset:5px 5px auto auto!important;width:7px;height:7px;border:2px solid var(--solid);border-radius:50%;background:var(--red);box-sizing:content-box;pointer-events:none}
#app .topbar .top-date{height:36px;min-width:126px;padding-left:12px;border-left:1px solid var(--hair);justify-content:center;gap:3px;white-space:nowrap;font-variant-numeric:tabular-nums}
#app .topbar .top-date b{font-size:12px!important;font-weight:650;line-height:1.25;color:var(--ink)}
#app .topbar .top-date span{margin:0;font-size:12px!important;line-height:1.25;color:var(--muted);text-transform:none}
@media(max-width:1180px){
  #app .topbar .top-search{width:180px!important;flex-basis:180px}
}
@media(max-width:900px){
  #app .topbar{column-gap:8px!important}
  #app #topActions{gap:0}
  #app .topbar .top-title{flex:1;min-width:0}
  #app .topbar .top-title h2{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  #app .topbar>.spacer{display:none}
}
#app .topbar .top-date{font-family:var(--font)}
.notification-popover{position:fixed;z-index:105;display:flex;flex-direction:column;overflow:hidden;box-sizing:border-box;background:var(--solid);border:1px solid var(--hair);border-radius:14px;box-shadow:0 12px 40px rgba(0,0,0,.16);font-family:var(--font);color:var(--ink)}
.notification-popover>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;border-bottom:1px solid var(--hair);flex:none}
.notification-popover h3{font-size:15px;line-height:1.4;margin:0;font-weight:650}
.notification-count{display:block;margin-top:3px;font-size:12px;line-height:1.4;color:var(--muted)}
.notification-popover>header .icon-btn{width:30px;height:30px;min-width:30px;min-height:30px;flex:none;border-radius:8px}
.notification-list{min-height:0;overflow-y:auto;overscroll-behavior:contain;flex:1}
.notification-item{display:flex;align-items:center;gap:11px;width:100%;padding:13px 16px;background:transparent;border:0;border-bottom:1px solid var(--hair);text-align:left;color:var(--ink);font-family:inherit;cursor:pointer;transition:background .15s}
.notification-item:last-child{border-bottom:0}
.notification-item:hover,.notification-item:focus-visible{background:var(--ui-tint)}
.notification-item:focus-visible{outline:2px solid var(--accent-ink);outline-offset:-2px}
.notification-icon{width:32px;height:32px;display:grid;place-items:center;flex:none;background:var(--ui-tint);color:var(--accent-ink);border-radius:9px}
.notification-icon svg{width:17px;height:17px}
.notification-copy{flex:1;min-width:0}
.notification-copy b{display:block;font-size:13px;line-height:1.45;font-weight:550;overflow-wrap:anywhere}
.notification-copy small{display:block;margin-top:4px;font-size:12px;line-height:1.4;color:var(--muted)}
.notification-item>svg{width:14px;height:14px;flex:none;color:var(--muted)}
.notification-state{min-height:150px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:24px 18px;text-align:center;font-size:12px;color:var(--muted);line-height:1.5}
.notification-state>svg{width:25px;height:25px;color:var(--accent-ink)}
.notification-state b{font-size:14px;color:var(--ink)}
.notification-state .spinner{width:20px;height:20px}
.notification-popover>footer{flex:none;padding:10px 14px;border-top:1px solid var(--hair)}
html:not([data-theme="light"]) #sideNav #navList{color-scheme:dark;scrollbar-color:#585858 #222;scrollbar-width:thin}
html:not([data-theme="light"]) #sideNav #navList::-webkit-scrollbar-track{background:#222}
html:not([data-theme="light"]) #sideNav #navList::-webkit-scrollbar-thumb{background-color:#585858}
html:not([data-theme="light"]) #sideNav #navList::-webkit-scrollbar-thumb:hover{background-color:#777}
html:not([data-theme="light"]) #sideNav #navList::-webkit-scrollbar-corner{background:#222}
#content .home-overview{min-width:0;font-family:var(--font)}
#content .home-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:2px 0}
#content .home-heading h1{line-height:1.3;letter-spacing:-.03em;margin:0;color:var(--ink)}
#content .home-heading p{margin:4px 0 0;color:var(--muted)}
#content .home-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}
#content .home-period{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--hair);border-radius:7px;background:var(--solid);line-height:1.4;color:var(--accent-ink);white-space:nowrap}
#content .home-period svg{width:14px;height:14px;flex:none}
#content .home-group{margin:0}
#content .home-group-heading{display:flex;justify-content:space-between}
#content .home-group-heading h2{margin:0}
#content .home-group-heading>div{display:flex;align-items:center;gap:10px}
#content .home-group-heading small{font-size:10px;color:var(--muted)}
#content .home-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}
#content .home-financial-more{grid-template-columns:repeat(3,minmax(0,1fr))}
#content .home-metric{display:flex;position:relative;min-width:0;margin:0;border:1px solid var(--hair);border-radius:10px;background:var(--solid);color:var(--ink);text-align:left;font-family:inherit;transition:background .18s,border-color .18s}
#content button.home-metric{cursor:pointer}
#content button.home-metric:hover{border-color:rgba(var(--bz-rgb),.4);background:var(--field)}
#content button.home-metric:focus-visible{outline:2px solid var(--accent-ink);outline-offset:2px}
#content .home-metric .icd{flex:0 0 34px;margin:0;display:grid;place-items:center}
#content .home-metric-copy{display:flex;flex:1;min-width:0;flex-direction:column}
#content .home-metric-label{color:var(--ink)}
#content .home-metric strong{font-size:clamp(18px,1.45vw,23px);overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
#content .home-metric small{color:var(--muted)}
#content .home-metric-arrow{position:absolute;color:var(--accent-ink)}
#content .home-overview .dash-board{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;margin:0}
#content .home-support{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;align-items:start}
#content .home-extras{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:start}
#content .home-overview :is(.dash-board, .home-support, .home-extras)>.card{grid-column:auto!important;grid-row:auto!important;min-width:0;width:auto;min-height:0;margin:0;border:1px solid var(--hair)!important;background:var(--solid);overflow:hidden}
#content .home-overview .dash-card-head{display:flex;justify-content:space-between;margin:0 0 9px;padding:0!important;border:0}
#content .home-overview .dash-card-head h3{margin:0;display:flex;align-items:center}
#content .home-overview .dash-card-head h3 svg{margin:0;flex:none;color:var(--accent-ink)}
#content .home-overview .dash-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px dashed var(--hair);border-radius:8px;margin:0;color:var(--muted)}
#content .home-overview .dash-empty>svg{width:30px;height:30px;color:var(--muted)}
#content .home-overview .dash-empty b{color:var(--ink)}
#content .home-overview .dash-empty>span{text-align:center}
#content .home-stock-scroll{overflow:auto;border:1px solid var(--hair);border-radius:7px;scrollbar-width:thin}
#content .home-stock-table{width:100%;border-collapse:collapse;text-align:left;table-layout:auto}
#content .home-stock-table th{position:sticky;top:0;white-space:nowrap}
#content .home-stock-table :is(th, td){border-bottom:1px solid var(--hair)}
#content .home-stock-table td:nth-child(3){white-space:nowrap;font-variant-numeric:tabular-nums}
#content .home-stock-status{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
.home-stock-status:before{content:'';width:5px;height:5px;flex:none;border-radius:50%;background:currentColor}
#content .home-stock-status.is-low{color:var(--amber)}
#content .home-stock-status.is-ok{color:var(--green)}
#content .home-overview .dash-acc-list{display:grid;gap:0;border:1px solid var(--hair);border-radius:7px;overflow:hidden}
#content .home-overview .dash-acc-row{display:grid;grid-template-columns:26px minmax(0,1fr) auto;align-items:center;border-bottom:1px solid var(--hair)}
#content .home-overview .dash-acc-row:last-child{border-bottom:0}
#content .home-overview .dash-acc-row .icd{border-radius:6px}
#content .home-overview .dash-acc-row .num{color:var(--accent-ink);white-space:normal;overflow-wrap:anywhere;text-align:right}
#content .home-overview .dash-acc-row.total{display:none}
#content .home-overview .dash-activity-list{overflow:auto;scrollbar-width:thin}
#content .home-overview .dash-activity-row{grid-template-columns:25px minmax(0,1fr) auto}
#content .home-overview .dash-activity-row .icd{border-radius:6px}
#content .home-alert-list{display:grid;gap:7px;overflow:auto;scrollbar-width:thin}
#content .home-alert{display:flex;align-items:center;width:100%;min-width:0;text-align:left;border:1px solid rgba(200,145,40,.2);border-radius:7px;background:var(--amber-bg);color:var(--ink);font-family:inherit;cursor:pointer}
#content .home-alert>span:first-child{color:var(--amber);flex:none}
#content .home-alert svg{width:17px;height:17px}
#content .home-alert>span:nth-child(2){min-width:0;flex:1}
#content .home-alert b{display:block;font-weight:600}
#content .home-alert small{display:block;margin-top:3px;color:var(--muted);overflow-wrap:anywhere}
#content .home-alert>svg{width:13px;height:13px;flex:none;color:var(--accent-ink)}
#content .home-alert:focus-visible{outline:2px solid var(--accent-ink);outline-offset:-2px}
#content .home-empty-text{padding:16px;text-align:center;color:var(--muted);line-height:1.5}
#content .home-empty-text svg{display:block;width:22px;height:22px;margin:0 auto 8px}
#content .home-overview .plan-row{padding:10px 4px;gap:10px}
#content .home-overview .plan-body{min-width:0}
#content .home-overview .plan-body b{overflow-wrap:anywhere}
#content .home-overview .dash-board>.card:only-child{grid-column:1/-1!important}
@media(max-width:1180px){
  #content .home-heading{align-items:flex-start}
  #content .home-actions{max-width:55%}
  #content .home-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
  #content .home-financial-more{grid-template-columns:repeat(3,minmax(0,1fr))}
  #content .home-support{grid-template-columns:repeat(2,minmax(0,1fr))}
  #content .home-support>.home-attention{grid-column:1/-1!important}
}
@media(max-width:700px){
  #content .home-overview{gap:14px}
  #content .home-heading{flex-direction:column;gap:10px}
  #content .home-heading h1{font-size:20px}
  #content .home-actions{max-width:none;justify-content:flex-start;gap:7px}
  #content .home-group-heading{flex-wrap:wrap;gap:6px}
  #content .home-group-heading h2{font-size:13px}
  #content .home-financial-more{grid-template-columns:repeat(2,minmax(0,1fr))}
  #content .home-financial-more>.home-metric:last-child:nth-child(odd){grid-column:1/-1}
  #content .home-metric{padding:11px;gap:8px;min-height:104px}
  #content .home-metric .icd{width:28px;height:28px;flex-basis:28px}
  #content .home-metric .icd svg{width:16px;height:16px}
  #content .home-metric strong{font-size:18px}
  #content .home-metric-label{font-size:11px}
  #content .home-metric small{font-size:10px}
  #content .home-overview .dash-board,#content .home-support,#content .home-extras{grid-template-columns:minmax(0,1fr)!important}
  #content .home-stock-table :is(th, td){padding:7px}
  #content .home-stock-table{font-size:10.5px}
  #content .home-stock-status{font-size:9.5px}
  #content .home-support>.home-attention{grid-column:auto!important}
}
#content .home-overview>*{order:0!important;grid-area:auto!important}
#content .home-overview :is(.dash-board, .home-support, .home-extras)>.card{order:0!important}
#content .home-overview .dash-board{align-items:stretch!important;gap:10px!important}
#app .topbar .universal-search-trigger{cursor:pointer;display:flex;align-items:center;gap:8px;color:var(--muted);font-family:var(--font);text-align:left}
#app .universal-search-trigger>span{flex:1;white-space:nowrap;font-size:12px}
#app .universal-search-trigger kbd{font-family:inherit;font-size:10px;padding:2px 4px;border:1px solid var(--hair);border-radius:4px;color:var(--muted)}
#app .universal-search-trigger:focus-visible{outline:2px solid var(--accent-ink);outline-offset:2px}
#modal[data-variant=universal-search]{width:min(760px,calc(100vw / 1.1 - 24px))!important;max-height:calc(100dvh / 1.1 - 28px)!important;left:50%!important;top:50%!important;right:auto!important;bottom:auto!important;margin:0!important;border-radius:14px!important}
#modal[data-variant=universal-search].on{transform:translate(-50%,-50%)!important}
#modal[data-variant=universal-search] #modalH,#modal[data-variant=universal-search] #modalB{padding:16px!important}
#modal[data-variant=universal-search] #modalTitle{font-size:18px!important}
#modal[data-variant=universal-search] .modal-heading{display:flex;align-items:center;gap:10px}
#modal[data-variant=universal-search] .modal-heading-icon{color:var(--accent-ink)}
#modal[data-variant=universal-search] .modal-heading-icon svg{width:24px;height:24px}
#modal[data-variant=universal-search] #modalH .mini{font-size:12px!important;line-height:1.4;margin-top:4px}
#modal[data-variant=universal-search] #modalF{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 16px!important;font-size:12px;color:var(--muted)}
.global-search-controls{display:grid;grid-template-columns:minmax(0,1fr) 190px;gap:10px;margin-bottom:12px}
.global-query{display:flex;align-items:center;gap:9px;border:1px solid var(--hair);background:var(--field);border-radius:9px;padding:0 9px;min-width:0}
.global-query>svg{width:17px;height:17px;flex:none;color:var(--muted)}
.global-query:focus-within{border-color:var(--accent-ink);box-shadow:0 0 0 2px var(--ui-tint)}
#modal[data-variant=universal-search] .global-query input{width:100%;min-width:0;padding:0!important}
.global-query .icon-btn{width:26px;height:26px;min-width:26px;min-height:26px;flex:none;border:0}
.global-search-controls select{min-width:0;padding:0 10px}
#globalSearchResults{max-height:440px;min-height:200px;overflow:auto;scrollbar-width:thin}
.global-search-state{min-height:200px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:24px;text-align:center;font-size:12px;line-height:1.5;color:var(--muted)}
.global-search-state>svg{width:28px;height:28px;color:var(--accent-ink)}
.global-search-state b{font-size:15px;color:var(--ink)}
.global-search-state .spinner{width:22px;height:22px}
.global-search-result{display:flex;width:100%;gap:12px;align-items:center;text-align:left;padding:12px;border:0;border-bottom:1px solid var(--hair);background:transparent;color:var(--ink);font-family:var(--font);cursor:pointer;border-radius:7px}
.global-search-result:hover,.global-search-result:focus-visible{background:var(--ui-tint)}
.global-search-result:focus-visible{outline:2px solid var(--accent-ink);outline-offset:-2px}
.global-result-icon{display:grid;place-items:center;width:34px;height:34px;flex:none;background:var(--ui-tint);color:var(--accent-ink);border-radius:9px}
.global-result-icon svg{width:18px;height:18px}
.global-result-copy{min-width:0;flex:1;display:grid;gap:3px}
.global-result-copy small{font-size:10px;color:var(--accent-ink)}
.global-result-copy b{font-size:13px;line-height:1.4;overflow-wrap:anywhere}
.global-result-copy>span{font-size:12px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.global-search-result>svg{width:15px;height:15px;flex:none;color:var(--muted)}
.global-search-pager{display:flex;gap:8px}
.global-record-title{display:flex;align-items:center;gap:12px;margin-bottom:16px}
.global-record-title small{font-size:12px;color:var(--muted)}
.global-record-title h3{margin:4px 0 0;font-size:17px;overflow-wrap:anywhere}
.global-record-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px;margin:0}
.global-record-fields>div{padding:12px 0;border-top:1px solid var(--hair)}
.global-record-fields dt{font-size:12px;color:var(--muted);margin-bottom:4px}
.global-record-fields dd{margin:0;font-size:13px;line-height:1.5;color:var(--ink);overflow-wrap:anywhere;white-space:pre-wrap}
@media(max-width:900px){
  #app .topbar .universal-search-trigger{display:flex!important;flex:0 0 36px!important;width:36px!important;min-width:36px!important;padding:0!important;justify-content:center}
  #app .universal-search-trigger>span,#app .universal-search-trigger kbd{display:none}
}
@media(max-width:600px){
  .global-search-controls{grid-template-columns:1fr}
  .global-record-fields{grid-template-columns:1fr}
  #modal[data-variant=universal-search] #modalH,#modal[data-variant=universal-search] #modalB{padding:12px!important}
  #modal[data-variant=universal-search] #modalF{padding:10px 12px!important;flex-wrap:wrap}
  .global-search-pager{margin-left:auto}
  #globalSearchResults{max-height:45dvh}
  .global-search-result{padding:10px 4px}
}
#app .topbar .universal-search-trigger>svg{fill:none;stroke:currentColor;stroke-width:2;width:16px;height:16px;flex:none}
#modal[data-variant=universal-search] #globalQuery:focus,#modal[data-variant=universal-search] #globalQuery:focus-visible{outline:none!important;box-shadow:none!important;border:0!important}
#globalQuery::-webkit-search-cancel-button{display:none}
#app{--sidebar-duration:280ms;--sidebar-ease:cubic-bezier(.22,1,.36,1)}
#app #sideNav .nav-collapse{display:grid;place-items:center;position:absolute;top:16px;right:8px;left:auto;width:28px;height:28px;padding:0;border:1px solid var(--hair);border-radius:8px;background:var(--field);color:var(--muted);cursor:pointer;transform:none;z-index:3;transition:top var(--sidebar-duration) var(--sidebar-ease),right var(--sidebar-duration) var(--sidebar-ease),background .18s ease,color .18s ease,scale .18s ease!important}
#app #sideNav .nav-collapse:hover{color:var(--accent-ink);background:var(--ui-tint)}
#app #sideNav .nav-collapse:focus-visible{outline:2px solid var(--accent-ink);outline-offset:3px}
#app #sideNav .nav-collapse svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;transform:none}
#app #sideNav .nav-toggle-arrow{transform-box:view-box;transform-origin:14.5px 12px;transition:transform var(--sidebar-duration) var(--sidebar-ease)}
@media(min-width:901px){
  #app{grid-template-columns:var(--erp-nav) minmax(0,1fr);transition:grid-template-columns var(--sidebar-duration) var(--sidebar-ease)}
  #app #sideNav .brand{height:66px;min-height:66px;align-items:flex-start;justify-content:flex-start;padding:4px 6px 0!important;overflow:hidden}
  #app #sideNav .brand img{width:30px!important;height:30px!important;flex:0 0 30px}
  #app #sideNav .brand .brand-text{display:flex!important;flex:0 0 auto;align-self:flex-start;padding-top:9px;opacity:1;transition:opacity .16s ease;pointer-events:none}
  #app #sideNav #navList{overflow-x:hidden;scrollbar-gutter:stable;padding-right:0}
  #app #sideNav .nav-section{border:0;padding-bottom:0;margin-bottom:16px!important}
  #app #sideNav .nav-section-label{display:block!important;height:24px;min-height:24px;box-sizing:border-box;white-space:nowrap;overflow:hidden;transition:opacity .16s ease}
  #app #sideNav nav a{justify-content:flex-start;padding:8px 9px!important;gap:10px}
  #app #sideNav nav a svg{flex:0 0 18px;min-width:18px;max-width:none}
  #app #sideNav nav a span:not(.ui-feedback){position:static;width:auto;height:auto;clip-path:none;flex:0 0 auto;white-space:nowrap;opacity:1;transition:opacity .16s ease}
  #app #sideNav #sideUser,#app.nav-compact #sideNav #sideUser{justify-content:flex-start;padding:6px!important;gap:8px;overflow:hidden}
  #app #sideNav #sideUser>div:not(.avatar){display:block!important;flex:0 0 auto;opacity:1;transition:opacity .16s ease}
  #app.nav-compact #sideNav .brand .brand-text,#app.nav-compact #sideNav .nav-section-label,#app.nav-compact #sideNav nav a span:not(.ui-feedback),#app.nav-compact #sideNav #sideUser>div:not(.avatar){opacity:0;pointer-events:none}
  #app.nav-compact #sideNav .nav-collapse{top:51px;right:18px}
  #app.nav-compact #sideNav .nav-toggle-arrow{transform:rotate(180deg)}
  #sideVeil{display:none!important}
}
@media(max-width:900px){
  #app>#sideNav.side{transition:transform var(--sidebar-duration) var(--sidebar-ease)!important;will-change:transform}
  #app #sideNav .brand{padding-right:36px!important}
  #app #sideNav .nav-collapse{top:17px;right:14px}
  #sideVeil{backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);transition:opacity var(--sidebar-duration) ease,visibility 0s linear var(--sidebar-duration)}
  #sideVeil.on{transition:opacity var(--sidebar-duration) ease;touch-action:none}
}
@media(prefers-reduced-motion:reduce){
  #app,#app>#sideNav.side,#app #sideNav .nav-collapse,#app #sideNav .nav-toggle-arrow,#app #sideNav .brand .brand-text,#app #sideNav .nav-section-label,#app #sideNav nav a span,#app #sideNav #sideUser>div:not(.avatar),#sideVeil{transition:none!important}
}
@media print{
  #app #sideNav .nav-collapse{display:none!important}
}
#content .home-overview{--home-text:13px;--home-small:12px;display:flex;flex-direction:column;gap:10px;font-size:var(--home-text)}
#content .home-heading h1{font-size:20px}
#content .home-heading p{font-size:13px;line-height:1.5}
#content .home-period{font-size:12px;padding:7px 10px}
#content .home-group{display:grid;gap:8px;padding:10px;border:1px solid var(--hair);border-radius:12px;background:var(--field);min-width:0}
#content .home-group-heading{padding:0 0 8px;border-bottom:1px solid var(--hair);align-items:center;gap:10px}
#content .home-group-heading .home-group-title{display:flex;align-items:center;gap:8px;min-width:0}
#content .home-group-heading .home-group-title>div{min-width:0}
#content .home-group-heading h2{font-size:16px;line-height:1.35;font-weight:700}
#content .home-group-heading p{font-size:12px;line-height:1.4;color:var(--muted);margin:2px 0 0}
#content .home-section-icon{display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;background:var(--solid);border:1px solid var(--hair);border-radius:10px;color:var(--accent-ink)}
#content .home-section-icon svg{width:18px;height:18px}
#content .home-metrics{gap:8px}
#content .home-financial{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
#content .home-financial .home-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
#content .home-finance-subgroup{min-width:0}
#content .home-finance-subgroup h3{font-size:13px;font-weight:600;line-height:1.4;margin:0 0 5px;color:var(--ink)}
#content .home-monthly{padding-top:8px;border-top:1px solid var(--hair)}
#content .home-metric{padding:10px;gap:9px;min-height:88px;box-shadow:none;align-items:flex-start}
#content .home-metric .icd{width:32px;height:32px;flex-basis:32px;border-radius:10px}
#content .home-metric .icd svg{width:18px;height:18px}
#content .home-metric-copy{gap:2px}
#content .home-metric-label{font-size:13px;font-weight:600;line-height:1.4}
#content .home-metric strong{font-size:22px;line-height:1.25;font-weight:700;letter-spacing:-.025em}
#content .home-value-unit{display:inline-block;font-size:12px;font-weight:500;color:var(--muted);letter-spacing:0;margin-left:5px}
#content .home-metric small{font-size:12px;line-height:1.5;padding-right:8px}
#content .home-metric-arrow{right:12px;bottom:13px}
#content .home-metric-arrow svg{width:14px;height:14px}
#content .home-overview :is(.dash-board, .home-support, .home-extras){gap:10px!important}
#content .home-overview :is(.dash-board, .home-support, .home-extras)>.card{padding:12px!important;border-radius:12px!important;box-shadow:none}
#content .home-overview .dash-card-head{gap:12px;min-height:30px;margin-bottom:10px;align-items:flex-start}
#content .home-overview .dash-card-head h3{font-size:14px!important;line-height:1.45;gap:8px}
#content .home-overview .dash-card-head h3 svg{width:18px;height:18px}
#content .home-overview .dash-card-head>div>span{display:block;font-size:12px;color:var(--muted);line-height:1.5;margin-top:3px}
#content .home-overview .dash-empty{min-height:140px;gap:6px;padding:10px}
#content .home-overview .dash-empty b{font-size:14px}
#content .home-overview .dash-empty>span{font-size:13px;line-height:1.5}
#content .home-stock-scroll{max-height:310px}
#content .home-stock-table{font-size:14px}
#content .home-stock-table :is(th, td){padding:7px 10px;line-height:1.5}
#content .home-stock-status{font-size:12px}
#content .home-overview .dash-acc-row{grid-template-columns:30px minmax(0,1fr) auto;min-height:48px;padding:8px;gap:8px}
#content .home-overview .dash-acc-row .icd{width:30px;height:30px}
#content .home-overview .dash-acc-row .icd svg{width:17px;height:17px}
#content .home-overview .dash-acc-row b,#content .home-overview .dash-acc-row .num{font-size:13px;line-height:1.4}
#content .home-overview .dash-acc-row small{display:block;font-size:12px;line-height:1.5;color:var(--muted);margin-top:3px}
#content .home-overview .dash-activity-list,#content .home-alert-list{max-height:290px}
#content .home-overview .dash-activity-row{grid-template-columns:30px minmax(0,1fr) auto;gap:10px;min-height:48px;padding:7px 0}
#content .home-overview .dash-activity-row .icd{width:30px;height:30px}
#content .home-overview .dash-activity-row .icd svg{width:17px;height:17px}
#content .home-overview .dash-activity-row b{font-size:13px!important;line-height:1.4;white-space:normal}
#content .home-overview .dash-activity-row small,#content .home-overview .dash-activity-row time{font-size:12px!important;line-height:1.5}
#content .home-alert{padding:10px;gap:8px;min-height:60px}
#content .home-alert b{font-size:13px;line-height:1.4}
#content .home-alert small{font-size:12px;line-height:1.5}
#content .home-empty-text{font-size:13px}
#content .home-overview .plan-body b{font-size:14px}
#content .home-overview :is(.mini, .plan-time, .prg-lbl, .hbar .lb, .hbar .vl, .dt-line){font-size:12px!important}
@media(max-width:1400px){
  #content .home-financial{grid-template-columns:minmax(0,1fr);gap:10px}
  #content .home-support{grid-template-columns:repeat(2,minmax(0,1fr))}
  #content .home-support>.home-attention{grid-column:1/-1!important}
  #content .home-overview .dash-board{grid-template-columns:minmax(0,1fr)!important}
}
@media(max-width:700px){
  #content .home-overview{gap:10px}
  #content .home-group{padding:10px;gap:8px;border-radius:12px}
  #content .home-group-heading{flex-wrap:wrap;padding-bottom:8px}
  #content .home-group-heading h2{font-size:16px}
  #content .home-group-heading p{font-size:12px}
  #content .home-metric{padding:10px;min-height:88px}
  #content .home-financial-more{grid-template-columns:minmax(0,1fr)}
  #content .home-overview .dash-card-head{flex-wrap:wrap}
  #content .home-stock-table :is(th, td){padding:7px 8px}
}
@media(max-width:500px){
  #content .home-metrics,#content .home-financial .home-metrics{grid-template-columns:minmax(0,1fr)}
  #content .home-overview :is(.dash-board, .home-support, .home-extras)>.card{padding:12px!important}
  #content .home-stock-table{min-width:370px}
  #content .home-overview .dash-acc-row{grid-template-columns:30px minmax(0,1fr)}
  #content .home-overview .dash-acc-row .num{grid-column:2;text-align:left}
}
#content .home-overview .home-support{grid-template-columns:minmax(0,1fr)!important;align-items:start}
#content .home-overview .home-support>.card{grid-column:auto!important;grid-row:auto!important}
@media(min-width:1100px){
  #content .home-overview .home-support{grid-template-columns:minmax(0,1fr) minmax(0,1.1fr)!important}
  #content .home-overview .home-support:has(.dash-accounts)>.dash-accounts{grid-column:1!important;grid-row:1!important}
  #content .home-overview .home-support:has(.dash-accounts)>.home-attention{grid-column:1!important;grid-row:2!important}
  #content .home-overview .home-support:has(.dash-accounts)>.dash-activity{grid-column:2!important;grid-row:1 / 3!important;align-self:stretch;display:flex;flex-direction:column}
  #content .home-overview .home-support>.dash-activity .dash-activity-list{max-height:340px;min-height:0;overflow:auto}
}
#modal,#modal[data-variant]{left:50%!important;top:50%!important;right:auto!important;bottom:auto!important;margin:0!important;max-width:calc(100vw / 1.1 - 24px)!important;max-height:calc(100dvh / 1.1 - 24px)!important;translate:-50% -50%;transform:translateY(8px) scale(.985)!important;border-radius:16px!important;transition:opacity .2s ease,transform .2s ease,visibility 0s linear .2s!important}
#modal.on,#modal[data-variant].on{transform:none!important;transition:opacity .2s ease,transform .2s ease!important}
@media(prefers-reduced-motion:reduce){
  #modal,#modal[data-variant],#modal.on,#modal[data-variant].on{transition:none!important;transform:none!important}
}
.orders-redesign .order-row-actions{white-space:nowrap;width:1%}
@media(max-width:700px){
  .orders-redesign .orders-table .order-row-actions{display:flex!important;width:auto;align-items:center;justify-content:space-between}
  .orders-redesign .orders-status{flex-wrap:wrap}
}
.ov-fact>small:empty{display:none}
.ov-block .tbl .sub{font-size:12px;line-height:1.4;margin-top:2px}
#content>.page-shell.page-enter{animation:bzFade .16s ease-out both!important}

@media(prefers-reduced-motion:reduce){
  #content>.page-shell.page-enter{animation:none!important}
}
.btn{--btn-h:38px;position:relative;display:inline-flex;align-items:center;justify-content:center;gap:7px;height:var(--btn-h);min-height:var(--btn-h);padding:0 14px;box-sizing:border-box;border:1px solid rgba(var(--bz-rgb),.16);border-radius:9px;background:rgba(var(--bz-rgb),.1);color:var(--accent-ink);font:inherit;font-size:12.5px;font-weight:600;line-height:1;letter-spacing:normal;white-space:nowrap;text-decoration:none;vertical-align:middle;cursor:pointer;overflow:hidden;box-shadow:none;transform:none;transition:background-color .15s ease,border-color .15s ease,color .15s ease,opacity .15s ease}
.btn:hover{background:rgba(var(--bz-rgb),.16);border-color:rgba(var(--bz-rgb),.3)}
.btn.btn-p{background:var(--accent);border-color:transparent;color:#fff}
.btn.btn-p:hover{background:color-mix(in srgb,var(--accent) 86%,#000)}
.btn.btn-g{background:var(--solid);border-color:rgba(var(--bz-rgb),.35);color:var(--accent-ink)}
.btn.btn-g:hover{background:rgba(var(--bz-rgb),.08);border-color:rgba(var(--bz-rgb),.5)}
.btn.btn-d{background:color-mix(in srgb,var(--red) 10%,transparent);border-color:color-mix(in srgb,var(--red) 24%,transparent);color:var(--red)}
.btn.btn-d:hover{background:color-mix(in srgb,var(--red) 16%,transparent);border-color:color-mix(in srgb,var(--red) 40%,transparent)}
.btn.ok-g{background:color-mix(in srgb,var(--green) 12%,transparent);border-color:color-mix(in srgb,var(--green) 28%,transparent);color:var(--green)}
.btn.ok-g:hover{background:color-mix(in srgb,var(--green) 18%,transparent);border-color:color-mix(in srgb,var(--green) 45%,transparent)}
.btn.sm{--btn-h:38px}
.btn.xs{--btn-h:32px;padding:0 11px;gap:6px;font-size:12px;border-radius:8px}
.btn.lg{--btn-h:52px;padding:0 26px;gap:9px;font-size:16px;border-radius:12px}
.btn.block{display:flex;width:100%}
.btn svg{width:16px;height:16px;flex:0 0 16px;fill:none;stroke:currentColor;stroke-width:2;pointer-events:none}
.btn.xs svg{width:14px;height:14px;flex-basis:14px}
.btn:focus-visible{outline:2px solid var(--accent-ink);outline-offset:3px}
.btn:disabled,.btn[disabled],.btn[aria-disabled="true"]{opacity:.55;cursor:not-allowed;pointer-events:none}
.btn.loading,.btn.ok{color:transparent;pointer-events:none}
.btn.loading svg,.btn.ok svg{visibility:hidden}
.btn.loading::after{content:"";position:absolute;left:50%;top:50%;width:18px;height:18px;margin:-9px 0 0 -9px;border:2px solid rgba(255,255,255,.45);border-top-color:#fff;border-radius:50%;animation:bcSpin .7s linear infinite}
.btn:not(.btn-p).loading::after{border-color:rgba(var(--bz-rgb),.25);border-top-color:var(--accent)}
.btn.ok::after{content:"";position:absolute;left:50%;top:50%;width:16px;height:9px;margin:-7px 0 0 -8px;border-left:2.5px solid #fff;border-bottom:2.5px solid #fff;transform:rotate(-45deg) scale(.4);opacity:0;animation:bcOkIn .3s var(--anim-ease) forwards}
.btn:not(.btn-p).ok::after{border-color:var(--accent)}
.btn .btn:not(.btn-p) #loginScreen .login-card .btn{--btn-h:48px;border-radius:12px;font-size:14px}
@media(max-width:900px){
  .btn{--btn-h:40px}
  .btn.xs{--btn-h:34px}
}
@media(prefers-reduced-motion:reduce){
  .btn{transition:none}
}
.net-down{position:fixed;inset:0;z-index:10000;display:grid;place-items:center;padding:24px 16px;overflow:auto;background:var(--bg);animation:bzFade .2s ease-out both}
.net-box{width:min(460px,100%);text-align:center;padding:40px 32px 30px;border-radius:22px;background:var(--solid);border:1px solid var(--hair);box-shadow:0 24px 60px rgba(18,20,26,.16)}
.net-code{display:inline-flex;align-items:center;gap:7px;margin-bottom:22px;padding:5px 12px;border-radius:999px;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--red);background:color-mix(in srgb,var(--red) 12%,transparent)}
.net-code i{width:7px;height:7px;border-radius:50%;background:currentColor;animation:bzRing 1.6s ease-in-out infinite}
.net-ic{width:96px;height:96px;margin:0 auto 22px;display:grid;place-items:center;border-radius:28px;background:rgba(var(--bz-rgb),.1);color:var(--accent-ink)}
.net-ic svg{width:48px;height:48px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.net-box h1{margin:0 0 10px;font-size:28px;line-height:1.2;letter-spacing:-.02em;color:var(--ink)}
.net-lead{margin:0 auto 24px;max-width:36ch;font-size:14.5px;line-height:1.55;color:var(--muted)}
.net-box ul{margin:0 0 24px;padding:14px 18px;list-style:none;text-align:left;border-radius:14px;border:1px solid var(--hair);font-size:13.5px;line-height:1.5;color:var(--muted)}
.net-box li{display:flex;gap:9px;padding:3px 0}
.net-box li::before{content:"•";color:var(--accent-ink);font-weight:700}
.net-box .net-retry{--btn-h:46px;min-width:200px;font-size:14px;border-radius:12px}
.net-note{margin:16px 0 0;font-size:13px;color:var(--muted)}
@media(max-width:520px){
  .net-box{padding:30px 20px 24px;border-radius:18px}
  .net-box h1{font-size:24px}
  .net-ic{width:80px;height:80px;border-radius:24px}
  .net-ic svg{width:40px;height:40px}
}
@media(prefers-reduced-motion:reduce){
  .net-down,.net-code i{animation:none}
}
:root{--field-bg:#fff;--field-line:rgba(18,20,26,.14);--field-line-h:rgba(18,20,26,.28);--field-dis:rgba(18,20,26,.035);--field-ph:#8a93a3}
:root:not([data-theme="light"]){--field-bg:rgba(255,255,255,.04);--field-line:rgba(255,255,255,.13);--field-line-h:rgba(255,255,255,.26);--field-dis:rgba(255,255,255,.02);--field-ph:#8b8b8b}
:where(input:not([type=checkbox],[type=radio],[type=range],[type=file],[type=color],[type=hidden],[type=submit],[type=button],[type=image]),select,textarea){padding:8px 12px;height:40px;min-height:40px;box-sizing:border-box;font-family:inherit;font-size:13.5px;font-weight:500;line-height:1.3;letter-spacing:normal;color:var(--ink);caret-color:var(--accent);background-color:var(--field-bg);border:1px solid var(--field-line);border-radius:10px;box-shadow:none;outline:none;transition:border-color .15s ease,box-shadow .15s ease,background-color .15s ease}
:where(input:not([type=checkbox],[type=radio],[type=range],[type=file],[type=color],[type=hidden],[type=submit],[type=button],[type=image]),select,textarea):hover{border-color:var(--field-line-h)}
:where(input:not([type=checkbox],[type=radio],[type=range],[type=file],[type=color],[type=hidden],[type=submit],[type=button],[type=image]),select,textarea):focus{border-color:var(--accent);box-shadow:0 0 0 3px rgba(var(--bz-rgb),.16);outline:none}
:where(input,select,textarea):disabled,:where(input,textarea)[readonly]{background-color:var(--field-dis);color:var(--muted);cursor:not-allowed}
:where(input,textarea)::placeholder{color:var(--field-ph);opacity:1;font-weight:400}
:where(select:not([multiple]):not([size])){appearance:none;-webkit-appearance:none;padding-right:34px;cursor:pointer;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a93a3' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 11px center;background-size:15px}
:where(select)[multiple],:where(select)[size]{height:auto}
:where(textarea){height:auto;min-height:84px;padding:10px 12px;line-height:1.5;resize:vertical}
:where(table) :where(input:not([type=checkbox],[type=radio]),select){height:36px;min-height:36px;font-size:13px;border-radius:9px}
.fld.err :where(input,select,textarea){border-color:var(--red);background-color:color-mix(in srgb,var(--red) 6%,var(--field-bg))}
.fld.err :where(input,select,textarea):focus{box-shadow:0 0 0 3px color-mix(in srgb,var(--red) 18%,transparent)}
:root:not([data-theme="light"]) :where(input,select){color-scheme:dark}
@media(max-width:900px){
  :where(input:not([type=checkbox],[type=radio],[type=range],[type=file],[type=color],[type=hidden],[type=submit],[type=button],[type=image]),select){height:44px;min-height:44px;font-size:15px}
  :where(textarea){font-size:15px}
  :where(table) :where(input:not([type=checkbox],[type=radio]),select){height:40px;min-height:40px}
}
@media(prefers-reduced-motion:reduce){
  :where(input,select,textarea){transition:none}
}

                                                               
                                   
                                                                                  
                                                                                                
                                                                                                   
                                                                  
:root{--tbl-head:#f5f6f8;--tbl-line:rgba(18,20,26,.07);--tbl-hover:rgba(var(--bz-rgb),.04)}
:root:not([data-theme="light"]){--tbl-head:rgba(255,255,255,.035);--tbl-line:rgba(255,255,255,.07);--tbl-hover:rgba(255,255,255,.035)}
:where(.tbl,.alerts-table,.debt-table,.home-stock-table) :where(th){height:40px;padding:0 14px;font-size:11.5px;font-weight:600;line-height:1.3;letter-spacing:.045em;text-transform:uppercase;color:var(--muted);background-color:var(--tbl-head);border-bottom:1px solid var(--tbl-line)}
:where(.tbl,.alerts-table,.debt-table,.home-stock-table) :where(td){padding:12px 14px;font-size:13px;font-weight:400;line-height:1.4;letter-spacing:normal;color:var(--ink);border-bottom:1px solid var(--tbl-line)}
:where(.tbl,.alerts-table,.debt-table,.home-stock-table) :where(th,td):first-child{padding-left:18px}
:where(.tbl,.alerts-table,.debt-table,.home-stock-table) :where(th,td):last-child{padding-right:18px}
:where(.tbl,.alerts-table,.debt-table,.home-stock-table) :where(tbody tr:last-child td){border-bottom:0}
:where(.tbl,.alerts-table,.debt-table,.home-stock-table) :where(tbody tr){transition:background-color .12s ease}
:where(.tbl,.alerts-table,.debt-table,.home-stock-table) :where(tbody tr:hover){background-color:var(--tbl-hover)}
:where(.tbl,.alerts-table,.debt-table,.home-stock-table) :where(tr.tap){cursor:pointer}
:where(.tbl,.alerts-table,.debt-table,.home-stock-table) :where(td.num,th.num){font-variant-numeric:tabular-nums}
                                                                    
:where(.tbl,.alerts-table,.debt-table,.home-stock-table) th.num{letter-spacing:.045em}
                                                                                                      
.orders-table td:last-child>svg{width:18px;height:18px;flex:0 0 18px;color:var(--muted)}
@media(prefers-reduced-motion:reduce){:where(.tbl,.alerts-table,.debt-table,.home-stock-table) :where(tbody tr){transition:none}}
                                                                
.lk-msg{margin:0 0 14px;font-size:14px;line-height:1.55;color:var(--ink)}
.lk-list{display:grid;gap:8px}
.lk-item{display:flex;align-items:center;gap:12px;width:100%;padding:11px 14px;text-align:left;border:1px solid var(--field-line);border-radius:12px;background:var(--field-bg);color:var(--ink);font:inherit;cursor:pointer;transition:border-color .15s ease,background-color .15s ease}
.lk-item:hover{border-color:rgba(var(--bz-rgb),.45);background:rgba(var(--bz-rgb),.05)}
.lk-ic{width:34px;height:34px;flex:none;display:grid;place-items:center;border-radius:10px;background:rgba(var(--bz-rgb),.1);color:var(--accent-ink)}
.lk-ic svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2}
.lk-txt{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1}
.lk-txt b{font-size:14px;font-weight:700}
.lk-txt small{font-size:12.5px;color:var(--muted)}
.lk-go{display:inline-flex;align-items:center;gap:5px;font-size:12.5px;font-weight:600;color:var(--accent-ink);white-space:nowrap}
.lk-go svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2}
.lk-hint{display:flex;gap:9px;align-items:flex-start;margin:14px 0 0;padding:11px 13px;border-radius:12px;font-size:13px;line-height:1.5;color:var(--ink);background:color-mix(in srgb,var(--amber,#d4931f) 12%,transparent)}
.lk-hint svg{width:17px;height:17px;flex:none;margin-top:1px;fill:none;stroke:color-mix(in srgb,var(--amber,#d4931f) 85%,#000);stroke-width:2}
                                                                                             
.trash-banner{display:flex;align-items:center;gap:14px;margin:0 0 14px;padding:14px 16px;border-radius:14px;border:1px solid color-mix(in srgb,var(--red) 22%,transparent);background:color-mix(in srgb,var(--red) 6%,var(--solid))}
.trash-banner-ic{width:40px;height:40px;flex:none;display:grid;place-items:center;border-radius:12px;background:color-mix(in srgb,var(--red) 12%,transparent);color:var(--red)}
.trash-banner-ic svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2}
.trash-banner>div{display:flex;flex-direction:column;gap:3px;flex:1;min-width:0}
.trash-banner b{font-size:15px;color:var(--ink)}
.trash-banner span{font-size:13px;line-height:1.5;color:var(--muted)}
.trash-banner>.btn{flex:none}
.trash-acts{display:inline-flex;gap:6px;flex-wrap:nowrap}
.orders-table tr.is-trashed td{color:var(--muted)}
.orders-table tr.is-trashed .order-number{color:var(--muted);text-decoration:line-through;text-decoration-color:color-mix(in srgb,var(--muted) 60%,transparent)}
.purge-list{display:grid;gap:8px}
.purge-row{display:flex;align-items:center;gap:12px;padding:10px 13px;border:1px solid var(--field-line);border-radius:12px;background:var(--field-bg)}
.purge-ic{width:32px;height:32px;flex:none;display:grid;place-items:center;border-radius:10px;background:color-mix(in srgb,var(--red) 10%,transparent);color:var(--red)}
.purge-ic.is-off{background:color-mix(in srgb,var(--amber,#d4931f) 14%,transparent);color:color-mix(in srgb,var(--amber,#d4931f) 85%,#000)}
.purge-ic svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2}
.purge-row>span:last-child{display:flex;flex-direction:column;gap:2px;min-width:0}
.purge-row b{font-size:14px}.purge-row small{font-size:12.5px;line-height:1.45;color:var(--muted)}
.lk-hint.purge-ok{background:color-mix(in srgb,var(--green) 10%,transparent)}
.lk-hint.purge-ok svg{stroke:var(--green)}
@media(max-width:700px){.trash-banner{flex-wrap:wrap}.trash-banner>.btn{width:100%}.trash-acts{width:100%}.trash-acts .btn{flex:1}}
.trash-table td[data-label="Amallar"]{width:1%;white-space:nowrap}
.trash-table .orders-product-chip+.sub{display:block;margin-top:4px}
.orders-redesign .orders-table.trash-table{min-width:760px}
                           
.trash-page{display:flex;flex-direction:column;gap:14px}
.trash-page .trash-banner{margin:0}
.trash-tools{display:flex;align-items:center;gap:12px}
.trash-tools .search{flex:1;min-width:0;max-width:none}
.trash-tools>span{font-size:13px;color:var(--muted);white-space:nowrap}
.trash-card{border-radius:14px;overflow:hidden}
.trash-table{min-width:0}
@media(max-width:700px){.trash-tools{flex-wrap:wrap}}
.trash-card{container-type:inline-size}
                                                                                 
@container (max-width:600px){
  .trash-table{min-width:0}
  .trash-table thead{display:none}
  .trash-table,.trash-table tbody{display:block;width:100%}
  .trash-table tr.is-trashed{display:grid;grid-template-columns:1fr 1fr;gap:12px 14px;padding:14px 16px;border-bottom:1px solid var(--tbl-line)}
  .trash-table tr.is-trashed td{display:block;padding:0!important;border:0!important;text-align:left!important;height:auto!important;min-height:0}
  .trash-table tr.is-trashed td::before{content:attr(data-label);display:block;margin-bottom:3px;font-size:10.5px;font-weight:600;letter-spacing:.05em;text-transform:uppercase;color:var(--muted)}
  .trash-table tr.is-trashed td[data-label="Amallar"]{grid-column:1/-1;width:auto}
  .trash-table tr.is-trashed td[data-label="Amallar"]::before{display:none}
  .trash-table .trash-acts{display:flex;width:100%}.trash-table .trash-acts .btn{flex:1}
}
.trash-table .order-number{white-space:nowrap}
.trash-table thead th{white-space:normal}
.trash-card .tbl-wrap{overflow-x:hidden}
@container (min-width:601px) and (max-width:760px){.trash-table .trash-acts{flex-direction:column;align-items:stretch}.trash-table .trash-acts .btn{justify-content:center}}
                                        
.trash-root{container-type:inline-size}
.trash-switch{display:grid;grid-template-columns:repeat(var(--n,6),minmax(0,1fr));gap:8px;margin-bottom:14px}
.trash-switch[data-wide]{grid-template-columns:repeat(4,minmax(0,1fr))}
@container (max-width:780px){.trash-switch:not([data-wide]){grid-template-columns:repeat(3,minmax(0,1fr))}}
@container (max-width:520px){.trash-switch,.trash-switch[data-wide]{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.trash-switch button:last-child:nth-child(odd){grid-column:1/-1}}
.trash-switch button{justify-content:center;min-width:0;padding:0 10px!important;gap:6px!important}
.trash-switch button svg{display:none}
.trash-switch button{display:inline-flex;align-items:center;gap:8px;height:40px;padding:0 14px;border:1px solid var(--field-line);border-radius:11px;background:var(--field-bg);color:var(--ink-2,var(--ink));font:inherit;font-size:13.5px;font-weight:600;cursor:pointer;transition:border-color .15s ease,background-color .15s ease,color .15s ease}
.trash-switch button svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2}
.trash-switch button b{min-width:22px;height:22px;padding:0 7px;display:inline-grid;place-items:center;border-radius:11px;font-size:12px;background:rgba(var(--bz-rgb),.1);color:var(--accent-ink)}
.trash-switch button:hover{border-color:rgba(var(--bz-rgb),.4)}
.trash-switch button.on{border-color:rgba(var(--bz-rgb),.45);background:rgba(var(--bz-rgb),.08);color:var(--accent-ink)}
.trash-switch button.on b{background:var(--accent);color:#fff}
@media (max-width:560px){.trash-switch button{justify-content:center;gap:5px;padding:0 6px;font-size:12.5px;min-width:0}.trash-switch button svg{display:none}.trash-switch button b{min-width:20px;height:20px;padding:0 5px;font-size:11px}}

                                                                                                 
.is-resizing,.is-resizing *,.is-resizing *::before,.is-resizing *::after{transition:none!important}

                                                                                
.dir{display:grid;gap:14px}
.dir-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px}
.dir-kpi{display:flex;align-items:center;gap:12px;min-width:0;padding:14px 16px;border:1px solid var(--hair);border-radius:16px;background:var(--solid);color:inherit;font:inherit;text-align:left;cursor:pointer;transition:border-color .15s ease,box-shadow .15s ease,background-color .15s ease}
.dir-kpi:hover{border-color:rgba(var(--bz-rgb),.35)}
.dir-kpi:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.dir-kpi.on{border-color:rgba(var(--bz-rgb),.6);background:rgba(var(--bz-rgb),.05);box-shadow:0 0 0 3px rgba(var(--bz-rgb),.10)}
.dir-kpi .icd{display:grid;place-items:center;flex:none;width:42px;height:42px;border-radius:12px}
.dir-kpi .icd svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.9}
.dir-kpi-t{display:grid;min-width:0;line-height:1.25}
.dir-kpi-t>span{overflow:hidden;font-size:12.5px;font-weight:500;color:var(--muted);white-space:nowrap;text-overflow:ellipsis}
.dir-kpi-t strong{font-size:22px;font-weight:700;line-height:1.2;color:var(--ink);font-variant-numeric:tabular-nums}
.dir-kpi-t small{overflow:hidden;font-size:11.5px;color:var(--muted);white-space:nowrap;text-overflow:ellipsis}
.dir-card{padding:0!important;overflow:hidden;container-type:inline-size}
.dir-bar{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:14px 16px;border-bottom:1px solid var(--tbl-line)}
.dir-search{flex:1 1 300px;min-width:220px;max-width:480px;margin:0!important}
.dir-bar>select{flex:0 1 210px;width:auto;min-width:160px}
.dir-grow{flex:1 1 0}
.dir-bar .btn{flex:none}
.dir-table{width:100%}
.dir-table td{vertical-align:middle}
.dir-table td .sub{display:block;margin-top:2px}
.dir-table th.dir-act,.dir-table td.dir-act{width:1%;text-align:right;white-space:nowrap}
.dir-who{display:flex;align-items:center;gap:11px;min-width:0}
.dir-who>div{min-width:0}
.dir-who b{display:block;max-width:300px;overflow:hidden;font-weight:600;color:var(--ink);white-space:nowrap;text-overflow:ellipsis}
.dir .avatar{display:grid;place-items:center;flex:none;width:36px;height:36px;border-radius:50%;background:rgba(var(--bz-rgb),.12);color:var(--accent-ink);font-size:12.5px;font-weight:700;letter-spacing:.02em}
.dir-doc{display:grid;place-items:center;flex:none;width:36px;height:36px;border-radius:10px}
.dir-doc svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8}
.dir-phone{display:inline-flex;align-items:center;gap:6px;color:var(--ink);text-decoration:none;white-space:nowrap}
.dir-phone:hover{color:var(--accent-ink)}
.dir-phone svg{width:15px;height:15px;flex:none;fill:none;stroke:var(--muted);stroke-width:1.8}
.dir-tagline{display:block;margin-top:4px}
.dir-tag{display:inline-flex;align-items:center;height:22px;padding:0 8px;border-radius:999px;background:rgba(var(--bz-rgb),.08);color:var(--muted);font-size:11.5px;font-weight:600;white-space:nowrap}
.dir-tag.is-green{background:var(--green-bg);color:var(--green)}
.dir-tag.is-amber{background:var(--amber-bg);color:var(--amber)}
.dir-tag.is-red{background:var(--red-bg);color:var(--red)}
.dir-foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;border-top:1px solid var(--tbl-line);font-size:13px;color:var(--muted)}
.dir-foot nav{display:flex;align-items:center;gap:4px}
.dir-foot nav span{padding:0 4px}
.dir-foot nav button{min-width:32px;height:32px;padding:0 8px;border:1px solid var(--hair);border-radius:9px;background:var(--solid);color:var(--ink);font:inherit;font-size:13px;font-weight:600;cursor:pointer}
.dir-foot nav button:hover:not(:disabled){border-color:rgba(var(--bz-rgb),.4)}
.dir-foot nav button[aria-current]{border-color:var(--accent);background:var(--accent);color:#fff}
.dir-foot nav button:disabled{opacity:.4;cursor:default}
.dir-empty{display:grid;justify-items:center;gap:6px;padding:52px 20px 56px;text-align:center}
.dir-empty .icd{display:grid;place-items:center;width:56px;height:56px;margin-bottom:6px;border-radius:16px}
.dir-empty .icd svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.7}
.dir-empty b{font-size:15.5px;font-weight:650;color:var(--ink)}
.dir-empty>span:not(.icd){max-width:400px;font-size:13.5px;line-height:1.5;color:var(--muted)}
.dir-empty .btn{margin-top:12px}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
@container (max-width:780px){
  .dir-table thead{display:none}
  .dir-table,.dir-table tbody{display:block;width:100%}
  .dir-table tr{position:relative;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px;padding:14px 16px;border-bottom:1px solid var(--tbl-line)}
  .dir-table tr:last-child{border-bottom:0}
  .dir-table td{display:block;min-width:0;height:auto!important;min-height:0;padding:0!important;border:0!important;text-align:left!important;overflow-wrap:anywhere}
  .dir-table td.dir-main{grid-column:1/-1;padding-right:44px!important}
  .dir-table td.dir-act{position:absolute;top:12px;right:10px;width:auto}
  .dir-table td:not(.dir-main):not(.dir-act)::before{content:attr(data-label);display:block;margin-bottom:3px;font-size:10.5px;font-weight:600;letter-spacing:.05em;text-transform:uppercase;color:var(--muted)}
  .dir-who b{max-width:none}
}
@container (max-width:520px){
  .dir-search{flex-basis:100%;max-width:none}
  .dir-bar>select{flex:1 1 calc(50% - 5px);width:calc(50% - 5px);min-width:0}
  .dir-grow{display:none}
  .dir-bar>.btn-p{flex:1 1 100%;justify-content:center}
  .dir-foot{justify-content:center}
}
@media (max-width:560px){.dir-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.dir-kpi:last-child:nth-child(odd){grid-column:1/-1}.dir-kpi{padding:12px;gap:10px}.dir-kpi .icd{width:36px;height:36px}.dir-kpi-t strong{font-size:19px}.dir-kpi-t small{display:none}}

                                              
                                                                                                            
.hero-card,.page-shell .hero-card{background:linear-gradient(135deg,var(--accent) 0%,color-mix(in srgb,var(--accent) 62%,#0b1230) 100%);border-color:transparent;color:#fff;box-shadow:0 10px 30px rgba(var(--bz-rgb),.22)}
.hero-card .val{font-size:30px;line-height:1.15}
.hero-card .actions{display:flex;flex-wrap:wrap;gap:8px}
.hero-card .btn{background:rgba(255,255,255,.16)!important;border:1px solid rgba(255,255,255,.3)!important;color:#fff!important;box-shadow:none!important}
.hero-card .btn:hover{background:rgba(255,255,255,.26)!important}
.hero-card .btn svg{stroke:currentColor}

                                                                                                               
.btn{flex-shrink:0}
@media (max-width:700px){:where(div,header,section,footer):has(> .btn){flex-wrap:wrap}}

                                                                                                                                        
.tabs button:active,.page-shell .tabs button:active,.pop button:active,.pop a:active{transform:none!important}
.card.tap:active,.panel.tap:active,.item:active{transform:scale(.99)}

                                                                        
.section-toolbar.is-bare{min-height:0!important;margin:0 0 10px!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important;justify-content:flex-end}
.section-toolbar.is-bare:not(:has(.btn,button)){display:none!important}

                                                                                                                                            
.orders-redesign .orders-table,.cash-redesign .tbl,.purchases-workspace .tbl{min-width:0}
.orders-redesign .orders-table :is(th,td):last-child{width:1%;white-space:nowrap}

                                                                                                                                                 
@media (min-width:1024px){
  #content .tbl{min-width:0!important;table-layout:auto!important}
  #content .tbl :is(th,td){white-space:normal!important}
  #content .tbl :is(th,td){padding-left:12px;padding-right:12px}
  #content .tbl :is(td.num,th.num,.badge,.btn,.icon-btn,.order-number){white-space:nowrap!important}
  #content .tbl td :is(.actions,.row-actions,[class*=-actions]){flex-wrap:wrap!important}
}
.orders-table .orders-qty{display:block;margin-top:4px;font-weight:600;color:var(--ink)}

                                                                                                                           
:is(.num,.val,strong.num,b.num,.dir-kpi-t strong,.cash-metric strong,.home-metric strong,.customer-stat strong){overflow-wrap:normal!important;word-break:normal!important}
.cash-metric strong{white-space:nowrap;font-size:clamp(15px,1.3vw,20px)!important;letter-spacing:-.01em}
.cash-metric>div{min-width:0}

                                                                                           
#content .tbl :is(th,td),#content .tbl :is(th,td) *{overflow-wrap:break-word!important;word-break:normal!important}
:is(.debt-metric,.cash-metric,.dir-kpi,.home-metric) strong{white-space:nowrap}
.debt-metric strong{font-size:clamp(15px,1.3vw,20px)!important}
.debt-metric>div{min-width:0}

                                                                                
#content .tbl :is([class*=number],[class*=document],[class*=-doc],.plate){white-space:nowrap!important}

                                                                                                                     
:is(article,[class*=metric],[class*=-stat],[class*=kpi],.stat) :is(strong,.val){overflow-wrap:normal!important;word-break:normal!important}

@media (min-width:1024px) and (max-width:1279px){#content .tbl :is(th,td){padding-left:9px;padding-right:9px}}

                                                                                                               
@media (max-width:1023px){#content .tbl td > b:first-child,#content .tbl .doc-number{white-space:nowrap}}

                                                                                                             
#app .topbar .top-fixed{display:flex;align-items:center;gap:12px;flex:none}
#app .topbar .top-fixed .dash-bell[hidden]{display:none!important}
#app .topbar #topActions .btn{height:34px}
@media(max-width:900px){#app .topbar #topActions .btn{width:36px;min-width:36px;padding:0!important;gap:0;font-size:0;justify-content:center}#app .topbar #topActions .btn svg{width:18px;height:18px;margin:0}}
@media (min-width:901px){#app .topbar .top-date{display:flex!important}}

                                                                     

                                                                                                                                
.transport-reference #tBody:not([data-transport-tab=doska]){padding:0!important;background:none!important;border:0!important;box-shadow:none!important}

                                                              
.is-refreshing{opacity:.55;transition:opacity .15s ease;pointer-events:none}

                                                                                                                                                
                                                                                          
#app .topbar > :is(#topActions,#topActionsLive):empty{display:none!important}
#app .topbar > .top-title{flex:0 1 auto;min-width:0}
#app .topbar .top-title :is(h2,span){display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

                                                                                                                       
.hold-ghost{position:absolute;z-index:4;pointer-events:none;box-sizing:border-box;padding-top:14px;overflow:hidden;animation:holdIn .18s ease-out both}
.hold-skel{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:0 16px 16px}
.hold-skel i,.hold-skel b{position:relative;overflow:hidden;display:block;height:84px;border:1px solid var(--hair);border-radius:12px;background:var(--field,var(--field-bg))}
.hold-skel b{grid-column:1/-1;height:260px}
.hold-skel i::after,.hold-skel b::after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,transparent,var(--ui-tint,rgba(120,120,160,.08)),transparent);animation:ui-shimmer 1.2s ease-in-out infinite}
@keyframes holdIn{from{opacity:0}to{opacity:1}}
@media (max-width:700px){.hold-skel{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (prefers-reduced-motion:reduce){.hold-ghost{animation:none}.hold-skel i::after,.hold-skel b::after{animation:none}}

                                                                    
                                                                                                                                                                        
                                                                                   
html body #content#content :is(.home-group-title h2,header[class*=-heading] h3,.payroll-toolbar h3,.ph h3,.report-context h3,[class*=-head] h3,section>header h3,.orders-table-head b){font-size:16px!important;font-weight:700!important;letter-spacing:-.01em!important;line-height:1.3!important}
html body #content#content :is(.dash-card-head h3,.card h3,.card.flat h3,.card-title,.home-finance-subgroup h3,.production-plant-heading h3,.fleet-heading b){font-size:14px!important;font-weight:700!important;letter-spacing:-.005em!important}
html body #content#content :is(.dir-kpi-t strong,.home-metric-copy strong,[class*=-metric] strong,:is([class*=-kpis],[class*=-summary],[class*=-metrics]) article strong,.stat .val){font-size:var(--text-value)!important;font-weight:700!important;letter-spacing:-.02em!important;line-height:1.2!important}
html body #content#content :is(.dir-kpi-t>span,.home-metric-copy>span:first-child,[class*=-metric]>div>span:first-child,:is([class*=-kpis],[class*=-summary]) article>div>span:first-child,[class*=-kpis] article>span){font-size:var(--text-label)!important;font-weight:500!important}
html body #content#content .tbl th{font-size:var(--text-small)!important;font-weight:600!important}
html body #content#content .tbl td{font-size:var(--text-body)!important}
html body #content#content .tbl td :is(.sub,small,.mini){font-size:var(--text-small)!important}
html body :is(#content#content,#modal#modal#modal) .btn.sm{font-size:var(--text-label)!important;font-weight:600!important}
html body #content#content :is(.tabs button,.trash-switch button),html body #content#content .tabs button.on{font-size:var(--text-body)!important;font-weight:600!important}
html body :is(#content#content,#modal#modal#modal) :is(input:not([type=checkbox]):not([type=radio]),select,textarea){font-size:var(--text-body)!important}
html body :is(#content#content,#modal#modal#modal) .fld label:not(.chk),html body #content#content label:not(:has(input,select,textarea)){font-size:var(--text-label)!important;font-weight:600!important}
html body :is(#content#content,#modal#modal#modal) .badge{font-size:var(--text-small)!important;font-weight:600!important}
html body #content#content p{font-size:12.5px}
html body #modal#modal#modal :is(.m-h h3,.modal-heading h3){font-size:19px!important;font-weight:650!important}
@media (max-width:560px){
  html body #content#content :is(.home-group-title h2,header[class*=-heading] h3,.payroll-toolbar h3,.ph h3,.report-context h3,[class*=-head] h3,section>header h3,.orders-table-head b){font-size:15px!important}
  html body #content#content :is(.dash-card-head h3,.card h3,.card.flat h3,.card-title,.home-finance-subgroup h3,.production-plant-heading h3,.fleet-heading b){font-size:var(--text-body)!important}
  html body #modal#modal#modal :is(.m-h h3,.modal-heading h3){font-size:17px!important}
}

                                               
                                                                                                                                     
html body #content .dashboard-page{padding-top:0!important}
html body #content#content :is(.dash-board,.fleet-tables){align-items:start!important}
html body #content#content .home-support>.dash-activity{align-self:start!important}
#content .dash-plan>.dash-card-head+div{max-height:310px;overflow:auto;scrollbar-width:thin;overscroll-behavior:contain}
#content .doc-number{white-space:nowrap}
#content .tbl td.cell-amt{white-space:nowrap}
                                                                                                                       
.page-shell .tbl .empty:has(>svg,>.empty-ico,>[class*=icon])::before{display:none!important}

                                             
#modal[data-variant=guide].wide{width:min(1100px,calc(100vw - 32px))}
#modal[data-variant=guide] #modalB{padding:0;overflow:hidden;display:flex;min-height:0}
.guide{display:grid;grid-template-columns:260px minmax(0,1fr);width:100%;height:min(72dvh,720px);min-height:0}
.g-side{display:flex;flex-direction:column;min-height:0;border-right:1px solid var(--hair);background:rgba(var(--bz-rgb),.035)}
.g-search{display:flex;align-items:center;gap:8px;margin:12px;padding:0 10px;height:36px;border:1px solid var(--field-line,var(--hair));border-radius:9px;background:var(--solid);color:var(--muted)}
.g-search svg{width:16px;height:16px;flex:none}
.g-search input{flex:1;min-width:0;border:0!important;outline:0;background:transparent!important;box-shadow:none!important;height:34px;padding:0!important;color:var(--ink)}
.g-nav{flex:1;min-height:0;overflow:auto;padding:0 8px 12px;scrollbar-width:thin}
.g-group{display:flex;flex-direction:column;gap:2px;margin-bottom:10px}
.g-group>span{font-size:10.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);padding:6px 10px 4px}
.g-nav button{display:flex;align-items:center;gap:9px;width:100%;min-height:34px;padding:6px 10px;border:0;border-radius:8px;background:transparent;color:var(--ink-2,var(--ink));text-align:left;cursor:pointer;font:inherit;font-size:13px}
.g-nav button svg{width:16px;height:16px;flex:none;color:var(--muted)}
.g-nav button b{font-weight:550;min-width:0}
.g-nav button:hover{background:var(--hover)}
.g-nav button.on{background:rgba(var(--bz-rgb),.12);color:var(--accent-ink)}
.g-nav button.on svg{color:var(--accent-ink)}
.g-none{padding:14px 10px;font-size:12.5px;color:var(--muted)}
.g-body{overflow:auto;min-height:0;padding:22px 28px 18px;scrollbar-width:thin;outline:0}
.g-art{max-width:720px;color:var(--ink)}
.g-head{display:flex;align-items:center;gap:12px;margin-bottom:12px}
.g-ico{display:grid;place-items:center;width:42px;height:42px;border-radius:11px;background:rgba(var(--bz-rgb),.1);color:var(--accent-ink);flex:none}
.g-ico svg{width:21px;height:21px}
.g-head small{display:block;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.g-head h2{font-size:20px;font-weight:700;letter-spacing:-.01em;line-height:1.25;margin:2px 0 0}
.g-lead{font-size:14px!important;line-height:1.6;color:var(--ink-2,var(--ink));margin:0 0 14px}
.g-art h3{font-size:14.5px;font-weight:700;margin:18px 0 8px}
.g-steps,.g-list{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:7px}
.g-steps{counter-reset:gs}
.g-steps li{counter-increment:gs;position:relative;padding:2px 0 2px 34px;font-size:13.5px;line-height:1.55}
.g-steps li::before{content:counter(gs);position:absolute;left:0;top:1px;width:23px;height:23px;border-radius:50%;display:grid;place-items:center;background:var(--accent);color:#fff;font-size:12px;font-weight:700}
.g-list li{position:relative;padding-left:18px;font-size:13.5px;line-height:1.55}
.g-list li::before{content:"";position:absolute;left:4px;top:.62em;width:6px;height:6px;border-radius:50%;background:rgba(var(--bz-rgb),.55)}
.g-ui{display:inline;padding:1px 6px;border-radius:5px;background:rgba(var(--bz-rgb),.1);color:var(--accent-ink);font-weight:600;font-size:.94em;line-height:1.5;-webkit-box-decoration-break:clone;box-decoration-break:clone}
.g-flow{list-style:none;margin:6px 0 4px;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;counter-reset:gf}
.g-flow li{counter-increment:gf;position:relative;padding:12px 12px 12px 14px;border:1px solid var(--hair);border-radius:10px;background:var(--solid);display:flex;flex-direction:column;gap:3px}
.g-flow li::before{content:counter(gf);font-size:11px;font-weight:800;color:var(--accent-ink)}
.g-flow b{font-size:13.5px}
.g-flow span{font-size:12.5px;line-height:1.45;color:var(--muted)}
.g-tip{margin-top:18px;padding:12px 14px;border-radius:10px;background:var(--green-bg,rgba(22,163,74,.08));border:1px solid rgba(22,163,74,.18)}
.g-tip>b{display:block;font-size:12.5px;margin-bottom:5px;color:var(--green)}
.g-tip ul{margin:0;padding-left:18px;display:flex;flex-direction:column;gap:4px}
.g-tip li{font-size:13px;line-height:1.5}
.g-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-top:22px;padding-top:14px;border-top:1px solid var(--hair)}
.g-foot .btn svg{width:15px;height:15px}
.g-pager{display:flex;gap:6px;flex-wrap:wrap;margin-left:auto}
@media (max-width:760px){
  .guide{grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);height:calc(92dvh - 70px)}
  .g-side{border-right:0;border-bottom:1px solid var(--hair);min-width:0}
  .g-search{height:40px}
  .g-search input{height:38px!important;min-height:0!important;font-size:16px!important}
  .g-search{margin:10px 12px 8px}
  .g-nav{display:flex;gap:6px;overflow-x:auto;overflow-y:hidden;padding:0 12px 10px;flex:none}
  .g-group{flex-direction:row;margin:0;gap:6px}
  .g-group>span{display:none}
  .g-nav button{width:auto;white-space:nowrap;border:1px solid var(--hair);background:var(--solid);min-height:32px;padding:5px 10px}
  .g-body{padding:16px 16px 14px}
  .g-flow{grid-template-columns:repeat(2,minmax(0,1fr))}
  .g-head h2{font-size:18px}
  .g-pager{width:100%;justify-content:space-between;margin-left:0}
}
                                                                                                                                           
#modal .modal-heading{display:flex;align-items:center;gap:12px;min-width:0}
#modal .modal-heading-icon{display:grid;place-items:center;width:42px;height:42px;flex:none;border-radius:12px;color:var(--accent-ink);background:var(--ui-tint,rgba(var(--bz-rgb),.1))}
#modal .modal-heading-icon svg{width:20px;height:20px}

                                           
.tg-connect{display:flex;flex-direction:column;gap:12px}
.tg-lead{font-size:13.5px!important;line-height:1.55;margin:0;color:var(--ink-2,var(--ink))}
.tg-steps{margin:0;padding:0;list-style:none;counter-reset:ts;display:flex;flex-direction:column;gap:8px}
.tg-steps li{counter-increment:ts;position:relative;padding-left:32px;font-size:13.5px;line-height:1.5}
.tg-steps li::before{content:counter(ts);position:absolute;left:0;top:0;width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:var(--accent);color:#fff;font-size:12px;font-weight:700}
.tg-state{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:10px;border:1px solid var(--hair)}
.tg-state>svg{width:22px;height:22px;flex:none}
.tg-state div{display:flex;flex-direction:column;gap:2px;min-width:0}
.tg-state b{font-size:13.5px}
.tg-state span:not(.tg-dot){font-size:12.5px;color:var(--muted)}
.tg-state.ok{background:var(--green-bg);border-color:transparent;color:var(--green)}
.tg-state.ok div b{color:var(--green)}
.tg-state.wait{background:rgba(var(--bz-rgb),.06)}
.tg-dot{width:10px;height:10px;border-radius:50%;background:var(--accent);flex:none;animation:tgPulse 1.4s ease-in-out infinite}
@keyframes tgPulse{0%,100%{opacity:.35;transform:scale(.8)}50%{opacity:1;transform:scale(1)}}
@media (prefers-reduced-motion:reduce){.tg-dot{animation:none}}
#modal[data-variant=tg-connect] #modalF{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.system-telegram .tg-stat{display:flex;flex-direction:column;margin-bottom:10px}
.system-telegram .tg-err{margin:6px 0 0;padding:8px 10px;border-radius:8px;background:var(--red-bg);color:var(--red);font-size:12.5px!important;line-height:1.45}
.system-telegram .tg-more{margin-top:12px;border-top:1px solid var(--hair);padding-top:10px}
.system-telegram .tg-more summary{cursor:pointer;font-size:12.5px;font-weight:600;color:var(--muted)}
.system-telegram .tg-more[open] summary{margin-bottom:8px}

                                                                 
#app #sideNav #sideUser{display:flex;align-items:center;gap:9px;height:48px;min-height:48px;padding:8px 10px!important}
#app #sideNav #sideUser .avatar{width:30px;height:30px;flex:0 0 30px;font-size:12.5px!important;border-radius:9px}
#app #sideNav #sideUser>div.su-txt:not(.avatar){display:flex!important;flex-direction:row;align-items:center;gap:7px;flex:1 1 auto;min-width:0}
#app #sideNav #sideUser .su-txt b{flex:0 1 auto;flex-shrink:1;min-width:0;font-size:13.5px!important;font-weight:650;line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--ink)}
#app #sideNav #sideUser .su-role{display:inline-block;flex:0 4 auto;min-width:34px;max-width:62%;margin:0;padding:2px 7px;border-radius:999px;background:rgba(var(--bz-rgb),.1);color:var(--accent-ink)!important;font-size:10.5px!important;font-weight:650;letter-spacing:.01em;line-height:1.5;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#app #sideNav #sideUser:focus-visible{outline:2px solid var(--accent);outline-offset:2px}

                                          
                                                                                                                                         
@media (min-width:761px){
  #content .tbl tbody td .btn:not(.sm):not(.xs):not(.icon-btn){min-height:0;height:30px;padding:0 10px;font-size:12.5px!important;gap:6px;border-radius:8px}
  #content .tbl tbody td .btn:not(.sm):not(.xs):not(.icon-btn) svg{width:14px;height:14px}
}
@media (min-width:1280px){#content .tbl td:last-child :is(.actions,.row-actions):not(:has(>:nth-child(3))){flex-wrap:nowrap!important}}
@media (min-width:1280px){#content .tbl td.cell-amt{white-space:nowrap!important}}                                                                      
                                                    
#content .tbl .orders-empty{min-height:180px!important;padding:24px 16px!important}

                                                                                        
#loginScreen .lb-top img{border-radius:12px;box-shadow:0 0 0 1px rgba(255,255,255,.32),0 6px 18px rgba(0,0,0,.18)}

                                                                                 
.settings-content-host{position:relative;min-width:0;overflow-anchor:none}
.settings-content.settings-staging{display:none!important}
#content:has(>.page-shell:not(.page-stage)>.settings-shell){scrollbar-gutter:stable;overflow-anchor:none}
.settings-side{scrollbar-gutter:stable}
.settings-side{box-sizing:border-box}

                                                                           
#content:has(>.page-shell:not(.page-stage)>.settings-shell){display:flex;flex-direction:column;overflow:hidden;min-height:0}
#content>.page-shell:not(.page-stage):has(>.settings-shell){flex:1;min-height:0!important;display:grid;grid-template-rows:minmax(0,1fr);overflow:hidden}
.settings-shell{min-height:0;align-items:stretch;overflow:hidden}
.settings-shell>.settings-side{align-self:start;position:static;max-height:100%;min-height:0;overscroll-behavior:contain}
.settings-shell>.settings-content-host{min-height:0;overflow:auto;scrollbar-gutter:stable;overscroll-behavior:contain;scroll-behavior:auto}
.settings-shell .journal-table-wrap,.settings-shell .settings-directories .tbl-wrap{max-height:none;overflow-y:visible}
@media(max-width:700px){
  .settings-shell{grid-template-rows:minmax(0,min(240px,40%)) minmax(0,1fr)}
  .settings-shell>.settings-side{height:100%;overflow:auto;align-content:start}
}
@media screen{
  #app:has(#content>.page-shell:not(.page-stage)>.settings-shell),#app>.main:has(#content>.page-shell:not(.page-stage)>.settings-shell){height:calc(100dvh / 1.1)!important;min-height:0!important;overflow:hidden!important}
}


                                                 
:root{--motion-ease:cubic-bezier(.22,1,.36,1);--motion-spring:cubic-bezier(.34,1.18,.64,1);--motion-exit:cubic-bezier(.4,0,1,1);--motion-fast:200ms;--motion-normal:320ms;--motion-close:240ms;--motion-glass:color-mix(in srgb,var(--solid) 91%,transparent)}
html body .ui-pressable{scale:1!important;transform:none!important;translate:none!important;transition:scale var(--motion-fast) var(--motion-ease),opacity var(--motion-fast) ease!important}
html body :is(.btn,.icon-btn,.card.tap,.panel.tap,.item,.tabs button,.trash-switch button,.orders-status button,.settings-section-button,.settings-subnav button,.home-metric,#sideNav nav a,.bnav a,.pop button,.pop a):is(:hover,:active,.ui-key-pressed){transform:none!important;translate:none!important;scale:1!important}
html body .ui-pressable:not(:disabled):not([aria-disabled="true"]):not(.loading):is(:active,.ui-key-pressed){scale:.985!important}
html body :is(.icon-btn,.btn):is(:hover,:active)>svg{transform:none!important}
@media(hover:hover){html body .ui-pressable:not(:disabled):not([aria-disabled="true"]):hover{opacity:.88}html body .ui-pressable:not(:disabled):not([aria-disabled="true"]):active{opacity:1}}
#content{scrollbar-gutter:stable;overflow-anchor:none}
#content>.page-shell{overflow-anchor:none}
#content>.page-shell.page-enter{animation:uiPageReveal var(--motion-normal) var(--motion-ease) both!important}
#content .page-enter :is(.card,.panel,.stats>*,.dir-kpi,.ph,.tabs){animation:none!important}
@keyframes uiPageReveal{from{opacity:.65}to{opacity:1}}

                                                                       
html body #modal,html body #modal[data-variant]{background:var(--motion-glass);backdrop-filter:blur(20px) saturate(135%);-webkit-backdrop-filter:blur(20px) saturate(135%);transform:translateY(8px) scale(.96)!important;opacity:0;visibility:hidden;pointer-events:none;transition:transform var(--motion-close) var(--motion-exit),opacity var(--motion-close) ease,visibility 0s linear var(--motion-close)!important;will-change:auto}
html body #modal.on,html body #modal[data-variant].on{transform:translateY(0) scale(1)!important;opacity:1;visibility:visible;pointer-events:auto;transition:transform var(--motion-normal) var(--motion-spring),opacity var(--motion-normal) ease,visibility 0s!important}
html body #modalVeil{backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);transition:opacity var(--motion-close) ease,visibility 0s linear var(--motion-close)}
html body #modalVeil.on{transition:opacity var(--motion-normal) ease,visibility 0s}
html body .pop{background:var(--motion-glass);backdrop-filter:blur(20px) saturate(135%);-webkit-backdrop-filter:blur(20px) saturate(135%);transform:translateY(-5px) scale(.96);pointer-events:none;transition:transform var(--motion-close) var(--motion-exit),opacity var(--motion-close) ease,visibility 0s linear var(--motion-close)!important}
html body .pop.on{transform:translateY(0) scale(1);pointer-events:auto;transition:transform var(--motion-normal) var(--motion-spring),opacity var(--motion-normal) ease,visibility 0s!important}
.notification-popover{background:var(--motion-glass);backdrop-filter:blur(20px) saturate(135%);-webkit-backdrop-filter:blur(20px) saturate(135%);transform-origin:top right;animation:nativePopoverIn var(--motion-normal) var(--motion-ease) both}
@keyframes nativePopoverIn{from{opacity:0;transform:translateY(-5px) scale(.96)}to{opacity:1;transform:none}}

.spinner,.section-loading-spinner{position:relative;display:inline-block;flex:none;width:24px;height:24px;border:0;border-radius:0;color:var(--muted);transform:none;animation:none!important}
.spinner>i,.section-loading-spinner>i{position:absolute;top:0;left:10.75px;width:2.5px;height:6px;border-radius:2px;background:currentColor;transform-origin:1.25px 12px;transform:rotate(calc(var(--spoke) * 30deg));opacity:.2;animation:nativeSpoke 1s linear infinite;animation-delay:calc(var(--spoke) * -83.333ms)}
@keyframes nativeSpoke{from{opacity:1}to{opacity:.15}}
.btn.loading::after{border:0;border-radius:0;background:repeating-conic-gradient(from 0deg,var(--ink) 0deg 13deg,transparent 13deg 30deg);mask:radial-gradient(circle,transparent 33%,#000 36% 68%,transparent 71%);-webkit-mask:radial-gradient(circle,transparent 33%,#000 36% 68%,transparent 71%);animation:nativeButtonSpin 1s steps(12) infinite}
.btn.btn-p.loading::after,.btn.btn-d.loading::after{background:repeating-conic-gradient(from 0deg,#fff 0deg 13deg,transparent 13deg 30deg)}
@keyframes nativeButtonSpin{to{transform:rotate(360deg)}}

.skeleton,.loading-preview :is(i,b){position:relative;overflow:hidden;background:var(--field);border-radius:8px;isolation:isolate}
.skeleton::after,.loading-preview :is(i,b)::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(100deg,transparent 20%,color-mix(in srgb,var(--ink) 9%,transparent) 50%,transparent 80%);transform:translateX(-100%);animation:nativeShimmer 1.9s var(--motion-ease) infinite}
@keyframes nativeShimmer{to{transform:translateX(100%)}}
.global-search-skeleton{display:grid;gap:12px;padding:12px 18px}
.global-search-skeleton .skeleton{height:44px}
@media(prefers-reduced-motion:reduce){
 html body .ui-pressable{transition:none!important;scale:1!important}
 html body .ui-pressable:is(:active,.ui-key-pressed){scale:1!important}
 html body #modal,html body #modal[data-variant],html body #modal.on,html body #modal[data-variant].on{transition:none!important;transform:none!important}
 html body #modalVeil,html body #modalVeil.on,html body .pop,html body .pop.on{transition:none!important}
 html body .pop,html body .pop.on{transform:none}
 .notification-popover,#content>.page-shell.page-enter,.spinner>i,.section-loading-spinner>i{animation:none!important}
 .spinner>i,.section-loading-spinner>i{opacity:.55}
 .btn.loading::after{animation:none!important}
 .skeleton::after,.loading-preview :is(i,b)::after{animation:none!important;display:none}
}

                                                                                 
:root{--text-body:13.5px;--text-label:13px;--text-small:12px;--text-value:22px;--control-height:36px;--control-small:32px;--card-padding:12px;--card-radius:12px;--metric-height:88px;--layout-gap:12px;--anim-fast:200ms;--anim-base:320ms;--anim-slow:420ms;--anim-ease:var(--motion-ease);--anim-spring:var(--motion-spring)}
#app{--sidebar-duration:360ms;--sidebar-ease:var(--motion-ease)}
html body #content{font-size:var(--text-body);line-height:1.45}
html body :is(#content#content,#modal#modal#modal) .btn{box-sizing:border-box;min-height:var(--control-height)!important;height:auto!important;padding:7px 12px!important;gap:7px;border-radius:9px!important;font-size:var(--text-label)!important;font-weight:600!important;line-height:20px!important}
html body :is(#content#content,#modal#modal#modal) .btn.sm,html body #content#content .tbl td .btn{min-height:var(--control-small)!important;padding:5px 10px!important;font-size:var(--text-small)!important}
html body :is(#content#content,#modal#modal#modal) .btn.xs{min-height:28px!important;padding:3px 8px!important;font-size:var(--text-small)!important}
html body :is(#content#content,#modal#modal#modal) .btn svg{width:16px;height:16px;flex-shrink:0}
html body #content#content :is(.card:not(.flat):not(.stat),.panel:not(.flat)){border-radius:var(--card-radius)}
html body #content#content :is(.stat.card,.home-metric,.dir-kpi,.cash-metric,.payroll-metric,.debt-metric,.report-metric,.alerts-metric,.ov-kpi,.purchases-summary article,.equipment-summary article){box-sizing:border-box;min-width:0;min-height:var(--metric-height)!important;padding:var(--card-padding)!important;border-radius:var(--card-radius)!important;gap:10px!important}
html body #content#content :is(.ov-kpi>b,.set-kpi b,.stat .val){font-size:var(--text-value)!important;line-height:1.2!important;font-weight:700;letter-spacing:-.02em}
html body #content#content :is(.stat .mini,.stat .lbl,.ov-kpi>small,.set-kpi small,.dir-kpi-t small,.home-metric-copy small,.cash-metric small,.payroll-metric small,.debt-metric small,.report-metric small,.purchases-summary small,.equipment-summary small){font-size:var(--text-small)!important;line-height:1.45!important}
html body #content#content :is(.ov-kpi>span,.stat .lbl){font-size:var(--text-label)!important}
html body #content#content :is(.home-metric-icon,.cash-metric-icon,.payroll-metric-icon,.debt-icon,.report-icon,.purchase-stat-icon,.equipment-stat-icon,.dir-kpi .icd,.stat .icd){width:34px!important;height:34px!important;flex:0 0 34px;border-radius:10px!important}
html body #content#content :is(.home-metric-icon,.cash-metric-icon,.payroll-metric-icon,.debt-icon,.report-icon,.purchase-stat-icon,.equipment-stat-icon,.dir-kpi .icd,.stat .icd) svg{width:18px!important;height:18px!important}
html body #content#content :is(.stats,.dir-kpis,.ov-kpis,.payroll-metrics,.purchases-summary,.equipment-summary,.set-kpis){gap:var(--layout-gap)}
html body #content#content .set-kpi{min-height:72px!important;padding:var(--card-padding)!important;border-radius:var(--card-radius)}
@media(max-width:560px){
 :root{--text-value:20px;--layout-gap:10px;--control-height:40px}
 html body #content#content :is(.cash-metric,.payroll-metric,.debt-metric,.report-metric,.purchases-summary article,.equipment-summary article){min-height:104px!important}
}
@media(prefers-reduced-motion:reduce){#app{--sidebar-duration:0ms}:root{--anim-fast:0ms;--anim-base:0ms;--anim-slow:0ms}}

html body #content#content :is(.mini,.sub){font-size:var(--text-small)!important;line-height:1.45}
html body #content#content :is(.home-metric,.dir-kpi,.cash-metric,.payroll-metric,.debt-metric,.report-metric,.ov-kpi) strong{white-space:normal;overflow-wrap:break-word}

html body #content#content .orders-kpis article{box-sizing:border-box;min-height:72px!important;padding:var(--card-padding)!important;gap:10px!important;border-radius:var(--card-radius)}
html body #content#content :is(.orders-kpi-icon,.alerts-icon){width:34px!important;height:34px!important;flex:0 0 34px;border-radius:10px}
html body #content#content :is(.orders-kpi-icon,.alerts-icon) svg{width:18px!important;height:18px!important}
html body #content#content :is(.orders-kpis,.warehouse-kpis,.product-kpis,.production-metrics,.fleet-summary,.customer-stat) strong{font-size:var(--text-value)!important;line-height:1.2!important}
html body #content#content :is(.orders-kpis,.warehouse-kpis,.product-kpis,.production-metrics,.fleet-summary,.customer-stat) span{font-size:var(--text-label)!important}
@media(min-width:901px){#app .topbar #topActions .btn{height:var(--control-height);font-size:var(--text-label)}}

                                                                                 
.mobile-home-hero,.mobile-user-initial{display:none}
.bnav-icon{display:grid;place-items:center}
@media screen and (max-width:700px){
 html{zoom:1!important}
 :root{--card-radius:16px;--card-padding:10px;--metric-height:76px;--control-height:44px;--control-small:36px;--text-body:14px;--text-label:13px;--text-value:22px;--layout-gap:10px}
 html body{min-height:100dvh!important;background:var(--bg)}
 #app,#app>.main,#app:has(#content>.page-shell:not(.page-stage)>.settings-shell),#app>.main:has(#content>.page-shell:not(.page-stage)>.settings-shell){height:100dvh!important;min-height:0!important}
 #app>.main{background:radial-gradient(ellipse at 20% 0,rgba(var(--bz-rgb),.08),transparent 44%),var(--bg)}
 #app>#sideNav.side{height:100dvh!important;width:min(300px,86vw)!important;border-radius:0 26px 26px 0}
 #app .topbar{display:grid!important;grid-template-columns:40px minmax(0,1fr) repeat(3,36px);align-items:center;gap:8px!important;height:auto!important;min-height:60px!important;padding:8px 12px!important;border:0!important;background:color-mix(in srgb,var(--bg) 90%,transparent)!important;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);box-shadow:none!important}
 #app .topbar>.spacer,#app .topbar .top-date{display:none!important}
 #app .topbar>.burger{grid-column:1;grid-row:1;background:rgba(var(--bz-rgb),.12)!important;border:1px solid rgba(var(--bz-rgb),.15)!important}
 #app .topbar>.burger:has(.mobile-user-initial)>svg{display:none}
 .mobile-user-initial{display:grid;place-items:center;width:100%;height:100%;font-size:14px;font-weight:700;color:var(--accent-ink)}
 #app .topbar>.top-title{grid-column:2;grid-row:1;min-width:0;max-width:none}
 #app .topbar .top-title h2{font-size:16px!important;letter-spacing:-.03em;line-height:1.3}
 #app .topbar .top-title>span{font-size:10px!important;line-height:1.5}
 #app .topbar .universal-search-trigger{grid-column:3;grid-row:1;border-radius:50%!important;background:var(--solid)!important}
 #app .topbar .top-fixed{grid-column:4;grid-row:1;gap:0;min-width:0}
 #app .topbar>.tip{grid-column:5;grid-row:1}
 #app .topbar .icon-btn{border-radius:50%!important;box-shadow:0 2px 8px rgba(0,0,0,.025)}
 #app .topbar :is(#topActions,#topActionsLive){grid-column:1/-1;grid-row:2;display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}
 #app .topbar :is(#topActions,#topActionsLive) .btn{width:auto;min-width:36px;min-height:36px;height:auto;border-radius:18px;padding:7px 12px!important;gap:6px;font-size:12px!important}
 #app #content{padding:8px 12px calc(88px + env(safe-area-inset-bottom))!important;scroll-padding-bottom:100px;scrollbar-gutter:auto}
 #app #content>.page-shell{min-width:0}
 #app #bnav{position:fixed;display:flex!important;align-items:center;justify-content:space-around;left:18px!important;right:18px!important;bottom:calc(12px + env(safe-area-inset-bottom))!important;width:auto!important;max-width:440px!important;margin:0 auto!important;padding:6px 8px!important;min-height:60px;border:1px solid var(--hair)!important;border-radius:38px!important;background:color-mix(in srgb,var(--solid) 94%,transparent);box-shadow:0 10px 36px rgba(0,0,0,.14);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);z-index:55}
 #app #bnav :is(a,button){display:flex;flex:1;min-width:0;align-items:center;flex-direction:column;justify-content:center;gap:2px;height:48px;min-height:44px;margin:0;padding:0 2px;border:0;background:none;color:var(--muted);font:inherit;text-decoration:none;cursor:pointer;border-radius:28px}
 #app #bnav .bnav-icon{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;transition:background var(--motion-normal) var(--motion-ease),color var(--motion-normal) ease}
 #app #bnav svg{width:20px;height:20px;margin:0;animation:none!important;transform:none!important}
 #app #bnav .bnav-label{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;font-weight:600;line-height:14px}
 #app #bnav a.on{color:var(--accent-ink)!important}
 #app #bnav a.on .bnav-icon{background:var(--accent);color:#fff;box-shadow:0 3px 9px rgba(var(--bz-rgb),.22)}
 #app #bnav a.on::after{display:none}
 #app #bnav :is(a,button):focus-visible{outline:2px solid var(--accent-ink);outline-offset:1px}
 html body #content#content#content .btn{border-radius:22px!important}
 html body #content#content#content .tbl td .btn{border-radius:18px!important}
 html body #content#content#content :is(.card,.panel,.dir-panel,.payroll-panel,.alerts-panel,.debt-panel,.report-panel,.orders-redesign,.ov-head,.ov-section){border-radius:var(--card-radius)!important}
 html body #content#content#content :is(.tabs,.cash-tabs .tabs){display:flex;flex-wrap:nowrap;gap:5px;width:100%;max-width:100%;overflow-x:auto;scrollbar-width:none;padding:4px;border:0;border-radius:24px;background:var(--field)}
 html body #content#content#content .tabs button{flex:0 0 auto;white-space:nowrap;min-height:40px;padding:8px 14px;border:0!important;border-radius:22px!important;background:transparent}
 html body #content#content#content .tabs button.on{background:var(--accent)!important;color:#fff!important;box-shadow:0 3px 10px rgba(var(--bz-rgb),.15)}
 html body #content#content#content .tabs button.on::after{display:none}
 html body #content#content#content :is(input:not([type=checkbox]):not([type=radio]),select,textarea){border-radius:14px!important}
 html body #modal#modal#modal,html body #modal#modal#modal[data-variant]{width:calc(100vw - 20px)!important;max-width:520px!important;max-height:calc(100dvh - 24px - env(safe-area-inset-bottom))!important;border-radius:26px!important}
 html body #modal#modal#modal :is(.m-h,.m-b,.m-f){padding:16px}
 html body #modal#modal#modal .m-h h3{font-size:18px!important}
 html body #modal#modal#modal .m-f .btn{border-radius:22px!important;min-height:44px!important}
 html body #modal#modal#modal :is(input:not([type=checkbox]):not([type=radio]),select,textarea){font-size:16px!important;border-radius:14px!important;min-height:44px}
 #content .home-overview{gap:14px}
 #content .home-heading{padding:3px 2px 0;gap:8px}
 #content .home-heading h1{font-size:22px!important;font-weight:700;letter-spacing:-.04em}
 #content .home-heading p{font-size:12px!important;margin-top:3px}
 #content .has-mobile-hero .home-heading .home-actions{display:none}
 #content .mobile-home-hero{display:block;position:relative;overflow:hidden;margin-top:0;padding:12px;border:1px solid rgba(var(--bz-rgb),.18);border-radius:20px;background:linear-gradient(145deg,var(--accent),color-mix(in srgb,var(--accent) 76%,var(--bg)));color:#fff;box-shadow:0 12px 24px rgba(var(--bz-rgb),.15)}
 #content .mobile-hero-heading{display:flex;align-items:center;gap:10px;min-width:0}
 #content .mobile-hero-icon{display:grid;place-items:center;width:38px;height:38px;flex:none;border-radius:50%;background:rgba(255,255,255,.16)}
 #content .mobile-hero-icon svg{width:20px;height:20px}
 #content .mobile-hero-heading>div{flex:1;min-width:0}
 #content .mobile-hero-heading>div>span{display:block;font-size:12px;color:rgba(255,255,255,.85)}
 #content .mobile-hero-heading strong{display:block;margin-top:3px;font-size:26px;line-height:1.25;font-weight:700;letter-spacing:-.04em;overflow-wrap:anywhere}
 #content .mobile-hero-heading strong small{display:inline-block;margin-left:5px;font-size:12px;font-weight:500;letter-spacing:0}
 #content .mobile-hero-heading .icon-btn{width:30px;min-width:30px;height:30px;min-height:30px;flex:none;border-radius:50%;color:#fff;background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.17)}
 #content .mobile-hero-heading .icon-btn svg{width:16px;height:16px}
 #content .mobile-chart-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:20px 0 10px;font-size:11px;color:rgba(255,255,255,.8)}
 #content .mobile-chart-heading b{font-weight:600;color:#fff}
 #content .mobile-week-chart{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:12px;height:75px}
 #content .mobile-chart-day{display:flex;flex-direction:column;align-items:center;gap:7px;min-width:0}
 #content .mobile-chart-track{display:flex;align-items:flex-end;justify-content:center;width:100%;height:54px;border-bottom:1px solid rgba(255,255,255,.15)}
 #content .mobile-chart-track i{display:block;width:12px;max-width:80%;height:var(--bar-height);border-radius:5px 5px 0 0;background:rgba(255,255,255,.6)}
 #content .mobile-chart-day.is-today i{background:#fff}
 #content .mobile-chart-day small{font-size:10px;line-height:1;color:rgba(255,255,255,.85)}
 #content .mobile-hero-actions{display:flex;gap:8px;margin-top:10px}
 html body #content#content#content .mobile-hero-actions .btn{flex:1;min-width:0;padding:10px 9px!important;min-height:44px!important;gap:5px;font-size:12px!important;line-height:16px!important;border-radius:24px!important;white-space:normal;text-align:center;justify-content:center}
 html body #content#content#content .mobile-hero-actions .btn-p{background:#fff!important;color:var(--accent)!important;border-color:#fff!important;box-shadow:none}
 html body #content#content#content .mobile-hero-actions .btn-g{background:rgba(255,255,255,.14)!important;border:1px solid rgba(255,255,255,.3)!important;color:#fff!important}
 #content .mobile-hero-note{font-size:12px;margin-top:12px;color:rgba(255,255,255,.85)}
 #content .home-group{padding:0!important;gap:8px;border:0;border-radius:0;background:transparent}
 #content .home-group-heading{border:0;padding:0 2px;gap:8px;margin:0;flex-wrap:nowrap}
 #content .home-group-heading .home-section-icon,#content .home-group-heading p{display:none}
 html body #content#content#content .home-group-heading h2{font-size:16px!important;line-height:1.3!important}
 #content .home-period{font-size:10px;padding:6px 8px;border-radius:16px;white-space:nowrap}
 #content .home-metrics,#content .home-financial .home-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px}
 #content .home-financial{gap:10px}
 #content .home-finance-subgroup h3{font-size:12px!important;color:var(--muted);margin-bottom:8px}
 #content .home-monthly{padding-top:4px;border:0}
 html body #content#content#content .home-metric{display:grid;grid-template-columns:30px minmax(0,1fr);grid-template-rows:auto auto 1fr;align-items:start;align-content:start;column-gap:8px!important;row-gap:6px!important;min-height:104px!important;padding:10px!important;border-radius:16px!important;border:1px solid var(--hair);background:var(--solid);box-shadow:none}
 #content .home-metric>.icd{grid-column:1;grid-row:1;width:30px;height:30px;flex-basis:30px;border-radius:50%;margin:0}
 #content .home-metric>.icd svg{width:16px;height:16px}
 #content .home-metric-copy{display:contents}
 html body #content#content#content .home-metric-copy>.home-metric-label{grid-column:2;grid-row:1;align-self:center;font-size:12px!important;font-weight:600!important;line-height:1.3;min-height:30px}
 html body #content#content#content .home-metric-copy>strong{grid-column:1/-1;grid-row:2;font-size:22px!important;line-height:1.25!important;margin-top:2px;letter-spacing:-.035em}
 html body #content#content#content .home-metric-copy>small{grid-column:1/-1;grid-row:3;align-self:end;font-size:11px!important;line-height:1.35!important;padding-right:8px}
 #content .home-value-unit{font-size:11px;margin-left:3px}
 #content .home-metric-arrow{display:none}
 #content .home-operational>.home-metric:nth-child(2),#content .home-financial-more>.home-metric:first-child{background:color-mix(in srgb,var(--accent) 10%,var(--solid));border-color:rgba(var(--bz-rgb),.12)}
 #content .home-financial-more>.home-metric:last-child:nth-child(odd){grid-column:1/-1}
 #content .home-overview :is(.dash-board,.home-support,.home-extras)>.card{border-radius:16px!important;padding:12px!important}
 #content .home-overview .dash-card-head{margin-bottom:12px;align-items:center;gap:8px}
 #content .home-overview .dash-card-head h3{font-size:14px!important}
 #content .home-overview .dash-card-head>div>span{font-size:11px}
 #content .home-overview .dash-empty{min-height:112px}
 #content .home-alert{border-radius:16px;padding:12px}
 #content .home-stock-table{min-width:0!important;font-size:12px}
 #content .home-stock-table :is(th,td){padding:9px 4px;font-size:11px}
 #content .home-stock-table th:first-child,#content .home-stock-table td:first-child{display:none}
 #content .home-stock-table td:nth-child(2){white-space:normal}
 #content .home-stock-status{font-size:10px;white-space:normal}
 #content .home-overview .dash-acc-row{grid-template-columns:30px minmax(0,1fr) auto}
 #content .home-overview .dash-acc-row .num{grid-column:auto;font-size:12px}
 .notification-popover{max-width:calc(100vw - 24px)!important;border-radius:22px}
 .section-loading-card{border-radius:24px}
 body .toast{bottom:calc(98px + env(safe-area-inset-bottom))}
}
@media screen and (max-width:360px){
 #app .topbar{padding-inline:10px!important;column-gap:5px!important;grid-template-columns:36px minmax(0,1fr) repeat(3,34px)}
 #app #content{padding-inline:10px!important}
 #content .mobile-home-hero{padding:12px}
 #content .mobile-hero-heading strong{font-size:23px}
 html body #content#content#content .home-metric{padding:10px!important;column-gap:6px!important}
 html body #content#content#content .home-metric-copy>strong{font-size:20px!important}
}

@media screen and (max-width:700px){
 #content .mobile-hero-heading .icon-btn{color:#fff!important}
 #content .mobile-hero-heading .icon-btn svg{stroke:currentColor!important}
 #content .settings-shell{grid-template-rows:112px minmax(0,1fr);gap:12px}
 #content .settings-shell>.settings-side{display:flex;flex-direction:row;align-items:flex-start;gap:6px;position:relative;height:112px;max-height:112px;padding:8px 8px 50px;flex-wrap:nowrap!important;border-radius:22px;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;scrollbar-gutter:auto}
 #content .settings-side-label{display:none}
 #content .settings-side-group{display:contents}
 #content .settings-side .settings-section-button{display:inline-flex;flex:1 1 0;min-width:0;flex-direction:column;justify-content:center;align-items:center;gap:4px;width:0;min-height:52px;padding:6px 2px;margin:0;border-radius:16px;font-size:10px;white-space:nowrap}
 #content .settings-section-button>svg:last-child{display:none}
 #content .settings-side-group.active>.settings-section-button{background:var(--accent);color:#fff;border-color:var(--accent)}
 #content .settings-side .settings-subnav{display:none}
 #content .settings-side-group.active>.settings-subnav{position:absolute;left:10px;right:10px;bottom:10px;display:flex;align-items:center;gap:6px;height:40px;margin:0;padding:0;border:0;overflow-x:auto;scrollbar-width:none;white-space:nowrap}
 #content .settings-side .settings-subnav button{flex:none;width:auto;min-height:36px;padding:7px 12px;border-radius:18px;font-size:12px;white-space:nowrap}
}

@media screen and (max-width:700px){
 #content .settings-side .settings-section-button>span{display:block;width:100%;min-width:0;overflow:hidden;text-overflow:ellipsis;text-align:center;line-height:14px}
 #content .settings-side .settings-section-button>svg:first-child{display:block;width:18px;height:18px;flex:none}
 #content .settings-side .settings-section-button>svg:last-child:not(:first-child){display:none}
 #content .settings-side-group.active>.settings-subnav{left:8px;right:8px;bottom:8px}
}

.settings-section-button>.settings-mobile-label{display:none}
@media screen and (max-width:700px){
 #content .settings-side .settings-section-button>.settings-desktop-label{display:none}
 #content .settings-side .settings-section-button>.settings-mobile-label{display:block;font-size:10px;font-weight:600}
}

                                                                                      
#loginScreen{position:fixed;inset:0;z-index:60;display:flex;flex-direction:column;align-items:center;min-height:0!important;width:auto;height:auto;padding:24px;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;scroll-padding-block:20px;scroll-behavior:auto}
#loginScreen .login-shell{flex:none;width:min(960px,100%);min-width:0;grid-template-columns:minmax(0,1fr) minmax(0,1fr);margin:auto;border-radius:24px}
#loginScreen .login-brand{min-width:0;padding:32px;gap:28px}
#loginScreen .lb-main h1{font-size:26px;line-height:1.25}
#loginScreen .lb-main>p{font-size:14px;margin-bottom:24px}
#loginScreen .lb-feats{gap:10px}
#loginScreen .lb-feats li{padding:10px 12px}
#loginScreen .login-card{min-width:0;padding:36px!important}
#loginScreen #authTitle{font-size:25px;line-height:1.3;letter-spacing:-.025em}
#loginScreen .login-sub{font-size:14px;line-height:1.5;margin-bottom:24px}
#loginScreen .lf-row{align-items:center;flex-wrap:wrap;gap:4px 12px;margin-bottom:7px}
#loginScreen .lf-row>label{margin:0}
#loginScreen #forgotPassword{min-height:28px;line-height:1.4;text-align:right}
#loginScreen .lf-wrap{width:100%;min-width:0}
#loginScreen .login-card input{display:block;box-sizing:border-box;height:48px;min-height:48px;font-size:16px;line-height:1.4;color:var(--ink)}
#loginScreen #loginPass{padding-right:52px}
#loginScreen #pwToggle{position:absolute;inset:0 4px 0 auto;width:44px;height:44px;min-height:44px;margin:auto 0;display:grid;place-items:center;transform:none!important;translate:none!important;z-index:1}
#loginScreen #pwToggle svg{pointer-events:none}
#loginScreen #pwToggle:focus-visible{outline:2px solid var(--accent-ink);outline-offset:-3px}
#loginScreen #loginPass::-ms-reveal,#loginScreen #loginPass::-ms-clear{display:none}
#loginScreen .lf-submit{width:100%;height:48px;min-height:48px;font-size:14px;border-radius:12px;margin-top:4px}
#loginScreen .login-foot{font-size:12px;line-height:1.5;margin-top:24px;overflow-wrap:anywhere}
#loginScreen #loginErr{font-size:13px;line-height:1.45;overflow-wrap:anywhere}
#loginScreen #recoveryForm>.btn{width:100%;min-height:44px;height:auto;margin-top:8px;padding:12px;font-size:14px;white-space:normal;line-height:1.4;border-radius:12px}
#loginScreen #recoveryMessage{margin-block:12px;font-size:13px;line-height:1.5;overflow-wrap:anywhere}
#loginScreen .login-card:has(#recoveryForm:not([hidden]))>.login-sub{display:none}
#loginScreen .login-card:has(#recoveryForm:not([hidden]))>#authTitle{margin-bottom:16px}
#loginScreen .login-logo .brand-text{min-width:0;flex-wrap:wrap;gap:0 5px}
@media(max-width:800px){
 #loginScreen{padding:20px;scrollbar-gutter:auto}
 #loginScreen .login-shell{grid-template-columns:minmax(0,1fr);max-width:440px}
 #loginScreen .login-brand{display:none}
 #loginScreen .login-card{padding:28px!important}
 #loginScreen .login-card>.login-logo{display:flex;align-items:center;margin-bottom:24px;gap:10px}
 #loginScreen .login-logo img{width:40px!important;height:40px!important;flex:none}
 #loginScreen .login-logo :is(b.wordmark,.brand-sub){font-size:19px!important;line-height:1.3}
 #loginScreen #authTitle{font-size:24px}
}
@media(max-width:480px){
 #loginScreen{padding:16px max(12px,env(safe-area-inset-right)) max(16px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left))}
 #loginScreen .login-card{padding:26px 20px 22px!important}
 #loginScreen .login-shell{border-radius:24px;box-shadow:0 12px 36px rgba(0,0,0,.08)}
 #loginScreen .login-sub{font-size:13px;margin-bottom:20px}
 #loginScreen #forgotPassword{font-size:12px}
}
@media(max-height:600px){
 #loginScreen{padding-block:16px}
 #loginScreen .login-shell{margin-block:0}
}

                                                                                     
.mobile-diagnostics-note{display:none}
@media screen and (max-width:700px){
 .mobile-desktop-tool{display:none!important}
 .settings-shell[data-setting-sub=errors] .mobile-diagnostics-note{display:block;padding:16px;font-size:14px;line-height:1.5}
 #app .topbar .top-title>span{display:none}
 #content .mobile-hero-chart{margin-top:10px;border-top:1px solid rgba(255,255,255,.18)}
 #content .mobile-hero-chart summary{display:flex;align-items:center;gap:8px;min-height:44px;font-size:12px;cursor:pointer;list-style:none}
 #content .mobile-hero-chart summary::-webkit-details-marker{display:none}
 #content .mobile-hero-chart summary b{margin-left:auto;font-size:12px;font-weight:600;white-space:nowrap}
 #content .mobile-hero-chart summary svg{width:16px;height:16px;flex:none}
 #content .mobile-hero-chart[open] summary svg{transform:rotate(180deg)}
 #content .mobile-week-chart{height:64px;margin-bottom:8px}
 #content .mobile-chart-track{height:44px}
 #content .mobile-hero-heading strong{font-size:24px}
 #content .mobile-hero-heading .icon-btn{width:40px;height:40px;min-width:40px;min-height:40px}
 #content .home-heading h1{font-size:20px!important}
 #content .home-heading p{display:none}
 html body #content#content#content :is(.cash-metric,.payroll-metric,.debt-metric,.report-metric,.ov-kpi,.purchases-summary article,.equipment-summary article){min-height:88px!important;padding:10px!important;border-radius:16px!important;gap:8px!important}
 html body #content#content#content :is(.report-metric,.debt-metric,.payroll-metric){display:flex;flex-direction:column;align-items:flex-start;position:relative}
 html body #content#content#content :is(.report-icon,.debt-icon,.payroll-metric-icon){display:none}
 html body #content#content#content :is(.report-metric,.debt-metric,.payroll-metric) strong{font-size:20px!important;line-height:1.25!important}
 #content .cash-redesign .cash-metric strong{margin:4px 0 2px}
 #content .cash-redesign .cash-metric span:not(.cash-metric-icon){min-height:0}
 #content :is(.orders-kpis,.set-kpis,.customer-stats){gap:8px!important}
 html body #content#content#content .set-kpi{min-height:60px!important;padding:8px!important;gap:8px}
 #content .set-kpi .icd{width:28px;height:28px;flex-basis:28px}
 #content :is(.orders-redesign,.products-shell,.cash-workspace,.payroll-workspace,.debt-workspace,.reports-workspace){gap:10px}
 html body #content#content#content :is(.card,.panel)>:is(.ph,header){padding:12px!important}
 html body #content#content#content :is(.btn,.icon-btn,[data-more]){min-height:40px!important}
 html body #content#content#content :is(.icon-btn,[data-more]){min-width:40px!important;width:40px!important;height:40px!important}
 html body #content#content#content .orders-status{display:flex;flex-wrap:nowrap;gap:6px;overflow:auto;scrollbar-width:none;padding:0 10px 10px}
 #content .orders-status button{flex:none;min-height:40px}
 #content .orders-table tr[data-id]{gap:8px!important;padding:10px!important}
 #content .orders-table td:nth-child(1),#content .orders-table td:nth-child(2){grid-column:1/-1}
 #content .orders-table td:nth-child(1)::before,#content .orders-table td:nth-child(2)::before{display:none}
 #content .orders-table td:nth-child(5){display:none}
 #content .orders-table .order-row-actions:has(>svg:only-child){display:none!important}
 #content .orders-table .order-row-actions::before{display:none}
 #content .orders-table .prg-lbl{font-size:12px}
 #content .tbl-wrap:has(>.mobile-record-table){overflow:visible;max-height:none}
 html body #content#content#content table.mobile-record-table{display:block;width:100%!important;min-width:0!important;table-layout:auto}
 #content table.mobile-record-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 #content table.mobile-record-table :is(tbody,tfoot){display:block}
 #content table.mobile-record-table tr.mobile-record-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px;padding:12px;border-bottom:1px solid var(--hair);position:relative}
 html body #content#content#content table.mobile-record-table tr.mobile-record-row>td{display:block;position:static;width:auto!important;min-width:0;max-width:none;height:auto!important;padding:0!important;border:0!important;box-shadow:none!important;white-space:normal;text-align:left!important;overflow-wrap:anywhere}
 #content table.mobile-record-table tr.mobile-record-row>td:first-child{grid-column:1/-1}
 #content table.mobile-record-table tr.mobile-record-row>td::before{content:attr(data-mobile-label);display:block;font-size:12px;color:var(--muted);font-weight:500;line-height:1.35;margin-bottom:3px}
 #content table.mobile-record-table tr.mobile-record-row>td:first-child::before,#content table.mobile-record-table td.mobile-record-actions::before{display:none}
 #content table.mobile-record-table td.mobile-record-actions{grid-column:1/-1;justify-self:end}
 #content table.mobile-record-table tr:not(.mobile-record-row),#content table.mobile-record-table tr:not(.mobile-record-row)>td{display:block;width:auto!important;height:auto!important;white-space:normal}
 #content table.mobile-record-table :is(.sub,.mini){white-space:normal}
 html body #modal#modal#modal :is(.m-h,.m-b,.m-f){padding:12px}
 html body #modal#modal#modal .m-h h3{font-size:16px!important}
 #modal .order-form{gap:12px}
 #modal .order-form-section{padding:10px!important}
 #modal .order-form-section>header p{display:none}
 html body #modal#modal#modal table.line-items-editor{display:block;min-width:0!important;width:100%!important;table-layout:auto}
 #modal .line-items-editor thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 #modal .line-items-editor tbody{display:grid;gap:10px}
 #modal .line-items-editor tbody tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;position:relative;padding:10px;border:1px solid var(--hair);border-radius:12px;background:var(--field)}
 html body #modal#modal#modal .line-items-editor tbody tr>td{display:block;min-width:0;width:auto!important;height:auto!important;padding:0!important;border:0!important;text-align:left}
 #modal .line-items-editor td[data-label]::before{content:attr(data-label);display:block;font-size:12px;font-weight:600;color:var(--muted);margin-bottom:5px}
 #modal .line-items-editor .ie-product{grid-column:1/-1;margin-right:46px}
 #modal .line-items-editor .ie-remove{position:absolute;right:10px;top:30px}
 html body #modal#modal#modal .line-items-editor .del{width:40px!important;height:44px!important;padding:0!important;border:1px solid var(--hair)!important;background:var(--solid)!important}
 #modal .line-items-editor .ie-line-total{grid-column:1/-1;display:flex!important;justify-content:space-between;align-items:center;gap:8px}
 #modal .line-items-editor .ie-line-total::before{margin:0}
 #modal .line-items-editor .ie-line-total b{white-space:normal;overflow-wrap:anywhere}
 #modal .line-items-editor :is(input,select){width:100%;min-width:0!important;box-sizing:border-box}
 #modal .ie-footer{flex-wrap:wrap;gap:8px}
 #modal .ie-footer .total-row{width:100%;justify-content:space-between;font-size:13px}
 html body #content#content#content :is(input:not([type=checkbox]):not([type=radio]),select,textarea){font-size:16px!important;min-width:0;max-width:100%}
}

@media screen and (max-width:700px){
 #modal :is(.recipe-editor-scroll,.batch-materials-scroll){overflow:visible}
 html body #modal#modal#modal :is(.recipe-editor-table,.batch-materials){display:block;min-width:0!important;width:100%!important;table-layout:auto}
 #modal :is(.recipe-editor-table,.batch-materials) thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 #modal :is(.recipe-editor-table,.batch-materials) tbody{display:grid;gap:8px}
 #modal :is(.recipe-editor-table,.batch-materials) tbody tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 10px;position:relative;padding:10px;border:1px solid var(--hair);border-radius:12px}
 html body #modal#modal#modal :is(.recipe-editor-table,.batch-materials) tbody tr>td{display:block;min-width:0;width:auto!important;height:auto!important;padding:0!important;border:0!important;text-align:left;white-space:normal}
 #modal :is(.recipe-editor-table,.batch-materials) td[data-label]::before{content:attr(data-label);display:block;font-size:12px;color:var(--muted);margin-bottom:4px}
 #modal :is(.recipe-editor-table,.batch-materials) td:first-child{grid-column:1/-1;font-weight:600}
 #modal .batch-materials td:first-child::before{display:none}
 #modal .recipe-material{margin-right:46px}
 #modal .recipe-remove{position:absolute;top:30px;right:10px}
 html body #modal#modal#modal .recipe-remove .del{width:40px!important;height:44px!important}
 #modal :is(.recipe-editor-table,.batch-materials) :is(input,select){width:100%!important;min-width:0!important;max-width:100%;box-sizing:border-box}
}

@media screen and (max-width:700px){
 #modal .line-items-editor .ie-unit::after{display:none}
 html body #modal#modal#modal .line-items-editor .ie-unit input{padding:8px!important}
 #content .mobile-record-row:has(>.mobile-record-actions>[data-more]:only-child)>td:first-child{padding-right:44px!important}
 html body #content#content#content table.mobile-record-table td.mobile-record-actions:has(>[data-more]:only-child){position:absolute;top:8px;right:8px}
 #content .orders-table td::before{font-size:11px!important;line-height:1.4}
}

                                                                                       
:root{--auth-enter-time:440ms;--auth-exit-time:260ms;--auth-ease:cubic-bezier(.22,1,.36,1)}
#loginScreen .login-shell{animation:none!important;transform-origin:center center}
#app[data-auth-preparing],#app[data-auth-leaving]{opacity:0!important;pointer-events:none}
#loginForm[aria-busy=true] .lf-submit{cursor:wait}
@media(prefers-reduced-motion:reduce){:root{--auth-enter-time:0ms;--auth-exit-time:0ms}}

.auth-session-status{position:fixed;inset:20px auto auto 50%;transform:translateX(-50%);z-index:10000;display:flex;align-items:center;gap:10px;max-width:calc(100vw - 24px);padding:12px 16px;border:1px solid var(--hair);border-radius:14px;background:var(--solid);color:var(--ink);box-shadow:var(--sh-card);font-size:13px;white-space:nowrap}
.auth-session-status .spinner{width:18px;height:18px;flex:none}

                                                                                
:root{--loader-speed:1.15s;--loader-ease:cubic-bezier(.22,1,.36,1)}
.spinner,.section-loading-spinner{color:var(--accent);border:0!important;border-radius:50%;vertical-align:middle}
.spinner>i,.section-loading-spinner>i{display:none;animation:none!important}
.spinner::after,.section-loading-spinner::after{content:"";position:absolute;inset:1px;border:2px solid rgba(var(--bz-rgb),.16);border-top-color:var(--accent);border-right-color:var(--accent);border-radius:50%;animation:brandLoaderTurn var(--loader-speed) linear infinite}
@keyframes brandLoaderTurn{to{transform:rotate(360deg)}}
.section-loading-overlay{background:color-mix(in srgb,var(--bg) 48%,transparent);backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}
.section-loading-card{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-width:176px;max-width:calc(100vw - 40px);padding:28px 24px 22px;border:1px solid var(--hair);border-radius:22px;background:color-mix(in srgb,var(--solid) 94%,transparent);box-shadow:0 16px 48px rgba(0,0,0,.12);color:var(--ink)}
.section-loading-card .section-loading-spinner{width:52px;height:52px;margin:5px 0 14px;border-radius:16px;background:var(--ui-tint)}
.section-loading-spinner::before{content:"";position:absolute;inset:8px;border-radius:10px;background:url('betonos-mark.svg') center/contain no-repeat}
.section-loading-card .section-loading-spinner::after{inset:-7px;border-width:2px;border-right-color:transparent}
.section-loading-card strong{font:600 14px/1.4 var(--font);letter-spacing:-.01em}
.section-loading-card>span:last-child{position:static;width:auto;height:auto;max-width:220px;overflow:visible;clip-path:none;white-space:normal;text-align:center;font-size:12px;line-height:1.4;color:var(--muted)}
.btn.loading::after{width:18px;height:18px;box-sizing:border-box;margin:-9px 0 0 -9px;border:2px solid rgba(var(--bz-rgb),.2);border-top-color:var(--accent);border-right-color:var(--accent);border-radius:50%;background:transparent!important;mask:none;-webkit-mask:none;animation:brandLoaderTurn .85s linear infinite}
.btn.btn-p.loading::after,.btn.btn-d.loading::after{background:transparent!important;border-color:rgba(255,255,255,.28);border-top-color:#fff;border-right-color:#fff}
.skeleton,.loading-preview :is(i,b){background:color-mix(in srgb,var(--accent) 4%,var(--field));border-color:var(--hair)}
.skeleton::after,.loading-preview :is(i,b)::after{background:linear-gradient(105deg,transparent 25%,color-mix(in srgb,var(--solid) 65%,transparent) 48%,transparent 72%);animation-duration:1.7s}
#bootLoader{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;background:radial-gradient(ellipse at 50% 40%,rgba(var(--bz-rgb),.09),transparent 55%),var(--bg);transition:opacity .32s ease,visibility .32s ease}
#bootLoader .boot-brand-orbit{position:relative;display:grid;place-items:center;width:60px;height:60px;margin-bottom:24px;border:0;border-radius:0;background:transparent;box-shadow:none}
#bootLoader .boot-brand-orbit img{display:block;width:60px;height:60px;border-radius:16px}
#bootLoader>strong{font:700 18px/1.4 var(--font);letter-spacing:-.03em;color:var(--ink)}
#bootLoader>span{font:400 13px/1.5 var(--font);color:var(--muted)}
.boot-loading-track{position:relative;overflow:hidden;width:96px;height:3px;margin-top:16px;border-radius:4px;background:rgba(var(--bz-rgb),.12)}
.boot-loading-track::after{content:"";position:absolute;inset:0;width:45%;border-radius:inherit;background:var(--accent);animation:brandLoaderTrack 1.6s var(--loader-ease) infinite}
@keyframes brandLoaderTrack{from{transform:translateX(-110%)}to{transform:translateX(330%)}}
#bootLoader.hide .boot-loading-track::after{animation:none}
@media(max-width:700px){.section-loading-card{min-width:160px;padding:24px 20px 18px;border-radius:20px}.section-loading-card strong{font-size:13px}}
@media(prefers-reduced-motion:reduce){
 .spinner::after,.section-loading-spinner::after,.btn.loading::after,.boot-loading-track::after{animation:none!important}
 .section-loading-overlay{animation:none!important}
}

                                     
@media(min-width:701px){
 #app #content.page-dashboard{padding-top:10px!important}
 #content .home-heading{padding:0;min-height:0;margin:0;gap:10px}
 #content .home-heading+.home-group{margin-top:0}
 #content .home-overview{gap:8px}
}

.release-heading{display:flex;align-items:center;gap:12px;margin-bottom:16px}
.release-heading>span{display:grid;place-items:center;flex:none;width:40px;height:40px;border-radius:12px;background:var(--ui-tint);color:var(--accent)}
.release-heading h4{margin:0;font-size:15px;line-height:1.4}
.release-heading p{margin:4px 0 0;font-size:13px;line-height:1.5;color:var(--muted)}
.release-list{margin:0;padding-left:20px;display:grid;gap:10px;font-size:14px;line-height:1.6}
.release-list li::marker{color:var(--accent)}
@media(min-width:701px){#modal[data-variant="release"]{width:min(540px,calc(100vw / 1.1 - 24px))!important}}

.settings-about{display:flex;flex-direction:column;gap:4px;margin:12px 8px 0;padding:14px 4px 2px;border-top:1px solid var(--hair);font-size:12px;line-height:1.5}
.settings-about b{font-size:13px;color:var(--ink)}
.settings-about>span{color:var(--muted)}
.settings-about strong{margin-top:6px;font-size:12px;font-weight:600;color:var(--ink)}
.settings-about a{display:inline-flex;align-items:center;gap:5px;align-self:flex-start;color:var(--accent);text-decoration:none}
.settings-about a:hover{text-decoration:underline}
.settings-about a svg{width:13px;height:13px}
@media(max-width:700px){#content .settings-side>.settings-about{display:none}}

@media(max-width:700px){
 :root{--motion-fast:160ms;--motion-normal:260ms;--motion-close:200ms}
 #app{--sidebar-duration:300ms}
 #app .topbar{background:var(--bg)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
 #app #bnav{background:var(--solid)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
 html body #modal,html body #modal[data-variant]{background:var(--solid);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}
 html body #modalVeil,body:has(#modal.on) #modalVeil{backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
 html body .pop,.notification-popover{background:var(--solid);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}
 .section-loading-overlay{backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px)}
 #app>#sideNav.side{will-change:auto}
 #app>#sideNav.side.on{will-change:transform}
 #sideVeil{backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
 #content>.page-shell.page-enter{animation-duration:220ms!important}
 #content,#modal .m-b,#navList,.settings-content-host{-webkit-overflow-scrolling:touch}
 #modal .m-b{scroll-padding-block:12px}
}
@media(max-width:700px) and (prefers-reduced-motion:reduce){
 :root{--motion-fast:0ms;--motion-normal:0ms;--motion-close:0ms}
 #app{--sidebar-duration:0ms}
 #content>.page-shell.page-enter{animation:none!important}
}

.ov .ov-fact{position:relative;padding-left:48px}
.ov-fact-icon{position:absolute;left:14px;top:12px;color:var(--accent-ink);display:grid;place-items:center}
.ov-fact-icon svg{width:21px;height:21px;stroke-width:1.8}
.ov .ov-kpi{position:relative;--ov-tone:var(--accent-ink);background:color-mix(in srgb,var(--ov-tone) 4%,var(--solid))}
.ov .ov-tone-green{--ov-tone:var(--green)}
.ov .ov-tone-amber{--ov-tone:var(--amber)}
.ov .ov-tone-red{--ov-tone:var(--red)}
.ov .ov-kpi>:is(span,b,small,.prg){margin-left:48px}
.ov-metric-icon{position:absolute;left:12px;top:14px;width:36px;height:36px;display:grid;place-items:center;border-radius:50%;color:var(--ov-tone);background:color-mix(in srgb,var(--ov-tone) 10%,var(--solid))}
.ov-metric-icon svg{width:21px;height:21px;stroke-width:1.8}
.ov .ov-block>h3>svg{width:19px;height:19px;flex:none;color:var(--accent-ink);stroke-width:1.8}
.ov .ov-grid{align-items:stretch;grid-template-columns:minmax(0,1.7fr) minmax(0,1fr)}
.ov .ov-block{min-width:0;display:flex;flex-direction:column}
.ov .ov-empty-state{display:flex;flex:1;align-items:center;justify-content:center;flex-direction:column;gap:10px;padding:18px 14px;text-align:center;min-height:140px;box-sizing:border-box}
.ov-empty-icon{display:grid;place-items:center;flex:none;width:44px;height:44px;border-radius:50%;color:var(--muted);background:color-mix(in srgb,var(--accent-ink) 6%,var(--solid))}
.ov-empty-icon svg{width:23px;height:23px;stroke-width:1.7}
.ov-empty-state p{margin:0;font-size:13px;line-height:1.5;color:var(--muted)}
.ov-empty-state .btn{margin-top:10px}
.ov .ov-empty-wide{min-height:104px;flex-direction:row;text-align:left;gap:16px}
.ov .ov-sum{margin-top:auto}
.ov .ov-sum .ov-total{margin:5px 0 0;padding:10px 12px;border:0;background:color-mix(in srgb,var(--accent-ink) 6%,var(--solid));border-radius:8px}
@media(max-width:1100px){.ov .ov-grid{grid-template-columns:1fr}.ov .ov-empty-state{min-height:130px}}
@media(max-width:700px){
 .ov .ov-kpi>:is(span,b,small,.prg){margin-left:0}
 .ov .ov-kpi>span{padding-left:34px;min-height:28px;display:flex;align-items:center}
 .ov-metric-icon{left:10px;top:10px;width:27px;height:27px}
 .ov-metric-icon svg{width:17px;height:17px}
 .ov .ov-fact{padding-left:36px}
 .ov-fact-icon{left:10px;top:11px}
 .ov-fact-icon svg{width:17px;height:17px}
 .ov .ov-empty-wide{gap:12px}
}

html body #content#content .ov .btn{border-color:transparent!important;box-shadow:none!important;background:var(--field);color:var(--ink);min-height:36px!important;font-size:13px!important;padding:7px 12px!important}
html body #content#content .ov .btn.btn-p{background:var(--accent);color:#fff}
html body #content#content .ov .btn.ov-pay{background:color-mix(in srgb,var(--accent) 13%,var(--solid));color:var(--accent-ink)}
html body #content#content .ov .btn.btn-d{background:color-mix(in srgb,var(--red) 9%,var(--solid));color:var(--red)}
html body #content#content .ov .btn:is(.loading,.ok){color:transparent}
html body #content#content .ov .btn:focus-visible{outline:2px solid var(--accent-ink);outline-offset:3px}
.ov .ov-acts{gap:8px}
.ov .ov-acts .ov-cancel{margin-left:4px}
.ov .ov-facts{border:0;background:color-mix(in srgb,var(--ink) 2%,var(--solid));padding:4px 0;gap:4px}
.ov .ov-fact+.ov-fact{border:0}
.ov .ov-kpi{border-color:transparent}
.ov .ov-empty-state,.ov .ov-sum{border-top:0}
.ov .ov-block>h3{border:0}
.ov .tbl :is(th,td){border-bottom-color:transparent}
.ov .tbl tbody tr+tr td{border-top:1px solid color-mix(in srgb,var(--ink) 5%,transparent)}
html body:has(#content .ov) #topActions .btn{border-color:transparent!important;background:var(--field);color:var(--ink)}
@media(max-width:700px){html body #content#content .ov .btn{min-height:40px!important}.ov .ov-acts .ov-cancel{margin-left:0}.ov .ov-facts{gap:0}}

@media screen{
 :root[data-theme="light"]{--bg:#f7f7f5;--solid:#ffffff;--glass:var(--solid);--glass-2:#ffffff;--card:var(--solid);--field:#f4f4f6;--hover:#f2f2f4;--ink:#1f2023;--ink-2:#4a4e55;--muted:#656a72;--faint:#656a72;--hair:rgba(18,20,26,.07);--stroke:rgba(18,20,26,.10);--stroke-2:rgba(18,20,26,.18);--surface-shadow:0 3px 12px rgba(18,20,26,.045);--sh-card:0 5px 18px rgba(18,20,26,.055)}
 [data-theme="light"] body::after{background:none}
 [data-theme="light"] #app .topbar,[data-theme="light"] #app>#sideNav{background:#ffffff!important}
 [data-theme="light"] #content .tbl thead th{background:#e9e9ec;color:var(--ink-2)}
 [data-theme="light"] #content .tbl tbody tr:hover{background:var(--hover)}
 [data-theme="light"] #content .ov-facts{background:#ebebee}
 [data-theme="light"] #content .ov .ov-kpi{background:color-mix(in srgb,var(--ov-tone) 9%,var(--solid))}
 [data-theme="light"] #content .ov .ov-total{background:color-mix(in srgb,var(--accent) 9%,var(--solid))}
 [data-theme="light"] #content .ov-empty-icon{background:#e8e8eb;color:#63748e}
 [data-theme="light"] #content :is(.home-group,.home-section){background:color-mix(in srgb,var(--solid) 55%,var(--bg))}
}

@media screen{
 html body #content#content .ov :is(.ov-head,.ov-block){border:1px solid color-mix(in srgb,var(--muted) 28%,transparent)}
 html body #content#content .ov .ov-kpi{border:1px solid color-mix(in srgb,var(--ov-tone) 26%,transparent)}
 html body #content#content .ov .ov-facts{border:1px solid color-mix(in srgb,var(--muted) 18%,transparent)}
}

@media screen{
 :root{--surface-contour:color-mix(in srgb,var(--muted) 20%,transparent)}
 html body #content#content :is(.card,.panel,.hero-card,.home-group,.home-metric,.dash-stat,.dir-kpi,.dir-panel,.settings-side,.directory-nav,.directory-panel,.set-kpi,.cash-metric,.cash-ledger,.cash-category,.debt-metric,.debt-panel,.report-metric,.report-panel,.payroll-metric,.payroll-panel,.alerts-metric,.alerts-panel,.orders-workbench,.orders-kpis article,.customer-stat,.customers-summary,.contracts-workspace,.product-list-pane,.product-category-pane,.product-summary,.recipe-card,.warehouse-summary,.warehouse-kpis article,.production-metrics>div,.fleet-summary,.purchases-summary article,.equipment-summary article){box-shadow:inset 0 0 0 1px var(--surface-contour)!important}
 html body #content#content .ov .ov-kpi{box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--ov-tone) 26%,transparent)!important}
 html body :is(#modal,.pop,.notification-popover){box-shadow:inset 0 0 0 1px var(--surface-contour),var(--sh-pop)}
}

@media screen{
 html body #content#content .tbl tr{box-shadow:none!important}
 html body #content#content .ov :is(.ov-head,.ov-block){border-color:transparent}
 html body #content#content .ov .ov-kpi{border-color:transparent;box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--ov-tone) 20%,transparent)!important}
}
@media screen and (max-width:700px){
 html body #content#content table.mobile-record-table tr.mobile-record-row{box-shadow:inset 0 0 0 1px var(--surface-contour)!important}
}

@media screen and (min-width:701px){
 html body #content#content :is(.tbl,.alerts-table,.debt-table) th{height:34px;padding:7px 12px!important;line-height:1.35}
 html body #content#content :is(.tbl,.alerts-table,.debt-table) td:not(:has(.empty,.orders-empty)){height:44px;padding:8px 12px!important;line-height:1.35;vertical-align:middle}
 html body #content#content .tbl td .sub{margin-top:2px;line-height:1.35}
 html body #content#content .orders-table .orders-product-chip{padding:3px 7px}
 html body #content#content .orders-table .badge{padding:4px 8px}
 html body #content#content .orders-table .prg{height:4px;margin-top:4px}
 html body #content#content#content .orders-kpis article{min-height:60px!important;padding:9px 12px!important;gap:10px!important}
 html body #content#content .orders-kpi-icon{width:30px;height:30px}
 html body #content#content .orders-redesign{gap:10px}
 html body #content#content :is(.dir-bar,.product-list-pane .section-toolbar,.product-category-pane .section-toolbar,.orders-toolbar){padding:10px 12px!important;gap:8px}
 html body #content#content :is(.dir-foot,.orders-list-footer,.customer-table footer){padding:8px 12px;gap:8px}
}
@media screen and (max-width:700px){
 html body #content#content#content table.mobile-record-table tr.mobile-record-row{gap:6px 10px;padding:10px}
 html body #content#content#content :is(.dir-table,.purchases-workspace .tbl,.equipment-workspace .tbl,.payroll-workspace .tbl) tr:has(td[data-label]){gap:6px 10px;padding:10px}
 html body #content#content#content .orders-table tr[data-id]{gap:6px 10px!important;padding:10px!important}
 html body #content#content .tbl td .sub{margin-top:2px;line-height:1.35}
}

@media screen{
 :root{color-scheme:dark}
 :root[data-theme="light"]{color-scheme:light}
 :root:not([data-theme="light"]){--solid:#24262b;--card:var(--solid);--glass:rgba(255,255,255,.045);--ink:#f0f2f5;--ink-2:#c7ccd5;--muted:#b0b6c1;--faint:#a5adba;--field:#2a2d33;--field-bg:var(--field);--field-ph:#a5adba;--field-line:rgba(210,220,240,.18);--field-line-h:rgba(210,220,240,.32);--field-dis:#272a30;--hover:#2e323a;--tbl-head:#2c3037;--tbl-line:rgba(210,220,240,.09);--tbl-hover:#2e323a;--ui-tint:rgba(69,168,238,.13);--surface-shadow:none;--surface-contour:rgba(210,220,240,.16)}
 :root:not([data-theme="light"]) body::after{background:none}
 :root:not([data-theme="light"]) .product-status.is-active{color:var(--green);background:var(--green-bg)}
 :root:not([data-theme="light"]) .cash-workspace #kBody>.card .empty{color:var(--muted)}
 :root:not([data-theme="light"]) .cash-workspace #kBody>.card .empty b{color:var(--ink)}
 :root:not([data-theme="light"]) .settings-about a{color:var(--accent-ink)}
 :root:not([data-theme="light"]) :is(.release-heading>span,.order-form-section>header .icd){color:var(--accent-ink)!important}
 :root:not([data-theme="light"]) :is(select,textarea,input){color-scheme:dark}
 :root:not([data-theme="light"]) select option{background:var(--solid);color:var(--ink)}
 :root:not([data-theme="light"]) input:-webkit-autofill{-webkit-box-shadow:0 0 0 100px var(--field-bg) inset!important;-webkit-text-fill-color:var(--ink)!important;caret-color:var(--ink)}
 :root:not([data-theme="light"]) :is(#content,#modal) input::placeholder,:root:not([data-theme="light"]) :is(#content,#modal) textarea::placeholder{color:var(--field-ph);opacity:1}
 :root:not([data-theme="light"]) body #content#content#content .mobile-hero-actions .btn-p{background:var(--field)!important;color:var(--ink)!important;border-color:var(--stroke-2)!important}
}

:root:not([data-theme="light"]) .release-list li::marker{color:var(--accent-ink)}

@media screen and (max-width:700px){html body #content#content .home-group{box-shadow:none!important}}

@media screen {
  #content .production-reference .production-job {
    border:1px solid var(--surface-contour);
    border-radius:12px;
    background:var(--solid);
    overflow:hidden;
    box-shadow:none;
  }
  #content .production-reference .production-job .plan-row {
    border:0;
    border-radius:0;
    margin:0;
    background:transparent;
  }
  #content .production-reference .production-job-actions {
    margin:0;
    padding:8px 12px;
    border-top:1px solid var(--surface-contour);
    background:color-mix(in srgb,var(--field) 45%,var(--solid));
  }
  #content .production-reference .production-jobs {gap:12px}
  #content .production-reference .production-toolbar {border-color:var(--surface-contour)}
  #content .production-reference .production-plant-heading {
    padding-bottom:10px;
    border-bottom:1px solid var(--surface-contour);
    margin-bottom:12px;
  }
}

@media screen {
  html body #toast {z-index:120;isolation:isolate;pointer-events:none}
}

@media screen {
  html body :is(#content,#modal#modal#modal,#pop) select:not([multiple]):not([size]) {
    padding-right:34px!important;
    text-overflow:ellipsis;
  }
}

@media screen {
  #content .production-reference .production-toolbar {gap:12px}
  #content .production-reference .production-metrics {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    flex:1 1 480px;
    width:100%;
    max-width:600px;
    min-width:0;
    gap:10px;
    border:0;
    padding:0;
  }
  #content .production-reference .production-metrics>div {
    display:flex;
    align-items:center;
    min-width:0;
    gap:10px;
    padding:10px 12px;
    border:0;
    border-radius:12px;
    background:color-mix(in srgb,var(--accent) 4%,var(--solid));
  }
  #content .production-reference .production-metrics>div>svg {
    display:block;
    width:34px;
    height:34px;
    padding:7px;
    border-radius:10px;
  }
  #content .production-reference .production-metrics>div:nth-child(2)>svg {color:var(--green);background:var(--green-bg)}
  #content .production-reference .production-metrics>div:nth-child(3)>svg {color:var(--accent-ink);background:var(--ui-tint)}
  #content .production-reference .production-metrics span {min-width:0;line-height:1.4}
  #content .production-reference .production-metrics strong {margin-top:3px;white-space:nowrap}
}
@media screen and (max-width:700px) {
  #content .production-reference .production-metrics {max-width:none;gap:8px}
  #content .production-reference .production-metrics>div {padding:9px 8px;gap:0}
  #content .production-reference .production-metrics>div>svg {display:none}
  #content#content .production-reference .production-metrics span {font-size:12px!important}
}
@media screen and (max-width:380px) {
  #content .production-reference .production-metrics {grid-template-columns:1fr;gap:6px}
  #content .production-reference .production-metrics>div {padding:8px 10px}
  #content .production-reference .production-metrics>div>span {display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%}
  #content .production-reference .production-metrics strong {margin:0}
}

@media screen {
  #content [data-tab-pane] {min-height:240px;overflow-anchor:none}
  #content .tab-pane-enter {animation:tabPaneReveal 220ms cubic-bezier(.22,.8,.2,1) both}
}
@keyframes tabPaneReveal {from{opacity:0}to{opacity:1}}
@media screen and (max-width:700px){#content [data-tab-pane]{min-height:200px}}
@media (prefers-reduced-motion:reduce){#content .tab-pane-enter{animation:none!important}}

@page {size:A4;margin:14mm}
@media print {
  html,body {height:auto!important;overflow:visible!important;background:#fff!important;color:#182238!important;zoom:1!important}
  body> :not(#printArea) {display:none!important}
  #printArea {display:block!important;position:static!important;width:100%!important;padding:0!important;font-family:Arial,sans-serif;font-size:10pt;line-height:1.6;color:#182238!important;background:#fff!important}
  #printArea * {box-sizing:border-box;box-shadow:none!important;text-shadow:none!important;animation:none!important;transition:none!important}
  #printArea .receipt {border-top:4px solid #4b5bb4;padding-top:20px}
  #printArea .receipt-header {display:flex;align-items:flex-start;justify-content:space-between;gap:24px;padding-bottom:20px;margin-bottom:18px;border-bottom:1px solid #cad1df;break-inside:avoid}
  #printArea .receipt-brand {display:flex;align-items:center;gap:12px;max-width:48%}
  #printArea .receipt-brand img {width:42px;height:42px;flex-shrink:0}
  #printArea .receipt-brand strong {display:block;font-size:14pt;line-height:1.3}
  #printArea .receipt-brand span {display:block;margin-top:4px;color:#526079;font-size:9pt}
  #printArea .receipt-id {text-align:right;max-width:52%;overflow-wrap:anywhere}
  #printArea .receipt-id h1 {font-size:10pt;letter-spacing:.7px;line-height:1.4;margin:0;color:#526079}
  #printArea .receipt-id>span {display:block;font-size:18pt;font-weight:700;line-height:1.4;margin-top:5px;color:#182238}
  #printArea .receipt-body>div:not(.sign) {padding:7px 0;line-height:1.8;overflow-wrap:anywhere}
  #printArea .receipt-body>div b {color:#526079}
  #printArea h3 {font-size:10pt;margin:18px 0 8px}
  #printArea table {width:100%;border-collapse:collapse;margin:18px 0 0;table-layout:auto}
  #printArea th,#printArea td {border:0;border-bottom:1px solid #e4e4e7;padding:10px 11px;font-size:10pt;text-align:left;vertical-align:top;line-height:1.5;overflow-wrap:anywhere}
  #printArea thead th {background:#f1f2f8!important;color:#344467;border-top:1px solid #cad1df;border-bottom:1px solid #cad1df;font-size:9pt;font-weight:700}
  #printArea tbody th {color:#526079;font-weight:400;background:#f8f8f9!important}
  #printArea .r {text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
  #printArea tr {break-inside:avoid}
  #printArea thead {display:table-header-group}
  #printArea tfoot {display:table-row-group;break-inside:avoid}
  #printArea tfoot td {border:0;padding-top:10px;padding-bottom:10px}
  #printArea tfoot tr:last-child td,#printArea .receipt-amount-row>* {background:#f1f2f8!important;border-top:2px solid #4b5bb4;border-bottom:1px solid #cad1df;color:#182238;font-weight:700}
  #printArea tfoot tr:last-child td:last-child,#printArea .receipt-amount-row td {font-size:16pt;font-variant-numeric:tabular-nums}
  #printArea .sign {display:flex;justify-content:space-between;gap:32px;margin-top:34px;break-inside:avoid}
  #printArea .sign>div {flex:1;max-width:45%;display:flex;flex-direction:column;gap:5px;color:#526079;font-size:9pt}
  #printArea .sign strong {min-height:20px;font-size:10pt;color:#182238;font-weight:400}
  #printArea .sign i {display:block;border-top:1px solid #8c99ae;width:100%}
  #printArea .receipt-footer {display:flex;justify-content:space-between;gap:16px;border-top:1px solid #e4e4e7;margin-top:24px;padding-top:9px;font-size:8pt;color:#66748c;break-inside:avoid}
  #printArea .receipt-header,#printArea thead,#printArea tfoot,#printArea .receipt-amount-row {print-color-adjust:exact;-webkit-print-color-adjust:exact}
}

@page excelWaybill {size:A4 landscape;margin:0}
@media print {
  #printArea:has(.excel-waybill-sheet) {page:excelWaybill;width:297mm!important}
  #printArea .excel-waybill-sheet {position:relative;width:297mm;height:210mm;overflow:hidden;break-inside:avoid;break-after:page;color:#000;background:#fff}
  #printArea .excel-waybill-sheet:last-child {break-after:auto}
  #printArea .excel-waybill-background {display:block;position:absolute;inset:0;width:100%;height:100%;max-width:none}
  #printArea .excel-waybill-values {position:absolute;inset:0}
  #printArea .excel-waybill-field {position:absolute;display:flex;align-items:center;box-sizing:border-box;border:1px solid transparent;background-clip:padding-box;padding:0 4px;font-family:"Aptos Narrow","Arial Narrow",Arial,sans-serif;line-height:1;overflow:hidden;print-color-adjust:exact;-webkit-print-color-adjust:exact}
  #printArea .excel-waybill-field span {display:inline-block;flex-shrink:0;white-space:nowrap;transform-origin:center}
  #printArea .excel-waybill-field[style*="flex-start"] span {transform-origin:left}
  #printArea .excel-waybill-field[style*="flex-end"] span {transform-origin:right}
}

@media screen {
 #content .home-date-control {position:relative;display:inline-flex;align-items:center;gap:7px;cursor:pointer;min-height:36px;white-space:nowrap;border:1px solid var(--hair);background:var(--solid)}
 #content .home-date-control input {position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;min-height:0!important;padding:0!important}
 #content .home-date-control:focus-within {outline:2px solid var(--accent);outline-offset:2px}
 #content .home-today {min-height:36px}
}

@media screen and (max-width:700px) {
 #content .has-mobile-hero .home-heading .home-actions {display:flex;max-width:100%;gap:7px}
 #content .has-mobile-hero .home-heading .home-actions>.btn:not(.home-today) {display:none}
}

@media screen {
 #content button[data-more],
 #content .tbl button.icon-btn,
 #content .cash-table button.icon-btn {
  border:1px solid var(--hair)!important;
  border-radius:8px!important;
  background:var(--field)!important;
  color:var(--ink)!important;
  box-shadow:none!important;
 }
 #content button[data-more]:hover,
 #content .tbl button.icon-btn:hover,
 #content .cash-table button.icon-btn:hover {
  border-color:var(--accent-ink)!important;
  background:var(--ui-tint)!important;
  color:var(--accent-ink)!important;
 }
}

@media screen {
 #content .cash-unified .cash-ledger-title,#content .cash-ledger-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px}
 #content .cash-ledger-title h3{margin:0;font-size:15px}
 #content .cash-ledger-title>span,#content .cash-ledger-footer{font-size:12px;color:var(--muted)}
 #content .cash-ledger-tools{display:grid;grid-template-columns:minmax(200px,1fr) 145px 165px 155px auto;gap:8px;padding:0 16px 12px}
 #content .cash-ledger-tools .search{width:100%;margin:0;position:relative}
 #content .cash-ledger-tools .search svg{position:absolute;left:12px;top:50%;transform:translateY(-50%);width:16px;height:16px;color:var(--muted)}
 #content .cash-ledger-tools .search input{width:100%;padding-left:36px!important}
 #content .cash-ledger-tools select{width:100%;min-width:0}
 #content .cash-unified .cash-table{table-layout:auto}
 #content .cash-unified .cash-table td{overflow-wrap:anywhere}
 #content .cash-unified .cash-table td:nth-child(4){white-space:nowrap}
 #content .cash-ledger-categories{margin-top:12px;border:1px solid var(--hair);border-radius:12px;background:var(--solid)}
 #content .cash-ledger-categories>summary{cursor:pointer;padding:12px 16px;font-weight:600}
 #content .cash-unified #cashRows[aria-busy="true"]{opacity:.65;transition:opacity .18s ease}
}
@media screen and (max-width:1000px){#content .cash-ledger-tools{grid-template-columns:repeat(3,minmax(0,1fr))}#content .cash-ledger-tools .search{grid-column:1/-1}}
@media screen and (max-width:640px){
 #content .cash-ledger-tools{grid-template-columns:repeat(2,minmax(0,1fr));padding:0 10px 10px}
 #content .cash-unified .cash-table,#content .cash-unified .cash-table tbody{display:block;width:100%;min-width:0}
 #content .cash-unified .cash-table thead{display:none}
 #content .cash-unified .cash-table tr[data-ledger-row]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));position:relative;gap:10px;padding:12px;border-bottom:1px solid var(--hair)}
 html body #content#content .cash-unified .cash-table tr[data-ledger-row]>td{display:block;border:0!important;padding:0!important;min-width:0;min-height:0!important;height:auto!important;width:auto!important;font-size:12px;white-space:normal}
 html body #content#content .cash-unified .cash-table tr[data-ledger-row]>td:before{content:attr(data-label);display:block;font-size:10px;color:var(--muted);margin-bottom:3px}
 html body #content#content .cash-unified .cash-table tr[data-ledger-row]>td:first-child{grid-column:1/-1;padding-right:40px!important}
 html body #content#content .cash-unified .cash-table tr[data-ledger-row]>td:last-child{position:absolute;right:12px;top:12px;box-shadow:none}
 html body #content#content .cash-unified .cash-table tr[data-ledger-row]>td:first-child:before,html body #content#content .cash-unified .cash-table tr[data-ledger-row]>td:last-child:before{display:none}
 #content .cash-unified .cash-table .cash-money{font-size:14px!important}
 html body #content#content .cash-unified .cash-table tr[data-ledger-row]>td:nth-child(4){text-align:left}
}

@media screen and (max-width:640px){#content .cash-unified #cashReset{grid-column:auto;justify-self:stretch}}

@media screen {
 html body #modal[data-variant="transport-dispatch"]{width:min(660px,calc(100vw / 1.1 - 28px))!important}
 html body #modal[data-variant="transport-dispatch"] #modalB{background:var(--solid)!important}
 #modal[data-variant="transport-dispatch"] .dispatch-layout{display:grid;grid-template-columns:minmax(0,1fr) 190px;gap:18px}
 #modal[data-variant="transport-dispatch"] .dispatch-order,#modal[data-variant="transport-dispatch"] .dispatch-note{grid-column:1/-1;min-width:0}
 #modal[data-variant="transport-dispatch"] .dispatch-info{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:14px;margin-top:14px;padding:12px;border-radius:10px;background:var(--field);border:1px solid var(--hair)}
 #modal[data-variant="transport-dispatch"] .dispatch-info>div{display:flex;gap:8px;min-width:0;align-items:flex-start}
 #modal[data-variant="transport-dispatch"] .dispatch-info svg{width:17px;height:17px;flex:none;color:var(--accent-ink);margin-top:2px}
 #modal[data-variant="transport-dispatch"] .dispatch-info span{display:grid;gap:4px;min-width:0}
 #modal[data-variant="transport-dispatch"] .dispatch-info small{color:var(--muted);font-size:11px;line-height:1.4;overflow-wrap:anywhere}
 #modal[data-variant="transport-dispatch"] .dispatch-info b{font-size:12px;line-height:1.4;overflow-wrap:anywhere}
 #modal[data-variant="transport-dispatch"] .dispatch-transport{min-width:0}
 html body #modal[data-variant="transport-dispatch"] .dispatch-transport h3{display:flex;align-items:center;gap:8px;font-size:13px!important;margin:0 0 12px!important;padding:0!important;border:0!important}
 #modal[data-variant="transport-dispatch"] .dispatch-transport h3 svg{width:18px;height:18px;color:var(--accent-ink)}
 #modal[data-variant="transport-dispatch"] .dispatch-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 #modal[data-variant="transport-dispatch"] .dispatch-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0 0!important}
 #modal[data-variant="transport-dispatch"] .dispatch-options .fld:first-child{grid-column:1/-1}
 #modal[data-variant="transport-dispatch"] .dispatch-volume{border:1px solid var(--hair);border-radius:12px;padding:16px 14px;background:var(--field);align-self:start;margin-top:30px;display:flex;align-items:center;min-width:0}
 #modal[data-variant="transport-dispatch"] .dispatch-volume>.fld{width:100%}
 #modal[data-variant="transport-dispatch"] .dispatch-quantity{position:relative}
 html body #modal#modal[data-variant="transport-dispatch"] #modalB #dQ{width:100%;font-size:26px!important;font-weight:700;height:58px!important;min-height:58px!important;padding:10px 40px 10px 12px!important;font-variant-numeric:tabular-nums}
 #modal[data-variant="transport-dispatch"] .dispatch-quantity>span{position:absolute;right:12px;top:50%;transform:translateY(-50%);font-size:13px;color:var(--muted);pointer-events:none}
 #modal[data-variant="transport-dispatch"] .dispatch-hint{font-size:11px;color:var(--muted);margin-top:9px;line-height:1.5}
 #modal[data-variant="transport-dispatch"] .dispatch-note label span{font-weight:400;color:var(--muted)}
 html body #modal[data-variant="transport-dispatch"] #modalB select{padding-right:32px!important;min-width:0;width:100%;text-overflow:ellipsis}
 html body #modal[data-variant="transport-dispatch"] #modalF{background:var(--field)!important;border-top:1px solid var(--hair)!important}
 @media(max-width:700px){
  #modal[data-variant="transport-dispatch"] .dispatch-layout{grid-template-columns:minmax(0,1fr);gap:14px}
  #modal[data-variant="transport-dispatch"] .dispatch-volume{padding:12px;margin-top:0}
  #modal[data-variant="transport-dispatch"] .dispatch-info{grid-template-columns:1.2fr 1fr;gap:10px;padding:10px}
  #modal[data-variant="transport-dispatch"] .dispatch-info>div:last-child{grid-column:1/-1}
  #modal[data-variant="transport-dispatch"] .dispatch-info>div:last-child span{display:flex;align-items:center;gap:8px}
  html body #modal#modal[data-variant="transport-dispatch"] #modalB #dQ{height:48px!important;min-height:48px!important;font-size:23px!important}
 }
}

@media screen {
 #content .debt-workspace{gap:18px}
 #content .debt-summary{gap:12px}
 #content .debt-metric{position:relative;align-items:flex-start;padding:16px;min-height:106px;box-shadow:none;border-radius:13px;overflow:hidden}
 #content .debt-metric:before{content:"";position:absolute;left:0;top:18px;bottom:18px;width:3px;border-radius:0 3px 3px 0;background:var(--accent-ink);opacity:.65}
 #content .debt-tone-red{background:color-mix(in srgb,var(--red-bg) 38%,var(--solid))}
 #content .debt-tone-red:before{background:var(--red)}
 #content .debt-tone-green{background:color-mix(in srgb,var(--green-bg) 38%,var(--solid))}
 #content .debt-tone-green:before{background:var(--green)}
 #content .debt-tone-amber{background:color-mix(in srgb,var(--amber-bg) 38%,var(--solid))}
 #content .debt-tone-amber:before{background:var(--amber)}
 #content .debt-tone-blue{background:color-mix(in srgb,var(--ui-tint) 45%,var(--solid))}
 html body #content#content .debt-metric strong{font-size:25px!important;letter-spacing:-.6px;margin:7px 0 5px!important}
 #content .debt-panel{box-shadow:none}
 #content .debt-list-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px 18px 10px}
 html body #content#content .debt-list-heading h3{margin:0!important;padding:0!important;border:0!important;font-size:15px!important}
 #content .debt-list-heading>span{font-variant-numeric:tabular-nums;color:var(--accent-ink);font-size:14px;font-weight:700}
 #content .debt-tabs{border:0;padding:0 18px 4px}
 #content .debt-tabs>.tabs{gap:5px!important;padding:4px!important;background:var(--field)!important;border:1px solid var(--hair)!important;border-radius:10px!important;width:fit-content!important}
 #content .debt-tabs>.tabs button{padding:8px 14px!important;border:1px solid transparent!important;border-radius:7px!important;min-height:34px!important}
 #content .debt-tabs>.tabs button.on{background:var(--solid)!important;border-color:var(--hair)!important;color:var(--accent-ink)!important;box-shadow:0 1px 3px #00000008!important}
 #content .debt-toolbar{padding:12px 18px 16px}
 html body #content#content .debt-toolbar input{padding-left:35px!important}
 html body #content#content .debt-toolbar select{padding-right:32px!important}
 html body #content#content .debt-table th{font-size:10px!important;padding:10px 14px!important;color:var(--muted);background:var(--field)}
 html body #content#content .debt-table td{padding:13px 14px!important;border-bottom:1px solid var(--hair);height:auto!important;min-height:0!important}
 #content .debt-table tbody tr:last-child td{border-bottom:0}
 #content .debt-table tbody tr:hover{background:var(--field)}
 #content .debt-table td.num b{font-size:14px;font-weight:700}
 #content .debt-table .actions .btn:first-child{background:var(--ui-tint);color:var(--accent-ink);border:1px solid var(--hair)}
 #content .debt-footer{padding:10px 18px;background:var(--field)}
 #content .debt-aging>header{padding:14px 18px 10px}
 #content .debt-aging-summary{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;padding:4px 18px 16px}
 #content .debt-bucket{display:grid;gap:8px;padding:12px;background:var(--field);border:1px solid var(--hair);border-radius:9px;min-width:0}
 #content .debt-bucket>span{color:var(--muted);font-size:11px}
 #content .debt-bucket>b{font-size:15px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;color:var(--muted)}
 #content .debt-bucket.has-value{background:var(--ui-tint)}
 #content .debt-bucket.has-value>b{color:var(--ink)}
 @media(max-width:1000px){#content .debt-aging-summary{grid-template-columns:repeat(3,minmax(0,1fr))}}
 @media(max-width:640px){
  #content .debt-workspace{gap:12px}
  #content .debt-summary{gap:8px}
  #content .debt-metric{padding:12px;gap:8px;min-height:120px}
  html body #content#content .debt-metric strong{font-size:21px!important}
  #content .debt-list-heading{padding:14px 12px 10px}
  #content .debt-list-heading>span{font-size:12px}
  #content .debt-tabs{padding:0 12px}
  #content .debt-tabs>.tabs{width:100%!important;gap:2px!important}
  #content .debt-tabs>.tabs button{flex:1;padding:8px 5px!important;font-size:11px!important}
  #content .debt-toolbar{padding:12px;grid-template-columns:minmax(0,1fr) auto}
  html body #content#content .debt-table tr:has(td[data-label]){gap:12px;padding:14px 12px}
  html body #content#content .debt-table td[data-label]{padding:0!important;min-height:0!important;height:auto!important;border:0!important}
  #content .debt-table td[data-label]:before{font-size:10px;color:var(--muted)}
  #content .debt-table td[data-label="Qarz"],#content .debt-table td[data-label="Avans"]{background:var(--field);padding:9px!important;border-radius:8px}
  #content .debt-table .actions .btn{flex:1;justify-content:center}
  #content .debt-aging-summary{grid-template-columns:repeat(2,minmax(0,1fr));padding:4px 12px 14px}
  #content .debt-aging>header{padding:14px 12px 10px}
 }
}

@media screen {
 #content .debt-aging-details{border-top:1px solid var(--hair)}
 #content .debt-aging-details>summary{padding:12px 18px;color:var(--accent-ink);font-size:12px;font-weight:600;cursor:pointer}
 #content .debt-person{min-width:140px}
 html body #content#content .debt-table td{padding:12px 10px!important}
 html body #content#content .debt-table th{padding:10px!important}
 #content .debt-table .actions .btn{font-size:11px!important;padding:7px 9px!important}
 @media(max-width:640px){
  #content .debt-aging-details>summary{padding:12px}
  html body #content#content .debt-table td[data-label]{padding:0!important}
  html body #content#content .debt-table td[data-label="Qarz"],html body #content#content .debt-table td[data-label="Avans"]{padding:9px!important}
 }
}

@media screen {
 html body #modal[data-variant="sverka"]{width:min(940px,calc(100vw / 1.1 - 32px))!important;border-radius:16px!important}
 html body #modal[data-variant="sverka"] #modalH{padding:18px!important}
 #modal[data-variant="sverka"] .modal-heading{display:flex;align-items:center;gap:12px;min-width:0}
 #modal[data-variant="sverka"] .modal-heading-icon{display:grid;place-items:center;background:var(--ui-tint);color:var(--accent-ink);width:40px;height:40px;border-radius:11px;flex:none}
 #modal[data-variant="sverka"] .modal-heading-icon svg{width:22px;height:22px}
 html body #modal[data-variant="sverka"] #modalTitle{font-size:20px!important}
 html body #modal[data-variant="sverka"] #modalB{padding:18px!important;background:var(--solid)!important}
 #modal[data-variant="sverka"] .sverka-layout{display:grid;gap:16px;min-width:0}
 #modal[data-variant="sverka"] .sverka-period{display:flex;gap:12px;align-items:flex-end;padding:12px;border:1px solid var(--hair);border-radius:11px;background:var(--field)}
 #modal[data-variant="sverka"] .sverka-period .fld{margin:0!important;min-width:0;flex:0 1 190px}
 #modal[data-variant="sverka"] .sverka-period label{font-size:11px;color:var(--muted)}
 #modal[data-variant="sverka"] .sverka-period input{width:100%;min-width:0}
 #modal[data-variant="sverka"] .sverka-period .btn{margin-left:auto}
 #modal[data-variant="sverka"] .sverka-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
 #modal[data-variant="sverka"] .sverka-metric{border:1px solid var(--hair);border-radius:11px;background:var(--field);padding:14px;min-width:0;display:grid;gap:7px}
 #modal[data-variant="sverka"] .sverka-metric>span{font-size:11px;color:var(--muted)}
 #modal[data-variant="sverka"] .sverka-metric>strong{font-size:22px;line-height:1.3;letter-spacing:-.5px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
 #modal[data-variant="sverka"] .sverka-metric>small{color:var(--muted);font-size:10px}
 #modal[data-variant="sverka"] .sverka-metric.red{background:color-mix(in srgb,var(--red-bg) 48%,var(--solid))}
 #modal[data-variant="sverka"] .sverka-metric.red>strong{color:var(--red)}
 #modal[data-variant="sverka"] .sverka-metric.green{background:color-mix(in srgb,var(--green-bg) 40%,var(--solid))}
 #modal[data-variant="sverka"] .sverka-metric.green>strong{color:var(--green)}
 #modal[data-variant="sverka"] .sverka-ledger-heading{display:flex;justify-content:space-between;gap:12px;align-items:center}
 #modal[data-variant="sverka"] .sverka-ledger-heading>b{font-size:13px}
 #modal[data-variant="sverka"] .sverka-ledger-heading>span{font-size:11px;color:var(--muted)}
 #modal[data-variant="sverka"] .sverka-ledger-wrap{overflow:auto;border:1px solid var(--hair);border-radius:11px}
 #modal[data-variant="sverka"] .sverka-ledger{border-collapse:collapse;width:100%;font-size:12px;text-align:left}
 html body #modal[data-variant="sverka"] .sverka-ledger :is(th,td){padding:12px!important;border:0;border-bottom:1px solid var(--hair);min-height:0!important;height:auto!important;vertical-align:middle}
 #modal[data-variant="sverka"] .sverka-ledger th{background:var(--field);font-size:10px;color:var(--muted);text-transform:uppercase;white-space:nowrap}
 #modal[data-variant="sverka"] .sverka-ledger .num{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
 #modal[data-variant="sverka"] .sverka-entry td:nth-child(3){color:var(--muted);font-size:11px;overflow-wrap:anywhere}
 #modal[data-variant="sverka"] .sverka-opening{background:var(--field);color:var(--muted);font-size:11px}
 #modal[data-variant="sverka"] .sverka-ledger tfoot{background:var(--ui-tint);font-weight:700}
 #modal[data-variant="sverka"] .sverka-ledger tfoot td{border-bottom:0!important}
 #modal[data-variant="sverka"] .sverka-empty{text-align:center;color:var(--muted)}
 html body #modal[data-variant="sverka"] #modalF{padding:12px 18px!important;background:var(--field)!important;border-top:1px solid var(--hair)}
 @media(max-width:640px){
  html body #modal[data-variant="sverka"] #modalH,html body #modal[data-variant="sverka"] #modalB{padding:14px!important}
  #modal[data-variant="sverka"] .sverka-period{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  #modal[data-variant="sverka"] .sverka-period .btn{grid-column:1/-1;width:100%;margin:0;justify-content:center}
  #modal[data-variant="sverka"] .sverka-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  #modal[data-variant="sverka"] .sverka-metric{padding:11px}
  #modal[data-variant="sverka"] .sverka-metric>strong{font-size:19px}
  #modal[data-variant="sverka"] .sverka-ledger-heading{align-items:flex-start;flex-direction:column;gap:5px}
  #modal[data-variant="sverka"] .sverka-ledger thead{display:none}
  #modal[data-variant="sverka"] .sverka-ledger,#modal[data-variant="sverka"] .sverka-ledger tbody{display:block}
  #modal[data-variant="sverka"] .sverka-entry{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:12px;border-bottom:1px solid var(--hair)}
  html body #modal[data-variant="sverka"] .sverka-entry td{display:block;padding:0!important;border:0!important;text-align:left!important;white-space:normal;overflow-wrap:anywhere}
  #modal[data-variant="sverka"] .sverka-entry td:before{content:attr(data-label);display:block;font-size:10px;color:var(--muted);margin-bottom:4px}
  #modal[data-variant="sverka"] .sverka-entry td:nth-child(3){grid-column:1/-1}
  #modal[data-variant="sverka"] .sverka-opening{display:flex;justify-content:space-between;gap:10px}
  #modal[data-variant="sverka"] .sverka-ledger tfoot{display:none}
 }
}

@page reconciliation {size:A4 portrait;margin:16mm 13mm 16mm 18mm}
@media print {
 html body #printArea:has(.reconciliation-document){page:reconciliation;width:auto!important;margin:0!important;padding:0!important;font-family:"Times New Roman",serif!important;font-size:11pt!important;color:#000!important;line-height:1.4}
 #printArea .reconciliation-document{color:#000!important;background:#fff!important}
 #printArea .reconciliation-title{text-align:center;border-bottom:2px solid #000;padding-bottom:12px;margin-bottom:14px;break-inside:avoid}
 html body #printArea .reconciliation-title h1{font-family:"Times New Roman",serif!important;font-size:15pt!important;font-weight:700;line-height:1.4;letter-spacing:.3px;margin:0!important;color:#000!important}
 #printArea .reconciliation-title p{margin:7px 0 0;font-size:11pt}
 #printArea .reconciliation-date{display:flex;justify-content:space-between;font-size:10pt;margin-bottom:14px}
 #printArea .reconciliation-intro{text-align:justify;margin:0 0 15px;line-height:1.55}
 #printArea .reconciliation-parties{display:grid;grid-template-columns:1fr 1fr;border:1px solid #000;margin:0 0 16px;break-inside:avoid}
 #printArea .reconciliation-parties>div{padding:10px 12px;display:grid;gap:5px}
 #printArea .reconciliation-parties>div+div{border-left:1px solid #000}
 #printArea .reconciliation-parties small{font-size:8pt;letter-spacing:.7px}
 #printArea .reconciliation-parties strong{font-size:11pt}
 html body #printArea .reconciliation-table{width:100%;border-collapse:collapse;table-layout:fixed;margin:0;font-family:"Times New Roman",serif;font-size:9pt}
 html body #printArea .reconciliation-table :is(td,th){border:1px solid #333!important;padding:7px 5px!important;color:#000!important;background:#fff!important;vertical-align:middle;line-height:1.35;font-size:9pt!important;overflow-wrap:anywhere}
 html body #printArea .reconciliation-table th{font-weight:700;text-align:center;background:#f0f0f0!important}
 #printArea .reconciliation-table .amount{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
 #printArea .reconciliation-table .center{text-align:center}
 #printArea .reconciliation-table .reconciliation-total{font-weight:700}
 html body #printArea .reconciliation-table .closing td{border-top:2px solid #000!important;font-size:10pt!important}
 #printArea .reconciliation-table thead{display:table-header-group}
 #printArea .reconciliation-table tfoot{display:table-row-group}
 #printArea .reconciliation-table tr{break-inside:avoid}
 #printArea .reconciliation-conclusion{margin:18px 0 0;break-inside:avoid}
 html body #printArea .reconciliation-conclusion h2{font-size:11pt!important;font-family:"Times New Roman",serif!important;text-transform:none;margin:0 0 6px!important;border:0!important;padding:0!important;color:#000!important}
 #printArea .reconciliation-conclusion p{margin:0;text-align:justify;line-height:1.6}
 #printArea .reconciliation-signatures{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:28px;break-inside:avoid}
 #printArea .reconciliation-signatures>div{min-width:0}
 #printArea .reconciliation-signatures strong{display:block;min-height:32px;margin-bottom:14px;font-size:11pt}
 #printArea .reconciliation-signatures p{display:flex;gap:6px;align-items:flex-end;margin:18px 0;font-size:10pt}
 #printArea .signature-line{flex:1;border-bottom:1px solid #000;min-height:12px}
 #printArea .signature-bottom{display:flex;justify-content:space-between;gap:8px;margin-top:24px;font-size:10pt}
}

@media screen {
 html body #modal[data-variant="customer-reference"]{width:min(860px,calc(100vw / 1.1 - 32px))!important;border-radius:16px!important}
 html body #modal[data-variant="customer-reference"] #modalH{padding:18px!important;border-bottom:1px solid var(--hair)!important}
 html body #modal[data-variant="customer-reference"] #modalB{padding:16px!important;background:var(--field)!important}
 #modal[data-variant="customer-reference"] .customer-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start}
 #modal[data-variant="customer-reference"] .customer-form-section{padding:14px;min-width:0;border:1px solid var(--hair);border-radius:12px;background:var(--solid)}
 #modal[data-variant="customer-reference"] .customer-form-section:last-child{grid-column:1/-1}
 #modal[data-variant="customer-reference"] .customer-form-section h4{font-size:13px;margin:0 0 14px!important;gap:8px}
 #modal[data-variant="customer-reference"] .customer-form-section h4:after{display:none}
 #modal[data-variant="customer-reference"] .customer-form-section h4 svg{width:18px;height:18px}
 html body #modal[data-variant="customer-reference"] .customer-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 html body #modal[data-variant="customer-reference"] .customer-form-grid .fld{grid-column:auto!important;display:flex;align-self:start;gap:0}
 html body #modal[data-variant="customer-reference"] .customer-form-grid .fld.customer-full{grid-column:1/-1!important}
 html body #modal[data-variant="customer-reference"] .customer-form-section:last-child .customer-form-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
 html body #modal[data-variant="customer-reference"] #modalB .fld :is(input,select,textarea){margin-top:0!important;padding:9px 11px!important}
 html body #modal[data-variant="customer-reference"] #modalB .fld select{padding-right:30px!important}
 html body #modal[data-variant="customer-reference"] #modalB .fld label{font-size:11px!important;line-height:1.5;margin:0 0 6px!important;min-height:0!important}
 html body #modal[data-variant="customer-reference"] #modalB textarea{min-height:62px!important;height:62px;resize:vertical}
 #modal[data-variant="customer-reference"] .customer-field-hint{font-size:10px;color:var(--muted);line-height:1.4;margin-top:5px}
 html body #modal[data-variant="customer-reference"] #modalF{padding:12px 18px!important;border-top:1px solid var(--hair)!important;background:var(--solid)!important}
 @media(max-width:700px){
  html body #modal[data-variant="customer-reference"] #modalH{padding:14px!important}
  html body #modal[data-variant="customer-reference"] #modalB{padding:12px!important}
  #modal[data-variant="customer-reference"] .customer-form{grid-template-columns:minmax(0,1fr);gap:12px}
  #modal[data-variant="customer-reference"] .customer-form-section{padding:12px}
  html body #modal[data-variant="customer-reference"] .customer-form-section:last-child .customer-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  html body #modal[data-variant="customer-reference"] .customer-form-grid{gap:12px 10px}
 }
}

@media screen {
 html body #modal[data-variant="customer-opening"]{width:min(520px,calc(100vw / 1.1 - 32px))!important;border-radius:16px!important}
 #modal[data-variant="customer-opening"] .modal-heading{display:flex;align-items:center;gap:12px}
 #modal[data-variant="customer-opening"] .modal-heading-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:var(--ui-tint);color:var(--accent-ink);flex:none}
 #modal[data-variant="customer-opening"] .modal-heading-icon svg{width:20px;height:20px}
 html body #modal[data-variant="customer-opening"] #modalH,html body #modal[data-variant="customer-opening"] #modalB{padding:18px!important}
 #modal[data-variant="customer-opening"] #modalB>.note{border:1px solid var(--hair);border-radius:10px;background:var(--field);padding:12px;font-size:11px;line-height:1.6;margin-top:14px}
 html body #modal[data-variant="customer-opening"] #modalF{background:var(--field)!important;padding:12px 18px!important;border-top:1px solid var(--hair)}
}

@media screen {
 #content .customer-balance-card:before,#content .customer-balance-card:after{pointer-events:none}
 #content .customer-balance-card .actions{display:flex;flex-wrap:wrap;gap:8px;position:relative;z-index:1}
 #content .customer-balance-card .actions .btn{position:relative;z-index:1}
}

@media screen {
 html body #content#content .warehouse-reference .warehouse-overview{display:block;padding:0!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;margin:0 0 16px!important}
 html body #content#content .warehouse-overview .warehouse-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;width:100%;padding:0!important}
 html body #content#content .warehouse-overview .warehouse-overview-card{display:flex;align-items:center;gap:12px;min-width:0;padding:16px!important;border:1px solid var(--hair)!important;border-radius:12px!important;box-shadow:none!important;background:var(--solid);min-height:88px;box-sizing:border-box}
 #content .warehouse-overview-icon{display:grid;place-items:center;flex:none;width:38px;height:38px;border-radius:11px;color:var(--accent-ink);background:var(--ui-tint)}
 #content .warehouse-overview-icon svg{width:20px;height:20px}
 #content .warehouse-overview-copy{min-width:0;display:grid;gap:7px}
 html body #content#content .warehouse-overview-copy>span{font-size:12px!important;line-height:1.4;color:var(--muted)}
 html body #content#content .warehouse-overview .warehouse-kpis strong{display:flex;align-items:baseline;flex-wrap:wrap;gap:5px;font-size:24px!important;line-height:1.25!important;margin:0!important;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;letter-spacing:-.4px}
 #content .warehouse-overview .warehouse-kpis strong small{font-size:11px;color:var(--muted);font-weight:400;letter-spacing:0}
 html body #content#content .warehouse-overview .tone-blue{background:color-mix(in srgb,var(--ui-tint) 25%,var(--solid))}
 html body #content#content .warehouse-overview .tone-amber{background:color-mix(in srgb,var(--amber-bg) 38%,var(--solid))}
 #content .warehouse-overview .tone-amber .warehouse-overview-icon{background:var(--amber-bg);color:var(--amber)}
 #content .warehouse-overview .tone-amber strong{color:var(--amber)}
 html body #content#content .warehouse-overview .tone-red{background:color-mix(in srgb,var(--red-bg) 38%,var(--solid))}
 #content .warehouse-overview .tone-red .warehouse-overview-icon{background:var(--red-bg);color:var(--red)}
 #content .warehouse-overview .tone-red strong{color:var(--red)}
 html body #content#content .warehouse-overview .tone-green{background:color-mix(in srgb,var(--green-bg) 25%,var(--solid))}
 #content .warehouse-overview .tone-green .warehouse-overview-icon{background:var(--green-bg);color:var(--green)}
 #content .warehouse-overview .tone-neutral .warehouse-overview-icon{background:var(--field);color:var(--muted)}
 @media(max-width:1050px){html body #content#content .warehouse-overview .warehouse-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
 @media(max-width:640px){
  html body #content#content .warehouse-overview .warehouse-kpis{gap:8px}
  html body #content#content .warehouse-overview .warehouse-overview-card{padding:12px!important;gap:10px;align-items:flex-start;flex-direction:column;min-height:106px}
  #content .warehouse-overview-icon{width:30px;height:30px;border-radius:9px}
  #content .warehouse-overview-icon svg{width:17px;height:17px}
  html body #content#content .warehouse-overview-copy>span{font-size:11px!important}
  html body #content#content .warehouse-overview .warehouse-kpis strong{font-size:21px!important}
 }
}

html body #content#content .products-reference .catalog-overview{display:block;padding:0;min-height:0;border:0;background:none;box-shadow:none!important}
html body #content#content .products-reference .catalog-overview .product-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));width:100%;gap:12px}
html body #content#content .products-reference .catalog-metric{display:flex;align-items:center;gap:12px;min-width:0;padding:14px 16px;border:1px solid var(--hair);border-radius:12px;background:var(--solid);box-shadow:none;min-height:84px}
html body #content#content .products-reference .catalog-metric>div{min-width:0}
html body #content#content .products-reference .catalog-metric-icon{display:grid;place-items:center;flex:none;width:36px;height:36px;border-radius:10px;background:rgba(var(--bz-rgb),.09);color:var(--accent-ink)}
html body #content#content .products-reference .catalog-metric-icon svg{width:20px;height:20px}
html body #content#content .products-reference .catalog-metric.tone-green .catalog-metric-icon{background:var(--green-bg);color:var(--green)}
html body #content#content .products-reference .catalog-metric.tone-amber .catalog-metric-icon{background:var(--amber-bg);color:var(--amber)}
html body #content#content .products-reference .catalog-metric strong{display:block;font-size:24px!important;line-height:1.25;margin-top:4px}
html body #content#content .products-reference .catalog-metric div>span{display:block;color:var(--muted);font-size:12px!important;line-height:1.4}
html body #content#content .products-reference .product-directory-grid{grid-template-columns:minmax(0,1fr) 280px!important;gap:16px}
html body #content#content .products-reference .product-list-pane>header,html body #content#content .products-reference .product-category-pane>header{padding:14px!important;gap:10px}
html body #content#content .products-reference .product-list-pane>header>div:first-child{display:flex;align-items:center;gap:8px}
html body #content#content .products-reference .catalog-total{color:var(--muted);font-size:12px;background:var(--ui-tint);padding:4px 8px;border-radius:7px;white-space:nowrap}
html body #content#content .products-reference .product-list-pane .section-toolbar{display:grid;grid-template-columns:minmax(180px,1fr) auto;margin:0 14px 14px!important;gap:10px}
html body #content#content .products-reference .section-toolbar .spacer{display:none}
html body #content#content .products-reference .product-filters{display:flex;gap:8px;min-width:0}
html body #content#content .products-reference .product-filters select{flex:none;width:190px!important;min-width:190px;padding:8px 34px 8px 12px!important;text-overflow:ellipsis}
html body #content#content .products-reference .product-filters select:last-child{width:155px!important;min-width:155px}
html body #content#content .products-reference .product-list-pane .tbl-wrap{border-radius:0;box-shadow:none!important}
html body #content#content .products-reference .product-list-pane .tbl tbody td,html body #content#content .products-reference .product-category-pane .tbl tbody td{border-bottom:1px solid var(--hair)!important;box-shadow:none!important;padding:10px 12px!important}
html body #content#content .products-reference .product-list-pane .tbl tbody tr:last-child td,html body #content#content .products-reference .product-category-pane .tbl tbody tr:last-child td{border-bottom:0!important}
html body #content#content .products-reference .product-list-pane .tbl tbody tr,html body #content#content .products-reference .product-category-pane .tbl tbody tr{box-shadow:none!important}
html body #content#content .products-reference .product-name-cell b{white-space:normal;overflow-wrap:anywhere}
html body #content#content .products-reference [data-more]{border:1px solid var(--hair)!important;border-radius:8px;background:var(--field)!important;width:30px!important;height:30px!important}
@media(max-width:1200px){html body #content#content .products-reference .product-list-pane .section-toolbar{grid-template-columns:1fr}html body #content#content .products-reference .product-filters select{flex:1;width:auto!important;min-width:0}}
@media(max-width:1000px){html body #content#content .products-reference .product-directory-grid{grid-template-columns:1fr!important}html body #content#content .products-reference .catalog-overview .product-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){html body #content#content .products-reference .catalog-overview .product-kpis{gap:8px}html body #content#content .products-reference .catalog-metric{padding:12px;gap:8px;min-height:92px;align-items:flex-start}html body #content#content .products-reference .catalog-metric-icon{width:28px;height:28px;border-radius:8px}html body #content#content .products-reference .catalog-metric-icon svg{width:17px;height:17px}html body #content#content .products-reference .catalog-metric strong{font-size:22px!important}html body #content#content .products-reference .product-filters{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}html body #content#content .products-reference .product-filters select,html body #content#content .products-reference .product-filters select:last-child{width:100%!important;min-width:0;font-size:12px!important;padding-left:9px!important;padding-right:26px!important}}

html body #content#content .products-reference #mp .directory-count{padding:10px 12px;font-size:12px;color:var(--muted);border-top:1px solid var(--hair)}
html body #content#content .products-reference :is(#mp,#mc) #crudList>.card{border:0!important;box-shadow:none!important;border-radius:0!important}
@media(max-width:640px){html body #content#content .products-reference .product-filters{grid-template-columns:minmax(0,1fr)}html body #content#content .products-reference .product-filters select,html body #content#content .products-reference .product-filters select:last-child{font-size:13px!important}html body #content#content .products-reference .product-list-pane .tbl tbody td{border-bottom:0!important}html body #content#content .products-reference .product-list-pane .tbl tbody tr+tr{border-top:1px solid var(--hair)!important}}

.sales-workspace{display:grid;gap:16px;min-width:0}
.sales-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.sales-metric{display:flex;align-items:flex-start;gap:12px;min-width:0;background:var(--solid);border:1px solid var(--hair);border-radius:12px;padding:16px}
.sales-metric>div{min-width:0}.sales-metric div>span{display:block;color:var(--muted);font-size:12px}.sales-metric strong{display:block;margin:6px 0 4px;font-size:24px;line-height:1.25;overflow-wrap:anywhere}.sales-metric small{color:var(--muted);font-size:11px}
.sales-metric-icon{display:grid;place-items:center;width:36px;height:36px;flex:none;border-radius:10px;background:rgba(var(--bz-rgb),.09);color:var(--accent-ink)}.sales-metric-icon svg{width:20px;height:20px}.sales-metric-icon.green{background:var(--green-bg);color:var(--green)}.sales-metric-icon.amber{background:var(--amber-bg);color:var(--amber)}
.sales-panel{min-width:0;border:1px solid var(--hair);border-radius:14px;background:var(--solid);overflow:hidden}
.sales-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px}.sales-heading h3{display:flex;align-items:center;gap:8px;margin:0;font-size:16px}.sales-heading h3 svg{width:20px;height:20px;color:var(--accent-ink)}.sales-heading p{margin:5px 0 0;color:var(--muted);font-size:12px}.sales-count{background:var(--ui-tint);color:var(--accent-ink);padding:5px 9px;border-radius:8px;font-size:12px;white-space:nowrap}
.sales-toolbar{display:flex;align-items:flex-end;gap:12px;padding:0 16px 16px}.sales-toolbar>.search{flex:1;min-width:190px}.sales-filters{display:flex;align-items:flex-end;gap:8px}.sales-filters label{display:grid;gap:5px;color:var(--muted);font-size:11px}.sales-filters input{width:150px}.sales-filters select{width:178px}.sales-filters :is(input,select){height:40px}.sales-filters .btn{min-height:40px}.sales-date-error{margin:0 16px 12px;color:var(--red);font-size:12px}
.sales-table-scroll{overflow:auto}.sales-table{min-width:960px;width:100%}.sales-table th{white-space:nowrap}.sales-person{display:grid;gap:4px;min-width:150px;max-width:280px}.sales-person b{overflow-wrap:anywhere}.sales-person small{display:flex;gap:4px;align-items:center;color:var(--muted);font-size:11px}.sales-person small svg{width:12px;height:12px;flex:none}.sales-estimate{display:block;color:var(--muted);font-size:10px;margin-top:3px}.sales-total{color:var(--accent-ink)}.sales-reversed .sales-total{color:var(--muted)}
html body #content#content .sales-table :is(th,td){padding:12px!important}.sales-table td{border-bottom:1px solid var(--hair);font-variant-numeric:tabular-nums}.sales-table tbody tr:last-child td{border-bottom:0}.sales-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 16px;border-top:1px solid var(--hair);font-size:12px;color:var(--muted)}.sales-pager{display:flex;align-items:center;gap:10px}.sales-pager button{border:1px solid var(--hair);border-radius:8px;width:32px;height:32px}.sales-pager button:disabled{opacity:.35;cursor:default}.sales-note{display:flex;align-items:flex-start;gap:8px;color:var(--muted);font-size:12px;line-height:1.5;padding:0 2px}.sales-note svg{width:16px;height:16px;flex:none;margin-top:1px}
@media(max-width:1250px){.sales-toolbar{flex-wrap:wrap}.sales-toolbar>.search{flex-basis:100%}.sales-filters{width:100%}.sales-filters label{flex:1}.sales-filters :is(input,select){width:100%;min-width:0}.sales-metric strong{font-size:21px}}
@media(max-width:900px){.sales-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.sales-metrics{gap:8px}.sales-metric{padding:12px;gap:8px;flex-direction:column}.sales-metric strong{font-size:20px}.sales-metric-icon{width:30px;height:30px}.sales-heading{padding:14px}.sales-heading p{line-height:1.5}.sales-toolbar{padding:0 12px 12px;gap:10px}.sales-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.sales-filters .btn{align-self:end}.sales-table-scroll{overflow:visible}.sales-table,.sales-table tbody{display:block;width:100%;min-width:0!important}.sales-table thead{display:none}html body #content#content .sales-table tbody tr:has(td[data-label]){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:14px;border-top:1px solid var(--hair)}html body #content#content .sales-table tbody tr>td[data-label]{display:block;width:auto!important;min-width:0;height:auto!important;padding:0!important;border:0!important;text-align:left!important;white-space:normal;overflow-wrap:anywhere}html body #content#content .sales-table td[data-label]:before{content:attr(data-label);display:block;color:var(--muted);font-size:10px;margin-bottom:4px}.sales-table td:nth-child(2){grid-column:1/-1;grid-row:1}.sales-person{max-width:none;min-width:0}.sales-table td .badge{white-space:normal}.sales-footer{padding:10px 12px;flex-wrap:wrap}.sales-table .empty{padding:24px 12px}.sales-count{font-size:11px}.sales-note{font-size:11px}}

.personal-settings{display:grid;gap:12px;max-width:850px}.personal-settings>header{padding:4px 0 8px}.personal-settings h3{margin:0;font-size:20px}.personal-settings p{margin:6px 0 0;color:var(--muted);font-size:12px;line-height:1.5}.personal-settings article{display:flex;align-items:center;gap:14px;padding:18px;border:1px solid var(--hair);border-radius:12px;background:var(--solid)}.personal-settings article>div{flex:1;min-width:0}.personal-settings h4{margin:0;font-size:15px}.personal-setting-icon{display:grid;place-items:center;width:38px;height:38px;flex:none;border-radius:10px;color:var(--accent-ink);background:rgba(var(--bz-rgb),.09)}.personal-setting-icon svg{width:20px;height:20px}.personal-settings .btn{white-space:nowrap}
@media(max-width:640px){.personal-settings article{display:grid;grid-template-columns:32px minmax(0,1fr);gap:12px;padding:14px}.personal-setting-icon{width:32px;height:32px}.personal-settings article>.btn{grid-column:2;justify-self:start}}

html body #modal[data-variant="release"]{width:min(460px,calc(100vw / 1.1 - 24px))!important;max-height:calc(100dvh / 1.1 - 32px)!important;border-radius:16px!important}
html body #modal[data-variant="release"] #modalH{padding:16px 18px!important}
html body #modal[data-variant="release"] .modal-heading-icon{width:34px;height:34px;border-radius:10px}
html body #modal[data-variant="release"] #modalB{padding:16px 18px!important;min-height:0!important;max-height:55dvh;overflow-y:auto}
html body #modal[data-variant="release"] #modalF{padding:10px 18px!important}
.release-preview{margin:0;padding-left:18px;display:grid;gap:9px;font-size:13px;line-height:1.5}.release-preview li::marker{color:var(--accent-ink)}.release-intro{margin:0 0 12px;font-size:12px;color:var(--muted)}.release-details{margin-top:14px;border-top:1px solid var(--hair);padding-top:10px}.release-details summary{cursor:pointer;color:var(--accent-ink);font-size:12px;font-weight:600;padding:4px 0}.release-details .release-list{margin-top:12px;font-size:12px;line-height:1.5;gap:9px}

html body #content#content .debt-metric{padding:16px;gap:12px;min-height:116px;border:1px solid var(--hair);box-shadow:none!important}
html body #content#content .debt-metric:before{display:none}
html body #content#content .debt-metric[data-debt-view]{cursor:pointer}
html body #content#content .debt-metric[data-debt-view]:focus-visible{outline:2px solid var(--accent-ink);outline-offset:3px}
html body #content#content .debt-metric[aria-pressed=true]{border-color:var(--accent-ink);box-shadow:inset 0 0 0 1px var(--accent-ink)!important}
html body #content#content .debt-metric>div{flex:1;min-width:0}
html body #content#content .debt-metric strong{font-size:25px!important;display:flex;flex-wrap:wrap;align-items:baseline;gap:5px}
.debt-metric strong em{font-style:normal;font-size:11px;font-weight:500;color:var(--muted);letter-spacing:0}
.debt-metric-arrow{align-self:center;color:var(--muted);flex:none}.debt-metric-arrow svg{width:15px;height:15px}
html body #content#content .debt-list-heading{padding:18px 18px 12px;align-items:flex-start}
.debt-list-heading p{color:var(--muted);font-size:12px;line-height:1.5;margin:6px 0 0}
.debt-filtered-amount{display:grid;gap:4px;text-align:right;flex:none}.debt-filtered-amount small{font-size:11px;color:var(--muted)}.debt-filtered-amount>span{font-size:20px;font-weight:700;color:var(--accent-ink);font-variant-numeric:tabular-nums}
html body #content#content .debt-tabs>.tabs{width:100%!important;background:none!important;border:0!important;padding:0!important;gap:8px!important}
html body #content#content .debt-tabs>.tabs button{border:1px solid var(--hair)!important;background:var(--field)!important;min-height:38px!important;padding:9px 14px!important}
html body #content#content .debt-tabs>.tabs button.on{color:var(--solid)!important;background:var(--accent-ink)!important;border-color:var(--accent-ink)!important;box-shadow:none!important}
html body #content#content .debt-table td{padding:12px!important;box-shadow:none!important}
html body #content#content .debt-table .debt-main-amount{font-size:16px!important;white-space:nowrap}
html body #content#content .debt-table [data-debt-payment]{background:var(--ui-tint)!important;border:1px solid var(--hair)!important}
html body #content#content .debt-aging>header{align-items:center;padding:16px 18px 12px}
.debt-aging>header p{font-size:12px;line-height:1.5;color:var(--muted);margin:5px 0 0}
html body #content#content .debt-bucket{border:1px solid var(--hair);background:var(--field);padding:12px;border-radius:10px;min-height:76px}
html body #content#content .debt-bucket.has-value{background:rgba(var(--bz-rgb),.08);border-color:var(--accent-ink)}
html body #content#content .debt-bucket b{font-size:18px!important;margin-top:8px;display:block}
@media(max-width:1100px){html body #content#content .debt-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){html body #content#content .debt-metric{padding:12px;gap:8px;min-height:135px;flex-wrap:wrap}html body #content#content .debt-metric>.debt-icon{width:28px;height:28px}html body #content#content .debt-metric>div{flex-basis:100%}html body #content#content .debt-metric strong{font-size:21px!important}.debt-metric-arrow{position:absolute;right:12px;top:16px}html body #content#content .debt-list-heading{padding:14px 12px;flex-wrap:wrap}.debt-filtered-amount{width:100%;display:flex;align-items:center;justify-content:space-between;text-align:left}.debt-filtered-amount>span{font-size:18px}html body #content#content .debt-tabs>.tabs{display:grid!important;grid-template-columns:1fr!important;gap:6px!important}html body #content#content .debt-tabs>.tabs button{text-align:left!important;font-size:12px!important;padding:9px 12px!important}html body #content#content .debt-table td[data-label]{padding:0!important}html body #content#content .debt-aging>header{padding:14px 12px;align-items:flex-start}}

html body #content#content .production-reference .production-toolbar{display:grid;grid-template-columns:minmax(310px,1fr) minmax(0,660px);align-items:center;gap:20px;padding:16px;border:1px solid var(--hair);box-shadow:none!important}
html body #content#content .production-reference .production-metrics{width:100%;max-width:none;gap:10px;grid-template-columns:repeat(3,minmax(0,1fr))}
html body #content#content .production-reference .production-metrics>div{padding:12px;min-height:74px;box-shadow:none!important;border:1px solid var(--hair)}
html body #content#content .production-reference .production-date>.row{gap:8px;flex-wrap:wrap}
html body #content#content .production-reference .production-date #dDate{width:150px;min-width:0}
html body #content#content .production-reference .production-grid{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);align-items:start;gap:16px}
html body #content#content .production-reference .production-grid>div{min-width:0}
html body #content#content .production-reference .production-plan-empty{padding:0;min-height:230px;overflow:hidden}
html body #content#content .production-reference .production-plan-empty>h3{margin:0;padding:16px;border-bottom:1px solid var(--hair);display:flex;align-items:center;gap:8px}
html body #content#content .production-reference .production-empty{display:flex;flex-direction:column;text-align:center;align-items:center;justify-content:center;gap:12px;padding:20px;min-height:176px}
html body #content#content .production-reference .production-empty>svg{width:36px;height:36px;padding:8px;box-sizing:content-box;background:var(--ui-tint);border-radius:12px;color:var(--accent-ink);flex:none}
html body #content#content .production-reference .production-empty p{margin:6px 0 0;max-width:330px;line-height:1.5;font-size:12px;color:var(--muted)}
html body #content#content .production-reference .production-batches{padding:0;overflow:hidden}
.production-batch-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:16px;border-bottom:1px solid var(--hair)}
html body #content#content .production-reference .production-batch-heading h3{display:flex;align-items:center;gap:8px;font-size:15px!important;margin:0;padding:0}
.production-batch-heading p{font-size:11px;color:var(--muted);margin:6px 0 0;line-height:1.5}.production-batch-heading>span{font-size:12px;color:var(--accent-ink);font-weight:600;white-space:nowrap}
html body #content#content .production-reference .production-batches .tbl-wrap{padding:0;min-width:0;border-radius:0;overflow-x:auto}
html body #content#content .production-reference .production-batch-table{min-width:580px;width:100%}
html body #content#content .production-reference .production-batch-table :is(th,td){padding:12px!important;border-radius:0!important}
.production-batch-table tbody tr:focus-visible{outline:2px solid var(--accent-ink);outline-offset:-2px}.production-batch-table tbody tr:hover{background:var(--ui-tint)}.production-batch-order{font-size:12px;color:var(--accent-ink)}.production-batch-table .sub{margin-top:4px;line-height:1.4}.production-batch-mark{display:inline-block;border-radius:7px;padding:4px 7px;font-size:11px;font-weight:600;background:var(--ui-tint);color:var(--accent-ink)}.production-batch-time{font-variant-numeric:tabular-nums;color:var(--muted)}
@media(max-width:1150px){html body #content#content .production-reference .production-toolbar{grid-template-columns:1fr;gap:14px}html body #content#content .production-reference .production-metrics>div{justify-content:flex-start}html body #content#content .production-reference .production-grid{grid-template-columns:1fr}}
@media(max-width:640px){html body #content#content .production-reference .production-toolbar{padding:12px;gap:12px}html body #content#content .production-reference .production-metrics{gap:6px}html body #content#content .production-reference .production-metrics>div{padding:10px 8px;min-height:70px}html body #content#content .production-reference .production-metrics>div>span{display:block;width:100%;font-size:10px!important}html body #content#content .production-reference .production-metrics strong{font-size:18px!important;margin-top:6px}html body #content#content .production-reference .production-section-title{align-items:flex-start;gap:8px;flex-direction:column}.production-batch-heading{padding:14px 12px;flex-wrap:wrap}html body #content#content .production-reference .production-batches .tbl-wrap{overflow:visible}html body #content#content .production-reference .production-batch-table,html body #content#content .production-reference .production-batch-table tbody{display:block;min-width:0!important;width:100%}html body #content#content .production-reference .production-batch-table thead{display:none}html body #content#content .production-reference .production-batch-table tr[data-batch-view]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:14px 12px;border-bottom:1px solid var(--hair)}html body #content#content .production-reference .production-batch-table tr[data-batch-view]>td{display:block;min-width:0;width:auto!important;height:auto!important;padding:0!important;border:0!important;text-align:left!important;white-space:normal;overflow-wrap:anywhere}html body #content#content .production-reference .production-batch-table td[data-label]:before{display:block;content:attr(data-label);font-size:10px;color:var(--muted);margin-bottom:5px}html body #content#content .production-reference .production-batch-table td:nth-child(3){grid-column:1/-1}html body #content#content .production-reference .production-batch-table .production-batch-empty{padding:20px}html body #content#content .production-reference .production-plan-empty{min-height:0}}
@media(max-width:360px){html body #content#content .production-reference .production-metrics{grid-template-columns:1fr}html body #content#content .production-reference .production-metrics>div{min-height:0;padding:10px}html body #content#content .production-reference .production-metrics>div>span{display:flex;justify-content:space-between;align-items:center;gap:8px}html body #content#content .production-reference .production-metrics strong{margin:0}}

html body [data-list-hidden]{display:none!important}
.list-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border-top:1px solid var(--hair);background:var(--solid);font-size:12px;color:var(--muted);flex-wrap:wrap}
.list-page-buttons{display:flex;align-items:center;gap:5px;flex-wrap:wrap}.list-page-buttons button{display:grid;place-items:center;min-width:32px;height:32px;padding:0 8px;border:1px solid var(--hair);border-radius:8px;background:var(--field);color:var(--ink);font:inherit;font-size:12px;cursor:pointer;box-shadow:none}.list-page-buttons button[aria-current=page]{background:var(--accent-ink);color:var(--solid);border-color:var(--accent-ink);font-weight:700}.list-page-buttons button:disabled{opacity:.4;cursor:default}.list-page-buttons button:focus-visible{outline:2px solid var(--accent-ink);outline-offset:2px}.list-page-buttons>span{color:var(--muted);padding:0 2px}
.auto-list-pager{grid-column:1/-1;width:100%;min-width:0}.auto-list-pager .list-pagination{border-radius:0 0 12px 12px}
@media(max-width:640px){.list-pagination{padding:10px 12px;gap:10px}.list-page-buttons{gap:4px}.list-page-buttons button{min-width:32px;height:34px}.cash-ledger-footer:has(#cashPages),.sales-footer:has(#salesPages){flex-wrap:wrap}}
@media print{html body [data-list-hidden]{display:revert!important}.list-pagination,.auto-list-pager,.list-page-buttons{display:none!important}}

/* Supplier create/edit: compact, scoped sections using existing form controls. */
html body #modal[data-variant="warehouse-supplier"]{width:min(600px,calc(100vw / 1.1 - 24px))!important}
html body #modal[data-variant="warehouse-supplier"] #modalH{padding:12px 18px!important}
html body #modal[data-variant="warehouse-supplier"] #modalB{padding:14px 18px!important;background:var(--solid)}
#modal[data-variant="warehouse-supplier"] .supplier-form{display:grid;gap:10px}
#modal[data-variant="warehouse-supplier"] .supplier-form-section{min-width:0;padding:10px 12px;border:1px solid var(--hair);border-radius:11px;background:var(--field)}
#modal[data-variant="warehouse-supplier"] .supplier-form-section h4{display:flex;gap:8px;align-items:center;margin:0 0 8px;font-size:12px;color:var(--ink);font-weight:650}
#modal[data-variant="warehouse-supplier"] .supplier-form-section h4 svg{width:16px;height:16px;color:var(--accent-ink);flex:none}
#modal[data-variant="warehouse-supplier"] .supplier-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
#modal[data-variant="warehouse-supplier"] .supplier-form-section:first-child .supplier-form-grid{grid-template-columns:minmax(0,1.65fr) minmax(0,1fr)}
#modal[data-variant="warehouse-supplier"] .supplier-full{grid-column:1/-1}
html body #modal[data-variant="warehouse-supplier"] #modalB .fld label{margin-bottom:5px}
html body #modal[data-variant="warehouse-supplier"] #modalB .fld textarea{min-height:52px;height:52px;resize:vertical;width:100%}
html body #modal[data-variant="warehouse-supplier"] #modalF{padding:12px 18px!important}
@media(max-width:560px){
 html body #modal[data-variant="warehouse-supplier"] :is(#modalH,#modalB){padding:12px!important}
 #modal[data-variant="warehouse-supplier"] .supplier-form-section{padding:10px}
 #modal[data-variant="warehouse-supplier"] .supplier-form-grid,#modal[data-variant="warehouse-supplier"] .supplier-form-section:first-child .supplier-form-grid{grid-template-columns:minmax(0,1fr);gap:10px}
 html body #modal[data-variant="warehouse-supplier"] #modalF{padding:10px 12px!important}
}

html body #modal[data-variant="warehouse-supplier"] #modalB .fld input{min-height:36px!important;height:36px!important}

/* Batch details */
html body #modal[data-variant="batch-detail"]{width:min(720px,calc(100vw / 1.1 - 24px))!important;max-height:calc(100dvh / 1.1 - 24px)!important;border-radius:16px!important}
html body #modal[data-variant="batch-detail"] :is(#modalH,#modalB){padding:14px 18px!important}
#modal[data-variant="batch-detail"] .modal-heading{display:flex;align-items:center;gap:10px;min-width:0}
#modal[data-variant="batch-detail"] .modal-heading-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:10px;background:rgba(var(--bz-rgb),.08);color:var(--accent-ink);flex:none}
#modal[data-variant="batch-detail"] .modal-heading-icon svg{width:22px;height:22px}
#modal[data-variant="batch-detail"] #modalTitle{overflow-wrap:anywhere}
#modal[data-variant="batch-detail"] #modalH .mini{font-size:12px;color:var(--muted);margin-top:3px}
#modal[data-variant="batch-detail"] #modalB{background:var(--field);min-height:0;overflow:auto}
#modal[data-variant="batch-detail"] .batch-detail{display:grid;gap:12px}
#modal[data-variant="batch-detail"] .batch-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
#modal[data-variant="batch-detail"] .batch-metric{display:grid;gap:6px;padding:12px;border:1px solid var(--hair);border-radius:11px;background:var(--solid);min-width:0}
#modal[data-variant="batch-detail"] .batch-metric.tone-blue{background:rgba(var(--bz-rgb),.08);border-color:rgba(var(--bz-rgb),.22)}
#modal[data-variant="batch-detail"] .batch-metric span,#modal[data-variant="batch-detail"] .batch-context span{font-size:11px;color:var(--muted)}
#modal[data-variant="batch-detail"] .batch-metric strong{font-size:20px;line-height:1.2;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
#modal[data-variant="batch-detail"] .batch-metric small{font-size:10px;color:var(--muted)}
#modal[data-variant="batch-detail"] .batch-context{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 18px;padding:12px 14px;border:1px solid var(--hair);border-radius:11px;background:var(--solid)}
#modal[data-variant="batch-detail"] .batch-context>div{display:grid;align-content:start;gap:4px;min-width:0}
#modal[data-variant="batch-detail"] .batch-context b{font-size:12px;overflow-wrap:anywhere}
#modal[data-variant="batch-detail"] .batch-context small{font-size:11px;color:var(--muted);overflow-wrap:anywhere}
#modal[data-variant="batch-detail"] .batch-order-link{display:flex;align-items:center;gap:6px;text-align:left;background:none;border:0;color:var(--accent-ink);padding:0;font:inherit;font-size:12px;font-weight:650;cursor:pointer;width:fit-content}
#modal[data-variant="batch-detail"] .batch-order-link svg{width:14px;height:14px;flex:none}
#modal[data-variant="batch-detail"] .batch-note{grid-column:1/-1;padding-top:10px;border-top:1px solid var(--hair)}
#modal[data-variant="batch-detail"] .batch-note p{margin:0;font-size:12px;overflow-wrap:anywhere}
#modal[data-variant="batch-detail"] :is(.batch-materials,.batch-lab){border:1px solid var(--hair);border-radius:11px;overflow:hidden;background:var(--solid)}
#modal[data-variant="batch-detail"] :is(.batch-materials,.batch-lab)>header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 12px;border-bottom:1px solid var(--hair)}
#modal[data-variant="batch-detail"] h4{display:flex;align-items:center;gap:7px;margin:0;font-size:12px;font-weight:650}
#modal[data-variant="batch-detail"] h4 svg{width:16px;height:16px;color:var(--accent-ink)}
#modal[data-variant="batch-detail"] header>span{font-size:10px;color:var(--muted)}
#modal[data-variant="batch-detail"] .batch-material-scroll{overflow:auto}
html body #modal[data-variant="batch-detail"] .batch-material-table{margin:0;width:100%}
html body #modal[data-variant="batch-detail"] .batch-material-table :is(th,td){padding:9px 12px;font-size:12px}
#modal[data-variant="batch-detail"] .batch-material-table th{background:var(--field);font-size:10px!important}
#modal[data-variant="batch-detail"] .batch-material-table tr:last-child td{border-bottom:0}
#modal[data-variant="batch-detail"] .batch-lab-row{display:flex;align-items:center;gap:12px;padding:11px 12px;border-bottom:1px solid var(--hair)}
#modal[data-variant="batch-detail"] .batch-lab-row:last-child{border-bottom:0}
#modal[data-variant="batch-detail"] .batch-lab-row>div:first-child{flex:1;min-width:0;display:grid;gap:4px}
#modal[data-variant="batch-detail"] .batch-lab-row b{font-size:12px;overflow-wrap:anywhere}
#modal[data-variant="batch-detail"] .batch-lab-row small,#modal[data-variant="batch-detail"] .batch-lab-result span{font-size:10px;color:var(--muted)}
#modal[data-variant="batch-detail"] .batch-lab-result{display:grid;gap:4px;text-align:right}
#modal[data-variant="batch-detail"] .batch-empty{padding:14px;margin:0;text-align:center;font-size:12px;color:var(--muted)}
html body #modal[data-variant="batch-detail"] #modalF{padding:12px 18px!important;gap:8px;flex-wrap:wrap}
#modal[data-variant="batch-detail"] #bDel{margin-right:auto}
@media(max-width:560px){
 html body #modal[data-variant="batch-detail"] :is(#modalH,#modalB,#modalF){padding:12px!important}
 #modal[data-variant="batch-detail"] .batch-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 #modal[data-variant="batch-detail"] .batch-metric:first-child{grid-column:1/-1}
 #modal[data-variant="batch-detail"] .batch-metric{padding:10px}
 #modal[data-variant="batch-detail"] .batch-metric strong{font-size:18px}
 #modal[data-variant="batch-detail"] .batch-context{grid-template-columns:repeat(2,minmax(0,1fr));padding:12px}
 #modal[data-variant="batch-detail"] .batch-lab-row{flex-wrap:wrap;gap:8px}
 #modal[data-variant="batch-detail"] .batch-lab-row>div:first-child{flex-basis:100%}
 #modal[data-variant="batch-detail"] .batch-lab-result{text-align:left;margin-right:auto}
 #modal[data-variant="batch-detail"] .batch-material-table thead{display:none}
 #modal[data-variant="batch-detail"] .batch-material-table tbody,#modal[data-variant="batch-detail"] .batch-material-table tr{display:block}
 #modal[data-variant="batch-detail"] .batch-material-table tr{padding:10px 12px;border-bottom:1px solid var(--hair)}
 html body #modal[data-variant="batch-detail"] .batch-material-table td{display:flex!important;flex-direction:row!important;align-items:center;justify-content:space-between!important;gap:12px;padding:4px 0!important;border:0;white-space:normal}
 #modal[data-variant="batch-detail"] .batch-material-table td:before{content:attr(data-label);color:var(--muted);font-size:11px;text-align:left}
 #modal[data-variant="batch-detail"] .batch-material-table td:first-child{font-weight:650;padding-bottom:7px!important}
 #modal[data-variant="batch-detail"] .batch-material-table td:first-child:before{display:none}
}

@media(max-width:560px){
 #modal[data-variant="batch-detail"] .batch-context :is(.batch-order,div:nth-child(4)){grid-column:1/-1}
}

/* Laboratory register */
.lab-workspace{display:grid;gap:14px;min-width:0}
.lab-page-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px;border:1px solid var(--hair);border-radius:14px;background:var(--solid)}
.lab-page-title{display:flex;align-items:center;gap:12px;min-width:0}
.lab-page-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;flex:none;background:rgba(var(--bz-rgb),.08);color:var(--accent-ink)}
.lab-page-icon svg{width:23px;height:23px}
.lab-page-title h3{display:flex;align-items:center;gap:9px;margin:0;font-size:16px}
.lab-page-title p{margin:5px 0 0;font-size:12px;color:var(--muted)}
#content .lab-workspace .section-toolbar{display:grid;grid-template-columns:minmax(220px,1fr) minmax(200px,260px) 160px auto;gap:10px;padding:14px;margin:0;border:1px solid var(--hair);border-bottom:0;border-radius:14px 14px 0 0;background:var(--solid)}
#content .lab-workspace .section-toolbar .spacer{display:none}
#content .lab-workspace .section-toolbar .search{width:100%;max-width:none;min-width:0}
#content .lab-workspace .section-toolbar select{min-width:0;width:100%}
#content .lab-workspace #crudList>.card{border-radius:0 0 14px 14px;overflow:hidden}
#content .lab-workspace .tbl{width:100%;min-width:1050px}
#content .lab-workspace .tbl th{background:var(--field);white-space:nowrap}
#content .lab-workspace .tbl td{padding:13px 12px;vertical-align:middle;border-bottom:1px solid var(--hair)}
#content .lab-workspace .tbl tr:last-child td{border-bottom:0}
.lab-batch-cell{display:flex;align-items:center;gap:9px;min-width:190px}
.lab-batch-cell>span{display:grid;place-items:center;flex:none;width:32px;height:32px;border-radius:9px;color:var(--accent-ink);background:rgba(var(--bz-rgb),.07)}
.lab-batch-cell svg{width:17px;height:17px}
.lab-batch-cell>div{display:grid;gap:5px}
.lab-batch-cell b{font-size:12px;color:var(--accent-ink)}
.lab-batch-cell small{font-size:11px;color:var(--muted)}
.lab-type-name{font-size:12px;font-weight:600;display:block;max-width:200px}
.lab-dates{display:grid;gap:6px;font-variant-numeric:tabular-nums;white-space:nowrap;font-size:12px}
.lab-dates span{display:flex;gap:8px}
.lab-dates small{font-size:10px;color:var(--muted);min-width:42px}
.lab-result{display:grid;gap:5px;font-variant-numeric:tabular-nums;white-space:nowrap}
.lab-result strong{font-size:16px;line-height:1.2}
.lab-result strong small{font-size:10px;color:var(--muted);font-weight:500;margin-left:4px}
.lab-result>span{font-size:10px;color:var(--muted)}
.lab-note{display:block;max-width:220px;font-size:11px;color:var(--muted);overflow-wrap:anywhere}
@media(max-width:1100px){#content .lab-workspace .section-toolbar{grid-template-columns:minmax(0,1fr) 180px auto}#content .lab-workspace .section-toolbar .search{grid-column:1/-1}}
@media(max-width:700px){
 .lab-page-head{padding:12px;align-items:flex-start;flex-wrap:wrap}
 .lab-page-title p{line-height:1.5}
 .lab-page-head>.btn{margin-left:auto}
 #content .lab-workspace .section-toolbar{grid-template-columns:minmax(0,1fr) minmax(0,1fr);padding:12px;gap:8px}
 #content .lab-workspace #labReset{grid-column:1/-1;justify-self:end}
 #content .lab-workspace .tbl{min-width:0}
 #content .lab-workspace .tbl thead{display:none}
 #content .lab-workspace .tbl tbody{display:grid;gap:10px;padding:10px}
 #content .lab-workspace .tbl tr[data-id]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:12px;gap:12px;border:1px solid var(--hair);border-radius:11px;background:var(--solid)}
 html body #content .lab-workspace .tbl tr[data-id] td{display:flex!important;flex-direction:column!important;align-items:flex-start;gap:5px;padding:0!important;border:0;min-width:0;white-space:normal;text-align:left}
 #content .lab-workspace .tbl tr[data-id] td:before{content:attr(data-label);font-size:10px;color:var(--muted)}
 #content .lab-workspace .tbl tr[data-id] td:first-child,#content .lab-workspace .tbl tr[data-id] td:nth-child(2),#content .lab-workspace .tbl tr[data-id] td:nth-child(7){grid-column:1/-1}
 #content .lab-workspace .tbl tr[data-id] td:first-child:before{display:none}
 #content .lab-workspace .tbl tr[data-id] td:last-child{align-items:flex-end;grid-column:2;grid-row:5}
 #content .lab-workspace .tbl tr[data-id] td:last-child:before{display:none}
 .lab-type-name,.lab-note{max-width:none}
 .lab-batch-cell{min-width:0}
}

/* Supplier register */
.supplier-list-view{display:grid;gap:14px;min-width:0}
.supplier-list-head{display:flex;align-items:center;gap:12px;padding:16px;border:1px solid var(--hair);border-radius:14px;background:var(--solid)}
.supplier-list-icon{display:grid;place-items:center;flex:none;width:42px;height:42px;border-radius:12px;background:rgba(var(--bz-rgb),.08);color:var(--accent-ink)}
.supplier-list-icon svg{width:23px;height:23px}
.supplier-list-head h3{display:flex;gap:9px;align-items:center;margin:0;font-size:16px}
.supplier-list-head p{margin:5px 0 0;font-size:12px;line-height:1.5;color:var(--muted)}
#content .supplier-list-view .section-toolbar{margin:0;padding:14px;border:1px solid var(--hair);border-bottom:0;border-radius:14px 14px 0 0;background:var(--solid);gap:10px}
#content .supplier-list-view .section-toolbar .search{flex:1;max-width:none;min-width:200px}
#content .supplier-list-view .section-toolbar .spacer{display:none}
#content .supplier-list-view #crudList>.card{border-radius:0 0 14px 14px;overflow:hidden}
#content .supplier-list-view .tbl td{padding:14px;vertical-align:middle}
#content .supplier-list-view .tbl th{background:var(--field)}
.supplier-identity{display:flex;gap:10px;align-items:center;min-width:180px}
.supplier-identity>span{display:grid;place-items:center;flex:none;width:34px;height:34px;border-radius:10px;background:rgba(var(--bz-rgb),.07);color:var(--accent-ink)}
.supplier-identity svg{width:18px;height:18px}
.supplier-identity>div{display:grid;gap:5px;min-width:0}
.supplier-identity b{font-size:13px;overflow-wrap:anywhere}
.supplier-identity small{font-size:11px;color:var(--muted);overflow-wrap:anywhere}
.supplier-phone,.supplier-inn{font-variant-numeric:tabular-nums;white-space:nowrap;font-size:12px}
.supplier-phone-check{display:block;margin-top:5px;font-size:10px;color:var(--muted)}
.supplier-address{font-size:12px;overflow-wrap:anywhere}
@media(max-width:640px){
 .supplier-list-head{padding:12px}
 #content .supplier-list-view .section-toolbar{padding:12px;flex-wrap:wrap}
 #content .supplier-list-view .section-toolbar .search{flex-basis:100%;min-width:0}
 #content .supplier-list-view #crudNew{margin-left:auto}
 #content .supplier-list-view .tbl thead{display:none}
 #content .supplier-list-view .tbl tbody{display:grid;gap:10px;padding:10px}
 #content .supplier-list-view .tbl tr[data-id]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:12px;border:1px solid var(--hair);border-radius:11px;background:var(--solid)}
 html body #content .supplier-list-view .tbl tr[data-id] td{display:flex!important;flex-direction:column!important;gap:5px;padding:0!important;border:0;white-space:normal;align-items:flex-start;text-align:left;min-width:0}
 #content .supplier-list-view .tbl tr[data-id] td:before{content:attr(data-label);font-size:10px;color:var(--muted)}
 #content .supplier-list-view .tbl tr[data-id] td:first-child{grid-column:1/-1}
 #content .supplier-list-view .tbl tr[data-id] td:first-child:before,#content .supplier-list-view .tbl tr[data-id] td:last-child:before{display:none}
 #content .supplier-list-view .tbl tr[data-id] td:nth-child(4){grid-column:1/-1}
 #content .supplier-list-view .tbl tr[data-id] td:last-child{grid-column:2;align-items:flex-end}
 .supplier-identity{min-width:0}
 .supplier-phone{white-space:normal;overflow-wrap:anywhere}
}

@media(max-width:640px){
 #content .lab-workspace .tbl tr[data-id] td:nth-child(7){grid-column:1;grid-row:5}
 #content .lab-workspace .section-toolbar{grid-template-columns:minmax(0,1fr)}
 #content .lab-workspace .section-toolbar .search,#content .lab-workspace #labReset{grid-column:1}
}

@media(max-width:640px){
 #content .supplier-list-view .tbl{min-width:0!important;width:100%;table-layout:fixed}
}

@media(max-width:640px){
 #content .supplier-list-view .tbl tr[data-id] td:nth-child(4){grid-column:1;grid-row:3}
 #content .supplier-list-view .tbl tr[data-id] td:last-child{grid-column:2;grid-row:3}
}

/* Compact panel toggle matching the supplied reference. */
#app #sideNav .nav-collapse{width:24px;height:24px;border:0;border-radius:4px;background:transparent;color:var(--muted);box-shadow:none}
#app #sideNav .nav-collapse svg{width:16px;height:16px;stroke-width:1.5}
#app #sideNav .nav-collapse:hover{background:var(--ui-tint);color:var(--ink)}
#app #sideNav .nav-collapse:active{scale:.96}

/* Self-contained waybill document; no background image or external artwork. */
@page waybillDocument{size:A4 landscape;margin:0}
@media print{
 html body #printArea:has(.waybill-sheet){page:waybillDocument;width:297mm!important;margin:0!important;padding:0!important}
 html body #printArea .waybill-sheet{box-sizing:border-box;position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10mm;width:297mm;height:210mm;padding:10mm;break-after:page;break-inside:avoid;background:#fff!important;color:#111!important;font-family:"Times New Roman",serif;font-size:10pt;line-height:1.3}
 html body #printArea .waybill-sheet:last-child{break-after:auto}
 #printArea .waybill-copy{position:relative;display:flex;flex-direction:column;min-width:0;box-sizing:border-box;height:190mm;border:1px solid #333;padding:6mm;background:#fff;color:#111}
 #printArea .waybill-cut{position:absolute;left:50%;top:10mm;height:190mm;border-left:1px dashed #aaa}
 #printArea .waybill-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:4mm;padding-bottom:3mm;border-bottom:2px solid #222}
 #printArea .waybill-issuer{min-width:0;overflow-wrap:anywhere}
 #printArea .waybill-issuer b{font-size:11pt}
 #printArea .waybill-issuer small{display:block;font-size:8pt;margin-top:1mm}
 #printArea .waybill-copy-label{font-size:8pt;white-space:nowrap;color:#555}
 #printArea .waybill-title{display:grid;grid-template-columns:1fr auto;gap:1mm 3mm;align-items:center;padding:2mm 0}
 #printArea .waybill-title h1{font-size:17pt;letter-spacing:1pt;line-height:1.1;margin:0;font-weight:700}
 #printArea .waybill-title>b{font-size:10pt;text-align:right;overflow-wrap:anywhere;max-width:65mm}
 #printArea .waybill-title>span{grid-column:1/-1;font-size:9pt;color:#444}
 #printArea .waybill-parties,#printArea .waybill-dispatch{margin:0;padding:0}
 #printArea .waybill-parties{margin-bottom:4mm}
 #printArea .waybill-parties>div,#printArea .waybill-dispatch>div{display:grid;grid-template-columns:33mm minmax(0,1fr);gap:2mm;padding:.8mm 0;border-bottom:1px solid #ddd}
 #printArea .waybill-parties dt,#printArea .waybill-dispatch dt{font-size:9pt;color:#444;font-weight:400}
 #printArea .waybill-parties dd,#printArea .waybill-dispatch dd{margin:0;font-size:9pt;font-weight:700;overflow-wrap:anywhere}
 html body #printArea .waybill-table{width:100%;table-layout:fixed;border-collapse:collapse;margin:0;font-family:inherit}
 html body #printArea .waybill-table :is(th,td){border:1px solid #555;padding:1.2mm 1.5mm;font-size:9pt;line-height:1.25;vertical-align:middle;background:#fff!important;color:#111!important;overflow-wrap:anywhere;white-space:normal}
 html body #printArea .waybill-table thead th{text-align:center;background:#f0f0f0!important;font-size:8pt;font-weight:700}
 #printArea .waybill-table td:first-child{text-align:center}
 #printArea .waybill-table small{display:block;font-size:8pt;font-weight:400;margin-top:1mm;color:#555}
 html body #printArea .waybill-table .waybill-num{text-align:right;font-variant-numeric:tabular-nums}
 html body #printArea .waybill-table tfoot th{text-align:left}
 html body #printArea .waybill-table tfoot :is(th,td){border-top:2px solid #222;font-weight:700;background:#f0f0f0!important}
 #printArea .waybill-document-note{font-size:8pt;color:#555;margin:2mm 0 3mm}
 #printArea .waybill-bottom{margin-top:auto;padding-top:3mm}
 #printArea .waybill-signatures{display:grid;grid-template-columns:1fr 1fr;gap:7mm;margin-top:3mm}
 #printArea .waybill-signatures>div{display:grid;gap:1mm;min-width:0}
 #printArea .waybill-signatures b{font-size:9pt}
 #printArea .waybill-signatures span{min-height:5mm;font-size:9pt;overflow-wrap:anywhere}
 #printArea .waybill-signatures i{display:block;border-bottom:1px solid #555;height:3mm}
 #printArea .waybill-signatures small{font-size:7pt;color:#666;text-align:center}
 #printArea .waybill-footer{display:flex;justify-content:space-between;border-top:1px solid #bbb;padding-top:2mm;margin-top:2mm;font-size:7pt;color:#666}
}

@media print{
 html body #printArea .waybill-table :is(th,td){font-size:9pt!important}
 html body #printArea .waybill-table thead th{font-size:8pt!important}
 html body #printArea .waybill-table tfoot .waybill-num{white-space:nowrap}
}

/* Compact sales journal heading and filters. */
html body #content .sales-workspace .sales-heading{padding:10px 14px!important;min-height:0;gap:10px}
#content .sales-workspace .sales-heading>div{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
html body #content#content .sales-workspace .sales-heading h3{font-size:14px!important;gap:6px}
#content .sales-workspace .sales-heading h3 svg{width:17px;height:17px}
#content .sales-workspace .sales-heading p{margin:0;font-size:11px;line-height:1.4}
#content .sales-workspace .sales-count{padding:4px 7px;font-size:11px}
#content .sales-workspace .sales-toolbar{padding:0 14px 10px;gap:10px}
#content .sales-workspace .sales-filters label{gap:3px}
html body #content .sales-workspace .sales-toolbar :is(input,select){min-height:36px!important;height:36px!important}
html body #content .sales-workspace .sales-filters .btn{min-height:36px!important;height:36px!important}
@media(max-width:640px){
 #content .sales-workspace .sales-heading>div{display:grid;gap:3px}
 #content .sales-workspace .sales-heading p{font-size:10px}
 #content .sales-workspace .sales-toolbar{padding:0 12px 10px;gap:8px}
}

/* Brand and toggle share one row so their centers remain aligned. */
#app #sideNav .side-brand-row{display:grid;grid-template-columns:minmax(0,1fr) 24px;align-items:center;gap:6px;min-height:52px;margin-bottom:10px;flex:none}
html body #app #sideNav .side-brand-row .brand{position:static!important;height:40px!important;min-height:40px!important;margin:0!important;padding:0!important;align-items:center!important;gap:7px!important;background:transparent!important;overflow:hidden}
#app #sideNav .side-brand-row .brand img{width:28px!important;height:28px!important;flex-basis:28px!important}
html body #app #sideNav .side-brand-row .brand .brand-text{align-self:center!important;padding-top:0!important;gap:3px}
html body #app #sideNav .side-brand-row .brand :is(b.wordmark,.brand-sub){font-size:13.5px!important}
html body #app #sideNav .side-brand-row .nav-collapse{position:static!important;inset:auto!important;transform:none!important;justify-self:end;align-self:center;margin:0!important;width:24px!important;height:24px!important}
@media(min-width:901px){
 #app.nav-compact #sideNav .side-brand-row{grid-template-columns:1fr;gap:2px;justify-items:center;min-height:66px}
 html body #app.nav-compact #sideNav .side-brand-row .brand{width:30px;justify-content:center!important}
 html body #app.nav-compact #sideNav .side-brand-row .brand .brand-text{display:none!important}
 html body #app.nav-compact #sideNav .side-brand-row .nav-collapse{justify-self:center}
}

/* Traditional delivery-note blank: document hierarchy, ruled fields, no card frame. */
@media print{
 html body #printArea .waybill-sheet{padding:12mm 13mm;gap:12mm;align-items:start;font-size:10pt}
 html body #printArea .waybill-copy{height:auto;min-height:0;padding:0;border:0;display:block}
 #printArea .waybill-cut{top:12mm;height:186mm;border-color:#bbb}
 #printArea .waybill-heading{border:0;padding:0 0 2mm;align-items:center}
 #printArea .waybill-issuer b{font-size:9pt;font-weight:400}
 #printArea .waybill-copy-label{font-size:8pt;color:#222}
 #printArea .waybill-title{display:flex;flex-direction:column;align-items:center;text-align:center;padding:3mm 0 5mm;gap:1.5mm}
 #printArea .waybill-title h1{font-size:18pt;letter-spacing:2pt}
 #printArea .waybill-title>b{font-size:12pt;text-align:center;max-width:100%;letter-spacing:.2pt}
 #printArea .waybill-title p{margin:0;font-size:9pt;font-style:italic;line-height:1.3}
 #printArea .waybill-title>span{font-size:10pt;color:#111;margin-top:1mm}
 #printArea .waybill-parties{margin-bottom:5mm}
 #printArea .waybill-parties>div,#printArea .waybill-dispatch>div{border:0;grid-template-columns:34mm minmax(0,1fr);padding:1.2mm 0;align-items:end}
 #printArea .waybill-parties dt,#printArea .waybill-dispatch dt{font-size:10pt;color:#111}
 #printArea .waybill-parties dd,#printArea .waybill-dispatch dd{border-bottom:1px solid #555;min-height:4mm;font-size:10pt;font-weight:400;line-height:1.2;padding-bottom:.5mm}
 #printArea .waybill-write-line{display:block;min-height:3.5mm}
 html body #printArea .waybill-table :is(th,td){border-color:#222;padding:1.5mm 1mm}
 html body #printArea .waybill-table thead th,html body #printArea .waybill-table tfoot :is(th,td){background:#fff!important}
 html body #printArea .waybill-table thead th{height:9mm;font-size:9pt!important;vertical-align:middle}
 html body #printArea .waybill-table tbody td{height:9mm}
 html body #printArea .waybill-table tfoot :is(th,td){border-top:1px solid #222}
 #printArea .waybill-document-note{font-size:8pt;color:#333;margin:2mm 0 0}
 #printArea .waybill-bottom{margin-top:5mm;padding-top:0}
 #printArea .waybill-dispatch{display:grid;gap:1mm}
 #printArea .waybill-signatures{gap:8mm;margin-top:6mm}
 #printArea .waybill-signatures b{font-size:10pt;font-weight:400}
 #printArea .waybill-signatures span{font-size:10pt;min-height:5mm}
 #printArea .waybill-signatures i{height:3mm;border-color:#111}
 #printArea .waybill-signatures small{font-size:8pt;color:#111}
 #printArea .waybill-footer{border:0;margin-top:5mm;padding-top:0;color:#444}
}

/* Larger, high-contrast waybill text and aligned signing rows. */
@media print{
 html body #printArea .waybill-sheet{padding:10mm;gap:10mm;font-size:11pt;line-height:1.3}
 #printArea .waybill-cut{top:10mm;height:190mm}
 #printArea .waybill-issuer b{font-size:11pt;font-weight:700}
 #printArea .waybill-copy-label{font-size:9pt;color:#111}
 #printArea .waybill-title h1{font-size:20pt;letter-spacing:1.5pt}
 #printArea .waybill-title>b{font-size:13pt}
 #printArea .waybill-title p{font-size:10pt;font-style:normal}
 #printArea .waybill-title>span{font-size:11pt;color:#000}
 #printArea .waybill-parties>div,#printArea .waybill-dispatch>div{grid-template-columns:36mm minmax(0,1fr);padding:1mm 0;align-items:end}
 #printArea .waybill-parties dt,#printArea .waybill-dispatch dt{font-size:11pt;line-height:1.25;color:#000}
 #printArea .waybill-parties dd,#printArea .waybill-dispatch dd{font-size:11pt;font-weight:600;color:#000;min-height:4.5mm;border-color:#333}
 html body #printArea .waybill-table :is(th,td){font-size:10.5pt!important;line-height:1.3;padding:1.5mm 1mm;color:#000!important;border-color:#111}
 html body #printArea .waybill-table thead th{font-size:10pt!important;font-weight:700;height:10mm}
 #printArea .waybill-table small{font-size:9.5pt;color:#222}
 html body #printArea .waybill-table tbody td{height:10mm}
 #printArea .waybill-table .waybill-num{font-variant-numeric:tabular-nums}
 #printArea .waybill-document-note{font-size:9pt;color:#111}
 #printArea .waybill-signatures{margin-top:5mm;gap:10mm;align-items:stretch}
 #printArea .waybill-signatures>div{grid-template-rows:5mm minmax(8mm,1fr) 4mm auto;gap:1mm}
 #printArea .waybill-signatures b{font-size:11pt;font-weight:700;color:#000}
 #printArea .waybill-signatures span{font-size:11pt;line-height:1.3;min-height:8mm;color:#000}
 #printArea .waybill-signatures i{height:4mm;border-bottom:1px solid #111}
 #printArea .waybill-signatures small{font-size:9pt;color:#111}
 #printArea .waybill-footer{font-size:8pt;color:#222;margin-top:4mm}
}

@media print{
 #printArea .waybill-title{padding:1mm 0 3mm;gap:1mm}
 #printArea .waybill-title h1{line-height:1.05}
 #printArea .waybill-title>b{line-height:1.1}
 #printArea .waybill-title p{display:none}
 #printArea .waybill-title>span{margin-top:0;line-height:1.2}
 #printArea .waybill-parties>div,#printArea .waybill-dispatch>div{padding:.5mm 0}
 #printArea .waybill-parties dd,#printArea .waybill-dispatch dd{min-height:3.5mm;padding-bottom:.3mm}
 html body #printArea .waybill-table :is(th,td){padding:1mm}
 #printArea .waybill-table small{margin-top:.4mm}
 #printArea .waybill-signatures>div{grid-template-rows:5mm minmax(6mm,1fr) 3mm auto;gap:.8mm}
 #printArea .waybill-signatures span{min-height:6mm}
 #printArea .waybill-signatures i{height:3mm}
 #printArea .waybill-footer{margin-top:2mm}
}

/* Mobile ergonomics: touch targets, keyboard space and inexpensive transitions. */
@media screen and (max-width:700px){
 body.mobile-nav-open{overflow:hidden;overscroll-behavior:none}
 #sideNav,.m-b{overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
 html body :is(#content,#modal) :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea){font-size:16px!important;min-height:44px;scroll-margin-block:24px}
 html body :is(#content,#modal,#sideNav) :is(.btn,.icon-btn){min-height:44px;touch-action:manipulation}
 html body :is(#content,#modal) .icon-btn{min-width:44px}
 html body #modalH .icon-btn{width:44px!important;height:44px!important;flex-shrink:0}
 html body #modalF{flex-shrink:0;padding-bottom:max(12px,env(safe-area-inset-bottom))!important}
 html body #modalB{min-height:0;overflow-y:auto;overscroll-behavior:contain}
 html.mobile-keyboard-open body #modal{top:calc(var(--mobile-visible-top,0px) + 6px)!important;bottom:auto!important;max-height:calc(var(--mobile-visible-height,100dvh) - 12px)!important;translate:-50% 0!important;transform:none!important}
 html.mobile-keyboard-open #bnav{visibility:hidden;pointer-events:none}
 html body :is(.overlay,.side-veil,.section-loading-overlay){backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
 html body :is(.btn,.icon-btn,.bnav a,.bnav button){transition-property:background-color,border-color,color,opacity;transition-duration:120ms}
 html body .tabs{overscroll-behavior-x:contain;scroll-padding-inline:12px}
 html body .tabs :is(button,a){min-height:44px;flex-shrink:0}
 html body .pagination :is(button,a){min-width:44px;min-height:44px}
}

/* Shared list filters: search and primary actions stay in the toolbar. */
@media screen{
 html body :is(#content#content#content,#modalB#modalB#modalB) .filters-toolbar{display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:10px!important;grid-template-columns:none!important;min-width:0}
 html body :is(#content#content#content,#modalB#modalB#modalB) .filters-toolbar>:is(.search,.dir-search,.debt-search,.purchase-search,.equipment-search,.alerts-search,.journal-search,.payroll-search){flex:1 1 240px!important;min-width:0!important;max-width:none!important;width:auto!important}
 html body :is(#content#content#content,#modalB#modalB#modalB) .filters-toolbar>.list-filter-toggle{display:inline-flex!important;flex:0 0 auto!important;min-width:0!important;white-space:nowrap;gap:7px}
 html body :is(#content#content#content,#modalB#modalB#modalB) .list-filter-toggle svg{width:17px;height:17px;flex:none}
 html body :is(#content#content#content,#modalB#modalB#modalB) .list-filter-toggle .list-filter-chevron{width:13px;height:13px}
 html body :is(#content#content#content,#modalB#modalB#modalB) .list-filter-toggle[aria-expanded=true] .list-filter-chevron{transform:rotate(180deg)}
 html body :is(#content#content#content,#modalB#modalB#modalB) .list-filter-count{display:grid;place-items:center;min-width:19px;height:19px;padding:0 4px;border-radius:5px;font-size:11px;line-height:1;background:var(--accent-ink);color:var(--solid)}
 html body :is(#content#content#content,#modalB#modalB#modalB) .list-filter-count[hidden]{display:none!important}
 html body :is(#content#content#content,#modalB#modalB#modalB) .list-filter-panel{order:99!important;flex:0 0 100%!important;display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr));align-items:end;gap:12px!important;width:100%!important;min-width:0;box-sizing:border-box;margin:0!important;padding:14px!important;border:1px solid var(--hair);border-radius:10px;background:var(--field)}
 html body :is(#content#content#content,#modalB#modalB#modalB) .list-filter-panel[hidden]{display:none!important}
 html body :is(#content#content#content,#modalB#modalB#modalB) .list-filter-panel .filter-cluster{display:contents!important}
 html body :is(#content#content#content,#modalB#modalB#modalB) .list-filter-panel .list-filter-field{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:5px!important;margin:0!important;padding:0!important;min-width:0!important;width:auto!important;height:auto!important;border:0!important;background:none!important;color:var(--muted);font-size:12px;line-height:1.4}
 html body :is(#content#content#content,#modalB#modalB#modalB) .list-filter-field>svg{display:none!important}
 html body :is(#content#content#content,#modalB#modalB#modalB) .list-filter-panel :is(input,select){min-height:44px!important;position:static!important;min-width:0!important;width:100%!important;max-width:100%!important;box-sizing:border-box;margin:0!important}
 html body :is(#content#content#content,#modalB#modalB#modalB) .list-filter-panel>:is(.cash-period,.report-period,.report-presets,.orders-status){grid-column:1/-1;width:100%!important;min-width:0!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important;background:none!important}
 html body :is(#content#content#content,#modalB#modalB#modalB) .list-filter-panel :is(.cash-period,.report-period){display:block!important}
 html body :is(#content#content#content,#modalB#modalB#modalB) .list-filter-panel :is(.cash-period,.report-period)>span{display:block;margin-bottom:8px;font-size:12px;color:var(--muted)}
 html body :is(#content#content#content,#modalB#modalB#modalB) .list-filter-panel :is(.cash-period,.report-period)>.row{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
 html body :is(#content#content#content,#modalB#modalB#modalB) .list-filter-panel :is(.cash-period,.report-period)>.row>.t-muted{display:none}
 html body :is(#content#content#content,#modalB#modalB#modalB) .list-filter-panel>.report-presets{display:flex!important;flex-wrap:wrap;gap:8px}
 html body :is(#content#content#content,#modalB#modalB#modalB) .list-filter-panel>.orders-status{display:flex!important;flex-wrap:wrap!important;overflow:visible!important;gap:6px}
 html body :is(#content#content#content,#modalB#modalB#modalB) .list-filter-panel>.orders-status button{flex:0 1 auto!important;min-width:0!important;white-space:normal!important}
 html body :is(#content#content#content,#modalB#modalB#modalB) .list-filter-panel>.btn{align-self:end;justify-self:start;min-width:0!important}
 html body :is(#content#content#content,#modalB#modalB#modalB) .report-controls>.report-type{flex:1 1 260px;min-width:0}
 html body :is(#content#content#content,#modalB#modalB#modalB) .list-filter-toggle:focus-visible{outline:2px solid var(--accent-ink);outline-offset:3px}
}
@media screen and (max-width:640px){
 html body :is(#content#content#content,#modalB#modalB#modalB) .filters-toolbar{gap:8px!important}
 html body :is(#content#content#content,#modalB#modalB#modalB) .filters-toolbar>:is(.search,.dir-search,.debt-search,.purchase-search,.equipment-search,.alerts-search,.journal-search,.payroll-search){flex:1 1 150px!important}
 html body :is(#content#content#content,#modalB#modalB#modalB) .list-filter-panel{padding:10px!important;gap:10px!important;grid-template-columns:repeat(2,minmax(0,1fr))}
 html body :is(#content#content#content,#modalB#modalB#modalB) .list-filter-toggle{min-height:44px!important}
}
@media screen and (max-width:360px){html body :is(#content#content#content,#modalB#modalB#modalB) .list-filter-panel{grid-template-columns:minmax(0,1fr)}}

@media screen{
 html body :is(#content#content#content,#modalB#modalB#modalB) .list-filter-field:has(>select[hidden]){display:none!important}
 .cash-filter-period-note{display:grid;gap:4px;min-width:0;font-size:12px;color:var(--muted)}
 .cash-filter-period-note b{font-size:13px;font-weight:500;color:var(--ink)}
}

@media screen{
 html body :is(#content#content#content,#modalB#modalB#modalB) .list-filter-panel>.production-date{grid-column:1/-1;min-width:0;width:100%}
 html body :is(#content#content#content,#modalB#modalB#modalB) .list-filter-panel .production-date .row{flex-wrap:wrap!important;gap:8px!important}
 html body :is(#content#content#content,#modalB#modalB#modalB) .list-filter-panel .production-date .list-filter-field{flex:1 1 160px!important}
 html body :is(#content#content#content,#modalB#modalB#modalB) .list-filter-panel .home-date-control{position:static!important;display:flex!important;padding:0!important;height:auto!important;background:none!important}
 html body :is(#content#content#content,#modalB#modalB#modalB) .list-filter-panel .home-date-control input{opacity:1!important;cursor:auto!important}
}

/* Salary calculation and the saved calculation sheet. */
@media screen{
 #modal:is([data-variant=salary-calculation],[data-variant=salary-detail]){width:940px!important;max-width:calc(100vw / 1.1 - 32px)!important;max-height:calc(100dvh / 1.1 - 32px)!important;background:var(--solid)}
 #modal:is([data-variant=salary-calculation],[data-variant=salary-detail]) #modalB{padding:20px!important;overflow:auto;min-height:0}
 #modal:is([data-variant=salary-calculation],[data-variant=salary-detail]) #modalH{padding:18px 20px!important;border-bottom:1px solid var(--hair)}
 #modal:is([data-variant=salary-calculation],[data-variant=salary-detail]) #modalF{gap:8px;flex-wrap:wrap;padding:12px 20px!important;border-top:1px solid var(--hair)}
 #modal[data-variant=salary-calculation] .payroll-required{display:none}
 .salary-calc-layout{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:20px;align-items:start;min-width:0}
 .salary-form{display:grid;gap:16px;min-width:0}
 .salary-form-section{min-width:0}
 .salary-form-section header{margin:0 0 12px}
 .salary-form-section h4,.salary-section-label{margin:0;font-size:14px;font-weight:650;color:var(--ink)}
 .salary-form-section p{margin:3px 0 0;font-size:12px;color:var(--muted);line-height:1.5}
 .salary-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;min-width:0}
 .salary-form-section:first-child .fld:first-child{grid-column:1/-1}
 #modal[data-variant=salary-calculation] .salary-fields .fld{min-width:0;margin:0!important}
 #modal[data-variant=salary-calculation] .salary-fields label{display:block;font-size:12px!important;margin:0 0 5px!important;color:var(--muted)}
 #modal[data-variant=salary-calculation] .salary-fields :is(input,select){width:100%;min-width:0;max-width:100%;box-sizing:border-box;min-height:44px;padding:9px 11px!important}
 #modal[data-variant=salary-calculation] .payroll-amount-input input{padding-right:58px!important}
 .salary-preview{min-width:0;border:1px solid var(--hair);border-radius:14px;background:var(--field);padding:16px}
 .salary-preview>header{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:12px;font-size:12px;color:var(--muted);flex-wrap:wrap}
 .salary-preview>header b{color:var(--ink);font-weight:600}
 .salary-breakdown{margin:0;min-width:0}
 .salary-breakdown>div{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--hair)}
 .salary-breakdown dt{min-width:0;font-size:13px;color:var(--ink)}
 .salary-breakdown dt small{display:block;font-size:11px;color:var(--muted);margin-top:3px;line-height:1.5}
 .salary-breakdown dd{margin:0;flex:none;font-size:13px;font-weight:600;font-variant-numeric:tabular-nums;text-align:right;white-space:nowrap;color:var(--ink)}
 .salary-breakdown dd.salary-negative{color:var(--red)}
 .salary-net{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 0;color:var(--ink);font-size:13px}
 .salary-net strong{font-size:16px;font-variant-numeric:tabular-nums;white-space:nowrap}
 .salary-payments-total{padding:0 0 10px}
 .salary-payments-total>div{border:0;padding:5px 0}
 .salary-payments-total dt{color:var(--muted);font-size:12px}
 .salary-result{padding:16px;border-radius:12px;background:var(--ui-tint);color:var(--accent-ink);min-width:0}
 .salary-result>span{display:block;font-size:12px}
 .salary-result>strong{display:block;margin:6px 0 12px;font-size:25px;line-height:1.25;letter-spacing:-.6px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
 .salary-result>small{display:block;margin-top:7px;font-size:11px;color:var(--muted)}
 .salary-progress{height:4px;border-radius:4px;background:color-mix(in srgb,var(--accent-ink) 14%,transparent);overflow:hidden}
 .salary-progress i{display:block;height:100%;background:var(--accent-ink);border-radius:4px}
 .salary-preview-caption{margin:10px 0 0;font-size:11px;color:var(--muted);line-height:1.6}
 .salary-placeholder{padding:24px 8px;text-align:center;display:grid;justify-items:center;gap:10px;color:var(--muted);font-size:13px}
 .salary-placeholder svg{width:28px;height:28px;color:var(--accent-ink)}
 .salary-placeholder p{margin:0;font-size:12px;line-height:1.6}
 .salary-context-note{font-size:12px;line-height:1.6;color:var(--muted)}
 .salary-context-note:empty{display:none}
 .salary-context-note p{margin:0 0 8px}
 .salary-context-note .salary-validation{padding:10px 12px;border-radius:10px;color:var(--red);background:color-mix(in srgb,var(--red) 8%,var(--solid));border:1px solid color-mix(in srgb,var(--red) 22%,var(--hair))}
 .salary-history{display:grid;gap:8px;min-width:0}
 .salary-history details{border:1px solid var(--hair);border-radius:10px;background:var(--solid);min-width:0;overflow:hidden}
 .salary-history summary{display:flex;align-items:center;gap:8px;cursor:pointer;padding:10px 12px;min-height:44px;box-sizing:border-box;list-style:none;font-size:12px;font-weight:600;color:var(--ink)}
 .salary-history summary::-webkit-details-marker{display:none}
 .salary-history summary>svg{width:16px;height:16px;color:var(--accent-ink);flex:none}
 .salary-history summary>b{margin-left:auto;padding:2px 6px;border-radius:5px;background:var(--field);font-size:11px;color:var(--muted)}
 .salary-history summary:after{content:'⌄';color:var(--muted);font-size:16px;line-height:1}
 .salary-history details[open] summary:after{content:'⌃'}
 .salary-history ul{list-style:none;margin:0;padding:0 12px;max-height:260px;overflow-y:auto}
 .salary-history li{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-top:1px solid var(--hair);font-size:12px}
 .salary-history li>div{min-width:0;overflow-wrap:anywhere}
 .salary-history li b{font-weight:600}
 .salary-history li small{display:block;margin-top:3px;font-size:11px;color:var(--muted)}
 .salary-history li>strong{flex:none;font-size:12px;white-space:nowrap;font-variant-numeric:tabular-nums}
 .salary-history-note{margin:0;padding:0 12px 12px;color:var(--muted);font-size:11px;line-height:1.6}
 .salary-detail{display:grid;gap:18px;min-width:0}
 .salary-person{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding-bottom:16px;border-bottom:1px solid var(--hair)}
 .salary-person>span:first-child{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:var(--ui-tint);color:var(--accent-ink)}
 .salary-person>span>svg{width:22px;height:22px}
 .salary-person>div{flex:1;min-width:140px}
 .salary-person h4{margin:0;font-size:17px;color:var(--ink)}
 .salary-person p{margin:4px 0 0;font-size:12px;line-height:1.5;color:var(--muted)}
 .salary-detail-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:24px;align-items:start;min-width:0}
 .salary-detail-grid>*{min-width:0}
 .salary-days{display:grid;grid-template-columns:1fr auto;gap:10px;padding-top:16px;font-size:12px;color:var(--muted)}
 .salary-days b{font-weight:600;color:var(--ink);text-align:right}
 .salary-person-link{padding:4px 0;background:none;border:0;font:inherit;font-weight:600;text-align:left;color:var(--accent-ink);cursor:pointer}
 .salary-person-link:focus-visible,.salary-history summary:focus-visible{outline:2px solid var(--accent-ink);outline-offset:3px}
}
@media screen and (max-width:760px){
 .salary-calc-layout,.salary-detail-grid{grid-template-columns:minmax(0,1fr);gap:16px}
 .salary-preview{padding:14px}
 #modal:is([data-variant=salary-calculation],[data-variant=salary-detail]){max-width:calc(100vw - 16px)!important;max-height:calc(100dvh - 16px)!important}
 #modal:is([data-variant=salary-calculation],[data-variant=salary-detail]) #modalB{padding:14px!important}
 #modal:is([data-variant=salary-calculation],[data-variant=salary-detail]) #modalF{padding:10px 14px!important}
 .salary-fields{gap:10px}
 .salary-breakdown dd{font-size:12px}
 .salary-net strong{font-size:15px}
 .salary-result>strong{font-size:24px}
 .salary-history li{gap:8px}
}
@media screen{
 html.mobile-app .salary-calc-layout,html.mobile-app .salary-detail-grid{grid-template-columns:minmax(0,1fr)!important;gap:14px}
 html.mobile-app body #modal#modal#modal .salary-fields .fld{margin:0!important}
 html.mobile-app .salary-history summary{min-height:44px}
 html.mobile-app .salary-result>strong{font-size:24px}
}
@media screen{
 .salary-footer-total{display:grid;gap:3px;margin-right:auto;color:var(--ink);font-variant-numeric:tabular-nums}
 .salary-footer-total>span{font-size:11px;color:var(--muted)}
 .salary-footer-total>b{font-size:16px;font-weight:650}
 .salary-row-meta{display:block;margin-top:4px;font-size:11px;color:var(--muted);white-space:normal;line-height:1.5}
 .payroll-workspace[data-view=payrolls] .tbl td:first-child{white-space:normal;min-width:150px}
 .payroll-workspace[data-view=payrolls] .tbl td:last-child .actions{flex-wrap:wrap}
 .salary-detail>.salary-validation{margin:0;padding:10px 12px;border:1px solid var(--hair);border-radius:10px;background:var(--field);color:var(--amber);font-size:12px;line-height:1.6}
 html.mobile-app body #modal#modal#modal[data-variant=salary-calculation] #modalF{display:grid;grid-template-columns:1fr 1.65fr!important;gap:8px!important}
 html.mobile-app body #modal#modal#modal[data-variant=salary-calculation] #modalF .salary-footer-total{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;width:100%;gap:8px;padding-bottom:4px}
 html.mobile-app body #modal#modal#modal[data-variant=salary-calculation] #modalF .btn{font-size:14px!important;padding:8px!important;min-width:0;white-space:normal}
}
@media screen and (max-width:360px){
 #modal[data-variant=salary-calculation] .salary-form-section:first-child .salary-fields{grid-template-columns:minmax(0,1fr)}
 #modal[data-variant=salary-calculation] .salary-form-section:first-child .fld{grid-column:1/-1}
}

/* Compact salary sheet: totals first, then a ruled calculation and histories. */
@media screen{
 #modal[data-variant=salary-detail]{width:820px!important}
 #modal[data-variant=salary-detail] #modalH{padding:14px 18px!important}
 #modal[data-variant=salary-detail] #modalB{padding:16px 18px!important;background:var(--solid)}
 #modal[data-variant=salary-detail] #modalF{padding:10px 18px!important;gap:8px}
 #modal[data-variant=salary-detail] #modalF .salary-sheet-close{margin-right:auto}
 .salary-sheet{gap:14px}
 .salary-sheet-person{display:flex;align-items:center;gap:11px;min-width:0}
 .salary-sheet-avatar{display:grid;place-items:center;flex:none;width:40px;height:40px;border-radius:12px;background:var(--ui-tint);color:var(--accent-ink);font-size:14px;font-weight:650}
 .salary-sheet-person>div{flex:1;min-width:0}
 .salary-sheet-person h4{margin:0;font-size:17px;line-height:1.35;color:var(--ink);overflow-wrap:anywhere}
 .salary-sheet-person p{display:flex;align-items:center;flex-wrap:wrap;gap:5px;margin:3px 0 0;font-size:11px;line-height:1.5;color:var(--muted)}
 .salary-sheet-person>.badge{flex:none;font-size:10px;white-space:nowrap}
 .salary-sheet-totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
 .salary-sheet-totals>article{min-width:0;display:flex;flex-direction:column;justify-content:center;padding:13px 14px;border:1px solid var(--hair);border-radius:12px;background:var(--field);color:var(--ink)}
 .salary-sheet-totals>article>span{font-size:11px;line-height:1.5;color:var(--muted)}
 .salary-sheet-totals>article>strong{display:block;margin:5px 0 1px;font-size:25px;font-weight:650;line-height:1.3;letter-spacing:-.6px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;color:var(--ink)}
 .salary-sheet-totals>article>small{font-size:11px;line-height:1.4;color:var(--muted);margin:0}
 .salary-sheet-totals>.salary-sheet-paid>strong{color:var(--green)}
 .salary-sheet-totals>.salary-result{background:var(--ui-tint);border-color:color-mix(in srgb,var(--accent-ink) 20%,var(--hair))}
 .salary-sheet-totals>.salary-result>:is(span,strong,small){color:var(--accent-ink)}
 .salary-sheet-totals>.salary-sheet-overpaid>:is(span,strong,small){color:var(--amber)}
 .salary-sheet-payment{display:flex;align-items:center;gap:20px;justify-content:space-between;padding:0 2px 2px;min-width:0}
 .salary-sheet-payment>div:first-child{display:flex;flex-wrap:wrap;gap:7px 18px;font-size:11px;line-height:1.5;color:var(--muted)}
 .salary-sheet-payment b{font-weight:600;color:var(--ink);white-space:nowrap}
 .salary-sheet-payment>div:first-child b{margin-left:5px}
 .salary-sheet-progress{display:grid;gap:5px;flex:0 0 130px;font-size:10px;color:var(--muted)}
 .salary-sheet-progress>span{display:flex;justify-content:space-between;gap:10px}
 .salary-sheet-components{border:1px solid var(--hair);border-radius:12px;overflow:hidden;min-width:0}
 .salary-sheet-components>header{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:11px 13px;background:var(--solid)}
 .salary-sheet-components h4{margin:0;font-size:13px;font-weight:650;color:var(--ink)}
 .salary-sheet-components>header>span{font-size:11px;color:var(--muted);white-space:nowrap}
 .salary-sheet-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:12px;line-height:1.5;color:var(--ink)}
 .salary-sheet-table th,.salary-sheet-table td{padding:9px 13px;border-top:1px solid var(--hair);vertical-align:middle;text-align:left}
 .salary-sheet-table thead{background:var(--field);color:var(--muted);font-size:10px}
 .salary-sheet-table thead th{font-weight:500}
 .salary-sheet-table thead th:first-child{width:24%}
 .salary-sheet-table thead th:nth-child(2){width:46%}
 .salary-sheet-table thead th:last-child{width:30%}
 .salary-sheet-table tbody th{font-weight:500}
 .salary-sheet-table tbody td:nth-child(2){font-size:11px;color:var(--muted);overflow-wrap:anywhere}
 .salary-sheet-table tr>:last-child{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
 .salary-sheet-table tbody td:last-child{font-weight:600}
 .salary-sheet-table .salary-sheet-zero td:last-child{font-weight:400;color:var(--muted)}
 .salary-sheet-table tbody td.salary-negative{color:var(--red)}
 .salary-sheet-table tfoot{background:var(--field);font-size:13px}
 .salary-sheet-table tfoot :is(th,td){padding-block:11px;font-weight:650}
 .salary-sheet .salary-history{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:start}
 .salary-sheet .salary-history details{border-radius:10px;background:var(--field)}
 .salary-sheet .salary-history summary{font-size:12px;padding:9px 12px}
 .salary-sheet .salary-history ul{background:var(--solid)}
 .salary-sheet .salary-history-note{font-size:11px}
 .salary-sheet-draft{margin:0;padding:9px 12px;border-radius:8px;background:var(--field);color:var(--amber);font-size:11px;line-height:1.6}
}
@media screen and (max-width:640px){
 .salary-sheet-totals{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .salary-sheet-totals>article{padding:11px 12px}
 .salary-sheet-totals>article>strong{font-size:21px}
 .salary-sheet-totals>.salary-result{grid-column:1/-1;display:grid;grid-template-columns:1fr auto;column-gap:10px;align-items:center}
 .salary-sheet-totals>.salary-result>span{grid-column:1/-1}
 .salary-sheet-totals>.salary-result>strong{font-size:27px;margin:3px 0 0}
 .salary-sheet-totals>.salary-result>small{align-self:end;padding-bottom:5px}
 .salary-sheet-person{flex-wrap:wrap;gap:8px}
 .salary-sheet-person h4{font-size:16px}
 .salary-sheet-person>.badge{margin-left:48px}
 .salary-sheet-payment{flex-direction:column;align-items:stretch;gap:10px}
 .salary-sheet-payment>div:first-child{justify-content:space-between;gap:6px 10px}
 .salary-sheet-progress{flex:auto;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:12px}
 .salary-sheet-progress>span{gap:8px}
 .salary-sheet .salary-history{grid-template-columns:minmax(0,1fr);gap:8px}
 .salary-sheet-table thead{display:none}
 .salary-sheet-table tbody{display:block}
 .salary-sheet-table tbody tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 10px;padding:9px 12px;border-top:1px solid var(--hair)}
 .salary-sheet-table tbody :is(th,td){display:block;padding:0;border:0;min-width:0}
 .salary-sheet-table tbody th{grid-column:1;grid-row:1}
 .salary-sheet-table tbody td:nth-child(2){grid-column:1;grid-row:2;font-size:10px}
 .salary-sheet-table tbody td:last-child{grid-column:2;grid-row:1/3;align-self:center;text-align:right;font-size:12px}
 .salary-sheet-table tfoot,.salary-sheet-table tfoot tr{display:block}
 .salary-sheet-table tfoot tr{display:flex;justify-content:space-between;gap:10px;padding:11px 12px;border-top:1px solid var(--hair)}
 .salary-sheet-table tfoot :is(th,td){display:block;padding:0;border:0;min-width:0;font-size:12px}
 #modal[data-variant=salary-detail] #modalF .btn{font-size:12px!important;padding:8px!important;min-height:44px}
 #modal[data-variant=salary-detail] #modalF .salary-sheet-close{margin-right:auto;min-width:44px;width:44px}
 #modal[data-variant=salary-detail] #modalF .salary-sheet-close>span{display:none}
}
@media screen{
 html.mobile-app body #modal#modal#modal[data-variant=salary-detail] #modalF .btn{font-size:12px!important;min-height:44px;padding:8px!important}
 html.mobile-app body #modal#modal#modal[data-variant=salary-detail] #modalF .salary-sheet-close{width:44px;min-width:44px;margin-right:auto}
 html.mobile-app body #modal#modal#modal[data-variant=salary-detail] #modalF .salary-sheet-close>span{display:none}
 html.mobile-app .salary-sheet .salary-history{grid-template-columns:minmax(0,1fr)}
}
@media screen{
 html.mobile-app .salary-sheet-totals{grid-template-columns:repeat(2,minmax(0,1fr))}
 html.mobile-app .salary-sheet-totals>.salary-result{grid-column:1/-1;display:grid;grid-template-columns:1fr auto;column-gap:10px;align-items:center}
 html.mobile-app .salary-sheet-totals>.salary-result>span{grid-column:1/-1}
 html.mobile-app .salary-sheet-totals>.salary-result>strong{font-size:27px;margin:3px 0 0}
 html.mobile-app .salary-sheet-totals>.salary-result>small{align-self:end;padding-bottom:5px}
}

/* Tab crossfades animate opacity only; navigation and scroll anchors stay fixed. */
@media screen {
 #content [data-tab-outgoing]{contain:paint;overflow-anchor:none;user-select:none}
 #content [data-tab-outgoing] .tabs{visibility:hidden}
 #content .tabs button{transform:none!important}
}
@media screen {
 #content .supplier-list-view{grid-template-columns:minmax(0,1fr)}
 #content .supplier-list-view>*{min-width:0;max-width:100%}
 #content .supplier-list-view .tbl-wrap{max-width:100%;overflow-x:auto}
}

@media screen {
 html.mobile-app body #app #content#content>.page-shell.tab-scroll-floor{min-height:var(--tab-scroll-floor)!important}
}

/* Compact daily production workspace; scoped to the production page. */
@media screen {
 html body #content#content#content .production-redesign{display:grid;gap:16px}
 html body #content#content#content .production-redesign .production-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:12px!important;padding:0!important;min-height:48px;border:0;background:transparent;box-shadow:none!important;border-radius:0}
 html body #content#content#content .production-redesign .production-day{order:-1;flex:1 1 140px;min-width:0}
 .production-day>span{display:block;font-size:12px;color:var(--muted);margin-bottom:3px}
 .production-day>div{display:flex;align-items:center;gap:10px}
 html body #content#content#content .production-redesign .production-day h3{margin:0;font-size:20px!important;line-height:1.3;font-variant-numeric:tabular-nums}
 html body #content#content#content .production-redesign .list-filter-panel{grid-template-columns:minmax(0,1fr);padding:12px!important;background:var(--solid)}
 html body #content#content#content .production-redesign .production-date{width:auto;max-width:420px;min-width:0}
 html body #content#content#content .production-redesign .production-date .production-caption{display:none}
 html body #content#content#content .production-redesign .production-date .row{display:grid;grid-template-columns:36px minmax(0,1fr) 36px auto;align-items:end;gap:8px;flex-wrap:nowrap}
 html body #content#content#content .production-redesign .production-date .list-filter-label{font-size:11px}
 html body #content#content#content .production-redesign .production-date :is(.icon-btn,.btn){height:44px!important;min-height:44px!important;min-width:36px;width:auto}
 html body #content#content#content .production-redesign .production-date .list-filter-field{max-width:210px}
 html body #content#content#content .production-redesign .production-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:0;border:0;max-width:none;width:100%}
 html body #content#content#content .production-redesign .production-metrics>div{min-height:82px;padding:16px;gap:12px;background:var(--solid);border:1px solid var(--hair);border-radius:12px;box-shadow:none!important}
 html body #content#content#content .production-redesign .production-metrics>div>span{display:block;width:auto;font-size:12px!important;line-height:1.4}
 html body #content#content#content .production-redesign .production-metrics strong{font-size:25px!important;margin-top:5px;line-height:1.15!important}
 html body #content#content#content .production-redesign .production-metrics small{font-size:13px;font-weight:500;color:var(--muted)}
 html body #content#content#content .production-redesign .production-section-title{margin:4px 0 -4px;flex-direction:row;align-items:center}
 html body #content#content#content .production-redesign .production-section-title>span:first-child{font-size:13px!important}
 html body #content#content#content .production-redesign .production-section-title>span:last-child{font-size:11px!important}
 html body #content#content#content .production-redesign .production-grid{grid-template-columns:minmax(280px,.72fr) minmax(0,1.6fr);gap:16px}
 html body #content#content#content .production-redesign .production-grid .card{border-radius:12px;box-shadow:none!important}
 html body #content#content#content .production-redesign .production-plan-empty{min-height:0}
 html body #content#content#content .production-redesign .production-plan-empty>h3{padding:14px 16px;font-size:14px!important}
 html body #content#content#content .production-redesign .production-empty{min-height:0;padding:20px 16px;gap:12px}
 html body #content#content#content .production-redesign .production-empty>svg{width:24px;height:24px;padding:8px;border-radius:10px}
 html body #content#content#content .production-redesign .production-empty b{font-size:13px}
 html body #content#content#content .production-redesign .production-empty p{font-size:12px;max-width:280px;margin:5px 0 0}
 html body #content#content#content .production-redesign .production-batch-heading{padding:14px 16px;align-items:center;min-height:52px}
 html body #content#content#content .production-redesign .production-batch-heading h3{font-size:14px!important}
 html body #content#content#content .production-redesign .production-batch-table{min-width:0!important;width:100%}
 html body #content#content#content .production-redesign .production-batch-table :is(th,td){padding:13px 12px}
 html body #content#content#content .production-redesign .production-batch-table th{font-size:10px!important;white-space:nowrap}
 html body #content#content#content .production-redesign .production-batch-table td{font-size:13px!important;overflow-wrap:anywhere}
 html body #content#content#content .production-redesign .production-batch-table tr[data-batch-view]:focus-visible{outline:2px solid var(--accent-ink);outline-offset:-2px;background:var(--ui-tint)}
 html body #content#content#content .production-redesign .production-plant-card{padding:14px}
 html body #content#content#content .production-redesign .production-plant-heading h3{font-size:14px!important}
 html body #content#content#content .production-redesign .production-job .plan-row{padding:12px;gap:10px}
 html body #content#content#content .production-redesign .production-job-title{flex-wrap:wrap;gap:6px}
 html body #content#content#content .production-redesign .plan-time{min-width:42px;width:42px;font-size:13px}
 html body #content#content#content .production-redesign .production-job-progress{flex-wrap:wrap}
 html body #content#content#content .production-redesign .production-waiting{padding:14px 16px}
 html body #content#content#content .production-redesign .production-waiting h3{font-size:14px!important;margin:0 0 10px}
 html body #content#content#content .production-redesign .production-waiting .dt-line>span{min-width:0;overflow-wrap:anywhere}
}
@media screen and (max-width:1100px){
 html body #content#content#content .production-redesign .production-grid{grid-template-columns:minmax(0,1fr)}
 html body #content#content#content .production-redesign .production-empty{display:grid;grid-template-columns:40px minmax(0,1fr) auto;text-align:left;justify-content:start;align-items:center;padding:16px}
 html body #content#content#content .production-redesign .production-empty p{max-width:none}
}
@media screen and (max-width:640px){
 html body #content#content#content .production-redesign{gap:12px}
 html body #content#content#content .production-redesign .production-day h3{font-size:18px!important}
 html body #content#content#content .production-redesign .production-date{width:100%;max-width:none}
 html body #content#content#content .production-redesign .production-date .row{grid-template-columns:36px minmax(0,1fr) 36px;gap:6px}
 html body #content#content#content .production-redesign .production-date #dToday{grid-column:2;justify-self:stretch}
 html body #content#content#content .production-redesign .production-date .list-filter-field{max-width:none}
 html body #content#content#content .production-redesign .production-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
 html body #content#content#content .production-redesign .production-metrics>div{padding:12px 8px;min-height:72px}
 html body #content#content#content .production-redesign .production-metrics>div>svg{display:none}
 html body #content#content#content .production-redesign .production-metrics>div>span{font-size:10px!important;width:100%}
 html body #content#content#content .production-redesign .production-metrics strong{font-size:20px!important;margin-top:6px}
 html body #content#content#content .production-redesign .production-empty{grid-template-columns:32px minmax(0,1fr);gap:10px;padding:16px 12px}
 html body #content#content#content .production-redesign .production-empty>svg{width:20px;height:20px;padding:6px}
 html body #content#content#content .production-redesign .production-empty>.btn{grid-column:2;justify-self:start}
 html body #content#content#content .production-redesign .production-section-title>span:first-child{font-size:12px!important}
 html body #content#content#content .production-redesign .production-section-title>span:last-child{font-size:10px!important}
 html body #content#content#content .production-redesign .production-batch-heading{padding:12px;gap:8px}
 html body #content#content#content .production-redesign .production-batch-table tr[data-batch-view]{gap:10px;padding:12px}
 html body #content#content#content .production-redesign .production-batch-table td[data-label]:before{font-size:10px;margin-bottom:3px}
}

@media screen and (min-width:1101px){html body #content#content#content .production-redesign.production-has-plan .production-grid{grid-template-columns:minmax(360px,1fr) minmax(0,1.4fr)}}
@media screen and (max-width:640px){
 html body #content#content#content .production-redesign .production-batch-table tr[data-batch-view]{grid-template-columns:repeat(6,minmax(0,1fr))!important}
 html body #content#content#content .production-redesign .production-batch-table tr[data-batch-view]>td{grid-column:span 2!important}
 html body #content#content#content .production-redesign .production-batch-table tr[data-batch-view]>td:first-child{grid-column:span 4!important}
 html body #content#content#content .production-redesign .production-batch-table tr[data-batch-view]>td:nth-child(3){grid-column:1/-1!important}
 html body #content#content#content .production-redesign .production-batch-empty{min-height:110px}
}

@media screen {
 html body #content#content#content .production-redesign .production-batch-table tr:has(td[colspan]){display:block!important;width:100%}
 html body #content#content#content .production-redesign .production-batch-table td[colspan]{display:block!important;height:auto!important;min-height:0!important;width:100%!important;overflow:visible!important;white-space:normal}
}
@media screen and (max-width:640px){
 html body #content#content#content .production-redesign .production-job .plan-time{display:flex;align-items:center;gap:8px;width:auto;min-width:0}
 html body #content#content#content .production-redesign .production-job .plan-time .mini{margin:0}
}

/* Transport board: enclosed fleet, readable trip register and compact phone records. */
@media screen {
 html body #content#content#content .transport-board{display:grid;gap:16px;min-width:0}
 html body #content#content#content .transport-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
 html body #content#content#content .transport-kpi{display:flex;align-items:center;gap:12px;min-width:0;padding:14px 16px;border:1px solid var(--hair);border-radius:12px;background:var(--solid);box-shadow:none!important}
 .transport-kpi>svg{width:36px;height:36px;padding:8px;flex:none;border-radius:10px;background:var(--ui-tint);color:var(--accent-ink)}
 .transport-kpi.tone-green>svg{background:var(--green-bg);color:var(--green)}
 .transport-kpi.tone-amber>svg{background:var(--amber-bg);color:var(--amber)}
 .transport-kpi>div{min-width:0}html body #content#content#content .transport-kpi span{display:block;font-size:12px!important;line-height:1.4;color:var(--muted)}
 html body #content#content#content .transport-kpi strong{display:block;font-size:25px!important;line-height:1.2;margin-top:4px;font-variant-numeric:tabular-nums}
 html body #content#content#content .transport-board :is(.fleet-panel,.fleet-tables>.card){min-width:0;max-width:100%;border:1px solid var(--hair);border-radius:12px;background:var(--solid);box-shadow:none!important;overflow:hidden}
 html body #content#content#content .transport-board .fleet-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;border-bottom:1px solid var(--hair);min-height:60px}
 .transport-board .fleet-panel-head>div{min-width:0}
 html body #content#content#content .transport-board .fleet-panel-head h3{display:flex;align-items:center;gap:8px;font-size:14px!important;line-height:1.4;margin:0!important;padding:0!important;overflow-wrap:anywhere}
 .transport-board .fleet-panel-head>div>span{display:block;font-size:11px;color:var(--muted);margin-top:4px;line-height:1.4}
 .transport-board .fleet-panel-head>.btn{flex:none;white-space:nowrap}
 html body #content#content#content .transport-board .mixer-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:12px;margin:0;padding:14px}
 html body #content#content#content .transport-board .mixer{display:flex;flex-direction:column;min-width:0;border:1px solid var(--surface-contour);border-radius:10px;background:var(--solid);padding:0;box-shadow:none!important;border-top-width:1px}
 html body #content#content#content .transport-board .fleet-mixer-head{display:flex;align-items:center;flex-wrap:nowrap;gap:10px;padding:14px 14px 0}
 html body #content#content#content .transport-board .fleet-mixer-icon{height:38px;width:38px;border-radius:10px;background:var(--ui-tint)}
 html body #content#content#content .transport-board .fleet-mixer-icon svg{width:25px;height:25px}
 html body #content#content#content .transport-board .fleet-mixer-info{flex:1;min-width:0}
 html body #content#content#content .transport-board .plate{display:block;padding:0;margin:0;border:0;background:none;box-shadow:none;font-size:18px!important;line-height:1.3;color:var(--ink);font-weight:700;overflow-wrap:anywhere}
 .transport-board .fleet-model{display:block;color:var(--muted);font-size:11px;line-height:1.4;margin-top:3px;overflow-wrap:anywhere}
 html body #content#content#content .transport-board .fleet-mixer-head>.badge{font-size:11px!important;padding:4px 7px;align-self:flex-start;max-width:45%;white-space:normal}
 .transport-board .fleet-mixer-details{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);gap:12px;padding:12px 14px}
 .transport-board .fleet-mixer-details>div{min-width:0;display:grid;gap:4px}
 .transport-board .fleet-mixer-details span{font-size:10px;color:var(--muted)}
 .transport-board .fleet-mixer-details b{font-size:12px;line-height:1.4;overflow-wrap:anywhere}
 .transport-board .fleet-current{display:grid;gap:5px;margin:0 14px 12px;padding:10px;border:1px solid var(--hair);border-radius:8px;background:var(--field);font-size:12px;overflow-wrap:anywhere}
 .transport-board .fleet-current>div{display:flex;flex-wrap:wrap;gap:8px;justify-content:space-between}
 .transport-board .fleet-current strong{font-size:12px;color:var(--accent-ink)}
 .transport-board .fleet-current small{font-size:11px;color:var(--muted)}
 html body #content#content#content .transport-board .fleet-mixer-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;min-height:54px;padding:10px 14px;margin-top:auto;border-top:1px solid var(--hair);background:color-mix(in srgb,var(--field) 40%,var(--solid))}
 html body #content#content#content .transport-board .fleet-mixer-actions:empty{display:none}
 html body #content#content#content .transport-board .auto-list-pager{margin:0!important;padding:0!important;border:0!important}
 html body #content#content#content .transport-board .list-pagination{border-top:1px solid var(--hair);margin:0!important;padding:10px 14px!important;background:transparent;border-radius:0}
 html body #content#content#content .transport-board .fleet-tables{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.35fr);gap:16px;margin:0;align-items:start!important}
 html body #content#content#content .transport-board .tbl-wrap{margin:0;padding:0;border:0;border-radius:0;min-width:0;max-width:100%}
 html body #content#content#content .transport-board .tbl{width:100%;min-width:0!important}
 html body #content#content#content .transport-board .tbl th{font-size:10px!important;padding:11px 12px;white-space:normal;text-align:left}
 html body #content#content#content .transport-board .tbl td{height:auto!important;padding:12px;font-size:12px!important;white-space:normal;overflow-wrap:anywhere;vertical-align:middle}
 html body #content#content#content .transport-board .tbl .num{text-align:right}
 html body #content#content#content .transport-board .tbl .sub{font-size:11px!important;line-height:1.4;margin-top:4px;white-space:normal}
 .transport-board .fleet-time{display:inline-block;font-size:10px;color:var(--muted);padding:2px 5px;border-radius:4px;background:var(--field);margin-left:6px}
 html body #content#content#content .transport-board .fleet-product{font-size:11px;padding:4px 7px;border-radius:6px;background:var(--ui-tint);color:var(--accent-ink)}
 html body #content#content#content .transport-board .fleet-row-actions{width:1%;white-space:normal}
 .transport-board .fleet-row-actions .actions{display:flex;flex-direction:column;align-items:stretch;flex-wrap:wrap;gap:6px}
 .transport-board .fleet-row-actions .btn{white-space:nowrap}
 html body #content#content#content .transport-board tr:has(td[colspan]){display:block;width:100%}
 html body #content#content#content .transport-board td[colspan]{display:block;width:100%!important;height:auto!important;overflow:visible!important}
 html body #content#content#content .transport-board .fleet-table-empty{min-height:140px;gap:8px;padding:20px 12px}
 html body #content#content#content .transport-board .fleet-table-empty>b{font-size:13px}
 html body #content#content#content .transport-board .fleet-table-empty>span{font-size:11px;line-height:1.5}
 html body #content#content#content .transport-board .fleet-empty{grid-column:1/-1;padding:20px;min-width:0}
}
@container(max-width:980px){html body #content#content#content .transport-board .fleet-tables{grid-template-columns:minmax(0,1fr)}}
@container(max-width:700px){
 html body #content#content#content .transport-board{gap:12px}
 html body #content#content#content .transport-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 html body #content#content#content .transport-kpi{padding:10px 12px;gap:10px}
 html body #content#content#content .transport-kpi strong{font-size:22px!important;margin-top:2px}
 .transport-kpi>svg{width:32px;height:32px;padding:7px;border-radius:8px}html body #content#content#content .transport-kpi span{font-size:11px!important}
 html body #content#content#content .transport-board .fleet-panel-head{padding:12px;gap:8px;min-height:0}
 html body #content#content#content .transport-board .fleet-panel-head h3{font-size:13px!important}
 html body #content#content#content .transport-board .mixer-grid{grid-template-columns:1fr;padding:12px;gap:10px}
 html body #content#content#content .transport-board .fleet-mixer-head{padding:12px 12px 0}
 .transport-board .fleet-mixer-details{padding:12px}
 html body #content#content#content .transport-board .fleet-mixer-actions{padding:8px 12px}
 html body #content#content#content .transport-board .tbl-wrap{overflow:visible}
 html body #content#content#content .transport-board :is(.tbl,.tbl tbody){display:block;width:100%;min-width:0!important}
 html body #content#content#content .transport-board .tbl thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 html body #content#content#content .transport-board .tbl tr:not(:has(td[colspan])):not([data-list-hidden]){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:12px;border-bottom:1px solid var(--hair)}
 html body #content#content#content .transport-board .tbl tr>td{display:block;min-width:0;width:auto!important;max-width:none;height:auto!important;min-height:0!important;margin:0;padding:0!important;text-align:left!important;border:0!important;position:static;white-space:normal;overflow-wrap:anywhere}
 html body #content#content#content .transport-board .tbl td[data-label]:before{display:block;content:attr(data-label);color:var(--muted);font-size:10px;line-height:1.4;margin-bottom:4px}
 html body #content#content#content .transport-board .tbl tr>td:first-child{grid-column:1/-1}
 html body #content#content#content .transport-board .fleet-row-actions{grid-column:1/-1}
 html body #content#content#content .transport-board .fleet-row-actions:before{display:none!important}
 html body #content#content#content .transport-board .fleet-dispatch-table .fleet-row-actions{grid-column:1/-1;grid-row:3;align-self:end;justify-self:stretch}
 html body #content#content#content .transport-board .fleet-dispatch-table td:nth-child(3){grid-column:2;grid-row:2}
 html body #content#content#content .transport-board .fleet-dispatch-table .fleet-row-actions>.btn{width:100%;justify-content:center}
 html body #content#content#content .transport-board .fleet-trips-table td:nth-child(3){grid-column:1/-1;grid-row:2}
 html body #content#content#content .transport-board .fleet-trips-table td:nth-child(2){grid-column:1;grid-row:3}
 html body #content#content#content .transport-board .fleet-trips-table td:nth-child(4){grid-column:2;grid-row:3}
 html body #content#content#content .transport-board .fleet-trips-table td:nth-child(5){grid-column:2;grid-row:1;align-self:start;justify-self:end}
 html body #content#content#content .transport-board .fleet-trips-table td:nth-child(5):before{display:none}
 html body #content#content#content .transport-board .fleet-trips-table td:first-child{grid-column:1;grid-row:1}
 html body #content#content#content .transport-board td[colspan]{padding:12px!important}
 html body #content#content#content .transport-board .fleet-table-empty{min-height:110px}
 html body #content#content#content .transport-board .fleet-empty{flex-direction:column;align-items:flex-start;padding:12px}
}

@media screen {
 html body #content#content#content .transport-board .mixer.st-repair{opacity:1}
 html:not(.mobile-app) body #content#content#content .transport-redesign>.tabs{display:flex;align-items:stretch;gap:18px;padding:0!important;background:none!important;border-radius:0!important;border:0!important;border-bottom:1px solid var(--hair)!important;box-shadow:none!important}
 html:not(.mobile-app) body #content#content#content .transport-redesign>.tabs button{flex:0 0 auto;min-width:0;min-height:40px!important;height:40px;border-radius:0!important;background:none!important;box-shadow:none!important;border:0!important;border-bottom:2px solid transparent!important;padding:0 2px!important;color:var(--muted)!important}
 html:not(.mobile-app) body #content#content#content .transport-redesign>.tabs button.on{color:var(--accent-ink)!important;border-bottom-color:var(--accent-ink)!important}
 html.mobile-app body #content#content#content .transport-redesign>.tabs{gap:2px!important}
 html.mobile-app body #content#content#content .transport-redesign>.tabs button{flex:1 1 auto!important;min-width:0!important;padding:7px 6px!important;font-size:11px!important}
}
@media screen and (max-width:640px){
 html:not(.mobile-app) body #content#content#content .transport-redesign>.tabs{gap:12px}
 html:not(.mobile-app) body #content#content#content .transport-redesign>.tabs button{font-size:12px!important}
}

@container(max-width:1200px){html body #content#content#content .transport-board .fleet-with-actions{grid-template-columns:minmax(0,1fr)}}
@container(max-width:700px){.transport-board .fleet-row-actions .actions{flex-direction:row}}

/* Production command workspace — desktop presentation, shared data and actions. */
.production-day-progress{display:none}
@media screen and (min-width:701px){
html:not(.mobile-app) body #content#content#content#content .production-redesign {display:grid;gap:18px;--production-line:var(--hair);font-variant-numeric:tabular-nums}
html:not(.mobile-app) body #content#content#content#content .production-redesign .production-toolbar {padding:0;gap:16px;align-items:center}
html:not(.mobile-app) body #content#content#content#content .production-redesign .production-day>span {font-size:11px;color:var(--muted);letter-spacing:.07em}
html:not(.mobile-app) body #content#content#content#content .production-redesign .production-day h3 {font-size:26px!important;letter-spacing:-.6px;line-height:1.2}
html:not(.mobile-app) body #content#content#content#content .production-redesign .production-toolbar .list-filter-toggle {min-height:40px;border-radius:10px;padding:8px 16px;background:var(--solid)}
html:not(.mobile-app) body #content#content#content#content .production-redesign .production-metrics {gap:14px;margin:0;align-items:stretch}
html:not(.mobile-app) body #content#content#content#content .production-redesign .production-metrics>div {display:flex;align-items:center;min-height:100px;padding:18px 22px;gap:16px;border:1px solid var(--production-line);border-radius:16px;position:relative;overflow:hidden}
html:not(.mobile-app) body #content#content#content#content .production-redesign .production-metrics>div>svg {width:44px;height:44px;padding:11px;border-radius:13px;flex-shrink:0;background:var(--ui-tint);color:var(--accent-ink)}
html:not(.mobile-app) body #content#content#content#content .production-redesign .production-metrics>div:nth-child(2)>svg {background:var(--green-bg);color:var(--green)}
html:not(.mobile-app) body #content#content#content#content .production-redesign .production-metrics>div>span {font-size:13px!important;color:var(--muted)}
html:not(.mobile-app) body #content#content#content#content .production-redesign .production-metrics strong {font-size:30px!important;letter-spacing:-1px;color:var(--text);margin-top:4px}
html:not(.mobile-app) body #content#content#content#content .production-redesign .production-day-progress {display:grid;grid-template-columns:auto minmax(100px,1fr) auto;align-items:center;gap:18px;padding:12px 18px;background:var(--solid);border:1px solid var(--production-line);border-radius:12px;font-size:12px;color:var(--muted)}
html:not(.mobile-app) body #content#content#content#content .production-day-progress>div {display:flex;gap:12px;align-items:center}
html:not(.mobile-app) body #content#content#content#content .production-day-progress strong {font-size:14px;color:var(--accent-ink)}
html:not(.mobile-app) body #content#content#content#content .production-day-progress .prg {height:7px;margin:0;background:var(--ui-tint)}
html:not(.mobile-app) body #content#content#content#content .production-redesign .production-section-title {margin:4px 0 -4px}
html:not(.mobile-app) body #content#content#content#content .production-redesign .production-section-title>span:first-child {font-size:15px!important;font-weight:650;color:var(--text)}
html:not(.mobile-app) body #content#content#content#content .production-redesign .production-grid {gap:20px;align-items:start;grid-template-columns:minmax(0,1fr)}
html:not(.mobile-app) body #content#content#content#content .production-redesign .production-grid .card {border:1px solid var(--production-line);border-radius:16px;box-shadow:none!important;overflow:hidden;background:var(--solid)}
html:not(.mobile-app) body #content#content#content#content .production-redesign .production-plant-card {padding:18px}
html:not(.mobile-app) body #content#content#content#content .production-redesign .production-plant-heading {align-items:flex-start;gap:10px;padding-bottom:16px;margin-bottom:14px;border-bottom:1px solid var(--production-line)}
html:not(.mobile-app) body #content#content#content#content .production-redesign .production-plant-heading h3 {font-size:16px!important;line-height:1.35}
html:not(.mobile-app) body #content#content#content#content .production-redesign .production-plant-heading>span {font-size:11px;text-align:right;max-width:48%;line-height:1.5}
html:not(.mobile-app) body #content#content#content#content .production-redesign .production-job {border:1px solid var(--production-line);border-left:3px solid var(--accent);border-radius:12px;overflow:hidden;box-shadow:none;background:var(--solid)}
html:not(.mobile-app) body #content#content#content#content .production-redesign .production-job.sch-done {border-left-color:var(--green)}
html:not(.mobile-app) body #content#content#content#content .production-redesign .production-job .plan-row {padding:16px;gap:12px;align-items:start}
html:not(.mobile-app) body #content#content#content#content .production-redesign .plan-time {width:52px;min-width:52px;min-height:60px;padding:10px 6px;border:0;border-radius:10px;background:var(--ui-tint);color:var(--accent-ink);font-size:15px;font-weight:650;text-align:center}
html:not(.mobile-app) body #content#content#content#content .production-redesign .plan-time .mini {margin-top:5px;font-size:11px;color:var(--muted)}
html:not(.mobile-app) body #content#content#content#content .production-redesign .production-job-title {gap:6px;line-height:1.4}
html:not(.mobile-app) body #content#content#content#content .production-redesign .production-job-title>b {flex:1 1 100%;font-size:15px}
html:not(.mobile-app) body #content#content#content#content .production-redesign .production-order-link {font-size:12px;min-height:28px;padding:0}
html:not(.mobile-app) body #content#content#content#content .production-redesign .production-job-progress {gap:8px;margin:8px 0;font-size:12px}
html:not(.mobile-app) body #content#content#content#content .production-redesign .production-job-progress .prg {height:7px;flex:1;min-width:70px}
html:not(.mobile-app) body #content#content#content#content .production-redesign .production-job-actions {padding:10px 14px;border-top:1px solid var(--production-line);background:color-mix(in srgb,var(--solid) 80%,var(--ui-tint));gap:8px}
html:not(.mobile-app) body #content#content#content#content .production-redesign .production-job-actions .btn {min-height:36px;padding:7px 14px;border-radius:9px}
html:not(.mobile-app) body #content#content#content#content .production-redesign .production-reorder {display:grid;gap:6px}
html:not(.mobile-app) body #content#content#content#content .production-redesign .production-reorder .icon-btn {width:30px;height:30px;min-height:30px;border-radius:8px}
html:not(.mobile-app) body #content#content#content#content .production-redesign .production-batch-heading {min-height:68px;padding:16px 20px;border-bottom:1px solid var(--production-line)}
html:not(.mobile-app) body #content#content#content#content .production-redesign .production-batch-heading h3 {font-size:16px!important;display:flex;gap:8px;align-items:center}
html:not(.mobile-app) body #content#content#content#content .production-redesign .production-batch-heading>span {font-size:12px;color:var(--accent-ink);font-weight:600}
html:not(.mobile-app) body #content#content#content#content .production-redesign .production-batch-table th {background:color-mix(in srgb,var(--solid) 60%,var(--ui-tint));font-size:10px!important;font-weight:650;letter-spacing:.04em;padding:12px 16px;border-bottom:1px solid var(--production-line)}
html:not(.mobile-app) body #content#content#content#content .production-redesign .production-batch-table td {padding:17px 16px;font-size:13px!important;border-bottom:1px solid var(--production-line)}
html:not(.mobile-app) body #content#content#content#content .production-redesign .production-batch-table tr[data-batch-view]:hover {background:var(--ui-tint)}
html:not(.mobile-app) body #content#content#content#content .production-redesign .production-batch-table td:first-child {font-size:13px!important;font-weight:650;white-space:nowrap}
html:not(.mobile-app) body #content#content#content#content .production-redesign .production-batch-table td.num b {font-size:17px;font-weight:650}
html:not(.mobile-app) body #content#content#content#content .production-redesign .production-batch-empty {min-height:190px}
}
@media screen and (min-width:1200px){html:not(.mobile-app) body #content#content#content#content .production-redesign .production-grid {grid-template-columns:minmax(360px,.9fr) minmax(0,1.4fr)}}

/* Production batch entry: clear sections and live stock warnings. */
@media screen {
html body #modal#modal#modal#modal[data-variant="production-batch"] .batch-entry-heading {display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:16px}
html body #modal#modal#modal#modal[data-variant="production-batch"] .batch-entry-heading h3 {margin:0;font-size:15px;font-weight:650;color:var(--ink)}
html body #modal#modal#modal#modal[data-variant="production-batch"] .batch-entry-heading>span {font-size:11px;line-height:1.4;color:var(--muted)}
html body #modal#modal#modal#modal[data-variant="production-batch"] :is(.batch-entry-setup,.batch-entry-materials) {padding:16px;border:1px solid var(--hair);border-radius:14px;background:var(--solid);min-width:0}
html body #modal#modal#modal#modal[data-variant="production-batch"] .batch-entry-setup {margin-bottom:14px}
html body #modal#modal#modal#modal[data-variant="production-batch"] .batch-entry-setup>.f-row3 {display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1.25fr) minmax(130px,.65fr);gap:16px;margin:0 0 16px!important;align-items:end}
html body #modal#modal#modal#modal[data-variant="production-batch"] .batch-entry-setup>.f-row {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:0!important}
html body #modal#modal#modal#modal[data-variant="production-batch"] .fld :is(input,select) {min-height:44px;border-radius:10px;font-size:14px}
html body #modal#modal#modal#modal[data-variant="production-batch"] #bQ {font-size:22px;font-weight:650;color:var(--accent-ink);background:var(--ui-tint);border-color:color-mix(in srgb,var(--accent) 40%,var(--hair));font-variant-numeric:tabular-nums}
html body #modal#modal#modal#modal[data-variant="production-batch"] .batch-recipe-note {margin:0 0 12px;padding:10px 12px;border-radius:9px;background:var(--ui-tint);border:0;font-size:12px}
html body #modal#modal#modal#modal[data-variant="production-batch"] .batch-materials-scroll {border:1px solid var(--hair);border-radius:10px}
html body #modal#modal#modal#modal[data-variant="production-batch"] .batch-unit-input {border-radius:9px;overflow:hidden;background:var(--field);border:1px solid var(--hair)}
html body #modal#modal#modal#modal[data-variant="production-batch"] .batch-unit-input input {border:0!important;box-shadow:none!important;border-radius:0!important;min-height:40px;font-size:14px;font-weight:600}
html body #modal#modal#modal#modal[data-variant="production-batch"] .batch-unit-input>span {font-size:12px;min-width:32px}
html body #modal#modal#modal#modal[data-variant="production-batch"] .batch-row-short {background:color-mix(in srgb,var(--red) 5%,var(--solid))!important}
html body #modal#modal#modal#modal[data-variant="production-batch"] .batch-row-short .batch-unit-input {border-color:color-mix(in srgb,var(--red) 45%,var(--hair))}
html body #modal#modal#modal#modal[data-variant="production-batch"] .batch-stock-summary {padding:8px 10px;border-radius:9px;background:var(--green-bg);color:var(--green);font-size:12px}
html body #modal#modal#modal#modal[data-variant="production-batch"] .batch-stock-summary.is-short {background:var(--red-bg);color:var(--red)}
html body #modal#modal#modal#modal[data-variant="production-batch"] .batch-footer-actions {gap:8px;display:flex;flex-wrap:wrap}
html body #modal#modal#modal#modal[data-variant="production-batch"] .batch-footer-actions .btn {min-height:42px;padding:9px 16px;border-radius:10px}
}
@media screen and (min-width:701px){
html:not(.mobile-app) body #modal#modal#modal#modal[data-variant="production-batch"] {width:min(1060px,calc(100vw - 48px));border-radius:20px;overflow:hidden}
html:not(.mobile-app) body #modal#modal#modal#modal[data-variant="production-batch"] #modalH {padding:20px 24px}
html:not(.mobile-app) body #modal#modal#modal#modal[data-variant="production-batch"] #modalB {padding:20px 24px;background:var(--bg)}
html:not(.mobile-app) body #modal#modal#modal#modal[data-variant="production-batch"] #modalF {padding:14px 24px;align-items:center;border-top:1px solid var(--hair)}
html:not(.mobile-app) body #modal#modal#modal#modal[data-variant="production-batch"] .batch-materials {min-width:0}
html:not(.mobile-app) body #modal#modal#modal#modal[data-variant="production-batch"] .batch-materials th {height:38px;padding:10px 14px!important;background:var(--field);font-size:10px!important;letter-spacing:.03em}
html:not(.mobile-app) body #modal#modal#modal#modal[data-variant="production-batch"] .batch-materials td {height:56px!important;padding:10px 14px!important;font-size:13px!important}
}
@media screen and (max-width:700px){
html body #modal#modal#modal#modal[data-variant="production-batch"] .batch-entry-setup>.f-row3,html body #modal#modal#modal#modal[data-variant="production-batch"] .batch-entry-setup>.f-row {grid-template-columns:minmax(0,1fr);gap:12px}
html body #modal#modal#modal#modal[data-variant="production-batch"] :is(.batch-entry-setup,.batch-entry-materials) {padding:12px}
html body #modal#modal#modal#modal[data-variant="production-batch"] .batch-materials-scroll {border:0;overflow:visible}
html body #modal#modal#modal#modal[data-variant="production-batch"] .batch-entry-heading {gap:4px;margin-bottom:12px}
}
@media screen {
html.mobile-app body #modal#modal#modal#modal[data-variant="production-batch"] .batch-entry-setup>.f-row3,html.mobile-app body #modal#modal#modal#modal[data-variant="production-batch"] .batch-entry-setup>.f-row {grid-template-columns:minmax(0,1fr);gap:12px}
html.mobile-app body #modal#modal#modal#modal[data-variant="production-batch"] :is(.batch-entry-setup,.batch-entry-materials) {padding:12px}
html.mobile-app body #modal#modal#modal#modal[data-variant="production-batch"] .batch-entry-setup .fld :is(input,select) {font-size:16px}
}

@media screen and (min-width:701px){
html:not(.mobile-app) body #modal#modal#modal#modal[data-variant="production-batch"] #modalH {padding:16px 20px}
html:not(.mobile-app) body #modal#modal#modal#modal[data-variant="production-batch"] #modalB {padding:16px 20px}
html:not(.mobile-app) body #modal#modal#modal#modal[data-variant="production-batch"] :is(.batch-entry-setup,.batch-entry-materials) {padding:14px 16px}
html:not(.mobile-app) body #modal#modal#modal#modal[data-variant="production-batch"] .batch-entry-heading {margin-bottom:12px}
html:not(.mobile-app) body #modal#modal#modal#modal[data-variant="production-batch"] .batch-entry-setup>.f-row3 {margin-bottom:12px!important}
html:not(.mobile-app) body #modal#modal#modal#modal[data-variant="production-batch"] .batch-materials td {height:52px!important;padding:6px 14px!important}
html:not(.mobile-app) body #modal#modal#modal#modal[data-variant="production-batch"] .batch-unit-input input {height:36px!important;min-height:36px!important;max-height:36px!important}
}

/* Product workspace: clear catalog hierarchy without changing mobile rendering. */
.product-filter-reset[hidden]{display:none!important}
.product-filter-reset{white-space:nowrap}
@media screen and (min-width:701px){
html:not(.mobile-app) body #content#content#content#content .products-reference {max-width:none!important;width:100%;margin:0;gap:12px!important}
html:not(.mobile-app) body #content#content#content#content .products-reference >.tabs{margin:0!important;gap:8px;border-bottom:1px solid var(--hair)}
html:not(.mobile-app) body #content#content#content#content .products-reference >.tabs [data-tab]{padding:12px 16px!important;font-weight:650}
html:not(.mobile-app) body #content#content#content#content .products-reference .product-kpis{gap:12px!important;margin:0!important}
html:not(.mobile-app) body #content#content#content#content .products-reference .catalog-metric{min-height:72px;padding:12px 14px!important;border:1px solid var(--hair);border-radius:12px!important;box-shadow:none!important;gap:12px}
html:not(.mobile-app) body #content#content#content#content .products-reference .catalog-metric-icon{width:36px;height:36px;border-radius:10px;flex:0 0 36px}
html:not(.mobile-app) body #content#content#content#content .products-reference .catalog-metric strong{font-size:24px!important;line-height:1.2;margin-top:2px;font-variant-numeric:tabular-nums}
html:not(.mobile-app) body #content#content#content#content .products-reference .catalog-metric>div>span{font-size:13px;color:var(--muted)}
html:not(.mobile-app) body #content#content#content#content .products-reference .product-directory-grid{grid-template-columns:minmax(0,1fr) 290px!important;gap:14px!important;align-items:start}
html:not(.mobile-app) body #content#content#content#content .products-reference :is(.product-list-pane,.product-category-pane,.price-pane){border:1px solid var(--hair)!important;border-radius:16px!important;background:var(--solid);box-shadow:none!important;overflow:hidden}
html:not(.mobile-app) body #content#content#content#content .products-reference :is(.product-list-pane,.product-category-pane,.price-pane)>header{padding:12px 14px!important;min-height:58px;gap:10px;border-bottom:1px solid var(--hair)}
html:not(.mobile-app) body #content#content#content#content .products-reference :is(.product-list-pane,.product-category-pane)>header b{font-size:17px}
html:not(.mobile-app) body #content#content#content#content .products-reference .product-category-pane>header{flex-wrap:wrap}
html:not(.mobile-app) body #content#content#content#content .products-reference .product-pane-tools{gap:8px}
html:not(.mobile-app) body #content#content#content#content .products-reference .product-list-pane .section-toolbar{margin:0!important;padding:10px 14px!important;grid-template-columns:minmax(180px,1fr) auto!important;background:var(--solid)}
html:not(.mobile-app) body #content#content#content#content .products-reference .product-list-pane .tbl th{height:36px;padding:8px 12px!important;font-size:11px!important;letter-spacing:.035em;color:var(--muted);background:var(--ui-tint)}
html:not(.mobile-app) body #content#content#content#content .products-reference .product-list-pane .tbl td{height:48px;padding:8px 12px!important;vertical-align:middle}
html:not(.mobile-app) body #content#content#content#content .products-reference .product-code{display:inline-flex;padding:5px 8px;border-radius:7px;background:var(--ui-tint);color:var(--accent-ink);font-size:12px;font-weight:650}
html:not(.mobile-app) body #content#content#content#content .products-reference .product-name-cell b{font-size:14px;font-weight:650;line-height:1.4}
html:not(.mobile-app) body #content#content#content#content .products-reference .product-name-cell small{margin-top:4px;font-size:12px!important;color:var(--muted)}
html:not(.mobile-app) body #content#content#content#content .products-reference .product-status{padding:6px 10px;border-radius:8px;font-size:12px;white-space:nowrap}
html:not(.mobile-app) body #content#content#content#content .products-reference [data-more]{width:36px!important;height:36px!important;min-width:36px!important;border-radius:10px!important}
html:not(.mobile-app) body #content#content#content#content .products-reference .product-category-cell{gap:10px;min-height:32px}
html:not(.mobile-app) body #content#content#content#content .products-reference .product-category-cell>span{width:36px;height:36px;border-radius:10px;background:var(--ui-tint)}
html:not(.mobile-app) body #content#content#content#content .products-reference .product-category-cell b{font-size:13px}
html:not(.mobile-app) body #content#content#content#content .products-reference .product-category-cell em{min-width:28px;height:28px;display:grid;place-items:center;font-style:normal;border-radius:8px;font-variant-numeric:tabular-nums}
html:not(.mobile-app) body #content#content#content#content .products-reference .product-category-pane .tbl td{height:52px;padding:8px 12px!important}
html:not(.mobile-app) body #content#content#content#content .products-reference .recipes-toolbar{padding:16px 18px;margin-bottom:18px;border:1px solid var(--hair);border-radius:14px;background:var(--solid)}
html:not(.mobile-app) body #content#content#content#content .products-reference .recipes-toolbar p{font-size:13px;line-height:1.6;max-width:650px}
html:not(.mobile-app) body #content#content#content#content .products-reference .recipes-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
html:not(.mobile-app) body #content#content#content#content .products-reference .recipe-card{padding:20px!important;border-radius:16px!important;box-shadow:none!important}
html:not(.mobile-app) body #content#content#content#content .products-reference .recipe-card header b{font-size:22px!important}
html:not(.mobile-app) body #content#content#content#content .products-reference .recipe-card dl{margin:16px 0;font-size:13px}
html:not(.mobile-app) body #content#content#content#content .products-reference .recipe-card dl>div{padding:11px 0;gap:16px}
html:not(.mobile-app) body #content#content#content#content .products-reference .recipe-card footer{padding-top:14px;border-top:1px solid var(--hair)}
html:not(.mobile-app) body #content#content#content#content .products-reference .recipe-card footer .btn-p{flex:1}
html:not(.mobile-app) body #content#content#content#content .products-reference #mBody[data-product-tab="narx"]{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:20px;align-items:start}
html:not(.mobile-app) body #content#content#content#content .products-reference .price-pane{margin:0!important}
html:not(.mobile-app) body #content#content#content#content .products-reference .price-pane .tbl{min-width:0!important}
html:not(.mobile-app) body #content#content#content#content .products-reference .price-pane .tbl td{padding:14px!important;overflow-wrap:anywhere}
html:not(.mobile-app) body #content#content#content#content .products-reference .price-priority{margin:16px;padding:12px 14px;border-radius:10px;font-size:12px;line-height:1.6;background:var(--ui-tint)}
html:not(.mobile-app) body #content#content#content#content .products-reference .product-calculator{max-width:1080px;margin:0 auto;padding:24px!important;border:1px solid var(--hair);border-radius:16px;box-shadow:none!important;background:var(--solid)}
html:not(.mobile-app) body #content#content#content#content .products-reference .product-calculator>header{padding-bottom:18px;margin-bottom:20px;border-bottom:1px solid var(--hair)}
html:not(.mobile-app) body #content#content#content#content .products-reference .product-calculator>.f-row{display:grid;grid-template-columns:2fr 1fr;gap:16px;margin-bottom:22px}
html:not(.mobile-app) body #content#content#content#content .products-reference .product-calculator .fld{min-width:0}
html:not(.mobile-app) body #content#content#content#content .products-reference .calculator-table th{padding:12px 16px!important;background:var(--ui-tint);font-size:11px!important;color:var(--muted)}
html:not(.mobile-app) body #content#content#content#content .products-reference .calculator-table td{padding:16px!important;font-size:13px}
html:not(.mobile-app) body #content#content#content#content .products-reference .calculator-stock-result{margin-top:16px;padding:14px;border-radius:10px;font-size:13px}
}
@media screen and (min-width:701px) and (max-width:1250px){
html:not(.mobile-app) body #content#content#content#content .products-reference .product-list-pane .section-toolbar{grid-template-columns:minmax(0,1fr)!important}
html:not(.mobile-app) body #content#content#content#content .products-reference .product-filters{flex-wrap:wrap}
html:not(.mobile-app) body #content#content#content#content .products-reference .recipes-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media screen and (min-width:701px) and (max-width:1050px){
html:not(.mobile-app) body #content#content#content#content .products-reference .product-directory-grid,html:not(.mobile-app) body #content#content#content#content .products-reference #mBody[data-product-tab="narx"]{grid-template-columns:minmax(0,1fr)!important}
html:not(.mobile-app) body #content#content#content#content .products-reference .product-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media screen and (min-width:701px){
html:not(.mobile-app) body #content#content#content#content .products-reference #mBody{display:grid;gap:12px!important;min-width:0}
html:not(.mobile-app) body #content#content#content#content .products-reference .catalog-overview{margin:0!important;padding:0!important}
html:not(.mobile-app) body #content#content#content#content .products-reference .product-name-cell small{display:none}
html:not(.mobile-app) body #content#content#content#content .products-reference .product-list-pane .tbl{width:100%!important;min-width:0!important;table-layout:fixed}
html:not(.mobile-app) body #content#content#content#content .products-reference .product-list-pane .tbl th:nth-child(1){width:12%}
html:not(.mobile-app) body #content#content#content#content .products-reference .product-list-pane .tbl th:nth-child(2){width:30%}
html:not(.mobile-app) body #content#content#content#content .products-reference .product-list-pane .tbl th:nth-child(3){width:18%}
html:not(.mobile-app) body #content#content#content#content .products-reference .product-list-pane .tbl th:nth-child(4){width:12%}
html:not(.mobile-app) body #content#content#content#content .products-reference .product-list-pane .tbl th:nth-child(5){width:calc(28% - 64px)}
html:not(.mobile-app) body #content#content#content#content .products-reference :is(.product-list-pane,.product-category-pane) .tbl :is(th,td):last-child{width:64px!important;min-width:64px;box-sizing:border-box;padding-left:8px!important;padding-right:12px!important;text-align:right}
html:not(.mobile-app) body #content#content#content#content .products-reference .product-list-pane .tbl td{overflow-wrap:anywhere}
html:not(.mobile-app) body #content#content#content#content .products-reference .list-pagination{min-height:50px;padding:10px 14px!important;gap:8px}
html:not(.mobile-app) body #content#content#content#content .products-reference :is(.product-list-pane,.product-category-pane) [data-more]{min-height:32px!important;height:32px!important;width:32px!important;min-width:32px!important}
}

/* Cash workspace: balances and period flow have separate visual hierarchy. */
.cash-overview-label{display:none}
.cash-ledger-heading p,.cash-ledger-heading-icon{display:none}
@media screen and (min-width:701px){
html:not(.mobile-app) body #content#content#content#content .cash-workspace {max-width:1600px;margin:0 auto}
html:not(.mobile-app) body #content#content#content#content .cash-workspace .cash-commandbar{padding:18px 20px!important;gap:16px!important;border:1px solid var(--hair)!important;border-radius:16px!important;box-shadow:none!important;background:var(--solid)}
html:not(.mobile-app) body #content#content#content#content .cash-workspace .cash-commandbar>.actions{gap:10px;flex-wrap:wrap}
html:not(.mobile-app) body #content#content#content#content .cash-workspace .cash-commandbar .btn{min-height:42px!important;border-radius:10px!important;padding:10px 15px!important}
html:not(.mobile-app) body #content#content#content#content .cash-workspace .cash-filter-period-note>span{font-size:12px!important;color:var(--muted)}
html:not(.mobile-app) body #content#content#content#content .cash-workspace .cash-filter-period-note>b{font-size:15px!important}
html:not(.mobile-app) body #content#content#content#content .cash-workspace .cash-overview-label{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:22px 0 12px}
html:not(.mobile-app) body #content#content#content#content .cash-workspace .cash-overview-label h3{font-size:14px;margin:0}
html:not(.mobile-app) body #content#content#content#content .cash-workspace .cash-overview-label>span{font-size:12px;color:var(--muted)}
html:not(.mobile-app) body #content#content#content#content .cash-workspace .cash-summary{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:14px!important;margin:0 0 22px!important}
html:not(.mobile-app) body #content#content#content#content .cash-workspace .cash-metric{grid-column:span 2;min-height:98px!important;border-radius:15px!important;padding:18px 20px!important;border:1px solid var(--hair)!important;box-shadow:none!important;gap:14px!important;background:var(--solid)}
html:not(.mobile-app) body #content#content#content#content .cash-workspace .cash-metric.account{grid-column:span 3;min-height:118px!important;background:linear-gradient(120deg,var(--solid),var(--ui-tint))!important}
html:not(.mobile-app) body #content#content#content#content .cash-workspace .cash-metric-icon{width:44px!important;height:44px!important;flex:0 0 44px;border-radius:13px!important}
html:not(.mobile-app) body #content#content#content#content .cash-workspace .cash-metric>div{min-width:0}
html:not(.mobile-app) body #content#content#content#content .cash-workspace .cash-metric strong{font-size:26px!important;line-height:1.25!important;letter-spacing:-.5px;white-space:normal!important;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
html:not(.mobile-app) body #content#content#content#content .cash-workspace .cash-metric.account strong{font-size:32px!important}
html:not(.mobile-app) body #content#content#content#content .cash-workspace .cash-metric strong:after{content:"so‘m";font-size:12px;font-weight:500;color:var(--muted);margin-left:7px;letter-spacing:0;white-space:nowrap}
html:not(.mobile-app) body #content#content#content#content .cash-workspace .cash-metric small{font-size:12px!important;margin-top:5px;color:var(--muted)}
html:not(.mobile-app) body #content#content#content#content .cash-workspace .cash-metric.income .cash-metric-icon{background:var(--green-bg);color:var(--green)}
html:not(.mobile-app) body #content#content#content#content .cash-workspace .cash-metric.expense .cash-metric-icon{color:var(--red);background:var(--red-bg)}
html:not(.mobile-app) body #content#content#content#content .cash-workspace .cash-ledger{border:1px solid var(--hair)!important;border-radius:16px!important;background:var(--solid);overflow:hidden;box-shadow:none!important}
html:not(.mobile-app) body #content#content#content#content .cash-workspace .cash-ledger-title{padding:18px 20px!important;min-height:76px;gap:16px}
html:not(.mobile-app) body #content#content#content#content .cash-workspace .cash-ledger-heading{display:flex;align-items:center;gap:12px;min-width:0}
html:not(.mobile-app) body #content#content#content#content .cash-workspace .cash-ledger-heading-icon{display:grid;place-items:center;width:40px;height:40px;flex:0 0 40px;border-radius:12px;background:var(--ui-tint);color:var(--accent-ink)}
html:not(.mobile-app) body #content#content#content#content .cash-workspace .cash-ledger-heading-icon svg{width:20px;height:20px}
html:not(.mobile-app) body #content#content#content#content .cash-workspace .cash-ledger-heading h3{font-size:17px!important;line-height:1.4}
html:not(.mobile-app) body #content#content#content#content .cash-workspace .cash-ledger-heading p{display:block;margin:4px 0 0;color:var(--muted);font-size:12px;line-height:1.4}
html:not(.mobile-app) body #content#content#content#content .cash-workspace .cash-ledger-tools{padding:0 20px 16px!important;gap:12px!important}
html:not(.mobile-app) body #content#content#content#content .cash-workspace .cash-ledger-tools input{min-height:44px!important;border-radius:10px!important}
html:not(.mobile-app) body #content#content#content#content .cash-workspace .cash-table{width:100%!important;min-width:0!important;table-layout:auto!important}
html:not(.mobile-app) body #content#content#content#content .cash-workspace .cash-table thead th{padding:12px 16px!important;font-size:11px!important;letter-spacing:.025em;color:var(--muted);background:var(--ui-tint);white-space:nowrap}
html:not(.mobile-app) body #content#content#content#content .cash-workspace .cash-table tbody td{height:74px!important;padding:14px 16px!important;border-bottom:1px solid var(--hair)!important;vertical-align:middle;font-size:13px!important}
html:not(.mobile-app) body #content#content#content#content .cash-workspace .cash-document{font-size:13px;font-weight:650}
html:not(.mobile-app) body #content#content#content#content .cash-workspace .cash-table .sub{margin-top:5px;font-size:12px!important;line-height:1.4}
html:not(.mobile-app) body #content#content#content#content .cash-workspace .cash-customer{font-weight:600;font-size:13px;color:var(--ink);text-decoration:none}
html:not(.mobile-app) body #content#content#content#content .cash-workspace .cash-customer:hover{color:var(--accent-ink);text-decoration:underline}
html:not(.mobile-app) body #content#content#content#content .cash-workspace .cash-money{font-size:15px!important;font-weight:700!important;font-variant-numeric:tabular-nums;letter-spacing:-.2px}
html:not(.mobile-app) body #content#content#content#content .cash-workspace .cash-note{max-width:180px;font-size:12px!important;line-height:1.5;color:var(--muted)}
html:not(.mobile-app) body #content#content#content#content .cash-workspace .cash-table .badge{padding:5px 9px;border-radius:7px;white-space:nowrap;font-size:11px}
html:not(.mobile-app) body #content#content#content#content .cash-workspace .cash-table .icon-btn{width:36px!important;height:36px!important;min-width:36px;border-radius:10px!important}
html:not(.mobile-app) body #content#content#content#content .cash-workspace .cash-row-reversed .cash-document{color:var(--muted)}
html:not(.mobile-app) body #content#content#content#content .cash-workspace .cash-row-reversed .cash-money{color:var(--muted)!important;text-decoration:line-through}
html:not(.mobile-app) body #content#content#content#content .cash-workspace .cash-ledger-footer{padding:14px 20px!important;min-height:66px;gap:12px}
html:not(.mobile-app) body #content#content#content#content .cash-workspace .cash-ledger-categories{margin-top:20px!important;border:1px solid var(--hair)!important;border-radius:16px!important;background:var(--solid)}
html:not(.mobile-app) body #content#content#content#content .cash-workspace .cash-ledger-categories>summary{padding:18px 20px!important;font-size:14px}
html:not(.mobile-app) body #content#content#content#content .cash-workspace .cash-category-head{padding:6px 20px 18px!important;gap:16px}
html:not(.mobile-app) body #content#content#content#content .cash-workspace .cash-category-head h3{font-size:16px!important;margin-bottom:6px}
html:not(.mobile-app) body #content#content#content#content .cash-workspace .cash-category-head b{font-size:21px!important;font-variant-numeric:tabular-nums}
html:not(.mobile-app) body #content#content#content#content .cash-workspace .cash-category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:0 20px 20px!important;gap:14px}
html:not(.mobile-app) body #content#content#content#content .cash-workspace .cash-category{padding:16px!important;border-radius:12px!important;background:var(--ui-tint);border:0!important;box-shadow:none!important}
html:not(.mobile-app) body #content#content#content#content .cash-workspace .cash-category>div:first-child{gap:12px;flex-wrap:wrap}
html:not(.mobile-app) body #content#content#content#content .cash-workspace .cash-category b{font-size:14px!important}
html:not(.mobile-app) body #content#content#content#content .cash-workspace .cash-category-track{height:5px!important;margin:14px 0 10px!important}
html:not(.mobile-app) body #content#content#content#content .cash-workspace .cash-category small{font-size:11px;color:var(--muted)}
}
@media screen and (min-width:701px) and (max-width:1200px){
html:not(.mobile-app) body #content#content#content#content .cash-workspace .cash-table :is(th,td){padding-left:10px!important;padding-right:10px!important}
html:not(.mobile-app) body #content#content#content#content .cash-workspace .cash-table th{white-space:normal!important}
html:not(.mobile-app) body #content#content#content#content .cash-workspace .cash-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media screen and (min-width:701px) and (max-width:900px){
html:not(.mobile-app) body #content#content#content#content .cash-workspace .cash-overview-label{align-items:flex-start;flex-direction:column;gap:5px}
html:not(.mobile-app) body #content#content#content#content .cash-workspace .cash-commandbar{flex-wrap:wrap}
html:not(.mobile-app) body #content#content#content#content .cash-workspace .cash-metric{padding:14px!important}
html:not(.mobile-app) body #content#content#content#content .cash-workspace .cash-metric strong{font-size:21px!important}
html:not(.mobile-app) body #content#content#content#content .cash-workspace .cash-table{min-width:900px!important}
html:not(.mobile-app) body #content#content#content#content .cash-workspace .cash-metric.account strong{font-size:26px!important}
html:not(.mobile-app) body #content#content#content#content .cash-workspace .cash-ledger-heading p{max-width:260px}
}

@media screen and (min-width:901px){
html:not(.mobile-app) body #content#content#content#content .cash-workspace .cash-table :is(th,td){padding-left:12px!important;padding-right:12px!important}
html:not(.mobile-app) body #content#content#content#content .cash-workspace .cash-table td:nth-child(3){min-width:150px}
html:not(.mobile-app) body #content#content#content#content .cash-workspace .cash-document,html:not(.mobile-app) body #content#content#content#content .cash-workspace .cash-table td:first-child .sub,html:not(.mobile-app) body #content#content#content#content .cash-workspace .cash-table td:nth-child(3) .sub{white-space:nowrap}
}

/* Cross-section audit: compact desktop cards and usable narrow work areas. */
@media screen and (min-width:701px){
html:not(.mobile-app) body #content#content#content#content .dir-contracts .dir-kpis{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:12px!important}
html:not(.mobile-app) body #content#content#content#content .dir-contracts .dir-kpi{padding:12px!important;min-height:80px;gap:10px}
html:not(.mobile-app) body #content#content#content#content .dir-contracts .dir-kpi strong{font-size:23px!important}
html:not(.mobile-app) body #content#content#content#content .production-redesign .production-metrics>div{padding:14px 16px!important;min-height:82px!important}
html:not(.mobile-app) body #content#content#content#content .production-redesign .production-metrics strong{font-size:26px!important}
html:not(.mobile-app) body #content#content#content#content .production-redesign .production-grid{gap:14px!important}
html:not(.mobile-app) body #content#content#content#content .production-redesign .production-batch-heading{min-height:56px;padding:12px 14px}
html:not(.mobile-app) body #content#content#content#content .production-redesign .production-batch-table td{padding:12px!important}
html:not(.mobile-app) body #content#content#content#content .production-redesign .production-day-progress{margin-top:0;padding:12px 14px}
html:not(.mobile-app) body #content#content#content#content .cash-workspace .cash-overview-label{margin:14px 0 10px}
html:not(.mobile-app) body #content#content#content#content .cash-workspace .cash-metric{min-height:78px!important;padding:12px 14px!important}
html:not(.mobile-app) body #content#content#content#content .cash-workspace .cash-metric.account{min-height:94px!important}
html:not(.mobile-app) body #content#content#content#content .cash-workspace .cash-metric.account strong{font-size:27px!important}
html:not(.mobile-app) body #content#content#content#content .cash-workspace .cash-summary{gap:12px!important;margin-bottom:14px!important}
html:not(.mobile-app) body #content#content#content#content .cash-workspace .cash-ledger-title{min-height:62px;padding:12px 14px!important}
html:not(.mobile-app) body #content#content#content#content .cash-workspace .cash-table tbody td{height:58px!important;padding-top:10px!important;padding-bottom:10px!important}
html:not(.mobile-app) body #content#content#content#content .debt-workspace{gap:12px}
html:not(.mobile-app) body #content#content#content#content .debt-metric{padding:12px!important;gap:10px!important;min-height:88px!important}
html:not(.mobile-app) body #content#content#content#content .debt-metric strong{font-size:21px!important}
html:not(.mobile-app) body #content#content#content#content .debt-list-heading{padding:14px!important}
html:not(.mobile-app) body #content#content#content#content .lab-workspace>*{min-width:0;max-width:100%}
html:not(.mobile-app) body #content#content#content#content .lab-workspace #crudList{min-width:0;max-width:100%}
html:not(.mobile-app) body #content#content#content#content .lab-workspace .tbl-wrap{max-width:100%;overflow:auto}
html:not(.mobile-app) body #content#content#content#content .purchases-workspace .tbl :is(th,td):last-child{width:60px!important;min-width:60px;box-sizing:border-box;padding-left:8px!important;padding-right:12px!important}
}
@media screen and (min-width:701px){
@container (max-width:850px){
html:not(.mobile-app) body #content#content#content#content .dir-contracts .dir-kpis{grid-template-columns:repeat(6,minmax(0,1fr))!important}
html:not(.mobile-app) body #content#content#content#content .dir-contracts .dir-kpi{grid-column:span 2}
html:not(.mobile-app) body #content#content#content#content .dir-contracts .dir-kpi:nth-last-child(-n+2){grid-column:span 3}
html:not(.mobile-app) body #content#content#content#content .settings-shell{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto minmax(0,1fr);align-content:start}
html:not(.mobile-app) body #content#content#content#content .settings-shell .settings-side{position:static}
html:not(.mobile-app) body #content#content#content#content .settings-shell .settings-nav{display:flex;flex-wrap:wrap;gap:6px}
html:not(.mobile-app) body #content#content#content#content .settings-shell .settings-users-card .tbl{min-width:0!important;width:100%}
html:not(.mobile-app) body #content#content#content#content .settings-shell .settings-users-card .tbl :is(th,td){white-space:normal;overflow-wrap:anywhere}
html:not(.mobile-app) body #content#content#content#content .debt-table,html:not(.mobile-app) body #content#content#content#content .debt-table tbody{display:block!important;width:100%!important;min-width:0!important}
html:not(.mobile-app) body #content#content#content#content .debt-table thead{display:none!important}
html:not(.mobile-app) body #content#content#content#content .debt-table tbody tr:has(td[data-label]){display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:14px!important;border-bottom:1px solid var(--hair)}
html:not(.mobile-app) body #content#content#content#content .debt-table td[data-label]{position:static!important;display:block!important;min-width:0!important;width:auto!important;height:auto!important;min-height:0!important;padding:0!important;border:0!important;white-space:normal!important;text-align:left!important;overflow-wrap:anywhere}
html:not(.mobile-app) body #content#content#content#content .debt-table td[data-label]:before{content:attr(data-label);display:block;font-size:11px;color:var(--muted);margin-bottom:5px}
html:not(.mobile-app) body #content#content#content#content .debt-table td:last-child{grid-column:1/-1!important;justify-self:end}
html:not(.mobile-app) body #content#content#content#content .debt-table .actions{flex-wrap:wrap!important;justify-content:flex-start!important}
html:not(.mobile-app) body #content#content#content#content .purchases-workspace .tbl,html:not(.mobile-app) body #content#content#content#content .purchases-workspace .tbl tbody{display:block!important;width:100%!important;min-width:0!important}
html:not(.mobile-app) body #content#content#content#content .purchases-workspace .tbl thead{display:none!important}
html:not(.mobile-app) body #content#content#content#content .purchases-workspace .tbl tbody tr:has(td[data-label]){display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:14px!important;border-bottom:1px solid var(--hair)}
html:not(.mobile-app) body #content#content#content#content .purchases-workspace .tbl td[data-label]{position:static!important;display:block!important;min-width:0!important;width:auto!important;height:auto!important;min-height:0!important;padding:0!important;border:0!important;white-space:normal!important;text-align:left!important;overflow-wrap:anywhere}
html:not(.mobile-app) body #content#content#content#content .purchases-workspace .tbl td[data-label]:before{content:attr(data-label);display:block;font-size:11px;color:var(--muted);margin-bottom:5px}
html:not(.mobile-app) body #content#content#content#content .purchases-workspace .tbl td:last-child{grid-column:1/-1!important;justify-self:end}
html:not(.mobile-app) body #content#content#content#content .purchases-workspace .tbl .actions{flex-wrap:wrap!important;justify-content:flex-start!important}
html:not(.mobile-app) body #content#content#content#content .lab-workspace .tbl,html:not(.mobile-app) body #content#content#content#content .lab-workspace .tbl tbody{display:block!important;width:100%!important;min-width:0!important}
html:not(.mobile-app) body #content#content#content#content .lab-workspace .tbl thead{display:none!important}
html:not(.mobile-app) body #content#content#content#content .lab-workspace .tbl tbody tr:has(td[data-label]){display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:14px!important;border-bottom:1px solid var(--hair)}
html:not(.mobile-app) body #content#content#content#content .lab-workspace .tbl td[data-label]{position:static!important;display:block!important;min-width:0!important;width:auto!important;height:auto!important;min-height:0!important;padding:0!important;border:0!important;white-space:normal!important;text-align:left!important;overflow-wrap:anywhere}
html:not(.mobile-app) body #content#content#content#content .lab-workspace .tbl td[data-label]:before{content:attr(data-label);display:block;font-size:11px;color:var(--muted);margin-bottom:5px}
html:not(.mobile-app) body #content#content#content#content .lab-workspace .tbl td:last-child{grid-column:1/-1!important;justify-self:end}
html:not(.mobile-app) body #content#content#content#content .lab-workspace .tbl .actions{flex-wrap:wrap!important;justify-content:flex-start!important}
html:not(.mobile-app) body #content#content#content#content .debt-person{min-width:0}
html:not(.mobile-app) body #content#content#content#content .lab-workspace .section-toolbar{grid-template-columns:minmax(0,1fr)!important}
}
}

@media screen and (min-width:701px){
html:not(.mobile-app) body #content#content#content#content .production-redesign{gap:12px}
html:not(.mobile-app) body #content#content#content#content .production-redesign .production-plant-card{padding:14px}
html:not(.mobile-app) body #content#content#content#content .production-redesign .production-plant-heading{padding-bottom:12px;margin-bottom:10px}
html:not(.mobile-app) body #content#content#content#content .production-redesign .production-job .plan-row{padding:12px;gap:10px}
html:not(.mobile-app) body #content#content#content#content .production-redesign .production-job-actions{padding:8px 12px}
}

@media screen and (min-width:701px){
@container (max-width:850px){
html:not(.mobile-app) body #content#content#content#content .settings-shell .settings-side{display:flex;flex-wrap:wrap;gap:6px;max-height:none;padding:10px}
html:not(.mobile-app) body #content#content#content#content .settings-shell .settings-side-label{display:none}
html:not(.mobile-app) body #content#content#content#content .settings-shell .settings-side-group{display:contents}
html:not(.mobile-app) body #content#content#content#content .settings-shell .settings-section-button{flex:1 1 auto;width:auto;min-height:38px;padding:8px;order:0}
html:not(.mobile-app) body #content#content#content#content .settings-shell .settings-side-group.active>.settings-subnav{display:flex;flex-wrap:wrap;flex:1 0 100%;order:1;margin:0;padding:6px 0 0;border-left:0;border-top:1px solid var(--hair)}
html:not(.mobile-app) body #content#content#content#content .settings-shell .settings-about{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;gap:8px;order:2;width:100%;margin:0;padding:8px 0 0}
html:not(.mobile-app) body #content#content#content#content :is(.lab-workspace,.purchases-workspace) .tbl td:last-child{grid-column:3!important;align-self:end}
html:not(.mobile-app) body #content#content#content#content :is(.lab-workspace,.purchases-workspace) .tbl td:last-child:before{display:none}
}
}

/* 2.17.28 — ko'rsatkich kartochkalari ixcham: keraksiz min-height va ortiqcha ichki bo'sh joy yo'q (kompyuter versiyasi) */
html:not(.mobile-app) body #content#content#content#content#content :is(.stat.card,.home-metric,.dir-kpi,.cash-metric,.payroll-metric,.debt-metric,.report-metric,.alerts-metric,.ov-kpi,.purchases-summary article,.equipment-summary article,.set-kpi,.catalog-metric,.warehouse-overview-card,.sales-metric,.cash-category,.production-metrics>div,.orders-kpis article){min-height:0!important;padding-top:10px!important;padding-bottom:10px!important}
/* sahifalash tagida ikki qavat chiziq/bo'sh joy bo'lmasin — avtomatik sahifalagich dir-foot ichida tursa */
html body #content .dir-foot .list-pagination{border:0!important;padding:0!important;margin:0!important;background:transparent!important}
/* hisobot kartochkalari 6 ta tor ustunda — ikonka joy olib, izoh ikki qatorga o'ralmasin */
@media (min-width:761px) and (max-width:1700px){html:not(.mobile-app) body #content .report-metrics .report-metric .report-icon{display:none}}
/* hisobot: tanlangan tezkor davr ajralib tursin */
html body :is(#content#content#content,#modalB#modalB#modalB) .report-presets .btn.on{background:rgba(var(--bz-rgb),.12)!important;color:var(--accent-ink)!important;border-color:rgba(var(--bz-rgb),.45)!important}
/* sana maydonlari raqamga qarab kengayib-torayib, yonidagi filtrlarni surmasin */
input[type=date],input[type=month],input[type=time],input[type=datetime-local]{font-variant-numeric:tabular-nums}
/* sozlamalar menyusi (kompyuter): barcha guruhlar ochiq — bo'lim almashganda tugmalar sichqoncha ostidan qochmaydi */
@media (min-width:701px){html body #content .settings-side .settings-side-group>.settings-subnav{display:grid;gap:1px;padding-top:3px;padding-bottom:3px}html body #content .settings-side .settings-subnav button{min-height:29px;padding-top:5px;padding-bottom:5px}}
/* 2.17.30 — yorug' temada rangli matn (holat belgilari, qarz/to'lov summalari) o'qilishi uchun yetarli kontrast (WCAG 4.5:1) */
:root[data-theme="light"]{--green:#116b42;--red:#b23a24;--amber:#8a5806;--purple:#6446c4}
/* mahsulotlar yorliqlari: 36px tugmada 12px+12px padding matnni pastga surib kesardi */
html:not(.mobile-app) body #content#content#content#content .products-reference > .tabs [data-tab]{padding:0 16px!important;display:inline-flex;align-items:center;justify-content:center}
/* kassa filtrlari: tor ekranda «Tozalash» tugmasi 26px ga siqilib, matni kesilardi */
@media screen and (min-width:1001px){#content .cash-ledger-tools{grid-template-columns:minmax(140px,1fr) repeat(3,minmax(0,160px)) max-content}}
/* kassa jadvali: o'ngda qotib turadigan «Amallar» ustuni shaffof edi — jadval suriganda ostidagi «Kim» matni tugma bilan ustma-ust ko'rinardi */
html body #content#content .cash-polished .cash-table td:has(>[data-more]){background:var(--solid)!important}
html body #content#content .cash-polished .cash-table th:has(.cash-actions-heading){background:linear-gradient(rgba(var(--bz-rgb),.1),rgba(var(--bz-rgb),.1)),var(--solid)!important}
/* buyurtmalar jadvali (o'rta ekranlar): «Mijoz / obyekt» ustuni 95px ga siqilib, nomlar 3 qatorga o'ralardi — qatorlar 88px edi */
@media screen and (min-width:761px) and (max-width:1440px){html body #content#content#content .orders-table th:nth-child(2){min-width:150px}html body #content#content#content .orders-table :is(th,td){padding-left:8px!important;padding-right:8px!important}}
/* ombor ko'rsatkichlari: «Ombor qiymati» summasi sig'may «so'm» pastga tushar va kartochka boshqalaridan baland bo'lardi */
@media screen and (min-width:761px){html body #content#content .warehouse-kpis{align-items:stretch!important}html body #content#content .warehouse-overview .warehouse-kpis .warehouse-overview-card strong{font-size:clamp(17px,1.3vw,24px)!important;white-space:nowrap;flex-wrap:nowrap!important;align-items:baseline}}
/* bo'sh ro'yxatda sahifalash qatori yo'q — pastki bo'sh chiziq qolmasin */
html body #content .dir-foot:empty,html body #content .auto-list-pager:empty{display:none!important}
/* 2.17.31 — «Yangi buyurtma» formasi ixcham: bo'lim, sarlavha, maydon va jadval qatorlari orasidagi keraksiz bo'sh joy olib tashlandi */
@media screen and (min-width:701px){
 html body #modal#modal .order-form{gap:8px!important}
 html body #modal#modal .order-form-section{padding:12px 14px 4px!important}
 html body #modal#modal .order-form-section>header{margin:0 0 8px!important}
 html body #modal#modal .order-form-section>header .icd{width:26px!important;height:26px!important;border-radius:8px!important}
 html body #modal#modal .order-form-section>header .icd svg{width:15px!important;height:15px!important}
 html body #modal#modal .order-form .fld{margin-bottom:8px!important}
 html body #modal#modal .order-form .fld>label{margin-bottom:3px!important}
 html body #modal#modal .order-form :is(input,select):not([type=checkbox]):not([type=radio]){height:36px!important;min-height:36px!important}
 html body #modal#modal .order-form .items-tbl thead th{padding-top:0!important;padding-bottom:4px!important;height:auto!important}
 html body #modal#modal .order-form .items-tbl tbody td{padding-top:2px!important;padding-bottom:2px!important}
 html body #modal#modal .order-form #oItems>.row{margin-top:2px!important}
 html body #modal#modal .order-form #ieAdd{min-height:30px!important;height:30px!important}
 html body #modal#modal .order-form .deliv-hint{margin:-2px 0 8px!important}
 html body #modal#modal:has(.order-form) .m-h{padding-top:14px!important;padding-bottom:10px!important}
}
/* 2.17.32 — barcha formalar (oynalar) ixcham: maydon 36px, qatorlar orasi 8px, yorliq ostida 4px, sarlavha/pastki qism pastroq (kompyuter) */
@media screen and (min-width:701px){
 html body #modal#modal .m-h{padding-top:14px!important;padding-bottom:10px!important}
 html body #modal#modal .m-f{padding-top:9px!important;padding-bottom:9px!important}
 html body #modal#modal .m-b:not(:has(.order-form)){padding-top:12px!important;padding-bottom:12px!important}
 html body #modal#modal :is(input,select):not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=file]):not([type=color]):not([type=range]){height:36px!important;min-height:36px!important}
 html body #modal#modal .fld>label{margin-bottom:4px!important}
 html body #modal#modal .m-b>.fld,html body #modal#modal .f-row>.fld{margin-bottom:8px!important}
 html body #modal#modal .f-row{row-gap:0!important;margin-bottom:0!important}
 html body #modal#modal :is(.customer-form-grid,.purchase-meta,.equipment-form-grid){row-gap:8px!important}
 html body #modal#modal .customer-form-section{padding:12px!important}
 html body #modal#modal textarea{min-height:64px}
}
/* 2.17.34 — buyurtma sahifasi: toza, bir xil uslubdagi yakuniy qatlam (oldingi .ov qatlamlari ustidan) */
html body #content#content#content#content#content .ov{display:flex;flex-direction:column;gap:12px}
html body #content#content#content#content#content .ov :is(.ov-head,.ov-block,.ov-kpi){background:var(--solid)!important;border:1px solid var(--surface-contour,var(--hair))!important;border-radius:16px!important;box-shadow:0 2px 8px rgba(18,20,26,.04)!important}
/* sarlavha kartochkasi */
html body #content#content#content#content#content .ov .ov-head{padding:16px 18px!important}
html body #content#content#content#content#content .ov .ov-id{display:flex;align-items:center;flex-wrap:wrap;gap:6px 8px}
html body #content#content#content#content#content .ov .ov-id h2{margin:0 4px 0 0;font-size:21px!important;font-weight:750;letter-spacing:-.02em}
html body #content#content#content#content#content .ov .ov-id .mini{flex-basis:100%;margin-top:2px;font-size:12.5px;color:var(--muted)}
html body #content#content#content#content#content .ov .ov-facts{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:0!important;margin:14px 0 0!important;padding:14px 0 0!important;background:none!important;border:0!important;border-top:1px solid var(--hair)!important;border-radius:0!important;box-shadow:none!important}
html body #content#content#content#content#content .ov .ov-fact{display:grid!important;grid-template-columns:34px minmax(0,1fr);column-gap:10px;row-gap:1px;align-content:start;padding:0 16px!important;margin:0!important;border:0!important;border-left:1px solid var(--hair)!important;background:none!important;min-width:0}
html body #content#content#content#content#content .ov .ov-fact:first-child{border-left:0!important;padding-left:0!important}
html body #content#content#content#content#content .ov .ov-fact-icon{grid-row:1/4;display:grid!important;place-items:center;width:34px!important;height:34px!important;border-radius:10px;background:rgba(var(--bz-rgb),.1)!important;color:var(--accent-ink)!important;position:static!important;margin:0!important}
html body #content#content#content#content#content .ov .ov-fact-icon svg{width:17px;height:17px}
html body #content#content#content#content#content .ov .ov-fact>span{grid-column:2;margin:0!important;padding:0!important;font-size:12px!important;font-weight:600;color:var(--muted)}
html body #content#content#content#content#content .ov .ov-fact>b{grid-column:2;margin:0!important;font-size:14px!important;font-weight:700;color:var(--ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html body #content#content#content#content#content .ov .ov-fact>small{grid-column:2;margin:1px 0 0!important;font-size:12px!important;line-height:1.4;color:var(--muted)}
/* ko'rsatkichlar: oq kartochka, rang faqat ikonkada va kerak bo'lsa qiymatda */
html body #content#content#content#content#content .ov .ov-kpis{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px!important}
html body #content#content#content#content#content .ov .ov-tone-gray{--ov-tone:var(--muted)}
html body #content#content#content#content#content .ov .ov-kpi{display:grid!important;grid-template-columns:38px minmax(0,1fr);column-gap:12px;row-gap:2px;align-content:start;min-height:0!important;padding:14px 16px!important}
html body #content#content#content#content#content .ov .ov-kpi>:is(span,b,small,.prg){grid-column:2;margin:0!important;padding:0!important}
html body #content#content#content#content#content .ov .ov-metric-icon{grid-row:1/5;display:grid!important;place-items:center;width:38px!important;height:38px!important;border-radius:11px!important;background:color-mix(in srgb,var(--ov-tone) 12%,transparent)!important;color:var(--ov-tone)!important;position:static!important;margin:0!important}
html body #content#content#content#content#content .ov .ov-metric-icon svg{width:18px;height:18px}
html body #content#content#content#content#content .ov .ov-kpi>span{min-height:0!important;display:block!important;font-size:12.5px!important;font-weight:600;color:var(--muted)}
html body #content#content#content#content#content .ov .ov-kpi>b{font-size:22px!important;font-weight:750;letter-spacing:-.02em;line-height:1.2!important;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body #content#content#content#content#content .ov .ov-kpi>b>i{font-style:normal;font-size:13px;font-weight:600;color:var(--muted);letter-spacing:0}
html body #content#content#content#content#content .ov .ov-kpi.is-neg>b{color:var(--red)}
html body #content#content#content#content#content .ov .ov-kpi.is-pos>b{color:var(--green)}
html body #content#content#content#content#content .ov .ov-kpi>small{font-size:12px!important;color:var(--muted)}
html body #content#content#content#content#content .ov .ov-kpi .prg{height:6px!important;margin:6px 0 2px!important;border-radius:3px;background:var(--hair)!important;overflow:hidden}
html body #content#content#content#content#content .ov .ov-kpi .prg>i{display:block;height:100%;border-radius:3px;background:var(--green)!important}
/* bloklar */
html body #content#content#content#content#content .ov .ov-grid{gap:12px!important}
html body #content#content#content#content#content .ov .ov-block{padding:0!important;overflow:hidden}
html body #content#content#content#content#content .ov .ov-block>h3{display:flex;align-items:center;gap:9px;margin:0!important;padding:13px 16px!important;font-size:14.5px!important;font-weight:700;border-bottom:1px solid var(--hair)}
html body #content#content#content#content#content .ov .ov-block>h3>svg{width:28px;height:28px;padding:6px;border-radius:8px;background:rgba(var(--bz-rgb),.1);color:var(--accent-ink);flex:none}
html body #content#content#content#content#content .ov .ov-block>h3>em{font-style:normal;min-width:22px;height:22px;padding:0 7px;display:inline-grid;place-items:center;border-radius:11px;background:var(--field);color:var(--muted);font-size:12px;font-weight:700}
html body #content#content#content#content#content .ov .ov-block .tbl-wrap{border:0!important;border-radius:0!important;margin:0!important}
html body #content#content#content#content#content .ov .ov-block .tbl :is(th,td):first-child{padding-left:16px!important}
html body #content#content#content#content#content .ov .ov-block .tbl :is(th,td):last-child{padding-right:16px!important}
html body #content#content#content#content#content .ov .ov-sum{margin:0!important;padding:4px 16px 12px!important;background:none!important;border:0!important}
html body #content#content#content#content#content .ov .ov-sum>div{display:flex;justify-content:space-between;padding:6px 0!important;font-size:13px;color:var(--muted);background:none!important;border:0!important;border-radius:0!important;margin:0!important}
html body #content#content#content#content#content .ov .ov-sum>div>span:last-child{color:var(--ink);font-weight:600;font-variant-numeric:tabular-nums}
html body #content#content#content#content#content .ov .ov-sum>.ov-total{margin-top:4px!important;padding-top:10px!important;border-top:1px solid var(--hair)!important;font-size:14.5px!important;font-weight:700;color:var(--ink)}
html body #content#content#content#content#content .ov .ov-sum>.ov-total>span:last-child{font-size:16px;font-weight:750}
/* bo'sh holat: ixcham, bir qatorda */
html body #content#content#content#content#content .ov .ov-empty{display:flex!important;flex-direction:row!important;align-items:center;justify-content:center;gap:12px;min-height:0!important;padding:22px 16px!important;margin:0!important;text-align:left!important;background:none!important;border:0!important}
html body #content#content#content#content#content .ov .ov-empty-icon{display:grid!important;place-items:center;width:40px!important;height:40px!important;flex:none;border-radius:12px!important;background:var(--field)!important;color:var(--muted)!important;margin:0!important}
html body #content#content#content#content#content .ov .ov-empty-icon svg{width:19px;height:19px}
html body #content#content#content#content#content .ov .ov-empty>div{display:flex;align-items:center;flex-wrap:wrap;gap:8px 14px}
html body #content#content#content#content#content .ov .ov-empty p{margin:0!important;font-size:13px;color:var(--muted)}
@media (max-width:1180px){html body #content#content#content#content#content .ov .ov-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}html body #content#content#content#content#content .ov .ov-facts{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:14px!important}html body #content#content#content#content#content .ov .ov-fact:nth-child(3){border-left:0!important;padding-left:0!important}}
@media (max-width:760px){html body #content#content#content#content#content .ov .ov-facts{grid-template-columns:minmax(0,1fr)}html body #content#content#content#content#content .ov .ov-fact{border-left:0!important;padding:0!important}html body #content#content#content#content#content .ov .ov-kpi{grid-template-columns:minmax(0,1fr);padding:12px!important}html body #content#content#content#content#content .ov .ov-metric-icon{display:none!important}html body #content#content#content#content#content .ov .ov-kpi>:is(span,b,small,.prg){grid-column:1}html body #content#content#content#content#content .ov .ov-kpi>b{font-size:18px!important}}
/* buyurtma eslatmasi (ishga tushiring / korzinkada) — oddiy matn emas, yumshoq rangli satr */
html body #content#content#content#content#content .ov .ov-note{display:block;margin:12px 0 0!important;padding:8px 12px!important;border:0!important;border-radius:10px!important;background:color-mix(in srgb,var(--amber) 10%,var(--solid))!important;color:var(--amber)!important;font-size:12.5px!important;font-weight:600;line-height:1.45}
/* 2.17.38 — yagona dizayn me'yori (kompyuter): tugma/maydon 36px, kichik tugma 32px, blok sarlavhasi 16px, jadval 12/13.5px, bo'limlar orasi 14px */
@media screen and (min-width:761px){
 /* tugmalar */
 html:not(.mobile-app) body #content#content#content#content#content .btn:not(.sm):not(.xs):not(.lg):not(.block){height:36px!important;min-height:36px!important;padding-top:0!important;padding-bottom:0!important;border-radius:9px!important}
 html:not(.mobile-app) body #content#content#content#content#content .btn.sm{height:32px!important;min-height:32px!important;padding-top:0!important;padding-bottom:0!important}
 html:not(.mobile-app) body #content#content#content#content#content .btn.xs{height:28px!important;min-height:28px!important}
 /* sahifadagi filtr/qidiruv maydonlari — tugmalar bilan bir balandlikda */
 html:not(.mobile-app) body #content#content#content#content#content :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=file]):not([type=range]),select):not(table *):not(.rt-date input):not(.rt-sheet *){height:36px!important;min-height:36px!important}
 html:not(.mobile-app) body #content#content#content#content#content :is(.search,.global-query,.dir-search,[class*=search-box],label:has(>input[type=search])):not(table *){min-height:36px!important}
 /* jadval yozuvlari */
 html:not(.mobile-app) body #content#content#content#content#content .tbl thead th{font-size:12px!important}
 html:not(.mobile-app) body #content#content#content#content#content .tbl tbody td{font-size:13.5px!important}
 /* blok sarlavhalari */
 html:not(.mobile-app) body #content#content#content#content#content :is(.card,.card-head,.dash-card-head,[class*=-head],[class*=-panel],[class*=-header]) h3:not(.sr-only){font-size:16px!important;font-weight:700!important}
 /* ishlab chiqarish: sana sarlavhasi va «Bugun» tugmasi me'yorda */
 html:not(.mobile-app) body #content#content#content#content#content .production-reference h3{font-size:20px!important}
 /* kassa: bo'limlar orasidagi ikki qavat (margin + gap) bo'shliq */
 html:not(.mobile-app) body #content#content#content#content#content .cash-workspace{gap:14px!important}
 html:not(.mobile-app) body #content#content#content#content#content .cash-workspace>*{margin-top:0!important;margin-bottom:0!important}
 html:not(.mobile-app) body #content#content#content#content#content .cash-workspace>.cash-overview-label{margin-bottom:-6px!important}
 /* ijara sahifasi tepasidagi ortiqcha joy */
 html:not(.mobile-app) body #content#content#content#content#content .rt-page{margin-top:0!important;padding-top:0!important}
}
/* 2.17.40 — Kassa / Bank qayta loyihasi: ixcham davr qatori, bitta qatorda ko'rsatkichlar, oq kartochkalar */
html body #content#content#content#content#content .cash-v2{display:flex!important;flex-direction:column;gap:12px!important}
html body #content#content#content#content#content .cash-v2>*{margin:0!important}
/* yuqori qator: davr + amallar (alohida katta kartochka emas) */
html body #content#content#content#content#content .cash-v2 .cv-bar{display:flex!important;align-items:center;flex-wrap:wrap;gap:10px 12px!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important;min-height:0!important}
html body #content#content#content#content#content .cash-v2 .cv-bar .spacer{flex:1}
html body #content#content#content#content#content .cash-v2 .cv-bar .actions{display:flex;gap:8px;flex-wrap:wrap}
.cash-v2 .cv-period{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.cash-v2 .cv-presets{display:inline-flex;gap:2px;padding:3px;border-radius:10px;background:rgba(var(--bz-rgb),.07)}
.cash-v2 .cv-chip{padding:6px 11px;border:0;border-radius:8px;background:transparent;color:var(--muted);font:inherit;font-size:12.5px;font-weight:600;cursor:pointer;white-space:nowrap;transition:background-color .16s ease,color .16s ease}
.cash-v2 .cv-chip:hover{color:var(--ink)}
.cash-v2 .cv-chip.on{background:var(--solid);color:var(--accent-ink);box-shadow:0 1px 2px rgba(0,0,0,.08)}
.cash-v2 .cv-chip:focus-visible{outline:2px solid var(--accent);outline-offset:1px}
.cash-v2 .cv-range{display:inline-flex;align-items:center;gap:2px;height:36px;padding:0 4px 0 11px;border:1px solid var(--surface-contour,var(--hair));border-radius:10px;background:var(--solid);color:var(--muted)}
.cash-v2 .cv-range>svg{width:15px;height:15px;flex:none;margin-right:3px}
.cash-v2 .cv-range>i{font-style:normal}
.cash-v2 .cv-date{position:relative;display:inline-flex;align-items:center;height:28px;padding:0 8px;border-radius:7px;font-size:13px;font-weight:600;color:var(--ink);font-variant-numeric:tabular-nums;white-space:nowrap;cursor:pointer;transition:background-color .16s ease}
.cash-v2 .cv-date:hover{background:rgba(var(--bz-rgb),.08);color:var(--accent-ink)}
.cash-v2 .cv-date:focus-within{outline:2px solid var(--accent);outline-offset:1px}
html body #content#content#content#content#content .cash-v2 .cv-date input{position:absolute;inset:0;width:100%!important;height:100%!important;min-height:0!important;margin:0;padding:0!important;border:0!important;box-shadow:none!important;background:transparent!important;opacity:0;cursor:pointer}
/* ko'rsatkichlar: bitta qatorda, oq kartochka, rang faqat ikonkada */
.cash-v2 .cv-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}
.cash-v2 .cv-kpi{display:grid;grid-template-columns:38px minmax(0,1fr);column-gap:12px;row-gap:1px;align-items:center;min-width:0;padding:12px 15px;border:1px solid var(--surface-contour,var(--hair));border-radius:14px;background:var(--solid);box-shadow:0 2px 8px rgba(18,20,26,.04)}
.cash-v2 .cv-kpi-ico{grid-row:1/4;display:grid;place-items:center;width:38px;height:38px;border-radius:11px}
.cash-v2 .cv-kpi-ico svg{width:18px;height:18px}
.cash-v2 .cv-kpi-ico.t-green{background:var(--green-bg);color:var(--green)}
.cash-v2 .cv-kpi-ico.t-blue,.cash-v2 .cv-kpi-ico.t-ind{background:rgba(var(--bz-rgb),.12);color:var(--accent-ink)}
.cash-v2 .cv-kpi-ico.t-red{background:var(--red-bg);color:var(--red)}
.cash-v2 .cv-kpi-l{grid-column:2;font-size:12.5px;font-weight:600;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html body #content#content#content#content#content .cash-v2 .cv-kpi strong{grid-column:2;font-size:clamp(18px,1.45vw,22px)!important;font-weight:750;letter-spacing:-.02em;line-height:1.2;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-variant-numeric:tabular-nums}
html body #content#content#content#content#content .cash-v2 .cv-kpi strong small{font-size:.55em;font-weight:600;color:var(--muted);letter-spacing:0}
html body #content#content#content#content#content .cash-v2 .cv-kpi.income strong{color:var(--green)}
html body #content#content#content#content#content .cash-v2 .cv-kpi.expense strong{color:var(--red)}
html body #content#content#content#content#content .cash-v2 .cv-kpi strong.neg{color:var(--red)}
.cash-v2 .cv-kpi-h{grid-column:2;font-size:12px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* tranzaksiyalar sarlavhasi */
html body #content#content#content#content#content .cash-v2 .cv-ledger-head{padding-bottom:10px!important}
html body #content#content#content#content#content .cash-v2 .cv-ledger-head h3{display:flex;align-items:center;gap:8px}
html body #content#content#content#content#content .cash-v2 .cv-ledger-head h3 em{font-style:normal;min-width:22px;height:22px;padding:0 7px;display:inline-grid;place-items:center;border-radius:11px;background:var(--field);color:var(--muted);font-size:12px;font-weight:700}
@media (max-width:760px){
 html body #content#content#content#content#content .cash-v2 .cv-bar .actions{width:100%}
 html body #content#content#content#content#content .cash-v2 .cv-bar .actions .btn{flex:1;justify-content:center}
 .cash-v2 .cv-period{width:100%}
 .cash-v2 .cv-presets{display:flex;flex:1}.cash-v2 .cv-chip{flex:1}
 .cash-v2 .cv-range{width:100%;justify-content:space-between}
 .cash-v2 .cv-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .cash-v2 .cv-kpi{grid-template-columns:minmax(0,1fr);padding:11px 12px}
 .cash-v2 .cv-kpi-ico{display:none}
 .cash-v2 .cv-kpi-l,html body #content#content#content#content#content .cash-v2 .cv-kpi strong,.cash-v2 .cv-kpi-h{grid-column:1}
 html body #content#content#content#content#content .cash-v2 .cv-kpi strong{font-size:17px!important}
}
@media (min-width:761px) and (max-width:1180px){.cash-v2 .cv-kpis{grid-template-columns:repeat(auto-fit,minmax(230px,1fr))}}
@media (max-width:760px){.cash-v2 .cv-kpi:last-child:nth-child(odd){grid-column:1/-1}}
/* 2.17.41 — Retseptlar: ixcham izoh qatori, toza kartochkalar (yashil chiziqsiz), material ikonkalari, yengil tugmalar */
html body #content#content#content#content#content .products-reference .recipes-toolbar{display:flex!important;align-items:center;gap:12px;margin:0!important;padding:10px 12px 10px 14px!important;border:1px solid var(--surface-contour,var(--hair))!important;border-radius:14px!important;background:var(--solid)!important;box-shadow:0 2px 8px rgba(18,20,26,.04)!important}
html body #content#content#content#content#content .products-reference .recipes-toolbar .recipe-intro-icon{width:36px;height:36px;border-radius:10px;background:rgba(var(--bz-rgb),.1);color:var(--accent-ink)}
html body #content#content#content#content#content .products-reference .recipes-toolbar .recipe-intro-icon svg{width:18px;height:18px}
html body #content#content#content#content#content .products-reference .recipes-toolbar p{flex:1;min-width:0;max-width:none!important;margin:0;display:flex;flex-direction:column;gap:1px;font-size:12.5px!important;line-height:1.45!important;color:var(--muted)}
html body #content#content#content#content#content .products-reference .recipes-toolbar p b{font-size:14px;font-weight:700;color:var(--ink)}
html body #content#content#content#content#content .products-reference .recipes-toolbar #rNew{margin-left:auto;flex:none}
/* kartochkalar to'ri */
html body #content#content#content#content#content .products-reference .recipes-grid{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(260px,1fr))!important;gap:12px!important;margin:0!important}
html body #content#content#content#content#content .products-reference .recipe-card{display:flex;flex-direction:column;padding:14px 16px 14px!important;border:1px solid var(--surface-contour,var(--hair))!important;border-radius:16px!important;background:var(--solid)!important;box-shadow:0 2px 8px rgba(18,20,26,.04)!important;transition:border-color .18s ease,box-shadow .18s ease}
html body #content#content#content#content#content .products-reference .recipe-card:hover{border-color:rgba(var(--bz-rgb),.35)!important;box-shadow:0 6px 18px rgba(18,20,26,.07)!important}
html body #content#content#content#content#content .products-reference .recipe-card::before{display:none!important}
html body #content#content#content#content#content .products-reference .recipe-card:not(.is-active){background:var(--field)!important}
html body #content#content#content#content#content .products-reference .recipe-card:not(.is-active) dl{opacity:.7}
html body #content#content#content#content#content .products-reference .recipe-card header{align-items:center;padding-bottom:10px;border-bottom:1px solid var(--hair)}
html body #content#content#content#content#content .products-reference .recipe-card header b{font-size:19px!important;font-weight:750;letter-spacing:-.02em;line-height:1.2}
html body #content#content#content#content#content .products-reference .recipe-card .recipe-version{display:inline-block;margin-left:2px;padding:1px 6px;border-radius:6px;background:var(--field);font-size:11px;font-weight:600;vertical-align:3px}
html body #content#content#content#content#content .products-reference .recipe-card header small{margin-top:2px;font-size:12px!important}
html body #content#content#content#content#content .products-reference .recipe-tags{gap:4px}
html body #content#content#content#content#content .products-reference .recipe-tags :is(.badge,.recipe-volume){padding:4px 8px!important;border-radius:7px!important;font-size:11px!important;font-weight:650;line-height:1.2}
/* materiallar */
html body #content#content#content#content#content .products-reference .recipe-card dl{flex:1;margin:6px 0 12px!important;font-size:13px!important}
html body #content#content#content#content#content .products-reference .recipe-card dl>div{min-height:38px;padding:6px 0!important;gap:12px!important;border-bottom:1px dashed var(--hair)}
html body #content#content#content#content#content .products-reference .recipe-card dl>div:last-child{border-bottom:0}
html body #content#content#content#content#content .products-reference .recipe-card dt{display:flex;align-items:center;gap:9px;min-width:0;color:var(--ink)}
html body #content#content#content#content#content .products-reference .recipe-card dt>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.products-reference .recipe-mat-ico{display:grid;place-items:center;width:26px;height:26px;flex:none;border-radius:8px;background:rgba(var(--bz-rgb),.08);color:var(--accent-ink)}
.products-reference .recipe-mat-ico svg{width:15px;height:15px}
html body #content#content#content#content#content .products-reference .recipe-card dd{font-weight:700;font-variant-numeric:tabular-nums;color:var(--ink)}
/* amallar */
html body #content#content#content#content#content .products-reference .recipe-card footer{display:flex;gap:8px;margin-top:auto;padding-top:12px!important;border-top:1px solid var(--hair)!important}
html body #content#content#content#content#content .products-reference .recipe-card footer .recipe-edit{flex:1;justify-content:center}
html body #content#content#content#content#content .products-reference .recipe-card footer .recipe-delete{display:grid!important;place-items:center;width:36px!important;min-width:36px!important;padding:0!important;flex:none;background:transparent!important;border:1px solid var(--hair)!important;color:var(--muted)!important;transition:color .16s ease,background-color .16s ease,border-color .16s ease}
html body #content#content#content#content#content .products-reference .recipe-card footer .recipe-delete:hover{color:var(--red)!important;background:var(--red-bg)!important;border-color:transparent!important}
html body #content#content#content#content#content .products-reference .recipe-card footer .recipe-delete svg{width:16px!important;height:16px!important;max-width:none!important;flex:none}
@media (max-width:760px){
 html body #content#content#content#content#content .products-reference .recipes-toolbar{flex-wrap:wrap}
 html body #content#content#content#content#content .products-reference .recipes-toolbar p{flex-basis:calc(100% - 48px)}
 html body #content#content#content#content#content .products-reference .recipes-toolbar #rNew{width:100%;justify-content:center}
 html body #content#content#content#content#content .products-reference .recipes-grid{grid-template-columns:1fr!important;gap:10px!important}
 html body #content#content#content#content#content .products-reference .recipe-card footer .recipe-edit,html body #content#content#content#content#content .products-reference .recipe-card footer .recipe-delete{height:40px!important;min-height:40px!important}
}
/* 2.17.42 — Ishlab chiqarish: sana boshqaruvi ochiq (Filtr ichida emas), ixcham ko'rsatkichlar, takrorlanuvchi yozuvsiz, bo'sh holatlar markazda */
html:not(.mobile-app) body #content#content#content#content#content .production-reference{display:flex!important;flex-direction:column;gap:12px!important}
html:not(.mobile-app) body #content#content#content#content#content .production-reference>*{margin:0!important;flex:none!important}
/* sarlavha + sana */
html:not(.mobile-app) body #content#content#content#content#content .production-reference .production-toolbar{display:flex!important;align-items:center!important;justify-content:space-between;flex-wrap:wrap;gap:10px 16px!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important;min-height:0!important}
html:not(.mobile-app) body #content#content#content#content#content .production-reference .production-day>span{display:block;font-size:12px;font-weight:600;color:var(--muted)}
html:not(.mobile-app) body #content#content#content#content#content .production-reference .production-day>div{display:flex;align-items:center;gap:8px}
html:not(.mobile-app) body #content#content#content#content#content .production-reference .production-day h3{margin:0!important;font-size:22px!important;font-weight:750!important;letter-spacing:-.02em;font-variant-numeric:tabular-nums}
html:not(.mobile-app) body #content#content#content#content#content .production-reference .production-date{display:block!important;width:auto!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important;background:none!important}
html:not(.mobile-app) body #content#content#content#content#content .production-reference .production-date .production-caption{display:none!important}
html:not(.mobile-app) body #content#content#content#content#content .production-reference .production-date>.row{display:flex!important;align-items:center;gap:8px!important;flex-wrap:nowrap!important}
html:not(.mobile-app) body #content#content#content#content#content .production-reference .production-date>.row>:is(#dPrev,#dNext){display:grid!important;place-items:center;width:36px!important;min-width:36px!important;height:36px!important;min-height:36px!important;padding:0!important;border:1px solid var(--surface-contour,var(--hair))!important;border-radius:10px!important;background:var(--solid)!important;color:var(--ink)}
html:not(.mobile-app) body #content#content#content#content#content .production-reference .production-date :is(#dPrev,#dNext):hover{border-color:rgba(var(--bz-rgb),.4)!important;color:var(--accent-ink)}
html:not(.mobile-app) body #content#content#content#content#content .production-reference .production-date :is(#dPrev,#dNext) svg{width:16px!important;height:16px!important}
html:not(.mobile-app) body #content#content#content#content#content .production-reference .production-date #dDate{width:150px!important;min-width:0!important;height:36px!important;min-height:36px!important;padding:0 10px!important;border:1px solid var(--surface-contour,var(--hair))!important;border-radius:10px!important;background:var(--solid)!important;font-weight:600;font-variant-numeric:tabular-nums;text-align:center}
html:not(.mobile-app) body #content#content#content#content#content .production-reference .production-date #dToday{height:36px!important;min-height:36px!important;padding:0 14px!important}
html:not(.mobile-app) body #content#content#content#content#content .production-reference .production-date #dToday:disabled{opacity:.45}
/* ko'rsatkichlar */
html:not(.mobile-app) body #content#content#content#content#content .production-reference .production-metrics{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important}
html:not(.mobile-app) body #content#content#content#content#content .production-reference .production-metrics>div{display:flex!important;align-items:center;gap:12px!important;min-height:0!important;padding:12px 16px!important;border:1px solid var(--surface-contour,var(--hair))!important;border-radius:14px!important;background:var(--solid)!important;box-shadow:0 2px 8px rgba(18,20,26,.04)!important}
html:not(.mobile-app) body #content#content#content#content#content .production-reference .production-metrics>div>svg{width:38px!important;height:38px!important;padding:10px;flex:none;border-radius:11px;background:rgba(var(--bz-rgb),.1);color:var(--accent-ink);box-sizing:border-box}
html:not(.mobile-app) body #content#content#content#content#content .production-reference .production-metrics>div:nth-child(2)>svg{background:var(--green-bg);color:var(--green)}
html:not(.mobile-app) body #content#content#content#content#content .production-reference .production-metrics>div>span{display:flex!important;flex-direction:column;gap:1px;min-width:0;font-size:12.5px!important;font-weight:600;color:var(--muted)}
html:not(.mobile-app) body #content#content#content#content#content .production-reference .production-metrics strong{display:block;margin:0!important;font-size:22px!important;font-weight:750!important;line-height:1.2!important;letter-spacing:-.02em;color:var(--ink);font-variant-numeric:tabular-nums;white-space:nowrap}
html:not(.mobile-app) body #content#content#content#content#content .production-reference .production-metrics strong small{font-size:13px!important;font-weight:600;color:var(--muted);letter-spacing:0;vertical-align:baseline}
/* bajarilish qatori */
html:not(.mobile-app) body #content#content#content#content#content .production-reference .production-day-progress{display:grid!important;grid-template-columns:auto minmax(0,1fr) auto!important;align-items:center;gap:16px!important;min-height:0!important;padding:10px 16px!important;border:1px solid var(--surface-contour,var(--hair))!important;border-radius:14px!important;background:var(--solid)!important;box-shadow:none!important}
html:not(.mobile-app) body #content#content#content#content#content .production-reference .production-day-progress>div{display:flex;align-items:baseline;gap:8px}
html:not(.mobile-app) body #content#content#content#content#content .production-reference .production-day-progress>div>span,html:not(.mobile-app) body #content#content#content#content#content .production-reference .production-day-progress>span{font-size:12.5px!important;font-weight:600;color:var(--muted)}
html:not(.mobile-app) body #content#content#content#content#content .production-reference .production-day-progress strong{font-size:15px!important;font-weight:750;color:var(--accent-ink)}
/* «Reja va ishlab chiqarish» qatori — bajarilish qatori bilan takrorlanardi */
html:not(.mobile-app) body #content#content#content#content#content .production-reference .production-section-title{display:none!important}
/* bloklar */
html:not(.mobile-app) body #content#content#content#content#content .production-reference .production-grid{gap:12px!important;align-items:start}
html:not(.mobile-app) body #content#content#content#content#content .production-reference:not(.production-has-plan) .production-grid{align-items:stretch}
html:not(.mobile-app) body #content#content#content#content#content .production-reference:not(.production-has-plan) .production-grid>div>.card:only-child{height:100%}
html:not(.mobile-app) body #content#content#content#content#content .production-reference .production-grid>div{display:flex;flex-direction:column;gap:12px;min-width:0}
html:not(.mobile-app) body #content#content#content#content#content .production-reference .production-grid .card{margin:0!important;border:1px solid var(--surface-contour,var(--hair))!important;border-radius:16px!important;background:var(--solid)!important;box-shadow:0 2px 8px rgba(18,20,26,.04)!important;overflow:hidden}
html:not(.mobile-app) body #content#content#content#content#content .production-reference .production-grid :is(.production-plan-empty,.production-waiting)>h3,html:not(.mobile-app) body #content#content#content#content#content .production-reference .production-batch-heading h3,html:not(.mobile-app) body #content#content#content#content#content .production-reference .production-plant-heading h3{display:flex;align-items:center;gap:8px;margin:0!important;font-size:15px!important;font-weight:700!important}
html:not(.mobile-app) body #content#content#content#content#content .production-reference .production-plan-empty{display:flex!important;flex-direction:column;padding:0!important}
html:not(.mobile-app) body #content#content#content#content#content .production-reference .production-plan-empty>h3{padding:13px 16px!important;border-bottom:1px solid var(--hair)}
html:not(.mobile-app) body #content#content#content#content#content .production-reference .production-batch-heading{display:flex!important;align-items:center;justify-content:space-between;gap:10px;margin:0!important;padding:13px 16px!important;border-bottom:1px solid var(--hair)!important}
html:not(.mobile-app) body #content#content#content#content#content .production-reference .production-batch-heading>span{font-size:13px;font-weight:700;color:var(--accent-ink);font-variant-numeric:tabular-nums}
html:not(.mobile-app) body #content#content#content#content#content .production-reference .production-batches{display:flex!important;flex-direction:column;padding:0!important}
html:not(.mobile-app) body #content#content#content#content#content .production-reference .production-batches .tbl-wrap{margin:0!important;border:0!important;border-radius:0!important}
/* bo'sh holatlar: markazda, bir xil uslubda */
html:not(.mobile-app) body #content#content#content#content#content .production-reference :is(.production-empty,.production-batch-empty){flex:1;display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:8px!important;min-height:200px;margin:0!important;padding:24px 16px!important;text-align:center;background:none!important;border:0!important}
html:not(.mobile-app) body #content#content#content#content#content .production-reference :is(.production-empty,.production-batch-empty)>svg{width:44px!important;height:44px!important;padding:12px;box-sizing:border-box;border-radius:12px;background:var(--field);color:var(--muted);margin:0 0 2px!important}
html:not(.mobile-app) body #content#content#content#content#content .production-reference .production-empty>div{display:flex;flex-direction:column;gap:3px}
html:not(.mobile-app) body #content#content#content#content#content .production-reference :is(.production-empty,.production-batch-empty) b{font-size:14px;font-weight:700;color:var(--ink)}
html:not(.mobile-app) body #content#content#content#content#content .production-reference :is(.production-empty,.production-batch-empty) p{margin:0!important;font-size:12.5px;color:var(--muted)}
html:not(.mobile-app) body #content#content#content#content#content .production-reference .production-empty .btn{margin-top:4px}
@media (max-width:1100px){
 html:not(.mobile-app) body #content#content#content#content#content .production-reference .production-grid{grid-template-columns:minmax(0,1fr)!important}
 html:not(.mobile-app) body #content#content#content#content#content .production-reference:not(.production-has-plan) .production-grid>div>.card:only-child{height:auto}
}
@media (max-width:760px){
 html:not(.mobile-app) body #content#content#content#content#content .production-reference .production-date,html:not(.mobile-app) body #content#content#content#content#content .production-reference .production-date>.row{width:100%!important}
 html:not(.mobile-app) body #content#content#content#content#content .production-reference .production-date #dDate{flex:1;width:auto!important}
 html:not(.mobile-app) body #content#content#content#content#content .production-reference .production-metrics{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important}
 html:not(.mobile-app) body #content#content#content#content#content .production-reference .production-metrics>div{padding:10px 12px!important}
 html:not(.mobile-app) body #content#content#content#content#content .production-reference .production-metrics>div>svg{display:none!important}
 html:not(.mobile-app) body #content#content#content#content#content .production-reference .production-metrics strong{font-size:17px!important}
 html:not(.mobile-app) body #content#content#content#content#content .production-reference .production-day-progress{grid-template-columns:auto minmax(0,1fr)!important;gap:6px 12px!important}
 html:not(.mobile-app) body #content#content#content#content#content .production-reference .production-day-progress>span{grid-column:1/-1}
 html:not(.mobile-app) body #content#content#content#content#content .production-reference :is(.production-empty,.production-batch-empty){min-height:150px}
}
@media (max-width:760px){html:not(.mobile-app) body #content#content#content#content#content .production-reference .production-metrics{align-items:stretch!important}html:not(.mobile-app) body #content#content#content#content#content .production-reference .production-metrics>div>span{font-size:11.5px!important;line-height:1.3}}
/* 2.17.43 — ro'yxatlar: «Ko'rsatish: 10 · 20 · 50» tanlovi va sahifa tugmalari bir qatorda */
html body #content#content#content .list-pagination-sized{display:flex!important;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:10px 16px!important}
html body #content#content#content .list-pagination-sized>[role=status]{font-variant-numeric:tabular-nums;font-weight:600}
html body #content#content#content .list-pagination-sized .list-page-buttons{margin-left:auto}
.list-page-size{display:inline-flex;align-items:center;gap:2px;padding:3px;border-radius:10px;background:rgba(var(--bz-rgb),.07)}
.list-page-size>span{padding:0 6px 0 4px;font-size:12px;color:var(--muted)}
html body #content#content#content .list-page-size button{min-width:34px;height:28px;padding:0 8px;border:0;border-radius:7px;background:transparent;color:var(--muted);font:inherit;font-size:12.5px;font-weight:650;cursor:pointer;font-variant-numeric:tabular-nums;transition:background-color .16s ease,color .16s ease}
html body #content#content#content .list-page-size button:hover{color:var(--ink)}
html body #content#content#content .list-page-size button.on{background:var(--solid);color:var(--accent-ink);box-shadow:0 1px 2px rgba(0,0,0,.08)}
html body #content#content#content .list-page-size button:focus-visible{outline:2px solid var(--accent);outline-offset:1px}
@media (max-width:640px){
 html body #content#content#content .list-pagination-sized{justify-content:space-between}
 html body #content#content#content .list-pagination-sized .list-page-buttons{margin-left:0;width:100%;justify-content:center}
 .list-page-size>span{display:none}
}
/* 2.17.44 — ombor harakatlari: Narx+Summa va Hujjat+Izoh birlashtirildi, bo'sh ustunlar yo'q */
.move-src{display:block;font-size:12.5px;font-weight:600;color:var(--ink)}
.move-src+.sub{margin-top:1px}
/* telefonda qidiruv va bitta tugma sig'sa bir qatorda — tugma alohida qatorni egallamaydi */
@media (max-width:760px){html:not(.mobile-app) body #content#content#content#content#content .section-toolbar>.search{flex:1 1 170px!important;min-width:0!important;width:auto!important}html:not(.mobile-app) body #content#content#content#content#content .section-toolbar>.spacer{display:none!important}}
@media (max-width:760px){html:not(.mobile-app) body #content#content#content#content#content .section-toolbar>select{flex:1 1 140px!important;width:auto!important;min-width:0!important}}
@media (max-width:760px){html:not(.mobile-app) body #content#content#content#content#content .section-toolbar:has(>#labType){grid-template-columns:repeat(2,minmax(0,1fr))!important}html:not(.mobile-app) body #content#content#content#content#content .section-toolbar:has(>#labType)>:is(.search,#labReset){grid-column:1/-1}html:not(.mobile-app) body #content#content#content#content#content .section-toolbar:has(>#labType)>#labReset{justify-self:end}}
/* 2.17.45 — Mahsulotlar jadvali: ustunlar mazmunga mos, «Holat» va amallar orasida bo'sh maydon yo'q */
@media (min-width:761px){
 html body #content#content#content#content#content .product-list-pane #mp .tbl{table-layout:fixed!important;width:100%!important}
 html body #content#content#content#content#content .product-list-pane #mp .tbl :is(th,td):nth-child(1){width:110px!important}
 html body #content#content#content#content#content .product-list-pane #mp .tbl :is(th,td):nth-child(2){width:auto!important}
 html body #content#content#content#content#content .product-list-pane #mp .tbl :is(th,td):nth-child(3){width:22%!important}
 html body #content#content#content#content#content .product-list-pane #mp .tbl :is(th,td):nth-child(4){width:100px!important}
 html body #content#content#content#content#content .product-list-pane #mp .tbl :is(th,td):nth-child(5){width:120px!important}
 html body #content#content#content#content#content .product-list-pane #mp .tbl :is(th,td):nth-child(6){width:58px!important;min-width:58px!important;max-width:58px!important;padding:0 12px 0 4px!important;text-align:right!important;overflow:visible!important}
 html body #content#content#content#content#content .product-list-pane #mp .tbl td:not(:last-child){overflow:hidden!important;text-overflow:ellipsis!important}
}
/* 2.17.46 — filtr tugmasi: strelka silliq aylanadi */
html body :is(#content#content#content,#modalB#modalB#modalB) .list-filter-toggle .list-filter-chevron{transition:transform .26s cubic-bezier(.22,1,.36,1)}
@media (prefers-reduced-motion:reduce){html body :is(#content#content#content,#modalB#modalB#modalB) .list-filter-toggle .list-filter-chevron{transition:none}}
/* 2.17.47 — Partiya oynasi qayta loyihasi: bitta ko'rsatkichlar tasmasi, ikonkali ma'lumotlar, ixcham material ro'yxati, aniq laboratoriya natijasi */
#modal .bv{display:flex;flex-direction:column;gap:12px}
#modal .bv :is(.bv-hero,.bv-facts,.bv-block){margin:0;border:1px solid var(--surface-contour,var(--hair));border-radius:14px;background:var(--solid);box-shadow:0 2px 8px rgba(18,20,26,.04)}
/* ko'rsatkichlar */
#modal .bv-hero{display:grid;grid-template-columns:1.15fr 1fr 1fr;overflow:hidden}
#modal .bv-stat{display:flex;flex-direction:column;gap:2px;min-width:0;padding:13px 16px;border-left:1px solid var(--hair)}
#modal .bv-stat:first-child{border-left:0}
#modal .bv-stat>span{font-size:12px;font-weight:600;color:var(--muted)}
#modal .bv-stat>strong{font-size:20px;font-weight:750;letter-spacing:-.02em;line-height:1.25;color:var(--ink);font-variant-numeric:tabular-nums;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#modal .bv-stat>strong.is-empty{color:var(--muted);font-weight:600}
#modal .bv-stat>small{font-size:11.5px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#modal .bv-stat-main{background:rgba(var(--bz-rgb),.06)}
#modal .bv-stat-main>strong{font-size:24px;color:var(--accent-ink)}
#modal .bv-mark{align-self:flex-start;margin-top:2px;padding:2px 8px;border-radius:7px;background:rgba(var(--bz-rgb),.12);color:var(--accent-ink);font-style:normal;font-size:11.5px;font-weight:700}
/* ma'lumotlar */
#modal .bv-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 20px;padding:14px 16px}
#modal .bv-fact{display:grid;grid-template-columns:32px minmax(0,1fr);column-gap:10px;row-gap:1px;align-content:start;min-width:0}
#modal .bv-fact-ico{grid-row:1/4;display:grid;place-items:center;width:32px;height:32px;border-radius:9px;background:var(--field);color:var(--muted)}
#modal .bv-fact-ico svg{width:16px;height:16px}
#modal .bv-fact>:not(.bv-fact-ico){grid-column:2;min-width:0}
#modal .bv-fact-l{font-size:11.5px;font-weight:600;color:var(--muted)}
#modal .bv-fact>b{font-size:13.5px;font-weight:700;color:var(--ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#modal .bv-fact>small{font-size:12px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#modal .bv-link{display:inline-flex;align-items:center;gap:4px;justify-self:start;margin:0;padding:0;border:0;background:none;color:var(--accent-ink);font:inherit;font-size:13.5px;font-weight:700;cursor:pointer}
#modal .bv-link svg{width:14px;height:14px;transition:transform .16s ease}
#modal .bv-link:hover svg{transform:translateX(2px)}
#modal .bv-link:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:4px}
#modal .bv-note{grid-column:1/-1;display:flex;align-items:center;gap:8px;padding:8px 12px;border-radius:10px;background:var(--field);font-size:12.5px;color:var(--ink)}
#modal .bv-note svg{width:15px;height:15px;flex:none;color:var(--muted)}
/* bloklar */
#modal .bv-block{overflow:hidden}
#modal .bv-block>header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 16px;border-bottom:1px solid var(--hair)}
#modal .bv-block h4{display:flex;align-items:center;gap:8px;margin:0;font-size:14px;font-weight:700;color:var(--ink)}
#modal .bv-block h4>svg{width:26px;height:26px;padding:5px;box-sizing:border-box;border-radius:8px;background:rgba(var(--bz-rgb),.1);color:var(--accent-ink)}
#modal .bv-block h4>em{font-style:normal;min-width:20px;height:20px;padding:0 6px;display:inline-grid;place-items:center;border-radius:10px;background:var(--field);color:var(--muted);font-size:11.5px;font-weight:700}
#modal .bv-ok{display:inline-flex;align-items:center;gap:5px;padding:3px 9px;border-radius:999px;background:var(--green-bg);color:var(--green);font-size:12px;font-weight:650}
#modal .bv-ok svg{width:13px;height:13px}
/* material sarfi */
#modal .bv-mat{display:grid;grid-template-columns:28px minmax(0,1fr) 92px 92px 64px;align-items:center;gap:10px;padding:8px 16px;border-top:1px solid var(--hair);font-size:13px}
#modal .bv-mats>.bv-mat:first-child{border-top:0}
#modal .bv-mat-head{padding-top:7px;padding-bottom:7px;background:var(--field);font-size:11px;font-weight:700;letter-spacing:.03em;text-transform:uppercase;color:var(--muted)}
#modal .bv-mat-head>span:nth-child(n+3){text-align:right}
#modal .bv-mat-ico{display:grid;place-items:center;width:28px;height:28px;border-radius:8px;background:rgba(var(--bz-rgb),.08);color:var(--accent-ink)}
#modal .bv-mat-ico svg{width:15px;height:15px}
#modal .bv-mat-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--ink)}
#modal :is(.bv-mat-plan,.bv-mat-act,.bv-mat-diff){text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
#modal .bv-mat-plan{color:var(--muted)}
#modal .bv-mat-act{font-weight:700;color:var(--ink)}
#modal .bv-mat-diff{color:var(--muted)}
#modal .bv-mat-diff.neg{color:var(--red);font-weight:650}
#modal .bv-mat-diff.pos{color:var(--green);font-weight:650}
/* laboratoriya */
#modal .bv-lab{display:grid;grid-template-columns:30px minmax(0,1fr) auto auto;align-items:center;gap:12px;padding:10px 16px;border-top:1px solid var(--hair)}
#modal .bv-labs>.bv-lab:first-child{border-top:0}
#modal .bv-lab-ico{display:grid;place-items:center;width:30px;height:30px;border-radius:9px}
#modal .bv-lab-ico svg{width:15px;height:15px}
#modal .bv-lab.is-ok .bv-lab-ico{background:var(--green-bg);color:var(--green)}
#modal .bv-lab.is-bad .bv-lab-ico{background:var(--red-bg);color:var(--red)}
#modal .bv-lab-t{display:flex;flex-direction:column;gap:1px;min-width:0}
#modal .bv-lab-t b{font-size:13.5px;font-weight:700;color:var(--ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#modal .bv-lab-t small,#modal .bv-lab-v>small{font-size:11.5px;color:var(--muted)}
#modal .bv-lab-v{display:flex;flex-direction:column;align-items:flex-end;gap:1px;font-variant-numeric:tabular-nums}
#modal .bv-lab-v>b{font-size:15px;font-weight:750;color:var(--ink)}
#modal .bv-lab-v>b small{font-size:11.5px;font-weight:600;color:var(--muted)}
#modal .bv-empty{display:flex;align-items:center;justify-content:center;gap:8px;margin:0;padding:18px 16px;font-size:13px;color:var(--muted)}
#modal .bv-empty svg{width:16px;height:16px}
@media (max-width:560px){
 #modal .bv-hero{grid-template-columns:1fr 1fr}
 #modal .bv-stat-main{grid-column:1/-1;flex-direction:row;flex-wrap:wrap;align-items:baseline;column-gap:10px;border-bottom:1px solid var(--hair)}
 #modal .bv-stat-main>span{flex-basis:100%}
 #modal .bv-stat:nth-child(2){border-left:0}
 #modal .bv-stat{padding:11px 13px}
 #modal .bv-stat>strong{font-size:17px}
 #modal .bv-facts{grid-template-columns:minmax(0,1fr);gap:12px}
 #modal .bv-mat{grid-template-columns:26px minmax(0,1fr) auto 52px;gap:8px;padding:8px 12px}
 #modal .bv-mat>.bv-mat-plan,#modal .bv-mat-head>span:nth-child(3){display:none}
 #modal .bv-lab{grid-template-columns:30px minmax(0,1fr) auto;padding:10px 12px}
 #modal .bv-lab>.badge{grid-column:2/-1;justify-self:start}
 #modal .bv-block>header{padding:10px 12px}
}
/* partiya oynasi — telefonda: ma'lumotlar 2 ustunda (ikonkasiz), pastki tugmalar bir qatorda (yopish tepadagi ×) */
@media (max-width:560px){
 #modal .bv-facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 14px;padding:12px 13px}
 #modal .bv-fact{grid-template-columns:minmax(0,1fr)}
 #modal .bv-fact-ico{display:none}
 #modal .bv-fact>:not(.bv-fact-ico){grid-column:1}
 html body #modal#modal#modal[data-variant="batch-detail"] #modalF#modalF{flex-wrap:nowrap!important}
 html body #modal#modal#modal[data-variant="batch-detail"] #modalF#modalF .btn{flex:1 1 0!important;min-width:0!important;justify-content:center}
 html body #modal#modal#modal[data-variant="batch-detail"] #modalF#modalF:has(.btn:not(.btn-p)) .btn-p{display:none!important}
}
/* 2.17.48 — Kassa: Summa sarlavhasi qiymat bilan bir chiziqda, bitta sahifada pastki qator yo'q, xarajatlar tarkibi toza blok */
html body #content#content#content#content#content .cash-v2 .cash-ledger-footer[hidden]{display:none!important}
html body #content#content#content#content#content .cash-v2 .cash-table thead th.num{text-align:right!important}
html body #content#content#content#content#content .cash-v2 .cv-cats{margin:0!important;padding:0!important;border:1px solid var(--surface-contour,var(--hair))!important;border-radius:16px!important;background:var(--solid)!important;box-shadow:0 2px 8px rgba(18,20,26,.04)!important;overflow:hidden}
html body #content#content#content#content#content .cash-v2 .cv-cats>summary{display:flex!important;align-items:center;gap:12px;margin:0!important;padding:12px 16px!important;list-style:none;cursor:pointer;user-select:none;transition:background-color .16s ease}
.cash-v2 .cv-cats>summary::-webkit-details-marker{display:none}
.cash-v2 .cv-cats>summary::marker{content:''}
html body #content#content#content#content#content .cash-v2 .cv-cats>summary:hover{background:rgba(var(--bz-rgb),.04)}
html body #content#content#content#content#content .cash-v2 .cv-cats>summary:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}
.cash-v2 .cv-cats-ico{display:grid;place-items:center;width:36px;height:36px;flex:none;border-radius:10px;background:var(--red-bg);color:var(--red)}
.cash-v2 .cv-cats-ico svg{width:17px;height:17px}
.cash-v2 .cv-cats-t{display:flex;flex-direction:column;gap:1px;flex:1;min-width:0}
.cash-v2 .cv-cats-t b{font-size:15px;font-weight:700;color:var(--ink)}
.cash-v2 .cv-cats-t small{font-size:12px;color:var(--muted)}
.cash-v2 .cv-cats-sum{font-size:16px;font-weight:750;color:var(--ink);font-variant-numeric:tabular-nums;white-space:nowrap}
.cash-v2 .cv-cats-chev{width:16px;height:16px;flex:none;color:var(--muted);transition:transform .22s cubic-bezier(.22,1,.36,1)}
.cash-v2 .cv-cats[open] .cv-cats-chev{transform:rotate(180deg)}
.cash-v2 .cv-cats-list{border-top:1px solid var(--hair)}
.cash-v2 .cv-cat{display:grid;grid-template-columns:minmax(120px,220px) minmax(0,1fr) 44px 130px;align-items:center;gap:14px;padding:10px 16px;border-top:1px solid var(--hair);font-size:13px}
.cash-v2 .cv-cats-list>.cv-cat:first-child{border-top:0}
.cash-v2 .cv-cat-n{font-weight:600;color:var(--ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cash-v2 .cv-cat-bar{height:6px;border-radius:3px;background:var(--field);overflow:hidden}
.cash-v2 .cv-cat-bar>i{display:block;height:100%;border-radius:3px;background:var(--red);opacity:.75}
.cash-v2 .cv-cat-p{text-align:right;font-size:12px;font-weight:600;color:var(--muted);font-variant-numeric:tabular-nums}
.cash-v2 .cv-cat-v{text-align:right;font-weight:700;color:var(--ink);font-variant-numeric:tabular-nums;white-space:nowrap}
.cash-v2 .cv-cats-empty{display:flex;align-items:center;justify-content:center;gap:8px;margin:0;padding:16px;border-top:1px solid var(--hair);font-size:13px;color:var(--muted)}
.cash-v2 .cv-cats-empty svg{width:16px;height:16px}
@media (prefers-reduced-motion:reduce){.cash-v2 .cv-cats-chev{transition:none}}
@media (max-width:760px){
 html body #content#content#content#content#content .cash-v2 .cv-cats>summary{padding:11px 12px!important;gap:10px}
 .cash-v2 .cv-cats-ico{width:32px;height:32px}
 .cash-v2 .cv-cats-sum{font-size:14px}
 .cash-v2 .cv-cat{grid-template-columns:minmax(0,1fr) auto;gap:6px 10px;padding:10px 12px}
 .cash-v2 .cv-cat-bar{grid-column:1/-1;grid-row:2}
 .cash-v2 .cv-cat-p{display:none}
}
/* 2.17.49 — yangilanayotgan ro'yxat darhol xiralashmaydi (filtr almashganda «miltillash» yo'q): faqat yuklash 0,3 s dan cho'zilsa */
#content .is-refreshing{opacity:.7!important;transition:opacity .2s ease .3s!important}
@media (prefers-reduced-motion:reduce){#content .is-refreshing{transition:none!important}}
/* 2.17.50 — keraksiz kartochkalar olib tashlandi: sonlar sarlavha yonida ixcham belgilar, filtr-kartochkalar yorliq-tugmalarga aylandi */
.head-meta{display:inline-flex;align-items:center;flex-wrap:wrap;gap:6px;margin:0 auto 0 4px;min-width:0}
.head-meta .hm{display:inline-flex;align-items:center;gap:4px;height:24px;padding:0 9px;border-radius:999px;background:var(--field);color:var(--muted);font-size:12px;font-weight:600;white-space:nowrap}
.head-meta .hm b{color:var(--ink);font-weight:750;font-variant-numeric:tabular-nums}
.head-meta .hm-ok{background:var(--green-bg);color:var(--green)}
.head-meta .hm-ok b{color:var(--green)}
.head-meta .hm-warn{background:var(--amber-bg,rgba(217,145,0,.12));color:var(--amber,#b7791f)}
.head-meta .hm-warn b{color:var(--amber,#b7791f)}
.head-meta .hm-bad{background:var(--red-bg);color:var(--red)}
.head-meta .hm-bad b{color:var(--red)}
/* sarlavha qatorlarida belgilar nom bilan tugma orasida turadi */
html body #content#content#content#content#content :is(.purchases-heading,.equipment-heading,.alerts-heading,.fleet-panel-head){display:flex!important;align-items:center!important;flex-wrap:wrap;gap:8px 12px!important}
html body #content#content#content#content#content :is(.purchases-heading,.equipment-heading,.alerts-heading,.fleet-panel-head)>.btn{margin-left:auto}
html body #content#content#content#content#content .alerts-heading>#alertsSummary{flex:1;min-width:0}
html body #content#content#content#content#content .alerts-heading>#alertsSummary:empty{display:none}
html body #content#content#content#content#content :is(.purchases-heading,.equipment-heading) h3 .badge,html body #content#content#content#content#content .fleet-panel-head h3 .badge{vertical-align:2px}
/* Mijozlar / Shartnomalar: katta filtr-kartochkalar o'rniga ixcham yorliq-tugmalar */
html:not(.mobile-app) body #content#content#content#content#content .dir-kpis{display:flex!important;flex-wrap:wrap;gap:6px!important;grid-template-columns:none!important;margin:0!important}
html:not(.mobile-app) body #content#content#content#content#content .dir-kpis>.dir-kpi{display:inline-flex!important;align-items:center;gap:8px;width:auto!important;min-width:0!important;height:36px!important;min-height:36px!important;padding:0 6px 0 14px!important;border:1px solid var(--surface-contour,var(--hair))!important;border-radius:999px!important;background:var(--solid)!important;box-shadow:none!important;cursor:pointer;transition:background-color .16s ease,border-color .16s ease,color .16s ease}
html:not(.mobile-app) body #content#content#content#content#content .dir-kpis>.dir-kpi:hover{border-color:rgba(var(--bz-rgb),.4)!important}
html:not(.mobile-app) body #content#content#content#content#content .dir-kpis>.dir-kpi .icd{display:none!important}
html:not(.mobile-app) body #content#content#content#content#content .dir-kpis .dir-kpi-t{display:inline-flex!important;flex-direction:row!important;align-items:center;gap:8px;min-width:0}
html:not(.mobile-app) body #content#content#content#content#content .dir-kpis .dir-kpi-t>span{font-size:13px!important;font-weight:600!important;color:var(--ink)!important;white-space:nowrap}
html:not(.mobile-app) body #content#content#content#content#content .dir-kpis .dir-kpi-t>strong{display:inline-grid;place-items:center;min-width:24px;height:24px;padding:0 7px;border-radius:999px;background:var(--field);color:var(--muted)!important;font-size:12px!important;font-weight:750!important;line-height:1!important;letter-spacing:0!important}
html:not(.mobile-app) body #content#content#content#content#content .dir-kpis .dir-kpi-t>small{display:none!important}
html:not(.mobile-app) body #content#content#content#content#content .dir-kpis>.dir-kpi[data-kpi=debt] .dir-kpi-t>small:not(:empty){display:inline!important;margin:0 4px 0 -2px;font-size:12px!important;font-weight:650;color:var(--red)!important;white-space:nowrap}
html:not(.mobile-app) body #content#content#content#content#content .dir-kpis>.dir-kpi.on{background:var(--accent)!important;border-color:var(--accent)!important}
html:not(.mobile-app) body #content#content#content#content#content .dir-kpis>.dir-kpi.on .dir-kpi-t>span{color:#fff!important}
html:not(.mobile-app) body #content#content#content#content#content .dir-kpis>.dir-kpi.on .dir-kpi-t>strong{background:rgba(255,255,255,.22);color:#fff!important}
html:not(.mobile-app) body #content#content#content#content#content .dir-kpis>.dir-kpi.on .dir-kpi-t>small{color:#fff!important}
html:not(.mobile-app) body #content#content#content#content#content .dir-kpis>.dir-kpi:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
/* oddiy sahifa sarlavhasi (masalan Xarajatlar): asosiy tugma o'ng chetda */
html body #content .page-shell>.ph>.btn:last-child{margin-left:auto}
@media (max-width:760px){
 .head-meta{margin:0;flex-basis:100%;order:3}
 html body #content#content#content#content#content :is(.purchases-heading,.equipment-heading,.fleet-panel-head)>.btn{order:2}
}
/* ombor: 3 ta ko'rsatkich — to'r 3 ustunda, bo'sh katak yo'q */
html:not(.mobile-app) body #content#content#content#content#content .warehouse-kpis{grid-template-columns:repeat(auto-fit,minmax(200px,1fr))!important}
/* 2.17.57 — Ta'minotchi hisobi: olingan / to'langan / qoldiq bir tasmada, muddat, tushuntirish, qoldiqli hisob-kitob varag'i */
#modal .sc{display:flex;flex-direction:column;gap:12px}
#modal .sc-hero{display:grid;grid-template-columns:1fr 1fr 1.3fr;margin:0;border:1px solid var(--surface-contour,var(--hair));border-radius:14px;background:var(--solid);overflow:hidden;box-shadow:0 2px 8px rgba(18,20,26,.04)}
#modal .sc-stat{display:flex;flex-direction:column;gap:2px;min-width:0;padding:13px 16px;border-left:1px solid var(--hair)}
#modal .sc-stat:first-child{border-left:0}
#modal .sc-stat>span{font-size:12px;font-weight:600;color:var(--muted)}
#modal .sc-stat>strong{font-size:20px;font-weight:750;letter-spacing:-.02em;line-height:1.25;color:var(--ink);font-variant-numeric:tabular-nums;white-space:nowrap}
#modal .sc-stat>strong small{font-size:.55em;font-weight:600;color:var(--muted);letter-spacing:0}
#modal .sc-main{background:var(--field)}
#modal .sc-main>strong{font-size:24px}
#modal .is-debt .sc-main{background:var(--red-bg)}
#modal .is-debt .sc-main>span,#modal .is-debt .sc-main>strong{color:var(--red)}
#modal .is-advance .sc-main{background:var(--green-bg)}
#modal .is-advance .sc-main>span,#modal .is-advance .sc-main>strong{color:var(--green)}
#modal .sc-hint{font-size:12px;color:var(--muted)}
#modal .sc-due{display:inline-flex;align-items:center;gap:5px;align-self:flex-start;margin-top:3px;padding:3px 9px;border-radius:999px;background:var(--solid);font-size:12px;font-weight:600;color:var(--ink)}
#modal .sc-due svg{width:13px;height:13px;flex:none}
#modal .sc-due.is-late{color:var(--red)}
#modal .sc-help{display:flex;align-items:flex-start;gap:9px;margin:0;padding:9px 12px;border-radius:10px;background:var(--field);font-size:12.5px;line-height:1.5;color:var(--muted)}
#modal .sc-help svg{width:16px;height:16px;flex:none;margin-top:2px}
#modal .sc-help b{color:var(--ink)}
#modal .sc-wrap{margin:0!important;border:1px solid var(--surface-contour,var(--hair))!important;border-radius:14px!important;overflow:auto;max-height:46vh}
#modal .sc-table{width:100%}
#modal .sc-table thead th{position:sticky;top:0;z-index:1;background:var(--field)}
#modal .sc-table td{vertical-align:middle}
#modal .sc-table td .sub{display:block;font-size:11.5px;color:var(--muted)}
#modal .sc-table .sc-late{color:var(--red);font-weight:600}
#modal .sc-kind{display:inline-flex;align-items:center;gap:6px;font-weight:650;font-size:13px}
#modal .sc-kind svg{width:15px;height:15px;padding:4px;box-sizing:content-box;border-radius:7px}
#modal .sc-in .sc-kind svg{background:var(--amber-bg,rgba(217,145,0,.12));color:var(--amber,#b7791f)}
#modal .sc-out .sc-kind svg{background:var(--green-bg);color:var(--green)}
#modal .sc-what{font-size:13px;color:var(--ink)}
#modal .sc-what b{font-weight:700}
#modal .sc-table .num{font-variant-numeric:tabular-nums;white-space:nowrap}
#modal .sc-bal{font-weight:700;color:var(--ink)}
#modal .sc-empty{display:flex;align-items:center;justify-content:center;gap:8px;margin:0;padding:20px;border:1px dashed var(--hair);border-radius:12px;color:var(--muted);font-size:13px}
#modal .sc-empty svg{width:16px;height:16px}
html body #modal#modal#modal[data-variant="supplier-card"] #modalF .spacer{flex:1}
#modal .sc-pay-hint{margin:-4px 0 4px;font-size:13px;color:var(--muted)}
#modal .sc-pay-hint b{color:var(--ink)}
@media (max-width:640px){
 #modal .sc-hero{grid-template-columns:1fr 1fr}
 #modal .sc-main{grid-column:1/-1;order:-1;border-left:0;border-bottom:1px solid var(--hair)}
 #modal .sc-stat:nth-child(1){border-left:0}
 #modal .sc-stat{padding:11px 13px}
 #modal .sc-stat>strong{font-size:17px}
 #modal .sc-wrap{max-height:none;border:0!important;overflow:visible}
 #modal .sc-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 #modal .sc-table,#modal .sc-table tbody{display:block}
 #modal .sc-table tr{display:grid;grid-template-columns:1fr auto;gap:2px 10px;padding:10px 12px;border:1px solid var(--hair);border-radius:12px;margin-bottom:8px}
 #modal .sc-table td{display:block;padding:0!important;border:0!important;text-align:left}
 #modal .sc-table td:nth-child(1){grid-column:1;order:2}
 #modal .sc-table td:nth-child(2){grid-column:1;order:1}
 #modal .sc-table td:nth-child(3){grid-column:1/-1;order:4}
 #modal .sc-table td:nth-child(4),#modal .sc-table td:nth-child(5){grid-column:2;grid-row:1;text-align:right}
 #modal .sc-table td:nth-child(4):empty,#modal .sc-table td:nth-child(5):empty{display:none}
 #modal .sc-table td.sc-bal{grid-column:2;grid-row:2;text-align:right;font-size:12px;color:var(--muted);font-weight:600}
 #modal .sc-table td.sc-bal::before{content:'qoldiq ';font-weight:500}
}
@media (max-width:560px){html body #modal#modal#modal[data-variant="supplier-card"] #modalF#modalF{flex-wrap:nowrap!important;gap:8px!important}html body #modal#modal#modal[data-variant="supplier-card"] #modalF#modalF>.btn{flex:1 1 0!important;min-width:0!important;justify-content:center}html body #modal#modal#modal[data-variant="supplier-card"] #modalF#modalF>.btn:last-child:not(:first-child){display:none!important}html body #modal#modal#modal[data-variant="supplier-card"] #modalF .spacer{display:none}}
/* 2.17.58 — Ombor → Ta'minotchilar: bitta kartochka, sarlavhada umumiy qarz, qatorda qoldiq / oxirgi harakat / holat */
html body #content#content#content#content#content .sup-v2{display:block!important}
html body #content#content#content#content#content .sup-v2 .sup-pane{border:1px solid var(--surface-contour,var(--hair));border-radius:16px;background:var(--solid);box-shadow:0 2px 8px rgba(18,20,26,.04);overflow:hidden}
html body #content#content#content#content#content .sup-v2 .sup-head{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;padding:14px 16px 4px}
html body #content#content#content#content#content .sup-v2 .sup-head h3{display:flex;align-items:center;gap:8px;margin:0;font-size:16px;font-weight:700}
html body #content#content#content#content#content .sup-v2 .section-toolbar{margin:0!important;padding:10px 16px 12px!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important}
html body #content#content#content#content#content .sup-v2 #crudList>.card{margin:0!important;border:0!important;border-top:1px solid var(--hair)!important;border-radius:0!important;box-shadow:none!important;background:none!important}
html body #content#content#content#content#content .sup-v2 .tbl td{padding:11px 14px!important}
html body #content#content#content#content#content .sup-v2 .tbl tbody tr{cursor:pointer}
.sup-v2 .sup-who{display:flex;align-items:center;gap:11px;min-width:0}
.sup-v2 .sup-who .avatar{display:grid;place-items:center;width:36px;height:36px;flex:none;border-radius:10px;background:rgba(var(--bz-rgb),.12);color:var(--accent-ink);font-size:12.5px;font-weight:750}
.sup-v2 .sup-who>div{display:flex;flex-direction:column;gap:1px;min-width:0}
.sup-v2 .sup-who b{font-size:14px;font-weight:700;color:var(--ink)}
.sup-v2 .sup-who small{font-size:12px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:360px}
.sup-v2 .sup-debt{color:var(--red);font-weight:750;font-variant-numeric:tabular-nums}
.sup-v2 .tbl td .sub{display:block;font-size:11.5px;color:var(--muted)}
.sup-v2 .tbl td.num b{font-variant-numeric:tabular-nums}
@media (max-width:760px){
 html body #content#content#content#content#content .sup-v2 .sup-pane{border:0;background:none;box-shadow:none;overflow:visible}
 html body #content#content#content#content#content .sup-v2 .sup-head{padding:4px 2px 2px}
 html body #content#content#content#content#content .sup-v2 .section-toolbar{padding:8px 0 10px!important}
 html body #content#content#content#content#content .sup-v2 #crudList>.card{border-top:0!important}
 .sup-v2 .sup-who small{max-width:200px}
}
/* ta'minotchilar — telefonda ixcham kartochka: chapda nom/telefon/oxirgi harakat, o'ngda ⋮, qoldiq, holat */
@media (max-width:760px){
 html body #content#content#content#content#content .sup-v2 .tbl tbody{display:grid!important;gap:8px!important;padding:0!important}
 html body #content#content#content#content#content .sup-v2 .tbl tbody tr{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:4px 10px!important;padding:12px!important;border:1px solid var(--surface-contour,var(--hair))!important;border-radius:14px!important;background:var(--solid)!important}
 html body #content#content#content#content#content .sup-v2 .tbl tbody td{display:block!important;padding:0!important;border:0!important;min-height:0!important;height:auto!important;text-align:left!important;width:auto!important}
 html body #content#content#content#content#content .sup-v2 .tbl tbody td::before{display:none!important}
 html body #content#content#content#content#content .sup-v2 .tbl tbody td:nth-child(1){grid-column:1;grid-row:1}
 html body #content#content#content#content#content .sup-v2 .tbl tbody td:nth-child(6){grid-column:2;grid-row:1;justify-self:end;align-self:start}
 html body #content#content#content#content#content .sup-v2 .tbl tbody td:nth-child(2){grid-column:1;grid-row:2;padding-left:47px!important;font-size:13px}
 html body #content#content#content#content#content .sup-v2 .tbl tbody td:nth-child(3){grid-column:2;grid-row:2;text-align:right!important}
 html body #content#content#content#content#content .sup-v2 .tbl tbody td:nth-child(4){grid-column:1;grid-row:3;padding-left:47px!important;font-size:12px;color:var(--muted)}
 html body #content#content#content#content#content .sup-v2 .tbl tbody td:nth-child(5){grid-column:2;grid-row:3;justify-self:end}
 html body #content#content#content#content#content .sup-v2 .tbl tbody td:nth-child(2) .sub,html body #content#content#content#content#content .sup-v2 .tbl tbody td:nth-child(2) small{display:none}
}
/* 2.17.59 — Hisobotlar: ochiq boshqaruv qatori (tur · davr tugmalari · sanalar · chop etish) va tushunarli Foyda va zarar */
html body #content#content#content#content#content .reports-workspace{display:flex!important;flex-direction:column;gap:12px!important}
html body #content#content#content#content#content .reports-workspace>*{margin:0!important}
html body #content#content#content#content#content .reports-workspace .report-controls{display:flex!important;align-items:flex-end!important;flex-wrap:wrap;gap:10px 12px!important;padding:12px 14px!important;border:1px solid var(--surface-contour,var(--hair))!important;border-radius:14px!important;background:var(--solid)!important;box-shadow:0 2px 8px rgba(18,20,26,.04)!important;grid-template-columns:none!important}
html body #content#content#content#content#content .reports-workspace .report-field{display:flex!important;flex-direction:column;gap:4px;margin:0!important;min-width:0}
html body #content#content#content#content#content .reports-workspace .report-field>label,html body #content#content#content#content#content .reports-workspace .report-field>span{font-size:11.5px!important;font-weight:600;color:var(--muted)}
html body #content#content#content#content#content .reports-workspace .report-type{flex:0 1 260px}
html body #content#content#content#content#content .reports-workspace .report-type select{width:100%!important}
html body #content#content#content#content#content .reports-workspace .report-period .row{display:flex!important;align-items:center;gap:6px!important;flex-wrap:nowrap!important}
html body #content#content#content#content#content .reports-workspace .report-period input{width:150px!important;font-variant-numeric:tabular-nums}
html body #content#content#content#content#content .reports-workspace .report-presets{display:inline-flex!important;gap:2px!important;padding:3px!important;border-radius:10px;background:rgba(var(--bz-rgb),.07);align-self:flex-end}
html body #content#content#content#content#content .reports-workspace .report-presets .btn{height:30px!important;min-height:30px!important;padding:0 11px!important;border:0!important;border-radius:8px!important;background:transparent!important;box-shadow:none!important;color:var(--muted)!important;font-size:12.5px!important;font-weight:600!important}
html body #content#content#content#content#content .reports-workspace .report-presets .btn.on{background:var(--solid)!important;color:var(--accent-ink)!important;box-shadow:0 1px 2px rgba(0,0,0,.08)!important}
html body #content#content#content#content#content .reports-workspace #rPrint{margin-left:auto}
html body #content#content#content#content#content .reports-workspace .report-context{display:none!important}
/* Foyda va zarar */
.rp{display:flex;flex-direction:column;gap:12px}
.rp-warn{display:flex;align-items:flex-start;gap:10px;padding:11px 14px;border-radius:12px;background:var(--amber-bg,rgba(217,145,0,.12));color:var(--amber,#b7791f)}
.rp-warn>svg{width:18px;height:18px;flex:none;margin-top:1px}
.rp-warn b{display:block;font-size:13.5px;color:var(--amber,#b7791f)}
.rp-warn span{font-size:12.5px;line-height:1.5;color:var(--ink)}
.rp-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.rp-kpi{display:flex;flex-direction:column;gap:2px;min-width:0;padding:13px 16px;border:1px solid var(--surface-contour,var(--hair));border-radius:14px;background:var(--solid);box-shadow:0 2px 8px rgba(18,20,26,.04)}
.rp-kpi>span{font-size:12.5px;font-weight:600;color:var(--muted)}
.rp-kpi>strong{font-size:24px;font-weight:750;letter-spacing:-.02em;line-height:1.2;color:var(--ink);font-variant-numeric:tabular-nums;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rp-kpi>strong small{font-size:.5em;font-weight:600;color:var(--muted);letter-spacing:0}
.rp-kpi>small{font-size:12px;color:var(--muted)}
.rp-kpi.pos>strong{color:var(--green)}
.rp-kpi.neg>strong{color:var(--red)}
.rp-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:12px;align-items:start}
.rp-panel{border:1px solid var(--surface-contour,var(--hair));border-radius:14px;background:var(--solid);box-shadow:0 2px 8px rgba(18,20,26,.04);overflow:hidden}
.rp-panel>header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 16px;border-bottom:1px solid var(--hair)}
.rp-panel>header h3{display:flex;align-items:center;gap:8px;margin:0;font-size:14.5px;font-weight:700}
.rp-panel>header h3 svg{width:26px;height:26px;padding:5px;box-sizing:border-box;border-radius:8px;background:rgba(var(--bz-rgb),.1);color:var(--accent-ink)}
.rp-panel>header>span{font-size:12px;color:var(--muted)}
.rp-line{display:grid;grid-template-columns:22px minmax(0,1fr) auto 46px;align-items:center;gap:10px;padding:10px 16px;border-top:1px solid var(--hair)}
.rp-panel>header+.rp-line{border-top:0}
.rp-line>i{font-style:normal;font-size:16px;font-weight:700;color:var(--muted);text-align:center}
.rp-line>span{display:flex;flex-direction:column;gap:1px;min-width:0;font-size:13.5px;font-weight:600;color:var(--ink)}
.rp-line>span small{display:flex;align-items:center;gap:4px;font-size:12px;font-weight:500;color:var(--muted);overflow:hidden;text-overflow:ellipsis}
.rp-line>span small svg{width:13px;height:13px;flex:none}
.rp-line>b{font-size:14.5px;font-weight:700;color:var(--ink);font-variant-numeric:tabular-nums;white-space:nowrap;text-align:right}
.rp-line>em{font-style:normal;font-size:12px;font-weight:600;color:var(--muted);text-align:right;font-variant-numeric:tabular-nums}
.rp-line.is-warn>span small,.rp-line.is-warn>b{color:var(--amber,#b7791f)}
.rp-line.is-sub{background:var(--field)}
.rp-line.is-total{background:var(--field)}
.rp-line.is-total>span{font-size:14.5px;font-weight:750}
.rp-line.is-total>b{font-size:17px;font-weight:800}
.rp-line.is-total.pos>b{color:var(--green)}
.rp-line.is-total.neg>b{color:var(--red)}
.rp-line .pos,.rp-line.is-in>b{color:var(--green)}
.rp-hint{display:flex;align-items:flex-start;gap:8px;margin:0;padding:10px 16px;border-top:1px solid var(--hair);font-size:12px;line-height:1.5;color:var(--muted)}
.rp-hint svg{width:14px;height:14px;flex:none;margin-top:2px}
.rp-months .rp-month{display:grid;grid-template-columns:120px minmax(0,1fr) 130px;align-items:center;gap:12px;padding:9px 16px;border-top:1px solid var(--hair);font-size:13px}
.rp-months header+.rp-month{border-top:0}
.rp-month b{text-align:right;font-variant-numeric:tabular-nums}
.rp-note{border:1px solid var(--hair);border-radius:12px;background:var(--solid)}
.rp-note>summary{display:flex;align-items:center;gap:8px;padding:10px 14px;font-size:12.5px;font-weight:600;color:var(--muted);cursor:pointer;list-style:none}
.rp-note>summary::-webkit-details-marker{display:none}
.rp-note>summary svg{width:15px;height:15px}
.rp-note>p{margin:0;padding:0 14px 12px 37px;font-size:12.5px;line-height:1.55;color:var(--muted)}
@media (max-width:1100px){.rp-grid{grid-template-columns:minmax(0,1fr)}}
@media (max-width:760px){
 html body #content#content#content#content#content .reports-workspace .report-type{flex:1 1 100%}
 html body #content#content#content#content#content .reports-workspace .report-period{flex:1 1 100%}
 html body #content#content#content#content#content .reports-workspace .report-period input{width:auto!important;flex:1;min-width:0}
 html body #content#content#content#content#content .reports-workspace .report-presets{flex:1 1 auto}
 html body #content#content#content#content#content .reports-workspace .report-presets .btn{flex:1}
 .rp-kpis{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
 .rp-kpis>.rp-kpi:first-child{grid-column:1/-1}
 .rp-kpi{padding:11px 13px}.rp-kpi>strong{font-size:19px}
 .rp-line{grid-template-columns:18px minmax(0,1fr) auto;padding:9px 12px;gap:8px}
 .rp-line>em{display:none}
 .rp-months .rp-month{grid-template-columns:90px minmax(0,1fr) auto;padding:9px 12px}
}
html body #content#content#content#content#content .reports-workspace .report-presets .btn svg{display:none!important}
.rp-line.neg>b{color:var(--red)}
/* 2.17.60 — Oylik hisoblash: ishchi stavkasi va ogohlantirish tanlov ostida, nol qatorlarsiz natija, to'g'ri strelka */
#modal .salary-context-note{display:flex;flex-direction:column;gap:8px;margin-top:4px}
#modal .salary-context-note:empty{display:none}
#modal .salary-context-note>p{margin:0}
#modal .salary-emp{display:flex;align-items:center;gap:8px;padding:8px 11px;border-radius:10px;background:var(--field);font-size:12.5px;color:var(--muted)}
#modal .salary-emp svg{width:15px;height:15px;flex:none;color:var(--accent-ink)}
#modal .salary-emp b{color:var(--ink);font-weight:700}
#modal .salary-warn{display:flex;flex-direction:column;gap:2px;margin:0;padding:10px 12px;border-radius:10px;background:var(--amber-bg,rgba(217,145,0,.12));font-size:12.5px;line-height:1.5;color:var(--ink)}
#modal .salary-warn b{font-size:13.5px;color:var(--amber,#b7791f)}
#modal .salary-nopay{margin:0;padding:10px 0 2px;font-size:12px;color:var(--muted)}
/* «⌄» belgisi ba'zi shriftlarda «v» harfi bo'lib ko'rinardi — chiziqli strelka */
#modal .salary-history summary:after{content:''!important;width:7px;height:7px;margin:0 4px 3px 2px;border-right:1.8px solid var(--muted);border-bottom:1.8px solid var(--muted);transform:rotate(45deg);transition:transform .2s ease;font-size:0}
#modal .salary-history details[open] summary:after{content:''!important;transform:rotate(-135deg);margin-bottom:-3px}
@media (min-width:761px){html body #modal#modal#modal[data-variant="salary-calculation"] #modalF .salary-footer-total{visibility:hidden}}
/* 2.17.60 — buyurtma sahifasi: 3 bosqich (Buyurtma → Yetkazish → To'lov), bo'sh panellar cho'zilmaydi */
html body #content#content#content#content#content .ov .ov-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;counter-reset:none}
html body #content#content#content#content#content .ov .ov-step{position:relative;display:flex;flex-direction:column;gap:4px;min-width:0;padding:14px 16px;border:1px solid var(--surface-contour,var(--hair));border-radius:16px;background:var(--solid);box-shadow:0 2px 8px rgba(18,20,26,.04)}
html body #content#content#content#content#content .ov .ov-step>header{display:flex;align-items:center;gap:9px;margin-bottom:2px}
html body #content#content#content#content#content .ov .ov-step>header>i{display:grid;place-items:center;width:26px;height:26px;flex:none;border-radius:50%;background:var(--field);color:var(--muted);font-style:normal;font-size:12.5px;font-weight:800}
html body #content#content#content#content#content .ov .ov-step>header>i svg{width:14px;height:14px}
html body #content#content#content#content#content .ov .ov-step>header>span{font-size:13px;font-weight:700;color:var(--muted);text-transform:none}
html body #content#content#content#content#content .ov .ov-step>b{font-size:22px;font-weight:750;letter-spacing:-.02em;line-height:1.2;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-variant-numeric:tabular-nums}
html body #content#content#content#content#content .ov .ov-step>b em{font-style:normal;font-size:13px;font-weight:600;color:var(--muted);letter-spacing:0}
html body #content#content#content#content#content .ov .ov-step .prg{height:6px!important;margin:4px 0 2px!important;border-radius:3px;background:var(--hair)!important;overflow:hidden}
html body #content#content#content#content#content .ov .ov-step .prg>i{display:block;height:100%;border-radius:3px;background:var(--accent)!important}
html body #content#content#content#content#content .ov .ov-step>small{font-size:12.5px;color:var(--muted);line-height:1.45}
html body #content#content#content#content#content .ov .ov-step>small .neg{color:var(--red);font-weight:650}
html body #content#content#content#content#content .ov .ov-step>small .pos{color:var(--green);font-weight:650}
html body #content#content#content#content#content .ov .ov-step>small .warn{color:var(--amber,#b7791f);font-weight:650}
html body #content#content#content#content#content .ov .ov-step.is-now{border-color:rgba(var(--bz-rgb),.45)!important;box-shadow:0 0 0 3px rgba(var(--bz-rgb),.08)!important}
html body #content#content#content#content#content .ov .ov-step.is-now>header>i{background:var(--accent);color:#fff}
html body #content#content#content#content#content .ov .ov-step.is-now>header>span{color:var(--accent-ink)}
html body #content#content#content#content#content .ov .ov-step.is-done>header>i{background:var(--green-bg);color:var(--green)}
html body #content#content#content#content#content .ov .ov-step.is-done .prg>i{background:var(--green)!important}
html body #content#content#content#content#content .ov .ov-step.is-off{opacity:.6}
/* bo'sh To'lovlar paneli mahsulotlar balandligiga cho'zilmasin; bo'sh holatlar ixcham */
html body #content#content#content#content#content .ov .ov-grid{align-items:start!important}
html body #content#content#content#content#content .ov .ov-empty{padding:16px!important}
@media (max-width:900px){html body #content#content#content#content#content .ov .ov-steps{grid-template-columns:minmax(0,1fr)}html body #content#content#content#content#content .ov .ov-step{padding:12px 14px}html body #content#content#content#content#content .ov .ov-step>b{font-size:19px}}
/* 2.17.61 — Buyurtma sahifasi: tugmalar ilovadagi standart o'lchamda (--control-height / 13px), bitta joriy bosqich, birliklar kichik, ustunlar bosqichlar bilan tekis */
html body #content#content#content#content#content .ov .ov-acts .btn,html body #content#content#content#content#content .ov .ov-empty .btn{height:var(--control-height,36px)!important;min-height:var(--control-height,36px)!important;padding:0 14px!important;gap:7px!important;border-radius:9px!important;font-size:13px!important;line-height:1!important}
html body #content#content#content#content#content .ov .ov-acts .btn svg,html body #content#content#content#content#content .ov .ov-empty .btn svg{width:16px!important;height:16px!important}
html body #content#content#content#content#content .ov .ov-empty .btn{border:0!important;box-shadow:none!important;background:color-mix(in srgb,var(--accent) 13%,var(--solid))!important;color:var(--accent-ink)!important}
html body #content#content#content#content#content .ov .ov-step>b small{font-size:13px;font-weight:600;color:var(--muted);letter-spacing:0}
@media (min-width:1101px){html body #content#content#content#content#content .ov .ov-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}html body #content#content#content#content#content .ov .ov-grid>:first-child{grid-column:span 2}}
/* 2.17.61 — Transport doskasi: ixcham mixer kartalari, navbat va reyslar qatorlarda, barcha tugmalar bir o'lchamda */
#content .tb2{display:flex;flex-direction:column;gap:14px}
#content .tb2 .tb-panel{border:1px solid var(--surface-contour,var(--hair));border-radius:16px;background:var(--solid);box-shadow:0 2px 8px rgba(18,20,26,.04);overflow:hidden}
#content .tb2 .tb-head{display:flex;align-items:center;justify-content:space-between;gap:10px 14px;flex-wrap:wrap;padding:13px 16px;border-bottom:1px solid var(--hair)}
#content .tb2 .tb-head>div{display:flex;align-items:center;flex-wrap:wrap;gap:6px 12px;min-width:0}
html body #content .tb2 .tb-head h3{display:flex;align-items:center;gap:8px;margin:0!important;font-size:15.5px!important;font-weight:700}
#content .tb2 .tb-head h3 em{font-style:normal;min-width:22px;padding:1px 7px;border-radius:999px;background:rgba(var(--bz-rgb),.1);color:var(--accent-ink);font-size:12px;font-weight:700;text-align:center}
#content .tb2 .tb-sub{font-size:12.5px;color:var(--muted)}
html body #content#content#content#content#content .tb2 .btn.btn{height:var(--control-height,36px)!important;min-height:var(--control-height,36px)!important;padding:0 13px!important;gap:6px!important;border-radius:9px!important;font-size:13px!important;line-height:1!important;white-space:nowrap}
html body #content#content#content#content#content .tb2 .btn svg{width:16px!important;height:16px!important}
html body #content#content#content#content#content .tb2 .btn.ok-g{background:var(--green-bg)!important;color:var(--green)!important;border-color:transparent!important;box-shadow:none!important}
#content .tb2 .tb-mixers{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:12px;padding:14px 16px 16px}
#content .tb2 .tb-mx{display:flex;flex-direction:column;gap:10px;min-width:0;padding:13px 14px;border:1px solid var(--hair);border-radius:14px;background:var(--solid)}
#content .tb2 .tb-mx.is-busy{border-color:rgba(var(--bz-rgb),.3);background:color-mix(in srgb,var(--accent) 3%,var(--solid))}
#content .tb2 .tb-mx.is-repair{border-color:color-mix(in srgb,var(--red) 30%,transparent)}
#content .tb2 .tb-mx-top{display:flex;align-items:center;gap:11px;min-width:0}
#content .tb2 .tb-mx-ico{display:grid;place-items:center;width:38px;height:38px;flex:none;border-radius:11px;background:var(--field);color:var(--muted)}
#content .tb2 .is-free .tb-mx-ico{background:var(--green-bg);color:var(--green)}
#content .tb2 .is-busy .tb-mx-ico{background:rgba(var(--bz-rgb),.12);color:var(--accent-ink)}
#content .tb2 .is-repair .tb-mx-ico{background:var(--red-bg);color:var(--red)}
#content .tb2 .tb-mx-ico svg{width:20px;height:20px}
#content .tb2 .tb-mx-id{display:flex;flex-direction:column;gap:1px;flex:1;min-width:0}
#content .tb2 .tb-mx-id b{font-size:16px;font-weight:750;letter-spacing:-.01em;color:var(--ink)}
#content .tb2 .tb-mx-id small{font-size:12px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#content .tb2 .tb-mx-driver{display:flex;align-items:center;gap:7px;font-size:13px;font-weight:600;color:var(--ink)}
#content .tb2 .tb-mx-driver svg{width:15px;height:15px;color:var(--muted);flex:none}
#content .tb2 .tb-mx-driver.is-none{color:var(--muted);font-weight:500}
#content .tb2 .tb-mx-trip{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 11px;border-radius:10px;background:var(--field)}
#content .tb2 .tb-mx-trip>div{display:flex;flex-direction:column;gap:1px;min-width:0}
#content .tb2 .tb-mx-trip b{font-size:13px}
#content .tb2 .tb-mx-trip span{font-size:12px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#content .tb2 .tb-mx-trip strong{font-size:15px;font-weight:750;color:var(--accent-ink);white-space:nowrap}
#content .tb2 .tb-acts{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
#content .tb2 .tb-mx .tb-acts{margin-top:auto}
#content .tb2 .tb-cols{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);gap:14px;align-items:start}
#content .tb2 .tb-row{display:grid;align-items:center;gap:12px;padding:11px 16px;border-top:1px solid var(--hair)}
#content .tb2 .tb-list>.tb-row:first-child{border-top:0}
#content .tb2 .tb-q{grid-template-columns:minmax(0,1fr) auto 76px auto}
#content .tb2 .tb-t{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 56px 92px auto}
#content .tb2 .tb-cell-main,#content .tb2 .tb-cell-who{display:flex;flex-wrap:wrap;align-items:center;gap:2px 8px;min-width:0}
#content .tb2 .tb-cell-main small,#content .tb2 .tb-cell-who small{flex-basis:100%;font-size:12px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#content .tb2 .tb-cell-main b,#content .tb2 .tb-cell-who b{font-size:13.5px;font-weight:700}
#content .tb2 .tb-time{display:inline-flex;align-items:center;gap:3px;padding:1px 7px;border-radius:6px;background:var(--field);font-size:11.5px;font-weight:600;color:var(--ink)}
#content .tb2 .tb-time svg{width:12px;height:12px}
#content .tb2 .tb-mark{padding:3px 8px;border-radius:7px;background:rgba(var(--bz-rgb),.08);color:var(--accent-ink);font-size:12px;font-weight:700}
#content .tb2 .tb-qty{display:flex;flex-direction:column;align-items:flex-end;text-align:right}
#content .tb2 .tb-qty b{font-size:14px;font-weight:750;font-variant-numeric:tabular-nums;white-space:nowrap}
#content .tb2 .tb-qty small{font-size:11.5px;color:var(--muted);white-space:nowrap}
#content .tb2 .tb-row .tb-acts{justify-content:flex-end;flex-wrap:nowrap}
#content .tb2 .tb-empty{display:flex;align-items:center;justify-content:center;gap:12px;padding:26px 16px;color:var(--muted)}
#content .tb2 .tb-empty>svg{width:38px;height:38px;padding:9px;box-sizing:border-box;border-radius:12px;background:var(--field);flex:none}
#content .tb2 .tb-empty div{display:flex;flex-direction:column;gap:2px}
#content .tb2 .tb-empty b{font-size:13.5px;color:var(--ink)}
#content .tb2 .tb-empty span{font-size:12.5px}
#content .tb2 .tb-pad{display:flex;align-items:center;justify-content:center;gap:16px;flex-wrap:wrap;padding:8px 16px 16px}
@media (max-width:1180px){#content .tb2 .tb-cols{grid-template-columns:minmax(0,1fr)}}
@media (max-width:640px){
 #content .tb2{gap:12px}
 #content .tb2 .tb-head{padding:12px 14px}
 #content .tb2 .tb-mixers{grid-template-columns:minmax(0,1fr);padding:12px 14px 14px;gap:10px}
 #content .tb2 .tb-acts .btn{flex:1 1 0;justify-content:center}
 #content .tb2 .tb-row{padding:12px 14px;gap:8px 10px}
 #content .tb2 .tb-q{grid-template-columns:minmax(0,1fr) auto}
 #content .tb2 .tb-q .tb-mark{grid-row:1;grid-column:2;justify-self:end}
 #content .tb2 .tb-q .tb-qty{grid-row:2;grid-column:1;flex-direction:row;align-items:baseline;gap:6px}
 #content .tb2 .tb-q .tb-acts{grid-row:2;grid-column:2}
 #content .tb2 .tb-t{grid-template-columns:minmax(0,1fr) auto}
 #content .tb2 .tb-t .tb-cell-main{grid-column:1}
 #content .tb2 .tb-t .tb-st{grid-row:1;grid-column:2;justify-self:end}
 #content .tb2 .tb-t .tb-cell-who{grid-column:1}
 #content .tb2 .tb-t .tb-qty{grid-row:2;grid-column:2}
 #content .tb2 .tb-t .tb-acts{grid-column:1/-1}
 #content .tb2 .tb-t .tb-acts:empty{display:none}
}
/* 2.17.63 — Mijoz kartasi: rekvizitlar bitta sarlavhada, hisob tasmasi (savdo − to'lovlar = qarz), jadvallarda jami va to'g'ri tekislangan ustunlar */
#content .cc{display:flex;flex-direction:column;gap:12px;margin-bottom:14px}
#content .cc-head{padding:16px 18px;border:1px solid var(--surface-contour,var(--hair));border-radius:16px;background:var(--solid);box-shadow:0 2px 8px rgba(18,20,26,.04)}
#content .cc-top{display:flex;align-items:center;justify-content:space-between;gap:12px 16px;flex-wrap:wrap}
#content .cc-who{display:flex;align-items:center;gap:13px;min-width:0}
#content .cc-av{width:46px!important;height:46px!important;flex:none;font-size:15px!important;border-radius:13px!important}
#content .cc-id{min-width:0}
html body #content .cc-id h2{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0!important;font-size:21px!important;font-weight:750;letter-spacing:-.02em;line-height:1.2}
#content .cc-id p{margin:2px 0 0;font-size:12.5px;color:var(--muted)}
#content .cc-acts{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
html body #content#content#content#content#content .cc-acts .btn.btn{height:var(--control-height,36px)!important;min-height:var(--control-height,36px)!important;padding:0 13px!important;gap:6px!important;border-radius:9px!important;font-size:13px!important}
html body #content#content#content#content#content .cc-acts .btn svg{width:16px!important;height:16px!important}
#content .cc-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin-top:14px;padding-top:12px;border-top:1px solid var(--hair)}
#content .cc-fact{display:grid;grid-template-columns:34px minmax(0,1fr);column-gap:10px;align-items:center;min-width:0;padding:2px 14px;border-left:1px solid var(--hair)}
#content .cc-fact:first-child{padding-left:0;border-left:0}
#content .cc-fact>i{grid-row:1/3;display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:var(--field);color:var(--muted)}
#content .cc-fact>i svg{width:16px;height:16px}
#content .cc-fact>span{font-size:11.5px;font-weight:600;color:var(--muted)}
#content .cc-fact>b{min-width:0;font-size:13.5px;font-weight:650;color:var(--ink);overflow-wrap:anywhere}
#content .cc-fact>b small{display:block;font-size:11.5px;font-weight:500;color:var(--muted)}
#content .cc-fact a{color:var(--accent-ink);text-decoration:none}
#content .cc-muted{color:var(--muted);font-weight:500}
#content .cc-notes{display:flex;align-items:flex-start;gap:8px;margin:12px 0 0;padding:9px 12px;border-radius:10px;background:var(--field);font-size:12.5px;color:var(--muted)}
#content .cc-notes svg{width:14px;height:14px;flex:none;margin-top:2px}
#content .cc-sum{display:flex;align-items:stretch;border:1px solid var(--surface-contour,var(--hair));border-radius:16px;background:var(--solid);box-shadow:0 2px 8px rgba(18,20,26,.04);overflow:hidden}
#content .cc-s{display:flex;flex-direction:column;gap:2px;flex:1 1 0;min-width:0;padding:13px 18px}
#content .cc-s>span{font-size:12.5px;font-weight:600;color:var(--muted)}
#content .cc-s>strong{font-size:22px;font-weight:750;letter-spacing:-.02em;line-height:1.25;color:var(--ink);font-variant-numeric:tabular-nums;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#content .cc-s>strong small{font-size:.55em;font-weight:600;color:var(--muted);letter-spacing:0}
#content .cc-s>small{font-size:12px;color:var(--muted)}
#content .cc-op{display:grid;place-items:center;flex:none;width:26px;font-style:normal;font-size:19px;font-weight:600;color:var(--muted);opacity:.7}
#content .cc-main{flex:1.3 1 0;background:var(--field);border-left:1px solid var(--hair)}
#content .cc-sum.is-debt .cc-main{background:var(--red-bg)}
#content .cc-sum.is-debt .cc-main>span,#content .cc-sum.is-debt .cc-main>strong{color:var(--red)}
#content .cc-sum.is-adv .cc-main{background:var(--green-bg)}
#content .cc-sum.is-adv .cc-main>span,#content .cc-sum.is-adv .cc-main>strong{color:var(--green)}
#content .cc-sum .cc-main>strong small{color:inherit;opacity:.75}
#content .cc-late{display:inline-block;margin-left:6px;padding:1px 7px;border-radius:999px;background:var(--red-bg);color:var(--red);font-style:normal;font-size:11.5px;font-weight:650}
#content .cc-main .cc-late{margin-left:0;background:var(--solid)}
#content .cc-paid{font-size:12px;font-weight:600;color:var(--green)}
html body #content .page-mijozlar #ccBody .tbl thead th:last-child:not(.num),html body #content #ccBody .tbl thead th:last-child:not(.num){text-align:left!important}
#content #ccBody .tbl tfoot td{font-weight:700;background:var(--field);border-top:1px solid var(--hair)}
#content #ccBody .empty span{display:block;margin-top:4px;font-size:12.5px;color:var(--muted)}
html body #content #ccBody .cc-note{margin:0 0 10px!important;padding:9px 12px!important;border:0!important;border-radius:10px!important;background:var(--field)!important;font-size:12.5px!important;color:var(--muted)!important}
@media (max-width:1100px){#content .cc-facts{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:12px}#content .cc-fact:nth-child(3){padding-left:0;border-left:0}}
@media (max-width:760px){
 #content .cc-head{padding:14px}
 html body #content .cc-id h2{font-size:18px!important}
 #content .cc-acts{width:100%}
 #content .cc-acts .btn{flex:1 1 auto;justify-content:center}
 #content .cc-facts{grid-template-columns:minmax(0,1fr)}
 #content .cc-fact{padding:0;border-left:0}
 #content .cc-sum{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
 #content .cc-op{display:none}
 #content .cc-s{padding:11px 13px}
 #content .cc-s>strong{font-size:17px}
 #content .cc-main{grid-column:1/-1;order:-1;border-left:0;border-bottom:1px solid var(--hair)}
 #content .cc-main>strong{font-size:22px}
}
/* yuqori paneldagi «Ro'yxat» kabi qaytish tugmalari hamma sahifada bir xil ko'rinishda */
html body #app .topbar #topActions .btn.btn-g{border-color:transparent!important;background:var(--field)!important;color:var(--ink)!important;box-shadow:none!important}
/* 2.17.64 — Mijozlar ro'yxati: bitta panel, sarlavhada son va jami qarz, bo'limlar segment tugmalarda */
html body #content .cl-v2 .cl-pane{padding:0!important;overflow:hidden;border-radius:16px!important}
#content .cl-v2 .cl-head{display:flex;align-items:center;justify-content:space-between;gap:10px 14px;flex-wrap:wrap;padding:14px 16px 0}
#content .cl-v2 .cl-head>div{display:flex;align-items:center;flex-wrap:wrap;gap:6px 12px;min-width:0}
html body #content .cl-v2 .cl-head h3{display:flex;align-items:center;gap:8px;margin:0!important;font-size:16px!important;font-weight:700}
#content .cl-v2 .cl-head h3 svg{width:28px;height:28px;padding:6px;box-sizing:border-box;border-radius:9px;background:rgba(var(--bz-rgb),.1);color:var(--accent-ink)}
html body #content#content#content#content#content .cl-v2 .cl-head .btn.btn{height:var(--control-height,36px)!important;min-height:var(--control-height,36px)!important;padding:0 14px!important;border-radius:9px!important;font-size:13px!important}
#content .cl-v2 .cl-segs{display:flex;gap:3px;width:max-content;max-width:calc(100% - 32px);margin:12px 16px 0;padding:3px;border-radius:11px;background:var(--field);overflow-x:auto;scrollbar-width:none}
#content .cl-v2 .cl-seg{display:inline-flex;align-items:center;gap:7px;height:32px;padding:0 12px;border:0;border-radius:8px;background:transparent;color:var(--muted);font:inherit;font-size:13px;font-weight:650;cursor:pointer;white-space:nowrap;transition:background .15s,color .15s}
#content .cl-v2 .cl-seg:hover{color:var(--ink)}
#content .cl-v2 .cl-seg b{min-width:20px;padding:1px 6px;border-radius:999px;background:color-mix(in srgb,currentColor 12%,transparent);font-size:11.5px;font-weight:700;text-align:center}
#content .cl-v2 .cl-seg.on{background:var(--solid);color:var(--accent-ink);box-shadow:0 1px 3px rgba(0,0,0,.08)}
#content .cl-v2 .cl-zero{font-size:12px;color:var(--muted)}
#content .cl-v2 .tbl tbody tr{cursor:pointer}
html body #content .cl-v2 [hidden]{display:none!important}
#content .cl-v2 .dir-empty{padding-top:34px;padding-bottom:38px}
@media (max-width:760px){
 #content .cl-v2 .cl-head{padding:12px 14px 0}
 #content .cl-v2 .cl-head .btn{flex:1 1 100%;justify-content:center}
 #content .cl-v2 .cl-segs{width:auto;max-width:none;margin:10px 14px 0}
 #content .cl-v2 .cl-seg{flex:1 0 auto;justify-content:center}
}
/* 2.17.67 — Transport: reyslar tarixi (bo'limlar, filtr, jami), mixerlar va haydovchilar bitta panelda */
#content .dir-trips .tr-mark{padding:2px 8px;border-radius:7px;background:rgba(var(--bz-rgb),.08);color:var(--accent-ink);font-size:12px;font-weight:700}
#content .dir-trips tr.is-void td{opacity:.6}
#content .dir-trips .tbl tfoot td{font-weight:700;background:var(--field);border-top:1px solid var(--hair)}
#content .tp-v2 .tp-ico{display:grid!important;place-items:center;border-radius:10px!important;background:var(--field)!important;color:var(--muted)!important}
#content .tp-v2 .tp-ico svg{width:19px;height:19px}
#content .tp-v2 .tp-free{background:var(--green-bg)!important;color:var(--green)!important}
#content .tp-v2 .tp-busy{background:rgba(var(--bz-rgb),.12)!important;color:var(--accent-ink)!important}
#content .tp-v2 .tp-repair{background:var(--red-bg)!important;color:var(--red)!important}
#content .tp-v2 .sub-inline{font-size:12px;color:var(--muted)}
html body #content .tp-v2 .sup-head{display:flex;align-items:center;flex-wrap:wrap;gap:6px 12px}
/* 2.17.68 — Xarajatlar ro'yxati (bitta panel) */
#content .cl-v2 .cl-help{margin:6px 16px 0;font-size:12.5px;color:var(--muted)}
#content .cl-v2 tr.is-void td{opacity:.6}
#content .cl-v2 .tbl tfoot td{font-weight:700;background:var(--field);border-top:1px solid var(--hair)}
#content .dir-expenses .actions{justify-content:flex-end}
#content .equipment-workspace .tbl thead th{white-space:nowrap}
html body #content .equipment-workspace #equipmentCount[hidden]{display:none!important}
#content .payroll-missing{display:inline-block;padding:2px 8px;border-radius:999px;background:var(--amber-bg,rgba(217,145,0,.12));color:var(--amber,#b7791f);font-size:12px;font-weight:650}
/* 2.17.68 — Ombor: Qoldiq, Harakatlar, Ta'minotchilar bitta panelli ro'yxatda */
#content .cl-v2 .cl-acts{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
html body #content#content#content#content#content .cl-v2 .cl-acts .btn.btn{height:var(--control-height,36px)!important;min-height:var(--control-height,36px)!important;padding:0 14px!important;border-radius:9px!important;font-size:13px!important}
#content .wh-stock .warehouse-stock{display:inline-flex;flex-direction:column;align-items:flex-end;gap:3px;min-width:120px}
#content .wh-stock .warehouse-stock-bar{width:100%;height:5px;border-radius:3px;background:var(--hair);overflow:hidden}
#content .wh-stock .warehouse-stock-bar i{display:block;height:100%;border-radius:3px;background:var(--green)}
#content .wh-stock .warehouse-stock.is-low .warehouse-stock-bar i{background:var(--amber,#b7791f)}
#content .wh-stock .warehouse-stock.is-low small{color:var(--amber,#b7791f)}
#content .wh-stock .warehouse-stock.is-empty small{color:var(--red)}
#content .wh-stock .warehouse-stock small{font-size:11.5px;color:var(--muted)}
#content .wh-mv{display:flex;align-items:center;gap:10px;min-width:0}
#content .wh-mv>span{display:flex;flex-direction:column;min-width:0}
#content .wh-mv small{font-size:12px;color:var(--muted)}
#content .wh-mv-ico{display:grid;place-items:center;width:30px;height:30px;flex:none;border-radius:9px;font-style:normal}
#content .wh-mv-ico svg{width:15px;height:15px}
#content .wh-mv-ico.is-in{background:var(--green-bg);color:var(--green)}
#content .wh-mv-ico.is-out{background:var(--amber-bg,rgba(217,145,0,.12));color:var(--amber,#b7791f)}
#content .wh-sup .sup-who{display:flex;align-items:center;gap:11px;min-width:0}
#content .wh-sup .sup-who .avatar{display:grid;place-items:center;width:36px;height:36px;flex:none;border-radius:10px;background:rgba(var(--bz-rgb),.12);color:var(--accent-ink);font-size:12.5px;font-weight:750}
#content .wh-sup .sup-who>div{display:flex;flex-direction:column;gap:1px;min-width:0}
#content .wh-sup .sup-who small{font-size:12px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:380px}
#content .wh-sup .sup-debt{color:var(--red);font-weight:750}
@media (max-width:760px){#content .cl-v2 .cl-acts{width:100%}#content .cl-v2 .cl-acts .btn{flex:1 1 0;justify-content:center}
 /* telefonda karta ikki ustunli, lekin ekrandan chiqmaydi; birinchi katak (nomi) to'liq kenglikda */
 html body #content .cl-v2 .dir-table{min-width:0!important;width:100%!important}
 html body #content .cl-v2 .dir-table tbody tr{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}
 html body #content .cl-v2 .dir-table tbody td:first-child{grid-column:1/-1}
 html body #content .cl-v2 .dir-table tbody td{min-width:0}
 #content .cl-v2 .dir-table tbody td.num{text-align:left}
 #content .wh-stock .warehouse-stock{align-items:flex-start;min-width:0;width:100%}
 html body #content .cl-v2 .dir-table tfoot tr{display:flex;flex-wrap:wrap;justify-content:space-between}
 html body #content .cl-v2 .dir-table tfoot td:empty{display:none}
}
/* 2.17.70 — Mahsulotlar: bitta panel, retsept / tannarx / narx / foyda, kategoriyalar alohida oynada */
#content .cl-v2 .pc-prod{display:flex;align-items:center;gap:11px;min-width:0}
#content .cl-v2 .pc-prod>div{display:flex;flex-direction:column;gap:1px;min-width:0}
#content .cl-v2 .pc-prod small{font-size:12px;color:var(--muted)}
#content .cl-v2 .product-code{display:inline-grid;place-items:center;min-width:52px;padding:4px 8px;border-radius:8px;background:rgba(var(--bz-rgb),.1);color:var(--accent-ink);font-size:12.5px;font-weight:750}
#content .cl-v2 .pc-warn{display:inline-block;padding:2px 8px;border-radius:999px;background:var(--amber-bg,rgba(217,145,0,.12));color:var(--amber,#b7791f);font-size:12px;font-weight:650;white-space:nowrap}
#content .pc-v2 .pc-count{min-width:18px;padding:0 6px;border-radius:999px;background:color-mix(in srgb,currentColor 12%,transparent);font-size:11.5px}
#modal .pc-cats{display:flex;flex-direction:column;border:1px solid var(--hair);border-radius:12px;overflow:hidden}
#modal .pc-cat{display:grid;grid-template-columns:30px minmax(0,1fr) auto auto auto;align-items:center;gap:10px;padding:8px 10px;border-top:1px solid var(--hair)}
#modal .pc-cat:first-child{border-top:0}
#modal .pc-cat>span{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:rgba(var(--bz-rgb),.1);color:var(--accent-ink)}
#modal .pc-cat>span svg{width:15px;height:15px}
#modal .pc-cat em{font-style:normal;font-size:12px;color:var(--muted)}
#modal .pc-none{margin:0;padding:16px;text-align:center;color:var(--muted);font-size:13px}
/* 2.17.71 — Narxlar: ro'yxatlar tugmalarda, tanlangan ro'yxatdagi barcha mahsulotlar, amaldagi ro'yxat; kalkulyator jami */
#content .pr-v2 .pr-lists{display:flex;gap:8px;margin:12px 16px 0;overflow-x:auto;scrollbar-width:none}
#content .pr-v2 .pr-list{display:flex;flex-direction:column;align-items:flex-start;gap:1px;min-width:150px;padding:9px 13px;border:1px solid var(--hair);border-radius:12px;background:var(--solid);color:var(--ink);font:inherit;text-align:left;cursor:pointer;transition:border-color .15s,box-shadow .15s}
#content .pr-v2 .pr-list b{font-size:13.5px;font-weight:700}
#content .pr-v2 .pr-list small{font-size:12px;color:var(--muted)}
#content .pr-v2 .pr-list:hover{border-color:rgba(var(--bz-rgb),.35)}
#content .pr-v2 .pr-list.on{border-color:rgba(var(--bz-rgb),.6);box-shadow:0 0 0 3px rgba(var(--bz-rgb),.1)}
#content .pr-v2 .pr-list.on b{color:var(--accent-ink)}
#content .pr-v2 .pr-cur{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;margin:10px 16px 0;padding:9px 12px;border-radius:12px;background:var(--field);font-size:12.5px;color:var(--muted)}
#content .pr-v2 .pr-rule{display:inline-flex;align-items:center;gap:6px}
#content .pr-v2 .pr-rule svg{width:14px;height:14px;flex:none}
#content .pr-v2 .pr-grow{flex:1}
html body #content#content#content#content#content .pr-v2 .pr-cur .btn.btn,html body #content#content#content#content#content .pr-v2 .pr-add.btn.btn{height:30px!important;min-height:30px!important;padding:0 10px!important;font-size:12.5px!important;border-radius:8px!important}
#content .pr-v2 .pr-cur .icon-btn{width:30px;height:30px}
#content .product-calculator .calculator-table tfoot td{font-weight:700;background:var(--field);border-top:1px solid var(--hair)}
@media (max-width:760px){#content .pr-v2 .pr-lists{margin:10px 14px 0}#content .pr-v2 .pr-cur{margin:10px 14px 0}#content .pr-v2 .pr-grow{display:none}}
/* 2.17.72 — Kalkulyator: to'liq kenglikdagi panel, natija kartalari, ombor qamrovi chizig'i, narxsiz materiallar ogohlantirishi */
#content .kc .kc-sub{font-size:12.5px;color:var(--muted)}
#content .kc .kc-form{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,.7fr) auto;align-items:end;gap:12px;padding:14px 16px 4px}
#content .kc .kc-form .fld{margin:0}
#content .kc .kc-quick{display:flex;gap:3px;padding:3px;border-radius:11px;background:var(--field)}
#content .kc .kc-quick .cl-seg{height:34px}
#content .kc #kR{padding:14px 0 0}
#content .kc .kc-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:0 16px 14px}
#content .kc .kc-stat{display:flex;flex-direction:column;gap:2px;min-width:0;padding:11px 14px;border:1px solid var(--hair);border-radius:12px;background:var(--solid)}
#content .kc .kc-stat span{font-size:12px;font-weight:600;color:var(--muted)}
#content .kc .kc-stat strong{font-size:18px;font-weight:750;letter-spacing:-.01em;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#content .kc .kc-stat small{font-size:12px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#content .kc .kc-stat.is-ok{background:var(--green-bg);border-color:transparent}
#content .kc .kc-stat.is-ok strong{color:var(--green)}
#content .kc .kc-stat.is-bad{background:var(--red-bg);border-color:transparent}
#content .kc .kc-stat.is-bad strong{color:var(--red)}
#content .kc .kc-stat.is-warn small{color:var(--amber,#b7791f);font-weight:600}
#content .kc .calculator-material{display:flex;align-items:center;gap:10px;white-space:nowrap}
#content .kc .calculator-material svg{width:22px;height:22px;flex:none;color:var(--muted)}
#content .kc .kc-cover{display:flex;flex-direction:column;gap:4px;min-width:110px}
#content .kc .kc-bar{height:5px;border-radius:3px;background:var(--hair);overflow:hidden}
#content .kc .kc-bar i{display:block;height:100%;border-radius:3px;background:var(--green)}
#content .kc tr.is-short .kc-bar i{background:var(--red)}
#content .kc .kc-note{display:flex;align-items:flex-start;gap:9px;margin:12px 16px 16px;padding:10px 12px;border-radius:12px;background:var(--amber-bg,rgba(217,145,0,.12));font-size:12.5px;line-height:1.5;color:var(--ink)}
#content .kc .kc-note svg{width:16px;height:16px;flex:none;margin-top:2px;color:var(--amber,#b7791f)}
#content .kc .kc-empty{display:flex;flex-direction:column;align-items:center;gap:6px;padding:34px 16px 38px;text-align:center;color:var(--muted)}
#content .kc .kc-empty svg{width:40px;height:40px;padding:10px;box-sizing:border-box;border-radius:12px;background:var(--field)}
#content .kc .kc-empty b{color:var(--ink);font-size:14px}
#content .kc .kc-empty span{font-size:12.5px}
@media (max-width:1100px){#content .kc .kc-stats{grid-template-columns:repeat(2,minmax(0,1fr))}#content .kc .kc-form{grid-template-columns:minmax(0,1fr) minmax(0,.6fr)}#content .kc .kc-quick{grid-column:1/-1;width:max-content;max-width:100%;overflow-x:auto}}
@media (max-width:760px){#content .kc .kc-form{grid-template-columns:minmax(0,1fr);padding:12px 14px 4px}#content .kc .kc-stats{padding:0 14px 12px}#content .kc .kc-quick{width:auto}#content .kc .kc-quick .cl-seg{flex:1 0 auto;justify-content:center}#content .kc .kc-stat strong{font-size:16px;white-space:normal;overflow-wrap:anywhere}#content .kc .kc-stat small{white-space:normal}}
/* 2.17.73 — Mahsulotlar: yorliq almashganda sakramaydi (joylashuv #mBody id'siga emas, data-product-tab ga bog'langan — animatsiyadagi eski qatlam id'siz qoladi); yorliqlar oralig'i boshqa bo'limlardek */
html body #content#content#content#content#content#content .products-reference [data-product-tab]{display:flex!important;flex-direction:column;align-items:stretch!important;gap:12px!important;min-width:0;grid-template-columns:none!important}
@media (min-width:761px){html body #content#content#content#content#content .products-reference>.tabs{gap:20px!important}html body #content#content#content#content#content .products-reference>.tabs>button{padding:0 2px!important;min-width:0!important}}
/* 2.17.74 — Yon menyu logotipi: standart o'lcham (34px, matn 14px — yig'ish tugmasigacha joy qoladi), markazi yuqori panel markazi bilan bir chiziqda */
@media(min-width:901px){
 html body #app:not(.nav-compact) #sideNav .side-brand-row{min-height:36px!important;height:36px;margin-top:-2px!important;margin-bottom:24px!important;align-items:center}
 html body #app:not(.nav-compact) #sideNav .side-brand-row .brand{height:36px!important;min-height:36px!important;gap:8px!important;min-width:0}
 html body #app:not(.nav-compact) #sideNav .side-brand-row .brand img{width:34px!important;height:34px!important;flex-basis:34px!important}
 html body #app:not(.nav-compact) #sideNav .side-brand-row .brand :is(b.wordmark,.brand-sub){font-size:14px!important;line-height:1.1!important;white-space:nowrap}
}
/* 2.17.75 — Bosh sahifa: sarlavha + sana, ikki ixcham ko'rsatkich qatori, ogohlantirishlar qatori, reja/dinamika | oy natijasi/kassa/ombor, pastda tahlillar */
html body #content .home-overview.hd{display:flex!important;flex-direction:column;gap:14px!important}
#content .hd .hd-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px 16px}
html body #content .hd .hd-head h1{margin:0!important;font-size:22px!important;font-weight:750;letter-spacing:-.02em}
#content .hd .hd-head p{margin:2px 0 0;font-size:13px;color:var(--muted)}
#content .hd .hd-attn{color:var(--amber,#b7791f);font-weight:600}
#content .hd .hd-acts{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
html body #content#content#content#content#content .hd .hd-acts .btn.btn{height:var(--control-height,36px)!important;min-height:var(--control-height,36px)!important;padding:0 14px!important;border-radius:9px!important;font-size:13px!important}
#content .hd .hd-date{position:relative;display:inline-flex;align-items:center;gap:7px;height:var(--control-height,36px);padding:0 12px;border:1px solid var(--hair);border-radius:9px;background:var(--solid);font-size:13px;font-weight:600;color:var(--ink);cursor:pointer}
#content .hd .hd-date svg{width:16px;height:16px;color:var(--muted)}
#content .hd .hd-date input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%}
#content .hd .hd-strips{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
#content .hd .hd-strip{min-width:0;border:1px solid var(--surface-contour,var(--hair));border-radius:16px;background:var(--solid);box-shadow:0 2px 8px rgba(18,20,26,.04);overflow:hidden}
html body #content .hd .hd-strip h2{display:flex;align-items:center;gap:7px;margin:0!important;padding:10px 16px 0;font-size:12.5px!important;font-weight:700;color:var(--muted);text-transform:uppercase;letter-spacing:.04em}
#content .hd .hd-strip h2 svg{width:15px;height:15px}
#content .hd .hd-ks{display:grid;grid-template-columns:repeat(var(--n),minmax(0,1fr))}
#content .hd .hd-k{display:flex;flex-direction:column;gap:2px;min-width:0;padding:8px 16px 13px;border:0;border-left:1px solid var(--hair);background:none;color:var(--ink);font:inherit;text-align:left}
#content .hd .hd-k:first-child{border-left:0}
#content .hd button.hd-k{cursor:pointer;transition:background .15s}
#content .hd button.hd-k:hover{background:var(--field)}
#content .hd .hd-k>span{font-size:12.5px;font-weight:600;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#content .hd .hd-k>strong{font-size:21px;font-weight:750;letter-spacing:-.02em;line-height:1.25;font-variant-numeric:tabular-nums;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#content .hd .hd-k>strong small{margin-left:3px;font-size:.55em;font-weight:600;color:var(--muted);letter-spacing:0}
#content .hd .hd-k>em{font-style:normal;font-size:12px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#content .hd .hd-k.is-bad>strong{color:var(--red)}
#content .hd .hd-k.is-warn>strong{color:var(--amber,#b7791f)}
#content .hd .hd-alerts{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:8px}
#content .hd .hd-alerts .home-alert{margin:0!important}
#content .hd .hd-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(0,1fr);gap:14px;align-items:start}
#content .hd .hd-col{display:flex;flex-direction:column;gap:14px;min-width:0}
#content .hd .hd-col>.card,#content .hd .hd-bottom>.card{margin:0!important}
#content .hd .dash-plan>div:last-child{max-height:420px;overflow:auto}
#content .hd .hd-bottom{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:14px;align-items:start}
#content .hd .hd-line{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 16px;border-top:1px solid var(--hair);font-size:13.5px}
#content .hd .dash-card-head+.hd-line{border-top:0}
#content .hd .hd-line>span{display:flex;align-items:center;gap:8px;min-width:0;color:var(--ink)}
#content .hd .hd-line>span svg{width:15px;height:15px;color:var(--muted);flex:none}
#content .hd .hd-line>span small{display:block;margin-left:6px;font-size:12px;color:var(--muted)}
#content .hd .hd-line>b{font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap}
#content .hd .hd-line.is-total{background:var(--field);font-weight:700}
#content .hd .hd-line.is-total>b{font-size:15.5px}
#content .hd .hd-line.is-sub{font-size:12.5px;color:var(--muted)}
#content .hd .hd-line.is-sub>span{color:var(--muted)}
#content .hd .hd-mat{display:grid;gap:5px;padding:9px 16px;border-top:1px solid var(--hair)}
#content .hd .dash-card-head+.hd-mat{border-top:0}
#content .hd .hd-mat>div{display:flex;justify-content:space-between;gap:10px;font-size:13.5px}
#content .hd .hd-mat>div b{font-variant-numeric:tabular-nums;white-space:nowrap}
#content .hd .hd-mat>i,#content .hd .hd-hbar>i{display:block;height:5px;border-radius:3px;background:var(--hair);overflow:hidden}
#content .hd .hd-mat>i em,#content .hd .hd-hbar>i em{display:block;height:100%;border-radius:3px;background:var(--green)}
#content .hd .hd-mat.is-low>i em{background:var(--amber,#b7791f)}
#content .hd .hd-mat.is-empty>i em{background:var(--red)}
#content .hd .hd-mat small{font-size:11.5px;font-weight:600;color:var(--amber,#b7791f)}
#content .hd .hd-mat.is-empty small{color:var(--red)}
#content .hd .hd-hbar{display:grid;grid-template-columns:minmax(0,130px) minmax(0,1fr) auto;align-items:center;gap:10px;padding:8px 16px;font-size:13px}
#content .hd .hd-hbar>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#content .hd .hd-hbar>i em{background:var(--accent)}
#content .hd .hd-hbar>b{font-variant-numeric:tabular-nums;white-space:nowrap}
#content .hd .hd-bars{display:grid;grid-template-columns:repeat(14,minmax(0,1fr));align-items:end;gap:6px;height:150px;padding:8px 16px 12px}
#content .hd .hd-bar{display:flex;flex-direction:column;align-items:center;gap:4px;height:100%}
#content .hd .hd-bar i{display:block;width:100%;max-width:34px;margin-top:auto;border-radius:6px 6px 2px 2px;background:rgba(var(--bz-rgb),.3)}
#content .hd .hd-bar.is-hot i{background:var(--accent)}
#content .hd .hd-bar small{font-size:11px;color:var(--muted)}
@media (max-width:1000px){#content .hd .hd-grid{grid-template-columns:minmax(0,1fr)}}
@media (max-width:760px){#content .hd .hd-ks{grid-template-columns:repeat(2,minmax(0,1fr))}#content .hd .hd-k{border-left:0;border-top:1px solid var(--hair)}#content .hd .hd-k:nth-child(even){border-left:1px solid var(--hair)}#content .hd .hd-k:nth-child(-n+2){border-top:0}#content .hd .hd-k>strong{font-size:18px}#content .hd .hd-acts{width:100%}}
html body #content .hd .hd-col>.card,html body #content .hd .hd-bottom>.card{order:0!important;grid-area:auto!important;grid-column:auto!important;grid-row:auto!important}
@media (max-width:760px){html body #content .hd.has-mobile-hero .hd-acts>.btn:not(.home-today){display:none!important}#content .hd .hd-date{flex:1;justify-content:center}}
/* 2.17.76 — Xaridlar: bitta panel, holat bo'limlari, filtr, materiallar narxi bilan, muddati o'tgan belgisi, pastda jami */
#content .xr-v2 .xr-doc{display:flex;align-items:center;gap:10px;min-width:0}
#content .xr-v2 .xr-doc>span{display:flex;flex-direction:column;min-width:0}
#content .xr-v2 .xr-doc small{font-size:12px;color:var(--muted)}
#content .xr-v2 .xr-ico{display:grid;place-items:center;width:32px;height:32px;flex:none;border-radius:9px;background:var(--green-bg);color:var(--green);font-style:normal}
#content .xr-v2 .xr-ico.is-wait{background:var(--amber-bg,rgba(217,145,0,.12));color:var(--amber,#b7791f)}
#content .xr-v2 .xr-ico.is-off{background:var(--field);color:var(--muted)}
#content .xr-v2 .xr-ico svg{width:16px;height:16px}
#content .xr-v2 .xr-items{display:flex;flex-direction:column;gap:2px;font-size:13px}
#content .xr-v2 .xr-items small{margin-left:5px;font-size:11.5px;color:var(--muted)}
#content .xr-v2 .xr-items .xr-noprice{color:var(--amber,#b7791f);font-weight:600}
#content .xr-v2 .xr-items em{font-style:normal;font-size:12px;color:var(--muted)}
#content .xr-v2 .xr-late{display:block;width:max-content;margin-top:3px;padding:1px 7px;border-radius:999px;background:var(--red-bg);color:var(--red);font-size:11.5px;font-weight:650}
/* 2.17.77 — Bosh sahifa: katta rangli kartalar (kechagiga nisbatan %), ishlab chiqarish va sotuv grafiklari, reja | ombor, pastda oy natijasi va tahlillar */
#content .hd .hb-cards{display:grid;grid-template-columns:repeat(var(--n),minmax(0,1fr));gap:14px}
#content .hd .hb-card{position:relative;display:flex;flex-direction:column;gap:8px;min-width:0;padding:16px 18px;border:1px solid var(--surface-contour,var(--hair));border-radius:18px;background:var(--solid);box-shadow:0 2px 10px rgba(18,20,26,.05);color:var(--ink);font:inherit;text-align:left;overflow:hidden}
#content .hd .hb-card::before{content:'';position:absolute;inset:0 0 auto 0;height:4px;background:var(--hb)}
#content .hd button.hb-card{cursor:pointer;transition:transform .15s,box-shadow .15s}
#content .hd button.hb-card:hover{transform:translateY(-2px);box-shadow:0 8px 22px rgba(18,20,26,.09)}
#content .hd .hb-card.t-green{--hb:var(--green);--hbg:var(--green-bg)}
#content .hd .hb-card.t-blue{--hb:var(--accent);--hbg:rgba(var(--bz-rgb),.12)}
#content .hd .hb-card.t-teal{--hb:#0e9384;--hbg:rgba(14,147,132,.12)}
#content .hd .hb-card.t-red{--hb:var(--red);--hbg:var(--red-bg)}
#content .hd .hb-card.t-amber{--hb:var(--amber,#b7791f);--hbg:var(--amber-bg,rgba(217,145,0,.12))}
#content .hd .hb-card.t-ind{--hb:var(--accent-ink);--hbg:rgba(var(--bz-rgb),.1)}
#content .hd .hb-top{display:flex;align-items:center;gap:10px;min-width:0}
#content .hd .hb-ico{display:grid;place-items:center;width:38px;height:38px;flex:none;border-radius:11px;background:var(--hbg);color:var(--hb)}
#content .hd .hb-ico svg{width:19px;height:19px}
#content .hd .hb-lbl{flex:1;min-width:0;font-size:13px;font-weight:650;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#content .hd .hb-go{display:grid;place-items:center;width:26px;height:26px;border-radius:8px;color:var(--muted)}
#content .hd .hb-go svg{width:15px;height:15px}
#content .hd .hb-card>strong{font-size:28px;font-weight:800;letter-spacing:-.03em;line-height:1.15;font-variant-numeric:tabular-nums;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#content .hd .hb-card>strong small{margin-left:5px;font-size:.45em;font-weight:650;color:var(--muted);letter-spacing:0}
#content .hd .hb-card.t-red>strong{color:var(--red)}
#content .hd .hb-foot{display:flex;align-items:center;gap:8px;min-width:0;font-size:12px;color:var(--muted)}
#content .hd .hb-foot>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#content .hd .hb-delta{flex:none;padding:2px 8px;border-radius:999px;background:var(--field);font-size:11.5px;font-weight:700;color:var(--muted)}
#content .hd .hb-delta.is-up{background:var(--green-bg);color:var(--green)}
#content .hd .hb-delta.is-down{background:var(--red-bg);color:var(--red)}
#content .hd .hb-warn{color:var(--red);font-weight:650}
#content .hd .hb-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr));gap:14px;align-items:start}
#content .hd .hb-row>.card{margin:0!important;min-width:0}
#content .hd .hb-chart .hd-bars{height:190px;gap:8px;padding:10px 16px 14px}
#content .hd .hd-bar b{font-size:10.5px;font-weight:650;color:var(--muted);white-space:nowrap;min-height:13px}
#content .hd .hb-chart .hd-bar i{max-width:40px;border-radius:7px 7px 3px 3px}
#content .hd .hb-row .hd-stock .hd-mat{padding:10px 16px}
@media (max-width:1100px){#content .hd .hb-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:760px){#content .hd .hb-cards{gap:10px}#content .hd .hb-card{padding:13px 14px;border-radius:15px}#content .hd .hb-card>strong{font-size:21px}#content .hd .hb-foot>span{display:none}#content .hd .hb-chart .hd-bar b{display:none}#content .hd .hb-chart .hd-bars{height:140px;gap:4px}}
html body #content .hd .hb-row>.card{order:0!important;grid-area:auto!important;grid-column:auto!important;grid-row:auto!important}
@media (max-width:760px){#content .hd .hb-go{display:none}#content .hd .hb-top{gap:8px}#content .hd .hb-ico{width:30px;height:30px;border-radius:9px}#content .hd .hb-ico svg{width:16px;height:16px}#content .hd .hb-lbl{white-space:normal;line-height:1.2;font-size:12.5px}#content .hd .hb-card>strong{font-size:19px;white-space:normal;overflow:visible}#content .hd .hb-card>strong small{display:block;margin:2px 0 0;font-size:12px}}
/* 2.17.78 — Bosh sahifa tartibi: pastki kartalar 3 ustunli to'rda, bir qatordagilar bir xil balandlikda; reja va ombor bir xil balandlikda; qarzlar qatori to'g'ri */
html body #content .hd .hd-bottom{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px;align-items:stretch!important}
html body #content .hd .hb-row{align-items:stretch!important}
#content .hd .hb-row>.card,#content .hd .hd-bottom>.card{display:flex;flex-direction:column}
#content .hd .dash-plan>div:last-child{flex:1;display:flex;flex-direction:column}
#content .hd .dash-plan .dash-empty{flex:1;justify-content:center}
#content .hd .hd-debt>span{flex-direction:column;align-items:flex-start;gap:1px}
#content .hd .hd-debt>span b{font-weight:650}
#content .hd .hd-debt>span small{margin-left:0}
#content .hd .hd-bottom .dash-card-head h3{white-space:nowrap}
#content .hd .hd-hbar{grid-template-columns:minmax(0,1fr) minmax(60px,1.2fr) auto}
@media (max-width:1180px){html body #content .hd .hd-bottom{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media (max-width:760px){html body #content .hd .hd-bottom{grid-template-columns:minmax(0,1fr)!important}}
/* 2.17.79 — Kassa: tepadagi kartalarda summa kesilmaydi (belgi yorliq yonida, summa to'liq kenglikda); jadvalda hisob nomi bir qatorda, izoh 2 qatorgacha */
@media (min-width:761px){
 html body #content#content#content#content#content .cash-workspace .cv-kpi{display:grid!important;grid-template-columns:30px minmax(0,1fr)!important;grid-template-areas:"i l" "v v" "h h"!important;column-gap:9px!important;row-gap:5px!important;align-items:center!important}
 html body #content#content#content#content#content .cash-workspace .cv-kpi-ico{grid-area:i!important;width:30px!important;height:30px!important;border-radius:9px!important}
 html body #content#content#content#content#content .cash-workspace .cv-kpi-ico svg{width:16px!important;height:16px!important}
 html body #content#content#content#content#content .cash-workspace .cv-kpi-l{grid-area:l!important;grid-column:auto!important}
 html body #content#content#content#content#content .cash-workspace .cv-kpi>strong{grid-area:v!important;grid-column:1/-1!important;font-size:22px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 html body #content#content#content#content#content .cash-workspace .cv-kpi-h{grid-area:h!important;grid-column:1/-1!important}
}
html body #content .cash-workspace .cash-table td[data-label="Hisob"],html body #content .cash-workspace .cash-table td[data-label="Kim"]{white-space:nowrap}
html body #content .cash-workspace .cash-table .cash-note{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;max-width:220px;white-space:normal}
/* 2.17.79 — Qarzdorlik: tepadagi kartalarda summa va «so'm» bir qatorda, izoh bir qatorda (to'liq matn — sichqoncha ustida), kartalar balandligi teng */
@media (min-width:761px){
 html body #content#content#content#content#content .debt-summary .debt-metric>div{min-width:0}
 html body #content#content#content#content#content .debt-summary .debt-metric strong{white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis;font-size:21px!important}
 html body #content#content#content#content#content .debt-summary .debt-metric strong em{margin-left:4px;font-size:.55em!important}
 html body #content#content#content#content#content .debt-summary .debt-metric small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
}
/* 2.17.80 — Bosh sahifa: ogohlantirishlar bitta tasmada, grafiklarda bo'sh kunlar ham ko'rinadi, reja keng / ombor tor (ombor kartasida bo'sh joy qolmaydi) */
html body #content .hd .hd-alerts{display:flex!important;flex-wrap:wrap;align-items:center;gap:8px;padding:9px 12px;border:1px solid color-mix(in srgb,var(--amber,#b7791f) 25%,transparent);border-radius:14px;background:var(--amber-bg,rgba(217,145,0,.1))}
#content .hd .hd-alerts-t{display:inline-flex;align-items:center;gap:6px;margin-right:4px;font-size:12.5px;font-weight:750;color:var(--amber,#b7791f);text-transform:uppercase;letter-spacing:.04em}
#content .hd .hd-alerts-t svg{width:16px;height:16px}
html body #content .hd .hd-alerts .home-alert{width:auto!important;flex:0 1 auto;gap:8px;padding:6px 10px!important;border:1px solid var(--hair)!important;border-radius:10px!important;background:var(--solid)!important}
#content .hd .hd-alerts .home-alert b{font-size:13px}
#content .hd .hd-alerts .home-alert small{margin-top:1px;font-size:11.5px}
#content .hd .hb-chart .hd-bars{height:160px}
#content .hd .hd-bar i.is-zero{background:var(--hair)!important}
html body #content .hd .hb-plan-row{grid-template-columns:minmax(0,1.6fr) minmax(0,1fr)!important;align-items:start!important}
#content .hd .hb-plan-row .dash-plan>div:last-child{max-height:460px}
#content .hd .plan-row{gap:12px}
@media (max-width:1100px){html body #content .hd .hb-plan-row{grid-template-columns:minmax(0,1fr)!important}}
html body #content#content#content#content#content .hd .hd-alerts .home-alert{min-height:0!important;height:auto!important}
/* 2.17.81 — Bosh sahifa bo'sh joylar: reja kartasi ombor balandligiga teng (ro'yxat ichida aylanadi, bo'sh bo'lsa markazda); pastki kartalar 3 ustunda zich — cho'zilmaydi, bo'sh katak qolmaydi */
@media (min-width:1101px){
 html body #content .hd .hb-plan-row:has(.hd-stock){align-items:stretch!important}
 html body #content .hd .hb-plan-row:has(.hd-stock)>.dash-plan{height:0;min-height:100%;display:flex;flex-direction:column;overflow:hidden}
 html body #content .hd .hb-plan-row:has(.hd-stock)>.dash-plan>div:last-child{flex:1;min-height:0;max-height:none!important;overflow:auto}
}
html body #content .hd .hd-bottom{display:block!important;columns:3 300px;column-gap:14px}
html body #content .hd .hd-bottom>.card{display:block!important;width:100%;margin:0 0 14px!important;break-inside:avoid;page-break-inside:avoid}
@media (max-width:760px){html body #content .hd .hd-bottom{columns:1}}
/* 2.17.82 — Bosh sahifa tartibi: reja to'liq kenglikda (bo'sh bo'lsa ingichka qator), pastki kartalar 3 tadan teng to'rda, oxirgi qator to'ldiriladi */
html body #content .hd .hd-plan-wrap>.dash-plan{margin:0!important}
#content .hd .hd-plan-wrap .dash-plan>div:last-child{max-height:340px;overflow:auto}
#content .hd .hd-plan-empty{display:flex!important;align-items:center;gap:12px;flex-wrap:wrap;margin:0!important;padding:12px 16px!important}
#content .hd .hd-plan-empty>div{display:flex;flex-direction:column;gap:1px;flex:1;min-width:200px}
#content .hd .hd-plan-empty b{font-size:14px}
#content .hd .hd-plan-empty small{font-size:12.5px;color:var(--muted)}
#content .hd .hd-pe-ico{display:grid;place-items:center;width:36px;height:36px;flex:none;border-radius:10px;background:var(--field);color:var(--muted)}
#content .hd .hd-pe-ico svg{width:18px;height:18px}
html body #content .hd .hd-tiles{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px;align-items:stretch}
html body #content .hd .hd-tiles>.card{grid-column:span var(--span,2)!important;margin:0!important;min-width:0;order:0!important}
#content .hd .hd-sub-t{margin:10px 16px 2px;font-size:11.5px;font-weight:700;color:var(--muted);text-transform:uppercase;letter-spacing:.04em}
#content .hd .dash-card-head+.hd-sub-t{margin-top:4px}
@media (max-width:1100px){html body #content .hd .hd-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}html body #content .hd .hd-tiles>.card{grid-column:auto!important}}
@media (max-width:760px){html body #content .hd .hd-tiles{grid-template-columns:minmax(0,1fr)}}
@media (min-width:1101px){html body #content .hd .hd-plan-wrap .dash-plan>div:last-child{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:22px;align-content:start}}

/* 2.17.83 — xodim formasi: rolning maxsus amallari izohi */
.perm-note{margin:0 14px 10px;padding:8px 10px;border-radius:8px;background:rgba(var(--bz-rgb),.05);color:var(--muted);font-size:12px;line-height:1.45}
.perm-note b{color:var(--ink);font-weight:600}
/* partiya yoza olmaydigan rollarda (laborant, direktor) bo'sh tugmalar qatori joy egallamasin */
.production-job-actions:empty{display:none}

/* ================================================================
   2.17.86 — TUGMA O'LCHAMLARI STANDARTI (oxirgi qatlam, hamma sahifaga)
   Kompyuter: tugma 36 · sm 36 · xs 28 · jadvaldagi belgili tugma 32 · yorliq 38 · segment 32
   Telefon:   tugma 44 · sm 36 · xs 30 (kapsula) · belgili tugma 40 · yorliq 38 · segment 32
   ================================================================ */
/* segment / davr tugmalari — barcha sahifada bir xil */
html body #content#content#content#content#content#content :is(.cl-seg,.cv-chip,.report-presets .btn,.orders-status button,.rt-chip){height:32px!important;min-height:32px!important;padding-top:0!important;padding-bottom:0!important;font-size:13px!important;font-weight:600!important;border-radius:8px!important;display:inline-flex;align-items:center;justify-content:center;line-height:1}
/* yorliqlar: balandlik va shrift bir xil (uslubi — chiziqli yoki kapsula — sahifaga qarab qoladi) */
html body #content#content#content#content#content#content :is(.tabs>button,.rt-pill){height:38px!important;min-height:38px!important;padding-top:0!important;padding-bottom:0!important;display:inline-flex;align-items:center;line-height:1}
@media (min-width:761px){
  html body #content#content#content#content#content#content :is(.tabs>button,.rt-pill){font-size:13.5px!important}
  /* jadval qatoridagi belgili tugmalar (⋮, ✎, 🗑) — 28…36 o'rniga yagona 32 */
  html body #content#content#content#content#content#content table .icon-btn{width:32px!important;height:32px!important;min-width:32px!important;min-height:32px!important;border-radius:8px!important;padding:0!important}
  html body #content#content#content#content#content#content table .icon-btn svg{width:16px!important;height:16px!important}
}
@media (max-width:760px){
  html body #content#content#content#content#content#content :is(.tabs>button,.rt-pill){font-size:13px!important}
  html body #content#content#content#content#content#content .rt-tool{min-height:44px!important;border-radius:999px!important}
  /* oddiy tugmalar: balandlik 44, kapsula shakl, shrift 13 — 40/44 va 9/18/22/24 burchaklar aralashmasi o'rniga */
  html body #content#content#content#content#content#content .btn:not(.sm):not(.xs):not(.report-presets .btn){min-height:44px!important;height:auto;border-radius:999px!important;font-size:13px!important}
  html body #content#content#content#content#content#content .btn.sm{min-height:36px!important;height:36px;border-radius:999px!important;font-size:12.5px!important}
  html body #content#content#content#content#content#content .btn.xs{min-height:30px!important;height:30px;border-radius:999px!important;font-size:12px!important}
  /* belgili tugmalar 40×40, burchak 10 (bosh sahifadagi dumaloq tugma bundan mustasno) */
  html body #content#content#content#content#content#content .icon-btn:not(.mobile-hero-heading .icon-btn){width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;border-radius:10px!important}
  /* oddiy tugmalar yonidagi «⋮» ular bilan bir balandlikda va bir shaklda */
  html body #content#content#content#content#content#content .btn~.icon-btn:not(table .icon-btn){width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;border-radius:999px!important}
}
/* oynalar: oddiy oyna (#modal) va ijara yon oynasi (.rt-drawer) tugmalari bir xil */
@media (min-width:761px){
  html body .rt-drawer-back .rt-drawer .btn:not(.sm):not(.xs){height:36px!important;min-height:36px!important;padding-top:0!important;padding-bottom:0!important;border-radius:9px!important;font-size:13px!important}
  html body .rt-drawer-back .rt-drawer .rt-dr-head .icon-btn{width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important;border-radius:10px!important}
}
@media (max-width:760px){
  html body :is(#modal,.rt-drawer-back) .btn:not(.sm):not(.xs){min-height:44px!important;border-radius:999px!important;font-size:13px!important}
}

/* 2.17.87 — ⋮ menyu: mumkin bo'lmagan amal sababi bilan; superadmin buyurtma tahriri ogohlantirishi */
#pop button .pop-t{display:flex;flex-direction:column;align-items:flex-start;gap:1px;min-width:0;text-align:left}
#pop button .pop-hint{font-size:11.5px;font-weight:500;color:var(--muted);white-space:normal;line-height:1.3;max-width:240px}
#pop button.has-hint{height:auto!important;min-height:40px;padding-top:7px!important;padding-bottom:7px!important;align-items:flex-start}
#pop button[disabled]{opacity:.55;cursor:not-allowed}
#pop button[disabled]:hover{background:transparent!important}
.order-force-note{display:flex;gap:8px;align-items:flex-start;margin:0 0 12px;padding:10px 12px;border-radius:10px;background:rgba(214,140,30,.12);color:var(--ink);font-size:12.5px;line-height:1.45}
.order-force-note svg{flex:none;width:16px;height:16px;color:#c9821b;margin-top:1px}
.confirm-list{margin:8px 0 10px;padding-left:18px}.confirm-list li{margin:3px 0}
@media (max-width:760px){
  /* telefon: buyurtma kartasida ⋮ o'ng yuqori burchakda, alohida qator egallamaydi */
  html body #content#content#content .orders-table tbody tr{position:relative}
  html body #content#content#content .orders-table tbody td.order-row-actions:has(>[data-order-menu]){position:absolute!important;top:10px;right:10px;width:auto!important;padding:0!important;border:0!important;background:none!important;display:block!important}
}

/* 2.17.88 — superadmin tahrir tugmalari */
.sales-acts{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
@media (max-width:760px){.sales-acts{justify-content:flex-start}}

/* ================================================================
   2.17.90 — TELEFON KO'RINISHI TUZATISHLARI
   ================================================================ */
@media (max-width:760px){
  /* yorliqlar: Ombor va Ish haqida faol yorliq 2px chekinish tufayli doiraga siqilib qolardi — hammasi bir xil 14px (Transport chiziqli uslubda qoladi) */
  html body #content#content#content#content#content#content .tabs>button:not(:is(.transport-workspace,.transport-redesign,.transport-reference)>.tabs>button){padding-left:14px!important;padding-right:14px!important;min-width:max-content}
  /* bosh sahifa: reja ro'yxati ichida alohida scroll bo'lmasin (barmoq tiqilib qoladi) — birinchi 3 tasi, qolgani «Barchasi» orqali */
  html body #content#content#content#content#content#content .hd .hd-plan-wrap .dash-plan>div:last-child{max-height:none!important;overflow:visible!important}
  html body #content#content#content#content#content#content .hd .hd-plan-wrap .dash-plan>div:last-child>:nth-child(n+4){display:none!important}
  /* mayda (10px) yozuvlar o'qiladigan bo'lsin */
  html body #content#content#content#content#content#content :is(.debt-footer,.journal-footer,.alerts-footer,.payroll-formula,.orders-list-footer) :is(span,small){font-size:11.5px!important}
  html body #content#content#content#content#content#content :is(.alerts-tag,.journal-ip){font-size:11px!important}
  html body #content#content#content#content#content#content .debt-name~small,html body #content#content#content#content#content#content .debt-person small{font-size:11.5px!important}
  html body #content#content#content#content#content#content .settings-section-button .settings-mobile-label{font-size:11px!important}
  html body #content#content#content#content#content#content .orders-status button b{font-size:11px!important}
  /* matnli havolalar (qarzdor nomi, buyurtma raqami, ishchi) — bosish maydoni kattaroq, joylashuv o'zgarmaydi */
  html body #content#content#content#content#content#content :is(.debt-name,.production-order-link,.salary-person-link){padding-top:8px!important;padding-bottom:8px!important;margin-top:-8px!important;margin-bottom:-8px!important}
  /* kassa: davr sanalari bosish uchun baland */
  html body #content#content#content#content#content#content .cv-date{min-height:36px;display:inline-flex;align-items:center}
}
@media (max-width:760px){
  /* qarzdorlik: 3 ta yorliq ustma-ust uch qatorga yoyilmasin — boshqa sahifalardagidek bitta gorizontal qator */
  html body #content#content#content#content#content#content .debt-tabs>.tabs{display:flex!important;flex-wrap:nowrap!important;grid-template-columns:none!important;overflow-x:auto;scrollbar-width:none;gap:6px!important;width:100%!important}
  html body #content#content#content#content#content#content .debt-tabs>.tabs>button{width:auto!important;flex:0 0 auto!important}
  /* ish haqi: yuqoridagi 3 ko'rsatkichda «so'm» alohida qatorga tushmasin */
  html body #content#content#content#content#content#content .payroll-summary{grid-template-columns:1fr!important;gap:6px!important}
  html body #content#content#content#content#content#content .payroll-metric{min-width:0;padding:10px 14px!important;min-height:0!important}
  html body #content#content#content#content#content#content .payroll-metric>div{display:flex!important;align-items:baseline;justify-content:space-between;gap:10px;width:100%}
  html body #content#content#content#content#content#content .payroll-metric strong{font-size:17px!important;white-space:nowrap;letter-spacing:-.01em}
}
@media (max-width:760px){
  /* hisobotlar: «Sof foyda» kabi katta summa «...» bilan kesilmasin — pul summasi har doim to'liq ko'rinadi */
  html body #content#content#content#content#content#content .rp-kpi strong{font-size:18px!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;overflow-wrap:anywhere}
}
@media (max-width:760px){
  /* ogohlantirishlar: «0 buyurtma va reys» belgisi «Yangilash» tugmasi ustiga chiqib ketardi — belgilar ikkinchi qatorda, yonma-yon */
  html body #content#content#content#content#content#content .alerts-heading{display:grid!important;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px!important}
  html body #content#content#content#content#content#content .alerts-heading>#alertsSummary{grid-column:1/-1;grid-row:2;min-width:0}
  html body #content#content#content#content#content#content .alerts-heading .head-meta{display:flex!important;flex-direction:row!important;flex-wrap:wrap;gap:6px!important}
}
@media (max-width:760px){
  /* kartochka yorliqlari (Vaqt, Xodim, Summa…) 4 xil uslubda edi — hammasi bir xil: kichik, katta harfli, kulrang */
  html body #content#content#content#content#content#content td[data-label]::before{font-size:11px!important;font-weight:650!important;text-transform:uppercase!important;letter-spacing:.03em!important;color:var(--muted)!important;line-height:1.3!important}
}
@media (max-width:380px){
  /* kichik telefon (320–380px): katta summalar sig'sin */
  html body #content#content#content#content#content#content .rp-kpi strong{font-size:16px!important}
}

/* 2.17.92 — bo'lim yuklanmasa asl sabab ham ko'rinadi */
.settings-load-error .settings-load-reason{display:block;max-width:520px;margin:2px auto 4px;color:var(--muted);font-size:12.5px;line-height:1.45;text-align:center;overflow-wrap:anywhere}

/* ================================================================
   2.17.93 — MIJOZLAR (cx): 4 ta ko'rsatkich + bitta jadval paneli
   ================================================================ */
html body #content#content#content#content .cx{display:flex;flex-direction:column;gap:14px}
html body #content#content#content#content .cx-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
html body #content#content#content#content .cx-kpi{position:relative;display:flex;align-items:flex-start;gap:12px;min-width:0;padding:16px 16px 14px;border:1px solid var(--hair);border-radius:14px;background:var(--solid);color:var(--ink);text-align:left;font:inherit;cursor:pointer;overflow:hidden;transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}
html body #content#content#content#content .cx-kpi::before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:var(--cx-tone);opacity:.85}
html body #content#content#content#content .cx-kpi:hover{border-color:color-mix(in srgb,var(--cx-tone) 40%,var(--hair));transform:translateY(-1px)}
html body #content#content#content#content .cx-kpi.on{border-color:var(--cx-tone);box-shadow:0 0 0 3px color-mix(in srgb,var(--cx-tone) 16%,transparent)}
html body #content#content#content#content .cx-kpi.t-ind{--cx-tone:var(--accent)}
html body #content#content#content#content .cx-kpi.t-red,html body #content#content#content#content .cx-kpi.t-red-soft{--cx-tone:var(--red)}
html body #content#content#content#content .cx-kpi.t-green{--cx-tone:var(--green)}
html body #content#content#content#content .cx-kpi.t-amber{--cx-tone:var(--amber)}
html body #content#content#content#content .cx-kpi.t-blue{--cx-tone:#5b6fc4}
html body #content#content#content#content .cx-kpi-ic{flex:none;display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:color-mix(in srgb,var(--cx-tone) 13%,transparent);color:var(--cx-tone)}
html body #content#content#content#content .cx-kpi-ic svg{width:19px;height:19px}
html body #content#content#content#content .cx-kpi-t{display:flex;flex-direction:column;gap:3px;min-width:0}
html body #content#content#content#content .cx-kpi-t>span{font-size:12.5px;font-weight:600;color:var(--muted)}
html body #content#content#content#content .cx-kpi-t strong{display:flex;align-items:baseline;gap:5px;font-size:24px!important;font-weight:750!important;line-height:1.15;letter-spacing:-.02em;color:var(--ink);white-space:nowrap}
html body #content#content#content#content .cx-kpi.t-red-soft .cx-kpi-t strong{color:var(--red)}
html body #content#content#content#content .cx-kpi.t-green .cx-kpi-t strong{color:var(--green)}
html body #content#content#content#content .cx-kpi-t strong small{font-size:12.5px;font-weight:600;color:var(--muted);letter-spacing:0}
html body #content#content#content#content .cx-kpi-t em{font-style:normal;font-size:12px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body #content#content#content#content .cx-card{padding:0!important;border-radius:14px;overflow:hidden}
html body #content#content#content#content .cx-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px 10px}
html body #content#content#content#content .cx-title{display:flex;align-items:center;gap:11px;min-width:0}
html body #content#content#content#content .cx-title h3{margin:0;font-size:16px;font-weight:700;color:var(--ink)}
html body #content#content#content#content .cx-title #cMeta{display:block;margin-top:1px;font-size:12.5px;color:var(--muted)}
html body #content#content#content#content .cx-bar{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:4px 18px 14px;border-bottom:1px solid var(--hair)}
html body #content#content#content#content .cx-segs{display:inline-flex;gap:3px;padding:3px;border-radius:11px;background:var(--field,rgba(127,127,127,.08));border:1px solid var(--hair)}
html body #content#content#content#content .cx-segs .cl-seg{display:inline-flex;align-items:center;gap:7px;background:transparent;border:0;color:var(--muted);cursor:pointer}
html body #content#content#content#content .cx-segs .cl-seg b{display:inline-grid;place-items:center;min-width:20px;height:18px;padding:0 5px;border-radius:6px;background:rgba(127,127,127,.14);font-size:11px;font-weight:700;color:var(--ink-2,var(--ink))}
html body #content#content#content#content .cx-segs .cl-seg.on{background:var(--solid);color:var(--accent);box-shadow:0 1px 3px rgba(0,0,0,.12)}
html body #content#content#content#content .cx-segs .cl-seg.on b{background:rgba(var(--bz-rgb),.14);color:var(--accent)}
html body #content#content#content#content .cx-search{flex:1 1 260px;min-width:200px;margin:0!important}
html body #content#content#content#content .cx-table td{vertical-align:middle}
html body #content#content#content#content .cx-table td .sub{display:block;margin-top:2px}
html body #content#content#content#content .cx-bal{display:inline-flex;flex-direction:column;align-items:flex-end;gap:2px;min-width:110px}
html body #content#content#content#content .cx-bal b{font-size:14px;font-weight:750;white-space:nowrap}
html body #content#content#content#content .cx-bal.neg b{color:var(--red)}
html body #content#content#content#content .cx-bal.pos b{color:var(--green)}
html body #content#content#content#content .cx-limit{display:block;width:100%;height:4px;margin-top:3px;border-radius:3px;background:rgba(127,127,127,.18);overflow:hidden}
html body #content#content#content#content .cx-limit em{display:block;height:100%;border-radius:3px;background:var(--amber)}
html body #content#content#content#content .cx-limit.is-hot em{background:var(--red)}
html body #content#content#content#content .cx-zero{font-size:12.5px;color:var(--muted)}
html body #content#content#content#content .cx-empty{display:flex;flex-direction:column;align-items:center;gap:8px;padding:46px 20px 42px;text-align:center}
html body #content#content#content#content .cx-empty-ic{display:grid;place-items:center;width:58px;height:58px;border-radius:16px;background:rgba(var(--bz-rgb),.12);color:var(--accent)}
html body #content#content#content#content .cx-empty-ic svg{width:26px;height:26px}
html body #content#content#content#content .cx-empty>b{margin-top:4px;font-size:16px;color:var(--ink)}
html body #content#content#content#content .cx-empty>span{max-width:420px;font-size:13px;color:var(--muted);line-height:1.5}
html body #content#content#content#content .cx-empty ol{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:8px 0 6px;padding:0;list-style:none;counter-reset:cx}
html body #content#content#content#content .cx-empty li{display:inline-flex;align-items:center;gap:7px;padding:7px 12px;border:1px solid var(--hair);border-radius:10px;font-size:12.5px;font-weight:600;color:var(--ink-2,var(--ink));counter-increment:cx}
html body #content#content#content#content .cx-empty li::before{content:counter(cx);display:grid;place-items:center;width:18px;height:18px;border-radius:50%;background:rgba(var(--bz-rgb),.14);color:var(--accent);font-size:11px;font-weight:700}
html body #content#content#content#content .cx-empty li svg{width:15px;height:15px;color:var(--muted)}
@media (max-width:1180px){html body #content#content#content#content .cx-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:760px){
  html body #content#content#content#content .cx-kpis{gap:8px}
  html body #content#content#content#content .cx-kpi{flex-direction:column;gap:8px;padding:12px}
  html body #content#content#content#content .cx-kpi-ic{width:32px;height:32px;border-radius:9px}
  html body #content#content#content#content .cx-kpi-t strong{font-size:18px!important;white-space:normal;overflow-wrap:anywhere}
  html body #content#content#content#content .cx-kpi-t em{white-space:normal}
  html body #content#content#content#content .cx-head{padding:14px 14px 8px}
  html body #content#content#content#content .cx-bar{padding:4px 14px 12px}
  html body #content#content#content#content .cx-segs{width:100%;overflow-x:auto;scrollbar-width:none}
  html body #content#content#content#content .cx-segs .cl-seg{flex:1 0 auto;justify-content:center}
  html body #content#content#content#content .cx-bal{align-items:flex-start}
}
html body #content#content#content#content#content#content .cx-segs .cl-seg{padding:0 11px!important;gap:7px!important;white-space:nowrap}
html body #content#content#content#content .cx-bar .list-filter-panel,html body #content#content#content#content .cx-bar>.filter-toggle{flex:none}
html body #content#content#content#content .cx-table .cx-term,html body #content#content#content#content .cx-table td[data-label="Oxirgi buyurtma"]{white-space:nowrap}
html body #content#content#content#content .cx-table .dir-phone{white-space:nowrap}
@media (min-width:761px){html body #content#content#content#content .cx-table :is(.cx-term,td[data-label="Oxirgi buyurtma"]) .sub{white-space:nowrap}}

/* 2.17.98 — ombor harakatlari: harakatdan keyingi qoldiq */
html body #content .wh-moves .wh-after{font-weight:650;color:var(--ink);white-space:nowrap}

/* ════ 2.17.104 — Moliya dasturi palitrasi (egasi: «saytni to‘liq rangini moliya dasturimdan ko‘chir — shadowlar, kartochkalar hammasi»).
   Ranglar 2.17.108 dan Moliya BC kodidan (moliya_bc/index.php tokenlari) olinadi — pastdagi qatlamga qarang, fon #f7f7f5, oq kartochka + 1px chiziq + yumshoq soya.
   Faqat tokenlar va sirt (fon/chiziq/soya) — joylashuv o‘zgarmaydi. ════ */
:root{--accent:#2A63B0;--accent-2:#2A63B0;--accent-ink:#45A8EE;--blue:#5e9bd6;--blue-bg:rgba(94,155,214,.14);--bz-rgb:42,99,176;--gr-accent:linear-gradient(135deg,#2A63B0,#2A63B0);--sh-accent:0 5px 13px rgba(42,99,176,.3);--sh-hero:0 6px 20px rgba(42,99,176,.22)}
:root[data-theme="light"]{--bg:#f7f7f5;--solid:#ffffff;--glass:#ffffff;--glass-2:#ffffff;--card:#ffffff;--field:#f4f4f6;--hover:rgba(18,20,26,.045);
  --ink:#1f2023;--ink-2:#4a4e55;--muted:#656a72;--faint:#656a72;--hair:rgba(18,20,26,.07);--stroke:rgba(18,20,26,.08);--stroke-2:rgba(18,20,26,.14);
  --accent:#2A63B0;--accent-2:#2A63B0;--accent-ink:#2A63B0;--bz-rgb:42,99,176;--gr-accent:linear-gradient(135deg,#2A63B0,#2A63B0);
  --green:#1f9e63;--green-bg:rgba(31,158,99,.12);--red:#cf4a32;--red-bg:rgba(207,74,50,.1);--amber:#b4740a;--amber-bg:rgba(180,116,10,.12);--gold:#a27926;
  --blue:#2A63B0;--blue-bg:rgba(42,99,176,.1);--purple:#6b5fb0;--purple-bg:#efedf7;--teal:#3f8f8a;--teal-bg:#e8f3f2;--orange:#b9692e;--cyan:#3d7f97;
  --surface-shadow:0 4px 14px rgba(18,20,26,.07);--sh-card:0 4px 14px rgba(18,20,26,.07);--sh-pop:0 18px 44px rgba(18,20,26,.14);
  --sh-accent:0 5px 13px rgba(42,99,176,.26);--sh-hero:0 4px 18px rgba(42,99,176,.18)}
/* yon panel va yuqori panel — oq, bitta ingichka chiziq */
html[data-theme="light"] body #sideNav.side{background:#ffffff!important;border-right:1px solid var(--stroke)!important;box-shadow:none!important}
html[data-theme="light"] body .main>header.topbar{background:#ffffff!important;border-bottom:1px solid var(--stroke)!important;box-shadow:none!important}
html[data-theme="light"] body{background:var(--bg)}
/* faol menyu — to‘liq indigo, oq yozuv */
html[data-theme="light"] body #navList [data-page].on{background:var(--accent)!important;color:#fff!important;box-shadow:var(--sh-accent)!important}
html[data-theme="light"] body #navList [data-page].on svg{color:#fff!important}
html[data-theme="light"] body #navList [data-page]:not(.on){color:var(--muted)}
/* kartochkalar — oq, 1px chiziq, yumshoq soya */
html[data-theme="light"] body #content :is(.card,.hb-card):not(.hero-card){background:#ffffff;border:1px solid var(--stroke);box-shadow:var(--sh-card)}
/* tugmalar — asosiy indigo, ostida indigo soya */
html[data-theme="light"] body .btn-p:not(:disabled){background:var(--accent)!important;border-color:var(--accent)!important;color:#fff!important;box-shadow:var(--sh-accent)}
/* jadval sarlavhasi — indigo, oq bosh harflar (moliya «Hisoblar» jadvali kabi) */
html[data-theme="light"] body #content table.tbl>thead>tr>th{background:var(--accent)!important;color:#fff!important;border-bottom:0!important}
html[data-theme="light"] body #content table.tbl>thead>tr>th :is(button,a,span,svg){color:#fff!important}
html[data-theme="light"] body #content table.tbl>thead>tr>th:first-child{border-top-left-radius:10px}
html[data-theme="light"] body #content table.tbl>thead>tr>th:last-child{border-top-right-radius:10px}
html[data-theme="light"] body #content table.tbl>tbody>tr>td{border-bottom-color:var(--stroke)}
/* segment tanlovlar (Hammasi / Faol / Bu oy …) — faoli to‘liq indigo, soni oq yarim-shaffof nishonda (moliya «Naqd hisoblar 7» kabi).
   Faqat haqiqiy segment guruhlari: ko‘rsatkich kartochkalari (cx-kpi, rt-kpi) va sozlamalar menyusi bunga kirmaydi */
html[data-theme="light"] body #content :is(.cx-segs,.cl-segs,.cv-presets,.orders-status,.list-page-size,.report-presets) > button[aria-pressed="true"]{background:var(--accent)!important;color:#fff!important;border-color:var(--accent)!important;box-shadow:0 3px 9px rgba(42,99,176,.24)!important}
html[data-theme="light"] body #content :is(.cx-segs,.cl-segs,.cv-presets,.orders-status,.list-page-size,.report-presets) > button[aria-pressed="true"] :is(b,span,em,small,i,.badge,.n,.cnt,svg){color:#fff!important}
html[data-theme="light"] body #content :is(.cx-segs,.cl-segs,.cv-presets,.orders-status,.list-page-size,.report-presets) > button[aria-pressed="true"] :is(b,span,em,.badge,.n,.cnt):not(:only-child):last-child{background:rgba(255,255,255,.2)!important}
html[data-theme="light"] body #content :is(.cx-segs,.cl-segs,.cv-presets){background:#f1f2f8}
/* tun rejimi: o‘sha indigo urg‘u — faol segment indigo, jadval sarlavhasi indigo tusli */
html:not([data-theme="light"]) body #content :is(.cx-segs,.cl-segs,.cv-presets,.orders-status,.list-page-size,.report-presets) > button[aria-pressed="true"]{background:var(--accent)!important;color:#fff!important;border-color:var(--accent)!important}
html:not([data-theme="light"]) body #content :is(.cx-segs,.cl-segs,.cv-presets,.orders-status,.list-page-size,.report-presets) > button[aria-pressed="true"] :is(b,span,em,small,i,.badge,.n,.cnt,svg){color:#fff!important}
html:not([data-theme="light"]) body #content table.tbl>thead>tr>th{background:#2A63B0!important;color:#ffffff!important}
html:not([data-theme="light"]) body #navList [data-page].on{background:var(--accent)!important;color:#fff!important}
/* planshet / noutbuk (≤1440, yon panel ochiq bo‘lsa ham): mijozlar jadvali sig‘sin — «Holat» va «Amallar» ekrandan chiqib ketmasin (sana va shart ikki qatorga o‘tadi) */
@media (min-width:761px) and (max-width:1440px){
  html body #content#content#content#content#content .cx-table :is(.cx-term,td[data-label="Oxirgi buyurtma"]),
  html body #content#content#content#content#content .cx-table :is(.cx-term,td[data-label="Oxirgi buyurtma"]) .sub{white-space:normal!important}
  html body #content#content#content#content#content .cx-table td[data-label="Oxirgi buyurtma"] .sub,html body #content#content#content#content#content .cx-table .cx-term .sub{max-width:150px}
}
/* planshet / kichik noutbuk: kassa va buyurtmalar jadvali ham sig‘sin — «Amallar» tugmasi ekrandan chiqib ketmasin */
@media (min-width:761px) and (max-width:1440px){
  html body #content#content#content#content#content :is(.cash-table,.orders-table,.production-batch-table,.dir-table) :is(th,td){padding-left:7px!important;padding-right:7px!important}
  html body #content#content#content#content#content :is(.cash-table,.orders-table) :is(th,td):last-child{width:1%!important}
  html:not(.mobile-app) body #content#content#content#content#content .cash-workspace .cash-table td:nth-child(3){min-width:110px}
  html body #content#content#content#content#content .orders-table th:nth-child(2){min-width:120px}
  html body #content#content#content#content#content .cash-table th{white-space:normal}
  html body #content#content#content#content#content .orders-table .prg-lbl{white-space:normal!important}
  html body #content#content#content#content#content .orders-table .order-number{font-size:12.5px!important}
  html body #content#content#content#content#content .orders-table td .badge{white-space:normal!important;text-align:center}
  html body #content#content#content#content#content .orders-table :is(th,td):nth-child(5){min-width:0!important;width:96px!important}
  html body #content#content#content#content#content .orders-table td:nth-child(5) :is(.prg,.prg-lbl){width:auto!important;min-width:0!important;max-width:96px}
}
/* qarzdorlik jadvali: «To‘lov olish» va «Akt» tugmalari ixchamroq — noutbukda o‘ngdan kesilmasin */
@media (min-width:761px) and (max-width:1440px){
  html body #content#content#content#content#content .debt-table td .actions{gap:6px!important;flex-wrap:nowrap!important}
  html body #content#content#content#content#content .debt-table td .actions .btn{padding:0 9px!important;font-size:12.5px!important;gap:5px!important;min-height:32px!important;height:32px!important}
  html body #content#content#content#content#content .debt-table :is(th,td){padding-left:7px!important;padding-right:7px!important}
}
/* amallar jurnali: planshet / noutbukda ustunlar ixchamroq — «Ko‘rish» tugmasi ekrandan chiqmasin */
@media (min-width:761px) and (max-width:1440px){
  html body #content#content#content#content#content#content .journal-table{min-width:0!important;width:100%!important;table-layout:fixed!important}
  html body #content#content#content#content#content#content .journal-table td:nth-child(5){overflow:hidden;overflow-wrap:anywhere;white-space:normal!important}
  html body #content#content#content#content#content#content .journal-table th:nth-child(1){width:92px!important}
  html body #content#content#content#content#content#content .journal-table th:nth-child(2){width:124px!important}
  html body #content#content#content#content#content#content .journal-table th:nth-child(3){width:96px!important}
  html body #content#content#content#content#content#content .journal-table th:nth-child(4){width:124px!important}
  html body #content#content#content#content#content#content .journal-table th:nth-child(6){width:92px!important}
  html body #content#content#content#content#content#content .journal-table th:nth-child(7){width:96px!important}
}
/* ════ 2.17.106 — Tablar qayta chizildi (egasi: «tablarni redesign qil»).
   Avval har sahifada har xil edi (ingichka chiziq / kulrang tugma / indigo tugma). Endi hammasi bitta ko‘rinish:
   oq kartochka-panel (chiziq + yumshoq soya) ichida ikonka + nom + son nishoni; faol tab — to‘liq indigo, oq yozuv.
   Kartochka ichidagi tablar (qarzdorlik) — soyasiz, kulrang fonda. ════ */
html body :is(#content#content#content#content#content#content#content,#modal#modal#modal#modal#modal#modal#modal) .tabs{
  display:inline-flex!important;flex-wrap:nowrap!important;align-items:center;align-self:flex-start!important;gap:4px!important;
  width:fit-content!important;max-width:100%!important;min-height:0!important;height:auto!important;margin:0!important;padding:4px!important;
  background:var(--card)!important;border:1px solid var(--stroke)!important;border-radius:12px!important;box-shadow:var(--sh-card)!important;
  overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:none;overscroll-behavior-x:contain;scroll-padding-inline:8px;visibility:visible;-webkit-mask-image:none!important;mask-image:none!important}
/* katta ekranda tab yashirinib qolmasin: sig‘masa ikkinchi qatorga o‘tadi */
@media (min-width:761px){html body :is(#content#content#content#content#content#content#content,#modal#modal#modal#modal#modal#modal#modal) .tabs{flex-wrap:wrap!important;overflow:visible!important}}
html body :is(#content,#modal) .tabs::-webkit-scrollbar{display:none}
html body :is(#content#content#content#content#content#content#content,#modal#modal#modal#modal#modal#modal#modal) .tabs>button{
  position:relative;display:inline-flex!important;align-items:center;justify-content:center;gap:6px!important;flex:0 0 auto!important;
  width:auto!important;min-width:0!important;height:36px!important;min-height:36px!important;padding:0 12px!important;margin:0!important;
  border:0!important;border-radius:9px!important;background:transparent!important;box-shadow:none!important;
  color:var(--muted)!important;font-size:13px!important;font-weight:600!important;line-height:1!important;white-space:nowrap!important;letter-spacing:0;
  transform:none!important;transition:background-color .18s ease,color .18s ease,box-shadow .18s ease!important;cursor:pointer}
html body :is(#content#content#content#content#content#content#content,#modal#modal#modal#modal#modal#modal#modal) .tabs>button::after{display:none!important}
html body :is(#content#content#content#content#content#content#content,#modal#modal#modal#modal#modal#modal#modal) .tabs>button:hover:not(.on){background:rgba(var(--bz-rgb),.07)!important;color:var(--ink)!important}
html body :is(#content#content#content#content#content#content#content,#modal#modal#modal#modal#modal#modal#modal) .tabs>button.on{background:var(--accent)!important;color:#fff!important;box-shadow:var(--sh-accent)!important}
html body :is(#content#content#content#content#content#content#content,#modal#modal#modal#modal#modal#modal#modal) .tabs>button:focus-visible{outline:2px solid var(--accent)!important;outline-offset:2px!important}
html body :is(#content,#modal) .tabs>button .tab-ic{width:16px;height:16px;flex:none;stroke-width:1.9;opacity:.85;margin:0}
html body :is(#content,#modal) .tabs>button.on .tab-ic{opacity:1}
html body :is(#content,#modal) .tabs>button .tab-n{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 6px;border-radius:10px;
  background:rgba(var(--bz-rgb),.1);color:var(--accent-ink);font-size:11px;font-weight:700;font-variant-numeric:tabular-nums;line-height:1;transition:background-color .18s ease,color .18s ease}
html body :is(#content,#modal) .tabs>button.on .tab-n.tab-n{background:#fff;color:var(--accent)}
html[data-theme="dark"] body :is(#content,#modal) .tabs>button .tab-n{background:rgba(var(--bz-rgb),.22)}
html[data-theme="dark"] body :is(#content#content#content#content#content#content#content,#modal#modal#modal#modal#modal#modal#modal) .tabs>button:hover:not(.on){background:rgba(255,255,255,.06)!important}
/* kartochka ichidagi tablar: soyasiz, kulrang fon */
html body #content#content#content#content#content#content#content .debt-tabs{padding:14px 18px 6px!important;border:0!important;background:none!important}
html body #content#content#content#content#content#content#content .debt-tabs>.tabs{background:var(--field)!important;box-shadow:none!important}
html body #content#content#content#content#content#content#content .debt-tabs:empty{display:none!important}
html body #content#content#content#content#content#content#content .debt-tabs>.tabs>button:hover:not(.on){background:var(--card)!important}
/* telefon va tor ekran: butun kenglik, yonga suriladi */
@media (max-width:760px){
  html body :is(#content#content#content#content#content#content#content,#modal#modal#modal#modal#modal#modal#modal) .tabs{display:flex!important;width:100%!important;align-self:stretch!important}
  html body :is(#content#content#content#content#content#content#content,#modal#modal#modal#modal#modal#modal#modal) .tabs>button{height:40px!important;min-height:40px!important;padding:0 13px!important;font-size:13px!important}
  html body #content#content#content#content#content#content#content .debt-tabs{padding:12px 12px 4px!important}
}
@media (prefers-reduced-motion:reduce){html body :is(#content,#modal) .tabs>button,html body :is(#content,#modal) .tabs>button .tab-n{transition:none!important}}
/* 2.17.106 — Transport → Mixerlar / Haydovchilar telefonda: jadval o‘zi «table» bo‘lib qolib, kartochkalar birinchi ustunga
   (1 px kenglikka) siqilib, matn harfma-harf ustun bo‘lib chiqardi. Jadval blok bo‘ladi, sarlavha yashiriladi;
   haydovchilarda (7 ustun) kartochka joylashuvi alohida */
@media (max-width:760px){
  html body #content#content#content#content#content#content .sup-v2 .tbl{display:block!important;width:100%!important;min-width:0!important}
  html body #content#content#content#content#content#content .sup-v2 .tbl thead{display:none!important}
  html body #content#content#content#content#content#content .sup-v2 .tbl tbody{width:100%!important}
  html body #content#content#content#content#content#content .sup-v2 .tbl tbody tr:has(>td:nth-child(7)) td:nth-child(7){grid-column:2;grid-row:1;justify-self:end;align-self:start}
  html body #content#content#content#content#content#content .sup-v2 .tbl tbody tr:has(>td:nth-child(7)) td:nth-child(2){grid-column:1;grid-row:2;padding-left:47px!important;font-size:13px;color:var(--ink);text-align:left!important}
  html body #content#content#content#content#content#content .sup-v2 .tbl tbody tr:has(>td:nth-child(7)) td:nth-child(6){grid-column:2;grid-row:2;justify-self:end}
  html body #content#content#content#content#content#content .sup-v2 .tbl tbody tr:has(>td:nth-child(7)) td:nth-child(3){grid-column:1 / -1;grid-row:3;padding-left:47px!important;font-size:13px;color:var(--ink);text-align:left!important}
  html body #content#content#content#content#content#content .sup-v2 .tbl tbody tr:has(>td:nth-child(7)) td:nth-child(4){grid-column:1;grid-row:4;padding-left:47px!important;text-align:left!important;justify-self:start}
  html body #content#content#content#content#content#content .sup-v2 .tbl tbody tr:has(>td:nth-child(7)) td:nth-child(5){grid-column:2;grid-row:4;justify-self:end;text-align:right!important}
  html body #content#content#content#content#content#content .sup-v2 .tbl tbody td:is([data-label="Bugun"],[data-label="Shu oy"])::before{content:attr(data-label);display:block!important;margin:0 0 2px;font-size:11px;font-weight:600;color:var(--muted);text-transform:none;letter-spacing:0}
}
@media (max-width:760px){html body #content#content#content#content#content#content .sup-v2 .tbl tbody tr:has(>td:nth-child(7)) td:nth-child(3)::before{content:attr(data-label) ': ';display:inline!important;font-size:12px;font-weight:600;color:var(--muted)}}
/* telefon ilovasi: «Bo‘limlar» yig‘ma paneli yopiq bo‘lsa tablar ko‘rinmaydi, ochilganda — sarlavhadan biroz pastda */
html.mobile-app body #content#content#content#content#content#content#content#content .m-secondary-nav:not([open])>.tabs{display:none!important}
html.mobile-app body #content#content#content#content#content#content#content#content .m-secondary-nav[open]>.tabs{margin-top:8px!important}

/* ════ 2.17.108 — Ranglar Moliya BC kodidan (egasi: «rangni moliya bcdan ol»).
   Manba: moliya_bc/index.php — :root (tun) va [data-theme="light"] (kun) tokenlari, aynan o‘sha qiymatlar.
   Avvalgi indigo #485bac skrinshotdan o‘lchangan edi — ekran rang profili ranglarni xiralashtirgan; asl urg‘u — ko‘k #2A63B0. ════ */
html:not(.mobile-app):not([data-theme="light"]){
  --bg:#191919;--solid:#222222;--card:#222222;--glass:rgba(255,255,255,.045);--glass-2:rgba(255,255,255,.07);
  --field:#2b2b2b;--field-bg:#2b2b2b;--hover:rgba(255,255,255,.07);--stroke:rgba(255,255,255,.09);--stroke-2:rgba(255,255,255,.16);--hair:rgba(255,255,255,.09);
  --ink:#ececec;--ink-2:#c4c4c4;--muted:#8f8f8f;--faint:#8f8f8f;
  --accent:#2A63B0;--accent-2:#45A8EE;--accent-ink:#45A8EE;--bz-rgb:69,168,238;--gr-accent:linear-gradient(135deg,#2A63B0,#2A63B0);
  --green:#58c08d;--green-bg:rgba(88,192,141,.13);--amber:#d9a24e;--amber-bg:rgba(217,162,78,.14);--red:#e0705a;--red-bg:rgba(224,112,90,.13);
  --blue:#5e9bd6;--blue-bg:rgba(94,155,214,.14);--purple:#a78bda;--teal:#4fb8a6;--cyan:#5ec2d6;
  --sh-card:0 4px 14px rgba(0,0,0,.42);--surface-shadow:0 4px 14px rgba(0,0,0,.42);--sh-accent:0 5px 13px rgba(69,168,238,.3)}
html:not(.mobile-app)[data-theme="light"]{
  --bg:#f7f7f5;--solid:#ffffff;--card:#ffffff;--glass:#ffffff;--glass-2:#ffffff;
  --hover:rgba(18,20,26,.06);--stroke:rgba(18,20,26,.08);--stroke-2:rgba(18,20,26,.14);
  --ink:#1f2023;--ink-2:#4a4e55;--muted:#656a72;--faint:#656a72;
  --accent:#2A63B0;--accent-2:#2A63B0;--accent-ink:#2A63B0;--bz-rgb:42,99,176;--gr-accent:linear-gradient(135deg,#2A63B0,#2A63B0);
  --green:#1f9e63;--green-bg:rgba(31,158,99,.12);--amber:#b4740a;--amber-bg:rgba(180,116,10,.12);--red:#cf4a32;--red-bg:rgba(207,74,50,.1);
  --blue:#2A63B0;--blue-bg:rgba(42,99,176,.1);
  --sh-card:0 4px 14px rgba(18,20,26,.07);--surface-shadow:0 4px 14px rgba(18,20,26,.07);--sh-accent:0 5px 13px rgba(42,99,176,.26)}
/* menyuda tanlangan bo‘lim — Moliya .side-item.on: ko‘k, oq yozuv, 0 6px 16px soya */
html body #sideNav nav a.on{box-shadow:0 6px 16px rgba(var(--bz-rgb),.32)!important}
/* ════ 2.17.109 — Yuklanish ekrani: chiziq o‘rniga logo-loader (egasi: «loading o‘rniga logo iconidan foydalanib loader yasa»).
   Logo 7 ta kichik beton kubikdan iborat — ular pastdan yuqoriga birin-ketin tushib logoni «quradi», ustidan yaltiroq o‘tadi,
   keyin kubiklar pastga so‘nib ketadi va qayta quriladi. Harakatni kamaytirish yoqilgan bo‘lsa — tayyor logo, harakatsiz. ════ */
#bootLoader .boot-brand-orbit{width:76px!important;height:76px!important;margin-bottom:22px!important}
#bootLoader .boot-logo{display:block;width:76px;height:76px;overflow:visible;filter:drop-shadow(0 10px 22px rgba(42,99,176,.28))}
#bootLoader .boot-cube{animation:bootCube 2.8s cubic-bezier(.3,.75,.3,1) calc(var(--i) * .12s) infinite both;will-change:transform,opacity}
#bootLoader .boot-shine{animation:bootShine 2.8s ease-in-out infinite both}
@keyframes bootCube{
  0%{opacity:0;transform:translateY(-170px)}
  12%{opacity:1;transform:translateY(0)}
  15%{transform:translateY(-10px)}
  18%,70%{opacity:1;transform:translateY(0)}
  82%,100%{opacity:0;transform:translateY(36px)}}
@keyframes bootShine{0%,38%{transform:translateX(0)}62%,100%{transform:translateX(1000px)}}
/* telefon ilovasida bootLoader ichidagi barcha animatsiyalar o‘chirilgan — logo-loader bundan mustasno */
@media (prefers-reduced-motion:no-preference){
  html.mobile-app body #bootLoader#bootLoader#bootLoader#bootLoader#bootLoader .boot-cube{animation:bootCube 2.8s cubic-bezier(.3,.75,.3,1) calc(var(--i) * .12s) infinite both!important}
  html.mobile-app body #bootLoader#bootLoader#bootLoader#bootLoader#bootLoader .boot-shine{animation:bootShine 2.8s ease-in-out infinite both!important}
}
@media (prefers-reduced-motion:reduce){
  html body #bootLoader#bootLoader#bootLoader#bootLoader#bootLoader .boot-cube{animation:none!important;opacity:1!important;transform:none!important}
  html body #bootLoader#bootLoader#bootLoader#bootLoader#bootLoader .boot-shine{animation:none!important;display:none}
}
#bootLoader.hide :is(.boot-cube,.boot-shine){animation-play-state:paused}
/* ════ 2.17.110 — Bo‘limlar orasidagi loader ham logo-loader (egasi: «bo‘limlar orasidagi loaderga ham shuni qo‘y»).
   Aylanuvchi halqa o‘rniga — yuklanish ekranidagi kabi kubiklar logoni quradi (bootCube / bootShine kadrlari) ════ */
.logo-loader{position:relative;display:inline-grid;place-items:center;flex:none;width:48px;height:48px}
.logo-loader .logo-loader-svg{display:block;width:100%;height:100%;overflow:visible}
.logo-loader .boot-cube{animation:bootCube 2.8s cubic-bezier(.3,.75,.3,1) calc(var(--i) * .12s) infinite both;will-change:transform,opacity}
.logo-loader .boot-shine{animation:bootShine 2.8s ease-in-out infinite both}
.section-loading-card .section-loading-logo{width:58px;height:58px;margin:4px 0 12px;filter:drop-shadow(0 8px 18px rgba(var(--bz-rgb),.26))}
@media (prefers-reduced-motion:reduce){
  .logo-loader .boot-cube{animation:none!important;opacity:1!important;transform:none!important}
  .logo-loader .boot-shine{animation:none!important;display:none}
}
/* 2.17.111 — bo‘limlar orasidagi loader kartochkasiz (egasi: «kartochkani olib tashla loaderni»):
   oq kartochka, chiziq va soya yo‘q — xira fon ustida faqat logo-loader. «Yuklanmoqda…» yozuvi ekran o‘qiydigan dasturlar uchun qoladi, ko‘zga ko‘rinmaydi */
html body .section-loading-overlay .section-loading-card{min-width:0!important;padding:0!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;gap:0!important}
html body .section-loading-overlay .section-loading-card .section-loading-logo{width:64px!important;height:64px!important;margin:0!important}
html body .section-loading-overlay .section-loading-card>:is(strong,span:last-child){position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important}


/* ════ 2.17.113 — Bosh sahifa 3 ustunda (egasi bergan namuna bo‘yicha): chap — ko‘k balans kartasi, tezkor amallar, reja jarayoni, ombor;
   o‘rta — 3 ko‘rsatkich, 14 kunlik statistika, bugungi reja jadvali; o‘ng — oy tahlili (doira), oy natijasi, faollik.
   Ranglar — Moliya BC tokenlari. Telefon ilovasi (mobile.php) o‘z bosh sahifasini ishlatadi ════ */
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd{gap:16px!important}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .hd-head h1{font-size:22px!important;font-weight:780!important}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;align-items:start}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-grid.has-l.has-m.has-r{grid-template-columns:minmax(240px,.9fr) minmax(0,2fr) minmax(270px,1.05fr)}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-grid.has-l.has-m:not(.has-r){grid-template-columns:minmax(240px,.9fr) minmax(0,2.2fr)}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-grid.has-m.has-r:not(.has-l){grid-template-columns:minmax(0,2fr) minmax(270px,1fr)}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd :is(.fd-col-l,.fd-col-m,.fd-col-r){display:flex;flex-direction:column;gap:16px;min-width:0}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-card{min-width:0;padding:16px;border:1px solid var(--stroke);border-radius:18px;background:var(--solid);box-shadow:var(--sh-card)}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:12px}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-head>div{min-width:0}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-head h3{display:flex;align-items:center;gap:9px;margin:0!important;font-size:15px!important;font-weight:750!important;letter-spacing:-.01em;color:var(--ink)}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-hico{display:grid;place-items:center;width:28px;height:28px;flex:none;border-radius:9px;background:rgba(var(--bz-rgb),.1);color:var(--accent-ink)}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-hico svg{width:15px;height:15px}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-head>div>span{display:block;margin:2px 0 0 37px;font-size:12px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-link{display:inline-flex;align-items:center;gap:5px;flex:none;height:28px;padding:0 10px;border:1px solid var(--stroke);border-radius:9px;background:var(--solid);color:var(--accent-ink);font:600 12px/1 var(--font);cursor:pointer;white-space:nowrap;transition:background .15s ease}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-link:hover{background:rgba(var(--bz-rgb),.08)}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-link svg{width:13px;height:13px}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-empty{margin:0;padding:12px 0;font-size:13px;color:var(--muted);text-align:center}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-track{position:relative;height:8px;border-radius:6px;background:repeating-linear-gradient(90deg,rgba(var(--bz-rgb),.28) 0 3px,transparent 3px 6px);overflow:visible}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-track>i{position:relative;display:block;height:100%;border-radius:6px;background:var(--accent);min-width:0}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-track>i:not([style*="width:0%"])::after{content:"";position:absolute;right:-5px;top:50%;width:12px;height:12px;border-radius:50%;background:var(--accent);border:2px solid var(--solid);box-shadow:0 1px 3px rgba(0,0,0,.18);transform:translateY(-50%)}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-track>em{display:none}
/* ko‘k balans kartasi (namunadagi bank kartasi o‘rnida) */
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-balance{position:relative;display:flex;flex-direction:column;align-items:stretch;gap:6px;width:100%;min-height:168px;padding:18px;border:1px solid rgba(255,255,255,.14);border-radius:18px;background:linear-gradient(150deg,#2f66b2 0%,#2A63B0 50%,#214b88 100%);box-shadow:0 10px 26px rgba(42,99,176,.28);color:#fff;font:inherit;text-align:left;cursor:pointer;overflow:hidden;transition:transform .18s ease,box-shadow .18s ease}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-balance:hover{transform:translateY(-2px);box-shadow:0 14px 32px rgba(42,99,176,.36)}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-bal-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-bal-chip{display:grid;place-items:center;width:38px;height:30px;border-radius:8px;background:rgba(255,255,255,.18);box-shadow:inset 0 0 0 1px rgba(255,255,255,.24)}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-bal-chip svg{width:17px;height:17px}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-bal-ring{position:absolute;right:-26px;top:-26px;width:116px;height:116px;border-radius:50%;background:radial-gradient(circle,rgba(255,255,255,.95) 0 9px,rgba(42,99,176,1) 9px 14px,rgba(255,255,255,.95) 14px 17px,transparent 17px),repeating-radial-gradient(circle,rgba(255,255,255,.10) 0 8px,rgba(255,255,255,.03) 8px 16px);pointer-events:none}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-bal-ring i{display:none}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-bal-lbl{font-size:12.5px;font-weight:600;color:rgba(255,255,255,.92)}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-balance>strong{font-size:27px;font-weight:800;letter-spacing:-.03em;line-height:1.1;white-space:nowrap;font-variant-numeric:tabular-nums;color:#fff}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-balance>strong small{margin-left:5px;font-size:.45em;font-weight:650;color:rgba(255,255,255,.9)}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-bal-foot{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:auto;padding-top:10px}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-bal-foot>span{display:flex;flex-direction:column;min-width:0}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-bal-foot small{font-size:11px;font-weight:600;color:rgba(255,255,255,.88);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-bal-foot b{font-size:13px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-variant-numeric:tabular-nums}
/* tezkor amallar */
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-quick{display:grid;grid-template-columns:repeat(var(--n),minmax(0,1fr));gap:4px;padding:6px;border-radius:16px;background:rgba(var(--bz-rgb),.08)}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-quick>button{display:flex;flex-direction:column;align-items:center;gap:6px;min-width:0;padding:8px 4px;border:0;border-radius:12px;background:none;color:var(--ink-2);font:600 11.5px/1.2 var(--font);text-align:center;cursor:pointer;transition:background .15s ease}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-quick>button:hover{background:var(--solid)}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-quick>button>span{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:var(--solid);border:1px solid var(--stroke);color:var(--accent-ink)}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-quick>button svg{width:17px;height:17px}
/* reja jarayoni */
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-limit .fd-head{margin-bottom:14px}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-limit-foot{display:flex;justify-content:space-between;gap:8px;margin-top:10px;font-size:12px;color:var(--muted)}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-limit-foot b{color:var(--ink);font-weight:700}
/* ombor */
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-stock-list{display:flex;flex-direction:column;gap:8px;max-height:440px;overflow:auto;margin:0 -4px;padding:0 4px}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-mat{display:flex;flex-direction:column;gap:8px;padding:10px 12px;border:1px solid var(--stroke);border-radius:12px}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-mat-top{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:13px;font-weight:650;color:var(--ink)}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-mat-top>span{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-mat-top em{flex:none;padding:1px 7px;border-radius:999px;background:var(--amber-bg);color:var(--amber);font:700 10.5px/1.6 var(--font);font-style:normal}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-mat.is-empty .fd-mat-top em{background:var(--red-bg);color:var(--red)}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-mat .fd-track{height:6px;background:repeating-linear-gradient(90deg,rgba(31,158,99,.28) 0 3px,transparent 3px 6px)}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-mat .fd-track>i,html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-mat .fd-track>i::after{background:var(--green)}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-mat.is-low .fd-track{background:repeating-linear-gradient(90deg,rgba(180,116,10,.3) 0 3px,transparent 3px 6px)}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-mat.is-low .fd-track>i,html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-mat.is-low .fd-track>i::after{background:var(--amber)}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-mat.is-empty .fd-track{background:repeating-linear-gradient(90deg,rgba(207,74,50,.3) 0 3px,transparent 3px 6px)}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-mat .fd-track>i::after{width:10px;height:10px;right:-4px}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-mat-foot{display:flex;justify-content:space-between;gap:8px;font-size:12px;color:var(--muted)}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-mat-foot b{color:var(--ink);font-weight:700;font-variant-numeric:tabular-nums}
/* ko‘rsatkichlar */
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-kpis{display:grid;grid-template-columns:repeat(var(--n),minmax(0,1fr));gap:16px}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-kpi{display:flex;flex-direction:column;gap:6px;min-width:0;padding:14px 16px;border:1px solid var(--stroke);border-radius:18px;background:var(--solid);box-shadow:var(--sh-card);color:var(--ink);font:inherit;text-align:left;transition:transform .18s ease,box-shadow .18s ease}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd button.fd-kpi{cursor:pointer}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd button.fd-kpi:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(18,20,26,.10)}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-kpi.t-green{--t:var(--green);--tb:var(--green-bg)}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-kpi.t-blue{--t:var(--accent-ink);--tb:rgba(var(--bz-rgb),.1)}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-kpi.t-teal{--t:#0e9384;--tb:rgba(14,147,132,.12)}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-kpi.t-red{--t:var(--red);--tb:var(--red-bg)}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-kpi.t-amber{--t:var(--amber);--tb:var(--amber-bg)}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-kpi.t-ind{--t:var(--accent-ink);--tb:rgba(var(--bz-rgb),.1)}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-kpi-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:4px}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-kpi-ico{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:var(--tb);color:var(--t)}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-kpi-ico svg{width:17px;height:17px}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-kpi-go{display:grid;place-items:center;width:26px;height:26px;border-radius:8px;color:var(--muted)}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-kpi-go svg{width:14px;height:14px}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-kpi-lbl{font-size:12.5px;font-weight:600;color:var(--muted)}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-kpi>strong{font-size:23px;font-weight:800;letter-spacing:-.03em;line-height:1.15;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-variant-numeric:tabular-nums}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-kpi.t-red>strong{color:var(--red)}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-kpi>strong small{margin-left:4px;font-size:.5em;font-weight:650;color:var(--muted)}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-kpi-foot{display:flex;align-items:center;flex-wrap:wrap;gap:4px 8px;font-size:12px;color:var(--muted)}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-kpi-foot>span:last-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-delta{flex:none;font-size:11.5px;font-weight:700;color:var(--muted)}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-delta.is-up{color:var(--green)}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-delta.is-down{color:var(--red)}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-warn{color:var(--red);font-weight:650}
/* statistika */
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-stat-acts{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-seg{display:inline-flex;gap:2px;padding:3px;border-radius:10px;background:var(--field)}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-seg>button{height:26px;padding:0 10px;border:0;border-radius:8px;background:none;color:var(--muted);font:600 12px/1 var(--font);cursor:pointer;white-space:nowrap}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-seg>button[aria-selected="true"]{background:var(--accent);color:#fff;box-shadow:0 2px 6px rgba(var(--bz-rgb),.25)}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-stat-sum{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:8px}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-stat-sum small{display:block;font-size:12px;color:var(--muted)}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-stat-sum b{display:block;font-size:24px;font-weight:800;letter-spacing:-.03em;font-variant-numeric:tabular-nums}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-legend{display:flex;gap:14px;font-size:12px;font-weight:600;color:var(--ink-2)}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-legend>span{display:inline-flex;align-items:center;gap:6px}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-legend i{width:10px;height:10px;border-radius:3px}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd :is(.fd-legend .c-a i,.fd-bars i.c-a,.fd-tip em.c-a){background:var(--accent)}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd :is(.fd-legend .c-b i,.fd-bars i.c-b,.fd-tip em.c-b){background:#9FBDE6}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-chart{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px;height:210px}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-axis{display:flex;flex-direction:column;justify-content:space-between;padding-bottom:20px;font-size:10.5px;color:var(--muted);text-align:right;white-space:nowrap}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-cols{display:grid;grid-template-columns:repeat(14,minmax(0,1fr));gap:4px;background:linear-gradient(var(--hair),var(--hair)) 0 0/100% 1px no-repeat,linear-gradient(var(--hair),var(--hair)) 0 calc(50% - 10px)/100% 1px no-repeat,linear-gradient(var(--hair),var(--hair)) 0 calc(100% - 20px)/100% 1px no-repeat}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-col{position:relative;display:flex;flex-direction:column;min-width:0;border-radius:8px;outline:none}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-col:hover,html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-col:focus-visible{background:rgba(var(--bz-rgb),.06)}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-bars{flex:1;display:flex;align-items:flex-end;justify-content:center;gap:3px;min-height:0}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-bars i{display:block;width:min(14px,42%);height:var(--h);border-radius:5px 5px 2px 2px}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-bars i.is-zero{background:var(--hair)!important}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-col small{height:20px;line-height:20px;font-size:10.5px;color:var(--muted);text-align:center}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-col.is-now small{color:var(--accent-ink);font-weight:800}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-tip{position:absolute;bottom:calc(100% - 26px);left:50%;z-index:3;display:none;flex-direction:column;gap:4px;min-width:150px;padding:8px 10px;border:1px solid var(--stroke);border-radius:10px;background:var(--solid);box-shadow:var(--sh-pop,0 12px 30px rgba(0,0,0,.14));font-size:11.5px;color:var(--muted);transform:translateX(-50%);pointer-events:none}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-tip>b{color:var(--ink);font-size:12px}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-tip>span{display:flex;align-items:center;gap:6px}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-tip>span em{width:8px;height:8px;border-radius:2px}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-tip>span b{margin-left:auto;color:var(--ink);font-variant-numeric:tabular-nums}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-col:is(:hover,:focus-visible) .fd-tip{display:flex}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-col:nth-child(-n+2) .fd-tip{left:0;transform:none}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-col:nth-last-child(-n+2) .fd-tip{left:auto;right:0;transform:none}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-chart.is-empty .fd-cols{opacity:.55}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-chart-empty{position:absolute;left:50%;top:42%;display:flex;align-items:center;gap:8px;margin:0;padding:7px 12px;border:1px solid var(--stroke);border-radius:10px;background:var(--solid);box-shadow:var(--sh-card);font-size:12.5px;color:var(--muted);white-space:nowrap;transform:translate(-50%,-50%)}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-chart-empty svg{width:15px;height:15px;color:var(--accent-ink)}
/* reja jadvali */
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-table-wrap{overflow-x:auto;margin:0 -4px}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-table{width:100%;border-collapse:separate;border-spacing:0;font-size:13px}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-table th{padding:8px 10px!important;border:0!important;background:rgba(var(--bz-rgb),.07)!important;color:var(--ink-2)!important;font:600 11.5px/1.3 var(--font)!important;text-align:left;text-transform:none!important;letter-spacing:0!important;white-space:nowrap}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-table th:first-child{border-radius:9px 0 0 9px}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-table th:last-child{border-radius:0 9px 9px 0}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-table td{padding:9px 10px;border-bottom:1px solid var(--hair);vertical-align:middle}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-table tr:last-child td{border-bottom:0}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-table :is(th,td).num{text-align:right}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-table td b{display:block;font-weight:650;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:220px}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-table td small{display:block;margin-top:1px;font-size:11.5px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:220px}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-table tbody tr{cursor:pointer;transition:background .12s ease}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-table tbody tr:hover td{background:var(--field)}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-tag{display:inline-block;padding:2px 8px;border-radius:999px;background:rgba(var(--bz-rgb),.1);color:var(--accent-ink);font-size:11.5px;font-weight:700;white-space:nowrap}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-more{margin:8px 0 0;font-size:12px;color:var(--muted);text-align:center}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-plan-empty{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-plan-empty>span{display:grid;place-items:center;width:38px;height:38px;flex:none;border-radius:11px;background:rgba(var(--bz-rgb),.1);color:var(--accent-ink)}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-plan-empty>span svg{width:18px;height:18px}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-plan-empty>div{display:flex;flex-direction:column;gap:2px;flex:1;min-width:180px}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-plan-empty b{font-size:14px}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-plan-empty small{font-size:12.5px;color:var(--muted)}
/* oy tahlili — doira diagramma */
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-tabs{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;margin:-4px 0 14px;border-bottom:1px solid var(--hair)}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-tabs>button{height:32px;border:0;border-bottom:2px solid transparent;background:none;color:var(--muted);font:600 12.5px/1 var(--font);cursor:pointer}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-tabs>button[aria-selected="true"]{border-bottom-color:var(--accent);color:var(--accent-ink)}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-donut{position:relative;width:168px;height:168px;margin:0 auto 16px;border-radius:50%}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-donut>span{position:absolute;inset:24px;display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:50%;background:var(--solid);text-align:center}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-donut small{font-size:11px;color:var(--muted)}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-donut b{max-width:100px;font-size:16px;font-weight:800;letter-spacing:-.02em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-legend-list{display:flex;flex-direction:column;gap:2px;margin:0;padding:0;list-style:none}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-legend-list li{display:grid;grid-template-columns:22px minmax(0,1fr) auto;align-items:center;gap:10px;padding:6px 0;font-size:13px}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-legend-list i{width:22px;height:18px;border-radius:5px}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-legend-list span{min-width:0;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-legend-list span small{margin-left:6px;font-weight:500;color:var(--muted)}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-legend-list b{font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap}
/* oy natijasi */
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-line{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 0;border-top:1px solid var(--hair);font-size:13.5px}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-head+.fd-line{border-top:0}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-line>b{font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-line>b.neg{color:var(--red)}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-line.is-total{margin-top:4px;padding:10px 12px;border:0;border-radius:11px;background:rgba(var(--bz-rgb),.08);font-weight:700}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-line.is-total>b{font-size:15.5px}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-line.is-total>b.pos{color:var(--green)}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-overdue{display:flex;align-items:center;gap:8px;width:100%;margin-top:10px;padding:8px 10px;border:1px solid color-mix(in srgb,var(--red) 22%,transparent);border-radius:10px;background:var(--red-bg);color:var(--red);font:600 12.5px/1.3 var(--font);text-align:left;cursor:pointer}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-overdue>span{flex:1}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-overdue svg{width:15px;height:15px;flex:none}
/* faollik */
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-day{margin:-4px 0 6px;font-size:12.5px;font-weight:700;color:var(--ink-2)}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-feed{display:flex;flex-direction:column;margin:0;padding:0;list-style:none}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-feed li{display:grid;grid-template-columns:32px minmax(0,1fr) auto;align-items:center;gap:10px;padding:7px 0}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-feed-ico{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;border:1px solid var(--stroke);background:var(--field);color:var(--accent-ink)}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-feed-ico.t-green{color:var(--green)}html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-feed-ico.t-red{color:var(--red)}html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-feed-ico.t-amber{color:var(--amber)}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-feed-ico svg{width:15px;height:15px}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-feed li>span:nth-child(2){display:flex;flex-direction:column;min-width:0}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-feed b{font-size:13px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-feed small{font-size:11.5px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-feed time{font-size:11.5px;color:var(--muted);font-variant-numeric:tabular-nums}
/* moslashuv */
@media (max-width:1320px){html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-grid.has-l.has-m.has-r{grid-template-columns:minmax(230px,.85fr) minmax(0,2fr)}html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-grid.has-l.has-m.has-r>.fd-col-r{grid-column:1/-1;display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));align-items:start}}
@media (max-width:1180px){html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-kpis{gap:12px}html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-kpi>strong{font-size:20px}}
@media (max-width:980px){html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-grid,html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-grid[class]{grid-template-columns:minmax(0,1fr)!important}html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-col-l{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));align-items:start}html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-col-r{grid-column:auto!important}}
@media (max-width:760px){html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-kpis>.fd-kpi:last-child:nth-child(odd){grid-column:1/-1}html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-kpi{padding:12px}html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-kpi>strong{font-size:18px}html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-kpi-foot>span:last-child{display:none}html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-head>div>span{margin-left:0}html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-chart{height:170px}html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-axis{display:none}html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-chart{grid-template-columns:minmax(0,1fr)}html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-stat-acts{justify-content:flex-start}html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-head{flex-wrap:wrap}html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd.has-mobile-hero :is(.fd-balance,.fd-quick){display:none!important}}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-grid.has-l.has-m.has-r{grid-template-columns:minmax(218px,.78fr) minmax(0,2.2fr) minmax(250px,.95fr)}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-col-l .fd-link{width:28px;padding:0;justify-content:center}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-col-l .fd-link-t{display:none}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-kpis{gap:12px}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-kpi{padding:13px 14px}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-kpi>strong{font-size:21px}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-kpi>strong small{display:inline-block}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-head h3{white-space:nowrap}
@media (max-width:1320px){html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-grid.has-l.has-m.has-r{grid-template-columns:minmax(220px,.8fr) minmax(0,2fr)}}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-col-r .fd-link{width:28px;padding:0;justify-content:center}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-col-r .fd-link-t{display:none}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-table td:first-child b,html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-table td:first-child small{max-width:260px}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-table td:not(:first-child){white-space:nowrap}
@media (max-width:760px){html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-col-m{order:-1}}

/* ════ 2.17.114 — Bosh sahifa ixcham va bitta ekranga sig‘adi (egasi: «ixcham qilib, qolgan kartochkalarni ham joylashtir, 1 ta ekranga sig‘adigan qil»).
   Kartalar kichraydi; keng ekranda to‘r ekran pastigacha, uzun ro‘yxatlar karta ichida aylanadi; «Bugungi holat» va «Muddati o‘tgan qarzlar» qaytdi ════ */
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd{gap:10px!important}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .hd-head{gap:8px 14px!important}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .hd-head h1{font-size:19px!important}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .hd-head p{margin:0!important;font-size:12.5px!important}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .hd-alerts{flex-wrap:nowrap!important;overflow-x:auto;scrollbar-width:none;gap:6px!important;padding:5px 6px!important;border-radius:12px!important}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .hd-alerts::-webkit-scrollbar{display:none}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .hd-alerts .hd-alerts-t{flex:none;font-size:11.5px!important}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .hd-alerts .home-alert{flex:none!important;padding:4px 10px!important;border-radius:9px!important}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .hd-alerts .home-alert b{font-size:12.5px!important}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .hd-alerts .home-alert small{font-size:11px!important}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-grid{gap:12px}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd :is(.fd-col-l,.fd-col-m,.fd-col-r){gap:12px}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-card{padding:12px 14px;border-radius:14px}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-head{margin-bottom:8px}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-head h3{font-size:14px!important;gap:8px}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-hico{width:24px;height:24px;border-radius:8px}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-hico svg{width:14px;height:14px}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-head>div>span{margin:1px 0 0 32px;font-size:11.5px}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-link{height:26px;font-size:11.5px}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd :is(.fd-col-l,.fd-col-r) .fd-link{width:26px}
/* chap */
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-balance{min-height:0;gap:3px;padding:13px 14px;border-radius:14px}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-bal-top{margin-bottom:4px}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-bal-chip{width:32px;height:26px}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-bal-ring{width:92px;height:92px;right:-22px;top:-22px}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-balance>strong{font-size:22px}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-bal-foot{padding-top:6px}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-bal-foot b{font-size:12.5px}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-quick{padding:4px;border-radius:12px}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-quick>button{gap:4px;padding:5px 2px;font-size:11px}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-quick>button>span{width:28px;height:28px;border-radius:9px}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-quick>button svg{width:15px;height:15px}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-limit .fd-head{margin-bottom:10px}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-limit-foot{margin-top:7px}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-stock-list{gap:6px}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-mat{gap:5px;padding:7px 10px;border-radius:10px}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-mat-top{font-size:12.5px}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-mat-foot{font-size:11.5px}
/* o‘rta: gorizontal ko‘rsatkichlar */
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-kpis{gap:10px}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-kpi{flex-direction:row;align-items:center;gap:10px;padding:10px 12px;border-radius:14px}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-kpi-ico{flex:none;width:36px;height:36px;border-radius:11px}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-kpi-body{display:flex;flex-direction:column;gap:1px;min-width:0;flex:1}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-kpi-lbl{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-kpi>.fd-kpi-body>strong{font-size:18px;font-weight:800;letter-spacing:-.02em;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-variant-numeric:tabular-nums}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-kpi.t-red>.fd-kpi-body>strong{color:var(--red)}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-kpi>.fd-kpi-body>strong small{margin-left:3px;font-size:.55em;font-weight:650;color:var(--muted)}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-kpi-foot{flex-wrap:nowrap;gap:6px;font-size:11px;white-space:nowrap;overflow:hidden}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-kpi-foot>span:last-child{overflow:hidden;text-overflow:ellipsis}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-delta{font-size:11px}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-stat-sum{margin-bottom:4px}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-stat-sum b{font-size:19px}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-seg>button{height:24px;font-size:11.5px}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-chart{height:170px}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-table td{padding:7px 10px}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-table th{padding:6px 10px!important}
/* o‘ng */
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-ops-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-op{display:flex;align-items:center;gap:8px;min-width:0;padding:8px;border:1px solid var(--stroke);border-radius:11px;background:var(--solid);color:var(--ink);font:inherit;text-align:left}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd button.fd-op{cursor:pointer;transition:background .15s ease}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd button.fd-op:hover{background:var(--field)}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-op-ico{display:grid;place-items:center;width:28px;height:28px;flex:none;border-radius:8px;background:rgba(var(--bz-rgb),.1);color:var(--accent-ink)}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-op-ico svg{width:14px;height:14px}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-op>span:last-child{display:flex;flex-direction:column;min-width:0}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-op small{font-size:11px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-op b{font-size:13.5px;font-weight:750;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-variant-numeric:tabular-nums}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-op em{font-style:normal;font-size:10.5px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-line{padding:6px 0;font-size:13px}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-line.is-total{margin-top:3px;padding:7px 10px}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-line.is-total>b{font-size:14.5px}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-tabs{margin:-2px 0 10px}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-tabs>button{height:28px;font-size:12px}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-donut-pane{display:grid;grid-template-columns:104px minmax(0,1fr);align-items:center;gap:12px}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-donut{width:104px;height:104px;margin:0}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-donut>span{inset:16px}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-donut b{max-width:66px;font-size:12.5px}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-donut small{font-size:10px}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-legend-list li{grid-template-columns:12px minmax(0,1fr) auto;gap:7px;padding:3px 0;font-size:12px}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-legend-list i{width:12px;height:12px;border-radius:3px}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-legend-list span small{display:none}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-debt{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;padding:7px 0;border:0;border-top:1px solid var(--hair);background:none;color:var(--ink);font:inherit;text-align:left;cursor:pointer}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-debt:first-child{border-top:0}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-debt>span{display:flex;flex-direction:column;min-width:0}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-debt>span b{font-size:13px;font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-debt small{font-size:11px;color:var(--muted)}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-debt>b{flex:none;font-size:13px;color:var(--red);font-variant-numeric:tabular-nums}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-debt:hover>span b{color:var(--accent-ink)}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-day{margin:-2px 0 2px;font-size:12px}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-feed li{grid-template-columns:28px minmax(0,1fr) auto;gap:8px;padding:5px 0}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-feed-ico{width:28px;height:28px;border-radius:8px}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-feed-ico svg{width:13px;height:13px}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-feed b{font-size:12.5px}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-feed small,html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-feed time{font-size:11px}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-scroll{scrollbar-width:thin;scrollbar-color:var(--stroke-2) transparent}
/* ── bitta ekran rejimi (JS: .is-fit + balandlik) ── */
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-grid.is-fit{align-items:stretch}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-grid.is-fit>div{height:100%;min-height:0;overflow-y:auto;overflow-x:hidden;scrollbar-width:none;padding-bottom:1px}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-grid.is-fit>div::-webkit-scrollbar{display:none}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-grid.is-fit>div>*{flex:none}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-grid.is-fit :is(.fd-stock,.fd-plan,.fd-activity,.fd-overdue-card){display:flex;flex-direction:column;flex:1 1 0;min-height:118px}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-grid.is-fit :is(.fd-stock,.fd-plan,.fd-activity,.fd-overdue-card)>.fd-scroll{flex:1;min-height:0;max-height:none;overflow:auto}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-grid.is-fit .fd-stats{display:flex;flex-direction:column;flex:1.25 1 0;min-height:230px}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-grid.is-fit .fd-stats>.fd-pane:not([hidden]){display:flex;flex-direction:column;flex:1;min-height:0}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-grid.is-fit .fd-stats .fd-chart{flex:1;height:auto;min-height:120px}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-grid.is-fit .fd-plan .fd-plan-empty{flex:1;align-content:center}
/* 1281+ dan pastda 2/1 ustun — oddiy oqim */
@media (max-width:1320px){html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-grid.has-l.has-m.has-r>.fd-col-r{gap:12px}}

/* oy tahlili statistika yonida; «Nazorat» — muddati o‘tgan qarzlar | faollik yorliqlari */
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-duo{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(250px,1fr);gap:12px;align-items:stretch}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-duo>.fd-card{min-width:0}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-month-chart{display:flex;flex-direction:column}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-month-chart .fd-donut-pane:not([hidden]){flex:1;align-content:center}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-feedcard{display:flex;flex-direction:column}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-feedcard .fd-tabs>button em{display:inline-block;min-width:18px;margin-left:4px;padding:0 5px;border-radius:9px;background:var(--red-bg);color:var(--red);font:700 10.5px/16px var(--font);font-style:normal}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-feedcard [data-feed]{max-height:300px;overflow:auto}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-grid.is-fit .fd-duo{flex:1.3 1 0;min-height:240px}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-grid.is-fit .fd-duo>.fd-stats{display:flex;flex-direction:column;min-height:0}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-grid.is-fit .fd-duo>.fd-month-chart{min-height:0;overflow:auto;scrollbar-width:none}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-grid.is-fit .fd-feedcard{flex:1 1 0;min-height:150px}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-grid.is-fit .fd-feedcard [data-feed]:not([hidden]){flex:1;min-height:0;max-height:none}
@media (max-width:1100px){html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-duo{grid-template-columns:minmax(0,1fr)}}

html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-op strong{display:block;font-size:13.5px;font-weight:750;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-variant-numeric:tabular-nums}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-stats .fd-head{flex-wrap:wrap}
@media (max-width:1599px){html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-duo{grid-template-columns:minmax(0,1fr)}html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-month-chart .fd-donut-pane{grid-template-columns:110px minmax(0,1fr)}}
@media (max-width:760px){html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:1599px){html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-op-ico{display:none}html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-op{padding:7px 9px}}

/* ════ 2.17.115 — Dizayn auditi tuzatishlari (21 sahifa × oq/tungi × 1440/1024/375 + mobile.php):
   login yozuvlari kontrasti, yon paneldagi foydalanuvchi (ism va rol ikki qatorda — kesilmaydi), bosh sahifa elementlarining klaviatura fokusi,
   telefonda ko‘rsatkich raqamlari sig‘ishi, ijarada telefon raqami bir qatorda, kassada tugma matni kesilmaydi, harakatni kamaytirish rejimi ════ */
#loginScreen .lb-feats small{color:rgba(255,255,255,.9)!important}
#loginScreen .lb-foot{color:rgba(255,255,255,.86)!important}
#app #sideNav #sideUser>div.su-txt:not(.avatar){flex-direction:column!important;align-items:flex-start!important;justify-content:center;gap:2px!important}
#app #sideNav #sideUser .su-txt b{max-width:100%;line-height:1.15!important}
#app #sideNav #sideUser .su-role{max-width:100%!important;flex:none!important;padding:0 6px!important;line-height:1.55!important;font-size:10px!important}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd :is(button,a,[tabindex="0"]):focus-visible{outline:2px solid var(--accent-ink)!important;outline-offset:2px!important}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-table tbody tr:focus-visible{outline:2px solid var(--accent-ink);outline-offset:-2px}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-table tbody tr:focus-visible td{background:rgba(var(--bz-rgb),.06)}
html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-balance:focus-visible{outline-color:#fff!important;outline-offset:3px!important;box-shadow:0 0 0 5px var(--accent)}
@media (prefers-reduced-motion:reduce){html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd :is(.fd-balance,.fd-kpi,.fd-quick>button,.fd-link,.fd-op,.fd-table tbody tr){transition:none!important;transform:none!important}}
@media (max-width:760px){html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-kpi-ico{display:none}html:not(.mobile-app) body #content#content#content#content#content#content .hd.fd .fd-kpi{padding:10px 12px}}
html body #content .rt-list-table td[data-label="Telefon"],html body #content .rt-list-table .rt-phone{white-space:nowrap}
@media (max-width:760px){html body #content#content#content .cash-v2 .cv-bar .actions .btn{padding-left:10px!important;padding-right:10px!important;gap:6px!important;white-space:nowrap}}

/* ═══ BinoCore Moliya card on the Kassa page (2.17.116) — scoped to .cv-moliya ═══ */
.cv-moliya{margin:0 0 14px;border:1px solid var(--hair);border-radius:16px;background:var(--solid);overflow:hidden}
.cv-moliya .cvm-hd{display:flex;align-items:center;gap:12px;padding:12px 16px}
.cv-moliya .cvm-ic{flex:none;width:36px;height:36px;border-radius:11px;display:grid;place-items:center;background:rgba(var(--bz-rgb),.1);color:var(--accent)}
.cv-moliya .cvm-ic svg{width:18px;height:18px}
.cv-moliya .cvm-tt{display:flex;flex-direction:column;gap:2px;min-width:0}
.cv-moliya .cvm-tt b{font-size:14px;font-weight:700;color:var(--ink)}
.cv-moliya .cvm-tt small{font-size:12px;color:var(--muted,#667085)}
.cv-moliya .cvm-sp{flex:1 1 auto}
.cv-moliya .cvm-sec{border-top:1px solid var(--hair)}
.cv-moliya .cvm-st{padding:9px 16px 3px;font-size:11.5px;font-weight:700;letter-spacing:.03em;text-transform:uppercase;color:var(--muted,#667085)}
.cv-moliya .cvm-r{display:grid;grid-template-columns:34px minmax(0,1fr) auto auto;align-items:center;gap:12px;padding:9px 16px}
.cv-moliya .cvm-r+.cvm-r{border-top:1px solid var(--hair)}
.cv-moliya .cvm-r.kel{background:rgba(var(--bz-rgb),.04)}
.cv-moliya .cvm-dir{width:34px;height:34px;border-radius:10px;display:grid;place-items:center}
.cv-moliya .cvm-dir svg{width:16px;height:16px}
.cv-moliya .cvm-dir.in{background:rgba(22,160,93,.12);color:var(--green)}
.cv-moliya .cvm-dir.out{background:rgba(229,72,77,.11);color:#e5484d}
.cv-moliya .cvm-m{display:flex;flex-direction:column;gap:2px;min-width:0}
.cv-moliya .cvm-m b{font-size:13px;font-weight:600;color:var(--ink)}
.cv-moliya .cvm-m small{font-size:12px;color:var(--muted,#667085);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cv-moliya .cvm-sum{font-size:14px;font-weight:700;white-space:nowrap}
.cv-moliya .cvm-sum small{font-size:11.5px;font-weight:600;color:var(--muted,#667085)}
.cv-moliya .cvm-sum.in{color:var(--green)}
.cv-moliya .cvm-sum.out{color:#e5484d}
.cv-moliya .cvm-a,.cv-moliya .cvm-h{display:flex;align-items:center;justify-content:flex-end;gap:6px;flex-wrap:wrap}
.cv-moliya .cvm-h small{flex-basis:100%;text-align:right;font-size:11.5px;color:var(--muted,#667085)}
.cv-moliya .cvm-pill{display:inline-flex;align-items:center;height:24px;padding:0 10px;border-radius:12px;font-size:12px;font-weight:600;white-space:nowrap}
.cv-moliya .cvm-pill.b{background:rgba(var(--bz-rgb),.12);color:var(--accent)}
.cv-moliya .cvm-pill.k{background:rgba(22,160,93,.12);color:var(--green)}
.cv-moliya .cvm-pill.w{background:rgba(245,158,11,.14);color:#b45309}
.cv-moliya .cvm-pill.r{background:rgba(229,72,77,.11);color:#e5484d}
.cv-moliya .cvm-pill.g{background:rgba(102,112,133,.12);color:var(--muted,#667085)}
@media (max-width:760px){.cv-moliya .cvm-r{grid-template-columns:34px minmax(0,1fr) auto}.cv-moliya .cvm-a,.cv-moliya .cvm-h{grid-column:2/-1;justify-content:flex-start}.cv-moliya .cvm-h small{text-align:left}}
/* ════ 2.17.117 — Kirish sahifasi orqa foni qayta chizildi (egasi: «redesign qil, kartochkaga tegma, orqa fonni o‘zini»).
   Kartaga tegilmaydi. Fon 3 qatlam: 1) Moliya ko‘k/havorang yumshoq yorug‘ dog‘lar (sekin suzadi), 2) markazdan chetga so‘nadigan nuqtali to‘r,
   3) kartadagi halqaga mos katta konsentrik halqalar (chap past / o‘ng tepa). Telefon ilovasi (mobile.php) o‘zgarmaydi ════ */
html:not(.mobile-app) body #loginScreen{background:linear-gradient(160deg,#f6f7fb 0%,#eef1f8 48%,#f3f4f8 100%)!important;isolation:isolate}
html:not(.mobile-app):not([data-theme="light"]) body #loginScreen{background:linear-gradient(160deg,#16181d 0%,#121419 55%,#171a20 100%)!important}
html:not(.mobile-app) body #loginScreen .login-shell{position:relative;z-index:2}
html:not(.mobile-app) body #loginScreen::before,html:not(.mobile-app) body #loginScreen::after{content:"";position:fixed;inset:0;pointer-events:none}
/* nuqtali to‘r + halqalar */
html:not(.mobile-app) body #loginScreen::before{z-index:1;
  background:
    repeating-radial-gradient(circle at 6% 104%,transparent 0 46px,rgba(var(--bz-rgb),.075) 46px 47px,transparent 47px 92px),
    repeating-radial-gradient(circle at 96% -6%,transparent 0 38px,rgba(var(--bz-rgb),.06) 38px 39px,transparent 39px 76px),
    radial-gradient(circle,rgba(var(--bz-rgb),.22) 1px,transparent 1.6px) 0 0/26px 26px;
  -webkit-mask-image:radial-gradient(ellipse 75% 70% at 50% 50%,transparent 32%,#000 78%);mask-image:radial-gradient(ellipse 75% 70% at 50% 50%,transparent 32%,#000 78%)}
/* yorug‘ dog‘lar */
html:not(.mobile-app) body #loginScreen::after{z-index:0;inset:-12%;
  background:
    radial-gradient(38% 42% at 18% 22%,rgba(42,99,176,.20),transparent 70%),
    radial-gradient(34% 40% at 84% 78%,rgba(69,168,238,.20),transparent 70%),
    radial-gradient(26% 30% at 78% 16%,rgba(42,99,176,.10),transparent 70%),
    radial-gradient(28% 30% at 22% 86%,rgba(69,168,238,.12),transparent 70%);
  filter:blur(8px);animation:loginAurora 22s ease-in-out infinite alternate;will-change:transform}
html:not(.mobile-app):not([data-theme="light"]) body #loginScreen::after{background:
    radial-gradient(38% 42% at 18% 22%,rgba(42,99,176,.32),transparent 70%),
    radial-gradient(34% 40% at 84% 78%,rgba(69,168,238,.20),transparent 70%),
    radial-gradient(26% 30% at 78% 16%,rgba(42,99,176,.16),transparent 70%),
    radial-gradient(28% 30% at 22% 86%,rgba(69,168,238,.12),transparent 70%)}
html:not(.mobile-app):not([data-theme="light"]) body #loginScreen::before{opacity:.75}
@keyframes loginAurora{0%{transform:translate3d(0,0,0) scale(1)}50%{transform:translate3d(2.5%,-2%,0) scale(1.04)}100%{transform:translate3d(-2%,2.5%,0) scale(1.02)}}
@media (prefers-reduced-motion:reduce){html:not(.mobile-app) body #loginScreen::after{animation:none}}
@media (max-width:760px){html:not(.mobile-app) body #loginScreen::before{-webkit-mask-image:linear-gradient(#000,transparent 30%,transparent 70%,#000);mask-image:linear-gradient(#000,transparent 30%,transparent 70%,#000)}}
/* kuchaytirilgan qatlamlar (oq rejim) */
html:not(.mobile-app)[data-theme="light"] body #loginScreen::after{background:
    radial-gradient(40% 46% at 16% 20%,rgba(42,99,176,.34),transparent 70%),
    radial-gradient(36% 44% at 86% 80%,rgba(69,168,238,.34),transparent 70%),
    radial-gradient(28% 32% at 80% 14%,rgba(42,99,176,.16),transparent 70%),
    radial-gradient(30% 32% at 20% 88%,rgba(69,168,238,.20),transparent 70%),
    radial-gradient(46% 40% at 50% 50%,rgba(42,99,176,.10),transparent 72%)}
html:not(.mobile-app) body #loginScreen::before{background:
    repeating-radial-gradient(circle at 6% 104%,transparent 0 46px,rgba(var(--bz-rgb),.16) 46px 47.5px,transparent 47.5px 92px),
    repeating-radial-gradient(circle at 96% -6%,transparent 0 38px,rgba(var(--bz-rgb),.13) 38px 39.5px,transparent 39.5px 76px),
    radial-gradient(circle,rgba(var(--bz-rgb),.30) 1.1px,transparent 1.7px) 0 0/26px 26px!important}
/* ════ 2.17.121 — Geist shrifti (egasi: «geist fontsini bold qilmasdan chiroyli qilib indexga joylab ber»).
   Variable shrift (100–900), lekin og‘irlik 600 bilan cheklangan: CSS’da 700/800 deb yozilgan sarlavha va raqamlar ham
   yarim-qalin (600) chiqadi — matn ortiqcha qalin bo‘lmaydi. Brend logotipi (Sora) o‘zgarmaydi; telefon ilovasi (mobile.php) tizim shriftida qoladi ════ */
@font-face{font-family:'Geist';font-style:normal;font-weight:100 600;font-display:swap;src:url(fonts/geist.woff2) format('woff2')}
@font-face{font-family:'Geist';font-style:italic;font-weight:100 600;font-display:swap;src:url(fonts/geist-italic.woff2) format('woff2')}
html:not(.mobile-app){--font:'Geist',-apple-system,BlinkMacSystemFont,'SF Pro Display','Segoe UI',Roboto,sans-serif}
html:not(.mobile-app) body{font-family:var(--font);font-synthesis-weight:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility;font-feature-settings:"kern" 1,"calt" 1}
html:not(.mobile-app) :is(input,select,textarea,button){font-family:inherit}
/* 2.17.123 — yuklanish ekranidagi nom yon paneldagi logo bilan bir xil: Sora shrifti, «BinoCore» asosiy rangda, «BetonOS» ko‘k (egasi: «logoni o‘zidek bo‘lsin, o‘zini shriftida») */
html body #bootLoader>strong.boot-wordmark{display:inline-flex;align-items:baseline;gap:.3em;margin:0;font-size:21px;line-height:1.1;letter-spacing:0}
html body #bootLoader>strong.boot-wordmark :is(b.wordmark,.brand-sub){font-size:21px!important;line-height:1.1!important}
