/* Page reset only when the native Theme owns the document shell. */
body.wmx-theme-native-shell{margin:0}
/* Theme-native regions only. Never style Builder's own widgets or page containers. */
.wmx-skip-link{position:absolute;inset-block-start:-100px;inset-inline-start:12px;z-index:99999;padding:10px 16px;background:#fff;color:#111;border:2px solid currentColor;text-decoration:none}
.wmx-skip-link:focus{inset-block-start:12px}
:where(.wmx-native-header,.wmx-native-footer,.wmx-native-main){--wmx-accent:#2563eb;--wmx-container:1140px;--wmx-reading:860px;--wmx-text:#172033;--wmx-muted:#667085;--wmx-border:#e5e7eb;--wmx-border-style:solid;--wmx-card-border-width:1px;--wmx-header-border-width:1px;--wmx-input-border-width:1px;--wmx-card-shadow:none;--wmx-shadow-x:0px;--wmx-shadow-y:8px;--wmx-shadow-blur:28px;--wmx-shadow-spread:-8px;--wmx-shadow-color:#172033;--wmx-shadow-opacity:14%;--wmx-surface:#fff;--wmx-body-size:17px;--wmx-body-min-size:15px;--wmx-body-size-effective:clamp(var(--wmx-body-min-size),calc(0.8vw + 11px),var(--wmx-body-size));--wmx-line-height:1.6;--wmx-title-size:42px;--wmx-title-min-size:28px;--wmx-title-size-effective:clamp(var(--wmx-title-min-size),calc(2.2vw + 14px),var(--wmx-title-size));--wmx-title-weight:700;--wmx-title-tracking:-.025em;--wmx-button-pad-y:10px;--wmx-button-pad-x:18px;--wmx-radius:8px;--wmx-side-gutter:20px;--wmx-font:system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;--wmx-link-hover:#1d4ed8;--wmx-button-text:#fff;--wmx-button-bg:#2563eb;--wmx-button-radius:6px;--wmx-form-radius:6px;--wmx-header-height:76px;--wmx-footer-pad:26px;--wmx-card-gap:24px;--wmx-card-radius:12px;--wmx-card-pad:22px;--wmx-content-top:50px;--wmx-content-bottom:70px}
:where(.wmx-native-header,.wmx-native-footer,.wmx-native-main){font-family:var(--wmx-font);color:var(--wmx-text);line-height:var(--wmx-line-height)}
:where(.wmx-native-header,.wmx-native-footer,.wmx-native-main) .wmx-container{box-sizing:border-box;width:min(calc(100% - var(--wmx-side-gutter)*2),var(--wmx-container));margin-inline:auto}
:where(.wmx-native-header,.wmx-native-footer,.wmx-native-main) img{max-width:100%;height:auto}
:where(.wmx-native-header,.wmx-native-footer,.wmx-native-main) a:focus-visible{outline:2px solid var(--wmx-accent);outline-offset:3px}


/* Accessibility: interactive focus and reduced-motion, native markup only. */
:where(.wmx-native-header,.wmx-native-footer,.wmx-native-main) :where(button,input,select,textarea,[role="button"]):focus-visible{outline:2px solid var(--wmx-accent);outline-offset:3px}
:where(.wmx-native-header,.wmx-native-footer,.wmx-native-main) :where(a,button){touch-action:manipulation}
@media(prefers-reduced-motion:reduce){:where(.wmx-native-header,.wmx-native-footer,.wmx-native-main) :where(*,::before,::after){scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* Semantic aliases for native Theme regions; editor token names remain isolated. */
:where(.wmx-native-header,.wmx-native-footer,.wmx-native-main){--wmx-color-primary:var(--wmx-accent);--wmx-color-body:var(--wmx-text);--wmx-color-subtle:var(--wmx-muted);--wmx-surface-default:var(--wmx-surface);--wmx-focus-ring:2px solid var(--wmx-accent);--wmx-fluid-gap:clamp(12px,2vw,24px)}

/* v1.23: native focus visibility under forced-colors and keyboard-only navigation. */
@media(forced-colors:active){:where(.wmx-native-header,.wmx-native-footer,.wmx-native-main) :where(a,button,input,select,textarea):focus-visible{outline:2px solid Highlight;outline-offset:3px}.wmx-skip-link:focus{border-color:Highlight}}

/* Short pages: the main content expands; the footer never acquires arbitrary height. */
body.wmx-theme-native-shell:not(.wmx-builder-document){display:flex;flex-direction:column;min-height:100vh;min-height:100dvh}
body.wmx-theme-native-shell:not(.wmx-builder-document)>.wmx-native-main{flex:1 0 auto}

/* One optional native announcement bar; never a breakpoint clone. */
.wmx-native-banner{background:var(--wmx-banner-bg,#173e7e);color:var(--wmx-banner-fg,#fff);padding:9px 0;text-align:center;font-size:14px;line-height:1.5}
