/* MB Studio demo guide — scoped additions to the host's existing visual grammar. */
.mb-demo-guide .mb-page-hero{padding:70px 0 55px}.mb-demo-guide .mb-page-hero h1{font-size:clamp(42px,5.2vw,76px);max-width:19ch}.mb-demo-guide .mb-page-hero__grid{grid-template-columns:minmax(0,1.3fr) minmax(260px,.8fr)}
.mb-demo-guide .mb-lead{max-width:66ch}.mb-demo-guide .mb-section-head{max-width:950px}.mb-demo-guide .mb-section-head h2{max-width:28ch}.mb-demo-guide .mb-section-head p{font-size:17px;max-width:85ch}.mb-demo-guide .mb-card{border-radius:8px}.mb-demo-guide .mb-card p{font-size:16px}.mb-demo-guide .mb-card p+p{margin-top:16px}.mb-demo-guide .mb-card h3{font-size:25px}.mb-demo-guide .mb-note{margin-top:28px;font-size:15px}.mb-demo-guide strong{font-weight:750}
.mb-demo-index{display:flex;gap:9px 20px;flex-wrap:wrap;padding-block:20px;border-block:1px solid var(--mb-line);font-size:14px}.mb-demo-index a{color:var(--mb-navy);text-underline-offset:4px}.mb-demo-guide section[id]{scroll-margin-top:110px}
.mb-demo-logo{height:82px;width:100%;object-fit:contain;object-position:left;margin-bottom:25px}.mb-demo-card{display:flex;flex-direction:column}.mb-demo-card .mb-actions{margin-top:24px}.mb-demo-card .mb-kicker{margin-bottom:8px}.mb-demo-secondary{font-size:14px!important;margin-top:18px!important}
.mb-demo-table-wrap{overflow-x:auto;border:1px solid var(--mb-line);background:#fff;border-radius:8px}.mb-demo-table{width:100%;border-collapse:collapse;font-size:15px;line-height:1.65}.mb-demo-table caption{text-align:left;font-weight:750;padding:18px 20px;background:rgba(37,99,235,.06)}.mb-demo-table th,.mb-demo-table td{padding:17px 20px;text-align:left;vertical-align:top;border-bottom:1px solid var(--mb-line)}.mb-demo-table th{color:var(--mb-navy)}.mb-demo-table thead th{background:rgba(37,99,235,.04)}.mb-demo-table td{min-width:240px}.mb-demo-table th[scope=row]{min-width:160px}
.mb-demo-reading{font-size:17px;line-height:1.8;max-width:90ch;margin-top:28px}.mb-demo-identity--v1{border-top:4px solid #455640}.mb-demo-identity--v2{border-top:4px solid #d51a17}.mb-demo-resource-links{display:flex;gap:12px 22px;flex-wrap:wrap;margin-top:22px}.mb-demo-checklist{padding-left:20px;color:var(--mb-muted);font-size:16px;line-height:1.8}.mb-demo-checklist li+li{margin-top:10px}
.mb-demo-technical{display:grid;gap:14px}.mb-demo-technical details{padding:21px 24px;border:1px solid var(--mb-line);border-radius:8px;background:#fff}.mb-demo-technical summary{font-size:18px;font-weight:750;cursor:pointer;color:var(--mb-navy)}.mb-demo-technical details p,.mb-demo-technical details li{font-size:16px;line-height:1.8;max-width:95ch}.mb-demo-technical code{font-size:.9em;overflow-wrap:anywhere}
.mb-demo-cta{padding:36px;border:1px solid var(--mb-line);border-radius:10px;background:linear-gradient(135deg,#fff,#e9f4ff)}.mb-demo-cta h2{font-size:clamp(32px,4vw,51px);line-height:1.05;letter-spacing:-.03em}.mb-demo-cta p{max-width:80ch;font-size:17px}.mb-demo-small{font-size:13px!important;color:var(--mb-muted)}
.mb-demo-standalone-brand{font-weight:800;text-decoration:none;font-size:22px}.mb-demo-standalone-header .mb-header__inner{flex-wrap:wrap;gap:18px}.mb-demo-standalone-header nav{display:flex;gap:16px;flex-wrap:wrap;font-size:14px}.mb-demo-standalone-footer{padding-block:28px;border-top:1px solid var(--mb-line);font-size:14px}.mb-demo-standalone-footer nav{display:flex;gap:18px;flex-wrap:wrap}
@media(max-width:850px){.mb-demo-guide .mb-page-hero__grid{grid-template-columns:1fr}.mb-demo-guide .mb-page-hero{padding-top:42px}.mb-demo-guide .mb-page-hero h1{font-size:clamp(38px,9vw,64px)}.mb-demo-guide .mb-grid--2,.mb-demo-guide .mb-grid--3{grid-template-columns:1fr}.mb-demo-cta{padding:25px}.mb-demo-table td{min-width:215px}.mb-demo-standalone-header .mb-header__inner{padding-block:17px;min-height:0}.mb-demo-index{font-size:13px}}

/* Native catalog and breadcrumb; no replacement for the host header/footer. */
.mb-demo-breadcrumb{padding-top:24px;display:flex;flex-wrap:wrap;gap:9px;font-size:14px;color:var(--mb-muted)}
.mb-demo-breadcrumb a{color:var(--mb-navy);text-underline-offset:4px}
.mb-demo-catalog .mb-page-hero h1{max-width:20ch}
