@font-face{font-family:MB Bengali;src:url('/assets/fonts/bengali-400.woff2')}@font-face{font-family:MB Bengali;src:url('/assets/fonts/bengali-700.woff2');font-weight:700}:root{--primary:#0068ff!important;--accent:#00cbb0!important;--brand:#0068ff;--purple:#0068ff}body{font-family:Inter,'MB Bengali',sans-serif}.btn-grad{background:linear-gradient(110deg,#0068ff,#009cb6)!important;color:white!important}.grad-text{background:linear-gradient(100deg,#0068ff,#00bea7);background-clip:text;color:transparent}.logo img{object-fit:contain;background:#fff;border-radius:8px}.side-link{text-decoration:none}.mb-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:20px 0}.mb-stats strong{display:block;font-size:30px;margin-top:10px}.mb-welcome{padding:20px 0}.mb-welcome h2{font-size:30px}.mb-bars{display:flex;align-items:end;gap:10px;min-height:220px;overflow-x:auto;padding:15px 0}.mb-bars>div{display:grid;gap:5px;text-align:center;min-width:35px;flex:1}.mb-bars b{display:block;max-width:50px;width:100%;margin:auto;background:linear-gradient(#00bdb7,#0068ff);border-radius:8px 8px 0 0}.mb-bars small,.mb-bars span{font-size:10px}.mb-editor{display:grid;grid-template-columns:1.1fr 1fr;gap:25px;align-items:start}.mb-editor .card{min-width:0}.mb-live-preview{position:sticky;top:20px}.mb-live-preview iframe{width:100%;height:650px;border:1px solid var(--border);border-radius:15px;background:white}.mb-editor label{display:block;margin-bottom:16px}.mb-editor textarea{width:100%}.mb-editor input[type=checkbox],.mb-editor input[type=radio]{width:auto}.mb-theme-options{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin-bottom:20px}.mb-theme-options label{border:1px solid var(--border);padding:10px;border-radius:12px;margin:0}.mb-theme-options img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:8px;margin:5px 0}.mb-theme-options b,.mb-theme-options small,.mb-theme-options a{display:block;font-size:12px}.mb-theme-options label:has(input:checked){outline:2px solid #0068ff}.mb-wide{grid-column:1/-1}[data-section-editor]>div{display:flex;gap:15px;align-items:center;padding:12px;border:1px solid var(--border);border-radius:10px;margin-bottom:8px;cursor:grab}[data-section-editor] label{margin:0}.mb-admin-shortcut{position:fixed;bottom:15px;left:20px;z-index:100;background:#0068ff;color:white;padding:12px 18px;border-radius:12px;font-size:12px;text-decoration:none}.mb-admin-tabs{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}.mb-admin-tabs a{padding:8px 16px;border:1px solid var(--border);border-radius:10px;text-decoration:none}.mb-admin-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}.mb-admin-grid label{display:block;margin:12px 0}.mb-admin-grid .input{width:100%}.mb-plan-form{margin-bottom:25px}.mb-plan-form input[type=checkbox]{width:auto}[hidden]{display:none!important}@media(max-width:1000px){.mb-editor{grid-template-columns:1fr}.mb-live-preview{position:static}.mb-live-preview iframe{height:550px}}@media(max-width:600px){.mb-stats{grid-template-columns:repeat(2,1fr);gap:10px}.mb-stats strong{font-size:23px}.mb-admin-grid{grid-template-columns:1fr}.topbar{gap:10px;flex-wrap:wrap}.topbar h1{font-size:20px}.mb-bars{gap:5px}.main{min-width:0}.mb-editor{gap:15px}}
/* v2: normalize controls, not charts or maps. */
.mb-sidebar a,.mb-sidebar summary,.sidebar .nav-link,.sidebar .nav-item{align-items:center}.mb-sidebar a>svg,.mb-sidebar summary>svg,.mb-sidebar .ico,.sidebar .nav-link>.ico,.sidebar .nav-item>.ico{width:20px!important;height:20px!important;min-width:20px;flex:0 0 20px;display:inline-flex;align-items:center;justify-content:center;line-height:1}.mb-sidebar .ico>svg,.sidebar .nav-link .ico>svg,.sidebar .nav-item .ico>svg{width:20px!important;height:20px!important;display:block}.btn>svg,.btn>.ico,.mb-topbar a>svg,.mb-topbar button>svg{width:18px;height:18px;flex:0 0 18px;vertical-align:middle}.btn>.ico>svg{width:18px;height:18px;display:block}.mb-sidebar svg,.btn>svg{stroke-width:1.8}.mb-stats strong{font-variant-numeric:tabular-nums}.mb-theme-options label{position:relative}.mb-theme-options input[type=radio]{accent-color:var(--primary,#0068ff);width:18px;height:18px}.mb-theme-options label:has(input:checked){outline:2px solid #0068ff;outline-offset:2px}.mb-theme-options small{display:block}.mb-theme-options img{object-fit:cover;aspect-ratio:4/3}
.sidebar .side-link,.sidebar .v5-nav-group>summary{display:flex;align-items:center;gap:10px}.sidebar .side-link>svg.ico,.sidebar .v5-nav-group>summary>svg.ico{width:20px!important;height:20px!important;min-width:20px;flex:0 0 20px;display:block}.sidebar .v5-nav-group>summary>b{margin-left:auto}.sidebar .v5-sub-link{padding-left:43px}.topbar .btn>svg,.topbar button>svg{width:18px;height:18px}
.mb-theme-thumb{position:relative;height:190px;overflow:hidden;background:#f4f5f7;border-radius:12px;margin:10px 0}.mb-theme-thumb iframe{width:1000px;height:1400px;max-width:none;border:0;transform:scale(.24);transform-origin:top left;pointer-events:none;background:white}.mb-theme-options label{overflow:hidden}.mb-live-preview iframe{background:white;min-height:620px}.mb-live-preview>p{font-size:12px}
@media(max-width:600px){.mb-theme-thumb{height:150px}.mb-theme-thumb iframe{transform:scale(.18)}.mb-live-preview iframe{min-height:540px}}
/* Builder workspace remains two columns at normal laptop widths. */
.mb-editor{grid-template-columns:minmax(0,1fr) minmax(360px,1fr);gap:24px}.mb-theme-options{grid-template-columns:repeat(2,minmax(0,1fr))}.mb-live-preview{overflow:hidden;position:sticky;top:20px;min-width:0}.mb-preview-devices{display:flex;gap:8px;margin-bottom:16px}.mb-preview-devices [aria-pressed=true]{border-color:#0068ff;color:#0068ff}.mb-live-preview iframe{display:block;border:1px solid var(--border);border-radius:12px;min-height:0}.mb-theme-options b,.mb-theme-options small,.mb-theme-options a{display:block;line-height:1.6}.mb-theme-thumb{height:190px}
@media(max-width:1050px){.mb-editor{grid-template-columns:minmax(0,1fr)}.mb-live-preview{position:static;grid-row:1}.mb-theme-options{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* v5 dashboard polish */
.mb-trends{padding:22px}.mb-trends-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:14px}.mb-trends-head h3{margin:3px 0 0}.mb-trend-switch{display:flex;gap:4px;padding:4px;border:1px solid var(--border);border-radius:12px;background:var(--card2)}.mb-trend-switch button{border:0;background:transparent;color:var(--muted);padding:8px 12px;border-radius:9px;font:inherit;font-size:11px;font-weight:700;cursor:pointer}.mb-trend-switch button.active{background:var(--card);color:var(--primary);box-shadow:0 4px 16px rgba(0,104,255,.10)}.mb-trend-panel{display:none}.mb-trend-panel.active{display:block}.mb-line-chart{height:245px;padding:18px 8px 6px}.mb-line-chart svg{width:100%;height:200px;overflow:visible}.mb-line-chart polyline{stroke:var(--primary);stroke-width:3;stroke-linecap:round;stroke-linejoin:round}.mb-line-chart polygon{fill:color-mix(in srgb,var(--primary) 12%,transparent)}.mb-line-labels{display:flex;justify-content:space-between;gap:8px;color:var(--muted);font-size:9px;overflow:hidden}.mb-date-filter{align-items:end}.gm-brand-loader{background:var(--bg,#f7faff)!important}.gm-brand-loader-inner img{object-fit:contain;border-radius:18px;background:#fff}.gm-brand-loader-inner p{font-weight:800;letter-spacing:-.02em}
@media(max-width:650px){.mb-trends{padding:15px}.mb-trends-head{align-items:stretch;flex-direction:column}.mb-trend-switch{width:100%}.mb-trend-switch button{flex:1}.mb-line-chart{height:210px}.mb-line-chart svg{height:165px}.mb-date-filter{display:grid!important;grid-template-columns:1fr 1fr}.mb-date-filter button{grid-column:1/-1}.mb-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.mb-stats article{min-width:0;padding:15px}.mb-stats strong{font-size:21px!important}}


/* MyBebsha patch: dashboard order trends + light theme polish */
.mb-report-card header,.mb-order-trends header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;flex-wrap:wrap}.mb-trend-switch,.v5-view-toggle{display:inline-flex;align-items:center;gap:6px;padding:6px;border:1px solid color-mix(in srgb,var(--border) 90%,transparent);border-radius:999px;background:color-mix(in srgb,var(--surface-2) 92%,transparent);box-shadow:0 12px 34px rgba(15,23,42,.08)}.mb-trend-switch button,.v5-view-toggle button{appearance:none;border:0;background:transparent;color:var(--muted);padding:9px 14px;border-radius:999px;font-size:12px;font-weight:700;letter-spacing:.01em;cursor:pointer;transition:all .22s ease}.mb-trend-switch button:hover,.v5-view-toggle button:hover{color:var(--text);background:color-mix(in srgb,var(--primary) 8%,transparent)}.mb-trend-switch button.is-active,.mb-trend-switch button.active,.v5-view-toggle button.active,.v5-view-toggle button[aria-pressed=true]{background:linear-gradient(135deg,rgba(34,211,238,.18),rgba(139,92,246,.22));color:var(--text);box-shadow:inset 0 0 0 1px rgba(139,92,246,.2),0 8px 18px rgba(59,130,246,.12)}.mb-trend-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,360px);gap:18px;align-items:stretch}.mb-trend-graph-card,.mb-trend-table-card{height:100%}.mb-trend-side-card{display:flex;flex-direction:column;gap:10px}.theme-light .card,.light-theme .card{box-shadow:0 12px 34px rgba(15,23,42,.05)}.theme-light .btn,.light-theme .btn{box-shadow:none}.theme-light .table-wrap,.light-theme .table-wrap{background:#fff}.gm15-import-dialog header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.gm15-import-dialog .gm15-eyebrow{font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:#8b5cf6;font-weight:800}.gm14-import h4{margin-bottom:8px}.gm14-import p{line-height:1.7}
@media(max-width:980px){.mb-trend-grid{grid-template-columns:minmax(0,1fr)}.mb-trend-switch,.v5-view-toggle{width:100%;justify-content:flex-start;flex-wrap:wrap}}

/* Builder v6 */
.mb-builder-panel{border:1px solid var(--border);border-radius:18px;padding:18px;background:var(--card2);margin:16px 0}.mb-slide-editor{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.mb-slide-card{padding:16px!important}.mb-slide-card label{margin-top:10px}.mb-page-list-head,.mb-builder-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:wrap}.grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}@media(max-width:760px){.mb-slide-editor,.grid-3{grid-template-columns:1fr}}


/* v7 full repair: builder, billing, theme consistency */
html[data-theme=light]{--bg:#f6f8fc;--card:#ffffff;--card2:#f1f5fb;--text:#0f172a;--muted:#64748b;--border:#dce4ef;--surface:#ffffff;--surface-2:#f3f6fb}
html[data-theme=dark]{--bg:#07101f;--card:#0d1728;--card2:#111d31;--text:#f6f8ff;--muted:#9aabc4;--border:#22304a;--surface:#0d1728;--surface-2:#111d31}
html[data-theme=light] body,html[data-theme=light] .main{background:var(--bg);color:var(--text)}
html[data-theme=light] .card,html[data-theme=light] .mb-builder-panel,html[data-theme=light] .mb-live-preview{background:var(--card)!important;color:var(--text)!important;border-color:var(--border)!important;box-shadow:0 18px 55px rgba(15,23,42,.06)!important}
html[data-theme=dark] .card,html[data-theme=dark] .mb-builder-panel,html[data-theme=dark] .mb-live-preview{background:var(--card)!important;color:var(--text)!important;border-color:var(--border)!important}
html[data-theme=light] input,html[data-theme=light] select,html[data-theme=light] textarea{background:#fff!important;color:#0f172a!important;border-color:#d7e0ec!important}
html[data-theme=dark] input,html[data-theme=dark] select,html[data-theme=dark] textarea{background:#0a1425!important;color:#f8fafc!important;border-color:#273650!important}
.mb-editor>form.card{padding:24px}.mb-builder-block{padding:20px;border:1px solid var(--border);border-radius:18px;background:var(--card2);margin:18px 0}.mb-builder-head{align-items:center}.mb-slide-editor{grid-template-columns:1fr}.mb-slide-card{border:1px solid var(--border)!important;background:var(--card)!important}.mb-slide-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.mb-slide-card[hidden]{display:none!important}[data-section-editor]{display:grid;gap:8px;margin:12px 0}[data-section-editor]>div{margin:0;background:var(--card);transition:.2s}[data-section-editor]>div:hover{border-color:color-mix(in srgb,var(--primary) 45%,var(--border));transform:translateY(-1px)}[data-custom-block]{border:1px solid var(--border);border-radius:16px;padding:18px;margin:12px 0;background:var(--card)}.mb-settings-callout{padding:18px;border:1px solid var(--border);border-radius:16px;background:var(--card2);margin:18px 0}.mb-billing-shell{display:grid;gap:18px}.mb-billing-hero{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:28px!important;background:radial-gradient(circle at 95% 0,color-mix(in srgb,var(--primary) 20%,transparent),transparent 42%),var(--card)!important}.mb-billing-hero h2{font-size:30px;margin:6px 0}.mb-wallet-amount{min-width:230px;padding:20px;border-radius:18px;background:linear-gradient(135deg,#0967ff,#08b3b8);color:#fff;box-shadow:0 18px 45px rgba(0,104,255,.22)}.mb-wallet-amount small,.mb-wallet-amount span{display:block;opacity:.84}.mb-wallet-amount strong{display:block;font-size:34px;margin:6px 0}.mb-billing-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.mb-billing-grid>.card{padding:24px!important}.mb-admin-user-hero{display:flex;align-items:center;gap:18px;flex-wrap:wrap;padding-bottom:22px;border-bottom:1px solid var(--border);margin-bottom:22px}.mb-admin-user-hero>img{width:82px;height:82px;object-fit:contain;border-radius:18px;background:#fff;border:1px solid var(--border)}.mb-admin-user-hero>div{flex:1;min-width:220px}.mb-admin-user-hero h2{margin:4px 0}.mb-admin-user-detail .v6-metrics{margin:18px 0}.btn-full{width:100%;justify-content:center}
@media(max-width:850px){.mb-billing-grid{grid-template-columns:1fr}.mb-billing-hero{align-items:flex-start;flex-direction:column}.mb-wallet-amount{width:100%}.mb-editor>form.card{padding:17px}}

/* v8 focused repair: light mode, builders, report UI, top actions */
.mb-top-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.mb-wallet-pill,.mb-top-icon{display:inline-flex;align-items:center;gap:6px;min-height:42px;padding:0 14px;border:1px solid var(--border);border-radius:14px;background:var(--card);color:var(--text);text-decoration:none;box-shadow:0 8px 25px rgba(15,23,42,.04)}.mb-wallet-pill strong{color:#07a88e}.mb-top-icon{width:42px;padding:0;justify-content:center}.mb-top-icon svg{width:18px;height:18px}
html[data-theme=light] .topbar,html[data-theme=light] .sidebar{background:#fff!important;color:#0f172a!important;border-color:#e5eaf2!important}html[data-theme=light] .topbar h1,html[data-theme=light] .sidebar,html[data-theme=light] .sidebar a,html[data-theme=light] .sidebar summary{color:#0f172a!important}html[data-theme=light] .sidebar .side-link:not(.active),html[data-theme=light] .sidebar .v5-sub-link{color:#52637d!important}html[data-theme=light] .card,html[data-theme=light] fieldset,html[data-theme=light] .gm25-rule-card,html[data-theme=light] .gm-source-switch,html[data-theme=light] .gm-setup-step,html[data-theme=light] .mb-settings-callout,html[data-theme=light] .mb-builder-block,html[data-theme=light] [data-custom-block]{background:#fff!important;color:#0f172a!important;border-color:#dce4ef!important}html[data-theme=light] .card h1,html[data-theme=light] .card h2,html[data-theme=light] .card h3,html[data-theme=light] .card h4,html[data-theme=light] fieldset legend,html[data-theme=light] label{color:#0f172a!important}html[data-theme=light] .card p,html[data-theme=light] .gm-muted,html[data-theme=light] fieldset small{color:#66758d!important}html[data-theme=light] .table-wrap,html[data-theme=light] table,html[data-theme=light] th,html[data-theme=light] td{background:#fff!important;color:#172033!important;border-color:#e4e9f1!important}html[data-theme=light] th{background:#f6f8fc!important;color:#66758d!important}html[data-theme=light] details,html[data-theme=light] summary{color:#172033!important}
html[data-theme=light] .mb-editor>form.card,html[data-theme=light] .mb-live-preview{background:#fff!important}.mb-editor{display:grid!important;grid-template-columns:minmax(440px,.88fr) minmax(540px,1.12fr)!important;align-items:start;gap:22px!important}.mb-editor>form.card{min-width:0;max-height:none}.mb-live-preview{position:sticky!important;top:18px!important;padding:20px!important;min-width:0}.mb-live-preview iframe{width:100%!important;min-height:680px!important;border:1px solid var(--border)!important;border-radius:16px!important;background:#fff!important}.mb-theme-options{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}.mb-theme-options label{position:relative;padding:10px!important;border:1px solid var(--border)!important;border-radius:16px!important;background:var(--card)!important;cursor:pointer!important;transition:.2s}.mb-theme-options label:has(input:checked){border-color:#0b73ff!important;box-shadow:0 0 0 2px rgba(11,115,255,.12),0 12px 30px rgba(15,23,42,.08)!important}.mb-theme-options input[type=radio]{width:18px!important;height:18px!important;position:absolute;top:12px;left:12px;z-index:2}.mb-theme-thumb{height:165px!important;border-radius:12px!important;background:#f7f9fc!important}.mb-theme-options b{margin-top:8px;color:var(--text)!important}.mb-theme-options a{color:#06a98f!important;font-size:12px!important}.mb-landing-theme-options{grid-template-columns:repeat(2,minmax(0,1fr))!important}.mb-slide-editor{display:grid!important;grid-template-columns:1fr!important}.mb-slide-card{border-radius:16px!important}.mb-builder-panel{background:#f8faff!important;border-color:#e0e7f0!important}.mb-settings-page{max-width:880px}.mb-guide-page{display:grid;gap:18px}.mb-guide-hero2{padding:28px!important;background:radial-gradient(circle at 95% 0,rgba(11,115,255,.14),transparent 40%),var(--card)!important}.mb-guide-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.mb-guide-card{padding:22px!important;min-height:190px;transition:.2s}.mb-guide-card:hover{transform:translateY(-3px);box-shadow:0 18px 45px rgba(15,23,42,.08)!important}.mb-guide-card-icon{width:44px;height:44px;display:grid;place-items:center;border-radius:13px;background:linear-gradient(135deg,rgba(11,115,255,.12),rgba(139,92,246,.14));color:#0b73ff;margin-bottom:18px}.mb-guide-card-icon svg{width:22px;height:22px;fill:none;stroke:currentColor}.mb-guide-card h3{margin:0 0 8px}.mb-guide-card p{font-size:13px;line-height:1.75}
/* Trends and report cards */
.mb-trends{padding:26px!important;border-radius:24px!important}.mb-trends-head{align-items:center!important}.mb-trend-switch,.v5-view-toggle{padding:5px!important;background:#f4f7fb!important;border:1px solid #e1e7f0!important;box-shadow:none!important}.mb-trend-switch button,.v5-view-toggle button{min-width:66px!important;padding:9px 14px!important}.mb-trend-switch button.active,.v5-view-toggle button.active{background:linear-gradient(135deg,#e7f0ff,#eee8ff)!important;color:#172033!important;box-shadow:inset 0 0 0 1px #cbd8ff,0 7px 18px rgba(79,70,229,.08)!important}.mb-line-chart{height:auto!important;padding:22px 8px 8px!important}.mb-trend-area{background:linear-gradient(180deg,#fbfdff,#fff);border:1px solid #edf1f6;border-radius:18px;padding:18px!important}.mb-chart-key{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px;font-size:12px;color:#60708a}.mb-chart-key span{display:flex;align-items:center;gap:7px}.mb-chart-key i{width:8px;height:8px;border-radius:50%;background:#0ea5e9}.mb-line-chart svg{height:255px!important}.mb-line-chart polyline{stroke:#0ea5e9!important;stroke-width:2.3!important}.mb-line-chart circle{fill:#fff;stroke:#0ea5e9;stroke-width:.7}.mb-area-fill{fill:url(#mbOrderArea)!important}.mb-bars-pro{min-height:300px!important;padding:28px 20px 10px!important;background:repeating-linear-gradient(to top,#fff,#fff 59px,#edf1f6 60px)!important;border:1px solid #edf1f6;border-radius:18px}.mb-bars-pro>div{gap:8px!important}.mb-bars-pro b{width:min(54px,72%)!important;border-radius:12px 12px 4px 4px!important;background:linear-gradient(180deg,#08c3c3,#087bff 70%,#6d55f6)!important;box-shadow:0 12px 24px rgba(8,123,255,.14)}.v5-report{padding:22px!important;border-radius:22px!important}.v5-report>header{align-items:center!important;margin-bottom:16px!important}.v5-chart-view{min-height:315px}.v5-donut{width:230px!important;height:230px!important;box-shadow:0 18px 45px rgba(79,70,229,.09)}.v7-graph{border:1px solid #edf1f6!important;border-radius:18px!important;padding:16px!important;background:#fff!important}.v7-graph svg{min-height:270px!important}.v7-graph-key{font-weight:700}
@media(max-width:1180px){.mb-editor{grid-template-columns:1fr!important}.mb-live-preview{position:static!important;grid-row:1}.mb-guide-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.mb-theme-options,.mb-landing-theme-options,.mb-guide-cards{grid-template-columns:1fr!important}.mb-top-actions{gap:6px}.mb-wallet-pill span{display:none}.mb-live-preview iframe{min-height:560px!important}}

/* Super Admin click reliability */
.superadmin .side-link,.sidebar a.side-link{cursor:pointer;text-decoration:none;pointer-events:auto}.sidebar{z-index:60}.topbar{z-index:45}.main{position:relative;z-index:1}.tab.active{pointer-events:auto}.tab:not(.active){display:none!important}

/* v9 commerce layout repair */
.commerce-page .main{max-width:none!important;width:auto!important;overflow-x:hidden}.commerce-page .mb-editor{display:grid!important;grid-template-columns:minmax(520px,.92fr) minmax(620px,1.08fr)!important;gap:24px!important;width:100%!important;align-items:start}.commerce-page .mb-editor>form.card{width:100%!important;min-width:0!important}.commerce-page .mb-live-preview{width:100%!important;min-width:0!important;position:sticky!important;top:18px!important}.commerce-page .mb-live-preview iframe{display:block!important;width:100%!important;min-height:720px!important}.commerce-page .mb-settings-page{max-width:980px!important}.commerce-page .mb-settings-callout .gm-upload-preview{width:96px!important;height:96px!important;max-width:96px!important;max-height:96px!important;object-fit:contain!important;border-radius:16px!important;background:#fff!important;padding:8px!important}.commerce-page .mb-settings-callout img{max-width:96px!important}
@media(max-width:1320px){.commerce-page .mb-editor{grid-template-columns:minmax(440px,.95fr) minmax(520px,1.05fr)!important}.commerce-page .mb-live-preview iframe{min-height:650px!important}}
@media(max-width:1080px){.commerce-page .mb-editor{grid-template-columns:1fr!important}.commerce-page .mb-live-preview{position:static!important;grid-row:auto!important}.commerce-page .mb-live-preview iframe{min-height:560px!important}}
.commerce-page .mb-editor>form.card:only-child{grid-column:1/-1!important;width:100%!important;max-width:980px!important}


/* v10 definitive commerce layout + store logo repair */
.commerce-page .main{width:calc(100vw - 270px)!important;max-width:none!important;box-sizing:border-box!important}
.commerce-page .mb-editor.mb-editor-builder,
.commerce-page .mb-editor.mb-editor-appearance,
.commerce-page .mb-editor.mb-editor-popups,
.commerce-page .mb-editor.mb-editor-addons{
  width:100%!important;max-width:none!important;display:grid!important;
  grid-template-columns:minmax(520px,48%) minmax(520px,52%)!important;
  gap:24px!important;align-items:start!important;
}
.commerce-page .mb-editor .mb-editor-form{grid-column:1!important;min-width:0!important;width:100%!important}
.commerce-page .mb-editor .mb-live-preview{grid-column:2!important;grid-row:1!important;align-self:start!important;width:100%!important;min-width:0!important;position:sticky!important;top:18px!important}
.commerce-page .mb-editor .mb-live-preview iframe{width:100%!important;height:calc(100vh - 175px)!important;min-height:650px!important;display:block!important}
.commerce-page .mb-settings-page{width:min(100%,980px)!important;max-width:980px!important}
.commerce-page .mb-business-logo-preview,.commerce-page .mb-settings-callout .gm-upload-preview{width:96px!important;height:96px!important;max-width:96px!important;max-height:96px!important;object-fit:contain!important;display:block!important}
@media(max-width:1150px){
  .commerce-page .main{width:100%!important}
  .commerce-page .mb-editor.mb-editor-builder,.commerce-page .mb-editor.mb-editor-appearance,.commerce-page .mb-editor.mb-editor-popups,.commerce-page .mb-editor.mb-editor-addons{grid-template-columns:1fr!important}
  .commerce-page .mb-editor .mb-editor-form,.commerce-page .mb-editor .mb-live-preview{grid-column:1!important;grid-row:auto!important;position:static!important}
  .commerce-page .mb-editor .mb-live-preview iframe{height:620px!important;min-height:620px!important}
}
/* superadmin direct render reliability */
body.superadmin .tab{display:none!important}body.superadmin .tab.active{display:block!important}
