#promotion-root{font-size:13px;color:var(--text);font-variant-numeric:tabular-nums}
#promotion-root [hidden]{display:none!important}
.promo-head,.promo-actions,.promo-detail-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.promo-head h2{font-size:23px;margin:0 0 8px}.promo-head p,.promo-upload p,.promo-currencies p{color:#596174;line-height:1.7;margin:6px 0 12px}
.promo-status{margin:8px 0 18px;color:#596174;font-size:12px}.promo-message{padding:12px 16px;background:#eef2ff;color:#343c86;border-radius:10px;margin-bottom:16px;line-height:1.7}.promo-error{background:#fff0ef;color:#a42c28}
.promo-toolbar{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap;padding:16px;margin-bottom:16px}
.promo-toolbar > label,.promo-upload label{display:flex;flex-direction:column;gap:7px;color:#495165;font-size:12px}.promo-toolbar input,.promo-toolbar select,.promo-upload input{height:36px;border:1px solid #d6dae5;border-radius:7px;padding:0 10px;background:#fff;color:var(--text);max-width:100%}
.promo-toolbar .promo-search{flex:1;min-width:160px}.promo-toolbar select{max-width:250px}
.promo-toolbar .sales-ms-top input{height:30px}.promo-toolbar .sales-ms-list label{flex-direction:row}.promo-toolbar .sales-ms-list input{padding:0}
.promo-summary span,.promo-summary small{color:#596174!important}.promo-summary strong{font-size:24px!important}.promo-currencies{padding:18px;margin-bottom:16px}.promo-currencies h3,.promo-charts h3,.promo-upload h3,.promo-detail h3{font-size:15px;margin:0}.promo-currencies>div{display:flex;gap:24px;flex-wrap:wrap}.promo-currencies span{display:flex;flex-direction:column;gap:8px;color:#596174;font-size:12px}.promo-currencies b{color:var(--text);font-size:18px}
.promo-charts{margin-bottom:16px}.promo-charts article{padding:18px;min-width:0}.promo-chart{height:280px;min-width:0}.promo-detail{overflow:hidden;padding:0}.promo-detail-head{padding:18px}.promo-detail-head span{font-size:12px;color:#596174}
.promo-table-scroll{overflow:auto;max-height:650px;scrollbar-color:#b3b9cd #f3f4f8;scrollbar-width:thin}.promo-table-scroll table{border-collapse:separate;border-spacing:0;width:100%;font-size:12px;white-space:nowrap}.promo-table-scroll th,.promo-table-scroll td{padding:12px 14px;text-align:right;border-bottom:1px solid #e5e8ef}.promo-table-scroll td:nth-child(-n+6){text-align:left}.promo-table-scroll thead{position:sticky;top:0;z-index:2}.promo-table-scroll th{background:#f2f4fb;color:#46516c}.promo-table-scroll th button{border:0;background:transparent;color:inherit;font:inherit;font-weight:600;cursor:pointer;white-space:nowrap}.promo-table-scroll tbody tr:hover td{background:#f7f8ff}.promo-table-scroll tfoot td{background:#f2f4fb;font-weight:600}.promo-table-scroll .promo-name{max-width:270px;white-space:normal;min-width:180px}.promo-table-scroll th:first-child,.promo-table-scroll tbody td:first-child{position:sticky;left:0;background:#fff;z-index:1}.promo-table-scroll th:first-child{background:#f2f4fb}.promo-empty{text-align:center!important;padding:36px!important;color:#596174}
.promo-upload,.promo-issues,.promo-history{padding:18px;margin-bottom:16px}.promo-upload form{display:flex;align-items:flex-end;flex-wrap:wrap;gap:12px}.promo-file input{padding:5px}.promo-upload li,.promo-issues li{line-height:1.8}.promo-upload #promo-preview{margin-top:16px;max-height:380px;overflow:auto}.promo-history{margin-top:16px}.promo-history summary,.promo-issues summary{cursor:pointer;font-weight:600}.promo-history table{margin-top:12px}.promo-upload input[type=file]{max-width:260px}
#promotion-root :is(button,input,select,summary):focus-visible{outline:2px solid var(--primary);outline-offset:3px}#promotion-root input{caret-color:var(--primary)}#promotion-root ::selection{background:#dfe3ff;color:#303a82}
@media(max-width:900px){.promo-charts{grid-template-columns:1fr!important}.promo-summary{grid-template-columns:repeat(2,1fr)}.promo-head{align-items:flex-start}.promo-actions{justify-content:flex-start}.promo-toolbar > label{flex:1;min-width:130px}.promo-toolbar select{width:100%}.promo-upload label{width:100%}.promo-upload input{width:100%}}

/* Same grouped table behavior as the sales dashboard: two pinned header rows and stacked currency totals. */
.promo-detail .promo-table-scroll{max-height:calc(34px + 44px + 660px + var(--promo-total-height,44px) + 18px);isolation:isolate;scrollbar-gutter:stable;overscroll-behavior:contain;border-top:1px solid #e2e7f0}
.promo-table-scroll .promo-sku-table{table-layout:fixed;width:3620px;min-width:3620px;--promo-group-height:34px}
.promo-sku-table col{width:132px}.promo-sku-table .promo-col-0{width:92px}.promo-sku-table .promo-col-1{width:72px}.promo-sku-table .promo-col-2{width:240px}.promo-sku-table .promo-col-3{width:180px}
.promo-table-scroll .promo-sku-table thead{position:static}.promo-sku-table thead th{position:sticky;z-index:8;padding:0 12px;border-bottom:1px solid #cbd5e1}
.promo-sku-table .promo-group-head th{top:0;height:var(--promo-group-height);text-align:center;font-size:12px}
.promo-sku-table .promo-column-head th{top:var(--promo-group-height);height:44px;z-index:9;text-align:right}
.promo-sku-table .promo-column-head th:nth-child(-n+6){text-align:left}.promo-sku-table .promo-column-head button{height:44px;width:100%;text-align:inherit;padding:0}
.promo-sku-table td{height:44px;padding:10px 12px}.promo-sku-table tbody .promo-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.promo-sku-table .promo-g0{background:#fff}.promo-sku-table .promo-g1{background:#fffcf2}.promo-sku-table .promo-g2{background:#f1fbf6}.promo-sku-table .promo-g3{background:#f5f6ff}
.promo-sku-table thead .promo-g0{background:#f1f5f9;color:#475569}.promo-sku-table thead .promo-g1{background:#fff3cd;color:#855006;border-color:#ecd69e}.promo-sku-table thead .promo-g2{background:#dcf3e6;color:#166342;border-color:#abd6bd}.promo-sku-table thead .promo-g3{background:#e7eaff;color:#414aa1;border-color:#bec5ee}
.promo-sku-table tbody tr:hover .promo-g0{background:#f3f5fa}.promo-sku-table tbody tr:hover .promo-g1{background:#fff6d9}.promo-sku-table tbody tr:hover .promo-g2{background:#e4f6ec}.promo-sku-table tbody tr:hover .promo-g3{background:#eaedff}
.promo-sku-table .promo-frozen{position:sticky;z-index:3}.promo-sku-table tr>.promo-frozen:nth-child(1){left:0}.promo-sku-table tr>.promo-frozen:nth-child(2){left:92px}.promo-sku-table tr>.promo-frozen:nth-child(3){left:164px}.promo-sku-table tr>.promo-frozen:nth-child(4){left:404px;box-shadow:4px 0 7px #30376612}
.promo-sku-table .promo-column-head .promo-frozen{z-index:11}.promo-sku-table .promo-group-head .promo-identity-head{left:0;z-index:12;box-shadow:4px 0 7px #30376612}
.promo-sku-table tfoot{position:static}.promo-sku-table tfoot td{position:sticky;bottom:var(--promo-footer-bottom,0px);z-index:5;height:44px;padding:0 12px;border-top:1px solid #bec5d5;border-bottom:0;box-shadow:0 -2px 4px #30376608;font-weight:700}
.promo-sku-table tfoot td.promo-frozen{z-index:7}.promo-sku-table tfoot .promo-g0{background:#eaf0f7}.promo-sku-table tfoot .promo-g1{background:#fff0c2}.promo-sku-table tfoot .promo-g2{background:#d8efdf}.promo-sku-table tfoot .promo-g3{background:#dfe5ff}
@media(max-width:760px){.promo-sku-table .promo-frozen:nth-child(3),.promo-sku-table .promo-frozen:nth-child(4){left:auto!important;box-shadow:none}.promo-sku-table .promo-group-head .promo-identity-head{left:auto;box-shadow:none}.promo-toolbar .sales-ms{flex:1;min-width:140px}.promo-toolbar .sales-ms-panel{width:min(260px,calc(100vw - 48px))}}
