:root {
  --paper: #f4f0e7;
  --paper-deep: #e8e0d1;
  --paper-light: #fbf9f4;
  --ink: #172027;
  --muted: #59636b;
  --line: rgba(23, 32, 39, 0.22);
  --line-soft: rgba(23, 32, 39, 0.12);
  --navy: #18394a;
  --navy-soft: #d6e0df;
  --rust: #b64b2e;
  --sage: #8d9b7d;
  --gold: #d2a24d;
  --white: #fffdf8;
  --error: #8f2c25;
  --serif: "Newsreader", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 94% 5%, rgba(182, 75, 46, 0.07), transparent 30rem),
    var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

button,
input { font: inherit; }

button { color: inherit; }
a { color: inherit; text-underline-offset: 3px; }
[hidden] { display: none !important; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-170%);
}

.skip-link:focus { transform: translateY(0); }

.books-shell {
  width: min(1380px, calc(100% - 64px));
  margin: 0 auto;
}

.books-header {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-bottom: 1px solid var(--ink);
}

.back-link {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.back-link span:first-child {
  font-size: 1rem;
  transition: transform 180ms ease;
}

.back-link:hover span:first-child,
.back-link:focus-visible span:first-child { transform: translateX(-3px); }

.books-wordmark {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.books-wordmark span {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.back-link:focus-visible,
.books-wordmark:focus-visible,
.books-footer a:focus-visible {
  outline: 3px solid var(--rust);
  outline-offset: 6px;
}

.books-hero {
  display: grid;
  min-height: 560px;
  grid-template-columns: minmax(0, 1.65fr) minmax(270px, 0.58fr);
  grid-template-rows: auto 1fr;
  align-items: end;
  gap: 22px clamp(50px, 8vw, 130px);
  padding: 62px 0 76px;
}

.hero-kicker,
.section-kicker,
.results-overline,
.submit-eyebrow {
  margin: 0;
  color: var(--rust);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-kicker { grid-column: 1 / -1; align-self: start; }

h1,
h2,
h3 { font-family: var(--serif); }

h1 {
  max-width: 950px;
  margin: 0;
  font-size: clamp(4.5rem, 8.7vw, 9rem);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.83;
}

h1 em {
  color: var(--rust);
  font-weight: 400;
}

.hero-note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 13px;
  padding-top: 18px;
  border-top: 1px solid var(--ink);
}

.hero-note > span { color: var(--rust); }

.hero-note p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  line-height: 1.38;
}

.recommendation-form { border-bottom: 1px solid var(--ink); }

.builder-section {
  padding: 54px 0 48px;
}

.section-number {
  padding-top: 7px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.section-title-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}

.section-title-row h1 {
  max-width: 790px;
  margin: 0;
  font-size: clamp(2.7rem, 5vw, 4.5rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1;
}

.selection-count,
.optional-label {
  flex: 0 0 auto;
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 0.67rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.selection-count strong { color: var(--ink); }

.search-wrap {
  position: relative;
  z-index: 5;
  margin-top: 30px;
}

.search-wrap > label {
  display: block;
  margin-bottom: 10px;
  font-size: 0.72rem;
  font-weight: 700;
}

.search-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
}

.search-input-wrap { position: relative; }

.search-icon {
  position: absolute;
  top: 50%;
  left: 20px;
  width: 17px;
  height: 17px;
  border: 1.8px solid var(--ink);
  border-radius: 50%;
  pointer-events: none;
  transform: translateY(-55%);
}

.search-icon::after {
  position: absolute;
  right: -5px;
  bottom: -3px;
  width: 7px;
  height: 2px;
  background: var(--ink);
  content: "";
  transform: rotate(48deg);
}

#book-search {
  width: 100%;
  min-height: 68px;
  padding: 16px 60px 16px 56px;
  border: 1px solid var(--ink);
  border-radius: 0;
  outline: none;
  color: var(--ink);
  background: var(--paper-light);
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  -webkit-appearance: none;
}

#book-search::placeholder { color: #686963; }

#book-search:focus {
  border-color: var(--rust);
  box-shadow: 0 0 0 3px rgba(182, 75, 46, 0.2);
}

#book-search::-webkit-search-cancel-button { display: none; }

.search-progress {
  position: absolute;
  top: calc(50% - 9px);
  right: 22px;
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid var(--line);
  border-top-color: var(--rust);
  border-radius: 50%;
  animation: spin 650ms linear infinite;
}

.search-progress.is-active { display: block; }

.suggestions {
  position: absolute;
  top: calc(100% - 1px);
  right: 0;
  left: 0;
  z-index: 20;
  max-height: 430px;
  overflow-y: auto;
  border: 1px solid var(--ink);
  border-top: 0;
  background: var(--paper-light);
  box-shadow: 0 18px 36px rgba(23, 32, 39, 0.15);
}

.suggestion-option {
  display: grid;
  width: 100%;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 15px;
  padding: 11px 17px;
  border: 0;
  border-top: 1px solid var(--line-soft);
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.suggestion-option:first-child { border-top: 0; }
.suggestion-option:hover,
.suggestion-option.is-active { background: var(--navy-soft); }
.suggestion-option:focus-visible { outline: 3px solid var(--rust); outline-offset: -3px; }

.suggestion-cover {
  display: grid;
  width: 42px;
  height: 58px;
  overflow: hidden;
  place-items: center;
  color: var(--white);
  background: var(--navy);
  font-family: var(--serif);
  font-size: 1.1rem;
}

.suggestion-cover img { width: 100%; height: 100%; object-fit: cover; }

.suggestion-copy strong {
  display: block;
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
}

.suggestion-copy span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.68rem;
}

.suggestion-year {
  color: var(--muted);
  font-size: 0.65rem;
}

.suggestion-message {
  margin: 0;
  padding: 20px;
  color: var(--muted);
  font-size: 0.76rem;
}

.search-hint,
.search-status {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.67rem;
  line-height: 1.45;
}

.search-status { min-height: 1em; color: var(--error); }

.selected-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 30px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.selected-heading h2 {
  margin: 0;
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.clear-button {
  padding: 4px 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  color: var(--muted);
  background: transparent;
  font-size: 0.66rem;
  cursor: pointer;
}

.clear-button:hover { color: var(--error); }
.clear-button:focus-visible { outline: 3px solid var(--rust); outline-offset: 4px; }

.favourites-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.empty-shelf {
  display: flex;
  min-height: 82px;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: center;
  gap: 15px;
  border: 1px dashed var(--line);
  color: var(--muted);
}

.empty-shelf p { margin: 0; font-size: 0.76rem; }

.favourite-card {
  position: relative;
  display: grid;
  min-width: 0;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 13px;
  padding: 12px 42px 12px 12px;
  border: 1px solid var(--line);
  background: var(--paper-light);
}

.favourite-cover {
  display: grid;
  width: 52px;
  height: 72px;
  overflow: hidden;
  place-items: center;
  color: var(--white);
  background: var(--navy);
  font-family: var(--serif);
  font-size: 1.4rem;
}

.favourite-cover img { width: 100%; height: 100%; object-fit: cover; }

.favourite-copy { min-width: 0; }

.favourite-copy strong {
  display: -webkit-box;
  overflow: hidden;
  font-family: var(--serif);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.13;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.favourite-copy span {
  display: block;
  overflow: hidden;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.63rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.remove-favourite {
  position: absolute;
  top: 9px;
  right: 9px;
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-size: 1.05rem;
}

.remove-favourite:hover { color: var(--white); background: var(--error); }
.remove-favourite:focus-visible { outline: 3px solid var(--rust); outline-offset: 2px; }

.preferences-panel {
  margin-top: 28px;
  border-top: 1px solid var(--line);
}

.preferences-panel summary {
  width: fit-content;
  padding: 16px 0 4px;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
}

.preferences-panel summary:focus-visible {
  outline: 3px solid var(--rust);
  outline-offset: 4px;
}

.preference-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 16px;
}

.preference-grid fieldset {
  min-width: 0;
  margin: 0;
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.52);
}

.preference-grid legend {
  padding: 0 5px;
  font-size: 0.72rem;
  font-weight: 700;
}

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

.segmented-options label { position: relative; }
.segmented-options input { position: absolute; opacity: 0; pointer-events: none; }

.segmented-options span {
  display: block;
  padding: 9px 12px;
  border: 1px solid var(--line);
  background: var(--paper-light);
  font-size: 0.66rem;
  font-weight: 600;
  cursor: pointer;
}

.segmented-options input:checked + span {
  border-color: var(--navy);
  color: var(--white);
  background: var(--navy);
  font-weight: 700;
}

.segmented-options input:checked + span::before {
  margin-right: 5px;
  content: "✓";
}

.segmented-options input:focus-visible + span {
  outline: 3px solid var(--rust);
  outline-offset: 3px;
}

.submit-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  padding: 34px 0;
  border-bottom: 1px solid var(--ink);
}

.submit-section > div { max-width: 570px; }

.submit-section > div > p:last-child {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.5;
}

.recommend-button {
  display: flex;
  min-width: 225px;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 15px 21px;
  border: 1px solid var(--navy);
  color: var(--white);
  background: var(--navy);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 700;
}

.recommend-button span:last-child { font-size: 1rem; transition: transform 180ms ease; }
.recommend-button:not(:disabled):hover span:last-child { transform: translateX(4px); }
.recommend-button:focus-visible { outline: 3px solid var(--rust); outline-offset: 4px; }
.recommend-button:disabled { border-color: var(--line); color: #929792; background: var(--paper-deep); cursor: not-allowed; }

.loading-panel,
.error-panel {
  display: grid;
  min-height: 230px;
  grid-template-columns: 72px minmax(0, 600px);
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 48px 20px;
  border-bottom: 1px solid var(--ink);
}

.loading-panel h2,
.error-panel h2 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 0.95;
}

.loading-panel p:last-child,
.error-panel > p,
.error-panel div > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.55;
}

.loading-orbit {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  animation: spin 3s linear infinite;
}

.loading-orbit span {
  width: 25px;
  height: 35px;
  background: var(--rust);
  box-shadow: 7px 7px 0 var(--navy);
  transform: rotate(12deg);
}

.error-panel {
  display: block;
  max-width: 780px;
  min-height: 0;
  margin: 0 auto;
  text-align: center;
}

.error-panel button {
  margin-top: 24px;
  padding: 11px 18px;
  border: 1px solid var(--ink);
  background: transparent;
  cursor: pointer;
  font-size: 0.7rem;
  font-weight: 700;
}

.error-panel button:hover { color: var(--white); background: var(--ink); }
.error-panel button:focus-visible { outline: 3px solid var(--rust); outline-offset: 4px; }

.results { padding: 64px 0 72px; border-bottom: 1px solid var(--ink); outline: none; }

.results-header {
  max-width: 950px;
  margin: 0 auto 52px;
  text-align: center;
}

.results-header h2 {
  margin: 0 0 14px;
  font-size: clamp(2.6rem, 5vw, 4.5rem);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.89;
}

.profile-summary {
  max-width: 700px;
  margin: 0 auto;
  color: var(--muted);
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  line-height: 1.45;
}

.profile-signals {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 42px;
  margin-top: 32px;
}

.profile-signals > div > span {
  display: block;
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 0.59rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.signal-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }

.signal-list span,
.theme-tag {
  display: inline-block;
  padding: 6px 9px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--paper-light);
  font-size: 0.62rem;
}

.result-list { margin-top: 60px; }
.result-list:first-child { margin-top: 0; }

.list-heading {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) minmax(210px, 0.55fr);
  align-items: end;
  gap: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--ink);
}

.list-index {
  color: var(--rust);
  font-family: var(--serif);
  font-size: 1.25rem;
}

.list-heading h3 {
  margin: 0;
  font-size: clamp(2rem, 3.5vw, 3.3rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.95;
}

.list-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.55;
}

.book-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px 17px;
  margin-top: 28px;
}

.book-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.58);
}

.book-cover-shell {
  position: relative;
  display: grid;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  place-items: center;
  border-bottom: 1px solid var(--line);
  background: var(--navy-soft);
}

.book-cover-shell::after {
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(23, 32, 39, 0.2);
  content: "";
  pointer-events: none;
}

.book-cover-shell img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: saturate(0.88);
}

.book-cover-shell.is-fallback img { display: none; }

.book-cover-placeholder {
  max-width: 75%;
  color: var(--navy);
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.1vw, 2rem);
  font-weight: 600;
  line-height: 1;
  text-align: center;
}

.book-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}

.book-body h4 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.05;
}

.book-author {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.35;
}

.book-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin-top: 13px;
  color: var(--muted);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.theme-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 15px; }
.theme-tag { padding: 5px 7px; font-size: 0.57rem; }

.reason-list {
  margin: 17px 0 0;
  padding: 15px 0 0;
  border-top: 1px solid var(--line-soft);
  list-style: none;
}

.reason-list li {
  position: relative;
  margin-top: 7px;
  padding-left: 13px;
  color: var(--muted);
  font-size: 0.64rem;
  line-height: 1.45;
}

.reason-list li:first-child { margin-top: 0; }

.reason-list li::before {
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--rust);
  content: "";
}

.open-library-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 20px;
  color: var(--navy);
  font-size: 0.65rem;
  font-weight: 700;
  text-decoration: none;
}

.open-library-link:hover { color: var(--rust); }
.open-library-link:focus-visible { outline: 3px solid var(--rust); outline-offset: 4px; }

.no-results {
  padding: 55px 20px;
  border: 1px dashed var(--line);
  color: var(--muted);
  text-align: center;
}

.no-results h3 { margin: 0 0 8px; color: var(--ink); font-size: 2rem; font-weight: 400; }
.no-results p { margin: 0; font-size: 0.75rem; }

.results-note {
  display: flex;
  max-width: 760px;
  align-items: flex-start;
  gap: 13px;
  margin: 52px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.results-note span {
  display: grid;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 0.75rem;
}

.results-note p { margin: 1px 0 0; font-size: 0.67rem; line-height: 1.55; }

.books-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 34px 0 48px;
  color: var(--muted);
  font-size: 0.67rem;
}

.books-footer > a { color: var(--ink); font-family: var(--serif); font-size: 1rem; font-weight: 600; text-decoration: none; }
.books-footer p { margin: 0; }

.noscript-message {
  position: fixed;
  right: 20px;
  bottom: 20px;
  left: 20px;
  z-index: 100;
  padding: 16px;
  color: var(--white);
  background: var(--error);
  text-align: center;
}

@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 1080px) {
  .favourites-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .preference-grid { grid-template-columns: 1fr; }
  .preference-grid fieldset > p { min-height: 0; }
  .book-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .section-title-row { align-items: flex-start; flex-direction: column; gap: 18px; }
  .search-controls { grid-template-columns: 1fr; }
  .recommend-button { width: 100%; }
  .list-heading { grid-template-columns: 44px 1fr; }
  .list-heading p { grid-column: 2; }
  .book-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .books-shell { width: min(100% - 32px, 1380px); }
  .books-header { min-height: 78px; }
  .back-link span:last-child { display: none; }
  .builder-section { padding: 38px 0 42px; }
  .section-title-row h1 { font-size: clamp(2.5rem, 13vw, 3.5rem); }
  .search-wrap { margin-top: 26px; }
  #book-search { min-height: 62px; padding-left: 51px; font-size: 1.05rem; }
  .recommend-button { min-height: 58px; }
  .suggestion-option { grid-template-columns: 43px minmax(0, 1fr); }
  .suggestion-year { display: none; }
  .favourites-grid { grid-template-columns: 1fr; }
  .favourite-card { grid-template-columns: 48px minmax(0, 1fr); }
  .favourite-cover { width: 44px; height: 62px; }
  .preference-grid fieldset { padding: 19px; }
  .loading-panel { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .loading-orbit { margin: 0 auto; }
  .results { padding: 52px 0; }
  .results-header { margin-bottom: 44px; }
  .profile-signals { align-items: center; flex-direction: column; gap: 20px; }
  .result-list { margin-top: 48px; }
  .list-heading { grid-template-columns: 1fr; gap: 9px; }
  .list-heading p { grid-column: auto; }
  .book-grid { grid-template-columns: 1fr; gap: 18px; }
  .book-card { display: grid; grid-template-columns: 120px minmax(0, 1fr); }
  .book-cover-shell { min-height: 100%; aspect-ratio: auto; border-right: 1px solid var(--line); border-bottom: 0; }
  .book-cover-placeholder { font-size: 1.15rem; }
  .book-body { padding: 17px; }
  .books-footer { align-items: flex-start; flex-direction: column; gap: 13px; }
}

@media (max-width: 390px) {
  .book-card { grid-template-columns: 102px minmax(0, 1fr); }
  .theme-tags { display: none; }
}

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

@media (forced-colors: active) {
  .segmented-options input:checked + span {
    outline: 2px solid;
    outline-offset: 2px;
  }
}
