/* ============================================================
   Languademy — Booking wizard
   ============================================================ */

.book-hero { padding-top: clamp(28px, 4vw, 48px); }
.crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-family: 'Fredoka', sans-serif; font-weight: 500; font-size: 14px; color: var(--ink-soft); margin-bottom: 18px; }
.crumbs a, .crumbs .here { white-space: nowrap; }
.crumbs a { color: var(--ink-soft); }
.crumbs a:hover { color: var(--primary-dark); }
.crumbs .sep { opacity: .5; }
.crumbs .here { color: var(--ink); }

.book-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 44px); }
.book-head h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 700; }
.book-head .eyebrow { margin-bottom: 12px; }
.book-head p { color: var(--ink-soft); font-size: 18px; margin-top: 12px; max-width: 46ch; }

/* ---------- Stepper ---------- */
.stepper { display: flex; align-items: center; gap: 0; margin-bottom: 36px; }
.stepper .step { display: flex; align-items: center; gap: 12px; }
.stepper .bullet {
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  display: grid; place-items: center; font-family: 'Fredoka', sans-serif; font-weight: 700; font-size: 17px;
  background: var(--paper); color: var(--ink-soft); border: 2px solid var(--line);
  transition: box-shadow .2s ease, transform .2s ease;
}
.stepper .step .lbl { font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 15px; color: var(--ink-soft); transition: color .2s ease; white-space: nowrap; }
.stepper .step.active .bullet { background: var(--primary); color: #fff; border-color: var(--primary); box-shadow: 0 4px 0 var(--primary-dark); }
.stepper .step.active .lbl { color: var(--ink); }
.stepper .step.done .bullet { background: var(--teal); color: #fff; border-color: var(--teal); box-shadow: 0 4px 0 var(--teal-dark); }
.stepper .bar { flex: 1; height: 3px; background: var(--line); margin: 0 16px; border-radius: 2px; min-width: 24px; position: relative; overflow: hidden; }
.stepper .bar::after { content: ""; position: absolute; inset: 0; background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.stepper .bar.fill::after { transform: scaleX(1); }

/* ---------- Layout ---------- */
.book-grid { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: start; }
.panel {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm); padding: clamp(24px, 3vw, 36px);
}
.panel h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.panel .sub { color: var(--ink-soft); margin-top: 8px; margin-bottom: 26px; font-size: 16px; }

/* Weekly-series modal (Modify a class) */
.series-modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; }
.series-scrim { position: absolute; inset: 0; background: rgba(40,36,46,.55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); animation: fScrim .25s ease; }
.series-box {
  position: relative; z-index: 1; width: min(440px, 100%); text-align: center;
  background: var(--paper); border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  padding: clamp(28px, 4vw, 40px); animation: fSheet .35s cubic-bezier(.2,.8,.3,1);
}
.series-box .series-ico { width: 58px; height: 58px; border-radius: 16px; background: var(--grape); box-shadow: 0 5px 0 var(--grape-dark); display: grid; place-items: center; margin: 0 auto 18px; }
.series-box .series-ico svg { width: 28px; height: 28px; stroke: #fff; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.series-box h3 { font-size: 1.5rem; }
.series-box p { color: var(--ink-soft); font-size: 16px; margin-top: 12px; }
.series-box p b { color: var(--ink); }
.series-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 26px; }
.series-actions .btn { width: 100%; }
.series-cancel { background: none; border: none; cursor: pointer; font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 15px; color: var(--ink-soft); margin-top: 16px; padding: 6px; }
.series-cancel:hover { color: var(--ink); }

/* Balance bar (Book a class — step 1) */
.balance-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--r);
  padding: 14px 18px; margin-bottom: 22px;
}
.balance-bar .bal-left { display: flex; align-items: center; gap: 14px; }
.balance-bar .bal-ico { width: 44px; height: 44px; flex: none; border-radius: 13px; background: var(--paper); border: 1px solid var(--line); display: grid; place-items: center; }
.balance-bar .bal-ico svg { width: 22px; height: 22px; stroke: var(--teal-dark); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.balance-bar .bal-k { font-size: 12px; font-weight: 700; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .05em; }
.balance-bar .bal-v { font-family: 'Fredoka', sans-serif; font-weight: 700; font-size: 24px; color: var(--ink); line-height: 1.1; }

/* Step transition — transform-only so content is never stuck invisible
   if animations are throttled/paused (e.g. backgrounded tab). */
.step-pane { animation: paneIn .4s cubic-bezier(.2,.7,.3,1); }
@keyframes paneIn { from { transform: translateY(14px); } to { transform: none; } }

/* ---------- Timezone + calendar header ---------- */
.cal-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.tz-select { position: relative; }
.tz-select label { display: block; font-size: 12px; font-weight: 700; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; }
.tz-select select {
  font-family: 'Nunito', sans-serif; font-weight: 600; font-size: 15px; color: var(--ink);
  background: var(--cream); border: 2px solid var(--line); border-radius: 12px; padding: 10px 38px 10px 14px;
  cursor: pointer; appearance: none; max-width: 100%; box-sizing: border-box;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236B6577' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
}
.tz-select select:focus { outline: none; border-color: var(--primary); }
.sync-pill { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--teal-dark); }
.sync-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .3; } }

/* ---------- Week strip ---------- */
.week-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.week-nav .month { font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 18px; }
.week-nav button { width: 38px; height: 38px; border-radius: 11px; border: 2px solid var(--line); background: var(--paper); cursor: pointer; display: grid; place-items: center; transition: all .15s ease; }
.week-nav button:hover:not(:disabled) { border-color: var(--primary); color: var(--primary-dark); }
.week-nav button:disabled { opacity: .35; cursor: not-allowed; }
.week-nav button svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.week-strip { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; margin-bottom: 26px; }
.day {
  border: 2px solid var(--line); background: var(--paper); border-radius: 14px; padding: 10px 4px; cursor: pointer;
  text-align: center; transition: all .15s ease; font-family: 'Fredoka', sans-serif;
}
.day .dow { font-size: 12px; font-weight: 500; color: var(--ink-soft); }
.day .num { font-size: 20px; font-weight: 600; margin-top: 2px; }
.day:hover:not(.disabled) { border-color: var(--primary); transform: translateY(-2px); }
.day.sel { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: 0 4px 0 var(--primary-dark); }
.day.sel .dow { color: rgba(255,255,255,.85); }
.day.disabled { opacity: .4; cursor: not-allowed; }
.day .has { width: 5px; height: 5px; border-radius: 50%; background: var(--teal); margin: 4px auto 0; }
.day.sel .has { background: #fff; }

/* ---------- Time slots ---------- */
.slots-label { font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 15px; margin-bottom: 12px; color: var(--ink); }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 10px; }
.slot {
  border: 2px solid var(--line); background: var(--paper); border-radius: 12px; padding: 12px 8px; cursor: pointer;
  font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 15px; color: var(--ink); transition: all .14s ease; text-align: center;
}
.slot:hover:not(:disabled) { border-color: var(--teal); color: var(--teal-dark); transform: translateY(-2px); }
.slot.sel { background: var(--teal); border-color: var(--teal); color: #fff; box-shadow: 0 4px 0 var(--teal-dark); }
.slot:disabled { opacity: .35; cursor: not-allowed; text-decoration: line-through; }
.slot.only25 { border-color: var(--yellow); display: flex; flex-direction: column; align-items: center; gap: 3px; }
.slot.only25:hover:not(:disabled) { border-color: var(--yellow); color: var(--ink); }
.slot.only25.sel { background: var(--yellow); border-color: var(--yellow); color: var(--ink); box-shadow: 0 4px 0 #c9930a; }
.slot-dur-tag { font-size: 10px; font-weight: 700; letter-spacing: .03em; background: var(--yellow); color: var(--ink); border-radius: 4px; padding: 1px 5px; line-height: 1.4; }
.slot.sel .slot-dur-tag { background: rgba(0,0,0,.15); color: var(--ink); }
.slots-empty { color: var(--ink-soft); font-size: 15px; padding: 18px 0; }

/* Skeleton loading */
.skeleton { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 10px; }
.skeleton i { height: 44px; border-radius: 12px; background: linear-gradient(90deg, var(--cream-2) 25%, var(--line) 37%, var(--cream-2) 63%); background-size: 400% 100%; animation: shimmer 1.3s ease infinite; display: block; }
@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }

/* ---------- Duration / choice cards ---------- */
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 30px; }
.choice {
  border: 2px solid var(--line); background: var(--paper); border-radius: var(--r); padding: 22px; cursor: pointer;
  transition: all .15s ease; text-align: left; position: relative;
}
.choice:hover { border-color: var(--c, var(--primary)); transform: translateY(-2px); }
.choice.sel { border-color: var(--c, var(--primary)); background: color-mix(in srgb, var(--c, var(--primary)) 7%, var(--paper)); }
.choice.sel::after { content: "✓"; position: absolute; top: 14px; right: 14px; width: 24px; height: 24px; border-radius: 50%; background: var(--c, var(--primary)); color: #fff; display: grid; place-items: center; font-size: 14px; font-weight: 700; }
.choice .big { font-family: 'Fredoka', sans-serif; font-weight: 700; font-size: 30px; line-height: 1; }
.choice .small { color: var(--ink-soft); font-size: 14px; margin-top: 8px; }

.field-label { font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 16px; margin-bottom: 12px; display: block; }
.field-label .opt { color: var(--ink-soft); font-weight: 500; font-size: 14px; }

/* ---------- Weeks stepper ---------- */
.weeks-row { display: flex; align-items: center; gap: 16px; margin-bottom: 6px; }
.stepper-num { display: inline-flex; align-items: center; gap: 0; border: 2px solid var(--line); border-radius: 14px; overflow: hidden; }
.stepper-num button { width: 50px; height: 50px; border: none; background: var(--cream); cursor: pointer; font-size: 24px; font-family: 'Fredoka', sans-serif; color: var(--ink); transition: background .14s ease; display: grid; place-items: center; }
.stepper-num button:hover:not(:disabled) { background: color-mix(in srgb, var(--primary) 14%, var(--cream)); color: var(--primary-dark); }
.stepper-num button:disabled { opacity: .35; cursor: not-allowed; }
.stepper-num .val { min-width: 64px; text-align: center; font-family: 'Fredoka', sans-serif; font-weight: 700; font-size: 22px; }
.weeks-hint { color: var(--ink-soft); font-size: 14px; }

/* ---------- Inputs ---------- */
.input-group { margin-bottom: 20px; }
.input-group input {
  width: 100%; font-family: 'Nunito', sans-serif; font-size: 17px; color: var(--ink);
  background: var(--cream); border: 2px solid var(--line); border-radius: 14px; padding: 15px 16px; transition: border-color .15s ease;
}
.input-group input::placeholder { color: var(--ink-soft); }
.input-group input:focus { outline: none; border-color: var(--primary); background: var(--paper); }
.input-group input.invalid { border-color: var(--coral); background: color-mix(in srgb, var(--coral) 6%, var(--paper)); }
.input-err { color: var(--coral-dark); font-size: 13px; font-weight: 600; margin-top: 6px; display: none; }
.input-group.show-err .input-err { display: block; }

/* ---------- Nav buttons ---------- */
.pane-actions { display: flex; align-items: center; gap: 12px; margin-top: 30px; }
.pane-actions .spacer { flex: 1; }
.link-back { background: none; border: none; cursor: pointer; font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 16px; color: var(--ink-soft); padding: 10px 6px; transition: color .15s ease; }
.link-back:hover { color: var(--ink); }
.btn[disabled] { opacity: .45; cursor: not-allowed; box-shadow: 0 6px 0 0 var(--b-d); transform: none; filter: none; }

/* ============================================================
   SUMMARY CARD
   ============================================================ */
.summary { position: sticky; top: 96px; }
.summary-card { background: var(--ink); color: #fff; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); }
.summary-card .top { padding: 24px 26px 20px; border-bottom: 1px solid rgba(255,255,255,.12); }
.summary-card .top h3 { color: #fff; font-size: 19px; }
.summary-card .top p { color: rgba(255,255,255,.55); font-size: 13px; margin-top: 4px; }
.summary-rows { padding: 20px 26px; display: flex; flex-direction: column; gap: 16px; }
.srow { display: flex; align-items: flex-start; gap: 12px; }
.srow .ico { width: 34px; height: 34px; border-radius: 10px; background: rgba(255,255,255,.1); display: grid; place-items: center; flex: none; }
.srow .ico svg { width: 17px; height: 17px; stroke: var(--yellow); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.srow .k { font-size: 12px; color: rgba(255,255,255,.5); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.srow .v { font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 16px; margin-top: 2px; }
.srow .v.muted { color: rgba(255,255,255,.4); font-weight: 500; }
.summary-total { padding: 20px 26px; background: rgba(0,0,0,.22); display: flex; align-items: center; justify-content: space-between; }
.summary-total .lbl { color: rgba(255,255,255,.7); font-weight: 600; }
.summary-total .amt { font-family: 'Fredoka', sans-serif; font-weight: 700; font-size: 32px; color: var(--yellow); }
.summary-total .amt small { font-size: 14px; color: rgba(255,255,255,.5); font-weight: 500; }
.summary-note { display: flex; align-items: center; gap: 8px; padding: 14px 26px; background: rgba(20,184,166,.16); color: #fff; font-size: 13px; font-weight: 600; }
.summary-note svg { width: 16px; height: 16px; stroke: var(--teal); fill: none; stroke-width: 2.4; flex: none; }

/* ============================================================
   SUCCESS
   ============================================================ */
.success { text-align: center; padding: clamp(40px, 6vw, 72px) clamp(24px, 4vw, 48px); }
.success .burst { width: 96px; height: 96px; border-radius: 50%; background: var(--teal); display: grid; place-items: center; margin: 0 auto 26px; box-shadow: 0 8px 0 var(--teal-dark); animation: pop .5s cubic-bezier(.2,1.4,.4,1); }
.success .burst svg { width: 46px; height: 46px; stroke: #fff; fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
@keyframes pop { from { transform: scale(.5); } to { transform: scale(1); } }
.success h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
.success p { color: var(--ink-soft); font-size: 18px; margin: 16px auto 0; max-width: 44ch; }
.success .recap { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
.success .recap .chiprc { background: var(--cream-2); border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 14px; }
.success .actions { display: flex; gap: 14px; justify-content: center; margin-top: 34px; flex-wrap: wrap; }
.confetti { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 200; overflow: hidden; }
.confetti i { position: absolute; width: 10px; height: 14px; top: -20px; animation: fall linear forwards; }
@keyframes fall { to { transform: translateY(105vh) rotate(720deg); } }

/* ============================================================
   SCHEDULED CLASS LIST (modify / cancel)
   ============================================================ */
/* Two-up wherever the panel allows it, one column when it doesn't — auto-fit
   handles narrow viewports on its own, so no media query. minmax's floor is
   what decides the count per surface: the wizards' ~640px panel fits two, the
   wider Manage classes popup fits more. */
.class-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.class-card {
  display: flex; align-items: center; gap: 16px; width: 100%; text-align: left;
  background: var(--paper); border: 2px solid var(--line); border-radius: var(--r); padding: 16px 18px;
  cursor: pointer; transition: border-color .15s ease, transform .15s ease, background .15s ease;
}
.class-card:hover { border-color: var(--primary); transform: translateY(-2px); }
.class-card.sel { border-color: var(--primary); background: color-mix(in srgb, var(--primary) 6%, var(--paper)); }
.class-card .cc-radio { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); flex: none; position: relative; transition: border-color .15s ease; }
.class-card.sel .cc-radio { border-color: var(--primary); }
.class-card.sel .cc-radio::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--primary); }
.class-card .cc-date { flex: none; width: 56px; height: 56px; border-radius: 14px; background: var(--cream-2); display: grid; place-items: center; line-height: 1; }
.class-card .cc-date .dnum { font-family: 'Fredoka', sans-serif; font-weight: 700; font-size: 24px; }
.class-card .cc-date .dmon { font-size: 12px; font-weight: 700; color: var(--ink-soft); text-transform: uppercase; }
.class-card .cc-main { flex: 1; min-width: 0; }
.class-card .cc-title { display: block; font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 17px; }
.class-card .cc-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 5px; color: var(--ink-soft); font-size: 14px; font-weight: 600; }
.class-card .cc-meta > span { display: inline-flex; align-items: center; gap: 6px; }
.class-card .cc-meta svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.class-card .cc-badge { color: var(--grape-dark); }
.empty-hint { display: flex; align-items: flex-start; gap: 10px; background: var(--cream-2); border: 1px dashed var(--line); border-radius: var(--r); padding: 16px 18px; color: var(--ink-soft); font-size: 14px; font-weight: 600; margin-top: 16px; }
.empty-hint svg { width: 18px; height: 18px; stroke: var(--ink-soft); fill: none; stroke-width: 2; flex: none; margin-top: 1px; }
.empty-hint a { color: var(--primary-dark); }

/* Reschedule before → after recap */
.change-row { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: center; margin: 8px 0 4px; }
.change-box { background: var(--cream); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; }
.change-box.from { opacity: .7; }
.change-box.to { border-color: var(--teal); background: color-mix(in srgb, var(--teal) 7%, var(--paper)); }
.change-box .k { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-soft); }
.change-box .from-line { text-decoration: line-through; }
.change-box .v { font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 16px; margin-top: 4px; }
.change-arrow { width: 40px; height: 40px; border-radius: 50%; background: var(--teal); display: grid; place-items: center; }
.change-arrow svg { width: 20px; height: 20px; stroke: #fff; fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* ============================================================
   CANCEL — confirm + policy
   ============================================================ */
.confirm-class { display: flex; align-items: center; gap: 16px; background: var(--cream); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; margin-bottom: 22px; }
.confirm-class .cc-date { flex: none; width: 60px; height: 60px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); display: grid; place-items: center; line-height: 1; }
.confirm-class .cc-date .dnum { font-family: 'Fredoka', sans-serif; font-weight: 700; font-size: 26px; }
.confirm-class .cc-date .dmon { font-size: 12px; font-weight: 700; color: var(--ink-soft); text-transform: uppercase; }
.confirm-class .ci-title { font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 18px; }
.confirm-class .ci-meta { color: var(--ink-soft); font-weight: 600; font-size: 14px; margin-top: 4px; }
.policy { display: flex; gap: 12px; border-radius: var(--r); padding: 16px 18px; font-size: 14px; line-height: 1.5; margin-bottom: 24px; }
.policy.ok { background: color-mix(in srgb, var(--teal) 12%, var(--paper)); }
.policy.warn { background: color-mix(in srgb, var(--yellow) 20%, var(--paper)); }
.policy svg { width: 20px; height: 20px; flex: none; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; margin-top: 1px; }
.policy.ok svg { stroke: var(--teal-dark); }
.policy.warn svg { stroke: var(--yellow-dark); }
.policy b { font-family: 'Fredoka', sans-serif; }
.reason-label { font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 15px; display: block; margin-bottom: 10px; }
.reason-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.reason-chips button { font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 14px; padding: 9px 15px; border-radius: 999px; border: 2px solid var(--line); background: var(--paper); cursor: pointer; transition: all .14s ease; }
.reason-chips button:hover { border-color: var(--primary); }
.reason-chips button.sel { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn--danger { --b: var(--coral); --b-d: var(--coral-dark); }
.success .burst.cancel { background: var(--ink); box-shadow: 0 8px 0 #1d1a22; }

/* Single-column page (cancel) */
.book-grid.single { grid-template-columns: minmax(0, 720px); justify-content: center; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 920px) {
  .book-grid { grid-template-columns: 1fr; }
  .summary { position: static; }
  .stepper .step .lbl { display: none; }
  .stepper .step.active .lbl { display: block; }
}
@media (max-width: 560px) {
  .panel { padding: 14px; }
  .week-strip { gap: 5px; grid-template-columns: repeat(7, minmax(0, 1fr)); }
  .day { padding: 8px 2px; border-radius: 11px; }
  .day .num { font-size: 17px; }
  .choice-grid { grid-template-columns: 1fr; }
  .change-row { grid-template-columns: 1fr; }
  .change-arrow { transform: rotate(90deg); margin: 0 auto; }
  .cal-top { flex-direction: column; align-items: flex-start; gap: 10px; }
  .tz-select { width: 100%; }
  .tz-select select { width: 100%; }
  .balance-bar { flex-direction: column; align-items: flex-start; gap: 12px; }
  .balance-bar .btn { align-self: stretch; }
}
