/* Ozon-only operational workspace: dense tables, clear hierarchy, teal signals. */
:root{--green:#009e99;--green-light:#e8f7f5;--ink:#293942;--muted:#809099;--paper:#f5f7fa;--line:#e3e9ee;--accent:#cb9046;--radius:9px}
.sidebar{background:#fff;color:var(--ink);border-right:1px solid var(--line)}.sidebar .brandmark{background:#00aaa4;color:white}.sidebar .brand strong{color:#23424a}.sidebar .navlabel{color:#99a6ab}.sidebar .nav a{color:#667d85}.sidebar .nav a.active{background:#e4f7f5;color:#008f89}.sidebar .nav a:hover{background:#eff8f7;color:#008f89}.sidebar .navnum{color:#98b7b5}.sidebar-bottom{color:#82959a;border-color:var(--line)}.sidebar-bottom p,.sidebar-bottom a,.sidebar-bottom .local-label{color:#71888f}.topbar{background:#00a7a1;color:white;border:0}.topbar .breadcrumb,.topbar .breadcrumb b,.topbar .topbar-right,.topbar .icon-btn{color:#fff}.topbar .avatar{background:#ffffff24;color:#fff}.topbar .dot{background:#d2fff1}.content{padding:25px 28px 35px}.pagehead{margin-bottom:21px;gap:20px}.pagehead h1{font-size:26px;letter-spacing:0;font-weight:600}.pagehead p{font-size:12px;margin-top:6px}.eyebrow{letter-spacing:1.2px}.btn.primary:hover{background:#008b85}.btn{font-size:12px;min-height:36px;padding:7px 12px}.btn.sm{min-height:30px;padding:4px 9px;font-size:11px}.data-table td{padding:12px 13px}.data-table th{padding:11px 13px;font-size:11px}.data-table th:first-child,.data-table td:first-child{padding-left:17px}.table-footer{padding:12px 17px}.money{font-variant-numeric:tabular-nums;white-space:nowrap}.gain{color:#008b79}.loss{color:#d05552}.spacer{flex:1}.ops-modal{max-width:1050px}.ops-modal .modal-head{position:sticky;top:0;background:white;z-index:3}.ops-modal .modal-body{padding:23px}.timezone-tag{display:inline-block;font-size:11px;padding:5px 10px;border:1px solid #d7e8e7;border-radius:5px;background:#f5fbfa;color:#53817e;white-space:nowrap}.report-footnote{font-size:11px;color:#8a989e;line-height:1.8;margin-top:16px}.desk-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:20px}.desk-kpis>div{background:#fff;border:1px solid var(--line);border-radius:9px;padding:17px 19px;display:grid;gap:5px}.desk-kpis span{font-size:11px;color:#7a8c92}.desk-kpis strong{font-size:25px;font-weight:600;line-height:1.4;overflow-wrap:anywhere}.desk-kpis small{font-size:10px;color:#93a0a6}.workflow-tabs{display:flex;overflow-x:auto;border-bottom:1px solid var(--line);padding:0 15px;gap:18px;background:#fcfdfd}.workflow-tab{border:0;border-bottom:3px solid transparent;color:#718189;background:none;white-space:nowrap;display:flex;gap:7px;align-items:center;font-size:12px;padding:16px 0 12px}.workflow-tab b{font-size:10px;line-height:1.5;padding:1px 5px;border-radius:8px;background:#edf1f2;font-weight:500}.workflow-tab.active{border-bottom-color:var(--green);color:var(--green);font-weight:600}.workflow-tab.active b{background:var(--green-light);color:var(--green)}.desk-filter{padding:15px 17px;flex-wrap:wrap}.desk-filter .searchbox{max-width:330px;min-width:200px}.desk-filter select{width:145px}.order-actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap;padding:11px 17px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:#fafcfc}.desk-table{min-width:1150px}.desk-table td{vertical-align:top;font-size:11px}.desk-table td:nth-child(2){min-width:150px}.desk-product{display:flex;gap:11px;align-items:flex-start;min-width:200px;max-width:280px}.desk-product img,.product-placeholder{width:45px;height:52px;object-fit:contain;flex:none;border-radius:5px;border:1px solid var(--line);background:#fff}.product-placeholder{display:grid;place-items:center;background:#f2f6f5;color:#a0b6b1}.desk-table .cell-sub{line-height:1.6;overflow-wrap:anywhere}.shop-picker{position:relative;min-width:145px;flex:none;font-size:12px}.shop-picker summary{list-style:none;cursor:pointer;padding:10px 11px;border:1px solid #dce1d9;border-radius:7px;background:white;display:flex;justify-content:space-between;align-items:center;min-height:42px;gap:18px}.shop-picker summary::-webkit-details-marker{display:none}.shop-options{position:absolute;top:calc(100% + 4px);left:0;background:white;border:1px solid var(--line);border-radius:7px;box-shadow:0 8px 30px #253a3b18;padding:13px;min-width:230px;max-height:280px;overflow:auto;z-index:20;display:grid;gap:12px}.shop-picker[open] summary{border-color:var(--green)}
.report-top{overflow:visible;margin-bottom:16px}.report-filter{padding:17px 20px;display:grid;gap:16px}.date-presets{display:flex;gap:5px;flex-wrap:wrap}.report-filter-fields{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.report-filter-fields>select{width:140px;font-size:12px}.report-filter-fields>input{width:150px}.report-filter-fields .shop-picker{min-width:140px}.report-context{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;padding:10px 20px;background:#f9fbfb;border-top:1px solid var(--line);font-size:10px;color:#82969b;border-radius:0 0 9px 9px}.report-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:15px}.report-metric{border:1px solid var(--line);border-radius:9px;padding:20px;background:#fff;color:var(--ink);text-align:left;min-width:0;display:flex;flex-direction:column;gap:9px;justify-content:flex-start;position:relative;overflow:hidden}.report-metric:before{content:'';position:absolute;top:0;left:20px;height:3px;width:30px;border-radius:0 0 3px 3px;background:#93bfbd}.report-metric:nth-child(3):before{background:#00a99a}.report-metric:hover{border-color:#a4cfca;background:#fdfffe}.report-metric>span{font-size:12px;color:#6d838b}.report-metric>strong{font-size:27px;font-weight:650;line-height:1.3;letter-spacing:-.4px;overflow-wrap:anywhere}.report-metric>small{font-size:10px;color:#91a0a6;line-height:1.7}.quick-comparison{display:grid;grid-template-columns:180px 1fr 1fr;gap:15px;align-items:center;padding:14px 20px;background:#eaf6f4;border:1px solid #d9eeea;border-radius:8px;margin-bottom:18px}.quick-comparison>div{display:flex;gap:16px;flex-wrap:wrap;font-size:11px;align-items:center}.quick-comparison b{font-size:12px;color:#517a76}.quick-comparison>div+div{border-left:1px solid #d0e6df;padding-left:18px}.report-breakdown{display:grid;grid-template-columns:1fr 1.3fr 1.2fr;gap:15px;margin-bottom:20px}.report-breakdown>section{padding:18px 20px}.report-breakdown h3{font-size:13px;margin-bottom:16px}.report-breakdown dl{margin:0;display:grid;gap:10px}.report-breakdown dl>div{display:flex;justify-content:space-between;gap:12px;font-size:11px}.report-breakdown dt{color:#85979e}.report-breakdown dd{margin:0;font-variant-numeric:tabular-nums;white-space:nowrap}.data-quality{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:13px}.report-main .filterhead{min-height:54px}.report-main .filterhead select{font-size:11px;min-height:30px;padding:4px 9px;width:110px}.report-charts{padding:20px;display:grid;grid-template-columns:1fr 1fr;gap:20px}.report-charts article{border:1px solid #edf1f2;border-radius:8px;padding:15px;min-width:0}.report-charts article:last-child{grid-column:1/-1}.report-charts h3{font-size:12px;display:flex;gap:10px;align-items:center}.report-charts h3 small{color:#a0adb2;font-size:10px;font-weight:400}.report-chart{width:100%;height:220px;display:block;margin-top:14px}.report-store-table{min-width:1120px;font-variant-numeric:tabular-nums}.report-store-table th{white-space:nowrap}.report-store-table td{white-space:nowrap}.report-store-table th:first-child,.report-store-table td:first-child{position:sticky;left:0;background:#fff;z-index:1}.report-store-table thead th:first-child{background:#f8faf5}.report-store-table tfoot td{position:sticky;bottom:0;background:#eef8f6;font-weight:600;border-top:1px solid #d2e9e3}.report-detail-total{position:sticky;bottom:0;background:#edf8f5;border-top:1px solid #d8ece4;padding:12px 20px;font-size:12px;color:#51766c}
.detail-financials{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));border:1px solid var(--line);border-radius:8px;margin:20px 0;overflow:hidden}.detail-financials>div{padding:15px;border-right:1px solid var(--line);display:grid;gap:5px}.detail-financials>div:last-child{border:0;background:#edf8f3}.detail-financials span{font-size:11px;color:var(--muted)}.detail-financials strong{font-size:17px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.ops-detail-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:25px;margin:25px 0}.ops-detail-grid>section{padding:19px;border:1px solid var(--line);border-radius:8px}.ops-detail-grid h3{font-size:14px;margin-bottom:18px}.ops-detail-grid form{gap:15px}.ops-detail-grid form .field{font-size:11px}.ops-detail-grid .grid2{gap:12px}.ops-detail-grid>section>p{margin-bottom:18px}.ops-platform{padding:18px;border-radius:8px;background:#f6fafa;display:grid;gap:13px}.ops-platform h3{font-size:14px}.ops-history{margin-top:25px}.ops-history summary{font-size:12px;cursor:pointer;margin-bottom:20px}.erp-settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.erp-settings-grid .erp-fx{grid-column:1/-1}.fx-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.settings-links{margin-top:20px}.freight-trial{border:1px solid #d9ebe5;background:#f4faf7;border-radius:8px;padding:15px}.freight-trial summary{cursor:pointer;font-size:12px;margin-bottom:15px}.freight-trial>.btn{margin-top:15px}.cost-edit-cell{min-width:130px;max-width:150px}.cost-edit-cell input{font-size:12px;min-height:34px;padding:5px 8px}.cost-edit-cell select{font-size:10px;padding:4px 7px;min-height:27px;margin-top:5px}.catalog-product{min-width:200px}.order-actions .small{margin-right:6px}.catalog-table td .row>[type=checkbox]{flex:none}.sort-control{border:0;background:none;padding:0;color:inherit;font:inherit;cursor:pointer;text-align:left}.sort-control:hover{color:var(--green)}
@media(min-width:1600px){.content{padding:30px 36px}.report-metric{padding:23px}.report-metric>strong{font-size:32px}}
@media(max-width:1150px){.content{padding:22px}.report-metrics,.desk-kpis{gap:10px}.report-metric{padding:16px}.report-metric>strong{font-size:23px}.report-breakdown{grid-template-columns:1fr 1fr}.report-breakdown>section:last-child{grid-column:1/-1}.quick-comparison{grid-template-columns:1fr 1fr}.quick-comparison>.small{grid-column:1/-1}.quick-comparison>div+div{padding-left:12px}.fx-fields{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.sidebar{background:white}.content{padding:20px 14px}.topbar{background:#00a7a1}.pagehead h1{font-size:23px}.report-metrics,.desk-kpis{grid-template-columns:1fr 1fr}.report-metric>strong{font-size:22px}.report-breakdown,.report-charts,.ops-detail-grid,.erp-settings-grid{grid-template-columns:1fr}.report-breakdown>section:last-child,.report-charts article:last-child,.erp-settings-grid .erp-fx{grid-column:auto}.report-filter{padding:14px}.report-filter-fields{gap:7px}.report-filter-fields>select,.report-filter-fields .shop-picker{width:calc(50% - 5px);flex:1;min-width:130px}.report-context{padding:10px 14px}.report-main .tabs{gap:17px}.report-main .filterhead{padding:0 13px;gap:8px}.quick-comparison{grid-template-columns:1fr;gap:10px;padding:13px}.quick-comparison>div+div{border:0;padding-left:0}.desk-kpis strong{font-size:23px}.detail-financials{grid-template-columns:repeat(2,minmax(0,1fr))}.detail-financials>div{border-bottom:1px solid var(--line)}.detail-financials>div:last-child{grid-column:1/-1}.fx-fields{grid-template-columns:1fr 1fr}.ops-modal .modal-body{padding:17px}.ops-detail-grid>section{padding:15px}.shop-options{min-width:200px}.report-filter .row .spacer{display:none}.order-actions{padding:12px}.workflow-tabs{gap:15px}.date-presets .btn{font-size:10px}.report-metric small{font-size:9px}}

.report-date-range{display:flex;align-items:center;gap:8px;padding:8px 10px;border:1px solid #c7e3df;background:#f5fbfa;border-radius:6px;flex-wrap:wrap}.report-date-range>span{font-size:11px;color:#447c76}.report-date-range input{width:145px;min-height:34px}.report-date-range b{font-size:11px;color:#698b87}

.actual-finance{border:1px solid #b8dad5;border-radius:8px;padding:18px;margin:16px 0;background:#fbfefe}.actual-finance h3{margin:0 0 6px;font-size:15px}.estimate-explainer{margin:14px 0;padding:12px 14px;border-left:3px solid #d4a458;background:#fff9ee;color:#705d3e;font-size:12px;line-height:1.9}.actual-finance-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:14px 0}.actual-finance-metrics>div{padding:12px;border:1px solid #dcebe7;border-radius:6px;background:#fff;display:grid;gap:8px}.actual-finance-metrics span{font-size:11px;color:#748c87}.actual-finance-metrics strong{font-size:17px;overflow-wrap:anywhere}.actual-fee-table{min-width:850px}.actual-fee-table td{font-size:11px}.platform-finance-references{margin-top:14px;padding:12px;background:#f3f8f6;border-radius:5px}.platform-finance-references summary{font-size:12px;cursor:pointer}@media(max-width:800px){.actual-finance-metrics{grid-template-columns:1fr 1fr}}

#desk-auto-sync .sync-interval { width: 80px; display: inline-block; }

.dashboard-filter{padding:15px 18px;margin-bottom:18px;border:1px solid var(--line);border-radius:8px;background:#fff;flex-wrap:wrap}.dashboard-section{padding:20px;margin:18px 0}.dashboard-section .section-title{margin:0 0 16px}.dashboard-section h2{font-size:16px}.dashboard-section h2 small{font-size:11px;color:var(--muted);font-weight:400;margin-left:10px}.dashboard-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.dashboard-tile{position:relative;text-align:left;padding:16px;border:1px solid #dbe9e5;border-radius:6px;background:#fbfdfc;color:var(--ink);cursor:pointer;display:grid;gap:9px;transition:background .15s,border-color .15s}.dashboard-tile:hover{background:#edf8f5;border-color:#9bcac1}.dashboard-tile>span{font-size:12px;color:#5c7c72}.dashboard-tile>strong{font-size:27px;font-weight:650;font-variant-numeric:tabular-nums}.dashboard-tile>.icon{position:absolute;right:15px;bottom:18px;width:17px;color:#719c90}.dashboard-transit{margin-top:20px;padding-top:18px;border-top:1px solid var(--line)}.dashboard-transit h3{font-size:13px;font-weight:500;margin-bottom:12px;color:#56796d}.dashboard-transit h3 b{margin-left:7px}.dashboard-transit .dashboard-tiles{grid-template-columns:repeat(4,minmax(0,1fr))}.dashboard-transit .dashboard-tile{background:#f1f8f6}.dashboard-columns{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(280px,1fr);gap:18px;align-items:start}.dashboard-columns>.dashboard-section{margin:0}.dashboard-health-row{width:100%;display:flex;align-items:center;gap:10px;border:0;border-bottom:1px solid #e9eeeb;padding:13px 0;background:none;color:#53685e;cursor:pointer;text-align:left;font:inherit;font-size:12px}.dashboard-health-row>span{flex:1}.dashboard-health-row>b{background:#fff3da;color:#91662c;min-width:24px;text-align:center;border-radius:4px;padding:3px 6px;font-variant-numeric:tabular-nums}.dashboard-health-row:hover{color:#00897e}.dashboard-health-row>.icon{width:13px}.dashboard-catalog{display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin-top:18px;font-size:12px;color:#73857c}.catalog-bulk-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.batch-edit-row{display:grid;gap:10px;padding:13px;border:1px solid var(--line);border-radius:6px}.batch-edit-row>.check{font-size:12px}.batch-edit-row textarea{min-height:65px}.dashboard-metrics .report-metric{background:#fff}.dashboard-metrics .report-metric:nth-child(3){background:#edf8f3;border-color:#c7e2d5}@media(max-width:1100px){.dashboard-columns{grid-template-columns:1fr}.dashboard-transit .dashboard-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.dashboard-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-section{padding:15px}.dashboard-section .section-title{gap:8px;align-items:flex-start;flex-wrap:wrap}.catalog-bulk-fields{grid-template-columns:1fr}.dashboard-filter .spacer{display:none}}

.order-fees{display:grid;gap:7px;min-width:0;width:max-content}.order-fees>div{display:grid;grid-template-columns:5em max-content;justify-content:start;gap:10px}.order-fees>div>span:first-child{color:#718189}.order-fees .money{font-weight:500;color:var(--ink)}.order-logistics{min-width:200px;max-width:270px;white-space:normal}.logistics-channel{font-weight:600;line-height:1.7;overflow-wrap:anywhere;margin:5px 0}.sidebar .brand{padding:0 3px;gap:8px}.sidebar .brand small{font-size:8px;letter-spacing:.7px}.sidebar .navlabel{letter-spacing:1px;margin-left:10px}.dashboard-transit .dashboard-tiles{grid-template-columns:repeat(3,minmax(0,1fr))}

.notice-bell{color:#fff;background:#ffffff15;border-color:#ffffff55;white-space:nowrap}.notice-bell:hover{background:#ffffff30}.order-notices{position:fixed;right:24px;bottom:24px;width:380px;max-width:calc(100vw - 32px);z-index:65;background:#fff;border:1px solid #d6e6e8;border-radius:9px;box-shadow:0 12px 44px #173b4530;overflow:hidden}.order-notices[hidden]{display:none}.order-notices>header{background:#52b9d0;color:#fff;padding:7px 10px;display:flex;align-items:center;justify-content:space-between;font-size:12px;line-height:20px}.order-notices>header .icon-btn{color:white;width:26px;height:26px;padding:0}.order-notices>header .icon-btn .icon{width:16px;height:16px}.notice-order-list{max-height:370px;overflow:auto;padding:9px;display:grid;gap:8px}.notice-order{border:1px solid #e1e9ec;border-radius:5px;padding:13px 12px;background:#fff}.notice-order-top{display:flex;justify-content:space-between;gap:12px;font-size:12px}.notice-order-top strong{overflow-wrap:anywhere}.notice-order time{font-size:11px;color:#89969e;white-space:nowrap}.notice-order-number{font-size:12px;color:#7a8790;margin-top:7px;overflow-wrap:anywhere}.notice-order-actions{display:flex;align-items:center;gap:6px;margin-top:13px;flex-wrap:wrap}.notice-order-actions>span{color:#60a443;font-size:11px;margin-right:auto}.notice-order-actions .btn{border:0;color:#16a6ba;padding:3px;min-height:24px;font-size:11px}.order-notices>footer{border-top:1px solid #dce6ea;display:flex;padding:5px}.order-notices>footer .btn{flex:1;border:0;color:#00a7a1;background:#fff}.order-notices>footer .btn+.btn{border-left:1px solid #dce6ea;border-radius:0}.notice-inbox{display:grid;gap:10px}.notice-inbox-footer{margin-top:18px}.notice-order.is-read{background:#f8fafb}.notice-order.is-read .notice-order-actions>span{color:#94a1a6}@media(max-width:760px){.order-notices{right:16px;bottom:16px}.topbar-right{gap:8px}.notice-bell{font-size:11px}}

.resale-section{padding:19px;margin:18px 0;border:1px solid #d5e9e7;background:#f8fcfb;border-radius:7px}.resale-section>p{line-height:1.8;margin:9px 0}.resale-section .toolbar{padding:12px 0}.resale-section .toolbar input{min-width:280px}

.sku-auto-match{display:grid;gap:8px;min-width:165px;max-width:250px}.sku-auto-match>div{display:grid;gap:3px}.sku-auto-match code{font-size:12px;overflow-wrap:anywhere;white-space:normal}.sku-auto-match .btn{justify-self:start;margin-top:2px}

.paired-local-product{min-width:185px;gap:9px}.paired-local-product .catalog-image{width:46px;height:54px}

.local-paired-list{display:grid;gap:8px;min-width:160px;margin-top:8px}.local-paired-item+.local-paired-item{border-top:1px solid var(--line);padding-top:7px}.local-paired-item .catalog-code{overflow-wrap:anywhere;white-space:normal}

.seller-code{display:flex;align-items:flex-start;gap:5px}.seller-code>span{min-width:0;overflow-wrap:anywhere}.sku-copy{display:inline-grid;place-items:center;flex:none;width:18px;height:18px;padding:2px;border:0;border-radius:3px;background:transparent;color:#82959a;cursor:pointer}.sku-copy .icon{width:12px;height:12px}.sku-copy:hover{background:#e4f7f5;color:#008f89}.sku-copy:focus-visible{outline:2px solid #00a7a1;outline-offset:2px}.local-product-select{display:grid;grid-template-columns:14px minmax(0,1fr);column-gap:10px;align-items:start}.local-product-select>input{margin-top:26px}.local-product-content{min-width:0}.clipboard-fallback{position:fixed;top:-1000px;left:-1000px}

.catalog-filter-buttons{display:inline-flex;align-items:center;gap:0;flex-shrink:0}.catalog-filter-buttons .btn{border-radius:0;margin-left:-1px}.catalog-filter-buttons .btn:first-child{border-radius:5px 0 0 5px;margin-left:0}.catalog-filter-buttons .btn:last-child{border-radius:0 5px 5px 0}.catalog-filter-buttons .btn.primary{position:relative;z-index:1}

.local-catalog-table th,.local-catalog-table td{padding-left:10px;padding-right:10px}.local-catalog-table th:first-child{width:32%}.local-catalog-table th:nth-child(2){width:140px}.local-catalog-table th:nth-child(3){width:150px}.local-catalog-table th:last-child{width:105px}.local-catalog-table .cost-edit-cell{min-width:120px;max-width:140px}.local-cost-input{display:flex;align-items:center;gap:8px}.local-cost-input input{width:80px;min-width:0;flex:none}.local-cost-currency{font-size:11px;color:#718189;white-space:nowrap}.local-catalog-table .catalog-product{gap:10px}.local-catalog-table .catalog-name{max-width:300px}

.selectable-row{cursor:pointer}.selectable-row:hover>td{background:#f5fbfa}.selectable-row.row-selected>td{background:#edf8f6}.local-cost-input input:disabled{background:#f3f5f5;border-color:#e2e7e7;color:#7d8b90;cursor:not-allowed}

/* Compact column proportions keep related fields close on operational lists. */
.operations-table{table-layout:fixed;min-width:1100px}.operations-table th,.operations-table td{padding-left:10px;padding-right:10px;overflow-wrap:anywhere}.operations-table th:nth-child(1){width:32px}.operations-table th:nth-child(2){width:220px}.operations-table th:nth-child(3){width:auto}.operations-table th:nth-child(4){width:160px}.operations-table th:nth-child(5){width:120px}.operations-table th:nth-child(6){width:auto}.operations-table th:nth-child(7){width:130px}.operations-table .desk-product{min-width:0;max-width:100%;gap:8px}.operations-table .desk-product>div{min-width:0}.operations-table .order-logistics{min-width:0;max-width:none}.operations-table .posting-link{max-width:100%;overflow-wrap:anywhere;white-space:normal}
.online-catalog-table{table-layout:fixed;min-width:1040px}.online-catalog-table th,.online-catalog-table td{padding-left:10px;padding-right:10px;overflow-wrap:anywhere}.online-catalog-table th:nth-child(1){width:25%}.online-catalog-table th:nth-child(2){width:16%}.online-catalog-table th:nth-child(3){width:9%}.online-catalog-table th:nth-child(4){width:20%}.online-catalog-table th:nth-child(5){width:16%}.online-catalog-table th:nth-child(6){width:14%}.online-catalog-table .catalog-product{min-width:0;max-width:100%;gap:8px}.online-catalog-table .catalog-product>div{min-width:0}.online-catalog-table .sku-auto-match{min-width:0;max-width:100%}.online-catalog-table .catalog-actions .btn{max-width:100%;white-space:normal}.online-catalog-table td:first-child>.row{flex-wrap:nowrap;gap:8px}.online-catalog-table td:first-child>.row>.catalog-product{flex:1}
.local-catalog-table{table-layout:fixed;min-width:1000px}.local-catalog-table th:nth-child(1){width:32%}.local-catalog-table th:nth-child(2){width:14%}.local-catalog-table th:nth-child(3){width:16%}.local-catalog-table th:nth-child(4){width:23%}.local-catalog-table th:nth-child(5){width:15%}.local-catalog-table .catalog-product,.local-catalog-table .local-paired-list{min-width:0}.local-catalog-table td{overflow-wrap:anywhere}.local-cost-input input[type=number]{appearance:textfield;-moz-appearance:textfield}.local-cost-input input[type=number]::-webkit-inner-spin-button,.local-cost-input input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}

.notice-order .notice-order-number{margin-top:0;color:#455d65;font-weight:500}.notice-order-products{font-size:12px;line-height:1.7;overflow-wrap:anywhere;margin-top:7px;color:#455d65}.notice-order-products+.notice-order-top{margin-top:8px;font-size:11px;align-items:baseline;color:#7a8790}.notice-order-amount{margin-top:8px;font-size:12px;color:#617881}.notice-order-amount strong{color:#008f89;font-variant-numeric:tabular-nums}

.advertising-summary{display:flex;justify-content:space-between;gap:15px;align-items:center;flex-wrap:wrap}.advertising-summary>div:first-child{flex:1;min-width:240px}.advertising-summary .row{flex-wrap:wrap}

/* Shop-period advertising and order contribution are distinct accounting scopes. */
.advertising-summary{padding:18px 22px;display:block;margin:16px 0;border-top:3px solid #169b96}
.profit-equation{display:grid;grid-template-columns:minmax(0,1fr) 24px minmax(0,1fr) 24px minmax(0,1.2fr);align-items:center;gap:12px}
.profit-equation>div{display:grid;gap:5px;min-width:0}.profit-equation span{font-size:12px;color:#55716e}.profit-equation strong{font-size:24px;font-variant-numeric:tabular-nums;letter-spacing:-.5px}.profit-equation small{font-size:11px;color:#748480}.profit-equation>b{font-size:22px;color:#8fa6a0;text-align:center}
.profit-scope{margin:16px 0 12px;padding:10px 12px;border-radius:5px;background:#edf7f4;font-size:12px;line-height:1.8;color:#315f55}.profit-scope.incomplete{background:#fff6e7;color:#855d27}
.profit-calculation{margin:12px 0;font-size:12px}.profit-calculation summary{cursor:pointer;color:#367c76}.profit-calculation dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 32px;margin:12px 0}.profit-calculation dl>div{display:flex;justify-content:space-between;gap:12px}.profit-calculation dd{margin:0;font-variant-numeric:tabular-nums;font-weight:600}.profit-calculation dl>div:last-child{border-top:1px solid #dce8e4;padding-top:7px}
@media(max-width:700px){.profit-equation{gap:6px;grid-template-columns:minmax(0,1fr) 12px minmax(0,1fr) 12px minmax(0,1fr)}.profit-equation strong{font-size:17px}.profit-calculation dl{grid-template-columns:1fr}}
.report-main .report-charts article:last-child{grid-column:auto}

.sync-center,.sync-auto-panel{margin-bottom:18px}.sync-shop-buttons{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.sync-run-buttons{margin:12px 0}.sync-auto-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:16px 0}.sync-auto-rule{border:1px solid var(--line);border-radius:8px;padding:16px;display:flex;flex-direction:column;gap:10px}.sync-auto-rule .sync-shop-buttons{margin:0}.sync-center #central-sync-dates{flex-wrap:wrap;align-items:center;padding:12px 0}.sync-center .field{margin:0;max-width:220px}.erp-fx .fx-fields{grid-template-columns:repeat(2,minmax(0,230px))}.theme-toggle{white-space:nowrap}
@media(max-width:950px){.sync-auto-grid{grid-template-columns:1fr}}

.sync-center #central-sync-dates{display:flex;gap:18px;align-items:flex-end}.sync-auto-rule label.row{display:flex;flex-wrap:nowrap;white-space:nowrap;gap:8px;justify-content:flex-start}.sync-auto-rule .sync-interval{width:64px;max-width:64px;flex:0 0 64px}.sync-auto-rule label.row input{margin:0}

.erp-settings-grid .compact-fx{grid-column:auto}.compact-fx .fx-fields{grid-template-columns:repeat(2,minmax(0,1fr))}

.sync-update-banner{position:fixed;top:72px;right:24px;z-index:45;max-width:calc(100vw - 48px);box-shadow:var(--shadow);display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0;padding:10px 14px;border:1px solid var(--line);border-radius:8px;background:var(--surface,var(--paper));color:var(--ink);font-size:13px}

.notice-order-number{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.notice-order-source{flex-shrink:0}.notice-order-source .badge{font-size:10px;line-height:1.5;padding:2px 6px;white-space:nowrap}

.notice-order-top.no-store{justify-content:flex-end}

.order-times{display:grid;grid-template-columns:max-content max-content;gap:3px 8px;margin-top:7px;font-size:11px;color:var(--muted);font-variant-numeric:tabular-nums;width:max-content;max-width:100%}.order-times>div{display:grid;grid-column:1/-1;grid-template-columns:subgrid;column-gap:8px;white-space:nowrap}.order-time-label,.order-time-value{text-align:left}

/* Order messages: three compact rows, with stable shop identity. */
.notice-order{display:grid;grid-template-rows:20px 18px 22px;row-gap:3px;padding:8px 10px;min-width:0}
.notice-order>div{min-width:0;margin:0;line-height:18px}
.notice-order .notice-order-number{display:flex;align-items:center;justify-content:space-between;flex-wrap:nowrap;gap:6px;font-size:11px}
.notice-order-number>.notice-order-code{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.notice-order-number>.notice-order-tags{flex:0 1 auto;max-width:52%}.notice-order-tags>.notice-order-source,.notice-order-tags>.badge{flex-shrink:0}
.notice-order .notice-order-products time{flex-shrink:0;font-size:10px;line-height:18px}
.notice-order-tags{display:flex;align-items:center;gap:5px;overflow:hidden;white-space:nowrap}
.notice-order-tags .badge{font-size:10px;line-height:14px;padding:2px 6px;white-space:nowrap}
.notice-shop{display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:210px;min-width:0;padding:2px 6px;border-radius:4px;font-size:10px;font-weight:600;line-height:14px}
.notice-shop.shop-color-0{background:#e8efff;color:#385ea8}.notice-shop.shop-color-1{background:#efe8fa;color:#77509e}.notice-shop.shop-color-2{background:#fff0dc;color:#93621a}.notice-shop.shop-color-3{background:#e1f2f6;color:#26778b}.notice-shop.shop-color-4{background:#fbe8ee;color:#a54c6e}.notice-shop.shop-color-5{background:#e9eafb;color:#5b59a2}
.notice-order .notice-order-products{display:flex;align-items:center;justify-content:space-between;gap:6px;margin:0;line-height:18px;font-size:11px;min-width:0}.notice-order-products>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.notice-order-bottom{display:flex;align-items:center;justify-content:space-between;gap:6px}
.notice-order .notice-order-amount{margin:0;line-height:18px;font-size:11px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.notice-order .notice-order-actions{margin:0;gap:4px;flex-wrap:nowrap;flex-shrink:0}
.notice-order .notice-order-actions .btn{min-height:20px;padding:1px 3px;font-size:10px;line-height:18px}
.notice-order .notice-order-actions .notice-read-state{font-size:10px;color:var(--muted);margin:0}
.notice-order.notice-order-cancelled{border-color:#e8a6a1;background:#fff4f2;border-left:3px solid #ce5148}
.notice-order.notice-order-cancelled .notice-order-number{color:#b43e35}
.notice-inbox-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
.notice-date-buttons{display:flex;gap:4px}.notice-date-buttons .btn{padding:3px 8px;min-height:26px;font-size:11px}
.notice-inbox-toolbar{margin-bottom:8px}.notice-inbox{gap:7px}.notice-order-list{gap:7px;padding:7px 9px}
.notice-empty{font-size:12px;color:var(--muted);padding:18px 8px;text-align:center}
/* Compact aligned controls for local operating settings. */
.sync-auto-panel{padding:18px 20px}
.sync-auto-panel>div p{margin-top:5px}
.sync-auto-grid{gap:12px;margin:12px 0 10px;align-items:stretch}
.sync-auto-rule{display:grid;grid-template-rows:22px 32px 1fr auto;align-content:start;gap:10px;padding:13px 14px;min-width:0}
.sync-auto-rule>.check{margin:0}
.sync-timing{display:flex;align-items:center;gap:12px;min-width:0}
.sync-timing label.row{gap:5px;font-size:12px}
.sync-auto-rule .sync-interval{width:52px;max-width:52px;flex-basis:52px;min-height:30px;height:30px;padding:4px 5px;font-size:12px}
.sync-auto-rule .sync-shop-buttons{align-content:flex-start;gap:5px}
.sync-auto-rule .sync-shop-buttons .btn{min-height:27px;padding:4px 8px;font-size:11px}
.sync-auto-rule>small{font-size:11px;line-height:1.5}
.finance-settings{padding:18px 20px;margin-bottom:18px}
.finance-settings>h2{margin-bottom:14px}
.finance-settings-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:24px}
.finance-settings-grid>section{display:flex;flex-direction:column;min-width:0}
.finance-settings-grid>section+section{padding-left:24px;border-left:1px solid var(--line)}
.finance-settings-grid h3{font-size:13px;margin:0}
.finance-settings-grid p{font-size:11px;line-height:1.6;margin:6px 0 12px;min-height:36px}
.finance-settings-grid form{display:flex;flex-direction:column;gap:10px;flex:1}
.finance-settings-grid input,.finance-settings-grid select{min-height:34px;padding:6px 9px;font-size:12px}
.commission-rates{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.finance-settings-grid .fx-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.finance-settings-grid form>.btn{align-self:flex-start;margin-top:auto}
@media(max-width:1150px) and (min-width:951px){.sync-auto-rule{padding:12px 9px}.sync-timing{gap:6px}.sync-auto-rule .sync-interval{width:42px;max-width:42px;flex-basis:42px}}
@media(max-width:760px){.finance-settings-grid{grid-template-columns:1fr;gap:18px}.finance-settings-grid>section+section{padding:16px 0 0;border-left:0;border-top:1px solid var(--line)}.finance-settings-grid p{min-height:0}.commission-rates{grid-template-columns:repeat(2,minmax(0,1fr))}}
.order-notices .notice-order-number{justify-content:flex-start}
.order-notices .notice-order-code{order:-1;flex:0 1 auto}
.notice-inbox-modal[open]{display:flex;flex-direction:column;overflow:hidden}
.notice-inbox-modal>.modal-head{flex-shrink:0;padding:9px 22px 8px}
.notice-inbox-modal>.modal-body{display:flex;flex-direction:column;min-height:0;overflow:hidden;padding:16px 22px 20px}
.notice-inbox-controls{flex-shrink:0;padding-bottom:12px}
.notice-inbox-period{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.notice-timezone{font-size:11px;color:var(--muted);white-space:nowrap}
.notice-inbox-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.notice-inbox-pagination{gap:8px;font-size:12px;white-space:nowrap}
.notice-inbox-modal .notice-inbox{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding-right:3px}
/* Fixed message columns and separate routine actions from clearing. */
.order-notices .notice-order-number{display:grid;grid-template-columns:minmax(0,166px) minmax(0,1fr);gap:8px}
.order-notices .notice-order-number>.notice-order-tags{max-width:none}
.order-notices .notice-order-source .badge{min-width:36px;justify-content:center;padding-left:4px;padding-right:4px}
.notice-inbox-controls{padding-bottom:10px}
.notice-inbox-toolbar{margin-bottom:10px;flex-wrap:nowrap}
.notice-inbox-actions{display:grid;grid-template-columns:1fr auto 1fr;gap:12px;align-items:center}
.notice-inbox-actions>[data-action=notice-read-all]{justify-self:start}
.notice-inbox-actions>.notice-clear-button{justify-self:end}
.notice-inbox-actions .btn{min-height:29px;font-size:11px;padding:4px 8px}
.notice-inbox-pagination{justify-content:center;gap:7px}
.notice-inbox-pagination>span{min-width:34px;text-align:center;font-variant-numeric:tabular-nums;color:var(--muted)}
@media(max-width:540px){.notice-inbox-actions{grid-template-columns:1fr 1fr;gap:8px}.notice-inbox-pagination{grid-row:2;grid-column:1/-1}.notice-inbox-toolbar{gap:6px}.notice-timezone{font-size:10px}.notice-date-buttons{gap:3px}.notice-date-buttons .btn{padding:3px 6px}}
/* Align inbox order numbers independently of channel and shop label lengths. */
.notice-inbox .notice-order-number{display:grid;grid-template-columns:116px minmax(0,1fr) auto;column-gap:10px;justify-content:start}
.notice-inbox .notice-order-number>.notice-order-tags{max-width:none;width:116px}
.notice-inbox .notice-order-source .badge{min-width:36px;justify-content:center;padding-left:4px;padding-right:4px}
.notice-inbox .notice-shop{max-width:75px}
.notice-inbox .notice-order-number>.badge{font-size:10px;line-height:14px;padding:2px 6px}
.notice-order.notice-order-cancelled{padding-left:8px}
/* Business trends: readable daily values and padded plotting axes. */
.dashboard-trend .trend-section-heading{align-items:center;gap:16px;flex-wrap:wrap;margin-bottom:16px}
.dashboard-trend .trend-section-heading h2{font-size:19px;letter-spacing:.2px}
.trend-period-caption{margin-top:6px;font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}
.dashboard-trend-charts{padding:0;gap:16px}
.dashboard-trend-charts article{padding:18px 16px 12px;background:var(--white);min-width:0}
.dashboard-trend-charts article:last-child{grid-column:auto}
.dashboard-trend-charts h3{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:15px;margin:0 0 12px}
.dashboard-trend-charts h3 small{font-size:12px;color:var(--muted);font-weight:400}
.trend-chart-scroll{width:100%;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;padding-bottom:4px}
.dashboard-chart{display:block;width:100%;height:auto;overflow:visible}
.trend-grid{stroke:var(--line);stroke-dasharray:4 5;stroke-width:1}
.trend-zero{stroke:var(--muted);stroke-opacity:.4}
.trend-axis{fill:var(--muted);font-size:14px;font-variant-numeric:tabular-nums}
.trend-value{fill:var(--ink);font-size:15px;font-weight:600;font-variant-numeric:tabular-nums}
.trend-value.is-missing{fill:var(--muted);font-weight:400}
.trend-line-point{stroke:var(--paper);stroke-width:2}
.trend-datum{outline:none}.trend-datum:hover .trend-value,.trend-datum:focus .trend-value{fill:var(--green)}
.trend-datum:focus>rect:first-of-type{fill:var(--green);fill-opacity:.06}
.trend-chart-note{font-size:12px;color:var(--muted);line-height:1.8;margin-top:12px}
.trend-custom-dates{display:flex;gap:10px;align-items:flex-end;flex-wrap:wrap;margin:0 0 16px;padding:12px;background:var(--paper);border-radius:7px}
.trend-custom-dates input{min-height:34px;padding:6px 9px;font-size:12px}
.trend-custom-dates>.field{max-width:180px}.trend-custom-dates>span{padding-bottom:7px}.trend-custom-dates .form-error:empty{display:none}
@media(max-width:1000px){.dashboard-trend-charts{grid-template-columns:1fr}.dashboard-trend-charts article:last-child{grid-column:auto}}
.trend-query-status{font-size:12px;color:var(--muted);margin:0 0 12px;line-height:1.6}
.trend-query-status:empty{display:none}
.dashboard-trend-charts[aria-busy=true]{opacity:.55;pointer-events:none}
.desk-product .order-total-quantity{font-variant-numeric:tabular-nums}
.desk-product .order-total-quantity.is-multiple{display:inline-block;color:var(--red);font-size:20px;font-weight:700;line-height:1.2;margin-left:3px;vertical-align:baseline}
/* Fit all selected dates into the card; longer ranges use the full row. */
.dashboard-trend-charts.trend-fit-range{grid-template-columns:minmax(0,1fr)}
.dashboard-chart.trend-chart-fit{width:100%;max-width:100%;height:auto}
.dashboard-chart.trend-chart-fit .trend-value{font-size:12px}
.dashboard-chart.trend-chart-fit .trend-axis{font-size:12px}
.trend-chart-scroll{overflow-x:hidden}
.trend-datum{cursor:pointer}
.trend-datum.is-selected>rect:first-of-type{fill:var(--green);fill-opacity:.08}
.trend-datum.is-selected .trend-value{fill:var(--green)}
.trend-datum.is-selected .trend-line-point{stroke:var(--ink);stroke-width:3}
.trend-point-detail{display:flex;align-items:center;gap:14px;padding:12px 14px;margin-top:8px;background:var(--green-light);border:1px solid var(--line);border-left:3px solid var(--green);border-radius:6px}
.trend-point-detail[hidden]{display:none}
.trend-point-detail>div{display:grid;gap:4px;flex:1;min-width:0}
.trend-point-date{font-size:12px;font-variant-numeric:tabular-nums;color:var(--muted)}
.trend-point-label{font-size:12px;color:var(--ink)}
.trend-selected-amount{font-size:18px;color:var(--ink);font-variant-numeric:tabular-nums;white-space:nowrap}
.trend-selected-amount.is-loss{color:var(--red)}
.trend-point-detail .btn{font-size:11px;min-height:27px;padding:3px 7px}
@media(max-width:540px){.trend-point-detail{gap:8px;padding:10px}.trend-selected-amount{font-size:15px}}
.dashboard-chart{touch-action:pan-y;user-select:none;-webkit-user-select:none}
.dashboard-chart.is-dragging,.dashboard-chart.is-dragging .trend-datum{cursor:ew-resize}
.trend-chart-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:12px}
.dashboard-trend-charts .trend-chart-heading h3{display:flex;justify-content:flex-start;align-items:baseline;gap:9px;margin:0;flex:1;min-width:0}
.trend-chart-types{display:flex;align-items:center;gap:3px;flex-shrink:0;padding:3px;border:1px solid var(--line);background:var(--paper);border-radius:7px}
.trend-chart-types .btn{font-size:11px;min-height:25px;padding:3px 7px;border-radius:4px;border-color:transparent}
.sync-auto-heading{margin-bottom:4px}
.sync-auto-heading>div{flex:1;min-width:220px}
.sync-auto-heading>button{flex-shrink:0;align-self:flex-start}

.online-catalog-table .ozon-sku-id{display:flex;align-items:baseline;gap:7px;margin-top:7px;white-space:nowrap;line-height:1.6}
.ozon-sku-id>span:first-child{font-size:10px;flex:none;user-select:none;-webkit-user-select:none}
.ozon-sku-value{font-size:11px;user-select:all;-webkit-user-select:all;overflow-wrap:normal}

.order-deadline{margin-top:7px;font-size:11px;font-weight:600;line-height:1.6;white-space:nowrap;font-variant-numeric:tabular-nums}
.order-deadline.is-blue{color:#216db5}
.order-deadline.is-red{color:#c93535}
.order-deadline.is-unknown{color:var(--muted);font-weight:400}

/* Compact online/local identities share one image and SKU alignment per order item. */
.order-catalog-items{display:grid;gap:8px;min-width:190px;max-width:280px}
.order-catalog-item{display:grid;gap:10px}
.order-catalog-item+.order-catalog-item{border-top:1px solid var(--line);padding-top:10px}
.order-catalog-items .desk-product{min-width:0;max-width:none;gap:9px;align-items:center}
.order-catalog-items .desk-product>div{min-width:0}
.order-catalog-items .desk-product img,.order-catalog-items .product-placeholder{width:44px;height:48px}
.order-product-label{display:flex;align-items:center;gap:9px;font-size:10px;line-height:1.4;color:var(--muted);margin-bottom:2px}
.order-product-label>span{font-variant-numeric:tabular-nums}
.order-catalog-items .product-name{font-size:11px;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.order-catalog-items .order-sku-code{font-size:11px;line-height:1.5;color:var(--ink);user-select:text}
.order-quantity-summary{padding-left:53px;margin-top:0}
.topbar .erp-auto-refresh{min-width:129px;justify-content:center;white-space:nowrap;font-size:11px;font-variant-numeric:tabular-nums}
.topbar .erp-auto-refresh[aria-pressed=false]{opacity:.75}
@media(max-width:1100px){.topbar-right{gap:8px}.topbar-right>.erp-auto-refresh{min-width:117px;font-size:10px}.topbar-right>span{display:none}}
.order-catalog-items .order-total-quantity{font-variant-numeric:tabular-nums}
.order-catalog-items .order-total-quantity.is-multiple{display:inline-block;color:var(--red);font-size:20px;font-weight:700;line-height:1.2;margin-left:3px;vertical-align:baseline}
.order-catalog-items .order-local-match{font-family:inherit;font-size:11px;font-weight:500;color:var(--green);padding:3px 6px;min-height:26px;gap:4px;white-space:nowrap;border-color:#c7e2de;background:#f1faf8}
.order-local-match .icon{width:12px;height:12px}
.catalog-unpaired{border:0;font-family:inherit;cursor:pointer}
.catalog-unpaired:hover{filter:brightness(.96)}
.catalog-unpaired:focus-visible{outline:2px solid var(--green);outline-offset:3px}
.online-catalog-table th:nth-child(1){width:23%}.online-catalog-table th:nth-child(2){width:15%}.online-catalog-table th:nth-child(3){width:15%}.online-catalog-table th:nth-child(4){width:16.5%}.online-catalog-table th:nth-child(5){width:16.5%}
.catalog-prices{display:grid;gap:6px;font-size:11px;min-width:120px}
.catalog-prices>div{display:grid;grid-template-columns:38px minmax(0,1fr);column-gap:6px;align-items:baseline;line-height:1.5}
.catalog-prices>div>span{color:var(--muted);white-space:nowrap}
.catalog-prices b{font-size:11px;font-weight:600;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.catalog-prices small{font-size:9px;color:var(--muted);font-weight:400}
.catalog-prices .price-unavailable{font-size:10px;color:var(--muted);font-weight:400}
/* Search results replace rows while the caret stays in the same field. */
.catalog-editor-savebar{display:flex;justify-content:space-between;align-items:center;gap:14px;position:sticky;top:-1px;z-index:4;padding:9px 0 12px;margin-bottom:12px;background:#fff;border-bottom:1px solid var(--line)}
.warehouse-mapping{margin-top:28px}.warehouse-mapping-title{align-items:center;gap:16px;flex-wrap:wrap}.warehouse-mapping-title h2{margin-bottom:2px}.warehouse-mapping-title p{margin:0}.warehouse-help{display:flex;gap:16px;flex-wrap:wrap;font-size:11px;color:var(--muted);margin-bottom:15px;padding:12px 15px;background:var(--green-light);border:1px solid var(--line);border-radius:8px}
.warehouse-shop{margin-bottom:18px;overflow:hidden}.warehouse-shop>header{display:flex;align-items:center;gap:13px;padding:15px 18px;border-bottom:1px solid var(--line);background:#f5f9f8}.warehouse-shop h3{font-size:14px;margin:0}.warehouse-shop .warehouse-table{table-layout:fixed;min-width:750px}.warehouse-shop th:nth-child(1){width:33%}.warehouse-shop th:nth-child(2){width:12%}.warehouse-shop th:nth-child(3){width:18%}.warehouse-shop th:nth-child(4){width:25%}.warehouse-shop th:nth-child(5){width:12%}.warehouse-shop td,.warehouse-shop th{padding:12px 16px}.warehouse-shop input,.warehouse-shop select{width:100%;min-width:0;min-height:34px;font-size:12px}.warehouse-edited{background:#fffaf0}.warehouse-edited td:first-child{box-shadow:inset 3px 0 #dca04c}
.store-private-input{-webkit-text-security:disc}.topbar .store-privacy-toggle{white-space:nowrap;font-size:11px}.topbar-right{flex-wrap:wrap;gap:10px}.topbar{gap:10px;min-height:67px}
.catalog-match-search .sku-query-control{flex:1;min-width:180px;border:1px solid var(--line);border-radius:7px;padding:8px 10px;background:#fff;display:flex;align-items:center;gap:8px;flex-wrap:wrap}.sku-query-control:focus-within{border-color:var(--green)}.sku-query-control input{flex:1;min-width:170px;width:auto;border:0!important;box-shadow:none!important;padding:4px 0;min-height:29px;background:transparent}.sku-query-tokens{display:flex;gap:7px;flex-wrap:wrap}.sku-query-tokens[hidden]{display:none}.sku-query-tag{position:relative;display:inline-flex;align-items:center;min-height:27px;border:1px solid #b8dcd5;border-radius:5px;background:#edf8f5;color:#276e65;padding:3px 20px 3px 7px;font-size:12px;font-variant-numeric:tabular-nums}.sku-query-tag button{position:absolute;right:1px;top:-3px;border:0;background:transparent;width:18px;height:20px;padding:0;line-height:18px;color:inherit;font-size:15px}.sku-query-tag button:hover{color:var(--red)}

/* Fulfilment channels: quiet tinted groups, strong selected state. */
.workflow-tabs.workflow-grouped{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;padding:10px 12px;overflow:visible}
.workflow-grouped .workflow-channel-groups{display:contents}
.workflow-grouped .workflow-channel-group{display:flex;gap:2px;align-items:center;padding:3px;border:1px solid var(--workflow-border);border-radius:10px;background:var(--workflow-bg);max-width:100%;overflow-x:auto}
.workflow-channel-seller{--workflow-bg:#eff6ff;--workflow-border:#c2d8f2;--workflow-ink:#315f90;--workflow-active:#3777b8;--workflow-hover:#e0edfc}
.workflow-channel-fbp{--workflow-bg:#edf9f5;--workflow-border:#b6dfd1;--workflow-ink:#256e5c;--workflow-active:#27836c;--workflow-hover:#daf1e9}
.workflow-channel-fbo{--workflow-bg:#f5f1fc;--workflow-border:#d8c9ed;--workflow-ink:#70549a;--workflow-active:#8160ae;--workflow-hover:#eae1f7}
.workflow-grouped .workflow-tab{padding:7px;border:0;border-radius:6px;gap:4px;line-height:1.5;min-height:34px;flex:none}
.workflow-grouped .workflow-tab.active{background:var(--green-light);color:var(--green)}
.workflow-grouped .workflow-channel-group .workflow-tab{color:var(--workflow-ink)}
.workflow-grouped .workflow-channel-group .workflow-tab:hover{background:var(--workflow-hover)}
.workflow-grouped .workflow-channel-group .workflow-tab b{background:var(--workflow-hover);color:var(--workflow-ink);font-variant-numeric:tabular-nums}
.workflow-grouped .workflow-channel-group .workflow-tab.active{background:var(--workflow-active);color:#fff}
.workflow-grouped .workflow-channel-group .workflow-tab.active b{background:#ffffff29;color:#fff}
.workflow-grouped .workflow-tab:focus-visible{outline:2px solid var(--workflow-active,var(--green));outline-offset:2px}
.workflow-grouped .workflow-other-tabs{display:flex;flex-wrap:wrap;align-items:center;gap:2px;max-width:100%;border-left:1px solid var(--line);padding-left:8px}

.sync-journal-toolbar,.sync-journal-note{display:flex;align-items:center;gap:12px;justify-content:space-between;padding:10px 14px;border-bottom:1px solid var(--line);flex-wrap:wrap}
.sync-journal-toolbar .tabs{gap:18px}.sync-journal-note{font-size:11px;color:var(--muted)}.sync-journal-filters select{width:150px;min-height:32px;font-size:12px}
.record-time{display:inline-grid;gap:3px;white-space:nowrap;font-variant-numeric:tabular-nums;font-size:11px;line-height:1.5}.record-time>span{display:flex;gap:8px;align-items:baseline}.record-time small{min-width:33px;color:var(--muted);font-size:10px}.sync-journal-table td{vertical-align:top}.sync-journal-table td:nth-last-child(-n+2){white-space:nowrap}.sync-journal-table .mono{font-size:11px;overflow-wrap:anywhere}.job-time{display:flex;flex-wrap:wrap;gap:12px 24px}.job-time>span{display:flex;gap:8px}

.sync-pauses{display:block;margin-top:14px}.sync-pauses p{margin:5px 0 9px}.sync-pauses>div{display:flex;align-items:flex-start;gap:12px;flex-wrap:wrap;padding:8px 0;border-top:1px solid var(--line)}.sync-pauses>div>span:nth-child(2){flex:1;min-width:200px}

.sync-date-presets{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-top:14px}.sync-date-presets>span{margin-right:5px}.sync-date-presets .btn{min-width:48px}.sync-center #central-sync-dates{padding-top:10px}

/* Remarks share the bottom baseline with the dispatch countdown. */
.operations-table tr.has-order-note :is(td.order-identity,td.order-fees-cell){position:relative;padding-bottom:42px}
.operations-table tr.has-order-note td.order-identity>.order-deadline{position:absolute;left:13px;bottom:12px;margin-top:0}
.order-cost-note{position:absolute;left:13px;right:13px;bottom:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:600;line-height:1.6;color:#c93535}

.dashboard-profit-brief{display:flex;align-items:center;gap:20px;padding:14px 18px;margin-bottom:18px;flex-wrap:wrap}
.dashboard-profit-brief>div,.dashboard-profit-brief>.dashboard-brief-need{display:grid;gap:5px;min-width:130px}.dashboard-profit-brief span{font-size:11px;color:var(--muted)}.dashboard-profit-brief strong{font-size:18px;font-variant-numeric:tabular-nums}.dashboard-profit-brief p{flex:1;min-width:220px;font-size:11px;line-height:1.8;color:var(--muted)}
.dashboard-brief-need{border:0;background:transparent;color:var(--ink);text-align:left;padding:0;cursor:pointer}.dashboard-brief-need:hover strong{color:var(--green)}
.dashboard-sync-warnings{display:grid;gap:7px;margin:12px 0}.dashboard-sync-warnings button{display:grid;gap:5px;text-align:left;padding:10px;border:1px solid var(--line);border-radius:6px;background:var(--paper);color:var(--ink);font-size:11px}.dashboard-sync-warnings span{color:var(--muted)}
.report-trend-heading{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:15px 16px;font-size:12px}.report-trend-heading span{color:var(--muted)}.report-main .shared-trend-charts{padding:0 16px 12px}.report-main .trend-chart-note{padding:0 16px 16px;margin:0}.report-grain[hidden]{display:none!important}.quick-comparison small{font-size:10px;font-weight:400;color:var(--muted)}

.report-trend-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:14px 16px 0}.report-month-picker{display:grid;gap:20px;max-height:60vh;overflow:auto}.report-month-picker h3{margin:0 0 10px;font-size:14px}.report-month-tags{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:9px}.report-month-tags .btn{display:grid;gap:5px;text-align:left;padding:12px}.report-month-tags b{font-size:13px;font-variant-numeric:tabular-nums}.report-month-tags small{font-size:10px;opacity:.8;font-weight:400}.report-date-presets .btn{white-space:nowrap}

/* Four-digit daily finance interval remains readable alongside its unit. */
.sync-auto-rule .sync-interval.sync-interval-wide{width:72px;max-width:72px;flex-basis:72px}

.order-platform-sku-id{display:flex;align-items:baseline;gap:7px;font-size:11px;line-height:1.6;margin-top:2px}.order-platform-sku-id .ozon-sku-value{white-space:nowrap;user-select:text}

.desk-date-filter{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:12px 18px 0}.desk-date-filter .date-presets{display:flex;gap:6px;flex-wrap:wrap}

#waybill-summary{font-size:13px;font-weight:600;line-height:1.8}

.commission-tiers{display:grid;grid-template-columns:minmax(84px,1fr) repeat(3,minmax(72px,1fr));gap:8px;align-items:center}.commission-tiers .tier-heading{font-size:10px;color:var(--muted);white-space:nowrap}.commission-tiers b{font-size:12px}.commission-tiers label{min-width:0}.commission-tiers input{width:100%;box-sizing:border-box}.commission-tiers .ogl-flat-rate{grid-column:span 3;max-width:90px}.commission-settings small{font-size:11px;line-height:1.6}

/* Completed-order statement: an explicit estimate/ledger comparison. */
.order-profit-statement{padding:20px;margin:18px 0}.statement-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.statement-heading h3{margin:0}.statement-heading p{margin:6px 0 0}.statement-profit-grid{display:grid;grid-template-columns:1fr 1.3fr;gap:16px;margin:18px 0}.statement-profit-grid>div{padding:16px;border:1px solid var(--line,#dce7e5);border-radius:8px;display:grid;gap:7px}.statement-profit-grid>div>span{font-size:13px;font-weight:600}.statement-profit-grid b{font-size:23px;font-variant-numeric:tabular-nums}.statement-profit-grid small,.statement-money small{display:block;color:var(--muted,#718189);font-size:12px;font-variant-numeric:tabular-nums}.statement-profit-grid .statement-actual{border-color:var(--line);background:var(--paper)}.statement-profit-grid .statement-actual.is-loss{border-color:#d36a65;background:#fff5f3}.statement-profit-grid .statement-actual.is-gain{border-color:#9acfc2;background:#f0faf6}.statement-profit-grid .statement-actual>b{font-size:34px;color:var(--muted);line-height:1.15}.statement-profit-grid .statement-actual>small:first-of-type{font-size:18px;color:var(--muted)}.statement-profit-grid .statement-actual.is-gain>b,.statement-profit-grid .statement-actual.is-gain>small:first-of-type{color:#008b79}.statement-profit-grid .statement-actual.is-loss>b,.statement-profit-grid .statement-actual.is-loss>small:first-of-type{color:#bd302c}.statement-table th:nth-child(1){width:19%}.statement-table th:nth-child(2),.statement-table th:nth-child(3){width:21%}.statement-table td{vertical-align:middle}.statement-money b{font-size:14px;font-variant-numeric:tabular-nums}.statement-money small{margin-top:4px}.statement-definition{line-height:1.7}.statement-fx{font-size:12px;padding:12px;border-top:1px solid var(--line,#dce7e5);line-height:1.8}.disposal-notice>b{color:#bd302c}.disposal-summary{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding:18px 0}.disposal-summary>span:last-child{font-size:12px;color:var(--muted,#718189)}.disposal-table{min-width:1100px}.disposal-table td{vertical-align:top;font-size:12px;line-height:1.8}.disposal-table th:nth-child(1){width:18%}.disposal-table th:nth-child(2){width:20%}.disposal-table th:nth-child(4){width:29%}
html[data-theme=dark] .statement-profit-grid .statement-actual{background:#1a2831;border-color:#30424d}html[data-theme=dark] .statement-profit-grid .statement-actual.is-loss{background:#39282c;border-color:#9a5554}html[data-theme=dark] .statement-profit-grid .statement-actual.is-gain{background:#153b34;border-color:#28594d}html[data-theme=dark] .statement-profit-grid .statement-actual.is-gain>b,html[data-theme=dark] .statement-profit-grid .statement-actual.is-gain>small:first-of-type{color:#6ad9bb}html[data-theme=dark] .statement-profit-grid .statement-actual.is-loss>b,html[data-theme=dark] .statement-profit-grid .statement-actual.is-loss>small:first-of-type,html[data-theme=dark] .disposal-notice>b{color:#ff9993}
@media(max-width:700px){.statement-profit-grid{grid-template-columns:1fr}.statement-heading{align-items:flex-start;flex-direction:column}}

.completed-subtabs{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:12px 18px;border-bottom:1px solid var(--line,#dce7e5);background:var(--paper,#fff)}.completed-subtabs>span:first-child{margin-right:6px}.completed-subtabs .btn{min-width:90px;font-variant-numeric:tabular-nums}html[data-theme=dark] .completed-subtabs{background:#18262f;border-color:#30424d}

.order-waybill{color:#236bd4;font-weight:600}html[data-theme=dark] .order-waybill{color:#80b9ff}

.desk-note-editor{display:grid;gap:8px;padding:14px 0;margin:8px 0 14px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.desk-note-editor h3{margin:0;font-size:14px}.desk-note-editor textarea{width:100%;min-height:76px;resize:vertical}

.freight-custom{margin-top:12px;padding:12px 16px}
.freight-custom>summary{cursor:pointer;color:var(--muted)}
.freight-custom[open]>summary{margin-bottom:12px}
.freight-custom>.table-scroll{margin-top:12px}
