@import url("https://cdn.jsdelivr.net/gh/fonts-archive/Paperlogy/Paperlogy.css");

:root {
  --font-sans: "Paperlogy", "Inter", "Noto Sans KR", Arial, sans-serif;
  --bg: #fffdf8;
  --surface: #ffffff;
  --soft: #fff4d1;
  --brand: #ffff64;
  --text: #352315;
  --muted: #74685f;
  --line: #e6ded0;
  --accent: #412819;
  --accent-strong: #21150f;
  --cream: #e9dec8;
  --cream-light: #feefbd;
  --cream-mid: #ddd3bb;
  --sand: #c8b99f;
  --sand-soft: #f2eadc;
  --olive: #888561;
  --olive-bg: #f0ede3;
  --tan: #ba8e65;
  --naver: #03c75a;
  --kakao: #fee500;
  --kakao-text: #191919;
  --google: #4285f4;
  --google-text: #1f1f1f;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 400;
  letter-spacing: 0;
}

.embed-body {
  min-height: auto;
  background: transparent;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

a {
  color: inherit;
}

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

button {
  cursor: pointer;
}

.page {
  width: min(1240px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 18px 0 56px;
}

.site-nav {
  min-height: 58px;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 24px;
  padding: 0 18px;
  background: var(--brand);
  border: 1px solid #f4ef56;
}

.brand-mark {
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 26px;
  font-size: 0.9rem;
  font-weight: 600;
}

.nav-links a,
.nav-contact {
  text-decoration: none;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(53, 35, 21, 0.18);
  background: rgba(255, 255, 255, 0.48);
}

.language-switcher a {
  display: inline-flex;
  min-width: 34px;
  min-height: 28px;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  text-decoration: none;
}

.language-switcher a.active {
  background: var(--accent);
  color: #fff;
}

.nav-contact {
  font-size: 0.86rem;
  font-weight: 700;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(360px, 1.06fr);
  min-height: 680px;
  border: 1px solid var(--line);
  border-top: 0;
  background: var(--surface);
}

.intro-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 56px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero-title {
  margin: 0;
  color: var(--accent-strong);
  font-size: 5rem;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.lede,
.helper,
.summary-note {
  color: var(--muted);
  line-height: 1.75;
}

.helper {
  margin: 0;
  font-size: 0.92rem;
}

.lede {
  max-width: 34rem;
  margin: 28px 0 0;
  font-size: 1.05rem;
}

.intro-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 34px;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 700;
}

.intro-meta span {
  padding-bottom: 8px;
  border-bottom: 2px solid var(--brand);
}

.intro-visual {
  min-height: 520px;
  overflow: hidden;
}

.intro-visual img,
.summary-image img,
.embed-media img {
  height: 100%;
  object-fit: cover;
}

.login-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: 24px;
  align-items: stretch;
  padding: 52px 48px;
  border: 1px solid var(--line);
  border-top: 0;
  background: var(--surface);
}

.login-status-card,
.login-choice-card,
.terms-panel {
  border: 1px solid var(--line);
  background: #fffefb;
}

.login-status-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px;
}

.login-status-name {
  margin: 0 0 10px;
  color: var(--accent-strong);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  word-break: keep-all;
}

.login-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.login-choice-card {
  display: grid;
  align-content: start;
  gap: 16px;
  min-height: 270px;
  padding: 26px;
}

.login-choice-card h2 {
  margin: 0;
  color: var(--accent-strong);
  font-size: 1.8rem;
  line-height: 1.2;
}

.login-action-disabled {
  background: #e5dfd2;
  border-color: #d8cfbf;
  color: var(--muted);
}

.terms-panel {
  margin-top: 20px;
  padding: 0;
}

.terms-link-panel {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 20px 24px;
}

.gift-code-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(320px, 0.42fr);
  gap: 22px;
  align-items: end;
  padding: 24px;
}

.gift-code-copy h2 {
  margin: 6px 0 10px;
  color: var(--accent-strong);
  font-size: 1.7rem;
  line-height: 1.25;
}

.gift-code-form {
  display: grid;
  gap: 10px;
}

.gift-code-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: stretch;
}

.terms-panel summary {
  min-height: 56px;
  display: flex;
  align-items: center;
  padding: 0 24px;
  color: var(--accent);
  font-weight: 700;
  cursor: pointer;
}

.terms-content {
  padding: 0 24px 24px;
  color: var(--muted);
  line-height: 1.8;
}

.terms-content h2 {
  margin: 0 0 12px;
  color: var(--accent-strong);
  font-size: 1.15rem;
}

.terms-content p {
  margin: 0;
}

.terms-content p + p {
  margin-top: 12px;
}

.terms-document {
  padding: 42px;
  border: 1px solid var(--line);
  border-top: 0;
  background: var(--surface);
}

.terms-document h1 {
  margin: 0 0 28px;
  color: var(--accent-strong);
  font-size: clamp(2.1rem, 4vw, 3.8rem);
  line-height: 1.15;
}

.terms-document section {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.terms-document h2 {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 1.25rem;
}

.terms-document p {
  margin: 0;
  max-width: 70rem;
  color: var(--muted);
  line-height: 1.85;
}

.terms-document p + p {
  margin-top: 10px;
}

.booking-shell {
  margin-top: 28px;
}

.booking-summary h2 {
  margin: 0;
  color: var(--accent-strong);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0;
}

.booking-main,
.booking-summary {
  background: var(--surface);
  border: 1px solid var(--line);
}

.booking-main {
  padding: 30px;
}

.review-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: var(--soft);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.review-usage-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.usage-item {
  padding: 18px;
  border: 1px solid var(--line);
  background: #fffefb;
}

.usage-title {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 700;
}

.profile-info-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.profile-info-item {
  display: grid;
  gap: 8px;
}

.profile-info-title {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
}

.profile-info-title .usage-title {
  margin-bottom: 0;
}

.profile-info-title span {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  padding: 2px 7px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.profile-info-item strong {
  color: var(--accent-strong);
  font-size: 1rem;
  line-height: 1.4;
  word-break: break-word;
}

.review-card {
  border: 1px solid var(--line);
  background: #fffefb;
}

.field-label {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 700;
}

.booking-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  gap: 20px;
  align-items: start;
}

.login-panel {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  background: #fffefb;
}

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

.login-copy-complete {
  display: grid;
  gap: 4px;
}

.login-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.login-action {
  min-width: 146px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.login-action-naver {
  border-color: var(--naver);
  background: var(--naver);
}

.login-action-kakao {
  border-color: var(--kakao);
  background: var(--kakao);
  color: var(--kakao-text);
}

.login-action-google {
  border-color: rgba(66, 133, 244, 0.72);
  background: #fff;
  color: var(--google-text);
}

.login-action-muted {
  background: transparent;
  color: var(--accent);
}

.review-card {
  margin-top: 20px;
  padding: 22px;
}

.entry-code-fallback-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 14px;
}

.entry-code-fallback-actions[hidden] {
  display: none;
}

.review-card-head {
  align-items: center;
}

.pass-type-summary {
  display: grid;
  gap: 6px;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  background: #fff8e4;
}

.pass-type-summary strong {
  color: var(--accent-strong);
  font-size: 1.05rem;
  line-height: 1.35;
}

.pass-type-summary span {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.pass-history {
  display: grid;
  gap: 14px;
  margin-top: 20px;
  padding: 16px;
  border: 1px solid var(--line);
  background: #fffefb;
}

.pass-history[hidden] {
  display: none;
}

.pass-history-list {
  display: grid;
  gap: 10px;
}

.pass-history-item {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  background: #fff;
}

.pass-history-item-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}

.pass-history-item-head strong {
  color: var(--accent-strong);
}

.pass-history-item-head span {
  color: var(--muted);
  font-size: 0.84rem;
  overflow-wrap: anywhere;
}

.history-detail-list {
  display: grid;
  gap: 8px;
  margin: 0;
}

.history-detail-list div {
  display: grid;
  grid-template-columns: 0.62fr 1fr;
  gap: 12px;
}

.history-detail-list dt {
  color: var(--muted);
}

.history-detail-list dd {
  margin: 0;
  text-align: right;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.field-group + .field-group {
  margin-top: 28px;
}

.date-input,
.text-input,
.text-area {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  color: var(--text);
  padding: 14px 15px;
}

.date-input:focus,
.text-input:focus,
.text-area:focus,
.choice:focus,
.slot:focus,
.primary-action:focus,
.secondary-action:focus,
.login-action:focus {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.text-area {
  min-height: 120px;
  resize: vertical;
}

.focus-grid,
.time-grid {
  display: grid;
  gap: 10px;
}

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

.time-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.choice,
.slot {
  min-height: 74px;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 13px 12px;
  background: #fff;
  color: var(--text);
  text-align: left;
  transition: background 140ms ease, color 140ms ease, border-color 140ms ease;
}

.choice strong,
.slot strong {
  display: block;
  font-size: 1rem;
  line-height: 1.25;
}

.choice span,
.slot span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.choice.is-selected,
.slot.is-selected {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.choice.is-selected span,
.slot.is-selected span {
  color: rgba(255, 255, 255, 0.82);
}

.slot.is-disabled {
  background: #f2eee7;
  color: #9b8b7d;
  border-color: #e2d8ca;
  cursor: not-allowed;
}

.slot.is-recommended {
  border-color: var(--accent);
}

.availability-empty {
  display: grid;
  gap: 8px;
  grid-column: 1 / -1;
  padding: 18px;
  border: 1px solid var(--line);
  background: #fffefb;
}

.availability-empty strong {
  color: var(--accent-strong);
  font-size: 1.05rem;
}

.availability-empty span {
  color: var(--muted);
  line-height: 1.6;
}

.availability-next {
  width: fit-content;
  margin-top: 6px;
}

.guest-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.booking-summary {
  position: sticky;
  top: 18px;
  overflow: hidden;
}

.summary-image {
  height: 320px;
  background: var(--soft);
}

.summary-copy,
.booking-summary > .summary-actions {
  padding: 24px;
}

.summary-list {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
}

.summary-list div {
  display: grid;
  grid-template-columns: 0.7fr 1fr;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.summary-list dt {
  color: var(--muted);
}

.summary-list dd {
  margin: 0;
  text-align: right;
  font-weight: 700;
}

.summary-note {
  margin: 18px 0 0;
}

.summary-actions {
  display: grid;
  gap: 12px;
}

.booking-summary > .summary-actions {
  border-top: 1px solid var(--line);
}

.primary-action,
.secondary-action {
  width: 100%;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--accent);
  border-radius: 0;
  font-weight: 700;
  text-decoration: none;
}

.primary-action {
  background: var(--accent);
  color: #fff;
}

.secondary-action {
  background: transparent;
  color: var(--accent);
}

.status {
  min-height: 20px;
  margin: 0;
  color: var(--accent);
  font-size: 0.9rem;
}

.reservation-complete {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  background: #fffefb;
}

.reservation-complete[hidden] {
  display: none;
}

.flow-enabled .booking-summary > .legacy-summary-actions {
  display: none;
}

.booking-flow {
  display: grid;
  gap: 14px;
}

.booking-flow-nav {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 34px rgba(24, 21, 17, 0.045);
}

.booking-flow-step {
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.booking-flow-step.is-active {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.booking-flow-stage {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 12px 34px rgba(24, 21, 17, 0.055);
}

.booking-flow-stage[hidden] {
  display: none;
}

.booking-flow-stage-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-end;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.booking-flow-stage-head h2 {
  margin: 0;
  color: var(--accent-strong);
  font-size: clamp(1.7rem, 3vw, 2.8rem);
  line-height: 1.12;
}

.flow-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  gap: 12px;
}

.flow-pass-card,
.flow-recent-card,
.flow-payment-box {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcf8;
}

.flow-pass-card {
  background: #132923;
  color: #fff;
}

.flow-pass-card.is-gift {
  background: #7a553a;
}

.flow-pass-card.is-general {
  background: #24343f;
}

.flow-pass-type {
  margin: 0;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.flow-pass-card h3 {
  margin: 0;
  font-size: clamp(1.4rem, 2.4vw, 2.2rem);
  line-height: 1.14;
}

.flow-pass-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.flow-pass-stats span {
  display: grid;
  gap: 4px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.flow-pass-stats strong {
  font-size: 1.25rem;
}

.flow-pass-stats em {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  font-style: normal;
}

.flow-recent-row {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.flow-recent-row strong {
  color: var(--accent-strong);
  line-height: 1.35;
}

.flow-recent-row span {
  color: var(--muted);
  font-size: 0.88rem;
}

.flow-detail-list {
  display: grid;
  gap: 10px;
  margin: 0;
}

.flow-detail-list div {
  display: grid;
  grid-template-columns: minmax(120px, 0.62fr) minmax(0, 1fr);
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.flow-detail-list dt {
  color: var(--muted);
  font-weight: 700;
}

.flow-detail-list dd {
  margin: 0;
  color: var(--accent-strong);
  font-weight: 800;
  text-align: right;
  overflow-wrap: anywhere;
}

.flow-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.flow-bottom-action {
  margin-top: 4px;
}

.flow-inline-note {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid #d7dfd0;
  border-radius: 6px;
  background: #f3f8ef;
  color: #315843;
  font-weight: 700;
  line-height: 1.55;
}

.flow-payment-box > strong {
  color: var(--accent-strong);
  font-size: 1.35rem;
}

.flow-payment-box > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.flow-complete-body {
  display: grid;
  justify-items: center;
  gap: 12px;
  text-align: center;
}

.flow-check-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 2rem;
  font-weight: 900;
}

.booking-flow-stage .login-panel,
.booking-flow-stage .review-card,
.booking-flow-stage .field-group,
.booking-flow-stage .profile-info-card {
  box-shadow: none;
}

.complete-list {
  display: grid;
  gap: 10px;
  margin: 0;
}

.complete-list div {
  display: grid;
  grid-template-columns: 0.68fr 1fr;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.complete-list dt {
  color: var(--muted);
}

.complete-list dd {
  margin: 0;
  text-align: right;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.completion-actions {
  display: grid;
  gap: 10px;
}

.danger-action,
.text-action {
  width: 100%;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  font-weight: 700;
}

.danger-action {
  border: 1px solid #a33a26;
  background: #a33a26;
  color: #fff;
}

.text-action {
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
}

.embed-shell {
  width: min(100%, 1080px);
  margin: 0 auto;
  padding: 0;
}

.embed-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.62fr);
  gap: 18px;
  align-items: stretch;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.embed-copy {
  align-self: center;
}

.embed-copy h1 {
  margin: 0;
  color: var(--accent-strong);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: 0;
}

.embed-description {
  max-width: 34rem;
  margin: 16px 0 0;
}

.embed-media {
  min-height: 190px;
  overflow: hidden;
  background: var(--soft);
}

.embed-flow {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.embed-flow div {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: center;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: #fffefb;
}

.embed-flow span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--brand);
  color: var(--accent);
  font-weight: 700;
}

.embed-flow p {
  margin: 0;
  font-weight: 700;
}

.embed-actions {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.business-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: grid;
  gap: 6px;
  font-size: 0.92rem;
  line-height: 1.7;
  margin-top: 34px;
  padding: 22px 4px 8px;
}

.business-footer p {
  margin: 0;
}

.internal-page {
  display: grid;
  gap: 20px;
}

.internal-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-end;
  padding: 28px;
  border: 1px solid var(--line);
  background: #f5f8f3;
}

.internal-top .hero-title {
  margin: 0;
  font-size: clamp(2.3rem, 5vw, 4.4rem);
}

.internal-account {
  display: grid;
  justify-items: end;
  gap: 6px;
  min-width: 220px;
  color: #263c34;
}

.internal-account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.internal-account span {
  color: var(--muted);
  font-size: 0.9rem;
}

.internal-shell {
  align-items: start;
}

.internal-title {
  margin: 4px 0 18px;
  color: var(--accent-strong);
  font-size: 2rem;
  line-height: 1.18;
}

.internal-now-box {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  min-height: 64px;
  margin: 14px 0 18px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: #fffefb;
}

.internal-now-box span {
  color: var(--muted);
  font-weight: 700;
}

.internal-now-box strong {
  color: var(--accent-strong);
  font-size: 2rem;
  line-height: 1;
}

.login-action {
  max-width: 260px;
}

.compact-action {
  width: auto;
  min-height: 38px;
  padding: 0 14px;
  font-size: 0.9rem;
}

.split-actions {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.internal-slot-editor {
  display: grid;
  gap: 14px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.internal-slot-editor .field-group + .field-group {
  margin-top: 0;
}

.internal-form-action {
  display: flex;
  align-items: end;
}

.internal-slot {
  gap: 8px;
}

.internal-line {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  margin-left: 6px;
  padding: 2px 8px;
  border: 1px solid #cdd8d2;
  background: #f7faf8;
  color: #263c34;
  font-size: 0.82rem;
  font-weight: 700;
}

.status-badge.is-open {
  border-color: #e3d0a1;
  background: #fff9e8;
  color: #6b4a14;
}

.status-badge.is-done {
  border-color: #b8d7c4;
  background: #edf8f1;
  color: #1f5a38;
}

.internal-slot-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.internal-time-section + .internal-time-section {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.internal-staff-panel {
  margin-top: 22px;
}

.internal-staff-list {
  margin-top: 14px;
}

.internal-ops-panel {
  display: grid;
  gap: 12px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.internal-main-tabs {
  margin-top: 0;
  padding: 28px 0 22px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.internal-ops-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.internal-ops-tab {
  min-height: 64px;
  border: 1px solid var(--line);
  background: #fbfcf8;
  color: var(--accent);
  font-size: 1.12rem;
  font-weight: 800;
}

.internal-ops-tab.is-active {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.internal-ops-toolbar {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.internal-ops-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.internal-ops-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.internal-ops-item {
  display: grid;
  gap: 12px;
  background: #fbfcf8;
}

.internal-ops-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.internal-ops-head strong {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--accent-strong);
  font-size: 1.02rem;
  line-height: 1.35;
}

.internal-ops-details {
  margin: 0;
}

.internal-ops-actions {
  margin-top: 0;
}

.internal-cleaning-status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.internal-pass-remaining {
  display: flex;
  align-items: baseline;
  gap: 4px;
  padding: 12px 14px;
  border: 1px solid #dce3d7;
  background: #fffefb;
  color: var(--accent);
}

.internal-pass-remaining strong {
  font-size: 2rem;
  line-height: 1;
}

.internal-pass-remaining span {
  color: var(--muted);
  font-weight: 700;
}

.internal-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.internal-dashboard-card {
  display: grid;
  gap: 14px;
  min-height: 220px;
  padding: 30px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: inherit;
  text-decoration: none;
}

.internal-dashboard-card h2 {
  margin: 0;
  color: var(--accent-strong);
  font-size: 2rem;
  line-height: 1.2;
}

.internal-dashboard-card:hover {
  border-color: var(--accent);
  background: #fffefb;
}

/* Reservation program design layer */
:root {
  --bg: #f5f6f1;
  --surface: #ffffff;
  --soft: #eef5e9;
  --brand: #dcff3d;
  --text: #181511;
  --muted: #687064;
  --line: #d9dfd2;
  --accent: #193c34;
  --accent-strong: #101410;
  --naver: #03c75a;
  --clay: #9a573f;
  --sky: #dceaf2;
  --radius: 8px;
}

body {
  background: var(--bg);
}

.brand-mark,
.hero-title,
.eyebrow,
.field-label,
.booking-summary h2,
.internal-title,
.internal-dashboard-card h2,
.login-status-name,
.primary-action,
.secondary-action,
.login-action,
.danger-action,
.text-action,
.compact-action {
  font-family: var(--font-sans);
  letter-spacing: 0;
}

.hero-title,
.booking-summary h2,
.internal-title,
.internal-dashboard-card h2,
.login-status-name {
  font-weight: 800;
}

.field-label,
.primary-action,
.secondary-action,
.login-action,
.danger-action,
.text-action,
.compact-action {
  font-weight: 700;
}

.page {
  width: min(1360px, calc(100vw - 32px));
  padding: 16px 0 48px;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  border-color: #dfe5d6;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 28px rgba(24, 21, 17, 0.06);
}

.brand-mark {
  color: var(--accent-strong);
  letter-spacing: 0;
}

.nav-links,
.nav-contact {
  color: #3e493f;
}

.program-hero,
.program-gateway {
  overflow: hidden;
  margin-top: 14px;
  border: 1px solid #dae1d3;
  border-radius: var(--radius);
  background: #132923;
}

.program-hero {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.48fr);
  min-height: 260px;
  border-top: 1px solid #dae1d3;
}

.program-hero .intro-copy,
.program-gateway > div:first-child {
  padding: 34px 38px;
  background: #132923;
}

.program-hero .eyebrow,
.program-gateway .eyebrow {
  color: var(--brand);
}

.program-hero .hero-title,
.program-gateway .hero-title {
  color: #fff;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1.02;
}

.program-hero .lede,
.program-gateway .lede {
  max-width: 42rem;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.78);
}

.program-hero .intro-meta {
  margin-top: 24px;
  color: #fff;
}

.program-hero .intro-meta span {
  border-bottom-color: var(--brand);
}

.program-hero .intro-visual {
  min-height: 260px;
}

.program-hero .intro-visual img {
  filter: saturate(0.94) contrast(1.02);
}

.booking-shell {
  gap: 16px;
  margin-top: 16px;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.42fr);
}

.booking-main {
  display: grid;
  gap: 14px;
  padding: 0;
  border: 0;
  background: transparent;
}

.login-panel,
.review-card,
.booking-main > .field-group,
.profile-info-card,
.booking-summary,
.terms-panel,
.login-status-card,
.internal-top,
.internal-dashboard-card {
  border-color: var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 12px 34px rgba(24, 21, 17, 0.055);
}

.login-panel {
  padding: 18px 20px;
}

.review-card {
  margin-top: 0;
  padding: 22px;
}

.booking-main > .field-group {
  margin-top: 0;
  padding: 20px;
}

.field-group + .field-group {
  margin-top: 0;
}

.field-label {
  color: var(--accent);
  letter-spacing: 0;
}

.date-input,
.text-input,
.text-area {
  border-radius: 6px;
  border-color: #d6ddcf;
  background: #fbfcf8;
}

.date-input:focus,
.text-input:focus,
.text-area:focus,
.choice:focus,
.slot:focus,
.primary-action:focus,
.secondary-action:focus,
.login-action:focus,
.danger-action:focus {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.date-input:focus,
.date-input.is-selected {
  border-color: var(--sand);
  background: var(--sand-soft);
  color: var(--accent-strong);
}

.date-input:focus {
  outline-color: var(--sand);
}

.date-input::-webkit-calendar-picker-indicator {
  cursor: pointer;
  filter: sepia(0.35) saturate(0.9) hue-rotate(350deg);
}

.choice,
.slot,
.usage-item,
.pass-history-item,
.availability-empty,
.complete-list div,
.summary-list div,
.internal-now-box {
  border-radius: 6px;
}

.choice,
.slot {
  border-color: #d9dfd2;
  background: #fbfcf8;
}

.choice:hover,
.slot:hover {
  border-color: var(--accent);
}

.choice.is-selected,
.slot.is-selected {
  background: var(--accent);
  border-color: var(--accent);
}

.slot.is-recommended {
  border-color: var(--clay);
  box-shadow: inset 0 0 0 1px var(--clay);
}

.availability-empty {
  border-color: #cdd9cb;
  background: var(--soft);
}

.review-badge,
.pass-type-summary,
.status-badge.is-open {
  border-color: #dfd38f;
  background: #fff6c8;
}

.booking-summary {
  overflow: clip;
}

.summary-image {
  height: 220px;
}

.booking-summary h2,
.internal-title,
.internal-dashboard-card h2 {
  color: var(--accent-strong);
}

.primary-action,
.secondary-action,
.login-action,
.danger-action,
.text-action {
  border-radius: 6px;
}

.primary-action {
  background: var(--accent);
  border-color: var(--accent);
}

.secondary-action {
  background: #fbfcf8;
}

.login-action-naver {
  background: var(--naver);
  border-color: var(--naver);
}

.login-action-kakao {
  background: var(--kakao);
  border-color: var(--kakao);
  color: var(--kakao-text);
}

.login-action-google {
  background: #fff;
  border-color: rgba(66, 133, 244, 0.72);
  color: var(--google-text);
}

.program-gateway {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.38fr);
  padding: 0;
}

.program-gateway .login-status-card {
  margin: 20px;
  box-shadow: none;
}

.gift-code-panel {
  border-radius: var(--radius);
}

.general-reservation-note {
  display: grid;
  gap: 6px;
  padding: 16px;
  border: 1px solid var(--line);
  background: #fbfcf8;
}

.general-reservation-note strong {
  color: var(--accent-strong);
  font-size: 1rem;
}

.general-reservation-note span {
  color: var(--muted);
  line-height: 1.6;
}

.social-branch-panel,
.general-booking-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.44fr);
  gap: 18px;
  align-items: center;
}

.social-login-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}

.social-button {
  display: grid;
  gap: 6px;
  min-height: 116px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fbfcf8;
  color: var(--accent-strong);
  text-align: left;
  text-decoration: none;
}

.social-button span {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
}

.social-button strong {
  font-size: 1rem;
}

.social-button em {
  color: var(--muted);
  font-size: 0.82rem;
  font-style: normal;
  line-height: 1.45;
}

.social-button-naver {
  border-color: rgba(3, 199, 90, 0.45);
  background: #effbf4;
}

.social-button-naver span {
  background: var(--naver);
}

.social-button-kakao {
  border-color: rgba(254, 229, 0, 0.75);
  background: #fff9bf;
}

.social-button-kakao span {
  background: var(--kakao);
  color: var(--kakao-text);
}

.social-button-google {
  border-color: rgba(66, 133, 244, 0.38);
  background: #f7faff;
}

.social-button-google span {
  background: var(--google);
}

.social-button:disabled {
  opacity: 0.64;
}

.login-choice-actions {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.naver-login-page {
  --entry-bg: var(--cream);
  --entry-surface: #faf7f0;
  --entry-muted: #6b4e38;
  --entry-light: #9a8070;
  min-height: 100vh;
  background: var(--entry-bg);
}

.naver-login-page .site-nav {
  background: var(--accent);
  color: var(--cream);
  border: 0;
}

.naver-login-page .nav-links,
.naver-login-page .nav-contact {
  color: var(--cream-mid);
}

.sisu-entry-screen {
  display: grid;
  gap: 22px;
  width: min(760px, 100%);
  margin: 56px auto 0;
}

.entry-copy {
  display: grid;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
  text-align: center;
}

.entry-title {
  margin: 0;
  color: var(--accent);
  font-family: "DM Serif Display", var(--font-sans);
  font-size: clamp(3rem, 8vw, 5.4rem);
  font-weight: 400;
  line-height: 0.95;
  max-width: 100%;
  white-space: normal;
  word-break: normal;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.entry-lede {
  max-width: 32rem;
  margin: 0 auto;
  color: var(--entry-muted);
  font-size: 1rem;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.entry-panel {
  display: grid;
  gap: 18px;
  padding: clamp(20px, 4vw, 34px);
  background: var(--entry-surface);
}

.entry-block {
  display: grid;
  gap: 12px;
  padding: clamp(18px, 3vw, 28px);
  background: var(--cream-light);
}

.entry-block h2 {
  margin: 0;
  color: var(--accent);
  font-family: "DM Serif Display", var(--font-sans);
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 400;
  line-height: 1.12;
}

.entry-block .helper {
  margin: 0;
  color: var(--entry-muted);
  overflow-wrap: anywhere;
}

.entry-code-form {
  display: grid;
  gap: 10px;
}

.entry-code-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: stretch;
}

.entry-code-row .text-input {
  min-height: 52px;
  border: 0;
  border-radius: 0;
  background: var(--entry-surface);
}

.entry-code-row .primary-action,
.entry-sub-actions .secondary-action {
  min-height: 52px;
  border: 0;
  border-radius: 999px;
  white-space: nowrap;
}

.entry-code-row .primary-action {
  background: var(--accent);
  color: var(--cream);
  min-width: 126px;
  padding-inline: 18px;
  font-size: 0.92rem;
}

.entry-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--entry-light);
  font-size: 0.86rem;
}

.entry-divider::before,
.entry-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--cream-mid);
}

.compact-divider {
  margin: 4px 0;
  font-size: 0.72rem;
}

.social-entry-block {
  align-items: center;
  text-align: center;
}

.social-circle-row {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 5vw, 32px);
  flex-wrap: wrap;
}

.social-circle-link {
  display: grid;
  justify-items: center;
  gap: 6px;
  min-width: 82px;
  border: 0;
  background: transparent;
  color: var(--entry-muted);
  text-decoration: none;
}

.social-circle-link span {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-weight: 800;
  font-size: 1.15rem;
}

.social-circle-link strong {
  color: var(--accent);
  font-size: 0.92rem;
}

.social-circle-link em {
  color: var(--entry-light);
  font-size: 0.72rem;
  font-style: normal;
}

.social-circle-naver span {
  background: var(--naver);
}

.social-circle-kakao span {
  background: var(--kakao);
  color: var(--kakao-text);
}

.social-circle-google span {
  background: #fff;
  color: var(--google);
  border: 1px solid rgba(66, 133, 244, 0.5);
}

.social-circle-link:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.entry-account-chip {
  display: inline-flex;
  width: fit-content;
  gap: 8px;
  align-items: center;
  padding: 8px 12px;
  background: var(--olive-bg);
  color: var(--accent);
  font-size: 0.9rem;
}

.entry-account-chip span {
  color: var(--olive);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.entry-sub-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.entry-foot-links {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  color: var(--entry-muted);
  font-size: 0.9rem;
}

.entry-foot-links a {
  text-underline-offset: 3px;
}

.naver-login-page .business-footer {
  max-width: 1120px;
  margin: 38px auto 0;
}

@media (min-width: 960px) {
  .naver-login-page {
    width: min(100vw - 48px, 1280px);
    padding-bottom: 72px;
  }

  .sisu-entry-screen {
    width: min(1120px, 100%);
    min-height: calc(100vh - 190px);
    grid-template-columns: minmax(340px, 0.9fr) minmax(520px, 1.1fr);
    align-items: center;
    column-gap: clamp(42px, 6vw, 92px);
    margin-top: 42px;
  }

  .entry-copy {
    align-content: center;
    justify-items: start;
    text-align: left;
  }

  .entry-title {
    font-size: clamp(4.6rem, 6.2vw, 6.6rem);
    line-height: 0.92;
  }

  .entry-lede {
    max-width: 25rem;
    margin: 0;
    font-size: 1.08rem;
  }

  .entry-panel {
    padding: 34px;
  }

  .entry-block {
    padding: 30px;
  }

  .entry-block h2 {
    max-width: 32rem;
    font-size: 2.65rem;
  }

  .social-circle-link span {
    width: 62px;
    height: 62px;
    font-size: 1.25rem;
  }

  .entry-foot-links {
    grid-column: 2;
    justify-content: flex-start;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.booking-notice-card {
  display: grid;
  gap: 16px;
}

.notice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.notice-item {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fbfcf8;
}

.notice-item strong {
  color: var(--accent);
}

.notice-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.notice-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 14px 16px;
  border: 1px solid rgba(25, 60, 52, 0.18);
  border-radius: 6px;
  background: var(--soft);
  color: var(--accent-strong);
  font-weight: 700;
}

.notice-check input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--accent);
}

.payment-policy-card {
  display: grid;
  gap: 6px;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid rgba(154, 87, 63, 0.24);
  border-radius: 6px;
  background: #fff8ee;
}

.payment-policy-card strong {
  color: var(--clay);
}

.payment-policy-card span {
  color: var(--accent-strong);
  font-weight: 800;
}

.payment-policy-card small {
  color: var(--muted);
  line-height: 1.5;
}

.internal-page {
  width: min(1480px, calc(100vw - 32px));
}

.internal-top {
  align-items: center;
  padding: 24px 28px;
  background: #fff;
}

.internal-top .hero-title {
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.internal-shell {
  grid-template-columns: minmax(360px, 0.38fr) minmax(0, 1fr);
}

.owner-shell {
  grid-template-columns: minmax(380px, 0.42fr) minmax(0, 1fr);
}

.internal-shell .booking-main {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.internal-shell .booking-summary {
  position: static;
}

.internal-slot-list {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.internal-slot {
  background: #fbfcf8;
}

.internal-slot-actions {
  gap: 8px;
}

.internal-slot-editor {
  border-top-color: var(--line);
}

.internal-staff-bulk {
  display: grid;
  gap: 14px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.internal-staff-bulk .field-group + .field-group {
  margin-top: 0;
}

.compact-text-area {
  min-height: 132px;
}

.internal-staff-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px;
}

.internal-ops-list {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.internal-staff-item {
  background: #fbfcf8;
}

.internal-dashboard-grid {
  gap: 16px;
}

.internal-dashboard-card {
  min-height: 180px;
}

@media (max-width: 1024px) {
  .nav-links {
    gap: 16px;
  }

  .intro,
  .booking-shell,
  .login-hero,
  .login-choice-grid,
  .gift-code-panel,
  .profile-info-grid {
    grid-template-columns: 1fr;
  }

  .intro {
    min-height: auto;
  }

  .intro-copy {
    padding: 48px 34px;
  }

  .hero-title {
    font-size: 3.6rem;
  }

  .booking-summary {
    position: static;
  }

  .internal-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .internal-account {
    justify-items: start;
  }

  .internal-account-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .page {
    width: min(100vw - 20px, 1240px);
    padding-top: 10px;
  }

  .sisu-entry-screen {
    margin-top: 28px;
  }

  .entry-panel,
  .entry-block {
    padding: 18px;
  }

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

  .entry-code-row .primary-action {
    width: 100%;
    min-width: 0;
  }

  .entry-sub-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .site-nav {
    grid-template-columns: 1fr auto auto;
    gap: 10px;
  }

  .nav-links {
    display: none;
  }

  .language-switcher a {
    min-width: 30px;
    min-height: 28px;
    padding: 0 6px;
    font-size: 0.7rem;
  }

  .intro-copy,
  .login-hero,
  .booking-main,
  .summary-copy,
  .booking-summary > .summary-actions,
  .embed-panel {
    padding: 22px;
  }

  .intro-visual,
  .summary-image {
    min-height: 260px;
    height: 260px;
  }

  .hero-title {
    font-size: 2.55rem;
    line-height: 1.18;
  }

  .booking-summary h2 {
    font-size: 1.65rem;
  }

  .login-panel,
  .section-head {
    flex-direction: column;
    align-items: stretch;
  }

  .review-usage-grid,
  .focus-grid,
  .time-grid,
  .guest-fields,
    .gift-code-row,
    .terms-link-panel,
    .social-branch-panel,
    .general-booking-panel,
    .social-login-grid,
    .notice-grid,
    .embed-panel,
  .embed-flow,
  .embed-actions,
  .split-actions,
  .internal-dashboard-grid {
    grid-template-columns: 1fr;
  }

  .terms-link-panel {
    align-items: stretch;
    flex-direction: column;
  }

  .embed-copy h1 {
    font-size: 2.25rem;
  }
}

@media (max-width: 420px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .intro-copy,
  .login-hero,
  .booking-main,
  .summary-copy,
  .booking-summary > .summary-actions,
  .embed-panel {
    padding: 18px;
  }
}

/* Responsive polish layer for the reservation app and dashboards */
.program-hero .hero-title,
.program-gateway .hero-title {
  font-size: 4rem;
}

.internal-top .hero-title {
  font-size: 3.4rem;
}

.booking-main > .field-group,
.review-card,
.login-panel,
.internal-shell .booking-main,
.booking-summary,
.terms-panel {
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.booking-main > .field-group:hover,
.review-card:hover,
.login-panel:hover,
.internal-shell .booking-main:hover,
.booking-summary:hover,
.terms-panel:hover {
  border-color: #c7d1c0;
  box-shadow: 0 14px 38px rgba(24, 21, 17, 0.075);
}

.guest-fields {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.focus-grid,
.time-grid {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.review-usage-grid {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.profile-info-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.split-actions {
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.primary-action,
.secondary-action,
.login-action,
.danger-action,
.text-action,
.compact-action {
  min-width: 0;
  text-align: center;
  white-space: normal;
}

.internal-staff-bulk,
.internal-slot-editor {
  padding: 20px;
  border: 1px solid #dce3d7;
  border-radius: var(--radius);
  background: #fbfcf8;
}

.internal-staff-bulk {
  margin-top: 18px;
}

.internal-slot-editor {
  margin-top: 16px;
}

.internal-staff-bulk .section-head,
.internal-slot-editor .section-head {
  align-items: flex-start;
}

.internal-staff-list:empty {
  display: none;
}

.internal-slot-list {
  align-items: start;
}

.internal-slot {
  min-width: 0;
}

.internal-slot .usage-title,
.internal-line,
.helper,
.status {
  overflow-wrap: anywhere;
}

.internal-slot-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(126px, 1fr));
}

.internal-room-control {
  min-width: 126px;
}

.compact-select {
  min-height: 38px;
  padding: 8px 10px;
}

@media (max-width: 1280px) {
  .internal-page {
    width: min(100vw - 24px, 1180px);
  }

  .owner-shell,
  .internal-shell {
    grid-template-columns: 1fr;
  }

  .owner-shell .booking-summary,
  .internal-shell .booking-summary {
    position: static;
  }

  .internal-slot-list {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }
}

@media (max-width: 1120px) {
  .page {
    width: min(100vw - 24px, 1120px);
  }

  .program-hero,
  .program-gateway {
    grid-template-columns: 1fr;
  }

  .program-hero .intro-visual {
    max-height: 260px;
  }

  .booking-shell {
    grid-template-columns: 1fr;
  }

  .booking-summary {
    position: static;
  }

  .summary-image {
    height: 190px;
  }

  .program-hero .hero-title,
  .program-gateway .hero-title {
    font-size: 3.25rem;
  }
}

@media (max-width: 860px) {
  .page,
  .internal-page {
    width: min(100vw - 20px, 860px);
    padding-top: 10px;
  }

  .site-nav {
    min-height: 56px;
    padding: 0 14px;
  }

  .program-hero .intro-copy,
  .program-gateway > div:first-child,
  .program-gateway .login-status-card,
  .internal-top,
  .internal-shell .booking-main,
  .summary-copy,
  .booking-summary > .summary-actions,
  .login-panel,
  .review-card,
  .booking-main > .field-group,
  .terms-panel {
    padding: 18px;
  }

  .program-gateway .login-status-card {
    margin: 0 18px 18px;
  }

  .program-hero .hero-title,
  .program-gateway .hero-title {
    font-size: 2.7rem;
    line-height: 1.12;
  }

  .internal-top .hero-title {
    font-size: 2.5rem;
  }

  .login-panel,
  .terms-link-panel,
  .section-head {
    flex-direction: column;
    align-items: stretch;
  }

  .login-action {
    max-width: none;
    width: 100%;
  }

  .summary-list div,
  .complete-list div,
  .history-detail-list div,
  .flow-detail-list div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .summary-list dd,
  .complete-list dd,
  .history-detail-list dd,
  .flow-detail-list dd {
    text-align: left;
  }

  .booking-flow-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .booking-flow-stage,
  .flow-pass-card,
  .flow-recent-card,
  .flow-payment-box {
    padding: 16px;
  }

  .booking-flow-stage-head,
  .flow-actions,
  .flow-dashboard-grid {
    grid-template-columns: 1fr;
  }

  .booking-flow-stage-head {
    display: grid;
    align-items: start;
  }
}

@media (max-width: 560px) {
  .program-hero .intro-copy,
  .program-gateway > div:first-child,
  .internal-top,
  .internal-shell .booking-main,
  .summary-copy,
  .booking-summary > .summary-actions,
  .login-panel,
  .review-card,
  .booking-main > .field-group,
  .terms-panel,
  .internal-staff-bulk,
  .internal-slot-editor {
    padding: 16px;
  }

  .program-hero .hero-title,
  .program-gateway .hero-title {
    font-size: 2.25rem;
  }

  .internal-top .hero-title {
    font-size: 2.1rem;
  }

  .program-hero .intro-meta {
    gap: 8px 14px;
  }

  .program-hero .intro-meta span {
    font-size: 0.84rem;
  }

  .focus-grid,
  .time-grid,
  .guest-fields,
  .split-actions,
  .flow-actions,
  .flow-pass-stats,
  .internal-slot-actions,
  .internal-staff-list,
  .internal-ops-tabs,
  .internal-ops-search-row,
  .internal-ops-list,
  .internal-slot-list {
    grid-template-columns: 1fr;
  }

  .booking-flow-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .booking-flow-step {
    font-size: 0.8rem;
  }

  .summary-image {
    height: 170px;
  }

  .compact-action {
    width: 100%;
  }
}
