:root {
  color-scheme: light;
  --navy: #11114d;
  --ink: #202126;
  --muted: #555563;
  --subtle: #6b6b79;
  --line: #d9dce1;
  --field-line: #b8bcc1;
  --soft: #f8f8fa;
  --green: #7cde8d;
  --green-line: #52b968;
  --blue: #346ff4;
  --danger: #ef3434;
  --page-width: 440px;
  --gutter: 20px;
  --radius: 6px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { min-width: 320px; background: #f4f4f5; }
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--ink);
  background: #f4f4f5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.modal-open { overflow: hidden; }
button, input, select { font: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }

.app {
  width: min(100%, var(--page-width));
  min-height: 100vh;
  margin: 0 auto;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 0 28px rgba(24, 26, 35, .08);
}

.screen {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #fff;
  animation: screen-in .18s ease-out;
}
.screen.has-welcome,
.screen.has-survey { animation: none; }

@keyframes screen-in {
  from { opacity: .35; transform: translateX(7px); }
  to { opacity: 1; transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
  .screen { animation: none; }
  * { scroll-behavior: auto !important; }
}

.topbar {
  position: relative;
  flex: 0 0 72px;
  min-height: 72px;
  display: grid;
  place-items: center;
  background: #fff;
  border-bottom: 1px solid #ededee;
  box-shadow: 0 3px 7px rgba(27, 30, 39, .06);
}

.logo {
  width: 77px;
  height: 36px;
  position: relative;
  display: grid;
  place-items: center;
  border: 3px solid var(--navy);
  border-radius: 5px;
  background: #fff;
  color: var(--navy);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .6px;
}

.logo::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: #ee4f43;
}

.back-button,
.close-button,
.notice-close {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.back-button {
  position: absolute;
  left: 28px;
  top: 50%;
  width: 48px;
  height: 48px;
  padding: 5px;
  transform: translateY(-50%);
}

.back-button svg { width: 100%; height: 100%; display: block; }

.location {
  width: 100%;
  margin: 45px auto 0;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: #4e4e5e;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.25;
}

.location svg { flex: 0 0 24px; width: 24px; height: 29px; }
.location span { min-width: 0; }
.location span { white-space: nowrap; }

.content {
  width: 100%;
  padding: 0 var(--gutter);
}

h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 14px;
  color: #1d1e22;
  font-size: 32px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.7px;
}

.footer-links {
  margin-top: auto;
  padding: 34px 16px 43px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 9px;
  color: #555560;
  font-size: 14px;
}

.footer-links a { color: inherit; text-underline-offset: 2px; }
.footer-links i { width: 1px; height: 15px; background: #d7d7dd; }

.primary-button {
  width: 100%;
  min-height: 48px;
  padding: 14px 22px;
  border: 0;
  border-radius: 999px;
  background: var(--green);
  color: var(--navy);
  font-size: 20px;
  font-weight: 750;
  line-height: 1;
  cursor: pointer;
  transition: transform .15s ease, filter .15s ease, background .15s ease;
}

.primary-button:hover:not(:disabled) { filter: brightness(.985); }
.primary-button:active:not(:disabled) { transform: translateY(1px); }
.primary-button:focus-visible,
.back-button:focus-visible,
.close-button:focus-visible,
.notice-close:focus-visible {
  outline: 3px solid rgba(52, 111, 244, .38);
  outline-offset: 3px;
}
.primary-button:disabled {
  background: #cdcdce;
  color: var(--navy);
  cursor: not-allowed;
}

/* Intro */
.intro .content { margin-top: 47px; }
.intro .intro-copy {
  margin-bottom: 16px;
  font-size: 20px;
  line-height: 1.45;
}

.timeline { margin-bottom: 13px; }
.timeline-step {
  position: relative;
  min-height: 95px;
  padding-left: 42px;
}
.timeline-step:last-child { min-height: 80px; }
.timeline-step::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 30px;
  bottom: 0;
  width: 1px;
  background: #d9dbe0;
}
.timeline-step:last-child::before { display: none; }
.timeline-dot {
  position: absolute;
  left: 0;
  top: 5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #1f2227;
}
.timeline-step:first-child .timeline-dot { background: #49b967; }
.timeline h2 {
  margin-bottom: 10px;
  color: #1d1e22;
  font-size: 29px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.45px;
}
.timeline p {
  margin-bottom: 0;
  color: #6b6b79;
  font-size: 16px;
  line-height: 1.38;
}
.intro .primary-button { margin-top: 4px; }

/* First-load welcome */
.welcome-overlay {
  position: fixed;
  z-index: 100;
  inset: 0;
  padding: 24px;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, .69);
}

.welcome-modal {
  width: min(100%, 350px);
  min-height: 322px;
  padding: 19px 20px 33px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 12px;
  background: #fff;
  color: #1d1e22;
  box-shadow: 0 16px 50px rgba(0, 0, 0, .18);
  text-align: center;
  transform: translateY(-34px);
  outline: none;
}

.welcome-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f5f6f9;
  color: var(--navy);
}

.welcome-icon svg { width: 39px; height: 39px; }
.welcome-modal h2 {
  margin: 0 0 16px;
  font-size: 31px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.5px;
}

.welcome-modal p {
  max-width: 312px;
  margin: 0;
  color: #6c6c6d;
  font-size: 18px;
  line-height: 1.45;
}

.welcome-ok {
  width: 100%;
  min-height: 48px;
  margin-top: auto;
  padding: 10px 20px;
  border: 1.5px solid #afb1be;
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  font-size: 22px;
  font-weight: 750;
  line-height: 1;
  cursor: pointer;
}

.welcome-ok:active { transform: translateY(1px); }
.welcome-ok:focus-visible {
  outline: 3px solid rgba(52, 111, 244, .38);
  outline-offset: 3px;
}

/* Duration */
.duration .content { margin-top: 45px; }
.duration h1 { margin-bottom: 20px; }
.notice {
  min-height: 58px;
  margin-bottom: 16px;
  padding: 15px 53px 15px 17px;
  position: relative;
  display: flex;
  align-items: center;
  border-radius: 4px;
  background: var(--soft);
  font-size: 17px;
  line-height: 1.35;
}
.notice-close {
  position: absolute;
  right: 11px;
  top: 50%;
  width: 33px;
  height: 33px;
  padding: 5px;
  transform: translateY(-50%);
}
.notice-close svg { width: 100%; height: 100%; }

.rate-list { display: grid; gap: 16px; }
.rate-option {
  width: 100%;
  min-height: 62px;
  padding: 0 17px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  display: grid;
  grid-template-columns: 24px 1fr auto auto;
  align-items: center;
  gap: 16px;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}
.rate-option.selected {
  border-color: var(--green-line);
  box-shadow: 0 0 0 5px rgba(124, 222, 141, .25);
}
.radio {
  width: 20px;
  height: 20px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
}
.selected .radio { border: 7px solid var(--green); }
.rate-hours { font-size: 20px; font-weight: 500; white-space: nowrap; }
.selected .rate-hours { font-weight: 700; }
.rate-end {
  min-width: 108px;
  padding: 9px 11px;
  border-radius: 5px;
  background: var(--soft);
  font-size: 15px;
  text-align: center;
  white-space: nowrap;
}
.rate-price { min-width: 67px; font-size: 20px; text-align: right; white-space: nowrap; }
.selected .rate-price { font-weight: 700; }

.promo {
  min-height: 166px;
  margin-top: 25px;
  padding: 27px 80px 24px 19px;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 16px 35px rgba(26, 30, 38, .14);
  color: var(--navy);
}
.promo::after {
  content: "";
  position: absolute;
  right: -64px;
  top: -62px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: #effaf7;
}
.promo h2 { margin-bottom: 16px; font-size: 23px; line-height: 1.1; }
.promo p { margin-bottom: 12px; color: #676777; font-size: 16px; line-height: 1.25; }
.promo strong { font-size: 17px; }
.promo strong { display: inline-flex; align-items: center; gap: 6px; }
.promo strong svg { width: 20px; height: 20px; }
.promo-pass {
  position: absolute;
  right: 18px;
  bottom: 24px;
  z-index: 1;
  width: 52px;
  height: 70px;
  padding: 8px 7px;
  border-radius: 10px;
  background: var(--navy);
  color: #fff;
  box-shadow: 3px 4px 0 #b9bbc1;
  font-size: 14px;
  font-weight: 750;
  text-align: center;
}
.promo-star {
  width: 28px;
  height: 28px;
  margin: 6px auto 5px;
  background: #b9f2c5;
  clip-path: polygon(50% 0, 62% 36%, 100% 50%, 62% 64%, 50% 100%, 38% 64%, 0 50%, 38% 36%);
}
.promo-pass::after { content: ""; display: block; width: 28px; height: 2px; margin: 0 auto; background: #fff; }
.rates-note { margin: 31px 0 92px; color: #4f4f5c; font-size: 17px; text-align: center; }
.sticky-action {
  position: fixed;
  z-index: 4;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 14px max(var(--gutter), calc((100vw - var(--page-width)) / 2 + var(--gutter))) calc(14px + env(safe-area-inset-bottom));
  background: linear-gradient(to top, #fff 75%, rgba(255,255,255,.86));
}
.sticky-action .primary-button { max-width: calc(var(--page-width) - (var(--gutter) * 2)); margin: 0 auto; display: block; }

/* Shared setup screens */
.setup-screen .location { margin-top: 21px; }
.setup-screen .content { margin-top: 37px; }
.progress {
  width: min(290px, calc(100% - 52px));
  margin: 37px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.progress-step { position: relative; display: grid; justify-items: center; gap: 9px; font-size: 17px; }
.progress-step:not(:last-child)::after {
  content: "";
  position: absolute;
  z-index: 0;
  left: calc(50% + 22px);
  top: 21px;
  width: calc(100% - 44px);
  height: 4px;
  background: var(--navy);
}
.progress-icon {
  position: relative;
  z-index: 1;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
}
.progress-icon svg { width: 26px; height: 26px; }

.setup-screen h1 { margin-bottom: 15px; }
.field { margin-bottom: 25px; }
.field label {
  display: block;
  margin-bottom: 9px;
  color: #161719;
  font-size: 18px;
  line-height: 1.25;
}
.required { color: var(--danger); }
.field input,
.field select {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border: 1px solid var(--field-line);
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  font-size: 18px;
}
.field input:focus,
.field select:focus {
  outline: 0;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(52, 111, 244, .15);
}
.field input::placeholder { color: #aaaeb4; }
.field-error { margin: 6px 0 0; color: #b42318; font-size: 13px; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23979a9e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.check-row {
  margin: 5px 0 58px;
  display: grid;
  grid-template-columns: 22px 1fr;
  align-items: start;
  gap: 10px;
}
.check-row input {
  appearance: none;
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  border: 1.5px solid #91949a;
  border-radius: 6px;
  background: #fff;
}
.check-row input:checked { border-color: var(--blue); background: var(--blue); }
.check-row input:checked::after {
  content: "";
  display: block;
  width: 9px;
  height: 5px;
  margin: 4px 0 0 4px;
  border: solid #fff;
  border-width: 0 0 2px 2px;
  transform: rotate(-45deg);
}
.check-row label { font-size: 18px; line-height: 1.35; }
.check-row small { display: block; margin-top: 6px; font-size: 14px; line-height: 1.45; }

.vehicle .content { margin-top: 100px; }
.vehicle .close-button {
  float: right;
  width: 32px;
  height: 32px;
  margin: -42px 0 10px;
  padding: 4px;
}
.vehicle-form { clear: both; }
.vehicle .footer-links { padding-top: 53px; }

/* Payment */
.payment .content { margin-top: 30px; }
.payment .notice { min-height: 75px; margin-bottom: 36px; padding-top: 18px; padding-bottom: 18px; font-size: 15px; }
.payment .field { margin-bottom: 21px; }
.card-field {
  position: relative;
  display: flex;
  align-items: center;
}
.card-field svg { position: absolute; left: 11px; width: 23px; color: #c9cdd7; pointer-events: none; }
.card-field input { padding-left: 43px; padding-right: 102px; }
.field-label {
  display: block;
  margin-bottom: 7px;
  font-size: 18px;
}
.stripe-checkout-field {
  width: 100%;
  height: 48px;
  padding: 0 12px 0 43px;
  justify-content: space-between;
  border: 1px solid var(--field-line);
  border-radius: 7px;
  background: #fff;
  color: #6b6b79;
  font-size: 17px;
}
.stripe-checkout-field strong {
  padding: 5px 8px;
  border-radius: 5px;
  background: #635bff;
  color: #fff;
  font-size: 11px;
  letter-spacing: .05em;
}
.stripe-card-row {
  min-height: 52px;
  padding: 16px 14px;
  border: 1px solid var(--field-line);
  border-radius: 7px;
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.stripe-card-row.is-focused {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(52, 111, 244, .15);
}
.stripe-card-row.has-error { border-color: var(--danger); }
#card-element { min-height: 20px; }
.stripe-loading {
  min-height: 20px;
  display: flex;
  align-items: center;
  color: #777986;
  font-size: 15px;
}
.stripe-load-error { margin-top: 9px; }
.secure-card-field { min-height: 86px; }
.payment-entry-concealed {
  position: fixed;
  left: -200vw;
  top: 0;
  width: min(100%, var(--page-width));
  pointer-events: none;
}
.inline-payment-review h1 { margin-bottom: 28px; font-size: 24px; }
.inline-payment-review .primary-button { margin-top: 22px; }
.review-total {
  margin-top: 24px;
  padding: 17px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #ecedf2;
  border-radius: 8px;
  font-size: 17px;
}
.review-total strong { font-size: 19px; }
.payment-submit-error {
  margin: 16px 2px 0;
  color: var(--danger);
  font-size: 15px;
  line-height: 1.4;
}
.text-button {
  width: 100%;
  margin-top: 10px;
  padding: 10px;
  border: 0;
  background: transparent;
  color: var(--navy);
  font-size: 15px;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.autofill-button {
  position: absolute;
  right: 8px;
  min-width: 86px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #19562e;
  border-radius: 8px;
  background: #062514;
  color: #fff;
  font-size: 15px;
  cursor: pointer;
}
.autofill-button span {
  width: 18px;
  height: 18px;
  margin-left: 3px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: #62dd84;
  color: #083318;
}
.card-field .autofill-button span svg {
  position: static;
  width: 12px;
  height: 12px;
  color: #083318;
  transform: translateX(.4px);
}
.marketing-check {
  margin: -4px 0 42px;
  display: grid;
  grid-template-columns: 24px 1fr;
  align-items: center;
  gap: 9px;
  color: #6b6b79;
  font-size: 16px;
}
.marketing-check input {
  appearance: none;
  width: 20px;
  height: 20px;
  margin: 0;
  border: 1.5px solid #91949a;
  border-radius: 4px;
  background: #fff;
}
.marketing-check input:checked { border-color: var(--blue); background: var(--blue); }
.marketing-check input:checked::after {
  content: "";
  display: block;
  width: 9px;
  height: 5px;
  margin: 5px 0 0 4px;
  border: solid #fff;
  border-width: 0 0 2px 2px;
  transform: rotate(-45deg);
}
.payment .footer-links { padding-top: 82px; }

.payment-declined .notice { margin-bottom: 36px; }
.declined-card-field { margin-bottom: 26px; }
.declined-card-field .card-field input[aria-invalid="true"] { border-color: var(--field-line); }
.payment-error {
  margin: 13px 0 0;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ed1c24;
  font-size: 17px;
  line-height: 1.3;
}
.payment-error svg { flex: 0 0 23px; width: 23px; height: 23px; }
.payment-declined .primary-button { margin-top: 3px; }
.payment-declined .footer-links { padding-top: 73px; }

/* Final setup review */
.review .content { margin-top: 31px; }
.review h1 { margin-bottom: 28px; font-size: 24px; }
.review-stack { display: grid; gap: 25px; }
.review-panel {
  overflow: hidden;
  border: 1px solid #ecedf2;
  border-radius: 7px;
  background: #fff;
}
.review-panel-heading {
  min-height: 35px;
  padding: 4px 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 2px solid #5be388;
  background: #f8f8fa;
  color: #1b1b21;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
}
.review-panel-heading svg { width: 17px; height: 17px; color: #343540; }
.review-panel-body {
  min-height: 72px;
  padding: 13px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
}
.review-panel-body strong { font-size: 17px; }
.review-panel-body span { color: #6b6b79; font-size: 14px; }
.payment-review-body { flex-direction: row; justify-content: flex-start; align-items: center; gap: 13px; }
.payment-review-body > div { display: flex; flex-direction: column; gap: 3px; }
.review-card-brand {
  min-width: 45px;
  padding: 5px 7px;
  border-radius: 4px;
  background: var(--navy);
  color: #fff !important;
  font-size: 11px !important;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}
.review .primary-button { margin-top: 40px; }
.review .footer-links { padding-top: 70px; }

.payment-status-screen {
  min-height: 100vh;
  padding: 28px;
  align-items: center;
  justify-content: center;
}
.payment-status-card { max-width: 340px; text-align: center; }
.payment-status-card .logo { margin: 0 auto 32px; }
.payment-status-card h1 { margin-bottom: 10px; font-size: 28px; }
.payment-status-card p { color: var(--subtle); font-size: 16px; line-height: 1.5; }
.payment-status-spinner {
  width: 46px;
  height: 46px;
  margin: 0 auto 24px;
  border: 4px solid #dff7e5;
  border-top-color: #2a9c4b;
  border-radius: 50%;
  animation: payment-spin .8s linear infinite;
}
@keyframes payment-spin { to { transform: rotate(360deg); } }

/* Active parking session */
.active-session .location { margin-top: 21px; }
.session-content {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  padding: 31px var(--gutter) 10px;
}
.session-account-heading { display: flex; align-items: center; justify-content: space-between; }
.session-account-heading h1 { margin: 0; font-size: 24px; letter-spacing: -.3px; }
.account-button {
  width: 42px;
  height: 42px;
  padding: 8px;
  border: 1px solid #ecedf2;
  border-radius: 50%;
  background: #f8f8fa;
  color: var(--navy);
  cursor: pointer;
}
.account-button svg { width: 100%; height: 100%; }
.session-summary {
  margin: 18px 0 24px;
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 10px;
}
.session-summary-card {
  min-height: 139px;
  padding: 12px 16px;
  border: 1px solid #ecedf2;
  border-radius: 12px;
  background: #f8f8fa;
}
.session-card-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--navy);
}
.session-card-icon svg { width: 16px; height: 16px; }
.session-card-top { display: flex; align-items: center; justify-content: space-between; }
.rate-info {
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  border: 1.5px solid #777986;
  border-radius: 50%;
  color: #666875;
  font-size: 12px;
  font-weight: 700;
}
.session-summary-card p { margin: 27px 0 4px; color: #6b6b79; font-size: 14px; }
.session-summary-card h2 { margin: 0; color: #1b1b21; font-size: 27px; font-weight: 600; white-space: nowrap; }
.total-card { padding-right: 12px; padding-left: 12px; }
.extend-time-button {
  width: 100%;
  min-height: 48px;
  margin-bottom: 27px;
  border: 1px solid #4cbf73;
  border-radius: 6px;
  background: #fff;
  color: #4cbf73;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}
.session-info-title { margin: 0 0 14px; color: #1b1b21; font-size: 20px; font-weight: 600; line-height: 1.5; }
.session-accordions { overflow: hidden; border: 1px solid #ecedf2; border-radius: 12px; }
.session-accordion { border-bottom: 1px solid #ecedf2; }
.session-accordion:last-child { border-bottom: 0; }
.session-accordion summary {
  min-height: 59px;
  padding: 12px 14px;
  display: grid;
  grid-template-columns: 23px 1fr auto 20px;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
}
.session-accordion summary::-webkit-details-marker { display: none; }
.session-accordion summary > svg:first-child { width: 22px; height: 22px; color: #343540; }
.session-accordion summary > svg:last-child { width: 20px; height: 20px; transition: transform .15s ease; }
.session-accordion[open] summary { border-bottom: 1px solid #1b1b21; background: #f8f8fa; }
.session-accordion[open] summary > svg:last-child { transform: rotate(180deg); }
.session-accordion summary span { font-size: 16px; font-weight: 600; }
.session-accordion summary small { color: #6b6b79; font-size: 13px; }
.session-detail { padding: 14px 48px; display: flex; flex-direction: column; gap: 4px; color: #565864; font-size: 14px; }
.session-detail strong { color: #1b1b21; }
.current-total {
  margin-top: 18px;
  padding: 17px 18px;
  display: flex;
  justify-content: space-between;
  border: 1px solid #ecedf2;
  border-radius: 12px;
  color: #1b1b21;
  font-size: 16px;
}
.active-session .footer-links { padding-top: 48px; }

/* First active-session survey */
.survey-overlay {
  position: fixed;
  z-index: 110;
  inset: 0;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, .7);
}
.survey-modal {
  width: min(90%, 400px);
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, .2);
  outline: none;
  text-align: center;
}
.survey-modal > .logo { margin-bottom: 16px; transform: scale(1.04); }
.survey-modal h2 {
  margin: 0;
  color: #1b1b21;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.4;
}
.survey-stars { margin: 3px 0 16px; display: flex; justify-content: center; }
.survey-star {
  width: 44px;
  height: 47px;
  padding: 7px;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.survey-star svg { width: 30px; height: 30px; }
.survey-star svg path { fill: #fff; stroke: #a9aab7; }
.survey-star.selected svg path { fill: #f7c84b; stroke: #d7a727; }
.survey-secondary,
.survey-modal .primary-button {
  width: min(100%, 312px);
  min-height: 48px;
  padding: 13px 24px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  line-height: 18px;
}
.survey-secondary {
  border: 1px solid #d9dbe1;
  background: #fff;
  color: var(--navy);
  cursor: pointer;
}
.survey-modal > .survey-secondary { margin-top: 16px; }
.survey-modal form { width: 100%; margin-top: 0; text-align: left; }
.survey-modal form label { display: block; margin-bottom: 8px; color: #050933; font-size: 16px; }
.survey-modal textarea {
  width: 100%;
  height: 96px;
  padding: 10px;
  resize: none;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  color: #636473;
  font-size: 14px;
  line-height: 1.5;
}
.survey-count { margin-top: 4px; display: flex; justify-content: space-between; color: #6b6b79; font-size: 11px; }
.survey-modal form .primary-button { display: block; margin: 16px auto 8px; }
.survey-modal form .survey-secondary { display: block; margin: 0 auto; }
.survey-thanks h2 { margin-bottom: 20px; font-size: 21px; }

.toast {
  position: fixed;
  z-index: 20;
  left: 50%;
  bottom: 24px;
  width: min(calc(100% - 40px), 420px);
  padding: 13px 18px;
  border-radius: 9px;
  background: #23242a;
  color: #fff;
  font-size: 14px;
  text-align: center;
  transform: translateX(-50%);
  box-shadow: 0 10px 30px rgba(0,0,0,.2);
}

@media (max-width: 480px) {
  :root { --gutter: 18px; }
  .back-button { left: 20px; }
  .location { padding: 0 24px; font-size: 17px; }
  h1 { font-size: 29px; }
  .timeline h2 { font-size: 26px; }
  .intro .intro-copy { font-size: 18px; }
  .rate-option { grid-template-columns: 22px 1fr auto auto; gap: 9px; padding: 0 11px; }
  .rate-hours, .rate-price { font-size: 17px; }
  .rate-end { min-width: 91px; padding: 8px 6px; font-size: 13px; }
  .rate-price { min-width: 59px; }
  .promo { padding-right: 125px; }
}

@media (max-width: 360px) {
  .location { padding: 0 25px; font-size: 16px; }
  .rate-option { grid-template-columns: 20px 1fr auto; gap: 9px; }
  .rate-end { display: none; }
  .footer-links { font-size: 12px; }
}
