:root{--ink:#152B42;--muted:#526C81;--paper:#F1F6F9;--line:#D9E5EC;--clinical-blue:#5297CB;--clinical-teal:#55B8B1;--green:#6D55B1;font-family:ZadorexMontserrat,Montserrat,"Segoe UI",sans-serif}
body{background:#F1F6F9;color:#152B42;font-family:ZadorexMontserrat,Montserrat,"Segoe UI",sans-serif}h1,h2,h3,.button{font-weight:700}.topbar{border-top:3px solid transparent;border-image:linear-gradient(90deg,#55B8B1,#5297CB,#7160AA) 1;background:#fff;height:88px}.brand{gap:17px}.brand img{display:block;width:187px;height:auto;max-height:51px}.brand-product{font-size:8px;letter-spacing:1.2px;color:#526C81;max-width:90px;border-left:1px solid #D9E5EC;padding-left:15px;line-height:1.8;font-weight:700}.workshop-label{color:#526C81;font-size:8px;letter-spacing:1.1px}.button.primary{background:#6D55B1;border-color:#6D55B1;color:#fff}.button.primary:hover{background:#594397}.button.secondary{color:#3a647f;border-color:#cadce7}.button.text-button{color:#6D55B1}.eyebrow{color:#7160AA}.welcome-heading h1{color:#10273F;font-weight:700;font-size:34px}.welcome-heading>p{color:#526C81}.setup-progress li.current{color:#6D55B1}.setup-progress li.current>span{background:#6D55B1;border-color:#6D55B1}.setup-progress li.complete>span{background:#e9e3f5;border-color:#d3c7e9;color:#7160AA}.avatar-choice[aria-checked=true]{border-color:#6D55B1;box-shadow:0 0 0 1px #6D55B1;background:#f1edf9;color:#6D55B1}.avatar-choice[aria-checked=true]::after{background:#6D55B1}.skin-option[aria-checked=true]{outline-color:#6D55B1}.age-range,.condition-option input,.mission>input{accent-color:#7160AA}.preview-top .eyebrow{color:#7160AA}.preview-identity h2{font-weight:700;color:#10273F}.preview-art{margin-top:12px}.preview-art .avatar-art{width:116%;margin-left:-8%;max-height:460px}.avatar-preview{min-height:700px;background:#eaf1f7}.setup-card{min-height:700px}.body-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}.body-summary{margin-top:15px;display:flex;flex-direction:column;gap:7px}.body-summary>span{font-size:10px;color:#7160AA}.body-summary label{margin:0;font-size:11px}.body-summary select{margin-top:5px}.setup-actions{margin-top:8px}.setup-step{padding-bottom:22px}.scenario-options{display:flex;flex-direction:column;gap:10px}.scenario-choice{display:flex;align-items:flex-start;gap:11px;text-align:left;width:100%;background:#f8fbfd;border:1px solid #d5e3eb;padding:14px 13px;border-radius:7px}.scenario-choice.selected{background:#f1eef8;border-color:#b5a6d3}.scenario-choice>span:nth-child(2){flex:1}.scenario-choice b{font-size:12px;color:#355570;display:block}.scenario-choice small{font-size:10px;line-height:1.8;color:#6e8396;display:block;margin-top:5px}.scenario-choice i{font-style:normal;color:#7160AA;font-size:14px}.scenario-number{font-size:9px;padding:4px 5px;border-radius:4px;background:#e9e1f4;color:#7160AA;font-weight:700}.app-heading h1{font-weight:700;color:#10273F;font-size:27px}.app-heading .eyebrow{color:#7160AA}.tab.active{color:#6D55B1;border-color:#6D55B1}.guided-toggle{color:#7160AA}.toggle-dot{background:#7160AA}.journey{background:#eef1f8;border-color:#d5d8e9}.journey-content h2{color:#263f5b}.journey-content .eyebrow{color:#7160AA}.journey-content .button{font-size:10px}.journey-track button.active{color:#6D55B1}.journey-track button.active>span{background:#7160AA;border-color:#7160AA}.journey-track button.complete>span{background:#ded8ed;color:#7160AA}.monitor{background:#081A2C}.monitor>p{font-size:7px;line-height:1.9}.metric-top{gap:4px}.monitor-grid .metric-top{flex-wrap:wrap}.monitor-grid .pressure-card .metric-delta{display:block}.patient-stage{background:#ecf2f7}.stage-top h2{font-weight:700}.live-avatar .avatar-art{max-height:510px}.patient-scale{transform-origin:405px 580px;transform:scaleY(var(--body-height,1));transition:transform .4s}.body-volume{transform-origin:405px 330px;transform:scaleX(var(--body-width,1));transition:transform .4s}.leg-volume{transform-origin:405px 330px;transform:scaleX(var(--leg-width,1));transition:transform .4s}.clinical-bed,.oxygen-cannula,.oxygen-mask,.airway-tube,.blood-draw,.closed-eyes{display:none}.patient-stage[data-posture=supine] .patient-scale{transform:scaleX(var(--body-height,1));transform-origin:405px 400px}.patient-stage[data-posture=supine] .patient-figure{transform:translate(0,80px) rotate(-90deg);transform-origin:405px 320px}.patient-stage[data-posture=supine] .clinical-bed{display:initial}.patient-stage[data-oxygen=nasal][data-airway=no] .oxygen-cannula,.patient-stage[data-oxygen=mask][data-airway=no] .oxygen-mask,.patient-stage[data-airway=yes] .airway-tube{display:initial}.patient-stage[data-draw=yes] .blood-draw{display:initial}.patient-stage[data-consciousness=unresponsive] .eyes,.patient-stage[data-consciousness=sedated] .eyes{display:none}.patient-stage[data-consciousness=unresponsive] .closed-eyes,.patient-stage[data-consciousness=sedated] .closed-eyes{display:initial}.patient-stage[data-effort=none] .breathing-body,.patient-stage[data-effort=none] .eyes{animation:none!important}.patient-stage[data-outcome=deceased] .brow-stress,.patient-stage[data-outcome=deceased] .mouth-stress,.patient-stage[data-outcome=deceased] .sweat{display:none}.patient-stage[data-outcome=deceased] .brow-calm,.patient-stage[data-outcome=deceased] .mouth-calm{display:initial}.monitor[data-arrest=yes] .wave path,.monitor[data-outcome=deceased] .wave path{display:none}.monitor[data-arrest=yes] .wave::after{content:'SIN ACTIVIDAD EN EL GUION'}.phase-badge{font-size:8px}.action-tabs{display:flex;padding:0 11px;border-bottom:1px solid #dce6ef;gap:5px}.action-tabs button{background:none;border:0;border-bottom:2px solid transparent;font-size:9px;color:#71879c;padding:11px 7px}.action-tabs button[aria-selected=true]{border-bottom-color:#6D55B1;color:#6D55B1;font-weight:700}.clinical-form{padding:15px}.clinical-form label{margin-top:10px;font-size:10px}.clinical-form select{font-size:10px;padding:9px}.clinical-form .button{font-size:10px;margin-top:10px;white-space:normal;min-height:37px}.clinical-form h3{font-size:12px;color:#4c6880}.clinical-form .field-help{font-size:9px;line-height:1.8}.advanced-procedures{margin-top:17px;border-top:1px solid #d9e5ee;padding-top:13px}.advanced-procedures summary{font-size:10px;color:#7160AA;cursor:pointer}.advanced-procedures .button{font-size:9px}.lab-orders{padding:0 13px 14px;max-height:580px;overflow:auto}.lab-order{border:1px solid #dae6ed;background:#fff;border-radius:6px;padding:12px;margin:10px 0 0}.lab-order h3{font-size:11px;color:#44637e}.lab-order>p{font-size:8px;color:#7b95aa;margin-top:5px}.lab-status{display:inline-block;font-size:8px;color:#8e7638;background:#fbf4e2;border-radius:3px;padding:3px 5px;margin-top:6px}.lab-status.final{color:#29846d;background:#e6f7ef}.lab-order table{width:100%;border-collapse:collapse;font-size:9px;margin-top:10px}.lab-order th,.lab-order td{padding:8px 3px;text-align:left;border-bottom:1px solid #e4edf2;vertical-align:top;color:#59788f}.lab-order th{font-size:7px;color:#8ba1b3}.lab-order td small{display:block;font-size:7px;color:#94a6b3}.lab-order td:nth-child(2){font-weight:700;color:#426d87}.lab-order .abnormal td:nth-child(2){color:#bb5f55}.lab-empty{padding:10px 2px}.outcome-banner{background:#fff;border:1px solid #bacfdf;border-left:4px solid #6D55B1;padding:19px 20px;display:flex;gap:20px;align-items:center;justify-content:space-between;border-radius:7px;margin-bottom:18px}.outcome-banner .eyebrow{font-size:8px}.outcome-banner h2{font-size:21px;color:#253e57;margin-top:6px}.outcome-banner p{font-size:12px;line-height:1.8;margin-top:7px;color:#6b8297}.outcome-banner .button{font-size:10px}.outcome-banner[data-outcome=deceased],.outcome-banner[data-outcome=arrest],.outcome-banner[data-outcome=unconscious]{border-color:#e0bac5;border-left-color:#b34c68;background:#fff7f9}.outcome-banner[data-outcome=deceased] h2,.outcome-banner[data-outcome=arrest] h2{color:#a5415f}.outcome-banner[data-outcome=discharged]{border-color:#a4d6c4;border-left-color:#399f7e;background:#f5fdf8}.outcome-banner[data-outcome=discharged] h2{color:#39876c}.outcome-banner[data-outcome=transferred]{background:#f1f7fc;border-left-color:#5297CB}.checkbox-label{display:flex;align-items:flex-start;gap:10px;line-height:1.8;font-size:11px}.checkbox-label input{width:15px;height:15px;margin:3px 0 0;flex:none;accent-color:#7160AA}.rx-row{border:1px solid #d6e3ed;padding:16px;border-radius:6px;margin:20px 0;background:#f9fbfd}.rx-row legend{font-size:11px;font-weight:700;color:#7160AA;display:flex;justify-content:space-between;width:100%}.rx-row legend button{border:0;background:none;font-size:20px;color:#9c7ba3;padding:0 3px}.rx-row label{font-size:10px;margin-top:10px}.rx-row input,.rx-row textarea{font-size:11px;background:#fff}.rx-row .body-fields{gap:10px}.simulation-watermark{border:1px solid #d4c6e9;background:#f5f0fc;color:#7160AA!important;padding:11px 13px;font-size:10px!important;font-weight:700;line-height:1.9}#prescription-patient{font-size:11px;margin-top:15px}#prescription-form>.button{margin-top:22px}#prescription-dialog{max-width:720px}.chart-section .section-heading h2{font-size:20px}.chart{background:#081A2C}.research-prompt{background:#f0edf8}.research-prompt p{color:#6d6295}.result-card h3{color:#6D55B1}.resource-item.selected{background:#efeaf8;color:#6D55B1}pre{background:#081A2C}.json-heading{background:#edeaf5;color:#7160AA}.method-note summary{color:#7160AA}.toast{background:#10273F}footer{font-size:8px}
@media(min-width:1500px){.live-avatar .avatar-art{max-height:550px}.avatar-preview{min-height:760px}.setup-card{min-height:760px}.preview-art .avatar-art{max-height:500px}}
@media(max-width:1100px){.brand img{width:165px}.brand-product{display:none}.live-avatar .avatar-art{max-height:460px}.monitor-grid .metric-top{flex-wrap:wrap}.metric-flag{font-size:6px!important}.action-tabs button{font-size:8px;padding:10px 5px}.clinical-form{padding:13px}.clinical-form .button{font-size:9px}.scenario-choice small{font-size:9px}.outcome-banner h2{font-size:19px}.preview-art .avatar-art{width:140%;margin-left:-20%}}
@media(max-width:650px){.topbar{height:75px}.brand img{width:155px;max-height:40px}.welcome-heading h1{font-size:28px;max-width:360px}.welcome-heading>p{font-size:11px}.setup-card{min-height:0}.avatar-preview{min-height:0;height:175px;grid-template-columns:132px 1fr}.preview-art .avatar-art{width:260px;height:230px;margin-left:-66px;margin-top:0;max-height:none}.preview-identity h2{font-size:21px}.preview-identity p{font-size:9px;line-height:1.8}.body-fields{gap:12px}.body-summary>span{font-size:10px}.scenario-choice{padding:13px 11px;gap:10px}.scenario-choice b{font-size:11px}.scenario-choice small{font-size:9px}.app-heading h1{font-size:22px}.app-heading-actions .button{font-size:8px}.live-avatar .avatar-art{max-height:450px}.clinical-form{padding:17px}.clinical-form label{font-size:11px}.clinical-form select{font-size:12px}.clinical-form .button{font-size:12px;min-height:41px}.clinical-form .field-help{font-size:10px}.scenario-actions h2{font-size:14px}.action-tabs{gap:8px;padding:0 15px}.action-tabs button{font-size:11px;padding:13px 9px}.advanced-procedures summary{font-size:12px}.advanced-procedures .button{font-size:11px}.lab-order h3{font-size:13px}.lab-status{font-size:9px}.lab-order>p{font-size:9px}.lab-order table{font-size:11px}.lab-order th{font-size:9px}.lab-order td small{font-size:8px}.lab-orders{max-height:none}.metric-flag{font-size:8px!important}.monitor-grid .metric-top{flex-wrap:nowrap}.outcome-banner{flex-direction:column;align-items:start;padding:17px}.outcome-banner h2{font-size:21px}.outcome-banner p{font-size:11px}.outcome-banner .button{font-size:11px;width:100%}.rx-row{padding:13px}.rx-row .body-fields{grid-template-columns:1fr}.checkbox-label{font-size:10px}.simulation-watermark{font-size:9px!important}.journey-content .button{font-size:10px}}
@media(prefers-reduced-motion:reduce){.patient-scale,.body-volume,.leg-volume{transition:none!important}}
.presentation-options{display:grid;grid-template-columns:1fr 1fr;gap:10px}.presentation-choice{background:#f8fbfd;border:1px solid #D9E5EC;border-radius:7px;padding:11px 15px;text-align:left;color:#334D64}.presentation-choice span{font-size:12px;font-weight:700;display:block}.presentation-choice small{font-size:9px;display:block;color:#526C81;margin-top:3px}.presentation-choice[aria-checked=true]{border-color:#6D55B1;box-shadow:inset 0 0 0 1px #6D55B1;background:#f2eef9;color:#6D55B1}.avatar-choice .avatar-art{border-radius:5px}.avatar-preview .preview-art{margin-top:20px}.patient-stage[data-posture=supine] .anatomy-labels{display:none}.patient-stage[data-effort=none] .avatar-art .eyes{animation:none!important}
.setup-card,.result-card,.conversation,.scenario-actions{background:#fff}.setup-step label{color:#334D64}.setup-step input,.setup-step select,.setup-step textarea{background:#f8fbfd;border-color:#d2e0e9;color:#334D64}.step-heading h2,.learning-route strong{color:#334D64}.step-heading p,.field-help,.learning-route p,.subtle-note,.welcome-footnote,.preview-bottom p,.preview-bottom strong{color:#526C81}.setup-progress,.advanced-settings{border-color:#D9E5EC}.advanced-settings summary,.advanced-settings summary::before,.preview-plus,.route-final{color:#7160AA}.setup-summary{background:#F1F6F9;border-color:#D9E5EC;color:#526C81}.setup-summary b{color:#10273F}.learning-route li>span{background:#eee9f7;color:#7160AA}.resume-banner{background:#eff1f8;border-color:#d7d9eb;color:#526C81}.resume-banner strong{color:#7160AA}.preview-bottom{border-color:#cadbe6}.condition-option small,.optional{color:#526C81}.monitor .metric-top>span:first-child{color:#bed2e2}

@media(max-width:650px){.avatar-preview .preview-art{margin-top:0}}
.case-brief{padding:16px 20px;background:#fff;border:1px solid #D9E5EC;border-radius:7px;margin:0 0 17px}.case-brief summary{cursor:pointer;display:flex;align-items:center;gap:15px;flex-wrap:wrap;color:#334D64}.case-brief summary .eyebrow{font-size:8px}.case-brief summary strong{font-size:12px}.case-brief summary>span:last-child{margin-left:auto;font-size:9px;color:#7160AA}.case-brief p,.case-brief li{font-size:12px;color:#526C81;line-height:1.9}.case-brief>p{margin-top:16px}.case-brief ol{padding-left:21px;margin:12px 0}.case-brief .case-question{border-top:1px solid #D9E5EC;padding-top:13px;color:#6D55B1}.learning-section{border-top:1px solid #D9E5EC;margin-top:30px;padding-top:28px}.learning-section h2{font-size:23px;color:#10273F}.evidence-strip{background:#edf3f8;border-left:3px solid #5297CB;border-radius:4px;padding:14px 17px;font-size:11px;line-height:1.9;color:#334D64;margin:18px 0}.learning-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px 22px}.learning-grid label,.rubric-panel label{font-size:12px;color:#334D64}.learning-grid textarea{font-size:12px;line-height:1.8;background:#fff}.rubric-panel{margin-top:24px;border:1px solid #D9E5EC;background:#fff;border-radius:7px;padding:17px 20px}.rubric-panel summary{cursor:pointer;font-size:12px;color:#6D55B1;font-weight:700}.rubric-panel label small{display:block;font-size:10px;line-height:1.8;color:#526C81;font-weight:400;margin:8px 0}.rubric-panel select{font-size:11px;background:#f8fbfd}.rubric-panel>label{max-width:280px}.learning-downloads{display:flex;gap:12px;flex-wrap:wrap;margin-top:20px}.learning-downloads .button{font-size:11px}@media(max-width:650px){.learning-grid{grid-template-columns:1fr}.case-brief{padding:15px}.case-brief summary{gap:6px 12px}.case-brief summary>span:last-child{width:100%;margin:0}.learning-section h2{font-size:21px}.learning-downloads .button{width:100%;white-space:normal}.rubric-panel{padding:16px}.learning-grid label{font-size:12px}.learning-grid textarea{font-size:12px}}

/* Estación clínica: entrevista lateral, paciente central y monitor independiente. */
.app-shell{max-width:1600px;padding-left:28px;padding-right:28px}
.lab-layout{display:grid;grid-template-columns:minmax(245px,.85fr) minmax(370px,1.65fr) minmax(270px,.9fr);grid-template-areas:"chat patient monitor" "chat actions actions" "events events events";gap:20px;align-items:start}
.simulation-column{grid-area:patient;min-width:0}
.lab-layout>.conversation{grid-area:chat;position:sticky;top:20px;display:flex;flex-direction:column;min-width:0;height:min(760px,calc(100dvh - 40px));min-height:470px;border:1px solid #d4e2eb;border-radius:12px;padding:19px 17px;box-shadow:0 5px 20px #10273f05}
.conversation .section-heading{margin:0 0 16px}.conversation .section-heading h2{font-size:17px;line-height:1.4;color:#10273f}.conversation .eyebrow{font-size:8px;letter-spacing:1.3px}
.chat-identity{display:flex;align-items:center;gap:9px;border-bottom:1px solid #e0e9ef;padding-bottom:15px;margin-bottom:14px}.chat-identity>div{min-width:0;flex:1}.chat-identity strong{display:block;font-size:11px;color:#334d64;overflow-wrap:anywhere}.chat-identity #chat-status{display:block;font-size:9px;color:#607b90;margin-top:5px}.chat-status-dot{flex:none;width:8px;height:8px;background:#27856b;border-radius:50%;box-shadow:0 0 0 4px #27856b14}.conversation[data-available=no] .chat-status-dot{background:#ab6d07;box-shadow:0 0 0 4px #ab6d0714}.chat-identity .quiet-badge{font-size:8px;padding:4px 6px;background:#f0ecf8;color:#6d55b1;border:0}
.conversation .dialogue-log{flex:1;min-height:160px;max-height:none;padding:2px 3px 12px;scrollbar-width:thin;overscroll-behavior:contain}.dialogue-log:empty::before{font-size:11px;line-height:1.9;color:#647e91;padding:16px 4px;content:'Empieza por «Síntomas» o escribe una pregunta. Las respuestas cambian con el estado del paciente.'}.conversation .dialogue-message{max-width:96%;font-size:11px;line-height:1.8;border:1px solid transparent;padding:11px 12px}.conversation .dialogue-message.user{background:#f0edf8;color:#5a4780}.conversation .dialogue-message.patient{background:#edf6f7;color:#345d6e;border-color:#dceced}.conversation .dialogue-message small{font-size:7px;line-height:1.6;letter-spacing:.3px;color:#60798c}
.conversation .quick-questions{gap:6px;margin:13px 0 12px}.conversation .quick-questions button{font-size:10px;min-height:32px;padding:6px 10px;border-radius:6px}.conversation .question-form{display:grid;grid-template-columns:1fr;gap:8px}.conversation .question-form input{font-size:12px;min-height:42px;width:100%;margin:0}.conversation .question-form .button{min-height:39px;font-size:11px}.conversation>.field-help{font-size:9px;line-height:1.8;margin-top:10px}
.lab-layout>.monitor{grid-area:monitor;position:sticky;top:20px;min-width:0;width:100%;padding:19px 17px;border-radius:12px}.lab-layout .monitor-heading h2{font-size:16px}.lab-layout .monitor-kicker{font-size:7px;letter-spacing:1px}.lab-layout .monitor-heading>span{font-size:8px;padding:4px 6px}.lab-layout .monitor-toolbar{gap:6px;margin-top:12px}.lab-layout .monitor-toolbar button{font-size:9px;min-height:29px}.lab-layout .oxygen{padding-top:18px}.lab-layout .oxygen strong{font-size:65px}.lab-layout .monitor-grid strong{font-size:31px}.lab-layout .monitor-grid .pressure{font-size:23px}.lab-layout .monitor-grid>div{padding-top:13px;padding-bottom:13px}.lab-layout .monitor-grid>div:nth-child(even){padding-left:13px}.lab-layout .monitor-grid .metric-top{gap:5px}.lab-layout .metric-top>span:first-child{font-size:10px}.lab-layout .metric-flag{font-size:7px!important}.lab-layout .metric-delta{font-size:9px!important}.lab-layout .metric-spark{height:27px;margin-top:6px}.lab-layout .wave{height:26px;margin:8px 0}.lab-layout .wave-caption{font-size:7px}.lab-layout .monitor>p{font-size:7px}
.patient-stage{border-radius:12px}.stage-top{padding:18px 20px 15px;gap:12px}.stage-top h2{font-size:25px;color:#10273f}.stage-top p{font-size:10px;line-height:1.7;max-width:330px}.stage-top .eyebrow{font-size:8px}.stage-file{font-size:9px;padding:8px 10px;flex-shrink:0;min-height:34px}.live-avatar .avatar-art{height:clamp(330px,47vh,440px);width:100%;max-height:none;margin:0;background:#e7eff6}.scene-caption{font-size:8px;line-height:1.7;text-align:center;color:#5d778b;padding:0 12px 8px;background:#e1ebf3}
.scene-feedback{display:flex;align-items:center;gap:10px;padding:12px 17px;background:#f5f2fb;border-top:1px solid #e3dcef;border-bottom:1px solid #e3dcef;min-height:66px;color:#635086}.scene-feedback>span:first-child{font-size:18px;min-width:24px;text-align:center;font-weight:700}.scene-feedback>div{flex:1;min-width:0}.scene-feedback strong{display:block;font-size:11px;line-height:1.5;color:#594278}.scene-feedback p{font-size:10px;line-height:1.7;color:#685e7a;margin-top:3px}.scene-live-label{display:none}.scene-feedback[data-tone=watch]{background:#fff6e8;border-color:#ecd2a5;color:#9d681d}.scene-feedback[data-tone=watch] strong,.scene-feedback[data-tone=watch] p{color:#8c601e}.scene-feedback[data-tone=safe]{background:#edf9f3;border-color:#bde0ce;color:#337e68}.scene-feedback[data-tone=safe] strong,.scene-feedback[data-tone=safe] p{color:#34755f}
.scene-status{display:flex;flex-wrap:wrap;gap:6px;padding:11px 14px;background:#f8fbfd;border-top:1px solid #d4e2eb}.scene-status>span{font-size:9px;line-height:1.6;border:1px solid #d3e1eb;border-radius:5px;background:#fff;padding:4px 7px;color:#506d83}.scene-status>span[data-tone=watch]{color:#925f18;background:#fff4e1;border-color:#ebcc92}.scene-status>span[data-tone=safe]{color:#26715c;background:#eff9f4;border-color:#b6dcca}
.clinical-observations{grid-template-columns:repeat(3,1fr);padding:12px 15px}.clinical-observations>div:last-child{display:block}.clinical-observations span{font-size:7px}.clinical-observations strong{font-size:11px}.scene-bottom{padding:10px 15px}.scene-bottom>span{font-size:10px}.patient-quote{flex-wrap:wrap;padding:12px 15px;gap:8px}.patient-quote p{font-size:11px;line-height:1.8;flex:1}.patient-quote .phase-badge{font-size:8px;white-space:normal;max-width:160px}.time-controls{background:#fff;border:1px solid #d5e3ec;border-radius:10px;margin:12px 0 0;padding:13px 15px;gap:10px}.simulation-clock strong{font-size:24px}.simulation-clock>span{font-size:7px}.simulation-clock small{font-size:8px}.time-buttons{gap:6px;flex-wrap:wrap;justify-content:flex-end}.time-buttons .button{font-size:10px;padding:9px 10px;min-height:36px}
.lab-layout>.scenario-actions{grid-area:actions;min-width:0;width:100%;border-radius:12px;overflow:hidden}.scenario-actions>.section-heading{padding:19px 22px 10px}.scenario-actions .section-heading h2{font-size:18px;color:#10273f}.action-tabs{padding:0 17px;gap:15px}.action-tabs button{font-size:11px;padding:12px 8px;min-height:42px}.action-tabs button:focus-visible,.medication-tools summary:focus-visible{outline:3px solid #55b8b1;outline-offset:-3px}.scenario-actions #actions-treatment{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start}.environment-actions{padding:19px 5px 19px 20px}.environment-actions h3,.clinical-form h3{font-size:11px;color:#526c81;margin:0 0 10px}.environment-actions .action-button{border:1px solid #dce7ee;border-radius:8px;margin:8px 0;padding:12px;min-height:65px;background:#fff;gap:10px;font-size:11px}.environment-actions .action-button:not(:disabled):hover{background:#f2f6fb;border-color:#b5cbdc}.environment-actions .action-button small{font-size:9px;line-height:1.7}.environment-actions .action-icon{width:30px;height:30px;flex-shrink:0;font-size:19px}.environment-actions .action-button:disabled{opacity:.48;cursor:default}.clinical-form{padding:19px 20px}.clinical-form label{font-size:11px;margin-top:10px;color:#334d64}.clinical-form select{font-size:11px;min-height:39px}.clinical-form .button{font-size:11px;min-height:39px}.clinical-form .field-help{font-size:10px}.medication-tools{border:1px solid #d9e4ee;border-radius:7px;padding:12px;margin-top:18px;background:#f9fbfd}.medication-tools summary,.advanced-procedures summary{font-size:11px;line-height:1.7;cursor:pointer;color:#6d55b1;font-weight:700}.advanced-procedures .button{font-size:10px}.compare-action{padding:15px 20px;border-top:1px solid #dce6ef;display:flex;align-items:center;gap:16px}.compare-action .button{width:auto;flex-shrink:0;font-size:11px;margin:0;min-height:38px}.compare-action p{font-size:10px;line-height:1.8;margin:0}.lab-layout>.event-details{grid-area:events;margin:0;background:#fff;border:1px solid #d5e3ec;border-radius:8px;padding:15px 18px}.event-details summary{font-size:11px}.event-details ol{max-height:220px;overflow:auto}.lab-orders{max-height:none;padding:0 20px 20px}.lab-order h3{font-size:12px}.lab-order table{font-size:11px}.lab-order th{font-size:9px}.lab-order td small{font-size:9px}.lab-order>p,.lab-status{font-size:9px}
#view-lab .journey{padding:17px 20px;margin-bottom:13px}#view-lab .journey-track{margin-bottom:13px}#view-lab .journey-content h2{font-size:21px}#view-lab .journey-content p{font-size:11px;line-height:1.8;max-width:760px}#view-lab .case-brief{margin-bottom:13px;padding:13px 18px}#view-lab .alert-banner{padding:13px 17px;margin-bottom:18px}#view-lab .alert-message h2{font-size:15px}#view-lab .alert-message p{font-size:11px}
/* Efectos persistentes proceden del estado, acuses breves de los eventos registrados. */
.patient-stage .smoke-cloud{opacity:0;fill:#6c7f8f;transition:opacity .85s ease;pointer-events:none}.patient-stage[data-exposure=smoke] .smoke-cloud{opacity:.64}.patient-stage[data-exposure=irritant] .smoke-cloud{opacity:.33}.smoke-drift{transform-box:fill-box;transform-origin:center;animation:scene-smoke 5s ease-in-out infinite alternate}.smoke-two{animation-delay:-2s;animation-duration:6s}.smoke-three{animation-delay:-4s;animation-duration:7s}.patient-stage[data-exposure=clear] .smoke-drift{animation-play-state:paused}
.patient-stage[data-exposure=allergen] .scene-allergen,.patient-stage[data-team=yes] .scene-team,.patient-stage[data-laboratory=processing] .scene-lab,.patient-stage[data-laboratory=final] .scene-lab,.patient-stage[data-airway=yes] .scene-ventilator,.patient-stage[data-outcome=discharged] .scene-closure,.patient-stage[data-outcome=transferred] .scene-closure{display:inline}
.patient-stage[data-oxygen=nasal][data-airway=no] .scene-oxygen-supply,.patient-stage[data-oxygen=mask][data-airway=no] .scene-oxygen-supply{display:inline}
.patient-stage[data-medication]:not([data-medication=none]) .scene-medication{display:inline}.patient-stage .lab-check{display:none}.patient-stage[data-laboratory=processing] .lab-progress{animation:scene-lab-pulse 1.5s ease-in-out infinite}.patient-stage[data-laboratory=final] .lab-progress{display:none}.patient-stage[data-laboratory=final] .lab-check{display:inline}.patient-stage[data-ventilation=no] .ventilator-wave{opacity:.15}.patient-stage[data-ventilation=yes] .ventilator-wave{stroke-dasharray:70;animation:scene-ventilation 2.5s linear infinite}
.patient-stage[data-draw=yes] .blood-draw{display:none}.patient-stage[data-scene-action=draw] .blood-draw{display:inline;animation:scene-acknowledge 1s ease-in-out infinite alternate}.patient-stage[data-scene-action=medication][data-medication=salbutamol] .scene-inhaler,.patient-stage[data-scene-action=medication][data-medication=ipratropium] .scene-inhaler{display:inline}.medication-mist{stroke-dasharray:8;animation:scene-mist 1s linear infinite}.patient-stage[data-scene-action=medication] .scene-medication,.patient-stage[data-scene-action=support] .scene-team,.patient-stage[data-scene-action=documentation] .scene-closure{display:inline;animation:scene-acknowledge 1s ease-in-out infinite alternate}.patient-stage[data-cpr=yes] .scene-cpr{display:inline}.cpr-ring{transform-box:fill-box;transform-origin:center;animation:scene-cpr 1.3s ease-in-out infinite}.patient-stage[data-outcome=deceased] .scene-cpr{display:none}.patient-stage[data-outcome=discharged] .patient-figure{animation:scene-discharge 1.6s ease-out both}
@keyframes scene-smoke{from{transform:translate(12px,8px) scale(.93)}to{transform:translate(-27px,-16px) scale(1.08)}}@keyframes scene-lab-pulse{50%{opacity:.35}}@keyframes scene-ventilation{to{stroke-dashoffset:-140}}@keyframes scene-mist{to{stroke-dashoffset:-16}}@keyframes scene-acknowledge{from{opacity:.55}to{opacity:1}}@keyframes scene-cpr{50%{transform:scale(1.1);opacity:.5}}@keyframes scene-discharge{from{opacity:1;transform:translateX(0)}to{opacity:1;transform:translateX(28px)}}
@media(min-width:1600px){.scene-live-label{display:block;font-size:7px;letter-spacing:.8px}.lab-layout{grid-template-columns:300px minmax(0,1fr) 310px;gap:24px}.live-avatar .avatar-art{height:470px}}
@media(max-width:1100px) and (min-width:761px){.app-shell{padding-left:20px;padding-right:20px}.lab-layout{grid-template-columns:minmax(235px,.85fr) minmax(350px,1.4fr);grid-template-areas:"chat patient" "monitor actions" "events events";gap:18px}.lab-layout>.conversation{height:650px;position:static}.lab-layout>.monitor{position:static}.live-avatar .avatar-art{height:360px}.scenario-actions #actions-treatment{grid-template-columns:1fr}.environment-actions{padding:17px 17px 0}.clinical-form{padding:17px}.compare-action{flex-direction:column;align-items:stretch;gap:8px}.compare-action .button{width:100%}.action-tabs{gap:4px;padding:0 10px}.action-tabs button{font-size:10px;padding:12px 6px}}
@media(max-width:760px){.app-shell{padding:0 15px}.lab-layout{display:flex;flex-direction:column;gap:16px}.simulation-column{width:100%;order:1}.lab-layout>.conversation{position:static;width:100%;height:480px;min-height:0;order:3;padding:18px}.lab-layout>.monitor{position:static;order:2;padding:18px}.lab-layout>.scenario-actions{order:4}.lab-layout>.event-details{order:5;width:100%}.live-avatar .avatar-art{height:350px}.stage-top{padding:16px;gap:8px}.stage-top h2{font-size:23px}.stage-top p{font-size:10px}.scene-feedback{padding:11px 14px}.scene-status{padding:10px 12px}.scene-status>span{font-size:9px}.clinical-observations{padding:11px 13px;gap:7px}.clinical-observations strong{font-size:10px}.time-controls{padding:12px}.time-buttons .button{font-size:9px;padding:8px}.simulation-clock strong{font-size:23px}.patient-quote .phase-badge{max-width:none}.conversation .question-form{grid-template-columns:1fr auto}.conversation .quick-questions button{font-size:10px}.scenario-actions #actions-treatment{grid-template-columns:1fr}.environment-actions{padding:17px 17px 0}.environment-actions .action-button{font-size:12px;min-height:66px}.environment-actions .action-button small{font-size:10px}.clinical-form{padding:17px}.clinical-form select,.clinical-form .button{font-size:12px;min-height:42px}.action-tabs{padding:0 12px;gap:8px}.action-tabs button{font-size:10px;padding:12px 6px}.compare-action{flex-direction:column;align-items:stretch;gap:8px}.compare-action .button{width:100%}.scene-bottom>span{font-size:9px}.scene-caption{font-size:7px}.lab-layout .oxygen{padding-top:12px}.lab-layout .monitor-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:0 10px}.lab-layout .monitor-grid>div,.lab-layout .monitor-grid>div:nth-child(even){border:0;padding:12px 0 8px}.lab-layout .monitor-grid strong{font-size:28px}.lab-layout .monitor-grid .pressure{font-size:20px;line-height:1.8}.lab-layout .monitor-grid .metric-top{flex-wrap:wrap}.lab-layout .oxygen strong{font-size:57px}.lab-layout .monitor-toolbar{margin-top:8px}}
@media(max-width:450px){.lab-layout .monitor-grid{grid-template-columns:1fr 1fr}.lab-layout .monitor-grid strong{font-size:33px}.lab-layout .monitor-grid .pressure{font-size:25px}.lab-layout .monitor-grid .metric-top{flex-wrap:nowrap}.conversation .question-form{grid-template-columns:1fr}.time-controls{align-items:flex-start}.time-buttons{max-width:220px}.scene-feedback p{font-size:9px}.stage-file{font-size:8px;padding:7px}.clinical-observations strong{font-size:9px}}
@media(prefers-reduced-motion:reduce){.patient-stage .smoke-cloud{transition:none}.smoke-drift,.lab-progress,.ventilator-wave,.medication-mist,.cpr-ring,.patient-stage .scene-medication,.patient-stage .scene-team,.patient-stage .scene-closure,.patient-stage .blood-draw,.patient-stage[data-outcome=discharged] .patient-figure{animation:none!important}}

.scope-card{max-width:1160px;margin:18px auto;padding:15px 19px;border:1px solid #cbdce8;border-left:3px solid #7160aa;border-radius:8px;background:#f7f9fd}.scope-card strong{display:block;font-size:12px;color:#4b4270}.scope-card p{font-size:11px;line-height:1.85;color:#526c81;margin-top:6px}.onboarding>.scope-card{max-width:none;margin:18px 0 24px}.clinical-form .checkbox-label{font-size:10px;margin:15px 0;line-height:1.8}.clinical-form .checkbox-label input{flex:none;width:16px;height:16px;margin-top:3px}#legacy-banner{margin-top:14px}#comparison-scope{font-size:11px}.clinical-form #workshop-mode-note{margin-top:17px;padding-top:13px;border-top:1px solid #d9e5ee}@media(max-width:650px){.scope-card{padding:13px 15px}.scope-card p{font-size:10px}.scope-card strong{font-size:11px}}

/* Case creation, explicit reasoning and a bounded synthetic FHIR workspace. */
.case-authoring,.reasoning-panel,.medication-comparison,.challenge-analysis{padding:24px;background:#fff;border:1px solid var(--line,#d9e5ec);border-radius:14px;margin:22px 0}
.case-authoring summary{cursor:pointer;font-weight:700;color:var(--ink,#152b42)}
.case-authoring>p,.reasoning-panel>p,.medication-comparison>p,.challenge-analysis>p{font-size:13px;line-height:1.8;margin:12px 0;color:#526c81}
.case-authoring label,.reasoning-panel label,.fhir-dialog label{display:grid;gap:7px;font-size:12px;color:#36536b}
.case-authoring textarea,.reasoning-panel textarea,.fhir-dialog input,.fhir-dialog select{width:100%;border:1px solid #c7d9e4;border-radius:7px;background:#fbfdfe;color:#152b42;padding:11px;font:inherit}
.author-allergy{border:1px solid #d9e5ec;border-radius:9px;padding:16px;margin:16px 0}.author-allergy legend{font-size:12px;font-weight:700;padding:0 6px}.author-allergy legend button{margin-left:18px;border:0;background:transparent;font-size:20px;cursor:pointer}
.fhir-launch{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding:16px;margin-top:16px;background:#f1f6f9;border-radius:10px;font-size:12px}
.reasoning-panel .learning-grid{margin:18px 0}.reasoning-panel .learning-downloads{align-items:center}
#allergy-information{border-left:4px solid #c38c28;background:#fff9ed;padding:12px 16px;margin:15px 0;font-size:12px;line-height:1.8}#allergy-information p{margin:0 0 5px}
#challenge-observed{padding:14px;background:#f1f6f9;border-radius:8px}#challenge-hint-text{color:#6d55b1;font-size:13px}
#reasoning-history{padding-left:22px;font-size:12px;line-height:1.7}#reasoning-history p{margin:3px 0}.reasoning-panel label:has(input[type=checkbox]),.case-authoring label:has(input[type=checkbox]){display:flex;align-items:center;gap:9px}.reasoning-panel input[type=checkbox],.case-authoring input[type=checkbox]{width:auto}
.fhir-dialog{width:min(1120px,94vw);max-height:91vh;padding:30px;overflow:auto}.fhir-dialog>p{font-size:13px;line-height:1.8;color:#526c81;margin:12px 0}.fhir-controls{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin:18px 0}.fhir-controls label{flex:1;min-width:160px}.fhir-workspace{display:grid;grid-template-columns:250px minmax(0,1fr);gap:22px}.fhir-workspace aside{border-right:1px solid #d9e5ec;padding-right:18px}.fhir-workspace h3{font-size:14px;margin-bottom:12px}.fhir-patient{display:block;width:100%;text-align:left;border:1px solid #d9e5ec;background:#f7fafc;border-radius:8px;padding:12px;margin-bottom:9px;cursor:pointer;font:inherit;font-size:11px;overflow-wrap:anywhere}.fhir-patient:hover,.fhir-patient:focus-visible{border-color:#6d55b1;background:#f3f0fa}#fhir-query{display:block;font-size:11px;overflow-wrap:anywhere;color:#6d55b1;margin:12px 0}#fhir-json{font:12px/1.7 monospace;background:#10273f;color:#d8eaf3;border-radius:9px;max-height:360px;overflow:auto;padding:20px;white-space:pre}#fhir-status{min-height:24px;color:#36536b}
@media(max-width:800px){.fhir-workspace{grid-template-columns:1fr}.fhir-workspace aside{border-right:0;border-bottom:1px solid #d9e5ec;padding:0 0 14px}#fhir-patients{display:flex;overflow:auto;gap:8px}.fhir-patient{min-width:190px}.fhir-dialog{padding:22px}.case-authoring,.reasoning-panel,.medication-comparison,.challenge-analysis{padding:18px}}

/* The classroom starts from a clinical record, then makes interoperability visible. */
.workshop-home{max-width:1220px;margin:60px auto 36px;padding:0 32px;display:grid;grid-template-columns:1.1fr 1fr;gap:48px;align-items:center}.home-copy h1{font-size:clamp(32px,4vw,52px);font-weight:700;letter-spacing:-1.8px;line-height:1.17;color:#10273f;margin:16px 0 24px}.home-copy>p{font-size:15px;line-height:1.9;color:#526c81;max-width:540px}.home-actions{display:flex;flex-wrap:wrap;gap:12px;margin:27px 0 14px}.home-route{list-style:none;background:#fff;border:1px solid #d9e5ec;border-radius:16px;padding:15px 26px;margin:0}.home-route li{display:flex;gap:18px;padding:22px 0;border-bottom:1px solid #e7eef2}.home-route li:last-child{border-bottom:0}.home-route li>span{font-size:13px;color:#6d55b1;font-weight:700;background:#f0ecf8;border-radius:8px;padding:8px;align-self:start}.home-route strong{font-size:14px;color:#18384f}.home-route p{font-size:12px;line-height:1.8;color:#526c81;margin:6px 0 0}.home-scope{grid-column:1/-1;border-left:4px solid #55b8b1;background:#edf7f6;padding:15px 20px;font-size:12px;line-height:1.9;color:#36536b;border-radius:0 9px 9px 0}.home-scope strong{color:#18384f}
.classroom-dialog{width:min(1080px,94vw);max-height:92vh;padding:32px;overflow:auto}.classroom-heading h2{margin:10px 0;font-size:26px;letter-spacing:-.7px;color:#10273f}.classroom-heading p{max-width:850px;line-height:1.8;font-size:13px;color:#526c81}.classroom-access{display:flex;align-items:end;flex-wrap:wrap;gap:12px;background:#f1f6f9;border-radius:10px;padding:18px;margin:20px 0}.classroom-access label{min-width:220px;flex:1}.classroom-access p{width:100%;font-size:12px;line-height:1.8;color:#526c81;margin:0}.classroom-dialog label{display:grid;gap:7px;color:#36536b;font-size:12px}.classroom-dialog input:not([type=checkbox]),.classroom-dialog select,.classroom-dialog textarea{width:100%;border:1px solid #c7d9e4;background:#fbfdfe;border-radius:7px;padding:11px;color:#152b42;font:inherit}.classroom-dialog textarea{resize:vertical;line-height:1.7}.classroom-dialog input:focus-visible,.classroom-dialog textarea:focus-visible,.classroom-dialog select:focus-visible{outline:2px solid #6d55b1;outline-offset:2px}.classroom-identity{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #b4dcd7;background:#edf7f6;border-radius:10px;padding:15px 20px;margin:18px 0}.classroom-identity div{display:grid;gap:5px}.classroom-identity span{font-size:11px;color:#526c81}.classroom-identity strong{font-size:15px;color:#18384f}.intake-section{border:1px solid #d9e5ec;border-radius:11px;background:#fff;margin:15px 0;padding:18px}.intake-section>summary{cursor:pointer;font-weight:700;font-size:14px;color:#18384f}.intake-section[open]>summary{margin-bottom:20px}.intake-section>label{margin:14px 0}.intake-section h3{font-size:13px;margin:22px 0 10px}.intake-measurements{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:18px 0}.intake-measurements small,.intake-problem small{display:block;font-size:10px;color:#718a9a;line-height:1.6}.intake-problem{display:grid;grid-template-columns:1.1fr 1fr 1fr;align-items:center;gap:16px;padding:13px 0;border-bottom:1px solid #e7eef2}.intake-problem>label:first-child{display:flex;align-items:center;gap:9px}.intake-problem input[type=checkbox]{width:17px;height:17px;flex-shrink:0}.intake-allergy{padding:16px;border:1px solid #e3cfaa;border-radius:9px;margin:18px 0;background:#fffbf3}.intake-allergy legend{font-size:12px;font-weight:700;padding:0 6px}.intake-allergy legend button{border:0;background:transparent;margin-left:15px;font-size:20px;cursor:pointer}.intake-attestation{display:flex!important;align-items:start;gap:11px!important;background:#edf7f6;padding:16px;border-radius:8px;font-size:12px!important;line-height:1.8;margin:22px 0}.intake-attestation input{margin-top:5px;flex-shrink:0}.intake-status{min-height:24px;font-size:13px;line-height:1.8;color:#36536b;margin:15px 0}.standards-map p{font-size:12px;line-height:1.9;color:#526c81;margin:10px 0}#intake-fhir-preview{background:#10273f;color:#d8eaf3;padding:20px;border-radius:8px;overflow:auto;max-height:360px;font:11px/1.7 monospace;white-space:pre}.fhir-origin{padding:16px 20px;margin:15px 0 24px;border-left:4px solid #55b8b1;border-radius:0 9px 9px 0;background:#edf7f6}.fhir-origin strong{font-size:13px;color:#18384f}.fhir-origin p{font-size:12px;line-height:1.8;color:#36536b;margin:8px 0}
@media(max-width:960px){.workshop-home{grid-template-columns:1fr;gap:28px;margin-top:34px}.home-copy h1 br{display:none}.intake-measurements{grid-template-columns:repeat(2,minmax(0,1fr))}.home-copy>p{max-width:none}}
@media(max-width:600px){.workshop-home{padding:0 20px;margin-top:24px}.home-route{padding:6px 18px}.home-copy h1{letter-spacing:-1px}.home-actions{display:grid}.classroom-dialog{padding:24px 18px}.classroom-identity{align-items:start;flex-direction:column}.intake-problem{grid-template-columns:1fr;gap:10px}.intake-section{padding:15px}.classroom-access{padding:15px}.classroom-access label{min-width:0;width:100%}}

[hidden]{display:none!important}
.disease-builder{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:24px;border:1px solid #cbdedc;background:#f3f9f8;border-radius:13px;padding:22px;margin:20px 0}.disease-builder h3{font-size:24px;letter-spacing:-.6px;color:#10273f;margin:9px 0}.disease-builder p{font-size:12px;line-height:1.9;color:#526c81;margin:10px 0}.disease-presets{display:flex;gap:9px;flex-wrap:wrap;margin:17px 0}.disease-presets button{border:1px solid #bdd2dc;border-radius:8px;background:#fff;color:#36536b;font:inherit;font-size:12px;padding:11px 13px;cursor:pointer}.disease-presets button[aria-pressed=true]{background:#10273f;border-color:#10273f;color:#fff}.disease-presets button:focus-visible{outline:2px solid #6d55b1;outline-offset:3px}.intake-avatar-card{border:1px solid #d9e5ec;border-radius:11px;background:#fff;overflow:hidden;text-align:center;padding-bottom:12px}.intake-avatar-card .avatar-surface{height:230px;overflow:hidden;background:linear-gradient(#eef5f8,#f8fbfc)}.intake-avatar-card .avatar-art{display:block;width:100%;height:100%}.intake-avatar-card p{font-weight:700;color:#18384f;margin:10px 0 5px}.intake-avatar-card small{display:block;font-size:10px;line-height:1.7;color:#718a9a;padding:0 12px}.intake-laboratory{margin-top:20px}.intake-lab-toggle{display:flex!important;align-items:center;gap:10px!important}.intake-lab-toggle input{width:16px;height:16px}#intake-profile-summary{font-weight:700;color:#36536b}
@media(max-width:650px){.disease-builder{grid-template-columns:1fr;padding:17px}.intake-avatar-card{max-width:220px;justify-self:center}.disease-builder h3{font-size:22px}}

/* Long forms keep their usable width; the base dialog max-width was 610px. */
.classroom-dialog,.fhir-dialog{max-width:calc(100vw - 32px);max-height:92dvh;overscroll-behavior:contain;scrollbar-gutter:stable}.classroom-dialog:focus{outline:none}.classroom-dialog .dialog-close{min-width:40px;min-height:40px}.classroom-heading{padding-right:34px}.classroom-dialog .intake-status{scroll-margin:24px}.classroom-dialog #classroom-access-status:empty{display:none}

/* Checkbox controls must not inherit the full width of text inputs. */
.classroom-dialog input[type=checkbox]{width:18px;height:18px;min-width:18px;max-width:18px;padding:0;margin:3px 0 0;flex:0 0 18px;accent-color:#6d55b1}
.classroom-dialog .intake-attestation{display:grid!important;grid-template-columns:18px minmax(0,1fr);align-items:start;column-gap:12px!important}
.classroom-dialog .intake-attestation>span{min-width:0;white-space:normal;overflow-wrap:anywhere;line-height:1.7}
.classroom-access input{min-width:0;user-select:text}.classroom-access .classroom-saved-label{flex-basis:100%;min-width:0}.classroom-access button{white-space:normal}

.patient-manager{border:1px solid #cadce7;border-radius:12px;padding:20px;background:#f7fafc;margin:20px 0}.patient-manager-heading{display:flex;align-items:end;justify-content:space-between;gap:18px;flex-wrap:wrap}.patient-manager-heading h3{font-size:18px;margin:8px 0}.patient-manager-heading>label{flex:1;min-width:220px;max-width:520px}.patient-manager-actions,.patient-trash-actions{display:flex;align-items:end;flex-wrap:wrap;gap:10px;margin:16px 0}.patient-manager-actions .button{font-size:12px;min-height:40px}.patient-trash-actions label{flex:1;min-width:180px}.patient-manager details{margin-top:16px;border-top:1px solid #d5e2eb;padding-top:15px}.patient-manager summary{cursor:pointer;font-size:13px;font-weight:700}.patient-delete{background:#fff5f5;color:#a33c4c;border-color:#dfb4bc}.patient-delete:hover{background:#fbe8eb}.patient-delete-confirm{padding:16px;border:1px solid #dfb4bc;border-radius:8px;background:#fff5f5}.patient-delete-confirm p{color:#7c3341;font-size:13px;margin:0 0 12px}.patient-delete-confirm .button{margin-right:8px}.patient-manager .field-help{font-size:12px;line-height:1.8}.patient-manager[aria-busy=true]{opacity:.7}@media(max-width:600px){.patient-manager{padding:15px}.patient-manager-actions{display:grid;grid-template-columns:1fr 1fr}.patient-manager-heading>label{min-width:0;width:100%}.patient-trash-actions{align-items:stretch;flex-direction:column}}
/* ZADOREX Virtual manual: Montserrat, #55B8B1, #5297CB, #7160AA, #081A2C, accent #6D55B1. */
.workshop-home.intro-active{display:block;max-width:1230px}.workshop-home.intro-active>.home-copy,.workshop-home.intro-active>.home-route,.workshop-home.intro-active>.home-scope,.workshop-home.intro-active>.resume-banner{display:none}.course-intro{grid-column:1/-1;border:1px solid #d3e1ea;border-radius:16px;background:#fff;overflow:hidden;color:#18384f;font-size:16px;line-height:1.65}.intro-top{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:16px;padding:24px 28px;border-top:4px solid #55b8b1;border-bottom:1px solid #e0e9ef;background:#f5f9fb}.intro-top p{font-size:14px;margin:8px 0 0;color:#526c81}.intro-top>div:last-child{display:flex;flex-wrap:wrap;gap:10px}.course-intro .button{min-height:44px;font-size:14px}.intro-layout{display:grid;grid-template-columns:225px minmax(0,1fr);min-height:570px}.intro-nav{display:flex;flex-direction:column;gap:6px;padding:24px 16px;background:#f5f9fb;border-right:1px solid #dce7ee}.intro-nav button{display:flex;align-items:center;gap:10px;border:1px solid transparent;border-radius:8px;background:transparent;padding:13px 10px;text-align:left;font-size:14px;line-height:1.5;color:#526c81;cursor:pointer}.intro-nav button span{display:inline-grid;place-items:center;width:27px;height:27px;flex:none;border:1px solid #d2dfe9;border-radius:50%;font-size:12px}.intro-nav button[aria-current=step]{border-color:#d8cfee;background:#eee9f7;color:#6d55b1;font-weight:700}.intro-nav button[aria-current=step] span{background:#6d55b1;color:#fff;border-color:#6d55b1}.intro-content{padding:32px 36px;display:flex;flex-direction:column;min-width:0}.intro-slide{flex:1}.intro-slide h2{font-size:32px;line-height:1.25;letter-spacing:-.8px;color:#081a2c;margin:12px 0 20px;font-weight:700;max-width:750px}.intro-slide h2:focus{outline:none}.intro-lead{font-size:17px;line-height:1.75;color:#526c81;margin:0 0 26px;max-width:800px}.intro-before-after{display:grid;grid-template-columns:1fr 1fr;gap:20px}.intro-before-after section,.intro-case{padding:22px;border:1px solid #d8e4ec;border-radius:12px;background:#f8fbfd}.intro-before-after section:last-child{background:#edf7f6;border-color:#a8d9d4}.intro-tag{font-size:13px;font-weight:700;color:#6d55b1}.intro-big-number{display:block;font-size:48px;line-height:1.3;color:#081a2c;margin:18px 0}.intro-big-number small{font-size:18px}.intro-before-after p{font-size:15px;color:#526c81}.intro-takeaway{font-size:15px;line-height:1.8;padding:17px 20px;border-left:4px solid #55b8b1;background:#edf7f6;margin:24px 0 0;border-radius:0 8px 8px 0;color:#254b5a}.intro-case h3{font-size:22px;color:#081a2c;margin:12px 0 20px}.intro-case dl{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:0}.intro-case dt{font-size:13px;color:#627b8c}.intro-case dd{font-size:16px;margin:4px 0 0;font-weight:700}.intro-twin{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.intro-twin>div{padding:22px 18px;border-top:3px solid #5297cb;background:#f1f6fa;border-radius:0 0 9px 9px}.intro-twin strong{color:#6d55b1;font-size:19px}.intro-twin p{font-size:15px;color:#526c81}.intro-standard-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.intro-standard-grid article{padding:18px 20px;border:1px solid #d9e4ed;border-radius:10px;background:#fbfdfe}.intro-standard-grid article>span{font-size:14px;font-weight:700;color:#6d55b1}.intro-standard-grid h3{font-size:17px;color:#081a2c;margin:8px 0 10px}.intro-standard-grid p{font-size:14px;line-height:1.8;color:#526c81;margin:0}.intro-mapping{padding:18px 20px;background:#081a2c;color:#eef7ff;border-radius:10px;margin:20px 0 0;font-size:15px}.intro-mapping p{margin:8px 0}.intro-mapping small{font-size:13px;color:#c0d5e5}.intro-pipeline{display:grid;gap:12px;list-style:none;padding:0;counter-reset:course-stage}.intro-pipeline li{display:grid;grid-template-columns:100px 1fr;gap:18px;padding:14px 18px;border-left:3px solid #5297cb;background:#f4f8fb;border-radius:0 8px 8px 0;font-size:15px}.intro-pipeline strong{color:#6d55b1}.intro-pipeline span{color:#526c81}.intro-check{border:1px solid #d3dce8;border-radius:12px;padding:20px;margin:24px 0}.intro-check legend{font-size:17px;font-weight:700;color:#081a2c;padding:0 8px}.intro-check>div{display:flex;gap:12px;flex-wrap:wrap}.intro-check button{background:#f1edf8;color:#6d55b1;border:1px solid #cfc0e8;border-radius:8px;padding:11px 20px;font-size:16px;font-weight:700}.intro-check p{font-size:15px;color:#526c81;line-height:1.8;margin:16px 0 0}.intro-check p[data-correct=true]{color:#246d5d}.intro-ready{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:20px;padding:22px;background:#edf7f6;border-radius:12px}.intro-ready>div{flex:1;min-width:230px}.intro-ready p{font-size:15px;color:#36556b}.intro-navigation{display:flex;align-items:center;justify-content:space-between;gap:15px;padding-top:28px;margin-top:24px;border-top:1px solid #dfe8ef}.intro-navigation>span{font-size:13px;color:#627b8c}.intro-sources{display:flex;align-items:center;justify-content:flex-start;gap:12px;flex-wrap:wrap;padding:18px 28px;background:#f5f9fb;border-top:1px solid #dce7ee;font-size:12px;line-height:1.7}.intro-sources a{color:#6d55b1;text-decoration:underline;text-underline-offset:3px}.course-intro.projector .intro-layout{grid-template-columns:190px minmax(0,1fr)}.course-intro.projector .intro-lead{font-size:21px}.course-intro.projector .intro-slide h2{font-size:38px}.course-intro.projector .intro-takeaway,.course-intro.projector .intro-standard-grid p,.course-intro.projector .intro-pipeline li{font-size:18px}@media(max-width:800px){.intro-layout,.course-intro.projector .intro-layout{grid-template-columns:1fr}.intro-nav{flex-direction:row;overflow:auto;border-right:0;border-bottom:1px solid #dce7ee;padding:14px}.intro-nav button{flex:none;padding:9px}.intro-content{padding:25px}.intro-top{padding:20px}.intro-slide h2{font-size:28px}.intro-twin{grid-template-columns:1fr}.intro-twin p{margin:8px 0}.intro-before-after{gap:12px}}@media(max-width:550px){.intro-before-after,.intro-standard-grid,.intro-case dl{grid-template-columns:1fr}.intro-big-number{font-size:38px}.intro-pipeline li{grid-template-columns:1fr;gap:5px}.intro-content{padding:22px 18px}.intro-navigation{gap:8px}.intro-navigation .button{padding:10px 14px}.intro-sources{padding:18px}}

.intro-extra{margin:20px 0 0;padding:15px 18px;border:1px solid #d6e2eb;border-radius:9px;font-size:14px;line-height:1.8}.intro-extra summary{cursor:pointer;color:#6d55b1;font-weight:700}.intro-extra p{color:#526c81;margin:14px 0 0}
/* Semantic FHIR reader: labels, optional color and unchanged underlying JSON. */
.fhir-viewer{min-width:0;max-width:100%;border:1px solid #ccdae6;border-radius:10px;overflow:hidden;background:#081a2c;margin:16px 0}.fhir-viewer-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:13px 16px;background:#f1f6fa;color:#18384f}.fhir-viewer-tools strong{font-size:13px}.fhir-viewer-tools .button{font-size:12px;min-height:34px;padding:7px 11px;background:#fff}.fhir-resource-summary{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:13px 16px;background:#fff}.fhir-resource-badge{font-size:12px;line-height:1.5;padding:5px 9px;border-radius:6px;border:1px solid var(--fhir-resource-color,#ccdae6);background:var(--fhir-resource-soft,#f1f5f9);color:var(--fhir-resource-ink,#3b5369);font-weight:700;overflow-wrap:anywhere}.fhir-color-legend{display:flex;align-items:center;flex-wrap:wrap;gap:9px 16px;padding:11px 16px;border-bottom:1px solid #25415b;background:#10273f;color:#dce8f2;font-size:12px}.fhir-legend-item{display:inline-flex;align-items:center;gap:7px}.fhir-swatch{display:inline-block;flex:none;width:10px;height:10px;border-radius:2px;background:currentColor}
#json-output,#fhir-json,#intake-fhir-preview{font:13px/1.75 ui-monospace,SFMono-Regular,Consolas,"Liberation Mono",monospace;background:#081a2c;color:#dce8f2;border-radius:0;padding:20px;margin:0;tab-size:2;white-space:pre;overflow:auto}.fhir-token-key{color:#9dcdf1}.fhir-token-string{color:#c5ded3}.fhir-token-code{color:#d5b7ff}.fhir-token-number{color:#7de0d5}.fhir-token-unit{color:#f7d083}.fhir-token-reference{color:#edaacc}.fhir-token-boolean,.fhir-token-null{color:#e4c2b0}.fhir-token-resource{color:var(--fhir-resource-color,#dce8f2);font-weight:700;text-decoration:underline;text-underline-offset:3px}
.fhir-resource-bundle,.fhir-resource-other{--fhir-resource-color:#d0dce9;--fhir-resource-soft:#f1f5f9;--fhir-resource-ink:#3b5369}.fhir-resource-patient{--fhir-resource-color:#82ded5;--fhir-resource-soft:#e7f7f5;--fhir-resource-ink:#175e59}.fhir-resource-condition{--fhir-resource-color:#cfb2ff;--fhir-resource-soft:#f2ebfb;--fhir-resource-ink:#634797}.fhir-resource-observation{--fhir-resource-color:#8ecbfa;--fhir-resource-soft:#edf6ff;--fhir-resource-ink:#245d83}.fhir-resource-allergy{--fhir-resource-color:#ebcc83;--fhir-resource-soft:#fff5dc;--fhir-resource-ink:#76501b}.fhir-resource-medication{--fhir-resource-color:#eba9ce;--fhir-resource-soft:#fff0f8;--fhir-resource-ink:#853863}.fhir-resource-encounter{--fhir-resource-color:#c8d8eb;--fhir-resource-soft:#f0f5fb;--fhir-resource-ink:#425d7a}.fhir-resource-procedure{--fhir-resource-color:#98d3ef;--fhir-resource-soft:#eaf6fc;--fhir-resource-ink:#215e77}.fhir-resource-laboratory{--fhir-resource-color:#b3deb2;--fhir-resource-soft:#f0f9ef;--fhir-resource-ink:#3c6338}.fhir-resource-document{--fhir-resource-color:#e5c4ff;--fhir-resource-soft:#f5effa;--fhir-resource-ink:#6e4889}.fhir-viewer-plain .fhir-token{color:inherit;font-weight:400;text-decoration:none}.fhir-viewer-plain .fhir-swatch{background:#cbd9e5}.fhir-viewer-plain .fhir-resource-badge{background:#f1f5f9;color:#3b5369;border-color:#ccdae6}
.topbar #presentation-open{white-space:nowrap;text-decoration:none}.topbar{column-gap:12px}@media(max-width:1100px){.topbar>.button{font-size:11px;padding:8px 10px}}@media(max-width:650px){.topbar{height:auto;min-height:84px;display:flex;flex-wrap:wrap;justify-content:flex-start;padding-top:12px;padding-bottom:12px;gap:8px}.topbar .brand{flex-basis:100%;margin-bottom:3px}.topbar .brand img{width:160px}.topbar>.button{font-size:11px;min-height:34px}.fhir-viewer-tools,.fhir-resource-summary,.fhir-color-legend{padding:12px}.fhir-resource-badge{font-size:11px}#json-output,#fhir-json,#intake-fhir-preview{padding:15px;font-size:12px}}@media print{.fhir-viewer-tools button{display:none}.fhir-token{color:inherit!important;text-decoration:none!important}.fhir-viewer pre.fhir-json{background:#fff!important;color:#081a2c!important;white-space:pre-wrap!important;max-height:none!important}.fhir-color-legend{background:#edf3f8;color:#18384f}}

.fhir-color-note{flex-basis:100%;font-size:11px;line-height:1.7;color:#a9c1d4}
/* Franklin 0.4: whole original artwork, proportional scaling, clear space and calm guidance. */
.franklin-slot:empty{display:none}.franklin-slot{grid-column:1/-1;min-width:0}.franklin-guide{display:flex;align-items:center;gap:28px;padding:22px 26px;background:#fff;border:1px solid #cddfe8;border-top:4px solid #55b8b1;border-radius:12px;margin:16px 0 24px;box-shadow:0 7px 24px #10273f08}.franklin-portrait{flex:0 0 200px;padding:0;align-self:center}.franklin-portrait img{width:200px;height:200px;object-fit:contain;display:block}.franklin-guidance{flex:1;min-width:0}.franklin-guide-top{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.franklin-guide-top>strong{font-size:14px;color:#6d55b1}.franklin-guide-top>span{font-size:12px;color:#526c81}.franklin-guide-top>.button{font-size:11px;padding:4px 8px;min-height:28px;margin-left:auto}.franklin-guide h2{font-size:23px;line-height:1.4;letter-spacing:-.4px;margin:10px 0 12px;color:#081a2c}.franklin-guide #franklin-instruction{font-size:15px;line-height:1.8;color:#25485e;margin:0}.franklin-guide #franklin-why{font-size:13px;line-height:1.8;color:#526c81;margin:10px 0}.franklin-guide #franklin-status{font-size:12px;line-height:1.7;margin:8px 0 14px;color:#6d55b1}.franklin-guide #franklin-status[data-ready=true]{color:#246d5d}.franklin-guide-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.franklin-guide-actions>.button{font-size:12px;min-height:39px;padding:9px 13px}.franklin-path{display:flex;gap:6px;flex-wrap:wrap;list-style:none;margin:17px 0 0;padding:0}.franklin-path li{font-size:10px;padding:5px 7px;color:#60788b;border-bottom:2px solid #dce6ed;line-height:1.5}.franklin-path li[aria-current=step]{font-weight:700;color:#6d55b1;border-color:#6d55b1}.franklin-path li[data-complete=true]{color:#246d5d;border-color:#55b8b1}.franklin-target{outline:3px solid #6d55b1!important;outline-offset:4px;scroll-margin:40px}.home-extra{margin:20px 0;padding:16px;border:1px solid #d4e1e9;border-radius:8px}.home-extra summary{font-size:13px;font-weight:700;color:#6d55b1;cursor:pointer}.workshop-home>.home-route{display:none}.workshop-home>.home-copy{grid-column:1/-1;max-width:900px}.home-copy h1{font-size:42px;line-height:1.2}.slides-dialog{width:min(1440px,96vw);max-width:96vw;height:94vh;max-height:94vh;padding:0;overflow:hidden}.slides-dialog[open]{display:flex;flex-direction:column}.slides-dialog-header{display:flex;align-items:center;flex-wrap:wrap;gap:15px;padding:12px 18px;background:#f1f6fa;font-size:13px}.slides-dialog-header a{margin-left:auto;color:#6d55b1}.slides-dialog-header button{border:1px solid #d1dfea;border-radius:7px;background:white;padding:8px 13px;cursor:pointer}#slides-frame{width:100%;flex:1;border:0;background:#081a2c}.classroom-dialog .franklin-guide,.fhir-dialog .franklin-guide{margin-top:4px}.classroom-dialog .franklin-guide h2,.fhir-dialog .franklin-guide h2{font-size:22px;margin:9px 0}.classroom-dialog .franklin-guide p,.fhir-dialog .franklin-guide p{margin:7px 0}.classroom-heading h2{padding-right:20px}
@media(max-width:900px){.franklin-guide{gap:22px;padding:20px}.franklin-portrait{flex-basis:185px}.franklin-portrait img{width:185px;height:185px}.franklin-guide h2{font-size:21px}.home-copy h1{font-size:35px}}@media(max-width:650px){.franklin-guide{padding:18px;display:block}.franklin-portrait{display:none}.franklin-guide h2{font-size:21px}.franklin-guide-top>.button{margin-left:0}.franklin-guide-actions{align-items:stretch;flex-direction:column}.franklin-path{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.franklin-path li{font-size:10px;padding:5px 2px}.slides-dialog-header{font-size:11px;gap:10px}.home-copy h1{font-size:32px}}
@media(prefers-reduced-motion:reduce){.franklin-target{scroll-behavior:auto}}
.franklin-guide #franklin-more{margin-top:12px}.franklin-guide #franklin-more>summary{font-size:11px;color:#526c81;cursor:pointer;font-weight:600}.franklin-guide #franklin-more>p{margin:10px 0;font-size:12px}.franklin-guide h2{margin:8px 0;font-size:22px}.franklin-guide #franklin-instruction{font-size:14px;line-height:1.7}.franklin-guide #franklin-status{margin:8px 0;font-size:11px}.franklin-guide-top #franklin-home{margin-left:auto}.franklin-guide-top #franklin-free{margin-left:0}.classroom-dialog>.franklin-slot,.fhir-dialog>.franklin-slot{position:sticky;top:0;z-index:8;background:#fff;padding:0 0 8px}.classroom-dialog>.dialog-close,.fhir-dialog>.dialog-close{z-index:20}.app-shell>.franklin-slot,.onboarding>.franklin-slot{position:sticky;top:0;z-index:8;background:#f1f6f9}.franklin-guide{margin-bottom:16px;padding:16px 22px}.franklin-portrait{flex-basis:185px}.franklin-portrait img{width:185px;height:185px}.franklin-guide-actions>.button{min-height:35px;padding:8px 11px}.franklin-guide .franklin-path{margin-top:10px}
@media(max-width:650px){.franklin-guide{padding:14px}.franklin-guide-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.franklin-guide-actions #franklin-back{grid-column:1/-1;min-height:28px}.franklin-guide #franklin-instruction{font-size:13px}.franklin-guide h2{font-size:19px}.franklin-guide-top>strong{font-size:12px}.franklin-guide-top>span{font-size:11px}}
