/*
 * Account screens (Nxo_Auth): /login/, /register/, /account/. Split layout: a CAD drawing panel (inline SVG
 * graticule, the Bow Valley station in Observatory red, no WebGL) and the form card. IBM Plex Sans for text, Plex Mono
 * for the heading and for coordinates; one red focal point per view (the station, the primary button, focus).
 * Dark by default; light with prefers-color-scheme or data-theme="light" on <html>. Targets ≥ 24 px, focus visible.
 */
.nxo-auth, .nxo-hub {
	box-sizing: border-box;
	font: 400 15px/1.55 var(--nx-font-sans);
	color: var(--nx-text-secondary);
	background: var(--nx-bg-canvas);
}
.nxo-auth *, .nxo-hub *, .nxo-auth *::before, .nxo-hub *::after { box-sizing: border-box; }

/* Full bleed inside any theme's content column; the page title is the card's own heading. */
.nxo-auth, .nxo-hub { position: relative; left: 50%; translate: -50% 0; width: 100vw !important; max-width: none !important; margin-inline: 0 !important; }
body:has(.nxo-auth, .nxo-hub) { overflow-x: clip; }
.nxo-banner[hidden], .nxo-auth [hidden], .nxo-hub [hidden] { display: none !important; }
body:has(.nxo-auth, .nxo-hub) :is(.wp-block-post-title, .entry-title, .page-title) { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
body:has(.nxo-auth, .nxo-hub) :is(main, .wp-site-blocks > main, .entry-content) { padding-top: 0; margin-top: 0; }

/* ---------- split layout ---------- */
.nxo-auth { display: grid; grid-template-columns: 1fr; min-height: calc(100svh - 64px); }
.nxo-auth__main { display: flex; justify-content: center; align-items: flex-start; padding: 32px 16px 56px; }
.nxo-auth__card { width: 100%; max-width: 460px; }
.nxo-auth .nxo-native { background: transparent; padding: 0; border: 0; }
@media (min-width: 1024px) {
	.nxo-auth { grid-template-columns: minmax(0, 11fr) minmax(0, 13fr); }
	.nxo-auth__main { align-items: center; padding: 64px 48px; }
}

/* ---------- the drawing ---------- */
.nxo-hud { position: relative; overflow: hidden; min-height: 168px; border-bottom: 1px solid var(--nx-border-hairline); background: var(--nx-bg-canvas); color: var(--nx-text-primary); }
.nxo-hud__svg { position: absolute; top: -24px; left: 50%; translate: -50% 0; width: min(560px, 150vw); height: auto; aspect-ratio: 600 / 800; }
@media (min-width: 1024px) { .nxo-hud__svg { inset: 0; translate: none; width: 100%; height: 100%; aspect-ratio: auto; } }
.nxo-hud__svg * { vector-effect: non-scaling-stroke; }
.nxo-hud__frame { fill: none; stroke: var(--nx-line); stroke-width: 1; }
.nxo-hud__horizon { fill: none; stroke: var(--nx-line); stroke-width: 1.25; }
.nxo-hud__grid { fill: none; stroke: var(--nx-line-soft); stroke-width: .75; }
.nxo-hud__eq { fill: none; stroke: var(--nx-line); stroke-width: 1; stroke-dasharray: 6 4; }
.nxo-hud__terrain path { fill: none; stroke: var(--nx-line-soft); stroke-width: .75; }
.nxo-hud__labels text, .nxo-hud__coord { font: 400 11px/1 var(--nx-font-mono); fill: var(--nx-text-muted); font-variant-numeric: tabular-nums slashed-zero; }
.nxo-hud__coord { fill: var(--nx-text-primary); }
.nxo-hud__leader { fill: none; stroke: var(--nx-accent); stroke-width: 1; }
.nxo-hud__dot { fill: var(--nx-accent); }
.nxo-hud__ring { fill: none; stroke: var(--nx-accent); stroke-width: 1; opacity: .7; transform-box: fill-box; transform-origin: center; }
@media (prefers-reduced-motion: no-preference) {
	.nxo-hud__ring { animation: nxo-ping 2.6s cubic-bezier(.2,0,0,1) infinite; }
	@keyframes nxo-ping { 0% { transform: scale(.6); opacity: .9; } 80%, 100% { transform: scale(2.2); opacity: 0; } }
}
.nxo-hud__text { position: relative; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; min-height: 168px; padding: 20px 16px; }
.nxo-hud__brand { display: flex; align-items: center; gap: 10px; margin: 0; font: 500 14px/1 var(--nx-font-sans); letter-spacing: .01em; color: var(--nx-text-primary); }
.nxo-hud__mark { width: 9px; height: 9px; border-radius: 50%; background: var(--nx-accent); }
.nxo-hud__lede, .nxo-hud__facts { display: none; }
@media (min-width: 1024px) {
	.nxo-hud { border-bottom: 0; border-right: 1px solid var(--nx-border-hairline); }
	.nxo-hud__text { padding: 40px 48px 48px; max-width: 520px; }
	.nxo-hud__lede { display: block; margin: 18px 0 0; font: 400 20px/1.4 var(--nx-font-sans); color: var(--nx-text-primary); max-width: 26em; }
	.nxo-hud__facts { display: grid; gap: 10px; margin: 28px 0 0; padding: 20px 0 0; list-style: none; border-top: 1px solid var(--nx-border-hairline); }
	.nxo-hud__facts li { position: relative; padding-left: 20px; font-size: 14px; color: var(--nx-text-secondary); }
	.nxo-hud__facts li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 1px; background: var(--nx-text-primary); }
}

/* ---------- the card ---------- */
.nxo-auth__h { margin: 0 0 8px; font: 400 clamp(28px, 4.2vw, 36px)/1.08 var(--nx-font-mono); letter-spacing: -.04em; color: var(--nx-text-primary); }
.nxo-auth__h:focus { outline: none; }
.nxo-auth .nxo-fields, .nxo-hub .nxo-fields { grid-template-columns: 1fr; gap: 18px; margin: 20px 0 8px; }
.nxo-auth .nxo-input, .nxo-hub .nxo-input { height: 44px; font-size: 15px; }
.nxo-auth .nxo-acts .nxo-btn[data-variant="primary"] { height: 44px; padding: 0 20px; font-size: 15px; }
.nxo-auth .nxo-form > .nxo-acts .nxo-btn[data-variant="primary"]:only-child { width: 100%; justify-content: center; }
.nxo-auth .nxo-label small { color: var(--nx-text-muted); }
.nxo-auth__foot { margin: 28px 0 0; padding-top: 20px; border-top: 1px solid var(--nx-border-hairline); font-size: 14px; color: var(--nx-text-muted); }
.nxo-auth a, .nxo-hub a { color: var(--nx-text-primary); text-decoration: underline; text-decoration-color: var(--nx-line); text-underline-offset: 3px; }
.nxo-auth a:hover, .nxo-hub a:hover { text-decoration-color: var(--nx-accent); }
.nxo-auth a.nxo-btn, .nxo-hub a.nxo-btn { text-decoration: none; }
.nxo-auth :focus-visible, .nxo-hub :focus-visible { outline: 2px solid var(--nx-accent); outline-offset: 2px; }
.nxo-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.nxo-who { font-size: 13px; color: var(--nx-text-muted); }
.nxo-auth__or { display: flex; align-items: center; gap: 12px; margin: 24px 0 12px; color: var(--nx-text-muted); font-size: 13px; }
.nxo-auth__or::before, .nxo-auth__or::after { content: ""; flex: 1; height: 1px; background: var(--nx-border-hairline); }

/* Password: show/hide and strength. */
.nxo-pw { position: relative; }
.nxo-pw .nxo-input { padding-right: 72px; }
.nxo-pw__toggle { position: absolute; top: 6px; right: 6px; height: 32px; min-width: 56px; padding: 0 10px; border: 1px solid var(--nx-border-hairline-strong); border-radius: 4px; background: transparent; color: var(--nx-text-primary); font: 500 12px/1 var(--nx-font-sans); cursor: pointer; }
.nxo-pw__toggle:hover { background: var(--nx-bg-hover); }
.nxo-meter { display: flex; align-items: center; gap: 10px; margin-top: 8px; font-size: 12px; color: var(--nx-text-muted); }
.nxo-meter__bar { display: grid; grid-template-columns: repeat(4, 28px); gap: 4px; }
.nxo-meter__bar i { height: 3px; background: var(--nx-border-hairline-strong); }
.nxo-meter[data-score="1"] i:nth-child(-n+1), .nxo-meter[data-score="2"] i:nth-child(-n+2) { background: var(--nx-text-muted); }
.nxo-meter[data-score="3"] i:nth-child(-n+3) { background: var(--nx-text-primary); }
.nxo-meter[data-score="4"] i { background: var(--nx-positive); }

/* Forgot password: an inline sheet in the card. */
.nxo-sheet { margin-top: 16px; border: 1px solid var(--nx-border-hairline); border-radius: 5px; }
.nxo-sheet__sum { display: flex; align-items: center; justify-content: space-between; min-height: 44px; padding: 10px 14px; cursor: pointer; list-style: none; font-weight: 500; color: var(--nx-text-primary); }
.nxo-sheet__sum::-webkit-details-marker { display: none; }
.nxo-sheet__sum::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); transition: transform .15s; }
.nxo-sheet[open] > .nxo-sheet__sum::after { transform: rotate(-135deg); }
.nxo-sheet__body { padding: 0 14px 14px; }
div.nxo-sheet { padding: 14px; }

/* Error summary. */
.nxo-auth .nxo-banner, .nxo-hub .nxo-banner { margin: 16px 0; }
.nxo-banner[data-tone="error"] { border-color: var(--nx-critical); }
.nxo-summary { margin: 8px 0 0; padding-left: 18px; font-size: 14px; }
.nxo-summary a { color: var(--nx-text-primary); }

/* Steps (registration is a real sequence). */
.nxo-steps { display: flex; gap: 20px; margin: 0 0 28px; padding: 0; list-style: none; counter-reset: s; font: 400 12px/1 var(--nx-font-mono); color: var(--nx-text-muted); }
.nxo-steps li { counter-increment: s; display: flex; align-items: center; gap: 8px; }
.nxo-steps li::before { content: counter(s); display: grid; place-items: center; width: 22px; height: 22px; border: 1px solid var(--nx-border-hairline-strong); border-radius: 50%; }
.nxo-steps li[aria-current="step"] { color: var(--nx-text-primary); }
.nxo-steps li[aria-current="step"]::before { border-color: var(--nx-accent); color: var(--nx-text-primary); }
.nxo-steps li[data-done="1"]::before { content: ""; background: var(--nx-text-primary) center/12px no-repeat; border-color: var(--nx-text-primary); }

/* Account type cards. */
.nxo-types__set { margin: 20px 0 0; padding: 0; border: 0; min-width: 0; }
.nxo-types__set > legend { margin-bottom: 4px; }
.nxo-types__gh { margin: 18px 0 8px; font-size: 13px; color: var(--nx-text-muted); }
.nxo-types__grid { display: grid; grid-template-columns: 1fr; gap: 8px; }
@media (min-width: 560px) { .nxo-types__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.nxo-tcard { position: relative; display: grid; grid-template-columns: 24px minmax(0, 1fr); column-gap: 12px; align-items: start; min-height: 64px; padding: 12px 14px; border: 1px solid var(--nx-border-hairline-strong); border-radius: 5px; cursor: pointer; }
.nxo-tcard:hover { background: var(--nx-bg-hover); }
.nxo-tcard input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.nxo-tcard:has(input:checked) { border-color: var(--nx-accent); box-shadow: inset 0 0 0 1px var(--nx-accent); }
.nxo-tcard:has(input:focus-visible) { outline: 2px solid var(--nx-accent); outline-offset: 2px; }
.nxo-tcard[hidden] { display: none; }
.nxo-ico { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; color: var(--nx-text-primary); grid-row: span 2; }
.nxo-tcard:has(input:checked) .nxo-ico { color: var(--nx-accent); }
.nxo-tcard__t { font-weight: 500; color: var(--nx-text-primary); line-height: 1.3; }
.nxo-tcard__d { font-size: 13px; line-height: 1.4; color: var(--nx-text-muted); }
.nxo-types__fields { margin-top: 20px; }
.nxo-acts--split { justify-content: space-between; }

/* ---------- account hub ---------- */
.nxo-hub { border-top: 1px solid var(--nx-border-hairline); padding: 0 0 64px; }
.nxo-hub__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; padding: 32px 16px 24px; border-bottom: 1px solid var(--nx-border-hairline); }
.nxo-hub__id { display: flex; align-items: center; gap: 20px; min-width: 0; }
.nxo-hub__id .nxo-hud__svg { position: static; translate: none; aspect-ratio: auto; top: auto; left: auto; flex: none; width: 88px; height: 88px; border: 1px solid var(--nx-border-hairline); border-radius: 50%; color: var(--nx-text-primary); }
.nxo-hub__id .nxo-hud__frame, .nxo-hub__id .nxo-hud__labels, .nxo-hub__id .nxo-hud__terrain, .nxo-hub__id .nxo-hud__coord, .nxo-hub__id .nxo-hud__leader { display: none; }
.nxo-hub__kicker { margin: 0 0 4px; font-size: 13px; color: var(--nx-text-muted); }
.nxo-hub__mail { margin: 4px 0 0; font: 400 13px/1.4 var(--nx-font-mono); color: var(--nx-text-muted); overflow-wrap: anywhere; }
.nxo-hub__type { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 10px 0 0; font-size: 14px; color: var(--nx-text-primary); }
.nxo-hub__type .nxo-ico { width: 20px; height: 20px; }
.nxo-tag { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border: 1px solid var(--nx-border-hairline-strong); border-radius: 4px; font: 500 12px/1 var(--nx-font-sans); color: var(--nx-text-secondary); }
.nxo-tag[data-tone="ok"] { border-color: var(--nx-positive); color: var(--nx-text-primary); }
.nxo-tag[data-tone="info"] { border-color: var(--nx-accent); }
.nxo-hub > .nxo-banner { margin: 16px; }
.nxo-hub__body { display: grid; grid-template-columns: 1fr; gap: 0; padding: 0 16px; }
.nxo-hub__nav { position: sticky; top: 0; z-index: 2; margin: 0 -16px; padding: 0 16px; overflow-x: auto; background: var(--nx-bg-canvas); border-bottom: 1px solid var(--nx-border-hairline); }
.nxo-hub__nav ul { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; white-space: nowrap; }
.nxo-hub__nav a { display: block; padding: 14px 10px; font-size: 14px; text-decoration: none; color: var(--nx-text-secondary); border-bottom: 2px solid transparent; }
.nxo-hub__nav a:hover, .nxo-hub__nav a[aria-current="true"] { color: var(--nx-text-primary); border-bottom-color: var(--nx-accent); }
.nxo-hub__sec { padding: 32px 0; border-bottom: 1px solid var(--nx-border-hairline); scroll-margin-top: 56px; max-width: 880px; }
.nxo-hub__h { margin: 0 0 12px; font: 400 24px/1.15 var(--nx-font-mono); letter-spacing: -.03em; color: var(--nx-text-primary); }
.nxo-next, .nxo-feat { margin: 8px 0 20px; padding: 0; list-style: none; }
.nxo-next { display: grid; grid-template-columns: 1fr; gap: 8px; }
@media (min-width: 640px) { .nxo-next { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.nxo-next__a { position: relative; display: flex; align-items: center; min-height: 52px; padding: 12px 40px 12px 14px; border: 1px solid var(--nx-border-hairline-strong); border-radius: 5px; text-decoration: none !important; color: var(--nx-text-primary); font-weight: 500; }
.nxo-next__a::after { content: ""; position: absolute; right: 16px; width: 7px; height: 7px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); }
.nxo-next__a:hover { border-color: var(--nx-accent); }
.nxo-feat li { position: relative; padding: 6px 0 6px 20px; border-bottom: 1px solid var(--nx-border-hairline); }
.nxo-feat li::before { content: ""; position: absolute; left: 0; top: 1.05em; width: 8px; height: 1px; background: var(--nx-text-primary); }
.nxo-org__name { margin: 0; font: 500 18px/1.3 var(--nx-font-sans); color: var(--nx-text-primary); }
.nxo-inline { display: flex; gap: 8px; align-items: center; }
.nxo-inline .nxo-input { height: 36px; }
.nxo-review { padding: 16px; margin: 0 0 16px; border: 1px solid var(--nx-border-hairline-strong); border-radius: 5px; }
.nxo-dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 16px; margin: 8px 0; font-size: 14px; }
.nxo-dl dt { color: var(--nx-text-muted); }
.nxo-dl dd { margin: 0; color: var(--nx-text-primary); overflow-wrap: anywhere; }
.nxo-hub .nxo-grid2 { border-radius: 5px; overflow: hidden; }
.nxo-hub .nxo-grid2 > .nxo-form, .nxo-hub .nxo-grid2 > div { margin: 0; padding: 24px; background: var(--nx-bg-canvas); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (min-width: 1024px) {
	.nxo-hub__head { padding: 48px 48px 32px; }
	.nxo-hub > .nxo-banner { margin: 16px 48px; }
	.nxo-hub__body { grid-template-columns: 220px minmax(0, 1fr); gap: 48px; padding: 0 48px; }
	.nxo-hub__nav { position: sticky; top: 24px; align-self: start; margin: 32px 0 0; padding: 0; border: 0; background: none; }
	.nxo-hub__nav ul { flex-direction: column; white-space: normal; }
	.nxo-hub__nav a { padding: 10px 12px; border-bottom: 0; border-left: 2px solid transparent; }
	.nxo-hub__nav a:hover, .nxo-hub__nav a[aria-current="true"] { border-left-color: var(--nx-accent); }
}
.nxo-btn[aria-busy="true"] { position: relative; color: transparent !important; pointer-events: none; }
.nxo-btn[aria-busy="true"]::after { content: ""; position: absolute; inset: 0; margin: auto; width: 16px; height: 16px; border: 2px solid var(--nx-primary-ink); border-right-color: transparent; border-radius: 50%; animation: nxo-spin .7s linear infinite; }
.nxo-btn[data-variant="secondary"][aria-busy="true"]::after, .nxo-btn[data-variant="ghost"][aria-busy="true"]::after { border-color: var(--nx-text-primary); border-right-color: transparent; }
@keyframes nxo-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .nxo-btn[aria-busy="true"]::after { animation-duration: 2s; } }
.nxo-auth__main { background:none; }
.nxo-auth .nxo-auth__card.nxo-native { position: relative; padding: 32px 20px 28px; background: var(--nx-bg-canvas); border: 1px solid var(--nx-border-hairline-strong); }
@media (min-width: 560px) { .nxo-auth .nxo-auth__card.nxo-native { padding: 44px 40px 32px; } }
.nxo-frame i { position: absolute; width: 14px; height: 14px; border-color: var(--nx-text-primary); border-style: solid; border-width: 0; pointer-events: none; }
.nxo-frame i:nth-child(1) { top: -1px; left: -1px; border-top-width: 2px; border-left-width: 2px; }
.nxo-frame i:nth-child(2) { top: -1px; right: -1px; border-top-width: 2px; border-right-width: 2px; }
.nxo-frame i:nth-child(3) { bottom: -1px; left: -1px; border-bottom-width: 2px; border-left-width: 2px; }
.nxo-frame i:nth-child(4) { bottom: -1px; right: -1px; border-bottom-width: 2px; border-right-width: 2px; }
.nxo-auth__path { position: absolute; top: -9px; left: 24px; margin: 0; padding: 0 8px; background: var(--nx-bg-canvas); font: 400 11px/18px var(--nx-font-mono); color: var(--nx-text-muted); letter-spacing: .02em; }
.nxo-auth .nxo-label, .nxo-hub .nxo-label { font: 500 12px/1.4 var(--nx-font-mono); letter-spacing: .01em; color: var(--nx-text-primary); }
.nxo-auth .nxo-input, .nxo-hub .nxo-input { border-radius: 2px; background: var(--nx-bg-canvas); border: 1px solid var(--nx-border-hairline-strong); color: var(--nx-text-primary); font-family: var(--nx-font-sans); }
.nxo-auth .nxo-input:focus, .nxo-hub .nxo-input:focus { border-color: var(--nx-accent); box-shadow: 0 0 0 1px var(--nx-accent); outline: none; }
.nxo-auth .nxo-check input[type="checkbox"], .nxo-hub .nxo-check input[type="checkbox"] { appearance: none; width: 20px; height: 20px; margin: 2px 0 0; border: 1px solid var(--nx-border-hairline-strong); border-radius: 2px; background: var(--nx-bg-canvas); display: grid; place-items: center; cursor: pointer; }
.nxo-auth .nxo-check input[type="checkbox"]:checked, .nxo-hub .nxo-check input[type="checkbox"]:checked { background: var(--nx-text-primary); border-color: var(--nx-text-primary); }
.nxo-auth .nxo-check input[type="checkbox"]:checked::after, .nxo-hub .nxo-check input[type="checkbox"]:checked::after { content: ""; width: 10px; height: 5px; border-left: 2px solid var(--nx-bg-canvas); border-bottom: 2px solid var(--nx-bg-canvas); transform: translateY(-1px) rotate(-45deg); }
.nxo-auth .nxo-check input[type="checkbox"]:focus-visible { outline: 2px solid var(--nx-accent); outline-offset: 2px; }
.nxo-auth .nxo-btn, .nxo-hub .nxo-btn { border-radius: 2px; font-weight: 500; }
.nxo-auth .nxo-btn[data-variant="primary"], .nxo-hub .nxo-btn[data-variant="primary"] { background: var(--nx-primary-bg); color: var(--nx-primary-ink); border: 0; }
.nxo-auth .nxo-btn[data-variant="primary"]:hover, .nxo-hub .nxo-btn[data-variant="primary"]:hover { background: var(--nx-primary-hover); }
.nxo-auth .nxo-btn[data-variant="secondary"], .nxo-hub .nxo-btn[data-variant="secondary"] { background: transparent; color: var(--nx-text-primary); border: 1px solid var(--nx-border-hairline-strong); }
.nxo-auth .nxo-help, .nxo-hub .nxo-help { font-size: 12px; }
.nxo-auth .nxo-sheet, .nxo-hub .nxo-sheet, .nxo-tcard, .nxo-next__a, .nxo-review { border-radius: 2px; }
.nxo-auth .nxo-tcard:has(input:checked) .nxo-ico { color: var(--nx-text-primary); }
.nxo-tcard:has(input:checked) { border-color: var(--nx-text-primary); box-shadow: inset 0 0 0 1px var(--nx-text-primary); }
.nxo-tcard__t { font: 500 14px/1.3 var(--nx-font-sans); }
.nxo-steps li[aria-current="step"]::before { border-color: var(--nx-text-primary); background: var(--nx-text-primary); color: var(--nx-bg-canvas); }
.nxo-hub__sec { position: relative; }
.nxo-hub__h::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 10px; border: 1px solid var(--nx-text-primary); vertical-align: 2px; }
.nxo-auth .nxo-steps, .nxo-auth .nxo-steps li { border: 0; padding: 0; }
.nxo-auth .nxo-check, .nxo-hub .nxo-check { margin: 12px 0; }
@media (min-width: 1024px) { .nxo-hud { position: sticky; top: 0; height: 100svh; max-height: 1000px; } }

/* With the shared kit (nexus-observatory-ui): its tokens drive every colour and font here, in both themes. */
.nxo-kit, .nxo-kit .nxo-native {
	--nx-bg-canvas: var(--nxo-bg) !important; --nx-bg-surface: var(--nxo-surface) !important; --nx-bg-elevated: var(--nxo-elev) !important; --nx-bg-hover: var(--nxo-hover) !important;
	--nx-border-hairline: var(--nxo-hair) !important; --nx-border-hairline-strong: var(--nxo-hair2) !important;
	--nx-text-primary: var(--nxo-t1) !important; --nx-text-secondary: var(--nxo-t2) !important; --nx-text-muted: var(--nxo-t3) !important;
	--nx-primary-bg: var(--nxo-accent) !important; --nx-primary-ink: var(--nxo-on-accent) !important; --nx-primary-hover: var(--nxo-btn-primary-hover) !important;
	--nx-accent: var(--nxo-accent-graphic) !important; --nx-line: rgba(var(--nxo-ink), .34) !important; --nx-line-soft: rgba(var(--nxo-ink), .14) !important;
	--nx-font-sans: var(--nxo-sans) !important; --nx-font-mono: var(--nxo-mono) !important;
}
/* Type cards: fixed areas so long names never push the description; the step widens for the cards. */
.nxo-tcard { grid-template-columns: 24px minmax(0, 1fr); grid-template-areas: "ico t" "ico d"; grid-template-rows: auto 1fr; row-gap: 2px; }
.nxo-tcard > .nxo-ico { grid-area: ico; grid-row: auto; }
.nxo-tcard > .nxo-tcard__t { grid-area: t; }
.nxo-tcard > .nxo-tcard__d { grid-area: d; }
.nxo-tcard > input[type="radio"] { position: absolute !important; opacity: 0 !important; width: 1px !important; height: 1px !important; margin: 0 !important; }
.nxo-auth__card:has(.nxo-step[data-step="2"]:not([hidden])) { max-width: 720px; }
@media (min-width: 1024px) { .nxo-auth:has(.nxo-step[data-step="2"]:not([hidden])) { grid-template-columns: minmax(0, 9fr) minmax(0, 15fr); } }
.nxo-hub__mono { position: relative; flex: none; display: grid; place-items: center; width: 88px; height: 88px; border: 1px solid var(--nx-border-hairline-strong); font: 400 28px/1 var(--nx-font-mono); letter-spacing: -.02em; color: var(--nx-text-primary); }
.nxo-auth .nxo-banner, .nxo-hub .nxo-banner { display: flex; gap: 10px; align-items: flex-start; flex-wrap: wrap; }
.nxo-auth .nxo-banner > p, .nxo-hub .nxo-banner > p { flex: 1; margin: 0; }
.nxo-auth .nxo-banner > .nxo-dot, .nxo-hub .nxo-banner > .nxo-dot { flex: none; width: 6px; height: 6px; margin-top: .6em; border-radius: 50%; background: var(--nx-text-primary); }
.nxo-auth .nxo-banner[data-tone="error"] > .nxo-dot, .nxo-hub .nxo-banner[data-tone="error"] > .nxo-dot { background: var(--nx-accent); }
.nxo-auth .nxo-banner > .nxo-summary, .nxo-hub .nxo-banner > .nxo-summary { flex-basis: 100%; }
.nxo-auth .nxo-auth__card.nxo-native:has(.nxo-step[data-step="2"]:not([hidden])) { max-width: 720px !important; width: 100%; }

.nxo-frame,.nxo-auth__path{display:none!important}.nxo-auth .nxo-auth__card.nxo-native{border-radius:12px}
