/* Calm profile. Scoped controls keep the rest of the app unchanged. */
.therapy-root .welcome-profile{display:inline-flex;align-items:center;gap:12px;border:0;background:none;color:inherit;padding:0;font:inherit;letter-spacing:inherit;line-height:inherit;text-align:left;max-width:100%}
.therapy-root .welcome-profile>span{overflow-wrap:anywhere}
.therapy-root .welcome-profile::after{content:'↗';font-size:17px;color:var(--muted);opacity:.5;transition:opacity .18s,transform .18s}
.therapy-root .welcome-profile:hover::after{opacity:1;transform:translate(2px,-2px)}
.therapy-root .sidebar-person{width:100%;color:var(--paper);background:transparent;border:0;border-top:1px solid var(--stroke);text-align:left;cursor:pointer}
.therapy-root .person-copy{min-width:0;flex:1}.therapy-root .person-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.therapy-root .person-avatar{flex:none;overflow:hidden}.therapy-root [data-profile-avatar] img{width:100%;height:100%;object-fit:cover;display:block}
.therapy-root .person-chevron{color:var(--muted);font-size:18px}.therapy-root .sidebar-person:hover .person-chevron{color:var(--paper)}
.therapy-root .menu-account{width:100%;padding:14px 12px;margin-top:18px;display:flex;align-items:center;gap:12px;text-align:left;background:var(--surface-raised);border:1px solid var(--stroke);color:var(--paper)}
.therapy-root .menu-account .person-avatar{width:38px;height:38px;display:grid;place-items:center;border-radius:12px;background:var(--surface)}
.therapy-root .menu-account strong,.therapy-root .menu-account small{display:block;font-size:13px}.therapy-root .menu-account small{font-size:10px;color:var(--muted);margin-top:4px}
.therapy-root .profile-screen{padding:30px 0 36px;color:var(--paper);animation:profile-enter .25s ease-out}
.therapy-root .pf-page-heading{display:flex;justify-content:space-between;align-items:flex-start;margin:0 0 24px;gap:16px}
.therapy-root .pf-page-heading h1{font-size:30px;font-weight:500;line-height:1.15;letter-spacing:-1px;display:inline-block;background:var(--paper);color:var(--ink);padding:4px 9px 6px;border-radius:12px;margin:0}
.therapy-root .pf-page-heading p{font-size:12px;color:var(--muted);margin:12px 0 0;line-height:1.5}
.therapy-root .pf-home{width:44px;height:44px;border:1px solid var(--stroke);background:transparent;color:var(--paper);font-size:20px}
.therapy-root .pf-shell{display:grid;grid-template-columns:190px minmax(0,1fr);border:1px solid var(--outline);border-radius:24px;overflow:hidden;background:var(--surface)}
.therapy-root .pf-nav{display:flex;flex-direction:column;gap:6px;padding:16px 10px;background:var(--surface-raised);border-right:1px solid var(--stroke)}
.therapy-root .pf-nav button{display:grid;grid-template-columns:20px minmax(0,1fr) 8px;gap:9px;align-items:center;text-align:left;min-height:52px;padding:12px 9px;background:transparent;border:0;color:var(--muted);font-size:11px;line-height:1.5}
.therapy-root .pf-nav svg{width:20px;height:20px}.therapy-root .pf-nav b{opacity:0;font-size:17px;font-weight:400}
.therapy-root .pf-nav button:hover{color:var(--paper)}.therapy-root .pf-nav button[aria-current=page]{background:var(--paper);color:var(--ink)}.therapy-root .pf-nav button[aria-current=page] b{opacity:1}
.therapy-root .pf-panel{min-width:0;padding:26px 24px 20px}.therapy-root .pf-panel>header{padding-bottom:22px;border-bottom:1px solid var(--stroke);margin-bottom:22px}
.therapy-root .pf-panel h2{font-size:23px;line-height:1.25;font-weight:600;margin:0 0 8px;letter-spacing:-.7px;overflow-wrap:anywhere}
.therapy-root .pf-panel p{font-size:12px;line-height:1.65;color:var(--muted);margin:6px 0 0}
.therapy-root .pf-panel h3{font-size:14px;line-height:1.5;font-weight:500;margin:0}
.therapy-root .pf-fields{display:grid;gap:22px}.therapy-root .pf-field{display:grid;gap:9px;font-size:12px;line-height:1.5;min-width:0}
.therapy-root .pf-field>span{font-weight:500}.therapy-root .pf-field small{margin-top:-4px}
.therapy-root .pf-panel small{font-size:10px;line-height:1.6;color:var(--muted)}
.therapy-root .pf-field input,.therapy-root .pf-field select,.therapy-root .pf-mobile-nav select{width:100%;min-width:0;box-sizing:border-box;border:1px solid var(--outline);border-radius:12px;background:var(--surface);color:var(--paper);padding:14px 13px;min-height:50px;font:inherit;font-size:14px;outline-offset:4px;color-scheme:dark}
.therapy-root[data-theme=light] .pf-field select,.therapy-root[data-theme=light] .pf-mobile-nav select{color-scheme:light}
.therapy-root .pf-field input:disabled{color:var(--muted);border-color:var(--stroke);font-size:11px;opacity:1}
.therapy-root .pf-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.therapy-root .pf-photo-row{display:flex;align-items:center;gap:18px;margin-bottom:26px}.therapy-root .pf-photo{display:grid;place-items:center;width:80px;height:80px;flex:none;overflow:hidden;border-radius:20px;background:var(--paper);color:var(--ink);font-size:30px}
.therapy-root .pf-photo img{display:block;width:100%;height:100%;object-fit:cover}
.therapy-root .pf-photo-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:6px}
.therapy-root .pf-button{display:inline-flex;align-items:center;justify-content:center;gap:16px;padding:11px 15px;min-height:44px;border:1px solid var(--outline);background:transparent;color:var(--paper);font-size:11px;line-height:1.5;text-align:center;transition:background .18s,border-color .18s;white-space:normal}
.therapy-root .pf-button:hover:not(:disabled){background:var(--surface-raised)}.therapy-root .pf-button:disabled{color:var(--muted);border-color:var(--stroke);cursor:default;opacity:.65}
.therapy-root .pf-button[hidden]{display:none}.therapy-root .pf-photo-actions [data-pf=remove]{border:0;padding-inline:6px;color:var(--muted)}
.therapy-root .pf-row{display:flex;justify-content:space-between;align-items:center;gap:22px;padding:24px 0;border-bottom:1px solid var(--stroke)}
.therapy-root .pf-row>div{flex:1;min-width:0}.therapy-root .pf-row>.pf-button{flex:none;max-width:145px}
.therapy-root .pf-panel>header+.pf-row{padding-top:0}.therapy-root .pf-row:last-of-type{border-bottom:0}
.therapy-root .pf-info{align-items:flex-start}.therapy-root .pf-info svg{width:26px;height:26px;flex:none;margin-top:1px}
.therapy-root .pf-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:20px;margin-top:20px;border-top:1px solid var(--stroke)}
.therapy-root .pf-save-state{font-size:10px;color:var(--muted);line-height:1.6}.therapy-root .pf-save-state.pf-error{color:#efaaaa}
.therapy-root .pf-primary{background:var(--paper);color:var(--ink);border-color:var(--paper);flex:none;font-size:12px}.therapy-root .pf-primary:hover:not(:disabled){background:var(--paper);opacity:.9}
.therapy-root .pf-mobile-nav{display:none}.therapy-root .pf-tag{display:inline-block;border:1px solid var(--stroke);border-radius:20px;font-size:10px;padding:7px 10px;color:var(--muted);margin-top:12px}
.therapy-root .pf-switch{width:44px;height:27px;min-width:44px;background:transparent;border:1px solid var(--outline);border-radius:20px!important;padding:3px;opacity:.5}.therapy-root .pf-switch span{display:block;width:19px;height:19px;border-radius:50%;background:var(--paper)}
.therapy-root .pf-confirm{padding:18px;border:1px solid #b86a6a;border-radius:14px;margin:16px 0;background:var(--surface-raised)}.therapy-root .pf-confirm>div{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}.therapy-root [data-pf=confirm]{background:#872f37;color:#fff;border-color:#bd7379}
.therapy-root .profile-screen :is(button,input,select):focus-visible,.therapy-root :is(.welcome-profile,.sidebar-person,.menu-account):focus-visible{outline:2px solid var(--paper);outline-offset:4px}
@keyframes profile-enter{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:700px){
 .therapy-root .profile-screen{padding-top:16px;padding-bottom:100px}.therapy-root .pf-page-heading{margin-bottom:18px}.therapy-root .pf-page-heading h1{font-size:28px}
 .therapy-root .pf-shell{display:block;border-radius:20px}.therapy-root .pf-nav{display:none}.therapy-root .pf-mobile-nav{display:block;padding:12px;background:var(--surface-raised);border-bottom:1px solid var(--stroke)}
 .therapy-root .pf-mobile-nav select{background:var(--paper);color:var(--ink);font-size:14px;border:0;color-scheme:light}
 .therapy-root .pf-panel{padding:22px 18px}.therapy-root .pf-panel h2{font-size:21px}.therapy-root .pf-field input,.therapy-root .pf-field select{font-size:16px}
 .therapy-root .pf-row{gap:16px;align-items:flex-start;flex-wrap:wrap}.therapy-root .pf-row>div{flex-basis:100%}.therapy-root .pf-row>.pf-button{max-width:none}
 .therapy-root .pf-info{flex-wrap:nowrap}.therapy-root .pf-info>div{flex-basis:auto}.therapy-root .pf-footer{align-items:flex-start;flex-direction:column-reverse;gap:10px}.therapy-root .pf-primary{width:100%}
 .therapy-root .pf-two{grid-template-columns:1fr}.therapy-root .pf-photo-row{gap:14px}.therapy-root .pf-photo{width:68px;height:68px}.therapy-root .pf-photo-actions{gap:3px}
}
@media(prefers-reduced-motion:reduce){.therapy-root .profile-screen{animation:none}.therapy-root .welcome-profile::after{transition:none}}
.therapy-root[data-reduced=true] .profile-screen{animation:none}
