.main.is-promotion > .filters,.main.is-promotion > .kpi-grid,.main.is-promotion #exportBtn,.main.is-promotion .upload-menu{display:none}
.main.is-promotion .workspace-status,.main.is-promotion #syncDataBtn,.main.is-promotion #systemTimeHint,.main.is-promotion .eyebrow{display:none}
#promotionView{color:#263c48;width:100%;max-width:none;min-width:0}
#promotionView button,#promotionView input,#promotionView select{font:inherit}
#promotionView button{width:auto;min-width:0;min-height:32px;white-space:nowrap;line-height:1.4;flex:0 0 auto}
#promotionView input[type=checkbox]{width:16px;height:16px;min-width:16px;min-height:16px;padding:0;flex:0 0 16px}
#promotionView .promo-series label{white-space:nowrap;flex:0 0 auto}
#promotionView .promo-actions button,#promotionView .promo-dialog-actions button,#promotionView [data-promo-export],#promotionView [data-promo-range]{padding:9px 13px}
#promotionView .promo-chart svg{stroke:none;stroke-width:0;fill:none}
#promotionView .promo-chart text{stroke:none;stroke-width:0}
#promotionView .promo-dialog th{text-align:left}
.promo-intro{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:8px 0 18px}
.promo-kicker{color:#168f84;font-size:12px;font-weight:700;letter-spacing:1px;margin:0 0 8px}
.promo-intro h2{font-size:25px;margin:0 0 9px}.promo-intro p:last-child{color:#77858b;font-size:14px;margin:0}
.promo-actions{display:flex;gap:10px;flex-shrink:0}.promo-upload{display:inline-flex;align-items:center;cursor:pointer;padding:10px 16px;border-radius:7px}
.promo-source{background:#edf6f3;border:1px solid #dbece5;border-radius:7px;padding:11px 15px;font-size:12px;color:#486d65;line-height:1.7;margin-bottom:18px;overflow-wrap:anywhere}
.promo-filters{display:flex;align-items:flex-end;gap:15px;flex-wrap:wrap;padding:17px 20px;background:white;border:1px solid #e3ebed;border-radius:9px;margin-bottom:18px}
.promo-filters label,.promo-metric{display:flex;flex-direction:column;gap:7px;font-size:12px;color:#71818a}
.promo-filters input,.promo-filters select,.promo-metric select,.promo-dialog select{padding:8px 10px;border:1px solid #dce6e9;border-radius:6px;background:white;color:#304c58;min-height:37px}
.promo-filters select{min-width:155px}.promo-filters [data-promo-filter=spu]{min-width:210px}
.promo-message{font-size:14px;line-height:1.7;margin:10px 0;color:#6b7f87}.promo-message:empty{display:none}.promo-message.is-error,.promo-dialog-error{color:#b74743}
.promo-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:23px}
.promo-cards article{background:#fff;border:1px solid #e3ebed;border-radius:9px;padding:20px;display:flex;flex-direction:column;gap:13px}
.promo-cards article:first-child{border-top:3px solid #269b8d;padding-top:18px}
.promo-cards span{font-size:13px;color:#71828a}.promo-cards strong{font-size:27px;letter-spacing:-.4px;overflow-wrap:anywhere}.promo-cards em{font-size:13px;color:#789098;font-style:normal;font-weight:400}.promo-cards small{font-size:11px;color:#8b9ba2}
.promo-tabs{display:flex;gap:8px;margin-bottom:18px;border-bottom:1px solid #dce7e8}
.promo-tabs button{background:none;border:0;border-bottom:3px solid transparent;color:#71858d;padding:11px 23px;cursor:pointer}
.promo-tabs button.active{color:#138d81;border-bottom-color:#18988a;font-weight:700}
.promo-panel{border:1px solid #e1e9ec;border-radius:9px;background:#fff;padding:20px;margin-bottom:20px;min-width:0}
.promo-panel-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:17px}.promo-panel h3,.promo-dialog h3{font-size:16px;margin:0}.promo-panel-head h2{font-size:20px;margin:0}.promo-panel-head p{font-size:12px;color:#87969c;margin:7px 0 0}
.promo-table-wrap{overflow:auto}.promo-table-wrap table{width:100%;border-collapse:collapse;font-size:13px;white-space:nowrap}.promo-table-wrap th{text-align:right;font-weight:500;color:#7f929b;background:#f6f9fa;padding:12px 15px;border-bottom:1px solid #e6edef}.promo-table-wrap td{text-align:right;padding:14px 15px;border-bottom:1px solid #edf2f3;font-variant-numeric:tabular-nums}.promo-table-wrap th:first-child,.promo-table-wrap td:first-child{text-align:left}.promo-table-wrap td:first-child{color:#33515e}.promo-table-wrap tbody tr:last-child td{border-bottom:0}.promo-table-wrap tbody tr:hover{background:#f8fbfa}
.promo-link{background:none;border:0;color:#168e81;cursor:pointer;padding:4px 5px;font-size:12px}
.promo-series{display:flex;flex-wrap:wrap;align-items:center;gap:10px 17px;font-size:12px;padding:3px 0 18px}.promo-series label{display:flex;align-items:center;gap:6px;cursor:pointer}.promo-series i{display:inline-block;width:8px;height:8px;border-radius:50%}.promo-series input{accent-color:#15958a}
.promo-chart svg{display:block;width:100%;height:auto;min-height:210px}.promo-chart text{font-size:11px;fill:#8799a0;font-family:inherit}.promo-chart-empty{display:grid;place-items:center;min-height:240px;color:#83979f;font-size:14px}
.promo-note{font-size:12px;line-height:1.8;color:#82949d;margin:9px 0}.promo-warning{color:#986919;background:#fffbef;padding:10px 13px;border-radius:6px;font-size:12px;line-height:1.8}
.promo-empty{border:1px dashed #d4e3e5;border-radius:9px;background:#fff;text-align:center;padding:75px 20px;margin-top:20px}.promo-empty h3{font-size:18px;color:#557680}.promo-empty p{font-size:13px;color:#859ba2}.promo-details{max-height:460px}
.promo-dialog{border:0;border-radius:12px;box-shadow:0 15px 70px #172d4033;padding:27px;width:min(800px,92vw);max-height:88vh;overflow:auto;color:#304b57}.promo-dialog::backdrop{background:#132d3f66}.promo-dialog .promo-table-wrap{max-height:300px}.promo-dialog select{width:100%;min-width:160px}.promo-dialog-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:18px}.promo-preview-totals{display:flex;flex-direction:column;gap:8px;background:#f0f8f5;padding:17px;border-radius:8px;margin-bottom:14px}.promo-preview-totals strong{font-size:28px;color:#177d70}.promo-preview-totals span{color:#6b8987;font-size:12px}.promo-blank-choice{display:flex;align-items:center;gap:7px;font-size:13px;margin:14px 0}
@media(max-width:1050px){.promo-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.promo-intro{align-items:flex-start}.promo-actions{flex-wrap:wrap}.promo-cards strong{font-size:24px}}
@media(max-width:640px){.promo-intro{flex-direction:column}.promo-cards{gap:9px}.promo-cards article{padding:14px}.promo-cards strong{font-size:21px}.promo-panel{padding:12px}.promo-filters{padding:12px;gap:10px}.promo-filters label{flex:1;min-width:130px}.promo-filters select,.promo-filters input,.promo-filters [data-promo-filter=spu]{min-width:0;width:100%}.promo-panel-head{align-items:flex-start}.promo-chart{overflow:auto}.promo-chart svg{min-width:650px}.promo-cards small{line-height:1.5}}
@media(max-width:640px){#promotionView [data-promo-range]{flex:1 1 100%;width:100%}.promo-actions{width:100%}.promo-actions .promo-upload{justify-content:center}}

/* Promotion workspace: readable type, quiet surfaces and clear visual hierarchy. */
#promotionView { font-size: 16px; line-height: 1.6; color: #304b57; }
#promotionView .promo-intro { margin: 6px 0 24px; }
#promotionView .promo-intro h2 { font-size: 28px; letter-spacing: -.5px; color: #183b43; }
#promotionView .promo-kicker { font-size: 13px; }
#promotionView .promo-intro p:last-child { font-size: 15px; color: #657d87; }
#promotionView .promo-source { font-size: 14px; padding: 12px 16px; border-radius: 10px; color: #4a736b; }
#promotionView .promo-filters { padding: 20px; gap: 18px; border-radius: 12px; }
#promotionView .promo-filters label, #promotionView .promo-metric { font-size: 14px; color: #607780; font-weight: 500; }
#promotionView .promo-filters input, #promotionView .promo-filters select, #promotionView .promo-metric select { font-size: 15px; min-height: 42px; border-radius: 8px; }
#promotionView button, #promotionView .promo-upload { min-height: 40px; border-radius: 8px; }
#promotionView :is(button, input, select, .promo-upload):focus-visible { outline: 2px solid #15887d; outline-offset: 3px; }
#promotionView .promo-cards { gap: 18px; margin: 22px 0 26px; }
#promotionView .promo-cards article { border-radius: 12px; padding: 22px; gap: 12px; box-shadow: 0 2px 5px #233f4d03; }
#promotionView .promo-cards article:first-child { border: 1px solid #c9e7e0; background: #f1faf7; }
#promotionView .promo-cards span { font-size: 15px; color: #5a727d; }
#promotionView .promo-cards strong { font-size: 32px; color: #203f49; line-height: 1.3; font-weight: 700; }
#promotionView .promo-cards article:first-child strong { color: #137c6c; }
#promotionView .promo-cards small, #promotionView .promo-cards em { font-size: 14px; color: #68818b; }
#promotionView .promo-tabs { display: inline-flex; max-width: 100%; padding: 5px; gap: 4px; background: #e8eef0; border: 1px solid #e1e8eb; border-radius: 10px; margin-bottom: 20px; }
#promotionView .promo-tabs button { padding: 9px 24px; border: 0; font-size: 16px; border-radius: 7px; color: #617984; }
#promotionView .promo-tabs button.active { background: #fff; color: #127e70; box-shadow: 0 1px 4px #243f4b12; }
#promotionView .promo-panel { padding: 24px; border-radius: 12px; border-color: #dfe8ec; box-shadow: 0 2px 6px #203c4903; margin-bottom: 22px; }
#promotionView .promo-panel-head { margin-bottom: 20px; }
#promotionView .promo-panel h3 { font-size: 20px; color: #203f49; font-weight: 650; }
#promotionView .promo-panel-head p { font-size: 14px; color: #6b818b; line-height: 1.7; }
#promotionView .promo-table-wrap { border: 1px solid #e4ecee; border-radius: 9px; }
#promotionView .promo-table-wrap table { font-size: 18px; }
#promotionView .promo-table-wrap th { font-size: 15px; font-weight: 600; color: #607b87; background: #f5f8f9; padding: 14px 18px; }
#promotionView .promo-table-wrap td { padding: 17px 18px; color: #38525e; font-size: 18px; }
#promotionView .promo-table-wrap td:first-child { color: #284a56; }
#promotionView .promo-table-wrap tbody tr:hover { background: #f3faf7; }
#promotionView .promo-link { font-size: 15px; font-weight: 500; }
#promotionView .promo-table-wrap .promo-link { padding: 7px 10px; background: #eff8f5; min-height: 36px; }
#promotionView .promo-series { font-size: 15px; gap: 10px; padding: 0 0 18px; }
#promotionView .promo-series label { padding: 7px 10px; gap: 8px; background: #f6f8f9; border: 1px solid #e6edef; border-radius: 8px; color: #506b76; }
#promotionView .promo-series label:has(:checked) { background: #eef8f4; border-color: #c9e5dc; color: #256658; }
#promotionView .promo-series label:hover { border-color: #96c9bd; }
#promotionView .promo-chart text { font-size: 12px; fill: #6b818b; }
#promotionView .promo-note { font-size: 14px; color: #6a808b; line-height: 1.85; }
#promotionView .promo-preview-totals span, #promotionView .promo-warning { font-size: 14px; }
@media (max-width: 1050px) {
  #promotionView .promo-cards strong { font-size: 29px; }
}
@media (max-width: 640px) {
  #promotionView .promo-panel { padding: 16px; }
  #promotionView .promo-cards { gap: 10px; }
  #promotionView .promo-cards article { padding: 16px; }
  #promotionView .promo-cards strong { font-size: clamp(18px, 5vw, 23px); white-space: nowrap; }
  #promotionView .promo-cards span, #promotionView .promo-cards small { font-size: 13px; }
  #promotionView .promo-filters { padding: 16px; gap: 12px; }
  #promotionView .promo-panel h3 { font-size: 18px; }
  #promotionView .promo-series { font-size: 14px; }
}

#promotionView .promo-trend-filterbar { gap: 12px; align-items: flex-end; }
#promotionView .promo-trend-filterbar label { min-width: 118px; font-size: 13px; }
#promotionView .promo-trend-filterbar [data-promo-trend="spu"] { min-width: 180px; max-width: 300px; }
#promotionView .promo-trend-filterbar strong { min-width: 0; white-space: normal; font-size: 13px; }
#promotionView .promo-trends .daily-combined-trend-chart-head h3 { font-size: 15px; }
#promotionView .promo-trends .daily-combined-trend-chart-head :is(span,strong) { font-size: 13px; color: #66737b; }
#promotionView .promo-trends canvas { display: block; width: 100%; max-width: 100%; }
@media (max-width: 640px) {
  #promotionView .promo-trend-filterbar { display: flex; flex-wrap: wrap; }
  #promotionView .promo-trend-filterbar label { flex: 1 1 130px; min-width: 0; }
  #promotionView .promo-trend-filterbar [data-promo-trend="spu"] { min-width: 0; max-width: none; }
  #promotionView .promo-trend-filterbar strong { flex: 1 1 100%; text-align: left; }
  #promotionView .promo-trends .daily-combined-trend-chart-head { flex-wrap: wrap; }
  #promotionView .promo-trends canvas { min-width: 0; }
}
