/* OMBORCHI FINAL REQUIREMENTS 2026-09-24 */
html,body{width:100%;min-width:0;max-width:none;overflow-x:hidden}
#appView,#appView .app-shell,#appView .main{min-width:0;max-width:none}
#appView .v24-global-search,#appView .v24-sync-dot,#appView #refreshBtn,#appView #statusLine{display:none!important}
#appView .topbar-title{display:none!important}
#appView .topbar{min-height:68px!important;padding:10px 18px!important}
#appView .top-controls{margin-left:0!important;display:flex!important;gap:10px!important;align-items:center!important}
#appView #branchSelect,#appView #monthSelect{min-width:210px!important;height:46px!important;font-size:14px!important;font-weight:750!important}
.final-page{width:100%;max-width:1540px;margin:0 auto}
.final-hero{background:linear-gradient(120deg,#07182d,#4a0c24);color:#fff;border-radius:20px;padding:22px 24px;margin-bottom:12px}
.final-hero h1{margin:0;font-size:30px;line-height:1.05}.final-hero p{margin:6px 0 0;color:#cbd5e1}
.final-card{background:#fff;border:1px solid #e1e8f1;border-radius:18px;padding:16px;margin-bottom:12px;box-shadow:0 10px 30px #17243a0a}
.final-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px;border-bottom:1px solid #e7edf4;padding-bottom:10px}
.final-head h3{margin:0;color:#10213c;font-size:18px}
.final-tabs{display:flex;gap:6px;background:#f1f4f8;border-radius:13px;padding:4px;overflow-x:auto}
.final-tabs button{border:0;background:transparent;padding:10px 15px;border-radius:10px;font-weight:800;color:#425875;white-space:nowrap}
.final-tabs button.active{background:#f01429;color:#fff;box-shadow:0 7px 18px #f0142933}
.final-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:0 0 12px}
.final-kpi{min-width:0;background:#fff;border:1px solid #e1e8f1;border-radius:16px;padding:13px;box-shadow:0 8px 25px #17243a0b}
.final-kpi small{display:block;color:#6b7e98;font-size:11px;font-weight:750;margin-bottom:5px}
.final-kpi b{display:block;color:#12233f;font-size:21px;line-height:1.05;overflow-wrap:anywhere}
.final-kpi em{display:block;color:#8393a9;font-style:normal;font-size:10px;margin-top:5px}
.final-grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.final-field{display:flex;flex-direction:column;gap:6px;font-size:12px;font-weight:800;color:#203552}
.final-field input,.final-field select,.final-field textarea,.final-search{width:100%;min-width:0;border:1px solid #d9e2ee;border-radius:13px;padding:12px 14px;font:inherit;background:#fff;color:#10213c}
.final-field textarea{min-height:76px;resize:vertical}
.final-results{border:1px solid #dce5f0;border-radius:12px;max-height:260px;overflow:auto;background:#fff}
.final-result{padding:11px 13px;border-bottom:1px solid #edf1f6;cursor:pointer}.final-result:last-child{border-bottom:0}
.final-result:hover{background:#f7f9fc}.final-result small{display:block;color:#73869f;margin-top:3px}
.final-lines{display:flex;flex-direction:column;gap:9px}
.final-line{display:grid;grid-template-columns:minmax(0,1fr) 100px 150px 42px;gap:8px;align-items:end;border:1px solid #e3e9f1;border-radius:14px;padding:10px}
.final-line strong{display:block}.final-line small{display:block;color:#74859d;margin-top:3px}
.final-line input{width:100%;border:1px solid #d9e2ee;border-radius:10px;padding:10px;font-weight:750}
.final-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;margin-top:14px}
.final-btn{border:1px solid #d4deeb;background:#fff;color:#152a48;border-radius:12px;padding:11px 16px;font-weight:850;cursor:pointer}
.final-btn.red{background:#f01429;color:#fff;border-color:#f01429}.final-btn.green{background:#10a66a;color:#fff;border-color:#10a66a}.final-btn.danger{color:#d7192d}
.final-docs{display:grid;gap:8px}.final-doc{display:grid;grid-template-columns:90px minmax(0,1fr) 120px 130px;gap:10px;align-items:center;border:1px solid #e1e8f1;border-radius:14px;padding:12px}
.final-doc small{color:#71829a}.final-status{display:inline-flex;border-radius:999px;padding:5px 9px;background:#eef3f8;font-size:11px;font-weight:850}
.final-progress{height:10px;background:#eef2f7;border-radius:99px;overflow:hidden;min-width:100px}
.final-progress>i{display:block;height:100%;width:var(--p,0%);background:linear-gradient(90deg,#ff3348,#16b66f);border-radius:inherit;animation:finalGrow .8s ease both}
@keyframes finalGrow{from{width:0}to{width:var(--p,0%)}}
.final-table{width:100%;border-collapse:separate;border-spacing:0;font-size:13px}
.final-table th{background:#f5f7fa;color:#526780;font-size:11px;text-align:left;padding:10px;border-bottom:1px solid #dfe7f1}
.final-table td{padding:11px 10px;border-bottom:1px solid #edf1f5;color:#172b49;vertical-align:top}
.final-table td.num,.final-table th.num{text-align:right}
.final-table-wrap{overflow:auto;border:1px solid #e1e8f1;border-radius:14px}
.final-share{height:8px;border-radius:99px;background:#edf2f7;overflow:hidden}.final-share i{display:block;height:100%;background:#f01429;border-radius:inherit}
.final-cat-bars{display:grid;gap:8px}.final-cat-row{display:grid;grid-template-columns:170px minmax(0,1fr) 80px;gap:10px;align-items:center;font-size:12px}
.final-count-layout{display:grid;grid-template-columns:340px minmax(0,1fr);gap:12px}
.final-count-session{border:1px solid #e1e8f1;border-radius:14px;padding:12px;margin-bottom:8px}.final-count-session.active{border-color:#f01429;box-shadow:0 0 0 3px #f0142910}
.final-keypad{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:12px}.final-keypad button{min-height:52px;border:1px solid #dce4ee;border-radius:13px;background:#fff;font-size:18px;font-weight:900}
.final-keypad button:active{background:#eef3f8}
.final-count-result{border:1px solid #e1e8f1;border-radius:13px;padding:12px;margin-top:10px}
.final-count-result.ok{background:#ecfbf3;border-color:#aee8cc}.final-count-result.bad{background:#fff0f2;border-color:#ffc2ca}.final-count-result.warn{background:#fff8e8;border-color:#f7d99b}
.final-offline{display:none;padding:8px 12px;border-radius:10px;background:#fff3cd;color:#795b00;font-size:12px;font-weight:800}.final-offline.show{display:block}
.final-mobile-4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.final-mobile-4 .final-kpi{padding:10px}.final-mobile-4 .final-kpi b{font-size:17px}
#bottomNav.final-bottom{position:fixed!important;left:0!important;right:0!important;bottom:0!important;width:100%!important;max-width:none!important;height:auto!important;min-height:66px!important;padding:6px 6px max(6px,env(safe-area-inset-bottom))!important;background:#fff!important;border-top:1px solid #e4e9f0!important;box-shadow:0 -8px 30px #17243a12!important;display:grid!important;grid-template-columns:repeat(5,1fr)!important;z-index:9000!important}
#bottomNav.final-bottom button{min-width:0!important;border:0!important;background:transparent!important;color:#526982!important;border-radius:13px!important;padding:7px 2px!important;font-size:10px!important;font-weight:800!important;display:flex!important;flex-direction:column!important;align-items:center!important;gap:3px!important}
#bottomNav.final-bottom button span:first-child{font-size:20px!important;line-height:1!important}
#bottomNav.final-bottom button.active{color:#ef1428!important;background:#fff0f2!important}
@media(max-width:760px){
 html,body{width:100vw!important;max-width:100vw!important;overflow-x:hidden!important}
 #appView,#appView .app-shell{width:100vw!important;max-width:100vw!important;min-width:0!important}
 #appView .sidebar{position:fixed!important;z-index:9200!important}
 #appView .main{width:100%!important;max-width:100%!important;min-width:0!important;margin-left:0!important}
 #appView .topbar{width:100%!important;max-width:100%!important;display:grid!important;grid-template-columns:44px minmax(0,1fr)!important;gap:8px!important;padding:8px!important}
 #appView #menuBtn{display:flex!important}
 #appView .top-controls{width:100%!important;min-width:0!important;display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:7px!important}
 #appView #branchSelect,#appView #monthSelect{width:100%!important;min-width:0!important;max-width:100%!important;height:44px!important;font-size:12px!important}
 #appView .content,#content{width:100%!important;max-width:none!important;min-width:0!important;margin:0!important;padding:8px 8px calc(88px + env(safe-area-inset-bottom))!important}
 .final-page{width:100%!important;max-width:none!important}.final-hero{padding:17px 16px;border-radius:16px}.final-hero h1{font-size:25px}
 .final-kpis{grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}.final-kpi{padding:8px 6px;border-radius:12px}.final-kpi small{font-size:8.5px}.final-kpi b{font-size:14px}.final-kpi em{font-size:8px}
 .final-card{padding:11px;border-radius:15px}.final-head h3{font-size:16px}.final-grid2{grid-template-columns:1fr}
 .final-line{grid-template-columns:minmax(0,1fr) 68px 100px 38px;gap:5px;padding:8px}.final-line input{padding:8px 5px;font-size:12px}
 .final-doc{grid-template-columns:60px minmax(0,1fr);gap:5px}.final-doc>*:nth-child(3),.final-doc>*:nth-child(4){grid-column:2}
 .final-table{font-size:12px}.final-table th{font-size:10px;padding:8px 6px}.final-table td{padding:9px 6px}
 .final-count-layout{grid-template-columns:1fr}.final-cat-row{grid-template-columns:90px minmax(0,1fr) 55px}
 .final-mobile-4{gap:5px}.final-mobile-4 .final-kpi{padding:7px 5px}.final-mobile-4 .final-kpi small{font-size:8px}.final-mobile-4 .final-kpi b{font-size:13px}
}
@media(max-width:390px){
 #appView .top-controls{grid-template-columns:1fr!important}
 .final-kpis{grid-template-columns:repeat(5,minmax(0,1fr))}.final-kpi small{font-size:7.5px}.final-kpi b{font-size:12px}
 .final-mobile-4 .final-kpi small{font-size:7.5px}.final-mobile-4 .final-kpi b{font-size:12px}
}
@media(max-width:760px){
 .final-line{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 40px!important;align-items:end!important}
 .final-line>div:first-child{grid-column:1/-1!important}
 .final-line>div:first-child strong{font-size:13px!important;line-height:1.3!important}
 .final-line>label{font-size:10px!important}
 .final-actions .final-btn{min-height:44px!important}
}

/* FINAL MOBILE FULL-VIEWPORT + APP-LIKE LAYOUT */
@media(max-width:760px){
  #appView .app-shell{
    display:block!important;
    grid-template-columns:1fr!important;
    width:100vw!important;
    max-width:100vw!important;
    min-width:0!important;
    overflow-x:hidden!important;
  }
  #appView .sidebar{
    position:fixed!important;
    left:0!important;
    top:0!important;
    bottom:0!important;
    width:min(86vw,300px)!important;
    max-width:300px!important;
    z-index:9200!important;
  }
  #appView .main{
    display:block!important;
    grid-column:1!important;
    width:100vw!important;
    max-width:100vw!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
  }
  #appView .topbar{
    box-sizing:border-box!important;
    width:100vw!important;
    max-width:100vw!important;
    margin:0!important;
  }
  #appView .content,#content{
    box-sizing:border-box!important;
    width:100vw!important;
    max-width:100vw!important;
    overflow-x:hidden!important;
  }
  .final-table-wrap{
    width:100%!important;
    max-width:100%!important;
    overflow-x:auto!important;
    -webkit-overflow-scrolling:touch!important;
  }
}
/* ROUND2 PROFESSIONAL POLISH */
.inactive-rich .final-kpi{padding:12px}
.inactive-rich .final-kpi b{font-size:19px}
.inactive-rich .final-kpi em{font-size:11px;line-height:1.45;color:#5f728c}
.kc-form-card input[type=number]::-webkit-inner-spin-button,.kc-form-card input[type=number]::-webkit-outer-spin-button{appearance:none;-webkit-appearance:none;margin:0}
.kc-form-card input[type=number]{-moz-appearance:textfield}
.kc-added-row{align-items:center!important}
.kc-added-row input{font-size:16px!important;font-weight:800!important}
.kc-form-tabs{position:sticky;top:0;z-index:4;background:#fff}
.final-table th,.final-table td{white-space:nowrap}
.final-table td:first-child,.final-table th:first-child{white-space:normal;min-width:220px}
@media(max-width:760px){
  .inactive-rich{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .inactive-rich .final-kpi:last-child{grid-column:1/-1}
  .inactive-rich .final-kpi b{font-size:17px}
  .inactive-rich .final-kpi em{font-size:10px}
  .kc-added-row{grid-template-columns:minmax(0,1fr) 76px 96px 96px 38px!important;gap:5px!important}
  .kc-added-row>div:first-child{min-width:130px}
  .kc-added-row input{min-width:0!important;padding:9px 7px!important}
}
@media(display-mode:standalone),(display-mode:fullscreen){
  body{overscroll-behavior:none}
  #appView .topbar{padding-top:max(8px,env(safe-area-inset-top))!important}
}

/* PRODUCT CALCULATOR + COMPACT NAV */
#appView #bottomNav.final-bottom{grid-template-columns:repeat(var(--nav-count,5),minmax(0,1fr))!important}
.installment-modal{position:fixed;inset:0;z-index:1200;background:rgba(7,20,38,.48);display:flex;align-items:flex-end;justify-content:center;padding:12px 10px max(10px,env(safe-area-inset-bottom));backdrop-filter:blur(5px)}
.installment-modal.hidden{display:none!important}
.installment-sheet{width:min(600px,100%);max-height:90vh;overflow:auto;background:#fff;border:1px solid #e4e9f1;border-radius:24px 24px 18px 18px;box-shadow:0 24px 70px rgba(7,24,45,.28);padding:16px}
.installment-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:14px}
.installment-head small{display:block;color:#788aa1;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}
.installment-head h3{margin:3px 0 0;color:#0c213d;font-size:19px;line-height:1.2}
.installment-close{width:38px;height:38px;border:0;border-radius:12px;background:#f3f6fa;color:#223a57;font-size:24px;line-height:1}
.installment-product{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:12px}
.installment-product>div{border:1px solid #e4e9f1;border-radius:14px;padding:10px;background:#fbfcfe}
.installment-product span{display:block;color:#74869d;font-size:10px;font-weight:800}
.installment-product b{display:block;margin-top:4px;color:#102541;font-size:14px}
.installment-warning{margin:0 0 12px;padding:10px 12px;border-radius:13px;background:#fff4e6;color:#8a5411;font-size:11px;font-weight:750;line-height:1.4}
.installment-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.installment-term{border:1px solid #e3e8ef;border-radius:16px;padding:11px;background:linear-gradient(160deg,#fff,#fbfcff)}
.installment-term.not-configured{opacity:.62}
.installment-term-top{display:flex;align-items:center;justify-content:space-between;gap:8px}
.installment-term-top strong{font-size:14px;color:#102541}
.installment-term-top span{background:#fff0f2;color:#e51e2a;border-radius:999px;padding:4px 7px;font-size:10px;font-weight:900}
.installment-monthly{margin:10px 0}.installment-monthly small{display:block;color:#79899e;font-size:10px;font-weight:750}.installment-monthly b{display:block;color:#0c203b;font-size:22px;line-height:1.1;margin-top:2px}
.installment-meta{display:grid;gap:3px;color:#72839a;font-size:10px}.installment-meta span{display:flex;justify-content:space-between;gap:6px}.installment-meta b{color:#243d5a}
.installment-settings-btn{width:100%;margin-top:12px;min-height:42px;border:0;border-radius:13px;background:#ed1b2f;color:#fff;font-weight:900}
.installment-loading{text-align:center;padding:30px;color:#74869d;font-weight:750}
.installment-settings p{margin:0 0 12px;color:#687b93;font-size:12px;line-height:1.45}
.installment-settings label{display:grid;grid-template-columns:80px minmax(0,1fr);align-items:center;gap:10px;margin:8px 0;font-weight:800;color:#18304d}
.installment-settings input{width:100%;border:1px solid #dfe6ef;border-radius:12px;padding:11px 12px;font-size:16px;font-weight:800}
.installment-settings-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}
.product-card-actions{display:flex;align-items:center;gap:5px;justify-content:flex-end}
.product-icon-btn,.product-more-btn{min-width:36px;height:34px;padding:0 9px;border:1px solid #dde5ef;border-radius:10px;background:#fff;color:#304965;font-weight:900;font-size:14px}
.product-more-btn{font-size:16px;letter-spacing:1px}.product-icon-btn.danger{color:#e51e2a;background:#fff5f6;border-color:#ffd7dc}

@media(min-width:761px){.installment-modal{align-items:center}.installment-sheet{border-radius:24px}}
@media(max-width:760px){
 #appView #bottomNav.final-bottom{min-height:62px!important;padding:4px 3px max(4px,env(safe-area-inset-bottom))!important;gap:1px!important}
 #appView #bottomNav.final-bottom button{min-width:0!important;min-height:50px!important;padding:3px 1px!important;border-radius:9px!important;font-size:9px!important;line-height:1.05!important;white-space:nowrap!important;overflow:hidden!important}
 #appView #bottomNav.final-bottom button span:first-child{display:block!important;font-size:18px!important;line-height:1!important;margin-bottom:4px!important}
 #appView #bottomNav.final-bottom button span:last-child{display:block!important;max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important}
 .installment-modal{padding:0}.installment-sheet{border-radius:24px 24px 0 0;max-height:88vh;padding:15px}.installment-grid{gap:7px}.installment-term{padding:10px}.installment-monthly b{font-size:19px}
}
@media(max-width:370px){#appView #bottomNav.final-bottom button{font-size:8px!important}#appView #bottomNav.final-bottom button span:first-child{font-size:16px!important}.installment-grid{grid-template-columns:1fr}}

@media(max-width:760px){
 #appView .product-price-table{overflow:visible!important;border:0!important;background:transparent!important}
 #appView .product-price-table .table{min-width:0!important;display:block!important}
 #appView .product-price-table thead{display:none!important}
 #appView .product-price-table tbody{display:grid!important;gap:9px!important}
 #appView .product-price-table .product-price-row{display:grid!important;grid-template-columns:64px minmax(0,1fr) minmax(0,1fr)!important;gap:7px 9px!important;padding:12px!important;border:1px solid #e0e7f0!important;border-radius:17px!important;background:#fff!important}
 #appView .product-price-table td{display:block!important;padding:0!important;border:0!important;min-width:0!important;font-size:12px!important;text-align:left!important}
 #appView .product-price-table .product-image-cell{grid-column:1!important;grid-row:1/4!important;width:64px!important}
 #appView .product-price-table .product-image-cell .prod-thumb{width:62px!important;height:62px!important;border-radius:15px!important}
 #appView .product-price-table .product-main-cell{grid-column:2/4!important;grid-row:1!important}
 #appView .product-price-table .product-id{display:block!important;color:#152c49;font-size:13px!important}
 #appView .product-price-table .product-name{display:block!important;margin-top:4px;font-size:11.5px!important;line-height:1.25!important;white-space:normal!important}
 #appView .product-price-table td[data-label]::before{content:attr(data-label)!important;display:block!important;margin-bottom:2px!important;color:#8494a8!important;font-size:9.5px!important;font-weight:800!important}
 #appView .product-price-table td:nth-child(3){grid-column:2!important;grid-row:2!important}
 #appView .product-price-table td:nth-child(4){grid-column:3!important;grid-row:2!important}
 #appView .product-price-table .product-buy-price{grid-column:2!important;grid-row:3!important}
 #appView .product-price-table .product-sale-price{grid-column:3!important;grid-row:3!important}
 #appView .product-price-table td:nth-child(7){grid-column:2/4!important;grid-row:4!important}
 #appView .product-price-table .product-action-cell{grid-column:1/4!important;grid-row:5!important;padding-top:8px!important;border-top:1px solid #edf1f6!important}
 #appView .product-price-table .product-card-actions{justify-content:flex-end!important}
 #appView .product-price-table .product-buy-price b,#appView .product-price-table .product-sale-price b{font-size:12.5px!important;color:#102541}
}


/* FINAL VITRINA / ABC / CLEAN STOCK TABLE 2026-09-24 */
.stock-clean-table{width:100%;overflow:auto}
.stock-clean-table .table{min-width:780px}
.stock-clean-table th,.stock-clean-table td{vertical-align:middle}
.stock-clean-table .stock-image-cell{width:52px}
.stock-clean-table .stock-real-image{width:42px;height:42px;border-radius:11px;object-fit:cover;display:block}
.stock-clean-table .stock-no-image{display:block;width:8px;height:8px}
.stock-clean-table .stock-name-cell{min-width:280px}
.stock-clean-table .stock-name-cell b{display:block;color:#0d2745;font-size:13px}
.stock-clean-table .stock-name-cell small{display:block;color:#72849b;margin-top:3px;white-space:normal;line-height:1.25}
.stock-clean-table .currency-chip{display:inline-flex;align-items:center;justify-content:center;min-width:44px;padding:5px 8px;border-radius:9px;background:#eef3f9;color:#183551;font-size:11px}
.stock-clean-table .stock-action-cell{width:54px;text-align:right}
.stock-clean-table .stock-more{min-width:42px}
.installment-product.one-price{grid-template-columns:1fr}

.vitrina-main-card{overflow:hidden}
.vitrina-mode-tabs{display:flex;gap:7px;overflow:auto;padding:2px 0 10px;scrollbar-width:thin}
.vitrina-mode-tabs button{border:1px solid #e1e7ef;background:#f6f8fb;color:#2e4763;border-radius:12px;padding:10px 14px;font-weight:850;white-space:nowrap}
.vitrina-mode-tabs button.active{background:#ef1d31;border-color:#ef1d31;color:#fff;box-shadow:0 8px 20px rgba(239,29,49,.16)}
.vitrina-mode-tabs button b{font-size:10px;margin-left:5px}
.vcategory-strip{display:flex;gap:9px;overflow:auto;padding:2px 0 12px;-webkit-overflow-scrolling:touch;scrollbar-width:thin}
.vcat-card{position:relative;flex:0 0 165px;height:88px;border:1px solid #e0e7ef;border-radius:16px;overflow:hidden;background:#fff;padding:0;text-align:left;box-shadow:0 4px 16px rgba(16,39,69,.05)}
.vcat-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.vcat-card:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(7,20,38,.03),rgba(7,20,38,.78))}
.vcat-card span{position:absolute;z-index:2;left:10px;right:8px;bottom:9px;color:#fff}
.vcat-card span b,.vcat-card span small{display:block}
.vcat-card span b{font-size:13px;line-height:1.15}.vcat-card span small{font-size:9px;margin-top:3px;opacity:.9}
.vcat-card.active{outline:3px solid #ef1d31;outline-offset:-3px}
.vcat-card.all{background:linear-gradient(135deg,#101d33,#65132a)}
.vcat-card.all:after{display:none}
.vcat-card.all span{top:50%;bottom:auto;transform:translateY(-50%)}
.vitrina-product-table .table td:first-child{min-width:260px}
.vitrina-product-table .table td:first-child b,.vitrina-product-table .table td:first-child small{display:block}
.vitrina-product-table .table td:first-child small{margin-top:3px}

.abc-section{overflow:hidden}
.abc-controls{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px}
.abc-controls .tabs-inline{display:flex;gap:6px;flex-wrap:wrap}
.abc-controls .btn.active{background:#ef1d31;color:#fff;border-color:#ef1d31}
.abc-total{text-align:right}.abc-total small,.abc-total b{display:block}.abc-total small{font-size:9px;color:#7a8ca2}.abc-total b{font-size:17px;color:#102842}
.abc-full-table{overflow:auto;-webkit-overflow-scrolling:touch}
.abc-full-table .table{min-width:1250px}
.abc-full-table td:nth-child(2){min-width:260px}
.abc-full-table td:nth-child(2) b,.abc-full-table td:nth-child(2) small{display:block}
.abc-full-table td:nth-child(2) small{margin-top:3px;white-space:normal}
.abc-month-cell b,.abc-month-cell small{display:block}.abc-month-cell small{font-size:9px;color:#7a8ca2;margin-top:2px}
.abc-badge{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:10px;font-weight:950}
.abc-badge.a{background:#e9f9f0;color:#17834b}.abc-badge.b{background:#fff4df;color:#a86600}.abc-badge.c{background:#fff0f2;color:#d91d2e}
.stock-presence{display:inline-flex;padding:5px 8px;border-radius:9px;font-size:10px;font-weight:850}
.stock-presence.yes{background:#e9f9f0;color:#17834b}.stock-presence.no{background:#f2f4f7;color:#73849a}

@media(max-width:760px){
 .stock-clean-table{overflow:visible}
 .stock-clean-table .table{min-width:0;display:block}
 .stock-clean-table thead{display:none}
 .stock-clean-table tbody{display:grid;gap:8px}
 .stock-clean-table .stock-clean-row{display:grid;grid-template-columns:46px minmax(0,1fr) 72px 42px;gap:7px 8px;padding:11px;border:1px solid #e1e7ef;border-radius:15px;background:#fff}
 .stock-clean-table .stock-clean-row td{display:block;padding:0!important;border:0!important;min-width:0;text-align:left!important}
 .stock-clean-table .stock-image-cell{grid-column:1;grid-row:1/3;width:46px}
 .stock-clean-table .stock-real-image{width:44px;height:44px}
 .stock-clean-table .stock-no-image{width:1px;height:1px}
 .stock-clean-table .stock-name-cell{grid-column:2/5;grid-row:1;min-width:0}
 .stock-clean-table .stock-name-cell b{font-size:12.5px}.stock-clean-table .stock-name-cell small{font-size:10.5px}
 .stock-clean-table td[data-label]::before{content:attr(data-label);display:block;color:#8696a9;font-size:8.5px;font-weight:800;margin-bottom:2px}
 .stock-clean-table .stock-clean-row:not(.warehouse-role) td:nth-child(3){grid-column:2;grid-row:2}
 .stock-clean-table .stock-clean-row:not(.warehouse-role) td:nth-child(4){grid-column:3;grid-row:2}
 .stock-clean-table .stock-clean-row:not(.warehouse-role) td:nth-child(5){grid-column:2;grid-row:3}
 .stock-clean-table .stock-clean-row:not(.warehouse-role) td:nth-child(6){grid-column:3/5;grid-row:3}
 .stock-clean-table .stock-clean-row:not(.warehouse-role) .stock-action-cell{grid-column:4;grid-row:2}
 .stock-clean-table .warehouse-role td:nth-child(3){grid-column:2;grid-row:2}
 .stock-clean-table .warehouse-role td:nth-child(4){grid-column:3/5;grid-row:2}
 .stock-clean-table .warehouse-role .stock-action-cell{grid-column:4;grid-row:3}
 .stock-clean-table .stock-action-cell{width:auto;text-align:right!important}
 .vcat-card{flex-basis:138px;height:76px}
 .vcat-card span b{font-size:11px}
 .abc-controls{align-items:stretch;flex-direction:column}
 .abc-controls select{width:100%}
 .abc-full-table{margin-left:-4px;margin-right:-4px}
}


/* ===== FINAL SEPARATE VITRINA / ABC / FIXED SIDEBAR / ADMIN 2026-09-24 ===== */
@media(min-width:761px){
  #appView.app-shell{display:block!important;min-height:100vh!important}
  #appView .sidebar{
    position:fixed!important;left:0!important;top:0!important;bottom:0!important;
    width:264px!important;height:100dvh!important;max-height:100dvh!important;
    display:flex!important;flex-direction:column!important;overflow:hidden!important;
    z-index:50!important
  }
  #appView .sidebar #nav{flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;padding-right:3px!important}
  #appView .sidebar .brand,#appView .sidebar .profile,#appView .sidebar .side-foot{flex:0 0 auto!important}
  #appView .sidebar .side-foot{position:relative!important;bottom:auto!important;background:#fff!important;z-index:2!important}
  #appView .main{margin-left:264px!important;width:calc(100% - 264px)!important;min-width:0!important}
}

.vitrina-control-card{overflow:hidden}
.vitrina-mode-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 16px}
.vitrina-mode-tabs button{border:1px solid #dce4ee;background:#f6f8fb;color:#29425d;border-radius:12px;padding:10px 14px;font-weight:900;cursor:pointer}
.vitrina-mode-tabs button.active{background:#ef1d31;border-color:#ef1d31;color:#fff;box-shadow:0 7px 18px rgba(239,29,49,.17)}
.vitrina-mode-tabs button b{font-size:10px;margin-left:5px}

.vcategory-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin-bottom:16px}
.vcat-grid-card{position:relative;min-width:0;border:1px solid #dfe7f0;border-radius:16px;background:#fff;overflow:hidden;cursor:pointer;box-shadow:0 5px 16px rgba(21,43,75,.05);transition:.15s}
.vcat-grid-card:hover{transform:translateY(-1px);box-shadow:0 9px 24px rgba(21,43,75,.09)}
.vcat-grid-card.active{border:2px solid #ef1d31;box-shadow:0 0 0 3px rgba(239,29,49,.07)}
.vcat-image{height:88px;background:#eef2f7;overflow:hidden}
.vcat-image img{width:100%;height:100%;object-fit:cover;display:block}
.vcat-image.all-image{background:linear-gradient(135deg,#0d1c32,#70142e)}
.vcat-grid-body{padding:9px}
.vcat-grid-title{font-size:12.5px;font-weight:950;color:#112a47;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-bottom:7px}
.vcat-numbers{display:grid;grid-template-columns:1fr 1fr;gap:5px}
.vcat-numbers span{background:#f7f9fc;border-radius:8px;padding:5px 6px;min-width:0}
.vcat-numbers small,.vcat-numbers b{display:block}.vcat-numbers small{font-size:8px;color:#8090a4}.vcat-numbers b{font-size:10.5px;color:#17304d;margin-top:1px}
.vcat-foot{display:flex;align-items:center;justify-content:space-between;gap:5px;margin-top:7px}
.capacity-state{display:inline-flex;border-radius:999px;padding:4px 6px;font-size:8.5px;font-weight:900;white-space:nowrap}
.capacity-state.ok{background:#e8f8f0;color:#0d8050}.capacity-state.warn{background:#fff3df;color:#a36400}.capacity-state.bad{background:#fff0f2;color:#ce2032}.capacity-state.neutral{background:#eff3f7;color:#74859a}
.capacity-mini{border:0;background:#fff0f2;color:#dc1e31;border-radius:8px;padding:4px 6px;font-size:8px;font-weight:900;cursor:pointer}
.vitrina-filter-line{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0 9px}
.vitrina-filter-line>div:first-child b,.vitrina-filter-line>div:first-child small{display:block}.vitrina-filter-line>div:first-child small{color:#7b8ca1;font-size:9px;margin-top:2px}
.search-box.compact{width:min(390px,45%)}

.abc-main-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:8px 0 12px}
.abc-main-controls .tabs-inline{margin:0;flex-wrap:wrap}
.abc-main-controls .tabs-inline .btn.active{background:#ef1d31;color:#fff;border-color:#ef1d31}
.abc-right-controls{display:flex;gap:8px;align-items:center}
.abc-right-controls select{min-width:220px}
.abc-search{margin-bottom:10px}

.admin-sub{margin:4px 0 0;font-size:10px}
.admin-tabs{display:flex;gap:7px;margin:4px 0 12px;border-bottom:1px solid #e5eaf1;padding-bottom:8px}
.admin-tabs button{border:1px solid #dce4ee;background:#f7f9fc;color:#314a65;border-radius:11px;padding:9px 13px;font-weight:900;cursor:pointer}
.admin-tabs button.active{background:#ef1d31;color:#fff;border-color:#ef1d31}
.admin-tabs button b{font-size:9px;margin-left:5px}
.staff-role-select{width:100%;min-width:180px;border:1px solid #dce4ee;border-radius:11px;background:#fff;padding:9px 30px 9px 10px;font-weight:800;color:#31465f}
.admin-table td>small{display:block;margin-top:3px}
.staff-action-cell{width:60px;overflow:visible!important}
.staff-actions{position:relative;display:inline-block}
.staff-more{width:44px;height:36px;border:1px solid #dce4ee;background:#fff;border-radius:11px;font-weight:950;letter-spacing:2px;cursor:pointer}
.staff-menu{display:none;position:absolute;right:0;top:42px;min-width:185px;background:#fff;border:1px solid #dfe5ee;border-radius:13px;padding:6px;box-shadow:0 15px 38px rgba(18,39,70,.16);z-index:120}
.staff-actions.open .staff-menu{display:grid}
.staff-menu button{border:0;background:#fff;text-align:left;border-radius:9px;padding:9px 10px;font-weight:750;color:#203c59;cursor:pointer}
.staff-menu button:hover{background:#f4f7fa}.staff-menu button.danger{color:#d51e30}.staff-menu button.danger:hover{background:#fff0f2}

@media(max-width:1280px){
 .vcategory-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(max-width:900px){
 .vcategory-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:760px){
 .vcategory-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
 .vcat-image{height:72px}.vcat-grid-body{padding:7px}.vcat-grid-title{font-size:11px}
 .vcat-numbers small{font-size:7px}.vcat-numbers b{font-size:9.5px}
 .vitrina-filter-line{align-items:stretch;flex-direction:column}.search-box.compact{width:100%}
 .abc-main-controls{align-items:stretch;flex-direction:column}.abc-right-controls{display:grid;grid-template-columns:1fr auto}.abc-right-controls select{min-width:0;width:100%}
 .admin-table .table{min-width:760px}
}
/* ===== END FINAL SEPARATE VITRINA / ABC / FIXED SIDEBAR / ADMIN ===== */


/* FINAL MOBILE SIDEBAR DRAWER FIX */
@media(max-width:760px){
  #appView .sidebar{
    display:flex!important;
    position:fixed!important;
    top:0!important;bottom:0!important;left:0!important;
    width:min(86vw,300px)!important;height:100dvh!important;max-height:100dvh!important;
    flex-direction:column!important;overflow:hidden!important;
    transform:translateX(-105%)!important;
    transition:transform .2s ease!important;
    z-index:9200!important;
    box-shadow:16px 0 36px rgba(12,31,57,.20)!important;
  }
  #appView .sidebar.open{transform:translateX(0)!important}
  #appView .sidebar #nav{flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important}
  #appView .sidebar .side-foot{flex:0 0 auto!important;background:#fff!important}
}
/* END FINAL MOBILE SIDEBAR DRAWER FIX */

/* LIVEFIX3: 7-item mobile nav stays usable */
@media(max-width:760px){
  #bottomNav.final-bottom{
    display:flex!important;
    grid-template-columns:none!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    justify-content:flex-start!important;
    scrollbar-width:none;
    -webkit-overflow-scrolling:touch;
    padding-left:5px!important;
    padding-right:5px!important;
  }
  #bottomNav.final-bottom::-webkit-scrollbar{display:none}
  #bottomNav.final-bottom button{
    flex:0 0 60px!important;
    min-width:60px!important;
    max-width:60px!important;
    padding:5px 2px!important;
    font-size:8px!important;
  }
  #bottomNav.final-bottom button>span:first-child{font-size:15px!important;line-height:16px!important}
}


/* ===== OMBORCHI COMPACT PRODUCTIVITY + COUNT + VITRINA 2026-09-25 ===== */
html[data-dashboard-controls="0"] .topbar{min-height:48px!important;padding-top:5px!important;padding-bottom:5px!important}
html[data-dashboard-controls="0"] .topbar .top-controls{display:none!important}
html[data-dashboard-controls="0"] #content{padding-top:8px!important}

.metric-grid,.stock-metrics,.display-metrics,.admin-metrics{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important}
.premium-metric{min-height:74px!important;padding:10px 12px!important}
.premium-metric .metric-icon{width:34px!important;height:34px!important;min-width:34px!important}
.premium-metric b{font-size:16px!important}.premium-metric small{font-size:9px!important}

.filter-stack{gap:8px!important}.filter-row{display:flex!important;align-items:end!important;gap:7px!important;flex-wrap:wrap!important}
.filter-row label{flex:1 1 170px!important;min-width:150px!important}
.filter-row .btn{min-height:38px!important}
.search-box.large{min-height:40px!important}
.premium-card{margin-bottom:10px!important;padding:12px!important}
.section-head{margin-bottom:9px!important}
.page-intro{margin-bottom:10px!important;padding:0!important}
.page-intro h1{font-size:22px!important}.page-intro p{margin-top:2px!important;font-size:10px!important}

.vcategory-grid{grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:8px!important}
.vcat-grid-card{border-radius:14px!important}.vcat-image{height:78px!important}
.vcat-grid-body{padding:8px!important}.vcat-grid-title{font-size:11px!important;margin-bottom:5px!important}
.vcat-numbers{gap:4px!important}.vcat-numbers.single{grid-template-columns:1fr!important}
.vcat-numbers span{padding:4px 5px!important}.vcat-numbers small{font-size:7.5px!important}.vcat-numbers b{font-size:10px!important}
.vitrina-detail-head{display:flex;justify-content:space-between;gap:8px;margin-bottom:8px}
.vitrina-category-hero{display:grid!important;grid-template-columns:145px minmax(0,1fr) auto!important;align-items:center!important;gap:14px!important}
.vitrina-category-hero>img{width:145px;height:92px;object-fit:cover;border-radius:14px}
.vitrina-category-hero h1{margin:0 0 8px;font-size:24px;color:#142842}
.category-detail-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
.category-detail-stats span{background:#f6f8fb;border-radius:10px;padding:7px}
.category-detail-stats small,.category-detail-stats b{display:block}.category-detail-stats small{font-size:8px;color:#7b8ca1}.category-detail-stats b{font-size:13px;color:#18314e;margin-top:2px}
.vitrina-detail-search{margin-left:auto;margin-bottom:8px}

.count-page-compact{display:grid;gap:8px}
.count-page-head,.count-work-head,.count-recent-head{display:flex;justify-content:space-between;align-items:center;gap:8px}
.count-page-head h1,.count-work-head h3,.count-recent-head h3{margin:0}.count-page-head small,.count-recent-head small,.count-session-compact small{color:#7c8da1;font-size:9px;display:block}
.final-count-layout.compact{display:grid;grid-template-columns:minmax(250px,330px) minmax(0,1fr);gap:9px!important}
.count-session-list{padding:8px!important;align-self:start}
.count-session-compact{display:flex;justify-content:space-between;gap:8px;align-items:center;padding:8px;border:1px solid #e2e7ef;border-radius:12px;margin-bottom:6px;background:#fff}
.count-session-actions{display:flex;gap:4px;flex-wrap:wrap;justify-content:flex-end}
.count-session-actions .final-btn{padding:6px 8px!important;font-size:9px!important}
.count-work-card{padding:10px!important}.count-empty{padding:32px;text-align:center;color:#7c8da1}
.count-search-wrap{position:relative;margin:9px 0}
.count-search-input{width:100%;height:46px;border:1px solid #d9e1eb;border-radius:13px;padding:0 13px;font-size:14px;font-weight:700;outline:none}
.count-search-input:focus{border-color:#d7192d;box-shadow:0 0 0 3px rgba(215,25,45,.08)}
.count-suggestions{display:none;position:absolute;left:0;right:0;top:50px;max-height:46dvh;overflow-y:auto;overscroll-behavior:contain;background:#fff;border:1px solid #e0e6ee;border-radius:12px;box-shadow:0 14px 36px rgba(20,42,72,.14);padding:5px;z-index:50}
.count-suggestions.show{display:grid}.count-suggestions button{border:0;background:#fff;text-align:left;padding:8px;border-radius:9px;display:grid;grid-template-columns:80px minmax(0,1fr) auto;gap:8px;align-items:center}.count-suggestions button small{font-size:10px;font-weight:850;color:#607493;white-space:nowrap}.count-suggestions button:hover{background:#f5f7fa}
.count-selected,.count-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;border:1px solid #e2e7ef;border-left:5px solid #aeb9c7;border-radius:13px;background:#fff;padding:9px 10px}
.count-selected{margin-bottom:10px;background:#fafbfd}.count-item{margin-bottom:6px}
.count-selected.equal,.count-item.equal{border-left-color:#19a160}.count-selected.short,.count-item.short{border-left-color:#df2034;background:#fff8f8}.count-selected.over,.count-item.over{border-left-color:#efa51b;background:#fffaf1}
.count-item-name b,.count-item-name span,.count-item-name small,.count-selected>div:first-child b,.count-selected>div:first-child small{display:block}
.count-item-name b{font-size:10px;color:#7b8ba0}.count-item-name span,.count-selected>div:first-child b{font-size:12px;font-weight:900;color:#18314d}.count-item-name small,.count-selected>div:first-child small{font-size:9px;color:#71839a;margin-top:2px}
.count-stepper{display:grid;grid-template-columns:34px 58px 34px;align-items:center;gap:3px}
.count-stepper.big{grid-template-columns:42px 76px 42px}
.count-stepper button{height:34px;border:0;border-radius:9px;background:#eef2f6;font-size:20px;font-weight:900;color:#263f5b}
.count-stepper button:last-child{background:#d7192d;color:#fff}
.count-stepper input{height:34px;width:100%;border:1px solid #dbe2eb;border-radius:9px;text-align:center;font-size:15px;font-weight:950;color:#152b45}
.count-stepper.big button,.count-stepper.big input{height:42px}
.count-recent-list{display:grid;gap:0}.count-head-actions{display:flex;gap:5px}

.seller-table .table{min-width:1450px!important}.seller-table td:nth-child(2){min-width:210px}
.seller-table td:nth-child(2) small,.daily-plan td:first-child small{display:block;margin-top:2px}
.branch-results-table{min-width:980px}
.exact-toolbar{display:flex;gap:5px;flex-wrap:wrap!important}.exact-toolbar .btn{padding:7px 9px!important}
.summary-pills{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}
.summary-pills span{margin:0!important;padding:7px 9px!important}

@media(max-width:1280px){.vcategory-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
@media(max-width:900px){.vcategory-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}.metric-grid,.stock-metrics,.display-metrics,.admin-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:760px){
 html[data-dashboard-controls="0"] .topbar{height:42px!important;min-height:42px!important}
 html[data-dashboard-controls="0"] .main{padding-top:0!important}
 .page-intro{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:6px!important}.page-intro p{display:none!important}.page-intro h1{font-size:18px!important}
 .metric-grid,.stock-metrics,.display-metrics,.admin-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important}
 .premium-metric{min-height:65px!important;padding:8px!important}.premium-metric b{font-size:14px!important}
 .filter-row{display:grid!important;grid-template-columns:1fr 1fr!important;gap:6px!important}.filter-row label{min-width:0!important}.filter-row .btn{width:100%!important}
 .vcategory-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important}.vcat-image{height:68px!important}
 .vitrina-category-hero{grid-template-columns:84px minmax(0,1fr)!important;padding:8px!important}.vitrina-category-hero>img{width:84px;height:72px}.vitrina-category-hero>button{grid-column:1/-1;width:100%}.vitrina-category-hero h1{font-size:18px}.category-detail-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:3px}.category-detail-stats span{padding:5px 3px}.category-detail-stats b{font-size:10px}.category-detail-stats small{font-size:6.5px}
 .final-count-layout.compact{grid-template-columns:1fr!important}.count-session-list{display:flex;overflow-x:auto;gap:6px}.count-session-compact{flex:0 0 250px;margin:0}.count-work-card{padding:7px!important}
 .count-selected,.count-item{grid-template-columns:minmax(0,1fr) auto;padding:7px}.count-stepper{grid-template-columns:32px 52px 32px}.count-stepper.big{grid-template-columns:38px 66px 38px}
 .count-item-name span,.count-selected>div:first-child b{font-size:11px}
 .summary-pills{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .seller-head{align-items:flex-start!important}.exact-toolbar{justify-content:flex-end!important}
 .premium-card{padding:8px!important;border-radius:13px!important}
 .stock-no-image{display:none!important}.stock-clean-table .stock-image-cell:has(.stock-no-image){display:none!important}
}
/* ===== END OMBORCHI COMPACT PRODUCTIVITY ===== */

/* OMBORCHI FINAL COMPACT OVERRIDES 2026-09-25 */
.product-toolbar{display:grid!important;grid-template-columns:minmax(260px,2fr) minmax(150px,1fr) minmax(140px,1fr) auto auto auto!important;gap:7px!important;align-items:center!important}
.product-toolbar>*{min-width:0!important;margin:0!important}
.product-toolbar .search-box{width:100%!important}
.global-seller-table{min-width:760px!important}.global-seller-table td:nth-child(2){min-width:210px}
.branch-results-table .total-row td{background:#fff1f3!important;border-top:2px solid #d7192d!important;color:#a91425!important}
@media(max-width:1100px){.product-toolbar{grid-template-columns:minmax(220px,2fr) 1fr 1fr!important}.product-toolbar .btn{width:100%!important}}
@media(max-width:760px){
 .product-toolbar{grid-template-columns:1fr 1fr!important;gap:6px!important}.product-toolbar .search-box{grid-column:1/-1!important}.product-toolbar .btn{min-height:38px!important;padding:7px 8px!important}
 .product-price-table .empty-thumb{display:none!important}.product-price-table .product-image-cell:has(.empty-thumb){display:none!important}
 .global-seller-table{min-width:690px!important}.count-session-actions{display:flex!important;gap:4px!important;flex-wrap:wrap!important}.count-session-actions .final-btn{padding:7px 9px!important;font-size:10px!important}
}

/* USERREQ2: product images, sidebar isolation, consistent menu, management scope */
#nav{overscroll-behavior-y:contain!important;scrollbar-gutter:stable;min-height:0!important}
#nav button{min-height:46px!important;height:46px!important;padding:0 13px!important;gap:11px!important;font-size:14px!important;font-weight:700!important;line-height:1.15!important}
#nav button>span:first-child{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:24px!important;min-width:24px!important;font-size:17px!important;line-height:1!important}
#nav button>span:last-child{font-size:14px!important;line-height:1.15!important}
.side-foot{flex:0 0 auto!important;padding:9px 12px 12px!important;border-top:1px solid rgba(255,255,255,.08)!important;background:rgba(5,17,31,.92)!important}
#logoutBtn{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;min-height:44px!important;margin-top:7px!important;border:1px solid rgba(255,255,255,.13)!important;background:linear-gradient(135deg,#f41129,#d80820)!important;color:#fff!important;font-size:14px!important;font-weight:800!important;box-shadow:0 10px 24px rgba(244,13,37,.22)!important}
.product-toolbar{grid-template-columns:minmax(250px,2fr) minmax(145px,1fr) minmax(135px,1fr) minmax(165px,1fr) auto auto auto!important}
.prod-thumb:not(.empty-thumb){cursor:zoom-in!important;transition:transform .15s ease,box-shadow .15s ease!important}
.prod-thumb:not(.empty-thumb):hover{transform:scale(1.04);box-shadow:0 8px 22px rgba(15,37,67,.14)!important}
.product-image-preview{position:fixed;inset:0;z-index:100000;display:flex;align-items:center;justify-content:center;padding:28px;background:rgba(3,10,20,.88);backdrop-filter:blur(8px)}
.product-image-preview.hidden{display:none!important}
.product-image-preview img{max-width:min(94vw,1400px);max-height:92vh;object-fit:contain;border-radius:14px;background:#fff;box-shadow:0 24px 80px rgba(0,0,0,.45)}
.product-image-preview-close{position:fixed;top:18px;right:22px;width:48px;height:48px;border-radius:50%;border:1px solid rgba(255,255,255,.28);background:rgba(255,255,255,.12);color:#fff;font-size:30px;line-height:1;cursor:pointer}
html:not([data-role="SUPER_ADMIN"]) [data-approve]{display:none!important}
html:not([data-role="SUPER_ADMIN"]) .staff-role-select{pointer-events:none!important;opacity:.72!important}
@media(max-width:1100px){.product-toolbar{grid-template-columns:minmax(220px,2fr) 1fr 1fr 1fr!important}}
@media(max-width:760px){#nav button{height:44px!important;min-height:44px!important;font-size:14px!important}.product-toolbar{grid-template-columns:1fr 1fr!important}.product-toolbar .search-box{grid-column:1/-1!important}.product-image-preview{padding:12px}.product-image-preview-close{top:12px;right:12px}}

/* USERREQ3: isolated navigation scroll and unified menu rhythm */
.sidebar{display:flex!important;flex-direction:column!important;overflow:hidden!important}
#nav{flex:1 1 auto!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior-y:contain!important;touch-action:pan-y!important;padding-bottom:8px!important}
#nav button{flex:0 0 46px!important;width:100%!important;border-radius:12px!important}
.side-foot{flex:0 0 auto!important;background:rgba(255,255,255,.97)!important;border-top:1px solid #e6edf7!important}
#syncMini{font-size:11px!important;color:#718198!important}
#logoutBtn{border:0!important;border-radius:12px!important}
@media(max-width:760px){#nav button{flex-basis:44px!important}.side-foot{padding-bottom:max(10px,env(safe-area-inset-bottom))!important}}

/* HARAKATSIZ GLOBAL REPORT 2026-09-25 */
.inactive-report-card .final-head{align-items:flex-end;gap:12px}
.inactive-report-card .final-head small{display:block;margin-top:4px;color:#667892;font-weight:700}
.inactive-summary-wrap,.inactive-detail-wrap{overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.inactive-summary-table{min-width:1680px;border-collapse:separate;border-spacing:0}
.inactive-summary-table th{background:#92d050!important;color:#102335!important;border-color:#70aa31!important;text-align:center!important;font-weight:900!important}
.inactive-summary-table thead tr:first-child th{position:sticky;top:0;z-index:3}
.inactive-summary-table thead tr:nth-child(2) th{position:sticky;top:38px;z-index:3}
.inactive-summary-table td{text-align:right;white-space:nowrap}
.inactive-summary-table th:first-child,.inactive-summary-table td:first-child{position:sticky;left:0;z-index:2;text-align:left;background:#f7fbf1}
.inactive-summary-table thead th:first-child{z-index:5;background:#92d050!important}
.inactive-summary-table .branch-name small{display:block;font-size:10px;color:#748399;margin-top:3px}
.inactive-total-row td{background:#a5df6b!important;font-weight:900;border-top:2px solid #66a82a!important}
.inactive-total-row td:first-child{background:#92d050!important}
.inactive-plan-cell{display:table-cell!important;text-align:center!important}
.inactive-plan-cell button{margin-left:6px;border:0;background:#fff3b0;border-radius:7px;padding:4px 7px;cursor:pointer;font-weight:900}
.inactive-report-tools{display:flex;gap:10px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin:8px 0 12px}
.inactive-report-tools select{height:40px;min-width:220px;border:1px solid #d7e1ed;border-radius:10px;padding:0 12px;background:#fff;font-weight:800;color:#17304d}
.inactive-detail-table{min-width:1440px}
.inactive-detail-table th{white-space:nowrap}
.inactive-detail-table td{white-space:nowrap}
.inactive-detail-table td:nth-child(2){white-space:normal;min-width:260px}
.inactive-detail-table td:nth-child(2) small{display:block;color:#71849d;margin-top:3px}
.inactive-group-badge{display:inline-flex;padding:5px 9px;border-radius:999px;background:#eef7e7;color:#397817;font-weight:900;font-size:11px}
@media(max-width:760px){
 .inactive-report-card .final-head{align-items:stretch}
 .inactive-report-card .final-actions .final-btn{width:100%}
 .inactive-summary-wrap,.inactive-detail-wrap{margin-left:-8px;margin-right:-8px;padding:0 8px}
 .inactive-summary-table{min-width:1500px;font-size:11px}
 .inactive-summary-table th,.inactive-summary-table td{padding:7px 6px!important}
 .inactive-summary-table thead tr:nth-child(2) th{top:34px}
 .inactive-report-tools{align-items:stretch}
 .inactive-report-tools select{width:100%;min-width:0}
 .inactive-report-tools .final-tabs{width:100%;display:grid;grid-template-columns:repeat(3,1fr)}
 .inactive-report-tools .final-tabs button{min-width:0;padding:8px 5px;font-size:10px}
 .inactive-detail-table{min-width:1280px;font-size:11px}
}

/* HARAKATSIZ COMPACT WHITE-RED REPORT 2026-09-25 */
.compact-report-head{min-height:42px!important;padding:4px 2px 8px!important;margin:0!important}
.compact-report-head h3{margin:0!important;font-size:16px!important}
.inactive-summary-wrap,.inactive-detail-wrap{border:1px solid #eef0f4!important;border-radius:12px!important;background:#fff!important}
.inactive-summary-table{min-width:1660px!important;border-collapse:separate!important;border-spacing:0!important;font-size:12px!important}
.inactive-summary-table th{background:#fff3f5!important;color:#17243a!important;border-color:#f1d3d8!important;text-align:center!important;font-weight:900!important;padding:7px 7px!important}
.inactive-summary-table thead tr:first-child th{background:#fde7eb!important;box-shadow:inset 0 -2px 0 #ed1c2e!important}
.inactive-summary-table td{padding:7px 7px!important;text-align:right!important;white-space:nowrap!important;background:#fff!important;border-color:#edf0f4!important;font-size:12px!important}
.inactive-summary-table th:first-child,.inactive-summary-table td:first-child{min-width:165px!important;max-width:190px!important;text-align:left!important;background:#fff!important}
.inactive-summary-table thead th:first-child{background:#fde7eb!important}
.inactive-summary-table .branch-name small{font-size:9px!important;color:#7a8798!important;margin-top:2px!important}
.inactive-total-row td{background:#fff1f3!important;font-weight:900!important;border-top:2px solid #ed1c2e!important}
.inactive-total-row td:first-child{background:#fde7eb!important}
.inactive-summary-table .plan,.inactive-summary-table td.plan,.inactive-summary-table .inactive-plan-cell.plan{background:#fff2cc!important;color:#17243a!important}
.inactive-summary-table .current-green{background:#e2f0d9!important;color:#216e39!important}
.inactive-summary-table .target-ok{background:#e2f0d9!important;color:#216e39!important}
.inactive-summary-table .target-bad{background:#fce4d6!important;color:#c00000!important}
.inactive-summary-table .target-neutral{background:#f7f8fa!important;color:#59677a!important}
.inactive-summary-table .inactive-plan-cell button{margin-left:4px!important;padding:2px 5px!important;border-radius:6px!important;background:#fff!important;border:1px solid #d8bf00!important}
.inactive-detail-table{min-width:1230px!important;font-size:12px!important}
.inactive-detail-table th{background:#d9eaf7!important;color:#14243c!important;border-color:#b8c9d8!important;padding:7px 7px!important;font-weight:900!important}
.inactive-detail-table td{padding:6px 7px!important;border-color:#edf0f4!important;white-space:nowrap!important}
.inactive-detail-table td:nth-child(2){min-width:250px!important;max-width:360px!important;white-space:normal!important}
.inactive-detail-table td:nth-child(2) small{font-size:10px!important;margin-top:2px!important}
.inactive-detail-table td:nth-child(8){font-weight:900}
.inactive-detail-table td:nth-child(9){font-weight:900;text-align:center}
.inactive-detail-table td:nth-child(10),.inactive-detail-table td:nth-child(11){font-weight:900}
.inactive-group-badge{padding:3px 7px!important;border-radius:8px!important;background:#fff1f3!important;color:#b11125!important;font-size:10px!important}
.inactive-report-tools{margin:6px 0 8px!important;gap:8px!important}
.inactive-report-tools select{height:34px!important;min-width:190px!important;padding:0 10px!important;border-radius:9px!important}
.inactive-report-tools .final-tabs button{padding:7px 10px!important}
@media(max-width:760px){
 .inactive-summary-table{min-width:1580px!important;font-size:11px!important}
 .inactive-summary-table th,.inactive-summary-table td{padding:6px 5px!important}
 .inactive-summary-table th:first-child,.inactive-summary-table td:first-child{min-width:145px!important}
 .inactive-detail-table{min-width:1180px!important;font-size:11px!important}
 .inactive-detail-table th,.inactive-detail-table td{padding:6px 5px!important}
}


/* HARAKATSIZ STICKY COLUMN FIX 2026-09-26 */
.inactive-summary-table thead tr:first-child>th:first-child{
  position:sticky!important;left:0!important;top:0!important;z-index:12!important;
  background:#fde7eb!important;
}
.inactive-summary-table thead tr:nth-child(2)>th:first-child{
  left:auto!important;z-index:4!important;background:#fff3f5!important;
}
.inactive-summary-table tbody>tr>td:first-child{
  position:sticky!important;left:0!important;z-index:6!important;background:#fff!important;
  box-shadow:1px 0 0 #edf0f4!important;
}
.inactive-summary-table tbody>tr.inactive-total-row>td:first-child{
  background:#fde7eb!important;z-index:7!important;
}

/* HARAKATSIZ FINAL APPROVED UI 2026-09-26 */
.inactive-data-note{margin:8px 0 12px;padding:9px 12px;border:1px solid #f0d6a8;border-radius:10px;background:#fff8e8;color:#7a5411;font-size:12px;font-weight:800}
.inactive-detail-search{height:34px!important;min-width:240px!important;max-width:360px!important;margin:0!important;padding:0 11px!important}
.inactive-detail-table{min-width:1500px!important;border-collapse:separate!important;border-spacing:0!important}
.inactive-detail-table th,.inactive-detail-table td{border-right:1px solid #e7edf4!important;border-bottom:1px solid #e7edf4!important;padding:6px 7px!important;vertical-align:middle!important}
.inactive-detail-table thead th{position:sticky!important;top:0!important;z-index:5!important;background:#123554!important;color:#fff!important;text-align:center!important;line-height:1.15!important}
.inactive-detail-table th:nth-child(1),.inactive-detail-table td:nth-child(1){width:42px!important;min-width:42px!important;text-align:center!important}
.inactive-detail-table th:nth-child(2),.inactive-detail-table td:nth-child(2){width:88px!important;min-width:88px!important;max-width:100px!important;white-space:nowrap!important;text-align:center!important}
.inactive-detail-table th:nth-child(3),.inactive-detail-table td:nth-child(3){width:290px!important;min-width:250px!important;max-width:340px!important;white-space:normal!important;text-align:left!important}
.inactive-detail-table th:nth-child(4),.inactive-detail-table td:nth-child(4){width:180px!important;min-width:160px!important;max-width:220px!important;white-space:normal!important;text-align:left!important}
.inactive-detail-table th:nth-child(5),.inactive-detail-table td:nth-child(5){width:150px!important;min-width:140px!important;white-space:normal!important;text-align:left!important}
.inactive-detail-table td:nth-child(n+6):nth-child(-n+11){text-align:right!important}
.inactive-detail-table tbody tr:nth-child(even) td{background:#f8fbfe!important}
.inactive-detail-table tbody tr:hover td{background:#eef6ff!important}
.inactive-pager{display:flex;align-items:center;justify-content:flex-end;gap:7px;padding:9px 2px 2px;color:#607086;font-size:12px;font-weight:800}
.inactive-pager button{width:32px;height:30px;border:1px solid #d5e0ec;border-radius:8px;background:#fff;color:#123554;font-weight:900;cursor:pointer}
.inactive-pager button:hover{background:#eef6ff}
.inactive-summary-table thead tr:first-child>th:first-child{position:sticky!important;left:0!important;top:0!important;z-index:30!important;background:#fde7eb!important}
.inactive-summary-table tbody>tr>td:first-child{position:sticky!important;left:0!important;z-index:15!important;background:#fff!important;box-shadow:2px 0 0 #e7edf4!important}
.inactive-summary-table tbody>tr.inactive-total-row>td:first-child{background:#fde7eb!important;z-index:16!important}
@media(max-width:760px){
 .inactive-detail-search{width:100%!important;max-width:none!important}
 .inactive-detail-table{min-width:1380px!important;font-size:11px!important}
 .inactive-pager{justify-content:center}
}

/* OMBORCHI DESKTOP TABLE FIT 2026-09-27 */
@media(min-width:761px){
 #appView .branch-results-card .report-table-wrap,
 #appView .branch-daily-results-card .report-table-wrap,
 #appView .office-seller-ranking .table-wrap{overflow-x:hidden!important}
 #appView .branch-results-table,
 #appView .branch-daily-results-table,
 #appView .global-seller-table{width:100%!important;min-width:0!important;max-width:100%!important;table-layout:fixed!important}
 #appView .branch-results-table th,
 #appView .branch-results-table td{padding:7px 6px!important;font-size:11px!important;line-height:1.08!important}
 #appView .branch-results-table th:nth-child(1),
 #appView .branch-results-table td:nth-child(1){width:150px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
 #appView .branch-results-table th:nth-child(2),
 #appView .branch-results-table td:nth-child(2){width:108px!important}
 #appView .branch-results-table th:nth-child(3),
 #appView .branch-results-table td:nth-child(3){width:112px!important}
 #appView .branch-results-table th:nth-child(4),
 #appView .branch-results-table td:nth-child(4){width:112px!important}
 #appView .branch-results-table th:nth-child(5),
 #appView .branch-results-table td:nth-child(5){width:82px!important}
 #appView .branch-results-table th:nth-child(6),
 #appView .branch-results-table td:nth-child(6),
 #appView .branch-results-table th:nth-child(7),
 #appView .branch-results-table td:nth-child(7),
 #appView .branch-results-table th:nth-child(8),
 #appView .branch-results-table td:nth-child(8),
 #appView .branch-results-table th:nth-child(9),
 #appView .branch-results-table td:nth-child(9){width:96px!important}
 #appView .branch-results-table th:nth-child(10),
 #appView .branch-results-table td:nth-child(10){width:122px!important}
 #appView .branch-results-table th:nth-child(11),
 #appView .branch-results-table td:nth-child(11){width:78px!important}
 #appView .branch-results-table td.num{font-size:10.5px!important;white-space:nowrap!important}
 #appView .branch-results-table .forecast-pill{min-width:42px!important;padding:4px 6px!important;font-size:10.5px!important}

 #appView .branch-daily-results-table th,
 #appView .branch-daily-results-table td{padding:7px 7px!important;font-size:11px!important;line-height:1.08!important}
 #appView .branch-daily-results-table th:first-child,
 #appView .branch-daily-results-table td:first-child{width:155px!important;white-space:nowrap!important}
 #appView .branch-daily-results-table td.num{font-size:10.8px!important;white-space:nowrap!important}

 #appView .global-seller-table th,
 #appView .global-seller-table td{padding:9px 8px!important;font-size:11px!important;line-height:1.1!important}
 #appView .global-seller-table th:nth-child(1),
 #appView .global-seller-table td:nth-child(1){width:54px!important}
 #appView .global-seller-table th:nth-child(2),
 #appView .global-seller-table td:nth-child(2){width:42%!important;min-width:0!important}
 #appView .global-seller-table th:nth-child(3),
 #appView .global-seller-table td:nth-child(3){width:25%!important}
 #appView .global-seller-table th:nth-child(4),
 #appView .global-seller-table td:nth-child(4){width:16%!important}
 #appView .global-seller-table th:nth-child(5),
 #appView .global-seller-table td:nth-child(5){width:16%!important}
 #appView .global-seller-table th,
 #appView .global-seller-table td{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
}

@media(min-width:761px){
 #appView .global-seller-table th:nth-child(1),#appView .global-seller-table td:nth-child(1){width:46px!important}
 #appView .global-seller-table th:nth-child(2),#appView .global-seller-table td:nth-child(2){width:33%!important}
 #appView .global-seller-table th:nth-child(3),#appView .global-seller-table td:nth-child(3){width:18%!important}
 #appView .global-seller-table th:nth-child(4),#appView .global-seller-table td:nth-child(4){width:13%!important}
 #appView .global-seller-table th:nth-child(5),#appView .global-seller-table td:nth-child(5){width:13%!important}
 #appView .global-seller-table th:nth-child(6),#appView .global-seller-table td:nth-child(6){width:13%!important}
 #appView .global-seller-table th:nth-child(7),#appView .global-seller-table td:nth-child(7){width:8%!important}
}

/* OMBORCHI SELLER FIT + LARGE DASH TYPO 2026-09-27 */
@media(min-width:761px){
 #appView .office-seller-ranking .seller-table{overflow-x:hidden!important;border:1px solid #e5e9f0!important;border-radius:16px!important}
 #appView .office-seller-ranking .global-seller-table{width:100%!important;min-width:0!important;table-layout:fixed!important}
 #appView .office-seller-ranking .global-seller-table th,
 #appView .office-seller-ranking .global-seller-table td{padding:8px 10px!important}
}
#appView .exact-plan .section-head h3,
#appView .office-dyn-head h3{font-size:24px!important}
#appView .exact-plan .metric-copy span,
#appView .exact-plan .total-strip span,
#appView .exact-plan .plan-strip span{font-size:14px!important}
#appView .exact-plan .metric-copy b{font-size:22px!important}
#appView .exact-plan .metric-copy small{font-size:13px!important}
#appView .exact-plan .total-strip b,
#appView .exact-plan .plan-strip b{font-size:19px!important}
#appView .plan-donut-center small{font-size:14px!important}
#appView .plan-donut-center b{font-size:34px!important}
#appView .donut-legend{font-size:13px!important}
#appView .office-dyn-kpis span b{font-size:18px!important}
#appView .office-dyn-kpis span small{font-size:12px!important}
#appView .office-dyn-subtitle{font-size:13px!important}
#appView .office-dyn-tabs button{font-size:14px!important;font-weight:900!important}
@media(max-width:760px){
 #appView .exact-plan .section-head h3,#appView .office-dyn-head h3{font-size:19px!important}
 #appView .exact-plan .metric-copy b{font-size:18px!important}
 #appView .exact-plan .total-strip b,#appView .exact-plan .plan-strip b{font-size:16px!important}
}

/* ===== OMBORCHI KIRIM 1X1 DIRECT UI 2026-09-27 ===== */
#appView .kirim1x1-shell{max-width:760px;margin:0 auto;padding:18px 10px 46px}
#appView .kirim1x1-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:2px 0 20px}
#appView .kirim1x1-head h1{margin:0;font-size:28px;line-height:1.1;letter-spacing:-.025em;color:#102239;font-weight:900}
#appView .kirim1x1-head-actions{display:flex;gap:8px;align-items:center}
#appView .kirim1x1-head-actions .btn{min-height:42px;border-radius:12px;padding:0 15px;font-weight:850}
#appView .kirim1x1-add{box-shadow:0 8px 18px rgba(215,25,45,.18)}
#appView .kirim1x1-live{display:inline-flex;align-items:center;gap:7px;margin:0 0 14px;padding:7px 10px;border:1px solid #d8e5df;border-radius:999px;background:#f5fbf8;color:#36705a;font-size:11px;font-weight:800}
#appView .kirim1x1-live span{width:8px;height:8px;border-radius:50%;background:#16a36a;box-shadow:0 0 0 4px rgba(22,163,106,.10)}
#appView .kirim1x1-list{display:grid;gap:12px}
#appView .kirim1x1-card{position:relative;display:flex;align-items:center;gap:12px;min-height:90px;padding:14px 13px;background:#fff;border:1px solid #dde7ee;border-radius:16px;box-shadow:0 4px 14px rgba(16,42,64,.045);transition:.15s ease}
#appView .kirim1x1-card:hover{border-color:#ef5a69;box-shadow:0 8px 22px rgba(215,25,45,.08);transform:translateY(-1px)}
#appView .kirim1x1-main{min-width:0;flex:1}
#appView .kirim1x1-supplier{font-size:15px;line-height:1.3;font-weight:900;color:#122b3c;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#appView .kirim1x1-meta{display:flex;align-items:center;flex-wrap:wrap;gap:4px 9px;margin-top:7px;color:#738294;font-size:11px}
#appView .kirim1x1-meta .badge{font-size:10px;padding:3px 7px}
#appView .kirim1x1-total{margin-top:7px;font-size:15px;font-weight:900;color:#0f2c3e}
#appView .kirim1x1-card .kc-action-wrap{flex:0 0 auto;margin-left:auto}
#appView .kirim1x1-card .kc-dots{width:38px;height:40px;border:0;border-radius:10px;background:#eff4f7;color:#355065;font-size:20px;font-weight:900;cursor:pointer}
#appView .kirim1x1-card .kc-dots:hover{background:#ffecef;color:#d7192d}
#appView .kirim1x1-loading,#appView .kirim1x1-empty,#appView .kirim1x1-error{padding:28px 18px;border:1px solid #e1e8ee;border-radius:16px;background:#fff;color:#6b7c8e;text-align:center}
#appView .kirim1x1-error{display:grid;gap:8px;color:#b4232f}
#appView .kirim1x1-form{max-width:760px;margin:0 auto;border-radius:18px!important}
#appView .kirim1x1-form .form-grid{gap:12px!important}
#appView .kirim1x1-form .field{font-size:13px!important}
#appView .kirim1x1-form input,#appView .kirim1x1-form select,#appView .kirim1x1-form textarea{min-height:44px!important;border-radius:11px!important}
#appView .kirim1x1-form .supplier-subtabs{border-radius:13px!important}
#appView .kirim1x1-form .product-results{max-height:55vh!important}
#appView .kirim1x1-warehouse-note,#appView .kirim1x1-direct-note{margin-top:6px;padding:8px 10px;border-radius:9px;background:#f1faf5;color:#287257;font-size:11px;font-weight:750}
#appView .kirim1x1-form #sopWarehouse:disabled{opacity:1;color:#18384a;background:#f7faf9}
#appView .kirim1x1-form #sopNumber[readonly]{background:#f6f8fa;font-weight:850}
@media(max-width:760px){
 #appView .kirim1x1-shell{padding:10px 4px 82px}
 #appView .kirim1x1-head{align-items:flex-start}
 #appView .kirim1x1-head h1{font-size:22px}
 #appView .kirim1x1-head-actions{gap:5px}
 #appView .kirim1x1-head-actions .btn{min-height:38px;padding:0 11px;font-size:12px}
 #appView .kirim1x1-card{min-height:82px;padding:12px 10px;border-radius:14px}
 #appView .kirim1x1-supplier{font-size:13px;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
 #appView .kirim1x1-meta{font-size:10px;gap:3px 7px}
 #appView .kirim1x1-total{font-size:14px}
 #appView .kirim1x1-form{border-radius:14px!important}
}
/* ===== END OMBORCHI KIRIM 1X1 DIRECT UI ===== */

/* ===== KIRIM DIRECT ALGENIX ACTIVE ===== */
.kd-history{overflow:visible!important}
.kd-source{margin:8px 0 12px;color:#16815f;font-size:12px;font-weight:800}
.kd-list{display:grid;gap:10px}
.kd-card{position:relative;display:flex;align-items:center;gap:10px;padding:13px 14px;border:1px solid #dfe7ee;border-radius:15px;background:#fff;box-shadow:0 4px 14px rgba(16,42,64,.05)}
.kd-main{min-width:0;flex:1}
.kd-name{color:#102a40;font-size:14px;font-weight:900;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.kd-meta{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;margin-top:5px;color:#728296;font-size:11px}
.kd-total{margin-top:6px;color:#123a50;font-size:14px;font-weight:900}
.kd-menu-wrap{position:relative;flex:0 0 auto}
.kd-dots{width:38px;height:40px;border:0;border-radius:10px;background:#eef4f7;color:#334b5d;font-size:20px;font-weight:900;cursor:pointer}
.kd-menu{display:none;position:absolute;right:0;top:44px;z-index:90;min-width:170px;padding:5px;border:1px solid #dfe7ed;border-radius:12px;background:#fff;box-shadow:0 14px 34px rgba(16,42,64,.2)}
.kd-menu.open{display:grid}
.kd-menu button{border:0;border-radius:8px;background:#fff;padding:10px 11px;text-align:left;font-weight:800;color:#1c3448;cursor:pointer}
.kd-menu button:hover{background:#f5f7fa}
.kd-error{display:grid;gap:8px;padding:20px;border:1px solid #ffd4d8;border-radius:14px;background:#fff7f8;color:#b42335}
.kd-overlay{position:fixed;inset:0;z-index:5000;display:grid;place-items:center;padding:16px;background:rgba(8,24,38,.62);backdrop-filter:blur(5px)}
.kd-panel{width:min(640px,100%);max-height:88vh;overflow:auto;border-radius:20px;background:#fff;padding:18px;box-shadow:0 24px 80px rgba(0,0,0,.28)}
.kd-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding-bottom:12px;border-bottom:1px solid #e8edf1}
.kd-panel-head h2{margin:0;color:#102a40;font-size:20px}
.kd-panel-head small{color:#718093}
.kd-panel-head button{width:38px;height:38px;border:0;border-radius:10px;background:#eef3f6;font-size:25px;cursor:pointer}
.kd-info{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:14px 0}
.kd-info span{padding:10px;border:1px solid #e6edf2;border-radius:11px;background:#fafcfd}
.kd-info small{display:block;color:#7b8b9b;font-size:10px}
.kd-info b{display:block;margin-top:2px;color:#18384b;font-size:13px}
.kd-lines{display:grid;gap:7px}
.kd-line{display:flex;justify-content:space-between;gap:12px;padding:10px;border:1px solid #e5ebef;border-radius:11px;background:#fbfdfe;font-size:12px}
.kd-line b{color:#17384b}
.kd-line span{color:#506678;text-align:right}
@media(max-width:760px){
 .kd-history{padding:12px!important}
 .kd-card{padding:12px 10px}
 .kd-name{font-size:13px;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
 .kd-meta{font-size:10px;gap:3px 6px}
 .kd-total{font-size:13px}
 .kd-info{grid-template-columns:1fr}
 .kd-line{display:grid;gap:4px}
 .kd-line span{text-align:left}
}
/* ===== END KIRIM DIRECT ALGENIX ACTIVE ===== */

/* ===== SANOQ PREMIUM 2026-09-28 ===== */
.count-page-premium,.count-focus-page{--cp-blue:#0969f7;--cp-ink:#07152f;--cp-muted:#607493;--cp-line:rgba(118,150,193,.22);--cp-glass:rgba(255,255,255,.86);font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--cp-ink)}
.count-page-premium{max-width:1120px;margin:0 auto;padding:8px 2px 28px}.count-list-top{display:flex;align-items:end;justify-content:space-between;gap:14px;margin:4px 0 14px}.count-list-top small{font-size:11px;font-weight:800;letter-spacing:.12em;color:#7689a4}.count-list-top h1{margin:2px 0 0;font-size:30px;letter-spacing:-.04em}
.count-session-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.count-session-premium{padding:18px;border:1px solid rgba(143,171,209,.26);border-radius:24px;background:linear-gradient(145deg,rgba(255,255,255,.96),rgba(239,247,255,.88));box-shadow:0 18px 44px rgba(55,96,151,.10),inset 0 1px 0 #fff}
.count-session-main{display:flex;align-items:center;justify-content:space-between;gap:12px}.count-session-main small{display:block;color:#7d8da4;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}.count-session-main b{display:block;margin-top:3px;font-size:19px}.count-session-main>strong{font-size:22px;color:var(--cp-blue)}
.count-session-progress{height:8px;background:#dfe9f5;border-radius:999px;overflow:hidden;margin:14px 0 12px}.count-session-progress i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#00bd70,#21d989)}
.count-session-meta{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.count-session-meta span{padding:9px;border-radius:13px;background:rgba(244,248,253,.9);color:#6e8098;font-size:10px;text-align:center}.count-session-meta b{display:block;font-size:16px;color:#0c1c36;margin-top:2px}
.count-session-actions{display:flex;gap:7px!important;margin-top:13px;flex-wrap:wrap}.count-primary-btn,.count-soft-btn{min-height:40px;border:0;border-radius:13px;padding:0 15px;font-weight:850;cursor:pointer}.count-primary-btn{background:linear-gradient(135deg,#1378ff,#005fe8);color:#fff;box-shadow:0 9px 22px rgba(0,102,244,.23)}.count-soft-btn{background:#edf4fc;color:#254367}.count-soft-btn.danger{background:#fff0f1;color:#db2036}

.count-focus-page{max-width:980px;margin:0 auto;padding:12px 14px 28px;background:radial-gradient(circle at 12% 0,rgba(64,155,255,.11),transparent 28%),linear-gradient(180deg,#f5faff 0,#eef6ff 100%);min-height:100vh}
.count-focus-summary,.count-search-premium,.count-current-card,.count-recent-premium{border:1px solid rgba(135,168,211,.25);background:linear-gradient(145deg,rgba(255,255,255,.96),rgba(242,248,255,.90));box-shadow:0 18px 50px rgba(54,96,149,.11),inset 0 1px 0 rgba(255,255,255,.95)}
.count-focus-summary{position:relative;display:grid;grid-template-columns:minmax(200px,1.3fr) minmax(330px,1.8fr) 58px;align-items:center;gap:16px;padding:17px 18px 25px;border-radius:24px;margin-bottom:14px}
.count-place small{display:block;color:#58708f;font-size:12px;font-weight:700}.count-place b{display:block;margin-top:1px;font-size:27px;line-height:1.05;letter-spacing:-.035em}
.count-kpis{display:grid;grid-template-columns:repeat(3,1fr)}.count-kpis span{padding:0 14px;border-left:1px solid rgba(109,143,185,.18);font-size:11px;color:#58708f}.count-kpis b{display:block;margin-top:2px;font-size:25px;color:#09172e}
.count-more-wrap{position:relative}.count-more-btn{width:52px;height:52px;border:1px solid rgba(110,146,192,.2);border-radius:15px;background:rgba(255,255,255,.82);font-size:22px;color:#1768d9;box-shadow:0 7px 18px rgba(46,84,137,.09)}
.count-more-menu{position:absolute;right:0;top:60px;width:230px;padding:8px;display:none;z-index:90;background:rgba(255,255,255,.98);border:1px solid rgba(118,148,189,.2);border-radius:18px;box-shadow:0 24px 55px rgba(20,54,102,.2)}.count-more-menu.open{display:grid}.count-more-menu button{display:flex;align-items:center;gap:10px;min-height:46px;border:0;border-radius:12px;background:transparent;padding:0 12px;font-weight:800;color:#14263f;text-align:left}.count-more-menu button:hover{background:#eef5fd}
.count-progress-track{position:absolute;left:calc(32% + 20px);right:80px;bottom:12px;height:8px;border-radius:999px;background:#dee8f5;overflow:hidden}.count-progress-track i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#00b96b,#25d88a)}.count-progress-pct{position:absolute;right:20px;bottom:7px;font-size:14px;color:#255482}
.count-search-premium{display:grid;grid-template-columns:74px 1fr;gap:10px;padding:10px;border-radius:22px;margin-bottom:14px}.count-camera-btn{height:62px;border:0;border-radius:17px;background:linear-gradient(145deg,#147eff,#005ce6);color:#fff;font-size:30px;box-shadow:0 13px 24px rgba(8,103,241,.28)}.count-search-field{position:relative;display:flex;align-items:center;border:1.5px solid #69a9fb;border-radius:17px;background:rgba(255,255,255,.9);padding:0 16px}.count-search-field>span{font-size:27px;color:#5d7392;margin-right:9px}.count-search-field input{width:100%;height:60px;border:0;outline:0;background:transparent;font-size:17px;font-weight:650;color:#12233e}

.count-current-host{margin-bottom:18px}.count-current-empty{padding:38px;text-align:center;border:1px dashed #b8cbe3;border-radius:22px;color:#7185a0;background:rgba(255,255,255,.58)}
.count-current-card{padding:22px;border-radius:26px}.count-current-title{text-align:center;margin:0 0 16px}.count-current-title span{display:block;font-size:14px;color:#536c8c;font-weight:750}.count-current-title b{display:block;margin-top:2px;font-size:31px;letter-spacing:-.035em}
.count-current-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.count-current-stats>div{min-height:116px;border-radius:20px;padding:15px;background:rgba(255,255,255,.78);display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px solid rgba(120,151,193,.18)}.count-current-stats small{font-size:13px;color:#536b8a;font-weight:750}.count-current-stats strong,.count-current-stats input{margin-top:4px;font-size:47px;font-weight:950;letter-spacing:-.05em;color:#07152f}.count-current-stats input{width:100%;border:0;outline:0;text-align:center;background:transparent}
.count-current-stats .active{border-color:#4fa6ff;box-shadow:0 10px 24px rgba(24,133,255,.13);background:linear-gradient(145deg,#edf8ff,#ddf3ff)}.count-current-stats .active input{color:#0867ef}.count-current-stats .minus{background:#fff1f3}.count-current-stats .minus strong{color:#f01228}.count-current-stats .plus{background:#eef6ff}.count-current-stats .plus strong{color:#0867ef}
.count-current-card.equal{border:2px solid #19c975;background:linear-gradient(145deg,#ecfff5,#cffff0);box-shadow:0 14px 34px rgba(25,201,117,.16)}.count-current-card.short{border:2px solid #ffb11a;background:linear-gradient(145deg,#fffaf0,#fff0bf);box-shadow:0 14px 34px rgba(255,177,26,.14)}.count-current-card.over{border:2px solid #1787ff;background:linear-gradient(145deg,#edf6ff,#cfe8ff);box-shadow:0 14px 34px rgba(23,135,255,.16)}.count-current-card.zero-stock{border:2px solid #ff3152;background:linear-gradient(145deg,#fff2f5,#ffd5dc);box-shadow:0 14px 34px rgba(255,49,82,.16)}.count-current-card.zero-stock .count-current-title,.count-current-card.zero-stock .count-current-title span{color:#d91838}.count-current-card.zero-stock .count-current-stats .plus{background:#ffe8ed}.count-current-card.zero-stock .count-current-stats .plus strong{color:#e51539}
.count-current-verdict{display:inline-flex;align-items:center;justify-content:center;margin-top:8px;padding:8px 14px;border-radius:999px;font-style:normal;font-size:13px;font-weight:950;letter-spacing:.01em}.count-current-verdict.equal{background:#18c777;color:#fff;box-shadow:0 7px 18px rgba(24,199,119,.24)}.count-current-verdict.short{background:#ffb11a;color:#3b2900;box-shadow:0 7px 18px rgba(255,177,26,.22)}.count-current-verdict.over{background:#1787ff;color:#fff;box-shadow:0 7px 18px rgba(23,135,255,.24)}.count-current-verdict.zero-stock{background:#ff3152;color:#fff;box-shadow:0 7px 18px rgba(255,49,82,.24)}
.count-current-stepper{display:grid;grid-template-columns:1fr 1.8fr 1fr;gap:12px;margin-top:14px}.count-current-stepper button,.count-current-stepper div{height:76px;border-radius:20px;border:1px solid rgba(126,157,197,.18);display:flex;align-items:center;justify-content:center;font-size:45px;font-weight:900}.count-current-stepper button:first-child{background:linear-gradient(145deg,#fff3f4,#ffdfe3);color:#ed1830;border-color:#ff8c99}.count-current-stepper button:last-child{background:linear-gradient(145deg,#edfff5,#c8f9dd);color:#00a85e;border-color:#63dfa1}.count-current-stepper div,.count-current-stepper .count-current-edit{font-size:42px;background:#f2f7fd;color:#07152f;border-color:#cbdbea;box-shadow:inset 0 1px 0 rgba(255,255,255,.9)}
.count-recent-premium{padding:18px;border-radius:26px}.count-recent-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.count-recent-title h2{margin:0;font-size:24px;letter-spacing:-.03em}.count-recent-title span{padding:7px 12px;border-radius:12px;background:#edf4fc;font-weight:850;color:#3d5675}
.count-table-head,.count-premium-row{display:grid;grid-template-columns:110px minmax(190px,1.7fr) minmax(85px,.6fr) minmax(95px,.7fr) minmax(120px,.8fr);align-items:center;gap:8px}.count-table-head{padding:8px 13px;color:#506987;font-size:11px;font-weight:850}.count-premium-list{display:grid;gap:7px}.count-premium-row{width:100%;min-height:62px;padding:9px 13px;border:2px solid rgba(127,157,197,.18);border-radius:16px;background:rgba(255,255,255,.9);color:#0b1930;text-align:left;box-shadow:0 7px 18px rgba(25,56,98,.05)}.count-premium-row>*{font-size:15px;font-weight:850}.count-premium-row strong{font-size:16px}.count-premium-row.equal{background:linear-gradient(90deg,#eafff4,#c9f7df);border-color:#22c97d;color:#087d49}.count-premium-row.short{background:linear-gradient(90deg,#fff9e9,#ffefb9);border-color:#ffb11a;color:#7b5200}.count-premium-row.over{background:linear-gradient(90deg,#eaf4ff,#cde6ff);border-color:#1787ff;color:#0864df}.count-premium-row.zero-stock{background:linear-gradient(90deg,#fff0f4,#ffd2da);border-color:#ff3152;color:#d91436}
.count-verdict{display:grid;gap:1px}.count-verdict b{font-size:11px!important;line-height:1.1}.count-verdict small{font-size:10px!important;font-weight:900}.count-verdict.equal{color:#008d51}.count-verdict.short{color:#8a5a00}.count-verdict.over{color:#006fea}.count-verdict.zero-stock{color:#d91436}

.count-offline-chip{position:fixed;right:16px;bottom:16px;display:none;z-index:100;padding:9px 13px;border-radius:999px;background:#12243d;color:#fff;font-size:11px;font-weight:800;box-shadow:0 10px 28px rgba(15,35,62,.24)}.count-offline-chip.show{display:block}
.count-edit-overlay,.count-scan-overlay{position:fixed;inset:0;z-index:10000;background:rgba(6,19,38,.48);backdrop-filter:blur(10px);display:flex;align-items:center;justify-content:center;padding:18px}.count-edit-card,.count-scan-sheet{width:min(440px,100%);border-radius:26px;background:#f9fcff;border:1px solid rgba(255,255,255,.7);box-shadow:0 30px 80px rgba(4,25,55,.30);padding:20px}.count-edit-head,.count-scan-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.count-edit-head h3{margin:2px 0 0;font-size:25px}.count-edit-head small{font-size:10px;letter-spacing:.12em;color:#7085a0;font-weight:800}.count-edit-head button,.count-scan-head button{width:40px;height:40px;border:0;border-radius:12px;background:#edf4fc;font-size:22px}.count-edit-card label{display:grid;gap:6px;margin:11px 0;font-size:11px;font-weight:800;color:#526a88}.count-edit-card input,.count-edit-card select{height:50px;border:1px solid #d5e2f1;border-radius:14px;background:#fff;padding:0 13px;font-size:15px;font-weight:750;color:#10233e}.count-edit-card>.count-primary-btn{width:100%;margin-top:10px;height:52px}
.count-edit-card-wide{width:min(700px,100%);max-height:min(88vh,820px);overflow:auto}
.count-assign-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:14px 0 8px}.count-assign-head b{display:block;font-size:14px;color:#17304f}.count-assign-head small{display:block;margin-top:2px;font-size:10px;color:#7387a2}.count-assign-list{display:grid;gap:10px}.count-assign-row{display:grid;grid-template-columns:minmax(135px,.8fr) minmax(230px,1.7fr) 42px;gap:9px;align-items:end;padding:10px;border:1px solid rgba(127,157,197,.20);border-radius:17px;background:linear-gradient(145deg,#fff,#f3f8fe)}.count-assign-row label{margin:0}.count-assign-remove{width:42px;height:50px;border:0;border-radius:13px;background:#fff0f1;color:#dc1e32;font-size:22px;font-weight:900;cursor:pointer}.count-assign-row select:disabled{opacity:.75;background:#edf3f9}.count-assign-head .count-soft-btn{white-space:nowrap}
@media(max-width:760px){.count-edit-card-wide{width:100%;max-height:92dvh;padding:16px}.count-assign-head{align-items:flex-start;flex-direction:column}.count-assign-head .count-soft-btn{width:100%}.count-assign-row{grid-template-columns:1fr 42px}.count-assign-row label:first-child{grid-column:1/2}.count-assign-row label:nth-child(2){grid-column:1/2}.count-assign-remove{grid-column:2/3;grid-row:1/3;align-self:stretch;height:auto}}
.count-scan-sheet{position:relative}.count-scan-reader{width:100%;min-height:320px;border-radius:18px;overflow:hidden;background:#061426}.count-scan-sheet video,.count-scan-reader video{width:100%!important;aspect-ratio:3/4;object-fit:cover;border-radius:18px;background:#061426}.count-scan-reader>div{border:0!important}.count-scan-reader img{max-width:72px!important;opacity:.72}.count-scan-frame{position:absolute;left:21%;right:21%;top:36%;height:155px;border:3px solid #42a1ff;border-radius:20px;box-shadow:0 0 0 999px rgba(0,0,0,.12);pointer-events:none}.count-scan-sheet>small{display:block;text-align:center;margin-top:10px;color:#657a96}
@media(max-width:760px){
 html.count-focus .sidebar,html.count-focus .topbar,html.count-focus #bottomNav,html.count-focus .bottom-nav,html.count-focus .mobile-bottom-nav{display:none!important}
 html.count-focus .main{margin:0!important;padding:0!important;min-height:100vh!important;width:100%!important}html.count-focus #content{padding:0!important;margin:0!important;max-width:none!important}
 .count-focus-page{padding:8px 8px 20px;min-height:100dvh}.count-focus-summary{grid-template-columns:minmax(120px,1.1fr) minmax(190px,1.7fr) 44px;gap:7px;padding:13px 11px 23px;border-radius:20px}
 .count-place small{font-size:10px}.count-place b{font-size:22px}.count-kpis span{padding:0 7px;font-size:9px}.count-kpis b{font-size:21px}.count-more-btn{width:42px;height:42px}.count-more-menu{top:49px;width:215px}.count-progress-track{left:42%;right:61px;bottom:9px;height:7px}.count-progress-pct{right:15px;bottom:5px;font-size:12px}
 .count-search-premium{grid-template-columns:62px 1fr;padding:7px;border-radius:19px}.count-camera-btn{height:56px;border-radius:15px}.count-search-field input{height:54px;font-size:15px}.count-current-card{padding:15px 12px;border-radius:22px}.count-current-title b{font-size:25px}.count-current-title span{font-size:12px}
 .count-current-stats{gap:7px}.count-current-stats>div{min-height:96px;padding:10px;border-radius:17px}.count-current-stats small{font-size:11px}.count-current-stats strong,.count-current-stats input{font-size:39px}.count-current-stepper{gap:8px;margin-top:9px}.count-current-stepper button,.count-current-stepper div{height:64px;border-radius:17px;font-size:38px}.count-current-stepper div,.count-current-stepper .count-current-edit{font-size:34px}
 .count-recent-premium{padding:12px 8px;border-radius:22px}.count-recent-title h2{font-size:21px}.count-table-head,.count-premium-row{grid-template-columns:62px minmax(105px,1.45fr) 50px 56px minmax(86px,.85fr);gap:4px}.count-table-head{padding:7px 7px;font-size:9px}.count-premium-row{min-height:60px;padding:7px}.count-premium-row>*{font-size:11px}.count-premium-row strong{font-size:12px}.count-verdict b{font-size:9px!important}.count-verdict small{font-size:9px!important}.count-session-grid{grid-template-columns:1fr}.count-list-top h1{font-size:25px}
}
/* ===== END SANOQ PREMIUM 2026-09-28 ===== */

/* SANOQ full-screen specificity fix */
@media(max-width:760px){
 html.count-focus #appView .sidebar,
 html.count-focus #appView .topbar,
 html.count-focus #appView #bottomNav,
 html.count-focus #appView .bottom-nav,
 html.count-focus #appView .mobile-bottom-nav{display:none!important}
 html.count-focus #appView .main{margin:0!important;padding:0!important;min-height:100vh!important;width:100%!important;max-width:100%!important}
 html.count-focus #appView #content{padding:0!important;margin:0!important;max-width:none!important;width:100%!important}
}

/* SANOQ full-screen layout root fix */
@media(max-width:760px){
 html.count-focus #appView{display:block!important;grid-template-columns:1fr!important;width:100vw!important;max-width:100vw!important;min-width:0!important;overflow-x:hidden!important}
 html.count-focus #appView>.main{display:block!important;width:100vw!important;max-width:100vw!important;min-width:0!important;margin:0!important;padding:0!important}
 html.count-focus #appView #content{box-sizing:border-box!important;width:100vw!important;max-width:100vw!important;min-width:0!important;margin:0!important;padding:0!important}
 html.count-focus .count-focus-page{box-sizing:border-box!important;width:100vw!important;max-width:100vw!important;margin:0!important}
}

/* SANOQ compact phones 360-390 */
@media(max-width:390px){
 html.count-focus .count-focus-summary{grid-template-columns:92px minmax(174px,1fr) 36px;gap:4px;padding:11px 7px 22px}
 html.count-focus .count-place small{font-size:8.5px;line-height:1.1;white-space:nowrap}
 html.count-focus .count-place b{font-size:19px}
 html.count-focus .count-kpis span{padding:0 4px;font-size:8px}
 html.count-focus .count-kpis b{font-size:18px}
 html.count-focus .count-more-btn{width:36px;height:40px;border-radius:12px;font-size:18px}
 html.count-focus .count-progress-track{left:37%;right:51px;bottom:8px}
 html.count-focus .count-progress-pct{right:10px;font-size:11px}
 html.count-focus .count-search-premium{grid-template-columns:54px minmax(0,1fr);gap:7px;padding:6px}
 html.count-focus .count-camera-btn{height:54px}
 html.count-focus .count-search-field{padding:0 10px}
 html.count-focus .count-search-field>span{font-size:22px;margin-right:6px}
 html.count-focus .count-search-field input{font-size:13px}
 html.count-focus .count-recent-title h2{font-size:19px}
 html.count-focus .count-table-head,html.count-focus .count-premium-row{grid-template-columns:50px minmax(110px,1fr) 44px 52px 42px;gap:3px}
 html.count-focus .count-table-head{padding:7px 6px;font-size:8px}
 html.count-focus .count-premium-row{padding:7px 6px;min-height:57px}
 html.count-focus .count-premium-row>*{font-size:10.5px}
 html.count-focus .count-premium-row strong{font-size:11.5px}
}

/* SANOQ software keyboard fallback for phones with hardware scanner attached */
.count-soft-keyboard{position:fixed;left:0;right:0;bottom:0;z-index:2147483000;background:rgba(12,20,34,.98);border-top:1px solid rgba(255,255,255,.10);padding:8px max(8px,env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));box-shadow:0 -18px 50px rgba(4,15,32,.26);backdrop-filter:blur(18px)}
.count-soft-keyboard-top{display:flex;align-items:center;justify-content:space-between;color:#fff;max-width:760px;margin:0 auto 7px}.count-soft-keyboard-top b{font-size:12px;letter-spacing:.02em}.count-soft-keyboard-top>button{width:36px;height:32px;border:0;border-radius:10px;background:#27364c;color:#fff;font-size:20px;font-weight:800}
.count-soft-keyboard-rows{max-width:760px;margin:0 auto;display:grid;gap:5px}.count-soft-keyboard-rows>div{display:flex;justify-content:center;gap:4px}.count-soft-keyboard button[data-soft-key],.count-soft-keyboard button[data-soft-lang]{min-width:0;height:42px;flex:1;border:0;border-radius:8px;background:#354258;color:#fff;font-size:15px;font-weight:750;box-shadow:inset 0 1px rgba(255,255,255,.08)}.count-soft-keyboard button:active{transform:translateY(1px);background:#465570}
.count-soft-keyboard.text .count-soft-keyboard-rows>div:nth-child(2){padding:0 10px}.count-soft-keyboard.text .count-soft-keyboard-rows>div:nth-child(3){padding:0 22px}.count-soft-keyboard.text .count-soft-keyboard-rows>div:nth-child(4){padding:0 36px}.count-soft-keyboard-bottom{padding:0!important}.count-soft-keyboard-bottom [data-soft-key="SPACE"]{flex:3}.count-soft-keyboard-bottom [data-soft-key="DONE"]{flex:1.5;background:#1976ed}.count-soft-keyboard-bottom [data-soft-lang]{flex:.8}
.count-soft-keyboard.numeric{left:50%;right:auto;width:min(360px,100vw);transform:translateX(-50%);border-radius:20px 20px 0 0}.count-soft-keyboard.numeric .count-soft-keyboard-rows>div{padding:0!important}.count-soft-keyboard.numeric button[data-soft-key]{height:54px;font-size:21px}.count-soft-keyboard.numeric button[data-soft-key="DONE"]{background:#1976ed;font-size:14px}
@media(min-width:761px){.count-soft-keyboard{display:none!important}}


/* ===== SANOQ ACTS + REVIEW FINAL 2026-09-28 ===== */
.count-acts-page{max-width:none!important;width:100%;padding:20px 18px 90px}
.count-acts-card{background:#fff;border:1px solid #dbe5f1;border-radius:18px;padding:0;box-shadow:0 16px 42px rgba(18,48,85,.07);overflow:visible}
.count-acts-search{height:58px;display:flex;align-items:center;gap:10px;padding:10px 14px;border-bottom:1px solid #e5edf6}
.count-acts-search>span{font-size:25px;color:#67809e}
.count-acts-search input{width:100%;height:38px;border:0;outline:0;background:transparent;font:600 14px/1.2 inherit;color:#102641}
.count-acts-table{overflow:visible}
.count-acts-table table{width:100%;border-collapse:separate;border-spacing:0;font-size:13px}
.count-acts-table thead th{height:42px;padding:8px 14px;text-align:left;background:#f4f7fb;color:#687c95;font-size:11px;font-weight:850;border-bottom:1px solid #dbe5f1;white-space:nowrap}
.count-acts-table th.num,.count-acts-table td.num{text-align:right}
.count-acts-table tbody tr{cursor:default;transition:.16s ease}
.count-acts-table tbody tr:hover{background:#f9fbfe}
.count-acts-table tbody td{height:62px;padding:9px 14px;border-bottom:1px solid #e5edf6;color:#16304f;vertical-align:middle}
.count-acts-table tbody td:first-child b{display:block;font-size:13px;color:#102641}
.count-acts-table tbody td:first-child small{display:block;margin-top:3px;color:#8293a8;font-size:10px}
.count-inline-progress{width:90px;height:6px;margin:5px 0 0 auto;background:#e4edf7;border-radius:999px;overflow:hidden}
.count-inline-progress i{display:block;height:100%;background:linear-gradient(90deg,#18c779,#1677ff);border-radius:999px}
.count-status{display:inline-flex;align-items:center;gap:6px;min-width:100px;justify-content:center;padding:7px 10px;border-radius:9px;font-size:11px;font-weight:850;white-space:nowrap}
.count-status.active{background:#e8f2ff;color:#0867e8}.count-status.warn{background:#fff3d8;color:#a96b00}.count-status.done{background:#e8f8ef;color:#158448}.count-status.ok{background:#dff7e8;color:#087a3d}
.count-act-more{position:relative;display:inline-flex}
.count-act-more-btn{width:40px;height:36px;border:0;border-radius:9px;background:#f2f5f8;color:#1268e8;font-size:20px;font-weight:900;cursor:pointer}
.count-act-menu{display:none;position:absolute;right:0;top:42px;z-index:80;width:200px;padding:6px;background:#fff;border:1px solid #dce5f0;border-radius:13px;box-shadow:0 18px 48px rgba(17,42,75,.18)}
.count-act-menu.open{display:grid}
.count-act-menu button{height:40px;border:0;border-radius:9px;background:transparent;text-align:left;padding:0 12px;font:750 12px/1 inherit;color:#173351;cursor:pointer}
.count-act-menu button:hover:not(:disabled){background:#edf5ff;color:#0768ec}
.count-act-menu button.danger{color:#d51e32}.count-act-menu button:disabled{opacity:.38;cursor:not-allowed}
.count-primary-btn.small{height:38px;padding:0 14px;font-size:11px}
.count-review-page{padding:18px 18px 90px;max-width:none}
.count-review-top{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:16px}
.count-review-top>div{display:grid;gap:5px}.count-review-top small{color:#7589a2;font-size:10px;font-weight:850;letter-spacing:.12em}.count-review-top h1{margin:0;color:#0e2542;font-size:26px}
.count-review-top .count-soft-btn{width:max-content;margin-bottom:4px}
.count-review-kpis{display:grid;grid-template-columns:repeat(4,minmax(140px,1fr));gap:10px;margin-bottom:12px}
.count-review-kpis span{padding:14px 16px;border:1px solid #dce6f2;border-radius:14px;background:#fff;color:#72859b;font-size:10px}
.count-review-kpis b{display:block;margin-top:5px;font-size:20px;color:#0d2746}
.count-review-search{height:52px;display:flex;align-items:center;gap:9px;padding:0 14px;margin-bottom:12px;border:1px solid #cfdceb;border-radius:14px;background:#fff}
.count-review-search span{font-size:22px;color:#7186a1}.count-review-search input{flex:1;border:0;outline:0;font:650 13px/1 inherit;color:#102641}
.count-review-table{background:#fff;border:1px solid #dce5f0;border-radius:16px;overflow:auto}
.count-review-table table{width:100%;min-width:920px;border-collapse:collapse}
.count-review-table th{padding:11px 12px;background:#f4f7fb;color:#697c94;text-align:left;font-size:10px;white-space:nowrap}
.count-review-table td{padding:11px 12px;border-top:1px solid #e6edf5;color:#17304d;font-size:12px;vertical-align:top}
.count-review-table .num{text-align:right}.count-review-table tr.zero-stock{background:#fff0f1;color:#c51a2f}.count-review-table tr.over{background:#eef6ff}.count-review-table tr.short{background:#fff}
.count-who-list{display:flex;flex-wrap:wrap;gap:5px}.count-who-chip{display:inline-flex;gap:4px;padding:5px 7px;border-radius:8px;background:#eef4fb;color:#314c6d;font-size:10px}.count-who-chip b{color:#0765df}.count-who-chip strong{color:#102641}
.count-recount-card{width:min(520px,100%)}.count-recount-list{display:grid;gap:8px;margin:14px 0}
.count-recount-list label{display:flex;align-items:center;gap:10px;padding:11px 12px;border:1px solid #dce5ef;border-radius:13px;background:#f8fbff;cursor:pointer}
.count-recount-list input{width:18px;height:18px}.count-recount-list span{display:grid;gap:2px}.count-recount-list b{color:#14304f;font-size:12px}.count-recount-list small{color:#7588a0;font-size:10px}
@media(max-width:760px){
 .count-acts-page{padding:12px 9px 80px}.count-acts-card{border-radius:15px}.count-acts-search{height:50px}
 .count-acts-table{overflow:auto}.count-acts-table table{min-width:860px}.count-acts-table tbody td{height:56px;padding:8px 10px}
 .count-act-menu{position:fixed;left:12px;right:12px;top:auto;bottom:20px;width:auto;z-index:2147482000;padding:10px;border-radius:17px}.count-act-menu button{height:46px;font-size:13px}
 .count-review-page{padding:12px 9px 80px}.count-review-top{align-items:flex-start}.count-review-top h1{font-size:22px}.count-review-kpis{grid-template-columns:1fr 1fr;gap:7px}.count-review-kpis span{padding:11px}.count-review-kpis b{font-size:17px}
 .count-review-table table{min-width:880px}.count-recount-card{width:100%}
}
/* ===== END SANOQ ACTS + REVIEW FINAL ===== */



/* ===== SANOQ ACTS UI + MENU PORTAL FIX 2026-09-28 ===== */
.count-acts-page{
  width:100%!important;
  max-width:1600px!important;
  margin:0 auto!important;
  padding:22px 20px 110px!important;
}
.count-acts-page .count-list-top{
  align-items:center;
  margin-bottom:16px;
}
.count-acts-page .count-list-top>div small{
  letter-spacing:.14em;
  color:#7388a4;
}
.count-acts-page .count-list-top h1{
  margin-top:4px;
  font-size:30px;
  letter-spacing:-.03em;
}
.count-acts-page #newCountFinal{
  height:46px;
  padding:0 22px;
  border-radius:14px;
  box-shadow:0 12px 28px rgba(23,119,242,.22);
}
.count-acts-card{
  position:relative!important;
  overflow:visible!important;
  border:1px solid rgba(176,196,220,.7)!important;
  border-radius:22px!important;
  background:linear-gradient(180deg,#ffffff 0%,#fbfdff 100%)!important;
  box-shadow:0 20px 54px rgba(24,55,93,.09)!important;
}
.count-acts-search{
  height:64px!important;
  padding:11px 14px!important;
  background:linear-gradient(180deg,#fff,#f9fbfe);
  border-bottom:1px solid #e2eaf3!important;
  border-radius:22px 22px 0 0;
}
.count-acts-search>span{
  width:36px;
  text-align:center;
  color:#497299!important;
}
.count-acts-search input{
  height:42px!important;
  padding:0 14px!important;
  border:1px solid #cfdceb!important;
  border-radius:12px!important;
  background:#fff!important;
  font-size:13px!important;
  box-shadow:inset 0 1px 2px rgba(18,49,84,.02);
}
.count-acts-search input:focus{
  border-color:#5ea9ff!important;
  box-shadow:0 0 0 3px rgba(37,137,255,.11)!important;
}
.count-acts-table.table-wrap{
  overflow:visible!important;
  max-height:none!important;
  height:auto!important;
  min-height:0!important;
  padding:0 0 10px!important;
}
.count-acts-table table{
  width:100%!important;
  min-width:980px;
  border-collapse:separate!important;
  border-spacing:0!important;
}
.count-acts-table thead th{
  position:relative;
  height:46px!important;
  padding:10px 16px!important;
  background:#f5f8fc!important;
  color:#687d98!important;
  border-bottom:1px solid #dbe5f0!important;
  font-size:10px!important;
  letter-spacing:.025em;
  text-transform:none;
}
.count-acts-table thead th:first-child{padding-left:18px!important}
.count-acts-table tbody td{
  height:70px!important;
  padding:11px 16px!important;
  background:#fff;
  border-bottom:1px solid #e6edf5!important;
}
.count-acts-table tbody tr:last-child td{border-bottom:0!important}
.count-acts-table tbody tr:hover td{background:#f8fbff}
.count-acts-table tbody td:first-child{padding-left:18px!important}
.count-acts-table tbody td:first-child b{font-size:14px!important}
.count-acts-table tbody td:first-child small{font-size:10px!important}
.count-inline-progress{
  width:96px!important;
  height:6px!important;
  background:#e3edf8!important;
}
.count-status{
  min-width:112px!important;
  padding:7px 12px!important;
  border-radius:999px!important;
  font-size:10px!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.55);
}
.count-act-more{position:relative!important}
.count-act-more-btn{
  width:42px!important;
  height:38px!important;
  border:1px solid #dbe5f0!important;
  border-radius:11px!important;
  background:#f8fbff!important;
  color:#126de8!important;
  box-shadow:0 6px 16px rgba(25,80,145,.07);
  transition:.16s ease;
}
.count-act-more-btn:hover{
  transform:translateY(-1px);
  background:#edf5ff!important;
  border-color:#bcd6f7!important;
}
.count-act-menu.count-act-menu-portal{
  position:fixed!important;
  z-index:2147483200!important;
  display:grid!important;
  width:232px!important;
  padding:8px!important;
  border:1px solid rgba(199,213,229,.94)!important;
  border-radius:16px!important;
  background:rgba(255,255,255,.985)!important;
  box-shadow:0 24px 64px rgba(13,39,73,.24)!important;
  backdrop-filter:blur(18px);
  overflow:visible!important;
}
.count-act-menu.count-act-menu-portal button{
  height:42px!important;
  padding:0 12px!important;
  border-radius:10px!important;
  font-size:12px!important;
  font-weight:800!important;
}
.count-act-menu.count-act-menu-portal button+button{margin-top:2px}
.count-act-menu.count-act-menu-portal button:hover:not(:disabled){
  background:#edf5ff!important;
}
.count-act-menu.count-act-menu-portal button.danger:hover:not(:disabled){
  background:#fff0f2!important;
}
@media(max-width:760px){
  .count-acts-page{padding:12px 8px 90px!important}
  .count-acts-page .count-list-top h1{font-size:24px}
  .count-acts-page #newCountFinal{height:42px;padding:0 14px;border-radius:12px}
  .count-acts-card{border-radius:17px!important;overflow:hidden!important}
  .count-acts-search{height:56px!important;border-radius:17px 17px 0 0}
  .count-acts-table.table-wrap{overflow-x:auto!important;overflow-y:visible!important;max-height:none!important;padding-bottom:8px!important}
  .count-acts-table table{min-width:850px!important}
  .count-acts-table tbody td{height:60px!important;padding:9px 10px!important}
  .count-act-menu.count-act-menu-portal{
    left:10px!important;
    right:10px!important;
    bottom:calc(12px + env(safe-area-inset-bottom))!important;
    top:auto!important;
    width:auto!important;
    border-radius:18px!important;
    padding:10px!important;
  }
  .count-act-menu.count-act-menu-portal button{height:47px!important;font-size:13px!important}
}
/* ===== END SANOQ ACTS UI + MENU PORTAL FIX ===== */



/* ===== SANOQ MOBILE SHORT LIST + SELF CONTINUE 2026-09-28 ===== */
.count-mobile-list{display:none}
.count-row-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px}
.count-row-actions .count-primary-btn.small{white-space:nowrap}
@media(max-width:760px){
  .count-acts-page{
    padding:18px 14px calc(110px + env(safe-area-inset-bottom))!important;
  }
  .count-acts-page .count-list-top{
    margin:0 0 14px!important;
    align-items:center!important;
  }
  .count-acts-page .count-list-top>div small{
    display:block!important;
    font-size:10px!important;
    letter-spacing:.16em!important;
  }
  .count-acts-page .count-list-top h1{
    margin:4px 0 0!important;
    font-size:30px!important;
    line-height:1!important;
  }
  .count-acts-page #newCountFinal{
    height:42px!important;
    padding:0 14px!important;
    font-size:12px!important;
  }
  .count-acts-card{display:none!important}
  .count-mobile-list{
    display:grid!important;
    gap:10px;
    width:100%;
  }
  .count-mobile-card{
    width:100%;
    min-height:92px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:14px;
    border:1px solid #dce6f2;
    border-radius:18px;
    background:linear-gradient(180deg,#fff 0%,#fbfdff 100%);
    box-shadow:0 12px 30px rgba(24,55,93,.08);
  }
  .count-mobile-info{
    min-width:0;
    flex:1;
    display:grid;
    gap:6px;
  }
  .count-mobile-date{
    display:inline-flex;
    width:max-content;
    padding:4px 8px;
    border-radius:999px;
    background:#eef5ff;
    color:#276bb7;
    font-size:10px;
    font-weight:850;
    line-height:1;
  }
  .count-mobile-note{
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
    color:#102845;
    font-size:15px;
    font-weight:850;
    line-height:1.25;
    word-break:break-word;
  }
  .count-mobile-actions{
    flex:0 0 auto;
    display:flex;
    align-items:center;
    gap:7px;
  }
  .count-mobile-continue{
    height:46px!important;
    min-width:132px;
    max-width:164px;
    padding:0 14px!important;
    border-radius:14px!important;
    font-size:12px!important;
    line-height:1.15!important;
    white-space:normal!important;
    text-align:center!important;
    box-shadow:0 10px 24px rgba(21,116,241,.18)!important;
  }
  .count-mobile-state{
    min-width:108px!important;
    max-width:132px;
    white-space:normal!important;
    text-align:center;
    line-height:1.15;
  }
  .count-mobile-actions .count-act-more-btn{
    width:40px!important;
    height:40px!important;
    border-radius:12px!important;
  }
  .count-mobile-empty{
    padding:24px 16px;
    border:1px dashed #ccd9e8;
    border-radius:16px;
    background:#fff;
    color:#72849b;
    text-align:center;
    font-size:13px;
    font-weight:700;
  }
  .count-acts-page .final-offline:not(.show){display:none!important}
}
@media(max-width:420px){
  .count-mobile-card{padding:12px;gap:9px}
  .count-mobile-continue{min-width:118px;max-width:145px;font-size:11px!important}
  .count-mobile-note{font-size:14px}
}
/* ===== END SANOQ MOBILE SHORT LIST + SELF CONTINUE ===== */


/* ===== SANOQ INLINE CAMERA 2026-09-30 ===== */
.count-inline-camera{display:none;margin:-2px 0 10px;border:1px solid rgba(90,155,235,.34);border-radius:22px;overflow:hidden;background:#061426;box-shadow:0 14px 30px rgba(22,94,180,.13)}
.count-inline-camera.show{display:block}
.count-inline-reader{position:relative;width:100%;height:230px;overflow:hidden;background:#061426}
.count-inline-reader video,.count-inline-reader #countScanReaderLib video{width:100%!important;height:100%!important;object-fit:cover!important;background:#061426}
.count-inline-reader #countScanReaderLib{width:100%;height:100%;overflow:hidden}
.count-scan-frame-inline{position:absolute;left:29%;right:29%;top:27%;bottom:27%;border:3px solid #42a1ff;border-radius:18px;box-shadow:0 0 0 999px rgba(0,0,0,.10),0 0 20px rgba(66,161,255,.35);pointer-events:none}
.count-scan-frame-inline:after{content:"";position:absolute;left:8%;right:8%;top:50%;height:2px;background:linear-gradient(90deg,transparent,#52b5ff,transparent);box-shadow:0 0 12px #52b5ff}
.count-camera-status{position:absolute;right:12px;top:12px;display:flex;align-items:center;gap:8px;padding:8px 11px;border-radius:999px;background:rgba(5,18,34,.76);color:#fff;font-size:11px;font-weight:800;backdrop-filter:blur(8px)}
.count-camera-status i{width:9px;height:9px;border-radius:50%;background:#14d37d;box-shadow:0 0 0 4px rgba(20,211,125,.14)}
.count-more-menu .count-camera-menu-item{background:linear-gradient(90deg,#edf6ff,#e1f0ff)!important;color:#075fcf!important}
.count-more-menu .count-camera-menu-item.active{background:linear-gradient(90deg,#fff0f1,#ffe2e5)!important;color:#d52034!important}

@media(max-width:760px){
 .count-inline-reader{height:205px}
 html.count-camera-open .count-focus-page{padding-top:6px}
 html.count-camera-open .count-focus-summary{margin-bottom:8px;padding-top:10px;padding-bottom:20px}
 html.count-camera-open .count-inline-camera{margin-bottom:7px;border-radius:19px}
 html.count-camera-open .count-search-premium{margin-bottom:8px}
 html.count-camera-open .count-current-host{margin-bottom:9px}
 html.count-camera-open .count-current-card{padding:10px 9px;border-radius:18px}
 html.count-camera-open .count-current-title{margin-bottom:8px}
 html.count-camera-open .count-current-title b{font-size:21px;line-height:1.05}
 html.count-camera-open .count-current-verdict{margin-top:5px;padding:5px 10px;font-size:11px}
 html.count-camera-open .count-current-stats>div{min-height:72px;padding:6px;border-radius:14px}
 html.count-camera-open .count-current-stats strong,html.count-camera-open .count-current-stats input{font-size:31px}
 html.count-camera-open .count-current-stepper{margin-top:6px;gap:6px}
 html.count-camera-open .count-current-stepper button,html.count-camera-open .count-current-stepper div{height:50px;border-radius:14px;font-size:30px}
 html.count-camera-open .count-current-stepper div,html.count-camera-open .count-current-stepper .count-current-edit{font-size:28px}
 html.count-camera-open .count-recent-premium{padding-top:9px}
}

.count-camera-target{position:absolute;left:12px;right:12px;bottom:10px;display:grid;grid-template-columns:minmax(0,1fr) 118px;gap:9px;align-items:center;padding:8px 8px 8px 12px;border-radius:16px;background:rgba(5,18,34,.82);backdrop-filter:blur(9px);box-shadow:0 8px 24px rgba(0,0,0,.22)}
.count-camera-target b{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#fff;font-size:12px;letter-spacing:.01em}
.count-camera-target button{height:46px;border:0;border-radius:13px;background:linear-gradient(145deg,#1687ff,#0065eb);color:#fff;font-size:15px;font-weight:950;letter-spacing:.04em;box-shadow:0 8px 18px rgba(0,105,235,.36);touch-action:manipulation}
.count-camera-target button:disabled{background:#526277;color:#a9b5c4;box-shadow:none;opacity:.78}
.count-camera-target button.busy{transform:scale(.98);filter:brightness(.9)}
@media(max-width:760px){.count-camera-target{grid-template-columns:minmax(0,1fr) 104px;left:8px;right:8px;bottom:7px;padding:6px 6px 6px 10px;border-radius:14px}.count-camera-target button{height:42px;border-radius:11px;font-size:14px}.count-camera-target b{font-size:11px}}


/* HARAKATSIZ MOBILE CARDS R1 */
.inactive-mobile-list{display:none}
.inactive-export-actions{display:flex!important;gap:8px!important;flex-wrap:wrap!important}
.inactive-export-actions .final-btn{min-width:92px}
@media(max-width:760px){
  .inactive-report-card{padding:13px 10px!important}
  .inactive-report-card .compact-report-head{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:10px!important}
  .inactive-export-actions{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:7px!important;width:100%!important}
  .inactive-export-actions .final-btn{width:100%!important;min-width:0!important;padding:10px 5px!important;font-size:12px!important;border-radius:11px!important}
  .inactive-summary-wrap{display:none!important}
  .inactive-mobile-list{display:grid!important;gap:11px!important}
  .inactive-mobile-card{border:1px solid rgba(88,151,219,.34);border-radius:18px;padding:13px;background:linear-gradient(155deg,#12375e,#0b2745);color:#fff;box-shadow:0 10px 24px rgba(3,20,39,.16)}
  .inactive-mobile-card.total{border-color:#ed3150;background:linear-gradient(155deg,#173b61,#251d47)}
  .inactive-mobile-card.missing{border-color:#d9aa53;background:linear-gradient(155deg,#44361d,#2c281d)}
  .inactive-mobile-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding-bottom:10px;border-bottom:1px solid rgba(255,255,255,.12)}
  .inactive-mobile-head h4{margin:0;font-size:17px;line-height:1.15;color:#fff}
  .inactive-mobile-head small{display:block;margin-top:4px;color:#9fb4cd;font-size:11px;font-weight:750}
  .inactive-mobile-stock{text-align:right;display:flex;flex-direction:column;gap:2px}
  .inactive-mobile-stock b{font-size:16px;color:#fff}
  .inactive-mobile-stock span{font-size:12px;color:#b9cbe0}
  .inactive-mobile-status{padding:6px 9px;border-radius:999px;background:#fff0c9;color:#6f4c0a;font-size:11px;font-weight:900}
  .inactive-mobile-main{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:10px 0}
  .inactive-mobile-main>span{display:flex;flex-direction:column;gap:2px;padding:9px 10px;border-radius:13px;background:rgba(255,255,255,.075)}
  .inactive-mobile-main small,.inactive-mobile-metrics small{font-size:10px;color:#9fb4cd;font-weight:800;text-transform:uppercase;letter-spacing:.03em}
  .inactive-mobile-main b{font-size:15px;color:#fff}
  .inactive-mobile-main em{font-style:normal;font-size:12px;color:#cbd9e9}
  .inactive-mobile-bucket{padding:10px;margin-top:8px;border-radius:14px;background:rgba(3,17,31,.28);border:1px solid rgba(255,255,255,.08)}
  .inactive-mobile-bucket-title{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}
  .inactive-mobile-bucket-title b{font-size:14px;color:#fff}
  .inactive-mobile-bucket-title span{font-size:11px;color:#b7c9dd;font-weight:750;text-align:right}
  .inactive-mobile-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
  .inactive-mobile-metrics>span{display:flex;flex-direction:column;gap:2px;align-items:center;justify-content:center;min-height:54px;border-radius:11px;background:rgba(255,255,255,.07);padding:6px 4px}
  .inactive-mobile-metrics b{font-size:15px;color:#fff}
  .inactive-mobile-metrics .plan{background:rgba(255,208,66,.14)!important}
  .inactive-mobile-metrics .target-ok{background:rgba(40,193,104,.16)!important}
  .inactive-mobile-metrics .target-bad{background:rgba(239,67,74,.18)!important}
  .inactive-mobile-metrics .target-neutral{background:rgba(255,255,255,.07)!important}
  .inactive-plan-mobile-btn{width:100%;height:40px;margin-top:8px;border:1px solid rgba(255,211,74,.55);border-radius:11px;background:linear-gradient(135deg,#ffd44f,#ffba2d);color:#17243a;font-size:12px;font-weight:950;box-shadow:0 6px 14px rgba(255,190,40,.16)}
}

.inactive-plan-panel{display:grid;grid-template-columns:minmax(180px,1.5fr) repeat(2,minmax(140px,1fr)) auto;gap:8px;align-items:end;margin:0 0 12px;padding:11px;border:1px solid rgba(73,132,196,.28);border-radius:14px;background:rgba(10,42,75,.72)}
.inactive-plan-panel[hidden]{display:none!important}
.inactive-plan-panel label{display:grid;gap:5px;font-size:11px;font-weight:900;color:#b9cce1}
.inactive-plan-panel select,.inactive-plan-panel input{height:40px;min-width:0;border:1px solid rgba(112,164,219,.45);border-radius:10px;padding:0 10px;background:#0b2948;color:#fff;font-weight:850}
@media(max-width:760px){
 .inactive-plan-panel{grid-template-columns:1fr 1fr!important;gap:8px!important;padding:10px!important}
 .inactive-plan-panel label:first-child{grid-column:1/-1}
 .inactive-plan-panel .final-btn{grid-column:1/-1;width:100%!important}
 .inactive-plan-panel select,.inactive-plan-panel input{height:42px!important;font-size:14px!important}
}

.inactive-detail-empty{padding:28px 16px;text-align:center;color:#91a7c0;font-weight:800}
