/* Public booking flow — the marketing site's quiet, typographic language.
   (Deliberately NOT portal.css: this is a customer surface.) */
:root {
  --paper: #faf8f3; --ink: #333c45; --sage: #c2bf8b; --lightblue: #bbd6e2;
  --line: #e4e0d5;
  /* ECW-1574: the redesign's tokens (same values as portal-page.css / the mockup). */
  --sage-deep: #a9a566; --sage-tint: #eef0e6; --green-ink: #6b6834; --hair: #e3e2d9;
  --danger: #8a3b2a; --muted-ink: #6f6a5d; --label-ink: #7c776a;
  --ok-bg: #e4eddb; --ok-line: #9bb486; --warn-bg: #fbf1d9; --warn-line: #dcc27e;
  --err-bg: #fbe9e5; --err-line: #d7a196; --open-line: #d9d8b8; --off-ink: #b3b0a6;
  --off-bg: #ecebe6;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink);
  font-family: "Raleway", system-ui, sans-serif; font-weight: 400;
  display: flex; flex-direction: column; min-height: 100vh; }
h1, h2 { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 500;
  letter-spacing: .01em; }
h1 { font-size: 1.9rem; margin: .4rem 0 .6rem; }
h2 { font-size: 1.3rem; margin: 1.2rem 0 .4rem; }
.bk-head { text-align: center; padding: 1.6rem 1rem .6rem; position: relative; }
.bk-head img { height: 54px; }
.bk-head .sub { font-size: .8rem; letter-spacing: .28em; text-transform: uppercase;
  color: #8a8577; margin-top: .5rem; }
.bk-lang { position: absolute; top: 1rem; right: 1rem; }
.bk-lang button { background: none; border: 1px solid var(--line); border-radius: 16px;
  padding: .25rem .8rem; font-size: .75rem; cursor: pointer; color: var(--ink); }
.bk-main { flex: 1; width: 100%; max-width: 640px; margin: 0 auto; padding: 1rem 1.2rem 3rem; }
.bk-foot { text-align: center; font-size: .75rem; color: #8a8577; padding: 1.4rem;
  border-top: 1px solid var(--line); }
.muted { color: #8a8577; }
.small { font-size: .8rem; }
.err { background: #fdecea; border-left: 3px solid #c0392b; padding: .6rem .9rem;
  border-radius: 4px; }

.bk-cat { margin-bottom: 1.5rem; }
.bk-svc { display: block; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; padding: 1rem 1.1rem; margin: .6rem 0; text-decoration: none;
  color: inherit; transition: border-color .15s; }
.bk-svc:hover { border-color: var(--sage); }
.bk-svc .nm { font-weight: 600; }
.bk-svc .meta { font-size: .8rem; color: #8a8577; margin-top: .15rem; }

form.bk-form label { display: block; margin: .9rem 0 .25rem; font-weight: 600;
  font-size: .9rem; }
form.bk-form input[type=text], form.bk-form input[type=email], form.bk-form input[type=tel],
form.bk-form input[type=number], form.bk-form select, form.bk-form textarea {
  width: 100%; padding: .6rem .7rem; border: 1px solid var(--line); border-radius: 8px;
  background: #fff; font: inherit; }
.bk-choices label { display: flex; gap: .5rem; align-items: baseline; font-weight: 400;
  margin: .3rem 0; }
.bk-days { display: flex; gap: .4rem; overflow-x: auto; padding: .4rem 0; }
.bk-days button { border: 1px solid var(--line); background: #fff; border-radius: 8px;
  padding: .45rem .6rem; cursor: pointer; white-space: nowrap; font: inherit;
  font-size: .8rem; }
.bk-days button.sel, .bk-days button:hover { border-color: var(--ink); }
.bk-slots { display: flex; flex-wrap: wrap; gap: .45rem; margin: .8rem 0; }
.bk-slots button, .bk-slots a { border: 1px solid var(--line); background: #fff;
  border-radius: 8px; padding: .5rem .8rem; cursor: pointer; font: inherit;
  font-size: .85rem; text-decoration: none; color: inherit; }
.bk-slots button:hover, .bk-slots a:hover { border-color: var(--sage);
  background: var(--sage); }
.bk-cta { display: inline-block; background: var(--ink); color: #fff; border: 0;
  border-radius: 24px; padding: .8rem 2rem; font: inherit; font-weight: 600;
  cursor: pointer; margin-top: 1rem; }
.bk-cta:disabled { opacity: .5; }
.bk-card { border: 1px solid var(--line); border-radius: 10px; background: #fff;
  padding: 1rem 1.1rem; margin: .7rem 0; }
.bk-card .when { font-weight: 600; }
.bk-ack { background: #fff; border: 1px solid var(--sage); border-radius: 10px;
  padding: .9rem 1rem; margin: 1rem 0; }
.bk-ack label { display: flex; gap: .6rem; font-weight: 500; align-items: flex-start; }
.bk-policy { font-size: .8rem; color: #6f6a5d; background: #fff;
  border: 1px solid var(--line); border-radius: 8px; padding: .8rem; max-height: 160px;
  overflow-y: auto; margin: .8rem 0; white-space: pre-wrap; }
.bk-actions { display: flex; gap: .6rem 1.2rem; flex-wrap: wrap; align-items: center;
  margin-top: 1rem; }
/* ECW-1574 A3: the button's own top margin pushed it below the link beside it. */
.bk-actions .bk-cta { margin-top: 0; }
.bk-link { color: var(--ink); }
.bk-progress { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
  color: #8a8577; }

/* ---- Client portal (/my/<token>/) ---------------------------------------------------- */
.cp-nav{display:flex;gap:1.1rem;flex-wrap:wrap;margin:0 0 1.4rem;padding-bottom:.7rem;
        border-bottom:1px solid rgba(0,0,0,.08)}
.cp-nav a{text-decoration:none;font-weight:500}
.cp-sale{padding:.9rem 0;border-bottom:1px solid rgba(0,0,0,.07)}
.cp-sale-head{display:flex;justify-content:space-between;align-items:baseline;gap:1rem}
.cp-sale-total{font-weight:600}
.cp-lines{list-style:none;margin:.5rem 0 0;padding:0}
.cp-lines li{display:flex;justify-content:space-between;gap:1rem;padding:.15rem 0;font-size:.94em}
.cp-credit{font-size:2.4rem;margin:.2rem 0 .1rem}
.cp-credit-none,.cp-err{padding:.8rem 1rem;border-radius:8px;background:rgba(0,0,0,.04)}
.cp-soon{margin-top:2rem;padding-top:1rem;border-top:1px solid rgba(0,0,0,.08)}
.cp-msg{padding:.7rem 0;border-bottom:1px solid rgba(0,0,0,.07)}
.cp-msg-out{opacity:.85}
.cp-upload{margin-top:.7rem}
.cp-or{display:flex;align-items:center;gap:.6rem;margin:1.1rem 0 .6rem;color:#9a9a90;font-size:.82rem}
.cp-or::before,.cp-or::after{content:"";flex:1;height:1px;background:rgba(0,0,0,.1)}

/* Staff read-only preview banner (workstream V) — staff must never mistake a preview
   for the customer's own session. */
.bk-preview-banner{background:var(--slate,#3d4f58);color:#fff;text-align:center;
  padding:.45rem .8rem;font-size:.85rem;letter-spacing:.04em;position:sticky;top:0;z-index:50}

/* ---- The terms ladder, fee consent + "your terms" (Batch 34–39) ----------------------
   Customer-facing, so this follows the MARKETING language (quiet, typographic), never
   portal.css. The fee panel is deliberately calm: this is a studio telling someone what
   a change costs, not a debt notice. */
.bk-notice{padding:.9rem 1.1rem;border-radius:10px;background:rgba(0,0,0,.035);
  margin:1.1rem 0;border-left:3px solid rgba(0,0,0,.12)}
.bk-notice p{margin:.35rem 0}
.bk-notice.bk-ok{background:rgba(140,168,120,.13);border-left-color:#7d9a68}
.bk-notice.bk-fee{background:rgba(194,191,139,.18);border-left-color:var(--sage,#c2bf8b)}
.bk-fee-amount{font-family:"Cormorant Garamond",Georgia,serif;font-size:2.6rem;
  line-height:1.1;margin:.1rem 0 .4rem}

.bk-terms-summary{margin:1.2rem 0}
.bk-quotes{list-style:none;margin:.4rem 0 0;padding:0}
.bk-quotes li{padding:.3rem 0;border-bottom:1px solid rgba(0,0,0,.06)}
.bk-quotes li:last-child{border-bottom:0}

.bk-change{display:flex;align-items:baseline;gap:.6rem;flex-wrap:wrap;margin-top:.3rem}
.bk-change .was{text-decoration:line-through;opacity:.55}
.bk-change .arrow{opacity:.5}

/* The consent checkbox. Big hit area on a phone — this is the single most important
   thing on the page, and a mis-tap here is a customer agreeing to a fee by accident. */
.bk-consent{margin-top:1.3rem}
.bk-check{display:flex;gap:.7rem;align-items:flex-start;padding:.9rem 1rem;
  border:1px solid rgba(0,0,0,.15);border-radius:10px;cursor:pointer;line-height:1.45}
.bk-check input{margin-top:.25rem;width:1.15rem;height:1.15rem;flex:0 0 auto}
.bk-check span{flex:1}

.bk-terms{margin-top:2rem;border-top:1px solid rgba(0,0,0,.08);padding-top:.9rem}
.bk-terms summary{cursor:pointer;font-weight:500}
.bk-terms[open] summary{margin-bottom:.7rem}
/* ECW-1574 finding 4: the no-fee-policy terms panel, and the link to it beside the consent box. */
.bk-terms-list{margin:.4rem 0 0;padding-left:1.1rem;line-height:1.55}
.bk-terms-list li{margin:.25rem 0}
.bk-terms-link{margin:.5rem 0 0}
.bk-policy-text{font-size:.94em;line-height:1.6;max-width:62ch}
.bk-hash{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.7rem;opacity:.6}

.bk-ladder{width:100%;border-collapse:collapse;margin:.6rem 0 1rem;font-size:.92em}
.bk-ladder th,.bk-ladder td{text-align:left;padding:.45rem .5rem;
  border-bottom:1px solid rgba(0,0,0,.08)}
.bk-ladder th{font-size:.72rem;text-transform:uppercase;letter-spacing:.06em;opacity:.65}
.bk-ladder tr.is-now td{background:rgba(194,191,139,.2);font-weight:500}

@media (max-width:520px){
  .bk-ladder{font-size:.86em}
  .bk-ladder th,.bk-ladder td{padding:.4rem .3rem}
  .bk-fee-amount{font-size:2.1rem}
}

/* ---- ECW-1574: "Manage this appointment" (move + cancel on one page) ------------------
   Mockup: ecw-workspace/mockups/customer-rebooking-mockup.html. Phone first; at ≥900px
   the page widens to 1180px and the calendar and times sit side by side. */
.bk-main.bk-wide{max-width:1180px}
.bk-eyebrow{text-transform:uppercase;letter-spacing:.2em;font-size:11px;font-weight:600;color:var(--green-ink)}
.bk-appt{background:#fff;border:1px solid var(--hair);border-radius:10px;padding:18px 20px;margin:0 0 18px}
.bk-appt-date{font-family:"Cormorant Garamond",Georgia,serif;font-weight:600;font-size:28px;line-height:1.15;margin:4px 0}
.bk-appt-meta{font-size:14.5px;margin:0}
.bk-appt-meta.bk-center{text-align:center;margin:0 0 16px}
.bk-appt-free{margin:10px 0 0;font-size:13.5px;padding-top:10px;border-top:1px solid var(--hair)}

.bk-banner{border-radius:10px;padding:14px 16px;margin:0 0 18px;font-size:14px;line-height:1.5}
.bk-banner p{margin:0 0 4px}
.bk-banner-warn{background:var(--warn-bg);border:1px solid var(--warn-line)}
.bk-banner-err{background:var(--err-bg);border:1px solid var(--err-line)}
.bk-btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 22px;
  border-radius:24px;background:var(--ink);color:#fff;text-decoration:none;font-weight:600;font-size:14px;
  border:1px solid var(--ink)}
.bk-btn-ghost{background:transparent;color:var(--ink)}

.bk-pick{background:#fff;border:1px solid var(--hair);border-radius:10px;padding:18px 16px 20px}
.bk-pick>h2{font-family:"Raleway",sans-serif;font-size:13px;font-weight:700;text-transform:uppercase;
  letter-spacing:.16em;color:var(--green-ink);margin:0 0 12px}
.bk-picker{display:flex;flex-direction:column;gap:18px}
.bk-cal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}
.bk-cal-month{font-family:"Cormorant Garamond",Georgia,serif;font-weight:600;font-size:22px}
.bk-cal-nav{width:44px;height:44px;border-radius:50%;border:1px solid var(--line);background:#fff;
  font-size:22px;color:var(--ink);line-height:1;cursor:pointer}
.bk-cal-nav:disabled{opacity:.35;cursor:default}
.bk-cal-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}
.bk-dow{text-align:center;font-size:10.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;
  color:var(--label-ink);padding:4px 0}
.bk-day{height:46px;border-radius:8px;border:1px solid transparent;background:none;font:inherit;
  font-size:15px;color:var(--ink);position:relative;padding:0}
.bk-day.bk-pad{display:block}
.bk-day.is-open{background:var(--sage-tint);border-color:var(--open-line);font-weight:600;cursor:pointer}
.bk-day.is-open::after{content:"";position:absolute;left:50%;bottom:6px;width:5px;height:5px;
  margin-left:-2.5px;border-radius:50%;background:var(--sage-deep)}
.bk-day.is-open:hover{border-color:var(--ink)}
.bk-day.is-off{color:var(--off-ink);text-decoration:line-through;text-decoration-color:rgba(0,0,0,.18)}
.bk-day.is-today{box-shadow:inset 0 0 0 2px var(--lightblue)}
.bk-day.is-mine{box-shadow:inset 0 0 0 2px var(--ink)}
.bk-day.sel{background:var(--ink);color:#fff;border-color:var(--ink)}
.bk-day.sel::after{background:#fff}
.bk-legend{display:flex;flex-wrap:wrap;gap:6px 14px;font-size:11.5px;color:var(--muted-ink);margin-top:10px}
.bk-lg{display:inline-block;width:12px;height:12px;border-radius:3px;margin-right:5px;vertical-align:-1px}
.bk-lg.is-open{background:var(--sage-tint);border:1px solid var(--open-line)}
.bk-lg.is-today{box-shadow:inset 0 0 0 2px var(--lightblue)}
.bk-lg.is-mine{box-shadow:inset 0 0 0 2px var(--ink)}
.bk-lg.is-off{background:var(--off-bg)}
.bk-times h2,.bk-times h3{font-weight:500;font-size:21px;margin:0 0 4px}
.bk-times .bk-slots button{min-height:44px}

.bk-cancel{margin:22px 0 0;padding:16px 4px 0;border-top:1px solid var(--line)}
.bk-cancel h3{font-family:"Raleway",sans-serif;font-size:14px;font-weight:600;margin:0 0 4px}
.bk-cancel p{font-size:13px;color:var(--muted-ink);margin:0 0 4px;max-width:70ch}
.bk-quiet{background:none;border:0;font:inherit;font-size:14px;font-weight:600;color:var(--danger);
  text-decoration:underline;text-underline-offset:3px;padding:10px 0;cursor:pointer}
.bk-back{margin:18px 0 0;font-size:14px}

.bk-was-new{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid var(--hair);
  border-radius:10px;padding:16px 18px;margin-bottom:10px}
.bk-k{font-size:10.5px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--label-ink)}
.bk-v{font-family:"Cormorant Garamond",Georgia,serif;font-weight:600;font-size:22px;line-height:1.2}
.bk-was{text-decoration:line-through;opacity:.55}
.bk-arrow{font-size:22px;opacity:.5}
.bk-cta.bk-danger{background:var(--danger)}

@media (min-width:900px){
  .bk-main.bk-wide{padding:2rem 2.5rem 3rem}
  .bk-pick{padding:26px 30px 28px}
  .bk-picker{flex-direction:row;gap:36px;align-items:flex-start}
  .bk-cal{flex:0 0 440px}
  .bk-times{flex:1;border-left:1px solid var(--hair);padding-left:36px;min-height:360px}
  .bk-day{height:52px}
  .bk-was-new{justify-content:center;gap:40px;padding:24px}
  .bk-v{font-size:30px}
}

/* ECW-2115: site navigation on the account, /myaccount and booking pages */
.bk-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .35rem 1.1rem;
  margin-top: .8rem; font-size: .8rem; letter-spacing: .06em; }
.bk-nav a, .bk-foot-links a, .bk-foot-links .link-btn { color: var(--ink); text-decoration: none; }
.bk-nav a:hover, .bk-foot-links a:hover, .bk-foot-links .link-btn:hover { text-decoration: underline; }
.bk-foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .35rem 1rem;
  margin-bottom: .8rem; font-size: .8rem; }
.bk-foot-links .link-btn { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
/* the customer "Spotted a problem?" form (copied from marketing/css/base.css) */
#ecw-fb-open{cursor:pointer}
.ecw-fb-modal{position:fixed;inset:0;z-index:9999;background:rgba(51,60,69,.55);
  display:flex;align-items:center;justify-content:center;padding:1rem}
.ecw-fb-modal[hidden]{display:none}
.ecw-fb-card{background:#fff;max-width:30rem;width:100%;border-radius:12px;padding:1.4rem 1.5rem;
  position:relative;box-shadow:0 12px 40px rgba(0,0,0,.25)}
.ecw-fb-card h3{margin:.1rem 0 .3rem}
.ecw-fb-sub{font-size:.85rem;color:#5b6671;margin:0 0 .9rem}
.ecw-fb-card textarea,.ecw-fb-card input[type=text],.ecw-fb-card input[type=email]{
  width:100%;margin:.3rem 0;padding:.55rem .65rem;border:1px solid #ccd2d8;border-radius:8px;font:inherit}
.ecw-fb-send{margin-top:.6rem;background:#333c45;color:#fff;border:0;border-radius:8px;
  padding:.6rem 1.1rem;font-weight:600;cursor:pointer}
.ecw-fb-x{position:absolute;top:.5rem;right:.7rem;background:none;border:0;font-size:1.5rem;
  line-height:1;cursor:pointer;color:#5b6671}
.ecw-fb-msg{color:#a3261f;font-size:.85rem;margin:.5rem 0 0}
.ecw-fb-thanks{font-size:1.05rem;margin:.4rem 0;text-align:center}

.ecw-fb-ts{margin:.5rem 0}
