/* Therapy: one calm shell, explicit paths for finding and continuing care. */
.therapy-root .th-space{color:var(--paper);font-family:inherit;max-width:1040px;margin:0 auto;--th-dim:#a7a79d;--th-line:var(--stroke);--th-panel:var(--surface)}
.therapy-root[data-theme=light] .th-space{--th-dim:#66685f}
.th-space *{box-sizing:border-box;min-width:0}.th-space [hidden]{display:none!important}
.th-space h1,.th-space h2,.th-space h3,.th-space p{margin:0}.th-space h1{font-size:clamp(30px,4vw,40px);line-height:1.2;letter-spacing:-1.8px}.th-space h2{font-size:clamp(23px,3vw,31px);line-height:1.25;letter-spacing:-1.1px}.th-space h3{font-size:16px;line-height:1.5;letter-spacing:-.3px}.th-space p{font-size:13px;line-height:1.85}.th-space small{font-size:11px;line-height:1.7}.th-space strong{font-weight:700}.th-space h2:focus,.th-space h3:focus{outline:none}
.th-space .th-header{display:flex;justify-content:space-between;align-items:center;gap:14px;margin:8px 0 26px}.th-eyebrow{display:block;font-size:9px;letter-spacing:1.5px;margin-bottom:12px;color:var(--th-dim);line-height:1.6}.th-demo{font-size:10px;border:1px solid var(--th-line);border-radius:20px;padding:7px 11px;color:var(--th-dim);white-space:nowrap}
.th-space .th-button{display:inline-flex;align-items:center;justify-content:center;gap:12px;border:1px solid var(--th-line);border-radius:14px;background:transparent;color:var(--paper);padding:12px 16px;min-height:46px;line-height:1.5;font-size:12px;font-family:inherit;font-weight:400;text-decoration:none;cursor:pointer;transition:background .15s,color .15s,border-color .15s;white-space:normal;text-align:center;transform:none}
.th-space .th-button:focus-visible,.th-space input:focus-visible,.th-space select:focus-visible,.th-space textarea:focus-visible,.th-space summary:focus-visible{outline:2px solid var(--paper);outline-offset:4px}
.th-space .th-button:disabled{opacity:.35;cursor:not-allowed}.th-space .th-primary{background:var(--paper);color:var(--ink);border-color:var(--paper);font-weight:700}.th-space .th-primary>span:last-child{margin-left:auto}.th-space .th-text{border:0;padding-left:0;padding-right:0;color:var(--th-dim);min-height:44px;font-size:11px;justify-content:flex-start}.th-space .th-icon{padding:8px;width:44px;flex:none;font-size:21px;border:0}.th-space .th-secondary[aria-pressed=true]{background:var(--paper);color:var(--ink);border-color:var(--paper)}
.th-space .th-tabs{display:grid;grid-template-columns:1fr 1fr;border:1px solid var(--th-line);background:var(--th-panel);padding:5px;border-radius:22px;margin-bottom:30px;gap:5px}.th-space .th-tab{border:0;background:transparent;min-height:50px;border-radius:17px;font-size:13px;color:var(--th-dim)}.th-space .th-tab[aria-pressed=true]{background:var(--paper);color:var(--ink)}
.th-intro{margin:0 0 28px}.th-intro>p{margin-top:12px;color:var(--th-dim);max-width:62ch}.th-search-row{display:flex;gap:10px;margin-bottom:18px}.th-search{display:flex;align-items:center;gap:12px;flex:1;background:var(--th-panel);border:1px solid var(--th-line);padding:0 16px;border-radius:14px}.th-search>span:not(.sr-only){font-size:23px;color:var(--th-dim)}.th-space input[type=search]{width:100%;background:transparent;border:0;color:var(--paper);height:50px;padding:0;border-radius:0;font-family:inherit;font-size:16px}.th-space input::placeholder,.th-space textarea::placeholder{color:var(--th-dim);opacity:.8}.th-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.th-field{display:grid;gap:8px;font-size:11px;color:var(--th-dim)}.th-space select{font:inherit;color:var(--paper);font-size:13px;border:1px solid var(--th-line);border-radius:12px;min-height:46px;padding:10px 28px 10px 12px;background-color:var(--th-panel);width:100%}.th-space select option{background:var(--th-panel);color:var(--paper)}.th-space .th-more{border:0;border-bottom:1px solid var(--th-line);padding:14px 0;margin:0 0 20px;background:transparent}.th-space summary{cursor:pointer;font-size:12px;line-height:1.7;padding:6px 0;min-height:38px}.th-more>.th-field{max-width:320px;margin:10px 0}.th-results-top{display:flex;justify-content:space-between;gap:12px;font-size:10px;color:var(--th-dim);line-height:1.6;margin:22px 0 12px}.th-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.th-profile-card,.th-panel,.th-detail{border:1px solid var(--th-line);border-radius:24px;background:var(--th-panel);padding:24px}.th-profile-card{display:flex;flex-direction:column}.th-person{display:flex;align-items:center;gap:14px}.th-person>div{flex:1}.th-person>div>span{display:block;color:var(--th-dim);font-size:11px;line-height:1.6;margin-top:3px}.th-avatar{display:grid;place-items:center;flex:none;width:52px;height:58px;border-radius:20px;background:var(--surface-raised);border:1px solid var(--th-line);font-size:18px;letter-spacing:-1px;color:var(--paper)}.th-person .th-icon{align-self:flex-start}.th-person h3{font-size:18px}.th-space .th-method{font-size:11px;color:var(--th-dim);margin:22px 0 8px}.th-space .th-lead{font-size:15px;line-height:1.65;min-height:50px;flex:1}.th-tags{display:flex;gap:6px;flex-wrap:wrap;margin:17px 0}.th-tags>span{padding:6px 9px;background:var(--surface-raised);border-radius:8px;color:var(--th-dim);font-size:10px;line-height:1.5}.th-meta,.th-price-line{display:flex;justify-content:space-between;gap:10px;font-size:11px;padding-top:14px;border-top:1px solid var(--th-line)}.th-availability{display:flex;align-items:center;gap:8px;margin:16px 0;font-size:11px;color:var(--th-dim);line-height:1.7}.th-dot{width:5px;height:5px;border-radius:50%;background:var(--paper);flex:none}.th-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.th-profile-card .th-actions{display:grid;grid-template-columns:.7fr 1.3fr}.th-space .th-disclaimer{font-size:10px;color:var(--th-dim);line-height:1.8;margin:20px 0}
.th-detail{margin-top:14px}.th-person-large .th-avatar{width:72px;height:80px;font-size:24px}.th-person-large p{margin-top:5px;color:var(--th-dim);font-size:12px}.th-person-large .th-eyebrow{margin-bottom:5px}.th-space .th-profile-statement{font-size:clamp(21px,3vw,29px);line-height:1.5;letter-spacing:-.8px;max-width:32ch;margin:30px 0}.th-detail-grid{display:grid;grid-template-columns:1.3fr 1fr;gap:32px}.th-detail-grid section{margin-bottom:26px}.th-detail-grid section h3{margin-bottom:12px}.th-detail-grid section p{color:var(--th-dim);margin:8px 0}.th-book-aside{align-self:start;border:1px solid var(--th-line);border-radius:18px;padding:20px}.th-book-aside>strong{display:block;font-size:30px;margin:12px 0}.th-book-aside>p{color:var(--th-dim);font-size:11px}.th-book-aside>.th-button{width:100%;margin-top:24px}.th-book-aside small{display:block;margin-top:12px;color:var(--th-dim)}
.th-booking-grid{display:grid;grid-template-columns:1.5fr 1fr;gap:18px}.th-booking-grid .th-panel>h3{margin:0 0 18px}.th-booking-grid .th-panel>.th-actions{margin-bottom:25px}.th-section-label{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 20px}.th-section-label>.th-eyebrow{margin:0}.th-section-label>span:not(.th-eyebrow){font-size:10px;color:var(--th-dim)}.th-booking-grid .th-section-label{margin-top:22px}.th-days{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;margin-bottom:24px}.th-space .th-day{display:flex;flex-direction:column;gap:4px;padding:10px 3px;border-radius:12px;font-size:10px}.th-day strong{font-size:19px}.th-day small{font-size:9px}.th-space .th-day[aria-pressed=true]{background:var(--paper);color:var(--ink);border-color:var(--paper)}.th-times{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.th-space .th-muted{color:var(--th-dim);font-size:11px}.th-booking-grid .th-panel>.th-primary{width:100%;margin-top:24px}.th-book-person{align-self:start}.th-book-person>p{margin:20px 0;color:var(--th-dim)}.th-book-person .th-price-line{align-items:center}.th-price-line strong{font-size:27px}.th-summary{margin:0}.th-summary>div{display:grid;grid-template-columns:1fr 1.5fr;gap:18px;padding:14px 0;border-bottom:1px solid var(--th-line);font-size:12px;line-height:1.7}.th-summary dt{color:var(--th-dim)}.th-summary dd{margin:0;text-align:right}.th-summary .th-total{font-size:20px;border-bottom:0;margin:6px 0 18px}.th-booking-note{border-left:2px solid var(--paper);padding:6px 0 6px 14px;font-size:11px;line-height:1.8;margin:20px 0;color:var(--th-dim)}.th-check{display:flex;gap:12px;align-items:flex-start;font-size:12px;line-height:1.8;padding:8px 0}.th-space input[type=checkbox]{appearance:auto;-webkit-appearance:checkbox;accent-color:var(--paper);width:20px;height:20px;flex:none;margin:1px 0 0}
.th-empty{grid-column:1/-1;padding:45px 24px;text-align:center;border:1px solid var(--th-line);border-radius:24px;background:var(--th-panel)}.th-empty-mark{display:block;font-size:30px;margin-bottom:20px;color:var(--th-dim)}.th-empty p{color:var(--th-dim);max-width:42ch;margin:14px auto 24px}.th-next{padding:28px;border:1px solid var(--paper);border-radius:24px;margin-bottom:22px}.th-next-main{display:flex;justify-content:space-between;align-items:center;gap:24px;margin:24px 0}.th-next-main>.th-person{max-width:230px}.th-next .th-time{font-size:27px;letter-spacing:-1px;margin:10px 0}.th-time span{font-size:13px;color:var(--th-dim);letter-spacing:0}.th-pill{display:inline-flex;font-size:9px;line-height:1.5;color:var(--th-dim);border:1px solid var(--th-line);border-radius:20px;padding:6px 9px}.th-next-empty h2{margin:16px 0}.th-next-empty p{color:var(--th-dim);margin-bottom:24px}.th-person-picker{max-width:300px;margin-bottom:22px}.th-cabinet-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:26px}.th-message-preview{margin:22px 0}.th-message-preview p{margin-bottom:10px;overflow-wrap:anywhere}.th-message-preview small{color:var(--th-dim)}.th-cabinet-grid .th-panel>.th-button{width:100%}.th-space textarea{display:block;width:100%;resize:vertical;min-height:120px;max-height:600px;background:transparent;border:1px solid var(--th-line);border-radius:14px;color:var(--paper);font:inherit;font-size:16px;line-height:1.65;padding:14px}.th-note-footer{display:flex;align-items:center;flex-wrap:wrap;justify-content:space-between;gap:4px;margin-top:10px;font-size:10px;color:var(--th-dim)}.th-history{margin:32px 0}.th-history-row{display:flex;justify-content:space-between;gap:14px;padding:17px 0;border-bottom:1px solid var(--th-line);align-items:center}.th-history-row strong{display:block;font-size:12px}.th-history-row>div>span{display:block;font-size:10px;color:var(--th-dim);line-height:1.7;margin-top:5px}.th-meeting-row{padding:20px 0;border-bottom:1px solid var(--th-line)}.th-meeting-row h2{font-size:21px}.th-meeting-row .th-next-main{margin:15px 0}.th-material{padding:12px 0;border-bottom:1px solid var(--th-line)}.th-material summary{display:flex;justify-content:space-between;gap:10px}.th-material summary:before{content:'+';flex:none}.th-material[open] summary:before{content:'−'}.th-material p{white-space:pre-wrap;overflow-wrap:anywhere;margin:12px 0}.th-material small{color:var(--th-dim)}
.th-chat{border:1px solid var(--th-line);border-radius:24px;padding:24px;margin-top:16px}.th-chat h2{font-size:21px}.th-space .th-chat-notice{border-top:1px solid var(--th-line);border-bottom:1px solid var(--th-line);padding:12px 0;margin:20px 0;color:var(--th-dim);font-size:10px}.th-messages{display:flex;flex-direction:column;gap:16px;max-height:460px;overflow-y:auto;overscroll-behavior:contain;padding:4px 4px 22px}.th-message{max-width:85%;border:1px solid var(--th-line);background:var(--th-panel);border-radius:18px 18px 18px 4px;padding:16px;align-self:flex-start}.th-message.th-outgoing{align-self:flex-end;background:var(--surface-raised);border-radius:18px 18px 4px 18px}.th-message p{white-space:pre-wrap;overflow-wrap:anywhere;margin:7px 0}.th-message time,.th-message>span{display:block;font-size:9px;color:var(--th-dim);line-height:1.7}.th-chat-empty{padding:36px 10px;text-align:center}.th-chat-empty p{color:var(--th-dim);margin:12px auto;max-width:40ch}.th-compose{border-top:1px solid var(--th-line);padding-top:18px;display:grid;grid-template-columns:1fr auto;gap:12px;align-items:end}.th-compose textarea{min-height:80px}.th-material-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.th-material-grid h3{margin-bottom:20px}.th-source{display:flex;gap:12px;padding:16px 0;border-bottom:1px solid var(--th-line);cursor:pointer}.th-source>span{display:grid;gap:7px}.th-source strong{font-size:12px;line-height:1.7}.th-source small,.th-source span>span{color:var(--th-dim);font-size:11px;line-height:1.7;overflow-wrap:anywhere}.th-material-grid .th-muted{margin:16px 0}.th-material-grid .th-primary{width:100%}
.th-call-grid{display:grid;grid-template-columns:1.35fr 1fr;gap:20px}.th-video{position:relative;aspect-ratio:4/3;background:var(--th-panel);border:1px solid var(--th-line);border-radius:24px;overflow:hidden}.th-video video{width:100%;height:100%;object-fit:cover;transform:scaleX(-1)}.th-camera-placeholder{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:16px;background:var(--th-panel)}.th-camera-placeholder .th-avatar{width:66px;height:72px;font-size:23px}.th-camera-placeholder p{font-size:12px;color:var(--th-dim)}.th-video-label{position:absolute;bottom:12px;left:12px;font-size:10px;background:var(--th-panel);border-radius:9px;padding:7px 10px}.th-device-actions{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}.th-device-actions .th-button{font-size:10px;padding:10px}.th-room-aside{display:flex;flex-direction:column;align-items:start;gap:20px}.th-room-aside ul{padding-left:16px;margin:0;color:var(--th-dim);font-size:12px;line-height:1.9}.th-room-aside li{padding:4px 0}.th-room-aside>.th-primary{width:100%}.th-room-aside small{color:var(--th-dim)}.th-in-room{grid-template-columns:1fr 1fr}
.th-provider-banner{border:1px solid var(--th-line);border-radius:16px;padding:12px 18px;display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:11px;color:var(--th-dim);margin:20px 0}.th-subnav{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:22px}.th-provider-times{margin-top:22px}.th-provider-times>p{margin:12px 0 22px}.th-availability-row{display:grid;grid-template-columns:1fr 2fr;gap:20px;padding:15px 0;border-bottom:1px solid var(--th-line);align-items:center}.th-availability-row>strong{font-size:12px}.th-availability-row .th-times{margin:0}.th-cancel-panel{padding:24px;border:1px solid var(--paper);background:var(--th-panel);border-radius:20px;margin-top:20px}.th-cancel-panel p{color:var(--th-dim);margin:10px 0 20px}.th-status{min-height:22px;color:var(--paper);font-size:11px;line-height:1.7;margin-top:16px}.th-footer{border-top:1px solid var(--th-line);margin-top:24px;padding-top:14px;display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:9px;color:var(--th-dim)}
@media(hover:hover){.th-space .th-secondary:hover,.th-space .th-day:hover{border-color:var(--paper)}.th-space .th-text:hover{color:var(--paper)}.th-space .th-primary:hover{opacity:.85}}
@media(max-width:700px){.th-space .th-header{margin-top:0}.th-demo{font-size:9px;white-space:normal;text-align:center;max-width:110px}.th-space .th-tabs{margin-bottom:24px}.th-filters{grid-template-columns:1fr 1fr;gap:14px 10px}.th-results,.th-detail-grid,.th-booking-grid,.th-cabinet-grid,.th-material-grid,.th-call-grid{grid-template-columns:1fr}.th-book-person{order:-1;padding:16px}.th-book-person .th-person{float:left;max-width:70%}.th-book-person>p{display:none}.th-book-person .th-price-line{border:0;display:block;text-align:right;padding:0}.th-price-line strong{font-size:23px}.th-book-person .th-price-line>span{display:block;margin-top:6px;font-size:10px}.th-next{padding:22px}.th-next-main{align-items:flex-start;flex-direction:column;gap:22px}.th-next-main>.th-person{max-width:none}.th-next .th-actions>.th-primary{width:100%}.th-next .th-actions>.th-secondary{flex:1}.th-space .th-next h2{font-size:25px}.th-profile-card,.th-panel,.th-detail,.th-chat{padding:20px;border-radius:20px}.th-profile-card .th-lead{min-height:0}.th-space select{font-size:16px}.th-search-row>.th-button{font-size:10px;padding:10px}.th-search{padding:0 12px}.th-search input{font-size:16px}.th-search-row{gap:8px}.th-results-top{font-size:9px}.th-results-top>span:last-child{text-align:right}.th-compose{grid-template-columns:1fr}.th-compose .th-button{justify-self:end}.th-history-row{align-items:flex-start}.th-summary>div{grid-template-columns:.8fr 1.2fr}.th-footer{align-items:flex-start;flex-direction:column;gap:0}.th-availability-row{grid-template-columns:1fr;gap:10px}.th-provider-banner{align-items:flex-start;flex-direction:column;gap:0}.th-material-grid .th-panel{padding:20px}.th-book-aside{padding:20px}.th-detail-grid{gap:12px}.th-message{max-width:95%}.th-message p{font-size:14px}.th-section-label{gap:8px;flex-wrap:wrap}.th-person-large .th-avatar{width:56px;height:65px}.th-person-large .th-icon{width:34px}.th-chat .th-person>div>span{font-size:10px}}
@media(prefers-reduced-motion:reduce){.th-space *{transition:none!important;animation:none!important;scroll-behavior:auto!important}}

.therapy-root [data-therapy-space]{scroll-margin-top:90px}
