/* Cloud prototype: protected Supabase data and no clinical content */
:root{font:16px/1.45 system-ui,-apple-system,"Segoe UI",sans-serif;color:#193946;background:#f2f7f8}
*{box-sizing:border-box}body{margin:0}header{background:#0f6278;color:#fff;padding:22px max(17px,calc((100vw - 1110px)/2))}
header h1{margin:0;font-size:25px}header a{color:#ddf5f5;text-decoration:underline;font-size:13px}main{max-width:1110px;padding:20px 15px 90px;margin:auto}
h2{font-size:21px;margin:0 0 14px}h3{font-size:17px;margin:2px 0 9px}
p{margin:8px 0 12px}.muted{color:#5f7680;font-size:13px}.hidden{display:none!important}
.card{background:white;border-radius:15px;padding:19px;margin-bottom:16px;box-shadow:0 2px 16px #173c4713}
.warning{background:#fff2dc;border:1px solid #edd9aa;color:#5c4b24;border-radius:12px;padding:12px;margin-bottom:17px}
.notice{border-radius:9px;padding:10px 12px;background:#e8f5f5;color:#114b54;margin-bottom:12px}
.notice.error{background:#fee7e7;color:#882626}
button,input,select{font:inherit}button{cursor:pointer;background:#0d7485;border:1px solid #0d7485;border-radius:9px;color:#fff;padding:10px 13px}
button.secondary{background:#e6f2f4;color:#145366;border-color:#d9e7eb}button.danger{background:#993332;border-color:#993332}
button:disabled{opacity:.5;cursor:not-allowed}
input,select{width:100%;padding:11px;border:1px solid #c8dade;border-radius:9px;background:#fff;min-width:0}
label{display:block;font-size:13px;font-weight:700;margin:9px 0 4px}
.fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.actions{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}
.item{border-left:4px solid #15999e;padding:11px;background:#f4f9f9;border-radius:9px;margin:8px 0}
.item strong{display:block}
.status{display:inline-block;background:#edf2ec;color:#356751;border-radius:30px;padding:3px 8px;font-size:12px}
.status.pending{background:#fff4da;color:#8b631d}
#studioCode{font-weight:750;word-break:break-all}
#therapistPanel .item .actions button{font-size:13px;padding:7px 9px}
#availabilityRows,#bookingRows,#requestRows,#patientBookingRows,#patientRequestRows{max-height:370px;overflow:auto;padding-right:4px}
.selectable{display:flex;align-items:center;gap:10px}.selectable input[type=checkbox]{width:20px;height:20px;flex:none}
.section-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px}
.section-head .actions{margin:0}
#syncState{font-size:13px;color:#496d72}
#authPanel .card{max-width:750px}#authPanel form{margin-bottom:10px}
details{border-top:1px solid #e3edef;padding-top:11px;margin-top:15px}
summary{cursor:pointer;color:#145a72;font-weight:750}
@media(max-width:650px){.fields,.grid{grid-template-columns:1fr}header{padding:17px}main{padding:14px}.card{padding:15px}}
