/* Crymych Kebab House demo, v3: the shop's own colours (logo red, black, white, gold from the Prince of Wales feathers).
   Layout: categories | one list | basket on desktop; one list with sticky category buttons on phones. See docs ADR-002. */

/* ---- Font: DM Sans (self-hosted, SIL Open Font License; files in fonts/) */
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/dm-sans-latin-500-normal.woff2) format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/dm-sans-latin-ext-500-normal.woff2) format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/dm-sans-latin-700-normal.woff2) format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/dm-sans-latin-ext-700-normal.woff2) format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}

/* ---- Tokens (from the logo: red #cc1824, black, white, gold #dcb206) */
:root {
  --black: #141414;
  --black-2: #1f1f1f;
  --red: #cc1824; /* white on red 5.6:1 */
  --red-dark: #a3131d;
  --gold: #dcb206; /* only on black (9.1:1), never as text on white */
  --white: #ffffff;
  --grey: #f4f4f4;
  --line: #e4e4e4;
  --muted: #5c5c5c; /* 6.7:1 on white */
  --edge: #8a8a8a; /* control borders, 3.4:1 */
  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --header-h: 60px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
@media (min-width: 1100px) {
  :root {
    --header-h: 68px;
  }
}

/* ---- Base */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 116px);
}
@media (min-width: 1100px) {
  html {
    scroll-padding-top: calc(var(--header-h) + 16px);
  }
}
body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font: 500 1rem/1.45 var(--font);
  -webkit-font-smoothing: antialiased;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
}
h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
p {
  margin: 0;
}
button,
input,
textarea {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  box-shadow: 0 0 0 5px var(--black);
}
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip {
  position: absolute;
  left: 8px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--gold);
  color: var(--black);
  font-weight: 700;
  border-radius: 8px;
}
.skip:focus {
  top: 8px;
}
.wrap {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 1100px) {
  .wrap {
    padding: 0 24px;
  }
}
.small {
  font-size: 0.8125rem;
  color: var(--muted);
}
.todo {
  margin-top: 12px;
  padding: 10px 12px;
  border: 1.5px dashed var(--edge);
  border-radius: 8px;
}
.gold {
  color: var(--gold);
}

/* ---- Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 8px;
  border: 1.5px solid transparent;
  font: 700 0.9375rem/1.2 var(--font);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
}
.btn-primary:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.btn-outline {
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}
.btn-outline-dark {
  border-color: var(--edge);
  color: var(--black);
  background: var(--white);
}
.btn-outline-dark:hover {
  border-color: var(--black);
}
.btn-block {
  width: 100%;
}
.icon-btn {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--edge);
  border-radius: 999px;
  background: var(--white);
}

/* ---- Demo ribbon */
.demo-ribbon {
  padding: 6px 16px;
  background: var(--gold);
  color: var(--black);
  font-size: 0.75rem;
  line-height: 1.35;
  text-align: center;
}

/* ---- Header */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--black);
  border-bottom: 3px solid var(--red);
  color: var(--white);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  height: var(--header-h);
}
.brand {
  flex: none;
}
.brand img {
  width: auto;
  height: 34px;
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.status .dot {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}
.status.is-open .dot {
  background: #3ddc84;
}
.topbar .btn-call {
  flex: none;
  min-height: 44px;
  padding: 0 14px;
}
.call-long {
  display: none;
}
@media (min-width: 1100px) {
  .brand img {
    height: 44px;
  }
  .status {
    font-size: 0.875rem;
  }
  .call-short {
    display: none;
  }
  .call-long {
    display: inline;
  }
}

/* ---- Hero */
.hero {
  background: var(--black);
  color: var(--white);
  padding: 20px 0 24px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 112px;
  gap: 16px;
  align-items: start;
}
.kicker {
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hero h1 {
  margin-top: 6px;
  font-size: 1.875rem;
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.kicker-more {
  display: none;
}
@media (min-width: 960px) {
  .kicker-more {
    display: inline;
  }
}
.lede {
  margin-top: 10px;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.88);
}
.hero-copy {
  display: contents;
}
.hero-copy > .kicker,
.hero-copy > h1,
.hero-copy > .lede {
  grid-column: 1;
}
.hero-photo {
  grid-column: 2;
  grid-row: 1 / span 3;
  margin: 0;
  align-self: center;
}
.hero-photo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid var(--red);
}
.hero-actions {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 10px;
}
.hero-actions .btn {
  padding: 12px 10px;
}
.facts {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.88);
}
@media (min-width: 960px) {
  .hero {
    padding: 40px 0;
  }
  .hero-grid {
    grid-template-columns: 1fr 300px;
    gap: 48px;
    align-items: center;
  }
  .hero-copy {
    display: grid;
    gap: 16px;
    align-content: center;
  }
  .hero-photo {
    grid-row: 1;
  }
  .hero h1 {
    margin-top: 0;
    font-size: 3rem;
    max-width: 16ch;
  }
  .kicker {
    font-size: 0.8125rem;
  }
  .lede {
    margin-top: 0;
    font-size: 1.125rem;
  }
  .hero-actions {
    display: flex;
  }
  .facts {
    font-size: 0.9375rem;
  }
}

/* ---- Shop: phones and tablets */
.menubar {
  position: sticky;
  top: var(--header-h);
  z-index: 30;
  padding: 8px 0;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}
.menubar-inner {
  display: grid;
  gap: 8px;
  padding: 0;
}
.search {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 12px;
  background: var(--grey);
  border: 1.5px solid var(--edge);
  border-radius: 8px;
  color: var(--muted);
}
.menubar .search {
  margin: 0 12px;
}
.search:focus-within {
  border-color: var(--black);
  outline: 3px solid var(--gold);
  outline-offset: 1px;
}
.search input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  background: transparent;
  color: var(--black);
  font-size: 1rem;
  outline: none;
}
.search input:focus-visible {
  outline: none;
  box-shadow: none;
}
.chips {
  display: flex;
  min-height: 42px; /* reserve the row before JS fills it, so the menu doesn't jump (layout shift) */
  gap: 6px;
  overflow-x: auto;
  padding: 0 12px 2px;
  scrollbar-width: none;
}
.chips::-webkit-scrollbar {
  display: none;
}
.chip {
  display: inline-flex;
  align-items: center;
  flex: none;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1.5px solid var(--edge);
  background: var(--white);
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.chip.is-active {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}
.side,
.cart {
  display: none;
}

/* ---- Menu list */
.menu-list {
  min-width: 0;
  padding-bottom: 32px;
}
.allergy-line {
  margin: 14px 0 0;
  font-size: 0.8125rem;
  color: var(--muted);
}
.allergy-line a {
  color: var(--black);
  font-weight: 700;
}
.cat {
  padding-top: 24px;
}
.cat-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 3px solid var(--black);
}
.cat-head h3 {
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.cat-head p {
  font-size: 0.8125rem;
  color: var(--muted);
  text-align: right;
}
.subhead {
  margin: 18px 0 0;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
}
.row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 16px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.row h4 {
  font-size: 1rem;
  line-height: 1.3;
}
.row p {
  margin-top: 2px;
  font-size: 0.8125rem;
  color: var(--muted);
}
.opts {
  display: grid;
  gap: 6px;
}
.row.is-multi {
  grid-template-columns: 1fr;
}
.row.is-multi .opts {
  grid-template-columns: repeat(2, 1fr);
}
/* One option button: [label .... £0.00 (+)], same shape everywhere so prices line up */
.opt {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-width: 112px;
  min-height: 44px;
  padding: 6px 8px 6px 12px;
  border: 1.5px solid var(--edge);
  border-radius: 8px;
  background: var(--white);
  text-align: left;
  transition:
    background-color 150ms,
    border-color 150ms;
}
.opt:hover {
  border-color: var(--red);
}
.opt .lbl {
  flex: 1;
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.2;
}
.opt .price {
  margin-left: auto;
  font-size: 0.9375rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.opt .plus {
  display: grid;
  place-items: center;
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-weight: 700;
  line-height: 1;
}
.opt .in {
  position: absolute;
  top: -8px;
  right: -6px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--black);
  color: var(--white);
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
}
.opt.has-in {
  border-color: var(--black);
}
.opt.added {
  background: var(--black);
  border-color: var(--black);
}
.opt.added .lbl,
.opt.added .price {
  color: var(--white);
}
.empty {
  margin: 32px 0;
  text-align: center;
  color: var(--muted);
}
/* Wider screens: every option is the same width, in fixed columns, so prices line up down the whole menu */
@media (min-width: 720px) {
  .row {
    grid-template-columns: 1fr 150px;
  }
  .row.is-multi {
    grid-template-columns: 1fr;
  }
  .row.is-multi .opts {
    grid-template-columns: repeat(4, 150px);
    justify-content: start;
  }
}

/* ---- Shop: desktop (categories | list | basket) */
@media (min-width: 1100px) {
  .menubar,
  .allergy-line {
    display: none;
  }
  .shop-grid {
    display: grid;
    grid-template-columns: 200px minmax(0, 1fr) 340px;
    gap: 32px;
    align-items: start;
  }
  .side,
  .cart {
    display: block;
    position: sticky;
    top: calc(var(--header-h) + 16px);
    padding-top: 24px;
  }
  .side-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  .side .search input {
    width: 100%;
  }
  .side-nav {
    display: grid;
  }
  .side-nav a {
    display: flex;
    align-items: center;
    min-height: 40px;
    padding: 0 12px;
    border-left: 3px solid transparent;
    font-weight: 700;
    text-decoration: none;
  }
  .side-nav a:hover {
    background: var(--grey);
  }
  .side-nav a.is-active {
    border-left-color: var(--red);
    background: var(--grey);
    color: var(--red);
  }
  .side-note {
    font-size: 0.8125rem;
    color: var(--muted);
  }
  .side-note a {
    color: var(--black);
    font-weight: 700;
  }
  .cart-inner {
    max-height: calc(100vh - var(--header-h) - 40px);
    overflow-y: auto;
    padding: 18px;
    border: 1.5px solid var(--line);
    border-top: 4px solid var(--red);
    border-radius: 10px;
    background: var(--white);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  }
  .cart h2 {
    font-size: 1.375rem;
  }
  .cart .small {
    margin-top: 2px;
  }
  .basket-bar {
    display: none !important;
  }
}

/* ---- Find us */
.visit {
  padding: 32px 0;
  background: var(--grey);
  border-top: 1px solid var(--line);
}
.visit-grid {
  display: grid;
  gap: 28px;
}
.visit h2,
.allergens h2 {
  font-size: 1.5rem;
  text-transform: uppercase;
  margin-bottom: 12px;
}
address {
  font-style: normal;
  font-size: 1.0625rem;
  line-height: 1.5;
}
.visit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.hours {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
}
.hours th,
.hours td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-weight: 500;
}
.hours td {
  text-align: right;
}
.hours tr.today th,
.hours tr.today td {
  background: var(--black);
  color: var(--white);
  font-weight: 700;
}
.visit .small {
  margin-top: 10px;
}
@media (min-width: 960px) {
  .visit {
    padding: 48px 0;
  }
  .visit-grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
}

/* ---- Allergens */
.allergens {
  padding: 32px 0 40px;
}
.allergens p {
  max-width: 70ch;
}
.allergens p a {
  font-weight: 700;
}
.allergens h3 {
  margin: 20px 0 10px;
  font-size: 1.0625rem;
}
.allergen-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.allergen-list li {
  padding: 6px 12px;
  border: 1px solid var(--edge);
  border-radius: 999px;
  font-size: 0.8125rem;
}

/* ---- Footer */
.footer {
  padding: 32px 0 104px;
  background: var(--black);
  border-top: 3px solid var(--red);
  color: var(--white);
  text-align: center;
  font-size: 0.875rem;
}
.footer p + p {
  margin-top: 8px;
}
.footer-logo {
  width: 200px;
  margin: 0 auto 10px;
}
.slogan {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold);
}
.footer .small {
  color: rgba(255, 255, 255, 0.75);
}
@media (min-width: 1100px) {
  .footer {
    padding-bottom: 40px;
  }
}

/* ---- Basket bar (phones and tablets) */
.basket-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 35;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: var(--black);
}
.basket-btn {
  width: 100%;
  justify-content: space-between;
}
.basket-count {
  display: grid;
  place-items: center;
  min-width: 28px;
  height: 28px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--white);
  color: var(--red);
  font-variant-numeric: tabular-nums;
}
.basket-btn strong {
  font-variant-numeric: tabular-nums;
}
.basket-btn.bump .basket-count {
  animation: bump 260ms var(--ease);
}
@keyframes bump {
  40% {
    transform: scale(1.18);
  }
}

/* ---- Basket contents (shared by the desktop panel and the phone drawer) */
.nudge {
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--grey);
  font-size: 0.8125rem;
  font-weight: 700;
}
.progress {
  height: 6px;
  margin-top: 8px;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
}
.progress span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--red);
  transition: width 260ms var(--ease);
}
.nudge.done .progress span {
  background: var(--black);
}
.lines {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}
.lines li {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 4px 10px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.lines .name {
  font-weight: 700;
  font-size: 0.9375rem;
}
.lines .name small {
  display: block;
  font-weight: 500;
  font-size: 0.8125rem;
  color: var(--muted);
}
.lines strong {
  font-variant-numeric: tabular-nums;
}
.lines .empty-line {
  display: block;
  color: var(--muted);
  font-size: 0.875rem;
}
.qty {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--edge);
  border-radius: 999px;
}
.qty button {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-size: 1.125rem;
  font-weight: 700;
}
.qty span {
  min-width: 16px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.lines-summary li {
  grid-template-columns: auto 1fr auto;
}
.notes {
  display: grid;
  gap: 6px;
  margin: 14px 0;
  font-weight: 700;
  font-size: 0.875rem;
}
.notes textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid var(--edge);
  border-radius: 8px;
  font-weight: 500;
  resize: vertical;
}
.totals {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 12px;
  font-weight: 700;
}
.totals strong {
  font-size: 1.5rem;
  font-variant-numeric: tabular-nums;
}

/* ---- Sheets (native <dialog>): bottom sheet on phones, centred panel on bigger screens */
.sheet {
  width: 100%;
  max-width: 100%;
  max-height: 86vh;
  max-height: 86dvh;
  margin: auto 0 0;
  padding: 0;
  border: 0;
  border-top: 4px solid var(--red);
  border-radius: 14px 14px 0 0;
  background: var(--white);
  color: var(--black);
}
.sheet::backdrop {
  background: rgba(20, 20, 20, 0.7);
}
.sheet[open] {
  animation: sheet-up 220ms var(--ease);
}
@keyframes sheet-up {
  from {
    transform: translateY(100%);
  }
}
.sheet-panel {
  display: flex;
  flex-direction: column;
  max-height: inherit;
  margin: 0;
}
.sheet-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}
.sheet-head h2 {
  font-size: 1.25rem;
  padding-top: 6px;
}
.sheet-head .small {
  margin-top: 2px;
}
.sheet-body {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0 16px 16px;
}
.chooser .sheet-body,
.modal .sheet-body {
  padding-top: 16px;
}
.sheet-foot {
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
}
@media (min-width: 720px) {
  .sheet {
    width: 520px;
    max-height: 82vh;
    margin: auto;
    border-radius: 12px;
  }
  .sheet[open] {
    animation: none;
  }
}

/* ---- Add-on chooser */
.group {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
.group + .group {
  margin-top: 20px;
}
.group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 0;
  margin-bottom: 10px;
}
.group-title {
  font-size: 1.0625rem;
  font-weight: 700;
}
.pill {
  flex: none;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--grey);
  color: var(--muted);
}
.pill.req {
  background: var(--red);
  color: var(--white);
}
.choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.choice {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 10px;
  border: 1.5px solid var(--edge);
  border-radius: 8px;
  font-size: 0.875rem;
  cursor: pointer;
}
.choice input {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--red);
}
.choice span {
  flex: 1;
  line-height: 1.25;
}
.choice em {
  font-style: normal;
  font-weight: 700;
  font-size: 0.8125rem;
  font-variant-numeric: tabular-nums;
}
.choice:has(input:checked) {
  border-color: var(--red);
  background: #fdf1f2;
}
.choice:has(input:focus-visible) {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}
.chooser-error {
  margin-bottom: 8px;
  color: var(--red);
  font-weight: 700;
  font-size: 0.875rem;
}

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