@import url("https://fonts.googleapis.com/css2?family=Bodoni+Moda:opsz,wght@6..96,500;6..96,600&family=Montserrat:wght@400;500;600&family=Noto+Sans+KR:wght@400;500;600&display=swap");


:root {
  font-family: "Noto Sans KR", sans-serif;
  color: #20211f;
  background: #f7f4ed;
  font-synthesis: none;
  --brand-yellow: #e8d98f;
  --brand-blue: #9bb9ca;
  --ink: #20211f;
  --paper: #f7f4ed;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
}

input {
  font: inherit;
}

button {
  font: inherit;
}

.entry-page {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 100% 0%, rgba(155, 185, 202, 0.38), transparent 34%),
    radial-gradient(circle at 0% 100%, rgba(232, 217, 143, 0.46), transparent 37%),
    var(--paper);
  transition: background-color 320ms ease;
}

.entry-brand {
  position: absolute;
  top: 3.5rem;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  white-space: nowrap;
}

.brand-name {
  font-family: "Bauer Bodoni", "Bodoni Moda", "Times New Roman", serif;
  font-size: 2.85rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1;
}

.brand-caption {
  margin-top: 0.9rem;
  font-family: "Montserrat", sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.24em;
}

.number-entry {
  width: min(38rem, calc(100vw - 4rem));
  text-align: center;
  padding-top: 4rem;
}

.entry-label {
  display: block;
  margin-bottom: 2.75rem;
  font-size: clamp(2rem, 3.5vw, 2.9rem);
  font-weight: 500;
  letter-spacing: -0.04em;
}

.number-input {
  width: 100%;
  border: 0;
  border-bottom: 2px solid var(--ink);
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  padding: 0.65rem 1.25rem 1.5rem;
  text-align: center;
  font-family: "Montserrat", "Noto Sans KR", sans-serif;
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.number-input::placeholder {
  color: rgba(32, 33, 31, 0.2);
}

.number-input:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 4px 0 -2px var(--brand-yellow);
}

.keypad {
  width: min(25.5rem, 100%);
  margin: 2.75rem auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
}

.keypad-button {
  height: 4.9rem;
  border: 1px solid rgba(32, 33, 31, 0.14);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  color: var(--ink);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-family: "Montserrat", sans-serif;
  font-size: 1.7rem;
  font-weight: 500;
  transition:
    transform 120ms ease,
    background-color 120ms ease,
    border-color 120ms ease;
  aspect-ratio: 1;
  justify-self: center;
}

.keypad-button:hover {
  background: rgba(155, 185, 202, 0.3);
  border-color: var(--brand-blue);
}

.keypad-button:active {
  transform: scale(0.92);
  background: var(--brand-yellow);
}

.keypad-button:focus-visible {
  outline: 3px solid rgba(155, 185, 202, 0.5);
  outline-offset: 3px;
}

.keypad-action {
  border-color: transparent;
  background: transparent;
  font-family: "Noto Sans KR", sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
}

.delete-button {
  color: #4d504c;
}

.next-button {
  width: min(25.5rem, 100%);
  height: 3.8rem;
  margin-top: 1.5rem;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: white;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition:
    opacity 150ms ease,
    transform 150ms ease;
}

.next-button:active {
  transform: scale(0.98);
}

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

.next-button:focus-visible,
.back-button:focus-visible,
.confirm-button:focus-visible {
  outline: 3px solid rgba(155, 185, 202, 0.55);
  outline-offset: 3px;
}

.confirm-entry {
  width: min(42rem, calc(100vw - 4rem));
  padding-top: 3rem;
  text-align: center;
}

.confirm-kicker {
  color: #6e7b82;
  font-family: "Montserrat", sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.24em;
}

.confirm-title {
  margin-top: 1.5rem;
  font-size: clamp(2rem, 3.5vw, 2.9rem);
  font-weight: 500;
  letter-spacing: -0.04em;
}

.confirm-number {
  margin-top: 3.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid var(--ink);
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  letter-spacing: 0.08em;
}

.confirm-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
  margin-top: 2.5rem;
}

.back-button,
.confirm-button {
  height: 4.2rem;
  border: 1px solid rgba(32, 33, 31, 0.2);
  border-radius: 999px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
}

.back-button {
  background: rgba(255, 255, 255, 0.45);
  color: var(--ink);
}

.confirm-button {
  border-color: var(--brand-yellow);
  background: var(--brand-yellow);
  color: var(--ink);
}

@media (max-height: 600px) {
  .entry-brand {
    top: 1.5rem;
  }

  .number-entry {
    padding-top: 4rem;
  }

  .entry-label {
    margin-bottom: 1.25rem;
  }

  .keypad {
    margin-top: 1.25rem;
    gap: 0.4rem;
  }

  .keypad-button {
    height: 3rem;
  }

  .next-button {
    height: 3rem;
    margin-top: 0.75rem;
  }
}

/* Match the supplied Figma Make entry screen within the existing buildless app. */
:root{--sage:#20211f;--pale:#f1ead0;--line:#dedbd2;--muted:#777970}
body{background:radial-gradient(circle at 100% 0%,rgba(155,185,202,.2),transparent 36%),radial-gradient(circle at 0% 100%,rgba(232,217,143,.25),transparent 38%),var(--paper);background-attachment:fixed}
.entry-mode .topbar{display:none}
main.entry-page{max-width:none;margin:0;padding:0;min-height:100dvh}
.entry-demo{position:absolute;bottom:14px;right:22px;font-size:10px;color:#8a8b81;letter-spacing:.03em}
.number-input{min-height:0}
.brand{font-family:'Bodoni Moda','Times New Roman',serif;font-size:28px;font-weight:500;letter-spacing:.12em}
.brand small{font-family:Montserrat,sans-serif;font-weight:500;letter-spacing:.24em}
.topbar{border-bottom-color:rgba(32,33,31,.1)}
.demo{background:rgba(255,255,255,.45);color:#777970}
.primary,.secondary,.choice{border-radius:999px}
.choice.selected{background:#e8d98f;border-color:#d4c47b}
.service.selected{background:rgba(232,217,143,.25);border-color:#20211f}
.card,.service{background:rgba(255,255,255,.6);border-color:rgba(32,33,31,.12)}
.actions{background:rgba(247,244,237,.96)}
.progress .step.active{border-color:#20211f}
.progress .step.done{border-color:#9bb9ca;color:#5d717c}
.consent-text{background:rgba(247,244,237,.85)}
.signature-wrap{background:rgba(247,244,237,.7);border-color:#9bb9ca}
.complete-mark{background:#e8d98f;color:#20211f}
.number-input:focus-visible{outline:none}
.entry-page .confirm-title{line-height:1.4;margin-bottom:0}
@media (min-height:601px) and (max-height:900px){
  .entry-brand{top:2rem}
  .number-entry{padding-top:5rem}
  .entry-label{margin-bottom:1.5rem;font-size:2rem}
  .number-input{font-size:3rem;padding-bottom:1rem}
  .keypad{margin-top:1.5rem;gap:.65rem}
  .keypad-button{height:4rem;font-size:1.5rem}
  .keypad-action{font-size:.9rem}
  .next-button{height:3.4rem;margin-top:1.25rem}
}
@media(max-width:480px){
  .brand-name{font-size:2.2rem}
  .number-entry,.confirm-entry{width:calc(100vw - 3rem)}
  .number-input,.confirm-number{font-size:2.2rem;letter-spacing:.04em;padding-left:0;padding-right:0}
  .entry-label,.confirm-title{font-size:1.65rem}
}

.checklist-summary-row{padding:16px 0;border-bottom:1px solid var(--line)}
.checklist-summary-row:first-child{padding-top:0}
.checklist-summary-row:last-child{padding-bottom:0;border-bottom:0}
.checklist-summary-row small{display:block;color:var(--muted);font-size:13px;line-height:1.7;margin-bottom:8px}
.checklist-summary-row strong{font-weight:500;font-size:16px}
.review-tag{display:inline-block;font-size:11px;font-weight:400;background:var(--pale);border-radius:20px;padding:3px 10px;margin-left:12px}
/* Survey rows adapted from the supplied Figma Make reference. */
.survey-page{padding-top:24px}
.survey-page .progress{margin-bottom:20px}
.survey-header{display:flex;justify-content:space-between;align-items:flex-end;gap:16px}
.survey-header .eyebrow{color:#6e7b82;font-family:Montserrat,sans-serif;font-size:10px;letter-spacing:.24em;margin-bottom:8px}
.survey-header h1{font-size:28px;margin:0;line-height:1.4}
.survey-page-count{color:#6f756f;font-family:Montserrat,sans-serif;font-size:13px;letter-spacing:.1em;white-space:nowrap;padding-bottom:4px}
.survey-progress{height:5px;margin-top:16px;overflow:hidden;border-radius:999px;background:rgba(32,33,31,.09)}
.survey-progress span{display:block;height:100%;border-radius:inherit;background:#9bb9ca;transition:width .25s ease}
.survey-category{font-size:14px;color:#6f756f;font-weight:500;margin:16px 0 12px}
.survey-list{display:grid;gap:8px}
.survey-row{padding:12px 16px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:20px;align-items:center;border:1px solid rgba(32,33,31,.11);border-radius:14px;background:rgba(255,255,255,.5);scroll-margin-bottom:110px}
.survey-copy{margin:0;display:grid;grid-template-columns:40px 1fr;gap:10px;align-items:start}
.survey-copy>span{color:#6c8390;font-family:Montserrat,sans-serif;font-size:12px;font-weight:600;letter-spacing:.06em;padding-top:3px}
.survey-copy strong{font-size:14px;font-weight:500;line-height:1.55;overflow-wrap:anywhere}
.survey-answers{display:flex;gap:6px}
.survey-answer{min-width:64px;min-height:44px;padding:8px 11px;border:1px solid rgba(32,33,31,.13);border-radius:999px;background:transparent;color:#656b66;font-size:12px}
.survey-answer.selected{border-color:var(--sage);background:var(--sage);color:white}
.survey-row.missing{border-color:var(--error)}
.survey-missing{grid-column:1/-1;font-size:12px;color:var(--error)}
/* Demo existing-customer flow, kept separate from the reception screens. */
.existing-flow{width:min(44rem,calc(100vw - 4rem));margin:auto;padding:9rem 20px 32px;text-align:center;min-height:100dvh}
.existing-kicker{color:#6e7b82;font-family:Montserrat,sans-serif;font-size:11px;font-weight:600;letter-spacing:.24em;margin-bottom:18px}
.existing-flow h1{font-size:32px;line-height:1.45;margin-bottom:14px}
.existing-flow p{font-size:15px;line-height:1.7}
.existing-list{display:grid;gap:12px;margin-top:36px}
.existing-option,.existing-visit{width:100%;padding:18px 22px;display:grid;grid-template-columns:auto 1fr auto;gap:18px;align-items:center;border:1px solid rgba(32,33,31,.12);border-radius:18px;background:rgba(255,255,255,.55);color:var(--ink);text-align:left}
.existing-option.selected,.existing-visit.selected{border-color:#9bb9ca;background:rgba(155,185,202,.22)}
.existing-avatar{width:56px;height:56px;display:grid;place-items:center;border:1px solid rgba(32,33,31,.12);border-radius:50%;background:white;font-family:'Bodoni Moda',serif;font-size:24px;box-shadow:0 4px 12px rgba(32,33,31,.06)}
.existing-option.selected .existing-avatar{background:#e8d98f;border-color:#e8d98f;box-shadow:none}
.existing-option strong,.existing-visit strong{display:block;font-size:18px;font-weight:600}
.existing-option small{display:block;margin-top:5px;color:#777d78;font-family:Montserrat,sans-serif;font-size:14px;letter-spacing:.08em}
.existing-mark{width:29px;height:29px;display:grid;place-items:center;border:1px solid rgba(32,33,31,.22);border-radius:50%}
.selected .existing-mark{background:#20211f;border-color:#20211f}
.existing-mark img{filter:brightness(0) invert(1)}
.existing-stacked{width:min(26rem,100%);margin:28px auto 0}
.existing-stacked .confirm-button{width:100%}
.existing-text{padding:12px;border:0;background:transparent;color:#727873;font-size:14px;text-decoration:underline;text-underline-offset:4px;margin-top:12px}
.existing-visit{min-height:115px;padding:22px 24px;gap:20px;border-radius:20px}
.existing-number{color:#8b918c;font-family:'Bodoni Moda',serif;font-size:23px}
.existing-visit small{display:block;margin-top:7px;color:#7c827d;font-size:13px;line-height:1.5}
.existing-flow .confirm-actions{margin-top:24px}
@media(max-width:640px){.survey-row{grid-template-columns:1fr;gap:12px}.survey-answers{padding-left:50px}.survey-header h1{font-size:26px}.survey-page .progress{margin-bottom:24px}.existing-flow{width:calc(100vw - 2rem);padding:8rem 12px 24px}.existing-flow h1{font-size:26px}.existing-option,.existing-visit{padding:16px;gap:12px}.existing-avatar{width:44px;height:44px}.existing-option strong,.existing-visit strong{font-size:16px}.existing-option small{font-size:12px}}
