.cal-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:10px 0 30px}.cal-heading h1{font-size:38px;letter-spacing:-1px;margin-bottom:12px}.cal-heading .eyebrow{margin-bottom:15px}.cal-heading p{font-size:15px;color:var(--muted);margin:0}.cal-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:23px;flex-wrap:wrap}.cal-toolbar h2{font-size:23px;margin:0}.cal-nav{display:flex;gap:7px}.cal-nav button,.cal-toolbar input{border:1px solid #b7aaa0;background:#fffdfb;color:var(--aubergine);padding:7px 12px}.cal-toolbar label{font-size:14px}.cal-toolbar input{margin-left:7px}.cal-legend{display:flex;gap:20px;flex-wrap:wrap;font-size:13px;margin-bottom:18px}.cal-legend span:before{content:'';display:inline-block;width:10px;height:10px;margin-right:7px;border-radius:50%}.legend-available:before{background:#5b7556}.legend-booked:before{background:var(--aubergine)}.legend-blocked:before{background:#986846}.legend-closed:before{background:#a39a93}.cal-scroll{overflow:auto;margin-bottom:20px;border:1px solid var(--stone);background:#fffdfb}.cal-grid{width:100%;min-width:960px;border-collapse:collapse;table-layout:fixed}.cal-grid th{padding:15px 8px;font-size:13px;background:#eee8e1;text-align:center;border-bottom:1px solid var(--stone)}.cal-grid th:first-child{width:165px;text-align:left;padding-left:17px}.cal-grid thead th span,.cal-grid thead th strong{display:block}.cal-grid thead th strong{font-size:16px;color:var(--aubergine);font-weight:500}.cal-grid .is-today{box-shadow:inset 0 3px 0 var(--rose)}.cal-grid tbody th{font-size:14px;vertical-align:top;padding-top:25px}.cal-grid tbody th span{display:block;font-size:12px;color:var(--muted);font-weight:400;margin-top:6px}.cal-grid td{padding:8px 5px;border-bottom:1px solid var(--stone);vertical-align:top}.slot{display:block;width:100%;min-height:83px;margin:0 0 6px;padding:10px 8px;text-align:left;border:1px solid transparent;font-size:13px;line-height:1.4;border-radius:2px}.slot span,.slot strong{display:block}.slot-session{font-size:11px;opacity:.8}.slot strong{font-size:13px;font-weight:600;margin-top:3px}.slot-name{font-size:11px;overflow-wrap:anywhere;margin-top:3px}.slot-available{color:#365032;background:#eef3eb;border-color:#d7e2d1}.slot-available:hover{background:#dfead9;border-color:#6c8667}.slot-booked{background:#ece4ef;color:var(--aubergine);border-color:#d4c2da}.slot-blocked{background:#f1e9df;color:#764c2e;border-color:#e0ccb7}.slot-closed{background:#efedeb;color:#79706a}.slot-booked:hover,.slot-blocked:hover{filter:brightness(.95)}.slot:disabled{cursor:default}.cal-grid tbody tr:last-child td,.cal-grid tbody tr:last-child th{border-bottom:none}#booking-dialog{border:1px solid var(--stone);padding:28px;max-width:720px;width:calc(100% - 28px);max-height:90vh;background:var(--white);color:var(--ink);box-shadow:0 20px 100px #30223955}#booking-dialog::backdrop{background:#30223980}.dialog-head{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:23px}.dialog-head h2{font-size:28px;margin:0}.dialog-head button{background:none;border:none;color:var(--aubergine);font-size:30px;padding:0 8px}.booking-fields{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-bottom:18px}.booking-fields[hidden]{display:none}.booking-fields label,.notes-label{font-size:15px;display:block}#booking-form input:not([type=checkbox]),#booking-form select,#booking-form textarea{width:100%;display:block;border:1px solid #b7aaa0;background:#fffdfb;padding:8px 10px;margin-top:5px;border-radius:0}#booking-form fieldset{border:1px solid var(--stone);padding:15px;margin:0 0 18px}#booking-form legend{font-size:15px;padding:0 6px}.check-options{display:grid;grid-template-columns:1fr 1fr;gap:10px}.check-options label{font-size:14px;display:flex;align-items:center;gap:6px}.check-options input{width:17px;height:17px;accent-color:var(--aubergine)}#booking-form fieldset .fine-print{margin:12px 0 0}#booking-form>.fine-print{margin:10px 0 20px}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;margin-top:25px}.cancel-button{margin-right:auto;background:none;border:1px solid #9a534e;color:#853e39;padding:10px;font-size:14px}button[hidden],details[hidden]{display:none!important}#history-panel{font-size:14px;border-top:1px solid var(--stone);padding-top:15px}#history-panel summary{cursor:pointer;color:var(--aubergine)}.history-entry{margin:15px 0;background:#eee8e1;padding:10px}.history-entry h4{font-size:15px;margin:15px 0 8px}.history-entry p{font-size:13px;white-space:pre-line;margin:8px 0;overflow-wrap:anywhere}#booking-form button:disabled{opacity:.6;cursor:wait}@media(max-width:650px){.cal-heading{align-items:flex-start;flex-direction:column}.cal-heading h1{font-size:30px}.cal-toolbar{gap:15px}.cal-toolbar h2{order:-1;width:100%}.cal-toolbar label{width:100%}.cal-legend{gap:12px}#booking-dialog{padding:20px}.booking-fields,.check-options{grid-template-columns:1fr}.dialog-actions{gap:8px}.dialog-actions .button{padding:10px 14px;font-size:14px}.cancel-button{width:100%;margin-bottom:8px}}

.cal-grid th:first-child{position:sticky;left:0;z-index:1}.cal-grid thead th:first-child{z-index:2}

.public-calendar .slot{cursor:default}.public-calendar .slot-booked{background:#e1dedb;border-color:#c9c3be;color:#68615b}.public-calendar .legend-booked:before{background:#918a83}.public-calendar .slot-available:hover{background:#eef3eb;border-color:#d7e2d1}.public-calendar .slot-booked:hover{filter:none}
