.eva-brand{color:var(--green);font-size:42px;font-weight:750;letter-spacing:.06em;height:82px;display:flex;flex-direction:column;justify-content:center}.eva-brand span{font-size:14px;font-weight:500;letter-spacing:0}#practice{font-size:1.1rem;font-weight:700}#transcript{min-height:240px;max-height:48dvh;scroll-behavior:smooth}.utterance{padding:14px 18px;margin:0 0 12px;border-radius:16px;background:#f0f8f5;border:1px solid #dcece5}.utterance.patient{background:#f3f6fb;border-color:#e2e8ef;margin-left:30px}.utterance.eva{margin-right:30px}.utterance strong{display:block;font-size:.75rem;letter-spacing:.04em;color:var(--green);margin-bottom:6px}.utterance.patient strong{color:#49637e}.utterance p{margin:0;white-space:pre-wrap;line-height:1.55;overflow-wrap:anywhere}.privacy{font-size:.8rem;line-height:1.6;color:#607e89}.privacy a{color:var(--green)}#consent-row{font-size:.82rem;margin-top:16px}#voice-state{padding-top:16px}#mute[aria-pressed=true]{background:#faeeee;color:#a32d2d}@media(max-width:580px){.eva-brand{height:64px;font-size:32px}.eva-brand span{font-size:12px}#transcript{min-height:210px;max-height:42dvh}.utterance.eva{margin-right:10px}.utterance.patient{margin-left:10px}.workspace{min-height:620px}}@media(prefers-reduced-motion:reduce){.portrait{animation:none}#transcript{scroll-behavior:auto}}

.microphone:not(.off) .mic-slash{display:none}

.workspace{overflow:auto}.workspace>*{flex-shrink:0}#transcript{min-height:120px;max-height:32dvh;flex:1 0 120px}.voice-feedback{min-height:145px}#voice-state{padding-top:4px}.voice-feedback>div{text-align:center}

/* EVA phone layout: a scrollable introduction and a compact live conversation. */
@media screen and (max-width:850px){
 html,body{height:auto;min-height:100%;overflow:auto}
 .app-shell{height:auto;min-height:100dvh;display:flex;flex-direction:column;overflow:visible;padding:8px max(12px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left))}
 header{padding:0 2px;gap:8px}.eva-brand{height:54px;font-size:30px}.eva-brand span{font-size:13px}
 .patient-bar{min-height:0;padding:10px 12px;border-radius:12px}#practice{font-size:15px;line-height:1.35;overflow-wrap:anywhere}
 main{display:flex;flex-direction:column;flex:1;min-height:0;overflow:visible;gap:10px;margin-top:10px}
 .portrait-panel{float:none;width:auto;margin:0;padding:0;flex-direction:row;align-items:center;justify-content:center;gap:14px;flex-shrink:0}
 .portrait{width:112px;max-height:none;aspect-ratio:1;flex:none;border-radius:20px}.portrait-caption{display:block;font-size:14px;max-width:180px;text-align:left}
 .thought{font-size:18px;padding:4px 10px;top:8px;right:4px;border-width:2px}
 .workspace{min-height:0;padding:16px;border-radius:18px;overflow:visible;flex:1}
 .eyebrow{font-size:11px}h1{padding:0;font-size:25px;margin:7px 0 10px}
 #help{font-size:16px;line-height:1.45;max-height:none;overflow:visible;margin:0 0 10px}
 #transcript{min-height:0;flex:0 1 auto;max-height:36dvh;padding:0;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
 #transcript:has(#transcript-empty){display:none}
 .utterance{padding:10px 12px;margin-bottom:9px;border-radius:12px;font-size:16px}.utterance.eva{margin-right:8px}.utterance.patient{margin-left:8px}
 .voice-feedback{min-height:0;flex-direction:row;justify-content:flex-start;gap:12px;padding:10px 0}.voice-feedback .microphone{width:50px;height:50px}.voice-feedback svg{width:38px;height:38px}.voice-feedback>div{text-align:left;min-width:0}
 #mic-label{font-size:14px}.voice-state{font-size:17px;text-align:left;line-height:1.35;overflow-wrap:anywhere}#voice-state{padding-top:3px}
 .actions{padding-top:8px;gap:8px}.actions button{width:100%;min-height:48px;padding:12px 14px;font-size:16px;touch-action:manipulation}
 #consent-row{font-size:14px;line-height:1.5;margin:8px 0;padding:8px 0;gap:12px}.option input{width:26px;height:26px}
 .privacy{font-size:14px;margin:12px 0 0}.privacy summary{min-height:44px;display:flex;align-items:center}
 footer{font-size:11px;gap:4px;padding:10px 2px}
 .voice-running{height:100dvh;min-height:0;overflow:hidden}
 .voice-running header{display:none}.voice-running main{overflow:hidden;min-height:0;flex:1}
 .voice-running .portrait{width:80px}.voice-running .portrait-caption{font-size:13px}
 .voice-running .workspace{min-height:0;overflow:hidden;padding:12px;flex:1}
 .voice-running .workspace>.eyebrow,.voice-running #title,.voice-running #help,.voice-running .privacy,.voice-running footer{display:none}
 .voice-running #transcript{display:block;flex:1 1 0;min-height:0;max-height:none;overflow:auto}
 .voice-running .voice-feedback,.voice-running .actions{flex-shrink:0}
}
@media screen and (max-width:850px) and (max-height:500px){
 .voice-running .patient-bar,.voice-running .portrait-caption{display:none}
 .voice-running main{display:grid;grid-template-columns:80px minmax(0,1fr);margin-top:0;gap:10px}
 .voice-running .portrait-panel{align-self:start;padding-top:10px}
 .voice-running .workspace{height:100%;padding:10px}
 .voice-running .voice-feedback{padding:5px 0}.voice-running .actions{padding-top:4px}
}
