/* ==========================================================
   HPL Compatibility Finder — Modern UI 2026
   Visual refresh only. JS hooks (IDs / classes / data-attrs)
   are unchanged — core behavior is preserved.
   ========================================================== */

:root {
  color-scheme: light dark;

  /* Brand */
  --brand-1: #0d9488;
  --brand-2: #14b8a6;
  --brand-3: #06b6d4;

  /* Light theme tokens */
  --bg: #f4f6fb;
  --bg-grad:
    radial-gradient(1200px 600px at 100% -10%, rgba(13, 148, 136, 0.10), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(6, 182, 212, 0.08), transparent 60%),
    #f6f8fc;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --surface-3: #eef2f7;
  --ink: #0f172a;
  --ink-2: #1e293b;
  --muted: #64748b;
  --muted-2: #94a3b8;
  --line: #e4e8ef;
  --line-strong: #cbd5e1;

  --accent: #0d9488;
  --accent-strong: #0f766e;
  --accent-soft: #ecfdf5;
  --accent-ring: rgba(13, 148, 136, 0.18);

  --good: #15803d;
  --good-soft: #f0fdf4;
  --good-line: #bbf7d0;
  --warn: #b45309;
  --warn-soft: #fffbeb;
  --warn-line: #fde68a;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 1px 2px rgba(15, 23, 42, 0.04), 0 6px 18px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 1px 2px rgba(15, 23, 42, 0.04), 0 14px 36px rgba(15, 23, 42, 0.10);
  --shadow-pop: 0 18px 48px -12px rgba(13, 148, 136, 0.30);

  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  font-family: "Inter", "Inter Var", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", "Helvetica Neue", sans-serif;
  font-feature-settings: "ss01", "cv11", "cv02";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #020617;
    --bg-grad:
      radial-gradient(1200px 600px at 100% -10%, rgba(45, 212, 191, 0.18), transparent 60%),
      radial-gradient(900px 500px at -10% 110%, rgba(6, 182, 212, 0.12), transparent 60%),
      #020617;
    --surface: #0f172a;
    --surface-2: #111c33;
    --surface-3: #1a2541;
    --ink: #f1f5f9;
    --ink-2: #e2e8f0;
    --muted: #94a3b8;
    --muted-2: #64748b;
    --line: #1f2a44;
    --line-strong: #334155;

    --accent: #2dd4bf;
    --accent-strong: #5eead4;
    --accent-soft: rgba(45, 212, 191, 0.10);
    --accent-ring: rgba(45, 212, 191, 0.28);

    --good: #4ade80;
    --good-soft: rgba(74, 222, 128, 0.10);
    --good-line: rgba(74, 222, 128, 0.28);
    --warn: #fbbf24;
    --warn-soft: rgba(251, 191, 36, 0.10);
    --warn-line: rgba(251, 191, 36, 0.28);

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 1px 2px rgba(0, 0, 0, 0.3), 0 6px 18px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 1px 2px rgba(0, 0, 0, 0.3), 0 14px 36px rgba(0, 0, 0, 0.55);
    --shadow-pop: 0 18px 48px -12px rgba(45, 212, 191, 0.25);
  }
}

/* ============== Base ============== */

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html, body { height: 100%; }

body {
  margin: 0;
  background: var(--bg);
  background-image: var(--bg-grad);
  background-attachment: fixed;
  color: var(--ink);
  letter-spacing: -0.01em;
  -webkit-tap-highlight-color: transparent;
}

button, input {
  font: inherit;
  letter-spacing: inherit;
  color: inherit;
}

button { cursor: pointer; border: 0; background: transparent; }

h1, h2, h3, p { margin: 0; }

::selection {
  background: var(--accent-ring);
  color: var(--accent-strong);
}

/* ============== Splash ============== */

.splash-screen {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(45, 212, 191, 0.32), transparent 60%),
    radial-gradient(circle at 80% 80%, rgba(6, 182, 212, 0.30), transparent 55%),
    linear-gradient(135deg, #0b3a3a 0%, #0a1220 100%);
  color: #fff;
  opacity: 1;
  transition: opacity 600ms var(--ease), visibility 600ms var(--ease);
}

.splash-screen.hide {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.splash-content {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 32px;
  text-align: center;
  animation: splash-rise 900ms var(--ease-out) both;
}

.splash-mark {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.04));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.30),
    0 30px 60px rgba(0, 0, 0, 0.30);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.splash-content h1 {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.splash-content p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

@keyframes splash-rise {
  from { opacity: 0; transform: translateY(14px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ============== App shell ============== */

.app-shell {
  width: min(1240px, 100%);
  margin: 0 auto;
  padding: 22px 22px 80px;
  display: grid;
  gap: 18px;
}

/* ============== Topbar ============== */

.topbar {
  position: sticky;
  top: 12px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: color-mix(in srgb, var(--surface) 78%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-md);
}

.brand-block {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand-1), var(--brand-3));
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: -0.02em;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.30),
    0 8px 22px -8px var(--brand-1);
  flex: 0 0 auto;
}

.brand-block > div { min-width: 0; }

.brand-block h1 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ink);
}

.brand-block p {
  font-size: 12.5px;
  font-weight: 500;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 60ch;
}

.language-switch { display: inline-flex; flex: 0 0 auto; }

.language-switch button {
  min-width: 64px;
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  padding: 0 12px;
  transition: all 180ms var(--ease);
}

.language-switch button:hover {
  border-color: var(--accent);
  color: var(--accent-strong);
  box-shadow: 0 0 0 4px var(--accent-ring);
}

/* ============== Search card ============== */

.search-card {
  display: grid;
  gap: 16px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
}

.lookup-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 5px;
  background: var(--surface-3);
  border-radius: 14px;
  border: 1px solid var(--line);
}

.lookup-tab {
  min-height: 42px;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.01em;
  transition: all 180ms var(--ease);
}

.lookup-tab:hover { color: var(--ink); }

.lookup-tab.active {
  background: var(--surface);
  color: var(--ink);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.4),
    0 1px 3px rgba(15, 23, 42, 0.10),
    0 4px 10px rgba(15, 23, 42, 0.06);
}

@media (prefers-color-scheme: dark) {
  .lookup-tab.active {
    background: linear-gradient(135deg, var(--brand-1), var(--brand-3));
    color: #fff;
    box-shadow: 0 8px 22px -10px var(--brand-1);
  }
}

.search-field { display: grid; gap: 8px; }

.search-field span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.search-field input {
  min-height: 60px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 18px;
  background: var(--surface-2);
  color: var(--ink);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  outline: none;
  transition: all 180ms var(--ease);
  font-variant-numeric: tabular-nums;
}

.search-field input::placeholder {
  color: var(--muted-2);
  font-weight: 500;
}

.search-field input:hover { border-color: var(--line-strong); }

.search-field input:focus {
  border-color: var(--accent);
  background: var(--surface);
  box-shadow: 0 0 0 4px var(--accent-ring);
}

.focus-field input {
  min-height: 50px;
  font-size: 16px;
  font-weight: 500;
}

.action-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.secondary-button {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  padding: 0 16px;
  font-size: 13px;
  font-weight: 600;
  transition: all 160ms var(--ease);
}

.secondary-button:hover {
  border-color: var(--accent);
  color: var(--accent-strong);
  background: var(--accent-soft);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

/* Primary "Share to LINE" inside compact action row */
.action-row.compact button {
  min-height: 40px;
  border-radius: 10px;
  padding: 0 18px;
  font-size: 13.5px;
  font-weight: 600;
  background: linear-gradient(135deg, var(--brand-1), var(--brand-3));
  color: #fff;
  letter-spacing: -0.01em;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 8px 22px -10px var(--brand-1);
  transition: all 160ms var(--ease);
}

.action-row.compact button:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    var(--shadow-pop);
}

.share-hint {
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 500;
}

.summary-text {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.5;
  flex: 1 1 240px;
  min-width: 0;
}

/* Recent searches */
.recent-searches {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 0;
  scrollbar-width: none;
}

.recent-searches::-webkit-scrollbar { display: none; }

.recent-searches > span {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.10em;
}

.recent-searches button {
  flex: 0 0 auto;
  max-width: 280px;
  min-height: 32px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-2);
  padding: 0 14px;
  font-size: 12.5px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: all 160ms var(--ease);
}

.recent-searches button:hover {
  border-color: var(--accent);
  color: var(--accent-strong);
  background: var(--accent-soft);
}

/* ============== Category bar ============== */

.category-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}

.category-bar button {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-2);
  padding: 0 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: all 160ms var(--ease);
}

.category-bar button:hover {
  border-color: var(--accent);
  color: var(--accent-strong);
  background: var(--accent-soft);
}

.category-bar button.active {
  border-color: transparent;
  background: var(--ink);
  color: var(--surface);
  box-shadow: 0 6px 16px -8px rgba(15, 23, 42, 0.40);
}

@media (prefers-color-scheme: dark) {
  .category-bar button.active {
    background: linear-gradient(135deg, var(--brand-1), var(--brand-3));
    color: #fff;
  }
}

/* ============== Results layout ============== */

.results-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 18px;
}

.result-panel,
.side-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px;
  box-shadow: var(--shadow-md);
}

.compat-card {
  display: grid;
  gap: 18px;
}

.part-header { display: grid; gap: 8px; }

.part-header > span {
  display: inline-flex;
  width: max-content;
  padding: 5px 11px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid color-mix(in srgb, var(--accent) 20%, transparent);
}

.part-header h2 {
  color: var(--ink);
  font-size: 34px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-variant-numeric: tabular-nums;
  font-family: "Inter", "JetBrains Mono", ui-sans-serif, system-ui, sans-serif;
  overflow-wrap: anywhere;
}

.part-header p {
  font-size: 17px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: -0.01em;
}

/* Compat status */
.compat-status {
  display: grid;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px 14px 20px;
  position: relative;
  overflow: hidden;
}

.compat-status::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
}

.compat-status.ok {
  border-color: var(--good-line);
  background: var(--good-soft);
  color: var(--good);
}
.compat-status.ok::before { background: var(--good); }

.compat-status.miss {
  border-color: var(--warn-line);
  background: var(--warn-soft);
  color: var(--warn);
}
.compat-status.miss::before { background: var(--warn); }

.compat-status strong {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.compat-status span {
  font-size: 13px;
  line-height: 1.45;
  font-weight: 500;
  color: var(--ink-2);
  opacity: 0.85;
}

/* Info grid */
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.info-grid div {
  min-height: 70px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-2);
  padding: 12px 14px;
  overflow-wrap: anywhere;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
  font-variant-numeric: tabular-nums;
  transition: border-color 160ms var(--ease), background 160ms var(--ease);
}

.info-grid div:hover {
  border-color: var(--line-strong);
  background: var(--surface);
}

.info-grid span {
  display: block;
  margin-bottom: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--muted);
}

.info-grid b {
  display: inline-flex;
  margin: 2px 4px 0 0;
  border-radius: 999px;
  background: var(--good-soft);
  border: 1px solid var(--good-line);
  color: var(--good);
  padding: 3px 9px;
  font-size: 11.5px;
  font-weight: 600;
  font-style: normal;
}

/* Section title */
.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.section-title h3 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.section-title span {
  border-radius: 999px;
  background: var(--surface-3);
  color: var(--muted);
  padding: 5px 11px;
  font-weight: 700;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

/* Lists */
.machine-list,
.part-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.machine-list li,
.part-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  padding: 12px 14px;
  transition: all 160ms var(--ease);
}

.machine-list li:hover,
.part-list li:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.machine-list strong,
.part-list strong {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}

.machine-list span,
.part-list span {
  display: block;
  line-height: 1.4;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.machine-list small,
.part-list small {
  display: block;
  margin-top: 3px;
  font-size: 11.5px;
  letter-spacing: 0.02em;
  color: var(--muted-2);
  overflow-wrap: anywhere;
}

.machine-list mark,
.part-list mark {
  display: inline-flex;
  min-width: 38px;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--good-soft);
  border: 1px solid var(--good-line);
  color: var(--good);
  padding: 2px 10px;
  font-weight: 700;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.part-list button,
.related-list button {
  display: grid;
  width: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0;
  text-align: left;
  cursor: pointer;
}

/* ============== Side panel ============== */

.side-panel {
  align-self: start;
  position: sticky;
  top: 92px;
  display: grid;
  gap: 14px;
}

.panel-head { display: grid; gap: 4px; }

.panel-head h2 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.panel-head p {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.5;
}

.related-list { display: grid; gap: 8px; }

.related-list button,
.note {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-2);
  padding: 12px 14px;
}

.related-list button { transition: all 160ms var(--ease); }

.related-list button:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.related-list strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}

.related-list span,
.related-list small {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.4;
  margin-top: 2px;
}

.note {
  background: var(--warn-soft);
  border-color: var(--warn-line);
  color: var(--warn);
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.45;
}

/* ============== Empty state ============== */

.empty-state {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  min-height: 320px;
  text-align: center;
  padding: 32px;
}

.empty-state::before {
  content: "";
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background-color: var(--surface-3);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><circle cx='11' cy='11' r='7'/><line x1='21' y1='21' x2='16.65' y2='16.65'/></svg>");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 28px;
  border: 1px solid var(--line);
  margin-bottom: 6px;
}

.empty-state strong {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.empty-state span {
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.5;
  max-width: 34ch;
}

/* ============== Responsive ============== */

@media (max-width: 960px) {
  .results-layout { grid-template-columns: 1fr; }
  .side-panel { position: static; top: auto; }
}

@media (max-width: 640px) {
  .app-shell {
    padding: 14px 14px 64px;
    gap: 14px;
  }
  .topbar {
    top: 8px;
    padding: 10px 12px;
    border-radius: 16px;
  }
  .brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    font-size: 13px;
  }
  .brand-block h1 { font-size: 16px; }
  .brand-block p { font-size: 12px; max-width: 30ch; }

  .search-card { padding: 16px; border-radius: 18px; }
  .search-field input {
    min-height: 56px;
    font-size: 18px;
    border-radius: 12px;
  }
  .focus-field input { min-height: 48px; font-size: 15px; }

  .result-panel,
  .side-panel { padding: 14px; border-radius: 18px; }

  .part-header h2 { font-size: 26px; }
  .info-grid { grid-template-columns: 1fr; }

  .category-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    border-radius: 14px;
  }
  .category-bar::-webkit-scrollbar { display: none; }
  .category-bar button { flex: 0 0 auto; }

  .machine-list li,
  .part-list li { align-items: start; }
}

/* ============== Reduced motion ============== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============== Focus rings (a11y) ============== */

button:focus-visible,
input:focus-visible,
[role="button"]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

.search-field input:focus-visible { outline: none; }
