/* ==========================================================================
   Feasix — Feasibility Desk (app.css)

   The workspace is deliberately editorial rather than spreadsheet-like: words
   (verdict, titles, scenario name) wear Newsreader, a warm display serif;
   figures wear Instrument Sans and animate to their values; the mono face is
   reserved for micro-labels and truly tabular rows. Motion is CSS-first —
   entrance staggers, a morphing verdict, a spring drawer — and every moving
   part collapses to a static layout under prefers-reduced-motion.

   THEMING — dark by default, light opt-in.
   Brand tokens (--ink, --paper, --copper …) are re-declared on `body.fx-app`
   so only the app page changes. App tokens (--fx-*) cover surfaces that can't
   derive from a brand colour. The theme is selected by `data-theme` on <html>,
   set before first paint by an inline script in app.html.

   DATA-VIZ — the cost-composition palette (--viz-1..4) is validated per theme
   with the dataviz six-check script against each theme's card surface: hue
   pairs pass CVD separation, the lightness band, the chroma floor and 3:1
   contrast. Segments also carry 2px surface gaps and a legend, so identity is
   never colour-alone. Don't restyle these by eye — re-run the validator.
   ========================================================================== */

/* Registered so the verdict's accent can MORPH between states rather than
   snap. Browsers without @property simply switch instantly — fine. */
@property --v-accent {
  syntax: "<color>";
  inherits: true;
  initial-value: #9c9287;
}

/* --------------------------------------------------------------------------
   0. Tokens
   -------------------------------------------------------------------------- */

/* Motion + type — theme-independent. */
body.fx-app {
  --font-display: "Newsreader", Georgia, "Times New Roman", serif;
  --font-ui: "Instrument Sans", system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --e-out: cubic-bezier(0.16, 1, 0.3, 1);      /* expo-ish decelerate */
  --e-spring: cubic-bezier(0.34, 1.4, 0.64, 1); /* gentle overshoot */
  --t-fast: 160ms;
  --t-med: 320ms;
  --t-slow: 640ms;
}

/* Dark — the default. */
body.fx-app {
  --ink: #f2ede4;
  --ink-2: #d8d1c5;
  --muted: #9c9287;
  --soft: #262320;
  --paper: #121110;
  --paper-2: #1a1815;
  --line: rgba(242, 237, 228, 0.13);
  --line-strong: rgba(242, 237, 228, 0.26);
  --charcoal: #0c0b0a;
  --charcoal-2: #161513;
  --copper: #d9975f;
  --copper-2: #eeb488;
  --sage: #8fa886;
  --teal: #59b0aa;
  --cream: #1c1a17;
  --success: #62c08f;
  --warning: #e3aa5c;
  --danger: #e58274;
  --shadow-soft: 0 24px 70px rgba(0, 0, 0, 0.55);
  --shadow-crisp: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 18px 44px rgba(0, 0, 0, 0.38);

  --fx-field: rgba(255, 255, 255, 0.045);
  --fx-field-soft: rgba(255, 255, 255, 0.03);
  --fx-track: rgba(242, 237, 228, 0.1);
  --fx-track-strong: rgba(242, 237, 228, 0.18);
  --fx-map-shadow: rgba(0, 0, 0, 0.5);
  --fx-pill-bg: rgba(22, 20, 18, 0.92);
  --fx-scrim: rgba(0, 0, 0, 0.62);
  --fx-placeholder: rgba(242, 237, 228, 0.3);
  --fx-toast-bg: #f2ede4;
  --fx-toast-fg: #17150f;
  --fx-header-bg: rgba(16, 15, 14, 0.9);
  --fx-grid-line: rgba(242, 237, 228, 0.035);
  --fx-ghost-bg: rgba(242, 237, 228, 0.07);
  --fx-ghost-bg-hover: rgba(242, 237, 228, 0.13);
  --fx-btn-hover-border: rgba(242, 237, 228, 0.32);
  --fx-btn-hover-shadow: 0 14px 36px rgba(0, 0, 0, 0.4);
  --fx-logo-filter: brightness(0) invert(1) opacity(0.92);
  --fx-logo-filter-hover: brightness(0) invert(1) opacity(1);

  /* Cost-composition palette — validated (dark, surface #1c1a17). */
  --viz-1: #c9803f;   /* land */
  --viz-2: #4a8fd8;   /* build */
  --viz-3: #4aa06a;   /* professional & soft */
  --viz-4: #c06bb4;   /* finance */

  color-scheme: dark;
}

/* Light — opt-in, restoring the marketing site's paper palette. */
:root[data-theme="light"] body.fx-app {
  --ink: #171512;
  --ink-2: #302b25;
  --muted: #756d63;
  --soft: #f4efe7;
  --paper: #fbf7f0;
  --paper-2: #efe7dc;
  --line: rgba(36, 31, 25, 0.12);
  --line-strong: rgba(36, 31, 25, 0.22);
  --charcoal: #1f2422;
  --charcoal-2: #2d3431;
  --copper: #b46a3c;
  --copper-2: #d8945f;
  --sage: #7d9375;
  --teal: #1f6f6b;
  --cream: #fffaf2;
  --success: #2f7f5f;
  --warning: #b5792b;
  --danger: #a94f44;
  --shadow-soft: 0 24px 70px rgba(45, 38, 29, 0.14);
  --shadow-crisp: 0 1px 0 rgba(255, 255, 255, 0.55) inset, 0 18px 50px rgba(38, 31, 23, 0.12);

  --fx-field: rgba(255, 255, 255, 0.72);
  --fx-field-soft: rgba(255, 255, 255, 0.6);
  --fx-track: rgba(36, 31, 25, 0.08);
  --fx-track-strong: rgba(36, 31, 25, 0.16);
  --fx-map-shadow: rgba(38, 31, 23, 0.12);
  --fx-pill-bg: rgba(251, 247, 240, 0.94);
  --fx-scrim: rgba(23, 21, 18, 0.34);
  --fx-placeholder: rgba(23, 21, 18, 0.28);
  --fx-toast-bg: #1f2422;
  --fx-toast-fg: #fffaf2;
  --fx-header-bg: rgba(251, 247, 240, 0.92);
  --fx-grid-line: rgba(30, 26, 21, 0.035);
  --fx-ghost-bg: rgba(255, 255, 255, 0.52);
  --fx-ghost-bg-hover: rgba(255, 255, 255, 0.82);
  --fx-btn-hover-border: rgba(31, 36, 34, 0.32);
  --fx-btn-hover-shadow: 0 14px 36px rgba(41, 34, 25, 0.13);
  --fx-logo-filter: none;
  --fx-logo-filter-hover: none;

  /* Validated (light, surface #fffaf2). */
  --viz-1: #b46a3c;
  --viz-2: #3272c8;
  --viz-3: #348457;
  --viz-4: #ad4d9a;

  color-scheme: light;
}

/* --------------------------------------------------------------------------
   0b. Shared chrome from styles.css, re-themed for this page only
   -------------------------------------------------------------------------- */
body.fx-app {
  color: var(--ink);
  background: var(--paper);
}

body.fx-app::before {
  background:
    linear-gradient(var(--fx-grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--fx-grid-line) 1px, transparent 1px),
    var(--paper);
}
body.fx-app::after {
  background:
    linear-gradient(115deg, color-mix(in srgb, var(--copper) 13%, transparent), transparent 34%),
    linear-gradient(245deg, color-mix(in srgb, var(--teal) 10%, transparent), transparent 42%);
}

/* Slow ambient drift behind everything — two soft glows breathing across the
   page. Fixed layer, transform-only animation, so it costs almost nothing. */
.fx-aurora {
  position: fixed;
  inset: -20%;
  z-index: -1;
  pointer-events: none;
  opacity: 0.7;
}
.fx-aurora::before,
.fx-aurora::after {
  content: "";
  position: absolute;
  width: 46vw;
  height: 46vw;
  min-width: 480px;
  min-height: 480px;
  border-radius: 50%;
  filter: blur(90px);
  will-change: transform;
}
.fx-aurora::before {
  left: 4%;
  top: 0;
  background: radial-gradient(circle, color-mix(in srgb, var(--copper) 11%, transparent), transparent 65%);
  animation: fx-drift-a 46s ease-in-out infinite alternate;
}
.fx-aurora::after {
  right: 0;
  bottom: -6%;
  background: radial-gradient(circle, color-mix(in srgb, var(--teal) 9%, transparent), transparent 65%);
  animation: fx-drift-b 58s ease-in-out infinite alternate;
}
@keyframes fx-drift-a {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(9vw, 7vh, 0) scale(1.15); }
}
@keyframes fx-drift-b {
  from { transform: translate3d(0, 0, 0) scale(1.1); }
  to   { transform: translate3d(-8vw, -6vh, 0) scale(0.95); }
}

body.fx-app .site-header {
  background: var(--fx-header-bg);
  border-bottom-color: color-mix(in srgb, var(--copper) 18%, transparent);
}
body.fx-app .brand-logo { filter: var(--fx-logo-filter); }
body.fx-app .brand:hover .brand-logo { filter: var(--fx-logo-filter-hover); }
body.fx-app .auth-user-label { color: var(--muted); }

body.fx-app .btn-ghost { background: var(--fx-ghost-bg); color: var(--ink-2); }
body.fx-app .btn-ghost:hover { background: var(--fx-ghost-bg-hover); }
body.fx-app .btn:hover {
  border-color: var(--fx-btn-hover-border);
  box-shadow: var(--fx-btn-hover-shadow);
}
body.fx-app .nav-toggle {
  background: var(--fx-ghost-bg);
  border-color: var(--line-strong);
}
body.fx-app .nav-toggle span { background: var(--ink); }

/* Visually hidden, still announced by screen readers. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Theme toggle — two-position segmented switch, sliding knob. */
.fx-theme {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  position: relative;
  padding: 3px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--fx-ghost-bg);
}
.fx-theme-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  width: 30px;
  height: 26px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  transition: color var(--t-fast) var(--e-out);
}
.fx-theme-btn:hover { color: var(--ink-2); }
.fx-theme-btn[aria-pressed="true"] { color: var(--copper); }
.fx-theme-btn:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 1px;
}
.fx-theme-knob {
  position: absolute;
  z-index: 0;
  top: 3px;
  left: 3px;
  width: 30px;
  height: 26px;
  border-radius: 999px;
  background: var(--cream);
  border: 1px solid var(--line);
  transition: transform var(--t-med) var(--e-spring);
}
:root[data-theme="light"] .fx-theme-knob { transform: translateX(32px); }

/* --------------------------------------------------------------------------
   1. Page shell + entrance choreography
   -------------------------------------------------------------------------- */
body.fx-app.auth-checking .fx-main,
body.fx-app.auth-checking .site-actions {
  opacity: 0;
  pointer-events: none;
}

.fx-main {
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: 30px 32px 96px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  transition: opacity 220ms var(--e-out);
}

/* On first load, the page assembles itself: each region rises in, staggered by
   its --i index (set by app.js). Scoped to body.fx-boot so re-renders while
   working never replay the entrance. */
.fx-boot .fx-anim {
  animation: fx-rise 0.72s var(--e-out) both;
  animation-delay: calc(var(--i, 0) * 75ms);
}
@keyframes fx-rise {
  from { opacity: 0; transform: translateY(16px) scale(0.985); }
  to   { opacity: 1; transform: none; }
}

/* Rerender crossfade — applied briefly when a panel's content actually
   changes, so updates feel alive without flickering on every keystroke. */
.fx-swap { animation: fx-soft-in 0.34s var(--e-out); }
@keyframes fx-soft-in {
  from { opacity: 0.35; transform: translateY(4px); }
  to   { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   2. Command bar — scenario identity + top-level actions
   -------------------------------------------------------------------------- */
.fx-command {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.fx-command-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  flex: 1 1 420px;
}
.fx-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper);
}

/* The scenario name doubles as the page title — an editorial serif headline
   that happens to be editable. */
.fx-project-name {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 2px 8px 4px 0;
  margin-left: -1px;
  font-family: var(--font-display);
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 600;
  font-optical-sizing: auto;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-fast) var(--e-out);
}
.fx-project-name::placeholder { color: var(--fx-placeholder); font-style: italic; }
.fx-project-name:hover { border-bottom-color: var(--line); }
.fx-project-name:focus { outline: none; border-bottom-color: var(--copper); }

.fx-command-copy p {
  color: var(--muted);
  font-size: 14px;
  max-width: 62ch;
}
.fx-command-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.fx-scenario {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 12px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-crisp);
  transition: border-color var(--t-fast) var(--e-out);
}
.fx-scenario:hover { border-color: var(--line-strong); }
.fx-scenario:focus-within { border-color: var(--copper); }
.fx-scenario-ico { color: var(--copper); font-size: 15px; line-height: 1; }
.fx-scenario select {
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 13px;
  max-width: 220px;
  cursor: pointer;
}
.fx-scenario select:focus { outline: none; }

/* --------------------------------------------------------------------------
   3. Verdict — the hero moment
   The banner's accent colour MORPHS between states (registered @property),
   the glyph pings when the answer changes, figures count to their values.
   -------------------------------------------------------------------------- */
.fx-verdict {
  --v-accent: var(--muted);
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  padding: 26px 30px 24px;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  background: var(--cream);
  box-shadow: var(--shadow-crisp);
  overflow: hidden;
  transition: --v-accent 0.6s var(--e-out), border-color 0.6s var(--e-out);
}
/* The wash lives on a pseudo-element so it can breathe independently. */
.fx-verdict::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(120% 180% at 0% 0%, color-mix(in srgb, var(--v-accent) 13%, transparent), transparent 52%),
    linear-gradient(color-mix(in srgb, var(--v-accent) 4%, transparent), transparent 70%);
  transition: opacity var(--t-slow) var(--e-out);
}
.fx-verdict::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(var(--v-accent), color-mix(in srgb, var(--v-accent) 40%, transparent));
}
.fx-verdict--go         { --v-accent: var(--success); }
.fx-verdict--caution    { --v-accent: var(--warning); }
.fx-verdict--no         { --v-accent: var(--danger); }
.fx-verdict--incomplete { --v-accent: var(--muted); }

.fx-verdict-main {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
}
.fx-verdict-badge {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}
.fx-verdict-badge > div {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
}
.fx-verdict-kicker {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--v-accent);
  transition: color 0.6s var(--e-out);
}
/* The answer itself — editorial serif italic, the one loud thing on the page. */
.fx-verdict-word {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-optical-sizing: auto;
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--ink);
}

/* Status glyph — a living ring. Pings on state change, breathes on GO. */
.fx-verdict-glyph {
  flex: none;
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--v-accent) 14%, transparent);
  transition: background 0.6s var(--e-out);
}
.fx-glyph-core {
  position: absolute;
  inset: 11px;
  border-radius: 50%;
  background: var(--v-accent);
  transition: background 0.6s var(--e-out);
}
.fx-verdict--go .fx-glyph-core { animation: fx-breathe 2.8s ease-in-out infinite; }
@keyframes fx-breathe {
  0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--v-accent) 34%, transparent); }
  50%      { box-shadow: 0 0 0 9px color-mix(in srgb, var(--v-accent) 0%, transparent); }
}
.fx-verdict-glyph.fx-ping::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--v-accent);
  animation: fx-ping 0.8s var(--e-out) both;
}
@keyframes fx-ping {
  from { opacity: 0.9; transform: scale(0.6); }
  to   { opacity: 0; transform: scale(1.9); }
}

/* Confidence — a ring gauge. Fill carries the band colour; the track is a
   lighter step of the same hue, so state reads across the whole meter. */
.fx-conf {
  display: flex;
  align-items: center;
  gap: 12px;
}
.fx-ring { display: block; transform: rotate(-90deg); }
.fx-ring-track { fill: none; stroke-width: 4; }
.fx-ring-fill {
  fill: none;
  stroke-width: 4;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.9s var(--e-out), stroke 0.6s var(--e-out);
}
.fx-conf-wrap { position: relative; width: 46px; height: 46px; }
.fx-ring-val {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-ui);
  font-size: 12.5px;
  font-weight: 650;
  color: var(--ink);
}
.fx-conf-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.fx-conf-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.fx-conf-band {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 999px;
}
.fx-conf-band--high   { background: color-mix(in srgb, var(--success) 15%, transparent); color: var(--success); }
.fx-conf-band--medium { background: color-mix(in srgb, var(--warning) 17%, transparent); color: var(--warning); }
.fx-conf-band--low    { background: color-mix(in srgb, var(--danger) 15%, transparent); color: var(--danger); }

/* Headline figures — open stat tiles separated by hairlines, not boxes.
   Values are sans, proportional figures, and count up when they change. */
.fx-tiles {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.fx-tile {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 4px 22px;
  border-left: 1px solid var(--line);
}
.fx-tile:first-child { border-left: 0; padding-left: 2px; }
.fx-tile span {
  font-size: 11.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}
.fx-tile strong {
  font-family: var(--font-ui);
  font-variant-numeric: normal;
  font-size: clamp(21px, 2vw, 28px);
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--ink);
  white-space: nowrap;
}
/* Awaiting input, not a result. The dash sits back so the tile reads as an
   empty slot rather than a number the eye has to evaluate. */
.fx-tile--pending strong {
  color: color-mix(in srgb, var(--muted) 55%, transparent);
  font-weight: 500;
}

.fx-reasons {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.fx-reasons li {
  position: relative;
  padding-left: 20px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-2);
}
.fx-reasons li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--v-accent);
  transition: background 0.6s var(--e-out);
}

/* --------------------------------------------------------------------------
   4. Workspace grid
   -------------------------------------------------------------------------- */
.fx-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}
.fx-col-inputs,
.fx-col-output {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
@media (min-width: 1180px) {
  .fx-col-output { position: sticky; top: 94px; }
}

/* --------------------------------------------------------------------------
   5. Input cards
   -------------------------------------------------------------------------- */
.fx-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px 24px 24px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 2px);
  box-shadow: var(--shadow-crisp);
  transition: border-color var(--t-med) var(--e-out), transform var(--t-med) var(--e-out);
}
.fx-card:focus-within { border-color: color-mix(in srgb, var(--copper) 40%, var(--line)); }

.fx-card--site { position: relative; z-index: 5; }

.fx-card-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.fx-card-head > div { flex: 1 1 auto; min-width: 0; }
.fx-card-head h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ink);
}
.fx-card-head p {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted);
  margin-top: 2px;
}
.fx-step {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 27px;
  height: 27px;
  margin-top: 1px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--copper) 32%, transparent);
  background: color-mix(in srgb, var(--copper) 9%, transparent);
  color: var(--copper);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
}
.fx-tag {
  flex: none;
  align-self: flex-start;
  padding: 3px 9px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  animation: fx-soft-in 0.4s var(--e-out);
}
.fx-tag--ok   { background: color-mix(in srgb, var(--success) 14%, transparent); color: var(--success); }
.fx-tag--warn { background: color-mix(in srgb, var(--warning) 17%, transparent); color: var(--warning); }

/* --- Fields ------------------------------------------------------------- */
.fx-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.fx-field-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
.fx-label {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-2);
  transition: color var(--t-fast) var(--e-out);
}
.fx-field:focus-within .fx-label { color: var(--copper); }
.fx-hint {
  font-size: 11px;
  color: var(--muted);
  text-align: right;
  white-space: nowrap;
}
.fx-input {
  position: relative;
  display: flex;
  align-items: center;
  height: 40px;
  background: var(--fx-field);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color var(--t-fast) var(--e-out), box-shadow var(--t-med) var(--e-out), background var(--t-fast) var(--e-out);
}
.fx-input:hover { border-color: var(--line-strong); }
.fx-input:focus-within {
  border-color: var(--copper);
  background: color-mix(in srgb, var(--copper) 4%, var(--fx-field));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--copper) 14%, transparent);
}
.fx-input input,
.fx-input select {
  width: 100%;
  min-width: 0;
  height: 100%;
  padding: 0 12px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
}
.fx-input input:focus,
.fx-input select:focus { outline: none; }

.fx-input input[type="number"],
.fx-input--prefix input,
.fx-input--rand input {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}
.fx-input input[type="number"] { -moz-appearance: textfield; appearance: textfield; }
.fx-input input[type="number"]::-webkit-outer-spin-button,
.fx-input input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.fx-input--prefix::before,
.fx-input--rand::before {
  content: attr(data-prefix);
  padding-left: 12px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 13px;
  pointer-events: none;
}
.fx-input--prefix input,
.fx-input--rand input { padding-left: 6px; }
.fx-input--suffix::after {
  content: attr(data-suffix);
  padding-right: 12px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  white-space: nowrap;
  pointer-events: none;
}
.fx-input--suffix input { padding-right: 4px; }

.fx-input--select { padding-right: 30px; }
.fx-input--select select { appearance: none; -webkit-appearance: none; cursor: pointer; }
.fx-input--select::after {
  content: "";
  position: absolute;
  right: 13px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 1.6px solid var(--muted);
  border-bottom: 1.6px solid var(--muted);
  transform: translateY(-70%) rotate(45deg);
  transition: transform var(--t-fast) var(--e-out);
  pointer-events: none;
}
.fx-input--select:focus-within::after { transform: translateY(-35%) rotate(225deg); }

.fx-duo,
.fx-trio {
  display: grid;
  gap: 12px;
  min-width: 0;
}
.fx-duo  { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fx-trio { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* --- Address field + autocomplete --------------------------------------- */
.fx-field--address { position: relative; }
.fx-input--address { padding-right: 8px; }
.fx-address-spin {
  flex: none;
  width: 15px;
  height: 15px;
  margin-right: 10px;
  border-radius: 50%;
  border: 2px solid color-mix(in srgb, var(--copper) 26%, transparent);
  border-top-color: var(--copper);
  animation: fx-spin 720ms linear infinite;
}
@keyframes fx-spin { to { transform: rotate(360deg); } }

.fx-suggest {
  position: absolute;
  z-index: 40;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  max-height: 292px;
  overflow-y: auto;
  padding: 5px;
  background: var(--cream);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  transform-origin: top center;
  animation: fx-pop 0.28s var(--e-spring);
}
@keyframes fx-pop {
  from { opacity: 0; transform: translateY(-5px) scale(0.985); }
  to   { opacity: 1; transform: none; }
}
.fx-suggest-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 10px;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  text-align: left;
  cursor: pointer;
  color: var(--ink);
  transition: background 120ms var(--e-out), transform 120ms var(--e-out);
  animation: fx-soft-in 0.3s var(--e-out) both;
  animation-delay: calc(var(--i, 0) * 26ms);
}
.fx-suggest-item:hover,
.fx-suggest-item.is-active { background: color-mix(in srgb, var(--copper) 11%, transparent); transform: translateX(2px); }
.fx-suggest-ico { flex: none; color: var(--copper); font-size: 12px; }
.fx-suggest-text {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 13.5px;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.fx-suggest-empty { padding: 11px 12px; font-size: 13px; color: var(--muted); }

/* --- Notes, descriptions ------------------------------------------------ */
.fx-note {
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--copper) 7%, transparent);
  border: 1px solid color-mix(in srgb, var(--copper) 15%, transparent);
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ink-2);
}
.fx-note strong {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}
.fx-zoning-code {
  display: inline-block;
  padding: 1px 7px;
  margin-right: 3px;
  border-radius: 4px;
  background: var(--copper);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.fx-muted { color: var(--muted); font-size: 13px; }
.fx-type-desc {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted);
  margin-top: -4px;
}

/* --- Advanced drawer — spring open/close via grid rows ------------------- */
.fx-card--advanced { padding: 0; gap: 0; overflow: hidden; }
.fx-adv-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 17px 24px;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  color: var(--ink);
  transition: background var(--t-fast) var(--e-out);
}
.fx-adv-toggle:hover { background: color-mix(in srgb, var(--copper) 5%, transparent); }
.fx-adv-toggle > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.fx-adv-toggle strong { font-family: var(--font-display); font-size: 17px; font-weight: 500; }
.fx-adv-toggle em {
  font-style: normal;
  font-size: 12px;
  line-height: 1.45;
  color: var(--muted);
}
.fx-adv-chevron {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--copper) 10%, transparent);
  color: var(--copper);
  font-size: 15px;
  line-height: 1;
  transition: transform var(--t-med) var(--e-spring);
}
.fx-adv-toggle[aria-expanded="true"] .fx-adv-chevron { transform: rotate(90deg); }

.fx-adv-body {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows 0.5s var(--e-out), visibility 0s 0.5s;
}
.fx-adv-body.open {
  grid-template-rows: 1fr;
  visibility: visible;
  transition: grid-template-rows 0.5s var(--e-out);
}
.fx-adv-inner {
  overflow: hidden;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 4px 24px 24px;
}
.fx-adv-body.open .fx-adv-inner { border-top: 1px solid var(--line); }
.fx-adv-group {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.fx-adv-group h4 {
  padding-top: 14px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--copper);
}

/* --------------------------------------------------------------------------
   6. Output column — site, map, heritage
   -------------------------------------------------------------------------- */
.fx-site {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 2px);
  overflow: hidden;
  background: var(--cream);
  box-shadow: var(--shadow-crisp);
}
.fx-map-wrap { position: relative; }
.fx-map { height: 276px; width: 100%; background: var(--paper-2); }
.fx-map .leaflet-pane,
.fx-map .leaflet-control { z-index: 1; }
/* Soft vignette so the basemap sits INSIDE the card rather than punching a
   rectangular hole in it. */
.fx-map-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  box-shadow: inset 0 0 44px 6px color-mix(in srgb, var(--cream) 55%, transparent);
}
.fx-map-pill {
  position: absolute;
  z-index: 3;
  left: 12px;
  bottom: 12px;
  max-width: calc(100% - 24px);
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--fx-pill-bg);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  box-shadow: 0 6px 20px var(--fx-map-shadow);
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fx-heritage {
  --h-accent: var(--muted);
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 13px 16px;
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--h-accent) 7%, transparent);
  animation: fx-soft-in 0.4s var(--e-out);
}
.fx-heritage--ok   { --h-accent: var(--success); }
.fx-heritage--info { --h-accent: var(--teal); }
.fx-heritage--warn { --h-accent: var(--warning); }
.fx-heritage--bad  { --h-accent: var(--danger); }
.fx-heritage > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.fx-heritage-ico {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--h-accent) 16%, transparent);
  color: var(--h-accent);
  font-size: 13px;
}
.fx-heritage-kicker {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--h-accent);
}
.fx-heritage strong { font-size: 13.5px; font-weight: 600; line-height: 1.4; }
.fx-heritage em {
  display: block;
  margin-top: 3px;
  font-style: normal;
  font-size: 12px;
  line-height: 1.55;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   7. Panels — reality check
   -------------------------------------------------------------------------- */
.fx-panel {
  display: flex;
  flex-direction: column;
  gap: 13px;
  padding: 20px 22px 22px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 2px);
  box-shadow: var(--shadow-crisp);
}
.fx-panel-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
}
.fx-panel-kicker {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--copper);
}

.fx-reality-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.fx-reality-row {
  --r-accent: var(--muted);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 15px;
  border-radius: var(--radius-sm);
  border: 1px solid color-mix(in srgb, var(--r-accent) 26%, var(--line));
  background: color-mix(in srgb, var(--r-accent) 6%, transparent);
}
.fx-reality-row--ok   { --r-accent: var(--success); }
.fx-reality-row--warn { --r-accent: var(--warning); }
.fx-reality-row--bad  { --r-accent: var(--danger); }
.fx-reality-row--na   { --r-accent: var(--muted); }
.fx-reality-ico {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--r-accent) 16%, transparent);
  color: var(--r-accent);
  font-size: 12px;
  font-weight: 700;
}
.fx-reality-body {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.fx-reality-label {
  font-size: 11.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.fx-reality-body strong {
  font-family: var(--font-ui);
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.fx-reality-body em { font-style: normal; font-size: 12px; color: var(--muted); }

.fx-checks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.fx-check {
  --c-accent: var(--muted);
  position: relative;
  padding: 7px 11px 7px 30px;
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--c-accent) 7%, transparent);
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink-2);
}
.fx-check::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 13px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-accent);
}
.fx-check--critical { --c-accent: var(--danger); }
.fx-check--warning  { --c-accent: var(--warning); }
.fx-check--info     { --c-accent: var(--teal); }
.fx-all-clear { font-size: 12.5px; color: var(--success); }

/* --------------------------------------------------------------------------
   8. Where the money goes — composition bar + breakdown
   Four validated categorical hues; 2px surface gaps between segments; the
   legend beneath carries identity and value (never colour-alone).
   -------------------------------------------------------------------------- */
.fx-money-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.fx-money-head > div { display: flex; flex-direction: column; gap: 2px; }
.fx-money-total {
  font-family: var(--font-ui);
  font-size: 24px;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--ink);
  white-space: nowrap;
}

.fx-comp {
  display: flex;
  gap: 2px; /* the surface gap — the card colour does the separating */
  height: 14px;
  border-radius: 3px 7px 7px 3px; /* square-ish baseline end, rounded data end */
  overflow: hidden;
}
.fx-comp-seg {
  display: block;
  height: 100%;
  background: var(--c);
  min-width: 0;
  transition: width 0.8s var(--e-out), filter var(--t-fast) var(--e-out), opacity var(--t-fast) var(--e-out);
}
/* Hovering the bar dims the other segments — emphasis without a repaint. */
.fx-comp:hover .fx-comp-seg { opacity: 0.35; }
.fx-comp:hover .fx-comp-seg:hover { opacity: 1; filter: brightness(1.08); }

.fx-legend {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
  gap: 8px 14px;
}
.fx-key {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-size: 12px;
  color: var(--muted);
  border-radius: var(--radius-sm);
  transition: opacity var(--t-fast) var(--e-out);
}
.fx-key i {
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: 3px;
  background: var(--c);
}
.fx-key > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.fx-key em {
  margin-left: auto;
  font-style: normal;
  font-family: var(--font-ui);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

/* Full breakdown — the honest table, one hue (magnitude), thin bars. */
.fx-details {
  border-top: 1px solid var(--line);
  margin-top: 4px;
  padding-top: 2px;
}
.fx-details > summary {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 2px;
  cursor: pointer;
  list-style: none;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  transition: color var(--t-fast) var(--e-out);
}
.fx-details > summary:hover { color: var(--ink); }
.fx-details > summary::-webkit-details-marker { display: none; }
.fx-details > summary::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-1px) rotate(45deg);
  transition: transform var(--t-med) var(--e-spring);
}
.fx-details[open] > summary::after { transform: translateY(1px) rotate(225deg); }

.fx-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px 0 14px;
}
.fx-stack-row {
  display: grid;
  grid-template-columns: minmax(112px, 1.15fr) minmax(60px, 2fr) minmax(84px, auto);
  align-items: center;
  gap: 12px;
}
.fx-stack-label { font-size: 12.5px; color: var(--ink-2); }
.fx-stack-bar {
  height: 6px;
  border-radius: 0 3px 3px 0;
  background: var(--fx-track);
  overflow: hidden;
}
.fx-stack-bar i {
  display: block;
  height: 100%;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(90deg, var(--copper), var(--copper-2));
  transition: width 0.7s var(--e-out);
}
.fx-stack-val {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 12.5px;
  text-align: right;
  color: var(--ink);
}
.fx-stack-meta,
.fx-income {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
}
.fx-stack-meta > div,
.fx-income > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 16px;
  background: var(--cream);
}
.fx-stack-meta span,
.fx-income span {
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.fx-stack-meta strong,
.fx-income strong {
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 650;
  color: var(--ink);
}
.fx-income strong { color: var(--success); }

/* --------------------------------------------------------------------------
   9. Footer actions
   -------------------------------------------------------------------------- */
.fx-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.fx-actions .btn { flex: 1 1 auto; justify-content: center; }

/* --------------------------------------------------------------------------
   10. Toast + GIS lookup overlay
   -------------------------------------------------------------------------- */
.fx-toast {
  position: fixed;
  z-index: 200;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 18px) scale(0.97);
  max-width: min(560px, calc(100vw - 40px));
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--fx-toast-bg);
  color: var(--fx-toast-fg);
  font-size: 13.5px;
  box-shadow: var(--shadow-soft);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-med) var(--e-out), transform 0.42s var(--e-spring);
}
.fx-toast.show { opacity: 1; transform: translate(-50%, 0) scale(1); }

.fx-lookup {
  position: fixed;
  z-index: 300;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--fx-scrim);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms var(--e-out);
}
.fx-lookup.show { opacity: 1; pointer-events: auto; }
.fx-lookup-panel {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--cream);
  box-shadow: var(--shadow-soft);
  transform: translateY(6px);
  transition: transform 0.4s var(--e-spring);
}
.fx-lookup.show .fx-lookup-panel { transform: none; }
.fx-lookup-panel > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.fx-lookup-panel strong { font-family: var(--font-display); font-size: 17px; font-weight: 500; }
.fx-lookup-panel p { font-size: 12.5px; color: var(--muted); }
.fx-lookup-orbit {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2.5px solid color-mix(in srgb, var(--copper) 24%, transparent);
  border-top-color: var(--copper);
  animation: fx-spin 760ms linear infinite;
}
.fx-lookup-kicker {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--copper);
}

/* --------------------------------------------------------------------------
   11. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1180px) {
  body.fx-app .site-header.nav-open .site-actions .fx-theme {
    width: auto !important;
    align-self: flex-start;
  }
}
@media (max-width: 1100px) {
  .fx-grid { grid-template-columns: minmax(0, 1fr); }
  .fx-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 16px; }
  .fx-tile:nth-child(odd) { border-left: 0; padding-left: 2px; }
}
@media (max-width: 720px) {
  .fx-main { padding: 20px 18px 72px; gap: 16px; }
  .fx-command { align-items: stretch; }
  .fx-command-actions { width: 100%; }
  .fx-scenario { flex: 1 1 100%; }
  .fx-scenario select { max-width: none; flex: 1 1 auto; }
  .fx-verdict { padding: 20px 18px; }
  .fx-verdict-main { align-items: flex-start; }
  .fx-tile { padding: 4px 14px; }
  .fx-card { padding: 18px 16px 18px; }
  .fx-adv-toggle { padding: 15px 16px; }
  .fx-adv-inner { padding: 4px 16px 18px; }
  .fx-trio { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fx-stack-row { grid-template-columns: minmax(90px, 1fr) minmax(40px, 1.2fr) auto; gap: 8px; }
  .fx-map { height: 220px; }
}
@media (max-width: 460px) {
  .fx-tiles { grid-template-columns: minmax(0, 1fr); }
  .fx-tile { border-left: 0; padding-left: 2px; }
  .fx-duo, .fx-trio { grid-template-columns: minmax(0, 1fr); }
}

/* --------------------------------------------------------------------------
   12. Reduced motion — everything settles instantly
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .fx-aurora::before,
  .fx-aurora::after,
  .fx-address-spin,
  .fx-lookup-orbit,
  .fx-verdict--go .fx-glyph-core,
  .fx-verdict-glyph.fx-ping::after { animation: none; }
  .fx-boot .fx-anim,
  .fx-swap,
  .fx-suggest,
  .fx-suggest-item,
  .fx-tag,
  .fx-heritage { animation: none; }
  .fx-main,
  .fx-toast,
  .fx-lookup-panel,
  .fx-verdict,
  .fx-comp-seg,
  .fx-stack-bar i,
  .fx-ring-fill,
  .fx-adv-body,
  .fx-adv-chevron,
  .fx-theme-knob,
  .fx-details > summary::after { transition: none; }
}
