.refdash{--ink:#0c2048;--muted:#7383a5;--line:#e4eaf2;--blue:#1769f7;--green:#08a968;--red:#ef3340;--orange:#ff9d16;min-height:100vh;background:#f4f7fb;color:var(--ink);font:11px Inter,Arial,sans-serif;font-variant-numeric:tabular-nums}
.rd-topbar{height:52px;position:sticky;top:0;z-index:5;background:#fff;border-bottom:1px solid #dfe6f0;display:flex;align-items:center;gap:17px;padding:0 20px;white-space:nowrap}
.rd-company{min-width:151px;font-size:12px;display:flex;justify-content:space-between;align-items:center}.rd-company span,.rd-division{color:#566b91}.rd-division{display:flex;gap:10px;align-items:center;border-left:1px solid #e4eaf2;padding-left:18px;font-size:15px}.rd-division span{font-size:10px}.rd-search{height:32px;max-width:420px;flex:1;margin:auto;background:#f4f7fb;border:1px solid #e8edf4;border-radius:6px;color:#7184a5;display:flex;align-items:center;padding:0 10px;gap:8px;font-size:16px}.rd-search span{font-size:10px;overflow:hidden;text-overflow:ellipsis}.rd-search kbd{margin-left:auto;font-size:9px;background:#e8edf5;padding:4px;border-radius:4px}.rd-topbar button{border:0;color:#7585a5;background:transparent}.rd-square{height:31px;width:31px;border-radius:5px!important;background:#97a5be!important;color:white!important;font-size:23px}.rd-bell{position:relative;font-size:20px}.rd-bell i{position:absolute;top:-2px;right:-4px;background:#ef202b;color:white;border-radius:12px;font:700 8px Inter;padding:2px 4px}.rd-help{border:2px solid #92a2be!important;border-radius:50%;width:19px;height:19px;font-weight:bold}.rd-user{display:flex;align-items:center;gap:9px;margin-left:2px}.rd-avatar{width:29px;height:29px;display:grid;place-items:center;border-radius:50%;background:linear-gradient(135deg,#e5bb9b,#314d77);color:white;font-size:9px}.rd-user b,.rd-user small{display:block}.rd-user b{font-size:10px}.rd-user small{font-size:9px;color:#7788a8;margin-top:3px}.rd-user strong{margin-left:15px;color:#7183a2}
.rd-content{padding:13px 20px 14px;max-width:1600px;margin:auto}.rd-title-row{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:12px}.rd-crumb{font-size:11px;color:#61769e;margin-bottom:8px}.rd-title-row h1{font-size:24px;line-height:1;margin:0 0 4px;font-weight:750;letter-spacing:-.5px}.rd-title-row p{font-size:11px;color:#687d9f;margin:0}.rd-period{display:flex;gap:12px}.rd-period button,.rd-panel-head button{height:33px;border:1px solid #dfe7f2;border-radius:5px;color:#1e315a;background:#fff;font:10px Inter;padding:0 9px;white-space:nowrap}
.rd-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;margin-bottom:11px}.rd-kpi{height:81px;background:#fff;border:1px solid #e7edf4;border-radius:6px;display:flex;align-items:flex-start;padding:12px 14px;gap:14px;box-shadow:0 1px 2px #304b7410;min-width:0}.rd-kpi>i{font-style:normal;font-size:17px;font-weight:bold;width:33px;height:34px;display:grid;place-items:center;border-radius:6px;flex:0 0 auto}.rd-kpi .blue{color:#1672ff;background:#e8f2ff}.rd-kpi .green{color:#00a96a;background:#e0f9ed}.rd-kpi .orange{color:#ff9e11;background:#fff4e2}.rd-kpi .red{color:#fb4654;background:#ffeaed}.rd-kpi small{display:block;color:#536b94;font-size:10px;margin:1px 0 6px;white-space:nowrap}.rd-kpi b{display:block;font-size:18px;line-height:19px;letter-spacing:-.3px;white-space:nowrap}.rd-kpi b em{font-size:9px;color:#7889a7;font-style:normal;font-weight:400;letter-spacing:0;margin-left:4px}.rd-kpi span{display:block;font-size:10px;margin-top:3px}.rd-kpi em{font-style:normal}.rd-kpi .up{color:#00a763;font-weight:600}.rd-kpi .down{color:#ec3444;font-weight:600}.rd-kpi .down.green-down{color:#00a763}.rd-kpi .up em,.rd-kpi .down em,.rd-kpi .muted{color:#8492ac;font-weight:400}.rd-progress{height:7px;background:#e9eef5;border-radius:8px;width:100%;margin-top:5px!important;overflow:hidden}.rd-progress i{display:block;width:87%;height:100%;background:#09ae6b;border-radius:8px}
.rd-actions{height:50px;border:1px solid #e7edf4;border-radius:6px;background:#fff;margin-bottom:11px;padding:6px 10px;display:flex;align-items:center;gap:9px}.rd-actions>b{font-size:12px;margin-right:7px;white-space:nowrap}.rd-actions button{height:35px;border:1px solid #e0e7f1;background:#fff;border-radius:5px;color:#152951;font:10px Inter;font-weight:600;white-space:nowrap;flex:1}.rd-actions button.primary{background:#0964ef;color:white;border-color:#0964ef;max-width:155px}.rd-actions button:last-child{flex:0 0 41px}
.rd-analytics{display:grid;grid-template-columns:1.45fr 1.45fr 1fr 1fr;gap:8px;margin-bottom:10px}.rd-panel,.rd-table{border:1px solid #e6ecf4;background:white;border-radius:6px;min-width:0;overflow:hidden}.rd-analytics>.rd-panel{height:206px;padding:10px 12px}.rd-panel-head{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:16px}.rd-panel-head>b{font-size:12px;letter-spacing:-.2px}.rd-panel-head button{height:25px;padding:0 8px;font-size:9px}.rd-total{display:flex;align-items:center;gap:15px;margin:4px 0 0}.rd-total>b{font-size:17px}.rd-total>span{color:#00a763;font-weight:700;font-size:11px}.rd-total small{font-size:9px;color:#7686a4}.rd-chart{height:112px;position:relative;margin:3px 0 0 27px}.rd-chart svg{height:100%;width:100%;overflow:visible}.rd-ylabels{position:absolute;left:-28px;top:0;bottom:0;display:flex;flex-direction:column;justify-content:space-between;color:#7283a2;font-size:8px}.gridline{stroke:#e9eef5;stroke-width:1}.bars path{stroke:#c8e1ff;stroke-width:10;stroke-linecap:butt}.line{fill:none;stroke:#1671f8;stroke-width:2}.line+circle{fill:#1671f8}.prod-bars path:first-child{stroke:#c7cfdf;stroke-width:8}.prod-bars path+path{stroke:#0cba75;stroke-width:6}.rd-xlabels{display:flex;justify-content:space-between;color:#7283a2;font-size:8px;margin:2px 2px 0 27px}.rd-legend{display:flex;justify-content:center;gap:14px;color:#65799b;font-size:9px;margin-top:8px}.rd-legend span:first-child{color:#2675e9}.rd-legend span+span{color:#a9cfff}.rd-production .rd-legend span:first-child{color:#9ba7be}.rd-production .rd-legend span+span{color:#08ad70}.rd-funnel p,.rd-stock p{margin:5px 0 7px;color:#536a91;font-size:11px}.funnel-row{height:21px;display:flex;align-items:center;gap:8px}.funnel-row i{height:19px;display:block;clip-path:polygon(0 0,100% 0,91% 100%,9% 100%);background:#428cf3;width:99px;flex:0 0 99px}.funnel-row:nth-of-type(3) i{width:85px;background:#8a56ed}.funnel-row:nth-of-type(4) i{width:68px;background:#f24d65}.funnel-row:nth-of-type(5) i{width:52px;background:#ffad00}.funnel-row:nth-of-type(6) i{width:39px;background:#17bf7d}.funnel-row:nth-of-type(7) i{width:30px;background:#66d59f}.funnel-row span{color:#687b9d;font-size:8px;white-space:nowrap;display:flex;justify-content:space-between;flex:1}.funnel-row span b{color:#243b65;font-size:9px}.rd-stock{position:relative}.donut{width:116px;height:116px;border-radius:50%;margin:6px 5px 0;background:conic-gradient(#3f8ff6 0 42%,#0bb777 42% 70%,#4969d7 70% 88%,#acbad1 88% 95%,#e6ebf2 95%);display:grid;place-items:center;float:left}.donut:before{content:"";position:absolute;width:78px;height:78px;border-radius:50%;background:#fff}.donut div{z-index:1;display:flex;align-items:center;flex-direction:column}.donut div b{font-size:14px}.donut div small{font-size:8px;margin-top:2px}.rd-stock ul{list-style:none;margin:14px 0 0;padding:0;display:grid;gap:9px}.rd-stock li{display:flex;justify-content:space-between;gap:4px;color:#65799d;font-size:8px;white-space:nowrap}.rd-stock li:before{content:"●";color:#438df3;margin-right:2px}.rd-stock li:nth-child(2):before{color:#6aa9ff}.rd-stock li:nth-child(3):before{color:#a55af1}.rd-stock li:nth-child(4):before{color:#ff6872}.rd-stock li:nth-child(5):before{color:#ffa61d}.rd-stock li b{font-weight:500}
.rd-tables{display:grid;grid-template-columns:1.15fr 1.22fr 1.22fr;gap:8px;margin-bottom:10px}.rd-table{height:213px}.rd-table>.rd-panel-head{height:37px;padding:0 12px;background:#fff;border-bottom:1px solid #eff2f7}.rd-table a{font-size:9px;color:#1269f7;white-space:nowrap}.rd-alert>.rd-panel-head{background:#fff7f8;color:#e32432}.rd-alert>.rd-panel-head i{display:inline-grid;place-items:center;font-style:normal;background:#eb1f31;color:#fff;border-radius:50%;width:18px;height:18px;font-size:9px}.alert-row{height:43px;border-bottom:1px solid #f0f3f7;display:flex;align-items:center;padding:0 12px;gap:9px;font-size:10px;white-space:nowrap}.alert-row>b{font-size:14px;color:#f1424f}.alert-row:nth-child(3)>b{color:#ff861e}.alert-row:nth-child(4)>b{color:#ed3342}.alert-row:nth-child(5)>b{color:#ff9b22}.alert-row>span{min-width:0;overflow:hidden;text-overflow:ellipsis}.alert-row small{display:block;color:#7384a3;font-size:9px;margin-top:3px;overflow:hidden;text-overflow:ellipsis}.alert-row time{margin-left:auto;color:#8593ac;font-size:8px}.rd-table table{width:100%;border-collapse:collapse;table-layout:auto;white-space:nowrap}.rd-table th{background:#fafbfd;text-align:left;color:#7182a1;font-size:8px;font-weight:500;height:22px;padding:0 4px}.rd-table td{height:27px;padding:0 4px;border-bottom:1px solid #f0f3f7;font-size:8px;color:#24385e}.rd-table td:first-child{color:#1268f6;text-decoration:underline}.rd-table td:last-child{color:#607397}.badge{font-style:normal;border-radius:5px;padding:4px 6px;font-size:8px!important;display:inline-block;white-space:nowrap}.badge:before{content:"●";font-size:7px;margin-right:3px}.blue-b{background:#e8f2ff;color:#0871e8}.purple-b{background:#f4eaff;color:#8845c8}.orange-b{background:#fff2df;color:#d77b00}.green-b{background:#e4f8ed;color:#00a15d}.red-b{background:#ffeaec;color:#e02937}.rd-bottom{display:grid;grid-template-columns:1.55fr 1.1fr;gap:8px}.rd-bottom .rd-table{height:180px}.rd-bottom .rd-table td{height:27px}.rd-bottom .rd-table th{height:24px}
@media(max-width:1250px){.rd-content{padding:12px}.rd-kpi{padding:10px 8px;gap:8px}.rd-kpi b{font-size:15px}.rd-analytics{grid-template-columns:1.3fr 1.3fr 1fr 1fr}.rd-tables{grid-template-columns:1fr 1fr}.rd-tables>.rd-table:first-child{grid-column:span 2}.rd-tables>.rd-table:first-child{height:190px}.rd-tables>.rd-table:first-child .alert-row{height:38px}}
@media(max-width:900px){body:has(.refdash) #main-content{grid-column:1}.rd-topbar{padding:0 10px;gap:8px}.rd-division,.rd-user small,.rd-period{display:none}.rd-search{max-width:none}.rd-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.rd-analytics{grid-template-columns:repeat(2,minmax(0,1fr))}.rd-tables,.rd-bottom{grid-template-columns:1fr}.rd-tables>.rd-table:first-child{grid-column:auto}.rd-actions{overflow:auto}.rd-actions button{min-width:130px}}
@media(max-width:580px){.rd-content{padding:10px}.rd-title-row{display:block}.rd-title-row h1{font-size:21px}.rd-period{display:flex;margin-top:8px}.rd-period button{font-size:8px}.rd-kpis{gap:5px}.rd-kpi{height:75px;padding:9px 6px;gap:6px}.rd-kpi>i{width:28px;height:29px;font-size:14px}.rd-kpi small{font-size:8px}.rd-kpi b{font-size:13px}.rd-kpi span{font-size:8px}.rd-analytics{grid-template-columns:1fr}.rd-analytics>.rd-panel{height:206px}.rd-user{display:none}.rd-table{overflow-x:auto}.rd-table table{min-width:580px}}
.rd-search input{flex:1;min-width:0;width:100%;border:0;outline:0;background:transparent;color:#33496f;font:10px Inter,Arial,sans-serif}.rd-search input::placeholder{color:#7184a5;opacity:1}
.rd-user{border:0;background:transparent;padding:0;color:var(--ink);text-align:left;cursor:pointer;font:inherit}.rd-user:hover{background:#f4f7fb;border-radius:6px}.rd-period button{cursor:pointer}.rd-period button:hover,.rd-panel-head button:hover{border-color:#a9c2e8;background:#f8fbff}
.rd-kpi>div{min-width:0;flex:1}.rd-kpi .up,.rd-kpi .down{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px;line-height:1.3}.rd-kpi .up em,.rd-kpi .down em{font-size:8px;white-space:normal}
.rd-xlabels{padding-inline:9px}.rd-legend{padding-inline:14px;margin-top:7px;line-height:1.25}.rd-chart{margin-top:5px}.rd-funnel .funnel-row{min-width:0;gap:5px}.rd-funnel .funnel-row>i{flex-shrink:1;min-width:28px;max-width:99px}.rd-funnel .funnel-row span{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px;font-size:8px;overflow:hidden}.rd-funnel .funnel-row span b{white-space:nowrap;font-size:8px}.rd-funnel .rd-panel-head b{white-space:nowrap}
.rd-menu{position:fixed;z-index:30;min-width:220px;background:#fff;border:1px solid #dfe7f2;border-radius:8px;padding:8px;box-shadow:0 12px 32px #19365b24;color:#1c3158}.rd-menu button{display:block;width:100%;border:0;background:white;text-align:left;padding:9px;border-radius:5px;color:inherit;font:11px Inter;cursor:pointer}.rd-menu button:hover{background:#eff5ff}.rd-menu .rd-menu-title{padding:7px 9px;color:#7484a1;font-size:9px}.rd-menu .rd-date-fields{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:5px 8px}.rd-menu label{font-size:9px;color:#687b9b}.rd-menu input{display:block;width:100%;margin-top:4px;border:1px solid #dce5f1;border-radius:4px;padding:5px;font:10px Inter;color:#24395e}.rd-menu .rd-menu-apply{margin-top:5px;background:#1167ef;color:white;text-align:center;font-weight:600}
.rd-menu .rd-menu-note{padding:7px 9px;color:#7a89a4;font-size:9px;line-height:1.4}.rd-status-note{position:fixed;right:18px;bottom:18px;z-index:80;padding:10px 14px;border:1px solid #d8e4f3;background:#fff;border-radius:7px;box-shadow:0 8px 24px #1a335321;color:#30496f;font-size:11px}


/* Adaptive dashboard grid. */
.rd-content{width:100%;min-width:0}
.rd-kpis{grid-template-columns:repeat(auto-fit,minmax(min(100%,170px),1fr))}
.rd-analytics{grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr))}
.rd-tables,.rd-bottom{grid-template-columns:repeat(auto-fit,minmax(min(100%,310px),1fr))}
.rd-analytics>.rd-panel,.rd-tables>.rd-table:first-child{grid-column:auto}
@media(min-width:1200px){.rd-kpis{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(min-width:1025px) and (max-width:1199px){.rd-kpis{grid-template-columns:repeat(4,minmax(0,1fr))}}
.rd-actions{height:auto;min-height:50px;display:grid;grid-template-columns:auto repeat(5,minmax(0,1fr)) 40px}
.rd-actions button{min-width:0;max-width:none!important}
@media(max-width:1024px){
 .rd-analytics>.rd-panel{height:auto;min-height:206px}
 .rd-actions{grid-template-columns:repeat(auto-fit,minmax(min(100%,145px),1fr))}
 .rd-actions>b{grid-column:1/-1}
 .rd-actions button:last-child{width:100%}
 .rd-table{overflow-x:auto}
 .rd-table table{min-width:520px}
}
@media(max-width:600px){
 .rd-content{padding:14px 12px 28px}
 .rd-title-row{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}
 .rd-period{display:flex;flex-wrap:wrap;margin-top:0}
 .rd-period button{font-size:11px;min-height:38px}
 .rd-kpis{grid-template-columns:repeat(auto-fit,minmax(min(100%,155px),1fr));gap:8px}
 .rd-kpi{height:auto;min-height:90px;padding:11px}
 .rd-kpi b{font-size:16px}
 .rd-kpi small{font-size:10px}
 .rd-analytics,.rd-tables,.rd-bottom{grid-template-columns:minmax(0,1fr)}
 .rd-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
 .rd-actions button{font-size:11px;min-height:40px;height:auto;white-space:normal}
 .rd-panel,.rd-table{min-width:0}
}


/* Dashboard master frames: 12 / 8 / 4 column grid. */
.refdash{--dash-columns:12;--dash-gutter:24px;--dash-padding:32px}
.refdash .rd-content{
  width:100%;max-width:1600px;padding:var(--dash-padding);
  display:grid;grid-template-columns:repeat(var(--dash-columns),minmax(0,1fr));
  gap:16px var(--dash-gutter)
}
.refdash .rd-content>*{grid-column:1/-1;min-width:0;margin:0}
.refdash :is(.rd-kpis,.rd-analytics,.rd-tables,.rd-bottom){
  display:grid;grid-template-columns:repeat(var(--dash-columns),minmax(0,1fr));
  gap:var(--dash-gutter);margin:0
}
.refdash .rd-kpis{grid-template-columns:repeat(3,minmax(0,1fr)) !important}
.refdash .rd-kpis>.rd-kpi{grid-column:auto;height:auto;min-height:104px;padding:16px}
 .refdash .rd-analytics>.rd-panel{grid-column:span 6;height:auto;min-height:230px}
 .refdash .rd-tables>.rd-table{grid-column:span 6;height:auto;min-height:220px}
.refdash .rd-bottom>.rd-table{grid-column:span 6;height:auto;min-height:190px}
.refdash .rd-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:10px 12px;height:auto;min-height:56px;overflow:visible}
.refdash .rd-actions>b{flex:0 0 auto}
.refdash .rd-actions button{flex:1 1 130px;max-width:none}
.refdash .rd-actions button:last-child{flex:0 0 42px}
.refdash .rd-table{min-width:0;overflow-x:auto}
.refdash .rd-table table{min-width:520px}
@media(min-width:1600px){
 .refdash{--dash-gutter:24px;--dash-padding:32px}
}
@media(min-width:1280px) and (max-width:1599px){
 .refdash{--dash-gutter:20px;--dash-padding:clamp(24px,2.2vw,32px)}
}
@media(min-width:1024px) and (max-width:1279px){
 .refdash{--dash-columns:8;--dash-gutter:16px;--dash-padding:24px}
 .refdash .rd-actions button[data-dashboard-action]:not(.primary){display:none}
  .refdash .rd-kpis{grid-template-columns:repeat(3,minmax(0,1fr)) !important}
  .refdash .rd-kpis>.rd-kpi{grid-column:auto}
   .refdash .rd-analytics>.rd-panel,
   .refdash .rd-tables>.rd-table{grid-column:span 4}
  .refdash .rd-bottom>.rd-table{grid-column:span 8}
}
@media(min-width:768px) and (max-width:1023px){
 .refdash{--dash-columns:8;--dash-gutter:16px;--dash-padding:24px}
 .refdash .rd-actions button[data-dashboard-action]:not(.primary){display:none}
  .refdash .rd-kpis{grid-template-columns:repeat(2,minmax(0,1fr)) !important}
  .refdash .rd-kpis>.rd-kpi{grid-column:auto}
  .refdash .rd-analytics>.rd-panel,
  .refdash .rd-tables>.rd-table,
 .refdash .rd-bottom>.rd-table{grid-column:span 8}
}
@media(max-width:767px){
 .refdash{--dash-columns:4;--dash-gutter:16px;--dash-padding:16px}
 .refdash .rd-actions button[data-dashboard-action]:not(.primary){display:none}
 .refdash .rd-content{row-gap:16px}
 .refdash .rd-title-row{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
 .refdash .rd-period{display:flex;flex-wrap:wrap}
  .refdash .rd-kpis{grid-template-columns:1fr !important}
  .refdash .rd-kpis>.rd-kpi{grid-column:auto;min-height:104px}
 .refdash .rd-kpi>div{min-width:0}
 .refdash .rd-kpi :is(small,b,span){white-space:normal;overflow-wrap:anywhere}
 .refdash .rd-analytics>.rd-panel,
 .refdash .rd-analytics>.rd-panel:first-child,
 .refdash .rd-analytics>.rd-panel:nth-child(2),
 .refdash .rd-tables>.rd-table,
 .refdash .rd-bottom>.rd-table{grid-column:span 4}
 .refdash .rd-actions>b{flex-basis:100%}
 .refdash .rd-actions button{flex:1 1 calc(50% - 8px);white-space:normal;min-height:42px;height:auto}
 .refdash .rd-actions button:last-child{flex:1 1 calc(50% - 8px)}
 .refdash .rd-table{height:auto;min-height:0;overflow:visible}
 .refdash .rd-table table,.refdash .rd-table tbody,.refdash .rd-table tr,.refdash .rd-table td{display:block;width:100%;min-width:0}
 .refdash .rd-table thead{display:none}
 .refdash .rd-table table{white-space:normal}
 .refdash .rd-table tbody{padding:8px}
 .refdash .rd-table tbody tr{display:grid;grid-template-columns:minmax(0,1fr);gap:5px;padding:10px 12px;margin-bottom:8px;border:1px solid #e3eaf3;border-radius:8px;background:#fff}
 .refdash .rd-table tbody tr:last-child{margin-bottom:0}
 .refdash .rd-table tbody td{display:grid;grid-template-columns:minmax(92px,35%) minmax(0,1fr);align-items:start;gap:8px;padding:0;height:auto;border:0;font-size:11px;white-space:normal;overflow-wrap:anywhere;text-decoration:none}
 .refdash .rd-table tbody td::before{content:attr(data-label);color:#7384a3;font-weight:500}
 .refdash .rd-table tbody td:first-child{font-weight:700;text-decoration:none}
 .refdash .rd-table .rd-panel-head{min-height:44px;height:auto}
}
.rd-marketplaces{margin-bottom:10px;background:#fff;border:1px solid #e7edf7;border-radius:8px;overflow:hidden}.rd-marketplace-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;background:#edf1f7}.rd-channel-row{display:grid;grid-template-columns:28px minmax(0,1fr) auto;grid-template-rows:1fr 1fr;column-gap:8px;align-items:center;min-width:0;padding:9px 11px;background:#fff;text-decoration:none;color:#24385e}.rd-channel-row img{grid-row:1 / span 2;width:28px;height:28px;border-radius:6px;object-fit:cover}.rd-channel-row span{font-size:10px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.rd-channel-row strong{grid-column:3;grid-row:1 / span 2;color:#183d83;font-size:11px}.rd-channel-row small{font-size:8px;color:#7384a3}.rd-channel-row:hover{background:#f7faff}
@media(max-width:900px){.rd-marketplace-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.rd-marketplace-list{grid-template-columns:1fr}}

/* Dashboard cards and lower two-column frames. */
.refdash .rd-marketplaces{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
  margin-bottom:10px;
  background:transparent;
  border:0;
  border-radius:0;
  overflow:visible;
}
.refdash .rd-marketplaces>.rd-panel-head{
  grid-column:1 / -1;
  padding:0 2px;
}
.refdash .rd-marketplace-list{
  grid-column:1 / -1;
  display:contents;
  padding:0;
  background:transparent;
}
.refdash .rd-channel-row{
  min-height:96px;
  padding:16px;
  border:1px solid #e3eaf4;
  border-radius:8px;
  box-shadow:0 1px 2px #304b7408;
}
.refdash .rd-bottom>.rd-table{grid-column:span 6}
@media(min-width:1024px) and (max-width:1279px){
  .refdash .rd-bottom>.rd-table{grid-column:span 4}
}
@media(min-width:768px) and (max-width:1023px){
  .refdash .rd-bottom>.rd-table{grid-column:span 8}
}
@media(max-width:767px){
  .refdash .rd-bottom>.rd-table{grid-column:span 4}
  .refdash .rd-marketplace-list{padding:0}
}
@media(max-width:767px){
  .refdash .rd-marketplaces{grid-template-columns:minmax(0,1fr)}
}

/* Keep table content clear of the card edges. */
.refdash .rd-table{
  padding:0 12px 12px;
}
.refdash .rd-table>.rd-panel-head{
  margin:0 -12px 10px;
  padding:0 12px;
}
.refdash .rd-table table{
  width:100%;
}
.refdash .rd-alert .alert-row{
  padding-left:4px;
  padding-right:4px;
}
.refdash .rd-alert .alert-row{
  height:34px;
  white-space:normal;
}
.refdash .rd-stock{
  display:grid;
  grid-template-columns:190px minmax(0,1fr);
  grid-template-rows:auto 1fr;
  align-items:center;
  column-gap:12px;
}
.refdash .rd-stock>.rd-panel-head{
  grid-column:1 / -1;
}
.refdash .rd-stock>.donut{
  position:relative;
  float:none;
  width:160px;
  height:160px;
  margin:0 auto;
}
.refdash .rd-stock>.donut:before{
  width:104px;
  height:104px;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
}
.refdash .rd-stock>.donut div b{font-size:18px}
.refdash .rd-stock>ul{
  margin:0;
  gap:5px;
}

.refdash .rd-dashboard-section-title{
  margin:14px 0 7px;
  color:#183667;
  font-size:13px;
  font-weight:700;
}
.refdash .rd-kpi-groups{
  display:grid;
  grid-template-columns:1fr;
  gap:8px;
  margin-bottom:10px;
}
.refdash .rd-kpi-group{
  min-width:0;
  padding:10px 12px 12px;
  border:1px solid #e6ecf4;
  border-radius:6px;
  background:#fff;
  box-shadow:0 1px 2px #304b7408;
}
.refdash .rd-kpi-group-head{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:8px;
  margin-bottom:8px;
}
.refdash .rd-kpi-group-head b{font-size:12px}
.refdash .rd-kpi-group-head span{color:#7383a5;font-size:9px;white-space:nowrap}
.refdash .rd-kpi-group-grid{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:6px;
}
.refdash .rd-group-kpi{
  min-width:0;
  min-height:60px;
  padding:8px;
  border:1px solid #edf1f7;
  border-radius:5px;
  background:#fbfcfe;
}
.refdash .rd-group-kpi small,
.refdash .rd-group-kpi span{display:block;color:#7182a1;font-size:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.refdash .rd-group-kpi b{display:block;margin:5px 0 2px;color:#0c2048;font-size:15px;line-height:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(max-width:900px){
  .refdash .rd-kpi-groups{grid-template-columns:1fr}
  .refdash .rd-kpi-group-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:580px){
  .refdash .rd-kpi-group-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:380px){
  .refdash .rd-kpi-group-grid{grid-template-columns:1fr}
}

/* Final dashboard overrides: summary KPI cards are three per row on desktop. */
body.erp-shell .refdash .rd-kpis{grid-template-columns:repeat(3,minmax(0,1fr)) !important}
@media(min-width:768px) and (max-width:1023px){
  body.erp-shell .refdash .rd-kpis{grid-template-columns:repeat(2,minmax(0,1fr)) !important}
}
@media(max-width:767px){
  body.erp-shell .refdash .rd-kpis{grid-template-columns:1fr !important}
}

/* Reference-style analytics block: dense desktop dashboard with clear visual hierarchy. */
body.erp-shell .refdash .rd-reference-widgets{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:16px;margin:0 0 16px}
body.erp-shell .rd-ref-card{min-width:0;background:#fff;border:1px solid #dfe6f2;border-radius:8px;box-shadow:0 3px 10px rgba(23,49,92,.04);padding:16px;overflow:hidden}
body.erp-shell .rd-ref-traffic{grid-column:span 8}
body.erp-shell .rd-ref-sales{grid-column:span 4}
body.erp-shell .rd-ref-campaigns{grid-column:span 8}
body.erp-shell .rd-ref-health{grid-column:span 4;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
body.erp-shell .rd-ref-health .rd-ref-card{text-align:center;padding:14px 8px}
body.erp-shell .rd-ref-compact{grid-column:span 8;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.rd-ref-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:14px;color:#102858}.rd-ref-head b{font-size:16px}.rd-ref-head span{color:#7182a1;font-size:11px}.rd-live{color:#168f7e!important}.rd-badge{padding:4px 8px;border-radius:12px;background:#e5f7ef;color:#168f7e!important;font-weight:700}
.rd-ref-stat-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:8px}.rd-ref-stat-row>div{display:grid;grid-template-columns:32px 1fr;column-gap:8px;align-items:center}.rd-ref-stat-row small{color:#7182a1;font-size:10px}.rd-ref-stat-row b{font-size:18px;color:#102858}.rd-ref-icon{grid-row:span 2;width:32px;height:32px;border-radius:50%;display:grid;place-items:center;font-style:normal;font-size:20px}.rd-ref-icon.teal{background:#e2f7f3;color:#1cab9d}.rd-ref-icon.orange{background:#fff0e7;color:#ff7448}.rd-ref-icon.violet{background:#eef0ff;color:#566bd0}.rd-spark{width:100%;height:28px;grid-column:2}.rd-spark path{fill:none;stroke-width:2.2}.rd-spark.teal path{stroke:#1cab9d}.rd-spark.orange path{stroke:#ff7448}.rd-spark.violet path{stroke:#566bd0}
.rd-area-chart,.rd-sales-chart{display:block;width:100%;height:170px;margin-top:8px}.rd-area-chart .grid,.rd-sales-chart .grid{fill:none;stroke:#dfe6f2;stroke-dasharray:3 4}.rd-area-chart .area{stroke:#fff;stroke-width:1}.rd-area-chart .a1{fill:#d7f0fa}.rd-area-chart .a2{fill:#9ed9f2}.rd-area-chart .a3{fill:#43b4e7}.rd-ref-axis{display:flex;justify-content:space-between;color:#7383a5;font-size:10px;margin-top:4px}.rd-sales-chart{height:145px}.sales-line{fill:none;stroke-width:2}.sales-line.green{stroke:#3eae57}.sales-line.blue{stroke:#586ed2}.sales-line.red{stroke:#ff7046}.rd-mini-area{width:100%;height:35px;margin-top:6px}.rd-mini-area path{fill:#56b7b0}.rd-ref-sales-total{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:6px}.rd-ref-sales-total b{display:block;color:#102858;font-size:17px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.rd-ref-sales-total small{color:#7182a1;font-size:9px}
.rd-chart-frame{display:grid;grid-template-columns:24px minmax(0,1fr);align-items:stretch}.rd-ref-ylabels{display:flex;flex-direction:column;justify-content:space-between;padding:10px 4px 4px 0;color:#7383a5;font-size:9px;text-align:right}.rd-chart-frame .rd-area-chart,.rd-chart-frame .rd-sales-chart{margin-top:0}.rd-sales-chart circle{stroke:#fff;stroke-width:1.5}.rd-ref-sales .rd-ref-axis{padding-left:24px}
.rd-ref-campaign-summary{display:flex;gap:28px;padding:2px 0 14px}.rd-ref-campaign-stat{display:flex;align-items:center;gap:10px}.rd-ref-campaign-stat b{display:block;font-size:20px;color:#102858}.rd-ref-campaign-stat span{display:block;color:#7182a1;font-size:10px}.rd-donut{width:42px;height:42px;border-radius:50%;display:block;background:conic-gradient(#4d6bd7 0 42%,#f58b59 42% 70%,#47b98b 70% 100%);position:relative}.rd-donut.two{background:conic-gradient(#47b98b 0 58%,#f58b59 58% 78%,#4d6bd7 78% 100%)}.rd-donut:after{content:"";position:absolute;inset:10px;border-radius:50%;background:#fff}.rd-ref-list{border-top:1px solid #edf1f7}.rd-ref-list>div{display:grid;grid-template-columns:1fr .6fr .7fr;gap:8px;padding:8px 0;border-bottom:1px solid #edf1f7;color:#102858;font-size:11px}.rd-ref-list>div:not(:first-child) b{font-weight:500}.rd-ref-list>div:first-child{color:#7182a1;font-size:10px}
.rd-health-icon{display:grid;place-items:center;width:48px;height:48px;margin:2px auto 8px;border:3px solid currentColor;border-radius:50%;font-style:normal;font-size:25px}.rd-health-icon.pink{color:#eb5e91}.rd-health-icon.blue{color:#586ed2}.rd-ref-health b{display:block;font-size:22px;color:#102858}.rd-ref-health span{display:block;color:#102858;font-size:12px;margin-top:4px}.rd-ref-health small{display:block;color:#7182a1;font-size:10px;margin-top:3px}.rd-mini-bars{height:34px;margin-top:10px;background:repeating-linear-gradient(90deg,currentColor 0 4px,transparent 4px 7px);opacity:.75;clip-path:polygon(0 65%,5% 40%,10% 70%,15% 25%,20% 55%,25% 15%,30% 65%,35% 35%,40% 70%,45% 20%,50% 58%,55% 30%,60% 68%,65% 25%,70% 50%,75% 15%,80% 65%,85% 30%,90% 55%,95% 18%,100% 48%,100% 100%,0 100%)}.pink-bars{color:#eb5e91}.blue-bars{color:#586ed2}
.rd-ref-compact-card{min-width:0;border-radius:8px;padding:16px;color:#fff;overflow:hidden}.rd-ref-compact-card b{display:block;font-size:25px}.rd-ref-compact-card span,.rd-ref-compact-card small{display:block}.rd-ref-compact-card span{font-size:13px;font-weight:700;margin-top:4px}.rd-ref-compact-card small{font-size:10px;opacity:.8;margin-top:3px}.teal-card{background:#25aa9d}.pink-card{background:#ed5b86}.blue-card{background:#157ff0}.rd-compact-chart{display:block;width:100%;height:42px;margin-top:12px;overflow:visible}.rd-compact-chart path{fill:none;stroke:rgba(255,255,255,.8);stroke-width:3;stroke-linecap:round;stroke-linejoin:round}.rd-compact-chart.area-chart path{fill:rgba(255,255,255,.45);stroke:none}.rd-compact-chart.bars-chart path{stroke-width:4;stroke-linecap:butt}
@media(max-width:1100px){body.erp-shell .rd-ref-traffic,body.erp-shell .rd-ref-sales,body.erp-shell .rd-ref-campaigns,body.erp-shell .rd-ref-health,body.erp-shell .rd-ref-compact{grid-column:1/-1}}
@media(max-width:650px){body.erp-shell .rd-ref-stat-row,body.erp-shell .rd-ref-compact{grid-template-columns:1fr}.rd-ref-stat-row>div{grid-template-columns:32px 1fr}.rd-ref-health{grid-template-columns:1fr!important}.rd-ref-campaign-summary{gap:14px;flex-wrap:wrap}}

/* Data-integrity and narrow-screen safeguards for the live dashboard. */
body.erp-shell .refdash .rd-stock>.donut{background:conic-gradient(#dfe6f2 0 100%) !important}
body.erp-shell .refdash .rd-funnel .funnel-row>i{min-width:0}
body.erp-shell .refdash .rd-table td:first-child{text-decoration:none;color:inherit}
body.erp-shell .refdash :is(.rd-ref-head span,.rd-ref-stat-row small,.rd-ref-axis,.rd-ref-ylabels,.rd-ref-sales-total small,.rd-ref-campaign-stat span,.rd-ref-health small){color:#536b8f}
@media(max-width:650px){
  body.erp-shell .refdash .rd-stock{display:grid;grid-template-columns:1fr;align-content:start;gap:8px}
  body.erp-shell .refdash .rd-stock>.rd-panel-head{grid-column:1}
  body.erp-shell .refdash .rd-stock>.donut{float:none;margin:4px auto}
  body.erp-shell .refdash .rd-stock>ul{margin:0;width:100%}
  body.erp-shell .refdash .rd-stock li{white-space:normal}
}

/* Keep the smallest dashboard labels readable at normal zoom. */
body.erp-shell .refdash .rd-ylabels,
body.erp-shell .refdash .rd-xlabels,
body.erp-shell .refdash .funnel-row span,
body.erp-shell .refdash .rd-stock li,
body.erp-shell .refdash .rd-group-kpi small,
body.erp-shell .refdash .rd-group-kpi span{font-size:10px}
