/* NextVX Web: the look of an application in the page (design specification: docs/architecture/12).
   Colours are tokens and nothing else; tools/tokens.py writes them here from web/design/tokens.json,
   and a test holds the two to each other. */
@font-face { font-family: 'Geist'; src: url('geist.woff2') format('woff2'); font-weight: 100 900; font-display: block; }
@font-face { font-family: 'Geist Mono'; src: url('geist-mono.woff2') format('woff2'); font-weight: 100 900; font-display: block; }

/* tokens:begin (written by tools/tokens.py from web/design/tokens.json: change that file, not this block) */
:root, .nvx-light { --nvx-bg: #FFFFFF; --nvx-surface: #FFFFFF; --nvx-sunken: #F4F7FB; --nvx-hover: #EEF2F7; --nvx-selected: #EDF2FE; --nvx-border: #E2E7EE; --nvx-border-strong: #7A8799; --nvx-text: #0C1422; --nvx-muted: #4A5A70; --nvx-subtle: #5F6E84; --nvx-accent: #2563EB; --nvx-accent-hover: #1D4FD8; --nvx-on-accent: #FFFFFF; --nvx-success: #0B7A50; --nvx-success-bg: #E7F8F0; --nvx-warning: #8A5300; --nvx-warning-bg: #FEF6DC; --nvx-danger: #C81E1E; --nvx-danger-bg: #FDECEC; --nvx-info: #1D4FD8; --nvx-info-bg: #EAF1FE; --nvx-scrim: rgba(8, 11, 18, .45); --nvx-pop: 0 4px 16px rgba(8, 11, 18, .10), 0 0 0 1px var(--nvx-border); --nvx-dlg: 0 16px 48px rgba(8, 11, 18, .18), 0 0 0 1px var(--nvx-border); --nvx-c1: #2563EB; --nvx-c2: #0EA5B7; --nvx-c3: #F59E0B; --nvx-c4: #7C3AED; --nvx-c5: #0B7A50; --nvx-c6: #DB2777; --nvx-c7: #64748B; --nvx-c8: #B45309; --nvx-mark-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23FFFFFF' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 6.2 5 8.6 9.5 3.6'/%3E%3C/svg%3E"); --nvx-mark-dash: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23FFFFFF' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h6'/%3E%3C/svg%3E"); --nvx-mark-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%234A5A70' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5'/%3E%3C/svg%3E"); color-scheme: light; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --nvx-bg: #080B12; --nvx-surface: #0E1522; --nvx-sunken: #0B111B; --nvx-hover: #162031; --nvx-selected: #132A4A; --nvx-border: #1C2738; --nvx-border-strong: #5B6B84; --nvx-text: #E8EEF8; --nvx-muted: #9AA8BC; --nvx-subtle: #8493A8; --nvx-accent: #22D3EE; --nvx-accent-hover: #67E3F6; --nvx-on-accent: #04202A; --nvx-success: #34D399; --nvx-success-bg: #0C2A20; --nvx-warning: #FBBF24; --nvx-warning-bg: #2E2408; --nvx-danger: #F87171; --nvx-danger-bg: #331416; --nvx-info: #7AB0FF; --nvx-info-bg: #101F3A; --nvx-scrim: rgba(0, 0, 0, .6); --nvx-pop: 0 0 0 1px #2C3B52; --nvx-dlg: 0 0 0 1px #2C3B52, 0 24px 64px rgba(0, 0, 0, .5); --nvx-c1: #22D3EE; --nvx-c2: #7AB0FF; --nvx-c3: #FBBF24; --nvx-c4: #C4A5FF; --nvx-c5: #34D399; --nvx-c6: #F9A8D4; --nvx-c7: #94A3B8; --nvx-c8: #FDBA74; --nvx-mark-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%2304202A' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 6.2 5 8.6 9.5 3.6'/%3E%3C/svg%3E"); --nvx-mark-dash: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%2304202A' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h6'/%3E%3C/svg%3E"); --nvx-mark-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%239AA8BC' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5'/%3E%3C/svg%3E"); color-scheme: dark; } }
:root[data-theme="dark"] { --nvx-bg: #080B12; --nvx-surface: #0E1522; --nvx-sunken: #0B111B; --nvx-hover: #162031; --nvx-selected: #132A4A; --nvx-border: #1C2738; --nvx-border-strong: #5B6B84; --nvx-text: #E8EEF8; --nvx-muted: #9AA8BC; --nvx-subtle: #8493A8; --nvx-accent: #22D3EE; --nvx-accent-hover: #67E3F6; --nvx-on-accent: #04202A; --nvx-success: #34D399; --nvx-success-bg: #0C2A20; --nvx-warning: #FBBF24; --nvx-warning-bg: #2E2408; --nvx-danger: #F87171; --nvx-danger-bg: #331416; --nvx-info: #7AB0FF; --nvx-info-bg: #101F3A; --nvx-scrim: rgba(0, 0, 0, .6); --nvx-pop: 0 0 0 1px #2C3B52; --nvx-dlg: 0 0 0 1px #2C3B52, 0 24px 64px rgba(0, 0, 0, .5); --nvx-c1: #22D3EE; --nvx-c2: #7AB0FF; --nvx-c3: #FBBF24; --nvx-c4: #C4A5FF; --nvx-c5: #34D399; --nvx-c6: #F9A8D4; --nvx-c7: #94A3B8; --nvx-c8: #FDBA74; --nvx-mark-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%2304202A' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 6.2 5 8.6 9.5 3.6'/%3E%3C/svg%3E"); --nvx-mark-dash: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%2304202A' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h6'/%3E%3C/svg%3E"); --nvx-mark-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%239AA8BC' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5'/%3E%3C/svg%3E"); color-scheme: dark; }
:root .nvx-light { --nvx-bg: #FFFFFF; --nvx-surface: #FFFFFF; --nvx-sunken: #F4F7FB; --nvx-hover: #EEF2F7; --nvx-selected: #EDF2FE; --nvx-border: #E2E7EE; --nvx-border-strong: #7A8799; --nvx-text: #0C1422; --nvx-muted: #4A5A70; --nvx-subtle: #5F6E84; --nvx-accent: #2563EB; --nvx-accent-hover: #1D4FD8; --nvx-on-accent: #FFFFFF; --nvx-success: #0B7A50; --nvx-success-bg: #E7F8F0; --nvx-warning: #8A5300; --nvx-warning-bg: #FEF6DC; --nvx-danger: #C81E1E; --nvx-danger-bg: #FDECEC; --nvx-info: #1D4FD8; --nvx-info-bg: #EAF1FE; --nvx-scrim: rgba(8, 11, 18, .45); --nvx-pop: 0 4px 16px rgba(8, 11, 18, .10), 0 0 0 1px var(--nvx-border); --nvx-dlg: 0 16px 48px rgba(8, 11, 18, .18), 0 0 0 1px var(--nvx-border); --nvx-c1: #2563EB; --nvx-c2: #0EA5B7; --nvx-c3: #F59E0B; --nvx-c4: #7C3AED; --nvx-c5: #0B7A50; --nvx-c6: #DB2777; --nvx-c7: #64748B; --nvx-c8: #B45309; --nvx-mark-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23FFFFFF' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 6.2 5 8.6 9.5 3.6'/%3E%3C/svg%3E"); --nvx-mark-dash: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23FFFFFF' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h6'/%3E%3C/svg%3E"); --nvx-mark-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%234A5A70' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5'/%3E%3C/svg%3E"); color-scheme: light; }
/* tokens:end */

* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body { background: var(--nvx-sunken); color: var(--nvx-text); font: 14px/20px 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif; -webkit-font-smoothing: antialiased; display: flex; flex-direction: column; overflow: hidden; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--nvx-accent); outline-offset: 2px; }

/* ---- the shell: a bar above with who and what, a line below with what the program says */
.nvx-top { flex: none; height: 48px; display: flex; align-items: center; gap: 12px; padding: 0 16px; background: var(--nvx-surface); border-bottom: 1px solid var(--nvx-border); position: relative; }
.nvx-brand { display: flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -.02em; white-space: nowrap; }
.nvx-logo { width: 24px; height: 24px; border-radius: 6px; background: var(--nvx-accent); color: var(--nvx-on-accent); display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.nvx-crumb { color: var(--nvx-muted); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nvx-spacer { flex: 1; }
.nvx-quiet { height: 30px; padding: 0 10px; border-radius: 6px; border: 1px solid transparent; background: transparent; color: var(--nvx-muted); font-size: 13px; font-weight: 500; cursor: pointer; }
.nvx-quiet:hover { background: var(--nvx-hover); color: var(--nvx-text); }
/* the program is working: a thin line, and only when it takes long enough to notice */
.nvx-top::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--nvx-accent); transform: scaleX(0); transform-origin: left; }
.nvx-is-busy .nvx-top::after { animation: nvx-busy 1.2s ease-in-out infinite; }
@keyframes nvx-busy { 0% { transform: scaleX(0); transform-origin: left; } 50% { transform: scaleX(1); transform-origin: left; } 51% { transform: scaleX(1); transform-origin: right; } 100% { transform: scaleX(0); transform-origin: right; } }
.nvx-main { flex: 1; min-height: 0; position: relative; display: flex; overflow: auto; padding: 24px; }
.nvx-main > #nvx-app { margin: auto; }
.nvx-statusbar { flex: none; height: 32px; display: flex; align-items: center; gap: 16px; padding: 0 16px; border-top: 1px solid var(--nvx-border); background: var(--nvx-surface); font-size: 12px; line-height: 16px; color: var(--nvx-muted); }
.nvx-statusbar .nvx-said { display: flex; gap: 16px; overflow: hidden; white-space: nowrap; }
.nvx-live { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.nvx-live i { width: 6px; height: 6px; border-radius: 999px; background: var(--nvx-success); }
.nvx-is-offline .nvx-live i { background: var(--nvx-warning); }
.nvx-is-ended .nvx-live i { background: var(--nvx-subtle); }
/* the connection is lost: what is shown is dimmed and cannot be worked until it is back */
.nvx-banner { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); z-index: 900; display: none; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--nvx-warning-bg); color: var(--nvx-warning); font-size: 13px; font-weight: 500; box-shadow: var(--nvx-pop); }
.nvx-is-offline .nvx-banner { display: flex; }
.nvx-is-offline #nvx-app { opacity: .6; pointer-events: none; }
/* the program has ended: one card saying so */
.nvx-ended { position: absolute; inset: 0; z-index: 1000; display: grid; place-items: center; background: color-mix(in srgb, var(--nvx-sunken) 86%, transparent); }
.nvx-ended > div { width: 400px; max-width: calc(100% - 32px); padding: 28px; border-radius: 12px; background: var(--nvx-surface); box-shadow: var(--nvx-dlg); display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.nvx-ended p { margin: 0; font-size: 15px; line-height: 22px; font-weight: 600; }

/* ---- buttons of the page itself (questions, the ended card, sign-in) */
.nvx-btn { display: inline-flex; align-items: center; justify-content: center; height: 32px; min-width: 72px; padding: 0 12px; border-radius: 6px; border: 1px solid var(--nvx-border-strong); background: var(--nvx-surface); color: var(--nvx-text); font-size: 13px; line-height: 18px; font-weight: 500; white-space: nowrap; cursor: pointer; text-decoration: none; }
.nvx-btn:hover { background: var(--nvx-hover); }
.nvx-btn.nvx-primary { background: var(--nvx-accent); border-color: var(--nvx-accent); color: var(--nvx-on-accent); }
.nvx-btn.nvx-primary:hover { background: var(--nvx-accent-hover); border-color: var(--nvx-accent-hover); }
.nvx-btn.nvx-danger { background: var(--nvx-danger); border-color: var(--nvx-danger); color: var(--nvx-surface); }
.nvx-btn:disabled { opacity: .5; cursor: default; }

/* ---- the application: its windows, placed and sized as the program placed and sized them */
#nvx-app { position: relative; flex: none; font-size: 13px; line-height: 18px; }
.nvx-window { position: absolute; left: 0; top: 0; background: var(--nvx-surface); color: var(--nvx-text); }
/* a window that waits behind the one in use is dimmed, so the eye goes to the one that takes the keys */
.nvx-window:not(.nvx-current)::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--nvx-scrim); opacity: .55; pointer-events: none; z-index: 5; }
.nvx-main-window { border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 1px var(--nvx-border); }
.nvx-dialog { border-radius: 12px; overflow: hidden; box-shadow: var(--nvx-dlg); }
.nvx-dialog > header { height: 28px; padding: 0 12px; display: flex; align-items: center; font-weight: 600; background: var(--nvx-surface); border-bottom: 1px solid var(--nvx-border); user-select: none; }
.nvx-dialog > header span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nvx-body { position: relative; }
.nvx-body canvas { display: block; }
.nvx-layer { position: absolute; inset: 0; }
/* the words of the text area, each run where the program put it (specification 12, 6.3) */
.nvx-words { position: absolute; inset: 0; pointer-events: none; }
.nvx-run { position: absolute; white-space: pre; }
.nvx-run-label { font-size: 13px; font-weight: 500; color: var(--nvx-muted); }
.nvx-run-table { font-size: 13px; font-variant-numeric: tabular-nums; }
.nvx-run-mono { font-family: 'Geist Mono', ui-monospace, monospace; }
.nvx-run-number { text-align: right; }
.nvx-layer > * { position: absolute; }

/* ---- controls */
.nvx-ctl { display: flex; align-items: center; }
.nvx-ctl :focus-visible, .nvx-field:focus { outline: none; border-color: var(--nvx-accent); box-shadow: 0 0 0 1px var(--nvx-surface), 0 0 0 3px var(--nvx-accent); }
.nvx-button button { width: calc(100% - 2px); height: min(32px, calc(100% - 2px)); margin: 0 1px; border: 1px solid var(--nvx-border-strong); border-radius: 6px; background: var(--nvx-surface); font-weight: 500; cursor: pointer; padding: 0 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: background 80ms linear; }
/* a control the program gave a font of its own: the size against the page's, the weight and the slant */
.nvx-ctl[data-font]:not([data-font=""]) :is(button, input, textarea, select, label, span) { font-size: inherit; font-weight: inherit; font-style: inherit; text-decoration: inherit; }
.nvx-button button:hover { background: var(--nvx-hover); }
.nvx-button button:active { background: var(--nvx-selected); }
.nvx-button button:disabled { background: var(--nvx-sunken); border-color: var(--nvx-border); color: var(--nvx-subtle); cursor: default; }
.nvx-check label, .nvx-tristate label, .nvx-radio label { display: flex; align-items: center; gap: 8px; width: 100%; height: 100%; cursor: pointer; white-space: nowrap; }
/* tick boxes and radio buttons are drawn here, the same in every browser */
.nvx-check input, .nvx-tristate input, .nvx-radio input { appearance: none; -webkit-appearance: none; flex: none; width: 16px; height: 16px; margin: 0 0 0 1px; border: 1px solid var(--nvx-border-strong); border-radius: 4px; background: var(--nvx-surface) center / 12px 12px no-repeat; cursor: pointer; transition: background-color 120ms ease-out, border-color 120ms ease-out; }
.nvx-radio input { border-radius: 999px; }
.nvx-check input:checked, .nvx-tristate input:checked, .nvx-tristate input:indeterminate { background-color: var(--nvx-accent); border-color: var(--nvx-accent); background-image: var(--nvx-mark-check); }
.nvx-tristate input:indeterminate { background-image: var(--nvx-mark-dash); }
.nvx-radio input:checked { border-color: var(--nvx-accent); background-image: radial-gradient(circle, var(--nvx-accent) 0 4px, transparent 4.5px); background-size: 100% 100%; }
.nvx-check input:disabled, .nvx-tristate input:disabled, .nvx-radio input:disabled { opacity: .5; cursor: default; }
.nvx-text input, .nvx-combo input, .nvx-drop select { height: min(32px, calc(100% - 2px)) !important; }
.nvx-text input, .nvx-text textarea, .nvx-combo input, .nvx-drop select, .nvx-list select { width: calc(100% - 2px); height: calc(100% - 2px); margin: 0 1px; border: 1px solid var(--nvx-border-strong); border-radius: 6px; background: var(--nvx-surface); padding: 0 6px; min-width: 0; }
.nvx-text textarea { padding: 4px 8px; resize: none; line-height: 18px; }
.nvx-text input:read-only, .nvx-text textarea:read-only { border-color: transparent; background: var(--nvx-sunken); }
.nvx-ctl :disabled { background-color: var(--nvx-sunken); color: var(--nvx-subtle); }
/* a drop box: the page's own arrow, never the browser's */
.nvx-drop select { appearance: none; -webkit-appearance: none; padding-right: 26px; background-image: var(--nvx-mark-chevron); background-position: right 8px center; background-size: 12px 12px; background-repeat: no-repeat; cursor: pointer; text-overflow: ellipsis; }
.nvx-list select { padding: 3px; overflow-y: auto; }
.nvx-list option { padding: 3px 8px; border-radius: 4px; }
.nvx-list option:checked { background: var(--nvx-selected) linear-gradient(var(--nvx-selected), var(--nvx-selected)); color: var(--nvx-text); }
.nvx-scroll input { width: 100%; margin: 0; accent-color: var(--nvx-border-strong); }
.nvx-scroll.nvx-vertical input { writing-mode: vertical-lr; height: 100%; width: auto; }
.nvx-disabled { color: var(--nvx-subtle); }
.nvx-chart canvas { display: block; }
.nvx-grid, .nvx-listview, .nvx-chart { outline: none; }
.nvx-grid:focus-visible, .nvx-listview:focus-visible { box-shadow: 0 0 0 2px var(--nvx-accent); border-color: var(--nvx-accent); }

/* grids, list views and trees (specification 12, section 7): columns as wide as the program made them */
.nvx-grid, .nvx-listview { display: block; overflow: hidden; background: var(--nvx-surface); line-height: var(--line, 28px); border-radius: 8px; }
.nvx-t-border { border: 1px solid var(--nvx-border); }
.nvx-t-scroll { overflow-anchor: none; position: absolute; inset: 0; overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--nvx-border-strong) transparent; }
.nvx-t-head { position: sticky; top: 0; z-index: 3; display: flex; min-width: 100%; background: var(--nvx-sunken); color: var(--nvx-muted); font-weight: 500; user-select: none; border-bottom: 1px solid var(--nvx-border); }
.nvx-t-h, .nvx-t-corner { flex: none; height: 100%; display: flex; align-items: center; overflow: hidden; white-space: nowrap; padding: 0 8px; cursor: default; }
.nvx-t-corner { position: sticky; left: 0; z-index: 1; background: inherit; }
.nvx-t-body { position: relative; min-width: 100%; }
.nvx-t-row { position: absolute; left: 0; height: var(--line); display: flex; min-width: 100%; white-space: nowrap; border-bottom: 1px solid var(--nvx-border); }
.nvx-t-currow { background: var(--nvx-hover); }
.nvx-t-sel { background: var(--nvx-selected); }
.nvx-t-rh { flex: none; position: sticky; left: 0; z-index: 2; background: var(--nvx-sunken); color: var(--nvx-subtle); text-align: center; overflow: hidden; user-select: none; font-variant-numeric: tabular-nums; }
.nvx-t-c { flex: none; height: 100%; overflow: hidden; padding: 0 8px; cursor: default; display: flex; align-items: center; gap: 6px; font-variant-numeric: tabular-nums; }
.nvx-t-plain .nvx-t-c { flex: 1 0 auto; }
.nvx-t-text { flex: 1 1 auto; overflow: hidden; text-overflow: ellipsis; }
.nvx-t-lines .nvx-t-text { white-space: pre; align-self: flex-start; }
.nvx-t-lock { color: var(--nvx-muted); }
.nvx-t-neg { color: var(--nvx-danger); }
.nvx-t-button { flex: 1 1 auto; height: 24px; line-height: 22px; border: 1px solid transparent; border-radius: 6px; padding: 0 8px; overflow: hidden; color: var(--nvx-accent); font-weight: 500; text-align: center; }
.nvx-t-c:hover > .nvx-t-button { background: var(--nvx-hover); border-color: var(--nvx-border); }
.nvx-t-more { flex: none; width: 16px; align-self: stretch; display: flex; align-items: center; justify-content: center; color: var(--nvx-subtle); opacity: 0; }
.nvx-t-c:hover > .nvx-t-more, .nvx-t-cur > .nvx-t-more, .nvx-t-cur-idle > .nvx-t-more { opacity: 1; }
.nvx-t-arrow { flex: none; width: 14px; text-align: center; color: var(--nvx-subtle); }
.nvx-t-state { flex: none; width: 16px; height: 16px; border: 1px solid var(--nvx-border-strong); border-radius: 4px; background: var(--nvx-surface) center / 12px 12px no-repeat; color: transparent; font-size: 0; }
.nvx-t-state.nvx-on { background-color: var(--nvx-accent); border-color: var(--nvx-accent); background-image: var(--nvx-mark-check); }
.nvx-grid .nvx-t-c > .nvx-t-state:first-child:last-child, .nvx-grid .nvx-t-state + .nvx-t-text:empty { margin: 0 auto; }
.nvx-t-cur { box-shadow: inset 0 0 0 2px var(--nvx-accent); }
.nvx-t-cur-idle { box-shadow: inset 0 0 0 2px var(--nvx-border-strong); }
.nvx-t-edit { position: absolute; z-index: 4; color: var(--nvx-text); background: var(--nvx-surface); border: 0; box-shadow: inset 0 0 0 2px var(--nvx-accent); outline: none; padding: 0 8px; margin: 0; font-variant-numeric: tabular-nums; }
.nvx-t-empty { position: absolute; left: 0; right: 0; top: 0; height: var(--line); text-align: center; color: var(--nvx-subtle); }
.nvx-t-choices { position: absolute; z-index: 50; display: flex; flex-direction: column; background: var(--nvx-surface); border-radius: 8px; padding: 4px; box-shadow: var(--nvx-pop); max-height: 200px; overflow-y: auto; }
.nvx-t-choices button { text-align: left; border: 0; background: none; padding: 4px 10px; border-radius: 5px; cursor: pointer; white-space: nowrap; }
.nvx-t-choices button:hover { background: var(--nvx-selected); }

/* a typed field on the text plane: the characters sit in their cells */
.nvx-field { font: 13px 'Geist Mono', ui-monospace, monospace; letter-spacing: 0.2px; border: 0; padding: 0; margin: 0; background: var(--nvx-selected); color: var(--nvx-text); outline: none; border-radius: 2px; caret-color: var(--nvx-accent); }
.nvx-field.nvx-unseen { opacity: 0; width: 1px !important; caret-color: transparent; }

/* ---- menus */
.nvx-menu { display: flex; gap: 2px; padding: 3px 6px; background: var(--nvx-surface); border-bottom: 1px solid var(--nvx-border); position: relative; z-index: 5; }
.nvx-menu details { position: relative; }
.nvx-menu summary { list-style: none; padding: 4px 10px; border-radius: 6px; cursor: pointer; user-select: none; font-weight: 500; color: var(--nvx-muted); }
.nvx-menu summary::-webkit-details-marker { display: none; }
.nvx-menu summary:hover, .nvx-menu details[open] > summary { background: var(--nvx-hover); color: var(--nvx-text); }
.nvx-menu details > div { position: absolute; left: 0; top: calc(100% + 4px); min-width: 200px; background: var(--nvx-surface); border-radius: 8px; padding: 4px; box-shadow: var(--nvx-pop); display: flex; flex-direction: column; }
.nvx-menu details details > div { left: 100%; top: 0; }
.nvx-menu button, .nvx-popup button { display: flex; align-items: center; width: 100%; min-height: 28px; text-align: left; border: 0; background: none; padding: 0 10px; border-radius: 5px; cursor: pointer; color: var(--nvx-text); white-space: nowrap; }
.nvx-menu button:hover:enabled, .nvx-popup button:hover, .nvx-popup button:focus { background: var(--nvx-selected); outline: none; box-shadow: none; }
.nvx-menu button:disabled { color: var(--nvx-subtle); cursor: default; }
.nvx-menu hr { border: 0; border-top: 1px solid var(--nvx-border); margin: 4px 0; width: 100%; }
.nvx-popup { border: 0; border-radius: 8px; padding: 4px; min-width: 200px; background: var(--nvx-surface); box-shadow: var(--nvx-pop); color: var(--nvx-text); font: 13px/18px 'Geist', system-ui, sans-serif; }
.nvx-popup::backdrop { background: transparent; }

/* ---- questions the program asks */
.nvx-modal { border: 0; border-radius: 12px; padding: 0; width: 440px; max-width: calc(100% - 32px); background: var(--nvx-surface); box-shadow: var(--nvx-dlg); color: var(--nvx-text); font: 14px/20px 'Geist', system-ui, sans-serif; }
.nvx-modal::backdrop { background: var(--nvx-scrim); }
.nvx-modal[open] { animation: nvx-in 180ms ease-out; }
@keyframes nvx-in { from { opacity: 0; transform: scale(.98); } }
.nvx-ask { display: flex; gap: 16px; padding: 20px 24px 16px; }
.nvx-ico { flex: none; width: 40px; height: 40px; border-radius: 999px; display: grid; place-items: center; font-weight: 600; font-size: 18px; background: var(--nvx-info-bg); color: var(--nvx-info); }
.nvx-ico.nvx-warning { background: var(--nvx-warning-bg); color: var(--nvx-warning); }
.nvx-ico.nvx-stop { background: var(--nvx-danger-bg); color: var(--nvx-danger); }
.nvx-ask > div { min-width: 0; padding-top: 2px; }
.nvx-modal h2 { margin: 0 0 4px; font-size: 15px; line-height: 22px; font-weight: 600; }
.nvx-modal p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--nvx-muted); }
.nvx-buttons { display: flex; gap: 8px; justify-content: flex-end; padding: 14px 24px; border-top: 1px solid var(--nvx-border); flex-wrap: wrap; }
.nvx-filebox > h2 { padding: 20px 24px 0; }
.nvx-filebox input { display: block; width: calc(100% - 48px); margin: 12px 24px 4px; }
.nvx-filebox input[type=text] { height: 32px; padding: 0 10px; border: 1px solid var(--nvx-border-strong); border-radius: 6px; background: var(--nvx-surface); }
.nvx-filebox input[type=text]:focus { outline: none; border-color: var(--nvx-accent); box-shadow: 0 0 0 1px var(--nvx-surface), 0 0 0 3px var(--nvx-accent); }
.nvx-filebox .nvx-note { min-height: 18px; margin: 0 24px 12px; font-size: 12px; line-height: 16px; }
.nvx-note { color: var(--nvx-danger); }

/* ---- notices, and the panel a PDF is read in */
.nvx-toasts { position: fixed; right: 16px; bottom: 48px; display: flex; flex-direction: column; gap: 8px; z-index: 2000; }
.nvx-toast { width: 360px; max-width: calc(100vw - 32px); display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 10px; background: var(--nvx-surface); color: var(--nvx-text); box-shadow: var(--nvx-pop); font-size: 13px; line-height: 18px; animation: nvx-rise 140ms ease-out; }
@keyframes nvx-rise { from { opacity: 0; transform: translateY(4px); } }
.nvx-toast span { flex: 1; overflow-wrap: anywhere; }
.nvx-toast a { color: var(--nvx-accent); font-weight: 500; text-decoration: none; }
.nvx-panel { position: fixed; inset: 24px; z-index: 1500; display: flex; flex-direction: column; background: var(--nvx-surface); border-radius: 12px; overflow: hidden; box-shadow: var(--nvx-dlg); }
.nvx-panel header { display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-bottom: 1px solid var(--nvx-border); }
.nvx-panel header strong { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; font-weight: 600; }
.nvx-panel iframe { flex: 1; border: 0; width: 100%; background: var(--nvx-sunken); }

/* ---- the pages around an application: sign-in, no places left */
.nvx-signin { margin: auto; width: 400px; max-width: calc(100% - 32px); background: var(--nvx-surface); padding: 32px; border-radius: 12px; box-shadow: var(--nvx-dlg); }
.nvx-signin h1 { margin: 0 0 20px; font-size: 28px; line-height: 34px; font-weight: 600; letter-spacing: -.03em; }
.nvx-signin p { margin: 0 0 12px; color: var(--nvx-muted); }
.nvx-signin form { display: flex; flex-direction: column; gap: 14px; }
.nvx-signin label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; line-height: 18px; font-weight: 500; color: var(--nvx-muted); }
.nvx-signin input { height: 36px; padding: 0 10px; border: 1px solid var(--nvx-border-strong); border-radius: 6px; background: var(--nvx-surface); color: var(--nvx-text); font-size: 14px; }
.nvx-signin input:focus { outline: none; border-color: var(--nvx-accent); box-shadow: 0 0 0 1px var(--nvx-surface), 0 0 0 3px var(--nvx-accent); }
.nvx-signin button { height: 36px; margin-top: 6px; border-radius: 6px; border: 1px solid var(--nvx-accent); background: var(--nvx-accent); color: var(--nvx-on-accent); font-size: 14px; font-weight: 500; cursor: pointer; }
.nvx-signin button:hover { background: var(--nvx-accent-hover); border-color: var(--nvx-accent-hover); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
@media (prefers-contrast: more) { :root { --nvx-border: var(--nvx-text); --nvx-border-strong: var(--nvx-text); } }
/* the words of a window's picture, for a screen reader: there, and not seen */
.nvx-read { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: pre; }
.nvx-signin .nvx-brand { margin-bottom: 20px; color: var(--nvx-muted); font-size: 14px; }
.nvx-signin .nvx-note { color: var(--nvx-danger); font-weight: 500; }

/* ---- a window laid out from its plan (Modern layout; specification 04, section 3) */
.nvx-plan > .nvx-body > canvas, .nvx-plan > .nvx-body > .nvx-words, .nvx-plan > .nvx-body > .nvx-read { display: none; }
.nvx-plan > .nvx-body > .nvx-layer { position: static; display: flex; flex-direction: column; gap: 16px; padding: 20px 24px 24px; }
.nvx-plan > .nvx-body > .nvx-layer > * { position: static; }
.nvx-plan > .nvx-body > .nvx-layer > .nvx-field { position: absolute; }
.nvx-plan .nvx-ctl { position: static; min-width: 0; }
.nvx-plan.nvx-dialog > header { height: 44px; padding: 0 24px; font-size: 15px; }
.nvx-p-heading { margin: 4px 0 -4px; font-size: 15px; line-height: 22px; font-weight: 600; }
.nvx-p-words { margin: 0; color: var(--nvx-muted); }
.nvx-p-form { display: grid; grid-template-columns: repeat(var(--columns, 1), minmax(0, 1fr)); gap: 12px 16px; align-items: end; }
.nvx-p-field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.nvx-p-field > label, .nvx-p-label { font-size: 13px; line-height: 18px; font-weight: 500; color: var(--nvx-muted); }
.nvx-p-field .nvx-ctl { height: 32px; }
.nvx-p-field .nvx-text:has(textarea), .nvx-p-field .nvx-list { height: auto; }
.nvx-p-group { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 16px; }
.nvx-p-group > label { flex: 0 0 100%; }
.nvx-plan .nvx-text input, .nvx-plan .nvx-combo input, .nvx-plan .nvx-drop select { width: 100%; height: 32px !important; margin: 0; padding: 0 10px; font-size: 14px; }
.nvx-plan .nvx-text textarea, .nvx-plan .nvx-list select { width: 100%; height: 100%; margin: 0; }
.nvx-plan .nvx-button button { width: auto; min-width: 72px; height: 32px; margin: 0; padding: 0 12px; }
.nvx-p-search { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px; }
.nvx-p-search .nvx-p-field { flex: 1 1 200px; max-width: 360px; }
.nvx-p-data { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.nvx-p-data > .nvx-ctl { position: relative; width: 100%; }
.nvx-p-data > .nvx-chart { justify-content: center; overflow: hidden; }
.nvx-p-actions { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 16px; margin-top: 4px; border-top: 1px solid var(--nvx-border); }
/* the last of three or more actions stands apart at the right: it is nearly always the way out */
.nvx-p-actions > .nvx-ctl:last-child:nth-child(n + 3) { margin-left: auto; }
/* the action the window is for, where the application names it: the one use of the accent */
.nvx-plan .nvx-main-action button:not(:disabled) { background: var(--nvx-accent); border-color: var(--nvx-accent); color: var(--nvx-on-accent); }
.nvx-plan .nvx-main-action button:not(:disabled):hover { background: var(--nvx-accent-hover); border-color: var(--nvx-accent-hover); }
.nvx-p-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
/* a line of words: the first leads, the last of three or more stands at the right (a total, a count) */
.nvx-p-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 24px; }
.nvx-p-line > .nvx-p-heading { margin: 0; }
.nvx-p-line > :last-child:nth-child(n + 3) { margin-left: auto; }
.nvx-p-columns { display: flex; gap: 16px; }
.nvx-p-columns > * { flex: 1 1 0; min-width: 0; }
/* tables side by side begin and end on the same lines: one without a caption leaves the caption's line free,
   and the shorter grows to the taller */
.nvx-p-columns { align-items: stretch; }
.nvx-p-columns > .nvx-p-data > .nvx-ctl { flex: 1 1 auto; }
.nvx-p-columns:has(> .nvx-p-data > .nvx-p-label) > .nvx-p-data:not(:has(> .nvx-p-label))::before { content: ""; display: block; height: 18px; flex: none; }
@media (max-width: 720px) { .nvx-p-form { grid-template-columns: minmax(0, 1fr); } .nvx-p-field { grid-column: auto !important; } .nvx-p-columns { flex-direction: column; } }

/* ---- under the hood: the drawer of an application that shows its visitors what it runs from */
.nvx-hood { position: fixed; top: 48px; right: 0; bottom: 32px; width: min(560px, 100vw); z-index: 40; display: flex; flex-direction: column; gap: 12px; padding: 16px; background: var(--nvx-surface); color: var(--nvx-text); border-left: 1px solid var(--nvx-border); box-shadow: var(--nvx-dlg); }
.nvx-hood[hidden] { display: none; }
.nvx-hood-head { display: flex; align-items: center; justify-content: space-between; }
.nvx-hood-head h2 { margin: 0; font-size: 15px; line-height: 22px; font-weight: 600; }
.nvx-hood-facts, .nvx-hood-note { margin: 0; font-size: 13px; line-height: 20px; color: var(--nvx-muted); }
.nvx-hood-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--nvx-border); }
.nvx-hood-tabs button { font: inherit; font-size: 13px; font-weight: 500; padding: 8px 12px; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; background: none; color: var(--nvx-muted); cursor: pointer; }
.nvx-hood-tabs button[aria-selected="true"] { color: var(--nvx-text); border-bottom-color: var(--nvx-accent); }
.nvx-hood-body { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; gap: 12px; overflow: auto; }
.nvx-hood-pick { flex: none; appearance: none; -webkit-appearance: none; font: inherit; font-size: 13px; height: 32px; padding: 0 28px 0 8px; border: 1px solid var(--nvx-border-strong); border-radius: 6px; background: var(--nvx-surface) var(--nvx-mark-chevron) no-repeat right 8px center / 12px 12px; color: var(--nvx-text); }
/* on a wide page the application moves over and both are seen whole; on a narrow one the drawer lies over it */
@media (min-width: 1200px) { .nvx-has-hood .nvx-main { margin-right: 560px; } }
.nvx-hood-code, .nvx-hood-wire { flex: 1 1 auto; min-height: 160px; overflow: auto; border: 1px solid var(--nvx-border); border-radius: 8px; background: var(--nvx-sunken); font: 12px/18px "Geist Mono", ui-monospace, monospace; }
.nvx-hood-code { padding: 8px 0; }
.nvx-hood-code > .nvx-hood-note { padding: 0 12px; font-family: inherit; }
.nvx-s-line { display: flex; white-space: pre; }
.nvx-s-no { flex: none; width: 48px; padding-right: 12px; text-align: right; color: var(--nvx-subtle); user-select: none; }
.nvx-s-code { padding-right: 12px; }
.nvx-s-word { color: var(--nvx-info); }
.nvx-s-text { color: var(--nvx-success); }
.nvx-s-mnemonic { color: var(--nvx-warning); }
.nvx-s-remark { color: var(--nvx-subtle); }
.nvx-hood-wire details { border-bottom: 1px solid var(--nvx-border); }
.nvx-hood-wire summary { padding: 4px 12px; cursor: pointer; white-space: pre; }
.nvx-hood-wire .nvx-w-out summary { color: var(--nvx-info); }
.nvx-hood-wire pre { margin: 0; padding: 4px 12px 8px; white-space: pre-wrap; word-break: break-all; color: var(--nvx-muted); }
.nvx-hood-choice { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.nvx-hood-choice > span { width: 64px; font-size: 13px; font-weight: 500; color: var(--nvx-muted); }
.nvx-hood-choice button { font: inherit; font-size: 13px; font-weight: 500; height: 32px; padding: 0 12px; border: 1px solid var(--nvx-border-strong); border-radius: 6px; background: var(--nvx-surface); color: var(--nvx-text); cursor: pointer; }
.nvx-hood-choice button[aria-pressed="true"] { background: var(--nvx-selected); border-color: var(--nvx-accent); }
.nvx-hood-get { align-self: flex-start; font-size: 13px; font-weight: 500; line-height: 32px; padding: 0 12px; border: 1px solid var(--nvx-border-strong); border-radius: 6px; color: var(--nvx-text); text-decoration: none; }
.nvx-hood-get:hover { background: var(--nvx-hover); }
.nvx-hood-sum { font: 12px/18px "Geist Mono", ui-monospace, monospace; word-break: break-all; color: var(--nvx-muted); }
.nvx-hood :focus-visible { outline: 2px solid var(--nvx-accent); outline-offset: 2px; }

/* ---- Export: what the table in use holds, as a file */
.nvx-export { position: absolute; top: 44px; right: 64px; z-index: 30; display: flex; flex-direction: column; min-width: 200px; padding: 4px; background: var(--nvx-surface); border-radius: 8px; box-shadow: var(--nvx-pop); }
.nvx-export[hidden] { display: none; }
.nvx-export button { font: inherit; font-size: 13px; text-align: left; height: 32px; padding: 0 10px; border: 0; border-radius: 6px; background: none; color: var(--nvx-text); cursor: pointer; }
.nvx-export button:hover, .nvx-export button:focus-visible { background: var(--nvx-hover); outline: none; }
/* function keys at the foot of the page (12 §5: "F4 Lookup" chips) */
.nvx-fkeys { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.nvx-fkeys[hidden] { display: none; }
.nvx-fkey { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 8px 0 4px; border: 1px solid var(--nvx-border); border-radius: 6px; background: var(--nvx-surface); color: var(--nvx-muted); font: inherit; white-space: nowrap; cursor: pointer; }
.nvx-fkey:hover { background: var(--nvx-hover); color: var(--nvx-text); }
.nvx-fkey:active { background: var(--nvx-selected); }
.nvx-fkey kbd { padding: 0 4px; border-radius: 4px; background: var(--nvx-sunken); color: var(--nvx-text); font: 500 11px/16px 'Geist Mono', ui-monospace, monospace; }
/* the page's own boxes: the key help and the command palette */
.nvx-sheet { border: 0; border-radius: 12px; padding: 0; width: 520px; max-width: calc(100% - 32px); background: var(--nvx-surface); box-shadow: var(--nvx-dlg); color: var(--nvx-text); font: 14px/20px 'Geist', system-ui, sans-serif; }
.nvx-sheet::backdrop { background: var(--nvx-scrim); }
.nvx-keyhelp h2 { margin: 0; padding: 20px 24px 8px; font-size: 16px; line-height: 24px; font-weight: 600; }
.nvx-keyhelp dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 16px; margin: 0; padding: 8px 24px 4px; }
.nvx-keyhelp dt { font: 500 12px/20px 'Geist Mono', ui-monospace, monospace; }
.nvx-keyhelp dd { margin: 0; color: var(--nvx-muted); }
.nvx-keyhelp .nvx-buttons { display: flex; justify-content: flex-end; padding: 16px 24px 20px; }
.nvx-palette { margin-top: 12vh; }
.nvx-palette-input { box-sizing: border-box; width: 100%; height: 48px; padding: 0 16px; border: 0; border-bottom: 1px solid var(--nvx-border); background: transparent; color: var(--nvx-text); font: 15px/20px 'Geist', system-ui, sans-serif; outline: none; }
.nvx-palette ul { list-style: none; margin: 0; padding: 6px; max-height: 50vh; overflow-y: auto; }
.nvx-palette li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 8px 10px; border-radius: 6px; cursor: pointer; }
.nvx-palette li[aria-selected="true"] { background: var(--nvx-selected); }
.nvx-palette li small { color: var(--nvx-subtle); font: 500 11px/16px 'Geist Mono', ui-monospace, monospace; }
.nvx-palette li.nvx-palette-none { color: var(--nvx-muted); cursor: default; }
.nvx-fkey.nvx-down { background: var(--nvx-selected); color: var(--nvx-text); }
/* the second step at sign-in: a key to type into an authenticator app, and recovery codes */
.nvx-signin .nvx-key { padding: 10px 12px; border-radius: 8px; background: var(--nvx-sunken); color: var(--nvx-text); font: 500 15px/22px 'Geist Mono', ui-monospace, monospace; letter-spacing: .04em; word-spacing: .3em; }
.nvx-signin .nvx-codes { columns: 2; margin: 0 0 20px; padding-left: 22px; color: var(--nvx-text); font: 500 14px/24px 'Geist Mono', ui-monospace, monospace; }
.nvx-signin .nvx-go { display: inline-flex; align-items: center; height: 36px; padding: 0 16px; border-radius: 6px; background: var(--nvx-accent); color: var(--nvx-on-accent); font-weight: 600; text-decoration: none; }
/* signing in through a provider */
.nvx-signin .nvx-providers { display: flex; flex-direction: column; gap: 8px; margin: 0 0 12px; }
.nvx-signin .nvx-provider { display: flex; align-items: center; justify-content: center; height: 40px; border: 1px solid var(--nvx-border-strong); border-radius: 6px; color: var(--nvx-text); font-weight: 500; text-decoration: none; }
.nvx-signin .nvx-provider:hover { background: var(--nvx-hover); }
.nvx-signin .nvx-or { margin: 4px 0 12px; text-align: center; font-size: 12px; }
.nvx-licence .nvx-tm { display: block; margin-top: 6px; font-size: 11px; line-height: 15px; }
body > .nvx-licence { max-width: 420px; margin: 0 auto 24px; padding: 12px 16px 0; border-top: 1px solid var(--nvx-border); color: var(--nvx-subtle); font-size: 12px; line-height: 16px; }
.nvx-signin .nvx-licence { margin-top: 20px; padding-top: 12px; border-top: 1px solid var(--nvx-border); color: var(--nvx-subtle); font-size: 12px; line-height: 16px; }
/* grid cells as the program drew them: corner ticks, pictures, bar charts */
.nvx-t-c { position: relative; }
.nvx-t-tick { position: absolute; left: 0; width: 6px; height: 6px; pointer-events: none; }
.nvx-t-tick-t { top: 0; clip-path: polygon(0 0, 100% 0, 0 100%); }
.nvx-t-tick-b { bottom: 0; clip-path: polygon(0 0, 0 100%, 100% 100%); }
.nvx-t-pic { height: calc(100% - 4px); max-height: 32px; margin-right: 6px; vertical-align: middle; }
.nvx-t-bars { position: absolute; inset: 3px 3px; display: flex; overflow: hidden; border-radius: 2px; pointer-events: none; }
.nvx-t-bars > span { height: 100%; }
.nvx-t-fill { display: inline-block; height: 0.9em; vertical-align: middle; border-radius: 2px; min-width: 1px; }
.nvx-t-text:has(.nvx-t-fill) { display: block; width: 100%; }
.nvx-ctl[draggable="true"] { cursor: grab; }
.nvx-dropto-title { margin: 0; padding: 14px 16px 6px; color: var(--nvx-muted); font-size: 13px; }
.nvx-dropto li:focus { outline: 2px solid var(--nvx-accent); outline-offset: -2px; }
.nvx-failed h2 { margin: 0 0 8px; font-size: 18px; }
.nvx-ref { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.nvx-ref code { font-family: 'Geist Mono', ui-monospace, monospace; font-size: 15px; letter-spacing: 0.04em; user-select: all; }
.nvx-dropping { outline: 2px dashed var(--nvx-accent); outline-offset: 2px; }
/* the NextVX name as its mark (issue #154): Next, then VX white on the cobalt tile, as the site has it */
.nvx-mark { white-space: nowrap; font-weight: 600; }
.nvx-vx { display: inline-block; margin-left: 1px; padding: 0 0.28em; border-radius: 0.22em; background: #1450b8; color: #fff; font-weight: 700; letter-spacing: 0.02em; line-height: 1.35; }
