.mb-media-quota {
    display: grid;
    gap: .55rem;
    max-width: 52rem;
    margin: 1rem 0 1.5rem;
    padding: .9rem 1rem;
    border: 1px solid #dbe5f5;
    border-radius: 12px;
    background: #f7f9ff;
    color: #101d35;
}
.mb-media-quota > div,.mb-analytics-bars li > div,.mb-analytics-devices li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: .5rem 1rem;
}
.mb-media-quota [data-quota-values] { color: #284acc; font-weight: 700; white-space: nowrap; }
.mb-media-quota p { margin: 0; }
.mb-media-quota progress,.mb-analytics-bars progress {
    display: block;
    width: 100%;
    height: .6rem;
    border: 0;
    border-radius: 999px;
    background: #edf2fc;
    overflow: hidden;
    color: #315cf5;
    appearance: none;
}
.mb-media-quota progress::-webkit-progress-bar,.mb-analytics-bars progress::-webkit-progress-bar { background: #e6edfb; }
.mb-media-quota progress::-webkit-progress-value,.mb-analytics-bars progress::-webkit-progress-value {
    border-radius: 999px;
    background: linear-gradient(90deg,#315cf5,#21cdb5);
}
.mb-media-quota progress::-moz-progress-bar,.mb-analytics-bars progress::-moz-progress-bar {
    border-radius: 999px;
    background: linear-gradient(90deg,#315cf5,#21cdb5);
}
.mb-analytics,.mb-shop-seo { margin-top: 1rem; }
.mb-analytics h2,.mb-shop-seo h2 { margin-top: 0; }
.mb-analytics .section-heading { flex-wrap: wrap; }
.mb-analytics-period { display: flex; flex-wrap: wrap; gap: .3rem; }
.mb-analytics-period a {
    border: 1px solid #dbe5f5;
    border-radius: 8px;
    padding: .4rem .65rem;
    color: #284acc;
    text-decoration: none;
    font-size: .85rem;
    font-weight: 650;
}
.mb-analytics-period a[aria-current] { background: #315cf5; color: #fff; border-color: #315cf5; }
.mb-analytics-totals,.mb-analytics-grid,.mb-seo-editor {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: .8rem;
}
.mb-analytics-totals { margin: .85rem 0; }
.mb-analytics-totals > div,.mb-analytics-card,.mb-search-snippet {
    border: 1px solid #dbe5f5;
    border-radius: 12px;
    padding: .9rem;
    min-width: 0;
    background: #fff;
}
.mb-analytics-totals > div { background: #f4f7ff; display: grid; gap: .15rem; }
.mb-analytics-totals strong { color: #284acc; font-size: 1.55rem; }
.mb-analytics-totals span,.mb-analytics-bars,.mb-analytics-devices ul { font-size: .86rem; }
.mb-analytics-card h3 { font-size: 1rem; margin: 0 0 .65rem; color: #101d35; }
.mb-analytics-card p { margin: 0; }
.mb-analytics-bars,.mb-analytics-devices ul,.mb-directory-list { list-style: none; padding: 0; margin: 0; }
.mb-analytics-bars li { display: grid; gap: .25rem; margin-bottom: .5rem; }
.mb-analytics-bars li > div > :first-child { overflow-wrap: anywhere; }
.mb-analytics-bars strong { text-align: right; white-space: nowrap; }
.mb-analytics-line { width: 100%; display: block; }
.mb-analytics-line text { font-size: 10px; fill: #526787; }
.mb-chart-gridlines { stroke: #dbe5f5; }
.mb-chart-data { font-size: .8rem; color: #526787; }
.mb-chart-data summary { cursor: pointer; }
.mb-chart-data dl div { display: flex; gap: 1rem; }
.mb-chart-data dd { margin: 0; }
.mb-analytics-devices { display: grid; grid-template-columns: minmax(75px, 120px) minmax(0,1fr); gap: .75rem; align-items: center; }
.mb-analytics-devices svg { width: 100%; }
.mb-analytics-devices li + li { margin-top: .4rem; }
.mb-device-dot { display: inline-block; width: .6rem; height: .6rem; border-radius: 50%; margin-right: .35rem; background: var(--device); }
.mb-device-ring { stroke: var(--device); }
.mb-device-phone { --device: #315cf5; }
.mb-device-tablet { --device: #21cdb5; }
.mb-device-desktop { --device: #8398fb; }
.mb-device-other { --device: #94a3b8; }
.mb-device-total { fill: #101d35; font-size: 14px; font-weight: 700; }
.mb-seo-editor { align-items: start; margin: .8rem 0; }
.mb-search-snippet { overflow-wrap: anywhere; }
.mb-search-snippet p { margin: .3rem 0; }
.mb-search-snippet-label { font-size: .83rem; color: #51617c; }
.mb-search-snippet-url { font-size: .8rem; color: #41536a; }
.mb-search-snippet-title { font-size: 1.03rem; font-weight: 650; color: #214bdc; }
.mb-search-snippet-description { font-size: .88rem; color: #344862; }
.mb-directory-list li { padding: .75rem 0; border-bottom: 1px solid #dbe5f5; }
.mb-directory-list p { margin: .25rem 0 0; }
.mb-store-ficha-link { color: inherit; text-decoration: none; }
.mb-store-ficha-link:hover,.mb-store-ficha-link:focus-visible { text-decoration: underline; }
.mb-store-business-categories a { color: inherit; }
.mb-store-ficha-details { grid-column: 1 / -1; margin: .3rem .7rem .8rem; }
.mb-store-ficha-details dt { font-weight: 650; }
.mb-store-ficha-details dd { margin: 0 0 .3rem; }
.mb-store-context-back { display: inline-block; margin-block: .3rem; color: inherit; }
#mb-panel-content .mb-compact-product-grid > :is(.mb-product-create-tile,.mb-admin-product) {
    box-sizing: border-box;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    margin-inline: 0;
    position: relative;
}
#mb-panel-content .mb-compact-product-grid > .mb-product-create-tile { align-self: stretch; height: auto; aspect-ratio: auto; }
#mb-panel-content .mb-compact-catalog .mb-compact-product-grid { row-gap: 1.5rem; }
#mb-panel-content .mb-admin-product:has(.mb-product-saved-label) { overflow: visible; }
.mb-admin-product:has(.mb-product-saved-label) .mb-admin-product-photo { border-radius: 11px 11px 0 0; }
.mb-admin-product:has(.mb-product-saved-label) .mb-admin-product-info { border-radius: 0 0 11px 11px; }
.mb-product-saved-label {
    position: absolute;
    bottom: calc(100% + .2rem);
    inset-inline: 0;
    text-align: center;
    color: #127149;
    font-size: .74rem;
    font-style: italic;
    font-weight: 600;
    pointer-events: none;
}
@media (max-width: 900px) {
    .mb-analytics-grid,.mb-seo-editor { grid-template-columns: 1fr; }
}
@media (max-width: 430px) {
    .mb-media-quota > div { flex-wrap: wrap; }
    .mb-analytics-totals strong { font-size: 1.3rem; }
}
.mb-entry-product {
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(0,1.15fr);
    gap: clamp(1rem,4vw,3rem);
    margin-top: 1rem;
}
.mb-entry-product > img { width: 100%; max-height: 580px; object-fit: contain; background: #f7f9fc; border-radius: 14px; }
.mb-entry-product > div:only-child { grid-column: 1 / -1; }
.mb-entry-product h1 { margin-top: 0; }
.mb-entry-product .btn { margin-top: .8rem; }
.mb-entry-price { font-size: 1.3rem; font-weight: 700; color: #101d35; }
.mb-entry-categories { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; }
.mb-entry-categories a { display: inline-block; color: #284acc; background: #eef2ff; padding: .28rem .65rem; border-radius: 8px; }
.mb-entry-items { display: grid; grid-template-columns: repeat(auto-fill,minmax(min(100%,230px),1fr)); list-style: none; padding: 0; gap: .75rem; }
.mb-entry-items a { display: flex; align-items: center; gap: .7rem; height: 100%; border: 1px solid #dbe5f5; border-radius: 12px; padding: .6rem; color: #101d35; text-decoration: none; }
.mb-entry-items img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; }
.mb-entry-items a > div { display: grid; gap: .2rem; }
@media (max-width: 680px) {
    .mb-entry-product { grid-template-columns: 1fr; }
    .mb-entry-product > img { max-height: 360px; }
}

.mb-media-quota {
    max-width: none;
    background: #eef4ff;
    border-color: #8fa8db;
    box-shadow: inset 3px 0 #21cdb5;
}
.mb-quota-numbers { display: flex; align-items: center; flex-wrap: wrap; gap: .45rem; }
[data-quota-percentage] { color: #164b55; background: #d6f5ef; border-radius: 99px; padding: .16rem .55rem; font-size: .8rem; font-weight: 750; }
.mb-media-quota .mb-quota-track { display: block; position: relative; }
.mb-media-quota .mb-quota-track progress {
    height: 1.08rem;
    box-sizing: border-box;
    border: 2px solid #5375bf;
    background: #c9d8f0;
}
.mb-media-quota progress::-webkit-progress-bar { background: #c9d8f0; }
.mb-quota-track[data-quota-small]::after {
    content: "";
    position: absolute;
    inset-block: 3px;
    inset-inline-start: 3px;
    width: 6px;
    background: #254ad5;
    border-radius: 999px;
    pointer-events: none;
}
.mb-admin-page .mb-analytics .mb-analytics-period { display: inline-flex; gap: .28rem; flex-wrap: nowrap; align-self: center; }
.mb-admin-page .mb-analytics .mb-analytics-period a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 4rem;
    min-height: 2.35rem;
    border-color: #8da5d2;
    color: #23469e;
    background: #f7faff;
    text-decoration: none;
    white-space: nowrap;
}
.mb-admin-page .mb-analytics .mb-analytics-period a[aria-current="true"] {
    background: #315cf5;
    border-color: #315cf5;
    color: #fff;
    box-shadow: inset 0 -2px #21cdb5;
}
.mb-admin-page .mb-analytics .mb-analytics-period a:hover:not([aria-current]) { background: #e5f6f3; }
.mb-admin-page .mb-analytics .mb-analytics-period a:focus-visible { outline: 2px solid #167569; outline-offset: 2px; }
.mb-analytics-totals > div { border-color: #8fa8db; background: #eaf1ff; border-left: 3px solid #21cdb5; }
.mb-analytics-card { border-color: #a2b6db; background: #f7faff; min-height: 9rem; }
.mb-analytics-card h3 { display: flex; gap: .48rem; align-items: baseline; color: #2349a2; }
.mb-analytics-card h3::before { content: ""; width: .48rem; height: .48rem; flex: 0 0 .48rem; border-radius: 50%; align-self: center; background: #1db8a5; }
.mb-analytics-card .muted { margin-top: .4rem; }
.mb-chart-gridlines { stroke: #a9bddd; }
.mb-empty-bars li > span { display: block; width: 36%; height: 7px; background: #d1ddef; border-radius: 9px; }
.mb-empty-bars li:nth-child(2) > span { width: 28%; }
.mb-empty-bars li:nth-child(3) > span { width: 42%; }
.mb-analytics-bars progress { box-shadow: inset 0 0 0 1px #b1c1dd; background: #e1e9f8; }
.mb-analytics-bars progress::-webkit-progress-bar { background: #e1e9f8; box-shadow: inset 0 0 0 1px #b1c1dd; border-radius: 999px; }
#mb-panel-content .catalog-product-editor select.mb-product-visibility-select { font-size: .875rem !important; font-weight: 500 !important; padding-inline: .7rem 1.5rem; }

.mb-seo-preview { min-width: 0; display: grid; gap: .5rem; }
.mb-seo-preview > strong { color: #101d35; }
.mb-search-snippet { padding: 0; overflow: hidden; border-color: #738fc0; box-shadow: 0 4px 12px #29497813; }
.mb-seo-browser-top {
    display: grid;
    grid-template-columns: auto minmax(0,1fr);
    align-items: center;
    gap: .65rem;
    padding: .45rem .65rem;
    border-bottom: 1px solid #a4b9df;
    background: #cfdef7;
    color: #3a4e75;
    font-size: .78rem;
}
.mb-seo-browser-top > span:last-child { border: 1px solid #a4b9df; border-radius: 99px; background: #f3f7ff; padding: .15rem .55rem; }
.mb-seo-window-dots { display: flex; gap: .26rem; }
.mb-seo-window-dots i { width: .48rem; height: .48rem; background: #6a88bd; border-radius: 50%; }
.mb-seo-window-dots i:last-child { background: #1db8a5; }
.mb-seo-browser-content { padding: .7rem .8rem .8rem; }
.mb-seo-searchbox { display: flex; align-items: center; gap: .45rem; border: 1px solid #a3b8da; border-radius: 99px; background: #f9fbff; padding: .36rem .65rem; color: #243b65; font-size: .86rem; }
.mb-seo-searchbox svg { width: 17px; height: 17px; flex: 0 0 17px; }
.mb-seo-results-types { display: flex; flex-wrap: wrap; gap: .7rem; border-bottom: 1px solid #b8c9e6; padding-top: .45rem; margin-bottom: .7rem; font-size: .76rem; color: #455b7d; }
.mb-seo-results-types > * { padding: .1rem .18rem .3rem; }
.mb-seo-results-types strong { border-bottom: 2px solid #315cf5; color: #244ad8; }
.mb-seo-result-site { display: flex; align-items: center; gap: .48rem; font-size: .85rem; font-weight: 600; }
.mb-seo-result-site .mb-search-snippet-url { margin: 0; font-weight: 400; }
.mb-seo-favicon { display: grid; place-items: center; flex: 0 0 26px; height: 26px; border-radius: 50%; overflow: hidden; color: #12444e; background: #9eebe0; }
.mb-seo-favicon img { width: 26px; height: 26px; object-fit: contain; }
.mb-seo-suggestion { color: #146357; font-weight: 600; }

.mb-subdomain-row summary{cursor:pointer;display:inline-flex;align-items:center;gap:5px}
.mb-subdomain-row details p{margin:7px 0 3px;font-weight:400}
.mb-subdomain-form{display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px;margin:0}
.mb-subdomain-form label{display:inline-flex;flex-wrap:wrap;gap:4px;align-items:center;max-width:100%;margin:0}
.mb-subdomain-form input[name="subdomain"]{width:10rem;max-width:100%;min-height:32px;padding:4px 8px}
.mb-subdomain-form .btn{min-height:32px;padding:4px 9px}
.mb-subdomain-admin .mb-subdomain-form+.mb-subdomain-form{margin-top:10px}

.mb-subdomain-form .mb-subdomain-input {
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0;
}
.mb-subdomain-form .mb-subdomain-input input {
    margin: 0;
    min-width: 0;
    border-radius: 7px 0 0 7px;
}
.mb-subdomain-suffix {
    display: grid;
    place-items: center;
    padding: 3px 9px;
    background: #edf3ff;
    border: 1px solid #d5e1f5;
    border-left: 0;
    border-radius: 0 7px 7px 0;
    white-space: nowrap;
}
.mb-subdomain-plan-notice {
    padding: 7px 10px;
    margin: 8px 0 0;
    background: #edf3ff;
    border: 1px solid #d5e1f5;
    border-radius: 8px;
    font-size: .88rem;
}
.mb-special-permissions form {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 6px 12px;
    padding: 7px 0;
    border-top: 1px solid #dce7fa;
}
.mb-special-permissions form button { min-height: 32px; }

.mb-subdomain-result {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 14px;
    overflow-wrap: anywhere;
}
.mb-subdomain-pending, .mb-subdomain-active {
    color: #146749;
    font-size: .8rem;
    line-height: 1.35;
}
.mb-subdomain-pending { font-style: italic; font-weight: 500; }
.mb-subdomain-active { display: inline-flex; gap: 5px; align-items: center; font-weight: 700; }
.mb-subdomain-active span { font-size: 1rem; }
.mb-subdomain-error { display: block; margin-top: 5px; color: #a51e36; font-size: .8rem; }
.mb-subdomain-requests.card { padding: 14px 18px; margin-bottom: 12px; }
.mb-subdomain-requests h2 { margin: 0 0 8px; }
.mb-subdomain-requests .table-wrap { overflow-x: auto; }
.mb-subdomain-table { width: 100%; min-width: 36rem; }
.mb-subdomain-table :is(th, td) { padding: 7px 10px; }
.mb-subdomain-table th { background: #f1f5fc; font-size: .72rem; text-transform: uppercase; }
.mb-subdomain-table td { font-size: .875rem; overflow-wrap: anywhere; }
.mb-subdomain-table :is(th, td):last-child { width: 22%; }
.mb-subdomain-table .btn, .mb-subdomain-result .btn { font-size: .8rem; }
