/* MPDIRECTOR / OZON PROMOTIONS • reference-inspired seller dashboard
 * Isolated styles: do not change other portal pages or the existing editor.
 */
#actionsSection.mpa-ready > .page-section-head,
#actionsSection.mpa-ready > .ozon-actions-info,
#actionsSection.mpa-ready > #actionsContent,
#actionsSection.mpa-ready > #ozonActionSalesOnActions{display:none!important}
#actionsSection .mpa-dashboard{color:#17243c;font-family:inherit;max-width:100%;min-width:0;overflow:visible}
#actionsSection .mpa-dashboard *{box-sizing:border-box}
#actionsSection .mpa-dashboard [hidden]{display:none!important}
#actionsSection.mpa-ready{min-width:0}
.mpa-dashboard{--mpa-blue:#1769e8;--mpa-ink:#15233c;--mpa-muted:#74829a;--mpa-border:#e2e9f3;--mpa-soft:#f6f9fe;--mpa-white:#fff;--mpa-shadow:0 10px 32px rgba(33,68,122,.055)}
.mpa-dashboard button,.mpa-dashboard input{font-family:inherit}
.mpa-dashboard button{cursor:pointer;transition:background .16s,border-color .16s,color .16s,box-shadow .16s,transform .16s}
.mpa-dashboard button:focus-visible,.mpa-dashboard input:focus-visible,.mpa-dashboard summary:focus-visible{outline:2px solid #276ee7;outline-offset:2px}
.mpa-dashboard button:disabled{opacity:.55;cursor:not-allowed}
.mpa-dashboard .mpa-heading{display:flex;justify-content:space-between;align-items:center;gap:18px;margin:0 0 18px}
.mpa-dashboard .mpa-eyebrow{text-transform:uppercase;letter-spacing:.11em;font-weight:800;font-size:10px;color:#4878cd;margin-bottom:6px}
.mpa-dashboard .mpa-heading h2{font-size:clamp(24px,2.3vw,29px);font-weight:850;line-height:1.12;letter-spacing:-.035em;margin:0 0 7px;color:#101b30}
.mpa-dashboard .mpa-heading p{font-size:12px;color:#77879f;margin:0;line-height:1.55}
.mpa-dashboard .mpa-heading-right{display:flex;align-items:center;flex-wrap:wrap;justify-content:flex-end;gap:10px;flex:0 1 auto}
.mpa-dashboard .mpa-role{border-radius:9px;padding:10px 12px;font-size:11px;font-weight:800;line-height:1.35;display:inline-flex;align-items:center;gap:8px}
.mpa-dashboard .mpa-role:before{content:"";width:7px;height:7px;flex-shrink:0;border-radius:50%;background:currentColor}
.mpa-dashboard .mpa-role-ok{background:#e9f8f0;color:#14764d;border:1px solid #ceebdb}
.mpa-dashboard .mpa-role-warning{background:#fff7e9;color:#94631e;border:1px solid #f2e4c6}
.mpa-dashboard .mpa-role-loading{background:#f3f6fc;color:#6e7f99;border:1px solid #e4eaf3}
.mpa-dashboard .mpa-button{border:1px solid transparent;border-radius:10px;padding:11px 15px;min-height:38px;display:inline-flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap;font-size:12px;font-weight:750;letter-spacing:-.005em;box-shadow:none;text-decoration:none}
.mpa-dashboard .mpa-button-primary{color:#fff;background:#175ff4;border-color:#175ff4;box-shadow:0 3px 9px rgba(23,95,244,.13)}
.mpa-dashboard .mpa-button-primary:hover{background:#1052df;border-color:#1052df;transform:translateY(-1px)}
.mpa-dashboard .mpa-button-light{background:#fff;color:#273a57;border-color:#dbe3ef;box-shadow:0 1px 3px #1a2a4812}
.mpa-dashboard .mpa-button-light:hover{border-color:#9cbef4;background:#f7faff;color:#165ac6}
.mpa-dashboard .mpa-button-muted{background:#f1f5fc;color:#3c5d8f;border-color:#e2eaf5}
.mpa-dashboard .mpa-overview{border:1px solid #dfebfa;border-radius:17px;position:relative;overflow:hidden;background:linear-gradient(107deg,#f7faff 0%,#f1f7ff 57%,#eaf3ff 100%);box-shadow:0 7px 25px #4d83d40b;padding:18px 22px 19px;margin:0 0 18px}
.mpa-dashboard .mpa-overview-title{font-size:14px;font-weight:850;margin:0 0 14px;color:#14223a}
.mpa-dashboard .mpa-overview-title small{font-size:10px;color:#8794a9;font-weight:500;margin-left:7px}
.mpa-dashboard .mpa-overview-content{display:grid;grid-template-columns:minmax(300px,1.06fr) minmax(250px,.94fr);gap:25px;align-items:center}
.mpa-dashboard .mpa-overview-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
.mpa-dashboard .mpa-metric{padding:5px 12px 5px 0;margin-right:12px;border-right:1px solid #d8e4f5;min-width:0}
.mpa-dashboard .mpa-metric:last-child{border:0}
.mpa-dashboard .mpa-metric span{display:block;font-size:11px;color:#5f7190;line-height:1.3;margin-bottom:7px}
.mpa-dashboard .mpa-metric strong{display:block;font-size:26px;letter-spacing:-.04em;line-height:1.2;font-weight:850;color:#102442}
.mpa-dashboard .mpa-metric small{font-size:9px;color:#90a0b5;line-height:1.5;display:block;margin-top:5px}
.mpa-dashboard .mpa-overview-cta{position:relative;display:flex;align-items:center;gap:18px;min-height:73px;isolation:isolate;padding-right:75px}
.mpa-dashboard .mpa-overview-cta>div:first-child{min-width:0;max-width:260px}
.mpa-dashboard .mpa-overview-cta strong{display:block;font-weight:800;font-size:12px;line-height:1.5;margin-bottom:6px}
.mpa-dashboard .mpa-overview-cta span{display:block;color:#607493;line-height:1.5;font-size:10px}
.mpa-dashboard .mpa-overview-cta>.mpa-button{position:relative;z-index:2}
.mpa-dashboard .mpa-overview-art{position:absolute;display:flex;align-items:flex-end;gap:5px;right:0;bottom:-14px;height:73px;opacity:.75;transform:skewX(-9deg);pointer-events:none}
.mpa-dashboard .mpa-overview-art i{display:block;width:13px;border-radius:3px 3px 0 0;background:linear-gradient(#5aa0ff,#246ef8);box-shadow:0 0 12px #71a5f03b}
.mpa-dashboard .mpa-overview-art i:nth-child(1){height:17px}.mpa-dashboard .mpa-overview-art i:nth-child(2){height:31px}
.mpa-dashboard .mpa-overview-art i:nth-child(3){height:49px}.mpa-dashboard .mpa-overview-art i:nth-child(4){height:67px}
.mpa-dashboard .mpa-tabbar{display:flex;gap:30px;border-bottom:1px solid #e0e8f3;margin-bottom:15px;padding:0 0 0 3px}
.mpa-dashboard .mpa-tabbar>button{border:0;border-bottom:2px solid transparent;background:none;padding:0 0 12px;color:#7b899e;font-size:13px;font-weight:750}
.mpa-dashboard .mpa-tabbar>button.is-active{color:#1766dc;border-bottom-color:#1766dc}
.mpa-dashboard .mpa-tabbar>button:hover{color:#175fd5}
.mpa-dashboard .mpa-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:16px;min-width:0}
.mpa-dashboard .mpa-search{display:flex;align-items:center;gap:9px;border:1px solid #dce4f0;border-radius:10px;background:#fff;padding:0 12px;min-height:38px;max-width:315px;min-width:170px;flex:1}
.mpa-dashboard .mpa-search:focus-within{border-color:#9bbcf3;box-shadow:0 0 0 3px #1769ff0a}
.mpa-dashboard .mpa-search-icon{width:13px;height:13px;border:2px solid #9cabbf;border-radius:50%;display:block;position:relative;flex:0 0 auto}
.mpa-dashboard .mpa-search-icon:after{content:"";width:6px;height:2px;background:#9cabbf;position:absolute;right:-5px;bottom:-2px;transform:rotate(48deg);border-radius:3px}
.mpa-dashboard .mpa-search input{border:0;outline:none!important;box-shadow:none!important;background:transparent;width:100%;min-width:0;font-size:11px;color:#243651;padding:8px 0}
.mpa-dashboard .mpa-search input::placeholder,.mpa-dashboard .mpa-product-search input::placeholder{color:#9aa8bb}
.mpa-dashboard .mpa-filter-group{display:flex;gap:5px;align-items:center;flex-wrap:wrap}
.mpa-dashboard .mpa-filter-group>button{display:inline-flex;align-items:center;gap:6px;border:1px solid #e2e8f2;background:#fff;border-radius:9px;font-size:11px;font-weight:700;color:#63728b;padding:9px 10px;white-space:nowrap}
.mpa-dashboard .mpa-filter-group>button>span{display:inline-block;background:#f0f3f8;color:#6d788b;padding:2px 5px;border-radius:5px;font-size:9px}
.mpa-dashboard .mpa-filter-group>button.is-active{color:#155fdb;border-color:#3b80f8;background:#f5f9ff;box-shadow:0 0 0 1px #3b80f830}
.mpa-dashboard .mpa-filter-group>button:hover{background:#f4f8ff}
.mpa-dashboard .mpa-toolbar-actions{display:flex;gap:7px;align-items:center;margin-left:auto}
.mpa-dashboard .mpa-toolbar-actions .mpa-button{font-size:11px;min-height:36px;padding:9px 12px}
.mpa-dashboard .mpa-upload-input{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden;pointer-events:none}
.mpa-dashboard .mpa-workspace{display:grid;grid-template-columns:minmax(228px,27%) minmax(0,1fr);gap:16px;align-items:start;min-width:0}
.mpa-dashboard .mpa-sidebar{min-width:0}
.mpa-dashboard .mpa-sidebar>h3{font-size:13px;font-weight:850;letter-spacing:-.01em;margin:4px 0 13px;color:#203049}
.mpa-dashboard .mpa-action-list{display:grid;gap:9px;max-height:76vh;overflow:auto;overscroll-behavior:contain;padding:1px 3px 9px 0;scrollbar-width:thin}
.mpa-dashboard .mpa-action{position:relative;display:flex;flex-direction:column;gap:9px;width:100%;border:1px solid #dfe7f2;background:#fff;border-radius:13px;padding:14px 14px 13px;text-align:left;min-width:0;box-shadow:0 2px 9px #1a457006}
.mpa-dashboard .mpa-action:hover{background:#f9fbff;border-color:#b5cbef}
.mpa-dashboard .mpa-action.is-selected{background:linear-gradient(150deg,#f6faff,#edf5ff);border-color:#4185ff;box-shadow:0 0 0 1px #4185ff30,0 4px 16px #467dde15}
.mpa-dashboard .mpa-action-upper{display:flex;align-items:center;gap:8px;justify-content:space-between}
.mpa-dashboard .mpa-action-upper small{font-size:9px;line-height:1.45;color:#8392a8;min-width:0}
.mpa-dashboard .mpa-badge{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;font-size:9px;font-weight:800;padding:5px 9px;line-height:1;border-radius:999px;border:1px solid transparent}
.mpa-dashboard .mpa-badge.success{background:#e6f8ec;color:#1c8a50;border-color:#c6ebd4}
.mpa-dashboard .mpa-badge.neutral{background:#eff3f8;color:#6b7b91;border-color:#e6ebf2}
.mpa-dashboard .mpa-action strong{font-size:12px;color:#17243d;line-height:1.45;overflow-wrap:anywhere;font-weight:800}
.mpa-dashboard .mpa-action-lower{display:flex;gap:6px;justify-content:space-between;flex-wrap:wrap;font-size:10px;color:#6a7a93;line-height:1.4}
.mpa-dashboard .mpa-action-auto{font-size:9px;font-weight:700;color:#936813;background:#fff3d6;padding:4px 7px;border-radius:6px;align-self:start}
.mpa-dashboard .mpa-detail{border:1px solid #dde7f3;background:#fff;border-radius:15px;box-shadow:var(--mpa-shadow);min-width:0;overflow:hidden}
.mpa-dashboard .mpa-detail-top{padding:18px 17px 14px;display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.mpa-dashboard .mpa-detail-top h3{color:#18253d;line-height:1.26;font-weight:850;letter-spacing:-.026em;font-size:clamp(15px,1.5vw,19px);margin:0 0 6px}
.mpa-dashboard .mpa-period{color:#8794a9;font-size:10px}
.mpa-dashboard .mpa-detail-kpis{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:flex-end;text-align:right}
.mpa-dashboard .mpa-detail-kpis small{white-space:nowrap;font-size:10px;color:#65758d}
.mpa-dashboard .mpa-detail-kpis b{color:#263952;font-weight:850}
.mpa-dashboard .mpa-action-note{margin:0 15px 13px;display:flex;gap:10px;align-items:flex-start;background:linear-gradient(95deg,#f2f7ff,#eaf3ff);border:1px solid #e1edfe;padding:12px 13px;border-radius:11px}
.mpa-dashboard .mpa-info-mark{border:1px solid #80a7eb;border-radius:50%;color:#3573d2;display:grid;place-items:center;width:17px;height:17px;flex:0 0 17px;font-style:normal;font-size:10px;font-weight:900}
.mpa-dashboard .mpa-action-note strong{display:block;font-size:11px;color:#304564;margin-bottom:3px}
.mpa-dashboard .mpa-action-note span:not(.mpa-info-mark){display:block;font-size:10px;line-height:1.5;color:#667c9c}
.mpa-dashboard .mpa-detail-actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap;padding:0 15px 13px}
.mpa-dashboard .mpa-detail-actions .mpa-button{padding:9px 11px;font-size:11px;min-height:34px}
.mpa-dashboard .mpa-about{margin-left:auto;font-size:10px;color:#617b9f}
.mpa-dashboard .mpa-about summary{cursor:pointer;color:#2b69bb;font-weight:700}
.mpa-dashboard .mpa-about p{line-height:1.5;max-width:360px;white-space:pre-wrap;overflow-wrap:anywhere}
.mpa-dashboard .mpa-detail-product-tabs{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid #e8edf5;padding:0 15px;flex-wrap:wrap}
.mpa-dashboard .mpa-subtabs{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.mpa-dashboard .mpa-subtabs button{font-size:11px;color:#71819b;padding:12px 0 10px;background:transparent;border:0;border-bottom:2px solid transparent;font-weight:750;display:flex;align-items:center;gap:6px}
.mpa-dashboard .mpa-subtabs button.is-active{color:#2469d9;border-bottom-color:#2978ec}
.mpa-dashboard .mpa-subtabs span{font-size:9px;border-radius:5px;padding:3px 5px;background:#eff3fa;color:#708099}
.mpa-dashboard .mpa-product-search{border:1px solid #dfe7f1;border-radius:8px;min-width:190px;display:block;padding:0 10px}
.mpa-dashboard .mpa-product-search input{font-size:10px;width:100%;border:0;outline:0!important;background:none;padding:8px 0;color:#334968}
.mpa-dashboard .mpa-table-scroller{overflow-x:auto;overflow-y:hidden;max-width:100%;-webkit-overflow-scrolling:touch;scrollbar-width:thin}
.mpa-dashboard .mpa-products-table{border-collapse:collapse;table-layout:fixed;min-width:1140px;width:100%;margin:0;font-size:10px}
.mpa-dashboard .mpa-products-table thead{background:#f3f6fc}
.mpa-dashboard .mpa-products-table th{font-size:9px;line-height:1.4;letter-spacing:.005em;font-weight:750;color:#687b96;text-align:left;padding:11px 8px;border-bottom:1px solid #dde5f0;white-space:nowrap}
.mpa-dashboard .mpa-products-table th small{font-size:9px;font-weight:550;color:#91a0b1}
.mpa-dashboard .mpa-products-table th:nth-child(1){width:53px}
.mpa-dashboard .mpa-products-table th:nth-child(2){width:91px}
.mpa-dashboard .mpa-products-table th:nth-child(3){width:232px}
.mpa-dashboard .mpa-products-table th:nth-child(4){width:92px}
.mpa-dashboard .mpa-products-table th:nth-child(5){width:104px}
.mpa-dashboard .mpa-products-table th:nth-child(6){width:120px}
.mpa-dashboard .mpa-products-table th:nth-child(7),.mpa-dashboard .mpa-products-table th:nth-child(8){width:86px}
.mpa-dashboard .mpa-products-table th:nth-child(9){width:73px}
.mpa-dashboard .mpa-products-table th:nth-child(10){width:71px}
.mpa-dashboard .mpa-products-table th:nth-child(11){width:75px}
.mpa-dashboard .mpa-products-table th:nth-child(12){width:76px}
.mpa-dashboard .mpa-products-table th:nth-child(13){width:78px}
.mpa-dashboard .mpa-products-table td{padding:9px 8px;border-bottom:1px solid #e9eef5;color:#34445f;vertical-align:middle;overflow-wrap:anywhere;line-height:1.4}
.mpa-dashboard .mpa-products-table tbody tr:last-child td{border-bottom:0}
.mpa-dashboard .mpa-products-table tbody tr:hover{background:#f8fbff}
.mpa-dashboard .mpa-product-photo img{display:block;width:40px;height:50px;object-fit:contain;background:#f5f7fa;border-radius:7px}
.mpa-dashboard .mpa-product-placeholder{display:grid;place-items:center;width:40px;height:50px;border-radius:7px;background:#edf3fc;color:#8a9ab3;font-size:11px;font-weight:850}
.mpa-dashboard .mpa-product-id strong{font-size:10px;font-weight:800;color:#243853;display:block}
.mpa-dashboard .mpa-product-id small{font-size:9px;color:#94a3b8;display:block}
.mpa-dashboard .mpa-product-name{overflow:hidden}
.mpa-dashboard .mpa-product-name strong{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:3;font-weight:700;line-height:1.4;font-size:10px;color:#26344d}
.mpa-dashboard .mpa-product-name small{display:block;margin-top:3px;color:#8c99ab;font-size:9px}
.mpa-dashboard .mpa-number{text-align:right!important;white-space:nowrap;font-variant-numeric:tabular-nums;font-size:10px}
.mpa-dashboard .mpa-limit strong,.mpa-dashboard .mpa-orders strong{font-size:11px;color:#263955;font-weight:800}
.mpa-dashboard .mpa-limit small{display:block;color:#9aabbf;font-size:8px;margin-top:4px}
.mpa-dashboard .mpa-boost{display:flex;gap:7px;align-items:center}
.mpa-dashboard .mpa-boost-track{height:4px;border-radius:12px;overflow:hidden;background:#e6ecf1;flex:1;min-width:30px}
.mpa-dashboard .mpa-boost-track i{display:block;height:100%;border-radius:12px;background:#16a05c}
.mpa-dashboard .mpa-boost-track i.low{background:#ef9900}
.mpa-dashboard .mpa-boost b{font-size:9px;min-width:29px;text-align:right;color:#8192a8}
.mpa-dashboard .mpa-delta{display:block;font-size:8px;font-weight:750;color:#93a2b6;margin-top:3px}
.mpa-dashboard .mpa-delta.up{color:#159e69}.mpa-dashboard .mpa-delta.down{color:#c75766}
.mpa-dashboard .mpa-no-data{color:#9dabc0}
.mpa-dashboard .mpa-other-link{white-space:nowrap;color:#42679c;border:0;background:#edf3fa;border-radius:6px;padding:5px 6px;font-size:9px;font-weight:750}
.mpa-dashboard .mpa-other-list{font-size:9px;white-space:pre-line;color:#667895;background:#f4f7fc;border-radius:5px;padding:7px;margin-top:5px;max-width:190px}
.mpa-dashboard .mpa-edit-product{font-size:9px;font-weight:800;color:#1b65cf;background:none;border:1px solid #d7e5f8;border-radius:6px;padding:5px 7px}
.mpa-dashboard .mpa-edit-product:hover{background:#edf5ff}
.mpa-dashboard .mpa-table-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 15px;background:#fbfcfe;border-top:1px solid #ebeff6;font-size:9px;color:#95a2b6;line-height:1.5}
.mpa-dashboard .mpa-table-footer span:first-child{white-space:nowrap;color:#637794;font-weight:750}
.mpa-dashboard .mpa-detail-loading,.mpa-dashboard .mpa-skeleton{padding:34px 18px;min-height:160px;display:flex;align-items:center;justify-content:center;gap:12px;color:#8c9bb1;font-size:12px;text-align:center}
.mpa-dashboard .mpa-loader{width:17px;height:17px;border:2px solid #dde8fa;border-top-color:#347ce7;border-radius:50%;display:inline-block;animation:mpaSpin .8s linear infinite;flex:0 0 17px}
@keyframes mpaSpin{to{transform:rotate(360deg)}}
.mpa-dashboard .mpa-empty,.mpa-dashboard .mpa-failed{font-size:12px;color:#77869d;text-align:center;padding:28px 15px;line-height:1.6}
.mpa-dashboard .mpa-failed strong{display:block;font-size:14px;color:#3a4a63}.mpa-dashboard .mpa-failed p{margin:8px 0}
.mpa-dashboard .mpa-empty-cell{text-align:center!important;padding:36px!important;color:#8899af!important}
.mpa-dashboard .mpa-footnote{font-size:10px;line-height:1.6;color:#8b99ad;margin:12px 0 0}
.mpa-dashboard .mpa-insights{border-top:1px solid #e8edf5;margin-top:18px;padding-top:11px}
.mpa-dashboard .mpa-insights>summary{font-size:12px;color:#5678a9;font-weight:750;cursor:pointer}
.mpa-dashboard .mpa-insights[open] #mpaInsightsSlot{margin-top:13px}
.mpa-dashboard .mpa-insights .ozon-action-sales-analytics{box-shadow:none}
.mpa-dashboard .mpa-calendar-view{border:1px solid #dde7f3;border-radius:14px;background:#fff;padding:16px;box-shadow:var(--mpa-shadow)}
.mpa-dashboard .mpa-calendar-head{display:flex;align-items:center;justify-content:center;gap:12px;margin-bottom:15px}
.mpa-dashboard .mpa-calendar-head h3{font-size:15px;margin:0;min-width:145px;text-align:center;line-height:1.5;color:#334866;text-transform:capitalize}
.mpa-dashboard .mpa-month-button{border:1px solid #dae6f5;background:#f8fbff;border-radius:8px;color:#3372d6;font-size:22px;line-height:1;width:32px;height:32px}
.mpa-dashboard #mpaMonthNow{margin-left:auto}
.mpa-dashboard .mpa-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border-top:1px solid #e2e9f3;border-left:1px solid #e2e9f3}
.mpa-dashboard .mpa-calendar-weekday{background:#f3f7fd;padding:10px;text-align:center;font-size:10px;color:#71859f;font-weight:850;border-right:1px solid #e2e9f3;border-bottom:1px solid #e2e9f3}
.mpa-dashboard .mpa-calendar-day{min-height:100px;padding:7px;border-right:1px solid #e2e9f3;border-bottom:1px solid #e2e9f3;overflow:hidden}
.mpa-dashboard .mpa-calendar-day.today{background:#f3f8ff}
.mpa-dashboard .mpa-calendar-day.outside{background:#fbfcfe}
.mpa-dashboard .mpa-day-number{font-size:11px;color:#72839b;font-weight:750;display:block;margin-bottom:4px}
.mpa-dashboard .mpa-calendar-day.today .mpa-day-number{color:#175fe0}
.mpa-dashboard .mpa-calendar-day button{display:block;border:0;border-radius:5px;background:#eaf2ff;color:#285fab;padding:4px 5px;width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:left;font-size:9px;margin-top:3px}
.mpa-dashboard .mpa-calendar-day button:hover{background:#dbe9fe}
.mpa-dashboard .mpa-calendar-day small{font-size:9px;color:#9aabc0;display:block;margin-top:4px}
#actionsSection.mpa-ready .ope-shell{margin:17px 0 20px!important;scroll-margin-top:20px}
#actionsSection.mpa-ready .ope-head h3{font-weight:850}
@media(max-width:1380px){
  .mpa-dashboard .mpa-toolbar-actions{margin-left:0}
  .mpa-dashboard .mpa-workspace{grid-template-columns:minmax(220px,27%) minmax(0,1fr)}
  .mpa-dashboard .mpa-overview-cta{padding-right:60px;gap:9px}
}
@media(max-width:1050px){
  .mpa-dashboard .mpa-overview-content{grid-template-columns:1fr;gap:18px}
  .mpa-dashboard .mpa-overview-cta{justify-content:space-between}
  .mpa-dashboard .mpa-toolbar-actions{margin-left:0}
  .mpa-dashboard .mpa-workspace{grid-template-columns:minmax(195px,30%) minmax(0,1fr);gap:11px}
  .mpa-dashboard .mpa-detail-top{flex-direction:column}
  .mpa-dashboard .mpa-detail-kpis{justify-content:flex-start}
}
@media(max-width:760px){
  .mpa-dashboard .mpa-heading{align-items:flex-start;flex-direction:column}
  .mpa-dashboard .mpa-heading-right{justify-content:flex-start}
  .mpa-dashboard .mpa-overview{padding:15px}
  .mpa-dashboard .mpa-overview-cta{padding:0;align-items:flex-start;gap:10px}
  .mpa-dashboard .mpa-overview-art{display:none}
  .mpa-dashboard .mpa-overview-metrics{gap:8px}
  .mpa-dashboard .mpa-metric{margin-right:0;padding:5px;border:0}
  .mpa-dashboard .mpa-metric strong{font-size:20px}
  .mpa-dashboard .mpa-workspace{grid-template-columns:1fr}
  .mpa-dashboard .mpa-action-list{display:flex;overflow-x:auto;overflow-y:hidden;max-height:none;scroll-snap-type:x proximity;padding:2px 1px 12px;scrollbar-width:thin}
  .mpa-dashboard .mpa-action{flex:0 0 230px;scroll-snap-align:start;min-height:132px}
  .mpa-dashboard .mpa-detail-top{padding:14px}
  .mpa-dashboard .mpa-tabbar{gap:17px}
  .mpa-dashboard .mpa-toolbar{align-items:stretch}
  .mpa-dashboard .mpa-search{max-width:none;flex:1 1 100%}
  .mpa-dashboard .mpa-filter-group{flex:1 1 100%}
  .mpa-dashboard .mpa-toolbar-actions{flex:1 1 100%}
  .mpa-dashboard .mpa-toolbar-actions .mpa-button{flex:1}
  .mpa-dashboard .mpa-detail-product-tabs{padding:0 12px 8px}
  .mpa-dashboard .mpa-product-search{flex:1 1 100%}
  .mpa-dashboard .mpa-calendar-day{min-height:67px;padding:5px 3px}
  .mpa-dashboard .mpa-calendar-day button{font-size:8px;padding:4px 3px}
}
@media(max-width:450px){
  .mpa-dashboard .mpa-overview-cta{flex-direction:column}
  .mpa-dashboard .mpa-action-note{margin:0 10px 13px}
  .mpa-dashboard .mpa-detail-actions{padding:0 10px 12px}
  .mpa-dashboard .mpa-overview-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}
  .mpa-dashboard .mpa-metric span{font-size:10px}
  .mpa-dashboard .mpa-filter-group>button{padding:8px}
  .mpa-dashboard .mpa-calendar-day{min-height:54px}
}

/* Preserve the former auto-add products and mark-all-read workflows */

.mpa-dashboard .mpa-tabbar .mpa-mark-read{font-size:10px;color:#3a6db5;border:1px solid #d6e4f7;border-radius:8px;background:#f5f9ff;padding:6px 11px;margin-left:auto;margin-bottom:5px;font-weight:750}
.mpa-dashboard .mpa-tabbar .mpa-mark-read:hover{background:#e7f0fe}
.mpa-dashboard .mpa-auto-add-products{padding:13px 16px;margin:0 15px 12px;border:1px solid #f1dfac;border-radius:10px;background:#fffbf1;overflow-x:auto;font-size:11px}
.mpa-dashboard .mpa-auto-add-products[hidden]{display:none!important}
.mpa-dashboard .mpa-auto-add-products .ozon-auto-row{font-size:10px}
@media(max-width:600px){.mpa-dashboard .mpa-tabbar{flex-wrap:wrap}.mpa-dashboard .mpa-tabbar .mpa-mark-read{flex:1 1 100%;margin:0 0 7px}}

/* ============================================================
   Ozon Actions 2026-11-15 — compact buttons / high contrast
   The portal defines #dashboard button:not(.sidebar-link) plus
   global button {width:100%;margin-top:10px;color:white}.
   Reset those rules ONLY in our six read-only dashboard regions.
   Do not reset the existing .ope-shell price editor underneath.
   ============================================================ */
#dashboard #actionsSection .mpa-dashboard {
  --mpa-ink:#13233e;
  --mpa-muted:#4d607e;
  --mpa-border:#d5e0ee;
  color:#172b48;
  line-height:1.5;
  background:transparent;
}
#dashboard #actionsSection .mpa-dashboard > :is(
    .mpa-heading,.mpa-overview,.mpa-tabbar,.mpa-toolbar,
    .mpa-workspace,.mpa-calendar-view) button {
  width:auto!important;
  min-width:0!important;
  max-width:100%!important;
  margin:0!important;
  background:transparent!important;
  background-image:none!important;
  box-shadow:none!important;
  color:#20334f!important;
  border:1px solid transparent!important;
  padding:9px 12px!important;
  font-size:13px!important;
  font-weight:700!important;
  line-height:1.35!important;
  flex:0 0 auto;
  text-shadow:none!important;
  opacity:1!important;
}
#dashboard #actionsSection .mpa-dashboard > :is(
    .mpa-heading,.mpa-overview,.mpa-tabbar,.mpa-toolbar,
    .mpa-workspace,.mpa-calendar-view) input {
  margin:0!important;
  box-shadow:none!important;
  color:#1b2f4d!important;
  font-size:13px!important;
}
#dashboard #actionsSection .mpa-dashboard .mpa-button {
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:39px!important;
  width:auto!important;
  padding:9px 15px!important;
  white-space:nowrap!important;
  font-size:13px!important;
  font-weight:750!important;
  border-radius:10px!important;
  border:1px solid #cbd7e8!important;
  background:#fff!important;
  color:#254262!important;
}
#dashboard #actionsSection .mpa-dashboard .mpa-button:hover {
  background:#f2f7ff!important;
  border-color:#90b7f0!important;
  color:#1457bb!important;
}
#dashboard #actionsSection .mpa-dashboard .mpa-button-primary {
  background:#1763e8!important;
  border-color:#1763e8!important;
  box-shadow:0 5px 14px rgba(23,99,232,.16)!important;
  color:#fff!important;
}
#dashboard #actionsSection .mpa-dashboard .mpa-button-primary:hover {
  background:#1056d7!important;
  border-color:#1056d7!important;
  color:#fff!important;
}
#dashboard #actionsSection .mpa-dashboard .mpa-button-muted {
  background:#f0f5fc!important;
  border-color:#dae5f2!important;
  color:#3d577e!important;
}
#dashboard #actionsSection .mpa-dashboard .mpa-heading {
  align-items:flex-start;
  margin-bottom:21px;
}
#dashboard #actionsSection .mpa-dashboard .mpa-heading h2 {
  color:#101f36!important;
  font-size:30px!important;
  line-height:1.14!important;
  font-weight:850!important;
  letter-spacing:-.04em;
}
#dashboard #actionsSection .mpa-dashboard .mpa-heading p {
  color:#536986!important;
  font-size:13px!important;
}
#dashboard #actionsSection .mpa-dashboard .mpa-eyebrow {
  font-size:11px!important;
  color:#2568c8!important;
  font-weight:800!important;
}
#dashboard #actionsSection .mpa-dashboard .mpa-heading-right {
  align-items:center;
}
#dashboard #actionsSection .mpa-dashboard .mpa-role {
  padding:10px 13px!important;
  font-size:12px!important;
  font-weight:750!important;
  line-height:1.3;
  min-height:39px;
}
#dashboard #actionsSection .mpa-dashboard .mpa-role-ok {
  color:#176944!important;
  background:#e3f6eb!important;
  border-color:#a8e2bf!important;
}
#dashboard #actionsSection .mpa-dashboard .mpa-role-warning {
  color:#855513!important;
  background:#fff3dd!important;
  border-color:#ebcc8d!important;
}
#dashboard #actionsSection .mpa-dashboard .mpa-overview {
  padding:20px 24px;
  border-color:#cadcf3;
  margin-bottom:22px;
}
#dashboard #actionsSection .mpa-dashboard .mpa-overview-title {
  color:#142540!important;
  font-size:16px!important;
  margin-bottom:16px;
}
#dashboard #actionsSection .mpa-dashboard .mpa-overview-title small {
  color:#617492!important;
  font-size:11px!important;
}
#dashboard #actionsSection .mpa-dashboard .mpa-metric span {
  color:#435b7c!important;
  font-size:13px!important;
  font-weight:650;
}
#dashboard #actionsSection .mpa-dashboard .mpa-metric strong {
  color:#152846!important;
  font-size:29px!important;
}
#dashboard #actionsSection .mpa-dashboard .mpa-metric small {
  color:#667a97!important;
  font-size:11px!important;
}
#dashboard #actionsSection .mpa-dashboard .mpa-overview-cta {
  padding-right:90px;
  gap:16px;
}
#dashboard #actionsSection .mpa-dashboard .mpa-overview-cta>div:first-child {
  max-width:330px;
}
#dashboard #actionsSection .mpa-dashboard .mpa-overview-cta strong {
  font-size:14px!important;
  color:#192d4b!important;
}
#dashboard #actionsSection .mpa-dashboard .mpa-overview-cta span {
  font-size:12px!important;
  color:#546986!important;
}
#dashboard #actionsSection .mpa-dashboard .mpa-overview-cta>.mpa-button {
  flex:0 0 auto!important;
  min-height:43px!important;
}
#dashboard #actionsSection .mpa-dashboard .mpa-tabbar {
  gap:30px;
  padding-left:0;
  align-items:center;
  margin-bottom:18px;
}
#dashboard #actionsSection .mpa-dashboard .mpa-tabbar>button:not(.mpa-mark-read) {
  display:inline-flex!important;
  flex:0 0 auto!important;
  color:#526784!important;
  font-size:14px!important;
  font-weight:750!important;
  padding:9px 2px 12px!important;
  min-height:39px!important;
  border:0!important;
  border-bottom:2px solid transparent!important;
  border-radius:0!important;
  background:transparent!important;
}
#dashboard #actionsSection .mpa-dashboard .mpa-tabbar>button.is-active:not(.mpa-mark-read) {
  color:#145fdf!important;
  border-bottom-color:#1769ff!important;
  font-weight:850!important;
}
#dashboard #actionsSection .mpa-dashboard .mpa-tabbar>button:hover:not(.mpa-mark-read) {
  color:#1357b8!important;
}
#dashboard #actionsSection .mpa-dashboard .mpa-tabbar .mpa-mark-read {
  display:inline-flex!important;
  width:auto!important;
  background:#eff5fe!important;
  color:#2d65ae!important;
  border:1px solid #cbdcf5!important;
  font-size:12px!important;
  padding:7px 11px!important;
}
#dashboard #actionsSection .mpa-dashboard .mpa-toolbar {
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  gap:12px!important;
  margin-bottom:21px;
}
#dashboard #actionsSection .mpa-dashboard .mpa-search {
  display:flex!important;
  flex:0 1 285px!important;
  max-width:345px!important;
  width:285px!important;
  min-width:210px!important;
  height:42px!important;
  margin:0!important;
  border-color:#cbd9eb!important;
}
#dashboard #actionsSection .mpa-dashboard .mpa-search input {
  width:100%!important;
  min-height:0!important;
  padding:8px 0!important;
  border:0!important;
  background:transparent!important;
  color:#203650!important;
  font-size:13px!important;
}
#dashboard #actionsSection .mpa-dashboard .mpa-search input::placeholder,
#dashboard #actionsSection .mpa-dashboard .mpa-product-search input::placeholder {
  color:#7c8ca5!important;
  opacity:1!important;
}
#dashboard #actionsSection .mpa-dashboard .mpa-filter-group {
  display:flex!important;
  flex-wrap:wrap!important;
  flex:0 1 auto!important;
  gap:7px!important;
  align-items:center;
}
#dashboard #actionsSection .mpa-dashboard .mpa-filter-group>button {
  display:inline-flex!important;
  width:auto!important;
  min-height:40px!important;
  padding:8px 12px!important;
  border:1px solid #d5e0ef!important;
  border-radius:9px!important;
  background:#fff!important;
  color:#364f70!important;
  font-size:12px!important;
  font-weight:700!important;
  gap:7px!important;
  white-space:nowrap!important;
}
#dashboard #actionsSection .mpa-dashboard .mpa-filter-group>button.is-active {
  border-color:#286eff!important;
  background:#edf4ff!important;
  color:#1258c5!important;
  box-shadow:0 0 0 1px #2268ee1c!important;
}
#dashboard #actionsSection .mpa-dashboard .mpa-filter-group>button>span {
  background:#e4ecf7!important;
  color:#2b466c!important;
  padding:3px 6px;
  font-size:11px!important;
  font-weight:750;
}
#dashboard #actionsSection .mpa-dashboard .mpa-toolbar-actions {
  flex:0 0 auto!important;
  display:flex!important;
  gap:8px!important;
  align-items:center!important;
  margin-left:auto;
}
#dashboard #actionsSection .mpa-dashboard .mpa-toolbar-actions .mpa-button {
  min-height:40px!important;
  flex:0 0 auto!important;
}
#dashboard #actionsSection .mpa-dashboard .mpa-workspace {
  display:grid!important;
  grid-template-columns:clamp(260px,22vw,340px) minmax(0,1fr)!important;
  gap:19px!important;
  align-items:start!important;
}
#dashboard #actionsSection .mpa-dashboard .mpa-sidebar>h3 {
  color:#1f3049!important;
  font-size:15px!important;
  font-weight:850!important;
  margin:3px 0 15px!important;
}
#dashboard #actionsSection .mpa-dashboard .mpa-action-list {
  display:grid!important;
  gap:10px!important;
}
#dashboard #actionsSection .mpa-dashboard .mpa-action {
  width:100%!important;
  max-width:none!important;
  min-height:111px!important;
  padding:15px 16px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  justify-content:space-between!important;
  gap:9px!important;
  flex:initial!important;
  background:#fff!important;
  background-image:none!important;
  color:#1d304d!important;
  text-align:left!important;
  border:1px solid #d4e1f0!important;
  border-radius:14px!important;
  box-shadow:0 2px 10px #24456908!important;
}
#dashboard #actionsSection .mpa-dashboard .mpa-action.is-selected {
  background:#eef5ff!important;
  border:1.5px solid #397cff!important;
  box-shadow:0 0 0 1px #387dff21!important;
}
#dashboard #actionsSection .mpa-dashboard .mpa-action:hover {
  background:#f6faff!important;
  border-color:#9dbce8!important;
}
#dashboard #actionsSection .mpa-dashboard .mpa-action-upper small {
  color:#5f7392!important;
  font-size:11px!important;
}
#dashboard #actionsSection .mpa-dashboard .mpa-action strong {
  color:#162842!important;
  font-size:14px!important;
  font-weight:800!important;
  line-height:1.4;
}
#dashboard #actionsSection .mpa-dashboard .mpa-action-lower {
  color:#485e7d!important;
  font-size:12px!important;
  font-weight:600;
}
#dashboard #actionsSection .mpa-dashboard .mpa-action-auto {
  color:#82550e!important;
  background:#fff2d3!important;
  padding:4px 7px;
  font-size:11px!important;
}
#dashboard #actionsSection .mpa-dashboard .mpa-badge {
  display:inline-flex!important;
  flex:0 0 auto!important;
  padding:5px 9px!important;
  border-radius:999px;
  font-size:11px!important;
  font-weight:800!important;
}
#dashboard #actionsSection .mpa-dashboard .mpa-badge.success {
  color:#167544!important;
  background:#ddf5e7!important;
  border-color:#b7e4cb!important;
}
#dashboard #actionsSection .mpa-dashboard .mpa-badge.neutral {
  color:#526780!important;
  background:#e9eff7!important;
  border-color:#d7e2ee!important;
}
#dashboard #actionsSection .mpa-dashboard .mpa-detail {
  border-color:#d5e0ef;
  min-width:0!important;
  border-radius:17px;
}
#dashboard #actionsSection .mpa-dashboard .mpa-detail-top {
  padding:21px 19px 16px;
}
#dashboard #actionsSection .mpa-dashboard .mpa-detail-top h3 {
  color:#132641!important;
  font-size:21px!important;
  font-weight:850!important;
}
#dashboard #actionsSection .mpa-dashboard .mpa-period {
  color:#546b89!important;
  font-size:12px!important;
}
#dashboard #actionsSection .mpa-dashboard .mpa-detail-kpis small {
  color:#4c6180!important;
  font-size:12px!important;
}
#dashboard #actionsSection .mpa-dashboard .mpa-detail-kpis b {
  color:#172c4a!important;
}
#dashboard #actionsSection .mpa-dashboard .mpa-action-note {
  padding:14px 15px;
  border-color:#d0e3ff;
  margin:0 18px 16px;
}
#dashboard #actionsSection .mpa-dashboard .mpa-action-note strong {
  color:#1c385e!important;
  font-size:13px!important;
}
#dashboard #actionsSection .mpa-dashboard .mpa-action-note span:not(.mpa-info-mark) {
  color:#496684!important;
  font-size:12px!important;
  line-height:1.55;
}
#dashboard #actionsSection .mpa-dashboard .mpa-detail-actions {
  padding:0 18px 16px;
  gap:9px;
  justify-content:flex-start!important;
}
#dashboard #actionsSection .mpa-dashboard .mpa-detail-actions .mpa-button {
  min-height:39px!important;
  padding:9px 13px!important;
  flex:0 0 auto!important;
}
#dashboard #actionsSection .mpa-dashboard .mpa-about {
  color:#315d96!important;
  font-size:12px!important;
  flex:0 1 auto;
}
#dashboard #actionsSection .mpa-dashboard .mpa-about summary {
  color:#2464bd!important;
  font-size:12px!important;
}
#dashboard #actionsSection .mpa-dashboard .mpa-subtabs button {
  display:inline-flex!important;
  flex:0 0 auto!important;
  padding:11px 2px!important;
  border:0!important;
  border-bottom:2px solid transparent!important;
  border-radius:0!important;
  color:#57718c!important;
  background:transparent!important;
  font-size:12px!important;
  font-weight:750!important;
}
#dashboard #actionsSection .mpa-dashboard .mpa-subtabs button.is-active {
  color:#195bd3!important;
  border-bottom-color:#266df7!important;
}
#dashboard #actionsSection .mpa-dashboard .mpa-subtabs button span {
  font-size:10px!important;
  background:#e6eefb!important;
  color:#355b93!important;
  padding:3px 6px;
}
#dashboard #actionsSection .mpa-dashboard .mpa-product-search {
  border-color:#cfdceb;
  margin:0;
  min-width:210px;
}
#dashboard #actionsSection .mpa-dashboard .mpa-product-search input {
  width:100%!important;
  min-height:33px;
  padding:8px 0!important;
  border:0!important;
  font-size:12px!important;
}
#dashboard #actionsSection .mpa-dashboard .mpa-products-table {
  min-width:1250px;
  font-size:12px!important;
}
#dashboard #actionsSection .mpa-dashboard .mpa-products-table th {
  color:#344b6b!important;
  background:#eef3fa!important;
  font-size:11px!important;
  font-weight:800!important;
  padding:13px 10px!important;
  white-space:nowrap;
}
#dashboard #actionsSection .mpa-dashboard .mpa-products-table th small {
  color:#657b97!important;
  font-size:10px!important;
}
#dashboard #actionsSection .mpa-dashboard .mpa-products-table td {
  color:#273c5a!important;
  font-size:12px!important;
  padding:13px 10px!important;
  line-height:1.45;
}
#dashboard #actionsSection .mpa-dashboard .mpa-product-id strong {
  color:#1e3553!important;
  font-size:12px!important;
}
#dashboard #actionsSection .mpa-dashboard .mpa-product-id small,
#dashboard #actionsSection .mpa-dashboard .mpa-product-name small {
  color:#5e7491!important;
  font-size:10px!important;
}
#dashboard #actionsSection .mpa-dashboard .mpa-product-name strong {
  color:#203752!important;
  font-size:12px!important;
  font-weight:750!important;
}
#dashboard #actionsSection .mpa-dashboard .mpa-number {
  color:#1d3451!important;
  font-size:12px!important;
}
#dashboard #actionsSection .mpa-dashboard .mpa-limit strong,
#dashboard #actionsSection .mpa-dashboard .mpa-orders strong {
  color:#172d4a!important;
  font-size:13px!important;
}
#dashboard #actionsSection .mpa-dashboard .mpa-limit small,
#dashboard #actionsSection .mpa-dashboard .mpa-delta {
  color:#6f809a!important;
  font-size:10px!important;
}
#dashboard #actionsSection .mpa-dashboard .mpa-delta.up {color:#14784f!important}
#dashboard #actionsSection .mpa-dashboard .mpa-delta.down {color:#b23c4d!important}
#dashboard #actionsSection .mpa-dashboard .mpa-boost b {
  color:#3a5375!important;
  font-size:11px!important;
}
#dashboard #actionsSection .mpa-dashboard .mpa-table-footer {
  color:#5d7390!important;
  padding:13px 18px;
  font-size:11px!important;
}
#dashboard #actionsSection .mpa-dashboard .mpa-other-link {
  display:inline-flex!important;
  background:#e9f0fc!important;
  border:1px solid #d3e0f4!important;
  color:#255dab!important;
  padding:6px 8px!important;
  font-size:11px!important;
  font-weight:750!important;
}
#dashboard #actionsSection .mpa-dashboard .mpa-edit-product {
  display:inline-flex!important;
  background:#fff!important;
  border:1px solid #c5daf6!important;
  border-radius:7px!important;
  color:#185dc5!important;
  font-size:11px!important;
  padding:7px 9px!important;
}
#dashboard #actionsSection .mpa-dashboard .mpa-calendar-day button {
  display:block!important;
  width:100%!important;
  white-space:nowrap!important;
  text-align:left!important;
  color:#1856a2!important;
  background:#e9f3ff!important;
  border-radius:6px!important;
  padding:5px 7px!important;
  margin-top:4px!important;
  font-size:11px!important;
}
#dashboard #actionsSection .mpa-dashboard .mpa-month-button {
  display:inline-flex!important;
  background:#f4f8ff!important;
  border:1px solid #cfdff3!important;
  color:#2465c5!important;
  border-radius:8px!important;
  width:36px!important;
  height:36px!important;
  font-size:23px!important;
  padding:0!important;
}
#dashboard #actionsSection .mpa-dashboard .mpa-calendar-weekday {
  color:#415b7b!important;
  font-size:12px!important;
}
#dashboard #actionsSection .mpa-dashboard .mpa-day-number {
  color:#3e597a!important;
  font-size:12px!important;
}
#dashboard #actionsSection .mpa-dashboard .mpa-footnote {
  color:#536d8e!important;
  font-size:12px!important;
}
#dashboard #actionsSection .mpa-dashboard .mpa-insights>summary {
  color:#2c5c9a!important;
  font-size:13px!important;
}
#dashboard #actionsSection .mpa-dashboard .mpa-detail-loading,
#dashboard #actionsSection .mpa-dashboard .mpa-skeleton,
#dashboard #actionsSection .mpa-dashboard .mpa-empty,
#dashboard #actionsSection .mpa-dashboard .mpa-failed {
  color:#526b88!important;
  font-size:14px!important;
}
/* Responsive controls are deliberately explicit: all mobile sizes retain
   inline tabs, horizontally scrollable table, and legible text. */
@media (max-width:1400px) {
  #dashboard #actionsSection .mpa-dashboard .mpa-toolbar-actions {
    margin-left:0;
  }
}
@media (max-width:1050px) {
  #dashboard #actionsSection .mpa-dashboard .mpa-workspace {
    grid-template-columns:minmax(235px,29%) minmax(0,1fr)!important;
  }
  #dashboard #actionsSection .mpa-dashboard .mpa-overview-cta {
    padding-right:65px;
  }
}
@media (max-width:760px) {
  #dashboard #actionsSection .mpa-dashboard .mpa-workspace {
    grid-template-columns:minmax(0,1fr)!important;
    gap:16px!important;
  }
  #dashboard #actionsSection .mpa-dashboard .mpa-action-list {
    display:flex!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    max-height:none!important;
    gap:10px!important;
  }
  #dashboard #actionsSection .mpa-dashboard .mpa-action {
    flex:0 0 240px!important;
    width:240px!important;
    min-width:240px!important;
  }
  #dashboard #actionsSection .mpa-dashboard .mpa-overview-content {
    grid-template-columns:1fr!important;
  }
  #dashboard #actionsSection .mpa-dashboard .mpa-overview-cta {
    padding-right:0;
  }
  #dashboard #actionsSection .mpa-dashboard .mpa-heading h2 {font-size:26px!important}
  #dashboard #actionsSection .mpa-dashboard .mpa-filter-group {
    flex:1 1 100%!important;
  }
  #dashboard #actionsSection .mpa-dashboard .mpa-search {
    flex:1 1 100%!important;
    width:100%!important;
    max-width:none!important;
  }
  #dashboard #actionsSection .mpa-dashboard .mpa-toolbar-actions {
    flex:1 1 100%!important;
  }
  #dashboard #actionsSection .mpa-dashboard .mpa-toolbar-actions .mpa-button {
    flex:1 1 auto!important;
  }
}
@media (max-width:480px) {
  #dashboard #actionsSection .mpa-dashboard .mpa-overview {padding:16px}
  #dashboard #actionsSection .mpa-dashboard .mpa-overview-cta {flex-direction:column}
  #dashboard #actionsSection .mpa-dashboard .mpa-filter-group>button {font-size:11px!important;padding:7px 9px!important}
  #dashboard #actionsSection .mpa-dashboard .mpa-detail-top h3 {font-size:18px!important}
  #dashboard #actionsSection .mpa-dashboard .mpa-metric strong {font-size:23px!important}
}

/* In-row promotions editing (14 columns), no separate editor */
#dashboard #actionsSection .mpa-dashboard .mpa-products-table {
  table-layout:fixed!important;
  min-width:1430px!important;
}
#dashboard #actionsSection .mpa-dashboard .mpa-products-table th:nth-child(5){
  width:135px!important;
}
#dashboard #actionsSection .mpa-dashboard .mpa-products-table th:nth-child(12){
  width:135px!important;
}
#dashboard #actionsSection .mpa-dashboard .mpa-products-table th:nth-child(13){
  width:85px!important;
}
#dashboard #actionsSection .mpa-dashboard .mpa-products-table th:nth-child(14){
  width:163px!important;
}
#dashboard #actionsSection .mpa-dashboard .mpa-products-table td.mpa-manual-qty {
  text-align:center!important;
  vertical-align:middle!important;
  background:#f4f9ff;
  border-left:1px solid #dbe8f7;
  font-variant-numeric:tabular-nums;
}
#dashboard #actionsSection .mpa-dashboard .mpa-manual-qty strong {
  display:block;
  color:#194a85!important;
  font-size:13px!important;
  font-weight:850!important;
  white-space:nowrap;
}
#dashboard #actionsSection .mpa-dashboard .mpa-manual-qty small {
  display:block;
  color:#4775a4!important;
  font-size:10px!important;
  line-height:1.45;
  white-space:normal;
  margin-top:4px;
}
#dashboard #actionsSection .mpa-dashboard .mpa-inline-qty,
#dashboard #actionsSection .mpa-dashboard .mpa-inline-price {
  display:block!important;
  max-width:100%!important;
  width:100%!important;
  height:36px!important;
  margin:0!important;
  padding:6px 8px!important;
  border:1px solid #a6c4ee!important;
  border-radius:7px!important;
  background:#fff!important;
  color:#172c4c!important;
  font-size:12px!important;
  text-align:right!important;
  box-shadow:none!important;
  font-weight:700!important;
}
#dashboard #actionsSection .mpa-dashboard .mpa-inline-price:focus,
#dashboard #actionsSection .mpa-dashboard .mpa-inline-qty:focus {
  outline:2px solid #8cb9ff!important;
  outline-offset:0!important;
}
#dashboard #actionsSection .mpa-dashboard tr.mpa-row-editing td {
  background:#f0f6ff!important;
  border-bottom:1px solid #bcd5f5!important;
}
#dashboard #actionsSection .mpa-dashboard tr.mpa-row-editing td.mpa-manual-qty {
  background:#e6f1ff!important;
}
#dashboard #actionsSection .mpa-dashboard tr.mpa-row-xlsx-pending td:not(.mpa-manual-qty) {
  background:#fbfdf7;
}
#dashboard #actionsSection .mpa-dashboard .mpa-price-removal {
  color:#975022!important;
  font-size:11px!important;
  font-weight:750!important;
  white-space:normal;
  line-height:1.4;
}
#dashboard #actionsSection .mpa-dashboard .mpa-xlsx-pending {
  display:block;
  color:#805c13!important;
  font-size:10px!important;
  line-height:1.35;
}
#dashboard #actionsSection .mpa-dashboard .mpa-inline-controls {
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  gap:5px!important;
  max-width:100%;
  justify-content:flex-start!important;
}
#dashboard #actionsSection .mpa-dashboard .mpa-inline-controls .mpa-inline-button,
#dashboard #actionsSection .mpa-dashboard .mpa-inline-controls .mpa-edit-product {
  display:inline-flex!important;
  flex:0 0 auto!important;
  width:auto!important;
  max-width:100%!important;
  margin:0!important;
  background:#fff!important;
  color:#31577e!important;
  border:1px solid #c3d7ed!important;
  border-radius:7px!important;
  padding:6px 8px!important;
  font-size:11px!important;
  font-weight:750!important;
  line-height:1.2!important;
  min-height:29px!important;
  text-shadow:none!important;
  box-shadow:none!important;
}
#dashboard #actionsSection .mpa-dashboard .mpa-inline-controls .primary {
  background:#1868df!important;
  color:#fff!important;
  border-color:#1868df!important;
}
#dashboard #actionsSection .mpa-dashboard .mpa-inline-controls .danger {
  color:#a63746!important;
  border-color:#edd2d8!important;
  background:#fff7f7!important;
}
#dashboard #actionsSection .mpa-dashboard .mpa-inline-controls button:disabled {
  opacity:.45!important;
}
#dashboard #actionsSection .mpa-dashboard .mpa-row-confirm-note {
  width:100%;
  font-weight:650;
  color:#1f486f!important;
  font-size:11px!important;
  white-space:normal;
  line-height:1.4;
}
#dashboard #actionsSection .mpa-dashboard .mpa-inline-confirm-checkbox {
  display:flex;
  flex:1 1 100%;
  gap:6px;
  align-items:center;
  font-size:11px!important;
  color:#244365!important;
  cursor:pointer;
}
#dashboard #actionsSection .mpa-dashboard .mpa-inline-confirm-checkbox input {
  display:inline-block!important;
  flex:0 0 auto;
  width:16px!important;
  height:16px!important;
  margin:0!important;
  padding:0!important;
}
#dashboard #actionsSection .mpa-dashboard .mpa-inline-message {
  display:block!important;
  margin-top:5px;
  color:#22714c!important;
  font-size:10px!important;
  line-height:1.45;
  overflow-wrap:anywhere;
}
#dashboard #actionsSection .mpa-dashboard .mpa-inline-message.is-error {
  color:#af3c4b!important;
}
#dashboard #actionsSection .mpa-dashboard .mpa-inline-alert {
  border:1px solid #c9dced;
  background:#f1f8ff;
  color:#24537b!important;
  margin:0 16px 13px;
  border-radius:9px;
  padding:12px 14px;
  font-size:12px!important;
  line-height:1.5;
  font-weight:650;
  overflow-wrap:anywhere;
}
#dashboard #actionsSection .mpa-dashboard .mpa-inline-alert.is-error {
  border-color:#efced5;
  color:#a23c4c!important;
  background:#fff5f6;
}
#dashboard #actionsSection .mpa-dashboard .mpa-inline-explainer {
  display:inline-flex;
  align-items:center;
  color:#294966!important;
  background:#f1f6fd;
  border:1px solid #dce7f5;
  border-radius:8px;
  padding:9px 12px;
  font-size:12px!important;
  font-weight:700;
  line-height:1.4;
}
#dashboard #actionsSection .mpa-dashboard .mpa-template-label {
  display:inline-flex;
  color:#527496!important;
  font-size:11px!important;
  min-width:0;
  max-width:260px;
  overflow-wrap:anywhere;
}
#dashboard #actionsSection .mpa-dashboard .mpa-api-settings {
  border:1px solid #bfd5ed;
  border-radius:14px;
  padding:17px 19px;
  margin:0 0 19px;
  background:#f7faff;
  color:#223b5d!important;
}
#dashboard #actionsSection .mpa-dashboard .mpa-api-settings strong {
  display:block;
  color:#193351!important;
  font-size:15px!important;
  margin-bottom:6px;
}
#dashboard #actionsSection .mpa-dashboard .mpa-api-settings p {
  color:#34597f!important;
  font-size:12px!important;
  margin:0 0 5px;
}
#dashboard #actionsSection .mpa-dashboard .mpa-api-settings small {
  display:block;
  color:#5a7490!important;
  font-size:11px!important;
}
#dashboard #actionsSection .mpa-dashboard .mpa-api-key-line {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:9px;
  margin:12px 0 8px;
}
#dashboard #actionsSection .mpa-dashboard .mpa-api-key-line input {
  width:auto!important;
  flex:1 1 270px!important;
  min-width:180px!important;
  min-height:42px!important;
  background:#fff!important;
  color:#1b324e!important;
  border:1px solid #c0d0e5!important;
  border-radius:9px!important;
  margin:0!important;
  font-size:13px!important;
}
#dashboard #actionsSection .mpa-dashboard .mpa-api-key-line .mpa-button {
  flex:0 0 auto!important;
  margin:0!important;
  max-width:100%;
  min-height:40px!important;
}
@media (max-width:760px){
  #dashboard #actionsSection .mpa-dashboard .mpa-products-table{min-width:1400px!important}
  #dashboard #actionsSection .mpa-dashboard .mpa-inline-controls {flex-direction:column!important;align-items:flex-start!important}
}
/* Keep the editable quantity and actions visible on a 1600px desktop. */
@media (min-width:1250px){
  #dashboard #actionsSection .mpa-dashboard .mpa-workspace{
    grid-template-columns:clamp(242px,19vw,292px) minmax(0,1fr)!important;
    gap:16px!important;
  }
  #dashboard #actionsSection .mpa-dashboard .mpa-products-table{
    min-width:1280px!important;
  }
  #dashboard #actionsSection .mpa-dashboard .mpa-products-table th:nth-child(1){width:45px!important}
  #dashboard #actionsSection .mpa-dashboard .mpa-products-table th:nth-child(2){width:75px!important}
  #dashboard #actionsSection .mpa-dashboard .mpa-products-table th:nth-child(3){width:194px!important}
  #dashboard #actionsSection .mpa-dashboard .mpa-products-table th:nth-child(4){width:72px!important}
  #dashboard #actionsSection .mpa-dashboard .mpa-products-table th:nth-child(5){width:106px!important}
  #dashboard #actionsSection .mpa-dashboard .mpa-products-table th:nth-child(6){width:90px!important}
  #dashboard #actionsSection .mpa-dashboard .mpa-products-table th:nth-child(7){width:80px!important}
  #dashboard #actionsSection .mpa-dashboard .mpa-products-table th:nth-child(8){width:80px!important}
  #dashboard #actionsSection .mpa-dashboard .mpa-products-table th:nth-child(9){width:65px!important}
  #dashboard #actionsSection .mpa-dashboard .mpa-products-table th:nth-child(10){width:65px!important}
  #dashboard #actionsSection .mpa-dashboard .mpa-products-table th:nth-child(11){width:66px!important}
  #dashboard #actionsSection .mpa-dashboard .mpa-products-table th:nth-child(12){width:130px!important}
  #dashboard #actionsSection .mpa-dashboard .mpa-products-table th:nth-child(13){width:86px!important}
  #dashboard #actionsSection .mpa-dashboard .mpa-products-table th:nth-child(14){width:128px!important}
  #dashboard #actionsSection .mpa-dashboard .mpa-products-table td{padding:10px 7px!important}
}
