/* Scoped feature layer: reuse the existing site palette, keep unrelated pages unchanged. */
.mb-feature-page .mb-main{max-width:1040px;padding-top:20px}.mb-feature-page .mb-breadcrumbs{margin-bottom:12px}.fx-root{font:17px/1.55 var(--mb-font);color:var(--mb-text);overflow-wrap:anywhere}.fx-root *{box-sizing:border-box}.fx-root [hidden]{display:none!important}.fx-root h1{font-size:36px;line-height:1.2;margin:8px 0 16px}.fx-root h2{font-size:24px;line-height:1.3}.fx-root h3{font-size:20px}.fx-root p{margin:12px 0}.fx-root button,.fx-root input,.fx-root select,.fx-root textarea{font:inherit;max-width:100%;color:inherit}.fx-root button,.fx-root select,.fx-root input:not([type=radio]):not([type=checkbox]){min-height:48px}.fx-root button{font-size:16px;background:var(--mb-surface);border:1px solid var(--mb-control-border);border-radius:12px;padding:10px 16px;cursor:pointer;transition:background 150ms}.fx-root button:hover{background:var(--mb-brand-soft)}.fx-root button:disabled{cursor:default;color:var(--mb-disabled-text);background:var(--mb-disabled-bg);opacity:1}.fx-root .fx-primary{background:var(--mb-brand);color:#fff;border-color:var(--mb-brand)}.fx-root .fx-primary:hover{background:var(--mb-brand-hover)}.fx-root .fx-primary:disabled{background:var(--mb-disabled-bg);border-color:var(--mb-border);color:var(--mb-disabled-text)}.fx-root :focus-visible{outline:3px solid var(--mb-focus);outline-offset:3px}.fx-root input,.fx-root select,.fx-root textarea{background:#fff;border:1px solid var(--mb-control-border);border-radius:8px;padding:10px}.fx-root textarea{width:100%;min-height:130px;resize:vertical}.fx-root input[type=radio],.fx-root input[type=checkbox]{width:22px;height:22px;flex:none;accent-color:var(--mb-brand)}.fx-root label{display:block}.fx-root fieldset{border:0;padding:0;margin:20px 0;min-width:0}.fx-root legend{font-weight:600;margin-bottom:12px}.fx-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px}.fx-toolbar>span{font-size:14px;color:var(--mb-text-secondary)}.fx-card{background:var(--mb-surface);border:1px solid var(--mb-border);border-radius:16px;padding:24px;min-width:0;margin:16px 0}.fx-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:start}.fx-grid>.fx-card{margin:0}.fx-options{display:grid;gap:12px}.fx-options>label,.fx-choice{padding:14px 16px;border:1px solid var(--mb-control-border);border-radius:12px;background:var(--mb-surface);display:flex;align-items:flex-start;gap:12px;min-height:48px;cursor:pointer}.fx-options>label:has(input:checked){background:var(--mb-brand-soft);border-color:var(--mb-brand)}.fx-options input{margin-top:3px}.fx-actions{display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin:20px 0}.fx-actions>*{max-width:100%}.fx-note,.fx-muted{color:var(--mb-text-secondary)}.fx-note{background:var(--mb-brand-soft);border-radius:12px;padding:14px 16px}.fx-step{font-size:14px;font-weight:600;color:var(--mb-text-secondary)}.fx-error{color:var(--mb-danger);background:var(--mb-danger-soft);padding:12px;border-radius:8px}.fx-error:empty{display:none}.fx-result{border-left:4px solid var(--mb-success);padding-left:16px}.fx-storage-actions{margin-top:32px;padding-top:16px;border-top:1px solid var(--mb-border)}.fx-storage-actions p{font-size:14px}.fx-storage-actions button{font-size:14px;min-height:44px}.fx-resume{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.fx-sr-only{position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap}.fx-root pre{white-space:pre-wrap;overflow-wrap:anywhere}.fx-root details{margin:16px 0}.fx-root summary{cursor:pointer;min-height:44px;padding:10px 0}.fx-root .fx-confirm{border:3px solid var(--mb-brand);position:sticky;bottom:12px;z-index:5;background:#fff}.fx-root iframe{max-width:100%;display:block;border:1px solid var(--mb-border);border-radius:12px}.fx-root .fx-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.fx-root [aria-pressed=true],.fx-root [aria-selected=true]{border-color:var(--mb-brand);background:var(--mb-brand-soft)}
@media(max-width:759px){.mb-feature-page.mb-js .mb-platform-header .mb-primary-nav{display:none}.mb-feature-page .mb-platform-header .mb-header-inner{min-height:56px;padding-block:4px}.mb-feature-page .mb-main{padding:16px}.fx-root h1{font-size:28px}.fx-grid{grid-template-columns:1fr}.fx-card{padding:16px}.fx-root .fx-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.fx-actions{gap:8px}.fx-root button{padding:10px 12px}.fx-toolbar{gap:8px}}
@media(prefers-reduced-motion:reduce){.fx-root *{transition:none!important;animation:none!important;scroll-behavior:auto!important}}

.groups-counts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.groups-counts input{width:100%}.groups-question h2{font-size:clamp(24px,3vw,32px)}.fx-summary{font:inherit;white-space:pre-wrap}.embed-preview{min-width:0}.fx-root #embed-code{min-height:260px;font:14px/1.5 ui-monospace,monospace}

.fx-shortcut{display:none}@media(max-width:759px){.mb-feature-page .mb-platform-header .mb-header-inner{min-height:55px;padding-block:0}.mb-feature-page .mb-platform-header{border-bottom:0}}@media(max-width:359px){.fx-toolbar{flex-wrap:wrap}.fx-toolbar .fx-shortcut{display:block;font-size:14px;min-height:44px}.fx-toolbar>span{display:none}}

@media(max-width:759px){.mb-feature-page .mb-main{width:100%;padding:16px}.fx-grid{grid-template-columns:minmax(0,1fr)}}

/* Keep the language control at the right after removing release metadata. */
.fx-toolbar>[data-fx="language"]{margin-left:auto}
