/* Akanxa Multibook: booking form. Mobile first; the side panel appears from 900px. */
.amb {
  --amb-ink: #22272e;
  --amb-muted: #7b8088;
  --amb-faint: #a4a8ae;
  --amb-line: #ececea;
  --amb-soft: #f8f6f4;
  --amb-blush: #f6ebe7;
  --amb-accent: #5d7466;
  --amb-accent-dark: #4a5e52;
  --amb-accent-soft: #eef2ef;
  --amb-radius: 10px;
  --amb-gutter: 0px; /* side padding the form gives itself when it spans the screen (phones) */
  max-width: 980px;
  margin: 0 auto;
  color: var(--amb-ink);
  font-family: Jost, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0;
  text-align: left;
  -webkit-font-smoothing: antialiased;
}
.amb, .amb *, .amb *::before, .amb *::after { box-sizing: border-box; }
body .amb input { box-sizing: border-box; max-width: 100%; }
/* Phones: the form spans the screen, but sits in a softly framed card with a little air around it. */
.amb.amb--bleed { --amb-gutter: 16px; max-width: none; padding: 0 10px; }
.amb.amb--bleed .amb-card { border: 1px solid var(--amb-line); border-radius: 16px; padding: 18px var(--amb-gutter) 0; box-shadow: 0 1px 2px rgba(34, 39, 46, .04), 0 10px 30px rgba(34, 39, 46, .07); overflow: clip; }
.amb.amb--bleed .amb-foot { border-radius: 0 0 16px 16px; }
.amb.amb--bleed .amb-card--done { padding-bottom: 22px; }
.amb.amb--bleed .amb-loading { padding: 70px 0; }
/* "body .amb" so this outranks theme rules such as "body .story h2" while staying below the component rules. */
body .amb h2, body .amb h3, body .amb h4, body .amb p, body .amb ul, body .amb ol, body .amb dl, body .amb dd, body .amb dt { margin: 0; padding: 0; font-family: inherit; font-size: inherit; font-weight: inherit; line-height: inherit; letter-spacing: 0; text-transform: none; color: inherit; }
.amb :where(ul, ol) { list-style: none; }
.amb :where(li) { margin: 0; padding: 0; }
.amb :where(label) { margin: 0; font-size: inherit; font-weight: inherit; color: inherit; }
.amb button { font-family: inherit; font-size: inherit; font-weight: inherit; line-height: inherit; letter-spacing: 0; text-transform: none; color: inherit; cursor: pointer; box-shadow: none; margin: 0; min-height: 0; }
.amb button:disabled { cursor: default; }

/* ----- card ----- */
.amb-card { background: #fff; border-radius: 0; }
.amb-side { display: none; }
.amb-body { display: flex; flex-direction: column; min-width: 0; }
.amb-head { padding: 4px 0 14px; }
.amb-headrow { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.amb-progress { display: flex; align-items: center; gap: 12px; margin: 10px 0; }
.amb-progress-text { font-size: 12px; font-weight: 500; color: var(--amb-muted); white-space: nowrap; }
.amb-progress-bar { flex: 1; display: flex; gap: 4px; }
.amb-progress-bar i { flex: 1; height: 3px; border-radius: 2px; background: var(--amb-line); }
.amb-progress-bar i.is-on { background: var(--amb-accent); }
.amb .amb-title { font-size: 20px; font-weight: 600; line-height: 1.25; }
.amb .amb-lead { font-size: 14px; color: var(--amb-muted); margin-top: 4px; }
.amb-head .amb-progress + .amb-lead { margin-top: 0; }
.amb-content { padding-bottom: 20px; min-height: 240px; }
.amb-content.is-entering > * { animation: amb-rise .28s ease both; }
@keyframes amb-rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.amb .amb-notice { background: #fdf0ef; color: #8f1d15; border-radius: 8px; padding: 10px 12px; font-size: 14px; margin-bottom: 12px; }
.amb .amb-empty { color: var(--amb-muted); font-size: 14px; padding: 28px 0; text-align: center; }

/* ----- form title (shown where there is no side panel) and "Need help?" ----- */
.amb-help { display: flex; flex-direction: column; gap: 4px; margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(34, 39, 46, .1); font-size: 13.5px; }
.amb-help-title { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--amb-muted); }
.amb-help-links { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.amb .amb-help a { color: var(--amb-accent-dark); font-weight: 500; text-decoration: none; }
.amb .amb-help a:hover { text-decoration: underline; }
.amb-help-address { color: var(--amb-muted); }
.amb-help.is-compact { flex-direction: row; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 4px 14px; margin-top: 14px; padding: 0 6px; border-top: 0; text-align: center; }
.amb-help.is-compact .amb-help-address { flex: 1 1 100%; }
.amb.amb--wide .amb-help.is-compact { display: none; }

/* ----- footer bar ----- */
.amb-foot { position: sticky; bottom: 0; z-index: 5; margin: 0 calc(var(--amb-gutter) * -1); background: #fff; border-top: 1px solid var(--amb-line); box-shadow: 0 -6px 20px rgba(34, 39, 46, .06); }
.amb-foot-row { display: flex; align-items: center; gap: 10px; padding: 10px var(--amb-gutter) calc(10px + env(safe-area-inset-bottom, 0px)); }
.amb .amb-back { flex: none; width: 44px; height: 44px; padding: 0; border: 1px solid var(--amb-line); border-radius: var(--amb-radius); background: #fff; position: relative; }
.amb .amb-back::before { content: ""; position: absolute; left: 18px; top: 16px; width: 9px; height: 9px; border: solid var(--amb-ink); border-width: 0 0 1.5px 1.5px; transform: rotate(45deg); }
.amb .amb-back:hover { background: var(--amb-soft); }
.amb-back-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.amb .amb-foot-sum { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 0; padding: 2px 0; background: none; border: 0; border-radius: 0; text-align: left; }
.amb .amb-foot-sum:hover { background: none; }
.amb-foot-sum.is-empty { font-size: 13px; color: var(--amb-muted); }
.amb-foot-count { font-size: 12px; color: var(--amb-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.amb-foot-count::after { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 0 2px 7px; border: solid var(--amb-muted); border-width: 1.5px 1.5px 0 0; transform: rotate(-45deg); }
.amb-foot-sum[aria-expanded="true"] .amb-foot-count::after { transform: rotate(135deg); margin-bottom: 4px; }
.amb-foot-total { font-size: 17px; font-weight: 600; line-height: 1.2; }
.amb .amb-primary { flex: none; height: 44px; padding: 0 22px; border: 0; border-radius: var(--amb-radius); background: var(--amb-accent); color: #fff; font-size: 15px; font-weight: 500; transition: background .15s; }
.amb .amb-primary:hover:not(:disabled) { background: var(--amb-accent-dark); color: #fff; }
.amb .amb-primary:disabled { background: #d9dcd9; color: #fff; }

/* phone: visit summary sheet above the footer */
.amb-sheet { padding: 14px var(--amb-gutter) 6px; border-bottom: 1px solid var(--amb-line); max-height: 55vh; overflow-y: auto; animation: amb-rise .2s ease both; }
.amb-sheet-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.amb .amb-sheet-close { width: 32px; height: 32px; padding: 0; background: none; border: 0; font-size: 22px; line-height: 1; color: var(--amb-muted); }

/* ----- visit summary (side panel and sheet) ----- */
.amb .amb-side-h { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--amb-muted); }
.amb .amb-sum-empty { font-size: 13px; color: var(--amb-muted); padding-top: 8px; }
.amb .amb-sum-when { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; font-weight: 500; padding: 10px 0; border-bottom: 1px solid rgba(34, 39, 46, .08); }
.amb-sum-when span::first-letter { text-transform: uppercase; }
.amb-sum-list li { display: flex; align-items: flex-start; gap: 8px; padding: 10px 0; border-bottom: 1px solid rgba(34, 39, 46, .08); }
.amb-sum-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.amb-sum-name { font-size: 14px; font-weight: 500; overflow-wrap: anywhere; }
.amb-sum-extra, .amb-sum-meta { font-size: 12.5px; color: var(--amb-muted); }
.amb-sum-price { flex: none; font-size: 14px; font-weight: 500; }
.amb .amb-remove { flex: none; width: 22px; height: 22px; margin: -1px -4px 0 0; padding: 0; background: none; border: 0; border-radius: 50%; font-size: 17px; line-height: 1; color: var(--amb-faint); }
.amb .amb-remove:hover { color: var(--amb-ink); background: rgba(34, 39, 46, .06); }
.amb .amb-sum-totals { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 12px 0 0; font-size: 13.5px; }
body .amb .amb-sum-totals dt { margin: 0; color: var(--amb-muted); }
body .amb .amb-sum-totals dd { margin: 0; text-align: right; }
body .amb .amb-sum-totals .is-total { font-size: 16px; font-weight: 600; color: var(--amb-ink); padding-top: 2px; }
.amb .amb-sum-note { font-size: 12.5px; color: var(--amb-muted); padding: 8px 0 10px; }

/* ----- step 1: treatments ----- */
.amb-search input { width: 100%; height: 42px; border: 1px solid var(--amb-line); border-radius: var(--amb-radius); background: var(--amb-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237b8088' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E") no-repeat 13px 50%; padding: 0 12px 0 38px; margin: 0; font-family: inherit; font-size: 15px; font-weight: 400; color: var(--amb-ink); box-shadow: none; appearance: none; -webkit-appearance: none; }
.amb-search input:focus { outline: none; border-color: var(--amb-accent); background-color: #fff; }
.amb-search input::placeholder { color: var(--amb-faint); opacity: 1; }
.amb-chips { display: flex; gap: 8px; overflow-x: auto; margin: 12px calc(var(--amb-gutter) * -1) 4px; padding: 0 var(--amb-gutter) 4px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.amb-chips::-webkit-scrollbar { display: none; }
.amb .amb-chip { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border: 1px solid var(--amb-line); border-radius: 18px; background: #fff; font-size: 13.5px; font-weight: 500; color: var(--amb-ink); white-space: nowrap; transition: background .15s, border-color .15s, color .15s; }
.amb .amb-chip:hover { border-color: var(--amb-accent); background: #fff; color: var(--amb-ink); }
.amb .amb-chip.is-on { background: var(--amb-ink); border-color: var(--amb-ink); color: #fff; }
.amb-ico { flex: none; display: inline-flex; width: 22px; height: 22px; margin-left: -4px; --amb-ico-tint: var(--amb-blush); --amb-ico-paper: #fff; color: var(--amb-ink); }
.amb-ico svg { display: block; width: 100%; height: 100%; overflow: visible; }
/* Thicken the fine 48px line art so it stays crisp at chip size. */
.amb-ico svg :not([stroke]) { stroke: currentColor; stroke-width: .6px; }
.amb-ico svg [stroke] { stroke-width: 1.6px; }
.amb-ico svg [fill^="var"]:not([stroke]) { stroke: none; }
.amb .amb-chip.is-on .amb-ico { color: #fff; --amb-ico-tint: rgba(255,255,255,.2); --amb-ico-paper: var(--amb-ink); }
.amb .amb-category-title { display: flex; align-items: center; gap: 8px; }
.amb .amb-category-title .amb-ico { margin-left: 0; }
.amb-chip-count { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--amb-accent); color: #fff; font-size: 11px; font-weight: 600; line-height: 1; }
.amb .amb-category-title { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--amb-muted); padding: 16px 0 4px; }

.amb-service { border-bottom: 1px solid var(--amb-line); }
.amb-service-row { display: flex; align-items: center; gap: 12px; padding: 13px 0; }
.amb-service-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.amb .amb-service-name { font-size: 15px; font-weight: 500; line-height: 1.3; cursor: pointer; overflow-wrap: anywhere; }
.amb-service-hit { font-size: 13px; color: var(--amb-accent-dark); }
.amb-service-meta { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--amb-muted); }
.amb .amb-more { padding: 0; background: none; border: 0; border-radius: 0; font-size: 13px; color: var(--amb-accent); text-decoration: none; }
.amb .amb-more::before { content: "·"; margin-right: 8px; color: var(--amb-faint); }
.amb .amb-more:hover { color: var(--amb-accent-dark); background: none; text-decoration: underline; }
.amb .amb-service-pick { flex: none; display: flex; align-items: center; gap: 12px; cursor: pointer; position: relative; }
.amb-service-price { font-size: 15px; font-weight: 600; white-space: nowrap; }
.amb-service-pick input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.amb-tick { flex: none; width: 30px; height: 30px; border: 1.5px solid #cfd3d0; border-radius: 50%; background: #fff; position: relative; transition: background .15s, border-color .15s; }
.amb-tick::before, .amb-tick::after { content: ""; position: absolute; left: 50%; top: 50%; background: var(--amb-accent); border-radius: 1px; }
.amb-tick::before { width: 11px; height: 1.5px; margin: -0.75px 0 0 -5.5px; }
.amb-tick::after { width: 1.5px; height: 11px; margin: -5.5px 0 0 -0.75px; }
.amb-service-pick:hover .amb-tick { border-color: var(--amb-accent); }
.amb-service-pick input:checked + .amb-tick { background: var(--amb-accent); border-color: var(--amb-accent); }
.amb-service-pick input:checked + .amb-tick::before { width: 6px; height: 11px; margin: -7px 0 0 -3px; background: none; border: solid #fff; border-width: 0 2px 2px 0; border-radius: 0; transform: rotate(45deg); }
.amb-service-pick input:checked + .amb-tick::after { display: none; }
.amb-service-pick input:focus-visible + .amb-tick { outline: 2px solid var(--amb-accent); outline-offset: 2px; }
.amb .amb-desc { margin: -4px 0 14px; padding: 10px 12px; border-radius: 8px; background: var(--amb-soft); font-size: 13.5px; line-height: 1.5; color: #5b6068; white-space: pre-line; }

.amb-extra { display: flex; align-items: center; gap: 12px; margin: -2px 0 12px; padding: 10px 12px; border-radius: 8px; background: var(--amb-accent-soft); }
.amb-extra-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.amb-extra-name { font-size: 14px; font-weight: 500; }
.amb-extra-tag { display: inline-block; margin-right: 7px; padding: 1px 6px; border-radius: 4px; background: #fff; color: var(--amb-accent-dark); font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; vertical-align: 1px; }
.amb-extra-meta { font-size: 13px; color: var(--amb-muted); }
.amb-extra-desc { font-size: 12.5px; color: var(--amb-muted); white-space: pre-line; margin-top: 2px; }
.amb-choice { flex-direction: column; align-items: stretch; gap: 8px; }
.amb-choice-label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--amb-accent-dark); }
.amb-options { display: flex; flex-wrap: wrap; gap: 8px; }
.amb .amb-option { flex: 1 1 0; min-width: 88px; display: flex; flex-direction: column; align-items: center; gap: 0; padding: 7px 10px; border: 1.5px solid transparent; border-radius: 8px; background: #fff; color: var(--amb-ink); text-align: center; transition: border-color .15s, background .15s; }
.amb .amb-option:hover { border-color: var(--amb-accent); background: #fff; color: var(--amb-ink); }
.amb .amb-option.is-on { border-color: var(--amb-accent); background: var(--amb-accent); color: #fff; }
.amb-option-name { font-size: 14px; font-weight: 500; }
.amb-option-meta { font-size: 12px; opacity: .75; }
.amb-qty { flex: none; display: inline-flex; align-items: center; border-radius: 8px; background: #fff; }
.amb .amb-qty button { width: 32px; height: 32px; padding: 0; background: none; border: 0; border-radius: 8px; font-size: 18px; line-height: 1; color: var(--amb-accent-dark); }
.amb .amb-qty button:hover:not(:disabled) { background: var(--amb-accent); color: #fff; }
.amb .amb-qty button:disabled { color: var(--amb-faint); }
.amb-qty-n { min-width: 22px; text-align: center; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.amb .amb-switch { flex: none; position: relative; display: inline-block; cursor: pointer; }
.amb-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.amb-switch-track { display: block; width: 40px; height: 24px; border-radius: 12px; background: #cfd3d0; position: relative; transition: background .2s; }
.amb-switch-track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); transition: transform .2s; }
.amb-switch input:checked + .amb-switch-track { background: var(--amb-accent); }
.amb-switch input:checked + .amb-switch-track::after { transform: translateX(16px); }
.amb-switch input:focus-visible + .amb-switch-track { outline: 2px solid var(--amb-accent); outline-offset: 2px; }

/* ----- step 2: date and time ----- */
.amb-dates { display: flex; gap: 8px; overflow-x: auto; margin: 0 calc(var(--amb-gutter) * -1); padding: 2px var(--amb-gutter) 8px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.amb-dates::-webkit-scrollbar { display: none; }
.amb .amb-date { flex: none; width: 58px; padding: 8px 0 7px; border: 1px solid var(--amb-line); border-radius: var(--amb-radius); background: #fff; display: flex; flex-direction: column; align-items: center; gap: 0; color: var(--amb-ink); transition: background .15s, border-color .15s, color .15s; }
.amb .amb-date:hover { border-color: var(--amb-accent); background: #fff; color: var(--amb-ink); }
.amb .amb-date.is-on { background: var(--amb-accent); border-color: var(--amb-accent); color: #fff; }
.amb-date-dow, .amb-date-mon { font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; opacity: .7; }
.amb-date-num { font-size: 19px; font-weight: 600; line-height: 1.25; }
.amb .amb-day { font-size: 14px; font-weight: 600; margin-top: 12px; }
.amb-day::first-letter { text-transform: uppercase; }
.amb-time-group { margin-top: 14px; }
.amb .amb-time-label { font-size: 12px; font-weight: 500; color: var(--amb-muted); margin-bottom: 8px; }
.amb-times { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.amb .amb-time { height: 40px; padding: 0; border: 1px solid var(--amb-line); border-radius: 8px; background: #fff; font-size: 14px; font-weight: 500; font-variant-numeric: tabular-nums; color: var(--amb-ink); transition: background .15s, border-color .15s, color .15s; }
.amb .amb-time:hover { border-color: var(--amb-accent); background: #fff; color: var(--amb-ink); }
.amb .amb-time.is-on { background: var(--amb-accent); border-color: var(--amb-accent); color: #fff; }

/* ----- step 3: details ----- */
.amb .amb-when { display: inline-block; padding: 6px 12px; border-radius: 8px; background: var(--amb-accent-soft); color: var(--amb-accent-dark); font-size: 13.5px; font-weight: 500; margin-bottom: 16px; }
.amb-when::first-letter { text-transform: uppercase; }
.amb-form { display: grid; grid-template-columns: 1fr; gap: 14px; margin: 0; }
.amb-field { display: flex; flex-direction: column; gap: 5px; }
.amb .amb-field label { font-size: 13px; font-weight: 500; color: #4d525a; }
.amb-field input { width: 100%; height: 44px; border: 1px solid #dcdfdc; border-radius: 8px; background: #fff; padding: 0 12px; margin: 0; font-family: inherit; font-size: 16px; font-weight: 400; color: var(--amb-ink); box-shadow: none; }
.amb-field input:focus { outline: none; border-color: var(--amb-accent); box-shadow: 0 0 0 3px rgba(93, 116, 102, .15); }
.amb-hidden-submit { position: absolute; width: 1px; height: 1px; padding: 0; border: 0; opacity: 0; pointer-events: none; }

/* ----- people in the visit ----- */
.amb-people { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.amb .amb-who { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border: 1px solid var(--amb-line); border-radius: 8px; background: #fff; font-size: 13.5px; font-weight: 500; color: var(--amb-ink); }
.amb .amb-who:hover { border-color: var(--amb-accent); background: #fff; color: var(--amb-ink); }
.amb .amb-who.is-on { border-color: var(--amb-accent); background: var(--amb-accent-soft); color: var(--amb-accent-dark); }
.amb .amb-who.is-add { border-style: dashed; color: var(--amb-accent-dark); }
.amb .amb-who.is-short .amb-who-addtext { display: none; }
.amb .amb-who.is-short { padding: 0 12px; font-size: 17px; }
.amb.amb--mid .amb-who.is-short .amb-who-addtext, .amb.amb--wide .amb-who.is-short .amb-who-addtext { display: inline; }
.amb.amb--mid .amb-who.is-short, .amb.amb--wide .amb-who.is-short { padding: 0 14px; font-size: 13.5px; }
.amb .amb-bring { display: flex; align-items: center; gap: 8px; margin: -4px 0 8px; font-size: 14px; color: var(--amb-muted); }
.amb-whogroup { display: inline-flex; }
.amb .amb-whogroup .amb-who { border-top-right-radius: 0; border-bottom-right-radius: 0; padding-right: 10px; }
.amb .amb-who-x { height: 34px; min-width: 34px; padding: 0 9px; border: 1px solid var(--amb-accent); border-left: 0; border-radius: 0 8px 8px 0; background: var(--amb-accent-soft); font-size: 18px; line-height: 1; font-weight: 400; color: var(--amb-accent-dark); }
.amb .amb-who-x:hover { background: #fff; color: var(--amb-ink); }
.amb .amb-whogroup.is-asking .amb-who-x { background: #fdf0ef; border-color: #d9a39e; border-left: 1px solid #d9a39e; margin-left: -1px; color: #8f1d15; font-size: 13px; font-weight: 500; padding: 0 12px; }
.amb .amb-who.is-name { padding-left: 4px; cursor: text; }
.amb .amb-who.is-name input { width: auto; min-width: 0; height: 26px; border: 0; border-bottom: 1px solid transparent; border-radius: 0; background: transparent; padding: 0 6px; margin: 0; font-family: inherit; font-size: 16px; font-weight: 500; color: var(--amb-accent-dark); box-shadow: none; }
.amb .amb-who.is-name input:placeholder-shown { border-bottom: 1px dashed rgba(63, 86, 73, .45); }
.amb .amb-who.is-name input:focus { outline: none; border-bottom: 1px solid var(--amb-accent); }
.amb .amb-who.is-name input::placeholder { color: var(--amb-accent-dark); opacity: .6; font-weight: 400; }
.amb-sum-list li.has-who { flex-wrap: wrap; }
.amb-sum-who { flex: 1 1 100%; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--amb-accent-dark); }
.amb-visit-extra.is-who { color: var(--amb-accent-dark); }

/* ----- staff booking ----- */
.amb-staffbar { display: flex; flex-direction: column; align-items: center; gap: 1px; margin: 0 0 14px; padding: 9px 12px; border-radius: 8px; background: #22272e; color: #fff; font-size: 13px; text-align: center; }
.amb-staffbar span { opacity: .7; font-size: 12.5px; }
.amb.amb--wide .amb-staffbar { margin: 20px 32px 0; }
.amb .amb-block-h { margin-bottom: 8px; }
.amb .amb-textbtn { display: inline-block; padding: 8px 0; background: none; border: 0; border-radius: 0; font-size: 14px; font-weight: 500; color: var(--amb-accent-dark); }
.amb .amb-textbtn:hover { background: none; color: var(--amb-ink); text-decoration: underline; }
.amb-results { margin-top: 6px; border: 1px solid var(--amb-line); border-radius: var(--amb-radius); overflow: hidden; }
.amb .amb-result { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; width: 100%; padding: 10px 12px; background: #fff; border: 0; border-bottom: 1px solid var(--amb-line); border-radius: 0; text-align: left; color: var(--amb-ink); }
.amb .amb-result:last-child { border-bottom: 0; }
.amb .amb-result:hover { background: var(--amb-accent-soft); color: var(--amb-ink); }
.amb-result strong, .amb-picked strong { font-size: 15px; font-weight: 500; }
.amb-result span, .amb-picked span { font-size: 13px; color: var(--amb-muted); }
.amb .amb-results-none { padding: 12px; font-size: 14px; color: var(--amb-muted); }
.amb-picked { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--amb-radius); background: var(--amb-accent-soft); }
.amb-picked-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.amb .amb-check { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-size: 14px; cursor: pointer; }
.amb-check input { width: 18px; height: 18px; margin: 0; accent-color: var(--amb-accent); }
.amb .amb-again { margin-top: 18px; }

/* ----- staff: employee choice and manage-visit screen ----- */
.amb-employee { justify-content: space-between; }
.amb-employee select { max-width: 60%; height: 36px; padding: 0 10px; border: 1px solid #dcdfdc; border-radius: 8px; background: #fff; font-family: inherit; font-size: 14px; color: var(--amb-ink); }
.amb-manage { max-width: 560px; margin: 0 auto; }
.amb .amb-staffbar-link { margin-top: 3px; font-size: 13px; font-weight: 600; color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.amb-manage-links { display: inline-flex; gap: 16px; }
.amb-visits .amb-manage-head { margin-bottom: 6px; }
.amb-visits .amb-lead { margin-bottom: 4px; }
.amb .amb-manage.amb-visits { max-width: 720px; }
/* ----- staff page: login box and the logged-in header ----- */
.amb.amb-static { max-width: 720px; margin-left: auto; margin-right: auto; }
.amb-login { max-width: 400px; margin: 0 auto 8px; padding: 30px 30px 26px; background: #fff; border: 1px solid var(--amb-line); border-radius: 14px; box-shadow: 0 1px 2px rgba(34,39,46,.06), 0 12px 40px rgba(34,39,46,.1); }
.amb-login .amb-lead { margin-bottom: 18px; }
.amb .amb-login form p { margin: 0 0 14px; }
.amb .amb-login label { display: block; margin-bottom: 5px; font-size: 13px; font-weight: 500; color: var(--amb-ink); }
body .amb .amb-login input[type="text"], body .amb .amb-login input[type="password"] { width: 100%; height: 44px; padding: 0 12px; border: 1px solid #dcdfdc; border-radius: 8px; background: #fff; font-family: inherit; font-size: 15px; color: var(--amb-ink); box-shadow: none; }
body .amb .amb-login input[type="text"]:focus, body .amb .amb-login input[type="password"]:focus { outline: none; border-color: var(--amb-accent); box-shadow: 0 0 0 3px var(--amb-accent-soft); }
.amb .amb-login .login-remember label { display: flex; align-items: center; gap: 8px; font-weight: 400; color: var(--amb-muted); }
body .amb .amb-login .login-remember input[type="checkbox"] { -webkit-appearance: checkbox; appearance: auto; position: static; opacity: 1; width: 16px; height: 16px; margin: 0; padding: 0; border: 0; background: none; accent-color: var(--amb-accent); }
body .amb .amb-login .login-remember input[type="checkbox"]::before, body .amb .amb-login .login-remember input[type="checkbox"]::after { content: none; display: none; }
body .amb .amb-login input[type="submit"] { width: 100%; height: 46px; border: 0; border-radius: 10px; background: var(--amb-accent); color: #fff; font-family: inherit; font-size: 15px; font-weight: 600; letter-spacing: 0; text-transform: none; cursor: pointer; transition: background .15s; }
body .amb .amb-login input[type="submit"]:hover { background: var(--amb-accent-dark); }
.amb-paused { max-width: 460px; text-align: center; }
.amb .amb-paused .amb-lead { margin-bottom: 14px; }
.amb .amb-paused-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 18px; margin: 0; }
.amb .amb-paused-links a { color: var(--amb-accent-dark); font-weight: 600; text-decoration: none; }
.amb .amb-login .amb-pwrow { position: relative; }
body .amb .amb-login .amb-pwrow input { padding-right: 86px; }
body .amb .amb-login .amb-showpw { position: absolute; right: 4px; bottom: 4px; height: 36px; min-width: 64px; padding: 0 10px; border: 0; border-radius: 6px; background: none; box-shadow: none; font-family: inherit; font-size: 13px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--amb-accent); cursor: pointer; }
body .amb .amb-login .amb-showpw:hover, body .amb .amb-login .amb-showpw:focus-visible { background: var(--amb-accent-soft); color: var(--amb-accent-dark); }
.amb .amb-login-lost { margin: 4px 0 0; text-align: center; font-size: 13px; }
.amb .amb-login-lost a, .amb .amb-staffhome-out { color: var(--amb-muted); text-decoration: underline; text-underline-offset: 3px; }
.amb-staffhome { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; padding: 18px 22px; border-radius: 14px; background: var(--amb-blush); }
.amb-staffhome-who { display: flex; flex-direction: column; gap: 2px; }
.amb-staffhome-who strong { font-size: 18px; font-weight: 600; color: var(--amb-ink); }
.amb-staffhome-who span { font-size: 13px; color: var(--amb-muted); }
.amb-staffhome-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
body .amb .amb-staffhome-actions a { margin: 0; width: auto; }
.amb .amb-staffhome-actions .amb-linkbtn, .amb .amb-ghostbtn { display: inline-flex; align-items: center; justify-content: center; height: 42px; padding: 0 20px; border-radius: 10px; font-size: 14px; font-weight: 600; text-decoration: none; }
.amb .amb-ghostbtn { background: #fff; border: 1px solid #dcdfdc; color: var(--amb-ink); }
.amb .amb-ghostbtn:hover { border-color: var(--amb-accent); color: var(--amb-ink); }
@media (max-width: 599px) { .amb.amb-static { padding: 0 16px; } .amb-login { padding: 24px 20px 22px; } .amb-staffhome { padding: 16px; } .amb-staffhome-actions { width: 100%; } .amb .amb-staffhome-actions a { flex: 1; } }

.amb-vl-day { display: flex; align-items: center; gap: 10px; margin: 30px 0 12px; }
.amb .amb-vl-day h3 { font-size: 15px; font-weight: 600; color: var(--amb-ink); }
.amb-vl-badge { padding: 2px 9px; border-radius: 10px; background: var(--amb-accent); color: #fff; font-size: 11.5px; font-weight: 600; }
.amb-vl-count { margin-left: auto; font-size: 12.5px; color: var(--amb-muted); }
.amb .amb-vl { position: relative; display: flex; align-items: stretch; gap: 20px; padding: 18px 20px 18px 24px; margin-top: 12px; border: 1px solid var(--amb-line); border-radius: 12px; background: #fff; color: var(--amb-ink); text-decoration: none; overflow: hidden; transition: border-color .15s, box-shadow .15s, transform .15s; }
.amb .amb-vl::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--amb-accent); opacity: .85; }
.amb .amb-vl:hover { border-color: var(--amb-accent); box-shadow: 0 6px 20px rgba(34,39,46,.08); transform: translateY(-1px); color: var(--amb-ink); }
.amb .amb-vl.is-amelia::before { background: #c9ccc8; }
.amb .amb-vl.is-amelia:hover { border-color: var(--amb-line); box-shadow: none; transform: none; }
.amb-vl-tag { flex: none; align-self: center; padding: 5px 11px; border-radius: 14px; border: 1px dashed #cfd3ce; color: var(--amb-muted); font-size: 12px; font-weight: 500; white-space: nowrap; }
@media (max-width: 560px) { .amb-vl-tag { align-self: flex-start; font-size: 11px; padding: 3px 8px; } }
.amb-vl-when { flex: none; min-width: 52px; white-space: nowrap; display: flex; flex-direction: column; align-items: flex-start; padding-right: 20px; border-right: 1px solid var(--amb-line); font-variant-numeric: tabular-nums; }
.amb-vl-when strong { font-size: 19px; font-weight: 600; line-height: 1.2; }
.amb-vl-when span { font-size: 12.5px; color: var(--amb-muted); }
.amb-vl-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.amb-vl-top { display: flex; flex-direction: column; gap: 1px; }
.amb-vl-top strong { font-size: 16px; font-weight: 600; }
.amb-vl-top span { font-size: 12.5px; color: var(--amb-muted); }
.amb-vl-items { display: flex; flex-direction: column; gap: 8px; }
.amb-vl-item { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--amb-muted); }
.amb-vl-clock { flex: none; width: 38px; font-variant-numeric: tabular-nums; font-size: 12.5px; }
.amb-vl-what { flex: 1; min-width: 0; color: var(--amb-ink); }
.amb-vl-who { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 2px 9px 2px 2px; border-radius: 12px; background: var(--amb-soft); font-size: 12px; font-weight: 500; white-space: nowrap; }
.amb-vl-who i { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 1px solid var(--amb-line); font-style: normal; font-size: 9.5px; font-weight: 600; color: var(--amb-ink); }
.amb-vl-item.is-mine .amb-vl-who { background: var(--amb-accent); color: #fff; }
.amb-vl-item.is-mine .amb-vl-who i { border-color: transparent; color: var(--amb-accent-dark); }
.amb-vl-go { flex: none; align-self: center; display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px 7px 14px; border-radius: 18px; background: var(--amb-accent-soft); color: var(--amb-accent-dark); font-size: 13px; font-weight: 600; }
.amb-vl-go b { font-size: 17px; line-height: 1; font-weight: 400; }
.amb .amb-vl:hover .amb-vl-go { background: var(--amb-accent); color: #fff; }
.amb .amb-vl-note { margin-top: 22px; padding-top: 14px; border-top: 1px solid var(--amb-line); font-size: 13px; color: var(--amb-muted); }
@media (max-width: 560px) {
  .amb .amb-vl { gap: 12px; padding: 12px 12px 12px 16px; }
  .amb-vl-when { min-width: 44px; padding-right: 12px; }
  .amb-vl-when strong { font-size: 17px; }
  .amb-vl-go span { display: none; }
  .amb-vl-go { padding: 6px 10px; }
  .amb-vl-item { flex-wrap: wrap; row-gap: 3px; }
  .amb-vl-what { flex-basis: calc(100% - 48px); }
  .amb-vl-who { margin-left: 48px; }
}
.amb-manage-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.amb .amb-flag { display: inline-block; padding: 4px 10px; border-radius: 12px; background: var(--amb-soft); color: var(--amb-muted); font-size: 12.5px; font-weight: 600; margin-bottom: 10px; }
.amb .amb-flag.is-off { background: #fdf0ef; color: #8f1d15; }
.amb-manage .amb-when { margin: 12px 0 18px; }
.amb .amb-plan { border-top: 1px solid var(--amb-line); }
.amb-plan li { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--amb-line); }
.amb-plan-time { flex: none; width: 96px; font-size: 13.5px; font-weight: 600; font-variant-numeric: tabular-nums; }
.amb-plan-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.amb-plan-text strong { font-size: 15px; font-weight: 500; }
.amb-plan-text span { font-size: 13px; color: var(--amb-muted); }
.amb-plan-text .amb-plan-who { color: var(--amb-accent-dark); }
.amb .amb-plan-remove { flex: none; padding: 0; font-size: 13px; color: #a3362d; }
.amb-confirm { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin-top: 4px; }
.amb-confirm span { color: var(--amb-ink); }
.amb .amb-manage .amb-total { padding-left: 0; padding-right: 0; }
.amb-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 16px; }
.amb-actions.is-center { justify-content: center; }
.amb-done .amb-confirm-text { margin-top: 16px; }
.amb-done .amb-flag { margin-top: 14px; }
.amb-confirm-text { flex: 1 1 100%; font-size: 15px; font-weight: 500; }
.amb .amb-ghost { height: 44px; padding: 0 18px; border: 1px solid var(--amb-line); border-radius: var(--amb-radius); background: #fff; font-size: 15px; font-weight: 500; color: var(--amb-ink); }
.amb .amb-ghost:hover:not(:disabled) { background: var(--amb-soft); color: var(--amb-ink); }
.amb .amb-ghost.is-danger { color: #a3362d; }
.amb .amb-danger { height: 44px; padding: 0 22px; border: 0; border-radius: var(--amb-radius); background: #a3362d; color: #fff; font-size: 15px; font-weight: 500; }
.amb .amb-danger:hover:not(:disabled) { background: #8a2b24; color: #fff; }
.amb .amb-linkbtn { display: inline-flex; align-items: center; margin-top: 14px; text-decoration: none; }
.amb-times--manage { margin-top: 10px; }
.amb-manage .amb-dates { margin: 0; padding: 2px 0 8px; }

/* ----- "are you sure?" pop-up ----- */
.amb.amb-modal { position: fixed; inset: 0; z-index: 100000; max-width: none; margin: 0; padding: 20px; display: flex; align-items: center; justify-content: center; background: rgba(34, 39, 46, .55); animation: amb-fade .15s ease both; }
.amb-modal-box { width: 100%; max-width: 380px; padding: 24px; border-radius: 14px; background: #fff; box-shadow: 0 20px 60px rgba(0, 0, 0, .25); text-align: center; animation: amb-rise .2s ease both; }
.amb .amb-modal-text { font-size: 17px; font-weight: 600; line-height: 1.35; }
.amb-modal-actions { display: flex; gap: 10px; margin-top: 20px; }
.amb-modal-actions button { flex: 1; }
@keyframes amb-fade { from { opacity: 0; } to { opacity: 1; } }

/* ----- confirmation ----- */
.amb-done { max-width: 460px; margin: 0 auto; padding: 28px 0 12px; text-align: center; animation: amb-rise .35s ease both; }
.amb-done-mark { display: inline-block; width: 52px; height: 52px; border-radius: 50%; background: var(--amb-accent); position: relative; margin-bottom: 14px; }
.amb-done-mark::after { content: ""; position: absolute; left: 20px; top: 13px; width: 10px; height: 20px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.amb .amb-done-day { font-size: 14px; font-weight: 500; color: var(--amb-accent-dark); margin-top: 6px; }
.amb-done-day::first-letter { text-transform: uppercase; }
.amb .amb-visit { text-align: left; margin-top: 22px; border-radius: var(--amb-radius); background: var(--amb-soft); padding: 4px 14px; }
.amb-visit li { display: flex; gap: 12px; align-items: baseline; padding: 11px 0; border-bottom: 1px solid var(--amb-line); font-size: 14px; }
.amb-visit li:last-child { border-bottom: 0; }
.amb .amb-done-until { font-size: 13px; color: var(--amb-muted); margin-top: 2px; }
.amb-visit-name > span { display: block; }
.amb-visit-extra { font-size: 13px; font-weight: 400; color: var(--amb-muted); }
.amb-cal { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 16px; }
.amb .amb-cal-btn { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border: 1px solid var(--amb-accent); border-radius: 8px; background: #fff; color: var(--amb-accent-dark); font-size: 14px; font-weight: 500; text-decoration: none; transition: background .15s, color .15s; }
.amb .amb-cal-btn:hover { background: var(--amb-accent); color: #fff; }
.amb-visit-time { flex: none; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--amb-muted); font-size: 13px; }
.amb-visit-name { flex: 1; min-width: 0; font-weight: 500; }
.amb-visit-price { flex: none; font-weight: 500; }
.amb .amb-total { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 14px 4px; font-size: 14px; color: var(--amb-muted); }
.amb-total strong { font-size: 18px; font-weight: 600; color: var(--amb-ink); }
.amb .amb-total.is-discount { padding-bottom: 0; color: var(--amb-accent-dark); }
.amb .amb-total.is-discount + .amb-total { padding-top: 6px; }
.amb-vl-recent { margin: 30px 0 4px; padding-top: 20px; border-top: 1px solid var(--amb-line); }
.amb .amb-vl-recent h3 { font-size: 16px; font-weight: 600; color: var(--amb-ink); margin: 0 0 4px; }
.amb .amb-vl-recent p { font-size: 13.5px; color: var(--amb-muted); margin: 0; }
.amb-review { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 14px 0 4px; padding: 12px 14px; border: 1px dashed #dcdfdc; border-radius: 10px; }
.amb-review.is-on { border-style: solid; border-color: transparent; background: var(--amb-accent-soft); }
.amb-review-text { flex: 1; min-width: 180px; font-size: 14px; color: var(--amb-muted); }
.amb-review.is-on .amb-review-text { color: var(--amb-accent-dark); font-weight: 500; }
.amb .amb-review .amb-ghostbtn { height: 40px; padding: 0 16px; white-space: nowrap; }
.amb-coupon { margin-top: 16px; }
.amb-coupon.is-on { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 12px; border-radius: 8px; background: var(--amb-accent-soft); }
.amb-coupon-ok { font-size: 14px; font-weight: 500; color: var(--amb-accent-dark); }
.amb-coupon-row { display: flex; gap: 8px; }
.amb-coupon-row input { flex: 1; min-width: 0; height: 44px; border: 1px solid #dcdfdc; border-radius: 8px; background: #fff; padding: 0 12px; margin: 0; font-family: inherit; font-size: 16px; font-weight: 400; color: var(--amb-ink); box-shadow: none; text-transform: uppercase; }
.amb-coupon-row input::placeholder { text-transform: none; }
.amb-coupon-row input:focus { outline: none; border-color: var(--amb-accent); box-shadow: 0 0 0 3px rgba(93, 116, 102, .15); }
.amb .amb-coupon-row .amb-ghostbtn { height: 44px; padding: 0 18px; white-space: nowrap; }
.amb .amb-coupon-error { margin-top: 6px; font-size: 13.5px; color: #8f1d15; }
.amb-done .amb-lead { margin-top: 10px; }

/* ----- loading ----- */
.amb-loading { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 90px 0; font-size: 14px; color: var(--amb-muted); }
.amb-spinner { width: 18px; height: 18px; border: 2px solid var(--amb-line); border-top-color: var(--amb-accent); border-radius: 50%; animation: amb-spin .8s linear infinite; }
@keyframes amb-spin { to { transform: rotate(360deg); } }

.amb button:focus-visible { outline: 2px solid var(--amb-accent); outline-offset: 2px; }

/* ----- room for two columns of fields (set by the script from the form's own width) ----- */
.amb.amb--mid .amb-form { grid-template-columns: 1fr 1fr; }
.amb.amb--mid .amb-field.is-wide { grid-column: 1 / -1; }
.amb.amb--mid .amb-times { grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); }
.amb.amb--mid .amb-chips { flex-wrap: wrap; overflow: visible; margin: 12px 0 4px; padding: 0; }
.amb.amb--mid .amb-dates { margin: 0; padding: 2px 0 8px; }

/* ----- framed card: any screen wider than a phone ----- */
.amb.amb--card .amb-card { border-radius: 14px; box-shadow: 0 1px 2px rgba(34, 39, 46, .06), 0 12px 40px rgba(34, 39, 46, .1); padding: 22px 24px 0; overflow: clip; }
.amb.amb--card .amb-foot { margin: 0 -24px; border-radius: 0 0 14px 14px; }
.amb.amb--card .amb-foot-row { padding: 12px 24px; }
.amb.amb--card .amb-sheet { padding: 14px 24px 6px; }
.amb.amb--card .amb-card--done { padding-bottom: 24px; }

/* ----- wide: card with side panel ----- */
.amb.amb--wide .amb-card { display: grid; grid-template-columns: 280px minmax(0, 1fr); background: linear-gradient(to right, var(--amb-blush) 280px, #fff 280px); border-radius: 14px; box-shadow: 0 1px 2px rgba(34, 39, 46, .06), 0 12px 40px rgba(34, 39, 46, .1); overflow: clip; }
.amb.amb--wide .amb-card--done { display: block; background: #fff; padding: 20px 32px 28px; }
.amb.amb--wide .amb-side { display: flex; flex-direction: column; padding: 26px 22px 22px; }
.amb.amb--wide .amb-side-top { position: sticky; top: 40px; max-height: calc(100vh - 80px); overflow-y: auto; }
.amb.amb--wide .amb-side-track { flex: 1 1 auto; }
.amb.amb--wide .amb-side .amb-help { margin-top: 0; }
.amb.amb--wide .amb-side .amb-side-visit { margin-bottom: 22px; }
.amb.amb--wide .amb-side-title { font-size: 17px; font-weight: 600; margin-bottom: 18px; }
.amb.amb--wide .amb-steps { display: flex; flex-direction: column; gap: 4px; }
.amb.amb--wide .amb-steps li > * { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border: 0; border-radius: 8px; background: none; font-size: 14px; font-weight: 500; color: var(--amb-muted); text-align: left; }
.amb.amb--wide .amb-steps .is-current > * { background: rgba(255, 255, 255, .7); color: var(--amb-ink); }
.amb.amb--wide .amb-steps .is-done > * { color: var(--amb-ink); }
.amb.amb--wide .amb-steps button:hover { background: rgba(255, 255, 255, .5); color: var(--amb-ink); }
.amb.amb--wide .amb-step-num { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid currentColor; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; line-height: 1; position: relative; }
.amb.amb--wide .amb-steps .is-current .amb-step-num { background: var(--amb-accent); border-color: var(--amb-accent); color: #fff; }
.amb.amb--wide .amb-steps .is-done .amb-step-num { background: var(--amb-accent); border-color: var(--amb-accent); }
.amb.amb--wide .amb-steps .is-done .amb-step-num::after { content: ""; position: absolute; left: 6.5px; top: 3px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.amb.amb--wide .amb-side-visit { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(34, 39, 46, .1); }
.amb.amb--wide .amb-body { min-height: 560px; }
.amb.amb--wide .amb-head { padding: 26px 32px 14px; }
.amb.amb--wide .amb-progress, .amb.amb--wide .amb-headrow .amb-progress-text { display: none; }
.amb.amb--wide .amb-head .amb-lead { margin-top: 4px; }
.amb.amb--wide .amb-content { flex: 1; padding: 0 32px 24px; }
.amb.amb--wide .amb-foot { margin: 0; box-shadow: none; border-bottom-right-radius: 14px; }
.amb.amb--wide .amb-foot-row { padding: 14px 32px; }
.amb.amb--wide .amb-back { width: auto; padding: 0 16px 0 34px; font-size: 14px; font-weight: 500; }
.amb.amb--wide .amb-back::before { left: 16px; }
.amb.amb--wide .amb-back-text { position: static; width: auto; height: auto; clip: auto; }
.amb.amb--wide .amb-foot-sum { visibility: hidden; }
.amb.amb--wide .amb-sheet { display: none; }
.amb.amb--wide .amb-primary { padding: 0 28px; }
.amb.amb--wide .amb-card { padding: 0; }
/* Single-panel screens (confirmation, manage, visits list, customer view) keep their own padding in the wide layout. */
.amb.amb--wide .amb-card.amb-card--done { padding: 30px 38px 34px; }
.amb.amb--wide .amb-card.amb-visits { padding: 34px 44px 36px; }

@media (prefers-reduced-motion: reduce) {
  .amb *, .amb *::before, .amb *::after { transition: none !important; animation: none !important; }
  .amb-spinner { animation: amb-spin 2s linear infinite !important; }
}

/* ----- phones: the page photo becomes a slim strip and the form slides up over it ----- */
@media (max-width: 767px) {
  body:has(.amb[data-amb]:not([data-view])) .art-ordinary-page-header { position: relative; padding: 76px 0 76px !important; background-size: cover; background-position: center; }
  body:has(.amb[data-amb]:not([data-view])) .art-ordinary-page-header::before { content: ''; position: absolute; inset: 0; background: linear-gradient(rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 60%); }
  body:has(.amb[data-amb]:not([data-view])) .art-ordinary-page-header .container { position: relative; }
  body:has(.amb[data-amb]:not([data-view])) .elementor-section:has(.amb[data-amb]) { position: relative; z-index: 1; margin-top: -44px; }
}

/* ----- overflow (staff only): parking a treatment with an off-website employee ----- */
.amb .amb-overflow { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 18px 0 0; padding: 10px 12px; border: 1px dashed #d9c9a8; border-radius: 10px; background: #fdf9f0; font-size: 13px; color: #6f5a2a; }
.amb .amb-overflow .amb-textbtn { color: #6f5a2a; font-weight: 600; }
.amb .amb-time.is-overflow { border-style: dashed; border-color: #c9a85a; background: #fdf9f0; color: #6f5a2a; }
.amb .amb-time.is-overflow.is-on { border-style: solid; border-color: #a9853a; background: #a9853a; color: #fff; }
.amb .amb-overflow-note { margin: 12px 0 0; font-size: 13px; color: #6f5a2a; }
.amb .amb-plan-who.is-overflow { color: #8a6d2b; font-weight: 600; }
.amb .amb-plan-give { display: flex; flex-wrap: wrap; gap: 2px 14px; margin-top: 2px; }
.amb .amb-plan-give .amb-textbtn { font-size: 13px; }
.amb .amb-plan-takers { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 6px; font-size: 13px; color: var(--amb-muted); }
body .amb .amb-taker { height: 34px; padding: 0 12px; border: 1px solid var(--amb-accent); border-radius: 17px; background: #fff; box-shadow: none; font-family: inherit; font-size: 13px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--amb-accent-dark); cursor: pointer; }
body .amb .amb-taker:hover { background: var(--amb-accent-soft); }
body .amb .amb-taker.is-overflow { border-style: dashed; border-color: #c9a85a; color: #6f5a2a; background: #fdf9f0; }
body .amb .amb-taker:disabled { opacity: .5; cursor: default; }

/* 0.28.0: staff success page, email tick inside the action */
.amb .amb-done--staff .amb-plan { text-align: left; margin-top: 18px; }
.amb .amb-done--staff .amb-plan li { align-items: flex-start; }
.amb .amb-flag.amb-mailflag { margin-top: 14px; }
.amb .amb-flag.amb-mailflag.is-sent { background: #eaf5ec; color: #1f6b33; }
.amb .amb-done--staff .amb-actions { margin-top: 18px; }
.amb .amb-check.amb-check--inline { display: flex; margin: 8px 0 6px; font-size: 13.5px; }
.amb .amb-modal-box .amb-check { margin: 14px 0 4px; text-align: left; }
