/* System presentation follows shared mode tokens; authentication remains with its existing owner. */
html[data-wmgce-theme=light] { color-scheme: light; }
html[data-wmgce-theme=dark] { color-scheme: dark; }
body.wmgce-canvas { background: var(--wmgce-mode-bg); color: var(--wmgce-mode-text); }
.wmgce-site { --wmgce-shadow: 0 16px 46px rgb(0 0 0 / .12); }
html[data-wmgce-theme=dark] .wmgce-site { --wmgce-shadow: 0 18px 52px rgb(0 0 0 / .26); }
.wmgce-neutral-auth-main { padding-top: var(--wmgce-header-h,82px); }
.wmgce-neutral-auth-stage { min-height: min(780px,calc(100svh - 120px)); padding: clamp(28px,6vw,72px) 20px; }
.wmgce-neutral-auth-card-wrap { width: min(520px,100%); gap: 18px; }
.wmgce-neutral-auth-heading { color: var(--wmgce-muted); font-size: .95rem; }
.wmgce-neutral-auth-heading .wmgce-eyebrow { justify-content: center; color: var(--wmgce-link); }
.wmgce-neutral-auth-card-wrap .wmgce-auth-card { padding: clamp(22px,5vw,36px); border: 1px solid var(--wmgce-line); border-radius: var(--wmgce-card-radius,20px); box-shadow: var(--wmgce-shadow); background: var(--wmgce-panel); color: var(--wmgce-text); }
.wmgce-auth-card h2 { font-family: var(--wmgce-display),system-ui,sans-serif; font-size: 1.8rem; font-weight: 700; line-height: 1.2; letter-spacing: -.035em; text-transform: none; color: var(--wmgce-text); }
.wmgce-auth-card .wmgce-auth-tabs { display: flex; flex-wrap: wrap; gap: 4px; padding: 5px; margin: 24px 0; background: var(--wmgce-panel-2); border: 1px solid var(--wmgce-line); border-radius: 12px; box-shadow: none; }
.wmgce-auth-card .wmgce-auth-tabs button { flex: 1 1 100px; min-height: 44px; padding: 10px 12px; border: 1px solid transparent; border-radius: 8px; background: transparent; color: var(--wmgce-muted); box-shadow: none; font-family: var(--wmgce-body),system-ui,sans-serif; font-size: .9rem; font-weight: 600; line-height: 1.3; letter-spacing: normal; text-transform: none; }
.wmgce-auth-card .wmgce-auth-tabs button[aria-selected=true] { background: var(--wmgce-panel); color: var(--wmgce-text); border-color: var(--wmgce-line); box-shadow: 0 2px 6px rgb(0 0 0 / .06); }
.wmgce-auth-card label:not(.wmgce-auth-check) { gap: 8px; font-family: var(--wmgce-body),system-ui,sans-serif; font-size: .9rem; font-weight: 600; letter-spacing: normal; text-transform: none; color: var(--wmgce-text); }
.wmgce-auth-card input:not([type=checkbox]):not([type=hidden]):not(.wmgce-otp-native), .wmgce-auth-card select { min-height: 48px; height: 48px; border: 1px solid var(--wmgce-line); border-radius: var(--wmgce-input-radius,10px); background: var(--wmgce-panel); color: var(--wmgce-text); padding: 10px 12px; font-size: 16px; box-shadow: none; }
.wmgce-auth-card input::placeholder { color: var(--wmgce-muted); opacity: 1; }
.wmgce-auth-card input:focus-visible { outline: 2px solid var(--wmgce-link); outline-offset: 2px; border-color: var(--wmgce-link); }
.wmgce-auth-card .wmgce-auth-check { color: var(--wmgce-text); font-size: .9rem; line-height: 1.5; font-weight: 500; letter-spacing: normal; text-transform: none; }
.wmgce-auth-card .wmgce-checkbox-mark { width: 20px; height: 20px; border: 1px solid var(--wmgce-line); border-radius: 5px; background: var(--wmgce-panel); }
.wmgce-auth-card .wmgce-auth-check input:checked + .wmgce-checkbox-mark { background: var(--wmgce-button-bg); border-color: var(--wmgce-button-bg); color: var(--wmgce-button-text); }
.wmgce-site .wmgce-btn-primary { color: var(--wmgce-button-text); background: var(--wmgce-button-bg); }
.wmgce-auth-card .wmgce-btn { min-height: 48px; padding: 12px 18px; border-radius: var(--wmgce-button-radius,10px); font-family: var(--wmgce-native-buttons,var(--wmgce-body)),system-ui,sans-serif; font-size: .95rem; font-weight: 700; letter-spacing: normal; line-height: 1.3; text-transform: none; }
.wmgce-auth-card .wmgce-auth-footer { border-color: var(--wmgce-line); margin-top: 24px; padding-top: 20px; }
.wmgce-auth-card .wmgce-auth-footer a, .wmgce-auth-card .wmgce-auth-back { color: var(--wmgce-link); font-weight: 600; font-size: .9rem; }
.wmgce-site .wmgce-round-btn { color: var(--wmgce-text); background: var(--wmgce-panel); border-color: var(--wmgce-line); border-radius: 12px; }
.wmgce-site .wmgce-main-nav { font-family: var(--wmgce-native-navigation,var(--wmgce-body)),system-ui,sans-serif; }
.wmgce-site .wmgce-btn:focus-visible, .wmgce-site .wmgce-round-btn:focus-visible, .wmgce-auth-tabs button:focus-visible { outline: 2px solid var(--wmgce-link); outline-offset: 3px; }
.wmgce-site .wmgce-auth-help, .wmgce-site .wmgce-prose { color: var(--wmgce-text); }
.wmgce-native-imported-brand .wmgce-display { text-transform: none; line-height: 1.12; }
.wmgce-native-imported-brand .wmgce-brand-logo { width: 220px; max-width: 100%; height: 64px; }
.wmgce-native-imported-brand .wmgce-site-footer { background: #101214; color: #F3F5F7; }
.wmgce-native-imported-brand .wmgce-site-footer a, .wmgce-native-imported-brand .wmgce-site-footer p, .wmgce-native-imported-brand .wmgce-footer-bottom { color: #D5DCE3; }
.wmgce-native-imported-brand .wmgce-site-footer h3 { color: #F3F5F7; }
@media(max-width:680px) { .wmgce-neutral-auth-stage { padding: 24px 16px 36px; min-height: auto; } .wmgce-neutral-auth-card-wrap .wmgce-auth-card { padding: 22px; } .wmgce-native-imported-brand .wmgce-brand-logo { width: 180px; height: 52px; } }
@media(prefers-reduced-motion:reduce) { .wmgce-neutral-auth-shell, .wmgce-neutral-auth-shell button { transition: none; } }
/* Composed system documents use the same roles without a second document wrapper. */
body.wmgce-native-system-document { background: var(--wmgce-bg); color: var(--wmgce-text); margin: 0; }
.wmgce-native-system-document :is(h1,h2,h3,h4,h5,h6) { color: var(--wmgce-text); font-family: var(--wmgce-display),system-ui,sans-serif; text-transform: none; }
.wmgce-native-system-document .wmgce-imported-system-content { color: var(--wmgce-text); }
.wmgce-native-system-document .wmgce-imported-system-content a:not(.wmgce-btn) { color: var(--wmgce-link); }
.wmgce-native-system-document .wmgce-btn-primary { background: var(--wmgce-button-bg); color: var(--wmgce-button-text); }
.wmgce-native-system-document .wmgce-protected-site-header { position: relative; background: var(--wmgce-bg); color: var(--wmgce-text); border-bottom: 1px solid var(--wmgce-line); }
.wmgce-native-system-document .wmgce-protected-site-header > div { display: flex; justify-content: space-between; align-items: center; gap: 20px; max-width: 1200px; margin: auto; padding: 20px 24px; }
.wmgce-native-system-document .wmgce-protected-site-brand { display: inline-flex; align-items: center; text-decoration: none; color: var(--wmgce-text); }
.wmgce-native-system-document .wmgce-protected-site-brand .wmgce-brand-logo { position: relative; display: block; width: 220px; height: 56px; }
.wmgce-native-system-document .wmgce-protected-site-brand img { position: absolute; inset: 0; width: 100%; height: 100%; max-height: none; object-fit: contain; object-position: left center; }
html[data-wmgce-theme=light] .wmgce-native-system-document .wmgce-logo-dark, html[data-wmgce-theme=dark] .wmgce-native-system-document .wmgce-logo-light { display: none; }
html[data-wmgce-theme=dark] .wmgce-native-system-document .wmgce-logo-dark, html[data-wmgce-theme=light] .wmgce-native-system-document .wmgce-logo-light { display: block; }
.wmgce-native-system-document .wmgce-protected-site-actions { display: flex; align-items: center; gap: 14px; }
.wmgce-native-system-document .wmgce-protected-site-return { color: var(--wmgce-link); font-weight: 600; font-size: .9rem; }
.wmgce-native-system-document .wmgce-protected-theme-toggle { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--wmgce-line); border-radius: 12px; background: var(--wmgce-panel); color: var(--wmgce-text); cursor: pointer; }
.wmgce-native-system-document .wmgce-protected-theme-toggle:focus-visible, .wmgce-native-system-document a:focus-visible { outline: 2px solid var(--wmgce-link); outline-offset: 3px; }
.wmgce-native-system-document .wmgce-protected-site-footer { background: var(--wmgce-panel); color: var(--wmgce-muted); border-top: 1px solid var(--wmgce-line); }
.wmgce-native-system-document .wmgce-protected-site-footer > div { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px 24px; max-width: 1200px; margin: auto; padding: 28px 24px; font-size: .85rem; line-height: 1.6; }
.wmgce-native-system-document .wmgce-protected-site-footer a { color: var(--wmgce-link); }
@media(max-width:600px) { .wmgce-native-system-document .wmgce-protected-site-header > div { padding: 16px; gap: 12px; } .wmgce-native-system-document .wmgce-protected-site-brand .wmgce-brand-logo { width: 156px; height: 44px; } .wmgce-native-system-document .wmgce-protected-site-actions { gap: 10px; } .wmgce-native-system-document .wmgce-protected-site-return { max-width: 76px; font-size: .8rem; line-height: 1.35; } }

.wmgce-site .wmgce-brand-mark { background: var(--wmgce-button-bg); color: var(--wmgce-button-text); }
.wmgce-site .wmgce-eyebrow, .wmgce-native-system-document .wmgce-eyebrow { color: var(--wmgce-link); }
.wmgce-native-system-document .wmgce-btn { min-height: 48px; padding: 12px 18px; border-radius: var(--wmgce-button-radius,12px); font-family: var(--wmgce-native-buttons,var(--wmgce-body)),system-ui,sans-serif; font-weight: 700; line-height: 1.3; letter-spacing: normal; text-transform: none; }
.wmgce-native-system-document .wmgce-btn:focus-visible { outline: 2px solid var(--wmgce-link); outline-offset: 3px; }
.wmgce-site[data-pack="wmg-neutral"]:not(.wmgce-native-imported-brand) .wmgce-site-footer { background: var(--wmgce-panel); color: var(--wmgce-text); border-top: 1px solid var(--wmgce-line); }
.wmgce-site[data-pack="wmg-neutral"]:not(.wmgce-native-imported-brand) .wmgce-site-footer :is(a,p,small,.wmgce-footer-bottom) { color: var(--wmgce-muted); }
.wmgce-site[data-pack="wmg-neutral"]:not(.wmgce-native-imported-brand) .wmgce-site-footer h3 { color: var(--wmgce-text); }
