/* Booking and account pages (/booking, /account). Built on the site.css tokens;
   this file adds only what those pages need. Direction: a calm, editorial
   booking desk on cream paper, with the summary as a forest-green class ticket. */

:root {
  --bk-line: #E6E2D2;
  --bk-ink-soft: #3E4D44;
  --bk-ticket: #0B2E20;
  --bk-ticket-2: #123D2B;
  --bk-cream: #F6F1DE;
  --bk-gold-text: #F7CF74;
  --bk-focus: 0 0 0 3px var(--paper), 0 0 0 6px var(--ring);
  --bk-tap: 44px;
  --bk-step-in: 280ms;
}

.bk-body {
  background:
    radial-gradient(900px 420px at 8% -8%, rgba(220, 244, 226, .75), transparent 70%),
    radial-gradient(700px 380px at 100% 0%, rgba(251, 239, 203, .55), transparent 70%),
    var(--paper);
  min-height: 100vh; display: flex; flex-direction: column;
}

/* ---------- header and footer ---------- */
.bk-header { border-bottom: 1px solid var(--bk-line); background: rgba(250, 248, 239, .9); }
.bk-header-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.bk-brand { display: flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 700; font-size: 1.05rem; white-space: nowrap; }
.bk-brand img { border-radius: 9px; }
.bk-header-actions { display: flex; align-items: center; gap: 8px; }
.bk-lang, .bk-header-link {
  min-height: var(--bk-tap); min-width: var(--bk-tap); padding: 0 14px; border-radius: var(--r-pill);
  display: inline-flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--border-mint); background: transparent; color: var(--jade-deep);
  font: 700 .86rem/1 var(--f-display); cursor: pointer; transition: border-color .2s, background .2s;
}
.bk-header-link { border-color: transparent; color: var(--ink2); white-space: nowrap; }
@media (max-width: 380px) { .bk-brand span { display: none; } .bk-header-link { padding: 0 8px; } }
.bk-lang:hover, .bk-header-link:hover { border-color: var(--jade); background: var(--card); }
.bk-main { flex: 1; padding-block: clamp(28px, 5vw, 56px) clamp(56px, 8vw, 96px); }
.bk-footer { border-top: 1px solid var(--bk-line); padding-block: 22px; color: var(--muted); font-size: .86rem; }
.bk-footer-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px; }
.bk-footer-in nav { display: flex; flex-wrap: wrap; gap: 0 4px; margin-inline: -10px; }
/* 44 px touch targets from padding, not a bigger font. */
.bk-footer-in a { color: var(--ink2); display: inline-flex; min-height: 44px; min-width: 44px; padding: 0 10px; align-items: center; justify-content: center; border-radius: 10px; }
.bk-footer-in a:focus-visible { outline: none; box-shadow: var(--bk-focus); }
.bk-footer-in a:hover { color: var(--jade-deep); }

/* ---------- intro ---------- */
.bk-intro { max-width: 720px; margin-bottom: clamp(22px, 4vw, 40px); }
.bk-intro .eyebrow { margin-bottom: 12px; }
.bk-title { font-size: clamp(2rem, 1.2rem + 3.6vw, 3.5rem); font-weight: 800; letter-spacing: -.035em; }
.bk-intro-lead { margin-top: 12px; color: var(--ink2); font-size: clamp(1rem, .95rem + .3vw, 1.12rem); max-width: 56ch; }

/* ---------- layout: flow + ticket ---------- */
.bk-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start; }
.bk-flow { min-width: 0; }
.bk-layout:not(.has-ticket) .bk-flow { max-width: 860px; }
@media (min-width: 980px) {
  .bk-layout.has-ticket { grid-template-columns: minmax(0, 1fr) 330px; gap: 40px; }
  .bk-ticket { position: sticky; top: 24px; }
}

/* ---------- stepper ---------- */
.bk-steps { margin-bottom: 18px; }
.bk-steps-count { font-family: var(--f-display); font-weight: 600; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--jade-deep); margin-bottom: 10px; }
.bk-steps ol { display: flex; gap: 6px; }
.bk-steps-i { flex: 1; min-width: 0; position: relative; }
.bk-steps-i > span, .bk-steps-i > button {
  width: 100%; min-height: var(--bk-tap); display: flex; align-items: center; gap: 8px; padding: 6px 4px 10px 0;
  background: none; border: 0; font: inherit; color: var(--muted); text-align: left; cursor: default;
  border-bottom: 3px solid var(--bk-line);
}
.bk-steps-i > button { cursor: pointer; color: var(--jade-deep); }
.bk-steps-i > button:hover .bk-steps-t { text-decoration: underline; text-underline-offset: 3px; }
.bk-steps-i.is-done > * { border-bottom-color: var(--jade); }
.bk-steps-i.is-current > * { border-bottom-color: var(--ink); color: var(--ink); }
.bk-steps-n {
  flex: none; display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  font: 700 .78rem/1 var(--f-display); background: var(--card); border: 1.5px solid var(--bk-line);
}
.bk-steps-i.is-done .bk-steps-n { background: var(--jade-soft); border-color: var(--jade); color: var(--jade-700); }
.bk-steps-i.is-current .bk-steps-n { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.bk-steps-t { font-weight: 700; font-size: .88rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 719px) {
  .bk-steps-i:not(.is-current) .bk-steps-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .bk-steps-i.is-current { flex: 2.6; }
}

/* ---------- step surface ---------- */
.bk-step {
  background: var(--card); border: 1px solid var(--bk-line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm); padding: clamp(20px, 4vw, 40px);
}
@media (prefers-reduced-motion: no-preference) {
  .bk-step.is-in { animation: bk-step-in var(--bk-step-in) var(--ease-out); }
  @keyframes bk-step-in { from { opacity: .001; transform: translateY(10px); } }
}
.bk-step-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 18px; }
.bk-step-num {
  font-family: var(--f-display); font-weight: 800; font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.4rem);
  line-height: .9; letter-spacing: -.05em; color: var(--jade-soft); -webkit-text-stroke: 1.5px var(--jade); flex: none;
}
.bk-step-h { font-size: clamp(1.45rem, 1.1rem + 1.4vw, 2.1rem); font-weight: 800; letter-spacing: -.03em; }
/* Headings and messages that receive focus after an async step (focusEl):
   the ring follows :focus-visible, so it shows for keyboard users only. */
.bk-step-h:focus, .bk-main [tabindex="-1"]:focus { outline: none; }
.bk-step-h:focus-visible, .bk-main [tabindex="-1"]:focus-visible { outline: 3px solid var(--ring); outline-offset: 4px; }
.bk-title[tabindex="-1"]:focus-visible { outline-offset: 2px; }
/* Focused targets scroll clear of the sticky summary bar on small screens. */
.bk-step-h, .bk-main [tabindex="-1"] { scroll-margin-top: 24px; }
@media (max-width: 979px) { .bk-layout.has-ticket .bk-step-h, .bk-layout.has-ticket [tabindex="-1"] { scroll-margin-top: 96px; } }
.bk-lead { color: var(--ink2); margin-bottom: 18px; max-width: 60ch; }
.bk-kicker { font-family: var(--f-display); font-weight: 600; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--jade-deep); }
.bk-hint { color: var(--muted); font-size: .88rem; margin-top: 6px; line-height: 1.5; }
.bk-hint .ic { vertical-align: -.25em; color: var(--jade-deep); }
.bk-mono { font-family: var(--f-display); font-variant-numeric: tabular-nums; letter-spacing: .08em; }

/* ---------- actions and small controls ---------- */
.bk-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 24px; }
.bk-actions-split { justify-content: space-between; border-top: 1px solid var(--bk-line); padding-top: 20px; }
.bk-actions-split .btn-primary { margin-left: auto; }
@media (max-width: 520px) {
  .bk-actions > .btn { flex: 1 1 auto; }
  .bk-actions-split { flex-direction: column-reverse; align-items: stretch; }
  .bk-actions-split .btn { width: 100%; margin-left: 0; white-space: normal; }
}
.bk-actions .btn { min-height: var(--bk-tap); }
.bk-actions .btn .ic { transition: transform .2s var(--ease-out); }
@media (hover: hover) { .bk-actions .btn-primary:hover .ic { transform: translateX(3px); } }
.btn:focus-visible, .bk-day:focus-visible, .bk-slot:focus-visible, .bk-pitem:focus-visible, .bk-linkbtn:focus-visible,
.bk-steps-i > button:focus-visible, .bk-lang:focus-visible, .bk-header-link:focus-visible, .bk-ticket-bar:focus-visible {
  outline: none; box-shadow: var(--bk-focus);
}
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-primary[aria-busy="true"] { opacity: .8; }
.bk-linkbtn {
  background: none; border: 0; padding: 0 4px; min-height: var(--bk-tap); cursor: pointer; border-radius: 8px;
  font: 700 .92rem/1.3 var(--f-body); color: var(--jade-deep); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px;
}
.bk-linkbtn:hover { color: var(--jade-700); text-decoration-thickness: 2.5px; }
.bk-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }

.bk-alert {
  display: flex; align-items: flex-start; gap: 10px; flex-wrap: wrap; padding: 12px 16px; border-radius: 14px; margin-bottom: 16px;
  background: var(--cinnabar-soft); color: #6E2615; font-weight: 600; font-size: .95rem; line-height: 1.5;
  border-left: 4px solid var(--cinnabar);
}
.bk-alert .ic { color: var(--cinnabar); margin-top: 2px; }
.bk-alert a { color: #6E2615; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.bk-alert > span { flex: 1 1 0; min-width: 0; }
.bk-alert > .btn { margin-left: auto; }
.bk-note { padding: 14px 18px; border-radius: 14px; background: var(--gold-soft); color: #4F3605; font-size: .95rem; line-height: 1.55; margin-top: 16px; }
.bk-note a:not(.btn) { color: var(--jade-700); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.bk-note .btn { margin-top: 10px; }
.bk-trial-note { display: flex; gap: 10px; align-items: flex-start; }
.bk-trial-note .ic { flex: none; margin-top: 3px; color: #4F3605; }
/* The static loading line shows only once a script has run (fallback.js adds
   html.has-js first); with JavaScript off the noscript note stands alone. */
html:not(.has-js) [data-static-loading] { display: none; }
.bk-loading { display: flex; align-items: center; gap: 12px; color: var(--ink2); font-weight: 600; padding: 18px 0; }
.bk-spinner { width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid var(--jade-soft); border-top-color: var(--jade); flex: none; }
@media (prefers-reduced-motion: no-preference) {
  .bk-spinner { animation: bk-spin .8s linear infinite; }
  @keyframes bk-spin { to { transform: rotate(360deg); } }
}

/* ---------- program ---------- */
.bk-program-head { padding-bottom: 20px; border-bottom: 1px solid var(--bk-line); }
.bk-program-title { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); font-weight: 800; letter-spacing: -.03em; margin-top: 8px; }
.bk-program-sum { color: var(--ink2); margin-top: 10px; max-width: 58ch; }
.bk-price { display: flex; align-items: baseline; gap: 8px; margin-top: 16px; }
.bk-price-v { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.5rem, 1.3rem + .8vw, 1.9rem); color: var(--jade-700); letter-spacing: -.02em; }
.bk-price-u { color: var(--muted); font-size: .9rem; }
.bk-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px 24px; padding-block: 20px; }
.bk-facts dt { font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.bk-facts dd { font-weight: 700; margin-top: 4px; }
.bk-facts dd small { display: block; font-weight: 500; color: var(--ink2); font-size: .86rem; margin-top: 4px; }
.bk-terms { background: var(--mint); border-radius: var(--r-md); padding: 16px 18px; margin-top: 4px; }
.bk-terms h3, .bk-terms h4 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--jade-700); margin-bottom: 8px; }
.bk-terms li { display: flex; gap: 10px; align-items: flex-start; font-size: .93rem; color: var(--bk-ink-soft); padding-block: 4px; }
.bk-terms li .ic { color: var(--jade); width: 18px; height: 18px; margin-top: 3px; }

.bk-plist { border-top: 1px solid var(--bk-line); }
.bk-plist li { border-bottom: 1px solid var(--bk-line); }
.bk-pitem {
  width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 14px;
  padding: 18px 8px; background: none; border: 0; text-align: left; cursor: pointer; font: inherit; color: inherit;
  border-radius: 12px; transition: background .2s;
}
.bk-pitem:hover { background: var(--jade-soft-2); }
.bk-pitem-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.bk-pitem-title { font-family: var(--f-display); font-weight: 700; font-size: 1.2rem; letter-spacing: -.02em; }
.bk-pitem-sub { color: var(--ink2); font-size: .9rem; }
.bk-pitem-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.bk-pitem-price { font-family: var(--f-display); font-weight: 800; color: var(--jade-700); white-space: nowrap; }
.bk-pitem-len { color: var(--muted); font-size: .84rem; white-space: nowrap; }
.bk-pitem-ic { color: var(--jade-deep); transition: transform .2s var(--ease-out); }
@media (hover: hover) { .bk-pitem:hover .bk-pitem-ic { transform: translateX(4px); } }
@media (max-width: 420px) { .bk-pitem { grid-template-columns: minmax(0, 1fr) auto; } .bk-pitem-ic { display: none; } }

.bk-empty { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px 28px; align-items: center;
  background: var(--card); border: 1px solid var(--bk-line); border-radius: var(--r-lg); padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow-sm); }
.bk-empty h2, .bk-empty h3 { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); font-weight: 800; }
.bk-empty p { color: var(--ink2); margin-top: 10px; max-width: 54ch; }
.bk-bao { width: 112px; height: auto; flex: none; }
@media (max-width: 560px) { .bk-empty { grid-template-columns: 1fr; text-align: left; } .bk-empty .bk-bao { width: 88px; } }

/* ---------- time: zone line ---------- */
.bk-zone { margin-bottom: 18px; }
.bk-zone-line { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 0 10px; color: var(--ink2); font-size: .93rem; line-height: 1.5; }
.bk-zone-line > .ic { color: var(--jade-deep); margin-top: 2px; }
.bk-zone-line .bk-linkbtn { grid-column: 2; justify-self: start; min-height: 36px; padding-inline: 0; }
@media (min-width: 720px) { .bk-zone-line { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; } .bk-zone-line > .ic { margin-top: 0; } }
.bk-zone-name { color: var(--ink); }
.bk-zone-panel { margin-top: 12px; padding: 16px; border-radius: var(--r-md); background: var(--paper-2); border: 1px solid var(--bk-line); max-width: 480px; }
.bk-zone-list { margin-top: 10px; background-image: none; padding: 6px; height: auto; }
.bk-zone-list option { padding: 8px 10px; border-radius: 8px; }

/* ---------- time: date grid (strip on phones) ---------- */
.bk-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.bk-day-head { text-align: center; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-bottom: 2px; }
.bk-day {
  position: relative; min-height: 64px; padding: 8px 4px; border-radius: 14px; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0;
  background: var(--card); border: 1.5px solid var(--bk-line); color: var(--ink); font: inherit;
  transition: border-color .15s, background .15s, transform .15s var(--ease-out);
}
.bk-day-wd { display: none; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.bk-day-n { font-family: var(--f-display); font-weight: 700; font-size: 1.2rem; line-height: 1.1; }
.bk-day-m { font-size: .72rem; color: var(--muted); font-weight: 600; }
.bk-day-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--jade); margin-top: 3px; }
.bk-day[aria-disabled="true"] { background: transparent; border-style: dashed; color: #8A968E; cursor: not-allowed; }
.bk-day[aria-disabled="true"] .bk-day-n { font-weight: 500; }
@media (hover: hover) { .bk-day:not([aria-disabled="true"]):hover { border-color: var(--jade); transform: translateY(-1px); } }
.bk-day[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.bk-day[aria-pressed="true"] .bk-day-m, .bk-day[aria-pressed="true"] .bk-day-wd { color: var(--on-dark2); }
.bk-day[aria-pressed="true"] .bk-day-dot { background: var(--gold); }
.bk-day:active:not([aria-disabled="true"]) { transform: scale(.96); }
@media (max-width: 639px) {
  .bk-days-wrap { margin-inline: calc(-1 * clamp(20px, 4vw, 40px)); }
  .bk-days {
    display: flex; overflow-x: auto; scroll-snap-type: x proximity; padding: 4px clamp(20px, 4vw, 40px) 10px;
    scrollbar-width: thin; overscroll-behavior-x: contain;
  }
  .bk-day-head, .bk-day-pad { display: none; }
  .bk-day { flex: 0 0 64px; min-height: 80px; scroll-snap-align: start; }
  .bk-day-wd { display: block; }
}

/* ---------- time: slots ---------- */
.bk-times { margin-top: 22px; }
.bk-times-h { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; letter-spacing: -.01em; }
.bk-part { margin-top: 12px; }
.bk-part-h { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.bk-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; }
.bk-slot {
  min-height: 52px; padding: 8px 10px; border-radius: 12px; cursor: pointer; font: inherit; color: var(--ink);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  background: var(--card); border: 1.5px solid var(--border-mint);
  transition: border-color .15s, background .15s, transform .15s var(--ease-out);
}
.bk-slot-t { font-family: var(--f-display); font-weight: 700; font-size: 1.08rem; font-variant-numeric: tabular-nums; }
.bk-slot-sub { font-size: .74rem; color: var(--ink2); line-height: 1.25; text-align: center; }
@media (hover: hover) { .bk-slot:hover { border-color: var(--jade); background: var(--jade-soft-2); } }
.bk-slot:active { transform: scale(.96); }
.bk-slot[aria-pressed="true"] { background: var(--jade-btn); border-color: var(--jade-btn); color: #fff; box-shadow: var(--shadow-jade); }
.bk-slot[aria-pressed="true"] .bk-slot-sub { color: #E4F6EA; }
.bk-err-block { margin-top: 14px; }

/* ---------- details form ---------- */
.bk-form { display: flex; flex-direction: column; gap: 18px; }
.bk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.bk-grid > :first-child { grid-column: 1 / -1; }
@media (max-width: 640px) { .bk-grid { grid-template-columns: 1fr; } }
.bk-field .input { min-height: 50px; }
.bk-field.has-err .input { border-color: var(--cinnabar); }
.bk-err { display: flex; align-items: flex-start; gap: 6px; margin-top: 7px; color: #8E321E; font-weight: 600; font-size: .9rem; line-height: 1.45; }
.bk-err .ic { color: var(--cinnabar); margin-top: 2px; }
.bk-fieldset { border: 0; border-top: 1px solid var(--bk-line); padding-top: 18px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.bk-fieldset legend { font-family: var(--f-display); font-weight: 700; font-size: 1.15rem; padding: 0 0 4px; float: left; width: 100%; }
.bk-fieldset legend + * { clear: both; }
.bk-check, .bk-consent { min-height: var(--bk-tap); align-items: center; font-size: .95rem; color: var(--ink); cursor: pointer; }
.bk-consent { align-items: flex-start; line-height: 1.5; color: var(--ink2); }
.bk-check input, .bk-consent input { width: 22px; height: 22px; margin-top: 0; }
.bk-consent input { margin-top: 2px; }
.bk-seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
@media (max-width: 560px) { .bk-seg { grid-template-columns: 1fr; } }
.bk-seg-opt { position: relative; display: block; }
.bk-seg-opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; pointer-events: none; }
.bk-seg-opt { cursor: pointer; }
.bk-seg-opt span {
  display: flex; align-items: center; justify-content: center; text-align: center; min-height: 50px; padding: 8px 12px;
  border-radius: 14px; border: 1.5px solid var(--border); background: var(--card); font-weight: 600; font-size: .93rem; line-height: 1.3;
  transition: border-color .15s, background .15s;
}
.bk-seg-opt:hover span { border-color: var(--jade); }
.bk-seg-opt input:checked + span { background: var(--jade-soft); border-color: var(--jade); color: var(--jade-700); box-shadow: inset 0 0 0 1px var(--jade); }
.bk-seg-opt input:focus-visible + span { box-shadow: var(--bk-focus); }
.bk-seg-opt input[aria-invalid="true"] + span { border-color: var(--cinnabar); }
.bk-guardian { display: flex; flex-direction: column; gap: 14px; padding: 16px; border-radius: var(--r-md); background: var(--paper-2); border-left: 4px solid var(--gold); }

/* ---------- review ---------- */
.bk-rlist { border-top: 1px solid var(--bk-line); }
.bk-rrow { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 4px 16px; align-items: start; padding: 14px 0; border-bottom: 1px solid var(--bk-line); }
.bk-rrow dt { font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.bk-rrow dd { display: flex; flex-direction: column; gap: 2px; min-width: 0; overflow-wrap: anywhere; }
.bk-rrow dd span { color: var(--ink2); font-size: .93rem; }
.bk-rrow .bk-linkbtn { min-height: 32px; font-size: .88rem; }
.bk-rprice { font-family: var(--f-display); font-size: 1.3rem; color: var(--jade-700); }
@media (max-width: 520px) { .bk-rrow { grid-template-columns: minmax(0, 1fr) auto; } .bk-rrow dt { grid-column: 1 / -1; } }
.bk-review .bk-terms { margin-top: 18px; }
.bk-review > .bk-hint { margin-top: 14px; }

/* ---------- ticket (summary) ---------- */
.bk-ticket { color: var(--bk-cream); }
.bk-ticket-body {
  position: relative; background: radial-gradient(140% 100% at 100% 0%, var(--bk-ticket-2), var(--bk-ticket) 60%);
  border-radius: var(--r-lg); padding: 24px 24px 20px; box-shadow: var(--shadow-lg); overflow: hidden;
}
.bk-ticket-body::after {
  content: "学"; position: absolute; right: -18px; bottom: -40px; font-family: var(--f-hanzi); font-weight: 700;
  font-size: 9rem; line-height: 1; color: #fff; opacity: .035; pointer-events: none;
}
.bk-ticket-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bk-ticket-h { font-family: var(--f-display); font-weight: 600; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark2); }
.bk-ticket-title { font-family: var(--f-display); font-weight: 800; font-size: 1.5rem; line-height: 1.12; letter-spacing: -.02em; margin-top: 12px; color: #fff; }
.bk-ticket-rows { margin-top: 16px; display: flex; flex-direction: column; gap: 12px; }
.bk-ticket-rows dt { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark2); }
.bk-ticket-rows dd { display: flex; flex-direction: column; font-size: .95rem; color: var(--bk-cream); overflow-wrap: anywhere; }
.bk-ticket-rows dd strong { color: #fff; }
.bk-ticket-rows dd small { color: var(--on-dark2); font-size: .8rem; }
.bk-ticket-perf { position: relative; height: 22px; margin: 18px -24px 14px; }
.bk-ticket-perf::before { content: ""; position: absolute; left: 18px; right: 18px; top: 50%; border-top: 2px dashed rgba(169, 207, 183, .35); }
.bk-ticket-perf::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 0 50%, var(--paper) 11px, transparent 12px), radial-gradient(circle at 100% 50%, var(--paper) 11px, transparent 12px);
}
.bk-ticket-price { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.bk-ticket-price span { font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark2); }
.bk-ticket-price strong { font-family: var(--f-display); font-size: 1.6rem; color: var(--bk-gold-text); letter-spacing: -.02em; }
.bk-ticket-bar { display: none; }
@media (max-width: 979px) {
  .bk-layout.has-ticket .bk-ticket { order: -1; position: sticky; top: 0; z-index: 40; margin-inline: calc(-1 * clamp(20px, 5vw, 40px)); }
  .bk-ticket-bar {
    display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 12px; width: 100%;
    min-height: 60px; padding: 10px clamp(20px, 5vw, 40px); border: 0; cursor: pointer; text-align: left; font: inherit;
    background: var(--bk-ticket); color: var(--bk-cream); box-shadow: 0 10px 24px -16px rgba(6, 37, 26, .7);
  }
  .bk-ticket-bar-main { display: flex; flex-direction: column; min-width: 0; }
  .bk-ticket-bar-title { font-family: var(--f-display); font-weight: 700; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .bk-ticket-bar-time { font-size: .82rem; color: var(--on-dark2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .bk-ticket-bar-price { font-family: var(--f-display); font-weight: 800; color: var(--bk-gold-text); white-space: nowrap; }
  .bk-ticket-chev { transition: transform .2s var(--ease-out); }
  .bk-ticket.is-open .bk-ticket-chev { transform: rotate(180deg); }
  .bk-ticket-body { display: none; border-radius: 0 0 var(--r-md) var(--r-md); }
  .bk-ticket.is-open .bk-ticket-body { display: block; }
  .bk-ticket-perf::after { background: none; }
}

/* ---------- status, payment ---------- */
.bk-state { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px 28px; align-items: start; }
.bk-state p { color: var(--ink2); margin-top: 10px; max-width: 58ch; }
.bk-state .bk-step-h { margin-top: 4px; }
@media (max-width: 560px) { .bk-state { grid-template-columns: 1fr; } .bk-state .bk-bao { width: 80px; } }
.bk-state-ok .bk-step-h { color: var(--jade-700); }
.bk-code { font-size: .93rem; margin-top: 6px; }
.bk-code strong { color: var(--ink); font-size: 1.05rem; }
.bk-when { display: flex; flex-direction: column; gap: 2px; margin-top: 14px; padding: 14px 16px; background: var(--mint); border-radius: 14px; color: var(--ink) !important; }
.bk-when strong { font-family: var(--f-display); font-size: 1.15rem; }
.bk-when small { color: var(--ink2); font-size: .84rem; }
.bk-join { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--bk-line); }
.bk-join h3 { font-size: 1rem; }
.bk-join .btn { margin-top: 10px; }
.bk-pay { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 8px; }
@media (max-width: 520px) { .bk-pay { grid-template-columns: 1fr; } }
.bk-pay > div { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border-radius: var(--r-md); border: 1px solid var(--bk-line); background: var(--paper); }
.bk-pay-timer { background: var(--bk-ticket) !important; color: var(--bk-cream); border-color: transparent !important; }
.bk-pay-label { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.bk-pay-timer .bk-pay-label, .bk-pay-timer .bk-pay-sub { color: var(--on-dark2); }
.bk-pay-clock { font-family: var(--f-display); font-weight: 800; font-size: clamp(2.2rem, 1.8rem + 1.6vw, 2.8rem); font-variant-numeric: tabular-nums; letter-spacing: -.02em; color: #fff; line-height: 1.05; }
.bk-pay-amount strong { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.7rem, 1.4rem + 1.2vw, 2.2rem); color: var(--jade-700); line-height: 1.1; }
.bk-pay-sub { font-size: .86rem; color: var(--ink2); }

/* ---------- receipt ---------- */
.bk-receipt-host:not(:empty) { margin-top: 20px; }
.bk-receipt { border: 1px solid var(--bk-line); border-radius: var(--r-md); padding: 22px; background: #FFFEF8; outline: none; }
.bk-receipt-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding-bottom: 14px; border-bottom: 2px solid var(--ink); }
.bk-receipt-head h3 { font-size: 1.6rem; font-weight: 800; margin-top: 4px; }
.bk-receipt-rows div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px dashed var(--bk-line); font-size: .93rem; }
.bk-receipt-rows dt { color: var(--muted); }
.bk-receipt-rows dd { font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.bk-receipt-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 14px; font-weight: 700; }
.bk-receipt-voided { display: flex; gap: 10px; align-items: flex-start; margin: 12px 0; }
.bk-receipt-voided p { margin: 4px 0 0; font-weight: 400; }
.bk-receipt-total.is-voided strong { text-decoration: line-through; opacity: .6; }
.ac-voided { margin: 6px 0 0; font-size: .94rem; }
.ac-trial-note { margin: 6px 0 0; font-size: .9rem; color: var(--muted); line-height: 1.5; }
.bk-receipt-total strong { font-family: var(--f-display); font-size: 1.5rem; }
@media print {
  body.bk-print-receipt * { visibility: hidden; }
  body.bk-print-receipt .bk-receipt, body.bk-print-receipt .bk-receipt * { visibility: visible; }
  body.bk-print-receipt .bk-receipt { position: absolute; inset: 0 0 auto 0; border: 0; }
  body.bk-print-receipt dialog { position: static; box-shadow: none; }
  .bk-noprint { display: none !important; }
}

/* ---------- account ---------- */
.ac-card { background: var(--card); border: 1px solid var(--bk-line); border-radius: var(--r-lg); padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow-sm); max-width: 560px; }
.ac-signin { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: start; }
@media (min-width: 900px) { .ac-signin { grid-template-columns: minmax(0, 560px) minmax(0, 1fr); gap: 48px; } }
.ac-aside { display: flex; gap: 18px; align-items: center; color: var(--ink2); font-size: .95rem; }
.ac-aside a { color: var(--jade-deep); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.ac-form { display: flex; flex-direction: column; gap: 14px; margin-top: 18px; }
.ac-form .input { min-height: 52px; }
.ac-code { font-family: var(--f-display); font-size: 1.5rem; font-weight: 700; letter-spacing: .4em; text-align: center; font-variant-numeric: tabular-nums; }
.ac-msg { min-height: 1.4em; font-weight: 600; font-size: .93rem; }
.ac-msg.err { color: #8E321E; }
.ac-msg.ok { color: var(--jade-deep); }
.ac-flash { margin: 0 0 22px; }
.ac-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 20px; margin-bottom: 22px; }
.ac-who { color: var(--ink2); font-size: .93rem; overflow-wrap: anywhere; }
.ac-section + .ac-section { margin-top: clamp(32px, 5vw, 48px); }
.ac-section-h { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); font-weight: 800; margin-bottom: 14px; display: flex; align-items: baseline; gap: 10px; }
.ac-count { font-size: .9rem; color: var(--muted); font-weight: 600; }
.ac-list { display: flex; flex-direction: column; gap: 12px; }
.ac-booking { display: grid; grid-template-columns: 92px minmax(0, 1fr); background: var(--card); border: 1px solid var(--bk-line); border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.ac-stub { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; padding: 14px 8px; background: var(--mint); border-right: 2px dashed var(--border-mint); text-align: center; }
.ac-booking.is-past .ac-stub { background: var(--paper-2); }
.ac-stub-wd { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--jade-700); }
.ac-stub-d { font-family: var(--f-display); font-weight: 800; font-size: 2rem; line-height: 1; color: var(--ink); }
.ac-stub-m { font-size: .8rem; font-weight: 700; color: var(--ink2); }
.ac-body { padding: 16px 18px; min-width: 0; }
.ac-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; justify-content: space-between; }
.ac-title { font-family: var(--f-display); font-weight: 700; font-size: 1.15rem; letter-spacing: -.01em; }
.ac-meta { color: var(--ink2); font-size: .9rem; margin-top: 6px; display: flex; flex-direction: column; gap: 2px; }
.ac-meta b { color: var(--ink); font-weight: 700; }
.ac-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: var(--r-pill); font-size: .78rem; font-weight: 700; background: var(--paper-2); color: var(--ink2); white-space: nowrap; }
.ac-chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.ac-chip[data-state="confirmed"] { background: var(--jade-soft); color: var(--jade-700); }
.ac-chip[data-state="held"], .ac-chip[data-state="awaiting_payment"] { background: var(--gold-soft); color: var(--gold-deep); }
.ac-chip[data-state="voided"], .ac-chip[data-state="needs_attention"] { background: var(--cinnabar-soft); color: #8E321E; }
.ac-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.ac-actions .btn { min-height: var(--bk-tap); }
.ac-empty { display: flex; gap: 20px; align-items: center; padding: 22px; border: 1.5px dashed var(--border); border-radius: var(--r-md); }
.ac-empty p { color: var(--ink2); margin-top: 6px; }
@media (max-width: 480px) {
  .ac-booking { grid-template-columns: 1fr; }
  .ac-stub { flex-direction: row; justify-content: flex-start; gap: 10px; border-right: 0; border-bottom: 2px dashed var(--border-mint); padding: 10px 18px; }
  .ac-stub-d { font-size: 1.4rem; }
  .ac-empty { flex-direction: column; align-items: flex-start; }
}

/* dialogs */
/* margin: auto puts the modal back in the middle: the site reset (* { margin: 0 }) removes the browser's own. */
.bk-dialog { margin: auto; border: 0; border-radius: var(--r-lg); padding: 0; width: min(640px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); background: var(--card); color: var(--ink); box-shadow: var(--shadow-xl); }
.bk-dialog::backdrop { background: rgba(6, 37, 26, .55); }
.bk-dialog-in { padding: clamp(20px, 4vw, 32px); }
.bk-dialog h2 { font-size: clamp(1.3rem, 1.1rem + 1vw, 1.7rem); font-weight: 800; padding-right: 40px; }
.bk-dialog p { color: var(--ink2); margin-top: 10px; }
.bk-dialog-x { position: absolute; top: 12px; right: 12px; width: var(--bk-tap); height: var(--bk-tap); border-radius: 50%; border: 0; background: var(--paper-2); cursor: pointer; display: grid; place-items: center; color: var(--ink); }
.bk-dialog-x:focus-visible { outline: none; box-shadow: var(--bk-focus); }
@media (prefers-reduced-motion: no-preference) {
  .bk-dialog[open] { animation: bk-dialog-in .22s var(--ease-out); }
  @keyframes bk-dialog-in { from { opacity: .001; transform: translateY(12px) scale(.98); } }
}

/* ---------- bundles and English-taught programs (PACKAGES-DESIGN 6, 12) ----------
   The choice is a ruled list like the program list: what it is on the left,
   what it costs on the right. The selected row takes the jade edge. */
.bk-taught {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; padding: 4px 10px 4px 8px;
  border-radius: var(--r-pill); background: var(--gold-soft); color: #4F3605; font-size: .8rem; font-weight: 700; letter-spacing: .02em;
}
.bk-taught .ic { color: var(--gold-deep); }
.bk-rrow dd .bk-taught { align-self: flex-start; margin-top: 6px; }
.bk-pitem-lang { display: inline-block; margin-left: 8px; color: var(--gold-deep); font-weight: 700; font-size: .8rem; }
.bk-rupiah { max-width: 60ch; }
.bk-program-head .bk-rupiah { margin-top: 10px; }

.bk-buy { border: 0; margin: 22px 0 0; padding: 0; min-width: 0; }
.bk-buy-legend { font-family: var(--f-display); font-weight: 700; font-size: 1.15rem; letter-spacing: -.01em; margin-bottom: 10px; padding: 0; }
.bk-buy-group {
  display: flex; align-items: center; gap: 8px; margin: 18px 0 6px; font-size: .76rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--jade-700);
}
.bk-buy-opt {
  position: relative; display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 14px;
  padding: 14px 16px; margin-top: -1px; border: 1px solid var(--bk-line); background: var(--card); cursor: pointer;
  transition: background .2s, border-color .2s;
}
.bk-buy-legend + .bk-buy-opt, .bk-buy-group + .bk-buy-opt { border-top-left-radius: 14px; border-top-right-radius: 14px; }
.bk-buy-opt:has(+ .bk-buy-group), .bk-buy-opt:last-child { border-bottom-left-radius: 14px; border-bottom-right-radius: 14px; }
.bk-buy-opt:hover { background: var(--jade-soft-2); }
.bk-buy-radio { position: absolute; opacity: 0; width: 1px; height: 1px; }
.bk-buy-mark { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--border-mint); background: var(--card); display: grid; place-items: center; }
.bk-buy-mark::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--jade); transform: scale(0); transition: transform .18s var(--ease-out); }
.bk-buy-opt:has(.bk-buy-radio:checked) { z-index: 1; border-color: var(--jade); background: var(--jade-soft-2); box-shadow: inset 4px 0 0 var(--jade); }
.bk-buy-radio:checked + .bk-buy-mark { border-color: var(--jade); }
.bk-buy-radio:checked + .bk-buy-mark::after { transform: scale(1); }
.bk-buy-radio:focus-visible + .bk-buy-mark { box-shadow: var(--bk-focus); }
.bk-buy-opt:active { background: var(--jade-soft); }
.bk-buy-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.bk-buy-t { font-family: var(--f-display); font-weight: 700; font-size: 1.08rem; letter-spacing: -.01em; overflow-wrap: anywhere; }
.bk-buy-credit .bk-buy-t { font-size: 1rem; }
.bk-buy-sub { color: var(--ink2); font-size: .88rem; }
.bk-buy-price { display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.bk-buy-price strong { font-family: var(--f-display); font-weight: 800; color: var(--jade-700); white-space: nowrap; font-size: 1.08rem; }
.bk-buy-price small { color: var(--muted); font-size: .8rem; }
@media (max-width: 420px) {
  .bk-buy-opt { grid-template-columns: 22px minmax(0, 1fr); }
  .bk-buy-price { grid-column: 2; align-items: flex-start; text-align: left; }
}
.bk-step[data-step="time"] .bk-buy { margin: 0 0 22px; }

.bk-signin-box { margin-top: 20px; padding: 18px 20px; border-radius: var(--r-md); background: var(--paper-2); border-left: 4px solid var(--jade); }
.bk-signin-box h4 { font-size: 1.05rem; }
.bk-signin-box p { color: var(--ink2); margin: 6px 0 12px; max-width: 58ch; }
.bk-signin-box .btn { min-height: var(--bk-tap); }

.bk-rules ol { counter-reset: none; display: flex; flex-direction: column; gap: 2px; }
.bk-rules li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; font-size: .93rem; color: var(--bk-ink-soft); padding-block: 5px; }
.bk-rules-n {
  width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; margin-top: 1px;
  font: 700 .74rem/1 var(--f-display); color: var(--jade-700); background: var(--card); border: 1.5px solid var(--border-mint);
}

.bk-series { margin-top: 20px; padding: 16px 18px; border-radius: var(--r-md); background: var(--mint); }
.bk-series-toggle { font-weight: 700; }
.bk-series-weeks { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 10px 0 0 32px; }
.bk-series-weeks .field-label { margin: 0; }
.bk-series-weeks .bk-hint { flex-basis: 100%; margin-top: 0; }
.bk-series-n { width: 96px; min-height: var(--bk-tap); text-align: center; font-variant-numeric: tabular-nums; }
.bk-series > .bk-hint { margin-top: 10px; }
.bk-series-sum { color: var(--ink) !important; }
.bk-series-list { margin-top: 16px; border-top: 1px solid var(--bk-line); }
.bk-series-row { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; align-items: center; gap: 6px 12px; padding: 12px 0; border-bottom: 1px solid var(--bk-line); }
.bk-series-ic { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--jade-soft); color: var(--jade-700); }
.bk-series-row.is-skip .bk-series-ic { background: var(--paper-2); color: var(--muted); }
.bk-series-when { display: flex; flex-direction: column; min-width: 0; }
.bk-series-when span { color: var(--ink2); font-size: .88rem; }
.bk-series-row.is-skip .bk-series-when strong { color: var(--ink2); }
.bk-series-other {
  grid-column: 2 / -1; justify-self: start; display: inline-flex; align-items: center; min-height: var(--bk-tap); padding: 0 4px; border-radius: 8px;
  font-weight: 700; font-size: .9rem; color: var(--jade-deep); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px;
}
.bk-series-other:hover { color: var(--jade-700); text-decoration-thickness: 2.5px; }
.bk-series-other:focus-visible { outline: none; box-shadow: var(--bk-focus); }

/* account: my bundles */
.ac-pkg-list { display: flex; flex-direction: column; gap: 12px; }
.ac-pkg {
  position: relative; background: var(--card); border: 1px solid var(--bk-line); border-radius: var(--r-md);
  box-shadow: var(--shadow-sm); padding: 18px 20px 16px; border-left: 6px solid var(--jade); overflow: hidden;
}
.ac-pkg.is-unpaid { border-left-color: var(--gold); }
.ac-pkg.is-expired, .ac-pkg.is-used_up { border-left-color: var(--border); }
.ac-pkg.is-attention { border-left-color: var(--cinnabar); }
.ac-pkg-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 6px 12px; }
.ac-pkg-head .bk-taught { margin-top: 6px; }
.ac-pkg-left { margin-top: 10px; font-family: var(--f-display); font-weight: 800; font-size: clamp(1.35rem, 1.2rem + .7vw, 1.7rem); line-height: 1.15; letter-spacing: -.02em; color: var(--jade-700); font-variant-numeric: tabular-nums; }
.ac-meter { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 12px; max-width: 520px; }
.ac-pip { width: 14px; height: 14px; border-radius: 4px; }
.ac-pip.is-used { background: var(--border); }
.ac-pip.is-booked { background: var(--card); box-shadow: inset 0 0 0 2px var(--jade); }
.ac-pip.is-left { background: var(--jade); }
.ac-meter.is-bar { height: 10px; border-radius: var(--r-pill); background: linear-gradient(90deg, var(--border) 0 calc(var(--used) * 100%), var(--jade-soft) 0 calc((var(--used) + var(--booked)) * 100%), var(--jade) 0); }
.ac-pkg-facts { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 12px; color: var(--ink2); font-size: .92rem; }
.ac-pkg-facts li { display: inline-flex; align-items: center; gap: 6px; }
.ac-pkg-facts .ic { color: var(--jade-deep); }
.ac-pkg-line { margin-top: 10px; color: var(--ink2); font-weight: 600; }
.ac-pkg-meta { margin-top: 10px; color: var(--muted); font-size: .86rem; overflow-wrap: anywhere; }
.ac-pkg-hist { margin-top: 12px; border-top: 1px dashed var(--bk-line); padding-top: 4px; }
.ac-pkg-hist summary {
  display: flex; align-items: center; gap: 8px; min-height: var(--bk-tap); cursor: pointer; font-weight: 700; color: var(--jade-deep); border-radius: 8px;
}
.ac-pkg-hist summary:focus-visible { outline: none; box-shadow: var(--bk-focus); }
.ac-pkg-hist ul { display: flex; flex-direction: column; }
.ac-pkg-hist li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; padding: 8px 0; border-top: 1px solid var(--bk-line); font-size: .92rem; color: var(--ink2); }
.ac-pkg-hist li b { color: var(--ink); }
.ac-chip[data-state="active"], .ac-chip[data-credit="reserved"] { background: var(--jade-soft); color: var(--jade-700); }
.ac-chip[data-state="unpaid"] { background: var(--gold-soft); color: var(--gold-deep); }
.ac-chip[data-state="attention"] { background: var(--cinnabar-soft); color: #8E321E; }
.ac-chip[data-credit="returned"] { background: var(--mint); color: var(--jade-deep); }
.ac-credit-case { color: var(--ink) !important; font-weight: 600; }
.ac-return { margin-bottom: 24px; }
.ac-return.is-ok .bk-step-h { color: var(--jade-700); }
.ac-return p { color: var(--ink2); margin-top: 8px; max-width: 60ch; }
@media (prefers-reduced-motion: reduce) {
  .bk-buy-mark::after, .bk-buy-opt { transition: none; }
}
