/* Demo-only mobile and quick-preview refinements. */
.demo-page-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap;margin:0!important}.demo-page-actions .button{margin-left:0!important}.demo-workspace>.page-heading{align-items:flex-start!important;gap:18px!important}.demo-workspace>.page-heading>div:first-child{min-width:0;flex:1 1 520px}.demo-action-strip{margin-left:auto}.demo-action-strip a.primary span{display:inline!important}
@media(max-width:900px){.demo-workspace>.page-heading{flex-direction:column!important}.demo-page-actions{width:100%;justify-content:flex-start}.demo-page-actions .button{flex:0 1 auto}.demo-workspace .product-start-grid,.demo-workspace .demo-premium-showcase{grid-template-columns:repeat(2,minmax(0,1fr))!important}.demo-modal-card{width:min(720px,100%)}}
@media(max-width:680px){html,body{max-width:100%;overflow-x:hidden}body.signed-in .app-topbar{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;grid-template-areas:'left actions'!important;padding:7px 10px!important}.demo-topbar-brand{min-width:0;overflow:hidden}.demo-topbar-brand .app-brand-wordmark{display:none}.demo-topbar-brand .demo-pill{font-size:.52rem;white-space:nowrap}.demo-safe,.demo-account,.global-search{display:none!important}.app-topbar-actions{min-width:0!important}.demo-action-strip{margin:0!important}.demo-action-strip a.primary{padding:9px 11px!important;font-size:.68rem!important;white-space:nowrap}.demo-shell,.portal-app-shell,.demo-workspace{min-width:0!important;width:100%!important;max-width:100%!important}.demo-workspace{overflow-x:hidden!important;padding:18px 12px 34px!important}.demo-workspace>.page-heading{gap:14px!important}.demo-workspace>.page-heading h1{font-size:clamp(1.65rem,8vw,2.15rem)!important}.demo-page-actions{display:grid!important;grid-template-columns:1fr!important;width:100%}.demo-page-actions .button{width:100%!important;justify-content:center!important}.demo-workspace .product-start-grid,.demo-workspace .demo-kpis,.demo-workspace .demo-profile-grid,.demo-workspace .demo-premium-showcase,.demo-workspace .demo-onboarding-steps,.demo-workspace .demo-form-grid,.demo-workspace .dashboard-action-grid,.demo-workspace .demo-site-panels{grid-template-columns:1fr!important}.demo-workspace .demo-row{grid-template-columns:minmax(0,1fr)!important;align-items:flex-start!important}.demo-workspace .demo-row>span:last-child,.demo-workspace .demo-row>strong:last-child,.demo-workspace .demo-row>.button{justify-self:start!important}.demo-workspace .admin-setup-callout,.demo-workspace .member-onboarding-callout{grid-template-columns:42px minmax(0,1fr)!important;gap:12px!important}.demo-workspace .admin-setup-callout .button,.demo-workspace .member-onboarding-callout .button{grid-column:1/-1!important;width:100%!important}.demo-feature-help{grid-template-columns:1fr!important}.demo-discord{padding:11px!important;overflow:hidden}.demo-discord-message{grid-template-columns:34px minmax(0,1fr)!important;gap:8px!important}.demo-discord-avatar{width:34px!important;height:34px!important;background-size:24px!important}.demo-embed{max-width:100%!important;min-width:0!important;padding:10px!important}.demo-embed-fields{grid-template-columns:1fr!important}.demo-embed-buttons{overflow-x:auto;flex-wrap:nowrap!important;padding-bottom:3px}.demo-embed-buttons span{white-space:nowrap}.demo-modal{padding:8px!important;align-items:start!important;overflow:auto}.demo-modal-card{margin:10px 0;width:100%!important;max-height:none!important}.demo-modal-head,.demo-modal-body{padding:14px!important}.demo-site-preview{max-width:100%;overflow:hidden}.demo-site-nav{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;white-space:nowrap;padding:11px 12px!important}.demo-site-hero{padding:30px 16px!important}.demo-site-hero h2{font-size:1.55rem!important}.demo-site-panels{padding:10px!important}.demo-progress-chart{height:190px!important}.demo-table{display:block!important;width:100%!important;max-width:100%!important;overflow-x:auto!important;white-space:nowrap}.premium-showcase-hero,.premium-checkout-card{grid-template-columns:1fr!important}.demo-brand-preview{max-width:100%;overflow:hidden}.demo-brand-image-row code{overflow-wrap:anywhere;word-break:break-word}.section-actions{max-width:100%}.section-actions .button{max-width:100%}}
@media(max-width:420px){.demo-topbar-brand .demo-pill{display:none}.demo-action-strip a.primary{padding:9px!important}.demo-action-strip a.primary span{font-size:.66rem!important}.demo-workspace{padding-left:10px!important;padding-right:10px!important}.demo-workspace .panel,.demo-workspace .surface-card,.demo-workspace .portal-guidance-card,.demo-workspace .admin-setup-callout,.demo-workspace .member-onboarding-callout{padding:14px!important}}
