/* ============================================================
   PROXIMA SENIOR ADVISING — dashboard.css
   Facility dashboard (facility-dashboard.html). Loads AFTER
   styles-v4.css and builds on it: same tokens, same form components
   (.cb-input / .cb-segment / .callback-card), same signature devices
   as index-v4 — green→blue gradient edges, gradient numerals, dark
   ink panels with the constellation field, the animated gradient
   wash. Every selector here is .fd-* so nothing can collide with the
   marketing stylesheet's flat v1 names (.steps, .step, .label…).
   ============================================================ */

/* ---------- local tokens ---------- */
.fd-body {
  --fd-side-w: 284px;
  --fd-r: 10px;
  --fd-card: var(--paper-3);
  --fd-grad: linear-gradient(180deg, var(--green) 0%, var(--blue-2) 100%);
  --fd-grad-x: linear-gradient(90deg, var(--green) 0%, var(--blue-2) 100%);
  /* --green is #49B776: ~2.3:1 on cream, fine for fills and graphics, NOT
     for small text. This is the AA green for text on light grounds. */
  --fd-green-ink: color-mix(in srgb, var(--green-2) 78%, var(--ink));
  /* secondary text on --ink — the same three values .site-foot / .paying use */
  --fd-dim: #B9B2A2;
  --fd-dim-2: #8F897B;
  --fd-on-dark: #CFC9BB;
  background: var(--paper);
}
.fd-app section { border-top: 0; } /* styles-v4 draws a hairline on every <section> */
.fd-body.fd-lock { overflow: hidden; }
html:has(dialog[open]) { overflow: hidden; }

/* ============================================================
   SHELL
   ============================================================ */
.fd-app { min-height: 100vh; }
@media (min-width: 1024px) {
  .fd-app { display: grid; grid-template-columns: var(--fd-side-w) minmax(0, 1fr); }
}

/* ---- mobile top bar ---- */
.fd-topbar {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: rgba(247, 244, 237, 0.82);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}
.fd-topbar .wm-word { font-size: 26px; }
@media (min-width: 1024px) { .fd-topbar { display: none; } }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .fd-topbar { background: var(--paper); }
}

/* ---- sidebar ---- */
.fd-side {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: var(--z-modal);
  width: min(88vw, 320px);
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 22px 16px 16px;
  overflow-y: auto;
  isolation: isolate; /* the constellation canvas sits at z-index:-1 inside this */
  background: var(--ink);
  color: var(--paper);
  transform: translateX(-104%);
  transition: transform .32s var(--ease-out);
  visibility: hidden;
}
.fd-side.is-open { transform: none; visibility: visible; }
@media (min-width: 1024px) {
  .fd-side {
    position: sticky;
    top: 0;
    width: auto;
    height: 100vh;
    z-index: var(--z-base);
    transform: none;
    visibility: visible;
    transition: none;
  }
}
.fd-side :focus-visible, .fd-contact :focus-visible, .fd-savebar :focus-visible, .fd-toast :focus-visible, .fd-modal__head :focus-visible {
  outline-color: var(--paper); /* the global blue ring is ~2.5:1 on ink */
}
/* the field passes behind real text here (it's a nav, not a hero) — keep it a whisper */
.fd-side .constellation-bg { opacity: .5; }
.fd-side__brand { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 4px 6px 0; }
.fd-side .wm { color: var(--paper); }
.fd-side .wm-word { font-size: 30px; }
.fd-side .wm-sub { color: var(--fd-dim-2); font-size: 11px; letter-spacing: .26em; }
.fd-side__close { margin: -6px -6px 0 0; }
/* .fd-side prefix: .fd-iconbtn (declared later, same weight) would otherwise win */
@media (min-width: 1024px) { .fd-side .fd-side__close { display: none; } }

.fd-fac {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line-dark);
  border-radius: var(--fd-r);
  background: rgba(255, 255, 255, 0.04);
}
.fd-fac__av {
  flex: none;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 8px;
  background: var(--fd-grad);
  color: var(--ink);
  font-weight: 800;
  font-size: .9375rem;
  letter-spacing: .02em;
}
.fd-fac__name { font-size: .9375rem; font-weight: 700; line-height: 1.25; }
.fd-fac__sub { font-size: .8125rem; color: var(--fd-dim); }

.fd-nav { display: flex; flex-direction: column; gap: 4px; }
.fd-nav a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 8px;
  color: var(--fd-on-dark);
  text-decoration: none;
  font-size: .9375rem;
  font-weight: 600;
  transition: background-color .18s var(--ease), color .18s var(--ease);
}
.fd-nav .ico { width: 20px; height: 20px; color: var(--fd-dim); transition: color .18s var(--ease); }
.fd-nav a:hover { background: rgba(255, 255, 255, 0.06); color: var(--paper); }
.fd-nav a:hover .ico { color: var(--green); }
.fd-nav a[aria-current="page"] { background: rgba(255, 255, 255, 0.09); color: #fff; }
.fd-nav a[aria-current="page"] .ico { color: var(--green); }
/* the same gradient-edge device as .pay on the homepage */
.fd-nav a[aria-current="page"]::before {
  content: "";
  position: absolute;
  left: 0; top: 9px; bottom: 9px;
  width: 3px;
  border-radius: 2px;
  background: var(--fd-grad);
}

.fd-badge {
  margin-left: auto;
  min-width: 22px; height: 22px;
  padding: 0 7px;
  display: inline-grid; place-items: center;
  border-radius: 999px;
  background: var(--green);
  color: var(--ink);
  font-size: .75rem;
  font-weight: 800;
  font-feature-settings: "tnum" 1;
}
.fd-badge--warn { background: var(--yellow); }
.fd-badge--dark { background: var(--paper); }

.fd-side__foot { margin-top: auto; display: flex; flex-direction: column; gap: 14px; }

.fd-help {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--fd-on-dark);
  text-decoration: none;
  font-size: .875rem;
  transition: background-color .18s var(--ease);
}
.fd-help:hover { background: rgba(255, 255, 255, 0.06); }
.fd-help .ico { width: 20px; height: 20px; color: var(--green); flex: none; }
.fd-help b { display: block; font-weight: 700; color: var(--paper); }

.fd-me { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 6px 0; border-top: 1px solid var(--line-dark); }
.fd-me__name { font-size: .875rem; font-weight: 650; }
.fd-me__role { font-size: .75rem; color: var(--fd-dim); }
.fd-signout {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: transparent;
  color: var(--fd-on-dark);
  cursor: pointer;
  transition: background-color .18s var(--ease), color .18s var(--ease);
}
.fd-signout:hover { background: var(--paper); color: var(--ink); }
.fd-signout .ico { width: 20px; height: 20px; }

.fd-scrim {
  position: fixed; inset: 0;
  z-index: calc(var(--z-modal) - 1);
  background: rgba(20, 19, 17, 0.55);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}
@media (min-width: 1024px) { .fd-scrim { display: none !important; } }

/* ---- main ---- */
.fd-main {
  min-width: 0;
  width: 100%;
  max-width: 1320px;
  margin-inline: auto;
  padding: clamp(20px, 3.4vw, 52px);
  padding-bottom: clamp(48px, 6vw, 96px);
}
.fd-main:focus { outline: none; }
.fd-boot { padding: 64px 0; text-align: center; color: var(--ink-3); }
.fd-view { display: block; }
.fd-block { margin-top: clamp(28px, 3.6vw, 48px); }
.fd-stack { display: flex; flex-direction: column; gap: clamp(20px, 2.4vw, 32px); }
.fd-two { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(20px, 2.4vw, 32px); align-items: start; }
@media (min-width: 1180px) { .fd-two { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ============================================================
   TYPE + HEADERS
   ============================================================ */
.fd-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 32px; }
.fd-head__text { min-width: 0; max-width: 780px; }
.fd-head__actions { flex: none; }
.fd-title {
  margin-top: 16px;
  font-size: clamp(2.15rem, 1.25rem + 3.2vw, 3.6rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.fd-title--xl { font-size: clamp(2.3rem, 1rem + 3.6vw, 4.2rem); max-width: 15ch; }
.fd-title:focus { outline: none; }
.fd-lede { margin-top: 16px; max-width: 62ch; font-size: var(--fs-body); color: var(--ink-2); text-wrap: pretty; }
.fd-lede strong { color: var(--ink); }
/* the thin green→teal rule from "How it works" */
.fd-rule {
  height: 2px;
  margin: clamp(22px, 3vw, 34px) 0 clamp(24px, 3vw, 36px);
  background: linear-gradient(90deg, var(--green) 0%, #2CA88F 100%);
  transform-origin: left;
}
.fd-h2 { font-size: 1.375rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.fd-h2--lg { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem); letter-spacing: -0.025em; margin-top: 10px; }
.fd-h3 { display: flex; align-items: center; gap: 10px; font-size: 1.0625rem; font-weight: 750; letter-spacing: -0.01em; }
.fd-h3 .ico { width: 20px; height: 20px; color: var(--fd-green-ink); flex: none; }
.fd-h3--gap { margin: 28px 0 12px; }
.fd-eyebrow-h {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 14px;
  font-size: var(--fs-caps);
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.fd-note { display: flex; gap: 8px; margin-top: 14px; font-size: .8125rem; color: var(--ink-3); line-height: 1.5; max-width: 70ch; }
.fd-note .ico { width: 15px; height: 15px; flex: none; margin-top: 2px; }
.fd-fineprint { margin-top: 18px; font-size: .8125rem; color: var(--ink-3); max-width: 64ch; line-height: 1.5; }
.fd-muted { color: var(--ink-3); font-size: .8125rem; font-weight: 450; }
.fd-link { display: inline-flex; align-items: center; gap: 6px; font-size: .875rem; font-weight: 700; color: var(--ink); text-underline-offset: 3px; text-decoration-color: var(--green); text-decoration-thickness: 2px; }
.fd-link:hover { color: var(--fd-green-ink); }
.fd-link .ico { width: 16px; height: 16px; }
.fd-linkbtn { background: none; border: 0; padding: 8px 4px; font: inherit; font-size: .875rem; font-weight: 650; color: var(--ink); text-decoration: underline; text-decoration-color: var(--green); text-decoration-thickness: 2px; text-underline-offset: 3px; cursor: pointer; }
.fd-linkbtn:hover { color: var(--fd-green-ink); }

/* gradient-filled numerals — the same device as the guide page's section
   numbers. A filled gradient, not an outline: outline-only text leaves
   phantom marks at sharp glyph angles (see .rsec-no in styles-v4.css). */
.fd-num {
  display: inline-block;
  font-weight: 800;
  line-height: .95;
  letter-spacing: -0.03em;
  font-feature-settings: "tnum" 1;
  color: var(--green-2);
}
/* For numerals only: bright --green is ~2.3:1 on cream and these digits carry
   real counts, so the gradient STARTS 29% of the way toward blue (≈3.0:1 at the
   top of the glyph, more everywhere below). Bars, rings and edges keep the pure
   green→blue — they're graphics with the number printed beside them. */
.fd-body { --fd-grad-num: linear-gradient(180deg, color-mix(in srgb, var(--green) 71%, var(--blue-2)) 0%, var(--blue-2) 100%); }
@supports (background-clip: text) or (-webkit-background-clip: text) {
  .fd-num {
    background: var(--fd-grad-num);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }
  .fd-num.is-zero { background: none; -webkit-text-fill-color: currentColor; color: var(--line-2); }
}
.fd-num.is-zero { color: var(--line-2); }
.fd-num--xl { font-size: clamp(3rem, 2rem + 3.4vw, 4.75rem); }
.fd-num--md { font-size: 2.5rem; }

/* ============================================================
   SURFACES
   ============================================================ */
.fd-card {
  position: relative;
  background: var(--fd-card);
  border: 1.5px solid var(--line);
  border-radius: var(--fd-r);
  padding: clamp(18px, 2.2vw, 30px);
}
.fd-card__head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 16px 24px; margin-bottom: 22px; }
.fd-card__head .eyebrow { display: flex; }
/* literal quote of .pay's border-image gradient edge (that trick can't be scoped to one side) */
.fd-card--edge { padding-left: calc(clamp(18px, 2.2vw, 30px) + 6px); }
.fd-card--edge::before {
  content: "";
  position: absolute;
  left: -1.5px; top: -1.5px; bottom: -1.5px;
  width: 5px;
  border-radius: var(--fd-r) 0 0 var(--fd-r);
  background: var(--fd-grad);
}

/* ---- buttons: reuse .btn / .btn--red / .btn--ghost-ink, sized for UI ---- */
.fd-btn--sm { min-height: 44px; padding: 8px 18px; gap: 8px; font-size: .9375rem; }
.fd-btn--sm .ico { width: 18px; height: 18px; }
.btn.fd-btn--sm.btn--ghost-ink { border-width: 1.5px; }
.fd-iconbtn {
  width: 44px; height: 44px;
  display: inline-grid; place-items: center;
  flex: none;
  border: 1.5px solid var(--line-2);
  border-radius: 8px;
  background: var(--paper-3);
  color: var(--ink);
  cursor: pointer;
  transition: border-color .18s var(--ease), background-color .18s var(--ease), color .18s var(--ease);
}
.fd-iconbtn:hover { border-color: var(--ink); }
.fd-iconbtn .ico { width: 20px; height: 20px; }
.fd-iconbtn--dark { background: transparent; border-color: var(--line-dark); color: var(--paper); }
.fd-iconbtn--dark:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.fd-copy { display: inline-grid; place-items: center; width: 32px; height: 32px; margin-left: 4px; vertical-align: middle; border: 0; border-radius: 6px; background: transparent; color: var(--ink-3); cursor: pointer; }
.fd-copy:hover { background: rgba(20, 19, 17, .06); color: var(--ink); }
.fd-copy .ico { width: 16px; height: 16px; }

/* ---- chips ---- */
.fd-chip {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 26px;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--paper-2);
  color: var(--ink-2);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1.2;
  white-space: nowrap;
}
.fd-chip .ico { width: 14px; height: 14px; flex: none; }
.fd-chip--new { background: color-mix(in srgb, var(--green) 28%, var(--paper-3)); color: var(--ink); }
.fd-chip--new::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green-2); }
.fd-chip--info { background: color-mix(in srgb, var(--blue) 11%, var(--paper-3)); color: var(--blue); }
.fd-chip--ok { background: color-mix(in srgb, var(--green) 20%, var(--paper-3)); color: var(--fd-green-ink); }
.fd-chip--warn { background: color-mix(in srgb, var(--yellow) 32%, var(--paper-3)); color: var(--ink); }
.fd-chip--line { background: transparent; border-color: var(--line-2); color: var(--ink-3); }
.fd-chip--solid { background: var(--green); color: var(--ink); }
.fd-chip--muted { background: var(--paper-2); color: var(--ink-2); }

.fd-tier { display: inline-flex; align-items: center; gap: 7px; margin-top: 8px; font-size: .75rem; font-weight: 700; letter-spacing: .04em; color: var(--ink-2); }
.fd-tier i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.fd-tier--review i { background: var(--blue-2); }
.fd-tier .ico { width: 13px; height: 13px; }

.fd-tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; }
.fd-tags li { padding: 4px 11px; border: 1px solid var(--line-2); border-radius: 999px; font-size: .8125rem; font-weight: 550; color: var(--ink-2); }

/* ---- load notice (an endpoint didn't answer): non-blocking, sits above the views ---- */
.fd-notice { display: flex; align-items: flex-start; gap: 12px; flex-wrap: wrap; margin: 0 0 18px; padding: 12px 16px; border-radius: 8px; font-size: .9375rem; color: var(--ink-2); background: color-mix(in srgb, var(--yellow) 18%, var(--paper-3)); border: 1px solid color-mix(in srgb, var(--yellow) 60%, var(--line)); }
.fd-notice[hidden] { display: none; }
.fd-notice .ico { flex: none; width: 20px; height: 20px; margin-top: 2px; color: #8A6700; }
.fd-notice p { flex: 1 1 260px; margin: 0; }
.fd-notice strong { color: var(--ink); }

/* ---- callouts + empty states ---- */
.fd-callout {
  display: flex; gap: 12px;
  margin-top: 22px;
  padding: 14px 16px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--blue) 7%, var(--paper-3));
  border: 1px solid color-mix(in srgb, var(--blue) 22%, var(--line));
  font-size: .9375rem;
  color: var(--ink-2);
}
.fd-callout .ico { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--blue); }
.fd-callout strong { color: var(--ink); }
.fd-callout--warn { background: color-mix(in srgb, var(--yellow) 18%, var(--paper-3)); border-color: color-mix(in srgb, var(--yellow) 60%, var(--line)); }
.fd-callout--warn .ico { color: #8A6700; }
.fd-callout__act { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.fd-callouts { margin-top: 26px; display: grid; gap: 4px; }
.fd-callouts .fd-callout { margin-top: 0; }

.fd-empty { padding: clamp(32px, 6vw, 64px) 20px; text-align: center; max-width: 520px; margin-inline: auto; }
.fd-empty .ico { width: 38px; height: 38px; color: var(--line-2); margin-bottom: 14px; }
.fd-empty .fd-h3 { justify-content: center; } /* .fd-h3 is a flex row, so it ignores text-align */
.fd-empty p { color: var(--ink-2); margin: 8px 0 18px; }
.fd-empty--sm { padding: 24px 8px; }
.fd-empty--sm p { margin: 0; font-size: .9375rem; }

/* ============================================================
   OVERVIEW
   ============================================================ */
.fd-welcome {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  padding: clamp(22px, 3.4vw, 48px);
  border: 1.5px solid var(--line);
  border-radius: 16px;
  background: var(--paper-2); /* fallback if WebGL never initializes */
}
@media (min-width: 1000px) { .fd-welcome { grid-template-columns: minmax(0, 1.5fr) minmax(300px, .8fr); align-items: center; gap: 40px; } }
/* the existing #hero-gradient config (js/gradient-init.js) — AA-verified paper-adjacent tints */
.fd-welcome__bg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; display: block; }
.fd-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 22px; list-style: none; font-size: .875rem; font-weight: 600; color: var(--ink-2); }
.fd-meta li { display: inline-flex; align-items: center; gap: 8px; }
.fd-meta .ico { width: 17px; height: 17px; color: var(--fd-green-ink); }

/* glass panel — legitimate here: it sits over a textured, moving ground */
.fd-welcome__fresh {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 22px;
  border-radius: 14px;
  border: 1px solid rgba(20, 19, 17, 0.1);
  background: rgba(255, 254, 250, 0.76);
  -webkit-backdrop-filter: blur(14px) saturate(1.25);
  backdrop-filter: blur(14px) saturate(1.25);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 18px 36px -28px rgba(20, 19, 17, 0.5);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .fd-welcome__fresh { background: var(--paper-3); }
}
@media (min-width: 1000px) { .fd-welcome__fresh { grid-template-columns: 1fr; justify-items: start; } }
/* ring + text side by side needs ~320px; a phone's card interior is ~290px, so stack */
@media (max-width: 559px) { .fd-welcome__fresh, .fd-card.fd-fresh { grid-template-columns: 1fr !important; justify-items: start; } }
.fd-welcome > * { min-width: 0; }
.fd-fresh__label { font-size: var(--fs-caps); font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); }
.fd-fresh__sub { margin: 8px 0 16px; font-size: .9375rem; color: var(--ink-2); line-height: 1.5; }
.fd-fresh__note { margin-top: 14px; font-size: .8125rem; color: var(--ink-3); line-height: 1.45; }
.fd-card.fd-fresh { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 22px; }

.fd-ring { position: relative; width: 132px; height: 132px; flex: none; }
.fd-ring svg { display: block; width: 100%; height: 100%; }
.fd-ring__track { fill: none; stroke: var(--line); stroke-width: 11; }
.fd-ring__bar {
  fill: none;
  stroke-width: 11;
  stroke-linecap: round;
  stroke-dasharray: var(--c);
  stroke-dashoffset: var(--o);
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
}
.fd-ring__num { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.fd-ring__num .fd-num { font-size: 2.6rem; }
.fd-ring__num i { position: absolute; right: 22px; top: 40px; font-style: normal; font-weight: 800; font-size: 1rem; color: var(--ink-3); }

/* get set up — .how-step's 3-up grammar, with a state */
.fd-sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin-bottom: 8px; }
.fd-progress { font-size: .875rem; font-weight: 650; color: var(--ink-2); }
.fd-progress b { font-size: 1.25rem; color: var(--ink); }
.fd-steps { display: grid; gap: 0; margin-top: 24px; border-top: 1px solid var(--line); }
@media (min-width: 860px) { .fd-steps { grid-template-columns: repeat(3, 1fr); } }
.fd-step { padding: 26px 4px 4px; border-left: 2px solid var(--line); }
.fd-step { border-left: 0; border-top: 2px solid var(--line); }
@media (min-width: 860px) {
  .fd-step { border-top: 0; border-left: 2px solid var(--line); padding: 26px clamp(16px, 2vw, 28px) 4px; }
  .fd-step:first-child { border-left: 0; padding-left: 4px; }
}
.fd-step__n { font-size: clamp(2.8rem, 2rem + 2.4vw, 4rem); margin-bottom: 14px; }
.fd-step .fd-h3 { margin-bottom: 8px; }
.fd-step p { font-size: .9375rem; color: var(--ink-2); line-height: 1.55; max-width: 38ch; margin-bottom: 16px; }
.fd-step__done { display: flex; align-items: center; gap: 8px; margin: 0 !important; font-weight: 650; color: var(--fd-green-ink) !important; }
.fd-step__done .ico { width: 18px; height: 18px; }
.fd-step.is-done .fd-step__n { opacity: .45; }

/* needs attention */
/* 1 → 2×2 → 4-up. auto-fit left an orphan fourth card whenever the main
   column landed between 3 and 4 card-widths wide. */
.fd-actions { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .fd-actions { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1360px) { .fd-actions { grid-template-columns: repeat(4, 1fr); } }
.fd-action {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "n ico" "t t" "d d";
  align-items: start;
  gap: 4px 12px;
  padding: 20px 20px 18px 26px;
  border: 1.5px solid var(--line);
  border-radius: var(--fd-r);
  background: var(--fd-card);
  color: var(--ink);
  text-decoration: none;
  transition: transform .18s var(--ease), border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.fd-action::before { content: ""; position: absolute; left: -1.5px; top: -1.5px; bottom: -1.5px; width: 5px; border-radius: var(--fd-r) 0 0 var(--fd-r); background: var(--fd-grad); }
.fd-action:hover { transform: translateY(-2px); border-color: var(--ink-2); box-shadow: 0 16px 32px -22px rgba(20, 19, 17, 0.4); }
.fd-action__ico { grid-area: ico; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: color-mix(in srgb, var(--green) 18%, var(--paper-3)); color: var(--fd-green-ink); }
.fd-action__ico .ico { width: 20px; height: 20px; }
.fd-action__n { grid-area: n; min-height: 2.4rem; display: flex; align-items: flex-end; }
.fd-action__t { grid-area: t; margin-top: 10px; font-size: 1.0625rem; font-weight: 750; letter-spacing: -0.01em; }
.fd-action__d { grid-area: d; font-size: .875rem; color: var(--ink-2); line-height: 1.4; padding-right: 28px; }
.fd-action__go { position: absolute; right: 16px; bottom: 16px; color: var(--ink-3); transition: transform .2s var(--ease), color .2s var(--ease); }
.fd-action__go .ico { width: 20px; height: 20px; }
.fd-action:hover .fd-action__go { transform: translate(3px, -3px); color: var(--ink); }
.fd-action.is-clear { background: transparent; border-style: dashed; }
.fd-action.is-clear::before { background: var(--line-2); }
.fd-action.is-clear .fd-action__ico { background: transparent; color: var(--ink-3); }
.fd-action.is-clear .fd-action__t { color: var(--ink-2); font-size: 1rem; margin-top: 18px; }

/* funnel */
.fd-seg { display: inline-flex; padding: 3px; border: 1.5px solid var(--line-2); border-radius: 10px; background: var(--paper); }
.fd-seg button { min-height: 40px; padding: 0 16px; border: 0; border-radius: 7px; background: transparent; font-size: .875rem; font-weight: 650; color: var(--ink-2); cursor: pointer; transition: background-color .15s var(--ease), color .15s var(--ease); }
.fd-seg button:hover { color: var(--ink); }
.fd-seg button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.fd-stages { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 0; padding-top: 26px; border-top: 1px solid var(--line); }
@media (min-width: 820px) { .fd-stages { grid-template-columns: repeat(4, 1fr); } }
.fd-stage { padding: 0 clamp(14px, 1.8vw, 26px); border-left: 2px solid var(--line); }
.fd-stage:nth-child(odd) { border-left: 0; padding-left: 4px; }
@media (min-width: 820px) { .fd-stage:nth-child(odd) { border-left: 2px solid var(--line); padding-left: clamp(14px, 1.8vw, 26px); } .fd-stage:first-child { border-left: 0; padding-left: 4px; } }
.fd-stage__label { font-size: var(--fs-caps); font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 10px; }
.fd-stage__help { margin: 12px 0 14px; font-size: .875rem; color: var(--ink-2); line-height: 1.4; min-height: 2.6em; }
.fd-stage__conv { margin-top: 8px; min-height: 1.3em; font-size: .8125rem; font-weight: 650; color: var(--fd-green-ink); }
.fd-stage__held { margin-top: 4px; font-size: .75rem; color: var(--ink-3); line-height: 1.4; }
.fd-bar { height: 7px; border-radius: 4px; background: var(--paper-2); overflow: hidden; }
.fd-bar > i { display: block; height: 100%; width: var(--w); border-radius: inherit; background: var(--fd-grad-x); transform-origin: left; }
.fd-bar--thin { height: 5px; margin-bottom: 6px; }
.fd-retain { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; margin-top: 28px; padding: 16px 18px; border-radius: 8px; background: var(--paper); border: 1px solid var(--line); }
.fd-retain__label { font-size: var(--fs-caps); font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); }
.fd-retain ul { display: flex; flex-wrap: wrap; gap: 8px 36px; list-style: none; }
.fd-retain li { display: flex; align-items: baseline; gap: 10px; font-size: .875rem; color: var(--ink-2); }
.fd-retain li strong { font-size: 1.125rem; color: var(--ink); font-feature-settings: "tnum" 1; }

/* newest matches + demand */
.fd-minilist { list-style: none; display: grid; gap: 10px; }
.fd-mini { display: grid; gap: 4px; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 8px; background: var(--paper); color: var(--ink); text-decoration: none; transition: border-color .18s var(--ease), transform .18s var(--ease); }
.fd-mini:hover { border-color: var(--ink-2); transform: translateX(3px); }
.fd-mini__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: .8125rem; color: var(--ink-3); }
.fd-mini__top b { font-weight: 750; letter-spacing: .06em; color: var(--ink-2); }
.fd-mini__care { font-size: 1.0625rem; font-weight: 750; letter-spacing: -0.01em; }
.fd-mini__meta { font-size: .8125rem; color: var(--ink-3); }

.fd-insights { list-style: none; display: grid; gap: 4px; }
.fd-insights li { display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.fd-insights li:first-child { border-top: 0; }
.fd-insights p { font-size: .9375rem; color: var(--ink-2); line-height: 1.45; }
.fd-insights strong { color: var(--ink); }
.fd-insights__st { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 8px; }
.fd-insights__st .fd-chip { white-space: normal; }
.fd-demand { margin-top: 28px; }
/* on Leads the demand card is a compact strip — the lead list is the page's job */
.fd-demand .fd-insights { margin-top: 14px; }
@media (min-width: 760px) {
  .fd-demand .fd-insights { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 0; }
  .fd-demand .fd-insights li { grid-template-columns: 1fr; gap: 8px; align-content: start; padding: 4px clamp(14px, 2vw, 24px); border-top: 0; border-left: 2px solid var(--line); }
  .fd-demand .fd-insights li:first-child { border-left: 0; padding-left: 0; }
}
.fd-demand__head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 8px; }
.fd-demand__head > .ico { width: 26px; height: 26px; color: var(--fd-green-ink); flex: none; margin-top: 2px; }
.fd-demand .fd-note { margin-top: 4px; }

/* dark contact card — .paying's treatment on a card */
.fd-contact {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 28px 48px;
  margin-top: clamp(28px, 3.6vw, 48px);
  padding: clamp(26px, 4vw, 52px);
  border-radius: 16px;
  background: var(--ink);
  color: var(--paper);
}
.fd-contact .eyebrow { color: var(--fd-dim); }
.fd-contact__txt { max-width: 560px; }
.fd-contact__h { margin: 14px 0 12px; font-size: clamp(1.8rem, 1.2rem + 2vw, 2.75rem); font-weight: 900; letter-spacing: -0.03em; line-height: 1.02; }
.fd-contact__txt p:last-child { color: var(--fd-on-dark); max-width: 48ch; }
.fd-contact__act { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.fd-contact .foot-phone { color: var(--paper); }

/* ============================================================
   LEADS
   ============================================================ */
.fd-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-top: 28px; }
/* wraps on wider screens; scrolls sideways on phones, where the half-cut last chip is the hint */
.fd-filters { display: flex; flex-wrap: nowrap; gap: 8px; overflow-x: auto; padding-bottom: 4px; max-width: 100%; scrollbar-width: none; }
.fd-filters::-webkit-scrollbar { display: none; }
@media (min-width: 700px) { .fd-filters { flex-wrap: wrap; overflow: visible; padding-bottom: 0; } }
.fd-filter {
  display: inline-flex; align-items: center; gap: 8px;
  flex: none;
  min-height: 44px; padding: 0 16px;
  border: 1.5px solid var(--line-2);
  border-radius: 999px;
  background: var(--paper-3);
  font-size: .875rem; font-weight: 650; color: var(--ink-2);
  cursor: pointer;
  transition: background-color .15s var(--ease), color .15s var(--ease), border-color .15s var(--ease);
}
.fd-filter b { min-width: 22px; padding: 1px 6px; border-radius: 999px; background: var(--paper-2); font-size: .75rem; font-feature-settings: "tnum" 1; }
.fd-filter:hover { border-color: var(--ink); color: var(--ink); }
.fd-filter[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.fd-filter[aria-pressed="true"] b { background: var(--green); color: var(--ink); }
.fd-toolbar__sel { display: flex; flex-wrap: wrap; gap: 10px; }
.fd-toolbar__sel .fd-select { width: auto; min-width: 170px; } /* .cb-input is width:100% */
.fd-select {
  min-height: 44px;
  padding-right: 40px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234A463E' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
}
.fd-select:disabled { cursor: not-allowed; opacity: .6; }
.fd-select--sm { min-height: 40px; font-size: .9375rem; }
.fd-count { margin: 18px 0 14px; font-size: .875rem; color: var(--ink-3); }

.fd-leads { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 400px), 1fr)); }
.fd-lead {
  position: relative;
  display: flex; flex-direction: column; gap: 14px;
  padding: 22px;
  border: 1.5px solid var(--line);
  border-radius: var(--fd-r);
  background: var(--fd-card);
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.fd-lead:hover { border-color: var(--ink-2); box-shadow: 0 16px 32px -22px rgba(20, 19, 17, 0.35); }
.fd-lead[data-status="new"] { padding-left: 28px; }
.fd-lead[data-status="new"]::before { content: ""; position: absolute; left: -1.5px; top: -1.5px; bottom: -1.5px; width: 5px; border-radius: var(--fd-r) 0 0 var(--fd-r); background: var(--fd-grad); }
.fd-lead[data-status="notfit"] { background: transparent; }
.fd-lead[data-status="notfit"] .fd-lead__care { color: var(--ink-3); }
.fd-lead__top { display: flex; align-items: center; gap: 10px; }
.fd-lead__ref { font-size: .8125rem; font-weight: 750; letter-spacing: .08em; color: var(--ink-2); }
.fd-lead__date { margin-left: auto; font-size: .8125rem; color: var(--ink-3); }
.fd-lead__care { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.025em; line-height: 1.1; }
.fd-lead__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .9375rem; color: var(--ink-2); }
.fd-lead__meta span { display: inline-flex; align-items: center; gap: 7px; }
.fd-lead__meta .ico { width: 17px; height: 17px; color: var(--ink-3); }
.fd-lead__foot { display: flex; gap: 10px; margin-top: auto; padding-top: 4px; }
.fd-lead__foot .fd-select { flex: 1 1 140px; min-width: 0; }

.fd-fit { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: .8125rem; color: var(--ink-3); }
.fd-fit__label { font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .6875rem; color: var(--ink-2); }
.fd-fit__dots { display: inline-flex; gap: 5px; }
.fd-fit__dots i, .fd-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); flex: none; display: inline-block; }
.fd-fit__dots i.is-full, .fd-dot.is-full { background: var(--green); }
.fd-fit__dots i.is-partial, .fd-dot.is-partial { background: var(--yellow); }
.fd-fit__dots i.is-none, .fd-dot.is-none { background: transparent; box-shadow: inset 0 0 0 2px var(--line-2); }

.fd-intro { display: flex; gap: 12px; padding: 12px 14px; border-radius: 8px; border: 1px dashed var(--line-2); background: var(--paper); font-size: .875rem; color: var(--ink-2); line-height: 1.45; }
.fd-intro > .ico { flex: none; width: 20px; height: 20px; margin-top: 1px; color: var(--ink-3); }
.fd-intro__name { font-weight: 750; color: var(--ink); }
.fd-intro__sub { font-size: .8125rem; color: var(--ink-3); }
.fd-intro a { font-weight: 700; color: var(--ink); text-underline-offset: 3px; text-decoration-color: var(--green); text-decoration-thickness: 2px; }
.fd-intro.is-open { border-style: solid; border-color: color-mix(in srgb, var(--green) 55%, var(--line)); background: color-mix(in srgb, var(--green) 12%, var(--paper-3)); }
.fd-intro.is-open > .ico { color: var(--fd-green-ink); }

/* ============================================================
   DIALOGS — lead drawer + modal
   ============================================================ */
.fd-dialog { padding: 0; border: 0; color: var(--ink); max-width: none; max-height: none; background: var(--paper); }
.fd-dialog::backdrop { background: rgba(20, 19, 17, 0.55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.fd-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  margin: 0;
  width: min(100vw, 580px);
  height: 100dvh;
  box-shadow: -28px 0 70px -34px rgba(20, 19, 17, 0.6);
}
.fd-drawer[open] { display: flex; flex-direction: column; }
.fd-drawer__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 22px 24px 18px; border-bottom: 1px solid var(--line); background: var(--paper-3); }
.fd-drawer__head h2 { margin-top: 6px; font-size: 1.6rem; font-weight: 850; letter-spacing: -0.025em; line-height: 1.1; }
.fd-drawer__body { flex: 1; overflow-y: auto; padding: 22px 24px 32px; }
.fd-drawer__body .fd-eyebrow-h { margin-top: 28px; }
.fd-drawer__body .fd-eyebrow-h:first-of-type { margin-top: 20px; }
.fd-drawer__status { display: flex; align-items: center; gap: 12px; }
.fd-drawer__status .fd-note { margin: 0; }
.fd-drawer__select .fd-select { width: 100%; }

.fd-kv { display: grid; gap: 0; border-top: 1px solid var(--line); }
.fd-kv > div { display: grid; grid-template-columns: minmax(110px, 160px) 1fr; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .9375rem; }
.fd-kv dt { color: var(--ink-3); font-weight: 600; display: flex; align-items: center; gap: 8px; }
.fd-kv dt .ico { width: 14px; height: 14px; flex: none; }
.fd-kv dd { color: var(--ink); font-weight: 550; }
.fd-factors { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); }
.fd-factors li { display: grid; grid-template-columns: 14px 1fr auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.fd-factors strong { display: block; font-size: .9375rem; }
.fd-factors span { font-size: .8125rem; color: var(--ink-3); }
.fd-factors em { font-style: normal; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }

.fd-modal { margin: auto; width: min(94vw, 540px); border: 2px solid var(--ink); border-radius: 6px; background: var(--paper-3); overflow: hidden; }
.fd-modal[open] { display: block; }
.fd-modal__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 12px 10px 22px; background: var(--ink); color: var(--paper-3); }
.fd-modal__head h2 { font-size: .9375rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; line-height: 1.3; }
.fd-modal__body { padding: 24px 22px 8px; max-height: min(64vh, 560px); overflow-y: auto; display: flex; flex-direction: column; gap: 18px; }
.fd-modal__p { color: var(--ink-2); font-size: .9375rem; line-height: 1.55; }
.fd-modal__foot { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; padding: 18px 22px 22px; }
.fd-radios { border: 0; display: grid; gap: 8px; }
.fd-radio { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 14px; border: 1.5px solid var(--line-2); border-radius: 6px; background: var(--paper-3); cursor: pointer; font-size: .9375rem; transition: border-color .15s var(--ease), background-color .15s var(--ease); }
.fd-radio:hover { border-color: var(--ink); }
.fd-radio input { appearance: none; flex: none; width: 20px; height: 20px; border: 2px solid var(--ink-2); border-radius: 50%; display: grid; place-content: center; background: #fff; }
.fd-radio input::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); transform: scale(0); transition: transform .15s var(--ease); }
.fd-radio input:checked { border-color: var(--ink); }
.fd-radio input:checked::before { transform: scale(1); }
.fd-radio:has(input:checked) { border-color: var(--ink); background: var(--paper-2); }
.fd-radio input:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

/* ============================================================
   FORMS
   ============================================================ */
.fd-fieldset { border: 0; min-width: 0; }
.fd-fieldset:disabled { opacity: .62; }
.fd-formrow { display: grid; gap: 18px; }
@media (min-width: 560px) { .fd-formrow { grid-template-columns: 1fr 1fr; } .fd-formrow--3 { grid-template-columns: 1.6fr .9fr auto; align-items: end; } }
.fd-two--forms { margin-block: 28px clamp(24px, 3vw, 36px); }
.fd-formcard .callback-card__body { gap: 18px; }
.fd-formcard .callback-card__head { font-size: var(--fs-small); }
.fd-formcard .callback-card__body > .btn { align-self: flex-start; }
.cb-field.is-error .cb-input { border-color: var(--error); }
.cb-field .cb-optional { font-weight: 450; }

.fd-money { position: relative; display: flex; align-items: center; max-width: 280px; }
.fd-money__pre { position: absolute; left: 14px; font-weight: 650; color: var(--ink-3); pointer-events: none; }
.fd-money .cb-input { padding-left: 28px; padding-right: 54px; font-feature-settings: "tnum" 1; }
.fd-money--n .cb-input { padding-left: 14px; }
.fd-money__suf { position: absolute; right: 14px; font-size: .8125rem; font-weight: 600; color: var(--ink-3); pointer-events: none; }

.fd-tri { width: auto; display: inline-flex; flex-wrap: nowrap; }
.fd-tri .cb-seg-btn { min-height: 44px; padding: 0 18px; }
.fd-tri input[value="yes"]:checked + .cb-seg-btn { background: var(--green); color: var(--ink); }
.fd-tri input[value="unknown"]:checked + .cb-seg-btn { background: var(--paper-2); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink-3); }
.fd-tri input:disabled + .cb-seg-btn { opacity: .6; cursor: not-allowed; }

.fd-chipset { display: flex; flex-wrap: wrap; gap: 8px; }
.fd-pick { position: relative; cursor: pointer; }
.fd-pick input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; margin: 0; }
.fd-pick span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1.5px solid var(--line-2); border-radius: 999px; background: var(--paper-3); font-size: .9375rem; font-weight: 600; color: var(--ink-2); transition: background-color .15s var(--ease), color .15s var(--ease), border-color .15s var(--ease); }
.fd-pick:hover span { border-color: var(--ink); }
.fd-pick input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.fd-pick input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.fd-pick input:disabled + span { opacity: .6; }

.fd-switch { position: relative; display: inline-block; flex: none; width: 52px; height: 44px; cursor: pointer; }
.fd-switch input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: pointer; }
.fd-switch__track { position: absolute; left: 0; top: 10px; width: 52px; height: 28px; border-radius: 999px; background: var(--line-2); transition: background-color .2s var(--ease); }
.fd-switch__track::after { content: ""; position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(20, 19, 17, .35); transition: transform .22s var(--ease-out); }
.fd-switch input:checked + .fd-switch__track { background: var(--green); }
.fd-switch input:checked + .fd-switch__track::after { transform: translateX(24px); }
.fd-switch input:focus-visible + .fd-switch__track { outline: 3px solid var(--blue); outline-offset: 3px; }

/* ============================================================
   TABLES
   ============================================================ */
.fd-tablewrap { overflow-x: auto; }
.fd-table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.fd-table th, .fd-table td { padding: 16px 14px 16px 0; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--line); }
.fd-table thead th { padding-top: 0; padding-bottom: 12px; font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); border-bottom: 2px solid var(--ink); white-space: nowrap; }
.fd-table tbody th { font-weight: 450; }
.fd-table tbody th b { display: block; font-size: 1.0625rem; font-weight: 800; }
.fd-table tbody tr:last-child th, .fd-table tbody tr:last-child td { border-bottom: 0; }
.fd-td-gw { min-width: 170px; }
.fd-stack-chips { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.fd-stack-chips b { font-weight: 700; color: var(--ink-2); }
.fd-td-act { white-space: nowrap; text-align: right; }
.fd-person { display: flex; align-items: center; gap: 12px; }
.fd-person b { display: block; font-size: 1rem; }
.fd-person em { font-style: normal; font-weight: 450; color: var(--ink-3); }
.fd-avatar { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--paper-2); font-size: .8125rem; font-weight: 800; letter-spacing: .03em; color: var(--ink-2); }
@media (max-width: 760px) {
  .fd-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); }
  .fd-table, .fd-table tbody, .fd-table tr, .fd-table th, .fd-table td { display: block; }
  .fd-table tr { padding: 16px 0; border-bottom: 1px solid var(--line); }
  .fd-table th, .fd-table td { padding: 5px 0; border: 0; }
  .fd-table td[data-label]::before { content: attr(data-label); display: block; margin-bottom: 3px; font-size: .6875rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
  .fd-td-act { text-align: left; }
}
.fd-legend { margin-top: 20px; border-top: 1px solid var(--line); padding-top: 16px; }
.fd-legend summary { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: .875rem; font-weight: 700; cursor: pointer; list-style: none; }
.fd-legend summary::-webkit-details-marker { display: none; }
.fd-legend summary .ico { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.fd-legend[open] summary .ico { transform: rotate(180deg); }
.fd-legend dl { display: grid; gap: 10px; margin-top: 8px; }
.fd-legend dl > div { display: grid; grid-template-columns: 130px 1fr; gap: 14px; align-items: center; font-size: .875rem; color: var(--ink-2); }

/* ============================================================
   PROFILE EDITOR
   ============================================================ */
.fd-proftop { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 4px; margin-bottom: 28px; }
/* side by side only once each card has room for ring + text; stacked, each gets the full row */
@media (min-width: 1300px) { .fd-proftop { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: stretch; } }
.fd-legend3 ul { list-style: none; display: grid; gap: 16px; }
.fd-legend3 li { display: grid; gap: 4px; }
.fd-legend3 li p { font-size: .875rem; color: var(--ink-2); }
.fd-legend3 .fd-tier { margin-top: 0; }

/* minmax(0,1fr), not the implicit auto track: a grid item's min-width is its
   min-content, and the pill row inside .fd-prof__nav is ~1500px of nowrap pills —
   the auto track grew to fit them and blew the whole page out sideways on phones. */
.fd-prof { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start; }
@media (min-width: 1100px) { .fd-prof { grid-template-columns: 218px minmax(0, 1fr); gap: 32px; } }
.fd-prof__nav { position: sticky; top: 64px; z-index: var(--z-sticky); background: var(--paper); margin-inline: -4px; padding: 4px; }
.fd-prof__nav ul { display: flex; gap: 6px; list-style: none; overflow-x: auto; scrollbar-width: none; }
.fd-prof__nav a { display: flex; align-items: center; gap: 10px; flex: none; min-height: 44px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--paper-3); font-size: .875rem; font-weight: 650; color: var(--ink-2); text-decoration: none; white-space: nowrap; transition: border-color .15s var(--ease), color .15s var(--ease); }
.fd-prof__nav a .ico { width: 17px; height: 17px; color: var(--ink-3); }
.fd-prof__nav a:hover { border-color: var(--ink); color: var(--ink); }
.fd-prof__nav a.is-active { border-color: var(--ink); color: var(--ink); background: var(--paper-2); }
.fd-pnav__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 2px var(--paper-3); }
.fd-pnav__lock { margin-left: auto; }
@media (min-width: 1100px) {
  .fd-prof__nav { top: 24px; margin: 0; padding: 0; background: transparent; }
  .fd-prof__nav ul { flex-direction: column; overflow: visible; gap: 2px; }
  .fd-prof__nav a { border: 0; border-radius: 8px; background: transparent; width: 100%; white-space: normal; line-height: 1.25; padding-block: 8px; }
  .fd-prof__nav a:hover { background: rgba(20, 19, 17, .05); }
  .fd-prof__nav a.is-active { background: var(--paper-2); box-shadow: inset 3px 0 0 var(--green); }
}
.fd-prof__body { display: grid; gap: 22px; min-width: 0; }
.fd-prof.is-stale-only .fd-sec:not(.has-stale) { display: none; }
.fd-prof.is-stale-only .fd-row:not(.is-stale) { display: none; }
.fd-prof.is-stale-only .fd-group:not(.is-stale) { display: none; }

/* Each section is its own size container: beside the 218px nav the card is far
   narrower than the viewport, so header + row layouts key off the CARD's width
   (container queries), not the window's. Without support everything simply stays
   single-column, which is a fine fallback. */
.fd-sec { padding: 0; scroll-margin-top: 96px; container: fdsec / inline-size; }
.fd-sec__head { display: grid; gap: 14px 24px; padding: clamp(18px, 2.2vw, 28px); border-bottom: 1px solid var(--line); }
@container fdsec (min-width: 720px) {
  .fd-sec__head { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
  .fd-sec__confirm { grid-column: 2; justify-self: start; }
}
@container fdsec (min-width: 960px) {
  .fd-sec__head { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) auto; }
  .fd-sec__confirm { grid-column: auto; justify-self: auto; }
}
.fd-sec__title { display: flex; gap: 14px; align-items: flex-start; }
.fd-sec__ico { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 10px; background: color-mix(in srgb, var(--green) 16%, var(--paper-3)); color: var(--fd-green-ink); }
.fd-sec__ico .ico { width: 22px; height: 22px; }
.fd-sec__blurb { font-size: .9375rem; color: var(--ink-2); line-height: 1.55; max-width: 56ch; }
.fd-sec__confirm { white-space: normal; text-align: left; }
.fd-sec.has-stale .fd-sec__ico { background: color-mix(in srgb, var(--yellow) 30%, var(--paper-3)); color: var(--ink); }
.fd-sec > .fd-row, .fd-sec > .fd-group, .fd-sec > .fd-avail, .fd-sec > .fd-photos, .fd-sec > .fd-fineprint, .fd-sec > .cb-error, .fd-sec > .fd-records, .fd-sec > .fd-history, .fd-sec > .fd-empty { margin-inline: clamp(18px, 2.2vw, 28px); }

.fd-row { display: grid; gap: 10px 28px; padding: 18px 0; border-top: 1px solid var(--line); position: relative; }
.fd-sec__head + .fd-row, .fd-group .fd-row:first-of-type { border-top: 0; }
@container fdsec (min-width: 600px) { .fd-row { grid-template-columns: minmax(170px, 240px) minmax(0, 1fr); } }
.fd-row__label label, .fd-row__lbl { font-size: .9375rem; font-weight: 700; color: var(--ink); cursor: pointer; }
.fd-row__label p { margin-top: 4px; font-size: .8125rem; color: var(--ink-3); line-height: 1.45; }
.fd-row__ctl { gap: 8px; min-width: 0; }
.fd-row__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: .8125rem; color: var(--ink-3); }
.fd-prov { display: inline-flex; align-items: center; gap: 6px; }
.fd-prov .ico { width: 15px; height: 15px; color: var(--fd-green-ink); }
.fd-prov--pub { color: var(--ink-3); }
.fd-prov__lock { display: inline-grid; margin-left: 2px; }
.fd-prov__lock .ico { color: var(--ink-3); width: 13px; height: 13px; }
.fd-row.is-dirty::before { content: ""; position: absolute; left: -14px; top: 18px; bottom: 18px; width: 3px; border-radius: 2px; background: var(--blue-2); }
.fd-row.is-stale .fd-row__label label::after, .fd-row.is-stale .fd-row__lbl::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 8px; border-radius: 50%; background: var(--yellow); vertical-align: middle; }
.fd-group { padding: 6px 0 14px; border-top: 1px solid var(--line); }
.fd-sec__head + .fd-group { border-top: 0; }
.fd-group__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px; padding-top: 16px; }
.fd-group__head .fd-note { margin: 0; }
.fd-group.is-stale .fd-group__head .fd-note::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--yellow); vertical-align: middle; }
.fd-group .fd-row { padding: 12px 0; }

.fd-avail { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 40px; padding: 26px 0 8px; }
.fd-avail__ctls { display: flex; flex-wrap: wrap; gap: 22px 44px; }
.fd-avail__ctl { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.fd-stepper { display: inline-flex; align-items: center; gap: 8px; }
.fd-stepper button { width: 52px; height: 52px; display: grid; place-items: center; border: 1.5px solid var(--line-2); border-radius: 10px; background: var(--paper-3); color: var(--ink); cursor: pointer; transition: border-color .15s var(--ease), background-color .15s var(--ease); }
.fd-stepper button:hover:not(:disabled) { border-color: var(--ink); background: var(--paper-2); }
.fd-stepper button:disabled { opacity: .5; cursor: not-allowed; }
.fd-stepper button .ico { width: 22px; height: 22px; }
.fd-stepper__in { width: 5.2ch; min-width: 84px; height: 72px; text-align: center; border: 1.5px solid var(--line-2); border-radius: 10px; background: #fff; font-family: inherit; font-size: 3rem; font-weight: 850; letter-spacing: -0.03em; color: var(--ink); font-feature-settings: "tnum" 1; }
.fd-stepper__in:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 20%, transparent); }
.fd-stepper__in::placeholder { color: var(--line-2); }
.fd-avail__cap { font-size: 1rem; font-weight: 650; color: var(--ink); }
.fd-avail__cap span { display: block; font-size: .8125rem; font-weight: 450; color: var(--ink-3); }
.fd-avail__side { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; max-width: 360px; }
.fd-avail__side .fd-note { margin: 0; }

/* ---- pricing matrix: care type x room, one Not offered (NA) box per price ---- */
.fd-matrix-wrap { margin-top: 6px; margin-inline: clamp(18px, 2.2vw, 28px); overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; background: var(--paper-3); }
.fd-matrix-wrap:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.fd-matrix { width: 100%; min-width: 860px; border-collapse: collapse; font-size: .875rem; }
.fd-matrix thead th { padding: 10px 8px; text-align: left; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); background: var(--paper-2); border-bottom: 1px solid var(--line); white-space: nowrap; }
.fd-matrix tbody tr + tr > * { border-top: 1px solid var(--line); }
.fd-matrix tbody th { width: 190px; padding: 12px 12px; text-align: left; vertical-align: top; font-weight: 400; }
.fd-matrix__name { display: block; font-weight: 700; color: var(--ink); line-height: 1.3; }
.fd-matrix__meta { display: block; margin-top: 2px; font-size: .75rem; color: var(--ink-3); }
.fd-matrix__meta.is-warn::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: var(--yellow); vertical-align: middle; }
.fd-matrix__rowna { display: flex; align-items: center; gap: 8px; min-height: 32px; margin-top: 6px; font-size: .8125rem; color: var(--ink-2); cursor: pointer; }
.fd-matrix input[type="checkbox"] { width: 18px; height: 18px; margin: 0; flex: none; accent-color: var(--ink); cursor: pointer; }
.fd-matrix input[type="checkbox"]:disabled { cursor: not-allowed; }
.fd-matrix tbody tr.is-stale th { box-shadow: inset 3px 0 0 var(--yellow); }
.fd-cell { padding: 10px 6px; vertical-align: top; position: relative; }
.fd-cell--nil { color: var(--line-2); text-align: center; vertical-align: middle; }
.fd-cell.is-dirty { background: color-mix(in srgb, var(--blue) 6%, transparent); box-shadow: inset 0 -3px 0 var(--blue-2); }
.fd-cell.is-error { background: color-mix(in srgb, var(--red) 6%, transparent); }
.fd-money--cell { max-width: none; min-width: 92px; }
.fd-money--cell .cb-input { padding: 0 8px 0 22px; min-height: 44px; }
.fd-money--cell .fd-money__pre { left: 10px; }
.fd-cell__off { display: flex; align-items: center; min-height: 44px; padding-inline: 4px; font-size: .8125rem; font-style: italic; color: var(--ink-3); }
.fd-cell__na { display: flex; align-items: center; gap: 6px; min-height: 32px; margin-top: 4px; font-size: .75rem; font-weight: 700; color: var(--ink-3); cursor: pointer; }
.fd-cell__na span { display: inline; }
.fd-cell__na i { display: none; font-style: normal; font-weight: 600; }
.fd-cell .cb-error { display: block; margin-top: 2px; font-size: .75rem; }
.fd-cell .cb-error:empty { display: none; }

@container fdsec (max-width: 860px) {
  .fd-matrix-wrap { overflow: visible; border: 0; background: transparent; }
  .fd-matrix, .fd-matrix tbody, .fd-matrix tr, .fd-matrix th, .fd-matrix td.fd-cell { display: block; min-width: 0; width: auto; }
  .fd-matrix thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .fd-matrix tbody tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper-3); overflow: hidden; }
  .fd-matrix tbody tr + tr > * { border-top: 0; }
  .fd-matrix tbody th { grid-column: 1 / -1; width: auto; padding: 12px 14px; background: var(--paper-2); border-bottom: 1px solid var(--line); }
  .fd-matrix td.fd-cell { padding: 10px 14px 12px; box-shadow: none; border-top: 0; }
  .fd-matrix td.fd-cell.is-dirty { box-shadow: inset 3px 0 0 var(--blue-2); }
  .fd-matrix td.fd-cell::before { content: attr(data-label); display: block; margin-bottom: 4px; font-size: .8125rem; font-weight: 700; color: var(--ink-2); }
  .fd-matrix td.fd-cell--nil { display: none; }
  .fd-money--cell { max-width: 220px; }
  .fd-cell__na b { display: none; }
  .fd-cell__na i { display: inline; }
  .fd-cell__na { margin-top: 2px; font-size: .8125rem; }
}
@container fdsec (max-width: 440px) {
  .fd-matrix tbody tr { grid-template-columns: minmax(0, 1fr); }
}
@container fdsec (min-width: 700px) and (max-width: 860px) {
  .fd-matrix tbody tr { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.fd-photos { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); padding-top: 22px; }
.fd-photo { position: relative; display: flex; flex-direction: column; margin: 0; border: 1.5px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--paper-2); }
.fd-photo > img, .fd-photo__ph { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.fd-photo__ph { display: grid; place-items: center; color: var(--line-2); background: linear-gradient(135deg, color-mix(in srgb, var(--green) 16%, var(--paper-2)), color-mix(in srgb, var(--blue-2) 14%, var(--paper-2))); }
.fd-photo__ph .ico { width: 34px; height: 34px; color: var(--ink-3); }
.fd-photo figcaption { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; font-size: .8125rem; font-weight: 600; background: var(--paper-3); }
.fd-photo__act { padding: 8px 12px 12px; background: var(--paper-3); }
.fd-photo--add { align-items: center; justify-content: center; gap: 10px; min-height: 176px; border-style: dashed; border-color: var(--line-2); background: transparent; font-size: .875rem; font-weight: 700; color: var(--ink-2); cursor: pointer; transition: border-color .15s var(--ease), background-color .15s var(--ease); }
.fd-photo--add:hover { border-color: var(--ink); background: var(--paper-3); }
.fd-photo--add:focus-within { outline: 3px solid var(--blue); outline-offset: 2px; }
.fd-photo--add .ico { width: 26px; height: 26px; color: var(--fd-green-ink); }
.fd-photo--add.is-disabled { opacity: .55; cursor: not-allowed; }

.fd-records { display: grid; gap: 26px; padding-top: 22px; padding-bottom: 6px; }
.fd-rating { display: grid; gap: 22px 40px; align-items: center; }
@media (min-width: 760px) { .fd-rating { grid-template-columns: auto 1fr; } }
.fd-rating__n { display: flex; align-items: center; gap: 16px; }
.fd-rating__n span { font-size: .875rem; color: var(--ink-2); max-width: 14ch; line-height: 1.3; }
.fd-topics { list-style: none; display: grid; gap: 10px; max-width: 460px; }
.fd-topics li { display: grid; grid-template-columns: 96px 1fr 34px; gap: 14px; align-items: center; font-size: .875rem; color: var(--ink-2); }
.fd-topics .fd-bar { margin: 0; }
.fd-topics b { font-feature-settings: "tnum" 1; color: var(--ink); text-align: right; }
.fd-kv--lock dt { color: var(--ink-3); }
.fd-dispute { padding: 18px; border-radius: 10px; background: var(--paper); border: 1px solid var(--line); }
.fd-dispute p { font-size: .9375rem; color: var(--ink-2); max-width: 60ch; }
.fd-dispute__act { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }

.fd-history { list-style: none; margin-top: 8px; padding-bottom: 8px; }
.fd-history li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 14px 0; border-top: 1px solid var(--line); }
.fd-history li:first-child { border-top: 0; }
.fd-history strong { display: block; font-size: .9375rem; }
.fd-history span { display: block; font-size: .875rem; color: var(--ink-2); font-feature-settings: "tnum" 1; }
.fd-history em { display: block; margin-top: 2px; font-style: normal; font-size: .8125rem; color: var(--ink-3); }
.fd-history li > div:last-child { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.fd-history time { font-size: .8125rem; color: var(--ink-3); }

.fd-savebar {
  position: sticky;
  bottom: 16px;
  z-index: var(--z-sticky);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px;
  margin-top: 26px;
  padding: 14px 18px;
  border-radius: 14px;
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 24px 48px -22px rgba(20, 19, 17, 0.65);
}
.fd-savebar strong { color: #fff; }
.fd-savebar p { font-size: .9375rem; color: var(--fd-on-dark); }
.fd-savebar > div { display: flex; gap: 10px; }
.fd-savebar .btn--ghost:hover { background: var(--paper); color: var(--ink); }

/* ============================================================
   TEAM & ACCOUNT
   ============================================================ */
.fd-invite { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line); }
.fd-invite .fd-h3 { margin-bottom: 16px; }
.fd-invite__go { justify-content: flex-end; }
.fd-roles { list-style: none; display: grid; gap: 0; }
@media (min-width: 760px) { .fd-roles { grid-template-columns: repeat(3, 1fr); } .fd-roles li { padding: 4px clamp(14px, 2vw, 26px); border-left: 2px solid var(--line); } .fd-roles li:first-child { border-left: 0; padding-left: 4px; } }
.fd-roles li { display: grid; gap: 4px; padding: 12px 0; }
.fd-roles strong { font-size: 1rem; }
.fd-roles span { font-size: .875rem; color: var(--ink-2); }
.fd-setting { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.fd-setting:first-of-type { border-top: 0; padding-top: 4px; }
.fd-setting > div:first-child { display: flex; align-items: center; gap: 14px; min-width: 0; }
.fd-setting > div:first-child > .ico { flex: none; width: 22px; height: 22px; color: var(--fd-green-ink); }
.fd-setting strong { display: block; font-size: .9375rem; }
.fd-setting span { display: block; font-size: .8125rem; color: var(--ink-3); line-height: 1.4; }
.fd-sessions { list-style: none; margin-bottom: 18px; }
.fd-sessions li { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.fd-sessions li:first-child { border-top: 0; }
.fd-sessions li > .ico { flex: none; width: 22px; height: 22px; color: var(--ink-3); }
.fd-sessions li > div { flex: 1; min-width: 0; }
.fd-sessions strong { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .9375rem; }
.fd-sessions span { font-size: .8125rem; color: var(--ink-3); }

/* ============================================================
   TOASTS
   ============================================================ */
/* popover="manual" → top layer; the UA gives [popover] a centered, bordered box, so reset all of it */
.fd-toasts { position: fixed; inset: auto 20px 20px auto; z-index: var(--z-toast); margin: 0; padding: 0; border: 0; width: auto; height: auto; max-width: none; overflow: visible; background: transparent; color: inherit; pointer-events: none; }
.fd-toasts:popover-open, .fd-toasts:not([popover]) { display: flex; flex-direction: column; gap: 10px; }
@media (max-width: 560px) { .fd-toasts { inset: auto 16px 16px 16px; } }
.fd-toast { display: flex; align-items: flex-start; gap: 12px; max-width: min(92vw, 400px); padding: 14px 16px; border-radius: 10px; border-left: 4px solid var(--green); background: var(--ink); color: var(--paper); font-size: .9375rem; line-height: 1.45; box-shadow: 0 20px 40px -18px rgba(20, 19, 17, 0.6); pointer-events: auto; }
.fd-toast .ico { flex: none; width: 20px; height: 20px; margin-top: 1px; color: var(--green); }
.fd-toast--warn { border-left-color: var(--yellow); }
.fd-toast--warn .ico { color: var(--yellow); }
.fd-toast.is-out { opacity: 0; transform: translateY(8px); transition: opacity .26s var(--ease), transform .26s var(--ease); }

/* ============================================================
   MOTION — all gated; transform/opacity only
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  .fd-view:not([hidden]) > *, .fd-welcome__main > * { animation: fd-rise .5s var(--ease-out) both; }
  .fd-view:not([hidden]) > *:nth-child(2) { animation-delay: .05s; }
  .fd-view:not([hidden]) > *:nth-child(3) { animation-delay: .1s; }
  .fd-view:not([hidden]) > *:nth-child(4) { animation-delay: .15s; }
  .fd-rule { animation: fd-draw .8s var(--ease-out) .1s both; }
  .fd-bar > i { animation: fd-grow .9s var(--ease-out) .15s both; }
  .fd-ring__bar { animation: fd-ring 1.2s var(--ease-out) .1s both; }
  .fd-toast { animation: fd-pop .32s var(--ease-out) both; }
  .fd-drawer[open] { animation: fd-slide .34s var(--ease-out) both; }
  .fd-drawer[open]::backdrop, .fd-modal[open]::backdrop { animation: fd-fade .3s var(--ease) both; }
  .fd-modal[open] { animation: fd-pop .28s var(--ease-out) both; }
  .fd-savebar:not([hidden]) { animation: fd-pop .3s var(--ease-out) both; }
  .fd-action { animation: fd-rise .5s var(--ease-out) both; }
  .fd-action:nth-child(2) { animation-delay: .06s; } .fd-action:nth-child(3) { animation-delay: .12s; } .fd-action:nth-child(4) { animation-delay: .18s; }
}
@keyframes fd-rise { from { opacity: 0; transform: translateY(12px); } }
@keyframes fd-draw { from { transform: scaleX(0); } }
@keyframes fd-grow { from { transform: scaleX(0); } }
@keyframes fd-ring { from { stroke-dashoffset: var(--c); } }
@keyframes fd-pop { from { opacity: 0; transform: translateY(10px) scale(.98); } }
@keyframes fd-slide { from { transform: translateX(40px); opacity: 0; } }
@keyframes fd-fade { from { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .fd-nav a, .fd-action, .fd-mini, .fd-side, .fd-switch__track, .fd-switch__track::after { transition: none !important; }
}
