@font-face{font-family:Manrope;src:url('assets/Manrope-Regular.ttf')}@font-face{font-family:Manrope;src:url('assets/Manrope-SemiBold.ttf');font-weight:600}*{box-sizing:border-box}body{margin:0;background:#f4f6f8;color:#203543;font-family:Manrope,system-ui,sans-serif;font-size:14px;line-height:1.5}button,input{font:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #347cc4;outline-offset:4px}button{transition:background-color 150ms,color 150ms}button:hover{filter:brightness(.97)}[hidden]{display:none!important}svg.icon{width:22px;height:22px;stroke:currentColor;stroke-width:1.7;fill:none;stroke-linecap:round;stroke-linejoin:round;flex:none}.concept{display:flex;justify-content:space-between;gap:16px;padding:8px 32px;background:#e8edf1;border-bottom:1px solid #d7e0e7;color:#526575;font-size:12px}.concept span:first-child{font-weight:600}header{height:96px;padding:20px 32px;display:flex;align-items:center;gap:48px;background:white;border-bottom:1px solid #dce3e8}.brand{font-size:26px;color:#203543;text-decoration:none;font-weight:600}.brand b{color:#347cc4;font-weight:600}.heading span{font-size:12px;color:#657687}h1,h2,h3,h4,p{margin:0}h1{font-size:22px;line-height:1.4;font-weight:600}.identity{margin-left:auto;display:flex;align-items:center;gap:12px;font-weight:600}.identity small{display:block;font-size:12px;color:#667786;font-weight:400}.initial{display:grid;place-items:center;background:#e7edf2;border:1px solid #d8e1e9;color:#516e85;width:40px;height:40px;border-radius:50%;font-weight:600}.initial.small{width:28px;height:28px;font-size:10px}.initial.large{width:96px;height:96px;font-size:32px}main{max-width:1600px;padding:24px 32px 16px;margin:auto}.call-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.call-heading h2{font-size:21px;font-weight:600}.call-heading p{font-size:13px;color:#6b7b88;margin-top:4px}.time{color:#6b7b88;font-size:12px}.time strong{display:inline-block;margin-left:12px;font-size:17px;color:#203543;font-variant-numeric:tabular-nums;font-weight:400}.call-grid{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:24px;align-items:start}.video-frame{position:relative;border-radius:16px;overflow:hidden;background:#1b2932;aspect-ratio:1.62;min-height:400px}.doctor-video{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}.video-name{position:absolute;left:20px;bottom:20px;display:flex;align-items:center;gap:8px;color:white;background:#1b2932e6;padding:8px 12px;border-radius:8px}.sound-bars{display:flex;align-items:center;height:20px;gap:3px}.sound-bars i{display:block;width:3px;background:#a9d3ee;border-radius:2px;height:8px}.sound-bars i:nth-child(2){height:16px}.sound-bars i:last-child{height:11px}.image-note{position:absolute;left:16px;top:16px;background:#fffE;color:#415561;padding:4px 8px;border-radius:4px;font-size:11px}.pip{position:absolute;right:16px;bottom:16px;background:#20323f;width:144px;height:112px;border:1px solid #ffffff30;border-radius:12px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;color:#d8e3ec}.pip .initial{background:#40596b;color:#f0f5f8;border-color:#688091}.pip small{font-size:10px}.control-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 0 0}.left-control{display:flex;gap:16px}.control{display:flex;flex-direction:column;align-items:center;gap:8px;background:none;border:none;color:#526575;min-width:64px;font-size:12px}.icon-wrap{width:48px;height:48px;display:grid;place-items:center;border-radius:12px;background:white;border:1px solid #d6dfe7;color:#294555}.control[aria-pressed=true] .icon-wrap{background:#e3e8ed;color:#697b88}.end-call{display:flex;gap:12px;align-items:center;justify-content:center;border:0;border-radius:12px;padding:14px 24px;background:#b74646;color:white;font-weight:600;min-height:48px}.end-call .icon{transform:rotate(135deg)}aside{border:1px solid #dce3e8;border-radius:16px;background:#fff;overflow:hidden}.panel-top{padding:20px 20px 16px}.panel-top h3{font-size:18px;font-weight:600}.panel-top p{font-size:12px;color:#667986;margin-top:4px}.tabs{display:flex;gap:20px;padding:0 20px;border-bottom:1px solid #e2e7ec}.tabs button{border:0;background:none;padding:12px 0;color:#77838d;border-bottom:2px solid transparent}.tabs button[aria-selected=true]{color:#276da8;border-color:#347cc4;font-weight:600}.tab-content{padding:20px}.person-row{display:flex;align-items:center;gap:8px;margin-bottom:24px;font-size:12px}.text-status{margin-left:auto;color:#48755e;font-size:11px}h4{font-size:14px;font-weight:600}.reading{font-size:42px;font-weight:600;letter-spacing:-1.3px;margin-top:8px;font-variant-numeric:tabular-nums;line-height:1.2}.reading>span{color:#8ca0ae;font-weight:400;margin:0 4px}.reading small{font-size:13px;letter-spacing:0;font-weight:400;color:#667986}.reading-caption{font-size:11px;color:#667986;margin-top:8px}.chart-head{display:flex;justify-content:space-between;font-size:11px;color:#77838d;margin-top:24px}.chart{width:100%;height:146px;display:block;margin-top:8px}.legend{display:flex;gap:20px;font-size:11px;color:#627585;margin-bottom:20px}.legend span{display:flex;gap:6px;align-items:center}.legend i{height:2px;width:16px;background:#347cc4}.legend span+span i{background:#879baa}.data-row{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #e6ebef;padding:12px 0;font-size:12px}.data-row>span small{display:block;color:#7b8891;font-size:10px;margin-top:3px}.data-row strong{font-weight:600;font-size:17px}.data-row strong small{font-size:11px;font-weight:400;color:#6c7c87}.permission-note{display:flex;gap:10px;padding-top:12px;color:#6a7d8b;font-size:10px;border-top:1px solid #e6ebef}.permission-note .icon{width:16px;height:16px}.message-date{font-size:11px;color:#81909a;margin:0 0 24px;text-align:center}.bubble{padding:14px 16px;border-radius:12px;font-size:13px;margin-bottom:16px}.bubble strong{font-size:11px;font-weight:600}.bubble p{margin:6px 0}.bubble small{display:block;text-align:right;font-size:10px;color:#7b8a95}.bubble.doctor{background:#f0f3f5;margin-right:20px}.bubble.patient{background:#eaf2f8;margin-left:20px}form{margin-top:56px}form label{font-size:11px;display:block;margin-bottom:8px}.composer{display:flex;border:1px solid #d8e1e8;border-radius:10px;overflow:hidden}.composer input{min-width:0;flex:1;border:0;padding:12px;font-size:12px}.composer button{border:0;background:white;color:#347cc4;padding:8px 12px}form>small{display:block;font-size:10px;color:#7b8a95;margin-top:8px}footer{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:16px 32px 20px;max-width:1600px;margin:auto;color:#71818d;font-size:11px}footer nav{display:flex;gap:8px}footer button{padding:8px 12px;border:1px solid transparent;border-radius:8px;background:none;color:#5b7181;font-size:12px}footer button.active{background:white;border-color:#d8e2e9;color:#276da8}.lobby-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:64px;align-items:center;max-width:1200px;min-height:650px;margin:auto}.self-preview{border-radius:20px;background:#1f303d;color:#fff;aspect-ratio:1;display:flex;flex-direction:column;align-items:center;justify-content:center}.self-preview h2{font-size:19px;font-weight:400;margin-top:32px}.self-preview p{color:#b0c0cb;font-size:12px;margin-top:8px}.lobby-controls{display:flex;gap:16px;margin-top:48px}.lobby-controls button{width:48px;height:48px;border-radius:12px;border:1px solid #536572;background:#354957;color:white}.lobby-controls button[aria-pressed=true]{background:#7a4949}.eyebrow{color:#617d90;font-size:12px}.prepare h2,.summary h2{font-size:32px;line-height:1.25;font-weight:600;margin:12px 0 28px}.doctor-card{display:flex;align-items:center;gap:16px}.doctor-card img{width:56px;height:56px;object-fit:cover;border-radius:50%;object-position:center}.doctor-card strong{font-weight:600;font-size:16px}.doctor-card p{color:#6c7e8c;font-size:12px;margin-top:4px}.appointment{margin:20px 0;font-size:14px;color:#506574}.checklist>div{display:flex;gap:16px;padding:16px 0;border-top:1px solid #dce4ea}.checklist .icon{color:#688399;width:20px}.checklist span{font-weight:600;font-size:13px}.checklist small{display:block;font-weight:400;font-size:11px;color:#6d7f8c;margin-top:4px}.primary,.secondary{border-radius:10px;min-height:48px;padding:12px 20px;border:0;display:inline-flex;align-items:center;justify-content:center;gap:20px;font-weight:600;font-size:14px}.primary{background:#2c72ae;color:white}.secondary{background:#edf1f4;color:#436176;border:1px solid #d4dee6}.prepare .primary{width:100%;margin-top:20px}.fine{font-size:11px;color:#7a8994;margin-top:16px;text-align:center}.summary{max-width:620px;margin:36px auto 56px;background:white;border:1px solid #dce4e9;border-radius:20px;padding:40px;text-align:center}.summary-icon{display:grid;place-items:center;width:64px;height:64px;border-radius:50%;background:#e7f0f7;color:#347cc4;margin:0 auto 24px}.summary-icon .icon{width:28px;height:28px}.summary h2{margin-bottom:16px}.summary>p{color:#647b8b;font-size:14px;margin-bottom:28px}.summary-row{display:flex;justify-content:space-between;border-top:1px solid #e1e7ec;padding:16px 0;font-size:13px;text-align:left;gap:24px}.summary-row span{color:#6d7f8c}.summary-row strong{font-weight:600}.summary-actions{display:flex;flex-direction:column;gap:12px;margin-top:24px}.panel-hidden .call-grid{grid-template-columns:1fr}.panel-hidden aside{display:none}.panel-hidden .video-frame{aspect-ratio:2.1}
@media(min-width:1650px){.video-frame{min-height:590px}.chart{height:170px}.tab-content{padding-bottom:24px}}
@media(max-width:1050px){header{gap:28px}.call-grid{grid-template-columns:minmax(0,1fr) 310px;gap:16px}.video-frame{aspect-ratio:1.3}.pip{width:112px;height:96px}.call-heading h2{font-size:19px}.end-call{padding:14px}.side-control{display:none}.lobby-grid{gap:32px}.prepare h2{font-size:28px}.identity{font-size:12px}}
@media(max-width:760px){.concept{padding:8px 16px;font-size:10px}.concept span+span{max-width:190px;text-align:right}header{height:auto;min-height:80px;padding:16px;gap:20px}.brand{font-size:20px}.heading span{font-size:10px}h1{font-size:16px}.identity{display:none}main{padding:20px 16px 8px}.call-heading{margin-bottom:16px}.call-heading h2{font-size:18px}.call-heading p{font-size:11px}.time{font-size:0}.time strong{font-size:16px}.call-grid{grid-template-columns:1fr}.video-frame{aspect-ratio:1;min-height:340px}.doctor-video{object-position:center}.image-note{font-size:9px;left:12px;top:12px}.pip{width:100px;height:84px;bottom:12px;right:12px}.pip small{font-size:8px}.video-name{left:12px;bottom:12px;font-size:11px;padding:8px;gap:6px}.control-bar{padding:16px 0 8px;gap:8px}.left-control{gap:4px}.control{min-width:56px;font-size:10px}.icon-wrap{width:44px;height:44px;border-radius:10px}.end-call{padding:12px;gap:8px;font-size:12px}.end-call .icon{width:19px}.panel-top{padding:20px 20px 12px}aside{margin-top:8px}.chart{height:160px}.lobby-grid{display:flex;flex-direction:column;gap:28px;min-height:0}.self-preview{width:100%;aspect-ratio:1.2}.prepare{width:100%}.prepare h2{font-size:28px}.prepare .fine{margin-bottom:20px}.summary{padding:28px 20px;margin:8px 0}.summary h2{font-size:28px}.summary-row{font-size:12px}footer{flex-wrap:wrap;padding:16px;justify-content:center}footer>span{display:none}footer nav{gap:4px}footer button{font-size:11px;padding:8px 10px}.panel-hidden .video-frame{aspect-ratio:1}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}
/* Call controls stay in view on laptop screens. Context can scroll independently. */
@media(min-width:761px){header{height:80px}main{padding-top:16px}.call-heading{margin-bottom:16px}.video-frame{aspect-ratio:auto;min-height:0;height:clamp(320px,calc(100dvh - 306px),680px)}aside{max-height:calc(100dvh - 220px);overflow-y:auto}.control-bar{padding-top:16px}footer{padding-top:12px;padding-bottom:12px}.lobby-grid{min-height:480px;gap:48px}.self-preview{aspect-ratio:1.12}.prepare h2{margin-bottom:20px}.checklist>div{padding:12px 0}.summary{margin-top:12px;margin-bottom:12px;padding:32px}.panel-hidden .video-frame{aspect-ratio:auto}}

@media(min-width:761px){.tab-content{padding:16px 20px}.person-row{margin-bottom:16px}.reading{font-size:38px}.chart-head{margin-top:16px}.chart{height:118px}.legend{margin-bottom:12px}.data-row{padding:10px 0}.permission-note{padding-top:10px}}
@media(max-width:760px){.call-grid{grid-template-columns:minmax(0,1fr)}.video-column{min-width:0}.video-frame{min-height:0;width:100%;aspect-ratio:1}.video-name{max-width:calc(100% - 130px)}.video-name>span:last-child{font-size:10px}.person-row{flex-wrap:wrap}.text-status{font-size:10px}}
/* v4: keep complete measurement rows visible; the page owns vertical scrolling. */
@media(min-width:761px){.call-grid{align-items:stretch}.video-column{display:flex;flex-direction:column}.video-frame{flex:1;height:auto;min-height:414px}aside{max-height:none;overflow:visible}.control-bar{flex:none}.panel-hidden .video-frame{height:clamp(320px,calc(100dvh - 306px),680px);flex:none}}
