﻿:root {
  --boba-green: #00a66c;
  --boba-green-deep: #007a4d;
  --caffeine-yellow: #f6cf45;
  --tea-neutral: #5f5852;
  --tapioca-ink: #211914;
  --milk-surface: #ffffff;
  --photo-shadow: rgba(0, 0, 0, 0.42);
  --order-green: #007a4d;
  --order-green-bright: #00985f;
  --order-green-soft: #e5f6ef;
  --order-green-mist: #def4eb;
  --order-ink: #211914;
  --order-ink-soft: #3d3834;
  --order-muted: #5f5852;
  --order-muted-light: #77716c;
  --order-rule: #d9d5d0;
  --order-rule-soft: #e5e2de;
  --order-rule-light: #efebe7;
  --order-page: #fbfbfa;
  --order-surface: #ffffff;
  --order-surface-warm: #fffaf4;
  --order-warning: #f6cf45;
  --order-danger: #c91f49;
  --order-shadow: rgba(21, 17, 14, 0.08);
  --order-panel-shadow: rgba(21, 17, 14, 0.06);
  --order-disabled-bg: #d8dedb;
  --order-disabled-text: #26312c;
  --site-bg: #0f0d0b;
  color: var(--milk-surface);
  font-family: Aptos, "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  background: var(--site-bg);
  /* Token registry for legacy artwork, overlays, and one-off UI accents. */
  --order-green-focus-soft: rgba(0, 122, 77, 0.24);
  --order-green-border-soft: rgba(0, 152, 95, 0.22);
  --order-green-outline-soft: rgba(0, 152, 95, 0.18);
  --order-danger-border: rgba(201, 31, 73, 0.34);
  --tone-6d655f: #6d655f;
  --tone-777a80: #777a80;
  --tone-8a8580: #8a8580;
  --tone-b57b3c: #b57b3c;
  --tone-c9f0f5: #c9f0f5;
  --tone-d6a56b: #d6a56b;
  --tone-d6e4dd: #d6e4dd;
  --tone-d7b7e8: #d7b7e8;
  --tone-ef8fa8: #ef8fa8;
  --tone-f3c6d5: #f3c6d5;
  --tone-f4d39a: #f4d39a;
  --tone-f5a5b8: #f5a5b8;
  --tone-rgba-0-0-0-0-08: rgba(0, 0, 0, 0.08);
  --tone-rgba-0-0-0-0-1: rgba(0, 0, 0, 0.1);
  --tone-rgba-0-0-0-0-16: rgba(0, 0, 0, 0.16);
  --tone-rgba-0-0-0-0-18: rgba(0, 0, 0, 0.18);
  --tone-rgba-0-0-0-0-22: rgba(0, 0, 0, 0.22);
  --tone-rgba-0-0-0-0-24: rgba(0, 0, 0, 0.24);
  --tone-rgba-0-0-0-0-26: rgba(0, 0, 0, 0.26);
  --tone-rgba-0-0-0-0-28: rgba(0, 0, 0, 0.28);
  --tone-rgba-0-0-0-0-34: rgba(0, 0, 0, 0.34);
  --tone-rgba-0-0-0-0-36: rgba(0, 0, 0, 0.36);
  --tone-rgba-0-0-0-0-38: rgba(0, 0, 0, 0.38);
  --tone-rgba-0-0-0-0-45: rgba(0, 0, 0, 0.45);
  --tone-rgba-0-0-0-0-48: rgba(0, 0, 0, 0.48);
  --tone-rgba-0-0-0-0-5: rgba(0, 0, 0, 0.5);
  --tone-rgba-0-0-0-0-56: rgba(0, 0, 0, 0.56);
  --tone-rgba-0-0-0-0-62: rgba(0, 0, 0, 0.62);
  --tone-rgba-0-0-0-0-74: rgba(0, 0, 0, 0.74);
  --tone-rgba-0-0-0-0-8: rgba(0, 0, 0, 0.8);
  --tone-rgba-0-166-108-0-08: rgba(0, 166, 108, 0.08);
  --tone-rgba-16-12-9-0-62: rgba(16, 12, 9, 0.62);
  --tone-rgba-18-14-11-0-58: rgba(18, 14, 11, 0.58);
  --tone-rgba-21-17-14-0-24: rgba(21, 17, 14, 0.24);
  --tone-rgba-21-17-14-0-28: rgba(21, 17, 14, 0.28);
  --tone-rgba-255-255-255-0-14: rgba(255, 255, 255, 0.14);
  --tone-rgba-255-255-255-0-24: rgba(255, 255, 255, 0.24);
  --tone-rgba-255-255-255-0-34: rgba(255, 255, 255, 0.34);
  --tone-rgba-255-255-255-0-38: rgba(255, 255, 255, 0.38);
  --tone-rgba-255-255-255-0-72: rgba(255, 255, 255, 0.72);
  --tone-rgba-255-255-255-0-78: rgba(255, 255, 255, 0.78);
  --tone-rgba-255-255-255-0-8: rgba(255, 255, 255, 0.8);
  --tone-rgba-255-255-255-0-85: rgba(255, 255, 255, 0.85);
  --tone-rgba-255-255-255-0-86: rgba(255, 255, 255, 0.86);
  --tone-rgba-255-255-255-0-9: rgba(255, 255, 255, 0.9);
  --tone-rgba-255-255-255-0-96: rgba(255, 255, 255, 0.96);
  --tone-rgba-33-25-20-0-08: rgba(33, 25, 20, 0.08);
  --tone-rgba-33-25-20-0-12: rgba(33, 25, 20, 0.12);
  --tone-rgba-33-25-20-0-16: rgba(33, 25, 20, 0.16);
  --tone-rgba-33-25-20-0-18: rgba(33, 25, 20, 0.18);
  --tone-rgba-33-25-20-0-24: rgba(33, 25, 20, 0.24);
  --tone-rgba-33-25-20-0-26: rgba(33, 25, 20, 0.26);
  --tone-rgba-33-25-20-0-28: rgba(33, 25, 20, 0.28);
  --tone-rgba-33-25-20-0-42: rgba(33, 25, 20, 0.42);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  min-height: 100vh;
}

a {
  -webkit-tap-highlight-color: transparent;
}

.landing-page {
  min-height: 100vh;
  min-height: 100svh;
  position: relative;
  overflow: hidden;
  display: grid;
  align-items: end;
  isolation: isolate;
}

.landing-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -2;
}

.landing-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, var(--tone-rgba-0-0-0-0-1) 0%, var(--tone-rgba-0-0-0-0-18) 42%, var(--tone-rgba-0-0-0-0-74) 100%),
    linear-gradient(90deg, var(--tone-rgba-0-0-0-0-48), var(--tone-rgba-0-0-0-0-1) 54%, var(--tone-rgba-0-0-0-0-34));
  z-index: -1;
}

.landing-content {
  width: min(100%, 760px);
  padding: clamp(28px, 7vw, 72px);
  padding-bottom: max(clamp(32px, 8vw, 84px), env(safe-area-inset-bottom));
}

.office-page {
  align-items: end;
  justify-items: start;
}

.office-page .landing-content {
  width: min(100%, 680px);
  display: grid;
  justify-items: start;
  padding-top: clamp(28px, 7vw, 72px);
  padding-bottom: max(clamp(32px, 8vw, 84px), env(safe-area-inset-bottom));
  text-align: left;
}

.office-page .single-action {
  justify-self: start;
}

.event-page .landing-photo {
  object-position: center 42%;
}

.event-page .landing-shade {
  background:
    linear-gradient(180deg, var(--tone-rgba-0-0-0-0-08) 0%, var(--tone-rgba-0-0-0-0-22) 38%, var(--tone-rgba-0-0-0-0-8) 100%),
    linear-gradient(90deg, var(--tone-rgba-0-0-0-0-62), var(--tone-rgba-0-0-0-0-16) 58%, var(--tone-rgba-0-0-0-0-34));
}

.event-page h1 {
  max-width: 8.5ch;
}

.event-copy {
  max-width: 46ch;
}

.event-option-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: min(100%, 520px);
  margin-top: clamp(22px, 4.5vw, 34px);
}

.event-option {
  min-height: 74px;
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 14px 16px;
  border: 1px solid var(--tone-rgba-255-255-255-0-78);
  border-radius: 8px;
  color: var(--milk-surface);
  text-decoration: none;
  background: var(--tone-rgba-0-0-0-0-28);
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.event-option.primary {
  border-color: var(--milk-surface);
  color: var(--tapioca-ink);
  background: var(--milk-surface);
}

.event-option span {
  font-size: clamp(1.05rem, 2.8vw, 1.28rem);
  font-weight: 900;
  line-height: 1.05;
}

.event-option strong {
  color: inherit;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.01em;
  opacity: 0.82;
}

.event-option:hover {
  transform: translateY(-1px);
  background: var(--tone-rgba-0-0-0-0-38);
}

.event-option.primary:hover {
  background: var(--order-green-soft);
}

.event-option:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--boba-green), white 35%);
  outline-offset: 4px;
}

.brand-line {
  margin: 0 0 14px;
  color: var(--tone-rgba-255-255-255-0-86);
  font-size: clamp(0.88rem, 2.4vw, 1rem);
  font-weight: 850;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 16px var(--photo-shadow);
}

.back-link {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  margin: 0 0 clamp(16px, 4vw, 28px);
  color: var(--tone-rgba-255-255-255-0-86);
  font-weight: 850;
  text-decoration: none;
  text-shadow: 0 2px 14px var(--photo-shadow);
}

.back-link::before {
  content: "<";
  margin-right: 8px;
  font-size: 1.05em;
  line-height: 1;
}

h1 {
  max-width: 9.8ch;
  margin: 0;
  color: var(--milk-surface);
  font-size: clamp(3.15rem, 12vw, 6rem);
  font-weight: 900;
  line-height: 0.94;
  letter-spacing: -0.03em;
  text-wrap: balance;
  text-shadow: 0 3px 24px var(--tone-rgba-0-0-0-0-5);
}

.landing-title {
  max-width: none;
  white-space: nowrap;
  font-size: clamp(2rem, 9.6vw, 5.8rem);
}

.page-copy {
  max-width: 34ch;
  margin: 18px 0 0;
  color: var(--tone-rgba-255-255-255-0-9);
  font-size: clamp(1rem, 3vw, 1.18rem);
  font-weight: 650;
  line-height: 1.35;
  text-shadow: 0 2px 16px var(--photo-shadow);
}

.landing-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: min(100%, 520px);
  margin-top: clamp(26px, 5vw, 38px);
}

.three-actions {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(100%, 720px);
}

.single-action {
  grid-template-columns: minmax(0, 1fr);
  width: min(100%, 320px);
}

.landing-button {
  min-height: 58px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  text-decoration: none;
  font-size: 1.18rem;
  font-weight: 900;
  line-height: 1.05;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.landing-button.primary {
  background: var(--milk-surface);
  color: var(--tapioca-ink);
}

.landing-button.secondary {
  background: var(--tone-rgba-255-255-255-0-14);
  border: 1px solid var(--tone-rgba-255-255-255-0-8);
  color: var(--milk-surface);
}

.landing-button:hover {
  transform: translateY(-1px);
}

.landing-button:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--boba-green), white 35%);
  outline-offset: 4px;
}

@media (max-width: 430px) {
  .landing-content {
    padding-inline: 22px;
  }

  .event-option-row {
    grid-template-columns: 1fr;
    width: min(100%, 340px);
  }

  .event-option {
    min-height: 62px;
    padding: 12px 13px;
  }

  .landing-actions {
    gap: 10px;
  }

  .three-actions {
    grid-template-columns: 1fr;
    width: min(100%, 340px);
  }

  .landing-button {
    min-height: 56px;
    padding-inline: 10px;
    font-size: 1.08rem;
  }
}

@media (min-width: 720px) {
  .landing-button {
    min-height: 64px;
    font-size: 1.28rem;
  }
}

@media (max-width: 340px) {
  .landing-actions,
  .three-actions {
    grid-template-columns: 1fr;
  }
}

.fundraiser-body {
  color: var(--tapioca-ink);
  background:
    linear-gradient(180deg, #fff8ec 0%, #ffffff 28%, #f4fff9 100%);
  font-family: Aptos, "Avenir Next", "Helvetica Neue", Arial, sans-serif;
}

.fundraiser-page {
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(246, 207, 69, 0.22), transparent 34rem),
    radial-gradient(circle at 10% 38rem, rgba(239, 143, 168, 0.2), transparent 30rem),
    linear-gradient(180deg, #fff8ec 0%, #ffffff 34%, #f4fff9 100%);
}

.fundraiser-hero {
  min-height: 86vh;
  min-height: 86svh;
  position: relative;
  overflow: hidden;
  display: grid;
  align-items: center;
  isolation: isolate;
}

.fundraiser-hero .landing-shade {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.16) 38%, rgba(0, 0, 0, 0.64) 100%),
    linear-gradient(90deg, rgba(15, 11, 8, 0.68), rgba(15, 11, 8, 0.18) 58%, rgba(15, 11, 8, 0.44));
}

.fundraiser-hero-content {
  width: min(100% - 34px, 1180px);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(230px, 360px);
  gap: clamp(18px, 5vw, 72px);
  align-items: center;
  margin-inline: auto;
  padding: clamp(28px, 7vw, 72px);
  padding-inline: 0;
  padding-bottom: max(clamp(30px, 6vw, 70px), env(safe-area-inset-bottom));
}

.fundraiser-hero-copy {
  display: grid;
  justify-items: start;
  align-content: end;
}

.fundraiser-hero h1 {
  max-width: 11ch;
  margin-top: clamp(8px, 2vw, 18px);
  font-size: clamp(3rem, 8.2vw, 6.9rem);
  line-height: 0.9;
  letter-spacing: 0;
  text-wrap: balance;
}

.fundraiser-copy {
  max-width: 50ch;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.02rem, 2vw, 1.3rem);
  line-height: 1.42;
}

.fundraiser-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: min(100%, 540px);
  margin-top: clamp(26px, 5vw, 38px);
}

.fundraiser-ticket {
  position: relative;
  display: grid;
  gap: 8px;
  align-self: center;
  justify-self: end;
  width: min(100%, 330px);
  padding: clamp(20px, 4vw, 30px);
  border: 3px solid rgba(33, 25, 20, 0.2);
  border-radius: 18px;
  color: var(--tapioca-ink);
  background:
    linear-gradient(135deg, #fff3a3 0%, var(--caffeine-yellow) 58%, #ffd45f 100%);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.34);
  transform: none;
}

.fundraiser-ticket::before,
.fundraiser-ticket::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 18px;
  height: 34px;
  border-radius: 999px;
  background: rgba(15, 11, 8, 0.22);
  transform: translateY(-50%);
}

.fundraiser-ticket::before {
  left: -11px;
}

.fundraiser-ticket::after {
  right: -11px;
}

.fundraiser-ticket span {
  font-size: 0.9rem;
  font-weight: 950;
  text-transform: uppercase;
}

.fundraiser-ticket strong {
  font-size: clamp(4.8rem, 10vw, 7.2rem);
  font-weight: 950;
  line-height: 0.82;
  letter-spacing: 0;
}

.fundraiser-ticket p {
  max-width: 18rem;
  margin: 0;
  color: rgba(33, 25, 20, 0.82);
  font-size: 1rem;
  font-weight: 850;
  line-height: 1.32;
}

.fundraiser-program,
.fundraiser-fit,
.fundraiser-details,
.fundraiser-calendar-section,
.fundraiser-cta {
  width: min(100% - 34px, 1160px);
  margin-inline: auto;
}

.fundraiser-program {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 0.82fr);
  gap: clamp(24px, 5vw, 64px);
  padding: clamp(48px, 8vw, 100px) 0 clamp(32px, 5vw, 58px);
  align-items: center;
}

.fundraiser-program-intro {
  display: grid;
  gap: 16px;
}

.fundraiser-kicker {
  margin: 0;
  color: var(--boba-green-deep);
  font-size: 0.84rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.fundraiser-program h2,
.fundraiser-fit h2,
.fundraiser-detail h2,
.fundraiser-calendar-intro h2,
.fundraiser-cta h2 {
  margin: 0;
  color: var(--tapioca-ink);
  font-size: clamp(2.15rem, 5vw, 3.7rem);
  font-weight: 950;
  line-height: 0.96;
  letter-spacing: 0;
  text-wrap: balance;
}

.fundraiser-program p,
.fundraiser-fit li,
.fundraiser-detail p,
.fundraiser-calendar-intro p {
  color: var(--tea-neutral);
  font-size: clamp(1rem, 1.8vw, 1.12rem);
  font-weight: 700;
  line-height: 1.48;
}

.fundraiser-program p {
  max-width: 60ch;
  margin: 0;
}

.fundraiser-photo-stack {
  position: relative;
  min-height: clamp(360px, 45vw, 520px);
}

.fundraiser-photo-stack img {
  position: absolute;
  width: clamp(168px, 24vw, 300px);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 8px solid #ffffff;
  border-radius: 18px;
  box-shadow: 0 22px 54px rgba(33, 25, 20, 0.22);
}

.fundraiser-photo-stack img:nth-child(1) {
  left: 0;
  top: 8%;
  z-index: 2;
  transform: rotate(-7deg);
}

.fundraiser-photo-stack img:nth-child(2) {
  right: 2%;
  top: 0;
  z-index: 3;
  transform: rotate(5deg);
}

.fundraiser-photo-stack img:nth-child(3) {
  left: 22%;
  bottom: 0;
  z-index: 1;
  transform: rotate(2deg);
}

.fundraiser-steps {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: clamp(10px, 4vw, 32px);
}

.fundraiser-steps article,
.fundraiser-detail {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 100%;
  padding: 18px;
  border: 1px solid rgba(0, 122, 77, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 34px rgba(33, 25, 20, 0.06);
}

.fundraiser-steps span {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: 12px;
  color: var(--tapioca-ink);
  background: var(--caffeine-yellow);
  font-weight: 950;
  box-shadow: inset 0 -3px 0 rgba(33, 25, 20, 0.12);
}

.fundraiser-steps h3 {
  margin: 0;
  color: var(--tapioca-ink);
  font-size: 1.1rem;
  font-weight: 950;
  line-height: 1.08;
}

.fundraiser-steps p,
.fundraiser-detail p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.42;
}

.fundraiser-fit {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 44px);
  padding: clamp(28px, 5vw, 66px) 0;
  align-items: start;
}

.fundraiser-fit ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.fundraiser-fit li {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 14px;
  border: 1px solid rgba(0, 122, 77, 0.16);
  border-radius: 8px;
  background: #ffffff;
  color: var(--boba-green-deep);
  box-shadow: 0 10px 22px rgba(33, 25, 20, 0.04);
}

.fundraiser-fit li::before {
  content: "";
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--caffeine-yellow);
  box-shadow: 0 0 0 5px rgba(246, 207, 69, 0.24);
}

.fundraiser-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: clamp(18px, 4vw, 44px) 0;
}

.fundraiser-detail h2 {
  font-size: clamp(1.35rem, 3vw, 1.85rem);
}

.fundraiser-calendar-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(300px, 0.92fr) minmax(280px, 0.74fr);
  gap: clamp(16px, 3vw, 28px);
  align-items: start;
  padding: clamp(28px, 5vw, 62px) 0 clamp(46px, 7vw, 92px);
}

.fundraiser-calendar-intro {
  display: grid;
  gap: 14px;
  padding-top: 6px;
}

.fundraiser-calendar-intro p {
  margin: 0;
}

.fundraiser-calendar-panel,
.fundraiser-date-form {
  padding: clamp(16px, 3vw, 22px);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(33, 25, 20, 0.08);
}

.fundraiser-calendar-toolbar {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  gap: 10px;
  align-items: center;
  margin-bottom: 14px;
}

.fundraiser-calendar-toolbar h3,
.fundraiser-selected-dates h3 {
  margin: 0;
  color: var(--tapioca-ink);
  font-size: 1.16rem;
  font-weight: 950;
  line-height: 1.1;
  text-align: center;
}

.fundraiser-calendar-nav {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  color: var(--milk-surface);
  background: var(--boba-green);
  font-size: 1.18rem;
  font-weight: 950;
  cursor: pointer;
}

.fundraiser-calendar-weekdays,
.fundraiser-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}

.fundraiser-calendar-weekdays {
  margin-bottom: 7px;
}

.fundraiser-calendar-weekdays span {
  color: var(--order-muted);
  font-size: 0.75rem;
  font-weight: 950;
  text-align: center;
}

.fundraiser-calendar-spacer {
  min-height: 42px;
}

.fundraiser-calendar-day {
  min-height: 42px;
  border: 1px solid rgba(0, 122, 77, 0.18);
  border-radius: 8px;
  color: var(--tapioca-ink);
  background: #ffffff;
  font-size: 0.95rem;
  font-weight: 950;
  cursor: pointer;
}

.fundraiser-calendar-day:hover:not(:disabled),
.fundraiser-calendar-day:focus-visible {
  border-color: var(--boba-green);
  outline: 3px solid rgba(0, 166, 108, 0.18);
}

.fundraiser-calendar-day.is-selected {
  border-color: var(--boba-green);
  color: var(--milk-surface);
  background: var(--boba-green);
}

.fundraiser-calendar-day:disabled {
  color: rgba(33, 25, 20, 0.32);
  background: rgba(33, 25, 20, 0.05);
  cursor: not-allowed;
}

.fundraiser-calendar-status {
  min-height: 2.6em;
  margin: 14px 0 0;
  color: var(--boba-green-deep);
  font-size: 0.92rem;
  font-weight: 850;
  line-height: 1.3;
}

.fundraiser-date-form {
  display: grid;
  gap: 12px;
}

.fundraiser-date-form label {
  display: grid;
  gap: 6px;
  color: var(--tapioca-ink);
  font-size: 0.86rem;
  font-weight: 950;
}

.fundraiser-date-form input,
.fundraiser-date-form textarea {
  width: 100%;
  border: 1px solid rgba(33, 25, 20, 0.18);
  border-radius: 8px;
  padding: 11px 12px;
  color: var(--tapioca-ink);
  background: #fffdf9;
  font: inherit;
  font-weight: 750;
}

.fundraiser-date-form input:focus,
.fundraiser-date-form textarea:focus {
  border-color: var(--boba-green);
  outline: 3px solid rgba(0, 166, 108, 0.16);
}

.fundraiser-selected-dates {
  display: grid;
  gap: 8px;
  padding: 12px;
  border-radius: 8px;
  background: rgba(246, 207, 69, 0.18);
}

.fundraiser-selected-dates h3 {
  text-align: left;
}

.fundraiser-selected-dates ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fundraiser-selected-dates li {
  color: var(--tapioca-ink);
  font-size: 0.92rem;
  font-weight: 850;
  line-height: 1.28;
}

.fundraiser-lock-button {
  width: 100%;
  margin-top: 4px;
}

.fundraiser-date-form .fundraiser-lock-button:not(:disabled) {
  color: var(--tapioca-ink);
  background: var(--caffeine-yellow);
  box-shadow: inset 0 -3px 0 rgba(33, 25, 20, 0.16);
}

.fundraiser-lock-button:disabled {
  color: rgba(33, 25, 20, 0.5);
  background: rgba(33, 25, 20, 0.14);
  cursor: not-allowed;
  box-shadow: none;
}

.fundraiser-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 340px);
  gap: 22px;
  align-items: center;
  margin-top: clamp(18px, 4vw, 38px);
  margin-bottom: clamp(38px, 7vw, 82px);
  padding: clamp(24px, 5vw, 42px);
  border-radius: 24px;
  background:
    linear-gradient(135deg, var(--boba-green), var(--order-green) 62%, #174333);
  box-shadow: 0 24px 56px rgba(0, 122, 77, 0.2);
}

.fundraiser-cta h2 {
  color: var(--milk-surface);
}

.fundraiser-cta .fundraiser-kicker {
  color: var(--caffeine-yellow);
}

.fundraiser-cta .landing-button.primary {
  min-height: 64px;
  color: var(--tapioca-ink);
  background: var(--caffeine-yellow);
}

@media (max-width: 820px) {
  .fundraiser-hero-content,
  .fundraiser-program,
  .fundraiser-fit,
  .fundraiser-calendar-section,
  .fundraiser-cta {
    grid-template-columns: 1fr;
  }

  .fundraiser-ticket {
    justify-self: start;
    transform: none;
  }

  .fundraiser-photo-stack {
    min-height: 420px;
  }

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

@media (max-width: 560px) {
  .fundraiser-hero {
    min-height: 90svh;
  }

  .fundraiser-hero-content {
    width: min(100% - 28px, 1120px);
  }

  .fundraiser-ticket {
    width: min(100%, 290px);
  }

  .fundraiser-actions,
  .fundraiser-fit ul,
  .fundraiser-steps,
  .fundraiser-details {
    grid-template-columns: 1fr;
  }

  .fundraiser-photo-stack {
    min-height: 340px;
  }

  .fundraiser-photo-stack img {
    width: clamp(140px, 48vw, 210px);
    border-width: 6px;
  }

  .fundraiser-photo-stack img:nth-child(2) {
    right: 0;
  }

  .fundraiser-program,
  .fundraiser-fit,
  .fundraiser-calendar-section,
  .fundraiser-details {
    width: min(100% - 28px, 1120px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

.order-body {
  min-height: 100vh;
  color: var(--tapioca-ink);
  background: var(--order-page);
}

.order-shell {
  width: min(100%, 620px);
  min-height: 100vh;
  margin: 0 auto;
  overflow: hidden;
  background: var(--order-page);
  border-top: 6px solid var(--order-green);
  box-shadow: 0 0 34px var(--tone-rgba-0-0-0-0-16);
}

.order-body[data-order-platform="tablet"] .order-shell {
  width: min(100%, 820px);
}

.order-body[data-order-platform="desktop"] .order-shell {
  width: min(100% - 32px, 1120px);
}

.order-topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  align-items: center;
  min-height: 58px;
  padding: 0 12px;
  background: linear-gradient(180deg, var(--order-green-bright), var(--order-green));
  color: var(--order-surface);
}

.order-topbar p {
  margin: 0;
  text-align: center;
  font-size: 1.12rem;
  font-weight: 850;
}

.order-menu-button,
.order-bag {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 8px;
  display: inline-grid;
  place-items: center;
  color: var(--order-surface);
  background: transparent;
  text-decoration: none;
  font: inherit;
  font-size: 1.7rem;
  font-weight: 800;
}

.order-bag {
  position: relative;
  font-size: 1.1rem;
  justify-self: end;
}

.order-bag strong {
  position: absolute;
  top: 1px;
  right: 0;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: var(--order-green);
  background: var(--order-warning);
  font-size: 0.68rem;
  line-height: 1;
}

.order-hero {
  min-height: 148px;
  padding: 28px 34px 22px;
  background:
    radial-gradient(circle at 80% 35%, var(--tone-rgba-0-166-108-0-08), transparent 34%),
    linear-gradient(180deg, var(--order-surface-warm), var(--order-surface));
}

.order-hero h1 {
  max-width: 12ch;
  color: var(--tapioca-ink);
  font-size: clamp(2.25rem, 8.4vw, 3.65rem);
  line-height: 0.95;
  text-shadow: none;
}

.group-order-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px 14px;
  align-items: center;
  padding: 12px 14px;
  background: var(--order-surface);
  border-block: 1px solid var(--order-rule-soft);
}

.group-order-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.group-order-copy strong {
  color: var(--order-ink);
  font-size: 0.94rem;
  line-height: 1.1;
}

.group-order-copy span {
  color: var(--order-muted);
  font-size: 0.74rem;
  font-weight: 650;
  line-height: 1.25;
}

.group-order-copy span.error {
  color: var(--order-danger);
}

.group-order-controls,
.join-group-order,
.group-order-share {
  display: flex;
  align-items: center;
  gap: 8px;
}

.group-order-controls button,
.group-order-share button,
.join-group-order button {
  min-height: 38px;
  border: 0;
  border-radius: 8px;
  padding: 0 12px;
  color: var(--order-surface);
  background: var(--order-green-bright);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 900;
  white-space: nowrap;
}

.join-group-order input,
.group-order-share input {
  width: 118px;
  min-height: 38px;
  border: 1px solid var(--order-rule);
  border-radius: 8px;
  padding: 0 10px;
  color: var(--order-ink);
  background: var(--order-surface);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 760;
}

.group-order-share {
  grid-column: 1 / -1;
}

.group-order-share[hidden] {
  display: none;
}

.group-order-share input {
  flex: 1;
  width: auto;
  min-width: 0;
}

.order-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  gap: 12px;
  padding: 18px 42px 14px;
  color: var(--order-muted);
  background: var(--order-surface);
  border-bottom: 1px solid var(--order-rule-soft);
}

.order-steps span {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  font-weight: 850;
  white-space: nowrap;
}

.order-steps span:not(:last-child)::after {
  content: "";
  position: absolute;
  left: calc(100% + 8px);
  right: -4px;
  top: 50%;
  height: 1px;
  background: var(--order-rule-soft);
}

.order-steps strong {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: var(--order-surface);
  background: var(--tone-777a80);
  font-size: 0.9rem;
}

.order-steps .active {
  color: var(--order-green);
}

.order-steps .active strong {
  background: var(--order-green-bright);
}

.category-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(82px, 1fr));
  gap: 0;
  overflow-x: auto;
  padding: 10px 14px 0;
  background: var(--order-surface);
  border-bottom: 1px solid var(--order-rule-soft);
}

.category-tabs button {
  min-height: 52px;
  border: 0;
  border-bottom: 3px solid transparent;
  display: grid;
  place-items: center;
  color: var(--order-ink-soft);
  background: transparent;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 760;
  white-space: nowrap;
}

.category-tabs button.active {
  color: var(--order-green);
  border-color: var(--boba-green);
}

.builder-grid {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 14px;
  padding: 14px;
  background: var(--order-page);
}

.order-body[data-order-platform="tablet"] .builder-grid {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
}

.order-body[data-order-platform="desktop"] .builder-grid {
  grid-template-columns: minmax(0, 1fr) 390px;
  align-items: start;
}

.order-body[data-order-platform="desktop"] .order-hero {
  min-height: 112px;
  padding: 24px 34px 18px;
}

.order-body[data-order-platform="desktop"] .order-hero h1 {
  max-width: none;
  font-size: 3rem;
}

.order-body[data-order-platform="desktop"] .customizer-card {
  position: sticky;
  top: 72px;
}

.drink-list {
  display: grid;
  gap: 8px;
}

.drink-list.empty-list {
  grid-template-columns: 1fr;
}

.empty-menu-state {
  min-height: 116px;
  border: 1px dashed var(--order-rule);
  border-radius: 10px;
  display: grid;
  place-content: center;
  gap: 5px;
  padding: 18px;
  color: var(--order-ink);
  background: var(--order-surface);
  text-align: center;
}

.empty-menu-state strong {
  font-size: 0.98rem;
  line-height: 1.15;
}

.empty-menu-state span {
  color: var(--order-muted);
  font-size: 0.82rem;
  font-weight: 650;
}

.order-body[data-order-platform="tablet"] .drink-list.compact-grid,
.order-body[data-order-platform="desktop"] .drink-list.compact-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.order-body[data-order-platform="tablet"] .drink-list.compact-grid .drink-card,
.order-body[data-order-platform="desktop"] .drink-list.compact-grid .drink-card {
  min-height: 78px;
  grid-template-columns: 42px 1fr;
  gap: 8px;
  padding: 8px;
}

.order-body[data-order-platform="tablet"] .drink-list.compact-grid .drink-illustration,
.order-body[data-order-platform="desktop"] .drink-list.compact-grid .drink-illustration {
  width: 36px;
  height: 48px;
}

.order-body[data-order-platform="tablet"] .drink-list.compact-grid .drink-card span,
.order-body[data-order-platform="desktop"] .drink-list.compact-grid .drink-card span {
  font-size: 0.74rem;
  line-height: 1.08;
}

.drink-card {
  min-height: 74px;
  border: 1px solid var(--order-rule-light);
  border-radius: 8px;
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  color: var(--order-ink);
  background: var(--order-surface);
  font: inherit;
  text-align: left;
}

.drink-card.active {
  border-color: var(--order-green-bright);
  box-shadow: inset 0 0 0 1px var(--order-green-bright);
}

.drink-card span {
  font-size: 0.9rem;
  font-weight: 850;
  line-height: 1.15;
}

.drink-illustration {
  width: 42px;
  height: 56px;
  display: block;
  overflow: visible;
}

.cup-lid {
  fill: var(--tone-rgba-255-255-255-0-78);
  stroke: var(--tone-rgba-33-25-20-0-26);
  stroke-width: 1.2;
}

.cup-body {
  opacity: 0.96;
}

.cup-shine {
  fill: var(--tone-rgba-255-255-255-0-34);
}

.pearl {
  fill: var(--order-ink);
}

.cup-outline {
  fill: none;
  stroke: var(--tone-rgba-33-25-20-0-28);
  stroke-width: 1.4;
}

.customizer-card,
.order-summary {
  border: 1px solid var(--order-rule);
  border-radius: 10px;
  background: var(--order-surface);
  box-shadow: 0 3px 10px var(--order-panel-shadow);
}

.customizer-card {
  padding: 18px 16px;
}

.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.panel-heading h2 {
  margin: 0;
  color: var(--order-green);
  font-size: 1rem;
  line-height: 1.15;
}

.panel-heading span {
  color: var(--order-ink);
  font-weight: 900;
}

.field {
  position: relative;
  display: grid;
  gap: 6px;
  margin: 0 0 14px;
  color: var(--order-muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--order-rule);
  border-radius: 8px;
  color: var(--order-ink);
  background: var(--order-surface);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 650;
}

.field input,
.field select {
  min-height: 44px;
  padding: 0 12px;
}

.field textarea {
  min-height: 58px;
  resize: vertical;
  padding: 12px;
}

.field small {
  justify-self: end;
  color: var(--tone-8a8580);
  font-size: 0.7rem;
}

.choice-group {
  min-width: 0;
  margin: 0 0 14px;
  padding: 0;
  border: 0;
}

.choice-group legend {
  margin-bottom: 8px;
  color: var(--order-muted);
  font-size: 0.82rem;
  font-weight: 760;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip-row button,
.quantity-row button {
  min-height: 32px;
  border: 1px solid var(--order-rule);
  border-radius: 999px;
  padding: 0 14px;
  color: var(--order-ink-soft);
  background: var(--order-surface);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 760;
}

.chip-row button.active {
  border-color: var(--order-green-bright);
  color: var(--order-surface);
  background: var(--order-green-bright);
}

.chip-row button span {
  margin-left: 8px;
}

.topping-quantity-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
  padding: 8px;
  border: 1px solid var(--order-rule);
  border-radius: 10px;
  background: var(--order-page);
}

.topping-quantity-menu[hidden] {
  display: none;
}

.topping-quantity-menu button {
  min-height: 34px;
  border: 1px solid var(--order-rule);
  border-radius: 999px;
  padding: 0 12px;
  color: var(--order-ink);
  background: var(--order-surface);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 850;
}

.topping-quantity-menu button.active {
  border-color: var(--order-ink);
  color: var(--order-surface);
  background: var(--order-ink);
}

.topping-quantity-menu .topping-cancel {
  border-color: transparent;
  color: var(--tone-6d655f);
  background: transparent;
}

.topping-quantity-menu span {
  margin-left: 5px;
  color: inherit;
  opacity: 0.72;
}

.quantity-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.quantity-row button {
  width: 34px;
  padding: 0;
  border-radius: 8px;
  color: var(--order-green);
  font-size: 1.1rem;
}

.quantity-row input {
  width: 66px;
  min-height: 36px;
  border: 1px solid var(--order-rule);
  border-radius: 8px;
  color: var(--order-ink);
  text-align: center;
  font: inherit;
  font-weight: 850;
}

.quantity-row span {
  color: var(--order-muted);
  font-size: 0.82rem;
  font-weight: 760;
}

.add-drink-button {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--order-green-bright);
  border-radius: 8px;
  color: var(--order-green);
  background: var(--order-surface);
  font: inherit;
  font-size: 0.94rem;
  font-weight: 900;
}

.order-summary {
  margin: 0 14px 86px;
  padding: 14px;
}

.order-summary .panel-heading {
  margin-bottom: 8px;
}

.order-summary .panel-heading h2 {
  color: var(--order-ink);
}

.summary-list {
  display: grid;
}

.summary-item {
  display: grid;
  grid-template-columns: 22px 44px minmax(0, 1fr) 38px 38px;
  gap: 8px;
  align-items: center;
  min-height: 66px;
  padding: 8px 0;
  border-top: 1px solid var(--order-rule-light);
}

.summary-item:first-child {
  border-top: 0;
}

.summary-item .drink-illustration {
  width: 34px;
  height: 48px;
}

.summary-item strong,
.summary-item span,
.summary-item small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.summary-item strong {
  color: var(--order-ink);
  font-size: 0.9rem;
  line-height: 1.15;
}

.summary-item span {
  color: var(--order-ink-soft);
  font-size: 0.73rem;
  font-weight: 760;
}

.summary-item small {
  color: var(--order-muted-light);
  font-size: 0.68rem;
  font-weight: 650;
}

.summary-item .summary-price {
  color: var(--order-green);
}

.icon-button {
  border: 0;
  background: transparent;
  font: inherit;
}

.icon-button {
  width: 34px;
  height: 34px;
  border: 1px solid var(--order-rule);
  border-radius: 999px;
  color: var(--order-ink-soft);
}

.icon-button.danger {
  color: var(--order-danger);
}

.review-bar {
  position: sticky;
  bottom: 0;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) minmax(150px, 220px);
  gap: 12px;
  align-items: center;
  padding: 12px 18px max(12px, env(safe-area-inset-bottom));
  background: var(--tone-rgba-255-255-255-0-96);
  border-top: 1px solid var(--order-rule-soft);
  box-shadow: 0 -8px 22px var(--order-shadow);
}

.review-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--order-green);
  background: var(--order-green-mist);
  font-weight: 900;
}

.review-bar strong,
.review-bar span {
  display: block;
}

.review-bar strong {
  color: var(--order-ink);
  font-size: 0.96rem;
}

.review-bar span {
  color: var(--order-muted-light);
  font-size: 0.8rem;
  font-weight: 650;
}

.review-bar button {
  min-height: 46px;
  border: 0;
  border-radius: 8px;
  color: var(--order-surface);
  background: var(--order-green-bright);
  font: inherit;
  font-weight: 900;
}

.review-bar button:disabled,
.primary-action:disabled,
.group-order-controls button:disabled {
  cursor: not-allowed;
  background: var(--order-disabled-bg);
}

.review-dialog {
  width: min(100% - 28px, 580px);
  max-height: min(86vh, 760px);
  border: 0;
  border-radius: 12px;
  padding: 0;
  overflow: hidden;
  color: var(--order-ink);
  background: var(--order-surface);
  box-shadow: 0 18px 44px var(--tone-rgba-21-17-14-0-24);
}

.review-dialog::backdrop {
  background: var(--tone-rgba-18-14-11-0-58);
}

.creator-name-dialog {
  width: min(100% - 32px, 430px);
  border: 0;
  border-radius: 12px;
  padding: 0;
  overflow: hidden;
  color: var(--order-ink);
  background: var(--order-surface);
  box-shadow: 0 18px 44px var(--tone-rgba-21-17-14-0-24);
}

.creator-name-dialog::backdrop {
  background: var(--tone-rgba-18-14-11-0-58);
}

.creator-name-card {
  display: grid;
  gap: 16px;
  padding: 18px;
}

.creator-name-card header {
  display: grid;
  gap: 4px;
}

.creator-name-card p,
.creator-name-card h2 {
  margin: 0;
}

.creator-name-card header p {
  color: var(--order-green);
  font-size: 0.78rem;
  font-weight: 850;
}

.creator-name-card h2 {
  font-size: 1.25rem;
  line-height: 1.15;
}

.creator-name-card label {
  display: grid;
  gap: 7px;
}

.creator-name-card label span {
  color: var(--order-ink-soft);
  font-size: 0.82rem;
  font-weight: 850;
}

.creator-name-card input {
  min-height: 46px;
  border: 1px solid var(--order-rule);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--order-ink);
  background: var(--order-surface);
  font: inherit;
  font-weight: 760;
}

.creator-name-card input:focus {
  border-color: var(--order-green);
  outline: 3px solid var(--order-green-focus-soft);
}

.creator-name-card input[aria-invalid="true"] {
  border-color: var(--order-danger);
}

.creator-name-error {
  color: var(--order-danger);
  font-size: 0.82rem;
  font-weight: 850;
}

.creator-name-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.creator-name-actions button {
  min-height: 44px;
}

.review-dialog-shell {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  max-height: min(86vh, 760px);
}

.review-dialog-header,
.review-dialog-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  background: var(--order-surface);
}

.review-dialog-header {
  border-bottom: 1px solid var(--order-rule-soft);
}

.review-dialog-header p,
.review-dialog-header h2 {
  margin: 0;
}

.review-dialog-header p {
  color: var(--order-green);
  font-size: 0.78rem;
  font-weight: 850;
}

.review-dialog-header h2 {
  font-size: 1.18rem;
  line-height: 1.15;
}

.review-close-button {
  width: 38px;
  height: 38px;
  border: 1px solid var(--order-rule);
  border-radius: 999px;
  color: var(--order-ink);
  background: var(--order-surface);
  font: inherit;
  font-size: 1.45rem;
  line-height: 1;
}

.review-dialog-body {
  min-height: 0;
  overflow-y: auto;
  padding: 10px 18px 18px;
  overscroll-behavior: contain;
}

.review-dialog-list {
  display: grid;
}

.review-dialog-item {
  display: grid;
  grid-template-columns: 28px 42px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--order-rule-light);
}

.review-dialog-item .drink-illustration {
  width: 36px;
  height: 48px;
}

.review-item-index {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: var(--order-green);
  background: var(--order-green-mist);
  font-size: 0.78rem;
  font-weight: 900;
}

.review-dialog-item strong,
.review-dialog-item span,
.review-dialog-item small {
  display: block;
}

.review-dialog-item strong {
  color: var(--order-ink);
  font-size: 0.94rem;
  line-height: 1.15;
}

.review-dialog-item span {
  margin-top: 2px;
  color: var(--order-ink-soft);
  font-size: 0.78rem;
  font-weight: 760;
}

.review-dialog-item small {
  margin-top: 3px;
  color: var(--order-muted);
  font-size: 0.72rem;
  font-weight: 650;
  line-height: 1.25;
}

.review-item-notes {
  color: var(--order-ink-soft);
}

.review-item-price {
  color: var(--order-green);
}

.review-empty-state {
  display: grid;
  gap: 4px;
  padding: 24px 0;
  text-align: center;
}

.review-empty-state strong {
  font-size: 1rem;
}

.review-empty-state span {
  color: var(--order-muted);
  font-size: 0.86rem;
  font-weight: 650;
}

.review-total-card {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid var(--order-rule);
  border-radius: 10px;
  background: var(--order-page);
}

.review-total-card > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}

.review-total-card span {
  color: var(--order-muted);
  font-size: 0.8rem;
  font-weight: 760;
}

.review-total-card strong {
  color: var(--order-ink);
  font-size: 0.94rem;
  font-weight: 900;
  text-align: right;
}

.review-total-card .pricing-pending {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 14px;
  padding-top: 10px;
  border-top: 1px solid var(--order-rule-soft);
}

.pricing-pending small {
  grid-column: 1 / -1;
  color: var(--order-muted);
  font-size: 0.74rem;
  font-weight: 650;
  line-height: 1.35;
}

.review-dialog-actions {
  border-top: 1px solid var(--order-rule-soft);
}

.secondary-action,
.primary-action {
  min-height: 46px;
  border-radius: 8px;
  padding: 0 16px;
  font: inherit;
  font-weight: 900;
  text-decoration: none;
}

.secondary-action {
  border: 1px solid var(--order-rule);
  color: var(--order-ink);
  background: var(--order-surface);
}

.primary-action {
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--order-surface);
  background: var(--order-green-bright);
}

.final-details-page {
  align-items: center;
  justify-items: center;
  padding: max(18px, env(safe-area-inset-top)) 18px max(18px, env(safe-area-inset-bottom));
}

.final-details-page .landing-shade {
  background:
    linear-gradient(180deg, var(--tone-rgba-0-0-0-0-24), var(--tone-rgba-0-0-0-0-56)),
    linear-gradient(90deg, var(--tone-rgba-0-0-0-0-45), var(--tone-rgba-0-0-0-0-16));
}

.final-details-modal {
  width: min(100%, 720px);
  max-height: 75vh;
  max-height: 75svh;
  overflow: auto;
  padding: clamp(20px, 4vw, 34px);
  color: var(--order-ink);
  background: var(--order-surface);
  border-radius: 14px;
  box-shadow: 0 10px 28px var(--tone-rgba-0-0-0-0-26);
}

.final-back-link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin-bottom: 12px;
  color: var(--order-ink);
  font-size: 0.92rem;
  font-weight: 900;
  text-decoration: none;
}

.final-back-link::before {
  content: "<";
  margin-right: 8px;
  line-height: 1;
}

.final-details-heading {
  display: grid;
  gap: 6px;
  margin-bottom: 18px;
}

.final-details-heading p,
.final-details-heading h1 {
  margin: 0;
  color: var(--order-ink);
  text-shadow: none;
}

.final-details-heading p {
  color: var(--order-green);
  font-size: 0.86rem;
  font-weight: 900;
}

.final-details-heading h1 {
  max-width: none;
  font-size: clamp(2rem, 6vw, 3.4rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.final-heli-lane {
  position: relative;
  height: 42px;
  margin: -4px 0 8px;
  overflow: hidden;
  pointer-events: none;
}

.final-heli-craft {
  --final-heli-x: 0px;
  --final-heli-y: 0px;
  --final-heli-turn: 0deg;
  --final-heli-scale: 0.34;
  position: absolute;
  left: 0;
  top: 4px;
  width: 58px;
  height: 30px;
  transform: translate3d(var(--final-heli-x), var(--final-heli-y), 0);
  transform-origin: center;
  will-change: transform;
}

.final-heli-turn {
  position: absolute;
  inset: 0;
  transform: rotateY(var(--final-heli-turn, 0deg));
  transform-origin: center;
  transform-style: preserve-3d;
  transition: transform 760ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.final-heli-mini.pad-helicopter {
  left: 50%;
  bottom: auto;
  top: 0;
  animation: final-heli-bob 1500ms cubic-bezier(0.45, 0, 0.55, 1) infinite;
  transform: translateX(-50%) scale(var(--final-heli-scale));
  transform-origin: center top;
}

.final-heli-mini .heli-rotor,
.final-heli-mini .heli-tail-rotor::before {
  animation-duration: 70ms;
}

.final-details-form {
  display: grid;
  gap: 18px;
}

.fulfillment-choice {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
}

.fulfillment-choice legend {
  grid-column: 1 / -1;
  margin-bottom: 2px;
  color: var(--order-ink-soft);
  font-size: 0.88rem;
  font-weight: 900;
}

.fulfillment-choice label {
  position: relative;
  min-height: 78px;
  cursor: pointer;
}

.fulfillment-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.fulfillment-choice label > span {
  display: grid;
  align-content: center;
  height: 100%;
  gap: 4px;
  padding: 14px;
  border: 1px solid var(--order-rule);
  border-radius: 10px;
  background: var(--order-surface);
}

.fulfillment-choice strong {
  font-size: 1rem;
  font-weight: 950;
}

.fulfillment-choice small {
  color: var(--order-muted);
  font-size: 0.78rem;
  font-weight: 760;
}

.fulfillment-choice input:checked + span {
  border-color: var(--order-green-bright);
  background: var(--order-green-soft);
}

.fulfillment-choice input:focus-visible + span {
  outline: 3px solid var(--order-green-focus-soft);
  outline-offset: 2px;
}

.final-total-card {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--order-rule);
  border-radius: 10px;
  background: var(--order-page);
}

.final-total-card > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}

.final-total-card span {
  color: var(--order-muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.final-total-card strong {
  color: var(--order-ink);
  font-size: 0.96rem;
  font-weight: 950;
  text-align: right;
}

.final-total-card .final-total-row {
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid var(--order-rule-soft);
}

.final-total-row span {
  color: var(--order-ink);
}

.final-total-row strong {
  color: var(--order-green);
  font-size: 1.24rem;
}

.contact-details {
  display: grid;
  gap: 12px;
}

.contact-details label {
  display: grid;
  gap: 7px;
}

.contact-details span {
  color: var(--order-ink-soft);
  font-size: 0.84rem;
  font-weight: 900;
}

.contact-details input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--order-rule);
  border-radius: 8px;
  padding: 0 13px;
  color: var(--order-ink);
  background: var(--order-surface);
  font: inherit;
  font-weight: 800;
}

.contact-details input:focus {
  border-color: var(--order-green-bright);
  outline: 3px solid var(--order-green-outline-soft);
}

.final-submit-button {
  width: 100%;
}

.event-details-modal {
  width: min(100%, 840px);
  padding: clamp(18px, 3vw, 30px);
}

.event-details-modal .final-back-link {
  min-height: 30px;
  margin-bottom: 10px;
}

.event-details-modal .final-details-form {
  gap: 14px;
}

.event-planner-intro {
  display: grid;
  gap: 10px;
}

.event-details-modal .final-details-heading {
  gap: 4px;
  margin-bottom: 0;
}

.event-details-modal .final-details-heading h1 {
  max-width: 10ch;
  font-size: clamp(2.2rem, 5vw, 3.45rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.event-planner-lead {
  max-width: 60ch;
  margin: 0;
  color: var(--order-ink-soft);
  font-size: clamp(0.9rem, 1.5vw, 1.02rem);
  font-weight: 800;
  line-height: 1.35;
}

.event-promise-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.event-promise-row span {
  padding: 7px 10px;
  color: var(--order-green);
  background: var(--order-green-soft);
  border: 1px solid var(--order-green-border-soft);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 950;
  line-height: 1;
}

.event-planner-note {
  margin: 0;
  padding: 11px 12px;
  color: var(--order-muted);
  background: var(--order-surface-warm);
  border-left: 4px solid var(--order-green-bright);
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 760;
  line-height: 1.35;
}

.event-details-modal .fulfillment-choice {
  gap: 8px;
}

.event-details-modal .fulfillment-choice label {
  min-height: 58px;
}

.event-details-modal .fulfillment-choice label > span {
  gap: 2px;
  padding: 10px 12px;
}

.event-details-modal .fulfillment-choice strong {
  font-size: 0.92rem;
}

.event-details-modal .fulfillment-choice small {
  font-size: 0.72rem;
  line-height: 1.14;
}

.event-details-modal .contact-details {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.event-details-modal .event-field-full {
  grid-column: 1 / -1;
}

.event-details-modal .contact-details label {
  gap: 5px;
}

.event-details-modal .contact-details span {
  font-size: 0.78rem;
  line-height: 1.15;
}

.event-details-modal .contact-details input {
  min-height: 42px;
  padding: 0 11px;
}

@media (min-width: 760px) {
  .event-details-modal .final-details-form {
    grid-template-columns: minmax(220px, 0.75fr) minmax(420px, 1.25fr);
    column-gap: 24px;
    align-items: start;
  }

  .event-planner-intro {
    position: sticky;
    top: 0;
    grid-column: 1;
    grid-row: 1 / span 3;
  }

  .event-details-modal .fulfillment-choice,
  .event-details-modal .contact-details,
  .event-details-modal .final-submit-button {
    grid-column: 2;
  }

  .event-details-modal .fulfillment-choice {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.final-details-status {
  min-height: 18px;
  margin: -6px 0 0;
  color: var(--order-green);
  font-size: 0.84rem;
  font-weight: 850;
}

.thank-you-dialog {
  width: min(100% - 34px, 390px);
  border: 0;
  border-radius: 14px;
  padding: 0;
  color: var(--order-ink);
  background: transparent;
}

.thank-you-dialog::backdrop {
  background: var(--tone-rgba-16-12-9-0-62);
}

.thank-you-card {
  display: grid;
  justify-items: center;
  gap: 18px;
  padding: 28px 24px 24px;
  border-radius: 14px;
  background: var(--order-surface);
  font-family: "Trebuchet MS", "Avenir Next", Aptos, Arial, sans-serif;
  text-align: center;
  box-shadow: 0 18px 44px var(--tone-rgba-21-17-14-0-28);
}

.thank-you-card img {
  width: 112px;
  height: 112px;
  border-radius: 24px;
  object-fit: cover;
}

.thank-you-card h2,
.thank-you-card p {
  margin: 0;
}

.thank-you-card h2 {
  color: var(--order-green);
  font-size: 2.08rem;
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: 0;
}

.thank-you-card p {
  max-width: 25ch;
  margin-top: 8px;
  color: var(--order-muted);
  font-size: 1.03rem;
  font-weight: 700;
  line-height: 1.36;
}

.thank-you-card .primary-action {
  width: 100%;
}

@media (max-width: 560px) {
  .order-shell {
    width: 100%;
    box-shadow: none;
  }

  .order-hero {
    padding: 24px 20px 18px;
  }

  .group-order-panel {
    grid-template-columns: 1fr;
  }

  .group-order-controls {
    display: grid;
    grid-template-columns: 1fr;
  }

  .join-group-order {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .join-group-order input {
    width: 100%;
  }

  .order-steps {
    padding-inline: 24px;
  }

  .builder-grid {
    grid-template-columns: 1fr;
  }

  .drink-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .drink-list.compact-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .drink-list.compact-grid .drink-card {
    min-height: 88px;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 4px;
    padding: 8px 5px;
    text-align: center;
  }

  .drink-list.compact-grid .drink-illustration {
    width: 32px;
    height: 42px;
  }

  .drink-list.compact-grid .drink-card span {
    font-size: 0.67rem;
    line-height: 1.08;
    overflow-wrap: anywhere;
  }

  .review-bar {
    grid-template-columns: 36px minmax(0, 1fr) 150px;
    padding-inline: 14px;
  }

  .review-dialog {
    width: calc(100% - 16px);
    max-height: 88vh;
  }

  .final-details-page {
    padding-inline: 12px;
  }

  .final-details-modal {
    max-height: 75vh;
    max-height: 75svh;
    padding: 20px;
    border-radius: 12px;
  }

  .event-details-modal {
    width: calc(100vw - 30px);
  }

  .event-details-modal .final-details-heading h1 {
    max-width: 11ch;
    font-size: clamp(2rem, 8vw, 2.65rem);
  }

  .event-planner-lead {
    font-size: 0.84rem;
    line-height: 1.3;
  }

  .event-promise-row {
    gap: 6px;
  }

  .event-promise-row span {
    padding: 6px 8px;
    font-size: 0.66rem;
  }

  .event-planner-note {
    display: none;
  }

  .fulfillment-choice {
    grid-template-columns: 1fr;
  }

  .fulfillment-choice label {
    min-height: 64px;
  }

  .event-details-modal .fulfillment-choice {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .event-details-modal .fulfillment-choice label {
    min-height: 56px;
  }

  .event-details-modal .contact-details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .event-details-modal .event-field-full {
    grid-column: 1 / -1;
  }
}

@media (max-width: 410px) {
  .order-hero {
    min-height: 126px;
  }

  .order-hero h1 {
    font-size: clamp(2rem, 10vw, 2.45rem);
  }

  .order-steps {
    gap: 6px;
    padding-inline: 14px;
  }

  .order-steps span {
    gap: 5px;
    font-size: 0.76rem;
  }

  .order-steps strong {
    width: 27px;
    height: 27px;
  }

  .drink-list {
    grid-template-columns: 1fr;
  }

  .drink-list.compact-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .review-bar {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .review-bar button {
    grid-column: 1 / -1;
  }

  .review-dialog-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .final-total-card > div {
    align-items: start;
  }
}

/* Bold interactive treatment. */
:root {
  --bold-green: var(--order-green);
  --bold-ink: var(--order-ink);
  --bold-rule: var(--order-green);
}

a,
button,
[role="button"] {
  font-weight: 950;
}

a:not(.landing-button):not(.event-option) {
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.back-link,
.final-back-link,
.order-menu-button {
  font-weight: 950;
  letter-spacing: 0;
}

.back-link::before,
.final-back-link::before {
  font-weight: 950;
}

.landing-button,
.event-option,
.primary-action,
.secondary-action,
.add-drink-button,
.review-bar button,
.group-order-controls button,
.group-order-share button,
.join-group-order button,
.review-close-button,
.order-bag,
.order-menu-button {
  font-weight: 950;
  letter-spacing: 0;
}

.landing-button {
  border: 2px solid transparent;
}

.landing-button.primary,
.event-option.primary {
  color: var(--bold-ink);
  box-shadow: inset 0 0 0 2px var(--milk-surface);
}

.landing-button.secondary,
.event-option {
  border-width: 2px;
  background: var(--tone-rgba-0-0-0-0-36);
}

.event-option span {
  font-weight: 950;
}

.event-option strong {
  font-weight: 950;
  opacity: 0.92;
}

.brand-line,
.panel-heading h2,
.panel-heading span,
.choice-group legend,
.field,
.fulfillment-choice legend,
.contact-details span,
.final-details-heading p,
.event-promise-row span {
  font-weight: 950;
}

.category-tabs {
  border-bottom: 2px solid var(--order-rule);
}

.category-tabs button {
  min-height: 58px;
  border-bottom-width: 4px;
  color: var(--bold-ink);
  font-size: 0.82rem;
  font-weight: 950;
}

.category-tabs button.active {
  color: var(--bold-green);
  background: var(--order-green-soft);
  border-color: var(--bold-rule);
}

.order-steps span,
.order-steps strong {
  font-weight: 950;
}

.drink-card {
  border-width: 2px;
}

.drink-card span {
  font-weight: 950;
}

.drink-card.active {
  border-color: var(--bold-rule);
  box-shadow: inset 0 0 0 2px var(--bold-rule);
}

.chip-row button,
.quantity-row button,
.topping-quantity-menu button {
  border-width: 2px;
  color: var(--bold-ink);
  font-weight: 950;
}

.chip-row button.active,
.topping-quantity-menu button.active {
  border-color: var(--bold-rule);
  background: var(--bold-green);
}

.quantity-row button,
.add-drink-button,
.secondary-action,
.review-close-button,
.icon-button {
  border-width: 2px;
}

.add-drink-button,
.quantity-row button {
  color: var(--bold-green);
  border-color: var(--bold-rule);
}

.primary-action,
.review-bar button,
.group-order-controls button,
.group-order-share button,
.join-group-order button {
  background: var(--bold-green);
}

.review-icon,
.order-bag strong,
.review-item-index {
  color: var(--bold-green);
  background: var(--order-green-mist);
  box-shadow: inset 0 0 0 2px var(--order-green-focus-soft);
  font-weight: 950;
}

.order-menu-button,
.order-bag,
.icon-button,
.review-close-button {
  font-weight: 950;
}

.icon-button {
  color: var(--bold-ink);
  border-color: var(--order-rule);
}

.icon-button.danger {
  color: var(--order-danger);
  border-color: var(--order-danger-border);
}

.fulfillment-choice label > span {
  border-width: 2px;
}

.fulfillment-choice strong,
.fulfillment-choice small,
.final-total-card span,
.final-total-card strong,
.review-total-card span,
.review-total-card strong,
.summary-item strong,
.summary-item span,
.summary-item small {
  font-weight: 950;
}

/* Helicopter preview: a panda pilot airlifts the selected cup into the order field. */
.heli-pad {
  position: relative;
  height: 158px;
  margin: 0 0 8px;
  border: 2px solid var(--order-ink);
  border-radius: 10px 10px 0 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 22%, var(--tone-rgba-255-255-255-0-85) 0 10px, transparent 11px),
    radial-gradient(circle at 78% 18%, var(--tone-rgba-255-255-255-0-72) 0 8px, transparent 9px),
    linear-gradient(180deg, var(--tone-c9f0f5) 0 56%, var(--order-green-soft) 56% 72%, var(--tone-d6e4dd) 72%);
  box-shadow: inset 0 -3px 0 var(--tone-rgba-33-25-20-0-18);
}

.heli-pad::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 12px;
  width: 104px;
  height: 22px;
  border: 0;
  border-radius: 50%;
  background: var(--tone-rgba-33-25-20-0-16);
  transform: translateX(-50%);
  box-shadow: none;
}

.heli-pad::after {
  content: "";
  position: absolute;
}

.pad-helicopter {
  position: absolute;
  left: 50%;
  bottom: 58px;
  width: 172px;
  height: 82px;
  transform: translateX(-50%);
  transform-origin: center;
  image-rendering: pixelated;
  animation: heli-hover-idle 1800ms cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

.heli-rotor {
  position: absolute;
  left: 18px;
  top: 0;
  width: 124px;
  height: 11px;
  border: 2px solid var(--order-ink);
  border-radius: 999px;
  background: var(--order-surface);
  box-shadow: inset 0 -2px 0 var(--order-green-soft);
  transform-origin: center;
  animation: heli-rotor-idle 70ms steps(2, end) infinite;
}

.heli-mast {
  position: absolute;
  left: 78px;
  top: 11px;
  width: 7px;
  height: 13px;
  background: var(--order-ink);
}

.heli-body {
  position: absolute;
  left: 32px;
  top: 24px;
  width: 98px;
  height: 44px;
  border: 3px solid var(--order-ink);
  border-radius: 24px 26px 18px 24px;
  background: var(--boba-green);
  box-shadow: inset -15px -5px 0 var(--order-green), inset 6px 5px 0 var(--tone-rgba-255-255-255-0-24);
}

.heli-window {
  position: absolute;
  left: 7px;
  top: 3px;
  width: 48px;
  height: 36px;
  border: 3px solid var(--order-ink);
  border-radius: 18px 9px 9px 18px;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 18%, var(--tone-rgba-255-255-255-0-9) 0 3px, transparent 4px),
    var(--tone-c9f0f5);
}

.panda-pilot {
  position: absolute;
  left: 8px;
  top: 5px;
  width: 34px;
  height: 30px;
  border: 2px solid var(--order-ink);
  border-radius: 50%;
  background: var(--order-surface);
}

.panda-pilot::before,
.panda-pilot::after {
  content: "";
  position: absolute;
  top: -6px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--order-ink);
}

.panda-pilot::before {
  left: -7px;
}

.panda-pilot::after {
  right: -7px;
}

.panda-face {
  position: absolute;
  left: 9px;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--order-ink);
  box-shadow: 12px 0 0 var(--order-ink), 6px 9px 0 var(--order-ink);
}

.panda-face::before,
.panda-face::after {
  content: "";
  position: absolute;
  top: 10px;
  width: 7px;
  height: 4px;
  border-radius: 999px;
  background: var(--tone-f5a5b8);
}

.panda-face::before {
  left: -7px;
}

.panda-face::after {
  left: 18px;
}

.heli-tail {
  position: absolute;
  left: 126px;
  top: 41px;
  width: 42px;
  height: 10px;
  border: 3px solid var(--order-ink);
  border-left: 0;
  background: var(--boba-green);
  border-radius: 0 8px 8px 0;
}

.heli-tail-rotor {
  position: absolute;
  right: 0;
  top: 35px;
  width: 14px;
  height: 20px;
  border-left: 4px solid var(--order-ink);
}

.heli-tail-rotor::before {
  content: "";
  position: absolute;
  left: -9px;
  top: 7px;
  width: 18px;
  height: 5px;
  border: 2px solid var(--order-ink);
  border-radius: 999px;
  background: var(--order-surface);
  animation: heli-tail-spin 70ms steps(2, end) infinite;
}

.heli-skid {
  position: absolute;
  left: 38px;
  top: 68px;
  width: 92px;
  height: 10px;
  border-bottom: 4px solid var(--order-ink);
}

.heli-skid::before,
.heli-skid::after {
  content: "";
  position: absolute;
  top: -4px;
  width: 4px;
  height: 11px;
  background: var(--order-ink);
}

.heli-skid::before {
  left: 14px;
}

.heli-skid::after {
  right: 15px;
}

.heli-preview-rope {
  position: absolute;
  left: 79px;
  top: 68px;
  width: 9px;
  height: 36px;
  border: 2px solid var(--order-ink);
  border-radius: 999px;
  background:
    linear-gradient(
      135deg,
      transparent 0 24%,
      var(--tone-rgba-33-25-20-0-42) 24% 34%,
      transparent 34% 52%,
      var(--tone-rgba-33-25-20-0-42) 52% 62%,
      transparent 62% 100%
    ),
    var(--tone-d6a56b);
  box-shadow: inset 2px 0 0 var(--tone-f4d39a);
}

.heli-preview-cup {
  position: absolute;
  left: 64px;
  top: 94px;
  width: 40px;
  height: 50px;
  transform: scale(0.82);
  transform-origin: center top;
}

.heli-preview-cup .drink-illustration {
  width: 100%;
  height: 100%;
}

.heli-pad.is-working .pad-helicopter {
  animation: pad-heli-hold 4600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.heli-pad.is-working .heli-rotor {
  animation-duration: 70ms;
}

.heli-pad.is-working .heli-preview-rope {
  animation: none;
}

.heli-pad.is-working .heli-preview-cup {
  animation: none;
}

.heli-delivery-aircraft {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 30;
  pointer-events: none;
  will-change: transform, opacity;
}

.heli-delivery-aircraft {
  width: 172px;
  height: 82px;
  transform-origin: center;
  image-rendering: pixelated;
}

.heli-delivery-aircraft .pad-helicopter {
  left: 0;
  bottom: 0;
  transform: none;
  animation: heli-delivery-hover 1800ms cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

.heli-delivery-aircraft .heli-rotor {
  animation-duration: 70ms;
}

.heli-delivery-rope {
  position: absolute;
  left: 79px;
  top: 68px;
  width: 10px;
  height: 84px;
  border: 2px solid var(--order-ink);
  border-radius: 999px;
  background:
    linear-gradient(
      135deg,
      transparent 0 18%,
      var(--tone-rgba-33-25-20-0-42) 18% 26%,
      transparent 26% 42%,
      var(--tone-rgba-33-25-20-0-42) 42% 50%,
      transparent 50% 66%,
      var(--tone-rgba-33-25-20-0-42) 66% 74%,
      transparent 74% 100%
    ),
    var(--tone-d6a56b);
  box-shadow: inset 2px 0 0 var(--tone-f4d39a), inset -2px 0 0 var(--tone-b57b3c);
  filter: drop-shadow(0 4px 0 var(--tone-rgba-33-25-20-0-12));
  transform-origin: top center;
}

.heli-delivery-rope::before,
.heli-delivery-rope::after {
  content: "";
  position: absolute;
  left: -3px;
  width: 12px;
  height: 8px;
  border: 2px solid var(--order-ink);
  border-radius: 999px;
  background: var(--tone-d6a56b);
}

.heli-delivery-rope::before {
  top: -5px;
}

.heli-delivery-rope::after {
  bottom: -5px;
}

.heli-delivery-cup {
  position: absolute;
  left: 58px;
  top: 138px;
  width: 52px;
  height: 66px;
  filter: drop-shadow(0 12px 14px var(--tone-rgba-33-25-20-0-24));
  transform-origin: center top;
}

.heli-delivery-cup .drink-illustration {
  width: 100%;
  height: 100%;
}

.add-drink-button.is-launching,
.add-drink-button.heli-delivering {
  color: var(--order-surface);
  background: var(--order-green);
  border-color: var(--order-green);
  transform: translateY(1px) scale(0.985);
}

.summary-item.just-added {
  animation: order-item-settle 680ms cubic-bezier(0.22, 1, 0.36, 1);
}

.summary-item.just-added .drink-illustration {
  animation: cup-arrival-pop 620ms cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes heli-rotor-idle {
  0% {
    transform: rotate(0deg) scaleX(1);
  }
  100% {
    transform: rotate(90deg) scaleX(0.72);
  }
}

@keyframes heli-tail-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(90deg);
  }
}

@keyframes heli-hover-idle {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-5px);
  }
}

@keyframes final-heli-bob {
  0%,
  100% {
    transform: translateX(-50%) scale(var(--final-heli-scale)) translateY(0);
  }

  50% {
    transform: translateX(-50%) scale(var(--final-heli-scale)) translateY(-5px);
  }
}

@keyframes heli-delivery-hover {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

@keyframes pad-heli-hold {
  0%,
  100% {
    transform: translateX(-50%) translateY(-4px);
    opacity: 0.26;
  }
  12%,
  88% {
    transform: translateX(-50%) translateY(-9px);
    opacity: 0.1;
  }
}

@keyframes pad-rope-lift {
  0%,
  18% {
    height: 17px;
    opacity: 1;
  }
  45%,
  76% {
    height: 30px;
    opacity: 1;
  }
  100% {
    height: 17px;
    opacity: 1;
  }
}

@keyframes pad-cup-lift {
  0% {
    opacity: 1;
    transform: translateY(0) scale(0.78);
  }
  24%,
  72% {
    opacity: 0.45;
    transform: translateY(-10px) scale(0.66);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(0.78);
  }
}

@keyframes order-item-settle {
  0% {
    background: var(--order-green-soft);
  }
  100% {
    background: transparent;
  }
}

@keyframes cup-arrival-pop {
  0% {
    transform: scale(0.72);
    opacity: 0.4;
  }
  58% {
    transform: scale(1.08);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.edit-button {
  display: grid;
  place-items: center;
}

.pencil-icon {
  position: relative;
  display: block;
  width: 19px;
  height: 19px;
  transform: rotate(-34deg);
}

.pencil-icon::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 2px;
  width: 9px;
  height: 15px;
  border: 2px solid var(--order-ink);
  border-radius: 4px 4px 2px 2px;
  background:
    linear-gradient(90deg, transparent 0 42%, var(--tone-rgba-255-255-255-0-38) 43% 58%, transparent 59%),
    var(--order-warning);
  box-shadow: inset 0 -4px 0 var(--tone-ef8fa8);
}

.pencil-icon::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 15px;
  width: 0;
  height: 0;
  border-left: 4.5px solid transparent;
  border-right: 4.5px solid transparent;
  border-top: 7px solid var(--order-ink);
  transform: translateY(-1px);
}

.review-bar {
  grid-template-columns: 76px minmax(0, 1fr) minmax(150px, 220px);
}

.review-icon.panda-review-counter {
  position: relative;
  display: block;
  width: 70px;
  height: 48px;
  border-radius: 0;
  color: var(--order-ink);
  background: transparent;
  box-shadow: none;
  font-weight: 950;
}

.counter-panda {
  position: absolute;
  left: 1px;
  bottom: 1px;
  width: 36px;
  height: 36px;
  border: 2px solid var(--order-ink);
  border-radius: 50%;
  background: var(--order-surface-warm);
  box-shadow: inset 0 -4px 0 var(--tone-rgba-33-25-20-0-08);
  animation: panda-sip 1600ms ease-in-out infinite;
}

.counter-panda::before,
.counter-panda::after {
  content: "";
  position: absolute;
  top: -6px;
  width: 13px;
  height: 13px;
  border: 2px solid var(--order-ink);
  border-radius: 50%;
  background: var(--order-ink);
}

.counter-panda::before {
  left: -4px;
}

.counter-panda::after {
  right: -4px;
}

.counter-panda-face {
  position: absolute;
  inset: 0;
}

.counter-panda-face::before,
.counter-panda-face::after {
  content: "";
  position: absolute;
  top: 12px;
  width: 8px;
  height: 10px;
  border-radius: 50%;
  background: var(--order-ink);
}

.counter-panda-face::before {
  left: 8px;
}

.counter-panda-face::after {
  right: 8px;
}

.counter-boba-cup {
  position: absolute;
  right: -4px;
  bottom: -1px;
  width: 14px;
  height: 18px;
  border: 2px solid var(--order-ink);
  border-radius: 3px 3px 6px 6px;
  background:
    radial-gradient(circle at 4px 13px, var(--order-ink) 0 1.8px, transparent 2px),
    radial-gradient(circle at 9px 12px, var(--order-ink) 0 1.8px, transparent 2px),
    linear-gradient(180deg, var(--tone-f3c6d5) 0 38%, var(--tone-d7b7e8) 39% 100%);
}

.counter-boba-cup::before {
  content: "";
  position: absolute;
  left: 3px;
  top: -15px;
  width: 3px;
  height: 17px;
  border-radius: 999px;
  background: var(--order-ink);
  transform: rotate(-18deg);
}

.counter-sign {
  position: absolute;
  right: 0;
  top: 1px;
  width: 32px;
  min-width: 32px;
  height: 32px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 2px solid var(--order-ink);
  border-radius: 7px;
  color: var(--order-ink);
  background: var(--order-warning);
  text-align: center;
  box-shadow: 0 3px 0 var(--tone-rgba-33-25-20-0-18);
}

.counter-sign::before {
  content: none;
  display: none;
}

.counter-sign strong {
  display: block;
  width: 100%;
  font-size: 1rem;
  line-height: 1;
  text-align: center;
}

@keyframes panda-sip {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  45% {
    transform: translateY(1px) rotate(-2deg);
  }
  68% {
    transform: translateY(0) rotate(1deg);
  }
}

@media (max-width: 560px) {
  .heli-pad {
    height: 150px;
  }

  .pad-helicopter {
    width: 158px;
  }

  .review-bar {
    grid-template-columns: 72px minmax(0, 1fr) minmax(136px, 180px);
  }
}

@media (max-width: 410px) {
  .review-bar {
    grid-template-columns: 72px minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .heli-delivery-rope,
  .heli-delivery-cup,
  .heli-delivery-aircraft {
    display: none;
  }

  .final-heli-craft {
    transition: none;
  }

  .final-heli-turn {
    transition: none;
  }

  .heli-pad.is-working .pad-helicopter,
  .heli-pad.is-working .heli-preview-rope,
  .heli-pad.is-working .heli-preview-cup,
  .final-heli-mini.pad-helicopter,
  .summary-item.just-added,
  .summary-item.just-added .drink-illustration,
  .counter-panda {
    animation: none;
  }
}

/* Audit fixes: accessibility states, touch targets, and edit controls. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.order-shell :is(a, button, input, select, textarea):focus-visible {
  outline: 3px solid color-mix(in srgb, var(--order-green), white 35%);
  outline-offset: 3px;
}

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

.cancel-edit-button {
  min-height: 46px;
  border: 2px solid var(--order-rule);
  border-radius: 8px;
  padding: 0 14px;
  color: var(--order-ink);
  background: var(--order-surface);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 950;
}

.order-menu-button,
.order-bag,
.icon-button,
.quantity-row button {
  min-width: 44px;
  min-height: 44px;
}

.order-menu-button,
.order-bag {
  width: 44px;
  height: 44px;
}

.chip-row button,
.topping-quantity-menu button {
  min-height: 44px;
}

.group-order-controls button,
.group-order-share button,
.join-group-order button,
.join-group-order input,
.group-order-share input {
  min-height: 44px;
}

.summary-item {
  grid-template-columns: 44px minmax(0, 1fr) 44px 44px;
  min-height: 72px;
}

.summary-item > div {
  min-width: 0;
}

.icon-button {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
}

.quantity-row button {
  width: 44px;
}

.review-bar button:disabled,
.primary-action:disabled,
.group-order-controls button:disabled {
  color: var(--order-disabled-text);
  background: var(--order-disabled-bg);
}

.category-tabs button.active,
.drink-card.active,
.chip-row button.active,
.topping-quantity-menu button.active {
  border-color: var(--order-green);
}

.category-tabs button.active {
  color: var(--order-green);
  background: var(--order-green-soft);
}

.summary-item .summary-price,
.review-dialog-header p {
  color: var(--order-green);
}

/* Tokenized order system layer. */
.order-body {
  color: var(--order-ink);
  background: var(--order-page);
}

.order-shell,
.group-order-panel,
.order-steps,
.category-tabs,
.customizer-card,
.order-summary,
.review-dialog,
.review-dialog-header,
.review-dialog-actions,
.empty-menu-state,
.drink-card,
.field input,
.field select,
.field textarea,
.quantity-row input,
.topping-quantity-menu,
.review-total-card,
.final-total-card {
  background-color: var(--order-surface);
}

.builder-grid {
  background: var(--order-page);
}

.order-topbar {
  background: linear-gradient(180deg, var(--order-green-bright), var(--order-green));
}

.order-hero {
  background:
    radial-gradient(circle at 80% 35%, var(--tone-rgba-0-166-108-0-08), transparent 34%),
    linear-gradient(180deg, var(--order-surface-warm), var(--order-surface));
}

.group-order-panel,
.order-steps,
.category-tabs,
.review-bar {
  border-color: var(--order-rule-soft);
}

.customizer-card,
.order-summary,
.drink-card,
.empty-menu-state,
.field input,
.field select,
.field textarea,
.quantity-row input,
.topping-quantity-menu,
.review-total-card,
.final-total-card {
  border-color: var(--order-rule);
}

.customizer-card,
.order-summary {
  box-shadow: 0 3px 10px var(--order-panel-shadow);
}

.review-bar {
  background: color-mix(in srgb, var(--order-surface) 96%, transparent);
  box-shadow: 0 -8px 22px var(--order-shadow);
}

.order-bag strong,
.review-item-index {
  color: var(--order-green);
  background: var(--order-green-mist);
}

.panel-heading h2,
.category-tabs button.active,
.summary-item .summary-price,
.review-dialog-header p,
.order-steps .active,
.add-drink-button,
.quantity-row button {
  color: var(--order-green);
}

.category-tabs button.active,
.chip-row button.active,
.topping-quantity-menu button.active,
.review-bar button,
.primary-action,
.group-order-controls button,
.group-order-share button,
.join-group-order button,
.order-steps .active strong {
  background-color: var(--order-green);
}

.category-tabs button,
.drink-card,
.chip-row button,
.quantity-row button,
.topping-quantity-menu button,
.cancel-edit-button,
.icon-button {
  color: var(--order-ink);
}

.group-order-copy span,
.order-steps,
.empty-menu-state span,
.field small,
.summary-item small,
.review-bar span,
.topping-quantity-menu .topping-cancel {
  color: var(--order-muted);
}

.summary-item {
  border-color: var(--order-rule-light);
}

.summary-item span {
  color: var(--order-ink-soft);
}

.icon-button.danger {
  color: var(--order-danger);
  border-color: color-mix(in srgb, var(--order-danger) 34%, transparent);
}

.review-bar .counter-sign {
  background: var(--order-warning);
  display: grid;
  place-items: center;
}

.review-bar .counter-sign strong {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
}

.category-tabs button.active {
  color: var(--order-green);
  background: var(--order-green-soft);
}

@media (max-width: 560px) {
  .category-tabs {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: max-content;
  }

  .category-tabs button {
    min-width: 96px;
    padding-inline: 12px;
  }
}

@media (max-width: 410px) {
  .form-actions {
    grid-template-columns: 1fr;
  }

  .summary-item {
    grid-template-columns: 40px minmax(0, 1fr) 44px 44px;
    gap: 6px;
  }
}

