.physio-record-workspace{color:var(--ink,#292320)}.physio-status{color:#28665d;font-size:.9rem}.physio-actions{display:flex;flex-wrap:wrap;gap:12px;margin:20px 0}.physio-feedback{min-height:1.7em;color:#28665d}.physio-record-form fieldset{border:1px solid #e4dcd2;border-radius:18px;padding:22px;min-width:0}.physio-record-form legend{padding:0 8px;font-weight:700}.physio-identity{display:grid;grid-template-columns:1fr 1fr;gap:16px}.physio-record-form .field{min-width:0}.physio-record-form details{border-top:1px solid #e4dcd2;padding:14px 0}.physio-record-form summary{cursor:pointer;font-weight:600}.physio-record-form textarea{width:100%;margin-top:12px}.physio-check{display:flex;align-items:flex-start;gap:12px;margin:16px 0;font-size:.9rem}.physio-check input{flex:0 0 auto;margin-top:6px}.physio-saved-row{display:flex;flex-direction:column;gap:6px;width:100%;text-align:left;padding:18px;border:1px solid #e4dcd2;background:#faf8f5;border-radius:14px;margin:12px 0;overflow-wrap:anywhere}.physio-saved-row span{font-size:.9rem;color:#746d65}@media(max-width:600px){.physio-identity{grid-template-columns:1fr}.physio-actions .button{width:100%}.physio-record-form fieldset{padding:14px}}
.physio-record-form .field{margin:0}.physio-identity{margin:8px 0 20px}.physio-record-form select{width:100%;min-height:44px;border:1px solid #ddd5cc;border-radius:7px;padding:10px 12px;background:#fff;color:inherit;font:inherit}.physio-feedback:empty{display:none}#panel:has(.physio-record-workspace){max-width:900px}.account-profession .profession-catalogue{grid-template-columns:repeat(2,minmax(0,1fr))}@media(max-width:480px){.account-profession .profession-catalogue{grid-template-columns:1fr}}
.physio-recording{margin:24px 0;padding:22px;border:1px solid #b7d5cd;border-radius:18px;background:#f1f7f5}.physio-recording h3{margin-top:0}.physio-recording select{font:inherit;padding:12px;border:1px solid #ded7ce;border-radius:10px;background:#fff;max-width:100%}.physio-recording .physio-actions .button{min-width:145px}.physio-clip{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:14px 0;border-top:1px solid #d7e3df}.physio-clip p{flex-basis:100%;margin:0}.physio-recording [data-physio-live]{white-space:pre-wrap;overflow-wrap:anywhere}.physio-recording [data-physio-allowance]{font-size:.9rem;color:#28665d}
.physio-documents{border:1px solid #ded7ce;border-radius:18px;padding:24px;background:#fffdfa}.physio-doc-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.physio-doc-heading h3{margin:8px 0;font-family:var(--font-heading,Georgia,serif);font-size:1.65rem}.physio-documents select{width:100%;font:inherit;padding:12px;border:1px solid #ded7ce;border-radius:10px;background:white}.physio-documents p{overflow-wrap:anywhere}.physio-documents [data-doc-status]{color:#28665d;min-height:1.5em}.physio-doc-notice{padding:16px;border-left:3px solid #a27b41;background:#f5eee4;border-radius:0 12px 12px 0}.physio-doc-badge{color:#28665d;font-weight:600}.physio-doc-form details{padding:15px 0;border-top:1px solid #e4dcd2}.physio-doc-form summary,.physio-source-review summary{cursor:pointer;font-weight:600}.physio-doc-form textarea{width:100%;margin-top:14px;min-height:100px}.physio-source-review{margin-top:24px;border-top:1px solid #e4dcd2;padding-top:20px}.physio-source-review p{white-space:pre-wrap}.physio-documents .button{min-height:48px}.physio-documents textarea:disabled{opacity:1;color:#555;background:#f5f2ed}@media(max-width:600px){.physio-documents{padding:15px}.physio-doc-heading{display:block}.physio-doc-heading>.button{width:100%}.physio-doc-form .physio-actions{flex-direction:column}}
.physio-documents [data-doc-status]:empty{display:none}.physio-doc-form summary{font-size:1rem;line-height:1.5}.physio-documents .physio-actions{margin:16px 0}
.physio-patient-picker,.physio-recipients,.physio-export-controls{margin:1rem 0;padding:1rem;border:1px solid var(--line,#e5ded5);border-radius:16px;background:#faf8f5}
.physio-paper{background:white;color:#222;padding:1.5rem;margin:1rem 0;border:1px solid #ded8d0;line-height:1.6;overflow-wrap:anywhere}
.physio-paper h2,.physio-paper h3{color:#222;margin:1.2rem 0 .5rem}
.physio-paper p{white-space:normal;margin:.5rem 0 1rem}
.physio-paper-meta{font-size:.85rem;color:#555}
.physio-identity input[readonly]{background:#f2f5f3}

/* Only the signed-in profession view changes; the existing homepage is intact. */
.physio-page-active #workspace>main,.physio-page-active #workspace>footer{display:none}
.physio-page-active #workspace{min-height:0}
#physioWorkspace{max-width:1200px;min-height:75vh;margin:auto;padding:32px 28px 60px}
#physioWorkspace .physio-record-workspace>p{color:var(--muted);line-height:1.65}
#physioWorkspace .physio-actions{margin:16px 0}
#physioWorkspace .physio-feedback:empty{display:none}
#physioWorkspace .physio-identity{grid-template-columns:repeat(4,minmax(0,1fr))}
#physioWorkspace .physio-workflow .workflow-steps button[aria-current]{color:#28665d;font-weight:600}
#physioWorkspace .physio-documents{background:white}
#physioWorkspace .physio-save-footer{justify-content:flex-end}
.physio-page-active .skip-link:focus{z-index:100}
@media(max-width:800px){#physioWorkspace .physio-identity{grid-template-columns:1fr 1fr}}
@media(max-width:560px){#physioWorkspace{padding:24px 16px 40px}#physioWorkspace .physio-identity{grid-template-columns:1fr}#physioWorkspace h1{font-size:38px}}

/* Capture-first layout follows the Audiology workspace, scoped to the pilot. */
#panel:has(.physio-record-workspace){max-width:1120px}
.physio-record-form{--service-color:#28665d;--service-line:#afd0c7;--service-tint:#e5f2ee}
.physio-record-form>fieldset{margin-inline:0}
.physio-document-tabs{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.physio-document-tabs button{font-size:13px;min-height:48px}
.physio-document-tabs [aria-pressed=true]{background:#faf0ec;border-color:#d5a59b;color:#992d23}
@media(max-width:560px){.physio-document-tabs{grid-template-columns:1fr 1fr}}
.physio-record-form>fieldset:first-child{border:0;padding:0}
.physio-identity{grid-template-columns:repeat(4,minmax(0,1fr));align-items:end;gap:16px}
.physio-identity>.field:last-child{grid-column:1 / 3}
.physio-workflow{margin:16px 0 24px;gap:16px}
.physio-workflow .workflow-steps{display:flex;gap:24px;flex-wrap:wrap}
.physio-workflow .workflow-steps>span{display:inline-flex;align-items:center;gap:8px;font-size:13px;color:var(--muted)}
.physio-workflow .workflow-steps>span[aria-current]{color:#28665d;font-weight:600}
.physio-workflow .workflow-steps>span>span{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#e5f2ee;font-size:12px}
.physio-record-form .physio-capture{border-radius:18px 18px 0 0;border-bottom:0;margin-top:20px;background:#fffefa;padding:24px 24px 0}
.physio-capture .notes-intro h2{font:600 28px/1.2 var(--serif)}
.physio-capture .notes-workspace{border:1px solid #afd0c7;border-radius:12px;overflow:hidden;background:white}
.physio-capture .notes textarea{margin:0;border:0;min-height:150px;background:transparent}
.physio-capture [data-physio-transcripts]>details{padding:14px 18px;margin:0;border-color:#afd0c7}
.physio-capture [data-physio-live]{padding:14px 18px;white-space:pre-wrap;overflow-wrap:anywhere;background:#e5f2ee}
.physio-record-form .physio-recording{margin:0 0 20px;padding:12px 24px 22px;border:1px solid #e4dcd2;border-top:0;border-radius:0 0 18px 18px;background:#fffefa}
.physio-recording .capture-actions{display:flex;gap:12px;align-items:center;margin:8px 0 12px;padding:12px;border:1px solid #afd0c7;border-radius:12px;background:#fffefa;box-shadow:0 3px 14px #2925210d}
.physio-recording .capture-actions>.field{width:180px;flex:0 0 180px}
.physio-recording .capture-actions select{height:58px;margin:0;font-size:14px}
.physio-recording .capture-actions .record-button{width:224px;flex:0 0 224px;height:58px;min-height:58px;background:#e5f2ee;color:#28665d;border:1px solid #afd0c7;padding:12px 16px;box-shadow:none;font-size:14px;white-space:nowrap}
.physio-recording .record-button svg{width:25px;height:25px;flex-shrink:0}
.physio-recording [data-physio-documents]{margin-left:auto;min-height:58px}
.physio-recording [data-physio-audio-status]{margin:8px 0;font-size:13px;color:#28665d}
.physio-recording [data-physio-allowance]{font-size:12px}
.physio-record-form .physio-extra-fields{border:0;padding:0}
.physio-additional>summary>span{display:block;font-size:12px;font-weight:400;color:var(--muted);margin-top:4px}
.physio-additional>details{margin:0 12px}
.physio-processing{background:#faf8f5;border-radius:12px;padding:12px 16px!important;border:1px solid #e4dcd2}
.physio-save-footer{display:flex;gap:12px;flex-wrap:wrap;border-top:1px solid #e4dcd2;padding-top:20px;margin-top:20px}
@media(max-width:800px){.physio-identity{grid-template-columns:repeat(2,minmax(0,1fr))}.physio-recording [data-physio-documents]{width:100%;margin:0}.physio-workflow{align-items:flex-start;flex-direction:column}.physio-workflow .save-status{align-items:flex-start}}
@media(max-width:560px){.physio-identity{grid-template-columns:1fr}.physio-identity>.field:last-child{grid-column:auto}.physio-record-form .physio-capture{padding:18px 14px 0}.physio-record-form .physio-recording{padding:12px 14px}.physio-recording .capture-actions>.field,.physio-recording .capture-actions .record-button{width:100%;flex:0 0 100%}.physio-recording .capture-actions select{font-size:16px}.physio-save-footer>.button{width:100%}.physio-workflow .workflow-steps{gap:12px}}
