@font-face{font-family:"Market Inter";src:url('/static/fonts/InterVariable.woff2') format('woff2');font-weight:100 900;font-style:normal;font-display:swap}
:root{--mp-ui-font:"Market Inter",Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
/* From Uiverse.io by Galahhad */ 
.theme-switch {
  --toggle-size: 16px;
  /* the size is adjusted using font-size,
     this is not transform scale,
     so you can choose any size */
  --container-width: 5.625em;
  --container-height: 2.5em;
  --container-radius: 6.25em;
  /* radius 0 - minecraft mode :) */
  --container-light-bg: #0297de;
  --container-night-bg: #0a1430;
  --circle-container-diameter: 3.375em;
  --sun-moon-diameter: 2.125em;
  --sun-bg: #fc734d;
  --moon-bg: #C4C9D1;
  --spot-color: #b4b7c0;
  --circle-container-offset: calc((var(--circle-container-diameter) - var(--container-height)) / 2 * -1);
  --stars-color: #fff;
  --clouds-color: #F3FDFF;
  --back-clouds-color: #8dd0f0;
  --transition: .5s cubic-bezier(0, -0.02, 0.4, 1.25);
}

.theme-switch, .theme-switch *, .theme-switch *::before, .theme-switch *::after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-size: var(--toggle-size);
}

.theme-switch__container {
  width: var(--container-width);
  height: var(--container-height);
  background-color: var(--container-light-bg);
  border-radius: var(--container-radius);
  overflow: hidden;
  cursor: pointer;
  -webkit-box-shadow: 0em -0.062em 0.062em rgba(10,20,48, 0.25), 0em 0.062em 0.125em rgba(255, 255, 255, 0.94);
  box-shadow: 0em -0.062em 0.062em rgba(10,20,48, 0.25), 0em 0.062em 0.125em rgba(255, 255, 255, 0.94);
  -webkit-transition: var(--transition);
  -o-transition: var(--transition);
  transition: var(--transition);
  position: relative;
}

.theme-switch__container::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  -webkit-box-shadow: 0em 0.05em 0.187em rgba(10,20,48, 0.25) inset, 0em 0.05em 0.187em rgba(10,20,48, 0.25) inset;
  box-shadow: 0em 0.05em 0.187em rgba(10,20,48, 0.25) inset, 0em 0.05em 0.187em rgba(10,20,48, 0.25) inset;
  border-radius: var(--container-radius)
}

.theme-switch__checkbox {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  clip-path: inset(50%);
  overflow: hidden;
}

.theme-switch__circle-container {
  width: var(--circle-container-diameter);
  height: var(--circle-container-diameter);
  background-color: rgba(255, 255, 255, 0.1);
  position: absolute;
  left: var(--circle-container-offset);
  top: var(--circle-container-offset);
  border-radius: var(--container-radius);
  -webkit-box-shadow: inset 0 0 0 3.375em rgba(255, 255, 255, 0.1), inset 0 0 0 3.375em rgba(255, 255, 255, 0.1), 0 0 0 0.625em rgba(255, 255, 255, 0.1), 0 0 0 1.25em rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 0 3.375em rgba(255, 255, 255, 0.1), inset 0 0 0 3.375em rgba(255, 255, 255, 0.1), 0 0 0 0.625em rgba(255, 255, 255, 0.1), 0 0 0 1.25em rgba(255, 255, 255, 0.1);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  transition: transform .3s ease-out;
  pointer-events: none;
}

.theme-switch__sun-moon-container {
  pointer-events: auto;
  position: relative;
  z-index: 2;
  width: var(--sun-moon-diameter);
  height: var(--sun-moon-diameter);
  margin: auto;
  border-radius: var(--container-radius);
  background-color: var(--sun-bg);
  -webkit-box-shadow: 0.062em 0.062em 0.062em 0em rgba(255,255,255, 0.61) inset, 0em -0.062em 0.062em 0em #8f4840 inset;
  box-shadow: 0.062em 0.062em 0.062em 0em rgba(255,255,255, 0.61) inset, 0em -0.062em 0.062em 0em #8f4840 inset;
  -webkit-filter: drop-shadow(0.062em 0.125em 0.125em rgba(10,20,48, 0.25)) drop-shadow(0em 0.062em 0.125em rgba(10,20,48, 0.25));
  filter: drop-shadow(0.062em 0.125em 0.125em rgba(10,20,48, 0.25)) drop-shadow(0em 0.062em 0.125em rgba(10,20,48, 0.25));
  overflow: hidden;
  -webkit-transition: var(--transition);
  -o-transition: var(--transition);
  transition: var(--transition);
}

.theme-switch__moon {
  -webkit-transform: translateX(100%);
  -ms-transform: translateX(100%);
  transform: translateX(100%);
  width: 100%;
  height: 100%;
  background-color: var(--moon-bg);
  border-radius: inherit;
  -webkit-box-shadow: 0.062em 0.062em 0.062em 0em rgba(255,255,255, 0.61) inset, 0em -0.062em 0.062em 0em #969696 inset;
  box-shadow: 0.062em 0.062em 0.062em 0em rgba(255,255,255, 0.61) inset, 0em -0.062em 0.062em 0em #969696 inset;
  -webkit-transition: var(--transition);
  -o-transition: var(--transition);
  transition: var(--transition);
  position: relative;
}

.theme-switch__spot {
  position: absolute;
  top: 0.75em;
  left: 0.312em;
  width: 0.75em;
  height: 0.75em;
  border-radius: var(--container-radius);
  background-color: var(--spot-color);
  -webkit-box-shadow: 0em 0.0312em 0.062em rgba(10,20,48, 0.25) inset;
  box-shadow: 0em 0.0312em 0.062em rgba(10,20,48, 0.25) inset;
}

.theme-switch__spot:nth-of-type(2) {
  width: 0.375em;
  height: 0.375em;
  top: 0.937em;
  left: 1.375em;
}

.theme-switch__spot:nth-last-of-type(3) {
  width: 0.25em;
  height: 0.25em;
  top: 0.312em;
  left: 0.812em;
}

.theme-switch__clouds {
  width: 1.25em;
  height: 1.25em;
  background-color: var(--clouds-color);
  border-radius: var(--container-radius);
  position: absolute;
  bottom: -0.625em;
  left: 0.312em;
  -webkit-box-shadow: 0.937em 0.312em var(--clouds-color), -0.312em -0.312em var(--back-clouds-color), 1.437em 0.375em var(--clouds-color), 0.5em -0.125em var(--back-clouds-color), 2.187em 0 var(--clouds-color), 1.25em -0.062em var(--back-clouds-color), 2.937em 0.312em var(--clouds-color), 2em -0.312em var(--back-clouds-color), 3.625em -0.062em var(--clouds-color), 2.625em 0em var(--back-clouds-color), 4.5em -0.312em var(--clouds-color), 3.375em -0.437em var(--back-clouds-color), 4.625em -1.75em 0 0.437em var(--clouds-color), 4em -0.625em var(--back-clouds-color), 4.125em -2.125em 0 0.437em var(--back-clouds-color);
  box-shadow: 0.937em 0.312em var(--clouds-color), -0.312em -0.312em var(--back-clouds-color), 1.437em 0.375em var(--clouds-color), 0.5em -0.125em var(--back-clouds-color), 2.187em 0 var(--clouds-color), 1.25em -0.062em var(--back-clouds-color), 2.937em 0.312em var(--clouds-color), 2em -0.312em var(--back-clouds-color), 3.625em -0.062em var(--clouds-color), 2.625em 0em var(--back-clouds-color), 4.5em -0.312em var(--clouds-color), 3.375em -0.437em var(--back-clouds-color), 4.625em -1.75em 0 0.437em var(--clouds-color), 4em -0.625em var(--back-clouds-color), 4.125em -2.125em 0 0.437em var(--back-clouds-color);
  -webkit-transition: 0.5s cubic-bezier(0, -0.02, 0.4, 1.25);
  -o-transition: 0.5s cubic-bezier(0, -0.02, 0.4, 1.25);
  transition: 0.5s cubic-bezier(0, -0.02, 0.4, 1.25);
}

.theme-switch__stars-container {
  position: absolute;
  color: var(--stars-color);
  top: -100%;
  left: 0.312em;
  width: 2.75em;
  height: auto;
  -webkit-transition: var(--transition);
  -o-transition: var(--transition);
  transition: var(--transition);
}

/* actions */

.theme-switch__checkbox:checked + .theme-switch__container {
  background-color: var(--container-night-bg);
}

.theme-switch__checkbox:checked + .theme-switch__container .theme-switch__circle-container {
  transform: translateX(calc(var(--container-width) - var(--circle-container-diameter) - 2 * var(--circle-container-offset)));
}

.theme-switch__checkbox:checked + .theme-switch__container .theme-switch__moon {
  -webkit-transform: translate(0);
  -ms-transform: translate(0);
  transform: translate(0);
}

.theme-switch__checkbox:checked + .theme-switch__container .theme-switch__clouds {
  bottom: -4.062em;
}

.theme-switch__checkbox:checked + .theme-switch__container .theme-switch__stars-container {
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

/* Compact header, preserving the supplied Galahhad sun/moon animation. */
:root{color-scheme:dark}
html[data-theme=light]{color-scheme:light}
body.mpt-enabled>.mpt-header{padding:8px 12px!important;column-gap:10px!important}
body.mpt-enabled>.mpt-header>.mpt-controls{gap:7px!important;padding-left:0!important}
body.mpt-enabled .mpt-header .mpt-toggle,body.mpt-enabled .mpt-header .mpt-direct{padding:8px 7px!important}
.mpt-header .theme-switch{position:relative;display:inline-flex;align-items:center;justify-content:center;flex:0 0 90px!important;width:90px!important;min-height:44px!important;padding:2px 0!important;cursor:pointer}
.mpt-header .theme-switch,.mpt-header .theme-switch *{font-size:var(--toggle-size)!important}
.theme-switch__checkbox:focus-visible+.theme-switch__container{outline:3px solid var(--mp-accent)!important;outline-offset:3px}
@media(max-width:600px){
 body.mpt-enabled>.mpt-header{grid-template-columns:minmax(0,1fr) max-content!important;column-gap:6px!important;padding:6px 8px!important}
 body.mpt-enabled>.mpt-header>.mpt-controls{gap:5px!important;height:auto!important;min-height:44px!important}
 body.mpt-enabled .mpt-controls .user-label{display:none!important}
 body.mpt-enabled .mpt-controls .mpt-logout{padding:6px!important;font-size:10px!important}
 body.mpt-enabled .mpt-logo .mpt-brand-text b{font-size:13px!important;letter-spacing:.08em!important}
 body.mpt-enabled .mpt-header #mp-manager-tasks{width:32px!important;height:32px!important;flex-basis:32px!important}
 body.mpt-enabled .mpt-header #mp-manager-tasks span{width:30px!important;height:30px!important}
 body.mpt-enabled .mpt-header .mpt-settings{width:28px!important;height:30px!important;min-height:30px!important}
}
@media(max-width:380px){body.mpt-enabled>.mpt-header>.mpt-controls{gap:3px!important}body.mpt-enabled .mpt-controls .mpt-logout{font-size:9px!important;padding:4px!important}.mpt-header .theme-switch{--toggle-size:14px;flex-basis:79px!important;width:79px!important}body.mpt-enabled .mpt-controls>a{font-size:10px!important}}
@media(prefers-reduced-motion:reduce){.theme-switch *,.theme-switch *::before{transition:none!important}}

/* Daylight palette: cool paper, ink text and the existing blue/teal identity. */
html[data-theme=light]{--mp-bg:#f3f6fb;--mp-accent:#0297de;--mp-teal:#065c90;--mp-line:#efeff1;--mp-dim:#065c90;--mp-panel-surface:#fff;--bg:#f3f6fb;--surface:#fff;--surface2:#edf2f9;--card:#fff;--line:#efeff1;--text:#0a1a38;--muted:#065c90;--accent:#0297de;--purple:#0297de;--mint:#065c90;--orange:#8f4840;--pink:#fc734d}
html[data-theme=light] body{background-color:var(--mp-bg)!important;color:var(--text)!important}
html[data-theme=light] body.mpt-enabled{background-image:radial-gradient(#0297de1c 1px,transparent 1px)!important}
html[data-theme=light] body.mpt-enabled::before{opacity:.045}
html[data-theme=light] body.mpt-enabled::after{opacity:.035}
html[data-theme=light] body.mpt-enabled>.mpt-header{background:#fffffff2!important;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border-bottom:1px solid var(--mp-line)!important;color:var(--text)!important;box-shadow:0 4px 20px #065c9010!important}
html[data-theme=light] body.mpt-enabled .mpt-logo .mpt-brand-text b{background:linear-gradient(110deg,#0a1c3b,#0297de)!important;background-clip:text!important;-webkit-background-clip:text!important;-webkit-text-fill-color:transparent!important}
html[data-theme=light] body.mpt-enabled .mpt-header :is(.mpt-toggle,.mpt-direct,.mpt-item,.user-label,.mpt-controls>a){color:#092242!important}
html[data-theme=light] body.mpt-enabled .mpt-header :is(.mpt-toggle,.mpt-direct):hover,html[data-theme=light] body.mpt-enabled .mpt-header :is(.mpt-selected,.mpt-direct.active,.mpt-toggle[aria-expanded=true]){background:#ffffff!important;color:#0297de!important}
html[data-theme=light] body.mpt-enabled .mpt-header .mpt-panel{background:#fff!important;border-color:var(--mp-line)!important;box-shadow:0 18px 45px #065c9026!important}
html[data-theme=light] body.mpt-enabled .mpt-header .mpt-panel .mpt-item:is(:hover,.active){background:#ffffff!important;color:#0297de!important}
html[data-theme=light] body.mpt-enabled .mpt-controls :is(.mpt-settings,.mpt-logout){background:#f4f7fc!important;border-color:var(--mp-line)!important;color:#065c90!important}
html[data-theme=light] body.mpt-enabled .mpt-header #mp-manager-tasks{background:#f8f9f9!important;border-color:#8dd0f0!important}
html[data-theme=light] body.mpt-enabled :is(.card,.section-card,.metric,.mp-product-card,.purchase-stat,.purchase-card,.mt-universe,.mt-detail-rail,.mt-notes,.wbc-list,.wbc-detail,.wbc-card,.sync-card,.wc-card,.login-card){background:#fff!important;color:var(--text)!important;border-color:var(--mp-line)!important;box-shadow:0 4px 18px #065c9008!important}
html[data-theme=light] body.mpt-enabled :is(.card,.section-card,.metric,.mp-product-card):hover{box-shadow:0 8px 26px #065c9012!important;border-color:#e6f5fc!important}
html[data-theme=light] body.mpt-enabled :is(.card,.section-card,.metric,.mp-product-card){--mb-edge:#0297de10;--mb-glow-rgb:49,95,219}
html[data-theme=light] :is(h1,h2,h3,h4,.metric-value,.section-title,.platform-sum,.mp-product-name,.mp-product-ids b,.purchase-formulas strong,.purchase-stat strong,.demo-banner strong,.mp-thought-result){color:var(--text)!important}
html[data-theme=light] :is(.main-shell,main,.sync-main,.purchase-main,.wbc-main,.mt-main,.access,.vision,.login-body){color:var(--text)!important}
html[data-theme=light] :is(th,td){color:var(--text)!important;border-color:var(--mp-line)!important}
html[data-theme=light] :is(th,.purchase-table th,#op-products .op-table thead th){background:#edf2fb!important;color:#065c90!important;border-color:#ecedef!important}
html[data-theme=light] :is(.muted,.eyebrow,.bar-day,.mp-field-title,.mp-input-label,.table-wrap small,.mp-thought-source,.purchase-muted,.purchase-rules,.purchase-demand p,.purchase-demand ul,.purchase-stat small,.purchase-id,.purchase-qty-note,.purchase-result small,.purchase-pager,.mt-sub,.mt-total,.mt-person-label,.mt-bubble-sub,.mt-bubble-hint,.mt-footnote){color:var(--mp-dim)!important}
html[data-theme=light] :is(input,select,textarea):not(.theme-switch__checkbox){background:#f7f9fd!important;color:var(--text)!important;border-color:#e7e8eb!important;accent-color:var(--mp-accent)}
html[data-theme=light] :is(input,textarea)::placeholder{color:#065c90!important}
html[data-theme=light] :is(input,select,textarea):focus-visible{outline:2px solid #0297de!important;outline-offset:2px}
html[data-theme=light] :is(.chip,.pill,.message,.mp-alert-chip,.op-menu,.mp-edit-box,.purchase-week,.purchase-formulas p,.mt-shortcuts button,:where(#preview-box)){background:#edf2fb!important;border-color:var(--mp-line)!important;color:#065c90!important}
html[data-theme=light] :is(.positive,.pill.good,.shop.ozon,.mp-ozon,.purchase-row-growing .purchase-result strong){color:#065c90!important}
html[data-theme=light] :is(.negative,.pill.bad,.op-loss){color:#fc734d!important}
html[data-theme=light] .pill.warn{color:#8f4840!important;background:#ffffff!important}
html[data-theme=light] :is(.shop.wb,.mp-wb){color:#0297de!important;background:#ffffff!important}
html[data-theme=light] :is(.purchase-status-label,.purchase-badge).growing{color:#065c90!important;background:#f7f8f9!important}
html[data-theme=light] :is(.purchase-status-label,.purchase-badge).stable{color:#065c90!important;background:#ffffff!important}
html[data-theme=light] :is(.purchase-status-label,.purchase-badge).unstable{color:#8f4840!important;background:#ffffff!important}
html[data-theme=light] :is(.purchase-status-label,.purchase-badge).stale{color:#fc734d!important;background:#ffffff!important}
html[data-theme=light] :is(.purchase-badge.none,.purchase-badge.stale){color:var(--mp-dim)!important}
html[data-theme=light] :is(.mp-alert-panel,#mp-update-pulse){background:#fffffff7!important;border-color:var(--mp-line)!important;color:var(--text)!important;box-shadow:0 18px 50px #065c9026!important}
html[data-theme=light] :is(.mp-update-caption,.mp-alert-head,.mp-alert-empty){color:var(--text)!important}
html[data-theme=light] :is(.tl,.thought-line){--tl-color:#0297de!important;--tl-glyph:#0297de!important}
html[data-theme=light] :is(.mt-bubble,.mt-bubble:is(:hover,[aria-expanded=true])){background:linear-gradient(#fff,#ffffff)!important;color:var(--text)!important;border-color:#f0f0f2!important}
html[data-theme=light] .mt-portrait{background:radial-gradient(circle at 50% 70%,#ffffff,#f5f8fd)!important}
html[data-theme=light] :is(.purchase-rules summary,.purchase-demand summary,.mt-sheet-toolbar a,.back-links a,.sync-main a,.purchase-main a){color:#0297de!important}
html[data-theme=light] .track{background:#f3f4f5!important}
html[data-theme=light] .metric-note strong{color:#065c90!important}
html[data-theme=light] :is(.metric-note,.purchase-stat>small,.financial-row,.setting-line){border-color:var(--mp-line)!important}
html[data-theme=light] .mp-photo-fallback{color:#065c90!important}
html[data-theme=light] :is(.demo-banner,.mp-product-photo){background:#ffffff!important}
html[data-theme=light] .mp-spark .sp-dot{fill:#0297de}
html[data-theme=light] .mpt-header .mpt-toggle::after{filter:brightness(.4)}
html[data-theme=light] .login-card{background:#fff!important;border-color:var(--mp-line)!important}
html[data-theme=light] :where(#page-content,.content,main) :where(button){color:#065c90;background:#edf2fb;border-color:var(--mp-line)}
html[data-theme=light] :where(#page-content,.content,main) :where(button:hover){color:#0297de;background:#ffffff;border-color:#e6f5fc}
html[data-theme=light] :is(.primary,.purchase-primary,#mt-period button,#mt-more,.mt-sheet-toolbar button,.login-card .wide){color:white!important}
/* Keep the advertising canvas transparent around its individual cards. */
html[data-theme=light] body.mpt-enabled :is(.card,.section-card):has(.wb-ads-page){background:transparent!important;border:0!important;box-shadow:none!important}
html[data-theme=light] .mp-thought-event[data-kind=ok] :is(.tl,.thought-line){--tl-color:#065c90!important;--tl-glyph:#065c90!important}
html[data-theme=light] .mp-thought-event[data-kind=error] :is(.tl,.thought-line){--tl-color:#fc734d!important;--tl-glyph:#fc734d!important}
html[data-theme=light] .mp-thought-event[data-kind=warn] :is(.tl,.thought-line){--tl-color:#8f4840!important;--tl-glyph:#8f4840!important}

/* Legacy modules share daylight surfaces without changing their layout. */
.theme-switch__moon{display:block}
html[data-theme=light] .mp-alert-btn{color:#065c90!important;border-color:#ecedef!important;background:#f2f6fd!important}
html[data-theme=light] .mp-alert-btn.has-error{color:#fc734d!important;border-color:#fff1ed!important}
html[data-theme=light] .mp-alert-btn.has-run{color:#0297de!important}
html[data-theme=light] .mp-alert-btn.has-alert{color:#8f4840!important}
html[data-theme=light] body.mpt-enabled :where(.wbc-message,#wbc-message,.wbc-campaign,.wbc-badge,.wbc-no-photo,.sync-source,.sync-counts>div,.sync-filter-panel,.wc-message,.wc-document,.wc-kind-values,.wc-refinement-area,.wc-metal-area,.stat,.vision,#notice:not(:empty),#job:not(:empty)){background:#edf2fb!important;color:var(--text)!important;border-color:var(--mp-line)!important}
html[data-theme=light] body.mpt-enabled .wbc-campaign.selected{background:#ffffff!important;border-color:#0297de!important;box-shadow:inset 3px 0 #0297de!important}
html[data-theme=light] body.mpt-enabled :is(.wbc-overview,.wbc-overview b,.wbc-product strong,.wbc-product span,.wbc-campaign>span,.wbc-facts>span,.wbc-main label,.wbc-embed label,.sync-filter-panel label,.wc-category,.wc-section-head span){color:var(--text)!important}
html[data-theme=light] .wbc-warning{color:#8f4840!important}
html[data-theme=light] body.mpt-enabled :is(.wbc-products tbody tr:nth-child(even),tbody tr:hover){background:#f3f6fc!important}
html[data-theme=light] body.mpt-enabled main :is(button):not(:where(.primary,.purchase-primary,.wbc-primary,.wc-primary,.mt-bubble,#mt-period button,#mt-more,.mt-sheet-toolbar button)){background:#edf2fb!important;color:#065c90!important;border-color:#ecedef!important}
html[data-theme=light] body.mpt-enabled main :is(button):not(:where(.primary,.purchase-primary,.wbc-primary,.wc-primary,.mt-bubble,#mt-period button,#mt-more,.mt-sheet-toolbar button)):hover{background:#ffffff!important;color:#0297de!important}
html[data-theme=light] body.mpt-enabled main :is(.wbc-primary,.wc-primary){background:#0297de!important;color:#fff!important;border-color:#0297de!important}
html[data-theme=light] :is(.pill.good,.wbc-badge.active,.wc-badge.saved,.wc-badge.already,.sync-tag){color:#065c90!important;background:#f6f7f8!important}
html[data-theme=light] :is(.pill.bad,.sync-gap .sync-tag){color:#fc734d!important;background:#ffffff!important}
html[data-theme=light] :is(.wc-badge.pending,.wc-badge.unknown,.wc-badge.skipped){color:#8f4840!important;background:#ffffff!important}
html[data-theme=light] td.positive{color:#065c90!important}
html[data-theme=light] td.negative{color:#fc734d!important}
html[data-theme=light] body.mpt-enabled .sync-gap{background:#fff1f3!important}
html[data-theme=light] :is(.sync-muted,.sync-table td small,.wc-muted,.wc-category small,.wc-footer,.vision small){color:var(--mp-dim)!important}
html[data-theme=light] :is(.sync-sales-partial,.wc-eyebrow){color:#8f4840!important}
html[data-theme=light] body.mpt-enabled main a{color:#0297de}
html[data-theme=light] :is(.primary,.purchase-primary,.wbc-primary,.wc-primary,#mt-period button,#mt-more,.mt-sheet-toolbar button,.login-card .wide){background:linear-gradient(135deg,#0297de,#0297de)!important;color:#fff!important;border-color:#0297de!important}
@media(max-width:380px){
 body.mpt-enabled>.mpt-header{grid-template-columns:minmax(0,1fr)!important;row-gap:3px!important}
 body.mpt-enabled>.mpt-header>.mpt-logo{grid-column:1!important;grid-row:1!important;justify-self:start}
 body.mpt-enabled>.mpt-header>.mpt-controls{grid-column:1!important;grid-row:2!important;justify-self:start;justify-content:flex-start!important;width:auto!important;max-width:100%!important;flex-wrap:wrap!important;gap:6px!important}
 body.mpt-enabled>.mpt-header>.mpt-navigation{grid-column:1!important;grid-row:3!important}
}
html[data-theme=light] body.mpt-enabled :is(.panel,.cc-popup,.cc-form-dialog,.cc-job){background:#fff!important;color:var(--text)!important;border-color:var(--mp-line)!important;box-shadow:0 12px 40px #065c901a!important}
html[data-theme=light] :is(.cc-note,.kb-meta,.panel p,.message .text,.message strong,#progress){color:var(--mp-dim)!important}
html[data-theme=light] :is(.cc-error,.kb-delete,.error){color:#fc734d!important}
html[data-theme=light] .wb-supply-shortage{color:#8f4840!important}
html[data-theme=light] .wb-supply-ok{color:#065c90!important}
html[data-theme=light] :is(.wb-supply-table .purchase-result strong,.purchase-status-link){color:#0297de!important}
html[data-theme=light] .cc-form-dialog fieldset{border-color:var(--mp-line)!important}
/* Keep explanatory copy readable on paper surfaces, including injected ads CSS. */
html[data-theme=light] :is(.section-intro,.section-subtitle,.subheading,.metric-title,.metric-note,.metric-comparison span,.metric-comparison.neutral,.was-muted,.was-advice,.was-product small,.was-rules summary,.was-tab.was-static){color:#065c90!important}
html[data-theme=light] #wb-ads-summary-card .section-intro{color:#065c90!important}
html[data-theme=light] #op-products :is(.op-table td small,.op-table td:nth-child(3)){color:#065c90!important;opacity:1!important}
html[data-theme=light] body.mpt-enabled .mpt-header .mpt-controls [data-page=settings]{background:#f4f7fc!important;border-color:var(--mp-line)!important;color:#065c90!important}
/* The injected advertising summary table keeps its own sticky-header layer. */
html[data-theme=light] #wb-ads-summary-card .was-table-scroll{background:#fff!important;border-color:var(--mp-line)!important}
html[data-theme=light] #wb-ads-summary-card .was-table thead th{background:#edf2fb!important;color:#065c90!important;border-color:#ecedef!important;box-shadow:0 3px 6px #065c9010!important}
html[data-theme=light] #wb-ads-summary-card .was-up{color:#065c90!important}
html[data-theme=light] #wb-ads-summary-card :is(.was-down,.was-reason,.was-error){color:#fc734d!important}
html[data-theme=light] #wb-ads-summary-card .was-reason{background:#ffffff!important;border-color:#fff1ed!important}
html[data-theme=light] #wb-ads-summary-card .was-warn{color:#8f4840!important}
html[data-theme=light] #wb-ads-summary-card .was-badge{background:#ffffff!important;color:#0297de!important;border-color:#efeff1!important}

/* 24 pt = 32 CSS px desktop gutters, shared by navigation and workspace. */
:root{--mp-page-gutter:16px}
@media(min-width:901px){
 :root{--mp-page-gutter:32px}
 body.mpt-enabled>.mpt-header{padding-inline:var(--mp-page-gutter)!important;column-gap:var(--mp-page-gutter)!important}
}
html body.mpt-enabled main.mp-page-wide{
 box-sizing:border-box;
 width:100%;
 max-width:none!important;
 min-width:0;
 padding-inline:var(--mp-page-gutter)!important;
}
@media(max-width:730px){
 .mpt-dashboard .heading-row{align-items:flex-start}
}
body.mpt-enabled>.mpt-header>.mpt-navigation{justify-content:flex-start!important}
body.mpt-enabled>.mpt-header>.mpt-controls{justify-content:flex-end!important}

/* Reference palette: navy #0A1430, Electric Blue #0297DE, orange #FC734D. */
:root{
 --mp-bg:#0A1430;--mp-accent:#0297DE;--mp-teal:#0297DE;
 --mp-line:#293D59;--mp-dim:#A8BAD0;
 --bg:#0A1430;--surface:#101F3D;--surface2:#162B49;--card:#101F3D;
 --line:#293D59;--text:#F4F8FC;--muted:#A8BAD0;
 --accent:#0297DE;--purple:#0297DE;--mint:#0297DE;--orange:#FC734D;--pink:#FC734D;
}
html[data-theme=light]{
 --mp-bg:#F2F7FC;--mp-accent:#0297DE;--mp-teal:#0297DE;
 --mp-line:#C5D5E4;--mp-dim:#47617C;
 --bg:#F2F7FC;--surface:#fff;--surface2:#E6F2FA;--card:#fff;
 --line:#C5D5E4;--text:#0A1430;--muted:#47617C;
 --accent:#0297DE;--purple:#0297DE;--mint:#0297DE;--orange:#FC734D;--pink:#FC734D;
}
html body :is(.primary,.btn-primary,.mp-action-primary,.purchase-primary,.wbc-primary,.wc-primary,.login-card .wide){background:#0297DE!important;border-color:#0297DE!important;color:#0A1430!important;box-shadow:0 5px 18px #0297DE26!important}
html body :is(.primary,.btn-primary,.mp-action-primary,.purchase-primary,.wbc-primary,.wc-primary,.login-card .wide):hover{background:#36ACE5!important;border-color:#36ACE5!important}
html body :is(button.mp-action.mp-action-danger,.danger,.pill.bad,.wc-badge.pending,.wc-badge.unknown){color:#FC734D!important;border-color:#FC734D66!important;background:#FC734D14!important}
html[data-theme=light] body :is(button.mp-action.mp-action-danger,.danger,.pill.bad,.wc-badge.pending,.wc-badge.unknown){color:#A6381A!important;background:#FC734D1A!important}
html body :is(.bar.wb,.fill.wb){background:#0297DE!important}
html body :is(.bar.ozon,.fill.ozon){background:#FC734D!important}
html body :is(.shop.ozon,.metric-comparison.negative){color:#FC734D!important}
html body :is(input,select,textarea,button,a):focus-visible{outline:2px solid #0297DE!important;outline-offset:3px}
html body .theme-switch{--container-light-bg:#0297DE;--container-night-bg:#0A1430;--sun-bg:#FC734D}

html:not([data-theme=light]) body.mpt-enabled .mpt-logo .mpt-brand-text b{background:linear-gradient(90deg,#F4F8FC 20%,#0297DE 85%)!important;background-clip:text!important;-webkit-background-clip:text!important;color:transparent!important}
html body :is(.mpt-alert-button,.mp-alert-button){color:#FC734D!important}
html body .metric-icon{color:#0297DE!important}
html body .metric:nth-child(3) .metric-icon{color:#FC734D!important;background:#FC734D14!important}
html[data-theme=light] body.mpt-enabled main :is(.primary,.purchase-primary,.wbc-primary,.wc-primary),html[data-theme=light] body .login-card .wide{color:#0A1430!important}
html body.mpt-enabled .mpt-header .mp-alert-btn{color:#FC734D!important}
html body.mpt-enabled .metric:nth-child(3) .metric-icon{color:#FC734D!important}

/* Reserve the alert button’s place while its event handlers load. */
.mpt-controls [data-mpt-alert-pending]{visibility:hidden}
