:root {
  --bg: #050608;
  --bg-soft: #0a0d11;
  --ink: #f4f7fb;
  --muted: #93a0b3;
  --quiet: #5f6d82;
  --glass: rgba(255, 255, 255, 0.075);
  --glass-strong: rgba(255, 255, 255, 0.12);
  --line: rgba(255, 255, 255, 0.14);
  --line-strong: rgba(255, 255, 255, 0.24);
  --accent: #dfff16;
  --green: #32db70;
  --aqua: #62e9ff;
  --pink: #ff6eb4;
  --amber: #ffd166;
  --danger: #ff7b6e;
  --rec-green: #9cfb83;
  --rec-yellow: #fff9bf;
  --rec-red: #ff6d76;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.48);
  color-scheme: dark;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", Inter, ui-sans-serif, system-ui, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-padding-top: calc(env(safe-area-inset-top, 0px) + 12px);
}

.sr-only {
  position: absolute;
  overflow: hidden;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

html,
body {
  min-height: 100%;
  margin: 0;
  touch-action: pan-y;
  overscroll-behavior-y: contain;
  background:
    radial-gradient(circle at 80% -10%, rgba(98, 233, 255, 0.17), transparent 28rem),
    radial-gradient(circle at 15% 15%, rgba(50, 219, 112, 0.12), transparent 22rem),
    linear-gradient(160deg, #050608 0%, #090b0f 46%, #020303 100%);
  color: var(--ink);
}

body {
  min-width: 320px;
}

button,
input {
  font: inherit;
  touch-action: manipulation;
}

button {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

.app-shell {
  width: min(100%, 1080px);
  min-height: 100dvh;
  margin: 0 auto;
  padding: max(18px, env(safe-area-inset-top)) 16px calc(92px + env(safe-area-inset-bottom));
}

@media (display-mode: standalone) {
  .app-shell {
    padding-top: calc(env(safe-area-inset-top, 0px) + 26px);
  }
}

.topbar {
  position: relative;
  display: block;
  padding: 4px 58px 14px 0;
}

.title-lockup {
  min-width: 0;
  text-align: left;
}

.eyebrow {
  margin: 0 0 5px;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.title-lockup .eyebrow {
  font-size: 0.86rem;
  text-transform: none;
}

#screenSubtitle sup {
  position: relative;
  top: -0.35em;
  font-size: 0.58em;
  line-height: 0;
}

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

h1 {
  margin-bottom: 7px;
  font-size: clamp(1.64rem, 9.2vw, 2.2rem);
  line-height: 1;
  text-wrap: balance;
}

.app-shell.home-title h1 {
  font-size: clamp(1.42rem, 7.35vw, 2.2rem);
  text-wrap: nowrap;
  white-space: nowrap;
}

.app-shell.title-long h1 {
  font-size: clamp(1.3rem, 7.2vw, 1.82rem);
  line-height: 1.02;
}

.app-shell.title-extra-long h1 {
  font-size: clamp(1.08rem, 6vw, 1.62rem);
  line-height: 1.04;
}

h2 {
  margin-bottom: 0;
  font-size: 1.1rem;
  line-height: 1.15;
}

h3 {
  margin-bottom: 8px;
  font-size: 1rem;
  line-height: 1.2;
}

.subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.35;
}

.app-shell.home-title .subtitle {
  font-size: 0.775rem;
}

.beta-badge {
  position: absolute;
  top: 6px;
  right: 0;
  display: inline-grid;
  min-height: 26px;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--accent) 70%, transparent);
  border-radius: 10px;
  padding: 0 10px;
  background: color-mix(in srgb, var(--accent) 18%, transparent);
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.16), 0 10px 22px rgba(0, 0, 0, 0.22);
}

.app-shell.acknowledgments-route .subtitle,
.app-shell.acknowledgments-route .beta-badge {
  display: none;
}

.beta-notice-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(18px) saturate(120%);
}

.beta-notice-card {
  width: min(100%, 380px);
  border: 1px solid color-mix(in srgb, var(--accent) 32%, var(--line));
  border-radius: 24px;
  padding: 22px;
  background:
    radial-gradient(circle at 18% 0%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 42%),
    rgba(14, 18, 24, 0.94);
  box-shadow: var(--shadow), inset 0 1px rgba(255, 255, 255, 0.12);
}

.beta-notice-card h2 {
  margin: 0 0 12px;
  font-size: 1.28rem;
  line-height: 1.05;
}

.beta-notice-card p:not(.eyebrow) {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 710;
  line-height: 1.38;
}

.beta-notice-card button {
  width: 100%;
  min-height: 48px;
  margin-top: 4px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #050608;
  font-weight: 950;
  cursor: pointer;
}

.round-button {
  display: inline-grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.045)),
    rgba(12, 18, 24, 0.55);
  color: var(--ink);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.16),
    0 10px 24px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(26px) saturate(160%);
  cursor: pointer;
}

.round-button span {
  position: relative;
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
}

.search-row #backButton span {
  width: 13px;
  height: 13px;
  font-size: 0;
}

.search-row #backButton span::before {
  display: block;
  width: 10px;
  height: 10px;
  border-bottom: 3px solid currentColor;
  border-left: 3px solid currentColor;
  border-radius: 2px;
  content: "";
  transform: rotate(45deg) translate(2px, -2px);
}

#closeDialog span {
  font-size: 0;
}

#closeDialog span::before,
#closeDialog span::after {
  position: absolute;
  width: 22px;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
  content: "";
}

#closeDialog span::before {
  transform: rotate(45deg);
}

#closeDialog span::after {
  transform: rotate(-45deg);
}

.round-button.hidden {
  display: none;
}

.search-band {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 6;
  margin: 0 -16px 4px;
  padding: 6px 16px 4px;
  background: transparent;
  border-block: 1px solid transparent;
  backdrop-filter: none;
  transition: background 180ms ease, border-color 180ms ease, backdrop-filter 180ms ease, margin 220ms ease, padding 220ms ease;
}

.app-shell.settings-route .search-band {
  display: none;
}

body.scroll-resetting .search-band,
body.scroll-resetting .search-row,
body.scroll-resetting .crumbs,
body.scroll-resetting .home-tools,
body.scroll-resetting .sticky-context-title {
  transition: none;
}

body.scrolled .search-band,
.search-band.is-stuck,
.search-band.is-compact {
  margin: 0 -16px 2px;
  padding: 5px 16px 3px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01)),
    rgba(7, 11, 14, 0.72);
  border-block-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(24px) saturate(145%);
}

.search-band.is-stuck:not(.is-compact) {
  margin: 0 -16px 4px;
  padding: 5px 16px 4px;
}

.sticky-context-title {
  display: grid;
  max-height: 0;
  min-height: 0;
  place-items: center;
  overflow: hidden;
  padding: 0 44px;
  color: var(--ink);
  font-size: clamp(0.78rem, 3.8vw, 1.02rem);
  font-weight: 900;
  line-height: 1.08;
  text-align: center;
  text-wrap: balance;
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px) scale(0.992);
  transition:
    max-height 220ms cubic-bezier(0.25, 0.85, 0.32, 1),
    min-height 220ms cubic-bezier(0.25, 0.85, 0.32, 1),
    opacity 160ms ease,
    transform 220ms cubic-bezier(0.25, 0.85, 0.32, 1);
}

.search-band.variant-title-collapsed {
  margin: 0 -16px 4px;
  padding: 4px 16px 5px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.075), transparent 54%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)),
    rgba(7, 11, 14, 0.82);
  border-block-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(28px) saturate(150%);
}

.search-band.variant-title-collapsed .sticky-context-title {
  max-height: 88px;
  min-height: 36px;
  opacity: 1;
  pointer-events: auto;
  cursor: pointer;
  transform: translateY(0) scale(1);
}

.search-band.variant-title-collapsed .sticky-context-title:active {
  transform: translateY(0) scale(0.985);
}

.search-band.variant-title-collapsed .search-row,
.search-band.variant-title-collapsed .crumbs {
  max-height: 0;
  min-height: 0;
  overflow: hidden;
  opacity: 0;
  margin: 0;
  padding-top: 0;
  padding-bottom: 0;
  pointer-events: none;
  transform: translateY(-4px) scale(0.992);
}

.search-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 8px;
  max-height: 56px;
  opacity: 1;
  transform: translateY(0) scale(1);
  transition:
    max-height 260ms cubic-bezier(0.22, 1, 0.36, 1),
    min-height 260ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 180ms ease,
    transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.search-row:has(#backButton.hidden):has(.section-glyph-control.hidden):has(.recent-toggle.hidden) {
  grid-template-columns: minmax(0, 1fr);
}

.search-row:has(#backButton.hidden):has(.section-glyph-control.hidden):has(.recent-toggle.hidden) .search-box {
  grid-column: 1;
}

.search-row:has(#backButton.hidden):has(.section-glyph-control.hidden):not(:has(.recent-toggle.hidden)) {
  grid-template-columns: minmax(0, 1fr) auto;
}

.search-row:has(#backButton.hidden):has(.section-glyph-control.hidden):not(:has(.recent-toggle.hidden)) .search-box {
  grid-column: 1;
}

.search-row:has(#backButton.hidden):has(.section-glyph-control.hidden):not(:has(.recent-toggle.hidden)) .recent-toggle {
  grid-column: 2;
}

.search-row:has(.recent-toggle.hidden):has(.section-glyph-control.hidden):not(:has(#backButton.hidden)) {
  grid-template-columns: auto minmax(0, 1fr);
}

.section-glyph-control,
.recent-toggle {
  display: inline-grid;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.045)),
    rgba(12, 18, 24, 0.55);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.16), 0 10px 24px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(26px) saturate(160%);
  color: var(--ink);
  cursor: pointer;
}

.section-glyph-control {
  grid-column: 4;
}

.recent-toggle.hidden + .section-glyph-control {
  grid-column: 3;
}

.recent-toggle {
  grid-column: 3;
  color: #d8e5f3;
}

.recent-toggle.active {
  border-color: color-mix(in srgb, var(--accent) 52%, transparent);
  background:
    radial-gradient(circle at 34% 24%, color-mix(in srgb, var(--accent) 20%, transparent), transparent 52%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.05)),
    rgba(12, 18, 24, 0.62);
}

.recent-toggle svg {
  width: 25px;
  height: 25px;
  overflow: visible;
}

.recent-toggle img {
  display: block;
  width: 25px;
  height: 25px;
  object-fit: contain;
  opacity: 0.94;
}

.recent-toggle path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.55;
}

.search-row #backButton {
  grid-column: 1;
  width: 46px;
  height: 46px;
}

.search-row #backButton.hidden,
.recent-toggle.hidden,
.section-glyph-control.hidden {
  display: none;
}

.section-glyph-control img {
  width: 31px;
  height: 31px;
  object-fit: contain;
}

.search-box {
  grid-column: 2;
  display: grid;
  grid-template-columns: 22px 1fr;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.045)),
    rgba(12, 18, 24, 0.45);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.16), 0 10px 24px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(26px) saturate(160%);
}

.search-icon {
  position: relative;
  align-self: center;
  justify-self: center;
  width: 18px;
  height: 18px;
  border: 2px solid var(--muted);
  border-radius: 50%;
  transform: translateY(-1px);
}

.search-icon::after {
  position: absolute;
  right: -5px;
  bottom: -4px;
  width: 8px;
  height: 2px;
  border-radius: 999px;
  background: var(--muted);
  content: "";
  transform: rotate(45deg);
}

.search-box input {
  width: 100%;
  min-width: 0;
  overflow: hidden;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-box input::placeholder {
  color: var(--quiet);
  text-overflow: ellipsis;
}

.crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  max-height: 56px;
  overflow-x: auto;
  padding-top: 8px;
  scrollbar-width: none;
  transition: max-height 260ms cubic-bezier(0.22, 1, 0.36, 1), opacity 180ms ease, padding 220ms ease, transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.crumbs.home-chrome {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  max-height: 108px;
}

.crumbs.home-chrome:empty {
  display: none;
}

.recent-searches {
  display: flex;
  gap: 7px;
  min-width: 0;
  overflow-x: auto;
  padding: 0 0 1px;
  scrollbar-width: none;
  animation: recent-drop 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

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

.suggestion-chip-row {
  display: grid;
  gap: 7px;
  width: 100%;
  margin-top: 9px;
}

.did-you-mean {
  display: grid;
  gap: 8px;
  width: 100%;
  max-width: 520px;
  margin: 7px auto 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 14px;
}

.did-you-mean-kicker {
  display: block;
  color: color-mix(in srgb, var(--accent) 58%, #ffffff);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.did-you-mean-chip {
  display: grid;
  min-height: 36px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 15px;
  padding: 8px 11px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    rgba(255, 255, 255, 0.035);
  color: #d9e3ee;
  font-size: 0.74rem;
  font-weight: 830;
  line-height: 1.16;
  text-align: center;
  cursor: pointer;
}

.did-you-mean-chip.primary-suggestion {
  border-color: color-mix(in srgb, var(--accent) 48%, rgba(255, 255, 255, 0.14));
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--accent) 18%, transparent), rgba(255, 255, 255, 0.025)),
    rgba(255, 255, 255, 0.055);
  color: color-mix(in srgb, var(--accent) 62%, #ffffff);
  font-weight: 900;
}

.did-you-mean-chip:active {
  transform: scale(0.985);
}

.install-prompt {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 8px;
  border: 1px solid color-mix(in srgb, var(--accent) 24%, transparent);
  border-radius: 18px;
  padding: 9px 9px 9px 12px;
  background: rgba(10, 14, 18, 0.66);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 760;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px) saturate(135%);
}

.install-prompt strong,
.install-prompt-meta {
  display: block;
}

.install-prompt strong {
  color: var(--ink);
  font-size: 0.82rem;
  line-height: 1.15;
}

.install-prompt-meta {
  margin-top: 2px;
  color: #aeb9c8;
  font-size: 0.66rem;
  font-weight: 780;
  line-height: 1.2;
}

.install-prompt button {
  min-height: 30px;
  border: 1px solid color-mix(in srgb, var(--accent) 42%, transparent);
  border-radius: 999px;
  padding: 0 10px;
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 900;
  white-space: nowrap;
  cursor: pointer;
}

.install-prompt button[aria-label] {
  display: grid;
  width: 30px;
  padding: 0;
  place-items: center;
  color: var(--muted);
}

.recent-search-chip {
  flex: 0 0 auto;
  min-height: 27px;
  border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent);
  border-radius: 999px;
  padding: 0 10px;
  background: color-mix(in srgb, var(--accent) 8%, rgba(255, 255, 255, 0.04));
  color: #c7d2df;
  font-size: 0.72rem;
  font-weight: 790;
  cursor: pointer;
}

@keyframes recent-drop {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.crumbs::-webkit-scrollbar {
  display: none;
}

.crumb {
  flex: 0 0 auto;
  min-height: 32px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 11px;
  background: rgba(255, 255, 255, 0.075);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
  cursor: pointer;
}

.crumb:last-child {
  border-color: color-mix(in srgb, var(--accent) 42%, transparent);
  color: var(--ink);
}

.crumb-spacer {
  flex: 1 1 auto;
}

.saved-view-toggle {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 4px;
  align-items: center;
  min-height: 32px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
  background: rgba(255, 255, 255, 0.075);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.08);
}

.saved-view-toggle button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 36px;
  min-height: 26px;
  border: 0;
  border-radius: 999px;
  padding: 0 8px;
  background: transparent;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
  cursor: pointer;
}

.saved-view-toggle button.active {
  background: var(--accent);
  color: #050608;
}

.saved-view-toggle svg,
.saved-view-toggle img {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
}

.saved-view-toggle svg {
  fill: currentColor;
}

.saved-view-toggle img {
  object-fit: contain;
  filter: grayscale(1) brightness(1.45);
}

.saved-view-toggle button.active img {
  filter: brightness(0);
}

.variant-key {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  border: 1px solid color-mix(in srgb, var(--accent) 50%, transparent);
  border-radius: 999px;
  padding: 4px 10px 4px 6px;
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 820;
  white-space: nowrap;
}

.variant-key span:first-child {
  display: inline-grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #050608;
  font-weight: 950;
}

.legend-toggle {
  cursor: pointer;
}

.legend-toggle.active,
.top-rec-toggle.active {
  background: color-mix(in srgb, var(--accent) 18%, transparent);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 28%, transparent), 0 10px 24px color-mix(in srgb, var(--accent) 10%, transparent);
}

.top-rec-toggle:not(.active) span:first-child {
  border: 1px solid color-mix(in srgb, var(--accent) 62%, transparent);
  background: transparent;
  color: var(--accent);
}

.home-tools {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  isolation: isolate;
  width: 100%;
  max-height: 46px;
  opacity: 1;
  transform: translateY(0) scale(1);
  transform-origin: top center;
  transition:
    max-height 300ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 220ms ease,
    transform 300ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 220ms ease;
}

#stage > .home-tools {
  margin: -4px 0 2px;
}

.stage.home-stage {
  gap: 7px;
}

.home-tools::before {
  position: absolute;
  top: 50%;
  right: 78px;
  z-index: 1;
  width: 30px;
  height: 34px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 50%, rgba(5, 8, 10, 0.76) 0 48%, rgba(5, 8, 10, 0.24) 62%, transparent 78%),
    radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--accent) 11%, transparent), transparent 65%);
  content: "";
  filter: blur(0.4px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%);
  transition: opacity 150ms ease;
}

.home-tools::after {
  position: absolute;
  top: 50%;
  right: 83px;
  z-index: 3;
  display: grid;
  width: 17px;
  height: 24px;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(5, 8, 10, 0.82);
  color: color-mix(in srgb, var(--accent) 78%, #ffffff);
  content: "›";
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) translateX(3px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.home-tools.can-scroll-right::after {
  opacity: 0.88;
  transform: translateY(-50%) translateX(0);
}

.home-tools.can-scroll-right::before {
  opacity: 1;
}

.home-tools.quick-row-scrolled::before,
.home-tools.quick-row-scrolled::after {
  opacity: 0;
}

.quick-sections {
  display: flex;
  gap: 10px;
  min-width: 0;
  overflow-x: auto;
  padding: 1px 0 3px;
  scrollbar-width: none;
}

.quick-sections::-webkit-scrollbar {
  display: none;
}

.quick-section {
  display: grid;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  padding: 0;
  place-content: center;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  background: rgba(3, 5, 8, 0.78);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.12), 0 8px 18px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  line-height: 0;
}

.quick-section img {
  display: block;
  width: 32px;
  height: 32px;
  margin: auto;
  object-fit: contain;
  object-position: center;
}

.view-switcher {
  position: relative;
  z-index: 4;
  display: flex;
  flex: 0 0 auto;
  gap: 6px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.1);
}

.view-button {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  line-height: 0;
}

.view-button.active {
  background: var(--accent);
  color: #051014;
}

.view-icon {
  position: relative;
  display: block;
  width: 17px;
  height: 17px;
}

.grid-icon {
  background:
    linear-gradient(currentColor 0 0) 0 0 / 7px 7px no-repeat,
    linear-gradient(currentColor 0 0) 10px 0 / 7px 7px no-repeat,
    linear-gradient(currentColor 0 0) 0 10px / 7px 7px no-repeat,
    linear-gradient(currentColor 0 0) 10px 10px / 7px 7px no-repeat;
}

.list-icon {
  background:
    linear-gradient(currentColor 0 0) 0 2px / 17px 3px no-repeat,
    linear-gradient(currentColor 0 0) 0 7px / 17px 3px no-repeat,
    linear-gradient(currentColor 0 0) 0 12px / 17px 3px no-repeat;
}

.crumbs.is-collapsed,
.search-band.is-compact .crumbs,
body.scrolled .crumbs {
  max-height: 0 !important;
  overflow: hidden;
  opacity: 0 !important;
  padding-top: 0 !important;
  pointer-events: none;
  transform: translateY(-6px) !important;
}

.stage {
  display: grid;
  gap: 12px;
}

.section-grid,
.section-list,
.topic-grid,
.variant-list,
.saved-list {
  display: grid;
  gap: 12px;
}

.suggestion-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.crumbs > .suggestion-row {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  padding: 0 0 1px;
}

.suggestion-row::-webkit-scrollbar {
  display: none;
}

.suggestion-chip {
  flex: 0 0 auto;
  min-height: 36px;
  border: 1px solid color-mix(in srgb, var(--accent) 36%, transparent);
  border-radius: 999px;
  padding: 0 13px;
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 820;
  cursor: pointer;
}

.section-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.section-list {
  gap: 0;
  overflow: hidden;
  border: 0;
}

.section-list-item {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  gap: 13px;
  min-height: 68px;
  border: 0;
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 19%, transparent);
  border-radius: 0;
  padding: 10px 3px;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  text-align: left;
}

.section-list .section-list-item {
  border-top: 0;
  border-right: 0;
  border-left: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.section-list-item:last-child {
  border-bottom: 0;
}

.section-list-item:hover {
  background: color-mix(in srgb, var(--accent) 5%, transparent);
  border-bottom-color: color-mix(in srgb, var(--accent) 22%, transparent);
}

.list-glyph-badge {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  background: rgba(3, 5, 8, 0.82);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.12);
}

.list-glyph-badge img {
  width: 37px;
  height: 37px;
  object-fit: contain;
}

.list-title {
  overflow: hidden;
  color: var(--ink);
  font-size: 1.12rem;
  font-weight: 820;
  line-height: 1.08;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.glass-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background:
    radial-gradient(circle at 22% 0%, rgba(255, 255, 255, 0.13), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.045)),
    rgba(19, 24, 33, 0.68);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.16), var(--shadow);
  backdrop-filter: blur(28px) saturate(165%);
  transform: translateZ(0);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.glass-card:hover {
  border-color: color-mix(in srgb, var(--accent) 55%, var(--line));
}

.section-card,
.topic-card,
.variant-card {
  width: 100%;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.section-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 176px;
  border: 0;
  padding: 16px;
}

.section-card.photo-card {
  display: block;
  min-height: clamp(188px, 47vw, 206px);
  padding: 0;
  isolation: isolate;
}

.tile-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.06) brightness(0.92);
  transform: scale(1.01);
}

.section-card[data-id="breast"] .tile-photo {
  transform: scaleX(-1) scale(1.01);
}

.section-card[data-id="polytrauma"] .tile-photo {
  object-position: 50% 48%;
}

.section-card[data-id="pediatric"] .tile-photo,
.section-card[data-id="thoracic"] .tile-photo {
  object-position: 50% 44%;
}

.section-card[data-id="systemic-oncology"] .tile-photo {
  object-position: 50% 38%;
}

.section-card[data-id="urologic"] .tile-photo {
  object-position: 50% 47%;
}

.section-card[data-id="vascular"] .tile-photo {
  object-position: 50% 50%;
}

.photo-card::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.2) 58%, rgba(0, 0, 0, 0.34)),
    radial-gradient(circle at 16% 12%, rgba(255, 255, 255, 0.14), transparent 42%);
  content: "";
  pointer-events: none;
}

.section-card.photo-card::before {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  display: block;
  width: auto;
  height: 46%;
  aspect-ratio: auto;
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(10, 12, 14, 0), rgba(15, 18, 21, 0.36) 28%, rgba(5, 6, 8, 0.86) 100%),
    radial-gradient(ellipse at 50% 40%, rgba(255, 255, 255, 0.1), transparent 62%);
  content: "";
  pointer-events: none;
  backdrop-filter: blur(24px) saturate(155%);
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.12) 13%, rgba(0, 0, 0, 0.68) 40%, black 100%);
}

.section-card[data-id="breast"]::after {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0) 42%, rgba(0, 0, 0, 0.18) 66%, rgba(0, 0, 0, 0.7) 100%),
    radial-gradient(ellipse at 50% 102%, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04) 34%, transparent 68%);
  backdrop-filter: blur(0);
}

.tile-title-glass {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: white;
  font-size: clamp(1.12rem, 5.8vw, 1.76rem);
  font-weight: 800;
  line-height: 0.96;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.72);
  backdrop-filter: none;
}

.tile-title-glass > span:last-child {
  position: absolute;
  right: 14px;
  bottom: 18px;
  left: 14px;
  display: block;
  overflow: visible;
  color: #f5f8fc;
  text-align: center;
  text-wrap: balance;
  white-space: normal;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.86);
}

.tile-glyph-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(2, 4, 7, 0.82);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.12), 0 14px 28px rgba(0, 0, 0, 0.44);
  transform: none;
}

.tile-glyph-badge img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.section-card[data-id="interventional-radiology"] .tile-glyph-badge img {
  width: 37px;
  height: 37px;
}

.section-card[data-id="breast"] .tile-title-glass > span:last-child {
  right: 18px;
  bottom: 18px;
  left: 18px;
  line-height: 0.9;
}


.section-card:not(.photo-card)::before,
.topic-card::before,
.variant-card::before {
  position: absolute;
  inset: -44% auto auto -34%;
  width: 92%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.09), transparent 62%);
  content: "";
  pointer-events: none;
}

.section-image {
  display: grid;
  width: 66px;
  height: 66px;
  place-items: center;
  justify-self: end;
  overflow: hidden;
  margin: 0 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.14), 0 14px 28px rgba(0, 0, 0, 0.28);
}

.section-image img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.section-card h3 {
  position: relative;
  margin: 0;
  text-align: left;
  font-size: clamp(1.02rem, 5vw, 1.42rem);
  font-weight: 920;
  overflow-wrap: anywhere;
}

.topic-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  min-height: 78px;
  border: 0;
  padding: 14px 16px;
  background:
    radial-gradient(circle at 22% 0%, rgba(255, 255, 255, 0.115), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.032)),
    rgba(13, 18, 25, 0.78);
}

.topic-card h3,
.variant-card h3 {
  position: relative;
  margin: 0;
}

.recent-topic-card > span:first-child {
  transform: translateY(-2px);
}

.topic-card p,
.variant-card p,
.meta {
  position: relative;
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.38;
}

.count-pill,
.score {
  position: relative;
  display: inline-grid;
  min-width: 44px;
  height: 34px;
  place-items: center;
  border-radius: 999px;
  background: var(--accent);
  color: #050608;
  font-weight: 900;
}

.confetti-piece {
  position: fixed;
  z-index: 100;
  width: 7px;
  height: 12px;
  border-radius: 3px;
  background: var(--confetti-color);
  pointer-events: none;
  transform: translate(-50%, -50%);
  animation: confetti-drop var(--confetti-duration, 5600ms) linear forwards;
}

@keyframes confetti-drop {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.65) rotate(0deg);
  }
  10% {
    opacity: 1;
  }
  16% {
    opacity: 1;
    transform: translate(calc(-50% + var(--burst-x)), calc(-50% + var(--burst-y))) scale(1.05) rotate(calc(var(--r) * 0.35));
  }
  44% {
    opacity: 1;
    transform: translate(
      calc(-50% + var(--burst-x) + var(--sway-x)),
      calc(-50% + (var(--y) * 0.28))
    ) scale(0.96) rotate(calc(var(--r) * 0.68));
  }
  74% {
    opacity: 0.82;
    transform: translate(
      calc(-50% + ((var(--x) + var(--burst-x)) * 0.5)),
      calc(-50% + (var(--y) * 0.72))
    ) scale(0.9) rotate(calc(var(--r) * 0.86));
  }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) scale(0.82) rotate(var(--r));
  }
}

.variant-card {
  display: grid;
  gap: 8px;
  border: 0;
  padding: 14px;
}

.variant-page {
  display: grid;
  gap: 11px;
}

.search-result-groups {
  display: grid;
  gap: 16px;
}

.search-result-group {
  display: grid;
  gap: 9px;
}

.topic-match-group {
  border: 1px solid color-mix(in srgb, var(--accent) 20%, rgba(255, 255, 255, 0.08));
  border-radius: 24px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.search-group-header {
  display: flex;
  min-height: 24px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.search-group-actions {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 7px;
  align-items: center;
}

.topic-match-header {
  padding: 1px 4px 0;
}

.search-group-title {
  margin: 0;
  color: color-mix(in srgb, var(--accent) 72%, #e8f2ff);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
}

.search-group-count {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 850;
}

.search-legend-toggle {
  min-height: 24px;
  gap: 5px;
  padding: 2px 8px 2px 4px;
  font-size: 0.66rem;
}

.search-top-toggle {
  min-height: 24px;
  gap: 5px;
  padding: 2px 8px 2px 4px;
  font-size: 0.66rem;
}

.search-top-toggle span:first-child {
  width: 18px;
  height: 18px;
}

.search-legend-toggle span:first-child {
  width: 18px;
  height: 18px;
}

.search-group-list {
  display: grid;
  gap: 12px;
}

.variant-legend {
  position: relative;
  z-index: 1;
  overflow: hidden;
  margin: -3px 0 0;
  padding: 5px 0 6px;
  background: transparent;
  animation: legend-reveal 190ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.search-band.variant-title-collapsed + .stage .variant-legend {
  top: auto;
}

@keyframes legend-reveal {
  from {
    max-height: 0;
    opacity: 0;
    transform: translateY(0);
  }

  to {
    max-height: 140px;
    opacity: 1;
    transform: translateY(0);
  }
}

.variant-legend .recommendation-key {
  margin: 0;
  padding: 6px 7px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02)),
    rgba(5, 9, 10, 0.48);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px) saturate(135%);
}

.variant-card.glass-card {
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.105), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.032)),
    rgba(11, 14, 20, 0.84);
}

.variant-card.saved-pulse {
  animation: card-saved-pulse 260ms ease both;
}

body.saved-feedback .nav-button.active {
  animation: saved-tab-feedback 260ms ease both;
}

@keyframes card-saved-pulse {
  50% {
    border-color: color-mix(in srgb, var(--accent) 66%, var(--line));
    transform: scale(0.992);
  }
}

@keyframes saved-tab-feedback {
  50% {
    filter: brightness(1.16);
    transform: scale(0.98);
  }
}

.card-action-sheet {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 5;
  display: grid;
  gap: 7px;
  width: min(210px, calc(100% - 24px));
  border: 1px solid color-mix(in srgb, var(--accent) 26%, rgba(255, 255, 255, 0.14));
  border-radius: 20px;
  padding: 8px;
  background: rgba(5, 8, 10, 0.9);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.34), inset 0 1px rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(22px) saturate(145%);
  animation: card-actions-in 150ms ease both;
}

.card-action-sheet button,
.card-action-sheet a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
}

.card-action-sheet button:first-child {
  border-color: color-mix(in srgb, var(--accent) 40%, transparent);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
}

@keyframes card-actions-in {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.variant-card-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 26px;
  margin: -3px 0 -1px;
}

.variant-number-pill {
  display: inline-flex;
  align-items: center;
  height: 26px;
  min-height: 26px;
  gap: 5px;
  padding: 0 4px 0 9px;
  border: 1px solid color-mix(in srgb, var(--accent) 72%, rgba(255, 255, 255, 0.24));
  border-radius: 999px;
  background: var(--accent);
  color: #050608;
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1;
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.36),
    0 10px 22px color-mix(in srgb, var(--accent) 16%, transparent);
}

.variant-number-pill > span {
  transform: translateY(1px);
}

.variant-number-pill strong {
  display: grid;
  min-width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  background: #050608;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 950;
}

.variant-source-button {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035)),
    rgba(10, 13, 18, 0.64);
  color: #dbe7f5;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.08), 0 10px 22px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(14px) saturate(135%);
  transition: transform 160ms ease, border-color 160ms ease, color 160ms ease;
}

.variant-source-button:hover {
  border-color: color-mix(in srgb, var(--accent) 42%, transparent);
  color: color-mix(in srgb, var(--accent) 35%, #ffffff);
}

.variant-source-button:active {
  transform: scale(0.96);
}

.source-link-glyph {
  display: block;
  width: 15px;
  height: 15px;
  background: currentColor;
  -webkit-mask: url("assets/source-link-glyph.png") center / contain no-repeat;
  mask: url("assets/source-link-glyph.png") center / contain no-repeat;
}

.variant-head {
  display: block;
}

.search-match-reason {
  margin-top: 4px;
  color: color-mix(in srgb, var(--accent) 58%, var(--muted));
  font-size: 0.78rem;
  font-weight: 800;
}

.rating-strip {
  position: relative;
  display: grid;
  gap: 7px;
}

.rating-row.additional-rec {
  display: none;
}

.variant-card.show-all-recs .rating-row.additional-rec {
  display: grid;
}

.rating-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 9px 11px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.23);
}

.rating-row.usually-appropriate {
  border-color: color-mix(in srgb, var(--rec-green) 62%, transparent);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--rec-green) 18%, transparent), transparent 76%),
    rgba(16, 31, 24, 0.5);
}

.rating-row.may-appropriate {
  border-color: color-mix(in srgb, var(--rec-yellow) 62%, transparent);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--rec-yellow) 18%, transparent), transparent 76%),
    rgba(39, 36, 20, 0.5);
}

.rating-row.not-appropriate {
  border-color: color-mix(in srgb, var(--rec-red) 62%, transparent);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--rec-red) 15%, transparent), transparent 76%),
    rgba(36, 17, 20, 0.5);
}

.modality {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: clamp(0.8rem, 3.6vw, 0.9rem);
  font-weight: 820;
}

.recommendation-meta {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 4px;
  color: #b7c2cf;
  font-size: 0.72rem;
  font-weight: 760;
  line-height: 1.25;
}

.radiation-mark {
  white-space: nowrap;
}

.more-recs-button {
  display: grid;
  min-height: 44px;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--accent) 42%, transparent);
  border-radius: 22px;
  padding: 0 12px;
  background: color-mix(in srgb, var(--accent) 8%, rgba(255, 255, 255, 0.05));
  color: color-mix(in srgb, var(--accent) 72%, var(--ink));
  font-size: 0.9rem;
  font-weight: 850;
  cursor: pointer;
  white-space: nowrap;
}

.recommendation-key {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
  margin-top: -2px;
  padding-top: 1px;
}

.key-chip,
.radiation-key {
  display: inline-flex;
  min-height: 22px;
  align-items: center;
  gap: 5px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 3px 7px;
  background: rgba(255, 255, 255, 0.075);
  color: #d9e3ee;
  font-size: 0.6rem;
  font-weight: 820;
  line-height: 1;
}

.key-chip.usually-appropriate {
  border-color: color-mix(in srgb, var(--rec-green) 42%, transparent);
}

.key-chip.may-appropriate {
  border-color: color-mix(in srgb, var(--rec-yellow) 42%, transparent);
}

.key-chip.not-appropriate {
  border-color: color-mix(in srgb, var(--rec-red) 42%, transparent);
}

.key-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.key-chip.usually-appropriate .key-dot {
  background: var(--rec-green);
}

.key-chip.may-appropriate .key-dot {
  background: var(--rec-yellow);
}

.key-chip.not-appropriate .key-dot {
  background: var(--rec-red);
}

.radiation-key {
  border-color: rgba(255, 255, 255, 0.16);
}

.info-button {
  display: inline-grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
  font-size: 0.66rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tag {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 6px 9px;
  background: rgba(255, 255, 255, 0.08);
  color: #c8d2e0;
  font-size: 0.75rem;
  font-weight: 760;
}

.actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.actions.has-more {
  grid-template-columns: minmax(92px, 0.85fr) minmax(0, 1.45fr) 44px;
}

.action-button {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
  font-weight: 850;
  cursor: pointer;
}

.save-button {
  display: grid;
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  place-items: center;
  border-radius: 50%;
  padding: 0;
  color: #dce7f3;
  line-height: 0;
}

.toolbar-save-button {
  display: grid;
  width: 26px;
  height: 26px;
  min-height: 26px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  padding: 0;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035)),
    rgba(10, 13, 18, 0.64);
  color: #dce7f3;
  line-height: 0;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.08), 0 8px 16px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(14px) saturate(135%);
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, color 160ms ease;
}

.toolbar-save-button svg {
  display: block;
  width: 14px;
  height: 14px;
}

.toolbar-save-button:active {
  transform: scale(0.96);
}

.toolbar-save-button.saved {
  border-color: rgba(50, 219, 112, 0.65);
  background: rgba(50, 219, 112, 0.16);
  color: #a9ffc9;
}

.toolbar-save-button.saved .bookmark-fill {
  fill: currentColor;
}

.save-button svg {
  display: block;
  width: 21px;
  height: 21px;
}

.bookmark-outline {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linejoin: round;
}

.bookmark-fill {
  fill: transparent;
}

.action-button.primary {
  border-color: color-mix(in srgb, var(--accent) 70%, transparent);
  background: var(--accent);
  color: #050608;
}

.save-button.saved {
  border-color: rgba(50, 219, 112, 0.65);
  background: rgba(50, 219, 112, 0.16);
  color: #a9ffc9;
}

.save-button.saved .bookmark-fill {
  fill: currentColor;
}

.source-action-button {
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  border-radius: 50%;
  padding: 0;
}

.source-action-button .source-link-glyph {
  width: 21px;
  height: 21px;
}

.empty-state,
.info-panel {
  border: 1px solid var(--line);
  border-radius: 26px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.045)),
    rgba(19, 24, 33, 0.68);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px) saturate(150%);
}

.empty-state {
  padding: 24px 18px;
  color: var(--muted);
  text-align: center;
}

.search-empty-state {
  display: grid;
  gap: 9px;
  justify-items: center;
  padding: 24px 18px 26px;
}

.search-empty-state > strong {
  color: var(--ink);
  font-size: 1rem;
}

.search-empty-state p {
  max-width: 430px;
  margin: 0;
  line-height: 1.32;
}

.info-panel {
  padding: 18px;
}

.settings-list {
  display: grid;
  gap: 0;
}

.settings-list-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-height: 76px;
  border: 0;
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 18%, transparent);
  padding: 11px 3px;
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.settings-list-item:last-child {
  border-bottom: 0;
}

.settings-list-item:hover {
  background: color-mix(in srgb, var(--accent) 5%, transparent);
}

.source-freshness {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 10px;
  align-items: center;
  width: 100%;
  margin-top: 13px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  padding: 13px 14px;
  background:
    radial-gradient(circle at 0% 0%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 42%),
    rgba(255, 255, 255, 0.055);
  color: inherit;
  font: inherit;
  text-align: left;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.freshness-label {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 820;
  text-transform: uppercase;
}

.source-freshness strong {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 860;
}

.freshness-status {
  justify-self: end;
  border: 1px solid color-mix(in srgb, var(--accent) 44%, transparent);
  border-radius: 999px;
  padding: 5px 9px;
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  color: color-mix(in srgb, var(--accent) 75%, #ffffff);
  font-size: 0.68rem;
  font-weight: 900;
}

.freshness-status.stale {
  border-color: color-mix(in srgb, var(--rec-yellow) 54%, transparent);
  background: color-mix(in srgb, var(--rec-yellow) 12%, transparent);
  color: #ffe890;
}

.change-log-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.36;
}

.settings-glyph {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  background: rgba(3, 5, 8, 0.82);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.12);
  color: #f3f7fb;
  font-size: 1.38rem;
  font-weight: 850;
  line-height: 1;
}

.settings-glyph::before {
  display: block;
  width: 23px;
  height: 23px;
  background: currentColor;
  content: "";
  -webkit-mask: var(--settings-glyph-mask) center / contain no-repeat;
  mask: var(--settings-glyph-mask) center / contain no-repeat;
}

.settings-glyph-gear {
  --settings-glyph-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M19.43 12.98c.04-.32.07-.65.07-.98s-.02-.66-.07-.98l2.11-1.65a.5.5 0 0 0 .12-.64l-2-3.46a.5.5 0 0 0-.61-.22l-2.49 1a7.3 7.3 0 0 0-1.69-.98L14.5 2.42A.5.5 0 0 0 14 2h-4a.5.5 0 0 0-.5.42L9.12 5.07c-.61.24-1.18.56-1.69.98l-2.49-1a.5.5 0 0 0-.61.22l-2 3.46a.5.5 0 0 0 .12.64l2.11 1.65a7.9 7.9 0 0 0 0 1.96l-2.11 1.65a.5.5 0 0 0-.12.64l2 3.46a.5.5 0 0 0 .61.22l2.49-1c.51.4 1.08.74 1.69.98l.38 2.65a.5.5 0 0 0 .5.42h4a.5.5 0 0 0 .5-.42l.38-2.65c.61-.24 1.18-.56 1.69-.98l2.49 1a.5.5 0 0 0 .61-.22l2-3.46a.5.5 0 0 0-.12-.64l-2.12-1.65ZM12 15.5A3.5 3.5 0 1 1 12 8a3.5 3.5 0 0 1 0 7.5Z'/%3E%3C/svg%3E");
}

.settings-glyph-copyright {
  --settings-glyph-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm0 2.2a7.8 7.8 0 1 1 0 15.6 7.8 7.8 0 0 1 0-15.6Zm.2 3.7c-2.55 0-4.35 1.72-4.35 4.1s1.8 4.1 4.35 4.1c1.43 0 2.66-.54 3.43-1.5l-1.55-1.36c-.43.5-1.05.8-1.78.8-1.22 0-2.05-.82-2.05-2.04s.83-2.04 2.05-2.04c.73 0 1.35.3 1.78.8l1.55-1.36c-.77-.96-2-1.5-3.43-1.5Z'/%3E%3C/svg%3E");
}

.settings-glyph-compact {
  --settings-glyph-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M6 4h12v2H6V4Zm2 5h8v2H8V9Zm-2 5h12v2H6v-2Zm2 5h8v2H8v-2Z'/%3E%3C/svg%3E");
}

.settings-glyph-moon {
  --settings-glyph-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M21 14.7A8.8 8.8 0 0 1 9.3 3a.55.55 0 0 0-.64-.77A10.5 10.5 0 1 0 21.77 15.34a.55.55 0 0 0-.77-.64Z'/%3E%3C/svg%3E");
}

.settings-glyph-install {
  --settings-glyph-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M14 3h7v7h-2V6.41l-9.3 9.3-1.4-1.42 9.29-9.29H14V3ZM5 5h6v2H7v10h10v-4h2v6H5V5Z'/%3E%3C/svg%3E");
}

.settings-title,
.settings-meta {
  display: block;
  min-width: 0;
}

.settings-title {
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 860;
  line-height: 1.1;
}

.settings-meta {
  margin-top: 4px;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 680;
  line-height: 1.18;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.settings-detail-panel {
  display: grid;
  gap: 12px;
  padding: 14px;
}

.settings-detail-panel h3 {
  margin: 0;
  font-size: 1.06rem;
}

.settings-detail-panel .source-link {
  min-height: 32px;
}

.settings-detail-panel .legal-copy {
  display: grid;
  gap: 12px;
}

.settings-detail-panel .legal-copy p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.82rem, 3.35vw, 0.94rem);
  line-height: 1.52;
}

.settings-detail-panel .setting-row {
  margin-top: 0;
}

.customization-panel {
  padding: 0;
  border: 0;
  background: transparent !important;
  box-shadow: none;
  backdrop-filter: none;
}

.customization-panel .accent-setting {
  cursor: default;
}

.setting-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 82px;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.065);
}

.setting-row strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.05rem;
  line-height: 1.1;
}

.color-control {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  background: var(--accent);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.18),
    0 8px 18px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.color-control input {
  width: 64px;
  height: 64px;
  margin: -8px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: var(--accent);
  cursor: pointer;
}

.info-panel ol {
  margin: 0;
  padding-left: 22px;
  color: #d5dbe6;
}

.info-panel li {
  margin-bottom: 11px;
}

.small-note {
  margin: 16px 0 10px;
  color: var(--danger);
  font-size: 0.88rem;
  font-weight: 820;
}

.source-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  border-radius: 999px;
  color: var(--accent);
  font-weight: 900;
}

.preference-toggle {
  border-radius: 0;
}

.preference-toggle[aria-pressed="true"] .settings-glyph {
  border-color: color-mix(in srgb, var(--accent) 50%, transparent);
  background: var(--accent);
  color: #050608;
}

.app-toast {
  position: fixed;
  right: 18px;
  bottom: calc(82px + env(safe-area-inset-bottom));
  z-index: 30;
  max-width: min(260px, calc(100vw - 36px));
  border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(6, 9, 12, 0.88);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 880;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.34), inset 0 1px rgba(255, 255, 255, 0.1);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px) scale(0.98);
  transition: opacity 160ms ease, transform 160ms ease;
  backdrop-filter: blur(20px) saturate(145%);
}

.app-toast.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

body.compact-mode .app-shell {
  padding-inline: 13px;
}

body.compact-mode .stage,
body.compact-mode .variant-page,
body.compact-mode .variant-list,
body.compact-mode .saved-list,
body.compact-mode .search-result-groups,
body.compact-mode .search-group-list {
  gap: 7px;
}

body.compact-mode .variant-card {
  gap: 6px;
  padding: 9px;
  border-radius: 20px;
}

body.compact-mode .variant-card-toolbar {
  min-height: 24px;
  margin: -2px 0 -3px;
}

body.compact-mode .variant-number-pill {
  height: 24px;
  min-height: 24px;
  font-size: 0.64rem;
}

body.compact-mode .variant-number-pill strong {
  min-width: 18px;
  height: 18px;
  font-size: 0.7rem;
}

body.compact-mode .variant-card h3 {
  font-size: 0.84rem;
  line-height: 1.12;
}

body.compact-mode .variant-card p {
  font-size: 0.76rem;
  line-height: 1.13;
}

body.compact-mode .rating-strip {
  gap: 4px;
}

body.compact-mode .rating-row {
  min-height: 0;
  padding: 6px 8px;
  border-radius: 14px;
}

body.compact-mode .modality {
  font-size: 0.76rem;
  line-height: 1.12;
}

body.compact-mode .recommendation-meta {
  margin-top: 2px;
  font-size: 0.66rem;
}

body.compact-mode .actions {
  gap: 6px;
}

body.compact-mode .actions.has-more {
  grid-template-columns: minmax(78px, 0.8fr) minmax(0, 1.5fr) 38px;
}

body.compact-mode .action-button,
body.compact-mode .more-recs-button,
body.compact-mode .source-action-button {
  min-height: 38px;
  height: 38px;
  border-radius: 19px;
  font-size: 0.78rem;
}

body.compact-mode .source-action-button {
  width: 38px;
  min-width: 38px;
}

body.compact-mode .source-action-button .source-link-glyph {
  width: 18px;
  height: 18px;
}

body.oled-mode,
body.oled-mode:is(body) {
  background: #000;
}

html:has(body.oled-mode) {
  background: #000;
}

body.oled-mode .app-shell,
body.oled-mode .search-band,
body.oled-mode .customization-panel,
body.oled-mode .settings-list {
  background: transparent;
}

body.oled-mode .glass-card,
body.oled-mode .variant-card.glass-card,
body.oled-mode .empty-state,
body.oled-mode .info-panel,
body.oled-mode .search-box,
body.oled-mode .round-button,
body.oled-mode .crumb,
body.oled-mode .variant-key,
body.oled-mode .bottom-nav,
body.oled-mode .install-prompt,
body.oled-mode .card-action-sheet,
body.oled-mode dialog::backdrop {
  background: rgba(4, 5, 7, 0.88);
}

body.oled-mode .glass-card,
body.oled-mode .variant-card.glass-card,
body.oled-mode .empty-state,
body.oled-mode .info-panel {
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.11), 0 18px 56px rgba(0, 0, 0, 0.78);
}

body.oled-mode .section-card.photo-card::after,
body.oled-mode .section-card.photo-card::before,
body.oled-mode .home-tools::before,
body.oled-mode .tile-title-glass::before {
  background: transparent;
  opacity: 0;
}

body.oled-mode .tile-photo {
  filter: grayscale(0.12) contrast(1.06) brightness(0.7);
}

body.oled-mode .rating-row,
body.oled-mode .setting-row,
body.oled-mode .source-freshness,
body.oled-mode .variant-legend .recommendation-key,
body.oled-mode .recent-searches {
  background: rgba(3, 5, 7, 0.72);
}

body.oled-mode .rating-row.usually-appropriate {
  background: rgba(8, 31, 18, 0.56);
}

body.oled-mode .rating-row.may-appropriate {
  background: rgba(34, 31, 16, 0.58);
}

body.oled-mode .rating-row.not-appropriate {
  background: rgba(34, 11, 16, 0.58);
}

.bottom-nav {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  width: min(100%, 1080px);
  margin: 0 auto;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(5, 6, 8, 0.72);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(24px) saturate(150%);
  will-change: transform, opacity;
  transition:
    transform 260ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 220ms ease,
    border-color 220ms ease;
}

body.bottom-nav-collapsed .bottom-nav {
  opacity: 0.18;
  pointer-events: none;
  transform: translateY(calc(100% - 8px));
  border-top-color: rgba(255, 255, 255, 0.04);
}

.nav-button {
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 24px;
  background: transparent;
  color: var(--muted);
  font-weight: 900;
  cursor: pointer;
}

.nav-button.active {
  border-color: color-mix(in srgb, var(--accent) 45%, transparent);
  background: var(--accent);
  color: #050608;
}

dialog {
  width: min(94vw, 720px);
  max-height: calc(100dvh - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px) - 24px);
  margin: calc(env(safe-area-inset-top, 0px) + 12px) auto calc(env(safe-area-inset-bottom, 0px) + 12px);
  border: 0;
  border-radius: 26px;
  padding: 0;
  background: transparent;
}

dialog::backdrop {
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(10px);
}

.dialog-frame {
  max-height: calc(100dvh - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px) - 24px);
  overflow: auto;
  border: 1px solid var(--line-strong);
  border-radius: 26px;
  background: rgba(13, 16, 22, 0.9);
  box-shadow: var(--shadow);
  backdrop-filter: blur(26px) saturate(150%);
}

.dialog-header {
  position: sticky;
  top: 0;
  z-index: 1;
  display: block;
  padding: 18px 68px 18px 18px;
  background: rgba(13, 16, 22, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(22px);
}

.dialog-header > div {
  min-width: 0;
}

.dialog-header .eyebrow {
  max-width: 100%;
}

.dialog-header h2 {
  max-width: 100%;
  padding-top: 6px;
  overflow-wrap: anywhere;
}

.dialog-header .round-button {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
}

#detailBody {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.detail-section {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.detail-section:first-child {
  border-top: 0;
  padding-top: 0;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  gap: 10px;
}

.install-detail-grid {
  padding-top: 15px;
}

.detail-pill {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 17px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.075);
  color: var(--ink);
  font: inherit;
  text-align: left;
  overflow-wrap: anywhere;
  line-height: 1.15;
}

.detail-pill strong {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.68rem;
  text-transform: uppercase;
}

.report-button {
  display: flex;
  min-height: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-color: rgba(255, 99, 112, 0.55);
  background:
    linear-gradient(135deg, rgba(255, 99, 112, 0.22), rgba(255, 99, 112, 0.08)),
    rgba(36, 12, 18, 0.62);
}

.report-button strong {
  margin-bottom: 4px;
  color: #ffb4bc;
  text-align: center;
}

.report-button span {
  display: block;
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 920;
  line-height: 1.1;
  text-align: center;
}

.rrl-table {
  display: grid;
  gap: 6px;
  margin: 12px 0;
}

.rrl-table > div {
  display: grid;
  grid-template-columns: 0.8fr 1fr 1fr;
  gap: 8px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.055);
  color: #dce5ef;
  font-size: 0.78rem;
  font-weight: 720;
}

.rrl-table strong {
  color: var(--ink);
}

@media (min-width: 700px) {
  .app-shell {
    padding-inline: 28px;
  }

  .search-band {
    margin-inline: -28px;
    padding-inline: 28px;
  }

  .section-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .topic-grid,
  .variant-list,
  .saved-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1020px) {
  .section-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}
