.physio{--teal:#176b78;background:#f4f7fa}.physio aside{border-top:4px solid #176b78;padding-top:32px}.physio .brand img{max-height:56px}.physio h1{font-size:30px}.physio nav button.active{background:#e8f2f5;color:#176b78}.physio .stats{margin-top:25px}.physio .stat small{color:#748b91}.greeting{background:#e7f1f3;border:1px solid #d5e7eb;padding:28px 30px;border-radius:14px;display:flex;justify-content:space-between;align-items:center;gap:20px}.greeting h1{margin-bottom:8px}.greeting p{font-size:15px;max-width:620px}.clinic-context{font-size:12px;letter-spacing:1.5px;font-weight:700;color:#53858e;margin-bottom:13px}.physio .primary{background:#176b78;border-color:#176b78}.clinical-grid{display:grid;grid-template-columns:1.45fr 1fr;gap:24px}.panel-body{padding:22px 25px}.quick-row{padding:17px 0;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;gap:15px}.quick-row:last-child{border-bottom:0}.quick-row p{font-size:13px}.status{padding:5px 9px;border-radius:5px;font-size:12px;background:#e9f4ee;color:#438466;display:inline-block}.status.wait{background:#fff3df;color:#a37a2e}.status.off{background:#f4e9eb;color:#9a6470}.status.done{background:#e8eef5;color:#5d7598}.appointment-line{display:grid;grid-template-columns:65px 1fr auto;gap:18px;align-items:center;padding:18px 23px;border-bottom:1px solid var(--border)}.appointment-line:last-child{border-bottom:0}.appointment-line time{font-size:16px;font-weight:700}.appointment-line p{font-size:13px;margin-top:4px}.appointment-line .text-button{text-align:left;padding:0;font-size:15px}.appointment-actions{display:flex;gap:10px;align-items:center}.section-toolbar{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin-bottom:22px}.section-toolbar label{font-size:13px;display:grid;gap:7px}.section-toolbar .grow{flex:1}.subtle{color:#8ba0a5;font-size:13px}.patient-title{display:flex;gap:16px;align-items:center;margin:20px 0}.patient-title .avatar{width:60px;height:60px;font-size:19px}.patient-title p{font-size:14px}.patient-tabs{display:flex;gap:25px;overflow-x:auto;margin:28px 0;border-bottom:1px solid var(--border)}.patient-tabs button{white-space:nowrap;padding:12px 0;border:0;background:none;color:#7b8e94;font-size:14px}.patient-tabs button.active{color:#176b78;border-bottom:2px solid #176b78;font-weight:700}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.metric-pair{display:flex;justify-content:space-between;align-items:center;padding:12px 0;border-bottom:1px solid #edf1f3;font-size:14px}.metric-pair:last-child{border:0}.clinical-text{font-size:14px;white-space:pre-wrap;color:#57747d;line-height:1.7}.episode-header{display:flex;justify-content:space-between;align-items:center;padding:18px 22px;gap:12px}.timeline{padding:0 25px}.note{padding:24px 0;border-bottom:1px solid var(--border)}.note-head{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:16px}.note-head strong{font-size:14px}.note .clinical-text{margin:12px 0}.note-label{font-size:11px;font-weight:700;color:#80949b;letter-spacing:1px}.exercise-card{padding:23px}.exercise-card .exercise-region{display:inline-block;color:#658790;background:#edf4f6;border-radius:5px;padding:5px 9px;font-size:12px;margin-bottom:20px}.exercise-card h2{font-size:18px}.exercise-card p{font-size:14px;margin:10px 0 22px;min-height:45px}.exercise-plan{margin-top:16px;padding:18px;border:1px solid var(--border);border-radius:9px}.exercise-plan p{font-size:14px}.adherence{display:flex;align-items:center;gap:10px;margin-top:15px;font-size:14px}.adherence input{width:18px;height:18px;accent-color:#176b78}.form-cols{display:grid;grid-template-columns:1fr 1fr;gap:14px}textarea{font:inherit;padding:12px;border:1px solid #d7e2e4;border-radius:8px;width:100%;resize:vertical;min-height:85px;color:#264d57}#form-error{color:#a34757;font-size:14px}.data-table button{text-align:left}.mini-chart{display:flex;align-items:end;gap:20px;height:125px;margin:25px 0 15px;padding-top:10px}.chart-column{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:end;height:100%;gap:8px;font-size:12px}.chart-bar{width:100%;max-width:45px;min-height:3px;background:#80b4bd;border-radius:5px 5px 0 0}.chart-column strong{font-size:13px}.notice-inline{padding:14px 18px;border-radius:8px;background:#edf4f6;color:#64828b;font-size:13px;margin-bottom:20px}.physio-empty{padding:50px;text-align:center}.physio-empty p{margin-bottom:20px}.branding-clinic{display:flex;align-items:center;gap:25px;padding:24px;margin-bottom:25px}.branding-clinic>img{width:140px;height:75px;object-fit:contain}.branding-clinic p{font-size:14px}.logo-controls{display:flex;gap:12px;align-items:center;margin:15px 0}.upload-label{position:relative;display:inline-block;cursor:pointer;font-size:12px}.upload-label input{position:absolute;width:1px;height:1px;opacity:0}.upload-label:focus-within{outline:3px solid #78bdb7}.specialty-logo{width:100%;height:65px;object-fit:contain;margin-bottom:20px}.clinic-specialty .logo-controls{flex-wrap:wrap}.patient-hero-actions{display:flex;gap:10px;flex-wrap:wrap}.report-note{max-width:650px;margin-top:20px;font-size:14px}@media(max-width:1100px){.clinical-grid{grid-template-columns:1fr}}@media(max-width:760px){.physio aside{padding-top:18px}.physio .brand{width:150px}.physio #demo-mode{position:absolute;right:18px;top:18px;width:165px;font-size:12px}.greeting{padding:22px;align-items:start;flex-direction:column}.detail-grid{grid-template-columns:1fr}.patient-title{align-items:start}.patient-title h1{font-size:25px}.appointment-line{grid-template-columns:50px 1fr;gap:12px}.appointment-actions{grid-column:2;flex-wrap:wrap}.form-cols{grid-template-columns:1fr}.patient-tabs{gap:20px}.branding-clinic{align-items:start;flex-direction:column}.physio h1{font-size:25px}.patient-hero-actions .secondary{padding:10px}.section-toolbar input{width:100%}}
#workspace-picker:empty{display:none}#workspace-picker{margin-top:22px;padding-top:18px;border-top:1px solid var(--border)}#workspace-picker label{display:block}#workspace-picker select{width:100%;font-size:13px;margin:8px 0}#workspace-picker small{line-height:1.5}@media(max-width:760px){#workspace-picker{margin-top:18px;padding-top:12px}#workspace-picker select{max-width:100%}}
.pain-map-preview{display:flex;gap:24px;align-items:center;background:#f7fafb;border:1px solid #e1ebee;border-radius:12px;padding:20px;margin:20px 0}.body-views{display:flex;gap:14px;flex-shrink:0;text-align:center}.body-views>div{width:95px}.body-map-svg{width:100%;height:auto;display:block;overflow:visible}.body-zone{cursor:pointer;fill:#dfe9ed;stroke:#aabdc5;stroke-width:1.3;transition:fill .12s}.body-zone:hover{fill:#f8d6da;stroke:#c95966}.body-zone.marked{fill:#e05866;stroke:#ab3445;stroke-width:1.8}.body-zone.selected{stroke:#752534;stroke-width:3}.body-zone:focus{outline:none;stroke:#173e4d;stroke-width:3.5}.pain-map-summary p{font-size:14px}.pain-map-summary ul{padding-left:16px;font-size:13px;color:#8d3f4b;line-height:1.8}.pain-map-summary li strong{white-space:nowrap}.pain-map-summary>.secondary{margin:15px 0 8px}.body-map-dialog{width:min(700px,calc(100% - 28px));max-height:90vh;overflow:auto}.pain-view-switch{display:flex;gap:8px;margin:18px 0}.pain-view-switch button{background:white;border:1px solid #dae5e9;padding:9px 18px;border-radius:7px;font-size:14px;color:#4d747e}.pain-view-switch button[aria-pressed=true]{background:#e7f2f5;border-color:#53919e;color:#176b78}.pain-editor-layout{display:grid;grid-template-columns:180px 1fr;gap:28px}.pain-body{text-align:center}.pain-settings h3{font-size:15px}.pain-settings p,.pain-help{font-size:14px}.pain-intensity{display:flex;flex-wrap:wrap;gap:6px;margin:14px 0}.pain-intensity button{min-width:38px;height:40px;border:1px solid #e4cbd0;border-radius:7px;background:white;color:#934551}.pain-intensity button.chosen{background:#bf4052;color:white;border-color:#bf4052;font-weight:700}.pain-scale-labels{display:flex;justify-content:space-between;gap:15px}.pain-current{font-weight:700;color:#af3446!important;font-size:20px!important;margin:15px 0}.pain-selected-list{border-top:1px solid #e1e9ec;margin-top:25px;padding-top:20px}.pain-selected-list button{display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left;border:0;border-bottom:1px solid #e9eff1;background:white;padding:12px 0;width:100%;font-size:13px;color:#5f7981}.pain-selected-list strong{color:#b74455;white-space:nowrap}@media(max-width:760px){.pain-map-preview{flex-direction:column;align-items:stretch}.body-views{justify-content:center}.body-views>div{width:100px}.pain-editor-layout{grid-template-columns:minmax(105px,135px) minmax(0,1fr);gap:15px}.body-map-dialog{padding:20px}.pain-intensity button{min-width:34px;height:38px}.pain-scale-labels{flex-direction:column;gap:4px}}@media(max-width:380px){.pain-editor-layout{grid-template-columns:1fr}.pain-body{width:130px;margin:auto}}
.settings-grid{margin-top:20px}.message-preview{white-space:pre-wrap;background:#eef8f3;border-radius:12px;padding:16px;line-height:1.6}.panel-body dl{display:grid;grid-template-columns:90px 1fr;gap:12px}.panel-body dd{margin:0;overflow-wrap:anywhere}.panel-body dt{color:#64746f}fieldset{border:1px solid #dce7e2;border-radius:12px;margin:14px 0;padding:12px}legend{font-weight:600;padding:0 6px}
body.demo-gallery{display:block;background:#f5f8f7}.demo-gallery main{max-width:1200px;margin:auto;padding:32px 24px}.demo-gallery .grid{margin:24px 0}.demo-link{display:inline-block;text-decoration:none}.demo-gallery .exercise-card{display:flex;flex-direction:column;align-items:flex-start}.demo-gallery .exercise-card p{flex:1}aside>a.text-button{font-size:14px;margin:12px 20px;display:block;line-height:1.5}
