/* WSKF Australia - booking.css
   The five-step "Find your first class" request card (Booking Stage 1,
   approved Round 2 design, 3 December 2026). One card everywhere: the
   homepage, the Enrol page and every inner page that carries it.

   The card lays itself out by its own width (container queries), so it
   reads the same in any column: narrow below 880px of card width, wide at
   880px and above. Sizes are in rem so 200% text scales them.

   Stage 1 is a preview: the card sends nothing. */

.enq__card.bk{
  --bk-ink:#000; --bk-red:#E4191E; --bk-red-text:#C8161A; --bk-paper:#F4F3F1;
  --bk-line:#D4D2CF; --bk-rule:#E1DFDC; --bk-muted:#4A4A4A; --bk-quiet:#6B6A69; --bk-edge:#8E8D8C;
  container:bk / inline-size;
  background:var(--white,#fff); color:var(--bk-ink);
  border:0; border-radius:8px; overflow:hidden; overflow:clip;
  box-shadow:0 1px 2px rgba(0,0,0,.05),0 24px 48px -32px rgba(0,0,0,.45);
  font-family:var(--display);
}
.bk [hidden]{ display:none !important; }
.bk fieldset{ border:0; margin:0; padding:0; min-width:0; }
.bk legend{ padding:0; }
.bk p{ margin:0; max-width:none; }
.bk h2,.bk h3,.bk h4{ margin:0; }

/* ---------------------------------------------------------------- header */
.bk-head{ background:var(--bk-ink); color:#fff; padding:1.25rem 1.25rem 1.125rem; }
.bk-head__row{ display:flex; flex-wrap:wrap; justify-content:space-between; align-items:flex-end; gap:.5rem 2rem; }
.bk-head__text{ display:flex; flex-direction:column; gap:.5rem; min-width:0; }
.bk .bk-title{ font-family:var(--display); font-weight:700; font-size:1.25rem; line-height:1.1; letter-spacing:.01em; text-transform:uppercase; color:#fff; }
.bk-sub,.bk-tel{ font-size:.9375rem; line-height:1.5; color:#B5B4B3; }
.bk-tel a{ color:#fff; font-weight:500; text-underline-offset:3px; }
.v2-enquire .bk-tel{ display:none; }               /* inner pages show the phone just above the card */

.bk-progress{ list-style:none; margin:.875rem 0 0; padding:0; display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:4px; }
.bk-progress li{ display:flex; flex-direction:column; gap:.75rem; min-width:0; }
.bk-progress__bar{ display:block; height:4px; border-radius:2px; background:#3A3A3A; }
.bk-progress li.is-done .bk-progress__bar,.bk-progress li.is-current .bk-progress__bar{ background:var(--bk-red); }
.bk-progress__item{ display:flex; align-items:center; gap:.625rem; font:500 .875rem/1.3 var(--display); color:#9A9998; background:none; border:0; padding:0; text-align:left; }
.bk-progress__mark{ flex:none; width:22px; height:22px; display:grid; place-items:center; border:1.5px solid #6E6D6C; border-radius:3px; font:700 .875rem/1 var(--font-shotokan,var(--display)); color:#9A9998; }
.bk-progress li.is-current .bk-progress__item{ color:#fff; font-weight:600; }
.bk-progress li.is-current .bk-progress__mark{ border:2px solid var(--bk-red); color:#fff; }
.bk-progress li.is-done .bk-progress__item{ color:#fff; }
.bk-progress li.is-done .bk-progress__mark{ background:var(--bk-red); border-color:var(--bk-red); }
.bk-progress li.is-done .bk-progress__mark::after{ content:""; width:9px; height:5px; border:solid #fff; border-width:0 0 2.4px 2.4px; transform:translateY(-1px) rotate(-45deg); }
.bk-progress li.is-done .bk-progress__mark{ font-size:0; }
button.bk-progress__item{ cursor:pointer; }
button.bk-progress__item:hover .bk-progress__name{ text-decoration:underline; text-underline-offset:3px; }
.bk-phone-step{ margin-top:.875rem !important; font:600 .9375rem/1.3 var(--display); color:#fff; }

/* Breakpoints are in rem so a larger browser text size gives the narrow
   layout room, rather than squeezing the wide one. */
/* Narrow card: the progress list keeps its words for screen readers, shows bars only. */
@container bk (max-width:54.99rem){
  .bk-progress{ order:3; }
  .bk-progress li{ gap:0; }
  .bk-progress__item{ position:absolute !important; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
  .bk-head{ display:flex; flex-direction:column; }
  .bk-tel{ font-size:.875rem; }
}

/* ---------------------------------------------------------------- preview line */
.bk-preview{ background:var(--bk-paper); border-bottom:1px solid var(--bk-rule); padding:.75rem 1.25rem; font-size:.875rem; line-height:1.5; color:var(--bk-ink); }
.bk-preview b{ color:var(--bk-red-text); font-weight:700; }

/* ---------------------------------------------------------------- body and summary */
.bk-body{ display:block; }
.bk-main{ padding:1.625rem 1.25rem 2.25rem; min-width:0; container:bkm / inline-size; }

.bk-sum{ background:var(--bk-paper); border-bottom:1px solid var(--bk-rule); }
.bk-sum__toggle{ width:100%; display:flex; justify-content:space-between; align-items:center; gap:.75rem; min-height:52px; padding:.625rem 1.25rem; background:none; border:0; text-align:left; cursor:pointer; font:600 .875rem/1.4 var(--display); color:var(--bk-ink); }
.bk-sum__brief{ font-weight:400; color:var(--bk-muted); }
.bk-sum__show{ flex:none; display:inline-flex; align-items:center; gap:.375rem; }
.bk-sum__show .i{ width:16px; height:16px; transition:transform .2s var(--ease,ease); }
.bk-sum__toggle[aria-expanded="true"] .bk-sum__show .i{ transform:rotate(180deg); }
.bk-sum__body{ padding:0 1.25rem 1rem; }
.bk-sum:not(.is-open) .bk-sum__body{ display:none; }
.bk-sum__title{ display:none; font:600 1rem/1.3 var(--display); margin-bottom:.375rem !important; }
.bk-sum__list{ margin:0; }
.bk-sum__row{ padding:.75rem 0; border-top:1px solid var(--bk-rule); }
.bk-sum__list dd{ display:flex; justify-content:space-between; align-items:center; gap:.75rem; }
.bk-sum__list dt{ font:600 .8125rem/1.4 var(--display); color:var(--bk-muted); }
.bk-sum__list dd{ margin:.125rem 0 0; font:500 .9375rem/1.5 var(--display); color:var(--bk-ink); }
.bk-sum__list dd.is-empty{ color:var(--bk-quiet); font-weight:400; }
.bk-sum__edit{ flex:none; min-height:44px; padding:0 .25rem; background:none; border:0; font:600 .875rem var(--display); color:var(--bk-red-text); text-decoration:underline; text-underline-offset:3px; cursor:pointer; }
.bk-sum__note{ display:flex; gap:.625rem; padding-top:.875rem; border-top:1px solid var(--bk-rule); font-size:.875rem; line-height:1.5; color:var(--bk-muted); }
.bk-sum__note::before{ content:""; flex:none; width:3px; border-radius:2px; background:var(--bk-red); }

@container bk (min-width:55rem){
  .bk-head{ padding:2rem 3rem 0; }
  .bk .bk-title{ font-size:1.75rem; }
  .bk-progress{ margin-top:1.75rem; gap:8px; }
  .bk-progress li{ padding-bottom:1.25rem; }
  .bk-phone-step{ display:none; }
  .bk-preview{ padding:.75rem 3rem; }
  .bk-body{ display:grid; grid-template-columns:minmax(0,1fr) 18.75rem; grid-template-areas:"main sum"; gap:4.5rem; padding:3.25rem 3.5rem 3.5rem; }
  .bk-main{ grid-area:main; padding:0; }
  .bk-sum{ grid-area:sum; align-self:start; position:sticky; top:calc(var(--header-h,74px) + 32px); border:0; border-radius:6px; padding:1.375rem 1.375rem 1.25rem; }
  .bk-sum__toggle{ display:none; }
  .bk-sum:not(.is-open) .bk-sum__body,.bk-sum__body{ display:block; padding:0; }
  .bk-sum__title{ display:block; }
  .bk-sum__edit{ display:none; }
  .bk-sum__row{ padding:.875rem 0; }
}

/* ---------------------------------------------------------------- questions */
.bk-qhead{ display:flex; flex-direction:column; gap:.625rem; width:100%; }
.bk-kick{ font:600 .875rem/1.3 var(--display); color:var(--bk-red-text); }
.bk .bk-q{ font:600 1.625rem/1.2 var(--display); letter-spacing:-.015em; text-transform:none; color:var(--bk-ink); scroll-margin-top:calc(var(--header-h,74px) + 40px); }
.bk .bk-q:focus{ outline:none; }
.bk .bk-q:focus-visible{ outline:3px solid var(--bk-red); outline-offset:4px; }
.bk-lead{ font:400 1rem/1.6 var(--display); color:var(--bk-muted); max-width:40rem; }
.bk-sechead{ display:flex; flex-direction:column; gap:.375rem; width:100%; }
.bk .bk-sec{ font:600 1.125rem/1.3 var(--display); color:var(--bk-ink); text-transform:none; letter-spacing:0; }
.bk-note{ font:400 .9375rem/1.55 var(--display); color:var(--bk-muted); }
.bk-small{ font:400 .875rem/1.5 var(--display); color:var(--bk-muted); }
.bk-small a,.bk-lead a,.bk-note a,.bk-callout a{ color:var(--bk-red-text); text-underline-offset:3px; }

.bk-step > .bk-group:first-child > legend,.bk-step > .bk-qhead{ margin-bottom:1.375rem; }
.bk-group > legend.bk-sechead{ margin-bottom:.875rem; }
.bk .bk-step:not(.bk-done) > * + *{ margin-top:1.875rem; }        /* .bk lifts it above the fieldset reset */
.bk #bk-when-times > * + *{ margin-top:1.5rem; }
.bk .bk-step > #bk-trial{ margin-top:1.5rem; }
.bk .bk-step > .bk-group:first-child > legend + *{ margin-top:0; }
@container bk (min-width:55rem){
  .bk .bk-q{ font-size:2rem; }
  .bk-lead{ font-size:1.0625rem; }
  .bk .bk-step:not(.bk-done) > * + *{ margin-top:2.75rem; }
  .bk #bk-when-times > * + *{ margin-top:2rem; }
}

/* ---------------------------------------------------------------- options (cards) */
.bk-opts{ display:grid; gap:.75rem; grid-template-columns:minmax(0,1fr); }
@container bk (min-width:55rem){
  /* Side by side only when the question column has room for whole words
     (on a 1000 to 1150 px screen the column beside the summary is narrow). */
  @container bkm (min-width:42rem){ .bk-opts--3{ grid-template-columns:repeat(3,minmax(0,1fr)); gap:.875rem; } }
  @container bkm (min-width:34rem){ .bk-opts--2{ grid-template-columns:repeat(2,minmax(0,1fr)); gap:.875rem; } }
}
.bk-opt{ position:relative; display:grid; grid-template-columns:24px minmax(0,1fr); column-gap:1rem; align-items:start; padding:1.125rem 1rem; background:#fff; border:1px solid var(--bk-line); border-radius:6px; cursor:pointer; transition:border-color .15s; }
@container bk (min-width:55rem){ .bk-opt{ padding:1.25rem 1.375rem; } }
.bk-opt:hover{ border-color:var(--bk-edge); }
.bk-opt input{ position:absolute; inset:0; width:100%; height:100%; margin:0; opacity:0; cursor:pointer; }
.bk-opt.is-on{ border-color:var(--bk-ink); box-shadow:inset 0 0 0 1px var(--bk-ink); }
.bk-opt.is-focus{ outline:3px solid var(--bk-red); outline-offset:2px; }
.bk-opt--dashed{ border-style:dashed; }
.bk-opt--slim{ padding-block:.875rem; align-items:center; }
.bk-ind{ position:relative; width:24px; height:24px; margin-top:1px; border:2px solid var(--bk-edge); border-radius:50%; background:#fff; }
.bk-opt--sq .bk-ind{ border-radius:4px; }
.bk-opt.is-on .bk-ind{ border-color:var(--bk-red); background:var(--bk-red); }
.bk-opt.is-on .bk-ind::after{ content:""; position:absolute; left:6px; top:5px; width:9px; height:5px; border:solid #fff; border-width:0 0 2.4px 2.4px; transform:rotate(-45deg); }
.bk-opt__text{ display:block; min-width:0; }
.bk-opt__t{ display:block; font:600 1.0625rem/1.35 var(--display); color:var(--bk-ink); }
.bk-opt__d{ display:block; margin-top:.25rem; font:400 .9375rem/1.5 var(--display); color:var(--bk-muted); }
.bk-opt__x{ display:block; margin-top:.25rem; font:500 .9375rem/1.45 var(--display); color:var(--bk-ink); }
.bk-opt__addr{ display:flex; gap:.375rem; margin-top:.375rem; font:400 .875rem/1.5 var(--display); color:var(--bk-muted); }
.bk-opt__addr .i{ flex:none; width:16px; height:16px; margin-top:2px; }
.bk-opt__row{ display:flex; flex-wrap:wrap; justify-content:space-between; align-items:baseline; gap:.25rem .75rem; }
.bk-opt a{ position:relative; z-index:1; display:inline-block; margin-top:.625rem; font:600 .875rem var(--display); color:var(--bk-red-text); text-underline-offset:3px; }
.bk-opt__row a{ margin-top:0; }
.bk-opt--venue .bk-opt__row a{ display:none; }
@container bk (max-width:54.99rem){
  .bk-opt--venue .bk-opt__row a{ display:inline-block; }
  .bk-opt--venue .bk-opt__text > a{ display:none; }
}

/* sessions */
.bk-opt--session{ grid-template-columns:24px minmax(0,1fr); align-items:center; }
.bk-sess{ display:flex; flex-direction:column; gap:.125rem; }
.bk-sess__when{ display:flex; align-items:baseline; flex-wrap:wrap; gap:.125rem .5rem; }
.bk-sess__day{ font:700 .8125rem var(--display); color:var(--bk-red-text); }
.bk-sess__time{ font:700 1.25rem/1.2 var(--font-shotokan,var(--display)); color:var(--bk-ink); }
.bk-sess__name{ font:600 .9375rem/1.4 var(--display); color:var(--bk-ink); }
.bk-sess__ages{ font:400 .875rem/1.45 var(--display); color:var(--bk-muted); }
@container bk (min-width:55rem){
  .bk-sess{ display:grid; grid-template-columns:9.375rem minmax(0,1fr); align-items:center; column-gap:1rem; }
  .bk-sess__when{ flex-direction:column; gap:0; }
  .bk-sess__time{ font-size:1.375rem; }
  .bk-sess__name{ font-size:1rem; }
}
.bk-sessgroup + .bk-sessgroup{ margin-top:2.25rem; }
.bk-sessgroup .bk-opts{ gap:.625rem; }
.bk-sessgroup legend{ margin-bottom:.75rem; }
.bk-nomatch{ padding:1rem 1.125rem; background:var(--bk-paper); border-radius:6px; font:500 .9375rem/1.5 var(--display); }

/* ---------------------------------------------------------------- chips */
.bk-chips{ display:grid; gap:.5rem; grid-template-columns:repeat(2,minmax(0,1fr)); }
.bk-chips--3{ grid-template-columns:repeat(3,minmax(0,1fr)); }
.bk-chips--days{ grid-template-columns:repeat(4,minmax(0,1fr)); }
.bk-chips--days .bk-chip > span{ padding-inline:.25rem; }      /* three letters fit a quarter of a 320 px card */
.bk-chips--flex{ display:flex; flex-wrap:wrap; }
.bk-chips--flex .bk-chip{ flex:0 0 auto; }
/* Time of day: "Afternoon" does not fit a third of a phone card, so the
   three buttons share rows (3, then 2 + 1) by the room they need. */
.bk .bk-chips--tod{ grid-template-columns:repeat(auto-fit,minmax(7.25rem,1fr)); }
.bk-chips--1{ grid-template-columns:minmax(0,1fr); }
.bk-chips--ages{ grid-template-columns:repeat(3,minmax(0,1fr)); }
.bk-chips--ages .bk-chip > span{ padding-inline:.25rem; white-space:nowrap; }   /* "50–75+" stays whole */
@container bkm (max-width:17rem){ .bk-chips--ages{ grid-template-columns:repeat(2,minmax(0,1fr)); } }   /* 320 px phones */
@container bk (min-width:55rem){
  .bk-chips--states{ grid-template-columns:repeat(4,minmax(0,1fr)); }
  .bk-chips--days{ grid-template-columns:repeat(7,minmax(0,1fr)); }
  /* Age groups go all in one row only when the question column has room
     (on a 1000 to 1150 px screen it is too narrow for six). */
  @container bkm (min-width:46rem){ .bk-chips--ages{ grid-template-columns:repeat(var(--bk-n,6),minmax(0,1fr)); } }
}
.bk-chip{ position:relative; display:flex; min-width:0; cursor:pointer; }
.bk-chip input{ position:absolute; inset:0; width:100%; height:100%; margin:0; opacity:0; cursor:pointer; }
.bk-chip > span{ flex:1; display:flex; align-items:center; justify-content:center; min-height:48px; padding:.375rem .75rem; background:#fff; border:1px solid var(--bk-line); border-radius:6px; font:500 1rem/1.25 var(--display); color:var(--bk-ink); text-align:center; transition:border-color .15s,background-color .15s; }
.bk-chip:hover > span{ border-color:var(--bk-edge); }
.bk-chip input:checked + span{ background:var(--bk-ink); border-color:var(--bk-ink); color:#fff; font-weight:600; }
.bk-chip input:focus-visible + span{ outline:3px solid var(--bk-red); outline-offset:2px; }
.bk-chips--states .bk-chip > span{ font-size:.9375rem; padding-inline:.375rem; }
.bk-short{ display:none; }
/* Very narrow card (a phone with very large text): one choice per row. */
@container bk (max-width:16rem){
  .bk-chips,.bk-chips--states,.bk-chips--ages{ grid-template-columns:minmax(0,1fr); }
  .bk-chip > span{ overflow-wrap:anywhere; }
}
@container bk (max-width:32.5rem){
  .bk-chips--3 .bk-long{ position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
  .bk-chips--3 .bk-short{ display:inline; }
}

/* ---------------------------------------------------------------- people */
.bk .bk-step > .bk-people{ margin-top:2.75rem; }
.bk-people .bk-sechead{ margin-bottom:1.125rem; }
#bk-people{ display:flex; flex-direction:column; gap:.875rem; }
.bk-person{ position:relative; border:1px solid var(--bk-line) !important; border-radius:6px; padding:1.125rem 1rem 1.25rem !important; }
.bk-person__tools{ position:absolute; top:.375rem; right:.625rem; display:flex; gap:.75rem; }
.bk-person.has-tools legend{ padding-right:6.5rem; }
@container bk (min-width:55rem){ .bk-person{ padding:1.25rem 1.5rem 1.5rem !important; } }
.bk-person__head{ display:flex; justify-content:space-between; align-items:center; gap:.75rem; width:100%; }
.bk-person legend{ float:left; width:100%; font:600 1.0625rem/1.3 var(--display); color:var(--bk-ink); }
.bk-person__role{ font-weight:500; color:var(--bk-muted); }
.bk-person__rows{ clear:both; display:flex; flex-direction:column; gap:1.125rem; padding-top:1.125rem; }
.bk-person__row{ display:flex; flex-direction:column; gap:.625rem; }
.bk-person__row > .bk-rowlabel{ font:500 1rem/1.3 var(--display); color:var(--bk-muted); }
@container bk (min-width:55rem){
  .bk-person.is-collapsed .bk-person__rows{ display:flex; }
  .bk-person.is-collapsed .bk-person__sum{ display:none; }
  .bk-person.is-collapsed{ padding-block:1.25rem 1.5rem !important; }
  .bk-person__btn--change{ display:none; }
  .bk-person__row{ display:grid; grid-template-columns:8.125rem minmax(0,1fr); align-items:center; gap:.75rem 1.25rem; }
  .bk-person__row .bk-error{ grid-column:2; }
}
.bk-person__sum{ clear:both; display:none; padding-top:.25rem; font:400 .875rem/1.5 var(--display); color:var(--bk-muted); }
.bk-person.is-collapsed .bk-person__rows{ display:none; }
.bk-person.is-collapsed .bk-person__sum{ display:block; }
.bk-person.is-collapsed{ padding-block:1rem !important; }
.bk-person__btn{ flex:none; min-height:44px; padding:0 .25rem; background:none; border:0; font:600 .875rem var(--display); color:var(--bk-ink); text-decoration:underline; text-underline-offset:4px; cursor:pointer; }
.bk-person__q{ margin-top:.25rem; padding:1rem; background:var(--bk-paper); border-radius:6px; }
.bk-person__q .bk-person__row{ display:flex !important; flex-direction:column; align-items:stretch; }
.bk .bk-rowlabel--q{ font-weight:600; color:var(--bk-ink); }
.bk-person__qnote{ margin-top:.75rem !important; }
.bk-chips--2{ grid-template-columns:repeat(2,minmax(0,1fr)); max-width:20rem; }
.bk-chips--exp{ grid-template-columns:minmax(0,1fr); }
@container bk (min-width:55rem){ .bk-chips--exp{ display:flex; flex-wrap:wrap; } .bk-chips--exp .bk-chip > span{ padding-inline:1.25rem; } }
.bk-sess__what{ display:flex; flex-direction:column; }
.bk .bk-opt__t--quiet{ font-weight:500; font-size:.9375rem; }
.bk-sessothers{ margin-top:1.25rem !important; }
.bk-person.has-error{ border-color:var(--bk-red-text) !important; box-shadow:inset 0 0 0 1px var(--bk-red-text); }
.bk-people__foot{ display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:.75rem 1.25rem; margin-top:.875rem; }
.bk-add{ display:inline-flex; align-items:center; gap:.625rem; min-height:48px; padding:0 1.25rem; background:#fff; border:1px dashed var(--bk-edge); border-radius:6px; font:600 .9375rem var(--display); color:var(--bk-ink); cursor:pointer; }
.bk-add .i{ width:16px; height:16px; }
.bk-add:hover{ border-color:var(--bk-ink); }

/* ---------------------------------------------------------------- fields */
.bk-fields{ display:grid; grid-template-columns:minmax(0,1fr); gap:1.5rem; }
@container bk (min-width:55rem){
  .bk-fields{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .bk-field--wide{ grid-column:1 / -1; }
}
.bk-field{ display:flex; flex-direction:column; gap:.5rem; min-width:0; }
.bk-label{ font:600 1rem/1.3 var(--display); color:var(--bk-ink); }
.bk-label i{ font-style:normal; font-weight:400; color:var(--bk-muted); }
fieldset.bk-field > legend.bk-label{ margin-bottom:.625rem; }
.bk-hint{ font:400 .875rem/1.5 var(--display); color:var(--bk-muted); }
.bk-input{ width:100%; height:54px; padding:0 1rem; border:1px solid var(--bk-edge); border-radius:6px; background:#fff; font:500 1.0625rem var(--display); color:var(--bk-ink); }
textarea.bk-input{ height:auto; min-height:6.5rem; padding:.875rem 1rem; line-height:1.5; resize:vertical; }
.bk-input:focus{ outline:3px solid var(--bk-red); outline-offset:1px; border-color:var(--bk-ink); }
.is-err > .bk-input,.bk-input[aria-invalid="true"]{ border:2px solid var(--bk-red-text); }
.bk-error{ display:flex; gap:.5rem; align-items:flex-start; font:600 .9375rem/1.45 var(--display); color:var(--bk-red-text); }
.bk-error .i{ flex:none; width:20px; height:20px; margin-top:1px; }
#bk-f-consent.is-err .bk-opt{ border:2px solid var(--bk-red-text); box-shadow:none; }

/* ---------------------------------------------------------------- error summary, callouts */
.bk-errors{ margin-bottom:1.75rem; padding:1.125rem 1.25rem; border:2px solid var(--bk-red-text); border-radius:6px; background:#FFF5F5; }
.bk-errors:focus{ outline:3px solid var(--bk-ink); outline-offset:3px; }
.bk-errors__title{ display:flex; gap:.625rem; font:700 1.0625rem/1.35 var(--display); color:var(--bk-ink); }
.bk-errors__title .i{ flex:none; width:20px; height:20px; margin-top:2px; color:var(--bk-red-text); }
.bk-errors ul{ margin:.625rem 0 0; padding-left:3.125rem; display:flex; flex-direction:column; gap:.375rem; }
.bk-errors a{ font:600 .9375rem/1.45 var(--display); color:var(--bk-red-text); text-underline-offset:3px; }

.bk-callout{ display:block; padding:1rem 1.125rem; background:var(--bk-paper); border-radius:6px; font:400 .9375rem/1.55 var(--display); color:var(--bk-ink); }
.bk-callout--mark{ display:flex; flex-direction:column; gap:.375rem; border-left:4px solid var(--bk-red); }
.bk-callout__t{ font:600 1rem/1.45 var(--display); color:var(--bk-ink); }
.bk-callout p + p{ color:var(--bk-muted); }
.bk-failed{ padding:1rem 1.125rem; border:2px solid var(--bk-red-text); border-radius:6px; background:#FFF5F5; display:flex; flex-direction:column; gap:.375rem; font:400 .9375rem/1.55 var(--display); }
.bk-failed a{ color:var(--bk-red-text); }
.bk-linkbtn{ display:inline-block; min-height:44px; padding:0; background:none; border:0; font:500 .875rem var(--display); color:var(--bk-muted); text-decoration:underline; text-underline-offset:3px; cursor:pointer; }
@container bk (min-width:55rem){ .bk-callout,.bk-failed{ padding:1.25rem 1.375rem; } }

/* ---------------------------------------------------------------- review and done */
.bk-review{ border-bottom:1px solid #E7E6E4; }
.bk-rv{ display:flex; flex-direction:column; gap:.25rem; padding:1.125rem 0; border-top:1px solid #E7E6E4; }
.bk-rv__head{ display:flex; justify-content:space-between; align-items:center; gap:.75rem; }
.bk-rv__t{ font:600 .875rem/1.5 var(--display); color:var(--bk-muted); }
.bk-rv__v p{ font:500 .9375rem/1.55 var(--display); color:var(--bk-ink); }
.bk-rv__edit{ flex:none; min-height:44px; padding:0 .25rem; background:none; border:0; font:600 .9375rem var(--display); color:var(--bk-red-text); text-decoration:underline; text-underline-offset:3px; cursor:pointer; }
@container bk (min-width:55rem){
  .bk-rv{ display:grid; grid-template-columns:11.875rem minmax(0,1fr) auto; gap:1.5rem; padding:1.5rem 0; }
  .bk-rv__head{ display:contents; }
  .bk-rv__t{ grid-column:1; grid-row:1; font-size:.9375rem; }
  .bk-rv__v{ grid-column:2; grid-row:1; }
  .bk-rv__edit{ grid-column:3; grid-row:1; align-self:start; min-height:0; }
  .bk-rv__v p{ font-size:1rem; }
  #bk-step-5,#bk-done{ max-width:56.25rem; }
}
.bk-review--done .bk-rv__edit{ display:none; }

.bk-done__mark{ display:grid; place-items:center; width:48px; height:48px; border-radius:6px; background:var(--bk-red); color:#fff; }
.bk-done__mark .i{ width:26px; height:26px; }
.bk .bk-q--done{ font-size:1.75rem; font-weight:700; }
@container bk (min-width:55rem){ .bk .bk-q--done{ font-size:2.5rem; } .bk-done__mark{ width:56px; height:56px; } }
.bk-done > * + *{ margin-top:1.25rem; }
.bk-done__acts{ display:flex; flex-wrap:wrap; align-items:center; gap:1rem 1.5rem; margin-top:2rem !important; }

/* ---------------------------------------------------------------- navigation */
.bk-nav{ display:flex; flex-direction:column-reverse; gap:.625rem; margin-top:2.25rem; padding-top:1.5rem; border-top:1px solid #E7E6E4; }
.bk-nav .btn{ min-height:56px; border-radius:6px; }
.bk-next{ width:100%; }
.bk-back{ align-self:center; border:0 !important; background:none !important; min-height:44px !important; text-decoration:underline; text-underline-offset:4px; letter-spacing:.04em; }
.bk-nav__note{ text-align:center; font:400 .875rem/1.5 var(--display); color:var(--bk-muted); }
.bk-nav__note:empty{ display:none; }
.bk-next .i,.bk-back .i{ width:18px; height:18px; }
@container bk (min-width:55rem){
  .bk-nav{ flex-direction:row; justify-content:space-between; align-items:center; gap:1.25rem; margin-top:2.75rem; padding-top:2rem; }
  .bk-next{ width:auto; margin-left:auto; }
  .bk-back{ align-self:auto; border:1px solid var(--bk-ink) !important; background:#fff !important; text-decoration:none; letter-spacing:.09em; }
  .bk-nav__note{ text-align:right; }
}
.bk-spin{ width:18px; height:18px; border:2.5px solid rgba(255,255,255,.45); border-top-color:#fff; border-radius:50%; animation:bk-spin .8s linear infinite; }
@keyframes bk-spin{ to{ transform:rotate(360deg); } }
@media (prefers-reduced-motion:reduce){ .bk-spin{ animation:none; } .bk-sum__show .i{ transition:none; } }
.bk-next[aria-disabled="true"]{ opacity:.85; cursor:progress; }

/* ---------------------------------------------------------------- without JavaScript */
.bk-nojs{ display:none; }
html:not(.js) .bk-nojs{ display:block; padding:1.5rem 1.25rem; font:400 1rem/1.6 var(--display); }
html:not(.js) .bk-nojs p + p{ margin-top:.5rem; }
html:not(.js) .bk-nojs a{ color:var(--bk-red-text); font-weight:600; }

/* Forced colours: keep selection visible without colour. */
@media (forced-colors:active){
  .bk-opt.is-on{ outline:3px solid CanvasText; }
  .bk-chip input:checked + span{ outline:3px solid CanvasText; }
  .bk-progress__bar{ border:1px solid CanvasText; }
}
