.therapy-workspace{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:15px;color:#23343b;line-height:1.5;max-width:1400px;margin:auto}
.therapy-workspace *{box-sizing:border-box}
.therapy-workspace h1,.therapy-workspace h2,.therapy-workspace p{margin:0}
.therapy-workspace h1{font-family:Youth,system-ui,sans-serif;font-size:26px;color:#003750;line-height:1.25}
.therapy-workspace h2{font-size:18px;color:#003750}
.therapy-workspace button,.therapy-workspace input,.therapy-workspace select,.therapy-workspace textarea{font:inherit}
.therapy-workspace button{cursor:pointer}
.therapy-workspace button:focus-visible,.therapy-workspace input:focus-visible,.therapy-workspace select:focus-visible,.therapy-workspace textarea:focus-visible{outline:3px solid #6c9daf;outline-offset:3px}
.therapy-workspace button:disabled{opacity:.55;cursor:wait}
.therapy-header,.therapy-form-title,.therapy-toolbar,.therapy-summary{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}
.therapy-header{margin-bottom:24px}
.therapy-muted{color:#657079;font-size:13px}
.therapy-header p{margin-top:6px;max-width:700px}
.therapy-button{min-height:44px;padding:10px 16px;border:1px solid #ccd5d7;border-radius:9px;background:#fff;color:#003750;font-weight:600!important;white-space:normal}
.therapy-primary{background:#003750;color:#fff;border-color:#003750}
.therapy-link{padding:6px 0;border:0;background:none;color:#003750;text-decoration:underline;text-underline-offset:3px;min-height:40px}
.therapy-tabs{display:flex;gap:4px;flex-wrap:wrap;border-bottom:1px solid #d9dedd;margin-bottom:18px}
.therapy-tabs button{border:0;border-bottom:3px solid transparent;background:none;color:#56656c;min-height:48px;padding:10px 14px;font-weight:600}
.therapy-tabs button[aria-pressed=true]{color:#003750;border-color:#003750}
.therapy-tabs .therapy-count{margin-left:8px;font-size:12px;background:#eaf1f4;padding:2px 6px;border-radius:5px}
.therapy-tabs .therapy-count-due{background:#faeee5;color:#903d20}
.therapy-toolbar{align-items:flex-end;margin-bottom:16px;gap:12px}
.therapy-filters{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;flex:1}
.therapy-field{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:600;min-width:0}
.therapy-field input,.therapy-field select,.therapy-field textarea{width:100%;min-height:44px;border:1px solid #cbd3d5;border-radius:8px;background:#fff;color:#23343b;padding:10px 12px;font-size:15px;font-weight:400}
.therapy-field textarea{min-height:114px;resize:vertical;line-height:1.55}
.therapy-search{flex:1;min-width:190px}
.therapy-notice{border:1px solid #c9dce3;background:#edf5f7;border-radius:9px;padding:12px 16px;margin:12px 0;overflow-wrap:anywhere}
.therapy-error{border-color:#efc6b7;background:#fff1ec;color:#842f22}
.therapy-success{border-color:#cddcad;background:#f4f8e9;color:#415823}
.therapy-list{border:1px solid #dce1df;border-radius:12px;overflow:hidden;background:#fff}
.therapy-columns,.therapy-row{display:grid;grid-template-columns:minmax(150px,1.2fr) minmax(130px,.9fr) minmax(210px,1.6fr) minmax(90px,.65fr);gap:16px;padding:16px 20px;text-align:left;align-items:start}
.therapy-columns{font-size:12px;color:#657079;background:#f8f8f4;font-weight:600}
.therapy-row{width:100%;border:0;border-top:1px solid #e6e9e7;background:#fff;color:inherit;border-left:4px solid transparent;padding-left:16px}
.therapy-row:hover{background:#f5f9fa}
.therapy-row[data-urgency=overdue]{border-left-color:#aa4626}
.therapy-row[data-urgency=today]{border-left-color:#8c990d}
.therapy-row strong{font-size:15px;font-weight:650;display:block;overflow-wrap:anywhere}
.therapy-next,.therapy-workspace h1{overflow-wrap:anywhere}
.therapy-row small{display:block;font-size:12px;color:#657079;margin-top:4px;overflow-wrap:anywhere}
.therapy-status{display:inline-block;padding:4px 8px;border-radius:6px;background:#eff3f4;font-size:12px;font-weight:600}
.therapy-due{font-weight:600;color:#53646c;font-size:13px;margin-bottom:3px;display:block}
.therapy-row[data-urgency=overdue] .therapy-due{color:#9b3f22}
.therapy-empty{padding:44px 24px;text-align:center;color:#53646c}
.therapy-empty p{margin:6px auto 16px;max-width:460px}
.therapy-form-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(260px,1fr);gap:24px;align-items:start;margin-top:16px}
.therapy-form{background:#fff;border:1px solid #dce1df;border-radius:12px;padding:24px}
.therapy-form fieldset{margin:0 0 24px;padding:0;border:0;min-width:0}
.therapy-form legend{font-weight:700;color:#003750;font-size:17px;margin-bottom:14px}
.therapy-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.therapy-wide{grid-column:1/-1}
.therapy-form-help{font-size:13px;color:#657079;margin:0 0 16px!important}
.therapy-savebar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding-top:20px;border-top:1px solid #e3e6e4}
.therapy-history{font-size:13px;overflow-wrap:anywhere}
.therapy-history h2{margin-bottom:16px}
.therapy-history ol{list-style:none;padding:0;margin:0}
.therapy-history li{border-left:2px solid #cbdadd;padding:0 0 22px 16px}
.therapy-history strong{display:block;font-size:13px}
.therapy-history p{white-space:pre-wrap;margin-top:6px}
.therapy-summary{background:#fff;border:1px solid #dce1df;border-left:4px solid #C3E600;border-radius:10px;padding:16px 18px;margin:0 0 20px}
.therapy-summary strong{display:block;font-size:15px;color:#003750}
.therapy-sync{font-size:12px;color:#657079;margin-top:12px!important}
@media(max-width:1150px){.therapy-columns,.therapy-row{grid-template-columns:1fr 1fr}.therapy-columns{display:none}.therapy-row{row-gap:10px}.therapy-form-layout{grid-template-columns:1fr}.therapy-history{max-width:800px}}
@media(max-width:600px){.therapy-header{align-items:flex-start}.therapy-header h1{font-size:23px}.therapy-header>.therapy-button{width:100%}.therapy-toolbar,.therapy-filters{align-items:stretch}.therapy-filters>.therapy-field{flex:1;min-width:130px}.therapy-fields{grid-template-columns:1fr}.therapy-form{padding:18px 16px}.therapy-row{padding:14px 12px;grid-template-columns:minmax(0,1fr) auto;gap:12px}.therapy-row .therapy-next{grid-column:1/-1;grid-row:2}.therapy-row .therapy-owner{grid-column:1/-1}.therapy-tabs{gap:0}.therapy-tabs button{padding:10px 9px;font-size:13px}.therapy-workspace .therapy-notice{font-size:13px}.therapy-savebar>.therapy-button{width:100%}}
