/* Direct booking is additive: existing LINE links, salary and course data stay intact. */
.btn-booking,.btn-booking-sm{
  display:inline-flex;align-items:center;justify-content:center;gap:18px;
  background:#102b4a;color:#fff;border:1px solid #102b4a;border-radius:8px;
  font:700 16px/1.5 var(--font-body);padding:18px 24px;text-align:center;
  text-decoration:none;min-height:52px;transition:background .2s ease;
}
.btn-booking:hover,.btn-booking-sm:hover{background:#244463;}
.btn-booking:focus-visible,.btn-booking-sm:focus-visible,
.booking-section a:focus-visible{outline:3px solid #2f80ed;outline-offset:4px;}
.btn-booking-sm{font-size:13px;min-height:40px;padding:10px 16px;}
.stickybar .btn-booking-sm{opacity:0;visibility:hidden;pointer-events:none;}
.stickybar.is-scrolled .btn-booking-sm{opacity:1;visibility:visible;pointer-events:auto;}
.booking-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;max-width:700px;}
.hero-cta .booking-actions .btn-line{justify-content:center;background:#fff;color:#102b4a;border:1px solid #cbd4dc;box-shadow:none;padding:18px 18px;font-size:16px;}
.booking-cta-note{font-size:12px;line-height:1.8;color:#516172;margin-top:12px;}
.booking-section{scroll-margin-top:88px;background:#f8f9fa;border-top:1px solid #e0e5e9;padding:80px 0;}
.booking-wrap{max-width:1040px;}
.booking-section .section-head{margin-bottom:26px;}
.booking-details{display:flex;flex-wrap:wrap;list-style:none;gap:8px 0;margin-top:20px;font-size:13px;color:#31485e;}
.booking-details li{padding:0 18px;border-right:1px solid #cbd4dc;}
.booking-details li:first-child{padding-left:0;}
.booking-details li:last-child{border-right:0;}
.booking-instructions{padding:20px 0;border-top:1px solid #dce3e9;font-size:13px;line-height:1.85;color:#516172;}
.booking-instructions strong{display:block;margin-bottom:5px;color:#102b4a;font-size:14px;font-weight:500;}
.booking-calendar-shell{padding:12px;background:#fff;border:1px solid #dce3e9;border-radius:10px;}
#timerex_calendar{min-height:640px;scroll-margin-top:80px;}
#timerex_calendar[hidden]{display:none;}
#timerex_calendar iframe{display:block;width:100%;border:0;}
.booking-status{padding:18px;font-size:13px;color:#516172;}
.booking-status[hidden]{display:none;}
.booking-loading{padding:12px 6px 18px;}
.booking-loading[hidden],.booking-retry[hidden]{display:none;}
.booking-loading .booking-status{padding:6px 12px 14px;}
.booking-load-actions{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:12px 20px;padding:0 12px;font-size:13px;}
.booking-load-actions a{color:#254e73;text-decoration:underline;text-underline-offset:4px;}
.booking-retry{padding:10px 16px;border:1px solid #cbd4dc;border-radius:6px;background:#fff;color:#102b4a;font:inherit;cursor:pointer;}
.booking-retry:focus-visible{outline:3px solid #2f80ed;outline-offset:4px;}
.booking-fallback{text-align:center;font-size:13px;margin-top:18px;}
.booking-fallback a,.booking-privacy a{color:#254e73;text-decoration:underline;text-underline-offset:4px;}
.booking-privacy{font-size:11px;line-height:1.85;color:#627180;margin-top:16px;text-align:center;}
.booking-line-option{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:36px;padding-top:28px;border-top:1px solid #dce3e9;}
.booking-line-option h3{font-size:15px;font-weight:500;color:#102b4a;}
.booking-line-option p{font-size:12px;color:#516172;margin-top:6px;}
.booking-line-option .btn-line{flex-shrink:0;background:#fff;color:#102b4a;border:1px solid #cbd4dc;box-shadow:none;font-size:14px;padding:14px 20px;}
.float-cta{gap:10px;padding:10px 16px calc(10px + env(safe-area-inset-bottom));visibility:hidden;}
.float-cta.is-visible{visibility:visible;}
.float-cta .btn-booking,.float-cta .btn-line{min-width:0;min-height:48px;width:100%;padding:12px 8px;font-size:13px;gap:6px;box-shadow:none;}
.float-cta .btn-line{background:#fff;color:#102b4a;border:1px solid #cbd4dc;}
.float-cta .btn-line .ico{width:25px;height:20px;flex-shrink:0;}
@media(max-width:920px){
  .stickybar .btn-booking-sm{display:none;}
  .float-cta{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);}
  /* Keep the existing long course-match LINE text readable in half of the bar. */
  .float-cta .btn-line{font-size:12px;white-space:normal;line-height:1.45;}
}
@media(max-width:600px){
  .booking-actions{grid-template-columns:1fr;gap:10px;}
  .booking-actions .btn-booking,.hero-cta .booking-actions .btn-line{min-height:52px;padding:15px 16px;font-size:15px;}
  .booking-cta-note{font-size:11px;}
  .booking-section{padding:48px 0 56px;scroll-margin-top:64px;}
  .booking-wrap{padding:0 16px;}
  .booking-section .section-title{font-size:26px;}
  .booking-section .section-desc{font-size:13px;}
  .booking-details{font-size:12px;}
  .booking-details li{padding:0 12px;}
  .booking-instructions{font-size:12px;}
  .booking-instructions strong{font-size:13px;}
  .booking-calendar-shell{padding:2px;border-radius:6px;}
  .booking-line-option{display:block;margin-top:28px;padding-top:24px;}
  .booking-line-option .btn-line{display:flex;justify-content:center;margin-top:16px;}
  .booking-fallback{font-size:12px;}
}
@media(prefers-reduced-motion:reduce){.btn-booking,.btn-booking-sm{transition:none;}}
