/* StoreFab theme layer — the Pip-Boy pass (Workstream I).
   Black + neon (#39FF14) was already the palette; this layer adds
   the CRT feel on top WITHOUT touching layout: the overlay is
   fixed and pointer-events:none, glows are shadows, and every
   animation is short, one-shot, or tiny. Clarity outranks vibe —
   if a rule ever fights readability, readability wins.
   Loaded AFTER each page's own styles so it can lean on them. */

/* ---- CRT screen: scanlines + a faint vignette, MACHINE ROOM
   ONLY (cleanup pile, 2026-11-03 — Gemini review S2#5, founder
   adopted): the overlay used to ride over EVERY screen and made
   working text fuzzy in daylight. Now the tube effect lives
   only inside the machine room box, where it's the show; plans,
   lists and settings stay crisp. ---- */
.sf-machine::after{
  content:""; position:absolute; inset:0; z-index:3; pointer-events:none;
  background:
    radial-gradient(ellipse at center, transparent 58%, rgba(0,0,0,.38) 100%),
    repeating-linear-gradient(0deg, rgba(0,0,0,.14) 0 1px, transparent 1px 3px);
  opacity:.55;
}

/* ---- Glow: headings and the brand carry the tube light ---- */
h1, h2{ text-shadow:0 0 16px rgba(57,255,20,.35), 0 0 3px rgba(57,255,20,.45); }
.brand{ text-shadow:0 0 14px rgba(57,255,20,.35); }
img.brand-icon{ filter:drop-shadow(0 0 5px rgba(57,255,20,.45)); }

/* The torch spark: a drop-shadow pulse on the wordmark image.
   Mostly steady, with two quick dips — a spark, not a strobe. */
.logo-card img{
  filter:drop-shadow(0 0 7px rgba(57,255,20,.35));
  animation:sf-spark 4.2s linear infinite;
}
@keyframes sf-spark{
  0%, 86%, 100%{ filter:drop-shadow(0 0 7px rgba(57,255,20,.35)); }
  88%{ filter:drop-shadow(0 0 13px rgba(57,255,20,.75)); }
  91%{ filter:drop-shadow(0 0 3px rgba(57,255,20,.2)); }
  94%{ filter:drop-shadow(0 0 10px rgba(57,255,20,.6)); }
}

/* ---- Pip-Boy panels: chunky double frame + corner brackets ---- */
.logo-card{ box-shadow:0 0 0 2px #0A0C0A, 0 0 0 4px rgba(57,255,20,.45), 0 0 24px rgba(57,255,20,.15); }
.sf-panel{ position:relative; }
.sf-panel::before, .sf-panel::after{
  content:""; position:absolute; width:14px; height:14px; pointer-events:none;
  border:0 solid #39FF14;
}
.sf-panel::before{ top:-2px; left:-2px; border-top-width:3px; border-left-width:3px; }
.sf-panel::after{ bottom:-2px; right:-2px; border-bottom-width:3px; border-right-width:3px; }

/* ---- Numbers read like a terminal: mono + tabular ---- */
body{ font-variant-numeric:tabular-nums; }
.sf-num{ font-family:ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-variant-numeric:tabular-nums; }

/* ---- The blinking block cursor after a main heading ---- */
.sf-cursor::after{
  content:" ▮"; color:#39FF14; font-size:.82em;
  animation:sf-blink 1.1s steps(1) infinite;
}
@keyframes sf-blink{ 0%, 54%{ opacity:1; } 55%, 100%{ opacity:0; } }

/* ---- Power-on: one short flicker as the panel first paints ---- */
.sf-poweron{ animation:sf-poweron .24s steps(2) 1; }
@keyframes sf-poweron{ 0%{ opacity:.35; } 45%{ opacity:1; } 70%{ opacity:.6; } 100%{ opacity:1; } }

/* ---- Buttons feel physical: hover glow, 1px press ---- */
.btn{ transition:transform .05s ease, box-shadow .15s ease; }
.btn:hover{ box-shadow:0 0 12px rgba(57,255,20,.35); }
.btn:active{ transform:translateY(1px); }

/* ---- Fab: a tiny face that blinks (the Gumby-vibe moment) ---- */
.sf-fab-face{
  display:inline-block; width:15px; height:15px; border-radius:4px;
  background:#12240a; border:1.5px solid #39FF14; position:relative;
  vertical-align:-2px; margin-right:6px;
  box-shadow:0 0 8px rgba(57,255,20,.35);
}
.sf-fab-face::before, .sf-fab-face::after{
  content:""; position:absolute; top:5px; width:2.5px; height:3.5px;
  border-radius:2px; background:#39FF14; transform-origin:center;
  animation:sf-eyeblink 4.6s ease-in-out infinite;
}
.sf-fab-face::before{ left:3.5px; }
.sf-fab-face::after{ right:3.5px; }
@keyframes sf-eyeblink{ 0%, 91%, 100%{ transform:scaleY(1); } 94%, 96%{ transform:scaleY(.12); } }

/* ---- The working bar (pile #5, Workstream E): ONE shared
   progress component for audits and fix runs alike. It POPS —
   animated diagonal stripes ride the fill, the leading edge
   glows and pulses, counts sit in mono numerals. Indeterminate
   (no total yet) = the stripes animate across the whole track.
   The theme's reduced-motion block below kills the stripes and
   the pulse; the fill itself still moves, because a frozen bar
   would lie about work happening. ---- */
.sf-work{ margin:10px 0; }
.sf-work-track{
  height:16px; border-radius:9px; overflow:hidden; position:relative;
  background:#050705; border:1.5px solid #2B6C1A;
}
.sf-work-fill{
  height:100%; width:0%;
  background:
    repeating-linear-gradient(45deg, rgba(10,12,10,.28) 0 12px, transparent 12px 24px),
    linear-gradient(90deg, #2B6C1A, #39FF14);
  background-size:34px 100%, 100% 100%;
  animation:sf-stripes .7s linear infinite;
  box-shadow:2px 0 14px rgba(57,255,20,.85), 0 0 22px rgba(57,255,20,.35);
  transition:width .5s ease;
}
.sf-work-fill::after{
  content:""; position:absolute; top:0; right:0; width:10px; height:100%;
  background:rgba(255,255,255,.55); filter:blur(3px);
  animation:sf-edgepulse 1.1s ease-in-out infinite;
}
.sf-work.indet .sf-work-fill{ width:100% !important; opacity:.75; }
.sf-work-line{ min-height:24px; margin-top:6px; font-size:15px; }
.sf-work-counts{ font-family:ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-variant-numeric:tabular-nums; color:#8dff7a; font-size:13.5px; margin-top:2px; }
@keyframes sf-stripes{ from{ background-position:0 0, 0 0; } to{ background-position:34px 0, 0 0; } }
@keyframes sf-edgepulse{ 0%, 100%{ opacity:.45; } 50%{ opacity:1; } }

/* ---- THE shared run-progress component (.sf-prog) ----
   Founder directive 2026-11-02 16:22: "Animate the bar thats
   showing progress on the fix. Tell what its doing and look
   cool. So they know its doing something. We need this to be
   reliable and trustworthy." ONE component renders progress
   for fix-pack runs AND growth-plan runs (app: sfProgressHTML)
   so the two surfaces can never drift apart.
   TRUST RULES (the founder's word — they outrank the cool):
   - the fill width is EXACTLY processed/total from the run
     record. No minimum-width floor, no easing toward 100, no
     fake creep. 0 processed renders 0%.
   - the shimmer/pulse lives only on the ACTIVE state; a
     finished bar is settled and still.
   - the step label under the bar comes from the run record's
     own current-step field; when no checkpoint has landed for
     a stretch the label says so honestly (see sfStepLabel).
   Layout is stable: the step line reserves its height, so
   labels changing length never make the page jump. */
/* Long-string containment (founder pile 2026-11-02): caption
   and link text — a mile-long Ambassador URL above all — wraps
   INSIDE its card on a phone-width screen instead of pushing
   the page sideways. The copied text is untouched; only the
   display wraps. Standing rule from the same day: a
   mobile-width overflow pass is part of deploy verification.
   Applied to every seller-facing long-string container:
   drip/kit captions, plan lists, audit extras, feed links. */
.sf-wrap{ overflow-wrap:anywhere; }
.sf-prog{ margin:10px 0; }
.sf-prog-track{
  height:16px; border-radius:9px; overflow:hidden; position:relative;
  background:#050705; border:1.5px solid #2B6C1A;
}
.sf-prog-fill{
  height:100%; width:0%; position:relative;
  background:
    repeating-linear-gradient(45deg, rgba(10,12,10,.28) 0 12px, transparent 12px 24px),
    linear-gradient(90deg, #2B6C1A, #39FF14);
  background-size:34px 100%, 100% 100%;
  box-shadow:2px 0 14px rgba(57,255,20,.85), 0 0 22px rgba(57,255,20,.35);
  transition:width .6s ease;
}
.sf-prog.active .sf-prog-fill{ animation:sf-stripes .7s linear infinite; }
.sf-prog.active .sf-prog-fill::after{
  content:""; position:absolute; top:0; right:0; width:10px; height:100%;
  background:rgba(255,255,255,.55); filter:blur(3px);
  animation:sf-edgepulse 1.1s ease-in-out infinite;
}
.sf-prog-step{ min-height:24px; margin-top:6px; font-size:15px; }
.sf-prog-counts{ font-family:ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-variant-numeric:tabular-nums; color:#8dff7a; font-size:13.5px; margin-top:2px; }
/* Long-job monitor lines (unwedge pile, 2026-11-02): the
   freshness stamp turns amber once updates stop, so a stale
   panel LOOKS stale instead of silently freezing. */
.sf-prog-fresh{ font-size:13px; margin-top:2px; }
.sf-prog-fresh.sf-stale{ color:#ffb02e; }
.sf-prog-pace, .sf-prog-leave{ font-size:13px; margin-top:1px; }
@media (prefers-reduced-motion: reduce){
  .sf-prog-fill{ transition:none; }
  .sf-prog.active .sf-prog-fill{ animation:none; }
  .sf-prog.active .sf-prog-fill::after{ animation:none; }
}

/* ---- THE MACHINE ROOM (unwedge pile amendment, 2026-11-02) ----
   Founder directive 22:01 CT: working screens are ANIMATED with
   the action narrated in live text — "geeks like me can watch
   it do the action… its cool to watch the machine run! show the
   machine running immersion 3d visual on brand." ONE shared
   visual (app: sfMachineHTML) wraps every long job — fix runs,
   growth runs, background prepares — and the audit's DEEP SCAN
   screen is its reference chrome (grid, corner brackets, laser,
   big percentage); the scan drives the SAME block math + action
   feed, so the surfaces can never drift apart.
   TRUST RULES (they still outrank the cool):
   - blocks light ONLY from real processed/total (sfBlocksLit
     floors the ratio — a block never lights ahead of the work);
     no total yet = no blocks lit; the sweep breathes and the
     words say what the job is waiting on, honestly.
   - the big percentage is the counts' own, capped at 99 while
     the job is still running — 100 belongs to the receipt.
   - animation is ambience ONLY: pure CSS, no libraries, no
     external assets; a hidden tab pauses it; reduced motion
     stills it while the text keeps telling the truth. */
.sf-machine{
  position:relative; overflow:hidden; margin:10px 0;
  border:2px solid #39FF14; border-radius:16px; padding:14px 16px;
  background:radial-gradient(120% 140% at 50% 0%, #12240c 0%, #0d100d 62%);
}
.sf-machine-wall{
  position:absolute; inset:0; pointer-events:none;
  background:
    repeating-linear-gradient(0deg, rgba(57,255,20,.05) 0 1px, transparent 1px 26px),
    repeating-linear-gradient(90deg, rgba(57,255,20,.05) 0 1px, transparent 1px 26px);
}
/* The floor: a grid plane tipped away from the viewer — the
   room's depth. Pure transform; no canvas, no WebGL. */
.sf-machine-floor{
  position:absolute; left:-30%; right:-30%; bottom:-4%; height:52%;
  pointer-events:none; opacity:.55;
  background:
    repeating-linear-gradient(0deg, rgba(57,255,20,.13) 0 1px, transparent 1px 22px),
    repeating-linear-gradient(90deg, rgba(57,255,20,.13) 0 1px, transparent 1px 34px);
  transform:perspective(300px) rotateX(63deg); transform-origin:bottom;
  -webkit-mask-image:linear-gradient(to top, rgba(0,0,0,.9) 55%, transparent 98%);
  mask-image:linear-gradient(to top, rgba(0,0,0,.9) 55%, transparent 98%);
}
.sf-machine-sweep{
  position:absolute; left:0; width:100%; height:3px; pointer-events:none;
  background:#39FF14; box-shadow:0 0 14px #39FF14, 0 0 34px rgba(57,255,20,.6);
  animation:sfMachineSweep 2.6s linear infinite alternate;
}
@keyframes sfMachineSweep{ from{ top:-4px; } to{ top:102%; } }
.sf-machine .sf-corner{ position:absolute; width:18px; height:18px; border:3px solid #39FF14; pointer-events:none; }
.sf-machine-head{ display:flex; justify-content:space-between; align-items:baseline; position:relative; flex-wrap:wrap; column-gap:10px; }
.sf-machine-name{ font-family:'Courier New',monospace; font-size:12px; letter-spacing:2px; color:#39FF14; }
.sf-machine-dot{ animation:sfMachineBlink 1.1s steps(1) infinite; }
@keyframes sfMachineBlink{ 0%,100%{ opacity:1; } 50%{ opacity:.25; } }
.sf-machine-pct{ font-family:'Permanent Marker',cursive; font-size:34px; color:#39FF14; text-shadow:0 0 12px rgba(57,255,20,.7); }
/* The block field: 48 blocks, 12 columns — shared by the
   machine room and the DEEP SCAN screen (one math, one look).
   Lit blocks are steady; only the frontier block pulses. */
.sf-blocks{ display:grid; grid-template-columns:repeat(12,1fr); gap:5px; margin-top:12px; position:relative; }
.sf-block{ height:14px; border-radius:4px; border:1px solid #2B6C1A; background:#0d100d; transition:background .3s; }
.sf-block.on{ background:#39FF14; box-shadow:0 0 8px rgba(57,255,20,.8); }
.sf-block.hot{ animation:sfBlockPulse 1.1s ease-in-out infinite; }
@keyframes sfBlockPulse{ 0%,100%{ box-shadow:0 0 5px rgba(57,255,20,.5); } 50%{ box-shadow:0 0 16px rgba(57,255,20,1); } }
/* The action feed: the job's own steps, streaming as they
   land. Six lines max, newest at the bottom, older lines
   faded — a readable tail, never an infinite log. The words
   are the worker's own checkpoint labels, never decoration. */
.sf-feed{
  display:flex; flex-direction:column; justify-content:flex-end;
  height:8.3em; overflow:hidden; position:relative; margin-top:10px;
  font-family:ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size:12.5px; line-height:1.38; color:#8dff7a;
}
.sf-feed-line{ overflow-wrap:anywhere; }
.sf-feed-line.new{ animation:sfFeedIn .3s ease; }
@keyframes sfFeedIn{ from{ opacity:0; transform:translateY(5px); } to{ opacity:1; transform:translateY(0); } }
/* A hidden tab pauses the show — no animation budget spent on
   a screen nobody is watching (the polls keep the words true). */
body.sf-tab-hidden .sf-machine-sweep,
body.sf-tab-hidden .sf-block.hot,
body.sf-tab-hidden .sf-machine-dot,
body.sf-tab-hidden .sf-feed-line.new,
body.sf-tab-hidden #sfScan div,
body.sf-tab-hidden .sf-prog.active .sf-prog-fill,
body.sf-tab-hidden .sf-work-fill{ animation-play-state:paused !important; }
/* Reduced motion: the room goes calm and still — the sweep is
   gone, nothing pulses — while every number and feed line
   keeps updating. (The theme-wide kill switch below also
   applies; this block names the machine's own pieces.) */
@media (prefers-reduced-motion: reduce){
  .sf-machine-sweep{ display:none; }
  .sf-block.hot{ animation:none; }
  .sf-feed-line.new{ animation:none; }
  .sf-machine-dot{ animation:none; }
}

/* ---- The on/off switch (pile #5.1): the familiar face on the
   Best Offer call. The select it drives (.fx-switch-src) stays
   in the form as the field of record — presentation only, the
   save path reads the same string it always did. ---- */
.fx-switch-src{ display:none; }
.fx-switch{
  display:inline-block; width:48px; height:27px; border-radius:999px;
  background:#050705; border:1.5px solid #2B6C1A; position:relative;
  cursor:pointer; vertical-align:middle; padding:0;
}
.fx-switch-knob{
  position:absolute; top:2px; left:2px; width:20px; height:20px; border-radius:50%;
  background:#B9C4B9; transition:left .15s ease, background .15s ease;
}
.fx-switch.on{ background:#2B6C1A; box-shadow:0 0 10px rgba(57,255,20,.35); }
.fx-switch.on .fx-switch-knob{ left:24px; background:#39FF14; }

/* ---- The editor action zone sits IN THE FLOW (cleanup pile,
   2026-11-03 — Gemini review S1#1, founder adopted): pile #5.1
   pinned this block to the bottom of narrow viewports; it rode
   over the listing rows while scrolling and made the page feel
   broken (the founder's "windows that stay on top" complaint).
   NO sticky windows: the review line + gate render at the end
   of the list like any other content, on every screen size. ---- */
.fx-actionzone{
  position:static;
  border-top:1.5px solid var(--line);
  padding:12px 0; margin-top:16px;
}

/* ---- The running-job strip (cleanup pile, 2026-11-03): the
   ONE sanctioned sticky element — a slim one-line status bar
   (the founder's front-and-center rule, as modified in the
   review walk: a status line, never a pinned window). It docks
   at the top of the live card; rows are a single truncated line
   each, tap goes to the job's monitor. ---- */
/* Slimming pass (founder screenshots, 2026-11-07): the dock
   is OPAQUE now. The outcome rows are transparent buttons by
   design, and stuck at the top they let scrolled text bleed
   straight through — banners printed over headings. An
   opaque panel background + a bottom edge keeps the one
   sanctioned bar readable and the content under it covered
   cleanly, never mixed. Only the newest outcome row paints
   (sfJobStripRender), so the dock stays one slim bar tall. */
#sfJobStrip{ position:sticky; top:0; z-index:60; background:var(--panel, #101410); border-bottom:1px solid var(--line, #2B6C1A); padding-top:4px; }
.sf-jobrow{
  display:block; width:100%; text-align:left;
  margin:0 0 4px; padding:7px 12px; min-height:36px;
  font-size:13.5px; line-height:1.25;
}
/* Row anatomy (liveness layer, 2026-11-05): line 1 is state +
   job + the real count, one truncated line as before. Line 2
   (.sf-jobrow-live) is the living part — the current step in
   plain words plus the client-clock line ("3:24 in · updated
   6 seconds ago") the app ticker rewrites every second. It
   wraps instead of truncating: on a phone the step and the
   timer are the proof of life, and they stay fully visible
   under the sticky bar without scrolling. */
.sf-jobrow-main{ display:block; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.sf-jobrow-live{ display:block; margin-top:2px; font-size:12.5px; font-weight:400; white-space:normal; overflow-wrap:anywhere; }
.sf-jobrow-live .sf-jobrow-step{ font-weight:700; }
.sf-jobrow-live.sf-stale{ color:#ffb02e; }
/* The current-item readout (founder, 2026-11-05 12:21 + the
   12:22 scrolling amendment): when a job carries a current
   item, the live line becomes a flex row — the readout scrolls
   in its track, the clock line stays put beside it. The strip
   stays its two lines: the marquee lives INSIDE the live
   line's height, overflow hidden, and the DOM text is the
   whole line — scrolling is presentation only. */
.sf-jobrow-live--now{ display:flex; align-items:baseline; gap:8px; }
.sf-jobrow-live--now .sf-marquee{ flex:1 1 auto; min-width:0; }
.sf-jobrow-live--now [data-sf-strip-live]{ flex:0 0 auto; }
.sf-marquee{ display:block; overflow:hidden; white-space:nowrap; max-width:100%; }
.sf-marquee-in{ display:inline-block; white-space:nowrap; will-change:transform; }
.sf-marquee-in.sf-mq-on{ animation:sf-marquee-scroll var(--sf-mq-dur, 14s) linear infinite; }
@keyframes sf-marquee-scroll{
  0%, 10%{ transform:translateX(0); }
  90%, 100%{ transform:translateX(var(--sf-mq-shift, 0px)); }
}
/* The same readout inside the machine room's progress block. */
.sf-prog-now{ margin-top:2px; font-size:13px; }
/* Calm stills the scroll (motion is ambience — the words and
   counts stay identical): the line stands still in its static
   truncated form. Reduced motion reaches the same place via
   the global kill at the bottom of this sheet, plus the
   truncated form below. */
.sf-calm .sf-marquee-in, body.sf-calm .sf-marquee-in{
  animation:none !important; transform:none !important;
  display:block; overflow:hidden; text-overflow:ellipsis;
}
@media (prefers-reduced-motion: reduce){
  .sf-marquee-in{ display:block; overflow:hidden; text-overflow:ellipsis; }
}
/* Outcome rows: when a job lands, its bar row resolves in
   place to the outcome line instead of vanishing. Ghost
   styling — the news, not another call to action. */
.sf-jobrow-done{ background:transparent; color:var(--neon); border:2px solid var(--line); }
.sf-jobrow-failed{ background:transparent; color:#ffb02e; border:2px solid #7a5a17; }
/* Indeterminate phase (total honestly unknown): the same
   moving stripes the progress bars use — motion says
   "working", the words beside it say the count lands when
   the job knows it. Never a made-up percent. */
.sf-jobrow-indet{
  background:
    repeating-linear-gradient(45deg, rgba(10,12,10,.16) 0 12px, transparent 12px 24px),
    var(--neon);
  background-size:34px 100%, 100% 100%;
  animation:sf-stripes .7s linear infinite;
}
@media (max-width:560px){
  .sf-jobrow{ font-size:13px; padding:7px 10px; }
  .sf-jobrow-live{ font-size:12px; }
}

/* ---- Form fields wear the theme (founder fix, 2026-11-05):
   until now NO rule anywhere styled a field — the app base
   styles and this sheet both skipped inputs entirely, and
   every field is generated with inline styles that set only
   layout (width / padding / min-height), never paint. So the
   browser painted every text box with its own default:
   white box, black text, grey edge — a sticker on a black +
   neon page (the founder: "The white text boxes seem off").
   ONE rule set here, in the spirit of the DC Command board's
   fields: near-black field, light text, green edge, neon
   ring on focus. Every surface that links this sheet (app,
   owner, grading, landing) gets the same fields. Inline
   layout still wins where a field sets it — this layer owns
   only the paint. Checkboxes and radios keep their native
   shape under a neon accent, and the hidden field-of-record
   select (.fx-switch-src) stays hidden: nothing here sets
   display. color-scheme:dark also turns the browser's own
   control paint (time-picker face, scrollbars, autofill)
   dark at the source. */
:root{ color-scheme:dark; }
input:not([type="checkbox"]):not([type="radio"]),
textarea, select{
  background:#060a07; color:var(--text);
  border:1.5px solid var(--line); border-radius:12px;
  font-family:inherit; font-size:16px;
  padding:10px 12px;
}
input::placeholder, textarea::placeholder{ color:#9DB29D; opacity:1; }
input:focus, textarea:focus, select:focus{
  outline:2px solid rgba(57,255,20,.28); border-color:var(--neon);
}
input:disabled, textarea:disabled, select:disabled{
  opacity:.55; background:#0a0d0a;
}
input[type="checkbox"], input[type="radio"]{
  accent-color:#39FF14; width:17px; height:17px; vertical-align:-3px;
}
select option{ background:#0d100d; color:var(--text); }
/* The browser's autofill paint (pale yellow on Android) is
   repainted in field colors — one inset shadow, painted
   once, no animation. */
input:-webkit-autofill{
  -webkit-text-fill-color:var(--text);
  box-shadow:0 0 0 100px #060a07 inset;
}
/* Selection paints as ONE flat fill — the neon with dark
   text, the same voice as the primary buttons. No shadow,
   no filter: on a phone the highlight lands the instant the
   fingers move, and the words stay readable inside it. The
   matching user-select + touch-action lines keep the field's
   native selection gesture exactly that — native: nothing
   inherited can mute it, and a tap into a field never waits
   on double-tap handling. */
::selection{ background:#39FF14; color:#0A0C0A; }
input, textarea, select{
  -webkit-user-select:text; user-select:text;
  touch-action:manipulation;
}

/* ---- Motion discipline: reduced motion means NO motion ---- */
@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{ animation:none !important; transition:none !important; }
}
