:root {
  --ink: #132e25;
  --ink-2: #28483d;
  --paper: #f4f3ee;
  --paper-2: #ebe9e1;
  --surface: #fffefa;
  --line: #d7d7ce;
  --muted: #718078;
  --lime: #c9f45a;
  --lime-2: #e8ffae;
  --orange: #f2a85f;
  --red: #c95d4b;
  --blue: #397b89;
  --shadow: 0 22px 50px rgb(19 46 37 / 9%);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  font-family:
    "Pretendard Variable", Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", Inter, system-ui,
    -apple-system, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background: var(--paper);
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

button,
label,
select {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
a:focus-visible {
  outline: 3px solid rgb(201 244 90 / 75%);
  outline-offset: 3px;
}

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

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

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

.icon {
  display: inline-block;
  flex: 0 0 auto;
  vertical-align: middle;
}

.user-app {
  min-height: 100vh;
  overflow: hidden;
}

.user-header {
  position: relative;
  z-index: 20;
  display: flex;
  width: min(1180px, calc(100% - 40px));
  min-height: 78px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
}

.brand-lockup {
  display: inline-flex;
  padding: 0;
  border: 0;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
}

.brand-lockup--light {
  color: var(--paper);
}

.brand-mark {
  position: relative;
  display: grid;
  width: 26px;
  height: 26px;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 3px;
  transform: rotate(45deg);
}

.brand-mark span {
  background: currentcolor;
}

.brand-mark span:nth-child(2) {
  background: var(--lime);
}

.brand-word {
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.brand-word span {
  color: #61973b;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.location-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.icon-button,
.modal-close {
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  place-items: center;
  background: var(--surface);
  cursor: pointer;
}

.icon-button svg {
  transform: rotate(180deg);
}

.section-kicker,
.eyebrow {
  margin-bottom: 10px;
  color: #56736a;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.landing-hero {
  display: grid;
  width: min(1180px, calc(100% - 40px));
  min-height: 410px;
  margin: 0 auto;
  padding: 84px 0 64px;
  grid-template-columns: 1fr auto;
  align-items: end;
  border-bottom: 1px solid var(--line);
}

.hero-copy h1 {
  max-width: 780px;
  margin-bottom: 26px;
  font-size: clamp(58px, 7vw, 104px);
  font-weight: 850;
  letter-spacing: -0.075em;
  line-height: 0.92;
}

.hero-copy h1 em,
.subscription-intro h1 em {
  position: relative;
  z-index: 0;
  color: var(--ink);
  font-style: normal;
}

.hero-copy h1 em::after,
.subscription-intro h1 em::after {
  position: absolute;
  z-index: -1;
  right: -8px;
  bottom: 7px;
  left: -2px;
  height: 22%;
  background: var(--lime);
  content: "";
}

.hero-copy > p {
  max-width: 480px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.hero-meta {
  display: flex;
  padding-bottom: 8px;
  align-items: flex-end;
  flex-direction: column;
  gap: 11px;
}

.hero-meta strong {
  font-size: 13px;
  letter-spacing: 0.08em;
}

.live-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.live-dot,
.sent-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #79bd42;
  box-shadow: 0 0 0 5px rgb(121 189 66 / 14%);
}

.occupancy-panel {
  width: min(1180px, calc(100% - 40px));
  margin: 72px auto 0;
  padding: clamp(24px, 5vw, 60px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.section-heading,
.panel-heading,
.option-heading,
.application-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.section-heading h2,
.panel-heading h2,
.option-heading h2,
.application-heading h2 {
  margin: 0;
  font-size: clamp(25px, 3vw, 38px);
  letter-spacing: -0.045em;
}

.section-heading--stack {
  align-items: flex-start;
  flex-direction: column;
  gap: 0;
}

.availability {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.availability strong {
  font-size: 48px;
  letter-spacing: -0.06em;
}

.availability span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.meter {
  height: 5px;
  margin: 28px 0 40px;
  overflow: hidden;
  background: var(--paper-2);
}

.meter span {
  display: block;
  height: 100%;
  background: var(--ink);
  transition: width 300ms ease;
}

.seat-map {
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(18px, 4vw, 44px);
  border: 1px solid #e1e1d7;
  border-radius: var(--radius-md);
  background-color: #f9f8f3;
  background-image:
    linear-gradient(#e9e8df 1px, transparent 1px),
    linear-gradient(90deg, #e9e8df 1px, transparent 1px);
  background-size: 24px 24px;
}

.seat-map--compact {
  padding: 24px;
}

.seat-map__zone + .seat-map__zone {
  margin-top: 22px;
}

.zone-label {
  display: flex;
  margin-bottom: 12px;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.zone-label span:last-child {
  letter-spacing: 0;
}

.seat-row,
.seat-grid {
  display: grid;
  gap: 10px;
}

.seat-row--fixed {
  grid-template-columns: repeat(2, minmax(80px, 1fr));
}

.seat-grid {
  grid-template-columns: repeat(6, minmax(72px, 1fr));
}

.seat {
  position: relative;
  min-height: 72px;
  padding: 13px 10px;
  overflow: hidden;
  border: 1px solid #bfc5bd;
  border-radius: 9px 9px 15px 15px;
  color: var(--ink);
  background: var(--surface);
  cursor: pointer;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.seat::before {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #85b14e;
  content: "";
}

.seat:not(:disabled):hover {
  border-color: var(--ink);
  transform: translateY(-3px);
}

.seat__number,
.seat__status {
  display: block;
}

.seat__number {
  margin-bottom: 4px;
  font-size: 14px;
  font-weight: 900;
}

.seat__status {
  color: var(--muted);
  font-size: 9px;
}

.seat.is-fixed {
  border-style: dashed;
  color: #85521e;
  background: #fff8ec;
}

.seat.is-fixed::before {
  background: var(--orange);
}

.seat.is-occupied {
  border-color: var(--ink);
  color: #edf3ef;
  background: var(--ink);
  cursor: not-allowed;
  opacity: 0.92;
}

.seat.is-occupied::before {
  background: #f3a46c;
}

.seat.is-occupied .seat__status {
  color: #b4c3bd;
}

.seat.is-selected {
  border-color: #8ebd35;
  background: var(--lime);
  box-shadow: 0 0 0 3px rgb(201 244 90 / 25%);
}

.seat.is-selected::before {
  background: var(--ink);
}

.floor-divider {
  display: flex;
  margin: 18px 0;
  align-items: center;
  gap: 12px;
  color: #8c968f;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.floor-line {
  height: 1px;
  flex: 1;
  background: #d8d8d0;
}

.map-legend {
  display: flex;
  margin-top: 22px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.map-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.legend-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border: 1px solid #a8b1aa;
  border-radius: 2px;
  background: white;
}

.legend-dot--used {
  border-color: var(--ink);
  background: var(--ink);
}

.legend-dot--fixed {
  border-color: var(--orange);
  background: #fff4e4;
}

.map-hint {
  margin: 16px 0 0;
  color: var(--muted);
  text-align: center;
  font-size: 12px;
}

.entry-section {
  width: min(1180px, calc(100% - 40px));
  margin: 100px auto;
}

.entry-cards {
  display: grid;
  margin-top: 30px;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.entry-card {
  display: grid;
  min-height: 220px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  grid-template-columns: auto 1fr auto;
  align-items: end;
  gap: 24px;
  text-align: left;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.entry-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.entry-card--dark {
  border-color: var(--ink);
  color: white;
  background: var(--ink);
}

.entry-card--light {
  background: var(--surface);
}

.entry-card__icon {
  display: grid;
  width: 52px;
  height: 52px;
  border: 1px solid currentcolor;
  border-radius: 16px;
  place-items: center;
  opacity: 0.85;
}

.entry-card__copy {
  display: flex;
  flex-direction: column;
}

.entry-card__copy small {
  margin-bottom: 8px;
  opacity: 0.65;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.entry-card__copy strong {
  margin-bottom: 7px;
  font-size: 34px;
  letter-spacing: -0.05em;
}

.entry-card__copy span {
  opacity: 0.65;
  font-size: 13px;
}

.round-arrow {
  display: grid;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  place-items: center;
  color: var(--ink);
  background: var(--lime);
}

.landing-note {
  display: flex;
  width: min(760px, calc(100% - 40px));
  margin: 0 auto 100px;
  padding: 26px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  align-items: flex-start;
  gap: 16px;
}

.landing-note strong,
.landing-note p {
  display: block;
}

.landing-note p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.user-footer {
  display: flex;
  width: min(1180px, calc(100% - 40px));
  min-height: 86px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 11px;
}

.user-footer span {
  margin-right: auto;
}

.user-footer button {
  padding: 0;
  border: 0;
  color: var(--muted);
  background: none;
  cursor: pointer;
}

.auth-page,
.admin-login-page {
  min-height: 100vh;
  background: var(--ink);
}

.auth-page .user-header {
  color: var(--paper);
}

.auth-page .brand-lockup {
  color: var(--paper);
}

.auth-page .location-label {
  color: #a9bbb4;
}

.auth-page .icon-button {
  border-color: rgb(255 255 255 / 20%);
  color: white;
  background: transparent;
}

.auth-layout {
  display: grid;
  width: min(1080px, calc(100% - 40px));
  min-height: calc(100vh - 78px);
  margin: 0 auto;
  padding: 64px 0 80px;
  grid-template-columns: 1fr 460px;
  align-items: center;
  gap: 90px;
}

.auth-intro {
  color: var(--paper);
}

.auth-intro .section-kicker {
  color: var(--lime);
}

.auth-intro h1 {
  margin-bottom: 26px;
  font-size: clamp(52px, 6.3vw, 82px);
  letter-spacing: -0.07em;
  line-height: 0.98;
}

.auth-intro > p {
  max-width: 470px;
  color: #b4c3bd;
  font-size: 16px;
  line-height: 1.75;
}

.context-ticket {
  display: flex;
  max-width: 430px;
  margin-top: 44px;
  padding: 18px 0;
  border-top: 1px solid rgb(255 255 255 / 18%);
  border-bottom: 1px solid rgb(255 255 255 / 18%);
  align-items: center;
  gap: 15px;
}

.context-ticket > span {
  display: grid;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  place-items: center;
  color: var(--ink);
  background: var(--lime);
}

.context-ticket small,
.context-ticket strong {
  display: block;
}

.context-ticket small {
  margin-bottom: 4px;
  color: #9fb1aa;
  font-size: 10px;
}

.context-ticket strong {
  font-size: 13px;
}

.auth-card,
.payment-modal {
  padding: 38px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: 0 30px 70px rgb(0 0 0 / 20%);
}

.auth-tabs {
  display: grid;
  margin-bottom: 30px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 13px;
  grid-template-columns: repeat(2, 1fr);
  background: var(--paper-2);
}

.auth-tabs button {
  padding: 12px;
  border: 0;
  border-radius: 9px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
}

.auth-tabs button.is-active {
  color: var(--ink);
  font-weight: 800;
  background: var(--surface);
  box-shadow: 0 5px 12px rgb(19 46 37 / 7%);
}

.form-stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field label {
  font-size: 12px;
  font-weight: 800;
}

.field input,
.field select,
.field textarea,
.search-field input {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink);
  background: #fff;
  transition: border-color 160ms ease;
}

.field textarea {
  min-height: 100px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--ink);
  outline: none;
}

.field small,
.form-footnote {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.check-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
  cursor: pointer;
}

.check-field input {
  width: 17px;
  height: 17px;
  margin: 1px 0 0;
  accent-color: var(--ink);
}

.button {
  display: inline-flex;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 13px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 160ms ease,
    opacity 160ms ease;
}

.button:hover:not(:disabled) {
  transform: translateY(-2px);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.38;
}

.button--primary {
  color: var(--ink);
  background: var(--lime);
}

.button--dark {
  color: white;
  background: var(--ink);
}

.button--secondary {
  border-color: var(--line);
  background: var(--surface);
}

.button--danger {
  border-color: #e6b9b2;
  color: #9d493c;
  background: #fff4f2;
}

.button--toss {
  color: white;
  background: #3182f6;
}

.button--full {
  width: 100%;
}

.button--small {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 9px;
  font-size: 12px;
}

.demo-box {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.demo-box > div:first-child {
  display: flex;
  margin-bottom: 11px;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
}

.demo-box span {
  color: var(--muted);
}

.demo-buttons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.demo-buttons button {
  padding: 10px;
  border: 1px dashed #adb7b0;
  border-radius: 9px;
  color: var(--ink-2);
  font-size: 11px;
  font-weight: 800;
  background: #f7f7f2;
  cursor: pointer;
}

.form-footnote {
  margin: 18px 0 0;
  text-align: center;
}

.purchase-layout {
  display: grid;
  width: min(1180px, calc(100% - 40px));
  margin: 50px auto 110px;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: start;
  gap: 54px;
}

.page-heading {
  display: flex;
  margin-bottom: 54px;
  align-items: flex-start;
  gap: 18px;
}

.page-heading h1 {
  margin: 0;
  font-size: clamp(43px, 5vw, 68px);
  letter-spacing: -0.065em;
  line-height: 1.02;
}

.step-number {
  display: grid;
  width: 38px;
  height: 38px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  place-items: center;
  font-size: 10px;
  font-weight: 900;
}

.option-block + .option-block {
  margin-top: 54px;
}

.option-heading {
  margin-bottom: 18px;
}

.option-heading h2 {
  font-size: 19px;
}

.option-heading > span {
  color: var(--muted);
  font-size: 11px;
}

.time-options {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 9px;
}

.time-options button {
  min-height: 102px;
  padding: 14px 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  cursor: pointer;
}

.time-options strong,
.time-options span,
.time-options small {
  display: block;
}

.time-options strong {
  display: inline;
  font-size: 25px;
}

.time-options span {
  display: inline;
  margin-left: 2px;
  font-size: 11px;
}

.time-options small {
  margin-top: 10px;
  color: var(--muted);
  font-size: 10px;
}

.time-options button.is-selected {
  border-color: var(--ink);
  color: white;
  background: var(--ink);
}

.time-options button.is-selected small {
  color: var(--lime);
}

.preseat-note {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #4a7629 !important;
  font-weight: 800;
}

.order-card {
  position: sticky;
  top: 24px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.order-card h2 {
  margin-bottom: 32px;
  font-size: 28px;
  letter-spacing: -0.04em;
}

.order-card dl,
.access-card dl,
.capacity-panel dl {
  margin: 0;
}

.order-card dl > div,
.access-card dl > div,
.capacity-panel dl > div {
  display: flex;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
  justify-content: space-between;
}

.order-card dt,
.access-card dt,
.capacity-panel dt {
  color: var(--muted);
  font-size: 12px;
}

.order-card dd,
.access-card dd,
.capacity-panel dd {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
}

.order-total {
  display: flex;
  margin: 26px 0;
  align-items: flex-end;
  justify-content: space-between;
}

.order-total span {
  font-size: 12px;
  font-weight: 800;
}

.order-total strong {
  font-size: 25px;
  letter-spacing: -0.04em;
}

.payment-trust {
  display: flex;
  margin-top: 18px;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 8px;
}

.payment-trust span {
  color: #3182f6;
  font-weight: 900;
  letter-spacing: 0.07em;
}

.seat-select-layout {
  display: grid;
  width: min(1000px, calc(100% - 40px));
  margin: 60px auto 100px;
  grid-template-columns: 0.65fr 1.35fr;
  align-items: start;
  gap: 50px;
}

.lead-copy {
  color: var(--muted);
  line-height: 1.8;
}

.occupancy-panel--standalone {
  width: 100%;
  margin: 0;
}

.subscription-layout {
  width: min(1180px, calc(100% - 40px));
  margin: 46px auto 100px;
}

.subscription-intro {
  display: grid;
  margin-bottom: 60px;
  grid-template-columns: 1fr auto;
  align-items: end;
}

.subscription-intro > .section-kicker {
  grid-column: 1;
}

.subscription-intro h1 {
  grid-column: 1;
  margin: 0;
  font-size: clamp(42px, 5vw, 70px);
  letter-spacing: -0.065em;
  line-height: 1.05;
}

.step-track {
  display: flex;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-items: center;
  gap: 13px;
}

.step-track span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.step-track span b {
  display: grid;
  width: 25px;
  height: 25px;
  border: 1px solid var(--line);
  border-radius: 50%;
  place-items: center;
  font-size: 9px;
}

.step-track span.is-active {
  color: var(--ink);
}

.step-track span.is-active b {
  border-color: var(--ink);
  color: white;
  background: var(--ink);
}

.step-track > i {
  width: 38px;
  height: 1px;
  background: var(--line);
}

.subscription-content {
  padding: clamp(24px, 4vw, 50px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.plan-card {
  position: relative;
  display: flex;
  min-height: 180px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 15px;
  align-items: flex-start;
  flex-direction: column;
  text-align: left;
  background: white;
  cursor: pointer;
}

.plan-card .radio-mark {
  position: absolute;
  top: 17px;
  right: 17px;
  width: 16px;
  height: 16px;
  border: 1px solid #a6b0a9;
  border-radius: 50%;
}

.plan-card small {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 9px;
}

.plan-card strong {
  margin-bottom: 6px;
  font-size: 18px;
}

.plan-card > span:not(.radio-mark) {
  color: var(--muted);
  font-size: 10px;
}

.plan-card em {
  margin-top: auto;
  padding-top: 16px;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.plan-card.is-selected {
  border-color: var(--ink);
  color: white;
  background: var(--ink);
}

.plan-card.is-selected small,
.plan-card.is-selected > span:not(.radio-mark) {
  color: #adbbb6;
}

.plan-card.is-selected .radio-mark {
  border: 5px solid var(--lime);
  background: white;
}

.plan-card.is-selected em {
  color: var(--lime);
}

.split-options {
  display: grid;
  margin-top: 44px;
  grid-template-columns: repeat(2, 1fr);
  gap: 42px;
}

.segmented {
  display: grid;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 13px;
  grid-template-columns: repeat(2, 1fr);
  background: var(--paper-2);
}

.segmented button {
  min-height: 44px;
  border: 0;
  border-radius: 9px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
}

.segmented button.is-selected {
  color: var(--ink);
  font-weight: 800;
  background: white;
}

.switch-card {
  display: flex;
  min-height: 54px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 13px;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.switch-card input,
.automation-row > input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.switch {
  position: relative;
  display: inline-block;
  width: 38px;
  height: 22px;
  border-radius: 30px;
  background: #c7ccc8;
}

.switch > i {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: white;
  transition: transform 160ms ease;
}

.switch-card input:checked + .switch,
.automation-row > input:checked + .switch {
  background: var(--ink);
}

.switch-card input:checked + .switch > i,
.automation-row > input:checked + .switch > i {
  transform: translateX(16px);
}

.fixed-choice {
  margin-top: 44px;
}

.mobile-order-bar {
  display: flex;
  margin-top: 46px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  align-items: center;
  justify-content: flex-end;
  gap: 30px;
}

.mobile-order-bar > div {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.mobile-order-bar span {
  color: var(--muted);
  font-size: 11px;
}

.mobile-order-bar strong {
  font-size: 25px;
}

.text-button {
  padding: 0;
  border: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
  background: none;
  cursor: pointer;
}

.application-heading {
  margin-bottom: 34px;
}

.application-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.field--wide {
  grid-column: 1 / -1;
}

.application-summary {
  display: flex;
  margin-top: 12px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.application-summary > div {
  display: flex;
  align-items: baseline;
  gap: 15px;
}

.application-summary span {
  color: var(--muted);
  font-size: 12px;
}

.application-summary strong {
  font-size: 24px;
}

.modal-backdrop {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  padding: 20px;
  place-items: center;
  background: rgb(7 26 20 / 72%);
  backdrop-filter: blur(8px);
}

.payment-modal {
  position: relative;
  width: min(450px, 100%);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
}

.toss-wordmark {
  margin-bottom: 36px;
  color: #3182f6;
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.toss-wordmark strong {
  color: #5e6b7a;
}

.payment-modal h2 {
  margin-bottom: 28px;
  font-size: 27px;
  letter-spacing: -0.045em;
}

.payment-amount {
  display: flex;
  padding: 19px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  align-items: baseline;
  justify-content: space-between;
}

.payment-amount span {
  color: var(--muted);
  font-size: 12px;
}

.payment-amount strong {
  font-size: 23px;
}

.method-list {
  display: grid;
  margin: 24px 0;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.method-list label {
  display: grid;
  min-height: 95px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 10px;
  cursor: pointer;
}

.method-list input {
  position: absolute;
  opacity: 0;
}

.method-list label:has(input:checked) {
  border-color: #3182f6;
  box-shadow: inset 0 0 0 1px #3182f6;
}

.method-icon {
  display: grid;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  grid-row: 1 / span 2;
  place-items: center;
  color: white;
  font-size: 11px;
  font-weight: 900;
  background: #3182f6;
}

.method-list strong {
  align-self: end;
  font-size: 12px;
}

.method-list small {
  align-self: start;
  color: var(--muted);
  font-size: 9px;
}

.test-notice {
  display: flex;
  margin-bottom: 22px;
  padding: 14px;
  border-radius: 10px;
  flex-direction: column;
  gap: 4px;
  color: #405d50;
  background: #eef4ed;
}

.test-notice strong {
  font-size: 11px;
}

.test-notice span {
  font-size: 9px;
  line-height: 1.5;
}

.success-page {
  min-height: 100vh;
  color: white;
  background: var(--ink);
}

.success-page .brand-lockup,
.success-page .location-label {
  color: white;
}

.success-layout {
  display: flex;
  width: min(720px, calc(100% - 40px));
  min-height: calc(100vh - 78px);
  margin: 0 auto;
  padding: 60px 0 90px;
  align-items: center;
  flex-direction: column;
  text-align: center;
}

.success-ring {
  display: grid;
  width: 94px;
  height: 94px;
  margin: 0 auto 28px;
  border: 1px solid var(--lime);
  border-radius: 50%;
  place-items: center;
  color: var(--ink);
  background: var(--lime);
  box-shadow: 0 0 0 13px rgb(201 244 90 / 10%);
}

.success-visual .section-kicker {
  color: var(--lime);
}

.success-visual h1 {
  margin-bottom: 17px;
  font-size: clamp(38px, 6vw, 60px);
  letter-spacing: -0.06em;
}

.success-visual > p {
  color: #b3c2bc;
  line-height: 1.7;
}

.access-card {
  width: min(520px, 100%);
  margin: 34px auto 28px;
  padding: 27px;
  border-radius: var(--radius-lg);
  color: var(--ink);
  text-align: left;
  background: var(--surface);
  box-shadow: 0 30px 60px rgb(0 0 0 / 25%);
}

.access-card__top {
  display: flex;
  padding-bottom: 23px;
  border-bottom: 1px dashed #bec7c1;
  align-items: center;
  justify-content: space-between;
}

.access-card__top span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.access-card__top strong {
  font-size: 30px;
  letter-spacing: -0.05em;
}

.door-code {
  margin-top: 22px;
  padding: 19px;
  border-radius: 14px;
  background: var(--lime-2);
}

.door-code > span {
  display: block;
  margin-bottom: 7px;
  color: #506635;
  font-size: 9px;
  font-weight: 800;
}

.door-code > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.door-code strong {
  font-size: 34px;
  letter-spacing: 0.16em;
}

.door-code button {
  padding: 8px 12px;
  border: 1px solid #9ebc58;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 800;
  background: transparent;
  cursor: pointer;
}

.message-sent,
.access-muted {
  display: flex;
  margin-top: 18px;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 10px;
}

.access-muted {
  padding: 18px 0 3px;
}

.success-layout > .button {
  min-width: 180px;
}

.toast-root {
  position: fixed;
  z-index: 999;
  right: 24px;
  bottom: 24px;
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 9px;
  pointer-events: none;
}

.toast {
  max-width: min(400px, calc(100vw - 40px));
  padding: 13px 17px;
  border: 1px solid #50685e;
  border-radius: 11px;
  color: white;
  font-size: 12px;
  font-weight: 700;
  background: var(--ink);
  box-shadow: 0 15px 30px rgb(0 0 0 / 18%);
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 220ms ease,
    transform 220ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.toast--success {
  color: var(--ink);
  background: var(--lime);
}

.toast--error {
  border-color: #d88578;
  background: #9c4538;
}

/* Admin */
.admin-app {
  display: grid;
  min-height: 100vh;
  grid-template-columns: 244px minmax(0, 1fr);
  background: #eeeee9;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  display: flex;
  height: 100vh;
  padding: 28px 18px;
  flex-direction: column;
  color: #dfe9e4;
  background: var(--ink);
}

.admin-brand {
  display: flex;
  padding: 0 11px 34px;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  color: white;
}

.admin-brand small {
  width: 100%;
  margin: 2px 0 0 38px;
  color: #789087;
  font-size: 8px;
  letter-spacing: 0.16em;
}

.admin-sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.admin-sidebar nav button,
.sidebar-bottom > button {
  display: flex;
  min-height: 46px;
  padding: 0 14px;
  border: 0;
  border-radius: 11px;
  align-items: center;
  gap: 11px;
  color: #9eb0a9;
  text-align: left;
  background: transparent;
  cursor: pointer;
}

.admin-sidebar nav button:hover,
.admin-sidebar nav button.is-active {
  color: white;
  background: rgb(255 255 255 / 8%);
}

.admin-sidebar nav button.is-active::after {
  width: 7px;
  height: 7px;
  margin-left: auto;
  border-radius: 50%;
  background: var(--lime);
  content: "";
}

.admin-sidebar nav button span,
.sidebar-bottom > button {
  font-size: 12px;
  font-weight: 700;
}

.sidebar-bottom {
  margin-top: auto;
}

.office-chip {
  display: flex;
  margin-bottom: 12px;
  padding: 14px 10px;
  border-top: 1px solid rgb(255 255 255 / 10%);
  border-bottom: 1px solid rgb(255 255 255 / 10%);
  align-items: center;
  gap: 10px;
}

.office-chip strong,
.office-chip small {
  display: block;
}

.office-chip strong {
  margin-bottom: 3px;
  font-size: 10px;
}

.office-chip small {
  color: #82968e;
  font-size: 8px;
}

.admin-main {
  min-width: 0;
  padding: 36px clamp(22px, 4vw, 58px) 80px;
}

.admin-topbar {
  display: flex;
  margin-bottom: 34px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.admin-topbar h1 {
  margin-bottom: 6px;
  font-size: 34px;
  letter-spacing: -0.05em;
}

.admin-topbar > div:first-child > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.admin-profile {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-profile > span {
  display: grid;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  place-items: center;
  color: white;
  font-size: 10px;
  font-weight: 900;
  background: var(--ink);
}

.admin-profile strong,
.admin-profile small {
  display: block;
}

.admin-profile strong {
  font-size: 11px;
}

.admin-profile small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 8px;
}

.metric-grid {
  display: grid;
  margin-bottom: 18px;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 12px;
}

.metric-card {
  position: relative;
  min-height: 150px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid #dbdcd5;
  border-radius: var(--radius-md);
  background: var(--surface);
}

.metric-card > span {
  display: block;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
}

.metric-card > strong {
  font-size: 40px;
  letter-spacing: -0.06em;
}

.metric-card > strong small {
  margin-left: 4px;
  font-size: 12px;
}

.metric-card > p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 9px;
}

.metric-card--feature {
  border-color: var(--ink);
  color: white;
  background: var(--ink);
}

.metric-card--feature > span,
.metric-card--feature > p {
  color: #a9bab3;
}

.metric-card--feature > i {
  position: absolute;
  right: 22px;
  bottom: 24px;
  width: 58px;
  height: 58px;
  border: 8px solid rgb(255 255 255 / 11%);
  border-radius: 50%;
}

.metric-card--feature > i::after {
  position: absolute;
  inset: -8px;
  border: 8px solid var(--lime);
  border-radius: 50%;
  clip-path: inset(calc(100% - var(--value)) 0 0 0);
  content: "";
}

.admin-grid {
  display: grid;
  gap: 18px;
}

.admin-grid--overview {
  margin-bottom: 18px;
  grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.8fr);
}

.admin-panel {
  padding: 25px;
  border: 1px solid #dbdcd5;
  border-radius: var(--radius-md);
  background: var(--surface);
}

.panel-heading {
  margin-bottom: 22px;
  align-items: center;
}

.panel-heading h2 {
  font-size: 19px;
}

.panel-heading .section-kicker {
  margin-bottom: 6px;
  font-size: 8px;
}

.panel-actions {
  display: flex;
  gap: 7px;
}

.floor-panel .seat-map {
  max-width: none;
}

.floor-panel .seat {
  min-height: 55px;
}

.floor-panel .seat-grid {
  grid-template-columns: repeat(4, 1fr);
}

.panel-count {
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
}

.activity-list {
  display: flex;
  flex-direction: column;
}

.activity-item {
  display: grid;
  padding: 14px 0;
  border-bottom: 1px solid #e9e9e3;
  grid-template-columns: auto 1fr auto;
  align-items: start;
  gap: 10px;
}

.activity-item:last-child {
  border: 0;
}

.activity-item > span {
  display: grid;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  place-items: center;
  color: var(--ink);
  background: var(--lime-2);
}

.activity-item strong {
  display: block;
  margin-bottom: 3px;
  font-size: 9px;
}

.activity-item p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.activity-item time {
  color: #98a29c;
  font-size: 7px;
  white-space: nowrap;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 10px;
}

th {
  padding: 10px 12px;
  color: var(--muted);
  text-align: left;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.04em;
  background: #f4f4ef;
}

td {
  padding: 13px 12px;
  border-bottom: 1px solid #e9e9e3;
  vertical-align: middle;
}

td strong,
td small {
  display: block;
}

td small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 8px;
}

.table-seat {
  display: grid;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  place-items: center;
  color: white;
  font-weight: 900;
  background: var(--ink);
}

.status-tag,
.template-tag {
  display: inline-flex;
  padding: 5px 8px;
  border-radius: 6px;
  color: #336523;
  font-size: 8px;
  font-weight: 900;
  background: #e6f4dc;
}

.status-tag--time,
.status-tag--time_only {
  color: #6c521d;
  background: #fbf0d9;
}

.status-tag--suspended {
  color: #775b23;
  background: #f4e8c5;
}

.status-tag--cancelled {
  color: #944d42;
  background: #f8e3df;
}

.table-action,
.row-actions button {
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 8px;
  background: white;
  cursor: pointer;
}

.empty-cell {
  padding: 30px;
  color: var(--muted);
  text-align: center;
}

.admin-grid--messages {
  margin-bottom: 18px;
  grid-template-columns: 1.2fr 0.8fr;
}

.automation-list {
  display: flex;
  flex-direction: column;
}

.automation-row {
  position: relative;
  display: grid;
  padding: 14px 0;
  border-bottom: 1px solid #e8e9e3;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.automation-row > span {
  display: grid;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  place-items: center;
  background: #edf1ea;
}

.automation-row strong,
.automation-row small {
  display: block;
}

.automation-row strong {
  margin-bottom: 4px;
  font-size: 10px;
}

.automation-row small {
  color: var(--muted);
  font-size: 8px;
}

.template-tag {
  color: #3a5966;
  background: #e5eff1;
}

.content-cell {
  max-width: 360px;
  color: var(--muted);
}

.sent-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 6px;
  box-shadow: none;
}

.admin-toolbar {
  display: flex;
  margin-bottom: 16px;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.search-field {
  display: flex;
  width: min(360px, 100%);
  min-height: 42px;
  padding-left: 13px;
  border: 1px solid #dbdcd5;
  border-radius: 11px;
  align-items: center;
  background: var(--surface);
}

.search-field input {
  min-height: 40px;
  border: 0;
  background: transparent;
}

.search-field input:focus {
  outline: 0;
}

.admin-grid--members {
  grid-template-columns: minmax(0, 1fr) 290px;
  align-items: start;
}

.members-table-panel {
  min-width: 0;
}

.row-actions {
  display: flex;
  gap: 4px;
}

.add-member-panel {
  position: sticky;
  top: 24px;
}

.door-alert,
.danger-panel {
  display: flex;
  margin-bottom: 16px;
  padding: 18px 22px;
  border: 1px solid #d7dec8;
  border-radius: 14px;
  align-items: center;
  gap: 13px;
  color: #3f5639;
  background: #f2f7e8;
}

.door-alert strong,
.door-alert span,
.danger-panel strong,
.danger-panel span {
  display: block;
}

.door-alert strong,
.danger-panel strong {
  margin-bottom: 3px;
  font-size: 10px;
}

.door-alert span,
.danger-panel span {
  color: #6f816a;
  font-size: 9px;
}

.door-card-grid {
  display: grid;
  margin-bottom: 18px;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.door-admin-card {
  display: grid;
  padding: 26px;
  border: 1px solid #dbdcd5;
  border-radius: var(--radius-md);
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 15px;
  background: var(--surface);
}

.door-admin-card__icon {
  display: grid;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  place-items: center;
  background: var(--lime-2);
}

.door-admin-card__copy small {
  color: var(--muted);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.door-admin-card__copy h2 {
  margin: 4px 0 6px;
  font-size: 18px;
}

.door-admin-card__copy p {
  margin: 0;
  color: var(--muted);
  font-size: 9px;
}

.door-current {
  grid-column: 1 / -1;
  margin: 14px 0;
  padding: 18px;
  border-radius: 13px;
  background: var(--ink);
}

.door-current span,
.door-current strong,
.door-current small {
  display: block;
}

.door-current span {
  color: #9cb0a8;
  font-size: 8px;
}

.door-current strong {
  margin: 8px 0 4px;
  color: white;
  font-size: 34px;
  letter-spacing: 0.16em;
}

.door-current small {
  color: #829990;
  font-size: 8px;
}

.door-form {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 9px;
}

.door-form .button {
  min-height: 50px;
}

.code-cell {
  font-family: ui-monospace, monospace;
  letter-spacing: 0.12em;
}

.code-cell--new {
  color: #507d2d;
  font-weight: 900;
}

.settings-grid {
  display: grid;
  margin-bottom: 18px;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 18px;
}

.settings-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.settings-form .button {
  justify-self: start;
}

.capacity-panel {
  color: white;
  background: var(--ink);
}

.capacity-panel .section-kicker {
  color: var(--lime);
}

.capacity-panel h2 {
  font-size: 20px;
}

.capacity-orbit {
  display: flex;
  width: 170px;
  height: 170px;
  margin: 25px auto;
  border: 1px solid #536c62;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  box-shadow:
    0 0 0 12px rgb(255 255 255 / 3%),
    0 0 0 24px rgb(255 255 255 / 2%);
}

.capacity-orbit strong {
  color: var(--lime);
  font-size: 57px;
  line-height: 1;
}

.capacity-orbit span {
  margin-top: 6px;
  color: #a1b2ab;
  text-align: center;
  font-size: 8px;
}

.capacity-panel dl > div {
  border-color: rgb(255 255 255 / 12%);
}

.capacity-panel dt {
  color: #9caea7;
}

.danger-panel {
  margin: 0;
  border-color: #e3d3d0;
  justify-content: space-between;
  color: #65443f;
  background: #f9f3f1;
}

.admin-login-layout {
  display: grid;
  min-height: 100vh;
  grid-template-columns: 1.2fr 0.8fr;
}

.admin-login-brand {
  position: relative;
  display: flex;
  padding: clamp(40px, 8vw, 110px);
  overflow: hidden;
  justify-content: center;
  flex-direction: column;
  color: white;
  background: var(--ink);
}

.admin-login-brand::after {
  position: absolute;
  right: -140px;
  bottom: -140px;
  width: 430px;
  height: 430px;
  border: 1px solid rgb(201 244 90 / 22%);
  border-radius: 50%;
  box-shadow:
    0 0 0 65px rgb(201 244 90 / 3%),
    0 0 0 130px rgb(201 244 90 / 2%);
  content: "";
}

.admin-login-brand .brand-lockup {
  position: absolute;
  top: 40px;
  left: clamp(40px, 8vw, 110px);
}

.admin-login-brand .section-kicker {
  color: var(--lime);
}

.admin-login-brand h1 {
  max-width: 670px;
  margin-bottom: 26px;
  font-size: clamp(48px, 6vw, 84px);
  letter-spacing: -0.07em;
  line-height: 0.98;
}

.admin-login-brand > p {
  max-width: 500px;
  color: #aec0b9;
  line-height: 1.8;
}

.admin-login-stats {
  display: flex;
  margin-top: 45px;
  gap: 40px;
  color: #89a097;
  font-size: 10px;
  text-transform: uppercase;
}

.admin-login-stats b {
  margin-right: 7px;
  color: white;
  font-size: 20px;
}

.admin-login-card {
  position: relative;
  display: flex;
  padding: clamp(35px, 7vw, 100px);
  justify-content: center;
  flex-direction: column;
  background: var(--surface);
}

.admin-login-card h2 {
  margin-bottom: 32px;
  font-size: 34px;
  letter-spacing: -0.05em;
}

.admin-back {
  position: absolute;
  top: 34px;
  right: 38px;
  display: inline-flex;
  padding: 0;
  border: 0;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 10px;
  background: transparent;
  cursor: pointer;
}

.admin-back svg {
  transform: rotate(180deg);
}

.demo-credential {
  margin: 22px 0 0;
  color: var(--muted);
  text-align: center;
  font-size: 9px;
}

.demo-credential strong {
  color: var(--ink);
}

@media (max-width: 1050px) {
  .seat-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .auth-layout {
    gap: 45px;
  }

  .purchase-layout {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
  }

  .time-options {
    grid-template-columns: repeat(3, 1fr);
  }

  .plan-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .admin-grid--overview,
  .admin-grid--messages,
  .admin-grid--members,
  .settings-grid {
    grid-template-columns: 1fr;
  }

  .add-member-panel {
    position: static;
  }
}

@media (max-width: 820px) {
  .landing-hero {
    min-height: 360px;
    padding-top: 55px;
  }

  .auth-layout {
    grid-template-columns: 1fr;
  }

  .auth-intro {
    display: none;
  }

  .auth-card {
    width: min(480px, 100%);
    margin: 0 auto;
  }

  .purchase-layout {
    grid-template-columns: 1fr;
  }

  .order-card {
    position: static;
  }

  .seat-select-layout {
    grid-template-columns: 1fr;
  }

  .subscription-intro {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .step-track {
    grid-column: 1;
    grid-row: auto;
  }

  .door-card-grid {
    grid-template-columns: 1fr;
  }

  .admin-app {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: sticky;
    z-index: 30;
    top: 0;
    width: 100%;
    height: auto;
    padding: 11px 14px;
    flex-direction: row;
    align-items: center;
    overflow-x: auto;
  }

  .admin-brand {
    min-width: 145px;
    padding: 0 10px;
  }

  .admin-brand small,
  .sidebar-bottom {
    display: none;
  }

  .admin-sidebar nav {
    flex-direction: row;
  }

  .admin-sidebar nav button {
    min-width: max-content;
    padding: 0 11px;
  }

  .admin-sidebar nav button.is-active::after {
    display: none;
  }

  .admin-main {
    padding-top: 28px;
  }

  .admin-login-layout {
    grid-template-columns: 1fr;
  }

  .admin-login-brand {
    min-height: 42vh;
    padding-top: 100px;
  }

  .admin-login-card {
    min-height: 58vh;
  }
}

@media (max-width: 620px) {
  .user-header {
    width: calc(100% - 28px);
    min-height: 68px;
  }

  .location-label {
    display: none;
  }

  .landing-hero {
    width: calc(100% - 28px);
    min-height: 330px;
    padding: 58px 0 42px;
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    margin-bottom: 20px;
    font-size: 55px;
  }

  .hero-copy > p {
    font-size: 14px;
  }

  .hero-meta {
    margin-top: 40px;
    align-items: flex-start;
  }

  .occupancy-panel,
  .entry-section {
    width: calc(100% - 28px);
  }

  .occupancy-panel {
    margin-top: 40px;
    padding: 22px 16px;
    border-radius: 22px;
  }

  .section-heading {
    align-items: flex-start;
  }

  .section-heading h2 {
    font-size: 23px;
  }

  .availability strong {
    font-size: 34px;
  }

  .availability span {
    display: none;
  }

  .meter {
    margin: 20px 0 26px;
  }

  .seat-map {
    padding: 15px;
  }

  .seat-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .seat {
    min-height: 59px;
    padding: 10px 6px;
  }

  .seat__number {
    font-size: 12px;
  }

  .entry-section {
    margin: 64px auto;
  }

  .entry-cards {
    grid-template-columns: 1fr;
  }

  .entry-card {
    min-height: 170px;
    padding: 25px;
  }

  .entry-card__copy strong {
    font-size: 27px;
  }

  .landing-note {
    width: calc(100% - 28px);
    margin-bottom: 60px;
  }

  .user-footer {
    width: calc(100% - 28px);
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
    padding: 20px 0;
  }

  .auth-layout {
    width: calc(100% - 28px);
    padding-top: 28px;
  }

  .auth-card {
    padding: 25px 20px;
    border-radius: 22px;
  }

  .purchase-layout,
  .seat-select-layout,
  .subscription-layout {
    width: calc(100% - 28px);
    margin-top: 35px;
  }

  .page-heading {
    margin-bottom: 36px;
  }

  .page-heading h1 {
    font-size: 43px;
  }

  .time-options {
    grid-template-columns: repeat(3, 1fr);
  }

  .order-card {
    padding: 24px;
  }

  .subscription-intro {
    margin-bottom: 35px;
  }

  .subscription-intro h1 {
    font-size: 41px;
  }

  .step-track span {
    font-size: 9px;
  }

  .subscription-content {
    padding: 22px 16px;
  }

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

  .plan-card {
    min-height: 155px;
    padding: 16px;
  }

  .split-options,
  .application-form {
    grid-template-columns: 1fr;
  }

  .field--wide {
    grid-column: auto;
  }

  .mobile-order-bar,
  .application-summary {
    align-items: stretch;
    flex-direction: column;
  }

  .mobile-order-bar > div,
  .application-summary > div {
    justify-content: space-between;
  }

  .application-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .payment-modal {
    padding: 28px 20px 22px;
  }

  .success-layout {
    width: calc(100% - 28px);
    padding-top: 35px;
  }

  .access-card {
    padding: 22px 18px;
  }

  .admin-sidebar nav button span {
    display: none;
  }

  .admin-sidebar nav button {
    min-width: 43px;
    justify-content: center;
  }

  .admin-brand {
    min-width: 128px;
  }

  .admin-main {
    padding: 24px 14px 70px;
  }

  .admin-topbar {
    align-items: flex-start;
  }

  .admin-topbar h1 {
    font-size: 28px;
  }

  .admin-profile {
    display: none;
  }

  .metric-grid {
    grid-template-columns: 1fr 1fr;
  }

  .metric-card {
    min-height: 126px;
    padding: 18px;
  }

  .metric-card > strong {
    font-size: 32px;
  }

  .metric-card--feature {
    grid-column: 1 / -1;
  }

  .admin-panel {
    padding: 18px 14px;
  }

  .floor-panel .seat-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .panel-heading {
    align-items: flex-start;
  }

  .panel-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .admin-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .search-field {
    width: 100%;
  }

  .door-admin-card {
    padding: 20px 16px;
  }

  .door-form {
    grid-template-columns: 1fr;
  }

  .settings-form {
    grid-template-columns: 1fr;
  }

  .danger-panel {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-login-brand {
    min-height: 46vh;
    padding: 100px 24px 40px;
  }

  .admin-login-brand .brand-lockup {
    left: 24px;
  }

  .admin-login-brand h1 {
    font-size: 47px;
  }

  .admin-login-card {
    padding: 70px 24px 40px;
  }

  .admin-back {
    top: 24px;
    right: 24px;
  }

  .toast-root {
    right: 14px;
    bottom: 14px;
  }
}

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