/* Booking: one step at a time on a drafting-paper card, the summary on a night-chart card.
   The accent is kept for progress and the one primary button per step (Beauty 5, mapped to the site palette). */
:root {
  --field-rule: #7D8F89;
  --error: #B0361C;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --field-rule: #5C7A78;
    --error: #FF9A73;
  }
}
:root[data-theme="dark"] {
  --field-rule: #5C7A78;
  --error: #FF9A73;
}

/* Notice while online scheduling and payment are under construction */
.bk-notice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 8px;
  padding: 14px 18px;
  border-left: 3px solid var(--p-d);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: color-mix(in srgb, var(--p-d) 10%, transparent);
  font-size: 1.0156rem;
  line-height: 1.5;
}
.bk-notice svg { width: 22px; height: 22px; flex: none; margin-top: 1px; color: var(--p-d); }
.bk-notice b { font-family: var(--font-display); font-weight: 650; }
.bk-home {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: .9375rem;
  color: var(--ink-2);
  text-decoration: none;
  transition: color .2s ease;
}
.bk-home { white-space: nowrap; }
.bk-home svg { width: 15px; height: 15px; transition: transform .2s ease; }
@media (max-width: 480px) { .bk-home-x { display: none; } }
.bk-home:hover { color: var(--ink); }
.bk-home:hover svg { transform: translateX(-3px); }

.bk-main { padding-block: clamp(32px, 5vw, 64px) clamp(56px, 7vw, 96px); }
.bk-head { display: grid; gap: 14px; max-width: 46rem; }
.bk-head .eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 8px;
  margin-right: 10px;
  vertical-align: -1px;
  background:
    linear-gradient(var(--mark), var(--mark)) left center / 20px 2px no-repeat,
    radial-gradient(circle, var(--mark) 0 2.6px, transparent 3.2px) right center / 8px 8px no-repeat;
}
.bk-head h1 {
  font-size: clamp(2.125rem, 1.2rem + 3vw, 3.5rem);
  font-weight: 640;
  font-stretch: 116%;
  line-height: 1;
  letter-spacing: -.028em;
}
.bk-head .lead { color: var(--ink-2); font-size: 1.1875rem; }

.bk-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 360px);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
  margin-top: clamp(28px, 4vw, 44px);
}
.bk-flow { min-width: 0; }
@media (max-width: 960px) { .bk-layout { grid-template-columns: minmax(0, 1fr); } }

/* Stepper: the top rule of each step is the progress bar. */
.bk-steps ol { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.bk-steps li { border-top: 3px solid var(--rule); padding-top: 8px; min-width: 0; transition: border-color .3s ease; }
.bk-steps li.is-done, .bk-steps li.is-current { border-color: var(--accent); }
.bk-steps button {
  appearance: none;
  -webkit-appearance: none;
  background: none;
  border: 0;
  padding: 2px 0;
  display: flex;
  align-items: baseline;
  gap: 7px;
  font-family: var(--font-display);
  font-size: .875rem;
  color: var(--ink-2);
  text-align: left;
  cursor: pointer;
  min-width: 0;
}
.bk-steps button:disabled { cursor: default; }
.bk-steps-n { font-family: var(--font-mono); font-size: .75rem; }
.bk-steps li.is-current button { color: var(--ink); font-weight: 640; }
.bk-steps li.is-done button { color: var(--ink); }
.bk-steps li.is-done button:not(:disabled):hover .bk-steps-t { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; }
@media (max-width: 560px) {
  .bk-steps ol { display: flex; }
  .bk-steps li { flex: 1 1 0; }
  .bk-steps li.is-current { flex: 3 1 0; }
  .bk-steps li.is-current button { white-space: nowrap; }
  .bk-steps li:not(.is-current) .bk-steps-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
.bk-mini { display: none; }
@media (max-width: 960px) {
  .bk-mini {
    display: block;
    margin-top: 14px;
    font-family: var(--font-mono);
    font-size: .75rem;
    line-height: 1.5;
    color: var(--ink-2);
  }
}

/* The card that holds the current step */
.bk-card {
  margin-top: 20px;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: clamp(20px, 3.2vw, 40px);
  box-shadow: var(--shadow-1);
  position: relative;
}
.bk-step-n {
  font-family: var(--font-mono);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 14px;
}
.bk-h {
  font-size: clamp(1.375rem, 1.1rem + 1vw, 1.75rem);
  font-weight: 640;
  font-stretch: 108%;
  line-height: 1.15;
  letter-spacing: -.014em;
  margin-bottom: 14px;
}
.bk-h:focus { outline: none; }
.bk-h:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.bk-group + .fld, .bk-group + .bk-group, .fld + .bk-group, .bk-note + .bk-group { margin-top: 36px; padding-top: 30px; border-top: 1px dashed var(--rule); }

.fs { border: 0; padding: 0; margin: 0; min-width: 0; }
.fs > legend { padding: 0; }
.fld { display: grid; gap: 8px; margin-top: 22px; min-width: 0; align-content: start; }
.fld-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
@media (max-width: 600px) { .fld-row { grid-template-columns: minmax(0, 1fr); } }
.lbl {
  display: block;
  font-family: var(--font-display);
  font-size: .9375rem;
  font-weight: 620;
  line-height: 1.35;
  color: var(--ink);
  margin: 0;
}
legend.lbl { margin-bottom: 10px; }
.lbl-opt { font-weight: 420; color: var(--ink-2); }
.hint { font-size: .9375rem; line-height: 1.5; color: var(--ink-2); }
.hint a, .bk-note a, .bk-fit a { color: var(--ink); font-weight: 600; }
.bk-aside { margin-top: 12px; }

.inp {
  width: 100%;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  line-height: 1.4;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--field-rule);
  border-radius: 4px;
  padding: .75em .9em;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.inp::placeholder { color: var(--ink-2); opacity: .75; }
.inp:hover { border-color: var(--ink-2); }
.inp:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
textarea.inp { resize: vertical; min-height: 6.5em; }
textarea.inp[rows="2"] { min-height: 4.4em; }
select.inp {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.6em;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--ink-2) 50%),
    linear-gradient(135deg, var(--ink-2) 50%, transparent 50%);
  background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

/* Radio and checkbox cards */
.opts { display: grid; gap: 10px; }
.opts-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 640px) { .opts-2 { grid-template-columns: minmax(0, 1fr); } }
.opt {
  position: relative;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 15px 18px;
  background: var(--surface);
  border: 1px solid var(--field-rule);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.opt:hover { border-color: var(--ink-2); }
.opt input {
  appearance: none;
  -webkit-appearance: none;
  flex: none;
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  border: 1.5px solid var(--ink-2);
  border-radius: 50%;
  background: var(--surface);
  display: grid;
  place-content: center;
  cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease;
}
.opt input::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ink);
  transform: scale(0);
  transition: transform .15s ease;
}
.opt input:checked { border-color: var(--ink); }
.opt input:checked::before { transform: scale(1); }
.opt input[type="checkbox"] { border-radius: 4px; }
.opt input[type="checkbox"]::before {
  width: 12px;
  height: 12px;
  border-radius: 0;
  background: var(--bg);
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}
.opt input[type="checkbox"]:checked { background: var(--ink); }
.opt input:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.opt:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); background: var(--tint); }
.opt-body { display: block; min-width: 0; flex: 1; }
.opt-title { display: block; font-family: var(--font-display); font-size: 1.0625rem; font-weight: 620; line-height: 1.3; }
.opt-meta { display: block; margin-top: 3px; font-size: 1rem; line-height: 1.45; color: var(--ink-2); }
.opt-offer { padding: 18px 20px; }
.opt-offer .opt-body { display: grid; gap: 4px; align-content: start; height: 100%; }
.opt-glyph { width: 40px; height: 40px; color: var(--accent); margin-bottom: 6px; }
.opt-price {
  display: block;
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px dashed var(--rule);
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 660;
  font-stretch: 110%;
  letter-spacing: -.015em;
}
.opt-price > span { font-family: var(--font-mono); font-size: .75rem; font-weight: 400; letter-spacing: .04em; color: var(--ink-2); }
.opt-tick { font-size: 1.0156rem; line-height: 1.5; }
.opt-tick a { color: var(--ink); font-weight: 600; }

/* Pill choices */
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.seg label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: .9375rem;
  font-weight: 560;
  line-height: 1.2;
  padding: .62em 1.05em;
  border: 1px solid var(--field-rule);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}
.seg label:hover { border-color: var(--ink); }
.seg input:checked + label { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.seg input[type="checkbox"]:checked + label::before { content: "✓"; font-weight: 700; }
.seg input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Errors: inline, under the field, never clearing what was typed. */
.err-msg {
  font-family: var(--font-display);
  font-size: .9375rem;
  font-weight: 520;
  line-height: 1.4;
  color: var(--error);
  margin-top: 2px;
}
.has-err .inp, .has-err .inp:hover { border-color: var(--error); box-shadow: 0 0 0 1px var(--error); }
.has-err .opt, .has-err .seg label { border-color: var(--error); }

.bk-note {
  margin-top: 20px;
  padding: 16px 18px;
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--tint);
  font-size: 1.0625rem;
  line-height: 1.5;
}
.bk-note b { font-family: var(--font-display); font-weight: 650; }
.bk-note-stop { border-left-color: var(--p-d); background: color-mix(in srgb, var(--p-d) 11%, transparent); }

.bk-privacy {
  margin-top: 22px;
  padding: 12px 14px;
  background: var(--bg);
  border-radius: 4px;
  font-size: .9375rem;
  line-height: 1.5;
  color: var(--ink-2);
}
.bk-fit { font-size: .9375rem; color: var(--ink-2); }
.bk-fit summary { cursor: pointer; font-family: var(--font-display); color: var(--ink-2); width: max-content; max-width: 100%; }
.bk-fit summary:hover { color: var(--ink); }
.bk-fit p { margin-top: 6px; line-height: 1.5; }

.bk-link {
  appearance: none;
  -webkit-appearance: none;
  background: none;
  border: 0;
  padding: 0;
  font-family: var(--font-display);
  font-size: .9375rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
  cursor: pointer;
}
#po-add { margin-top: 14px; }

.bk-attach {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  margin-top: 26px;
  padding: 12px 14px;
  border: 1px dashed var(--field-rule);
  border-radius: 4px;
  font-size: .9375rem;
}
.bk-attach.is-on { border-style: solid; border-color: var(--accent); background: var(--tint); }
.bk-attach-k { font-family: var(--font-mono); font-size: .6875rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); margin-right: 6px; }

.bk-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--rule);
}
.bk-actions-end { justify-content: flex-end; }
.bk-back {
  appearance: none;
  -webkit-appearance: none;
  background: none;
  border: 0;
  padding: .7em 0;
  font-family: var(--font-display);
  font-size: .9375rem;
  color: var(--ink-2);
  cursor: pointer;
}
.bk-back::before { content: "← "; }
.bk-back:hover { color: var(--ink); }
.btn-go { background: var(--accent); color: var(--accent-ink); font-size: 1rem; padding: .95em 1.55em; }
.btn-go:hover { background: var(--ink); color: var(--bg); }

/* Time picker (a preview: the live build links out to the scheduler) */
.cal-days { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.cal-day {
  appearance: none;
  -webkit-appearance: none;
  display: grid;
  justify-items: center;
  gap: 1px;
  padding: 10px 4px 9px;
  border: 1px solid var(--field-rule);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}
.cal-day:hover:not(:disabled) { border-color: var(--ink); }
.cal-dow, .cal-mon, .cal-free { font-family: var(--font-mono); font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.cal-num { font-family: var(--font-display); font-size: 1.5rem; font-weight: 640; font-stretch: 110%; line-height: 1.1; font-variant-numeric: tabular-nums; }
.cal-free { letter-spacing: .02em; text-transform: none; color: var(--accent); margin-top: 3px; }
.cal-day[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.cal-day[aria-pressed="true"] .cal-dow, .cal-day[aria-pressed="true"] .cal-mon, .cal-day[aria-pressed="true"] .cal-free { color: var(--bg); opacity: .8; }
.cal-day:disabled { cursor: not-allowed; opacity: .5; }
.cal-day:disabled .cal-free { color: var(--ink-2); }
@media (max-width: 560px) {
  .cal-days {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 74px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    padding-bottom: 6px;
  }
  .cal-day { scroll-snap-align: start; }
}
.cal-times-l { margin-top: 20px; }
.cal-times { display: flex; flex-wrap: wrap; gap: 8px; }
.cal-time {
  appearance: none;
  -webkit-appearance: none;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 560;
  font-variant-numeric: tabular-nums;
  padding: .65em 1.15em;
  border: 1px solid var(--field-rule);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}
.cal-time:hover { border-color: var(--ink); }
.cal-time[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.cal-chosen { margin-top: 18px; padding: 14px 16px; background: var(--bg); border-radius: 4px; }
.cal-chosen-h { font-family: var(--font-mono); font-size: .6875rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 8px; }
.cal-chosen ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.cal-chosen li { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; font-family: var(--font-display); font-size: 1.0625rem; line-height: 1.4; }
.cal-chosen small { display: block; margin-top: 2px; font-family: var(--font-body); font-size: .9375rem; color: var(--ink-2); }

/* Total, shown once on the last step */
.bk-total {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 4px 20px;
  margin-top: 26px;
  padding: 18px 20px;
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
}
.bk-total-l { font-family: var(--font-display); font-size: 1.125rem; font-weight: 640; }
.bk-total-v { font-family: var(--font-display); font-size: clamp(1.625rem, 1.3rem + 1vw, 2rem); font-weight: 680; font-stretch: 112%; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.bk-total-sub { grid-column: 1 / -1; font-size: .9375rem; color: var(--ink-2); }
.bk-total-free { display: block; font-size: 1.0625rem; }
.bk-alert {
  margin-top: 18px;
  padding: 14px 16px;
  border-left: 3px solid var(--error);
  border-radius: 0 4px 4px 0;
  background: color-mix(in srgb, var(--error) 9%, transparent);
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.45;
}
.bk-pay-hint { margin-top: 12px; font-size: .9375rem; line-height: 1.5; color: var(--ink-2); text-align: right; }
@media (max-width: 600px) { .bk-pay-hint { text-align: left; } }

/* Confirmation */
.bk-done { display: grid; gap: 18px; justify-items: start; }
.bk-done:focus { outline: none; }
.done-mark { width: 74px; height: 53px; overflow: visible; }
.done-mark .bm-today { fill: var(--p-a); }
.done-mark .bm-ahead, .done-mark .bm-knob { fill: var(--accent); }
.done-mark .bm-switch { fill: none; stroke: var(--ink); stroke-width: 2.2; }
.bk-done h2 { font-size: clamp(2rem, 1.3rem + 2.4vw, 3rem); font-weight: 650; font-stretch: 116%; line-height: 1; letter-spacing: -.026em; }
.done-line { font-size: 1.1875rem; line-height: 1.5; max-width: 34em; }
.done-next { list-style: none; padding: 4px 0 0 32px; margin: 0; position: relative; display: grid; gap: 18px; width: 100%; max-width: 38em; }
.done-next::before { content: ""; position: absolute; left: 8px; top: 10px; bottom: 10px; width: 2px; background: var(--p-b); border-radius: 1px; }
.done-next li { position: relative; display: grid; gap: 2px; }
.done-next li::before {
  content: "";
  position: absolute;
  left: -32px;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--surface);
  border: 3px solid var(--ink);
  box-sizing: border-box;
}
.done-next li:first-child::before { background: var(--signal); border-color: var(--signal); }
.done-next b { font-family: var(--font-mono); font-size: .6875rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.done-next span { font-size: 1.0625rem; line-height: 1.5; }
.done-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Summary card */
.bk-summary {
  position: sticky;
  top: calc(env(safe-area-inset-top, 0px) + 92px);
  margin-top: 46px;
  background-color: var(--band);
  background-image: linear-gradient(var(--band-grid) 1px, transparent 1px), linear-gradient(90deg, var(--band-grid) 1px, transparent 1px);
  background-size: 28px 28px;
  color: var(--band-ink);
  color-scheme: dark;
  border-radius: var(--radius);
  padding: clamp(20px, 2.4vw, 28px);
  display: grid;
  gap: 18px;
  box-shadow: var(--shadow-2);
  min-width: 0;
}
.bk-summary .eyebrow { color: var(--band-ink-2); }
.bk-summary .eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 8px;
  margin-right: 10px;
  vertical-align: -1px;
  background:
    linear-gradient(var(--band-accent), var(--band-accent)) left center / 20px 2px no-repeat,
    radial-gradient(circle, var(--band-accent) 0 2.6px, transparent 3.2px) right center / 8px 8px no-repeat;
}
.sum-name { font-family: var(--font-display); font-size: 1.5rem; font-weight: 660; font-stretch: 112%; line-height: 1.08; letter-spacing: -.02em; }
.sum-meta { margin-top: 6px; font-size: 1rem; line-height: 1.45; color: var(--band-ink-2); }
.sum-list { margin: 0; border-top: 1px solid var(--band-rule); }
.sum-list div { display: grid; grid-template-columns: 4.25rem minmax(0, 1fr); gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--band-rule); }
.sum-list dt { font-family: var(--font-mono); font-size: .6875rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--band-ink-2); padding-top: 3px; }
.sum-list dd { font-family: var(--font-display); font-size: .96875rem; font-weight: 560; line-height: 1.4; }
.sum-incl { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 1rem; line-height: 1.45; }
.sum-incl li { position: relative; padding-left: 20px; }
.sum-incl li::before { content: ""; position: absolute; left: 0; top: .66em; width: 10px; height: 2px; background: var(--band-accent); }
.sum-help { font-size: .9375rem; line-height: 1.5; color: var(--band-ink-2); overflow-wrap: anywhere; }
.sum-help a { color: var(--band-ink); }
@media (max-width: 960px) { .bk-summary { position: static; margin-top: 0; } }

/* Terms and privacy */
.bk-legal { margin-top: clamp(48px, 6vw, 72px); max-width: 46rem; border-top: 1px solid var(--ink); }
.bk-doc { border-bottom: 1px solid var(--rule); scroll-margin-top: 90px; }
.bk-doc > summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding: 18px 0;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 620;
  cursor: pointer;
}
.bk-doc > summary::-webkit-details-marker { display: none; }
.bk-doc > summary::after { content: "+"; font-family: var(--font-mono); font-size: 1.25rem; color: var(--accent); transition: transform .2s ease; }
.bk-doc[open] > summary::after { transform: rotate(45deg); }
.bk-doc-body { display: grid; gap: 10px; padding-bottom: 22px; font-size: 1rem; line-height: 1.55; color: var(--ink-2); }
.bk-doc-body b { color: var(--ink); font-weight: 600; }

/* Dialog that shows the terms or privacy note in place */
.bk-dialog {
  width: min(680px, calc(100vw - 32px));
  max-height: min(82vh, 760px);
  padding: 0;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-2);
}
.bk-dialog::backdrop { background: rgba(6, 16, 15, .55); }
.dlg-head {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px 14px 22px;
  background: var(--surface);
  border-bottom: 1px solid var(--rule);
}
.dlg-title { font-family: var(--font-display); font-size: 1.125rem; font-weight: 650; }
.dlg-close {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--rule);
  border-radius: 3px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.dlg-close svg { width: 16px; height: 16px; }
.dlg-body { padding: 18px 22px 24px; }
.dlg-body .bk-doc-body { padding: 0; }
