/* Nexus Observatory Stations: participation screens on the nxo-ui kit (tokens and components). One signature, the
   protocol trace (join, attest, time, publish as nodes on a line); everything around it stays quiet. */

.nxst { --nxst-line: var(--nxo-hair2); color: var(--nxo-t1); font-family: var(--nxo-sans); }
.nxst *, .nxst *::before, .nxst *::after { box-sizing: border-box; }
.nxst .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nxst :focus-visible { outline: none; box-shadow: var(--nxo-focus); }
/* Pages: .alignwide takes the theme's wide size inside a constrained post content; elsewhere cap the width. */
.nxst-page:not(.alignwide) { max-width: 1200px; margin-inline: auto; }

/* Type */
.nxst-h1 { margin: 0 0 16px; font: 400 clamp(30px, 4.6vw, 52px)/1.05 var(--nxo-mono); letter-spacing: -.02em; max-width: 18ch; }
.nxst-h2 { margin: 0 0 12px; font: 400 clamp(22px, 2.6vw, 30px)/1.15 var(--nxo-mono); letter-spacing: -.01em; }
.nxst-h3 { margin: 0 0 8px; font: 400 22px/1.2 var(--nxo-mono); }
.nxst-h4, .nxst-sub { margin: 24px 0 8px; font: 500 14px/1.4 var(--nxo-sans); color: var(--nxo-t1); }
.nxst-lede { margin: 0 0 20px; max-width: 64ch; color: var(--nxo-t2); font-size: 17px; line-height: 1.55; }
.nxst .nxo-text { max-width: 70ch; }
.nxst-ph { font-family: var(--nxo-mono); color: var(--nxo-t2); }

/* The protocol trace */
.nxst .nxst-trace { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); margin: 16px 0; padding: 0; list-style: none; }
.nxst-trace::before { content: ""; position: absolute; top: 6px; left: 6px; right: calc(25% - 6px); height: 1px; background: var(--nxst-line); }
.nxst-node { position: relative; display: grid; gap: 6px; justify-items: start; align-content: start; margin: 0; list-style: none; min-width: 0; padding: 0; border: 0; background: none; color: var(--nxo-t2); font: 500 12px/1.3 var(--nxo-mono); text-align: left; }
.nxst-dot { position: relative; z-index: 1; width: 13px; height: 13px; border: 1px solid var(--nxo-t3); border-radius: 50%; background: var(--nxo-bg); }
.nxst-node[data-state="passed"] { color: var(--nxo-t1); }
.nxst-node[data-state="passed"] .nxst-dot { border-color: var(--nxo-t1); background: var(--nxo-t1); }
.nxst-node[data-state="failed"] .nxst-dot { border-color: var(--nxo-ico-error, var(--nxo-t1)); }
.nxst-node[data-state="failed"] .nxst-dot::before, .nxst-node[data-state="failed"] .nxst-dot::after { content: ""; position: absolute; left: 50%; top: 15%; width: 1.5px; height: 70%; margin-left: -.75px; background: var(--nxo-ico-error, var(--nxo-t1)); transform: rotate(45deg); }
.nxst-node[data-state="failed"] .nxst-dot::after { transform: rotate(-45deg); }
.nxst-reason { color: var(--nxo-t2); font: 400 12px/1.4 var(--nxo-sans); }
.nxst-trace--compact { margin: 0; min-width: 220px; }
.nxst-trace--compact .nxst-node-l { font-size: 11px; }

/* Hero stepper: the same trace, larger, as tabs */
.nxst-open { display: grid; gap: 40px; padding: 8px 0 48px; border-bottom: 1px solid var(--nxo-hair); }
@media (min-width: 960px) { .nxst-open { grid-template-columns: 1.1fr 1fr; align-items: end; } }
.nxst-stepper { border-radius: 5px; padding: 24px; border: 1px solid var(--nxo-hair2); background: var(--nxo-surface); }
.nxst-trace--hero { margin: 0 0 24px; }
.nxst-trace--hero::before { top: 10px; left: 10px; right: calc(25% - 10px); }
.nxst-trace--hero .nxst-node { cursor: pointer; font-size: 13px; padding: 0 0 4px; }
.nxst-trace--hero .nxst-dot { width: 21px; height: 21px; }
.nxst-trace--hero .nxst-node[aria-selected="true"] { color: var(--nxo-t1); }
.nxst-trace--hero .nxst-node[aria-selected="true"] .nxst-node-l { text-decoration: underline; text-decoration-color: var(--nxo-t1); text-underline-offset: .35em; }
.nxst-trace--hero .nxst-node:hover .nxst-node-l, .nxst-trace--hero .nxst-node:focus-visible .nxst-node-l { color: var(--nxo-accent); }
.nxst-trace--hero .nxst-node:hover .nxst-dot { border-color: var(--nxo-t1); }
.nxst-step-t { margin: 0 0 8px; font: 400 18px/1.4 var(--nxo-mono); color: var(--nxo-t1); }
@media (prefers-reduced-motion: no-preference) {
	.nxst-trace--hero .nxst-dot { transition: background var(--nxo-dur-base, .2s), border-color var(--nxo-dur-base, .2s), box-shadow var(--nxo-dur-base, .2s); }
	.nxst-step:not([hidden]) { animation: nxst-in var(--nxo-dur-slow, .32s) var(--nxo-ease-out, ease-out); }
	@keyframes nxst-in { from { opacity: 0; transform: translateY(4px); } }
}

/* Who takes part */
.nxst-who, .nxst-tiers-s, .nxst-end { padding: 48px 0; border-bottom: 1px solid var(--nxo-hair); }
.nxst-end { border-bottom: 0; }
.nxst-who-grid { display: grid; gap: 24px; }
@media (min-width: 900px) { .nxst-who-grid { grid-template-columns: 260px 1fr; gap: 40px; } }
.nxst-who-list { display: flex; gap: 0; overflow-x: auto; border-bottom: 1px solid var(--nxo-hair); }
@media (min-width: 900px) { .nxst-who-list { flex-direction: column; overflow: visible; border-bottom: 0; border-left: 1px solid var(--nxo-hair); } }
.nxst-who-tab { flex: none; min-height: 44px; padding: 10px 14px; border: 0; background: none; color: var(--nxo-t3); font: 400 14px/1.3 var(--nxo-sans); text-align: left; cursor: pointer; }
.nxst-who-tab:hover { color: var(--nxo-t1); }
.nxst-who-tab[aria-selected="true"] { color: var(--nxo-t1); box-shadow: inset 0 -2px 0 var(--nxo-t1); }
.nxst-who-tab:hover, .nxst-who-tab:focus-visible { color: var(--nxo-accent); }
@media (min-width: 900px) { .nxst-who-tab[aria-selected="true"] { box-shadow: inset 2px 0 0 var(--nxo-t1); } }
.nxst-who-cols { display: grid; gap: 8px 32px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.nxst-ul { margin: 0; padding: 0 0 0 1.1em; color: var(--nxo-t2); font-size: 14px; line-height: 1.6; }
.nxst-app { margin-left: 6px; color: var(--nxo-t3); font: 400 12px var(--nxo-mono); }
.nxst-plate { border-radius: 5px; overflow: hidden; margin: 0 0 24px; border: 1px solid var(--nxo-hair2); background: #000; }
.nxst-plate img { display: block; width: 100%; height: auto; }
.nxst-plate figcaption { padding: 10px 14px; border-top: 1px solid var(--nxo-hair); background: var(--nxo-surface); color: var(--nxo-t2); font-size: 13px; line-height: 1.5; }
.nxst-plate figcaption b { color: var(--nxo-t1); font-weight: 500; }

/* Tiers */
.nxst .nxst-tierlist { display: grid; gap: 0; margin: 24px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--nxo-hair); }
.nxst-tierlist li { display: grid; gap: 4px 24px; padding: 14px 0; border-bottom: 1px solid var(--nxo-hair); }
@media (min-width: 720px) { .nxst-tierlist li { grid-template-columns: 220px 1fr; } }
.nxst-tier-t { font: 400 15px/1.4 var(--nxo-mono); }
.nxst-tier-x { color: var(--nxo-t2); font-size: 14px; line-height: 1.55; }
.nxst-review { margin: 0 0 16px; padding: 12px 14px; border: 1px solid var(--nxo-hair); border-radius: 5px; background: var(--nxo-surface); color: var(--nxo-t2); font-size: 14px; line-height: 1.5; max-width: 80ch; }

/* Account hub */
.nxst-hub { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.nxst-hub > * { min-width: 0; }
@media (min-width: 900px) { .nxst-hub { grid-template-columns: 200px minmax(0, 1fr); } }
.nxst-snav ul { display: flex; gap: 0; margin: 0; padding: 0; list-style: none; overflow-x: auto; border-bottom: 1px solid var(--nxo-hair); }
@media (min-width: 900px) { .nxst-snav ul { flex-direction: column; border-bottom: 0; border-left: 1px solid var(--nxo-hair); } }
.nxst-snav a { display: block; padding: 10px 14px; color: var(--nxo-t3); text-decoration: none; white-space: nowrap; }
.nxst-snav a:hover { color: var(--nxo-t1); }
.nxst-snav a[aria-current="page"] { color: var(--nxo-t1); box-shadow: inset 0 -2px 0 var(--nxo-t1); }
.nxst-snav a:focus-visible { color: var(--nxo-accent); }
@media (min-width: 900px) { .nxst-snav a[aria-current="page"] { box-shadow: inset 2px 0 0 var(--nxo-t1); } }
.nxst-sec { display: grid; gap: 16px; min-width: 0; }
.nxst-head { display: grid; gap: 8px; }
.nxst-flash { margin: 0; }
.nxst-notice { margin: 0; color: var(--nxo-t3); font-size: 12.5px; line-height: 1.5; }
.nxst-empty { border-radius: 5px; padding: 20px; border: 1px solid var(--nxo-hair); }

.nxst .nxst-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--nxo-hair2); }
.nxst :is(.nxst-list, .nxst-trace, .nxst-tierlist, .nxst-comms) > li { margin: 0; padding-inline-start: 0; }
.nxst :is(.nxst-list, .nxst-trace, .nxst-tierlist, .nxst-comms) > li::marker { content: none; }
.nxst-row { display: grid; gap: 12px; padding: 20px 0; border-bottom: 1px solid var(--nxo-hair2); scroll-margin-top: 96px; }
.nxst-row-t { margin: 0; font: 400 18px/1.3 var(--nxo-mono); }
.nxst-row-m { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 4px 0 0; color: var(--nxo-t2); font-size: 13px; }
.nxst-ref { font: 400 12px var(--nxo-mono); color: var(--nxo-t3); }
th .nxst-ref { display: block; margin-top: 2px; }
.nxst-pub { color: var(--nxo-t2); }
.nxst-status { display: grid; gap: 8px; }
.nxst-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 8px 24px; margin: 0; }
.nxst-facts dt { color: var(--nxo-t3); font-size: 12px; }
.nxst-facts dd { margin: 2px 0 0; }
.nxst-next { margin: 0; color: var(--nxo-t2); font-size: 14px; }
.nxst-next b { color: var(--nxo-t1); font-weight: 500; }
.nxst-edit > summary, .nxst-sum { cursor: pointer; color: var(--nxo-t1); }
.nxst-edit > summary { color: var(--nxo-t2); font-size: 13px; }
.nxst-edit[open] > summary { margin-bottom: 12px; }
.nxst-block { border-radius: 5px; padding: 16px 20px; border: 1px solid var(--nxo-hair); background: var(--nxo-surface); }
.nxst-sum { font: 400 16px/1.4 var(--nxo-mono); }
.nxst-block[open] > .nxst-sum { margin-bottom: 16px; }
.nxst-form { max-width: 720px; }
.nxst-del { margin-top: 8px; }
.nxst-loc { margin: 0; padding: 0; border: 0; display: grid; gap: 8px; }
.nxst-switch-row { display: flex; gap: 12px; align-items: flex-start; }
.nxst-switch-row > span { display: grid; gap: 2px; }
.nxst-switch-l { font-size: 14px; }
.nxst-checks { margin: 0; padding: 0; border: 0; display: grid; gap: 8px; }
.nxst-opts { display: grid; gap: 8px 20px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }

.nxst-roles { margin: 0; padding: 0; border: 0; display: grid; gap: 0; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); border-top: 1px solid var(--nxo-hair); }
.nxst-role { display: grid; grid-template-columns: 20px 1fr; gap: 12px; padding: 14px 12px 14px 0; border-bottom: 1px solid var(--nxo-hair); cursor: pointer; }
.nxst-role input { appearance: none; width: 20px; height: 20px; margin: 2px 0 0; border: 1px solid var(--nxo-hair2); border-radius: 4px; background: var(--nxo-surface); display: grid; place-items: center; }
.nxst-role input:checked { background: var(--nxo-accent); border-color: var(--nxo-accent); }
.nxst-role input:checked::after { content: ""; width: 10px; height: 6px; border: 2px solid var(--nxo-on-accent); border-top: 0; border-right: 0; transform: translateY(-1px) rotate(-45deg); }
.nxst-role input:focus-visible { box-shadow: var(--nxo-focus); }
.nxst-role-b { display: grid; gap: 4px; }
.nxst-role-t { font-size: 15px; }
.nxst-role-x { color: var(--nxo-t2); font-size: 13px; line-height: 1.5; }
.nxst-badge { margin-left: 6px; }
.nxst .nxst-comms { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); border-top: 1px solid var(--nxo-hair); }
.nxst-comm { display: grid; gap: 4px; height: 100%; padding: 14px 12px 14px 0; border-bottom: 1px solid var(--nxo-hair); color: inherit; text-decoration: none; }
.nxst-comm:hover .nxst-comm-t { text-decoration: underline; text-decoration-color: var(--nxo-accent); }
.nxst-comm-t { font-size: 15px; }
.nxst-comm-x { color: var(--nxo-t2); font-size: 13px; line-height: 1.5; }

.nxst-table-wrap { overflow-x: auto; }
.nxst-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.nxst-table th, .nxst-table td { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--nxo-hair); text-align: left; vertical-align: middle; font-weight: 400; }
.nxst-table thead th { color: var(--nxo-t3); font-size: 12px; }
.nxst-num { text-align: right !important; }
.nxst-tiers { display: grid; gap: 12px; margin: 0; }
.nxst-tiers dt { font: 400 14px var(--nxo-mono); }
.nxst-tiers dd { margin: 2px 0 0; color: var(--nxo-t2); font-size: 13.5px; line-height: 1.5; }
.nxst-gate { border-radius: 5px; padding: 24px; border: 1px solid var(--nxo-hair2); }

/* Observatory grid */
.nxst-maphead { padding: 8px 0 16px; display: grid; gap: 8px; }
.nxst-stats { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 28px; color: var(--nxo-t2); }
.nxst-stats p { margin: 0; }
.nxst-meta { display: flex; flex-wrap: wrap; gap: 4px 28px; margin: 0; }
.nxst-meta div { display: flex; gap: 8px; align-items: baseline; }
.nxst-meta dt { color: var(--nxo-t3); font-size: 13px; }
.nxst-meta dd { margin: 0; color: var(--nxo-t1); }
.nxst-stats .nxo-actions { margin-left: auto; }
.nxst-filters { display: flex; flex-wrap: wrap; align-items: end; gap: 12px 20px; margin: 0 0 16px; }
.nxst-filters .nxo-field { min-width: 180px; margin: 0; }
.nxst-shown { margin: 0 0 10px; color: var(--nxo-t3); font-size: 13px; }
.nxst-mapwrap { border-radius: 5px; position: relative; margin: 0 0 24px; border: 1px solid var(--nxo-hair2); background: var(--nxo-surface); }
.nxst-land { position: absolute; inset: 0 0 auto; aspect-ratio: 2 / 1; background: var(--nxo-t3); opacity: .5; -webkit-mask: var(--nxst-land) center / 100% 100% no-repeat; mask: var(--nxst-land) center / 100% 100% no-repeat; }
.nxst-map { position: relative; display: block; width: 100%; height: auto; }
.nxst-frame { fill: none; stroke: none; }
.nxst-mk { cursor: pointer; outline: none; }
.nxst-mk--st circle { fill: var(--nxo-t1); stroke: var(--nxo-bg); stroke-width: .8; }
.nxst-mk--obs circle { fill: color-mix(in srgb, var(--nxo-bg) 40%, transparent); stroke: var(--nxo-t1); stroke-width: 1.4; }
.nxst-mk--listed circle { stroke-width: 2.4; }
.nxst-mk:hover circle, .nxst-mk:focus-visible circle { stroke: var(--nxo-accent); fill: var(--nxo-accent); }
.nxst-mk:focus-visible circle { stroke-width: 3; }
.nxst-card { border-radius: 5px; position: absolute; z-index: 2; max-width: 280px; padding: 10px 12px; border: 1px solid var(--nxo-hair2); background: var(--nxo-elev); box-shadow: var(--nxo-shadow-menu, none); pointer-events: none; }
.nxst-card-t { margin: 0 0 4px; font: 400 14px/1.3 var(--nxo-mono); color: var(--nxo-t1); }
.nxst-card dl { margin: 0; }
.nxst-card dd { margin: 0; color: var(--nxo-t2); font-size: 12.5px; line-height: 1.45; }
.nxst-legend { display: flex; flex-wrap: wrap; gap: 6px 20px; padding: 10px 14px; border-top: 1px solid var(--nxo-hair); color: var(--nxo-t2); font-size: 12.5px; }
.nxst-legend span { display: inline-flex; align-items: center; gap: 6px; }
.nxst-lg-obs { fill: none; stroke: var(--nxo-t1); stroke-width: 1.4; }
.nxst-lg-st { fill: var(--nxo-t1); }
.nxst .nxst-feed { display: grid; margin: 0 0 24px; padding: 0; list-style: none; border-top: 1px solid var(--nxo-hair); }
.nxst .nxst-feed > li { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 2fr) minmax(0, 1fr); gap: 4px 16px; margin: 0; padding: 10px 0; border-bottom: 1px solid var(--nxo-hair); color: var(--nxo-t2); font-size: 14px; }
@media (max-width: 600px) { .nxst .nxst-feed > li { grid-template-columns: 1fr; } }
.nxst-feed-t { color: var(--nxo-t1); }
.nxst-crumb { margin: 0 0 8px; font-size: 13px; }
.nxst-facts--page { margin: 0 0 24px; padding: 16px 0; border-top: 1px solid var(--nxo-hair); border-bottom: 1px solid var(--nxo-hair); }
.nxst-table caption { text-align: left; padding: 0 0 8px; color: var(--nxo-t3); font-size: 12px; }

/* Account: observatories, pairing, qualification */
.nxst-obs { border-radius: 5px; display: grid; gap: 12px; padding: 20px; border: 1px solid var(--nxo-hair2); background: var(--nxo-bg); scroll-margin-top: 96px; }
.nxst-obs-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; }
.nxst-obs-t { margin: 0; font: 400 20px/1.25 var(--nxo-mono); }
.nxst-obs-n { margin: 0; color: var(--nxo-t2); }
.nxst-none { color: var(--nxo-t3); }
.nxst-pend { color: var(--nxo-t3); }
.nxst-live { color: var(--nxo-t1); }
.nxst-live::before { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 6px 1px 0; border-radius: 50%; background: var(--nxo-ico-done, var(--nxo-t1)); vertical-align: middle; }
.nxst-pair { padding: 14px 16px; border: 1px solid var(--nxo-hair2); border-radius: 5px; background: var(--nxo-surface); display: grid; gap: 6px; }
.nxst-pair p { margin: 0; }
.nxst-code { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; }
.nxst-code-l { min-width: 8em; color: var(--nxo-t3); font-size: 12.5px; }
.nxst-code code { font: 500 18px/1.3 var(--nxo-mono); letter-spacing: .06em; color: var(--nxo-t1); background: none; }
.nxst-guide > summary { cursor: pointer; color: var(--nxo-t1); font-size: 14px; }
.nxst-steps { margin: 8px 0 0; padding-left: 1.3em; color: var(--nxo-t2); font-size: 14px; line-height: 1.55; display: grid; gap: 4px; }
.nxst-acts { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 16px; }
.nxst-inline { display: inline; }
.nxst-tiers-f { margin: 0; padding: 0; border: 0; display: grid; gap: 8px; }
.nxst-claimf { margin: 0; padding: 12px 0 0; border: 0; border-top: 1px solid var(--nxo-hair); display: grid; gap: 8px; }
.nxst-qual { display: grid; gap: 10px; padding: 16px 0; border-bottom: 1px solid var(--nxo-hair); }
.nxst-prog { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 8px 24px; margin: 0; }
.nxst-prog dt { color: var(--nxo-t3); font-size: 12px; }
.nxst-prog dd { margin: 2px 0 0; color: var(--nxo-t1); font-size: 14px; }
.nxst .nxst-checklist { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 6px 24px; margin: 0; padding: 0; list-style: none; }
.nxst .nxst-checklist > li { display: grid; grid-template-columns: 14px 1fr auto; gap: 8px; align-items: center; margin: 0; font-size: 13.5px; color: var(--nxo-t2); }
.nxst-checklist .nxst-dot { width: 11px; height: 11px; }
.nxst-checklist [data-state="passed"] .nxst-dot { background: var(--nxo-t1); border-color: var(--nxo-t1); }
.nxst-checklist [data-state="failed"] .nxst-dot { border-color: var(--nxo-ico-error, var(--nxo-t1)); }
.nxst-cs { color: var(--nxo-t3); font-size: 12px; }

/* Data commons */
.nxst-lede--lead { font-size: 18px; max-width: 70ch; }
.nxst-cm { padding: 32px 0; border-top: 1px solid var(--nxo-hair); }
.nxst .nxst-dl { display: grid; gap: 6px; margin: 12px 0 0; padding: 0; list-style: none; }
.nxst .nxst-dl > li { margin: 0; }
.nxst-gw { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.nxst-gw-i { display: grid; gap: 8px; align-content: start; padding: 20px; border: 1px solid var(--nxo-hair); border-radius: 5px; background: var(--nxo-surface); }
.nxst-gw-i .nxst-code code { font-size: 13px; word-break: break-all; }
.nxst-cite { margin: 0 0 8px; padding: 14px 16px; border: 1px solid var(--nxo-hair); border-radius: 5px; font: 400 14px/1.6 var(--nxo-mono); color: var(--nxo-t1); }
.nxst-cite q { quotes: none; }
.nxst-draft { border-color: var(--nxo-hair2); }
