*{box-sizing:border-box}body{font-family:system-ui,-apple-system,Segoe UI,sans-serif;background:#f5f7f9;color:#101820;margin:0;padding:3rem 1rem}main{max-width:460px;margin:auto;background:#fff;padding:2rem;border:1px solid #dce3e8;border-radius:18px;box-shadow:0 12px 35px #1425360a}h1{margin:0 0 .25rem;font-size:1.7rem}small{color:#5f6d79}.brand{color:#1579b1;font-size:.8rem;letter-spacing:.16em;font-weight:700;text-transform:uppercase}nav{display:flex;gap:.5rem;margin:1.5rem 0;flex-wrap:wrap}button{cursor:pointer;border:1px solid #c5d4dd;border-radius:8px;background:#fff;padding:.75rem 1rem;font:inherit}button.primary{background:#87cefa;border-color:#87cefa;font-weight:650}button:disabled{opacity:.55;cursor:wait}label{display:block;margin:1rem 0 .35rem;font-size:.87rem;font-weight:600}input{width:100%;border:1px solid #b9c8d2;border-radius:8px;padding:.75rem;font:inherit}form button{margin-top:1.1rem;width:100%}.notice{padding:.85rem;border-radius:8px;background:#eaf6ff;line-height:1.5;margin:1rem 0;overflow-wrap:anywhere}.error{background:#ffeded;color:#8d2020}.muted{color:#647583;line-height:1.5}.hidden{display:none}.footer{margin-top:1.5rem;font-size:.76rem;color:#65717b}main.wide{max-width:820px}main.wide section{border-top:1px solid #e3e8ed;margin-top:2rem;padding-top:1rem}main.wide h2{font-size:1.2rem;margin-bottom:.35rem}main.wide select{width:100%;border:1px solid #b9c8d2;border-radius:8px;padding:.75rem;font:inherit;background:#fff}main.wide form{margin:1rem 0 1.5rem}main.wide form button{margin-top:1.3rem}main.wide button:focus-visible,main.wide input:focus-visible,main.wide select:focus-visible{outline:3px solid #3887c3;outline-offset:2px}.field-tree{display:grid;gap:.75rem;margin:1rem 0 1.6rem}.field-tree-master{border:1px solid #d6e3eb;border-radius:12px;padding:.7rem;background:#f8fbfd}.field-tree-master>button{width:100%;text-align:left;font-weight:700;border:0;background:transparent;padding:.35rem}.field-tree-master>button[aria-pressed=true]{color:#075a84}.field-tree-children{display:grid;gap:.25rem;margin:.4rem .3rem .15rem 1rem;padding-left:.65rem;border-left:2px solid #87cefa}.field-tree-children button{text-align:left;border:0;background:transparent;font-size:.9rem;padding:.4rem .5rem}.field-tree-children button[aria-pressed=true]{background:#e5f5ff;font-weight:700}.admin-tabs{display:flex;gap:.5rem;border-bottom:1px solid #d9e5eb;margin:1.4rem 0 1rem}.admin-tabs button{border-radius:9px 9px 0 0;border-bottom:3px solid transparent;font-weight:650}.admin-tabs button[aria-selected=true]{background:#e8f6ff;border-bottom-color:#258bc1}[role=tabpanel][hidden]{display:none}.hours-weekdays{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:.5rem;border:1px solid #d9e5eb;padding:.8rem 1rem;border-radius:10px;margin:1.2rem 0}.hours-weekdays legend{font-weight:650;padding:0 .4rem}.hours-weekdays label{display:flex;align-items:center;gap:.5rem;margin:0;font-weight:400}.hours-weekdays input{width:auto}.field-areas-header{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin:1.8rem 0 .5rem}.field-areas-header h3{margin:0;font-size:1.05rem}.field-areas-header button{flex-shrink:0}.combined-areas{display:grid;gap:1rem;margin:1rem 0}.area-row{border:1px solid #c9dfe9;background:#f8fbfd;border-radius:12px;padding:1rem}.area-row-heading{display:flex;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:.6rem}.area-row label{display:block;margin:.65rem 0}.area-row input,.area-row select{margin-top:.3rem;width:100%}.booking-items{display:grid;gap:.75rem;margin-top:.9rem}.booking-item{border:1px solid #d8e6ed;background:#f9fbfc;padding:1rem;border-radius:10px}.booking-item div{margin:.4rem 0;color:#617383}.booking-time-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.booking-time-grid label{margin-bottom:0}main.wide textarea{width:100%;padding:.75rem;border:1px solid #b9c8d2;border-radius:8px;font:inherit}@media(max-width:500px){.booking-time-grid{grid-template-columns:1fr}}.checkbox-row{display:flex;align-items:center;gap:.7rem;margin:.8rem 0;font-weight:600}.checkbox-row input[type=checkbox]{width:auto;min-width:1.1rem;height:1.1rem;accent-color:#1579b1;margin:0}.smart-row{padding:1rem;border:1px solid #b9dce9;border-radius:12px;background:#f1faff}.hierarchy-submaster{padding:.25rem 0}.hierarchy-submaster>button{width:100%;text-align:left}.hierarchy-playing-areas{margin:.1rem 0 .7rem 1.1rem;padding-left:.9rem;border-left:2px solid #87cefa;display:grid;gap:.4rem;color:#586c79;font-size:.86rem}main.wide.calendar-page{max-width:1440px;padding:clamp(1rem,2.5vw,2rem)}.calendar-toolbar{display:flex;flex-wrap:wrap;align-items:end;gap:.7rem;margin:1rem 0}.calendar-toolbar>label{flex:1;min-width:170px;margin:0}.calendar-toolbar>label input,.calendar-toolbar>label select{margin-top:.35rem}.calendar-date-actions{display:flex;gap:.35rem;align-items:center}.calendar-summary{display:flex;gap:1rem;flex-wrap:wrap;padding:.65rem 0;color:#456073}.calendar-legend{display:flex;gap:.8rem;flex-wrap:wrap;align-items:center;margin:.8rem 0;color:#526c7a;font-size:.83rem}.legend-dot{width:.8rem;height:.8rem;border:1px solid #b8cad6;border-radius:3px;display:inline-block;margin-left:.5rem}.legend-dot.available{background:#fff}.legend-dot.partial{background:#e5f5ff}.legend-dot.reserved{background:#f7dada}.legend-dot.maintenance{background:#f7dfb7}.calendar-scroller{overflow:auto;max-height:670px;border:1px solid #cbdce7;border-radius:12px;isolation:isolate}.schedule-grid{width:100%;min-width:660px;border-collapse:separate;border-spacing:0;font-size:.83rem}.schedule-grid th,.schedule-grid td{border-right:1px solid #dfe7ed;border-bottom:1px solid #e3eaf0;padding:0}.schedule-grid thead th{position:sticky;top:0;background:#ecf5fb;z-index:4;padding:.8rem .5rem;text-align:left;min-width:155px;box-shadow:0 1px #b8d0dd}.schedule-grid thead th:first-child{min-width:82px;left:0;z-index:6}.schedule-grid thead th small{display:block;margin-top:.2rem;font-size:.7rem;font-weight:500}.schedule-time{position:sticky;left:0;z-index:2;min-width:82px;padding:.45rem!important;background:#f6fafc;text-align:left;vertical-align:top;font-variant-numeric:tabular-nums}.schedule-cell{position:relative;min-width:150px;height:50px;vertical-align:top}.schedule-cell.state-partial{background:#e8f6ff}.schedule-cell.state-blocked,.schedule-cell.state-reserved{background:#fff1f0}.schedule-cell.maintenance{background:#fff1db}.calendar-slot{width:100%;min-height:49px;border:0;border-radius:0;background:transparent;text-align:left;padding:.35rem .5rem;color:#748391;font-size:.73rem}.calendar-slot:hover,.calendar-slot:focus-visible{background:#d8effc;outline:2px solid #167db5;outline-offset:-2px}.schedule-slot-state{font-weight:500;opacity:.85}.calendar-event{display:block;width:calc(100% - 8px);margin:2px 4px;padding:.35rem .45rem;border:1px solid #79bddb;border-left:4px solid #2485b2;background:#fff;border-radius:6px;text-align:left;font-size:.73rem;overflow-wrap:anywhere}.calendar-event.is-maintenance{border-color:#c89a4b;border-left-color:#a66b12;background:#fff9ea}.calendar-event strong,.calendar-event span{display:block}.calendar-event span{color:#506775;margin-top:.18rem}.calendar-event:hover{background:#eaf7ff}.calendar-list-title{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:.5rem}.booking-item.is-cancelled{opacity:.65}.booking-item.is-cancelled strong{text-decoration:line-through}.calendar-readonly{border:1px solid #ccdce4;background:#f5f9fb;padding:.75rem;border-radius:8px}.calendar-form-actions{display:flex;flex-wrap:wrap;gap:.7rem;align-items:center}main.wide.calendar-page .calendar-form-actions button{width:auto}#calendar-editor{scroll-margin-top:1.5rem;border-top:2px solid #87cefa}@media(max-width:650px){main.wide.calendar-page{padding:1rem}.calendar-toolbar{display:grid;grid-template-columns:1fr}.calendar-toolbar>label{min-width:0}.calendar-date-actions{justify-content:space-between}}.schedule-cell.outside-hours.state-available{background:repeating-linear-gradient(135deg,#f2f5f7,#f2f5f7 10px,#e9eef1 10px,#e9eef1 20px)}.schedule-cell.outside-hours.state-available .calendar-slot{color:#586e7c}.recurrence-options,.recurrence-series-panel{margin:1.25rem 0;padding:1rem;border:1px solid #c9dfe9;border-radius:12px;background:#f8fbfd}.recurrence-options legend,.recurrence-days legend{font-weight:700;padding:0 .35rem}.recurrence-options .checkbox-row{margin:.6rem 0}.recurrence-days{display:grid;grid-template-columns:repeat(auto-fit,minmax(85px,1fr));gap:.35rem;margin:1rem 0;padding:.75rem;border:1px solid #d6e3eb;border-radius:8px}.recurrence-days label{margin:0}.recurrence-series-panel{border-left:4px solid #87cefa}.recurrence-series-panel .calendar-form-actions{margin-top:1rem}.recurrence-series-panel .calendar-form-actions button{border-color:#c98f8f;color:#802323}.recurrence-series-panel .calendar-form-actions button:disabled{opacity:.5}@media(max-width:600px){.recurrence-days{grid-template-columns:repeat(4,minmax(0,1fr))}}.weekday-times{display:grid;gap:.7rem;margin:.8rem 0}.weekday-time-row{display:grid;grid-template-columns:minmax(85px,.7fr) repeat(2,minmax(110px,1fr));gap:.65rem;align-items:end;border:1px solid #d3e3ed;border-radius:10px;padding:.7rem;background:#fff}.weekday-time-row>strong{align-self:center}.weekday-time-row label{margin:0}.weekday-time-row input[type=time]{width:100%}@media(max-width:550px){.weekday-time-row{grid-template-columns:1fr 1fr}.weekday-time-row>strong{grid-column:1/-1}}.customer-portal main,.customer-requests-admin main{width:100%}.customer-portal form>button.primary{width:100%}.customer-portal .booking-time-grid input{width:100%}.customer-portal #check-availability{margin-top:1rem}.customer-portal textarea,.customer-requests-admin textarea{width:100%;padding:.75rem;border:1px solid #b9c8d2;border-radius:8px;font:inherit}.request-cards{display:grid;gap:1rem;margin:1.2rem 0}.request-card{padding:1.2rem;border-radius:12px;border:1px solid #d1e0e9;background:#f9fcfd;overflow-wrap:anywhere}.request-card p{line-height:1.5}.request-card-top{display:flex;justify-content:space-between;align-items:start;gap:1rem}.request-status{padding:.3rem .6rem;border-radius:8px;background:#e1f2fc;font-size:.8rem;text-transform:capitalize;font-weight:650}.customer-requests-admin .calendar-form-actions{margin-top:1rem}.customer-requests-admin .calendar-form-actions button{flex:1;min-width:165px}.customer-requests-admin .calendar-form-actions button.primary{margin-top:0}.customer-portal a,.customer-requests-admin a{color:#126b99}.recurrence-date-picker{margin:1rem 0;border:1px solid #c9dfe9;border-radius:10px;background:#fff}.recurrence-date-picker summary{cursor:pointer;font-weight:700;padding:.8rem 1rem;list-style-position:inside}.recurrence-date-list{max-height:320px;overflow-y:auto;border-top:1px solid #dce8ed;padding:.25rem .7rem}.recurrence-date-row{display:flex;align-items:center;gap:.7rem;padding:.65rem .4rem;margin:0;border-bottom:1px solid #e6eef2;cursor:pointer}.recurrence-date-row:last-child{border-bottom:none}.recurrence-date-row input[type=checkbox]{width:18px;height:18px;flex-shrink:0}.recurrence-date-row.has-conflict{color:#b42318;background:#fff1ef}.recurrence-date-row.has-conflict .recurrence-date-label{text-decoration:line-through;text-decoration-thickness:2px;font-weight:700}.recurrence-conflict-text{font-size:.85rem;font-weight:700;margin-left:auto;color:#b42318}@media(max-width:550px){.recurrence-date-row{flex-wrap:wrap}.recurrence-conflict-text{margin-left:26px}}.customer-account-details{margin:1.2rem 0;padding:1rem;border:1px solid #cbdce5;border-radius:12px;background:#f7fbfd}.customer-account-details>strong{display:block;margin-bottom:.75rem}.customer-account-details dl{margin:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:.8rem}.customer-account-details dl>div{min-width:0}.customer-account-details dt{font-size:.8rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:#5d6f7c}.customer-account-details dd{margin:.3rem 0 0;overflow-wrap:anywhere;font-weight:600}.customer-account-details p{margin:.9rem 0 0}.schedule-cell.pending{background:#fff4df;border-color:#f5c667}.calendar-event.is-pending-hold{display:block;border:1px solid #e9b04b;background:#ffefd3;border-radius:6px;padding:.45rem .55rem;color:#754610;font-size:.82rem;line-height:1.35}.calendar-event.is-pending-hold strong{display:block;color:#754610}.calendar-legend .legend-dot.pending{background:#e9b04b}.booking-item .request-status{display:inline-block;color:#9a5b00;font-weight:650;padding:.4rem 0}.master-subfield-section{margin:1rem 0;padding:.85rem 1rem;border:1px solid #d6e3eb;border-radius:10px;background:#f8fbfd}.master-subfield-section h3{font-size:1rem;margin:.2rem 0 .7rem}.master-subfield-list{display:flex;gap:.45rem;flex-wrap:wrap;margin:.3rem 0 .7rem}.master-subfield-chip{border:1px solid #bcd8e8;background:#eaf6ff;border-radius:20px;padding:.3rem .6rem;font-size:.8rem;font-weight:650}.field-lengths{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.3rem;margin:1rem 0}.field-lengths legend{font-weight:700;padding:0 .4rem}.field-lengths label{display:flex;align-items:center;gap:.35rem;margin:.2rem 0}.field-lengths input[type=checkbox],#field-smart,#field-public{width:auto}.master-time-frames{border:1px solid #d6e3eb;border-radius:10px;margin:1.2rem 0;padding:1rem}.master-time-frame-row{display:flex;gap:.6rem;align-items:end;padding:.55rem 0;border-bottom:1px solid #e2e9ee}.master-time-frame-row label{flex:1;min-width:0}.master-time-frame-row button{width:auto!important;margin-bottom:.35rem}.master-time-frames>button{width:auto!important;margin-top:.8rem}.schedule-format-group{background:#eaf6ff;font-weight:750;text-align:center;border-bottom:2px solid #87cefa}@media(max-width:550px){.master-time-frame-row{flex-wrap:wrap}.master-time-frame-row label{min-width:120px}}.split-preset-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:12px;margin:12px 0}.split-preset-group{border:1px solid #d3e1eb;border-radius:10px;padding:14px;background:#f7fbff}.split-preset-group legend{font-weight:700;padding:0 6px}.split-side-choices{margin:10px 0 0 16px;display:grid;gap:8px}.split-preset-group .checkbox-row{margin:0;display:flex;align-items:center;gap:8px}.split-preset-group input[type=checkbox]{width:auto;flex:none}[data-area-parent]{max-width:100%}.smart-advanced{border:1px solid #d1e2ee;border-radius:10px;padding:.9rem 1rem;margin:1rem 0;background:#f8fcff}.smart-advanced summary{cursor:pointer;font-weight:750;margin:0 0 .65rem}.smart-format-options{display:flex;gap:1rem;flex-wrap:wrap;border:1px solid #d6e6ef;border-radius:8px;padding:.65rem 1rem;margin:.75rem 0}.smart-format-options legend{font-weight:700;padding:0 .35rem}.smart-format-options .checkbox-row{display:flex;gap:.4rem;align-items:center;margin:.25rem 0}.smart-format-options input[type=checkbox],#field-auto-slots{width:auto;flex:none}#customer-format,#customer-smart-slot{width:100%}
