.content-shell{min-width:0}
.therapist-mode{display:grid;grid-template-columns:188px minmax(0,1fr)}
.therapist-sidebar{background:#173944;color:#f3fbf8;min-height:100vh;padding:26px 14px 18px;display:flex;flex-direction:column;position:sticky;top:0;align-self:start}
.therapist-sidebar[hidden]{display:none}
.sidebar-brand{font-weight:700;font-size:1.16rem;padding:0 12px 25px;line-height:1.15}
.sidebar-brand small{display:block;color:#91b9ba;font-size:.68rem;letter-spacing:.1em;margin-top:7px;font-weight:500}
.therapist-sidebar nav{display:grid;gap:5px}
.therapist-sidebar nav button{border:0;border-radius:8px;background:transparent;color:#c3d9d8;text-align:left;padding:11px 12px;font-size:.91rem}
.therapist-sidebar nav button[aria-current="page"]{background:#275c61;color:#fff;font-weight:700}
.sidebar-foot{font-size:.76rem;color:#a1c1bf;margin-top:auto;padding:16px 12px 0}
.therapist-mode .topbar{background:#f8fbfb;color:#1d4450;border-bottom:1px solid #dbe7e7;min-height:66px;justify-content:flex-end;padding:9px 25px}
.therapist-mode .topbar-primary{display:none}
.therapist-mode .demo-label{color:#70858b}
.therapist-mode .role-picker{color:#52727c}
.therapist-mode .role-picker select{background:#fff;color:#1c3d47;border-color:#c9d9dc}
.therapist-mode .navline{display:none}
.therapist-mode main{max-width:none;padding:24px 24px 42px}
.therapist-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:16px}
.therapist-head h1{font-size:1.55rem;margin:2px 0 0;line-height:1.3}
.therapist-identity{display:flex;align-items:center;gap:9px;font-weight:650;font-size:.9rem}
.therapist-identity>span{width:34px;height:34px;border-radius:50%;background:#d9eee8;color:#226b63;display:grid;place-items:center}
.therapist-identity small{display:block;color:#73858a;font-size:.75rem;font-weight:400}
.today-strip{background:#e4f3ef;border:1px solid #c5e2d9;border-radius:10px;padding:13px 18px;display:flex;gap:13px 24px;align-items:center;flex-wrap:wrap;color:#295853;margin-bottom:19px;font-size:.88rem}
.today-strip strong{font-weight:650}
.today-strip b{font-weight:700;color:#0d7366}
.therapist-week-head{margin-bottom:6px}
.therapist-mode .week-grid{grid-template-columns:repeat(7,minmax(0,1fr))}
.therapist-mode .day-col{min-height:276px}
.therapist-mode .session-card.therapist-session{border:1px solid #dce9e7;border-left:3px solid #197e71;background:#fff;padding:8px 7px}
.therapist-mode .session-card.therapist-session.trial{background:#f2effb;border-left-color:#7969b5}
.therapist-mode .session-card.therapist-session.recovery{background:#fff7e9;border-left-color:#b27c2d}
.therapist-session .session-time{font-size:.74rem;color:#47736d;margin:0 0 4px}
.therapist-session strong{font-size:.85rem;line-height:1.35}
.therapist-session .session-progress{display:flex;align-items:center;gap:4px;flex-wrap:wrap;margin-top:5px}
.therapist-session .session-progress b{font-size:.76rem;color:#176b61}
.therapist-session .session-progress em{font-style:normal;font-size:.68rem;background:#e6f0ed;color:#377469;border-radius:4px;padding:1px 4px}
.therapist-session .session-progress .trial-tag{background:#e5ddf5;color:#594590}
.therapist-session small{font-size:.7rem;color:#617b80}
.therapist-mode .month-cell .therapist-session .session-progress{display:none}
.calendar-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.table-wrap{background:#fff;border:1px solid #dce6e8;border-radius:11px;overflow-x:auto}
.table-wrap table{width:100%;border-collapse:collapse;font-size:.9rem;min-width:650px}
.table-wrap th,.table-wrap td{text-align:left;border-bottom:1px solid #e6eded;padding:12px 14px;white-space:nowrap}
.table-wrap th{background:#edf3f3;color:#5d747d;font-weight:600}
.table-wrap tbody tr:last-child td{border-bottom:0}
.table-link{border:0;background:transparent;color:#126e63;font-weight:650;padding:2px 0;text-decoration:underline;text-underline-offset:3px;text-align:left}
.table-link.amount{font-variant-numeric:tabular-nums}
.section-head h2 span{font-size:.86rem;color:#688087;font-weight:500}
.member-search{width:min(280px,100%);border:1px solid #cddcdf;background:#fff;color:#1c3943;border-radius:8px;padding:9px 11px;font-size:.88rem}
.stats-panel{background:#fff;border:1px solid #dce6e8;border-radius:12px;padding:18px;margin-bottom:20px}
.stats-panel h2{font-size:1.04rem;margin:0 0 12px}
.stats-bars{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:14px;height:160px;align-items:end}
.stats-bars>div{height:100%;display:flex;flex-direction:column;justify-content:end;align-items:center;gap:4px}
.stats-bars strong,.stats-bars small{font-size:.77rem;font-weight:500}
.stats-bars small{color:#66818a}
.stats-track{height:104px;width:min(100%,54px);display:flex;align-items:end;background:#edf2f2;border-radius:6px 6px 0 0;overflow:hidden}
.stats-track i{display:block;width:100%;background:#188678;border-radius:6px 6px 0 0}
.payroll-rules{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 0 20px}
.payroll-rules>div{background:#fff;border:1px solid #dce6e8;border-radius:11px;padding:13px;min-width:0}
.payroll-rules strong{display:block;font-size:.87rem;margin-bottom:4px}
.payroll-rules span{display:block;color:#5e747d;font-size:.77rem;line-height:1.5}
.payroll-breakdown>div{display:flex;justify-content:space-between;gap:14px;border-bottom:1px solid #e4eded;padding:10px 0;font-size:.88rem}
.payroll-breakdown>div:first-child{padding-top:0}
.payroll-breakdown>div:last-child{border-bottom:0}
.payroll-breakdown strong{font-variant-numeric:tabular-nums;white-space:nowrap}
.payroll-breakdown .total{color:#0d6e64;font-weight:700;font-size:1rem}
.impact-preview{display:grid;gap:5px;background:#e8f4ef;padding:12px;border-radius:8px;font-size:.86rem;color:#245e53;margin-bottom:15px}
.detail-panel h3{font-size:.91rem;margin:0 0 8px}
.mini-list{font-size:.83rem;color:#526d76;display:grid;gap:4px}
.session-wrap{position:relative;margin:0 0 6px;min-width:0}
.session-wrap .session-card{width:100%;margin:0;padding-right:34px}
.session-copy{position:absolute;right:5px;top:5px;border:1px solid #cfdfdc;background:#fff;color:#25665c;border-radius:5px;font-size:.68rem;padding:2px 3px;cursor:pointer;z-index:1}
.session-copy:hover,.session-copy:focus-visible{background:#e8f4ef;border-color:#81bbb0}
.session-card[draggable="true"]{cursor:grab}
.session-card.dragging{opacity:.45;cursor:grabbing}
.day-col.drop-target,.month-cell.drop-target{background:#e2f4ef;outline:2px dashed #218f7b;outline-offset:-3px}
.drag-hint{font-size:.78rem;color:#64817d}
.member-status-editor{display:flex;align-items:center;gap:8px;flex-wrap:wrap;background:#f1f7f5;border-radius:8px;padding:12px;margin:12px 0 20px;font-size:.85rem}
.member-status-editor select{border:1px solid #cbded8;border-radius:6px;background:#fff;color:#234b47;padding:8px}
.member-status-editor .button-primary{padding:8px 12px}
@media(max-width:1200px){.therapist-mode .session-card.therapist-session{padding:7px 5px}.therapist-mode .session-card.therapist-session strong{font-size:.78rem}.therapist-mode .session-progress em{font-size:.65rem}}
@media(max-width:950px){.therapist-mode{grid-template-columns:160px minmax(0,1fr)}.therapist-mode .week-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.payroll-rules{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:710px){.therapist-mode{display:block}.therapist-sidebar{position:static;min-height:0;padding:10px 14px}.sidebar-brand{padding:3px 2px 9px}.sidebar-brand small,.sidebar-foot{display:none}.therapist-sidebar nav{display:flex;overflow-x:auto;gap:2px}.therapist-sidebar nav button{white-space:nowrap;font-size:.82rem;padding:8px 10px}.therapist-mode .topbar{padding:8px 15px;min-height:0}.therapist-mode main{padding:16px 14px 38px}.therapist-mode .week-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.therapist-identity{display:none}}
@media(max-width:510px){.therapist-mode .week-grid{display:block}.therapist-mode .day-col{min-height:0}.payroll-rules{grid-template-columns:1fr}.stats-bars{gap:5px}.stats-bars small{font-size:.69rem}}
