/* Generated by scripts/sync-design-system.mjs from @fovea/design-system@0.3.3
 * Source: components.css. Do not edit — edit the design system and re-sync. */
/* Fovea Design System — generated component layer. Do not edit by hand.

 *

 * Requires the token layer (dist/tokens.css, or the dist/fovea-ds.css bundle,

 * which already carries both). Every value here resolves through --fv-*.

 */

/* --- components/button.css --- */

/* ============================================================================
   button.css — fv-btn

   Lifted verbatim from Fovea's public/styles.css at 95cc0e6 (FOV-48 M1 spec:
   docs/plans/FOV-48-m1-spec-buttons-chips.md in the app repo). Adopting this
   changes nothing visually except the :disabled state, which is a deliberate
   decision recorded in CHANGELOG.md.

   Factoring note: the base rule carries `font: inherit` and nothing else. Each
   variant carries its own box. That is how the app's rules are factored today,
   and it is what makes `fv-btn-danger` composable across ghost, link and chip.

   No focus ring here — base.css already ships the one global
   `:focus-visible` outline, and a per-component ring would double it up.
   No transitions — the app has none on these, and the app's visual suite
   compares screenshots.
   ============================================================================ */

:root {
  /* --- component tier -------------------------------------------------------
     Colour flows from the semantic tier, so themes reach these for free.
     Geometry is authored verbatim from the app's current rules, because
     matching current rendering is the acceptance bar for adoption. Values
     marked (off-scale) do not land on a primitive step; snapping them would
     move pixels, which is a spec amendment in the app repo, not a build
     decision. They are named here so the debt is visible and one-line fixable.
     -------------------------------------------------------------------------- */

  --fv-btn-radius: 9px;                                  /* off-scale: radius-md 8px | radius-lg 10px */

  --fv-btn-primary-bg: var(--fv-accent);
  --fv-btn-primary-ink: var(--fv-on-accent);
  --fv-btn-primary-bg-hover: color-mix(in srgb, var(--fv-accent) 84%, #000);
  --fv-btn-primary-pad-y: var(--fv-space-4);             /* 8px */
  --fv-btn-primary-pad-x: 14px;                          /* off-scale: space-6 12px | space-7 16px */
  --fv-btn-primary-weight: var(--fv-type-weight-semibold);

  --fv-btn-ghost-bg: var(--fv-panel);
  --fv-btn-ghost-ink: var(--fv-ink);
  --fv-btn-ghost-line: var(--fv-line);
  --fv-btn-ghost-bg-hover: var(--fv-hover);
  --fv-btn-ghost-pad-y: 7px;                             /* off-scale: space-3 6px | space-4 8px */
  --fv-btn-ghost-pad-x: 13px;                            /* off-scale: space-6 12px | space-7 16px */

  --fv-btn-link-ink: var(--fv-accent);
  --fv-btn-link-weight: var(--fv-type-weight-semibold);  /* 600 */
  /* No --fv-btn-link-size: the link variant takes its size from context, on purpose.
     See the note on .fv-btn-link below. */

  --fv-btn-subtle-ink: var(--fv-ink-soft);
  --fv-btn-subtle-ink-hover: var(--fv-accent);
  --fv-btn-subtle-size: 12.5px;                          /* off-scale — and a special case: the
                                                            type scale's `sm` step claims 12.5px in
                                                            its `replaces` list, so this one has a
                                                            landing place already. Adopting it still
                                                            moves half a pixel on ~30 sites, so it
                                                            is a spec decision, not a build step. */

  --fv-btn-small-size: var(--fv-type-size-sm);           /* 12px */

  --fv-btn-danger-ink: var(--fv-needs);

  --fv-btn-disabled-bg: var(--fv-disabled-bg);
  --fv-btn-disabled-ink: var(--fv-disabled-ink);
}

/* -------------------------------------------------------------------- base */

.fv-btn {
  font: inherit;
}

/* ----------------------------------------------------------------- primary */

.fv-btn-primary {
  background: var(--fv-btn-primary-bg);
  color: var(--fv-btn-primary-ink);
  border: none;
  border-radius: var(--fv-btn-radius);
  padding: var(--fv-btn-primary-pad-y) var(--fv-btn-primary-pad-x);
  cursor: pointer;
  font-weight: var(--fv-btn-primary-weight);
}

.fv-btn-primary:hover:not(:disabled) {
  background: var(--fv-btn-primary-bg-hover);
}

/* ------------------------------------------------------------------- ghost */

.fv-btn-ghost {
  background: var(--fv-btn-ghost-bg);
  color: var(--fv-btn-ghost-ink);
  border: 1px solid var(--fv-btn-ghost-line);
  border-radius: var(--fv-btn-radius);
  padding: var(--fv-btn-ghost-pad-y) var(--fv-btn-ghost-pad-x);
  cursor: pointer;
}

.fv-btn-ghost:hover:not(:disabled) {
  background: var(--fv-btn-ghost-bg-hover);
}

/* -------------------------------------------------------------------- link */

/* The link variant takes its size from whatever contains it, and sits at semibold.
   That is not a style choice — it is what the app renders, and v0.2.0 got it wrong.

   The M1 spec extracted this row from a single rule (styles.css:311, `font-size: 13px`,
   no weight) and missed a second bare `.linkbtn` at :1134 that comes later in the
   cascade at equal specificity. Its `font: inherit` cancels the 13px and it adds
   `font-weight: 600`, so the live values were inherited-size / 600 all along. Corrected
   in v0.2.1, per §Amendment of the app repo's docs/plans/FOV-48-m1-spec-buttons-chips.md.

   ⚠️ `font: inherit` MUST stay above `font-weight`. The shorthand resets weight to the
   inherited value, so reordering these two lines silently un-bolds every link button —
   which is precisely the bug class this rule exists to close. test/components.test.mjs
   asserts the order. */

.fv-btn-link {
  background: none;
  border: none;
  color: var(--fv-btn-link-ink);
  cursor: pointer;
  padding: 0;
  font: inherit;
  font-weight: var(--fv-btn-link-weight);
}

.fv-btn-link:hover:not(:disabled) {
  text-decoration: underline;
}

/* Modifiers on the link variant. Both are (0,1,0) like .fv-btn-link, so they
   win on source order — which is why they are declared after it. In the app they
   are (0,2,0) compounds (`.linkbtn.subtle`), which is how their font-size survives
   the later bare `.linkbtn { font: inherit }`; here source order does the same job. */

.fv-btn-subtle {
  color: var(--fv-btn-subtle-ink);
  font-size: var(--fv-btn-subtle-size);
}

.fv-btn-subtle:hover:not(:disabled) {
  color: var(--fv-btn-subtle-ink-hover);
}

.fv-btn-small {
  font-size: var(--fv-btn-small-size);
}

/* ------------------------------------------------------------------ danger */

/* A pure colour modifier. Composed as `fv-btn fv-btn-ghost fv-btn-danger`,
   `fv-btn fv-btn-link fv-btn-danger`, or on a chip as
   `fv-chip fv-chip-btn fv-btn-danger` — which is why it is written at (0,2,0):
   it has to beat .fv-chip-tag and .fv-chip-accent, declared in chip.css, which
   the bundle concatenates after this file. */

.fv-btn.fv-btn-danger,
.fv-chip.fv-btn-danger {
  color: var(--fv-btn-danger-ink);
}

/* ---------------------------------------------------------------- disabled */

/* ONE disabled treatment for every variant — Barry's call, 2026-08-17.

   The app carried two, deliberately: `opacity: .55` as the general rule, and a
   solid grey box in .auth-form and .l3-stepbtns. Solid grey won, because it was
   the choice made both times it was written on purpose, and it reads better on
   tinted panels. Plain disabled primaries therefore change appearance; the
   app's adoption PR lists the affected captures by name before re-baselining.

   Declared last so it beats every variant's :hover on a specificity tie — and
   the hover rules above also carry :not(:disabled), so the win doesn't depend
   on source order alone. */

.fv-btn:disabled {
  background: var(--fv-btn-disabled-bg);
  color: var(--fv-btn-disabled-ink);
  cursor: not-allowed;
}

/* The link variant has no box, so a solid grey fill would render as a
   highlighter stripe behind the text rather than a disabled control. It keeps
   the disabled ink and cursor and drops only the fill. This is the variant
   declining a box it never had, not a second disabled treatment. */

.fv-btn-link:disabled {
  background: none;
}


/* --- components/card.css --- */

/* ============================================================================
   card.css — fv-card

   The panel surface. Replaces the surface half of 17 app surfaces: .plan-col,
   .session, .dash-grid .w, .pcard, .cur-head, .firstrun, .confirm-card,
   .auth-card, .prop, .own, .cur-bar, .cat-card, .theme-card, .port-how .howc,
   .eq-item, .eqr-tier, .assess-frame.

   FOV-48 M2 spec: docs/plans/FOV-48-m2-spec-cards-fields.md in the app repo.

   ⚠️ This file is NOT authored the way button.css was. M1's acceptance bar was
   "match the app's current rendering", so every value there is a verbatim copy of
   a live rule. M2's bar is different: Barry looked at the app's real
   inconsistencies rendered side by side and chose to COLLAPSE them. The app has
   six card radii; this ships one. Diff this against the app's styles.css and you
   will find deliberate differences — they are the point, and the app-side PR
   enumerates the captures they move, capture by capture.

   Three things this component deliberately does not carry:

     · No padding. The app's card padding runs from 0 (sectioned cards like
       .session and .pcard, which have their own head/body/foot rows) to
       32px 26px (.firstrun). Padding is layout, not card identity; every
       surface keeps its own app-side.
     · No display / flex-direction / overflow. Several of these cards are flex
       columns with internal scrolling, and .session's structure in particular is
       load-bearing (FOV-45/FOV-51). It stays in the app.
     · No size scale. M1 shipped button variants; cards get one radius. A future
       surface that wants a different corner is a spec change, not a modifier
       added here.

   No focus ring — base.css ships the one global :focus-visible outline.
   No transitions. The app's .theme-card carries `transition: border-color .12s`
   today and it is dropped: the app's visual gate compares screenshots, and that
   very rule returned three impossible mid-animation greys during the extraction
   pass for this spec until the settle was extended past it.
   ============================================================================ */

:root {
  /* --- component tier -------------------------------------------------------
     Colour flows from the semantic tier, so themes reach these for free. For
     this component the theme axis is nearly inert: only `classic` moves
     --fv-line (to #E5E0D8), and only in light. Mode is where all the variation
     lives — --fv-panel #FFFFFF → #1F2126, --fv-line #E5E4E1 → #33353C.
     -------------------------------------------------------------------------- */

  --fv-card-bg: var(--fv-panel);
  --fv-card-line: var(--fv-line);
  --fv-card-shadow: var(--fv-shadow);

  /* ONE radius for every card — Barry's call, chosen from a rendered mockup of
     three options (keep all six / collapse to 11-14-16 / one radius) against the
     real tokens. The app's six were 10px, 11px, 12px, 14px, 16px and 18px. */
  --fv-card-radius: 14px;                    /* off-scale: radius-xl 12px | radius-2xl 16px — and a
                                                special case like --fv-btn-subtle-size: the radius
                                                scale's `xl` step already claims 14px in its
                                                `replaces` list, so this value has a landing place.
                                                Adopting it moves pixels on every card, so it is a
                                                spec decision, not a build step. */

  /* The floating shadow does NOT vary between light and dark, unlike
     --fv-shadow (rgba(0,0,0,.05)/.06 light → rgba(0,0,0,.4)/.55 dark). The app
     hard-codes this exact string in three places (.auth-card, .modal, .app-prev)
     and the M2 spec ships it hard-coded to match. Barry's call (2026-08-17) was
     to tokenise it now rather than in M3 — the value is byte-identical, only the
     authoring changed. See CHANGELOG v0.3.0; the app repo's spec needs the
     matching amendment.

     It is deliberately NOT named --fv-card-shadow-floating. M3's consumers are
     .modal, .app-prev and .dialog, which are not cards — so this is shared
     elevation that happens to be declared here. It lives in the component tier
     rather than in tokens/ because the app's sync script guards dist/tokens.css
     byte-for-byte and a token-layer diff arriving from a components change is
     the exact smell that guard exists to catch. M3 is the moment to promote it
     to the semantic tier alongside --fv-shadow, when .dialog brings its fourth
     value (0 24px 70px rgba(0,0,0,.34)) and dark mode may want to diverge. */
  --fv-shadow-floating: 0 20px 60px rgba(0, 0, 0, .3);
}

/* -------------------------------------------------------------------- base */

/* The shadow is ON by default. Barry's call: the five flat surfaces are all
   cards nested inside another card or a dialog, where a second shadow reads as
   noise — so the nested case is the modifier, not the default. */

.fv-card {
  background: var(--fv-card-bg);
  border: 1px solid var(--fv-card-line);
  border-radius: var(--fv-card-radius);
  box-shadow: var(--fv-card-shadow);
}

/* ---------------------------------------------------------------- modifiers */

/* Both modifiers are (0,1,0), the same specificity as .fv-card, so source order
   is the only thing making them win. They must stay below the base rule. */

.fv-card-flat {
  box-shadow: none;
}

/* Dialog-weight elevation, and no border: at this shadow depth a 1px line adds
   nothing but a seam. The app's .auth-card carries .35 today and adopts .3 here
   to match .modal and .app-prev, which already hard-code this value exactly —
   that alpha change is one of the captures the app-side PR names in advance. */

.fv-card-floating {
  border: none;
  box-shadow: var(--fv-shadow-floating);
}


/* --- components/chip.css --- */

/* ============================================================================
   chip.css — fv-chip, fv-chip-x

   Lifted verbatim from Fovea's public/styles.css at 95cc0e6 (FOV-48 M1 spec).

   NOT components, and deliberately so: .arc-chip, .schip, .scan-chip, .tp-chip
   and .ver-chip stay in the app. They are composite single-surface assemblies,
   not primitives — they will consume these instead of becoming them.

   No focus ring (base.css owns it), no transitions (the app has none here).
   ============================================================================ */

:root {
  /* --- component tier — see the note in button.css for the (off-scale) rule -- */

  --fv-chip-radius: var(--fv-radius-pill);               /* 999px */

  --fv-chip-btn-bg: var(--fv-panel);
  --fv-chip-btn-line: var(--fv-line);
  --fv-chip-btn-line-hover: var(--fv-accent);
  --fv-chip-btn-ink-hover: var(--fv-accent);
  --fv-chip-btn-size: var(--fv-type-size-sm);            /* 12px */
  --fv-chip-btn-pad-y: var(--fv-space-3);                /* 6px */
  --fv-chip-btn-pad-x: 11px;                             /* off-scale: space-5 10px | space-6 12px */

  --fv-chip-tag-bg: var(--fv-chip-bg);
  --fv-chip-tag-ink: var(--fv-ink-2);
  --fv-chip-tag-line: var(--fv-line);
  --fv-chip-tag-size: var(--fv-type-size-sm);            /* 12px */
  --fv-chip-tag-weight: var(--fv-type-weight-semibold);
  --fv-chip-tag-gap: 5px;                                /* off-scale: space-2 4px | space-3 6px */
  --fv-chip-tag-pad-y: 3px;                              /* off-scale: space-1 2px | space-2 4px */
  --fv-chip-tag-pad-r: var(--fv-space-3);                /* 6px */
  --fv-chip-tag-pad-l: var(--fv-space-5);                /* 10px */

  --fv-chip-accent-bg: var(--fv-accent-soft);
  --fv-chip-accent-ink: var(--fv-ink);
  --fv-chip-accent-line: color-mix(in srgb, var(--fv-accent) 35%, var(--fv-line));

  --fv-chip-x-ink-hover: var(--fv-needs);
  --fv-chip-x-size: var(--fv-type-size-md);              /* 13px */
  --fv-chip-x-pad-x: 3px;                                /* off-scale: space-1 2px | space-2 4px */
}

/* -------------------------------------------------------------------- base */

/* Same factoring as .fv-btn: the base carries `font: inherit` (fv-chip-btn is a
   <button>, which does not inherit type) and each variant carries its own box. */

.fv-chip {
  font: inherit;
}

/* --------------------------------------------------------------- button chip */

/* No resting `color` — the app's .chip-btn inherits it, and so does this. */

.fv-chip-btn {
  font-size: var(--fv-chip-btn-size);
  padding: var(--fv-chip-btn-pad-y) var(--fv-chip-btn-pad-x);
  border-radius: var(--fv-chip-radius);
  border: 1px solid var(--fv-chip-btn-line);
  background: var(--fv-chip-btn-bg);
  cursor: pointer;
}

.fv-chip-btn:hover:not(:disabled) {
  border-color: var(--fv-chip-btn-line-hover);
  color: var(--fv-chip-btn-ink-hover);
}

/* ------------------------------------------------------------------ tag chip */

.fv-chip-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--fv-chip-tag-gap);
  background: var(--fv-chip-tag-bg);
  color: var(--fv-chip-tag-ink);
  border: 1px solid var(--fv-chip-tag-line);
  border-radius: var(--fv-chip-radius);
  padding: var(--fv-chip-tag-pad-y) var(--fv-chip-tag-pad-r)
           var(--fv-chip-tag-pad-y) var(--fv-chip-tag-pad-l);
  font-size: var(--fv-chip-tag-size);
  font-weight: var(--fv-chip-tag-weight);
}

/* The accent tint, used by the app's .tag-chip.coach and .tag-chip.more.
   Deliberately WITHOUT the `::before "✨"` content — that glyph is app-specific
   copy, not a design-system concern, and it stays in the app.

   (0,1,0) like .fv-chip-tag, so it wins on source order. */

.fv-chip-accent {
  background: var(--fv-chip-accent-bg);
  color: var(--fv-chip-accent-ink);
  border-color: var(--fv-chip-accent-line);
}

/* ------------------------------------------------------------- remove button */

/* Standalone, not a .fv-chip variant — it lives inside a chip rather than being
   one. `color: inherit` is what lets it pick up .fv-chip-accent's ink for free. */

.fv-chip-x {
  border: none;
  background: none;
  color: inherit;
  cursor: pointer;
  font-size: var(--fv-chip-x-size);
  line-height: 1;
  padding: 0 var(--fv-chip-x-pad-x);
  border-radius: var(--fv-radius-circle);
}

.fv-chip-x:hover:not(:disabled) {
  color: var(--fv-chip-x-ink-hover);
}


/* --- components/dot.css --- */

/* ============================================================================
   dot.css — fv-dot

   Lifted verbatim from Fovea's public/styles.css at 95cc0e6 (FOV-48 M1 spec).

   Size variants stay in the app as contextual overrides on this class:
   .scan-chip .fv-dot at 8px with its pulse, .sess-bar .fv-dot at 9px. A dot is
   one shape at one size here; where it needs to be smaller, the surface that
   needs it says so.
   ============================================================================ */

:root {
  --fv-dot-size: var(--fv-space-5);   /* 10px */
  --fv-dot-bg: var(--fv-none);
}

.fv-dot {
  width: var(--fv-dot-size);
  height: var(--fv-dot-size);
  border-radius: var(--fv-radius-circle);
  display: inline-block;
  background: var(--fv-dot-bg);
  flex: none;
}

/* The app emits the modifier from a stable enum — class="fv-dot fv-dot-${level}"
   — so fv-dot-none is declared explicitly even though it equals the base. A
   template that can only ever emit four class names is easier to trust than one
   with a fifth, implicit, empty case. */

.fv-dot-mastered { background: var(--fv-mastered); }
.fv-dot-developing { background: var(--fv-developing); }
.fv-dot-needs { background: var(--fv-needs); }
.fv-dot-none { background: var(--fv-none); }


/* --- components/field.css --- */

/* ============================================================================
   field.css — fv-field

   Text inputs, selects and textareas. Replaces 18 app rules across roughly 75
   controls.

   FOV-48 M2 spec: docs/plans/FOV-48-m2-spec-cards-fields.md in the app repo.

   ⚠️ Like card.css, this is a COLLAPSE, not a copy. The app splits its field
   border roughly 50/50 between --fv-line and --fv-field-line; this ships one
   token for every field. Fields stop sharing a border colour with cards, which
   is the correct reading — they are different things.

   What it must not carry:

     · No width. Controls have per-site widths (84px, 5.5ch, 62px, flex: 1)
       that stay app-side.
     · No resize / min-height / max-height. Textarea sizing is per-site.
     · No appearance. Checkboxes and radios are OUT OF SCOPE — they keep
       appearance: auto, which makes border, padding and border-radius no-ops on
       them anyway (measured). A checkbox/radio component is its own milestone.
     · No focus declaration. Not an omission — a decision (§2.4 of the spec).
       base.css ships the one global :focus-visible outline and the app has the
       same rule. Three app fields add an accent border on focus today and one
       blanks its border; all of that is dropped. The ring is the whole story.

   No transitions, for the same reason as every other component here.
   ============================================================================ */

:root {
  /* --- component tier -------------------------------------------------------
     As with cards, the theme axis is nearly inert here and mode is where the
     variation lives: --fv-field-bg #FFFFFF → #14161A, --fv-field-line
     #8F877C → #6B6E76 (FOV-383, v0.3.2; it was #D8D0C6 → #3A3C42 and failed 1.4.11). Not one theme moves either of them.
     -------------------------------------------------------------------------- */

  --fv-field-ink: var(--fv-ink);
  --fv-field-surface: var(--fv-field-bg);
  --fv-field-border: var(--fv-field-line);
  --fv-field-placeholder-ink: var(--fv-ink-soft);

  /* Note the names: --fv-field-surface and --fv-field-border rather than
     --fv-field-bg / --fv-field-line. Those two are SEMANTIC tokens that already
     ship in dist/tokens.css, and a component-tier declaration of the same name
     would shadow the theme silently. components.test.mjs asserts that no token
     declared here is also declared in the token layer. */

  --fv-field-radius: var(--fv-radius-md);      /* 8px — lands exactly on the scale */
  --fv-field-pad-y: var(--fv-space-4);         /* 8px */
  --fv-field-pad-x: var(--fv-space-5);         /* 10px */
  --fv-field-size: 13.5px;                     /* off-scale: type-size-md 13px claims 13.5px in its
                                                  `replaces` list, so it has a landing place; adopting
                                                  it moves half a pixel on ~75 controls, which is a
                                                  spec decision, not a build step. */

  /* Sizes are named by ROLE, not by a type scale:
       sm — compact controls in toolbars, popovers, tables
       (base) — the default
       lg — primary form controls in modals and on the auth screen */

  --fv-field-sm-radius: 7px;                   /* off-scale: radius-sm 6px | radius-md 8px — `sm`
                                                  claims 7px in its `replaces` list */
  --fv-field-sm-pad-y: var(--fv-space-3);      /* 6px */
  --fv-field-sm-pad-x: var(--fv-space-4);      /* 8px */
  --fv-field-sm-size: 12.5px;                  /* off-scale — the same value and the same landing
                                                  place as --fv-btn-subtle-size (type-size-sm) */

  --fv-field-lg-radius: 9px;                   /* off-scale: radius-md 8px | radius-lg 10px — `md`
                                                  claims 9px; the same value as --fv-btn-radius */
  --fv-field-lg-pad-y: 9px;                    /* off-scale: space-4 8px | space-5 10px */
  --fv-field-lg-pad-x: 11px;                   /* off-scale: space-5 10px | space-6 12px */
  --fv-field-lg-size: var(--fv-type-size-lg);  /* 14px — lands exactly on the scale */
}

/* -------------------------------------------------------------------- base */

/* ⚠️ `font: inherit` MUST stay above `font-size`. `font` is a shorthand and it
   resets font-size, so reversing these two lines makes every field render at
   whatever size its context happens to be — a bug that looks like nothing is
   wrong until you measure it. Same shape as the fv-btn-link ordering trap that
   cost v0.2.0 a release. components.test.mjs asserts the order; do not tidy it.

   The reason `font: inherit` is here at all is that the app's `.auth-form input`
   and `.sec-field input` never had it. They set font-size alone, so the sign-in
   screen and Settings › Security have been rendering in Arial — the browser's
   default form font — while the rest of the app uses its own stack. Nobody found
   that by reading the rules; it took a computed-style read. Fixing it is one of
   three sanctioned behaviour changes in this milestone.

   The other two: --fv-field-surface is applied unconditionally, which corrects
   the app's `.cc-field select` forcing --fv-panel (invisible in light, visibly
   lighter in dark); and the app deletes a rogue `outline: none` that was killing
   the a11y ring. That deletion is the app's change, not this file's — this file
   declares nothing on focus at all. */

.fv-field {
  background: var(--fv-field-surface);
  color: var(--fv-field-ink);
  border: 1px solid var(--fv-field-border);
  border-radius: var(--fv-field-radius);
  padding: var(--fv-field-pad-y) var(--fv-field-pad-x);
  font: inherit;
  font-size: var(--fv-field-size);
}

/* base.css already carries a global ::placeholder rule with these values. This
   one is scoped to the component so a consuming app that has its own global
   placeholder colour doesn't quietly change what a Fovea field looks like.
   `opacity: 1` is load-bearing: Firefox applies a default placeholder opacity,
   and without this the measured ratio and the rendered one disagree. */

.fv-field::placeholder {
  color: var(--fv-field-placeholder-ink);
  opacity: 1;
}

/* ---------------------------------------------------------------- modifiers */

/* Both are (0,1,0), the same specificity as .fv-field, so they win on source
   order alone — which is why they are declared after the base rule. Neither
   redeclares `font: inherit`: the base already set it, and a modifier that
   repeated the shorthand would reset its own font-size depending on where the
   line landed. They set font-size only. */

.fv-field-sm {
  border-radius: var(--fv-field-sm-radius);
  padding: var(--fv-field-sm-pad-y) var(--fv-field-sm-pad-x);
  font-size: var(--fv-field-sm-size);
}

.fv-field-lg {
  border-radius: var(--fv-field-lg-radius);
  padding: var(--fv-field-lg-pad-y) var(--fv-field-lg-pad-x);
  font-size: var(--fv-field-lg-size);
}

