/* ============================================================
carino-ui.css — the shared Carino UI: design tokens, base and every
production component. Canonical copy: Branding/carino-ui.css.
Carino-Systems/propagate.sh copies it byte-for-byte into each site, the
same way it copies carino-navbar.js; a site opts in by linking it BEFORE
its own stylesheet. Sites may add new tokens (--kind-*, --cat-*) but never
redefine one declared here. Documented at https://branding.carino.systems/
============================================================ */
/* ============================================================
Carino Branding — the canonical design tokens & components.
This file IS the reference: view-source, or use the per-section
Copy buttons to lift a snippet into another project.
Hosted at branding.carino.systems. Tokens mirror
Carino-Systems/index.html :root.
============================================================ */
:root {
--bg: #050505; /* near-black page background */
--bg-elev: #0d0d0d; /* elevated surface (inputs, code) */
--bg-card: #0b0b0b; /* card / panel background */
--accent: #eab308; /* Sharp Gold — the one accent */
--accent-faint: rgba(234,179,8,0.05);
--accent-glow: rgba(234,179,8,0.15);
--accent-dim: rgba(234,179,8,0.30);
--border: #262626; /* hairline borders */
--border-hv: #eab308; /* border on hover/focus */
--text: #ffffff; /* primary text */
--text-sec: #a3a3a3; /* secondary text */
--text-muted: #8a8a8a; /* muted / labels */
--ok: #22c55e;
--warn: #eab308;
--err: #ef4444;
--info: #38bdf8; /* informational; the fourth toast state, previously a magic number */
--stage-grad: radial-gradient(1200px 520px at 50% -12%, rgba(234,179,8,0.08) 0%, transparent 60%), linear-gradient(180deg,#0b0b0b 0%,#050505 100%);
--gold-text: linear-gradient(130deg,#fef08a 0%,#eab308 50%,#b45309 100%);
--sans: 'IBM Plex Sans', system-ui, -apple-system, sans-serif;
--mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
--display: 'Red Hat Display', var(--sans);
--radius: 10px;
--nav-h: 60px; /* carino-navbar.js height; it scrolls with the page */
/* Breakpoints (media queries cannot read a token, so these are the rule):
900px and below, a workspace settings rail becomes a drawer;
640px and below, the phone layout. Nothing else. */
/* ---- type scale ----------------------------------------------
Thirteen named steps and nothing in between: size text with a
token, never a raw value. --fs-micro is the legibility floor —
no UI text below it, ever. Display sizes are fluid (clamp), so
heroes never overflow a laptop. Body base stays 15–16px.
(Decorative glyphs — watermark numerals, emoji, SVG-canvas
labels — may size freely; the scale governs readable text.)
px equivalents assume the 16px root. */
--fs-micro: 0.6rem; /* 9.6px tiny tags, fine print, table meta */
--fs-label: 0.65rem; /* 10.4px mono uppercase labels, chips */
--fs-btn: 0.7rem; /* 11.2px buttons, tabs, kickers, nav */
--fs-sm: 0.8rem; /* 12.8px dense UI text, tables, alerts, code */
--fs-mono: 0.85rem; /* 13.6px mono data, ledes in mono */
--fs-sec: 0.9rem; /* 14.4px secondary prose */
--fs-body: 1rem; /* 16px primary reading text */
--fs-lg: 1.05rem; /* 16.8px emphasised body, card titles */
--fs-h3: 1.2rem; /* 19.2px card / panel headings */
--fs-h2: 1.5rem; /* 24px section headings */
--fs-h1: 1.9rem; /* 30.4px page headings */
--fs-display: 2.4rem; /* 38.4px display text, the wordmark */
--fs-hero: clamp(2.6rem, 7vw, 4.6rem); /* landing hero — always fluid */
}
* { box-sizing: border-box; }
/* Slim scrollbars in every engine — the cross-browser recipe projects copy.
::-webkit-scrollbar covers Chromium + WebKit; Firefox has no pseudo-element,
only these two inherited properties, so setting them on :root cascades to
every scroll container. Keep both — neither engine reads the other's. */
:root { scrollbar-width: thin; scrollbar-color: #3a3a3a transparent; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #3a3a3a; border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-dim); }
body {
margin: 0; background: var(--bg); color: var(--text);
font-family: var(--sans); font-size: 15px; line-height: 1.6;
-webkit-font-smoothing: antialiased;
}
a { color: var(--accent); }
/* Components below set display:flex/grid; the hidden attribute still wins. */
[hidden] { display: none !important; }
code, .mono { font-family: var(--mono); }
/* ============ 3. typography ============ */
.t-hero { font-family: var(--display); font-weight: 900; font-size: var(--fs-hero); text-transform: uppercase; line-height: 0.95; }
.t-display { font-family: var(--display); font-weight: 900; font-size: var(--fs-display); text-transform: uppercase; line-height: 1; }
.t-h1 { font-family: var(--display); font-weight: 900; font-size: var(--fs-h1); text-transform: uppercase; }
.t-h2 { font-family: var(--display); font-weight: 900; font-size: var(--fs-h2); text-transform: uppercase; }
.t-h3 { font-family: var(--display); font-weight: 900; font-size: var(--fs-h3); text-transform: uppercase; }
.t-lg { font-family: var(--sans); font-size: var(--fs-lg); font-weight: 700; color: var(--text); }
.t-body { font-family: var(--sans); font-size: var(--fs-body); color: var(--text); }
.t-sec { font-family: var(--sans); font-size: var(--fs-sec); color: var(--text-sec); }
.t-mono { font-family: var(--mono); font-size: var(--fs-mono); color: var(--text); }
.t-sm { font-family: var(--sans); font-size: var(--fs-sm); color: var(--text-sec); }
.t-btn-sample { font-family: var(--mono); font-size: var(--fs-btn); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-sec); }
.t-label { font-family: var(--mono); font-size: var(--fs-label); text-transform: uppercase; letter-spacing: 0.14em; color: var(--text-muted); }
.t-micro { font-family: var(--mono); font-size: var(--fs-micro); text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); }
.wordmark { font-family: var(--display); font-weight: 900; font-size: var(--fs-display); background: var(--gold-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
/* ============ 4. buttons ============ */
.btn {
display: inline-flex; align-items: center; gap: 8px;
font-family: var(--mono); font-size: var(--fs-btn); font-weight: 700;
text-transform: uppercase; letter-spacing: 0.06em;
padding: 0 16px; height: 38px; border-radius: 6px; cursor: pointer;
border: 1px solid var(--border); background: transparent; color: var(--text-sec);
transition: 0.18s; text-decoration: none;
}
.btn:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-faint); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: #050505; }
.btn-primary:hover { background: #fbbf24; color: #050505; box-shadow: 0 4px 16px var(--accent-glow); }
.btn-ghost { border-color: transparent; }
.btn-ghost:hover { border-color: var(--border); background: transparent; color: var(--text); }
.btn:disabled, .btn.disabled { opacity: 0.35; pointer-events: none; }
/* toggle / segmented buttons (module & template style) */
.toggle-btn {
font-family: var(--mono); font-size: var(--fs-btn); text-transform: uppercase; letter-spacing: 0.05em;
padding: 8px 14px; border-radius: 4px; cursor: pointer; transition: 0.18s;
border: 1px solid var(--border); background: transparent; color: var(--text-sec);
}
.toggle-btn:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-faint); }
.toggle-btn.active { background: var(--accent); border-color: var(--accent); color: #050505; font-weight: 700; }
/* ============ 5. tabs ============ */
.tabbar { display: flex; gap: 4px; border-bottom: 1px solid var(--border); }
.tabbtn {
font-family: var(--mono); font-size: var(--fs-btn); text-transform: uppercase; letter-spacing: 0.06em;
padding: 10px 16px; cursor: pointer; color: var(--text-sec); background: transparent;
border: none; border-bottom: 2px solid transparent; margin-bottom: -1px; transition: 0.15s;
}
.tabbtn:hover { color: var(--text); }
.tabbtn.active { color: var(--accent); border-bottom-color: var(--accent); }
.tabpane { padding: 18px 2px 2px; color: var(--text-sec); font-size: var(--fs-sec); }
/* ============ 6. forms ============ */
.field { display: flex; flex-direction: column; gap: 6px; min-width: 220px; }
.field label { font-family: var(--mono); font-size: var(--fs-micro); text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); }
.input, .select, .textarea {
background: var(--bg-elev); border: 1px solid var(--border); border-radius: 6px;
color: var(--text); font-family: var(--mono); font-size: var(--fs-sm);
padding: 9px 11px; width: 100%; transition: 0.15s;
}
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-faint); }
.textarea { resize: vertical; min-height: 84px; line-height: 1.5; }
.select option { background: #111; }
.check { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: var(--fs-btn); text-transform: uppercase; color: var(--text-sec); cursor: pointer; }
.check input { accent-color: var(--accent); width: 15px; height: 15px; }
/* switch */
.switch { position: relative; width: 42px; height: 22px; flex-shrink: 0; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch .track { position: absolute; inset: 0; background: var(--bg-elev); border: 1px solid var(--border); border-radius: 999px; transition: 0.2s; }
.switch .track::before { content: ""; position: absolute; width: 16px; height: 16px; left: 2px; top: 2px; background: var(--text-muted); border-radius: 50%; transition: 0.2s; }
.switch input:checked + .track { background: var(--accent-faint); border-color: var(--accent); }
.switch input:checked + .track::before { transform: translateX(20px); background: var(--accent); }
/* ============ 7. alerts ============ */
.alert { border: 1px solid; border-radius: 8px; padding: 12px 14px; font-family: var(--mono); font-size: var(--fs-sm); line-height: 1.5; margin-bottom: 10px; }
.alert:last-child { margin-bottom: 0; }
.alert.ok { color: #86efac; background: rgba(34,197,94,0.08); border-color: rgba(34,197,94,0.5); }
.alert.warn { color: #fcd34d; background: rgba(234,179,8,0.08); border-color: rgba(234,179,8,0.45); }
.alert.err { color: #fca5a5; background: rgba(239,68,68,0.08); border-color: rgba(239,68,68,0.5); }
.alert.info { color: #bae6fd; background: color-mix(in srgb, var(--info) 8%, transparent); border-color: color-mix(in srgb, var(--info) 50%, transparent); }
.alert code { background: #1a1a1a; padding: 1px 5px; border-radius: 3px; color: #fde68a; }
.alert b { color: #fde68a; }
/* ============ 8. badges & chips ============ */
.chip-tag { font-family: var(--mono); font-size: var(--fs-micro); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); border: 1px solid var(--border); border-radius: 4px; padding: 3px 6px; text-decoration: none; }
/* split-brand: in the navbar the chip is an (app reload) next
to the wordmark's (hub) */
a.chip-tag { transition: 0.2s; }
a.chip-tag:hover { border-color: var(--accent); background: var(--accent-glow); }
.chip-tz { font-family: var(--mono); font-size: var(--fs-micro); font-weight: 700; color: #050505; background: var(--accent); padding: 2px 5px; border-radius: 3px; }
.pill { font-family: var(--mono); font-size: var(--fs-micro); text-transform: uppercase; letter-spacing: 0.05em; border-radius: 999px; padding: 3px 10px; border: 1px solid; }
.pill.ok { color: var(--ok); border-color: rgba(34,197,94,0.4); background: rgba(34,197,94,0.08); }
.pill.warn{ color: var(--warn);border-color: rgba(234,179,8,0.4); background: rgba(234,179,8,0.08); }
.pill.err { color: var(--err); border-color: rgba(239,68,68,0.4); background: rgba(239,68,68,0.08); }
.dot { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: var(--fs-btn); color: var(--text-sec); }
.dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.dot.live::before { animation: pulse 1.6s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }
/* AI Bloat Certified: a two-part seal for the top of a project page. Gold half with the
rosette, dark half with the verdict; one gold hairline around both. */
.cert-badge { display: inline-flex; align-items: stretch; vertical-align: middle; font-family: var(--mono); font-size: var(--fs-label); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; line-height: 1; border: 1px solid var(--accent); border-radius: 5px; overflow: hidden; white-space: nowrap; box-shadow: 0 0 14px var(--accent-glow); }
.cert-badge .cert-l { display: inline-flex; align-items: center; gap: 6px; padding: 5px 8px 5px 5px; background: var(--accent); color: #050505; }
.cert-badge .cert-r { display: inline-flex; align-items: center; padding: 5px 9px; background: var(--bg-card); color: var(--accent); }
.cert-badge .cert-seal { width: 15px; height: 15px; flex: none; }
.cert-badge .cert-rosette { fill: #050505; }
.cert-badge .cert-check { fill: none; stroke: var(--accent); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
/* ============ 9. cards ============ */
.card {
display: flex; flex-direction: column; background: var(--bg-card);
border: 1px solid var(--border); padding: 22px; border-radius: 12px; transition: 0.22s;
}
.card:hover { border-color: var(--accent); background: linear-gradient(145deg,#17120a 0%,#0b0b0b 100%); transform: translateY(-4px); box-shadow: 0 14px 28px rgba(0,0,0,0.6), 0 0 22px var(--accent-glow); }
.c-title { font-size: var(--fs-lg); font-weight: 700; margin-bottom: 6px; }
.c-desc { font-size: var(--fs-mono); color: var(--text-sec); line-height: 1.6; flex: 1; }
.c-link { margin-top: 16px; font-family: var(--mono); font-size: var(--fs-btn); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; color: var(--accent); }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px,1fr)); gap: 14px; }
.panel-header { display: flex; justify-content: space-between; align-items: flex-end; border-bottom: 1px solid var(--border); padding-bottom: 14px; }
.panel-title { font-family: var(--display); font-weight: 900; font-size: var(--fs-h1); text-transform: uppercase; letter-spacing: 1px; }
.panel-desc { font-family: var(--mono); font-size: var(--fs-sm); color: var(--text-sec); margin-top: 6px; }
.panel-num { font-family: var(--display); font-weight: 900; font-size: 3.2rem; line-height: 0.8; color: rgba(234,179,8,0.12); user-select: none; }
/* ============ 10. dropdown / diagnostics ============ */
.diag-wrap { position: relative; display: inline-block; }
.diag-toggle {
display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
background: transparent; border: 1px solid var(--border); color: var(--text-sec);
font-family: var(--mono); font-size: var(--fs-btn); text-transform: uppercase; letter-spacing: 0.05em;
padding: 8px 12px; border-radius: 6px; transition: 0.18s;
}
.diag-toggle:hover, .diag-toggle.open { border-color: var(--accent); color: var(--accent); background: var(--accent-faint); }
.diag-dropdown {
position: absolute; top: calc(100% + 8px); right: 0; width: 260px;
background: var(--bg-card); border: 1px solid var(--accent-dim); border-radius: 8px;
padding: 14px; box-shadow: 0 18px 40px rgba(0,0,0,0.7); display: none; z-index: 20;
}
.diag-dropdown.open { display: block; }
.diag-section { font-family: var(--mono); font-size: var(--fs-micro); text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); opacity: 0.6; border-bottom: 1px solid var(--border); padding-bottom: 3px; margin: 4px 0 8px; }
.diag-row { display: flex; justify-content: space-between; font-family: var(--mono); font-size: var(--fs-btn); margin-bottom: 6px; }
.diag-lbl { color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.diag-val { color: var(--text); }
/* Wrap two short readings in .diag-pair to put them on one line. Each half
keeps its natural width, so a long value or translation wraps the pair
back into full-width rows instead of truncating. */
.diag-pair { display: flex; flex-wrap: wrap; justify-content: space-between; column-gap: 20px; }
.diag-pair > .diag-row { flex: 0 1 auto; min-width: max-content; gap: 8px; }
/* ============ 11. table ============ */
table.data { width: 100%; border-collapse: collapse; font-family: var(--mono); font-size: var(--fs-sm); }
table.data th { text-align: left; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; font-size: var(--fs-micro); font-weight: 700; padding: 8px 12px; border-bottom: 1px solid var(--border); }
table.data td { padding: 9px 12px; border-bottom: 1px solid var(--border); color: var(--text-sec); }
table.data tr:hover td { background: var(--accent-faint); color: var(--text); }
/* ============ 12. code ============ */
pre.code { background: var(--bg-elev); border: 1px solid var(--border); border-radius: 8px; padding: 16px; overflow-x: auto; font-family: var(--mono); font-size: var(--fs-sm); line-height: 1.6; color: #e0e0e0; margin: 0; }
pre.code .k { color: var(--accent); }
pre.code .c { color: var(--text-muted); }
/* ============ 13. loading ============ */
.spinner { width: 26px; height: 26px; border: 2px solid var(--border); border-top-color: var(--accent); border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.progress { width: 260px; height: 6px; background: var(--bg-elev); border: 1px solid var(--border); border-radius: 999px; overflow: hidden; }
.progress > span { display: block; height: 100%; width: 62%; background: var(--accent); border-radius: 999px; box-shadow: 0 0 10px var(--accent-glow); }
.ekg { width: 180px; height: 44px; }
.ekg .trace { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 4px var(--accent-glow)); stroke-dasharray: 320; stroke-dashoffset: 320; animation: ekg 1.8s linear infinite; }
@keyframes ekg { to { stroke-dashoffset: -320; } }
/* ============ 15. toast ============ */
.toast {
position: fixed; top: 76px; right: 20px; z-index: 9999;
display: inline-flex; align-items: center; gap: 10px;
font-family: var(--mono); font-size: var(--fs-sm); font-weight: 700;
padding: 11px 16px; border-radius: 8px; border: 1px solid;
box-shadow: 0 10px 30px rgba(0,0,0,0.55);
opacity: 0; transform: translateY(-10px); pointer-events: none; transition: 0.2s ease;
}
.toast.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.toast.ok { color: #86efac; background: rgba(34,197,94,0.10); border-color: rgba(34,197,94,0.5); }
.toast.info { color: #bae6fd; background: color-mix(in srgb, var(--info) 10%, transparent); border-color: color-mix(in srgb, var(--info) 50%, transparent); }
.toast.warn { color: #fde68a; background: rgba(234,179,8,0.10); border-color: rgba(234,179,8,0.45); }
.toast.err { color: #fca5a5; background: rgba(239,68,68,0.10); border-color: rgba(239,68,68,0.5); }
/* ============ 16. navbar action portal ============ */
/* carino-navbar.js relocates the real DOM node marked [data-carino-actions]
into the navbar's .cn-right (handlers and ids survive) and removes the
[data-carino-strip] wrapper. Controls riding in the bar follow this 32px
recipe — the compact sibling of .btn. */
.cs-btn {
display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px;
font-family: var(--mono); font-size: var(--fs-label); font-weight: 700;
text-transform: uppercase; letter-spacing: 0.06em; white-space: nowrap;
border: 1px solid var(--border); border-radius: 6px; background: transparent;
color: var(--text-sec); cursor: pointer; transition: 0.18s; text-decoration: none;
}
.cs-btn:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-faint); }
.cs-btn:disabled, .cs-btn.disabled { opacity: 0.35; pointer-events: none; }
/* a toggle that is on (pause, a chosen view, sound) */
.cs-btn[aria-pressed="true"] { border-color: var(--accent); color: var(--accent); background: var(--accent-faint); }
/* the one filled control in the bar: a page's main action */
.cs-btn.primary { background: var(--accent); border-color: var(--accent); color: #050505; }
.cs-btn.primary:hover { background: #fbbf24; color: #050505; box-shadow: 0 4px 16px var(--accent-glow); }
/* ---- Export menu: every output of a tool behind one navbar button ----
carino-ui.js opens and closes it. When the navbar folds the controls
into its ⋯ menu, the items show there directly. Reference: Topo. */
.cs-menu { position: relative; display: flex; }
.cs-caret { font-size: 0.6rem; opacity: 0.7; margin-left: 1px; }
.cs-menu-panel {
position: absolute; top: calc(100% + 6px); right: 0; z-index: 60; min-width: 210px; padding: 6px;
display: flex; flex-direction: column; gap: 1px;
background: var(--bg-card); border: 1px solid var(--border); border-radius: 8px; box-shadow: 0 12px 32px rgba(0,0,0,0.55);
}
.cs-menu-item {
display: flex; align-items: center; gap: 8px; width: 100%; padding: 7px 10px; border: none; border-radius: 5px;
background: transparent; color: var(--text-sec); font-family: var(--sans); font-size: var(--fs-sm);
text-align: left; white-space: nowrap; cursor: pointer; transition: 0.15s; text-decoration: none;
}
.cs-menu-item:hover, .cs-menu-item:focus-visible { background: var(--accent-faint); color: var(--accent); outline: none; }
.cs-menu-item.danger { color: #fca5a5; }
.cs-menu-item.danger:hover { background: rgba(239,68,68,0.08); color: var(--err); }
.cs-menu-item:disabled { opacity: 0.35; pointer-events: none; }
.cs-menu-note { margin-left: auto; padding-left: 14px; font-family: var(--mono); font-size: var(--fs-micro); color: var(--text-muted); }
.cs-menu-div { height: 1px; background: var(--border); margin: 4px; }
/* On a phone the panel hangs from the screen's right edge, not the
button's, so it never runs off the left side. */
@media (max-width: 640px) { .cs-menu-panel { position: fixed; top: calc(var(--nav-h) + 6px); right: 12px; } }
#carinoNav .cn-more-menu .cs-menu { flex-basis: 100%; }
#carinoNav .cn-more-menu .cs-menu > [aria-haspopup] { display: none; }
#carinoNav .cn-more-menu .cs-menu-panel, #carinoNav .cn-more-menu .cs-menu-panel[hidden] {
display: flex !important; position: static; min-width: 0; padding: 0; border: 0; box-shadow: none; background: transparent;
}
/* ============ 17. dropzone ============ */
.dropzone {
border: 2px dashed var(--border); border-radius: 10px; padding: 30px 18px;
text-align: center; cursor: pointer; background: var(--bg-elev);
color: var(--text-sec); font-size: var(--fs-sec); transition: 0.18s;
}
.dropzone strong { font-family: var(--mono); color: var(--accent); font-weight: 700; }
.dropzone:hover, .dropzone.dragover { border-color: var(--accent); background: var(--accent-faint); box-shadow: 0 0 24px var(--accent-glow); }
.dropzone.success { border-color: var(--ok); border-style: solid; }
.dz-icon { font-size: 1.6rem; margin-bottom: 8px; opacity: 0.8; }
.dz-hint { font-family: var(--mono); font-size: var(--fs-label); color: var(--text-muted); margin-top: 6px; text-transform: uppercase; letter-spacing: 0.08em; }
/* ============ 18. modal & scrim ============ */
/* Above the navbar (which sits at 2147483000 to stay over app content),
so a tall dialog's head is never hidden under it. */
.modal-scrim {
position: fixed; inset: 0; z-index: 2147483600; padding: 24px;
display: flex; align-items: center; justify-content: center;
background: rgba(0,0,0,0.65); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.modal-scrim[hidden] { display: none; }
/* .modal on a native