html,body,#root{min-height:100%;margin:0}body{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}:root{color:#132d2d;font-synthesis:none;text-rendering:optimizelegibility;background:#f3f7f6;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{background:#f3f7f6;min-width:320px;margin:0}button,input,select{font:inherit}button{cursor:pointer}button:disabled,input:disabled,select:disabled{cursor:not-allowed;opacity:.55}.app-shell{min-height:100vh}.topbar{background:#fff;border-bottom:1px solid #dce9e6;justify-content:space-between;align-items:center;min-height:72px;padding:0 clamp(20px,5vw,72px);display:flex}.brand{color:#0c5c59;letter-spacing:-.02em;align-items:center;gap:10px;font-size:1.05rem;font-weight:760;text-decoration:none;display:inline-flex}.brand-mark{border:3px solid #39c7ba;border-radius:50% 50% 50% 14%;place-items:center;width:25px;height:25px;display:inline-grid;position:relative;transform:rotate(-16deg)}.brand-mark:after{content:"";background:#39c7ba;width:3px;height:7px;position:absolute;bottom:-7px;left:3px;transform:rotate(16deg)}.brand-mark span{background:#0c5c59;border-radius:50%;width:6px;height:6px;transform:rotate(16deg)}.topbar-context{color:#68817e;font-size:.82rem;font-weight:650}.page-content{max-width:1440px;margin:0 auto;padding:clamp(28px,5vw,64px) clamp(20px,5vw,72px) 80px}.page-heading{justify-content:space-between;align-items:end;gap:28px;margin-bottom:28px;display:flex}.eyebrow,.section-kicker{color:#168e87;letter-spacing:.13em;margin:0 0 10px;font-size:.72rem;font-weight:800}h1,h2,p{margin-top:0}h1{color:#0c4e4c;letter-spacing:-.065em;margin-bottom:15px;font-size:clamp(2rem,4vw,3.6rem);line-height:.98}h2{color:#163d3c;letter-spacing:-.025em;margin-bottom:0;font-size:1.1rem}.intro{color:#627b78;max-width:560px;margin-bottom:0;font-size:1rem;line-height:1.55}.status-card{background:#fff;border:1px solid #dce9e6;border-radius:15px;align-items:center;gap:12px;min-width:205px;padding:14px 17px;display:flex}.status-card strong,.status-label{display:block}.status-label{color:#78908e;letter-spacing:.08em;text-transform:uppercase;margin-bottom:4px;font-size:.69rem;font-weight:750}.status-card strong{color:#284e4b;font-size:.9rem}.status-dot,.connection-pill span,.provider-health span{background:#a8beb9;border-radius:50%;flex:none;width:9px;height:9px;display:inline-block}.status-ready .status-dot,.status-patient_responding .status-dot,.connection-pill.is-live span,.provider-health.available span{background:#18a985;box-shadow:0 0 0 4px #dff5ed}.status-error .status-dot{background:#d85c64;box-shadow:0 0 0 4px #fbe5e6}.notice{border-radius:11px;margin-bottom:18px;padding:12px 15px;font-size:.9rem}.notice-error{color:#8e3038;background:#fff0f0;border:1px solid #f0c8cb}.notice-info{color:#315e59;background:#edf7f5;border:1px solid #cde8df}.workspace-grid{grid-template-columns:minmax(0,1.33fr) minmax(340px,.67fr);align-items:stretch;gap:22px;display:grid}.panel{background:#fff;border:1px solid #dce9e6;border-radius:20px;box-shadow:0 12px 35px #0a433f0f}.video-panel{min-width:0;padding:21px}.conversation-panel{flex-direction:column;min-width:0;padding:21px;display:flex}.panel-heading{justify-content:space-between;align-items:flex-start;margin-bottom:17px;display:flex}.connection-pill,.provider-health{color:#78908e;white-space:nowrap;align-items:center;gap:7px;font-size:.74rem;font-weight:700;display:inline-flex}.provider-health.available{color:#13856f}.provider-health.needs_verification{color:#946d16}.provider-health.needs_verification span{background:#d7a73b;box-shadow:0 0 0 4px #fff3ce}.provider-health.unavailable,.provider-health.disabled{color:#a13e47}.provider-health.unavailable span,.provider-health.disabled span{background:#d85c64;box-shadow:0 0 0 4px #fbe5e6}.video-stage{aspect-ratio:16/9;background:linear-gradient(145deg,#143f3d,#0b292b);border-radius:14px;justify-content:center;align-items:center;min-height:270px;display:flex;position:relative;overflow:hidden}.video-stage video{object-fit:cover;background:#0b292b;width:100%;height:100%;position:absolute}.video-placeholder{color:#d5e8e5;text-align:center;z-index:1;flex-direction:column;align-items:center;gap:8px;max-width:280px;padding:24px;display:flex;position:relative}.video-placeholder strong{font-size:.96rem}.video-placeholder>span{color:#9dbeb9;font-size:.78rem;line-height:1.45}.placeholder-avatar{background:#3dc6ba2b;border:1px solid #6fe1d466;border-radius:50%;justify-content:center;align-items:center;width:74px;height:74px;margin-bottom:10px;display:flex}.placeholder-avatar:before{content:"";border:2px solid #62d4c7;border-radius:50%;width:22px;height:22px}.placeholder-avatar span{background:#62d4c7;border-radius:50%;width:5px;height:5px;margin-top:18px;margin-left:-14px}.media-meta{color:#78908e;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 12px;min-height:34px;padding:3px 3px 0;font-size:.74rem;display:flex}.affect-indicator{color:#3a6963;text-transform:capitalize;background:#eef8f5;border:1px solid #cde8df;border-radius:999px;padding:4px 8px;font-size:.69rem;font-weight:700}.affect-indicator strong{color:#0d6961}.remote-audio{opacity:0;width:1px;height:1px;position:absolute}.field-label{color:#355c59;letter-spacing:.03em;margin-bottom:7px;font-size:.75rem;font-weight:800;display:block}.station-select,.provider-select,.question-row input{color:#234a47;background:#f7faf9;border:1px solid #cfe0dc;border-radius:10px;outline:none;width:100%;min-height:44px;padding:0 12px}.station-select:focus,.provider-select:focus,.question-row input:focus{border-color:#1fb3a7;box-shadow:0 0 0 3px #1fb3a724}.provider-summary{background:#f6faf9;border:1px solid #e0ece9;border-radius:10px;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px 14px;margin:8px 0 17px;padding:11px 12px;display:grid}.provider-summary div{min-width:0}.provider-summary span{color:#78908e;letter-spacing:.06em;text-transform:uppercase;font-size:.63rem;font-weight:800;display:block}.provider-summary strong{color:#315956;overflow-wrap:anywhere;margin-top:3px;font-size:.78rem;line-height:1.25;display:block}.avatar-identity{background:#fff;border:1px solid #dce9e6;border-radius:10px;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 14px;margin:-6px 0 17px;padding:11px 12px;display:grid}.avatar-identity div{min-width:0}.avatar-identity span{color:#78908e;letter-spacing:.06em;text-transform:uppercase;font-size:.63rem;font-weight:800;display:block}.avatar-identity strong{color:#315956;overflow-wrap:anywhere;text-transform:capitalize;margin-top:3px;font-size:.78rem;line-height:1.25;display:block}.station-meta{color:#78908e;margin:7px 0 17px;font-size:.76rem}.candidate-prompts{border-top:1px solid #e0ece9;margin:0 0 17px;padding-top:14px}.prompt-heading{justify-content:space-between;align-items:center;margin-bottom:8px;display:flex}.prompt-heading h3{color:#234a47;margin:2px 0 0;font-size:.92rem}.prompt-heading>span{color:#78908e;font-size:.72rem;font-weight:700}.prompt-list{flex-direction:column;gap:7px;max-height:188px;margin:0;padding:0;list-style:none;display:flex;overflow-y:auto}.prompt-list li{border:1px solid #dce9e6;border-radius:8px;align-items:stretch;gap:8px;padding:7px 8px;display:flex}.prompt-text{color:#315956;cursor:pointer;font:inherit;text-align:left;background:0 0;border:0;flex:1;padding:0;font-size:.78rem;line-height:1.4}.prompt-text:hover{color:#0c7771}.prompt-copy{color:#315956;cursor:pointer;font:inherit;background:#edf4f2;border:1px solid #cfe0dc;border-radius:7px;align-self:center;min-height:30px;padding:0 8px;font-size:.7rem;font-weight:800}.prompt-copy:hover{background:#e2eeeb}.prompt-empty,.prompt-feedback{color:#78908e;margin:0;font-size:.74rem;line-height:1.4}.prompt-feedback{color:#0c7771;margin-top:8px}.transcript-box{background:#f6faf9;border:1px solid #e0ece9;border-radius:12px;flex-direction:column;flex:1;gap:12px;min-height:150px;max-height:285px;margin:0 0 17px;padding:14px;display:flex;overflow-y:auto}.empty-transcript{color:#8ba19e;text-align:center;align-items:center;max-width:230px;min-height:120px;margin:auto;font-size:.81rem;line-height:1.5;display:flex}.transcript-entry{border-radius:10px;padding:10px 12px;line-height:1.45}.transcript-entry span{letter-spacing:.07em;text-transform:uppercase;margin-bottom:4px;font-size:.68rem;font-weight:800;display:block}.transcript-entry p{white-space:pre-wrap;margin-bottom:0;font-size:.85rem}.transcript-entry.candidate{color:#174d4a;background:#e1f4f0;margin-left:18px}.transcript-entry.candidate span{color:#14857d}.transcript-entry.patient{color:#294c49;background:#fff;border:1px solid #d5e6e2;margin-right:18px}.transcript-entry.patient span{color:#6d8581}.question-form{margin-top:auto}.question-row{gap:8px;display:flex}.question-row input{min-width:0}.voice-row{flex-wrap:wrap;align-items:center;gap:9px;margin-top:9px;display:flex}.voice-row>span{color:#849996;font-size:.72rem;line-height:1.4}.button{border:0;border-radius:10px;justify-content:center;align-items:center;min-height:43px;padding:0 16px;font-size:.82rem;font-weight:800;transition:background .16s,border-color .16s,transform .16s;display:inline-flex}.button:not(:disabled):hover{transform:translateY(-1px)}.button-primary{color:#fff;background:#0c7771}.button-primary:not(:disabled):hover{background:#095e5a}.button-secondary{color:#315956;background:#edf4f2;border:1px solid #cfe0dc}.button-secondary:not(:disabled):hover{background:#e2eeeb}.button-send{color:#fff;background:#194c49}.button-send:not(:disabled):hover{background:#0e3a38}.button-audio{color:#765e13;background:#fff8dc;border:1px solid #e4cd76}.button-voice{color:#176b64;background:#e6f5f1;border:1px solid #afdcd2}.button-voice:not(:disabled):hover{background:#d6eee9}.button-stop-recording{color:#a33d35;background:#fff0ee;border:1px solid #e4aaa5}.button-stop-recording:not(:disabled):hover{background:#ffe3e0}.action-row{flex-wrap:wrap;gap:9px;margin-top:12px;display:flex}.control-hint{color:#849996;margin:10px 0 0;font-size:.72rem;line-height:1.4}.diagnostics-section{margin-top:18px}.diagnostics-toggle{color:#4d726e;background:0 0;border:0;justify-content:space-between;align-items:center;width:100%;padding:9px 3px;font-size:.78rem;font-weight:750;display:flex}.diagnostics-toggle span:last-child{color:#13968d;font-size:1.1rem}.diagnostics-panel{color:#6b8581;background:#fff;border:1px solid #dce9e6;border-radius:14px;padding:16px;font-size:.75rem}.diagnostics-panel p{margin-bottom:13px;line-height:1.5}.diagnostic-summary{flex-wrap:wrap;gap:15px;margin-bottom:12px;display:flex}.diagnostic-summary strong{color:#315956}.diagnostic-affect strong{color:#8a4b28}.event-list{border-top:1px solid #e4efec;max-height:180px;margin:0;padding:0;list-style:none;overflow-y:auto}.event-list li{border-bottom:1px solid #eef4f2;align-items:center;gap:10px;min-height:32px;display:flex}.event-list time{color:#9aaca9;font-variant-numeric:tabular-nums}.event-list strong{color:#3d6662;font-size:.72rem}.event-list span{color:#9b6f28}@media (width<=900px){.page-heading{flex-direction:column;align-items:flex-start}.status-card{width:100%;min-width:0}.workspace-grid{grid-template-columns:1fr}.transcript-box{max-height:360px}.provider-summary,.avatar-identity{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=520px){.topbar{min-height:62px;padding:0 17px}.topbar-context{display:none}.page-content{padding:31px 15px 50px}h1{font-size:2.35rem}.video-panel,.conversation-panel{border-radius:15px;padding:15px}.video-stage{min-height:0}.provider-summary,.avatar-identity{grid-template-columns:repeat(2,minmax(0,1fr))}.action-row .button{flex:42%}.question-row{flex-direction:column;align-items:stretch}.button-send{width:100%}.event-list li{flex-direction:column;align-items:flex-start;gap:2px;padding:7px 0}}
