.booking-public { min-height: 100vh; background: linear-gradient(180deg, #e3eeef 0, #f4f7f7 360px); }
.booking-public-header { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; min-height: 64px; padding: 0 max(16px, calc((100% - 760px) / 2)); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.92); backdrop-filter: blur(12px); }
.booking-public-main { width: min(100% - 24px, 760px); margin: 22px auto 70px; }

.bk-page { display: grid; gap: 16px; }
.bk-hero { position: relative; overflow: hidden; padding: 30px 28px; border-radius: 18px; color: white; background: linear-gradient(135deg, #073c50 0%, #0a6480 62%, #4f9f8c 130%); box-shadow: 0 14px 34px rgba(7,60,80,.22); }
.bk-hero::after { content: ''; position: absolute; top: -70px; right: -50px; width: 220px; height: 220px; border-radius: 50%; background: rgba(255,255,255,.08); }
.bk-kicker { position: relative; z-index: 1; margin: 0 0 10px; color: #b6ddd6; font-size: 10px; font-weight: 700; letter-spacing: 1.6px; }
.bk-title { position: relative; z-index: 1; margin: 0 0 20px; color: white; font-size: clamp(22px, 4.4vw, 31px); line-height: 1.25; }
.bk-lecturer { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; }
.bk-avatar { display: grid; place-items: center; flex: 0 0 46px; width: 46px; height: 46px; border: 2px solid rgba(255,255,255,.55); border-radius: 50%; background: rgba(255,255,255,.16); font-size: 19px; font-weight: 700; }
.bk-lecturer strong { display: block; font-size: 14px; }
.bk-lecturer small { display: block; margin-top: 2px; color: #cfe5e8; font-size: 12px; }

.bk-card { padding: 22px; border: 1px solid #e0e8e8; border-radius: 16px; background: white; box-shadow: 0 1px 3px rgba(7,60,80,.05); }
.bk-card h3 { margin: 0; color: var(--ocean-dark); font-size: 16px; }
.bk-description { border-left: 4px solid #65ad99; }
.bk-description h3 { margin-bottom: 8px; font-size: 13px; }
.bk-description p { margin: 0; color: #49656b; font-size: 13px; line-height: 1.75; }

.bk-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0; padding: 0; list-style: none; }
.bk-steps li { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border: 1px solid #e0e8e8; border-radius: 12px; color: #7b898d; background: rgba(255,255,255,.7); font-size: 12px; font-weight: 600; }
.bk-steps li span { display: grid; place-items: center; flex: 0 0 24px; width: 24px; height: 24px; border-radius: 50%; color: #7b898d; background: #e8eeee; font-size: 11px; }
.bk-steps li.active { color: var(--ocean-dark); border-color: #b9d8de; background: white; }
.bk-steps li.active span { color: white; background: var(--ocean); }

.bk-card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.bk-card-head span { color: var(--muted); font-size: 12px; }
.bk-days { display: grid; gap: 10px; }
.bk-day { overflow: hidden; border: 1.5px solid #e0e8e8; border-radius: 14px; background: white; transition: border-color .18s ease, box-shadow .18s ease; }
.bk-day[hidden] { display: none; }
.bk-day:hover { border-color: #b9d8de; }
.bk-day[open] { border-color: var(--ocean); box-shadow: 0 6px 18px rgba(10,100,128,.12); }
.bk-day summary { display: flex; align-items: center; gap: 14px; padding: 12px 16px 12px 12px; list-style: none; cursor: pointer; }
.bk-day summary::-webkit-details-marker { display: none; }
.bk-badge { display: grid; place-items: center; flex: 0 0 56px; width: 56px; padding: 7px 0; border-radius: 12px; color: var(--ocean-dark); background: #edf4f2; line-height: 1.15; transition: background .18s ease, color .18s ease; }
.bk-badge small { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; opacity: .8; }
.bk-badge strong { font-size: 21px; }
.bk-day[open] .bk-badge { color: white; background: linear-gradient(160deg, var(--ocean), var(--ocean-dark)); }
.bk-day-text { flex: 1; min-width: 0; }
.bk-day-text strong { display: block; color: #20343a; font-size: 14px; }
.bk-day-text small { display: block; margin-top: 3px; color: #5d8f84; font-size: 12px; font-weight: 600; }
.bk-chevron { flex: 0 0 9px; width: 9px; height: 9px; margin-right: 4px; border-right: 2px solid #1c7fd0; border-bottom: 2px solid #1c7fd0; transform: translateY(-3px) rotate(45deg); transition: transform .2s ease; }
.bk-day[open] .bk-chevron { transform: translateY(3px) rotate(-135deg); }
.bk-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; padding: 14px 14px 16px; border-top: 1px dashed #d4e0e0; background: #fafcfc; }
.bk-slot { position: relative; display: block; }
.bk-slot input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.bk-slot span { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 46px; border: 1.5px solid #cfe3ea; border-radius: 12px; color: var(--ocean-dark); background: white; font-size: 13px; font-weight: 700; transition: all .16s ease; }
.bk-slot span svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; opacity: .7; }
.bk-slot:hover span { border-color: var(--ocean); background: #f0f8fa; }
.bk-slot input:checked + span { border-color: var(--ocean-dark); color: white; background: linear-gradient(160deg, var(--ocean), var(--ocean-dark)); box-shadow: 0 6px 14px rgba(10,100,128,.28); }
.bk-slot input:checked + span svg { opacity: 1; }
.bk-slot input:focus-visible + span { box-shadow: 0 0 0 3px rgba(10,100,128,.25); }
.bk-slot.is-taken input { cursor: not-allowed; }
.bk-slot.is-taken span { flex-wrap: wrap; border-style: dashed; border-color: #dbe3e4; color: #9aa8ab; background: #f3f5f5; text-decoration: line-through; }
.bk-slot.is-taken span svg { opacity: .4; }
.bk-slot.is-taken:hover span { border-color: #dbe3e4; background: #f3f5f5; }
.bk-slot span em { padding: 1px 7px; border-radius: 8px; color: #8a5a2b; background: #fbecd6; font-size: 10px; font-style: normal; font-weight: 700; text-decoration: none; }

.bk-more { width: 100%; min-height: 46px; margin-top: 12px; border: 1.5px solid #1c7fd0; border-radius: 12px; color: #1c6fb8; background: white; font-size: 14px; font-weight: 700; cursor: pointer; transition: background .16s ease; }
.bk-more:hover { background: #eef6fd; }
.bk-note { display: flex; align-items: flex-start; gap: 10px; margin: 16px 0 0; padding: 11px 13px; border-radius: 10px; color: #586d72; background: #f3f7f6; font-size: 12px; line-height: 1.55; }
.bk-note svg { flex: 0 0 16px; width: 16px; height: 16px; margin-top: 1px; fill: none; stroke: #65ad99; stroke-width: 2; stroke-linejoin: round; }

.bk-action { position: sticky; bottom: 0; z-index: 5; margin: 18px -22px -22px; padding: 14px 22px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid #e0e8e8; border-radius: 0 0 16px 16px; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); box-shadow: 0 -8px 20px rgba(7,60,80,.06); }
.bk-selected { margin: 0 0 10px; color: var(--muted); font-size: 12px; text-align: center; }
.bk-selected.has-selection { color: var(--ocean-dark); font-weight: 700; }
.bk-error { margin: 0 0 10px; color: #9a3a30; font-size: 12px; font-weight: 600; text-align: center; }
.bk-error[hidden] { display: none; }
.bk-submit { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 52px; border: 0; border-radius: 12px; color: white; background: linear-gradient(135deg, #0a6480, #073c50); box-shadow: 0 8px 18px rgba(7,60,80,.26); font-size: 15px; font-weight: 700; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; }
.bk-submit:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(7,60,80,.32); }
.bk-hint { margin: 10px 0 0; color: var(--muted); font-size: 11px; text-align: center; }
.bk-empty { display: grid; justify-items: center; gap: 10px; padding: 26px 10px; color: var(--muted); text-align: center; font-size: 13px; line-height: 1.6; }
.bk-empty svg { width: 40px; height: 40px; fill: none; stroke: #a9bcbf; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.bk-empty p { margin: 0; }

@media (max-width: 560px) {
  .booking-public-main { width: min(100% - 16px, 760px); margin-top: 12px; }
  .bk-hero { padding: 24px 18px; border-radius: 16px; }
  .bk-card { padding: 16px; border-radius: 14px; }
  .bk-action { margin: 16px -16px -16px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); }
  .bk-steps { gap: 6px; }
  .bk-steps li { flex-direction: column; justify-content: center; gap: 5px; padding: 9px 4px; font-size: 10px; text-align: center; }
  .bk-slots { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .bk-day summary { gap: 12px; padding-right: 12px; }
  .bk-badge { flex-basis: 52px; width: 52px; }
  .bk-day-text strong { font-size: 13px; }
}
