/* nexus-observatory-ui tokens: generated from site-src/system/tokens/tokens.json; do not edit. */
@font-face{font-family:"IBM Plex Sans";src:url(fonts/plex-sans-400.4ea58f2db7.woff2) format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"IBM Plex Sans";src:url(fonts/plex-sans-500.f77a509766.woff2) format("woff2");font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:"IBM Plex Sans";src:url(fonts/plex-sans-600.4d2eac2d26.woff2) format("woff2");font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:"IBM Plex Mono";src:url(fonts/plex-mono-400.4ef03b12ee.woff2) format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"IBM Plex Mono";src:url(fonts/plex-mono-500.2575194967.woff2) format("woff2");font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:"IBM Plex Sans Condensed";src:url(fonts/plex-sans-condensed-500.3ba975b546.woff2) format("woff2");font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:"IBM Plex Sans Fallback";src:local("Arial"),local("Liberation Sans"),local("Helvetica");size-adjust:101.82%;ascent-override:100.67%;descent-override:27.01%;line-gap-override:0%}
@font-face{font-family:"IBM Plex Mono Fallback";src:local("Courier New"),local("Liberation Mono"),local("Menlo");size-adjust:99.98%;ascent-override:102.52%;descent-override:27.50%;line-gap-override:0%}
:root{--nxo-bg:#000;--nxo-surface:#0a0a0a;--nxo-elev:#111;--nxo-muted:#141414;--nxo-hover:#1a1a1a;--nxo-hair:rgba(255,255,255,.08);--nxo-hair2:rgba(255,255,255,.20);--nxo-t1:#fff;--nxo-t2:#d4d4d4;--nxo-t3:#a3a3a3;--nxo-accent:#FF1F1F;--nxo-accent-bg:#3A0404;--nxo-btn-primary-hover:#FF4A3D;--nxo-code-string:#FF7A6E;--nxo-code-comment:#8c8c8c;--nxo-accent-graphic:#FF1F1F;--nxo-accent-hot:#FF4A3D;--nxo-accent-text:#FF1F1F;--nxo-accent-glint:#FFE1DD;--nxo-on-accent:#000;--nxo-accent-pressed:#D91414;--nxo-on-accent-pressed:#fff;--nxo-ink:255,255,255;--nxo-paper:0,0,0;--nxo-ramp-1:#1A0303;--nxo-ramp-2:#4D0606;--nxo-ramp-3:#8A0A0A;--nxo-ramp-4:#D91414;--nxo-ramp-5:#FF1F1F;--nxo-ramp-6:#FF7A6E;--nxo-ramp-7:#FFE1DD;color-scheme:dark;--nxo-r:5px;--nxo-rc:4px;--nxo-sans:"IBM Plex Sans","IBM Plex Sans Fallback",system-ui,sans-serif;--nxo-mono:"IBM Plex Mono","IBM Plex Mono Fallback",ui-monospace,monospace;--nxo-condensed:"IBM Plex Sans Condensed","IBM Plex Sans",sans-serif;--nxo-display:var(--nxo-mono);--nxo-cond:var(--nxo-sans);--nxo-numeric:tabular-nums slashed-zero;--nxo-scene-filter-light:invert(1) hue-rotate(178deg) saturate(3.4);--nxo-track-display-1:-0.045em;--nxo-track-display-2:-0.045em;--nxo-track-title:-0.012em;--nxo-track-lede:-0.008em;--nxo-track-sub:-0.008em;--nxo-track-body:0;--nxo-track-small:0;--nxo-track-eyebrow:0.16em;--nxo-track-nav:0.06em;--nxo-track-data:0;--nxo-track-button:-0.005em;--nxo-space-1:4px;--nxo-space-2:8px;--nxo-space-3:12px;--nxo-space-4:16px;--nxo-space-5:24px;--nxo-space-6:32px;--nxo-space-7:48px;--nxo-space-8:64px;--nxo-space-gutter:48px;--nxo-space-gutter-md:20px;--nxo-space-gutter-sm:16px;--nxo-space-section:120px;--nxo-space-section-md:88px;--nxo-space-page-max:1440px;--nxo-space-nav-h:64px;--nxo-dur-fast:150ms;--nxo-dur-base:250ms;--nxo-dur-slow:600ms;--nxo-ease-standard:cubic-bezier(0.2,0,0,1);--nxo-ease-out:cubic-bezier(0,0,0.2,1);--nxo-z-content:2;--nxo-z-caption:3;--nxo-z-sticky:10;--nxo-z-nav:20;--nxo-z-site-bar:30;--nxo-z-overlay:40;--nxo-z-consent:50;--nxo-shadow-menu:0 40px 80px rgba(var(--nxo-paper),.6);--nxo-shadow-marker:inset 2px 0 #FF1F1F}
:root[data-theme=light]{--nxo-bg:#fff;--nxo-surface:#f6f6f5;--nxo-elev:#efefee;--nxo-muted:#ebebea;--nxo-hover:#e5e5e4;--nxo-hair:rgba(0,0,0,.09);--nxo-hair2:rgba(0,0,0,.22);--nxo-t1:#0a0a0a;--nxo-t2:#2b2b2b;--nxo-t3:#5c5c5c;--nxo-accent:#FF1F1F;--nxo-accent-bg:#FFF0EE;--nxo-btn-primary-hover:#FF4A3D;--nxo-code-string:#8A0A0A;--nxo-code-comment:#6b6b6b;--nxo-accent-graphic:#FF1F1F;--nxo-accent-hot:#FF4A3D;--nxo-accent-text:#0a0a0a;--nxo-accent-glint:#FFE1DD;--nxo-on-accent:#000;--nxo-accent-pressed:#D91414;--nxo-on-accent-pressed:#fff;--nxo-ink:0,0,0;--nxo-paper:255,255,255;--nxo-ramp-1:#FFF0EE;--nxo-ramp-2:#FFC6BF;--nxo-ramp-3:#FF7A6E;--nxo-ramp-4:#FF1F1F;--nxo-ramp-5:#D91414;--nxo-ramp-6:#8A0A0A;--nxo-ramp-7:#4D0606;color-scheme:light}
@media (prefers-color-scheme:light){:root:not([data-theme]){--nxo-bg:#fff;--nxo-surface:#f6f6f5;--nxo-elev:#efefee;--nxo-muted:#ebebea;--nxo-hover:#e5e5e4;--nxo-hair:rgba(0,0,0,.09);--nxo-hair2:rgba(0,0,0,.22);--nxo-t1:#0a0a0a;--nxo-t2:#2b2b2b;--nxo-t3:#5c5c5c;--nxo-accent:#FF1F1F;--nxo-accent-bg:#FFF0EE;--nxo-btn-primary-hover:#FF4A3D;--nxo-code-string:#8A0A0A;--nxo-code-comment:#6b6b6b;--nxo-accent-graphic:#FF1F1F;--nxo-accent-hot:#FF4A3D;--nxo-accent-text:#0a0a0a;--nxo-accent-glint:#FFE1DD;--nxo-on-accent:#000;--nxo-accent-pressed:#D91414;--nxo-on-accent-pressed:#fff;--nxo-ink:0,0,0;--nxo-paper:255,255,255;--nxo-ramp-1:#FFF0EE;--nxo-ramp-2:#FFC6BF;--nxo-ramp-3:#FF7A6E;--nxo-ramp-4:#FF1F1F;--nxo-ramp-5:#D91414;--nxo-ramp-6:#8A0A0A;--nxo-ramp-7:#4D0606;color-scheme:light}}
.nxo-ui[data-theme=dark]{--nxo-bg:#000;--nxo-surface:#0a0a0a;--nxo-elev:#111;--nxo-muted:#141414;--nxo-hover:#1a1a1a;--nxo-hair:rgba(255,255,255,.08);--nxo-hair2:rgba(255,255,255,.20);--nxo-t1:#fff;--nxo-t2:#d4d4d4;--nxo-t3:#a3a3a3;--nxo-accent:#FF1F1F;--nxo-accent-bg:#3A0404;--nxo-btn-primary-hover:#FF4A3D;--nxo-code-string:#FF7A6E;--nxo-code-comment:#8c8c8c;--nxo-accent-graphic:#FF1F1F;--nxo-accent-hot:#FF4A3D;--nxo-accent-text:#FF1F1F;--nxo-accent-glint:#FFE1DD;--nxo-on-accent:#000;--nxo-accent-pressed:#D91414;--nxo-on-accent-pressed:#fff;--nxo-ink:255,255,255;--nxo-paper:0,0,0;--nxo-ramp-1:#1A0303;--nxo-ramp-2:#4D0606;--nxo-ramp-3:#8A0A0A;--nxo-ramp-4:#D91414;--nxo-ramp-5:#FF1F1F;--nxo-ramp-6:#FF7A6E;--nxo-ramp-7:#FFE1DD;color-scheme:dark}
.nxo-ui[data-theme=light]{--nxo-bg:#fff;--nxo-surface:#f6f6f5;--nxo-elev:#efefee;--nxo-muted:#ebebea;--nxo-hover:#e5e5e4;--nxo-hair:rgba(0,0,0,.09);--nxo-hair2:rgba(0,0,0,.22);--nxo-t1:#0a0a0a;--nxo-t2:#2b2b2b;--nxo-t3:#5c5c5c;--nxo-accent:#FF1F1F;--nxo-accent-bg:#FFF0EE;--nxo-btn-primary-hover:#FF4A3D;--nxo-code-string:#8A0A0A;--nxo-code-comment:#6b6b6b;--nxo-accent-graphic:#FF1F1F;--nxo-accent-hot:#FF4A3D;--nxo-accent-text:#0a0a0a;--nxo-accent-glint:#FFE1DD;--nxo-on-accent:#000;--nxo-accent-pressed:#D91414;--nxo-on-accent-pressed:#fff;--nxo-ink:0,0,0;--nxo-paper:255,255,255;--nxo-ramp-1:#FFF0EE;--nxo-ramp-2:#FFC6BF;--nxo-ramp-3:#FF7A6E;--nxo-ramp-4:#FF1F1F;--nxo-ramp-5:#D91414;--nxo-ramp-6:#8A0A0A;--nxo-ramp-7:#4D0606;color-scheme:light}
/* nexus-observatory-ui components (docs/30 §1, system/ui/README). Every value is a token (--nxo-*, generated from
   system/tokens/tokens.json); no colour literals. Scope: .nxo-ui, plus the Connect containers (.nxo-c, .nxo-native,
   .nxo-um) whose markup predates the package. Dark is the default; html[data-theme] or the device decides. */
:is(.nxo-ui, .nxo-c, .nxo-native, .nxo-um){
  color:var(--nxo-t1);font:400 14px/1.5 var(--nxo-sans);font-variant-numeric:var(--nxo-numeric);-webkit-font-smoothing:antialiased;
  --nxo-focus:0 0 0 2px var(--nxo-bg),0 0 0 4px var(--nxo-accent);
}
:is(.nxo-ui, .nxo-c, .nxo-native, .nxo-um) *,:is(.nxo-ui, .nxo-c, .nxo-native, .nxo-um) *::before,:is(.nxo-ui, .nxo-c, .nxo-native, .nxo-um) *::after{box-sizing:border-box}
:is(.nxo-ui, .nxo-c, .nxo-native, .nxo-um) :is(a,button,input,select,textarea,summary,[tabindex]):focus-visible{outline:2px solid var(--nxo-accent);outline-offset:2px}
.nxo-ui [hidden]{display:none!important}

/* ---- type ---- */
:is(.nxo-ui, .nxo-c) .nxo-eyebrow{display:inline-flex;align-items:center;gap:8px;margin:0;font:500 11px/1.4 var(--nxo-mono);letter-spacing:.16em;text-transform:uppercase;color:var(--nxo-t3)}
:is(.nxo-ui, .nxo-c) .nxo-eyebrow--dot::before,.nxo-ui .nxo-eyebrow[data-dot]::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--nxo-accent)}
.nxo-ui .nxo-title{margin:0;font:400 20px/1.15 var(--nxo-mono);letter-spacing:var(--nxo-track-display-1);color:var(--nxo-t1)}
.nxo-ui .nxo-text{margin:0;color:var(--nxo-t2);font-size:13.5px;line-height:1.55}
.nxo-ui .nxo-mono,.nxo-ui .nxo-num{font-family:var(--nxo-mono);font-variant-numeric:tabular-nums slashed-zero}
.nxo-ui .nxo-link,.nxo-ui .nxo-text a{color:var(--nxo-t1);text-decoration:underline;text-decoration-color:var(--nxo-accent);text-decoration-thickness:1px;text-underline-offset:.2em}
.nxo-ui .nxo-link:hover,.nxo-ui .nxo-text a:hover{text-decoration-thickness:2px}

/* ---- buttons: outlined by default; primary = red fill, black label; text = a link that is a button ---- */
:is(.nxo-ui, .nxo-c, .nxo-native, .nxo-um) .nxo-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:0 16px;margin:0;
  border:1px solid var(--nxo-hair2);border-radius:var(--nxo-r);background:transparent;color:var(--nxo-t1);
  font:600 13.5px/1 var(--nxo-sans);letter-spacing:-.005em;text-decoration:none;white-space:nowrap;cursor:pointer;
  transition:background var(--nxo-dur-fast) var(--nxo-ease-standard),border-color var(--nxo-dur-fast) var(--nxo-ease-standard),color var(--nxo-dur-fast)}
:is(.nxo-ui, .nxo-c, .nxo-native, .nxo-um) .nxo-btn:hover{background:var(--nxo-hover);border-color:var(--nxo-t3)}
:is(.nxo-ui, .nxo-c, .nxo-native, .nxo-um) .nxo-btn:active{background:var(--nxo-muted)}
:is(.nxo-ui, .nxo-c, .nxo-native, .nxo-um) :is(.nxo-btn--primary,.nxo-btn[data-variant=primary]){background:var(--nxo-accent);border-color:var(--nxo-accent);color:var(--nxo-on-accent)}
:is(.nxo-ui, .nxo-c, .nxo-native, .nxo-um) :is(.nxo-btn--primary,.nxo-btn[data-variant=primary]):hover{background:var(--nxo-accent-hot);border-color:var(--nxo-accent-hot);color:var(--nxo-on-accent)}
:is(.nxo-ui, .nxo-c, .nxo-native, .nxo-um) :is(.nxo-btn--primary,.nxo-btn[data-variant=primary]):active{background:var(--nxo-accent-pressed);border-color:var(--nxo-accent-pressed);color:var(--nxo-on-accent-pressed)}
:is(.nxo-ui, .nxo-c, .nxo-native, .nxo-um) :is(.nxo-btn--ghost,.nxo-btn[data-variant=ghost]){border-color:transparent;color:var(--nxo-t2)}
:is(.nxo-ui, .nxo-c, .nxo-native, .nxo-um) :is(.nxo-btn--ghost,.nxo-btn[data-variant=ghost]):hover{color:var(--nxo-t1);background:var(--nxo-hover)}
:is(.nxo-ui, .nxo-c, .nxo-native, .nxo-um) .nxo-btn--text{min-height:32px;padding:0 4px;border-color:transparent;background:none;color:var(--nxo-t1);font-weight:500;text-decoration:underline;text-decoration-color:var(--nxo-accent);text-underline-offset:.2em}
:is(.nxo-ui, .nxo-c, .nxo-native, .nxo-um) .nxo-btn--text:hover{background:none;text-decoration-thickness:2px}
:is(.nxo-ui, .nxo-c, .nxo-native, .nxo-um) :is(.nxo-btn--sm,.nxo-btn[data-size=sm]){min-height:32px;padding:0 12px;font-size:12.5px}
:is(.nxo-ui, .nxo-c, .nxo-native, .nxo-um) :is(.nxo-btn--lg,.nxo-btn[data-size=lg]){min-height:48px;padding:0 20px;font-size:15px}
:is(.nxo-ui, .nxo-c, .nxo-native, .nxo-um) .nxo-btn--block{display:flex;width:100%}
:is(.nxo-ui, .nxo-c, .nxo-native, .nxo-um) :is(.nxo-btn[disabled],.nxo-btn[aria-disabled=true]){opacity:.45;cursor:not-allowed;pointer-events:none}
.nxo-ui .nxo-actions{display:flex;flex-wrap:wrap;gap:8px}

/* ---- forms ---- */
.nxo-ui .nxo-form{display:grid;gap:18px}
.nxo-ui .nxo-form__row{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px}
:is(.nxo-ui, .nxo-c, .nxo-native) .nxo-field{display:grid;gap:6px;min-width:0}
:is(.nxo-ui, .nxo-c, .nxo-native) .nxo-label{font:500 11px/1.3 var(--nxo-mono);letter-spacing:.12em;text-transform:uppercase;color:var(--nxo-t2)}
:is(.nxo-ui, .nxo-c, .nxo-native) :is(.nxo-hint,.nxo-help){font-size:12.5px;line-height:1.45;color:var(--nxo-t3)}
:is(.nxo-ui, .nxo-c, .nxo-native) :is(.nxo-input,.nxo-select,.nxo-textarea){
  width:100%;min-height:42px;padding:9px 12px;margin:0;border:1px solid var(--nxo-hair2);border-radius:var(--nxo-r);
  background:var(--nxo-surface);color:var(--nxo-t1);font:400 14px/1.4 var(--nxo-sans);box-shadow:none;
  transition:border-color var(--nxo-dur-fast),background var(--nxo-dur-fast)}
:is(.nxo-ui, .nxo-c, .nxo-native) :is(.nxo-input,.nxo-select,.nxo-textarea)::placeholder{color:var(--nxo-t3);opacity:1}
:is(.nxo-ui, .nxo-c, .nxo-native) :is(.nxo-input,.nxo-select,.nxo-textarea):hover{border-color:var(--nxo-t3)}
:is(.nxo-ui, .nxo-c, .nxo-native) :is(.nxo-input,.nxo-select,.nxo-textarea):focus{outline:none;border-color:var(--nxo-accent);background:var(--nxo-bg);box-shadow:0 0 0 1px var(--nxo-accent)}
:is(.nxo-ui, .nxo-c, .nxo-native) :is(.nxo-input,.nxo-select,.nxo-textarea)[aria-invalid=true]{border-color:var(--nxo-t1);box-shadow:inset 3px 0 0 var(--nxo-accent)}
.nxo-ui .nxo-textarea,.nxo-c textarea.nxo-input{min-height:110px;resize:vertical}
.nxo-ui .nxo-select{appearance:none;padding-right:36px;background-image:linear-gradient(45deg,transparent 50%,var(--nxo-t2) 50%),linear-gradient(135deg,var(--nxo-t2) 50%,transparent 50%);background-position:calc(100% - 18px) 50%,calc(100% - 13px) 50%;background-size:5px 5px;background-repeat:no-repeat}
/* errors: ink text with a red icon and the word, never colour alone, never red text */
:is(.nxo-ui, .nxo-c, .nxo-native) :is(.nxo-error,.nxo-err){display:flex;gap:8px;align-items:flex-start;font-size:12.5px;line-height:1.45;color:var(--nxo-t1)}
:is(.nxo-ui, .nxo-c, .nxo-native) :is(.nxo-error,.nxo-err):not(:empty)::before{content:"";flex:none;width:14px;height:14px;margin-top:1px;background:var(--nxo-accent);-webkit-mask:var(--nxo-ico-error) center/14px no-repeat;mask:var(--nxo-ico-error) center/14px no-repeat}
:is(.nxo-ui, .nxo-c, .nxo-native) :is(.nxo-errors,.nxo-summary){padding:14px 16px 14px 18px;border:1px solid var(--nxo-hair2);border-left:3px solid var(--nxo-accent);border-radius:var(--nxo-r);background:var(--nxo-surface);color:var(--nxo-t1)}
:is(.nxo-ui, .nxo-c, .nxo-native) :is(.nxo-errors,.nxo-summary) :is(h2,h3,strong){display:block;margin:0 0 6px;font:600 13.5px/1.4 var(--nxo-sans)}
:is(.nxo-ui, .nxo-c, .nxo-native) :is(.nxo-errors,.nxo-summary) ul{margin:0;padding-left:18px}
:is(.nxo-ui, .nxo-c, .nxo-native) :is(.nxo-errors,.nxo-summary) a{color:var(--nxo-t1);text-decoration:underline;text-decoration-color:var(--nxo-accent)}

/* checkbox and radio */
:is(.nxo-ui, .nxo-c, .nxo-native) :is(.nxo-check,.nxo-radio){display:grid;grid-template-columns:20px 1fr;gap:10px;align-items:start;font-size:13.5px;color:var(--nxo-t2)}
:is(.nxo-ui, .nxo-c, .nxo-native) :is(.nxo-check,.nxo-radio) input{appearance:none;width:20px;height:20px;margin:0;border:1px solid var(--nxo-hair2);background:var(--nxo-surface);display:grid;place-items:center;cursor:pointer}
:is(.nxo-ui, .nxo-c, .nxo-native) .nxo-check input{border-radius:4px}
:is(.nxo-ui, .nxo-c, .nxo-native) .nxo-radio input{border-radius:50%}
:is(.nxo-ui, .nxo-c, .nxo-native) :is(.nxo-check,.nxo-radio) input:hover{border-color:var(--nxo-t3)}
:is(.nxo-ui, .nxo-c, .nxo-native) .nxo-check input:checked{background:var(--nxo-accent);border-color:var(--nxo-accent)}
:is(.nxo-ui, .nxo-c, .nxo-native) .nxo-check 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)}
:is(.nxo-ui, .nxo-c, .nxo-native) .nxo-radio input:checked{border-color:var(--nxo-accent)}
:is(.nxo-ui, .nxo-c, .nxo-native) .nxo-radio input:checked::after{content:"";width:10px;height:10px;border-radius:50%;background:var(--nxo-accent)}

/* switch: <span class="nxo-switch"><input role="switch" class="nxo-switch__input"><span class="nxo-switch__track"></span><span class="nxo-switch__state">Off</span></span> */
.nxo-ui .nxo-switch{position:relative;display:inline-flex;align-items:center;gap:10px;flex:none}
.nxo-ui .nxo-switch__input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer;z-index:1}
.nxo-ui .nxo-switch__track{position:relative;width:38px;height:22px;border:1px solid var(--nxo-hair2);border-radius:11px;background:var(--nxo-muted);transition:background var(--nxo-dur-fast),border-color var(--nxo-dur-fast)}
.nxo-ui .nxo-switch__track::after{content:"";position:absolute;top:3px;left:3px;width:14px;height:14px;border-radius:50%;background:var(--nxo-t2);transition:transform var(--nxo-dur-fast) var(--nxo-ease-standard),background var(--nxo-dur-fast)}
.nxo-ui .nxo-switch__input:checked+.nxo-switch__track{background:var(--nxo-accent);border-color:var(--nxo-accent)}
.nxo-ui .nxo-switch__input:checked+.nxo-switch__track::after{transform:translateX(16px);background:var(--nxo-on-accent)}
.nxo-ui .nxo-switch__input:focus-visible+.nxo-switch__track{box-shadow:var(--nxo-focus)}
.nxo-ui .nxo-switch__input:disabled+.nxo-switch__track{opacity:.45}
.nxo-ui .nxo-switch__state{min-width:2.6em;font:500 11px var(--nxo-mono);letter-spacing:.08em;text-transform:uppercase;color:var(--nxo-t2)}

/* ---- surfaces ---- */
.nxo-ui .nxo-card{padding:20px;border:1px solid var(--nxo-hair);border-radius:var(--nxo-r);background:var(--nxo-surface)}
/* panel with CAD corner ticks: four 10px L-marks drawn in ink at the corners of a hairline frame */
.nxo-ui .nxo-panel{position:relative;padding:24px;border:1px solid var(--nxo-hair);background:var(--nxo-bg)}
.nxo-ui :is(.nxo-panel--ticks,.nxo-hudcard,.nxo-dialog,.nxo-sheet,.nxo-toast){
  --nxo-tick:var(--nxo-t3);
  background-image:
    linear-gradient(var(--nxo-tick),var(--nxo-tick)),linear-gradient(var(--nxo-tick),var(--nxo-tick)),
    linear-gradient(var(--nxo-tick),var(--nxo-tick)),linear-gradient(var(--nxo-tick),var(--nxo-tick)),
    linear-gradient(var(--nxo-tick),var(--nxo-tick)),linear-gradient(var(--nxo-tick),var(--nxo-tick)),
    linear-gradient(var(--nxo-tick),var(--nxo-tick)),linear-gradient(var(--nxo-tick),var(--nxo-tick));
  background-size:10px 1px,1px 10px,10px 1px,1px 10px,10px 1px,1px 10px,10px 1px,1px 10px;
  background-position:-1px -1px,-1px -1px,calc(100% + 1px) -1px,calc(100% + 1px) -1px,-1px calc(100% + 1px),-1px calc(100% + 1px),calc(100% + 1px) calc(100% + 1px),calc(100% + 1px) calc(100% + 1px);
  background-repeat:no-repeat;background-origin:border-box;background-color:var(--nxo-bg)}
.nxo-ui .nxo-hudcard{position:relative;padding:20px 20px 18px;border:1px solid var(--nxo-hair2);color:var(--nxo-t1)}
.nxo-ui .nxo-hudcard__head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 12px;padding:0 0 10px;border-bottom:1px solid var(--nxo-hair)}

/* dialog, sheet, overlay, toast */
.nxo-ui .nxo-overlay{position:fixed;inset:0;z-index:var(--nxo-z-overlay);background:color-mix(in srgb,var(--nxo-paper-c) 72%,transparent)}
.nxo-ui .nxo-dialog{position:fixed;z-index:calc(var(--nxo-z-overlay) + 1);top:50%;left:50%;transform:translate(-50%,-50%);width:min(640px,calc(100vw - 32px));max-height:min(86vh,820px);display:flex;flex-direction:column;border:1px solid var(--nxo-hair2);color:var(--nxo-t1);box-shadow:var(--nxo-shadow-menu)}
.nxo-ui :is(.nxo-dialog__head,.nxo-dialog__foot){display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px}
.nxo-ui .nxo-dialog__head{border-bottom:1px solid var(--nxo-hair)}
.nxo-ui .nxo-dialog__foot{border-top:1px solid var(--nxo-hair);justify-content:flex-end;flex-wrap:wrap}
.nxo-ui .nxo-dialog__body{overflow:auto;padding:18px 20px;display:grid;gap:14px}
.nxo-ui .nxo-sheet{position:fixed;z-index:calc(var(--nxo-z-overlay) + 1);left:0;right:0;bottom:0;max-height:88vh;overflow:auto;padding:20px 16px calc(16px + env(safe-area-inset-bottom));border-top:1px solid var(--nxo-hair2)}
.nxo-ui .nxo-close{display:inline-grid;place-items:center;width:32px;height:32px;padding:0;border:1px solid transparent;border-radius:var(--nxo-r);background:none;color:var(--nxo-t2);font:400 20px/1 var(--nxo-sans);cursor:pointer}
.nxo-ui .nxo-close:hover{color:var(--nxo-t1);border-color:var(--nxo-hair2)}
.nxo-ui .nxo-toast{position:fixed;z-index:var(--nxo-z-consent);left:16px;bottom:16px;max-width:min(420px,calc(100vw - 32px));padding:12px 14px 12px 16px;border:1px solid var(--nxo-hair2);color:var(--nxo-t1);font-size:13px;line-height:1.45;box-shadow:var(--nxo-shadow-menu)}
.nxo-ui .nxo-toast::before{content:"";display:inline-block;width:6px;height:6px;margin:0 10px 1px 0;border-radius:50%;background:var(--nxo-accent);vertical-align:middle}

/* tabs and segmented control */
.nxo-ui .nxo-tabs{display:flex;gap:2px;border-bottom:1px solid var(--nxo-hair);overflow-x:auto}
.nxo-ui .nxo-tabs [role=tab]{min-height:40px;padding:0 14px;border:0;border-bottom:2px solid transparent;margin-bottom:-1px;background:none;color:var(--nxo-t3);font:500 12px var(--nxo-mono);letter-spacing:.08em;text-transform:uppercase;cursor:pointer}
.nxo-ui .nxo-tabs [role=tab]:hover{color:var(--nxo-t1)}
.nxo-ui .nxo-tabs [role=tab][aria-selected=true]{color:var(--nxo-t1);border-bottom-color:var(--nxo-accent)}
.nxo-ui .nxo-seg{display:inline-flex;padding:2px;gap:2px;border:1px solid var(--nxo-hair2);border-radius:var(--nxo-r)}
.nxo-ui .nxo-seg button{min-height:30px;padding:0 12px;border:0;border-radius:4px;background:none;color:var(--nxo-t3);font:500 12px var(--nxo-mono);letter-spacing:.04em;cursor:pointer}
.nxo-ui .nxo-seg button:hover{color:var(--nxo-t1)}
.nxo-ui .nxo-seg button[aria-pressed=true]{background:var(--nxo-hover);color:var(--nxo-t1);box-shadow:inset 0 -2px 0 var(--nxo-accent)}

/* table, badge, tag */
.nxo-ui .nxo-table{width:100%;border-collapse:collapse;font-size:13.5px}
.nxo-ui .nxo-table th{text-align:left;padding:0 14px 10px 0;border-bottom:1px solid var(--nxo-hair2);font:500 10.5px var(--nxo-mono);letter-spacing:.12em;text-transform:uppercase;color:var(--nxo-t3)}
.nxo-ui .nxo-table td{padding:12px 14px 12px 0;border-bottom:1px solid var(--nxo-hair);color:var(--nxo-t2);vertical-align:top}
.nxo-ui .nxo-table td:first-child{color:var(--nxo-t1);font-weight:500}
.nxo-ui .nxo-table :is(td,th).nxo-num{text-align:right;font-family:var(--nxo-mono)}
:is(.nxo-ui, .nxo-c) .nxo-badge{display:inline-flex;align-items:center;gap:7px;height:22px;padding:0 8px;border:1px solid var(--nxo-hair2);border-radius:var(--nxo-rc);font:500 10.5px/1 var(--nxo-mono);letter-spacing:.08em;text-transform:uppercase;color:var(--nxo-t2)}
:is(.nxo-ui, .nxo-c) .nxo-badge::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--nxo-accent)}
.nxo-ui .nxo-tag{display:inline-flex;align-items:center;height:22px;padding:0 8px;border:1px solid var(--nxo-hair2);border-radius:var(--nxo-rc);font:400 11px var(--nxo-mono);color:var(--nxo-t2)}

/* alert and empty state */
.nxo-ui .nxo-alert{display:flex;gap:12px;align-items:flex-start;padding:14px 16px;border:1px solid var(--nxo-hair2);border-radius:var(--nxo-r);background:var(--nxo-surface);color:var(--nxo-t1)}
.nxo-ui .nxo-alert::before{content:"";flex:none;width:18px;height:18px;background:var(--nxo-accent);-webkit-mask:var(--nxo-ico-error) center/18px no-repeat;mask:var(--nxo-ico-error) center/18px no-repeat}
.nxo-ui .nxo-alert--done::before{background:var(--nxo-t1);-webkit-mask-image:var(--nxo-ico-done);mask-image:var(--nxo-ico-done)}
.nxo-ui .nxo-alert--warning::before{-webkit-mask-image:var(--nxo-ico-warning);mask-image:var(--nxo-ico-warning)}
.nxo-ui .nxo-alert b{font:600 13.5px/1.4 var(--nxo-sans)}.nxo-ui .nxo-alert p{margin:4px 0 0;color:var(--nxo-t2);font-size:13.5px}
.nxo-ui .nxo-empty{padding:36px 24px;border:1px dashed var(--nxo-hair2);border-radius:var(--nxo-r)}
.nxo-ui .nxo-empty h3{margin:0 0 6px;font:600 15px/1.35 var(--nxo-sans)}.nxo-ui .nxo-empty p{margin:0 0 16px;color:var(--nxo-t2);font-size:13.5px}

/* media on the theme surface: no letterbox bars in either theme */
:is(.nxo-ui, .nxo-c) .nxo-media{display:block;width:100%;background:var(--nxo-surface);object-fit:cover}

/* icons (masks take the current token colour) */
:root{
  --nxo-ico-error:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round'%3E%3Ccircle cx='8' cy='8' r='6.4'/%3E%3Cpath d='M8 4.6v4.1M8 11.2v.2'/%3E%3C/svg%3E");
  --nxo-ico-warning:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 1.8 15 14H1z'/%3E%3Cpath d='M8 6.5v3.6M8 12.2v.1'/%3E%3C/svg%3E");
  --nxo-ico-done:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='8' r='6.4'/%3E%3Cpath d='m5 8.2 2 2 4-4.4'/%3E%3C/svg%3E");
  --nxo-paper-c:rgb(var(--nxo-paper));
}
@media (prefers-reduced-motion:reduce){:is(.nxo-ui, .nxo-c, .nxo-native, .nxo-um) *{transition:none!important;animation:none!important}}
