:root{color-scheme:light;font:16px/1.5 Arial,sans-serif;color:#20242a;background:#f3f5f7}
*{box-sizing:border-box}
body{margin:0}
.booking-shell{max-width:860px;margin:auto;padding:28px 18px 56px}
header{background:#101827;color:#fff;border-radius:14px 14px 0 0;padding:28px}
h1{font-size:clamp(2rem,5vw,3rem);line-height:1.08;margin:.15em 0}
.eyebrow{text-transform:uppercase;letter-spacing:.12em;font-weight:700;margin:0;color:#d9e1ee}
.card{background:#fff;border:1px solid #d9dee5;border-radius:12px;margin-top:18px;padding:22px;box-shadow:0 8px 30px rgba(16,24,39,.06)}
h2{margin-top:0}
.grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
label{display:block;font-weight:700;margin:14px 0}
input,select,textarea{display:block;width:100%;margin-top:6px;border:1px solid #aeb6c2;border-radius:7px;padding:11px;font:inherit;background:#fff;color:#171a1f}
input:focus,select:focus,textarea:focus,button:focus-visible{outline:3px solid #adc7f7;outline-offset:1px;border-color:#315fae}
.view-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-top:18px}
.view-heading h2,.view-heading p{margin-bottom:6px}
.view-switch{display:flex;border:1px solid #b8c0ca;border-radius:9px;padding:3px;background:#f0f2f5}
.view-switch button,.calendar-toolbar button{border:0;border-radius:6px;padding:8px 13px;background:transparent;color:#293442;font:700 15px Arial;cursor:pointer}
.view-switch button.active{background:#101827;color:#fff}
.calendar-toolbar{display:flex;align-items:center;justify-content:space-between;margin:18px 0 10px}
.calendar-toolbar button{background:#eef1f5;font-size:24px;line-height:1}
.public-calendar{border:1px solid #d5dae1;border-radius:10px;overflow:hidden}
.calendar-head,.calendar-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}
.calendar-head strong{background:#eef1f5;text-align:center;padding:8px 2px;font-size:.82rem}
.booking-day{min-height:82px;border-top:1px solid #e0e4e9;border-right:1px solid #e0e4e9;padding:4px}
.booking-day:nth-child(7n){border-right:0}
.booking-day.blank{background:#f6f7f8}
.day-number{display:block;color:#8a919c;padding:5px}
.day-button{border:0;border-radius:7px;width:100%;min-height:72px;padding:6px;background:#eaf4ee;color:#174d2d;text-align:left;cursor:pointer}
.day-button strong,.day-button span,.day-button small{display:block}
.day-button strong{font-size:1.05rem}
.day-button span,.day-button small{font-size:.72rem}
.day-button:hover:not(:disabled),.day-button.selected{box-shadow:inset 0 0 0 2px #eb2938}
.day-button:disabled{background:#f0f1f3;color:#737a84;cursor:not-allowed}
.day-slots{margin-top:18px}
.calendar-instruction{background:#f3f5f7;border-radius:8px;padding:15px;color:#596473}
.occurrences{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:10px;margin-top:12px}
.dated-slot>span{display:block;font-size:.84rem;font-weight:700;margin-bottom:4px;color:#5e6875}
.occurrence{display:block;text-align:left;width:100%;height:100%;padding:13px;border:1px solid #bcc4ce;border-radius:8px;background:#fff;color:#20242a;cursor:pointer}
.occurrence:hover:not(:disabled){border-color:#eb2938}
.occurrence.selected{outline:3px solid #eb2938;border-color:#eb2938}
.occurrence:disabled{background:#f1f2f4;color:#6b7280;cursor:not-allowed}
.tag{display:inline-block;background:#e8f7ed;color:#176333;border-radius:999px;padding:2px 8px;font-size:.8rem;font-weight:700;margin-top:6px}
.tag.paid{background:#eef2f8;color:#35435b}
button[type=submit]{border:0;border-radius:8px;background:#eb2938;color:#fff;padding:14px 20px;font:700 18px Arial;cursor:pointer}
button#new-booking{border:0;border-radius:8px;background:#eb2938;color:#fff;padding:12px 18px;font:700 16px Arial;cursor:pointer;margin-top:14px}
button.secondary{border:1px solid #aeb6c2;border-radius:8px;background:#fff;color:#27313e;padding:10px 14px;font:700 15px Arial;cursor:pointer}
button:disabled{opacity:.65}
.consent{display:flex;gap:10px;align-items:flex-start;font-weight:400}
.consent input{width:auto;margin-top:5px}
.honeypot{position:absolute;left:-10000px}
#message{padding:14px;border-radius:8px;margin-top:16px;background:#e8f7ed;color:#185f32}
#message.error{background:#ffeded;color:#8c1d25}
.notice{background:#fff5d8;border-left:4px solid #d9a400;padding:10px 12px}
.help{color:#5e6875}
@media(max-width:600px){.booking-shell{padding:0 0 32px}
header{border-radius:0}
.card{border-radius:0;border-left:0;border-right:0}
.grid{grid-template-columns:1fr}
.view-heading{display:block}
.view-switch{width:max-content;margin-top:12px}
.booking-day{min-height:62px}
.day-button{min-height:54px;padding:4px}
.day-button span{font-size:.65rem}
.day-button small{display:none}
.occurrences{grid-template-columns:1fr}
}
.student-card{border:1px solid #cfd5dd;border-radius:10px;margin:24px 0;padding:18px}
.student-card legend{font-size:1.25rem;font-weight:800;padding:0 8px}
.student-row{align-items:center;display:grid;grid-template-columns:160px minmax(0,1fr) minmax(0,1fr);gap:10px;margin:12px 0}
.student-row label{margin:0}
.student-label{font-size:1.03rem;font-weight:700}
.student-row>select,.student-row input,.student-row select,.student-row textarea{margin-top:0}
.dob-fields{display:grid;grid-column:span 2;grid-template-columns:.7fr 1.25fr .8fr;gap:10px}
.health-row{align-items:start}
.health-list{grid-column:span 2}
.condition-row{margin-bottom:10px}
.condition-heading{align-items:center;display:flex;justify-content:space-between}
.condition-heading label{font-size:.84rem;margin:0 0 4px}
.remove-condition{background:#fff;border:0;border-radius:50%;color:#9d1c25;cursor:pointer;font:700 25px/1 Arial;height:32px;padding:0;width:32px}
.remove-condition:hover{background:#fde8ea}
.add-condition{background:#eef1f5;border:0;border-radius:7px;color:#243040;cursor:pointer;font-size:.9rem;font-weight:700;margin-top:4px;padding:8px 12px}
.add-condition span{font-size:1.2rem}
.booking-errors{background:#fff0f1;border-left:4px solid #c51f2d;color:#a11925;font-weight:700;margin:18px 0;padding:10px 15px}
.booking-errors ul{list-style:none;margin:0;padding:0}
.booking-errors li+li{margin-top:5px}
.gate-error{background:#fff0f1;border-left:4px solid #c51f2d;color:#a11925;font-weight:700;margin:14px 0;padding:10px 15px}
.account-heading{align-items:start;display:flex;justify-content:space-between;gap:18px}
.account-heading h2,.account-heading p{margin-bottom:4px}
.customer-booking{align-items:center;border:1px solid #d6dbe2;border-radius:9px;display:flex;justify-content:space-between;gap:18px;margin:10px 0;padding:14px}
.customer-booking .booking-state{background:#f0f2f5;border-radius:999px;display:inline-block;font-size:.8rem;font-weight:700;margin-top:6px;padding:2px 8px}
.booking-history{margin:20px 0}
.booking-history summary{cursor:pointer;font-weight:700;margin-bottom:10px}
.booking-history .customer-booking{background:#f8f9fa;color:#5d6570}
.booking-history .customer-booking button{display:none}
.card form>button{margin-top:8px}
.sr-only{clip:rect(0,0,0,0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}
@media(max-width:700px){
 .student-row{grid-template-columns:1fr 1fr}
 .student-label{grid-column:1/-1}
 .dob-fields,.health-list{grid-column:1/-1}
 .student-row>select{grid-column:1/-1}
}
@media(max-width:430px){
 .student-row{grid-template-columns:1fr}
 .dob-fields{grid-template-columns:.65fr 1.15fr .8fr}
 .student-card{padding:14px}
}
@media(max-width:520px){.account-heading,.customer-booking{align-items:stretch;display:flex;flex-direction:column}.account-heading button,.customer-booking button{width:100%}}

.condition-heading{display:flex;justify-content:flex-end;align-items:center}.condition-heading .remove-condition{margin-left:auto}.contact-student{display:flex;align-items:center;gap:8px;margin-bottom:20px;font-weight:400}.contact-student input{width:auto;min-height:auto}
.chooser-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:stretch}.chooser-card{border:1px solid #dbe2eb;border-radius:10px;padding:16px;min-width:0}.choice-notes{white-space:pre-wrap;overflow-wrap:anywhere;margin:12px 0 0;line-height:1.5}.account-heading{display:flex;align-items:center;justify-content:flex-start;gap:12px;flex-wrap:wrap}.account-heading p{margin:0;overflow-wrap:anywhere}input[readonly]{background:#edf1f5;color:#64748b;cursor:default}@media(max-width:600px){.chooser-cards{grid-template-columns:1fr}}
.email-control{display:flex;align-items:center;gap:10px}.email-control input{min-width:0;flex:1}.email-control button{flex:none;white-space:nowrap}.day-button{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start}.dated-slot{display:flex;flex-direction:column;gap:10px;min-width:0}.dated-slot>.occurrence{width:100%}.student-card{position:relative}.student-card legend{padding-right:32px}.remove-student{position:absolute;right:10px;top:0;background:transparent;color:#b91c1c;border:0;font-size:1.5rem;padding:4px 10px;line-height:1}.contact-student{margin:12px 0}#add-student{margin:0 0 22px}#day-slots,.dated-slot{scroll-margin-top:16px}
.class-list{margin-top:18px;border:1px solid #dbe2eb;border-radius:8px;overflow:hidden}.list-month{margin:0;padding:12px 14px;background:#eaf0f6;font-size:1rem}.class-list .dated-slot{display:block}.class-list-row{display:grid;grid-template-columns:30px 42px 110px minmax(0,1fr) 70px;align-items:center;gap:12px;width:100%;margin:0;padding:16px 14px;border:0;border-bottom:1px solid #e5e9ef;border-radius:0;background:#fff;color:#20242a;text-align:left;font:inherit;cursor:pointer}.dated-slot:nth-of-type(even) .class-list-row{background:#f6f8fa}.class-list-row.selected{background:#fff6be}.class-list-row:hover:not(:disabled){background:#eaf3fb}.class-list-row:disabled{color:#737a84;cursor:not-allowed}.list-class{font-weight:600;overflow-wrap:anywhere}.list-time,.list-state{font-size:.85rem}.list-state{text-align:right}@media(max-width:600px){.class-list-row{grid-template-columns:26px 34px minmax(0,1fr) 65px;gap:8px;padding:12px 10px}.list-time{grid-column:3;grid-row:2}.list-class{grid-column:3;grid-row:1}.list-state{grid-column:4;grid-row:1 / span 2}.list-day,.list-weekday{grid-row:1 / span 2}}

.student-name-row{align-items:start}.student-first-name{min-width:0}.student-first-name .contact-student{display:flex;gap:8px;align-items:flex-start;margin:10px 0 0;font-size:.85rem;line-height:1.4}.student-first-name .contact-student input{flex:none;margin-top:3px}

#payment-summary{border-top:1px solid #d4dce6;margin:24px 0;padding-top:12px}#payment-summary .consent{margin:14px 0}
