:root{--bg:#f4f6fa;--surface:#fff;--soft:#f8fafc;--text:#172033;--muted:#687386;--line:#e3e8f1;--brand:#315ee7;--brand-soft:#e8eeff;--good:#0a8b57;--bad:#cc4554;--shadow:0 8px 30px rgba(39,52,79,.06)}
.maintenance-banner{display:flex;align-items:center;justify-content:center;gap:10px;min-height:44px;padding:10px 24px;border-bottom:1px solid #f0d89c;background:#fff9e9;color:#72530b}.maintenance-banner span{font-size:12px;color:#806a36}.maintenance-page{display:grid;min-height:100vh;place-items:center;padding:24px;background:linear-gradient(145deg,#fff9e9,#f4f6fa)}.maintenance-card{width:min(620px,100%);padding:34px;border:1px solid #f0d89c;border-radius:16px;background:var(--surface);box-shadow:var(--shadow)}.maintenance-kicker{display:block;margin-top:28px;color:#8a6500;font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}.maintenance-card h1{margin:7px 0 10px;font-size:28px}.maintenance-card p{margin:0 0 22px;color:var(--muted);line-height:1.6}.maintenance-login-notice{display:grid;gap:4px;margin:0 0 14px;padding:11px 12px;border:1px solid #f0d89c;border-radius:9px;background:#fff9e9;color:#72530b}.maintenance-login-notice span{color:#806a36;font-size:12px;line-height:1.4}@media(max-width:620px){.maintenance-banner{align-items:flex-start;flex-direction:column;gap:3px}.maintenance-card{padding:26px}.maintenance-card h1{font-size:23px}}
.ozon-sales-page>.page-head{align-items:center}.ozon-sales-page .sales-filters{margin-top:14px}.ozon-sales-page .sales-overview-grid{grid-template-columns:repeat(4,minmax(170px,1fr));gap:10px;border:0;background:transparent;overflow:visible}.ozon-sales-page .sales-overview-grid .overview-metric{position:relative;min-height:132px;padding:17px 18px;border:1px solid var(--line);border-radius:12px;background:linear-gradient(155deg,#fff,#fbfcff);box-shadow:0 7px 22px rgba(39,52,79,.05);overflow:hidden}.ozon-sales-page .sales-overview-grid .overview-metric:before{content:"";position:absolute;inset:0 auto 0 0;width:3px;background:#ccd3df}.ozon-sales-page .sales-overview-grid .overview-metric:nth-child(1):before,.ozon-sales-page .sales-overview-grid .overview-metric:nth-child(6):before{background:var(--good)}.ozon-sales-page .sales-overview-grid .overview-metric:nth-child(1)>strong,.ozon-sales-page .sales-overview-grid .overview-metric:nth-child(6)>strong{color:var(--good)}.ozon-sales-page .sales-overview-grid .overview-metric:nth-child(2):before{background:var(--bad)}.ozon-sales-page .sales-overview-grid .overview-metric:nth-child(2)>strong{color:var(--bad)}.ozon-sales-page .sales-overview-grid .overview-metric:nth-child(3):before,.ozon-sales-page .sales-overview-grid .overview-metric:nth-child(4):before{background:var(--brand)}.ozon-sales-page .sales-overview-grid .overview-metric:nth-child(3)>strong,.ozon-sales-page .sales-overview-grid .overview-metric:nth-child(4)>strong{color:#274fbf}.ozon-sales-page .sales-quantity-control{align-items:flex-start;justify-content:space-between;padding:15px 17px;border-radius:12px}.ozon-sales-page .sales-quantity-control>div:first-child{max-width:760px}.ozon-sales-page .sales-quantity-control strong{display:block}.ozon-sales-page .sales-quantity-control p{margin:5px 0 0;font-size:12px;line-height:1.5}.ozon-sales-page .sales-quantity-control.notice-success{border-color:#bcebd5;background:#f7fcf9;color:#216b52}.ozon-sales-page .sales-control-facts{display:grid;gap:5px;min-width:245px}.ozon-sales-page .sales-control-facts span{display:block}.ozon-sales-page .product-sales-table td:first-child strong,.ozon-sales-page .product-sales-table td:first-child small,.ozon-sales-page .product-sales-table td:nth-child(2) strong,.ozon-sales-page .product-sales-table td:nth-child(2) small{display:block}.ozon-sales-page .product-sales-table td:first-child small,.ozon-sales-page .product-sales-table td:nth-child(2) small{margin-top:3px;color:var(--muted);font-size:10px}.ozon-sales-page .sales-flow-chart{filter:drop-shadow(0 5px 12px rgba(49,94,231,.06))}.ozon-sales-page .sales-flow-line{stroke-linecap:round;stroke-linejoin:round}@media(max-width:1100px){.ozon-sales-page .sales-overview-grid{grid-template-columns:repeat(2,minmax(170px,1fr))}}@media(max-width:680px){.ozon-sales-page>.page-head{align-items:flex-start}.ozon-sales-page .sales-overview-grid{grid-template-columns:1fr}.ozon-sales-page .sales-quantity-control{flex-direction:column}.ozon-sales-page .sales-control-facts{min-width:0}.ozon-sales-page .sales-filters label{width:100%}}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--text);background:var(--bg)}a{color:inherit;text-decoration:none}button,input,select{font:inherit}.topbar{height:66px;display:flex;align-items:center;gap:24px;padding:0 24px;background:var(--surface);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:5}.brand{display:flex;align-items:center;gap:10px;font-weight:700;min-width:205px}.brand-icon{display:block;width:36px;height:36px;flex:0 0 36px;border-radius:10px}.brand-copy{display:grid;gap:4px;line-height:1}.brand-title{display:flex;align-items:baseline;gap:6px;white-space:nowrap}.brand-nooks{font-size:15px;font-weight:800;letter-spacing:.015em}.brand-control{color:#505a6c;font-size:10px;font-weight:600;letter-spacing:.14em}.brand-subtitle{color:var(--muted);font-size:9px;font-weight:500;letter-spacing:.02em}.search{height:40px;max-width:430px;flex:1;display:flex;align-items:center;gap:8px;padding:0 12px;background:var(--soft);border:1px solid var(--line);border-radius:10px;color:var(--muted)}.search input{width:100%;border:0;outline:0;background:transparent;color:var(--text)}.user-menu{margin-left:auto;display:flex;align-items:center;gap:10px}.avatar{width:34px;height:34px;display:grid;place-items:center;border-radius:50%;background:#1f3d8d;color:#fff}.app-shell{display:grid;grid-template-columns:220px minmax(0,1fr);min-height:calc(100vh - 66px)}.sidebar{background:var(--surface);border-right:1px solid var(--line);padding:20px 12px}.sidebar label{display:block;margin:0 8px 7px;color:var(--muted);font-size:12px}.sidebar select{width:calc(100% - 16px);margin:0 8px 18px;padding:9px 10px;border:1px solid var(--line);border-radius:9px;background:var(--soft);color:var(--text)}.sidebar nav{display:grid;gap:4px}.sidebar nav a{display:flex;align-items:center;gap:11px;padding:11px 12px;color:var(--muted);border-radius:9px}.sidebar nav a.active{color:var(--brand);background:var(--brand-soft)}.nav-separator{height:1px;background:var(--line);margin:12px 8px}.logout-form{margin-top:20px;padding:0 8px}.logout-form button{border:0;background:transparent;color:var(--muted);cursor:pointer;padding:8px 4px}.content{padding:26px;min-width:0}.page-head{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.page-head h1{margin:0;font-size:26px}.page-head p{margin:5px 0 0;color:var(--muted)}.filters{display:flex;gap:8px}.filters select{padding:10px 34px 10px 12px;border:1px solid var(--line);border-radius:9px;background:var(--surface)}.sync-status{margin-top:16px;color:var(--good);font-size:13px}.sync-status span{display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--good);margin-right:5px}.kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0}.kpi,.panel,.table-panel,.empty-panel{background:var(--surface);border:1px solid var(--line);border-radius:13px;box-shadow:var(--shadow)}.kpi{padding:17px}.kpi-label{display:flex;justify-content:space-between;color:var(--muted);font-size:13px}.kpi strong{display:block;margin-top:8px;font-size:24px}.kpi small{display:block;margin-top:6px;color:var(--muted)}.positive{color:var(--good)!important}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(280px,.8fr);gap:12px}.panel{padding:18px}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.panel-head h2{font-size:16px;margin:0}.panel-head a{font-size:13px;color:var(--brand)}.legend{display:flex;align-items:center;gap:7px;font-size:12px;color:var(--muted)}.blue-dot,.green-dot{width:8px;height:8px;border-radius:50%;display:inline-block}.blue-dot{background:var(--brand)}.green-dot{background:var(--good);margin-left:8px}.chart{min-height:245px;margin-top:8px}.chart svg{width:100%;height:auto}.chart line{stroke:var(--line);stroke-width:1}.chart polyline{fill:none;stroke-width:3;stroke-linejoin:round;stroke-linecap:round}.revenue-line{stroke:var(--brand)}.profit-line{stroke:var(--good)}.chart text{font-size:11px;fill:var(--muted)}.account-list{display:grid;margin-top:12px}.account-list>div{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:9px;padding:13px 0;border-bottom:1px solid var(--line)}.account-list>div:last-child{border-bottom:0}.market-badge{display:inline-flex;padding:4px 8px;border-radius:999px;background:var(--brand-soft);color:var(--brand);font-size:11px}.muted{color:var(--muted);font-weight:400}.table-panel{margin-top:14px;overflow:hidden}.table-panel>.panel-head{padding:16px 18px}.table-scroll{overflow-x:auto}table{border-collapse:collapse;width:100%;min-width:760px}th,td{padding:13px 14px;border-top:1px solid var(--line);text-align:right;font-size:13px}th{color:var(--muted);background:var(--soft);font-weight:600;font-size:12px}th:first-child,td:first-child{text-align:left}.product-cell{display:flex;align-items:center;gap:10px}.product-cell strong,.product-cell small{display:block}.product-cell small,td small{color:var(--muted);margin-top:3px}.product-icon{width:38px;height:38px;display:grid;place-items:center;border-radius:8px;background:var(--brand-soft);color:var(--brand)}.large-table{margin-top:22px}.empty{text-align:center!important;color:var(--muted);padding:40px}.access-yes,.access-no{display:inline-block;padding:5px 8px;border-radius:8px;font-size:11px}.access-yes{color:var(--good);background:#e5f7ef}.access-no{color:var(--muted);background:var(--soft)}.primary-link,.primary-button{display:inline-block;padding:10px 15px;border:0;border-radius:9px;background:var(--brand);color:#fff;cursor:pointer}.empty-panel{margin-top:20px;padding:70px 24px;text-align:center}.empty-panel h2{margin:12px 0 6px}.empty-panel p{margin:0;color:var(--muted)}.empty-icon{font-size:38px;color:var(--brand)}.login-page{display:grid;place-items:center;padding:24px;background:linear-gradient(145deg,#eef2ff,#f7f8fc);min-height:100vh}.login-box{width:min(420px,100%);padding:34px;background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:0 20px 60px rgba(34,54,100,.12)}.login-brand{display:flex;align-items:center;gap:12px}.login-brand .brand-icon{width:46px;height:46px;flex-basis:46px;border-radius:13px}.login-brand .brand-nooks{font-size:19px}.login-brand .brand-control{font-size:12px}.login-brand .brand-subtitle{font-size:10px}.login-box h1{margin:26px 0 6px}.login-box>p{margin:0 0 22px;color:var(--muted)}.login-box form{display:grid;gap:8px}.login-box label{font-size:13px;color:var(--muted);margin-top:8px}.login-box input{padding:12px;border:1px solid var(--line);border-radius:9px}.login-box .primary-button{margin-top:15px}.login-error{padding:10px 12px;margin-bottom:12px;border-radius:8px;color:var(--bad);background:#fff0f2}
.menu-order-editing .nav-sort-group[data-menu-group="ozon"] a{cursor:grab;border:1px dashed #cdd5e3}
.nav-heading{padding:12px 12px 4px;color:var(--muted);font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.08em}.form-panel{max-width:760px;margin-top:18px;padding:22px;background:var(--surface);border:1px solid var(--line);border-radius:13px;box-shadow:var(--shadow)}.form-grid{display:grid;gap:14px}.form-field label{display:block;margin-bottom:6px;color:var(--muted);font-size:13px}.form-field input,.form-field textarea{width:100%;padding:11px 12px;border:1px solid var(--line);border-radius:9px;background:#fff}.form-field textarea{min-height:80px;resize:vertical}.help-text{color:var(--muted);font-size:12px;line-height:1.5}.status-card{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:18px;padding:16px 18px;background:var(--surface);border:1px solid var(--line);border-radius:13px}.status-card strong,.status-card small{display:block}.status-card small{margin-top:4px;color:var(--muted)}.status-ok{color:var(--good)}.status-error{color:var(--bad)}.messages{display:grid;gap:8px;margin:0 0 16px;padding:0;list-style:none}.messages li{padding:11px 13px;border-radius:9px;background:var(--brand-soft);color:var(--brand)}.cost-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,.7fr);gap:16px}.history-list{display:grid;gap:8px;margin-top:14px}.history-item{display:grid;grid-template-columns:1fr auto;gap:8px;padding:12px;border:1px solid var(--line);border-radius:9px}.history-item small{display:block;margin-top:3px;color:var(--muted)}.product-photo{width:42px;height:54px;object-fit:cover;border-radius:7px;background:var(--soft)}.text-link{color:var(--brand);font-weight:600}.sync-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.secondary-button{display:inline-block;padding:10px 15px;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--text);cursor:pointer}
.period-filters{display:flex;align-items:end;gap:10px;flex-wrap:wrap;margin-top:18px;padding:14px;background:var(--surface);border:1px solid var(--line);border-radius:12px}.period-filters label{display:grid;gap:5px;color:var(--muted);font-size:12px}.period-filters input,.period-filters select{min-height:39px;padding:8px 10px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--text)}.wide-table{min-width:1700px}.expense-detail{display:none}.expenses-open .expense-detail{display:table-cell}.negative{color:var(--bad)!important}
.finance-table-scroll{max-height:555px;overflow:auto;scrollbar-gutter:stable}.finance-table-scroll thead th{position:sticky;top:0;z-index:2;box-shadow:0 1px 0 var(--line)}
.finance-advance-row{background:#f7f9ff}.finance-advance-badge{display:inline-flex;padding:4px 7px;border-radius:7px;background:var(--brand-soft);color:var(--brand);font-size:10px;font-weight:800;white-space:nowrap}
.finance-control-panel{margin-top:14px;padding:18px;border:1px solid #bcebd5;border-radius:14px;background:#f7fcf9;box-shadow:var(--shadow)}.finance-control-attention{border-color:#f2d899;background:#fffaf0}.finance-control-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.finance-control-kicker{color:var(--muted);font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}.finance-control-head h2{margin:5px 0 4px;font-size:19px}.finance-control-head p{max-width:760px;margin:0;color:var(--muted);font-size:12px;line-height:1.45}.finance-control-status{flex:0 0 auto;padding:6px 9px;border-radius:999px;background:#e5f7ef;color:var(--good);font-size:11px;font-weight:800}.finance-control-attention .finance-control-status{background:#fff0cf;color:#8a6500}.finance-control-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;margin-top:15px;overflow:hidden;border:1px solid var(--line);border-radius:10px;background:var(--line)}.finance-control-grid>div{min-height:104px;padding:14px;background:var(--surface)}.finance-control-grid span,.finance-control-grid small{display:block;color:var(--muted)}.finance-control-grid span{font-size:11px;font-weight:700}.finance-control-grid strong{display:block;margin:6px 0;font-size:23px}.finance-control-grid small{font-size:10px;line-height:1.35}.finance-control-grid .finance-check-warning{background:#fffaf0}.finance-control-grid .finance-check-danger{background:#fff5f6}.finance-check-warning strong{color:#966500}.finance-check-danger strong{color:var(--bad)}.finance-explained-row{display:flex;gap:8px;flex-wrap:wrap;margin-top:11px}.finance-explained-row span{padding:6px 9px;border-radius:999px;background:var(--surface);color:var(--muted);font-size:11px}.finance-explained-row b{color:var(--text)}.finance-control-note{margin:10px 0 0!important;color:var(--muted);font-size:11px;line-height:1.4}@media(max-width:900px){.finance-control-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:520px){.finance-control-head{flex-direction:column}.finance-control-grid{grid-template-columns:1fr}}
.finance-pagination{display:flex;align-items:center;justify-content:center;gap:12px;padding:12px;border-top:1px solid var(--line);background:var(--soft)}.finance-pagination span{color:var(--muted);font-size:11px}.finance-reports-scroll{margin-top:12px}@media(max-width:520px){.finance-pagination{justify-content:space-between}.finance-pagination .secondary-button{padding-inline:9px}.finance-pagination span{display:none}}
.notice-card{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:12px;padding:13px 15px;border:1px solid #f0d89c;border-radius:10px;background:#fff9e9;color:#72530b}.notice-card span{font-size:12px;color:#806a36}
.unit-overview-panel{margin-top:14px;padding:18px;background:var(--surface);border:1px solid var(--line);border-radius:13px;box-shadow:var(--shadow)}.unit-overview-panel>.panel-head{margin-bottom:14px}.unit-overview-panel .panel-head h2{font-size:18px}.unit-overview-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:1px;border:1px solid var(--line);border-radius:10px;overflow:hidden;background:var(--line)}.unit-overview-grid .overview-metric strong{font-size:19px}.unit-overview-grid .overview-metric small{display:block;margin-top:5px;color:var(--muted);font-size:12px}.unit-health-strip{display:flex;gap:9px;flex-wrap:wrap;margin-top:12px}.unit-health-strip span{padding:6px 9px;border-radius:999px;background:var(--soft);color:var(--muted);font-size:12px}.unit-health-strip .health-good{background:#e5f7ef;color:var(--good)}.unit-health-strip .health-bad{background:#fff0f2;color:var(--bad)}.unit-health-strip .health-warning{background:#fff7dc;color:#8a6500}.unit-table-panel{margin-top:14px}.unit-table{min-width:1600px}.unit-table td,.unit-table th{white-space:nowrap}.unit-table td:first-child,.unit-table th:first-child{position:sticky;left:0;z-index:1;background:var(--surface);min-width:210px}.unit-table thead th:first-child{z-index:3;background:var(--soft)}.unit-table-scroll{max-height:620px;overflow:auto;scrollbar-gutter:stable}.unit-table-scroll thead th{position:sticky;top:0;z-index:2;box-shadow:0 1px 0 var(--line)}.unit-loss-row td:first-child{box-shadow:inset 3px 0 0 var(--bad)}.cost-warning{display:block;width:max-content;margin-top:4px;padding:3px 6px;border-radius:5px;background:#fff7dc;color:#8a6500;font-size:10px;font-style:normal;font-weight:600}.missing-value{color:#8a6500;background:#fffaf0}.margin-badge{display:inline-flex;padding:5px 8px;border-radius:7px;font-size:11px;font-weight:700}.margin-good{color:var(--good);background:#e5f7ef}.margin-low{color:#8a6500;background:#fff7dc}.margin-bad{color:var(--bad);background:#fff0f2}@media(max-width:1350px){.unit-overview-grid{grid-template-columns:repeat(3,1fr)}}@media(max-width:800px){.unit-overview-grid{grid-template-columns:1fr 1fr}}
.order-filters{align-items:end}.orders-status-strip{display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:10px;margin-top:14px}.status-kpi{padding:14px;background:var(--surface);border:1px solid var(--line);border-radius:11px}.status-kpi span,.status-kpi small{display:block;color:var(--muted);font-size:12px}.status-kpi strong{display:block;margin:5px 0 2px;font-size:23px}.orders-analytics-grid{display:grid;grid-template-columns:1.15fr 1fr;gap:14px;margin-top:14px}.analytics-panel{margin-top:0}.analytics-panel table{min-width:520px}.analytics-panel .panel-head{padding:15px 16px}.share-cell{position:relative;min-width:105px;height:24px;display:flex;align-items:center;justify-content:flex-end;padding:0 6px;border-radius:6px;overflow:hidden;background:var(--soft)}.share-cell span{position:absolute;inset:0 auto 0 0;background:var(--brand-soft)}.share-cell strong{position:relative}.status-badge{display:inline-flex;padding:5px 9px;border-radius:999px;background:var(--brand-soft);color:var(--brand);white-space:nowrap}.orders-table{min-width:1250px}.orders-table td small{display:block}
.geo-notice{margin:0 16px 14px;padding:11px 13px;border:1px solid #f0d99b;border-radius:9px;background:#fff8e6;color:#755800;font-size:12px}.geo-notice strong,.geo-notice span{display:block}.geo-notice span{margin-top:3px;color:var(--muted)}.region-missing{display:inline-block;max-width:180px;color:#9a6a00;font-size:12px;line-height:1.3}.order-status-panel{margin-top:14px;padding:18px;background:var(--surface);border:1px solid var(--line);border-radius:13px;box-shadow:var(--shadow)}.order-status-panel>.panel-head{margin-bottom:14px}.order-status-panel .panel-head h2{font-size:18px}.order-status-panel .panel-head .muted{display:block;margin-top:3px;font-size:13px}.order-overview-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;border:1px solid var(--line);border-radius:10px;overflow:hidden;background:var(--line)}.overview-metric{padding:15px 16px;background:var(--soft)}.overview-metric span{display:block;color:#56627a;font-size:14px;font-weight:500}.overview-metric strong{display:block;margin-top:6px;font-size:22px;white-space:nowrap}.status-summary-table{margin-top:18px;border:1px solid var(--line);border-radius:10px;overflow:hidden}.status-summary-head,.status-summary-row{display:grid;grid-template-columns:minmax(210px,1.4fr) minmax(140px,.65fr) minmax(190px,.9fr) minmax(110px,.45fr);align-items:center;column-gap:18px}.status-summary-head{padding:10px 18px;background:var(--soft);color:#56627a;font-size:13px;font-weight:600}.status-summary-head span:not(:first-child){text-align:right}.status-summary-row{position:relative;min-height:59px;padding:13px 18px 16px;border-top:1px solid var(--line)}.status-name{display:flex;align-items:center;gap:11px}.status-name strong,.status-number{color:var(--text);font-size:16px;font-weight:600;line-height:1.3}.status-name i{flex:0 0 auto;width:10px;height:10px;border-radius:50%;background:#8993a5}.status-number{text-align:right;white-space:nowrap}.status-progress{position:absolute;left:18px;right:18px;bottom:8px;height:3px;border-radius:999px;background:#edf0f5;overflow:hidden}.status-progress span{display:block;height:100%;border-radius:inherit;background:#8993a5}.status-tone-success .status-name i,.status-tone-success .status-progress span{background:#2fad78}.status-tone-info .status-name i,.status-tone-info .status-progress span{background:#4f73df}.status-tone-warning .status-name i,.status-tone-warning .status-progress span{background:#d69725}.status-tone-danger .status-name i,.status-tone-danger .status-progress span{background:#dc5a62}.status-tone-return .status-name i,.status-tone-return .status-progress span{background:#8b68c8}.orders-table-scroll{max-height:660px;overflow:auto;scrollbar-gutter:stable}.orders-table-scroll thead th{position:sticky;top:0;z-index:2;box-shadow:0 1px 0 var(--line)}
.sales-overview-panel{margin-top:14px;padding:18px;background:var(--surface);border:1px solid var(--line);border-radius:13px;box-shadow:var(--shadow)}.sales-overview-panel>.panel-head{margin-bottom:14px}.sales-overview-panel .panel-head h2{font-size:18px}.sales-overview-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:1px;border:1px solid var(--line);border-radius:10px;overflow:hidden;background:var(--line)}.sales-overview-grid .overview-metric small{display:block;margin-top:5px;color:var(--muted);font-size:12px;line-height:1.35}.sales-overview-grid .overview-metric strong{font-size:20px}.metric-positive{color:var(--good)}.metric-negative{color:var(--bad)}.sales-data-note{margin-top:10px;padding:9px 12px;border-radius:8px;background:var(--soft);color:var(--muted);font-size:12px}.sales-data-note strong{color:var(--text)}.sales-analytics-grid{display:grid;grid-template-columns:minmax(410px,.82fr) minmax(620px,1.18fr);gap:14px;margin-top:14px}.sales-day-list{max-height:445px;overflow:auto;border-top:1px solid var(--line)}.sales-day-row{display:grid;grid-template-columns:130px minmax(100px,1fr) 185px;align-items:center;gap:14px;padding:11px 16px;border-bottom:1px solid var(--line)}.sales-day-row strong,.sales-day-row small{display:block}.sales-day-row small{margin-top:3px;color:var(--muted);font-size:11px}.sales-day-row>div:last-child{text-align:right}.sales-day-bar{height:8px;border-radius:999px;background:#edf0f5;overflow:hidden}.sales-day-bar span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#315ee7,#7491f1)}.product-sales-scroll{max-height:445px;overflow:auto}.product-sales-scroll thead th{position:sticky;top:0;z-index:2}.product-sales-table{min-width:760px}.sales-table{min-width:1550px}.sales-table-scroll{max-height:536px;overflow:auto;scrollbar-gutter:stable}.sales-table-scroll thead th{position:sticky;top:0;z-index:2;box-shadow:0 1px 0 var(--line)}.sales-table td,.sales-table th{white-space:nowrap}.sale-event-badge,.data-source{display:inline-flex;padding:5px 9px;border-radius:999px;white-space:nowrap;font-size:11px;font-weight:600}.sale-success{color:var(--good);background:#e5f7ef}.sale-return{color:var(--bad);background:#fff0f2}.confirmed{color:#216b52;background:#e5f7ef}.preliminary{color:#8a6500;background:#fff7dc}
.sales-flow-panel{margin-top:14px}.sales-flow-head{align-items:flex-start}.sales-flow-head>div:first-child .muted{display:block;margin-top:4px}.sales-flow-legend{display:flex;align-items:center;gap:20px;color:var(--muted);font-size:13px}.sales-flow-legend span{display:flex;align-items:center;gap:5px;white-space:nowrap}.sales-flow-legend span:before{content:"";width:11px;height:4px;border-radius:3px}.sales-flow-legend .orders-key:before{background:#315ee7}.sales-flow-legend .buyouts-key:before{background:#2fad78}.sales-flow-legend strong{color:var(--text)}.sales-flow-scroll{overflow:hidden;padding:4px 16px 10px}.sales-flow-chart{display:block;width:100%;min-width:0;height:280px;overflow:visible}.sales-flow-grid-line{stroke:#dfe4ed;stroke-width:1;stroke-dasharray:4 5}.sales-flow-axis-label{fill:var(--muted);font-size:11px;text-anchor:end;dominant-baseline:middle}.sales-flow-date-label{fill:var(--muted);font-size:10px;text-anchor:middle}.sales-flow-line{fill:none;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}.orders-line{stroke:#315ee7}.buyouts-line{stroke:#2fad78}.sales-flow-point{stroke:#fff;stroke-width:2;cursor:pointer;transition:r .15s;vector-effect:non-scaling-stroke}.sales-flow-point:hover{r:6}.orders-point{fill:#315ee7}.buyouts-point{fill:#2fad78}.sales-products-grid{grid-template-columns:1fr}
@media(max-width:1450px){.sales-overview-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:1100px){.orders-analytics-grid,.sales-analytics-grid{grid-template-columns:1fr}.order-overview-grid,.sales-overview-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){.status-summary-table{overflow-x:auto}.status-summary-head,.status-summary-row{min-width:720px}}
@media(max-width:950px){.kpi-grid{grid-template-columns:repeat(2,1fr)}.dashboard-grid,.cost-layout{grid-template-columns:1fr}.app-shell{grid-template-columns:78px minmax(0,1fr)}.sidebar nav a{justify-content:center}.sidebar nav span,.sidebar label,.sidebar select,.sidebar .nav-heading,.logout-form{display:none}.brand{min-width:auto}.topbar .brand-subtitle{display:none}}
@media(max-width:600px){.topbar{padding:0 12px}.search,.user-menu>span:first-child{display:none}.app-shell{display:block}.sidebar{padding:8px;border-right:0;border-bottom:1px solid var(--line);overflow-x:auto}.sidebar nav{display:flex}.sidebar nav a{min-width:46px}.nav-separator{display:none}.content{padding:18px 12px}.kpi-grid{grid-template-columns:1fr}.filters{width:100%}.filters select{flex:1}.page-head h1{font-size:23px}}
.stock-filters{display:flex;gap:7px;flex-wrap:wrap;margin-top:14px}.stock-filters a{padding:7px 11px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--muted);font-size:12px;font-weight:600}.stock-filters a:hover{border-color:#b9c6ee;color:var(--brand)}.stock-filters a.active{border-color:var(--brand);background:var(--brand-soft);color:var(--brand)}.stock-panel{margin-top:10px}.stock-table-scroll{max-height:492px;overflow:auto;scrollbar-gutter:stable}.stock-table-scroll thead th{position:sticky;top:0;z-index:2;box-shadow:0 1px 0 var(--line)}.stock-table{min-width:720px}.stock-table th,.stock-table td{padding:7px 11px}.stock-table tbody tr{height:38px}.stock-table th:first-child,.stock-table td:first-child{min-width:160px}.stock-table th:not(:first-child),.stock-table td:not(:first-child){min-width:105px}.stock-product{white-space:nowrap}.stock-positive{color:var(--good);font-weight:700;background:#eefaf4}.stock-row-total{background:var(--soft)}.stock-table tfoot td{padding-top:9px;padding-bottom:9px;background:var(--soft);color:var(--text);border-top:2px solid var(--line);font-size:13px}.stock-table tfoot .stock-positive{color:var(--good);background:#e5f7ef}
.messages{margin-bottom:16px}.message{padding:12px 15px;border:1px solid #bcebd5;border-radius:10px;background:#e5f7ef;color:var(--good)}.message-error{border-color:#ffd0d7;background:#fff0f2;color:var(--bad)}.access-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0}.access-summary>div{padding:16px 18px;border:1px solid var(--line);border-radius:12px;background:var(--surface)}.access-summary strong,.access-summary span{display:block}.access-summary strong{font-size:17px}.access-summary span{margin-top:4px;color:var(--muted);font-size:12px}.employee-list{display:grid;gap:14px}.employee-card{position:relative;padding:20px;border:1px solid var(--line);border-radius:14px;background:var(--surface);box-shadow:var(--shadow)}.employee-disabled{opacity:.72}.employee-main{display:flex;align-items:center;gap:12px;padding-right:135px}.employee-avatar{width:44px;height:44px;display:grid;place-items:center;border-radius:12px;background:var(--brand-soft);color:var(--brand);font-size:18px;font-weight:700}.employee-main h2{margin:0;font-size:16px}.employee-main p{margin:4px 0 0;color:var(--muted);font-size:13px}.employee-status{margin-left:auto;padding:5px 9px;border-radius:999px;background:#e5f7ef;color:var(--good);font-size:11px}.employee-disabled .employee-status{background:var(--soft);color:var(--muted)}.permission-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:18px}.permission-grid label{display:flex;align-items:flex-start;gap:9px;padding:11px;border:1px solid var(--line);border-radius:10px;cursor:pointer}.permission-grid input{width:17px;height:17px;margin:2px 0 0;accent-color:var(--brand)}.permission-grid span,.permission-grid small{display:block}.permission-grid span{font-size:13px;font-weight:600}.permission-grid small{margin-top:3px;color:var(--muted);font-size:11px;font-weight:400}.employee-actions{display:flex;justify-content:flex-end;margin-top:14px}.secondary-button{padding:9px 14px;border:1px solid var(--line);border-radius:9px;background:var(--surface);color:var(--text);cursor:pointer}.status-form{position:absolute;right:20px;top:23px}.text-button{border:0;background:transparent;color:var(--muted);font-size:12px;cursor:pointer}.modal-backdrop{display:none;position:fixed;inset:0;z-index:20;align-items:center;justify-content:center;padding:20px;background:rgba(18,27,52,.48)}.modal-backdrop.is-open{display:flex}.employee-modal{position:relative;width:min(680px,100%);max-height:calc(100vh - 40px);overflow:auto;padding:26px;border-radius:16px;background:var(--surface);box-shadow:0 24px 70px rgba(18,27,52,.24)}.employee-modal h2{margin:0}.employee-modal>p{margin:6px 0 20px;color:var(--muted)}.employee-modal h3{margin:22px 0 0;font-size:14px}.modal-close{position:absolute;right:18px;top:14px;border:0;background:transparent;color:var(--muted);font-size:28px;cursor:pointer}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.form-grid label{display:grid;gap:6px;color:var(--muted);font-size:12px}.form-grid input{width:100%;padding:10px 11px;border:1px solid var(--line);border-radius:9px;color:var(--text)}.field-error{color:var(--bad)}.create-permissions label{align-items:center}.modal-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:22px}@media(max-width:800px){.access-summary,.permission-grid{grid-template-columns:1fr 1fr}.employee-main{padding-right:0;flex-wrap:wrap}.employee-status{margin-left:0}.status-form{position:static;margin-top:10px}.form-grid{grid-template-columns:1fr}}@media(max-width:520px){.access-summary,.permission-grid{grid-template-columns:1fr}.employee-card{padding:16px}}
@media(min-width:601px){.app-shell{display:block;min-height:calc(100vh - 66px)}.sidebar{position:fixed;top:66px;bottom:0;left:0;z-index:4;width:220px;overflow-y:auto}.content{margin-left:220px}}@media(min-width:601px) and (max-width:950px){.sidebar{width:78px}.content{margin-left:78px}}
.menu-order-toggle{width:calc(100% - 16px);margin:0 8px 10px;padding:7px 9px;border:1px solid var(--line);border-radius:8px;background:var(--soft);color:var(--muted);font-size:11px;cursor:pointer}.nav-sort-group{display:grid;gap:4px}.menu-drag-handle{display:none;color:#94a0b4;font-style:normal;font-size:15px;line-height:1}.menu-order-editing .menu-drag-handle{display:inline}.menu-order-editing .nav-sort-group[data-menu-group="wb"] a,.menu-order-editing .nav-sort-group[data-menu-group="service"] a{cursor:grab;border:1px dashed #cdd5e3}.menu-order-editing .nav-sort-group a:active{cursor:grabbing}.menu-item-dragging{opacity:.35;background:var(--brand-soft)!important}@media(max-width:950px){.menu-order-toggle{font-size:0;padding:8px}.menu-order-toggle:after{content:"↕";font-size:16px}.menu-order-editing .menu-order-toggle:after{content:"✓"}}@media(max-width:600px){.menu-order-toggle{display:none}.menu-drag-handle{display:none!important}}
.unit-table .product-photo,.unit-table .product-cell small{display:none}.unit-table .product-cell{display:block;max-width:130px;overflow:hidden}.unit-table .product-cell strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.unit-table .cost-warning{overflow:hidden;width:18px;height:18px;margin-top:2px;padding:2px 5px;font-size:0}.unit-table .cost-warning:after{content:"!";font-size:11px}.unit-table td,.unit-table th{height:46px;padding-top:8px;padding-bottom:8px}.unit-table td:first-child,.unit-table th:first-child{width:155px;min-width:155px;max-width:155px}.unit-table-scroll,.unit-table-scroll.ten-row-scroll{max-height:506px}
.unit-sort-button{margin-left:5px;padding:0;border:0;background:transparent;color:var(--brand);font:inherit;font-weight:800;cursor:pointer}.unit-sort-button:hover{color:var(--text)}
.unit-table thead th[draggable="true"]{cursor:grab;user-select:none}.unit-table thead th[draggable="true"]:active{cursor:grabbing}.unit-table thead th.column-dragging{opacity:.35;background:var(--brand-soft)}
.unit-columns-reset{padding:7px 10px;font-size:12px;white-space:nowrap}
.unit-table-actions{display:flex;align-items:center;gap:9px}.unit-list-panel{border-color:#dfe5f0;box-shadow:0 8px 26px rgba(31,48,82,.055)}.unit-list-panel>.panel-head{padding:15px 20px;background:linear-gradient(180deg,#fff,#fbfcff)}.unit-list-panel .unit-table thead th{height:58px;background:#f7f9fc;color:#68748a;vertical-align:middle}.unit-list-panel .unit-table thead th span,.unit-list-panel .unit-table thead th small{display:block}.unit-list-panel .unit-table thead th span{color:#56627a;font-size:12px;font-weight:700}.unit-list-panel .unit-table thead th small{margin-top:3px;color:#929bad;font-size:10px;font-weight:500}.unit-list-panel .unit-table tbody tr:nth-child(even){background:#fbfcfe}.unit-list-panel .unit-table tbody tr{transition:background-color .15s ease}.unit-list-panel .unit-table tbody tr:hover{background:#f3f7ff}.unit-list-panel .unit-table td{border-color:#e8ecf3}@media(max-width:700px){.unit-table-actions{width:100%;justify-content:space-between}}
.nav-section{margin-top:5px}.market-heading{display:flex;width:calc(100% - 12px);align-items:center;justify-content:space-between;margin:6px 6px 4px;padding:7px 9px;border-radius:8px;font-size:13px;font-weight:800;line-height:1.1;letter-spacing:.01em;text-align:left;text-transform:none;cursor:pointer}.market-heading i{font-style:normal;font-size:14px;font-weight:500;transition:transform .18s}.nav-section.is-collapsed .market-heading i{transform:rotate(-90deg)}.nav-section.is-collapsed .nav-section-body{display:none}.nav-empty-note{margin:2px 9px 7px;padding:8px 9px;border-left:2px solid var(--line);color:var(--muted);font-size:11px;line-height:1.35}.common-heading,.management-heading{border:1px solid var(--line);background:var(--soft);color:#526078}.wb-heading{border:1px solid rgba(196,39,148,.15);background:linear-gradient(110deg,rgba(111,39,213,.10),rgba(225,31,133,.10),rgba(255,93,35,.10))}.wb-heading span{background:linear-gradient(100deg,#6d2bd1,#d91c87,#f05a2b);background-clip:text;-webkit-background-clip:text;color:transparent}.ozon-heading{border:1px solid rgba(0,91,255,.14);background:linear-gradient(110deg,rgba(0,91,255,.10),rgba(0,151,255,.07));color:#005bff}@media(max-width:950px){.sidebar .market-heading{display:flex;width:calc(100% - 10px);justify-content:center;margin:6px 5px 4px;padding:7px 2px;overflow:hidden;text-align:center;font-size:0}.sidebar .market-heading span,.sidebar .market-heading i{display:none}.sidebar .common-heading:after{content:"ОБ";font-size:11px}.sidebar .wb-heading:after{content:"WB";font-size:11px;color:#b42096}.sidebar .ozon-heading:after{content:"OZ";font-size:11px}.sidebar .management-heading:after{content:"УП";font-size:11px}.sidebar .nav-empty-note{display:none}}@media(max-width:600px){.sidebar .market-heading{display:none}.sidebar .nav-section{margin:0}.sidebar .nav-section-body,.sidebar .nav-sort-group{display:flex!important}.sidebar .nav-empty-note{display:none}}
.sync-control-panel{border-color:#d7dff5;background:linear-gradient(135deg,#fff,#f7f8ff)}.sync-control-form{display:grid;grid-template-columns:minmax(180px,1fr) minmax(180px,1fr) auto;gap:12px;align-items:end;margin-top:18px}.sync-control-form label,.sync-custom-dates label{display:grid;gap:6px;color:var(--muted);font-size:12px}.sync-control-form select,.sync-custom-dates input{min-height:40px;padding:8px 10px;border:1px solid var(--line);border-radius:9px;background:var(--surface);color:var(--text)}.sync-control-form button{min-height:40px}.sync-control-form button:disabled,.sync-control-form select:disabled{cursor:not-allowed;opacity:.55}.sync-custom-dates{display:none;grid-column:1 / 3;grid-template-columns:1fr 1fr;gap:12px}.sync-custom-dates.is-visible{display:grid}.sync-progress{margin:16px 0;padding:15px;border:1px solid #cfd8f5;border-radius:12px;background:#f7f9ff}.sync-progress-head{display:flex;align-items:center;gap:11px}.sync-progress-head strong,.sync-progress-head small{display:block}.sync-progress-head small{margin-top:3px;color:var(--muted)}.sync-spinner{width:22px;height:22px;border:3px solid #dce3f8;border-top-color:var(--brand);border-radius:50%;animation:sync-spin .8s linear infinite}.sync-progress-bar{height:5px;margin-top:13px;overflow:hidden;border-radius:5px;background:#e1e6f5}.sync-progress-bar i{display:block;width:42%;height:100%;border-radius:5px;background:var(--brand);animation:sync-slide 1.3s ease-in-out infinite}.sync-progress p{margin:9px 0 0}.sync-status{display:inline-flex;padding:4px 8px;border-radius:999px;background:var(--soft);font-size:11px;font-weight:700}.sync-status-success{background:#e5f7ef;color:var(--good)}.sync-status-error{background:#fff0f2;color:var(--bad)}.sync-status-partial{background:#fff7df;color:#966500}.sync-status-running,.sync-status-queued{background:var(--brand-soft);color:var(--brand)}.sync-row-error{display:block;max-width:250px;margin-top:5px;color:var(--bad);white-space:normal}.sync-stage-list{display:flex;flex-wrap:wrap;gap:4px}.sync-stage-list span{padding:3px 6px;border-radius:6px;background:var(--soft);font-size:10px;white-space:nowrap}.sync-stage-list .stage-ok{background:#eef9f4;color:var(--good)}.sync-stage-list .stage-error{background:#fff0f2;color:var(--bad)}.sync-history table{min-width:900px}@keyframes sync-spin{to{transform:rotate(360deg)}}@keyframes sync-slide{0%{transform:translateX(-105%)}50%{transform:translateX(145%)}100%{transform:translateX(-105%)}}@media(max-width:800px){.sync-control-form{grid-template-columns:1fr}.sync-custom-dates{grid-column:auto;grid-template-columns:1fr 1fr}}@media(max-width:520px){.sync-custom-dates{grid-template-columns:1fr}}
/* Read-only advertising analytics */
.ads-readonly-badge{display:inline-flex;align-items:center;gap:7px;padding:7px 11px;border:1px solid #cfd8f5;border-radius:999px;background:#f4f7ff;color:var(--brand);font-size:12px;font-weight:700}.ads-readonly-badge i{width:7px;height:7px;border-radius:50%;background:var(--brand)}.ads-filters{max-width:520px}.ads-overview-panel{margin-top:14px;padding:18px;background:var(--surface);border:1px solid var(--line);border-radius:13px;box-shadow:var(--shadow)}.ads-overview-panel>.panel-head{margin-bottom:14px}.ads-overview-panel .panel-head h2{font-size:18px}.ads-overview-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;border:1px solid var(--line);border-radius:10px;overflow:hidden;background:var(--line)}.ads-overview-grid .overview-metric{min-height:108px}.ads-overview-grid .overview-metric strong{font-size:20px}.ads-overview-grid .overview-metric small{display:block;margin-top:5px;color:var(--muted);font-size:11px;line-height:1.35}.ads-data-note{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:10px;padding:9px 12px;border-radius:8px;background:var(--soft);color:var(--muted);font-size:12px}.ads-data-note span:before{content:"✓";margin-right:6px;color:var(--good);font-weight:800}.ads-dynamics-panel{margin-top:14px}.ads-chart-legend{display:flex;gap:14px;color:var(--muted);font-size:12px}.ads-chart-legend span:before{content:"";display:inline-block;width:9px;height:4px;margin-right:6px;border-radius:3px;vertical-align:middle}.ads-spend-key:before{background:#4f73df}.ads-revenue-key:before{background:#2fad78}.ads-day-list{max-height:390px;overflow:auto;border-top:1px solid var(--line)}.ads-day-row{display:grid;grid-template-columns:60px minmax(180px,1fr) 130px 170px;align-items:center;gap:15px;padding:11px 18px;border-bottom:1px solid var(--line)}.ads-day-row:last-child{border-bottom:0}.ads-day-row time{color:var(--muted);font-size:13px}.ads-day-row strong,.ads-day-row small{display:block}.ads-day-row strong{font-size:13px}.ads-day-row small{margin-top:2px;color:var(--muted);font-size:10px}.ads-day-row>div:nth-last-child(-n+2){text-align:right}.ads-day-bars{display:grid;gap:5px}.ads-day-bars>span{height:5px;overflow:hidden;border-radius:999px;background:#edf0f5}.ads-day-bars i{display:block;height:100%;min-width:2px;border-radius:inherit}.ads-spend-bar i{background:#4f73df}.ads-revenue-bar i{background:#2fad78}.ads-health-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:14px}.ads-health-card{padding:16px 18px;border:1px solid var(--line);border-radius:12px;background:var(--surface);box-shadow:var(--shadow)}.ads-health-card span,.ads-health-card small{display:block;color:var(--muted)}.ads-health-card span{font-size:12px}.ads-health-card strong{display:block;margin:5px 0;font-size:22px}.ads-health-card small{font-size:11px}.ads-health-warning{border-color:#f2d899;background:#fffaf0}.ads-health-danger{border-color:#ffd0d7;background:#fff5f6}.ads-campaign-panel{margin-top:14px}.ads-campaign-scroll{max-height:520px;overflow:auto;scrollbar-gutter:stable}.ads-campaign-scroll thead th{position:sticky;top:0;z-index:2;box-shadow:0 1px 0 var(--line)}.ads-campaign-table{min-width:1050px}.ads-campaign-table td,.ads-campaign-table th{white-space:nowrap}.ads-campaign-table td:first-child{min-width:210px}.ads-status-pill,.safe-badge,.view-badge{display:inline-flex;padding:5px 8px;border-radius:999px;background:var(--soft);color:var(--muted);font-size:11px;font-weight:700}.safe-badge{background:#fff0dc;color:#94540a}.view-badge{background:#e8f7ef;color:#19734a}.warning-row{background:#fffaf2}td small{display:block;color:#7b8290;margin-top:3px}@media(max-width:1200px){.ads-overview-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:850px){.ads-health-grid{grid-template-columns:1fr}.ads-day-row{grid-template-columns:50px minmax(150px,1fr) 110px}.ads-day-row>div:last-child{grid-column:2/4;text-align:right}}@media(max-width:560px){.ads-overview-grid{grid-template-columns:1fr}.ads-day-row{grid-template-columns:42px 1fr}.ads-day-row>div:nth-last-child(-n+2){grid-column:2;text-align:left}.ads-chart-legend{display:none}}
.health-updated{padding:8px 11px;border:1px solid var(--line);border-radius:9px;background:var(--surface);color:var(--muted);font-size:12px}.health-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));gap:12px;margin:18px 0}.health-summary-card{padding:17px;border:1px solid var(--line);border-radius:13px;background:var(--surface);box-shadow:var(--shadow)}.health-summary-card span,.health-summary-card small{display:block;color:var(--muted)}.health-summary-card strong{display:block;margin:6px 0;font-size:28px}.health-summary-good{border-color:#bcebd5;background:#f5fcf8}.health-summary-warning{border-color:#f2d899;background:#fffaf0}.health-summary-bad{border-color:#ffd0d7;background:#fff5f6}.health-current-panel{margin-bottom:18px}.health-check-grid{display:grid;grid-template-columns:repeat(2,minmax(260px,1fr));gap:9px;margin-top:14px}.health-check{display:grid;grid-template-columns:12px 1fr auto;gap:10px;align-items:center;padding:12px;border:1px solid var(--line);border-radius:10px;background:var(--surface)}.health-check>i{width:10px;height:10px;border-radius:50%;background:#aab2c2}.health-check strong,.health-check span{display:block}.health-check span{margin-top:3px;color:var(--muted);font-size:11px}.health-check em{padding:4px 7px;border-radius:999px;background:var(--soft);font-size:10px;font-style:normal;font-weight:700}.health-check-ok>i{background:var(--good)}.health-check-ok em{background:#e5f7ef;color:var(--good)}.health-check-warning>i{background:#d79218}.health-check-warning em{background:#fff3d9;color:#966500}.health-check-error>i{background:var(--bad)}.health-check-error em{background:#fff0f2;color:var(--bad)}.health-history-panel table{min-width:650px}@media(max-width:900px){.health-summary-grid{grid-template-columns:repeat(2,1fr)}.health-check-grid{grid-template-columns:1fr}}@media(max-width:520px){.health-summary-grid{grid-template-columns:1fr}.health-check{grid-template-columns:12px 1fr}.health-check em{grid-column:2}}
.audit-table{min-width:900px}.audit-event-badge{display:inline-flex;padding:4px 7px;border-radius:7px;background:var(--brand-soft);color:var(--brand);font-size:11px;font-weight:700}.audit-table td:nth-child(5){max-width:420px;white-space:normal}
.reviews-page-head{align-items:center}.reviews-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:16px 0}.reviews-summary-card{min-height:112px;padding:16px;border:1px solid var(--line);border-radius:13px;background:var(--surface);box-shadow:var(--shadow)}.reviews-summary-card span,.reviews-summary-card small{display:block;color:var(--muted)}.reviews-summary-card strong{display:block;margin:6px 0;font-size:27px}.reviews-summary-warning{border-color:#f2d899;background:#fffaf0}.reviews-workspace{display:grid;grid-template-columns:minmax(320px,.85fr) minmax(430px,1.35fr);min-height:640px;overflow:hidden;border:1px solid var(--line);border-radius:14px;background:var(--surface);box-shadow:var(--shadow)}.reviews-list-panel{min-width:0;border-right:1px solid var(--line)}.reviews-tabs{display:flex;gap:3px;overflow-x:auto;padding:11px;border-bottom:1px solid var(--line)}.reviews-tabs a{padding:8px 9px;border-radius:8px;color:var(--muted);font-size:11px;font-weight:700;white-space:nowrap;text-decoration:none}.reviews-tabs a.active{background:var(--brand-soft);color:var(--brand)}.reviews-tabs b{display:inline-block;margin-left:3px}.reviews-list{max-height:690px;overflow:auto}.review-row{display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:11px;align-items:center;padding:13px;border-bottom:1px solid var(--line);color:var(--text);text-decoration:none}.review-row:hover,.review-row.selected{background:#f4f7ff}.review-product-photo{width:44px;height:44px;display:grid;place-items:center;overflow:hidden;border-radius:9px;background:var(--brand-soft);color:var(--brand)}.review-product-photo img{width:100%;height:100%;object-fit:cover}.review-row-main{min-width:0}.review-row-main strong,.review-row-main small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.review-row-main strong{font-size:12px}.review-row-main small{margin-top:4px;color:var(--muted);font-size:11px}.review-stars{display:block;margin-top:3px;color:#e69416;letter-spacing:1px}.review-stars-large{font-size:18px;white-space:nowrap}.review-recommendation,.review-state{padding:5px 7px;border-radius:999px;background:var(--soft);color:var(--muted);font-size:9px;font-weight:800;white-space:nowrap}.recommendation-appeal{background:#e5f7ef;color:var(--good)}.recommendation-review{background:#fff3d9;color:#966500}.recommendation-answer{background:var(--brand-soft);color:var(--brand)}.reviews-empty-list,.reviews-empty-detail{display:grid;place-items:center;align-content:center;gap:5px;min-height:180px;padding:28px;text-align:center}.reviews-empty-list span,.reviews-empty-detail span{color:var(--muted);font-size:12px}.review-detail-panel{min-width:0}.review-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:17px;border-bottom:1px solid var(--line)}.review-detail-head h2{margin:0;font-size:17px}.review-detail-head p{margin:5px 0 0;color:var(--muted);font-size:11px}.review-detail-body{padding:17px}.review-copy{padding:13px 15px;border-left:3px solid var(--brand);border-radius:0 9px 9px 0;background:var(--soft)}.review-copy p{margin:5px 0;font-size:13px;line-height:1.45}.review-ai-analysis{margin-top:13px;padding:14px;border:1px solid #d6def7;border-radius:11px;background:#f5f7ff}.review-ai-title{display:flex;align-items:center;justify-content:space-between}.review-ai-title span{color:var(--good);font-size:12px;font-weight:800}.review-ai-analysis p{margin:8px 0;font-size:12px;line-height:1.45}.review-ai-analysis small{color:var(--muted)}.review-ai-request{display:flex;align-items:center;gap:11px;margin-top:13px}.review-ai-request span{color:var(--muted);font-size:11px}.review-editor-section{margin-top:16px;padding-top:15px;border-top:1px solid var(--line)}.review-editor-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}.review-editor-title h3{margin:0;font-size:14px}.review-state.success,.complaint-approved{background:#e5f7ef;color:var(--good)}.complaint-prepared,.complaint-submitted{background:#fff3d9;color:#966500}.complaint-rejected{background:#fff0f2;color:var(--bad)}.review-editor-section textarea{width:100%;min-height:118px;padding:11px 12px;resize:vertical;border:1px solid var(--line);border-radius:9px;background:var(--surface);color:var(--text);font:inherit;font-size:12px;line-height:1.45}.review-editor-actions,.review-complaint-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:9px}.review-editor-actions>span,.review-complaint-tools>span{color:var(--muted);font-size:10px}.review-editor-actions label{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:11px}.review-editor-actions select{padding:8px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--text)}.review-api-note{margin:10px 0 0;color:var(--muted);font-size:10px;line-height:1.4}@media(max-width:1100px){.reviews-summary{grid-template-columns:repeat(2,1fr)}.reviews-workspace{grid-template-columns:minmax(290px,.75fr) minmax(390px,1.25fr)}}@media(max-width:780px){.reviews-workspace{grid-template-columns:1fr}.reviews-list-panel{border-right:0}.review-detail-panel{border-top:1px solid var(--line)}.reviews-list{max-height:420px}}@media(max-width:520px){.reviews-summary{grid-template-columns:1fr 1fr}.reviews-summary-card{min-height:auto}.review-ai-request,.review-editor-actions{align-items:stretch;flex-direction:column}.review-ai-request button,.review-editor-actions button{width:100%}.review-row{grid-template-columns:40px minmax(0,1fr)}.review-recommendation{grid-column:2;justify-self:start}}
.summary-head{align-items:center}.summary-freshness{padding:8px 11px;border:1px solid var(--line);border-radius:9px;background:var(--surface);color:var(--muted);font-size:12px}.summary-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:16px 0}.summary-kpi{min-height:126px;padding:18px;border:1px solid var(--line);border-radius:14px;background:var(--surface);box-shadow:var(--shadow)}.summary-kpi span,.summary-kpi small{display:block;color:var(--muted)}.summary-kpi span{font-size:12px;font-weight:700}.summary-kpi strong{display:block;margin:8px 0 7px;font-size:27px;letter-spacing:-.03em}.summary-kpi small{font-size:11px}.summary-kpi small b{display:block;margin-top:4px}.summary-kpi-primary{border-color:#cfd8ff;background:linear-gradient(135deg,#f7f9ff,#fff)}.summary-kpi-primary strong{color:var(--brand)}.summary-two-columns{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(300px,.8fr);gap:14px}.summary-chart-panel,.expense-panel{padding:18px}.panel-head p,.section-title p{margin:4px 0 0;color:var(--muted);font-size:12px}.summary-legend{display:flex;gap:14px;color:var(--muted);font-size:11px}.summary-legend span:before{content:"";display:inline-block;width:15px;height:3px;margin-right:5px;border-radius:3px;vertical-align:middle}.revenue-key:before{background:#4f73df}.profit-key:before{background:#2fad78}.summary-chart{min-height:270px;margin-top:10px}.summary-chart svg{width:100%;height:270px;overflow:visible}.summary-chart text{fill:var(--muted);font-size:10px}.summary-chart .zero-line{stroke:#dfe3ec;stroke-width:1}.summary-revenue-line,.summary-profit-line{fill:none;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}.summary-revenue-line{stroke:#4f73df}.summary-profit-line{stroke:#2fad78}.expense-total{display:flex;align-items:end;justify-content:space-between;padding:14px 0;border-bottom:1px solid var(--line)}.expense-total span{color:var(--muted);font-size:12px}.expense-total strong{font-size:22px}.expense-list{display:grid;gap:0}.expense-list>div{display:flex;justify-content:space-between;gap:14px;padding:10px 0;border-bottom:1px solid var(--line);font-size:12px}.expense-list span{color:var(--muted)}.expense-list strong{text-align:right}.expense-list small{display:block;color:var(--muted);font-weight:400}.panel-link{display:inline-block;margin-top:14px;font-size:12px}.attention-section{margin:18px 0}.section-title h2{margin:0;font-size:18px}.attention-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:11px}.attention-card{display:block;min-height:118px;padding:15px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--text);text-decoration:none}.attention-card span,.attention-card small{display:block}.attention-card span{font-size:12px;font-weight:700}.attention-card strong{display:block;margin:8px 0;font-size:24px}.attention-card small{color:var(--muted);font-size:11px;line-height:1.35}.attention-danger{border-color:#ffd0d7;background:#fff7f8}.attention-danger strong{color:var(--bad)}.attention-warning{border-color:#f2d899;background:#fffaf0}.attention-warning strong{color:#966500}.attention-success{border-color:#bcebd5;background:#f5fcf8}.attention-success strong{color:var(--good)}.summary-product-panel{margin-top:14px}.summary-product-table{min-width:900px}.summary-product-table td:first-child{min-width:250px}.summary-status{display:inline-flex;padding:5px 8px;border-radius:999px;font-size:10px;font-weight:700;white-space:nowrap}.summary-status.success{background:#e5f7ef;color:var(--good)}.summary-status.warning{background:#fff3d9;color:#966500}.summary-status.danger{background:#fff0f2;color:var(--bad)}.summary-empty{margin-top:18px;padding:28px;border:1px solid var(--line);border-radius:14px;background:var(--surface);text-align:center}.summary-empty h2{margin-top:0}.summary-empty p{color:var(--muted)}@media(max-width:1100px){.summary-kpis{grid-template-columns:repeat(2,1fr)}.summary-two-columns{grid-template-columns:1fr}.attention-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:600px){.summary-kpis,.attention-grid{grid-template-columns:1fr}.summary-kpi{min-height:auto}.summary-head{align-items:flex-start}.summary-freshness{margin-top:8px}.summary-chart{overflow-x:auto}.summary-chart svg{min-width:700px}}
.revenue-drivers{grid-column:span 2;display:grid;grid-template-columns:1.15fr 1fr 1fr;align-items:center;min-height:126px;padding:14px 18px;border:1px solid #cfd8ff;border-radius:14px;background:linear-gradient(135deg,#f7f9ff,#fff);box-shadow:var(--shadow)}.revenue-drivers>div{padding:4px 18px;border-left:1px solid var(--line)}.revenue-drivers>div:first-child{padding-left:0;border-left:0}.revenue-drivers span,.revenue-drivers small{display:block;color:var(--muted);font-size:11px}.revenue-drivers span{font-weight:700}.revenue-drivers strong{display:block;margin:7px 0 4px;font-size:21px}@media(max-width:600px){.revenue-drivers{grid-column:auto;grid-template-columns:1fr}.revenue-drivers>div{padding:12px 0;border-left:0;border-top:1px solid var(--line)}.revenue-drivers>div:first-child{border-top:0}}
.revenue-drivers{padding-top:11px}.revenue-drivers h2{grid-column:1/-1;margin:0;padding:0 0 9px;border-bottom:1px solid var(--line);font-size:13px}.revenue-drivers h2+div{padding-left:0;border-left:0}@media(max-width:600px){.revenue-drivers h2{padding-bottom:11px}.revenue-drivers h2+div{border-top:0}}
.revenue-drivers-four{grid-column:span 2;grid-template-columns:repeat(4,minmax(0,1fr))}.ozon-sales-flow{margin:0 0 14px;padding:18px}.ozon-sales-flow-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));margin-top:14px;border:1px solid var(--line);border-radius:12px;overflow:hidden}.ozon-sales-flow-grid>div{min-height:104px;padding:14px;border-left:1px solid var(--line);background:#fff}.ozon-sales-flow-grid>div:first-child{border-left:0}.ozon-sales-flow-grid span,.ozon-sales-flow-grid small{display:block;color:var(--muted);font-size:10px}.ozon-sales-flow-grid strong{display:block;margin:8px 0;font-size:19px}.ozon-sales-flow-grid .primary{background:#f4f7ff}.ozon-sales-flow-grid .primary strong{color:var(--brand)}.flow-warning,.chart-note{margin:10px 0 0;color:#966500;font-size:11px}.ozon-stock-summary{margin:14px 0;padding:18px}.ozon-stock-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;margin-top:13px}.ozon-stock-kpis>div{padding:13px;border:1px solid var(--line);border-radius:10px;background:#fff}.ozon-stock-kpis span{display:block;color:var(--muted);font-size:10px}.ozon-stock-kpis strong{display:block;margin-top:7px;font-size:20px}.stock-risk-list{margin-top:12px;border-top:1px solid var(--line)}.stock-risk-list>div{display:flex;justify-content:space-between;gap:20px;padding:9px 0;border-bottom:1px solid var(--line);font-size:11px}.stock-risk-list span{color:var(--muted)}.stock-ok{margin:13px 0 0;color:var(--good);font-size:12px}@media(max-width:1100px){.ozon-sales-flow-grid{grid-template-columns:repeat(3,1fr)}.ozon-sales-flow-grid>div:nth-child(4){border-left:0}.ozon-stock-kpis{grid-template-columns:repeat(3,1fr)}.revenue-drivers-four{grid-template-columns:repeat(2,1fr)}}@media(max-width:600px){.ozon-sales-flow-grid,.ozon-stock-kpis,.revenue-drivers-four{grid-template-columns:1fr}.ozon-sales-flow-grid>div{border-left:0;border-top:1px solid var(--line)}.ozon-sales-flow-grid>div:first-child{border-top:0}.stock-risk-list>div{align-items:flex-start;flex-direction:column;gap:4px}}
.product-cost-missing td{background:#fff9e8}.product-cost-missing td:first-child{box-shadow:inset 3px 0 0 #e0a21a}.cost-missing-label{display:inline-flex;padding:4px 7px;border-radius:7px;background:#fff0c7;color:#8a5b00;font-size:11px;font-weight:700}.filters .filter-active{border-color:#e0a21a;background:#fff7df;color:#8a5b00}
.product-page-filters{display:flex;align-items:center;gap:8px}.product-page-filters input[name="q"]{width:260px;min-height:40px;padding:9px 12px;border:1px solid var(--line);border-radius:9px;background:var(--surface);color:var(--text);outline:none}.product-page-filters input[name="q"]:focus{border-color:#9aadee;box-shadow:0 0 0 3px rgba(49,94,231,.08)}.product-page-filters .secondary-button{min-height:40px;display:inline-flex;align-items:center;justify-content:center;white-space:nowrap}.product-photo-frame{position:relative;flex:0 0 48px;width:48px;height:58px;display:grid;place-items:center;overflow:hidden;border:1px solid var(--line);border-radius:8px;background:var(--soft)}.product-photo-frame .product-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#fff;border-radius:0}.product-photo-fallback{color:#9ba5b6;font-size:20px}.product-cell>div{min-width:0}.product-cell strong{line-height:1.35}@media(max-width:760px){.product-page-filters{width:100%;flex-wrap:wrap}.product-page-filters input[name="q"]{width:min(100%,320px)}}
.stock-page-filters input[name="q"]{min-height:39px;padding:8px 10px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--text)}.stock-summary-strip{display:grid;grid-template-columns:repeat(3,minmax(140px,1fr));gap:10px;margin-top:14px}.stock-summary-strip>div{padding:14px 16px;border:1px solid var(--line);border-radius:11px;background:var(--surface);box-shadow:var(--shadow)}.stock-summary-strip span{display:block;color:var(--muted);font-size:12px}.stock-summary-strip strong{display:block;margin-top:5px;font-size:23px}.stock-product small{display:block;margin-top:4px;color:var(--muted);font-weight:400}.stock-table td small{display:block;margin-top:3px;color:var(--muted);font-size:10px}@media(max-width:650px){.stock-summary-strip{grid-template-columns:1fr}}
.ads-funnel-panel{margin-top:14px;padding:18px;background:var(--surface);border:1px solid var(--line);border-radius:13px;box-shadow:var(--shadow)}.ads-funnel{display:grid;grid-template-columns:repeat(4,minmax(120px,1fr) 24px) minmax(120px,1fr);align-items:center}.ads-funnel>div{padding:15px;border:1px solid var(--line);border-radius:10px;background:var(--soft)}.ads-funnel>div span,.ads-funnel>div small{display:block;color:var(--muted);font-size:11px}.ads-funnel>div strong{display:block;margin:5px 0;font-size:20px}.ads-funnel>i{text-align:center;color:var(--muted);font-style:normal}.ads-table-head{gap:16px;align-items:flex-end}.ads-inline-filter{display:flex;gap:8px;align-items:center}.ads-inline-filter input,.ads-inline-filter select{height:36px;padding:0 10px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--text)}.ads-inline-filter button{height:36px;padding:0 13px;border:0;border-radius:8px;background:var(--brand);color:#fff;font-weight:700}.ads-product-panel{margin-top:14px}.ads-product-scroll{max-height:560px;overflow:auto;scrollbar-gutter:stable}.ads-product-scroll thead th{position:sticky;top:0;z-index:2}.ads-product-scroll table{min-width:1550px}@media(max-width:1050px){.ads-funnel{grid-template-columns:1fr}.ads-funnel>i{transform:rotate(90deg);padding:3px}.ads-table-head{align-items:stretch;flex-direction:column}.ads-inline-filter{flex-wrap:wrap}.ads-inline-filter input{flex:1;min-width:160px}}
.reviews-connection-alert{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:16px;padding:15px 17px;border:1px solid #f0cf75;border-radius:12px;background:#fff8df}.reviews-connection-alert strong,.reviews-connection-alert span{display:block}.reviews-connection-alert span{margin-top:4px;color:#725a18;font-size:12px}.reviews-token-panel{border-color:#d9c16e;background:#fffdf5}.reviews-token-panel .panel-head{margin-bottom:10px}.connection-warning{padding:11px 13px;border-radius:9px;background:#fff3cc;color:#68510f;font-size:13px;line-height:1.45}@media(max-width:650px){.reviews-connection-alert{align-items:stretch;flex-direction:column}.reviews-connection-alert .primary-button{text-align:center}}
.reviews-summary-card{text-decoration:none;color:inherit}.reviews-tabs{flex-wrap:wrap;overflow:visible}.reviews-tabs-label{display:flex;align-items:center;padding:0 4px;color:#8a93a5;font-size:9px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.reviews-tabs-label:not(:first-child){width:100%;margin-top:4px;padding-top:8px;border-top:1px solid var(--line)}.workflow-appeal{background:#ffe8ec;color:#ad263b}.workflow-manual_review{background:#fff3d9;color:#8b6200}.workflow-inbox{background:#e9efff;color:#315ee7}.workflow-product_issue{background:#fff0dc;color:#9a5500}.workflow-positive{background:#e5f7ef;color:#177249}.workflow-completed{background:var(--soft);color:var(--muted)}.review-status-line{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:12px}.review-status-line small{flex-basis:100%;color:var(--muted);font-size:10px}
.review-row-tags{display:flex;align-items:flex-end;flex-direction:column;gap:4px}
.reviews-mark-all{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 12px;border-bottom:1px solid var(--line);background:#fafbff}.reviews-mark-all span{color:var(--muted);font-size:11px}
.reviews-sort{display:flex;justify-content:flex-end;padding:8px 12px;border-bottom:1px solid var(--line);background:#fafbff}.reviews-sort label{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:11px;font-weight:700}.reviews-sort select{padding:6px 9px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--text);font:inherit}
@media(max-width:520px){.review-row-tags{grid-column:2;align-items:flex-start}.review-row-tags .review-recommendation{grid-column:auto}}
.reviews-new-alert{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:16px;padding:16px 18px;border:1px solid #80d5ad;border-radius:12px;background:#eaf9f2;box-shadow:var(--shadow)}.reviews-new-alert strong,.reviews-new-alert span{display:block}.reviews-new-alert strong{color:#126943}.reviews-new-alert span{margin-top:4px;color:#39745c;font-size:12px}.reviews-summary-new{border-color:#80d5ad;background:#f0fbf6}.reviews-summary-new strong{color:#177249}@media(max-width:650px){.reviews-new-alert{align-items:stretch;flex-direction:column}.reviews-new-alert .primary-button{text-align:center}}
.review-worked-action{display:flex;align-items:center;gap:11px;margin:12px 0;padding:11px 12px;border:1px solid var(--line);border-radius:10px;background:var(--soft)}.review-worked-action span{color:var(--muted);font-size:11px}@media(max-width:650px){.review-worked-action{align-items:stretch;flex-direction:column}}
.marketplace-grid{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:10px}.access-section-title{margin:18px 0 0;font-size:13px;color:var(--muted)}@media(max-width:520px){.marketplace-grid{grid-template-columns:1fr}}
.ozon-stock-scroll{max-height:548px}.ozon-stock-scroll.ten-row-scroll{max-height:458px}.ozon-stock-scroll thead th{position:sticky;top:0;z-index:3}.ozon-stock-scroll tfoot td{position:sticky;bottom:0;z-index:2}
.ads-no-sales-row td{background:#fff8e8}.ads-no-sales-row td:first-child{box-shadow:inset 3px 0 0 #e0a21a}.ads-no-sales-badge{display:inline-flex!important;width:max-content;margin-top:7px!important;padding:4px 7px;border-radius:7px;background:#ffe8ae;color:#875900!important;font-size:10px!important;font-weight:800}
.ads-inactive-toggle{display:inline-flex;align-items:center;gap:6px;height:36px;padding:0 9px;border:1px solid var(--line);border-radius:8px;background:var(--soft);color:var(--muted);font-size:11px;white-space:nowrap}.ads-inactive-toggle input{width:15px!important;height:15px!important;margin:0;padding:0}
/* Order lists show ten data rows; the rest remain available by scrolling. */
.orders-table-scroll.ten-row-scroll{max-height:603px}.ten-row-scroll .orders-table tbody tr{height:56px}
.warehouse-expand-button{margin-left:9px;padding:4px 8px;border:0;border-radius:7px;background:var(--brand-soft);color:var(--brand);cursor:pointer;font-size:10px;font-weight:700}.warehouse-expansion[hidden]{display:none}.warehouse-expansion td{padding:0!important;background:#f8faff}.warehouse-detail-grid{display:grid;grid-template-columns:repeat(3,minmax(180px,1fr));gap:8px;max-height:330px;padding:12px;overflow-y:auto;text-align:left}.warehouse-detail-card{min-width:0;padding:10px 12px;border:1px solid var(--line);border-radius:9px;background:var(--surface)}.warehouse-detail-card span,.warehouse-detail-card strong,.warehouse-detail-card small{display:block}.warehouse-detail-card span{overflow:hidden;color:var(--text);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.warehouse-detail-card strong{margin-top:5px;font-size:14px}.warehouse-detail-card small{margin-top:2px;color:var(--muted);font-size:10px}.warehouse-detail-empty{grid-column:1/-1;padding:20px;color:var(--muted);text-align:center}@media(max-width:900px){.warehouse-detail-grid{grid-template-columns:repeat(2,minmax(170px,1fr))}}
.orders-list-panel{border-color:#dfe5f0;box-shadow:0 8px 26px rgba(31,48,82,.055)}.orders-list-panel>.panel-head{padding:15px 20px;background:linear-gradient(180deg,#fff,#fbfcff)}.orders-list-panel>.panel-head small{display:block;margin-top:3px;color:var(--muted);font-size:11px}.orders-count-badge{padding:6px 10px;border-radius:999px;background:#f1f4fa;color:#647089;font-size:12px;font-weight:600}.orders-list-panel .orders-table thead th{background:#f7f9fc;color:#68748a}.orders-list-panel .orders-table tbody tr:nth-child(even){background:#fbfcfe}.orders-list-panel .orders-table tbody tr{transition:background-color .15s ease}.orders-list-panel .orders-table tbody tr:hover{background:#f3f7ff}.orders-list-panel .orders-table td{border-color:#e8ecf3}.order-date{color:#4f5c72;white-space:nowrap}.order-date small{font-size:11px}.scheme-badge{display:inline-flex;min-width:38px;justify-content:center;padding:4px 7px;border-radius:7px;background:#f1f3f7;color:#56627a;font-size:11px;font-weight:700}.scheme-fbo{background:#edf3ff;color:#3564cb}.scheme-fbs{background:#eef8f3;color:#267453}.scheme-ff{background:#fff4e8;color:#a45d12}.price-before{color:#7b8495}.order-price{color:#17233a;font-weight:650}.orders-list-panel .status-badge{border:1px solid transparent;font-weight:600}.order-status-delivered{background:#eaf8f1;color:#237553;border-color:#d5efe2!important}.order-status-cancelled{background:#fff0f2;color:#b74853;border-color:#f8dce0!important}.order-status-awaiting{background:#fff6df;color:#986b13;border-color:#f2e4bc!important}.order-status-active{background:#edf3ff;color:#3f68c7;border-color:#dce7ff!important}
.orders-data-status{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:14px;padding:13px 16px;border:1px solid var(--line);border-radius:12px;background:var(--surface);box-shadow:var(--shadow)}.orders-data-status strong,.orders-data-status span{display:block}.orders-data-status span{margin-top:4px;color:var(--muted);font-size:12px;line-height:1.4}.orders-data-status>small{max-width:420px;color:var(--muted);font-size:11px;text-align:right}.orders-data-ready{border-color:#bcebd5;background:#f7fcf9}.orders-data-running{border-color:#cdd9ff;background:#f7f9ff}.orders-data-warning{border-color:#efd89a;background:#fffaf0}.orders-data-error{border-color:#f1c5ca;background:#fff7f8}.orders-data-error strong{color:var(--bad)}.orders-price-warning{margin-top:10px;padding:9px 12px;border-radius:8px;background:#fff8e6;color:#80631c;font-size:12px}.order-overview-grid{grid-template-columns:repeat(auto-fit,minmax(170px,1fr))}.overview-metric small{display:block;margin-top:4px;color:var(--muted);font-size:11px}.secondary-button:disabled{opacity:.65;cursor:wait}@media(max-width:760px){.orders-data-status{align-items:flex-start;flex-direction:column}.orders-data-status>small{text-align:left}}
.calculation-control{display:grid;grid-template-columns:minmax(260px,.8fr) minmax(520px,1.4fr);gap:20px;margin-top:14px;padding:18px;border:1px solid var(--line);border-radius:13px;background:var(--surface);box-shadow:var(--shadow)}.calculation-control>div:first-child>span{color:var(--muted);font-size:10px;font-weight:800;letter-spacing:.08em}.calculation-control h2{margin:6px 0;font-size:18px}.calculation-control p{margin:0;color:var(--muted);font-size:12px;line-height:1.45}.calculation-warning{border-color:#f0cf75;background:#fffaf0}.calculation-ready{border-color:#bcebd5;background:#f5fcf8}.calculation-control-grid{display:grid;grid-template-columns:repeat(4,minmax(110px,1fr));gap:8px}.calculation-control-grid>span{padding:11px;border:1px solid var(--line);border-radius:9px;background:#fff}.calculation-control-grid b,.calculation-control-grid strong,.calculation-control-grid small{display:block}.calculation-control-grid b{color:var(--muted);font-size:10px}.calculation-control-grid strong{margin:5px 0;font-size:18px}.calculation-control-grid small{color:var(--muted);font-size:9px}.calculation-control-grid .control-bad{border-color:#f0cf75}.control-bad strong{color:#966500}.control-good strong{color:var(--good)}.calculation-control .calculation-action{grid-column:1/-1;padding-top:10px;border-top:1px solid rgba(150,101,0,.18);color:#725a18}@media(max-width:1000px){.calculation-control{grid-template-columns:1fr}.calculation-control-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:560px){.calculation-control-grid{grid-template-columns:1fr}}
.reconciliation-panel{margin-top:14px;padding:18px;border:1px solid var(--line);border-radius:13px;background:var(--surface);box-shadow:var(--shadow)}.reconciliation-panel>.panel-head{margin-bottom:13px}.reconciliation-panel .panel-head h2{font-size:18px}.reconciliation-good,.reconciliation-bad{padding:6px 9px;border-radius:999px;font-size:11px}.reconciliation-good{background:#e5f7ef;color:var(--good)}.reconciliation-bad{background:#fff0f2;color:var(--bad)}.reconciliation-grid{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));gap:1px;overflow:hidden;border:1px solid var(--line);border-radius:10px;background:var(--line)}.reconciliation-grid>div{padding:13px;background:#fff}.reconciliation-grid span,.reconciliation-grid small{display:block;color:var(--muted);font-size:10px}.reconciliation-grid strong{display:block;margin:6px 0;font-size:16px}.reconciliation-pending{background:#fffaf0!important}.reconciliation-pending strong{color:#966500}.reconciliation-note{margin:11px 0 0;padding:10px 12px;border-radius:8px;background:var(--soft);color:var(--muted);font-size:11px;line-height:1.4}.reconciliation-note strong{color:var(--text)}@media(max-width:1050px){.reconciliation-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:600px){.reconciliation-grid{grid-template-columns:1fr}}
.calculation-status{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:14px;padding:13px 16px;border:1px solid var(--line);border-radius:11px;background:var(--surface)}.calculation-status>div:first-child{flex:0 0 auto}.calculation-status>div:first-child span,.calculation-status>div:first-child strong{display:block}.calculation-status>div:first-child span{color:var(--muted);font-size:9px;font-weight:800;letter-spacing:.08em}.calculation-status>div:first-child strong{margin-top:4px;font-size:14px}.calculation-status>p{margin:0;color:var(--muted);font-size:12px}.calculation-issue-list{display:flex;justify-content:flex-end;gap:7px;flex-wrap:wrap}.calculation-issue-list span{padding:6px 9px;border-radius:8px;background:#fff1cf;color:#76540b;font-size:11px}.reconciliation-panel>summary{cursor:pointer;list-style:none}.reconciliation-panel>summary::-webkit-details-marker{display:none}.reconciliation-panel:not([open])>.panel-head{margin-bottom:0}.reconciliation-summary-actions{display:flex;align-items:center;gap:9px}.reconciliation-toggle{color:var(--brand);font-size:11px}.reconciliation-toggle:after{content:"Показать"}.reconciliation-panel[open] .reconciliation-toggle:after{content:"Скрыть"}@media(max-width:720px){.calculation-status{align-items:flex-start;flex-direction:column}.calculation-issue-list{justify-content:flex-start}.reconciliation-summary-actions{align-items:flex-end;flex-direction:column}}
.unit-info-card,.unit-attention-card{display:flex;align-items:flex-start;gap:13px;margin-top:14px;padding:15px 17px;border:1px solid #d8e0f6;border-radius:13px;background:linear-gradient(135deg,#f7f9ff,#fff);box-shadow:var(--shadow)}
.unit-info-icon,.unit-attention-icon{display:grid;width:30px;height:30px;flex:0 0 30px;place-items:center;border-radius:9px;background:var(--brand-soft);color:var(--brand);font-size:13px;font-weight:800}
.unit-info-card strong,.unit-attention-card strong{display:block;margin:1px 0 4px;font-size:14px}.unit-info-card p,.unit-attention-card p{margin:0;color:var(--muted);font-size:12px;line-height:1.5}
.unit-attention-card{border-color:#efd89a;background:#fffcf5}.unit-attention-icon{background:#fff1cf;color:#8a6500}
.ozon-calculation-control{align-items:start}.ozon-calculation-control .calculation-control-grid strong{font-size:16px}.calculation-friendly-issues{display:flex;gap:7px;flex-wrap:wrap}.calculation-friendly-issues span{padding:6px 9px;border-radius:8px;background:rgba(255,255,255,.72);color:#76540b;font-size:11px}
.ozon-reconciliation-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.ozon-reconciliation-grid>div{min-width:0;border-radius:0}.ozon-reconciliation-grid strong{overflow-wrap:anywhere}.ozon-reconciliation-grid .reconciliation-ok-cell strong{color:var(--good)}
@media(max-width:1280px){.ozon-reconciliation-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:820px){.ozon-reconciliation-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.ozon-reconciliation-grid{grid-template-columns:1fr}.unit-info-card,.unit-attention-card{padding:14px}}
.quality-section{margin:18px 0;padding:18px;border:1px solid var(--line);border-radius:14px;background:var(--surface);box-shadow:var(--shadow)}.quality-ready{border-color:#bcebd5;background:#f8fdfa}.quality-warning{border-color:#f0d89c;background:#fffcf5}.quality-danger{border-color:#f2c5cc;background:#fff9fa}.quality-title{display:flex;align-items:center;justify-content:space-between;gap:15px}.quality-title span{color:var(--muted);font-size:9px;font-weight:800;letter-spacing:.08em}.quality-title h2{margin-top:4px}.quality-title>strong{padding:7px 10px;border-radius:999px;background:#fff;color:var(--muted);font-size:10px}.quality-grid{display:grid;grid-template-columns:repeat(3,minmax(180px,1fr));gap:9px;margin-top:13px}.quality-card{min-height:112px;padding:13px;border:1px solid var(--line);border-radius:10px;background:#fff;text-decoration:none}.quality-card span,.quality-card small{display:block}.quality-card span{color:var(--muted);font-size:10px;font-weight:700}.quality-card strong{display:block;margin:7px 0;font-size:21px}.quality-card small{color:var(--muted);font-size:10px;line-height:1.4}.quality-card-success strong{color:var(--good)}.quality-card-warning{border-color:#f0d89c}.quality-card-warning strong{color:#966500}.quality-card-danger{border-color:#f2c5cc}.quality-card-danger strong{color:var(--bad)}@media(max-width:900px){.quality-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:560px){.quality-grid{grid-template-columns:1fr}.quality-title{align-items:flex-start;flex-direction:column}}
.operation-number{min-width:190px;max-width:300px}.operation-number strong{display:block;overflow-wrap:anywhere}.operation-number small{display:block;margin-top:4px;color:var(--muted);font-size:11px;overflow-wrap:anywhere}.compact-operation{min-width:180px;max-width:250px}.compact-operation strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sales-events-panel .sales-table tbody tr{height:58px}
.friendly-overview-grid{display:grid;grid-template-columns:repeat(4,minmax(160px,1fr));gap:12px;margin:14px 0}.friendly-overview-grid article{min-width:0;padding:16px 18px;border:1px solid var(--line);border-radius:13px;background:var(--surface);box-shadow:var(--shadow)}.friendly-overview-grid span,.friendly-overview-grid small{display:block;color:var(--muted)}.friendly-overview-grid span{font-size:11px;font-weight:650}.friendly-overview-grid strong{display:block;margin:7px 0 4px;font-size:22px;line-height:1.15}.friendly-overview-grid small{font-size:10px;line-height:1.4}.friendly-overview-grid .friendly-warning{border-color:#efd89a;background:#fffaf0}.friendly-overview-grid .friendly-warning strong{color:#966500}.friendly-filter-panel{margin-top:14px}.friendly-filter-panel label{min-width:160px}.friendly-filter-panel label:first-of-type{min-width:260px}.friendly-filter-panel input{width:100%}.friendly-table-panel{margin-top:14px}.friendly-table-panel>.panel-head{padding:15px 18px;background:linear-gradient(180deg,#fff,#fbfcff)}.friendly-table-panel>.panel-head h2{font-size:17px}.friendly-table-panel>.panel-head .muted{display:block;margin-top:3px;font-size:11px}.connection-overview-grid{grid-template-columns:repeat(3,minmax(190px,1fr))}.connection-overview-grid strong{font-size:18px}.finance-overview-grid article:nth-child(3) strong{color:var(--good)}@media(max-width:980px){.friendly-overview-grid{grid-template-columns:repeat(2,minmax(160px,1fr))}.connection-overview-grid{grid-template-columns:repeat(2,minmax(180px,1fr))}}@media(max-width:600px){.friendly-overview-grid,.connection-overview-grid{grid-template-columns:1fr}.friendly-filter-panel label,.friendly-filter-panel label:first-of-type{min-width:100%;width:100%}}
.ten-row-scroll{max-height:572px;overflow:auto;scrollbar-gutter:stable}.ten-row-scroll thead th{position:sticky;top:0;z-index:3;box-shadow:0 1px 0 var(--line)}.ten-row-scroll tbody tr{height:52px}
.ozon-summary-locked{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:14px;padding:15px 18px;border:1px dashed var(--line);border-radius:12px;background:var(--soft)}.ozon-summary-locked span{color:var(--muted);font-size:12px}@media(max-width:680px){.ozon-summary-locked{flex-direction:column}}
.orders-analytics-grid .table-scroll,.product-sales-scroll,.sales-table-scroll,.finance-table-scroll,.ozon-stock-scroll,.status-card~.table-panel .table-scroll{max-height:572px;overflow:auto;scrollbar-gutter:stable}.orders-analytics-grid .table-scroll thead th,.product-sales-scroll thead th,.sales-table-scroll thead th,.finance-table-scroll thead th,.ozon-stock-scroll thead th,.status-card~.table-panel .table-scroll thead th{position:sticky;top:0;z-index:3;box-shadow:0 1px 0 var(--line)}
.supplies-page-head{align-items:center}.supplies-foundation-badge{display:inline-flex;align-items:center;gap:7px;padding:8px 11px;border:1px solid #cfd8f5;border-radius:999px;background:#f4f7ff;color:var(--brand);font-size:11px;font-weight:700}.supplies-foundation-badge i{width:7px;height:7px;border-radius:50%;background:var(--good)}.supplies-filter-panel label:first-of-type{flex:1;min-width:250px}.supplies-table-scroll{max-height:650px;overflow:auto;scrollbar-gutter:stable}.supplies-table{min-width:1450px}.supplies-table thead th{position:sticky;top:0;z-index:2}.supplies-table td,.supplies-table th{white-space:nowrap}.supply-number{min-width:190px}.supply-number strong{display:block}.supply-expand-button{margin-top:5px;padding:3px 7px;border:0;border-radius:6px;background:var(--brand-soft);color:var(--brand);cursor:pointer;font-size:10px;font-weight:700}.supply-status{display:inline-flex;padding:5px 8px;border-radius:999px;background:var(--soft);color:var(--muted);font-size:11px;font-weight:700}.supply-status-success{background:#e5f7ef;color:var(--good)}.supply-status-danger{background:#fff0f2;color:var(--bad)}.supply-status-warning{background:#fff7dc;color:#8a6500}.supply-status-info{background:#edf3ff;color:#3564cb}.supply-variance-negative{color:var(--bad);font-weight:700}.supply-variance-positive{color:#966500;font-weight:700}.supply-items-row[hidden]{display:none}.supply-items-row>td{padding:0!important;background:#f8faff}.supply-items-grid{display:grid;max-height:330px;overflow-y:auto;text-align:left}.supply-items-head,.supply-item{display:grid;grid-template-columns:minmax(260px,1fr) 100px 100px 120px;align-items:center;gap:12px;padding:9px 18px}.supply-items-head{position:sticky;top:0;background:#eef2fa;color:var(--muted);font-size:10px;font-weight:700}.supply-item{border-top:1px solid var(--line);background:var(--surface);font-size:12px}.supply-item strong,.supply-item small{display:block}.supply-item small{margin-top:3px;color:var(--muted);font-size:10px}.supply-item>span{text-align:right}@media(max-width:700px){.supplies-foundation-badge{width:100%;justify-content:center}.supply-items-head,.supply-item{grid-template-columns:minmax(200px,1fr) 70px 70px 90px}}
.analytics-page-head{align-items:center}.analytics-freshness{display:grid;gap:3px;padding:10px 13px;border:1px solid var(--line);border-radius:10px;background:var(--surface);text-align:right}.analytics-freshness span,.analytics-period-copy span,.analytics-period-copy small,.analytics-stage-grid span,.analytics-stage-grid small{color:var(--muted);font-size:11px}.analytics-freshness strong{font-size:13px}.analytics-period-card{display:grid;grid-template-columns:minmax(230px,1fr) auto minmax(280px,1fr);align-items:center;gap:20px;margin:16px 0;padding:20px;border:1px solid #d8e0f6;border-radius:14px;background:linear-gradient(135deg,#f7f9ff,#fff);box-shadow:var(--shadow)}.analytics-period-copy{display:grid;gap:5px}.analytics-period-copy strong{font-size:20px}.analytics-period-previous{text-align:right}.analytics-period-arrow{display:grid;width:36px;height:36px;place-items:center;border-radius:50%;background:var(--brand-soft);color:var(--brand);font-size:19px}.analytics-readiness{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin:16px 0;padding:22px;border:1px solid var(--line);border-radius:14px;background:var(--surface);box-shadow:var(--shadow)}.analytics-readiness h2{margin:7px 0 5px;font-size:21px}.analytics-readiness p{max-width:760px;margin:0;color:var(--muted);font-size:12px;line-height:1.5}.analytics-eyebrow{color:var(--muted);font-size:11px;font-weight:800;letter-spacing:.05em;text-transform:uppercase}.analytics-status{padding:7px 10px;border-radius:999px;background:var(--soft);font-size:11px;font-weight:800;white-space:nowrap}.analytics-readiness-ready{border-color:#bcebd5;background:#f6fcf9}.analytics-readiness-ready .analytics-status{background:#e5f7ef;color:var(--good)}.analytics-readiness-warning{border-color:#f2d899;background:#fffaf0}.analytics-readiness-warning .analytics-status{background:#fff0c9;color:#966500}.analytics-readiness-error{border-color:#ffd0d7;background:#fff7f8}.analytics-readiness-error .analytics-status{background:#fff0f2;color:var(--bad)}.analytics-stage-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.analytics-stage-grid article{display:grid;gap:7px;min-height:112px;padding:17px;border:1px dashed #cfd6e5;border-radius:13px;background:rgba(255,255,255,.65)}.analytics-stage-grid strong{font-size:15px}.analytics-stage-grid small{line-height:1.4}@media(max-width:760px){.analytics-page-head{align-items:flex-start}.analytics-freshness{text-align:left}.analytics-period-card{grid-template-columns:1fr;gap:12px}.analytics-period-previous{text-align:left}.analytics-period-arrow{transform:rotate(90deg)}.analytics-readiness{flex-direction:column}.analytics-stage-grid{grid-template-columns:1fr}}
.supplies-page-head{align-items:center}.supplies-scope-badge{padding:8px 11px;border-radius:999px;background:#edf3ff;color:#3564cb;font-size:11px;font-weight:800;white-space:nowrap}.supplies-notice{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:16px;padding:14px 17px;border:1px solid #d8e0f6;border-radius:12px;background:#f7f9ff}.supplies-notice strong,.supplies-notice span{display:block}.supplies-notice span{color:var(--muted);font-size:12px}.supplies-notice-warning{border-color:#f0d89c;background:#fffcf5}.supplies-filters label:first-of-type{min-width:240px}.supplies-overview-grid{display:grid;grid-template-columns:repeat(4,minmax(160px,1fr));gap:12px;margin:14px 0}.supplies-overview-grid article{padding:16px 18px;border:1px solid var(--line);border-radius:13px;background:var(--surface);box-shadow:var(--shadow)}.supplies-overview-grid span,.supplies-overview-grid small{display:block;color:var(--muted)}.supplies-overview-grid span{font-size:11px;font-weight:650}.supplies-overview-grid strong{display:block;margin:7px 0 4px;font-size:22px}.supplies-overview-grid small{font-size:10px}.supplies-overview-grid .supplies-metric-warning{border-color:#efd89a;background:#fffaf0}.supplies-metric-warning strong,.supply-discrepancy.has-discrepancy{color:#966500}.supplies-table-panel{margin-top:14px}.supplies-table{min-width:1120px}.supply-status{display:inline-flex;padding:5px 9px;border-radius:999px;background:var(--soft);color:var(--muted);font-size:11px;font-weight:700;white-space:nowrap}.supply-status-info{background:#edf3ff;color:#3564cb}.supply-status-warning{background:#fff3d9;color:#966500}.supply-status-success{background:#e5f7ef;color:var(--good)}.supply-status-danger{background:#fff0f2;color:var(--bad)}.supply-discrepancy{font-weight:700}@media(max-width:900px){.supplies-overview-grid{grid-template-columns:repeat(2,1fr)}.supplies-notice{align-items:flex-start;flex-direction:column}}@media(max-width:560px){.supplies-overview-grid{grid-template-columns:1fr}.supplies-filters label,.supplies-filters label:first-of-type{width:100%;min-width:100%}.supplies-scope-badge{align-self:flex-start}}
.supplies-page-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}.supplies-page-actions form{margin:0}.supplies-notice-error{border-color:#f2c5cc;background:#fff7f8}.supplies-notice-error strong{color:var(--bad)}@media(max-width:560px){.supplies-page-actions{justify-content:flex-start}}
.supplies-overview-grid-five{grid-template-columns:repeat(5,minmax(145px,1fr))}.supplies-pagination{display:flex;align-items:center;justify-content:center;gap:12px;padding:14px 18px;border-top:1px solid var(--line);color:var(--muted);font-size:12px}.supply-archive-panel{margin-top:14px}.supply-archive-panel table{min-width:850px}.supply-archive-review{margin:5px 0;padding:8px;border:1px solid var(--line);border-radius:8px;background:var(--soft)}.supply-archive-review p{margin:4px 0;font-size:11px}.supply-archive-review small{color:var(--muted);font-size:10px}@media(max-width:1050px){.supplies-overview-grid-five{grid-template-columns:repeat(3,1fr)}}@media(max-width:650px){.supplies-overview-grid-five{grid-template-columns:1fr}}
.supply-back-link{display:inline-block;margin-bottom:8px;color:var(--brand);font-size:12px;font-weight:700;text-decoration:none}.supply-date-stack{display:grid;gap:4px;min-width:190px;padding:13px 15px;border:1px solid var(--line);border-radius:11px;background:var(--surface);text-align:right}.supply-date-stack span,.supply-date-stack small{color:var(--muted);font-size:10px}.supply-date-stack strong{font-size:17px}.supply-detail-overview{grid-template-columns:repeat(5,minmax(150px,1fr))}.supply-item-filters label:first-of-type{min-width:260px}.supply-items-panel{margin-top:14px}.supply-items-table{min-width:1220px}.supply-items-table tbody tr{vertical-align:top}.supply-item-shortage td:first-child{box-shadow:inset 3px 0 0 #d7515e}.supply-item-surplus td:first-child{box-shadow:inset 3px 0 0 #d69b19}.supply-product-cell{min-width:220px}.supply-product-cell strong,.supply-product-cell span,.supply-product-cell small{display:block}.supply-product-cell span{max-width:280px;margin-top:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.supply-product-cell small,.manual-value-note{margin-top:4px;color:var(--muted);font-size:10px}.supply-review-cell{min-width:310px}.supply-review-cell>small{display:block;margin-top:5px;color:var(--muted);font-size:10px}.supply-review-status{display:inline-flex;padding:5px 8px;border-radius:999px;background:var(--soft);color:var(--muted);font-size:10px;font-weight:800}.supply-review-confirmed,.supply-review-resolved{background:#e5f7ef;color:var(--good)}.supply-review-needs_check{background:#fff3d9;color:#966500}.supply-review-history,.supply-review-form{margin-top:8px}.supply-review-history summary,.supply-review-form summary{color:var(--brand);cursor:pointer;font-size:11px;font-weight:700}.supply-review-history>div{display:grid;gap:6px;max-height:220px;margin-top:7px;overflow:auto}.supply-review-history article{padding:9px;border:1px solid var(--line);border-radius:8px;background:var(--soft)}.supply-review-history p{margin:4px 0;font-size:11px;line-height:1.4}.supply-review-history small{color:var(--muted);font-size:9px}.supply-review-form form{display:grid;gap:8px;margin-top:8px;padding:10px;border:1px solid var(--line);border-radius:9px;background:var(--soft)}.supply-review-form label{display:grid;gap:4px;color:var(--muted);font-size:10px}.supply-review-form input,.supply-review-form select,.supply-review-form textarea{width:100%;padding:7px 8px;border:1px solid var(--line);border-radius:7px;background:#fff;color:var(--text);font:inherit}.supply-review-form textarea{min-height:58px;resize:vertical}.supply-review-form button{justify-self:start}@media(max-width:1050px){.supply-detail-overview{grid-template-columns:repeat(3,1fr)}}@media(max-width:650px){.supply-detail-overview{grid-template-columns:1fr}.supply-detail-head{align-items:flex-start}.supply-date-stack{width:100%;text-align:left}.supply-item-filters label,.supply-item-filters label:first-of-type{width:100%;min-width:100%}}
/* Unified sidebar navigation */
.sidebar{display:flex;flex-direction:column;padding:16px 12px 12px;background:linear-gradient(180deg,#fff 0%,#fbfcff 100%);box-shadow:8px 0 30px rgba(31,48,82,.025);scrollbar-color:#aeb7c6 transparent;scrollbar-width:thin}
.sidebar::-webkit-scrollbar{width:8px}
.sidebar::-webkit-scrollbar-track{background:transparent}
.sidebar::-webkit-scrollbar-thumb{border:2px solid transparent;border-radius:999px;background:#aeb7c6;background-clip:padding-box}
.sidebar::-webkit-scrollbar-thumb:hover{background:#8793a6;background-clip:padding-box}
.sidebar-company{margin:0 2px 10px;padding:10px;border:1px solid #e6eaf2;border-radius:13px;background:#f8faff}
.sidebar-company label{margin:0 0 7px 2px;color:#788397;font-size:10px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
.sidebar-company-select{position:relative;display:flex;align-items:center;gap:9px}
.sidebar-company-select:after{content:"";position:absolute;right:8px;top:50%;width:7px;height:7px;border-right:1.5px solid #778399;border-bottom:1.5px solid #778399;pointer-events:none;transform:translateY(-70%) rotate(45deg)}
.sidebar-company-mark{display:grid;width:30px;height:30px;flex:0 0 30px;place-items:center;border-radius:9px;background:#172a57;color:#fff;font-size:12px;font-weight:800;box-shadow:0 5px 12px rgba(23,42,87,.16)}
.sidebar .sidebar-company select{width:100%;min-width:0;height:36px;margin:0;padding:0 26px 0 0;border:0;outline:0;background:transparent;color:#1d2940;font-size:14px;font-weight:700;appearance:none;cursor:pointer}
.sidebar .sidebar-company select:focus-visible{border-radius:7px;box-shadow:0 0 0 3px rgba(49,94,231,.13)}
.menu-order-toggle{display:flex;width:auto;min-height:38px;align-items:center;gap:9px;margin:0 3px 9px;padding:8px 10px;border:0;border-radius:9px;background:transparent;color:#6d788c;font-size:12px;font-weight:650;text-align:left;transition:background .16s,color .16s}
.menu-order-toggle:hover{background:#f1f4fa;color:#34425a}
.menu-order-toggle:focus-visible,.logout-form button:focus-visible{outline:0;box-shadow:0 0 0 3px rgba(49,94,231,.13)}
.menu-order-icon{position:relative;width:17px;height:17px;flex:0 0 17px;background:linear-gradient(#8290a7,#8290a7) 3px 4px/11px 1.5px no-repeat,linear-gradient(#8290a7,#8290a7) 3px 11px/11px 1.5px no-repeat}
.menu-order-icon:before,.menu-order-icon:after{content:"";position:absolute;width:4px;height:4px;border:1.5px solid #8290a7;border-radius:50%;background:#fff}
.menu-order-icon:before{top:2px;left:5px}.menu-order-icon:after{right:4px;bottom:2px}
.menu-order-editing .menu-order-toggle{background:#edf2ff;color:var(--brand)}
.sidebar nav{display:block;flex:0 0 auto}
.nav-section{margin:0;padding:3px 0 5px;border-top:1px solid #edf0f5}
.nav-section:first-child{border-top:0}
.market-heading,.sidebar .new-product-heading{display:flex;width:100%;min-height:42px;align-items:center;justify-content:space-between;margin:0;padding:7px 8px;border:0;border-radius:9px;background:transparent;color:#34425a;font-size:13px;font-weight:750;letter-spacing:0;text-transform:none;transition:background .16s,color .16s}
.market-heading:hover{background:#f2f5fa;color:#172033}
.nav-heading-title{display:flex;min-width:0;align-items:center;gap:10px}
.nav-heading-title>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.nav-market-mark{display:grid;width:25px;height:25px;flex:0 0 25px;place-items:center;border-radius:8px;background:#eef1f6;color:#5a667b;font-size:10px;font-weight:850;letter-spacing:0}
.wb-mark{background:#faebf5;color:#b4237c}.ozon-mark{background:#e9f1ff;color:#075dde}.product-mark{background:#f1edff;color:#6c55b6;font-size:15px}.management-mark{background:#edf1f5;color:#536176}
.market-heading i{width:7px;height:7px;margin:0 4px 3px 8px;border-right:1.5px solid #8792a5;border-bottom:1.5px solid #8792a5;transform:rotate(45deg);transition:transform .18s ease}
.nav-section.is-collapsed .market-heading i{transform:rotate(-45deg)}
.nav-section.is-collapsed .nav-section-body{display:none}
.nav-primary-block,.nav-subgroup{margin:0;padding:0;border:0;border-radius:0;background:transparent}
.nav-subgroup{margin-top:4px}
.nav-subgroup-title{padding:8px 12px 4px 43px;color:#98a1b1;font-size:9px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.nav-sort-group,.nav-subgroup .nav-sort-group{display:grid;gap:2px}
.sidebar nav a,.nav-primary-block .nav-sort-group a,.nav-subgroup .nav-sort-group a{position:relative;min-height:40px;gap:10px;margin:0;padding:9px 10px 9px 12px;border:0;border-radius:9px;color:#5e6a7f;font-weight:560;line-height:1.25;transition:background .14s,color .14s,transform .14s}
.sidebar nav a:hover{background:#f2f5fa;color:#26344d;transform:translateX(1px)}
.sidebar nav a>span{overflow:hidden;font-size:13px;text-overflow:ellipsis;white-space:nowrap}
.sidebar nav a.active,.nav-primary-block .nav-sort-group a.active,.nav-subgroup .nav-sort-group a.active{background:#edf2ff;color:#244fc9;font-weight:750;box-shadow:none}
.sidebar nav a.active:after{content:"";position:absolute;top:8px;bottom:8px;left:0;width:3px;border-radius:0 3px 3px 0;background:var(--brand)}
.menu-drag-handle{order:3;margin-left:auto}
.menu-order-editing .nav-sort-group a{border:1px dashed #cbd4e5;padding:8px 9px 8px 11px}
.menu-order-editing .nav-sort-group a:hover{transform:none}
.logout-form{margin:auto 2px 0;padding:12px 0 0;border-top:1px solid #edf0f5}
.logout-form button{display:flex;width:100%;min-height:40px;align-items:center;gap:10px;padding:9px 10px;border:0;border-radius:9px;background:transparent;color:#6c778b;cursor:pointer;font-size:12px;font-weight:650;text-align:left;transition:background .16s,color .16s}
.logout-form button:hover{background:#fff0f2;color:#b33e4b}
.logout-icon{position:relative;width:18px;height:18px;flex:0 0 18px;border:1.5px solid currentColor;border-right:0;border-radius:4px 0 0 4px}
.logout-icon:before{content:"";position:absolute;top:7px;left:7px;width:9px;height:1.5px;background:currentColor}
.logout-icon:after{content:"";position:absolute;top:4px;right:-1px;width:5px;height:5px;border-top:1.5px solid currentColor;border-right:1.5px solid currentColor;transform:rotate(45deg)}
@media(min-width:951px){.app-shell{grid-template-columns:252px minmax(0,1fr)}.sidebar{width:252px;padding-right:18px;scrollbar-gutter:stable}.content{margin-left:252px}}
@media(min-width:601px) and (max-width:950px){.sidebar{width:82px;padding:12px 9px}.content{margin-left:82px}.sidebar-company{padding:6px;background:transparent}.sidebar-company label,.sidebar-company select,.sidebar-company-select:after{display:none}.sidebar-company-select{justify-content:center}.sidebar-company-mark{width:34px;height:34px;flex-basis:34px}.menu-order-toggle{justify-content:center;margin:0 2px 7px;padding:8px}.menu-order-label{display:none}.market-heading,.sidebar .new-product-heading{display:flex;width:100%;justify-content:center;padding:7px 4px}.nav-heading-title{gap:0}.nav-heading-title>span,.market-heading i{display:none}.sidebar .market-heading:after{content:none}.nav-market-mark{width:30px;height:30px;flex-basis:30px}.nav-primary-block,.nav-subgroup{margin:0;padding:0}.nav-subgroup-title{display:none}.sidebar nav a,.nav-primary-block .nav-sort-group a,.nav-subgroup .nav-sort-group a{justify-content:center;margin:0;padding:9px 6px}.sidebar nav a>span{display:none}.sidebar nav a.active:after{top:7px;bottom:7px}.logout-form{display:block;margin-top:auto}.logout-form button{justify-content:center;padding:9px}.logout-form button>span:last-child{display:none}}
@media(max-width:600px){.sidebar{display:block;padding:8px 10px;background:#fff;box-shadow:none}.sidebar-company,.menu-order-toggle,.logout-form,.sidebar .market-heading{display:none}.sidebar nav{display:flex;gap:3px;overflow-x:auto;scrollbar-width:none}.sidebar nav::-webkit-scrollbar{display:none}.sidebar .nav-section,.sidebar .nav-section-body,.sidebar .nav-sort-group{display:flex!important}.sidebar .nav-section{padding:0;border:0}.sidebar .nav-subgroup{display:contents}.sidebar nav a,.nav-primary-block .nav-sort-group a,.nav-subgroup .nav-sort-group a{min-width:44px;min-height:42px;justify-content:center;padding:9px}.sidebar nav a>span,.nav-subgroup-title{display:none}.sidebar nav a:hover{transform:none}.sidebar nav a.active:after{top:auto;right:8px;bottom:0;left:8px;width:auto;height:3px;border-radius:3px 3px 0 0}}

/* WB stock matrix */
.stock-page-head{align-items:center}.stock-freshness{display:grid;gap:3px;padding:10px 13px;border:1px solid var(--line);border-radius:10px;background:var(--surface);text-align:right}.stock-freshness span,.stock-freshness small{color:var(--muted);font-size:10px}.stock-freshness strong{font-size:13px}.stock-data-quality{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:12px 0;padding:13px 15px;border:1px solid var(--line);border-radius:12px;background:var(--surface)}.stock-data-quality>div{display:flex;align-items:flex-start;gap:10px}.stock-data-quality strong{display:block;font-size:13px}.stock-data-quality p{margin:3px 0 0;color:var(--muted);font-size:11px;line-height:1.4}.stock-status-mark{width:9px;height:9px;margin-top:4px;border-radius:50%;background:var(--muted)}.stock-quality-label{padding:6px 9px;border-radius:999px;background:var(--soft);color:var(--muted);font-size:10px;font-weight:800;white-space:nowrap}.stock-quality-complete{border-color:#bcebd5;background:#f7fcf9}.stock-quality-complete .stock-status-mark{background:var(--good)}.stock-quality-complete .stock-quality-label{background:#e5f7ef;color:var(--good)}.stock-quality-partial,.stock-quality-stale{border-color:#efd89a;background:#fffaf0}.stock-quality-partial .stock-status-mark,.stock-quality-stale .stock-status-mark{background:#c78b16}.stock-quality-partial .stock-quality-label,.stock-quality-stale .stock-quality-label{background:#fff0c9;color:#966500}.stock-quick-modes{display:flex;gap:7px;margin-top:8px}.stock-quick-modes a{padding:6px 10px;border:1px solid var(--line);border-radius:999px;background:var(--surface);color:var(--muted);font-size:11px;font-weight:700}.stock-quick-modes a.active{border-color:var(--brand);background:var(--brand-soft);color:var(--brand)}.stock-quick-modes b{margin-left:4px}.stock-summary-strip small{display:block;margin-top:3px;color:var(--muted);font-size:10px}.stock-panel>.panel-head{display:flex;align-items:center;justify-content:space-between}.wb-content .stock-table-scroll.twelve-row-scroll{max-height:572px;overflow:auto;scrollbar-gutter:stable both-edges}.wb-content .stock-table-scroll.twelve-row-scroll thead th{position:sticky;top:0;z-index:5;background:#f7f9fc;box-shadow:0 1px 0 var(--line)}.wb-content .stock-table-scroll.twelve-row-scroll tfoot td{position:sticky;bottom:0;z-index:4}.wb-content .stock-table-scroll.twelve-row-scroll tbody tr{height:40px}.stock-table th:first-child,.stock-table td:first-child{position:sticky;left:0;z-index:2;background:var(--surface);box-shadow:1px 0 0 var(--line)}.stock-table thead th:first-child{z-index:7!important;background:#f7f9fc}.stock-table tfoot td:first-child{z-index:6;background:var(--soft)}.stock-table tbody tr:hover td:first-child{background:#f8faff}.stock-table th small{display:block;margin-top:2px;color:var(--muted);font-size:9px;font-weight:600}.stock-stale-label{color:#966500!important}.stock-stale{background-image:linear-gradient(135deg,rgba(199,139,22,.08),rgba(199,139,22,0))}.stock-unknown{color:#966500;font-weight:800}.stock-days{display:inline-flex;min-width:38px;justify-content:center;padding:4px 7px;border-radius:7px;background:var(--soft);color:var(--muted);font-size:11px;font-weight:800}.stock-days-danger{background:#fff0f2;color:var(--bad)}.stock-days-warning{background:#fff0c9;color:#966500}.stock-days-ready{background:#e5f7ef;color:var(--good)}@media(max-width:700px){.stock-page-head{align-items:flex-start}.stock-freshness{text-align:left}.stock-data-quality{align-items:flex-start;flex-direction:column}.stock-page-filters label{width:100%}.stock-page-filters select{width:100%}}

/* Unit economics: compact guide, metric explanations and personal table layout. */
.unit-page-guide{margin-top:14px;border:1px solid #d7dff5;border-radius:13px;background:linear-gradient(135deg,#fff,#f7f9ff);box-shadow:var(--shadow)}.unit-page-guide>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 18px;cursor:pointer;list-style:none}.unit-page-guide>summary::-webkit-details-marker{display:none}.unit-page-guide>summary span,.unit-page-guide>summary small{display:block}.unit-page-guide>summary strong{font-size:14px}.unit-page-guide>summary small{margin-top:3px;color:var(--muted);font-size:11px;font-weight:500}.unit-page-guide>summary i{color:var(--brand);font-size:20px;font-style:normal;transition:transform .18s}.unit-page-guide[open]>summary i{transform:rotate(180deg)}.unit-page-guide-content{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:0 18px 18px}.unit-page-guide-content article{padding:13px 14px;border:1px solid var(--line);border-radius:10px;background:var(--surface)}.unit-page-guide-content article strong{font-size:12px}.unit-page-guide-content article p{margin:5px 0 0;color:var(--muted);font-size:11px;line-height:1.5}
.unit-table-actions{flex-wrap:wrap;justify-content:flex-end}.unit-column-picker{position:relative}.unit-column-picker>summary{list-style:none;user-select:none}.unit-column-picker>summary::-webkit-details-marker{display:none}.unit-column-picker[open]>summary{border-color:var(--brand);background:var(--brand-soft);color:var(--brand)}.unit-column-picker-popover{position:absolute;top:calc(100% + 8px);right:0;z-index:20;width:310px;max-height:440px;overflow:auto;padding:15px;border:1px solid var(--line);border-radius:13px;background:var(--surface);box-shadow:0 18px 48px rgba(31,48,82,.18);text-align:left}.unit-column-picker-head strong,.unit-column-picker-head small{display:block}.unit-column-picker-head strong{font-size:14px}.unit-column-picker-head small,.unit-column-picker-popover>p{margin-top:4px;color:var(--muted);font-size:10px;line-height:1.4}.unit-column-options{display:grid;gap:2px;margin-top:11px}.unit-column-options label{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;min-height:34px;padding:6px 8px;border-radius:8px;color:var(--text);font-size:11px;cursor:pointer}.unit-column-options label:hover{background:var(--soft)}.unit-column-options label.is-expense-column{color:#53617a}.unit-column-options input{width:17px;height:17px;margin:0;accent-color:var(--brand)}.unit-column-options label>small{color:var(--muted);font-size:9px}.unit-column-picker-popover>p{margin-bottom:0;padding-top:10px;border-top:1px solid var(--line)}
.unit-table .column-user-hidden{display:none!important}.unit-table th{position:relative}.unit-model-filter{display:block;width:100%;min-height:30px;margin-top:6px;padding:5px 8px;border:1px solid var(--line);border-radius:7px;background:#fff;color:var(--text);font-size:10px;font-weight:500;outline:none}.unit-model-filter:focus{border-color:var(--brand);box-shadow:0 0 0 2px rgba(49,94,231,.12)}.unit-help-button{position:relative;display:inline-grid;width:17px;height:17px;margin-left:5px;padding:0;place-items:center;border:1px solid #cad3e6;border-radius:50%;background:#fff;color:#71809b;font-size:10px;font-weight:800;line-height:1;cursor:pointer;vertical-align:middle}.unit-help-button:hover,.unit-help-button:focus-visible,.unit-help-button.is-open{border-color:var(--brand);color:var(--brand);outline:none}.unit-help-popover{position:absolute;top:24px;left:-10px;z-index:30;display:none!important;width:280px;padding:12px;border:1px solid #d6def0;border-radius:10px;background:#fff;box-shadow:0 14px 38px rgba(31,48,82,.2);color:var(--text);text-align:left;white-space:normal}.unit-help-button.is-open .unit-help-popover{display:block!important}.unit-help-popover strong,.unit-help-popover span,.unit-help-popover small{display:block!important}.unit-help-popover strong{font-size:12px!important}.unit-help-popover span{margin-top:5px;color:var(--muted)!important;font-size:10px!important;font-weight:500!important;line-height:1.45}.unit-help-popover small{margin-top:8px!important;padding-top:7px;border-top:1px solid var(--line);color:#53617a!important;font-size:10px!important;line-height:1.45}.unit-help-popover b{color:var(--text)}
.unit-table .product-cell{max-width:190px}.unit-table .product-cell small{display:block;max-width:180px;margin-top:2px;overflow:hidden;color:var(--muted);font-size:9px;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.unit-table td:first-child,.unit-table th:first-child{width:210px;min-width:210px;max-width:210px}.unit-list-panel .unit-table thead th{height:88px;vertical-align:top}.unit-table-scroll.ten-row-scroll{max-height:588px}.unit-table tbody tr{height:50px}
.unit-table-scroll{position:relative;isolation:isolate}.unit-list-panel .unit-table thead th{min-width:132px;overflow:hidden;white-space:normal;line-height:1.2}.unit-list-panel .unit-table thead th:first-child{z-index:8;width:230px;min-width:230px;max-width:230px;background:#f7f9fc;box-shadow:2px 0 0 var(--line)}.unit-table td:first-child{width:230px;min-width:230px;max-width:230px;box-shadow:2px 0 0 var(--line)}.unit-list-panel .unit-table thead th[data-column-key="net-units"],.unit-list-panel .unit-table thead th[data-column-key="ozon-expenses"],.unit-list-panel .unit-table thead th[data-column-key="expense-share"],.unit-list-panel .unit-table thead th[data-column-key="reverse-logistics"],.unit-list-panel .unit-table thead th[data-column-key="product-cost"],.unit-list-panel .unit-table thead th[data-column-key="profit-per-unit"],.unit-list-panel .unit-table thead th[data-column-key="profit-per-chair"],.unit-list-panel .unit-table thead th[data-column-key="advertising-per-order"],.unit-list-panel .unit-table thead th[data-column-key="cost-profitability"]{min-width:155px}.unit-list-panel .unit-table thead th>span:first-child{min-height:29px;line-height:1.25}.unit-list-panel .unit-table thead th .unit-header-actions{display:flex;align-items:center;justify-content:center;gap:7px;min-height:22px;margin-top:6px}.unit-header-actions .unit-sort-button,.unit-header-actions .unit-help-button{margin:0}.unit-model-filter{margin-top:5px}.unit-list-panel .unit-table thead th:first-child .unit-header-actions{justify-content:flex-start}
.unit-metric-explainer{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:13px 18px;border-top:1px solid #d9e1f4;border-bottom:1px solid #d9e1f4;background:#f6f8ff}.unit-metric-explainer[hidden]{display:none!important}.unit-metric-explainer strong,.unit-metric-explainer span,.unit-metric-explainer small{display:block}.unit-metric-explainer strong{font-size:13px}.unit-metric-explainer span{margin-top:4px;color:var(--muted);font-size:11px;line-height:1.45}.unit-metric-explainer small{margin-top:7px;color:#53617a;font-size:11px;font-weight:700;line-height:1.45}.unit-metric-explainer button{display:grid;width:28px;height:28px;flex:0 0 28px;padding:0;place-items:center;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--muted);cursor:pointer}.unit-metric-explainer button:hover,.unit-metric-explainer button:focus-visible{border-color:var(--brand);color:var(--brand);outline:none}.unit-help-button.is-open{background:var(--brand-soft)}
.unit-table.expenses-open th.expense-detail{background:#eef3ff!important;box-shadow:inset 0 -2px 0 #cbd8fb}.unit-table.expenses-open td.expense-detail{background:#f7f9ff}.unit-list-panel .unit-table.expenses-open tbody tr:nth-child(even) td.expense-detail{background:#f1f5ff}.unit-table.expenses-open tbody tr:hover td.expense-detail{background:#eaf1ff}.unit-table-actions #expense-toggle.is-active{border-color:#b9c9f5;background:var(--brand-soft);color:var(--brand)}
.unit-table .product-cell{display:flex;align-items:center;gap:9px}.unit-table .product-cell>span{display:block;min-width:0}.unit-row-drag-handle{display:grid;width:22px;height:30px;flex:0 0 22px;padding:0;place-items:center;border:0;border-radius:6px;background:transparent;color:#9aa6bb;font-size:14px;line-height:1;cursor:grab}.unit-row-drag-handle:hover,.unit-row-drag-handle:focus-visible{background:#edf2ff;color:var(--brand);outline:none}.unit-row-drag-handle:active{cursor:grabbing}.unit-table tr.unit-row-dragging td{opacity:.72;background:#eef3ff!important}
@media(max-width:800px){.unit-page-guide-content{grid-template-columns:1fr}.unit-list-panel>.panel-head{align-items:flex-start;flex-direction:column}.unit-table-actions{width:100%;justify-content:flex-start}.unit-column-picker-popover{right:auto;left:0;width:min(310px,calc(100vw - 56px))}}

/* Unit economics refinements: stable headers and non-overlapping metric help. */
.unit-table-scroll{position:relative;isolation:isolate}.unit-list-panel .unit-table thead th{min-width:132px;overflow:hidden;white-space:normal;line-height:1.2}.unit-list-panel .unit-table thead th:first-child{z-index:8;width:230px;min-width:230px;max-width:230px;background:#f7f9fc;box-shadow:2px 0 0 var(--line)}.unit-table td:first-child{width:230px;min-width:230px;max-width:230px;box-shadow:2px 0 0 var(--line)}.unit-list-panel .unit-table thead th[data-column-key="net-units"],.unit-list-panel .unit-table thead th[data-column-key="wb-expenses"],.unit-list-panel .unit-table thead th[data-column-key="expense-share"],.unit-list-panel .unit-table thead th[data-column-key="reverse-logistics"],.unit-list-panel .unit-table thead th[data-column-key="product-cost"],.unit-list-panel .unit-table thead th[data-column-key="profit-per-unit"],.unit-list-panel .unit-table thead th[data-column-key="profit-per-chair"],.unit-list-panel .unit-table thead th[data-column-key="advertising-per-order"]{min-width:155px}.unit-list-panel .unit-table thead th>span:first-child{min-height:29px;line-height:1.25}.unit-list-panel .unit-table thead th .unit-header-actions{display:flex;align-items:center;justify-content:center;gap:7px;min-height:22px;margin-top:6px}.unit-header-actions .unit-sort-button,.unit-header-actions .unit-help-button{margin:0}.unit-model-filter{margin-top:5px}.unit-list-panel .unit-table thead th:first-child .unit-header-actions{justify-content:flex-start}
.unit-metric-explainer{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:13px 18px;border-top:1px solid #d9e1f4;border-bottom:1px solid #d9e1f4;background:#f6f8ff}.unit-metric-explainer[hidden]{display:none!important}.unit-metric-explainer strong,.unit-metric-explainer span,.unit-metric-explainer small{display:block}.unit-metric-explainer strong{font-size:13px}.unit-metric-explainer span{margin-top:4px;color:var(--muted);font-size:11px;line-height:1.45}.unit-metric-explainer small{margin-top:7px;color:#53617a;font-size:11px;font-weight:700;line-height:1.45}.unit-metric-explainer button{display:grid;width:28px;height:28px;flex:0 0 28px;padding:0;place-items:center;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--muted);cursor:pointer}.unit-metric-explainer button:hover,.unit-metric-explainer button:focus-visible{border-color:var(--brand);color:var(--brand);outline:none}.unit-help-button.is-open{background:var(--brand-soft)}
.unit-table.expenses-open th.expense-detail{background:#eef3ff!important;box-shadow:inset 0 -2px 0 #cbd8fb}.unit-table.expenses-open td.expense-detail{background:#f7f9ff}.unit-list-panel .unit-table.expenses-open tbody tr:nth-child(even) td.expense-detail{background:#f1f5ff}.unit-table.expenses-open tbody tr:hover td.expense-detail{background:#eaf1ff}.unit-table-actions #expense-toggle.is-active{border-color:#b9c9f5;background:var(--brand-soft);color:var(--brand)}
@media(max-width:700px){.unit-metric-explainer{padding:12px 14px}.unit-list-panel .unit-table thead th:first-child,.unit-table td:first-child{width:210px;min-width:210px;max-width:210px}}
.unit-table .product-cell{display:flex;align-items:center;gap:9px}.unit-table .product-cell>span{display:block;min-width:0}.unit-row-drag-handle{display:grid;width:22px;height:30px;flex:0 0 22px;padding:0;place-items:center;border:0;border-radius:6px;background:transparent;color:#9aa6bb;font-size:14px;line-height:1;cursor:grab}.unit-row-drag-handle:hover,.unit-row-drag-handle:focus-visible{background:#edf2ff;color:var(--brand);outline:none}.unit-row-drag-handle:active{cursor:grabbing}.unit-table tr.unit-row-dragging td{opacity:.72;background:#eef3ff!important}.unit-list-panel .unit-table thead th[data-column-key="cost-return"]{min-width:190px}

/* Owner commercial policy: explicit limits, immutable acceptance and fail-closed readiness. */
.policy-page-head{align-items:center}.policy-platform-badge{padding:8px 12px;border-radius:999px;background:var(--brand-soft);color:var(--brand);font-size:11px;font-weight:800}.policy-status{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:15px 0;padding:20px;border:1px solid var(--line);border-radius:14px;background:var(--surface);box-shadow:var(--shadow)}.policy-status h2{margin:5px 0;font-size:21px}.policy-status p{margin:0;color:var(--muted);font-size:12px}.policy-status>strong{padding:7px 10px;border-radius:999px;font-size:11px;white-space:nowrap}.policy-status-active{border-color:#bcebd5;background:#f7fcf9}.policy-status-active>strong{background:#e5f7ef;color:var(--good)}.policy-status-missing{border-color:#efd89a;background:#fffaf0}.policy-status-missing>strong{background:#fff0c9;color:#966500}.policy-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:15px 0}.policy-metrics article{padding:16px 18px;border:1px solid var(--line);border-radius:13px;background:var(--surface);box-shadow:var(--shadow)}.policy-metrics span,.policy-metrics small{display:block;color:var(--muted)}.policy-metrics span{font-size:11px;font-weight:700}.policy-metrics strong{display:block;margin:7px 0 4px;font-size:20px}.policy-metrics small{font-size:10px}.policy-readiness{margin-bottom:15px}.policy-readiness-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:0 18px 18px}.policy-readiness-list article{display:flex;align-items:flex-start;gap:10px;padding:13px;border:1px solid var(--line);border-radius:11px;background:var(--soft)}.policy-readiness-list strong,.policy-readiness-list small{display:block}.policy-readiness-list strong{font-size:12px}.policy-readiness-list small{margin-top:4px;color:var(--muted);font-size:10px;line-height:1.35}.policy-state{display:inline-flex;flex:0 0 auto;padding:5px 8px;border-radius:999px;background:var(--soft);color:var(--muted);font-size:9px;font-weight:800;white-space:nowrap}.policy-state-ready{background:#e5f7ef;color:var(--good)}.policy-state-missing{background:#fff0c9;color:#966500}.policy-state-error{background:#fff0f2;color:var(--bad)}.policy-workspace{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr);gap:15px}.policy-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:0 18px 18px}.policy-form label{display:grid;gap:6px;color:var(--text);font-size:12px;font-weight:700}.policy-form input[type="number"]{width:100%;padding:10px 11px;border:1px solid var(--line);border-radius:9px;background:#fff;font:inherit}.policy-form label small{color:var(--muted);font-size:10px;font-weight:400;line-height:1.4}.policy-form .policy-checkbox{display:flex;grid-column:1/-1;align-items:flex-start;gap:9px;padding:12px;border:1px solid var(--line);border-radius:10px;background:var(--soft);font-weight:500;line-height:1.4}.policy-checkbox input{margin-top:2px}.policy-form button{grid-column:1/-1;justify-self:start}.policy-method-card ol{display:grid;gap:12px;margin:0;padding:0 18px 18px;list-style:none;counter-reset:policy-method}.policy-method-card li{display:grid;grid-template-columns:24px 1fr;gap:4px 9px;counter-increment:policy-method}.policy-method-card li:before{display:grid;width:24px;height:24px;grid-row:1/3;place-items:center;border-radius:50%;background:var(--brand-soft);color:var(--brand);content:counter(policy-method);font-size:10px;font-weight:800}.policy-method-card li strong{font-size:12px}.policy-method-card li span{color:var(--muted);font-size:10px;line-height:1.45}.policy-history{margin-top:15px}.policy-history table{min-width:720px}@media(max-width:1000px){.policy-metrics{grid-template-columns:repeat(2,1fr)}.policy-readiness-list{grid-template-columns:1fr}.policy-workspace{grid-template-columns:1fr}}@media(max-width:620px){.policy-status{align-items:flex-start;flex-direction:column}.policy-metrics,.policy-form{grid-template-columns:1fr}.policy-form .policy-checkbox,.policy-form button{grid-column:1}.policy-platform-badge{align-self:flex-start}}

/* Unit economics: one visual rhythm for the panel toolbar and every column heading. */
.unit-list-panel>.panel-head{min-height:86px;align-items:center;gap:24px}.unit-list-panel>.panel-head>div:first-child{min-width:0}.unit-list-panel>.panel-head h2{font-size:18px;line-height:1.25}.unit-list-panel>.panel-head .muted{margin-top:5px;line-height:1.4}.unit-list-panel .unit-table-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:nowrap}.unit-list-panel .unit-table-actions>.orders-count-badge,.unit-list-panel .unit-table-actions>.secondary-button,.unit-list-panel .unit-column-picker>summary{display:inline-flex;height:42px;min-height:42px;align-items:center;justify-content:center;padding:0 14px;border-radius:9px;font-size:13px;font-weight:700;line-height:1;white-space:nowrap}.unit-list-panel .unit-table-actions>.orders-count-badge{border:1px solid transparent}.unit-list-panel .unit-column-picker{height:42px}.unit-list-panel .unit-table thead th>span:first-child{display:flex;min-height:32px;align-items:flex-start;justify-content:center;text-align:center}.unit-list-panel .unit-table thead th:first-child>span:first-child{justify-content:flex-start;text-align:left}.unit-list-panel .unit-table thead th>small{min-height:12px;text-align:center}.unit-list-panel .unit-table thead th:first-child>small{text-align:left}.unit-list-panel .unit-table thead th:not(:first-child) .unit-header-actions{margin-top:41px}
@media(max-width:1100px){.unit-list-panel>.panel-head{align-items:flex-start;flex-direction:column}.unit-list-panel .unit-table-actions{width:100%;justify-content:flex-start;flex-wrap:wrap}}

/* Agent team cards reuse the shared status-card surface without fixed columns. */
.agent-team-card{align-items:flex-start;flex-wrap:wrap}.agent-team-card>div{flex:1 1 240px;min-width:0}.agent-team-card .secondary-button{display:inline-flex;margin-top:10px}
