:root {
  --porcelain: #F6F6F3;
  --ink: #1E1E2B;
  --ink-soft: rgba(30, 30, 43, 0.62);
  --ink-faint: rgba(30, 30, 43, 0.64);
  --jade: #2E7D5B;
  --jade-deep: #226347;
  --pistachio-soft: #E7F0E9;
  --line: #E9E5DA;
  --red: #B3402A;
  --red-bg: #F8E3DC;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--porcelain); color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
.site-head { display: flex; justify-content: space-between; align-items: center;
  padding: 18px 22px; max-width: 760px; margin: 0 auto; }
.brand { font-weight: 800; letter-spacing: 0.14em; font-size: 17px; }
.brand span { color: var(--jade); letter-spacing: 0.02em; font-weight: 600; }
.head-link { color: var(--ink-soft); text-decoration: none; font-size: 14px; }
.wrap { max-width: 760px; margin: 0 auto; padding: 6px 16px 60px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 28px 26px; box-shadow: 0 10px 30px rgba(122, 84, 48, 0.07); }
h1 { font-size: 27px; margin: 0 0 8px; }
.lede { color: var(--ink-soft); line-height: 1.55; margin: 0 0 14px; font-size: 15.5px; }
.fineprint { color: var(--ink-faint); font-size: 13px; margin-top: 16px; text-align: center; }
.hidden { display: none !important; }
.loading { color: var(--ink-soft); }
.branch-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 6px 0 8px; }
.branch-opt { border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 10px;
  text-align: center; cursor: pointer; font-weight: 600; font-size: 15px; background: #fff; }
.branch-opt.sel { border-color: var(--jade); background: var(--pistachio-soft); color: var(--jade-deep); }
.field { margin: 18px 0 0; }
.field label.q { display: block; font-weight: 600; font-size: 15px; margin-bottom: 7px; }
.field .req { color: var(--red); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"],
.field input[type="date"], .field input[type="number"], .field textarea {
  width: 100%; padding: 12px 13px; border: 1px solid var(--line); border-radius: 10px;
  font-size: 16px; background: #fff; color: var(--ink); font-family: inherit; }
.field textarea { min-height: 74px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--jade); outline-offset: 0; border-color: var(--jade); }
.pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pill { border: 1.5px solid var(--line); border-radius: 999px; padding: 8px 16px; cursor: pointer;
  font-size: 14.5px; background: #fff; user-select: none; min-height: 40px; font-family: inherit; }
.pill.sel { border-color: var(--jade); background: var(--pistachio-soft); color: var(--jade-deep); font-weight: 600; }
.checks { display: grid; gap: 8px; }
.check { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--line);
  border-radius: 10px; padding: 11px 12px; cursor: pointer; font-size: 15px; }
.check input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--jade); flex: none; }
.followup { margin: 8px 0 2px 28px; }
.followup .q { font-size: 14px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bmi-line { font-size: 14px; color: var(--jade-deep); margin-top: 8px; font-weight: 600; min-height: 18px; }
.text-block { background: var(--pistachio-soft); border-radius: 12px; padding: 14px 16px;
  line-height: 1.55; font-size: 14.5px; color: var(--ink); }
canvas.sig { width: 100%; height: 150px; border: 1.5px dashed var(--ink-faint);
  border-radius: 10px; background: #fff; touch-action: none; display: block; }
.sig-row { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; }
.sig-row button { background: none; border: none; color: var(--jade-deep); font-size: 14px; cursor: pointer; padding: 10px 8px; }
.file-note { font-size: 13px; color: var(--ink-soft); margin-top: 6px; }
.ts-box { margin: 22px 0 4px; display: flex; justify-content: center; }
.error { background: var(--red-bg); color: var(--red); border-radius: 10px;
  padding: 12px 14px; font-size: 14.5px; margin-top: 14px; line-height: 1.45; }
.submit { width: 100%; margin-top: 18px; background: var(--jade); color: #fff; border: none;
  border-radius: 12px; padding: 15px; font-size: 17px; font-weight: 700; cursor: pointer; }
.submit:hover { background: var(--jade-deep); }
.submit:disabled { opacity: 0.55; cursor: default; }
@media (max-width: 560px) {
  .branch-row { grid-template-columns: 1fr; }
  .card { padding: 22px 18px; }
}

/* Done-card booking step (Deploy32) */
.book-h { font-size: 21px; margin: 22px 0 6px; }
.notice { background: var(--pistachio-soft); color: var(--jade-deep); border-radius: 10px;
  padding: 12px 14px; font-size: 14.5px; margin-top: 14px; line-height: 1.45; }
.day { margin-top: 18px; }
.day h3 { font-size: 16px; margin: 0 0 9px; }
.slots { display: flex; flex-wrap: wrap; gap: 8px; }
.slot { border: 1.5px solid var(--line); background: #fff; border-radius: 999px;
  padding: 9px 15px; font-size: 14.5px; cursor: pointer; font-family: inherit; }
.slot:hover { border-color: var(--jade); }
.slot.sel { border-color: var(--jade); background: var(--pistachio-soft);
  color: var(--jade-deep); font-weight: 700; }
.brand-logo { height: 46px; width: auto; display: block; }

.field-missing { outline: 2px solid #b3261e; outline-offset: 3px; border-radius: 10px; }
.draft-note { background: #eef6f1; border: 1px solid #cfe3d6; color: #20503c;
  border-radius: 10px; padding: 9px 12px; font-size: 14px; margin-bottom: 14px; }
.intake-progress { height: 6px; background: #e8e4da; border-radius: 99px;
  overflow: hidden; margin-bottom: 14px; }
#ipFill { height: 100%; width: 0; background: #2e7d6b; transition: width .25s ease; }

:focus-visible { outline: 2px solid var(--jade); outline-offset: 2px; }
button.branch-opt { font-family: inherit; text-align: left; appearance: none; }
.done-book .slot, .slot { min-height: 40px; }
