/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

/* ── Chat messages: fade content under navbar (top) and textarea (bottom) ── */
/* Mimics the Claude app soft-mask so messages dissolve gracefully at edges   */
#chat-messages {
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0,
    black 2.5rem,
    black calc(100% - 4.5rem),
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0,
    black 2.5rem,
    black calc(100% - 4.5rem),
    transparent 100%
  );
}

/* ── Insights inbox: the same soft edges on its scrollers ───────────────── */
/* The list, the detail pane and the phone pager fade at both ends like the
   chat. Each scroller carries padding at least as deep as its fade zone, so
   content rests clear of the fade at either end and only dissolves while it
   is moving past the edge. The ⋯ row menus are popovers (top layer), so the
   mask's stacking context never clips them. */
.inbox-fade {
  --fade-top: 1.25rem;
  --fade-bottom: 2.5rem;
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0,
    black var(--fade-top),
    black calc(100% - var(--fade-bottom)),
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0,
    black var(--fade-top),
    black calc(100% - var(--fade-bottom)),
    transparent 100%
  );
}

/* ── Chat page: the document never scrolls ──────────────────────────────── */
/* The layout gives <body> this class on a fullscreen page (the chat) and the
   page itself lives in a position:fixed root (viewport_fit_controller). html
   and body are exactly the viewport and have no overflow, so there is nothing
   for iOS to scroll when it reveals the focused textarea, and no rubber-band
   on a drag that starts on the navbar or the composer. `min-h-screen` is
   deliberately NOT on this body: 100vh is the LARGE viewport on iOS, which
   made the document taller than the screen and therefore scrollable. */
html:has(> body.app-viewport) {
  height: 100%;
  overflow: hidden;
  overscroll-behavior: none;
}
body.app-viewport {
  height: 100%;
  overflow: hidden;
  overscroll-behavior: none;
}

/* The composer's shell clears the home indicator when the keyboard is down;
   with the keyboard up the indicator is under the keyboard and the composer
   sits on the keyboard's top edge instead, like a native message box. The
   attribute is set by viewport_fit_controller on the chat root. */
.composer-shell {
  padding-bottom: max(0.5rem, env(safe-area-inset-bottom));
}
[data-keyboard="open"] .composer-shell {
  padding-bottom: 0.5rem;
}

/* ── Share sheet (queries/_share_button) ────────────────────────────────── */
/* On a phone the share panel is `fixed inset-0` inside the chat root, which is
   the visible area. But it is a DOM child of #chat-messages, and a mask paints
   its whole subtree — a fixed descendant included — so the open sheet would
   fade at both ends and clip to the scroller's box. Drop the mask while one is
   open; its own backdrop covers the chat anyway, and losing the stacking
   context the mask created is what lets the sheet sit above the navbar. */
#chat-messages:has(.share-sheet:not(.hidden)) {
  -webkit-mask-image: none;
  mask-image: none;
}

/* The sheet's sticky Send row clears the home indicator with the keyboard down;
   with it up the indicator is under the keyboard, exactly like .composer-shell. */
.share-sheet-foot {
  padding-bottom: max(0.75rem, env(safe-area-inset-bottom));
}
[data-keyboard="open"] .share-sheet-foot {
  padding-bottom: 0.75rem;
}
@media (min-width: 640px) {
  .share-sheet-foot { padding-bottom: 0; }
}

/* Slide up from the bottom edge, the way a sheet is expected to arrive. The
   animation replays on every open because `hidden` is display:none. */
@media (max-width: 639.98px) {
  .share-sheet-card, .row-menu-card         { animation: share-sheet-rise 220ms cubic-bezier(0.32, 0.72, 0, 1); }
  .share-sheet-backdrop, .row-menu-backdrop { animation: share-sheet-fade 220ms ease-out; }
}
@keyframes share-sheet-rise {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}
@keyframes share-sheet-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .share-sheet-card, .share-sheet-backdrop, .row-menu-card, .row-menu-backdrop { animation: none; }
}

/* ── Background gradient orbs — global positioning ──────────────────────── */
@media (max-width: 639px) {
  #bg-gradient-orbs { display: none; }
}
@media (min-width: 640px) {
  #bg-gradient-orbs > .orb-1 {
    left: -320px; top: auto; bottom: -100px;
    width: 600px; height: 500px;
  }
  #bg-gradient-orbs > .orb-2 {
    right: -260px; left: auto; bottom: 20%;
    width: 520px; height: 420px;
  }
  #bg-gradient-orbs > .orb-3 {
    left: -200px; bottom: 30%;
    width: 480px; height: 400px;
  }
}
@media (min-width: 1024px) {
  #bg-gradient-orbs > .orb-1 {
    left: -420px; bottom: -140px;
    width: 820px; height: 680px;
  }
  #bg-gradient-orbs > .orb-2 {
    right: -340px; bottom: 18%;
    width: 720px; height: 580px;
  }
  #bg-gradient-orbs > .orb-3 {
    left: -280px; bottom: 28%;
    width: 660px; height: 540px;
  }
}
@media (min-width: 1440px) {
  #bg-gradient-orbs > .orb-1 {
    left: -520px; bottom: -180px;
    width: 1000px; height: 840px;
  }
  #bg-gradient-orbs > .orb-2 {
    right: -420px; bottom: 15%;
    width: 880px; height: 720px;
  }
  #bg-gradient-orbs > .orb-3 {
    left: -360px; bottom: 25%;
    width: 820px; height: 680px;
  }
}

/* ── Base typography ─────────────────────────────────────────────────────── */
body {
  font-size: 16px;
  line-height: 1.6;
}

/* Navbar left title — smaller on mobile so long titles fit. One line always;
   on phones the pill has a max-width, so a title longer than it ellipsises
   rather than running under the menu button. */
.left-title p {
  font-size: 0.75rem;
  line-height: 1.3;
  white-space: nowrap;
}
@media (max-width: 639.98px) {
  .left-title p {
    overflow: hidden;
    text-overflow: ellipsis;
  }
}
@media (min-width: 640px) {
  .left-title p {
    font-size: 1.125rem; /* text-lg */
  }
}

/* The working-on-it mark (shared/_thinking_dots): four dots regrouping through
   six formations while the group turns. --u is the spacing unit, --d the dot.
   Each formation holds for a beat, then the dots glide to the next; the turn
   runs on a different period so the two never line up into one visible loop.
   Written from one table of (x, y, scale, opacity) per dot per formation —
   keep the four keyframes in step when changing a formation. */
.thinking-dots {
  position: relative;
  display: inline-block;
  flex-shrink: 0;
  width: calc(var(--u) * 4 + var(--d));
  height: calc(var(--u) * 4 + var(--d));
  animation: thinking-turn 11s cubic-bezier(.45, 0, .55, 1) infinite;
}
.thinking-dots-sm { --u: 4.5px; --d: 3.5px; }
.thinking-dots-md { --u: 6px; --d: 5px; }
.thinking-dots > span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--d);
  height: var(--d);
  margin: calc(var(--d) / -2) 0 0 calc(var(--d) / -2);
  border-radius: 9999px;
  background: currentColor;
  animation: 6s cubic-bezier(.65, 0, .35, 1) infinite;
}
.thinking-dots > span:nth-child(1) { animation-name: thinking-dot-1; transform: translate(calc(var(--u) * -1.5), calc(var(--u) * 0)) scale(1); opacity: 0.55; }
.thinking-dots > span:nth-child(2) { animation-name: thinking-dot-2; transform: translate(calc(var(--u) * -0.5), calc(var(--u) * 0)) scale(1); opacity: 0.8; }
.thinking-dots > span:nth-child(3) { animation-name: thinking-dot-3; transform: translate(calc(var(--u) * 0.5), calc(var(--u) * 0)) scale(1); opacity: 1; }
.thinking-dots > span:nth-child(4) { animation-name: thinking-dot-4; transform: translate(calc(var(--u) * 1.5), calc(var(--u) * 0)) scale(1); opacity: 0.8; }
@keyframes thinking-turn {
  0%   { transform: rotate(0deg); }
  45%  { transform: rotate(140deg); }
  55%  { transform: rotate(180deg); }
  100% { transform: rotate(360deg); }
}
@keyframes thinking-dot-1 {
  0%, 9.17% { transform: translate(calc(var(--u) * -1.5), calc(var(--u) * 0)) scale(1); opacity: 0.55; }
  16.67%, 25.83% { transform: translate(calc(var(--u) * -0.65), calc(var(--u) * -0.65)) scale(1); opacity: 1; }
  33.33%, 42.5% { transform: translate(calc(var(--u) * 0), calc(var(--u) * -1.15)) scale(1); opacity: 0.9; }
  50%, 59.17% { transform: translate(calc(var(--u) * 0), calc(var(--u) * -1.5)) scale(0.85); opacity: 0.55; }
  66.67%, 75.83% { transform: translate(calc(var(--u) * 0), calc(var(--u) * -1.05)) scale(1); opacity: 1; }
  83.33%, 92.5% { transform: translate(calc(var(--u) * -1.25), calc(var(--u) * 1.25)) scale(0.85); opacity: 0.6; }
  100% { transform: translate(calc(var(--u) * -1.5), calc(var(--u) * 0)) scale(1); opacity: 0.55; }
}
@keyframes thinking-dot-2 {
  0%, 9.17% { transform: translate(calc(var(--u) * -0.5), calc(var(--u) * 0)) scale(1); opacity: 0.8; }
  16.67%, 25.83% { transform: translate(calc(var(--u) * 0.65), calc(var(--u) * -0.65)) scale(1); opacity: 0.75; }
  33.33%, 42.5% { transform: translate(calc(var(--u) * 1.15), calc(var(--u) * 0)) scale(1); opacity: 0.6; }
  50%, 59.17% { transform: translate(calc(var(--u) * 0), calc(var(--u) * -0.5)) scale(1); opacity: 0.85; }
  66.67%, 75.83% { transform: translate(calc(var(--u) * 0.95), calc(var(--u) * 0.65)) scale(1); opacity: 0.8; }
  83.33%, 92.5% { transform: translate(calc(var(--u) * -0.42), calc(var(--u) * 0.42)) scale(1); opacity: 0.85; }
  100% { transform: translate(calc(var(--u) * -0.5), calc(var(--u) * 0)) scale(1); opacity: 0.8; }
}
@keyframes thinking-dot-3 {
  0%, 9.17% { transform: translate(calc(var(--u) * 0.5), calc(var(--u) * 0)) scale(1); opacity: 1; }
  16.67%, 25.83% { transform: translate(calc(var(--u) * 0.65), calc(var(--u) * 0.65)) scale(1); opacity: 1; }
  33.33%, 42.5% { transform: translate(calc(var(--u) * 0), calc(var(--u) * 1.15)) scale(1); opacity: 0.9; }
  50%, 59.17% { transform: translate(calc(var(--u) * 0), calc(var(--u) * 0.5)) scale(1); opacity: 1; }
  66.67%, 75.83% { transform: translate(calc(var(--u) * -0.95), calc(var(--u) * 0.65)) scale(1); opacity: 0.8; }
  83.33%, 92.5% { transform: translate(calc(var(--u) * 0.42), calc(var(--u) * -0.42)) scale(1); opacity: 1; }
  100% { transform: translate(calc(var(--u) * 0.5), calc(var(--u) * 0)) scale(1); opacity: 1; }
}
@keyframes thinking-dot-4 {
  0%, 9.17% { transform: translate(calc(var(--u) * 1.5), calc(var(--u) * 0)) scale(1); opacity: 0.8; }
  16.67%, 25.83% { transform: translate(calc(var(--u) * -0.65), calc(var(--u) * 0.65)) scale(1); opacity: 0.75; }
  33.33%, 42.5% { transform: translate(calc(var(--u) * -1.15), calc(var(--u) * 0)) scale(1); opacity: 0.6; }
  50%, 59.17% { transform: translate(calc(var(--u) * 0), calc(var(--u) * 1.5)) scale(0.85); opacity: 0.7; }
  66.67%, 75.83% { transform: translate(calc(var(--u) * 0), calc(var(--u) * 0)) scale(1.35); opacity: 1; }
  83.33%, 92.5% { transform: translate(calc(var(--u) * 1.25), calc(var(--u) * -1.25)) scale(1.15); opacity: 0.9; }
  100% { transform: translate(calc(var(--u) * 1.5), calc(var(--u) * 0)) scale(1); opacity: 0.8; }
}
@keyframes thinking-breathe {
  0%, 100% { opacity: .45; }
  50%      { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .thinking-dots { animation: none; }
  /* :nth-child(n), not a bare span: the per-dot rules above out-rank it. */
  .thinking-dots > span:nth-child(n) { animation: thinking-breathe 2.4s ease-in-out infinite; }
  .thinking-dots > span:nth-child(2) { animation-delay: .3s; }
  .thinking-dots > span:nth-child(3) { animation-delay: .6s; }
  .thinking-dots > span:nth-child(4) { animation-delay: .9s; }
}

/* Serif font for LLM response content */
.font-serif-response {
  font-family: 'Source Serif 4', Georgia, serif;
}

/* Force all text inside response boxes to match the summary font size (1rem/16px).
   Tailwind Typography resets p/li/ul internally — this wins regardless of prose modifiers. */
.font-serif-response p,
.font-serif-response li,
.font-serif-response ul,
.font-serif-response ol,
.font-serif-response td,
.font-serif-response th {
  font-size: 1rem;
  line-height: 1.6;
}

/* ── Global form input focus ring ───────────────────────────────────────── */
/* Applies the brand focus ring to all text-like inputs app-wide — the same
   recipe as the marketing site, so a sign-in field and a subscribe field
   focus identically. var(--color-brand) resolves because @theme static emits
   it into :root and tailwind.css loads before this file. */
input:not([type=submit]):not([type=button]):not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]):focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--color-brand);
  box-shadow: 0 0 0 3px oklch(54.6% 0.245 262.881 / 0.15);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
/* A 15% halo disappears on the dark surface. */
@media screen and (prefers-color-scheme: dark) {
  input:not([type=submit]):not([type=button]):not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]):focus,
  textarea:focus,
  select:focus {
    box-shadow: 0 0 0 3px oklch(62.3% 0.214 259.815 / 0.35);
  }
}

/* Query textarea: parent wrapper shows focus ring; the textarea itself stays borderless */
textarea#question:focus {
  border-color: transparent;
  box-shadow: none;
}

/* The soft shadow scale now lives in @theme (app/assets/tailwind/application.css)
   as --shadow-*. It used to be five .shadow-* rules here — but this file is
   UNLAYERED, so those always beat anything the theme generates, and
   `shadow-xl shadow-blue-100` could never tint. The values are identical, so
   deleting them changes nothing except that shadow-<colour> now works. */

/* ── Toast notification animations ──────────────────────────────────────── */
@keyframes toast-in {
  from { transform: translateX(calc(-100% - 1.5rem)); opacity: 0; }
  to   { transform: translateX(0); opacity: 1; }
}
@keyframes toast-out {
  from { opacity: 1; transform: translateX(0); }
  to   { opacity: 0; transform: translateX(-1rem); }
}
.toast-enter { animation: toast-in  0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.toast-exit  { animation: toast-out 0.25s ease-in forwards; }

/* ── Insights feed: a row leaving one section and landing in the other ───── */
/* `from` is deliberately absent on insight-leave: the controller pins the row's
   height inline before adding the class, and a keyframe with no `from` starts
   at the computed value. */
@keyframes insight-leave {
  to { height: 0; opacity: 0; transform: translateX(-8px); border-bottom-width: 0; }
}
.insight-leave {
  overflow: hidden;
  pointer-events: none;
  animation: insight-leave 0.32s cubic-bezier(0.4, 0, 1, 1) forwards;
}
@keyframes insight-arrive {
  from { opacity: 0; transform: translateY(-10px); background-color: var(--color-blue-50, #eff6ff); }
  55%  { opacity: 1; transform: translateY(0);     background-color: var(--color-blue-50, #eff6ff); }
  to   { background-color: transparent; }
}
/* `backwards`, never `both`: a transform animation that stays in effect after
   it ends makes the row the containing block of its position:fixed ⋯ menu, and
   the card's overflow-hidden then clips the menu to the row (the row that just
   moved lists could not open its menu). Once it ends, nothing is left applied. */
[data-insight-animate-in="1"] {
  animation: insight-arrive 0.9s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}
@media (prefers-reduced-motion: reduce) {
  .insight-leave, [data-insight-animate-in="1"] { animation: none; }
}

/* ── Flyout menu: animated Siri-style gradient border + bounce entry ─────── */
@property --flyout-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

@keyframes spin-flyout-border {
  to { --flyout-angle: 360deg; }
}

@keyframes flyout-enter {
  0%   { opacity: 0; transform: translateY(-8px) scale(0.95); }
  55%  { opacity: 1; transform: translateY(3px) scale(1.018); }
  75%  { transform: translateY(-1.5px) scale(0.997); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.flyout-border-wrap {
  padding: 2px;
  border-radius: 18px;
  background: conic-gradient(
    from var(--flyout-angle) at 50% 50%,
    #60a5fa 0%,     /* blue-400 */
    #2563eb 30%,    /* blue-600 */
    #0ea5e9 55%,    /* sky-500  */
    #38bdf8 75%,    /* sky-400  */
    #60a5fa 100%
  );
  animation:
    flyout-enter 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) both,
    spin-flyout-border 5s linear infinite;
  box-shadow:
    0 0 28px rgba(37, 99, 235, 0.35),
    0 0 56px rgba(14, 165, 233, 0.18),
    0 12px 40px rgba(0, 0, 0, 0.1);
}

/* ── KPI generation shimmer skeleton ────────────────────────────────────── */
@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position:  200% 0; }
}
.kpi-skeleton {
  background: linear-gradient(90deg,
    #f3f4f6 25%, #e9eaf0 50%, #f3f4f6 75%);
  background-size: 200% 100%;
  animation: shimmer 1.6s ease-in-out infinite;
}
@media screen and (prefers-color-scheme: dark) {
  .kpi-skeleton {
    background-image: linear-gradient(90deg,
      var(--color-gray-50) 25%, var(--color-gray-100) 50%, var(--color-gray-50) 75%);
  }
}

/* ── Standardised button base ────────────────────────────────────────────── */
/* Usage: class="btn btn-primary | btn-secondary | btn-danger | btn-ghost"   */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center; /* centers text horizontally — critical for input[type=submit] */
  text-align: center;
  gap: 0.5rem;             /* gap-2 */
  padding: 0.625rem 1.25rem; /* py-2.5 px-5 */
  font-size: 0.875rem;     /* text-sm */
  font-weight: 500;        /* font-medium */
  border-radius: 0.5rem;   /* rounded-lg */
  border: 1px solid transparent;
  line-height: 1.25rem;
  transition: opacity 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
  cursor: pointer;
  white-space: nowrap;
}
/* Compact size for a toolbar or a list header. A class, not px-/py- utilities:
   this file is unlayered, so utilities cannot out-rank .btn's padding. */
.btn-sm { padding: 0.375rem 0.75rem; font-size: 0.75rem; line-height: 1rem; gap: 0.375rem; }
.btn:active { transform: scale(0.97); }
.btn:disabled, .btn[disabled] { opacity: 0.45; cursor: not-allowed; transform: none; }

.btn-primary {
  background: linear-gradient(to right, var(--color-brand), var(--color-brand-action));
  color: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 2px 8px rgba(0,0,0,0.04);
}
/* color on hover too: without it a visited <a class="btn btn-primary"> leaks. */
.btn-primary:hover { opacity: 0.9; color: #fff; }

/* Palette variables, each with its light hex as the fallback: this file is NOT
   run through Tailwind, so a variable no utility happens to use is never
   emitted in light mode and the fallback is what renders. dark.css defines
   every one of them in the dark, which is what re-inks these buttons. */
.btn-secondary {
  background: var(--background-color-white, #fff);
  color: var(--color-gray-700, #374151);
  border-color: var(--color-gray-200, #e5e7eb);
}
.btn-secondary:hover { background: var(--color-gray-50, #f9fafb); border-color: var(--color-gray-300, #d1d5db); }

.btn-danger {
  background: #dc2626;
  color: #fff;
}
.btn-danger:hover { opacity: 0.9; }

.btn-danger-outline {
  background: var(--background-color-white, #fff);
  color: var(--text-color-red-600, #dc2626);
  border-color: var(--color-red-200, #fecaca);
}
.btn-danger-outline:hover { background: var(--color-red-50, #fef2f2); }

.btn-ghost {
  background: transparent;
  color: var(--color-gray-500, #6b7280);
  border-color: transparent;
}
.btn-ghost:hover { background: var(--color-gray-100, #f3f4f6); color: var(--color-gray-900, #111827); }

/* ── Standardised form controls ─────────────────────────────────────────── */
/* Ensures select height / appearance matches text inputs everywhere.        */
select {
  appearance: none;
  -webkit-appearance: none;
  /* Height is driven by padding + line-height to match text inputs.
     Tailwind py-* classes on individual selects will override padding
     but appearance:none + the arrow image are the critical fixes.   */
  padding: 0.5rem 2.25rem 0.5rem 0.75rem; /* py-2 equivalent + right room for arrow */
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--color-gray-900, #111827);
  background-color: var(--background-color-white, #fff);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%236b7280'%3E%3Cpath fill-rule='evenodd' d='M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  background-size: 1.25rem;
  border: 1px solid var(--color-gray-200, #e5e7eb);
  border-radius: 0.5rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer;
}
select:disabled { opacity: 0.5; background-color: var(--color-gray-50, #f9fafb); cursor: not-allowed; }
/* The chevron is a data URI, so it cannot read a variable: the dark one is the
   same path in gray-500's dark value. */
@media screen and (prefers-color-scheme: dark) {
  select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%238d94a1'%3E%3Cpath fill-rule='evenodd' d='M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z' clip-rule='evenodd'/%3E%3C/svg%3E");
  }
}
/* A select sitting beside .field-input text fields (settings) matches their
   height and border. It has to be said HERE: the rule above is unlayered, so
   the layered .field-input cannot out-rank it. */
select.field-input { padding-top: 0.625rem; padding-bottom: 0.625rem; border-color: var(--color-gray-300, #d1d5db); }
