/* A quiet entry into chat. Dictation stays inside the composer. */
.therapy-root[data-view=session] .detail-view{width:100%;max-width:720px!important}
.therapy-root .reflection-focus{width:100%;max-width:640px;margin:38px auto 0;padding:0 0 30px;color:var(--paper)}
.reflection-focus .rf-icon{display:block;width:19px;height:19px;flex:none}
.therapy-root .reflection-modes{display:flex;gap:4px;width:fit-content;max-width:100%;padding:4px;background:var(--surface);border:1px solid var(--stroke);border-radius:14px;margin:0 0 36px}
.therapy-root .reflection-modes button{display:flex;align-items:center;justify-content:center;gap:10px;min-height:46px;min-width:112px;padding:10px 20px;border:0;background:transparent;color:var(--muted);font-size:13px;font-weight:400;border-radius:10px!important;transition:background .2s,color .2s;touch-action:manipulation}
.reflection-modes button>span{display:flex;align-items:center;gap:9px}
.reflection-modes small{font:inherit;opacity:.7;white-space:nowrap}
.therapy-root .reflection-modes button[aria-pressed=true]{background:var(--paper);color:var(--ink)}
.reflection-focus h1{font-size:clamp(30px,4vw,43px);font-weight:400;line-height:1.19;letter-spacing:-1.5px;margin:0 0 18px}
.reflection-heading{margin-bottom:28px}
.reflection-heading>p{font-size:13px;line-height:1.75;color:var(--muted);max-width:48ch;margin:0}
.reflection-log{display:flex;flex-direction:column;gap:26px;margin:0 0 24px}
.reflection-log:empty{display:none}
.reflection-message{max-width:93%;font-size:16px;line-height:1.75;overflow-wrap:anywhere;white-space:pre-wrap}
.reflection-message p{margin:0}
.reflection-message.ai{align-self:flex-start;padding:0 2px}
.reflection-message.user{align-self:flex-end;background:var(--surface-raised);border:1px solid var(--stroke);padding:14px 18px;border-radius:18px 18px 4px 18px}
.reflection-speaker{display:block;font-size:10px;letter-spacing:1px;color:var(--muted);margin-bottom:8px}
.therapy-root .reflection-composer{padding:17px;background:var(--surface);border:1px solid var(--outline);border-radius:20px;transition:border-color .2s}
.therapy-root .reflection-composer:focus-within{border-color:var(--paper)}
.therapy-root .reflection-composer textarea{display:block;box-sizing:border-box;width:100%;min-height:96px;max-height:190px;padding:3px 2px 10px;margin:0 0 12px;border:0;background:transparent;color:var(--paper);font-family:inherit;font-size:16px;line-height:1.65;border-radius:0!important;resize:none;overflow-y:auto;scroll-margin-bottom:140px}
.reflection-composer textarea::placeholder{color:var(--muted);opacity:1}
.reflection-composer textarea[readonly]{opacity:.8}
.reflection-compose-actions{display:flex;justify-content:space-between;align-items:center;gap:12px}
.therapy-root .reflection-dictate{display:flex;align-items:center;gap:8px;min-height:48px;background:transparent;color:var(--muted);border:0;padding:10px 8px;font-size:12px;border-radius:10px!important}
.therapy-root .reflection-dictate.is-listening{color:var(--paper);background:var(--surface-raised)}
.reflection-dictate.is-listening .rf-icon{animation:reflection-mic 1.3s ease-in-out infinite}
.therapy-root .reflection-send{display:inline-flex;align-items:center;justify-content:center;gap:16px;min-height:48px;min-width:112px;padding:12px 18px;background:var(--paper);color:var(--ink);border:0;border-radius:12px!important;font-size:14px;font-weight:400;touch-action:manipulation}
.therapy-root .reflection-send:disabled{opacity:.4}
.reflection-dictation-status{font-size:12px;line-height:1.7;color:var(--muted);margin:12px 2px 0;overflow-wrap:anywhere}
.reflection-limit{font-size:12px;line-height:1.7;color:var(--muted);margin:16px 2px 0}
.reflection-demo{font-size:10px;line-height:1.7;color:var(--muted);margin:30px 2px 0}
.reflection-demo span{opacity:.8}
.reflection-session-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:36px;min-height:52px}
.reflection-session-bar>div{display:flex;flex-direction:column;gap:5px}
.reflection-session-name{font-size:13px}
.reflection-time{font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}
.reflection-time time{color:var(--paper);margin-left:4px}
.therapy-root .reflection-end{background:transparent;color:var(--muted);border:1px solid var(--stroke);border-radius:11px!important;min-height:44px;padding:11px 14px;font-size:12px;font-weight:400}
.reflection-thinking{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:12px;min-height:32px}
.reflection-thinking>span{display:block;width:37px;height:2px;position:relative;background:var(--stroke);overflow:hidden}
.reflection-thinking>span::after{content:'';position:absolute;width:17px;height:2px;background:var(--paper);animation:reflection-process .85s ease-in-out infinite alternate}
.reflection-call{text-align:center;padding-top:10px}
.reflection-call h1{min-height:103px;margin:0;display:flex;justify-content:center;align-items:center}
.reflection-wave{width:100%;max-width:420px;height:136px;margin:8px auto 17px;color:var(--paper)}
.reflection-wave canvas{display:block;width:100%;height:100%;color:inherit}
.reflection-call-status{font-size:14px;line-height:1.7;color:var(--muted);min-height:48px;margin:0 0 20px}
.reflection-call-controls{display:flex;justify-content:center;align-items:center;gap:14px}
.therapy-root .reflection-pause{display:flex;align-items:center;gap:9px;justify-content:center;background:transparent;color:var(--paper);border:1px solid var(--stroke);min-height:48px;padding:11px 19px;font-size:13px;border-radius:12px!important}
.reflection-finished{padding-top:25px!important}
.reflection-finished .reflection-end-mark{width:57px;height:62px;margin-bottom:35px}
.reflection-finished>p{font-size:14px;color:var(--muted);line-height:1.8;margin:0 0 28px}
.reflection-finish-actions{display:flex;align-items:center;flex-wrap:wrap;gap:14px}
@keyframes reflection-process{from{transform:translateX(-9px)}to{transform:translateX(29px)}}
@keyframes reflection-mic{0%,100%{opacity:1}50%{opacity:.38}}
@media(min-width:1024px){.therapy-root .reflection-focus{margin-top:70px}}
@media(max-width:599px){
 .therapy-root .reflection-focus{margin-top:23px;padding-bottom:100px}
 .therapy-root .reflection-modes{width:100%;margin-bottom:30px}
 .therapy-root .reflection-modes button{min-width:0;flex:1;padding:10px 11px;font-size:12px;gap:8px}
 .reflection-modes button>span{gap:6px}
 .reflection-heading{margin-bottom:24px}
 .reflection-heading>p{font-size:12px}
 .reflection-focus h1{font-size:32px;letter-spacing:-1.15px}
 .therapy-root .reflection-composer{padding:13px;border-radius:17px}
 .reflection-message{font-size:15px}
 .reflection-demo{font-size:10px;margin-top:22px}
 .reflection-session-bar{margin-bottom:27px}
 .reflection-wave{height:122px}
 .therapy-root[data-keyboard=true] .reflection-focus{padding-bottom:22px}
}
@media(max-width:359px){.therapy-root .reflection-modes button{padding:10px 6px;gap:6px}.reflection-modes button>span{gap:5px}.reflection-focus .rf-icon{width:17px;height:17px}.therapy-root .reflection-send{padding:12px;gap:10px;min-width:98px}.therapy-root .reflection-dictate{padding:10px 4px;font-size:11px}.reflection-focus h1{font-size:29px}}
.therapy-root[data-reduced=true] .reflection-thinking>span::after,.therapy-root[data-reduced=true] .reflection-dictate .rf-icon{animation:none}
@media(prefers-reduced-motion:reduce){.reflection-focus *,.reflection-focus *::after{animation:none!important;transition:none!important}}
