/* WMS composition pass v5 — dense work screens */
/* FBS grouped workspace */
.fbs-page-head{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:16px}.fbs-page-head h1{margin:4px 0 3px!important}.fbs-page-head p{margin:0}.fbs-sync-status{display:flex;flex-direction:column;align-items:flex-end;gap:2px;color:#475467;font-size:11px}.fbs-sync-status small{color:#98a2b3}.fbs-kicker{display:block;color:#6652d9;font-size:10px;font-weight:850;letter-spacing:.1em;text-transform:uppercase}.fbs-actionbar{display:flex;justify-content:space-between;align-items:flex-end;gap:18px;padding:16px 18px 14px;border-bottom:1px solid #e5e9f0}.fbs-actionbar h2{margin:4px 0 0!important;font-size:16px!important}.fbs-create-controls{display:flex;align-items:center;gap:8px}.fbs-create-controls input{width:190px!important;margin:0!important}.fbs-create-controls span{white-space:nowrap;color:#667085;font-size:11px}.fbs-filterbar{display:flex;align-items:flex-end;gap:9px;flex-wrap:wrap;padding:11px 18px;background:#f8fafc;border-bottom:1px solid #e5e9f0}.fbs-filterbar label{min-width:150px;margin:0!important}.fbs-filterbar .fbs-filter-short{min-width:125px;max-width:160px}.fbs-filterbar input,.fbs-filterbar select{height:34px!important;min-height:34px!important;margin-top:4px!important;padding:7px 9px!important;font-size:12px!important}.fbs-filter-hint{margin-left:auto;padding-bottom:8px;color:#98a2b3;font-size:11px}.fbs-workspace{overflow:hidden;background:#fff;border:1px solid #dfe5ee;border-radius:14px;box-shadow:0 5px 18px rgba(15,23,42,.045)}.fbs-groups{display:flex;flex-direction:column;gap:8px}.fbs-group{background:#fff;border:1px solid #dfe5ee;border-radius:12px;overflow:hidden}.fbs-workspace .fbs-group{border:0;border-top:1px solid #e5e9f0;border-radius:0}.fbs-group summary{display:flex;align-items:center;gap:9px;min-height:42px;padding:10px 14px;cursor:pointer;list-style:none;background:#fbfcfe;color:#253247;font-size:12.5px;font-weight:800}.fbs-group summary::-webkit-details-marker{display:none}.fbs-group summary:hover{background:#f4f2ff}.fbs-chevron{display:inline-block;color:#667085;font-size:12px;transition:transform .15s ease}.fbs-group[open] .fbs-chevron{transform:rotate(90deg);color:#5b4ad6}.fbs-group-name{max-width:min(520px,55vw);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fbs-group-count{margin-left:auto;color:#98a2b3;font-size:11px;font-weight:650}.fbs-group-table{overflow:auto}.fbs-table{width:100%!important;min-width:0!important;table-layout:fixed!important}.fbs-table th,.fbs-table td{padding:9px 12px!important}.fbs-table th:nth-child(1),.fbs-table td:nth-child(1){width:42px}.fbs-table th:nth-child(2),.fbs-table td:nth-child(2){width:145px}.fbs-table th:nth-child(3),.fbs-table td:nth-child(3){width:auto}.fbs-table th:nth-child(4),.fbs-table td:nth-child(4){width:150px}.fbs-table th:nth-child(5),.fbs-table td:nth-child(5){width:170px}.fbs-table small{display:block;margin-top:2px;color:#98a2b3;font-size:10.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fbs-check{text-align:center!important}.fbs-supplies-table th:nth-child(1),.fbs-supplies-table td:nth-child(1){width:auto}.fbs-supplies-table th:nth-child(2),.fbs-supplies-table td:nth-child(2){width:180px}.fbs-supplies-table th:nth-child(3),.fbs-supplies-table td:nth-child(3){width:90px;text-align:right}.fbs-supplies-table th:nth-child(4),.fbs-supplies-table td:nth-child(4){width:130px}.fbs-status-badge{display:inline-flex;padding:4px 8px;border-radius:999px;background:#efedff;color:#5140bd;font-size:10.5px;font-weight:800}.fbs-supply-filter{margin:0 0 12px;border:1px solid #dfe5ee;border-radius:12px}.fbs-supply-filter .fbs-filter-hint{margin-left:0}.fbs-empty{padding:28px;text-align:center;color:#98a2b3;background:#fff;border:1px dashed #dfe5ee;border-radius:12px}
/* stock screen density */
.stocks-page .tablewrap{overflow-x:auto}.stocks-page table{table-layout:fixed;min-width:0!important;width:100%!important}.stocks-page th:nth-child(1),.stocks-page td:nth-child(1){width:13%}.stocks-page th:nth-child(2),.stocks-page td:nth-child(2){width:24%}.stocks-page th:nth-child(3),.stocks-page td:nth-child(3){width:10%}.stocks-page th:nth-child(4),.stocks-page td:nth-child(4){width:11%}.stocks-page th:nth-child(5),.stocks-page td:nth-child(5){width:11%}.stocks-page th:nth-child(n+6),.stocks-page td:nth-child(n+6){width:7.75%;text-align:right;font-variant-numeric:tabular-nums}.stocks-page td:nth-child(-n+5),.stocks-page th:nth-child(-n+5){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.stocks-page td:nth-child(2) b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.stocks-page .toolbar{display:grid;grid-template-columns:minmax(220px,1fr) 180px auto auto;align-items:end}.stocks-page .toolbar input,.stocks-page .toolbar select{min-width:0}.stocks-page .toolbar button,.stocks-page .toolbar a{white-space:nowrap}
/* product card composition */
.pc-page{max-width:1380px!important}.pc-titlebar{margin-bottom:16px!important}.pc-titlebar h1{max-width:none!important;overflow-wrap:anywhere;white-space:normal}.pc-hero-grid{grid-template-columns:220px minmax(250px,1fr) minmax(220px,1fr)!important;gap:12px!important}.pc-summary-card,.pc-photo-card{padding:15px!important;border-radius:14px!important}.pc-card-kicker{font-size:9px!important;letter-spacing:.11em!important;color:#667085!important}.pc-data-row{min-height:32px!important;padding:7px 0!important}.pc-data-row b{max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pc-main-value{font-size:18px!important}.pc-stock-value{font-size:28px!important}.pc-form-card{padding:16px!important}.pc-form-grid{gap:10px!important}.pc-form-grid-4{grid-template-columns:repeat(4,minmax(80px,1fr))!important}.pc-form-grid-2{grid-template-columns:repeat(2,minmax(180px,1fr))!important}.pc-section{margin-top:24px!important}.pc-section-head{margin-bottom:10px!important}.pc-section-head h2{font-size:17px!important}.pc-form-card label input,.pc-form-card label select{max-width:100%}.pc-table-card{padding:0!important}.pc-table-card th,.pc-table-card td{padding:9px 11px!important}
/* legal names and compact registry */
.registry-card{min-width:0!important}.registry-title b,.registry-legal{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.registry-legal{font-size:12px!important;color:#667085!important}.registry-meta{font-size:11px!important;gap:8px!important}.registry-title span{white-space:nowrap}
/* global numerical alignment */
td[data-type="number"],.numeric,th.numeric{text-align:right!important;font-variant-numeric:tabular-nums}
@media(max-width:900px){.fbs-page-head,.fbs-actionbar{align-items:flex-start;flex-direction:column}.fbs-sync-status{align-items:flex-start}.fbs-create-controls{flex-wrap:wrap}.fbs-create-controls input{width:100%!important}.fbs-filterbar .fbs-filter-short{max-width:none;flex:1}.fbs-filter-hint{margin-left:0}.stocks-page .toolbar{grid-template-columns:1fr}.stocks-page table{min-width:720px!important}.pc-hero-grid{grid-template-columns:1fr 1fr!important}.pc-photo-card{grid-row:span 2}.pc-form-grid-4{grid-template-columns:repeat(2,minmax(80px,1fr))!important}}
@media(max-width:620px){.pc-hero-grid{grid-template-columns:1fr!important}.pc-photo-card{grid-row:auto}.pc-form-grid-2,.pc-form-grid-4{grid-template-columns:1fr!important}.fbs-group-name{max-width:65vw}}
.fbs-icon-btn{width:34px!important;min-width:34px!important;height:34px!important;min-height:34px!important;padding:0!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;font-size:16px!important;border-radius:8px!important;background:#fff!important;color:#5140bd!important;border:1px solid #d9d4ff!important}.fbs-icon-btn:hover{background:#efedff!important}
.fbs-supply-title-row{display:flex;align-items:center;gap:8px}.fbs-supply-title-row h1{margin:0!important}
/* Exact FBS compact composition */
.fbs-title-only{margin:0 0 12px!important;font-size:26px!important}.fbs-tabs{margin:0 0 12px!important;width:100%!important;background:transparent!important;border:0!important;padding:0!important;border-bottom:1px solid #dfe5ee!important;border-radius:0!important}.fbs-tabs a{padding:10px 14px!important;border-radius:8px 8px 0 0!important}.fbs-tabs a.selected{background:#efedff!important;color:#5140bd!important;box-shadow:none!important;border-bottom:2px solid #5b4ad6!important}.fbs-orders-filter{align-items:flex-end!important;border:1px solid #dfe5ee!important;border-radius:12px!important;margin:0 0 12px!important}.fbs-create-form{margin:0 0 0 auto!important}.fbs-create-controls{display:flex!important;align-items:flex-end!important;gap:8px!important}.fbs-create-controls[hidden]{display:none!important}.fbs-create-controls input{width:180px!important}.fbs-create-controls span{padding-bottom:10px!important}.fbs-group[hidden]{display:none!important}.fbs-group summary{min-height:48px!important;padding:12px 15px!important;background:#fff!important;border:0!important}.fbs-group summary:hover{background:#f7f6ff!important}.fbs-group-count{min-width:25px!important;height:22px!important;padding:2px 8px!important;border-radius:999px!important;background:#efedff!important;color:#5140bd!important;text-align:center!important;font-variant-numeric:tabular-nums!important}.fbs-supply-filter{margin:0 0 12px!important}.fbs-supply-groups .fbs-group{box-shadow:0 3px 12px rgba(15,23,42,.035)!important}.fbs-supply-groups .fbs-group-table{border-top:1px solid #edf0f4!important}.fbs-supplies-table th:first-child,.fbs-supplies-table td:first-child{width:auto!important}.fbs-supplies-table .fbs-order-count{text-align:right!important;font-variant-numeric:tabular-nums!important}.fbs-supplies-table td b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block}.fbs-create-form button{white-space:nowrap!important}
@media(max-width:900px){.fbs-create-form{width:100%!important;margin:8px 0 0!important}.fbs-create-controls{align-items:stretch!important;flex-wrap:wrap!important}.fbs-create-controls input{width:min(100%,220px)!important}.fbs-filter-hint{display:none!important}}
/* Client API and historical stock posting */
.client-tabs{display:flex;gap:4px;flex-wrap:wrap;margin:0 0 18px;padding:4px;border:1px solid #dfe5ee;border-radius:11px;background:#f8fafc}.client-tabs a{padding:8px 12px;border-radius:8px;color:#667085;text-decoration:none;font-size:11.5px;font-weight:800}.client-tabs a:hover{background:#fff;color:#344054}.client-tabs a.active{background:#fff;color:#5140bd;box-shadow:0 1px 4px rgba(20,32,52,.09)}.client-api-head{margin-bottom:10px}.api-card{max-width:980px}.api-section-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:12px}.api-section-head h2{margin:3px 0 0!important}.api-kicker{font-size:9px;color:#6652d9;font-weight:850;letter-spacing:.12em;text-transform:uppercase}.api-status{padding:6px 10px;border-radius:999px;background:#f1f3f6;color:#667085;font-size:11px;font-weight:850;white-space:nowrap}.api-status.is-ok{background:#e9f8f0;color:#16845a}.api-status.is-error{background:#fff0f1;color:#c83a43}.api-form{display:grid;grid-template-columns:minmax(260px,1.4fr) minmax(220px,1fr) auto;align-items:end;gap:10px}.api-form label,.api-cutoff-form label{margin:0}.api-actions{display:flex;align-items:center;gap:12px;margin-top:12px}.api-error{margin-top:12px;padding:10px 12px;border:1px solid #f2c1c5;border-radius:9px;background:#fff0f1;color:#9d2735;font-size:12px}.api-warehouse-list{display:grid;grid-template-columns:repeat(3,minmax(180px,1fr));gap:7px;margin:12px 0 14px}.api-warehouse{display:flex;align-items:center;gap:9px;min-width:0;margin:0!important;padding:10px 11px;border:1px solid #e1e6ee;border-radius:9px;background:#fbfcfe;font-size:12px!important}.api-warehouse:has(input:checked){border-color:#b8aff7;background:#f1efff}.api-warehouse input{width:16px!important;min-height:16px!important;margin:0!important}.api-warehouse span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.api-warehouse small{margin-left:auto;color:#98a2b3;font-size:10px}.api-empty{padding:18px;border:1px dashed #dfe5ee;border-radius:10px;color:#98a2b3}.api-cutoff-form{display:flex;align-items:flex-end;gap:10px}.api-cutoff-form label{min-width:240px}.api-help{max-width:720px;margin:12px 0 0;padding:11px 13px;border-left:3px solid #6652d9;background:#f5f3ff;color:#5b5478;font-size:12px;line-height:1.5}.fbs-stock-action{text-align:center!important;width:100px!important}.fbs-stock-action form{margin:0}.fbs-stock-action button{width:32px!important;min-width:32px!important;height:32px!important;min-height:32px!important;padding:0!important;border-radius:8px!important;background:#fff!important;color:#5140bd!important;border:1px solid #d9d4ff!important;font-size:17px!important}.fbs-stock-action button:hover{background:#efedff!important}.fbs-stock-done{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;background:#e9f8f0;color:#16845a;font-weight:900}.fbs-stock-auto{display:none!important}
@media(max-width:800px){.api-form{grid-template-columns:1fr}.api-form button{width:max-content}.api-warehouse-list{grid-template-columns:1fr 1fr}.api-cutoff-form{align-items:stretch;flex-direction:column}.api-cutoff-form label{min-width:0}}
@media(max-width:520px){.api-warehouse-list{grid-template-columns:1fr}.client-tabs{overflow:auto;flex-wrap:nowrap}.client-tabs a{white-space:nowrap}}
/* Read-only usage lookup */
.usage-icon-btn{width:30px!important;min-width:30px!important;height:30px!important;min-height:30px!important;padding:0!important;display:inline-flex!important;align-items:center;justify-content:center;border:1px solid #d9d4ff!important;border-radius:8px!important;background:#fff!important;color:#5140bd!important;font-size:15px!important;cursor:pointer}.usage-icon-btn:hover{background:#efedff!important}.usage-modal{position:fixed;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center;padding:24px;background:rgba(15,23,42,.38)}.usage-modal[hidden]{display:none}.usage-dialog{width:min(680px,calc(100vw - 32px));max-height:min(680px,calc(100vh - 48px));display:flex;flex-direction:column;background:#fff;border:1px solid #dfe5ee;border-radius:14px;box-shadow:0 18px 60px rgba(15,23,42,.2)}.usage-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px 18px;border-bottom:1px solid #edf0f4}.usage-dialog-head h2{margin:0!important;font-size:16px!important}.usage-close{width:30px;height:30px;border:0;background:transparent;color:#667085;font-size:24px;line-height:1;cursor:pointer}.usage-dialog-body{overflow:auto;padding:14px 18px 18px}.usage-list{display:flex;flex-direction:column;gap:7px;margin:0;padding:0;list-style:none}.usage-list li{display:flex;align-items:baseline;justify-content:space-between;gap:14px;padding:9px 11px;border:1px solid #e7ebf1;border-radius:9px}.usage-list li b{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.usage-list li small{flex:0 0 auto;color:#667085;text-align:right}.usage-empty,.usage-loading{padding:24px;text-align:center;color:#667085}
.fbs-bulk-bar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 10px;padding:8px 10px;border:1px solid #e3e8ef;border-radius:10px;background:#fbfcfe}.fbs-bulk-bar[hidden],.fbs-bulk-bar button[hidden]{display:none}.fbs-bulk-bar label{display:inline-flex;align-items:center;gap:7px;margin:0!important;font-size:12px}.fbs-bulk-bar button{width:auto!important;min-height:32px!important;padding:6px 11px!important}.fbs-handover-badge{display:inline-flex;padding:3px 7px;border-radius:999px;font-size:10px;font-weight:800}.fbs-handover-badge.is-pvz{background:#e8f1ff;color:#2859a5}.fbs-handover-badge.is-sc{background:#e9f8f0;color:#16845a}.fbs-handover-badge.is-empty{background:#f1f3f6;color:#667085}.fbs-handover-form,.fbs-handover-detail{display:flex;align-items:center;gap:5px;margin:4px 0 0!important}.fbs-handover-form select,.fbs-handover-form input,.fbs-handover-detail select,.fbs-handover-detail input{width:auto!important;min-width:90px;max-width:150px;min-height:29px!important;height:29px!important;padding:4px 6px!important;font-size:11px!important}.fbs-handover-form button{width:29px!important;min-width:29px!important;height:29px!important;min-height:29px!important;padding:0!important}.fbs-supply-select-cell{text-align:center}.fbs-meta-form{display:flex;align-items:center;gap:4px;min-width:190px;flex-wrap:wrap}.fbs-meta-form input{width:120px!important;min-width:95px;min-height:29px!important;height:29px!important;padding:4px 6px!important;font-size:11px!important}.fbs-meta-form button{width:auto!important;min-height:29px!important;height:29px!important;padding:4px 7px!important;font-size:10px!important}.fbs-meta-form small{width:100%;font-size:10px;color:#667085}.fbs-requirements-form{display:flex;align-items:center;gap:18px;flex-wrap:wrap}.fbs-requirements-form label{display:inline-flex;align-items:center;gap:7px;margin:0!important}.fbs-requirements-form input[type=checkbox]{width:16px!important;min-height:16px!important;margin:0!important}


/* Enterprise WMS visual language — consolidated final layer
   Presentation only: no selectors alter data, permissions or interaction routes. */
:root{
  --wms-bg:#f3f5f7;
  --wms-surface:#ffffff;
  --wms-surface-alt:#f7f8fa;
  --wms-ink:#1c2733;
  --wms-muted:#687582;
  --wms-line:#d8e0e7;
  --wms-line-strong:#c4ced8;
  --wms-sidebar:#202a33;
  --wms-sidebar-ink:#d9e1e7;
  --wms-accent:#63508a;
  --wms-accent-soft:#eeeaf5;
  --wms-success:#24744e;
  --wms-warning:#9b671d;
  --wms-danger:#ad3e42;
  --wms-control:35px;
}
*{box-sizing:border-box}
body.wms-v2{background:var(--wms-bg)!important;color:var(--wms-ink)!important;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;font-size:13px!important;line-height:1.4!important}
body.wms-v2:before{display:none!important}
body.wms-v2 a{color:inherit}
.wms-sidebar-v2{width:246px!important;padding:14px 10px 12px!important;background:var(--wms-sidebar)!important;border-right:1px solid #172129!important;box-shadow:none!important}
.wms-brand-v2{margin:0 5px 18px!important;padding:0!important}
.wms-sidebar-v2 .wms-brand-panel-v3-inner{padding:13px 14px!important;border:1px solid #3a4752!important;border-radius:7px!important;background:#27333d!important;box-shadow:none!important}
.wms-sidebar-v2 .wms-brand-panel-v3-inner strong{font-size:20px!important;letter-spacing:.02em!important}
.wms-sidebar-v2 .wms-brand-panel-v3-inner span{font-size:9px!important;letter-spacing:.12em!important;color:#aeb9c2!important}
.wms-nav-v2{gap:2px!important}
.wms-nav-v2 a{min-height:35px!important;padding:8px 9px!important;border-radius:5px!important;color:#aebbc5!important;font-size:12.5px!important;font-weight:650!important}
.wms-nav-v2 a:hover{background:#2b3944!important;color:#fff!important}
.wms-nav-v2 a.ui-active{background:#34444f!important;color:#fff!important;box-shadow:none!important}
.wms-nav-v2 a.ui-active:before{left:-10px!important;width:3px!important;background:#b5a6d9!important}
.nav-ico{width:23px!important;height:23px!important;border-radius:5px!important;background:#2b3944!important;color:#bac5cd!important}
.ui-active .nav-ico{background:#4d5862!important;color:#fff!important}
.wms-nav-caption{padding:0 9px 6px!important;color:#82909a!important;font-size:9px!important;letter-spacing:.13em!important}
.wms-nav-separator{margin:12px 8px!important;background:#394751!important}
.wms-sidebar-foot{padding:13px 9px 2px!important;color:#82909a!important}
.wms-top-v2{left:246px!important;height:58px!important;padding:0 24px!important;background:#fff!important;border-bottom:1px solid var(--wms-line)!important;box-shadow:none!important}
.wms-user-avatar{width:31px!important;height:31px!important;border-radius:6px!important;background:var(--wms-accent-soft)!important;color:var(--wms-accent)!important}
.wms-user-meta b{font-size:12px!important}.wms-user-meta span{font-size:10px!important;color:var(--wms-muted)!important}
.wms-user-actions a{border-color:var(--wms-line)!important;border-radius:5px!important;color:var(--wms-muted)!important;background:#fff!important}
.wms-content-v2{margin-left:246px!important;padding:78px 26px 44px!important;max-width:1680px!important}
body.wms-v2 h1,.wms-content-v2>h1{font-size:25px!important;line-height:1.2!important;letter-spacing:-.02em!important;font-weight:760!important;color:var(--wms-ink)!important;margin:0 0 15px!important}
body.wms-v2 h2{font-size:15px!important;line-height:1.25!important;font-weight:730!important;color:#273642!important}
.headrow,.page-head-clean,.products-page-head,.dash-v2-head,.page-title-v2{margin-bottom:16px!important}
.crumb,.muted{color:var(--wms-muted)!important}
body.wms-v2 .panel,body.wms-v2 .card,body.wms-v2 .clientcard,body.wms-v2 .registry-card,body.wms-v2 .authcard{background:var(--wms-surface)!important;border:1px solid var(--wms-line)!important;border-radius:7px!important;box-shadow:none!important}
.panel{padding:15px!important;margin-bottom:13px!important}
body.wms-v2 input,body.wms-v2 select,body.wms-v2 textarea{min-height:var(--wms-control)!important;margin-top:4px!important;padding:7px 9px!important;border:1px solid var(--wms-line-strong)!important;border-radius:5px!important;background:#fff!important;color:var(--wms-ink)!important;font-size:12.5px!important;box-shadow:none!important}
body.wms-v2 input:focus,body.wms-v2 select:focus,body.wms-v2 textarea:focus{outline:0!important;border-color:#8b78b2!important;box-shadow:0 0 0 2px rgba(99,80,138,.15)!important}
body.wms-v2 label{color:#50606c!important;font-size:11px!important;font-weight:680!important}
body.wms-v2 button,.wms-btn{min-height:var(--wms-control)!important;padding:7px 12px!important;border:1px solid #2e3b45!important;border-radius:5px!important;background:#2e3b45!important;color:#fff!important;font-size:12px!important;font-weight:720!important;box-shadow:none!important}
body.wms-v2 button:hover,.wms-btn:hover{background:#22303a!important;transform:none!important}
.filter-btn,.secondary-btn,.wms-btn-secondary,.wms-filter-reset{min-height:var(--wms-control)!important;padding:7px 11px!important;border:1px solid var(--wms-line-strong)!important;border-radius:5px!important;background:#fff!important;color:#42515c!important}
.filter-btn.active{background:var(--wms-accent)!important;border-color:var(--wms-accent)!important;color:#fff!important}
.danger-btn{background:var(--wms-danger)!important;border-color:var(--wms-danger)!important}
body.wms-v2 .tablewrap{border:1px solid var(--wms-line)!important;border-radius:6px!important;background:#fff!important;box-shadow:none!important;overflow:auto!important}
body.wms-v2 table{border-collapse:separate!important;border-spacing:0!important}
body.wms-v2 th{position:sticky!important;top:0!important;z-index:1!important;padding:9px 11px!important;background:#eef2f4!important;color:#52616c!important;border-bottom:1px solid var(--wms-line)!important;font-size:10px!important;letter-spacing:.045em!important;font-weight:750!important}
body.wms-v2 td{padding:9px 11px!important;border-bottom:1px solid #e8edf1!important;color:#35434d!important;font-size:12px!important;vertical-align:middle!important}
body.wms-v2 tbody tr:last-child td{border-bottom:0!important}
body.wms-v2 tbody tr:hover td{background:#f6f8f9!important}
body.wms-v2 tr.issue td{background:#fff8f4!important}
body.wms-v2 input[type=checkbox]{accent-color:var(--wms-accent);width:16px!important;height:16px!important;min-height:16px!important}
body.wms-v2 .toolbar,.product-search-panel,.client-search-panel{gap:8px!important;background:#fff!important;border:1px solid var(--wms-line)!important;border-radius:6px!important;box-shadow:none!important;padding:10px!important}
.product-tabs-clean,.fbs-tabs,.client-tabs{border-radius:6px!important}
.wms-tab,.client-tabs a{border-radius:4px!important}
.wms-tab.active,.client-tabs a.active{background:var(--wms-accent-soft)!important;color:var(--wms-accent)!important;box-shadow:none!important}
.fbs-tabs a.selected{background:var(--wms-accent-soft)!important;color:var(--wms-accent)!important;border-bottom-color:var(--wms-accent)!important}
.green{color:var(--wms-success)!important;background:#e9f4ed!important}.amber{color:var(--wms-warning)!important;background:#fbf1df!important}.red{color:var(--wms-danger)!important;background:#fbeaec!important}
.issuepill{border-radius:5px!important;padding:5px 8px!important}
.registry-card:hover,.clientcard:hover,.card:hover{transform:none!important;box-shadow:none!important;border-color:#bdb2d1!important}
.registry-legal,.client-registry .registry-legal{display:none!important}
.registry-card{padding:13px!important}
.registry-title b{font-size:13px!important}
.registry-meta{margin-top:7px!important}
.pc-titlebar h1{max-width:none!important;white-space:normal!important;overflow-wrap:anywhere!important}
.pc-photo-card,.pc-summary-card,.pc-comments-card,.pc-form-card,.pc-table-card{border-radius:7px!important;box-shadow:none!important}
.pc-section{margin-top:18px!important}.pc-section-head{margin-bottom:8px!important}
.pc-tariff-add-grid form{border-radius:6px!important;background:#f7f9fa!important}
.tariff-history-table th,.tariff-history-table td{padding:7px 8px!important}
.tariff-view-row .tariff-actions{white-space:nowrap}
.fbs-workspace,.fbs-group,.fbs-supply-filter{border-radius:6px!important;box-shadow:none!important}
.fbs-group summary{min-height:40px!important;padding:9px 12px!important}
.fbs-table th,.fbs-table td{padding:8px 10px!important}
.ms-shell{border-radius:7px!important;box-shadow:none!important}
.flash{border-radius:5px!important;box-shadow:none!important}
@media(max-width:1100px){.wms-sidebar-v2{width:220px!important}.wms-top-v2{left:220px!important}.wms-content-v2{margin-left:220px!important;padding-left:18px!important;padding-right:18px!important}}
@media(max-width:760px){.wms-sidebar-v2{width:246px!important}.wms-top-v2{left:0!important}.wms-content-v2{margin-left:0!important;padding:73px 12px 32px!important}.headrow,.page-head-clean,.products-page-head,.dash-v2-head{gap:10px!important}.toolbar,.product-search-form{grid-template-columns:1fr!important}.panel{padding:12px!important}}

/* Enterprise surfaces: flat operational states */
body.wms-v2 .dash-urgent{background:#9f3e45!important;border-color:#8f353c!important;box-shadow:none!important}
body.wms-v2 .dash-attention{background:#fff!important;box-shadow:none!important}
body.wms-v2 .dash-card-icon{border-radius:6px!important}
body.wms-v2 .pc-photo-empty{background:#f1f4f6!important}


/* Delivery accounting and invoice state dots */
.fbs-stock-state,.fbs-invoice-state{text-align:center!important;width:42px!important}
.fbs-account-dot{display:inline-block;width:10px;height:10px;border-radius:50%;font-size:0;line-height:0;vertical-align:middle;background:#d92d20;box-shadow:0 0 0 1px rgba(217,45,32,.16)}
.fbs-account-dot.is-no{background:#d92d20;box-shadow:0 0 0 1px rgba(217,45,32,.16)}
.fbs-account-dot.is-ok{background:#12b76a;box-shadow:0 0 0 1px rgba(18,183,106,.18)}

.fbs-status-select{width:14px!important;height:14px!important;min-height:14px!important;margin:0 0 0 4px!important;padding:0!important;vertical-align:middle;accent-color:#255fce}
.dashboard-feedback-attention{margin-top:18px;padding:18px 20px;background:#fff;border:1px solid #dfe5ee;border-left:4px solid #2d638c}.dashboard-feedback-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.dashboard-feedback-head h2{margin:0;font-size:16px}.dashboard-feedback-head span{color:#2d638c;font-size:11px;font-weight:700}.dashboard-feedback-row{display:grid;grid-template-columns:minmax(180px,1fr) 130px minmax(220px,2fr);gap:14px;align-items:start;padding:10px 0;border-top:1px solid #edf0f2}.dashboard-feedback-row b{display:block}.dashboard-feedback-row small{display:block;color:#8a96a0;font-size:10px;margin-top:3px}.dashboard-feedback-row strong{font-size:11px;color:#2d638c}.dashboard-feedback-row p{margin:0;color:#52616b;white-space:pre-wrap;overflow-wrap:anywhere}@media(max-width:800px){.dashboard-feedback-row{grid-template-columns:1fr}.dashboard-feedback-row p{grid-column:1}}
.dashboard-feedback-row.is-new{background:#fbfdff}.dashboard-feedback-row.is-read{opacity:.78}.dashboard-feedback-actions{display:flex;gap:7px;align-items:center;justify-content:flex-end;grid-column:1 / -1}.dashboard-feedback-actions button{border:1px solid #cbd6dd;background:#fff;border-radius:5px;padding:5px 9px;font:600 11px inherit;cursor:pointer}.dashboard-feedback-actions .feedback-read-btn{color:#2d638c;border-color:#9ebed2}.dashboard-feedback-actions .feedback-delete-btn{color:#a43f46;border-color:#dfb9bd}.feedback-read-state{color:#71808a;font-size:11px}

/* Ozon FBS order selection and discount deadline */
.ozon-fbs-page .ozon-check-cell,
.ozon-check-cell{
  width:52px!important;
  min-width:52px!important;
  max-width:52px!important;
  padding-left:6px!important;
  padding-right:6px!important;
  text-align:center!important;
  white-space:nowrap!important;
  vertical-align:middle!important;
}
.ozon-check-cell input[type=checkbox]{
  display:block!important;
  position:relative!important;
  z-index:2!important;
  width:16px!important;
  min-width:16px!important;
  height:16px!important;
  min-height:16px!important;
  margin:0 auto!important;
}

.ozon-unmatched td{background:#fff0f1!important;color:#9f1d2d!important}
.ozon-unmatched:hover td{background:#ffe4e7!important}
