:root{--bg: #f8f9fa;--surface: #ffffff;--surface-soft: #f1f3f5;--text: #1c1c1e;--muted: #6b7280;--accent: #3b82f6;--accent-strong: #2563eb;--success: #16a34a;--warning: #d97706;--danger: #dc2626;--border: #e5e7eb;--ring: rgba(37, 99, 235, .2);--shadow-sm: 0 6px 20px rgba(0, 0, 0, .06);--shadow-md: 0 12px 28px rgba(0, 0, 0, .1);--radius-sm: 10px;--radius-md: 14px;--radius-lg: 18px}[data-theme=dark]{--bg: #0a0a0a;--surface: #141414;--surface-soft: #1e1e1e;--text: #ededed;--muted: #8a8a8a;--accent: #ef4444;--accent-strong: #dc2626;--success: #22c55e;--warning: #f59e0b;--danger: #f87171;--border: #2c2c2c;--ring: rgba(220, 38, 38, .25);--shadow-sm: 0 6px 20px rgba(0, 0, 0, .5);--shadow-md: 0 12px 28px rgba(0, 0, 0, .7)}*{box-sizing:border-box}body{margin:0;font-family:Segoe UI,Inter,-apple-system,BlinkMacSystemFont,sans-serif;color:var(--text);background:radial-gradient(circle at top,#e8f0fe 0%,var(--bg) 45%);transition:background .2s,color .2s}a{color:var(--accent);text-decoration:none}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.container{max-width:1100px;margin:0 auto;padding:0 20px}.container-wide{max-width:100%;padding:0 14px}main:has(.demo-shell){padding-top:0;padding-bottom:0;min-height:calc(100vh - 72px)}main:has(.demo-shell) .container-wide{padding:0}.app-header{position:sticky;top:0;z-index:20;background:#f8f9fae6;border-bottom:1px solid var(--border);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);transition:background .2s,border-color .2s,max-height .25s ease,opacity .25s ease,padding .25s ease;max-height:80px;overflow:hidden}.app-header:has(.navbar.nav-open){max-height:none;overflow:visible}body.osce-running .app-header{max-height:0;padding-top:0;padding-bottom:0;opacity:0;pointer-events:none;border-bottom-width:0}body.osce-running .demo-shell{height:100vh}body.osce-running main:has(.demo-shell){min-height:100vh}main{min-height:calc(100vh - 200px);padding:24px 0 36px}.navbar{min-height:72px;display:flex;align-items:center;justify-content:space-between;gap:20px}.navbar-top{display:contents}.nav-menu-toggle{display:none;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);color:var(--text);cursor:pointer;flex-shrink:0}.nav-menu-toggle:hover{background:var(--surface-soft)}.nav-menu-toggle-bars{position:relative;display:block;width:20px;height:2px;background:currentColor;border-radius:1px;box-shadow:0 -6px 0 currentColor,0 6px 0 currentColor;transition:background .15s ease,box-shadow .15s ease}.navbar.nav-open .nav-menu-toggle-bars{background:transparent;box-shadow:none}.navbar.nav-open .nav-menu-toggle-bars:before,.navbar.nav-open .nav-menu-toggle-bars:after{content:"";position:absolute;left:0;top:0;width:20px;height:2px;background:currentColor;border-radius:1px}.navbar.nav-open .nav-menu-toggle-bars:before{transform:rotate(45deg)}.navbar.nav-open .nav-menu-toggle-bars:after{transform:rotate(-45deg)}.brand{display:inline-flex;align-items:center;flex-shrink:0;line-height:0;color:var(--text)}.brand-logo{display:block;height:clamp(24px,4.2vw,38px);width:auto;max-width:min(188px,40vw);object-fit:contain;object-position:left center}.nav-links{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.nav-link{padding:8px 12px;border-radius:var(--radius-sm);color:var(--text);font-weight:600}.nav-link:hover,.nav-link.active{background:var(--surface-soft)}.nav-link.nav-primary{background:var(--accent)!important;color:#fff!important;padding:14px 24px!important;font-size:1.1rem!important;font-weight:700!important;border-radius:6px!important}.nav-link.nav-primary:hover{background:var(--accent-strong);color:#fff}@media(max-width:1120px){.navbar{flex-direction:column;align-items:stretch;gap:0;padding:6px 0 10px}.navbar-top{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:56px}.nav-menu-toggle{display:inline-flex}.nav-links{display:none;flex-direction:column;align-items:stretch;align-self:stretch;gap:8px;width:100%;margin-top:10px;padding-top:12px;border-top:1px solid var(--border);flex-wrap:nowrap}.navbar.nav-open .nav-links{display:flex}.nav-links .nav-link{text-align:center}.nav-links .theme-toggle-btn{align-self:center}.nav-links .auth-controls{justify-content:center;flex-wrap:wrap}}.auth-controls{display:flex;align-items:center;gap:10px}.auth-email{max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.footer{border-top:1px solid var(--border);padding:20px 0 32px}.footer p{margin:4px 0}.muted{color:var(--muted)}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);box-shadow:var(--shadow-sm);padding:20px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 14px;border-radius:var(--radius-sm);border:1px solid transparent;font-weight:600;cursor:pointer}.btn-primary{background:var(--accent);color:#fff}.btn-primary:hover{background:var(--accent-strong)}.btn-secondary{background:var(--surface-soft);color:var(--text);border-color:var(--border)}.btn-ghost{background:transparent;color:var(--text);border-color:var(--border)}.btn-danger{background:var(--danger);color:#fff}.badge{display:inline-flex;align-items:center;border-radius:99px;padding:4px 10px;font-size:.78rem;font-weight:700;border:1px solid var(--border);background:var(--surface-soft)}.badge-success{color:var(--success)}.badge-warning{color:var(--warning)}.badge-danger{color:var(--danger)}.home-page{padding:48px 0 64px}.home-hero{text-align:center;margin-bottom:48px}.hero-title{margin:0 0 12px;font-size:clamp(2rem,4vw,3rem);font-weight:700;letter-spacing:-.02em}.hero-subtitle{font-size:1.15rem;color:var(--muted);max-width:560px;margin:0 auto;line-height:1.6}.cards-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.simulation-card{padding:32px!important;display:flex;flex-direction:column;transition:box-shadow .15s,transform .15s}.simulation-card:hover{box-shadow:0 8px 24px #0000001a;transform:translateY(-2px)}.simulation-card-icon{font-size:2.4rem;margin-bottom:16px;line-height:1}.simulation-card h3{margin:0 0 10px;font-size:1.25rem}.simulation-card p{margin:0 0 24px;color:var(--muted);line-height:1.6;flex:1}.tabs-shell{display:flex;justify-content:space-between;align-items:center;gap:12px}.tabs-row{display:flex;gap:8px;flex-wrap:wrap}.tab-btn{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);color:var(--text);padding:8px 12px;font-weight:700;cursor:pointer}.tab-btn.active{border-color:var(--accent);color:var(--accent)}.timer-pill{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--border);background:linear-gradient(135deg,#e8f2ff,#f2f7ff);border-radius:var(--radius-sm);padding:10px 16px;min-width:80px;font-weight:600;font-size:.9rem}.demo-shell{display:flex;flex-direction:column;height:calc(100vh - 72px);gap:0}.demo-shell .workspace-main,.demo-shell .exam-fullscreen-workspace{flex:1;min-height:0;margin:10px 14px}.demo-topbar{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;padding:0 20px;height:62px;flex-shrink:0;border-radius:0;border-left:none;border-right:none;border-top:none}.demo-track-swiper{display:flex;align-items:center;gap:14px;justify-content:center}.demo-swiper-arrow{width:28px;height:28px;display:flex;align-items:center;justify-content:center;border:1px solid var(--border);border-radius:6px;background:transparent;cursor:pointer;color:var(--text);font-size:.65rem;flex-shrink:0;transition:background .15s}.demo-swiper-arrow:hover{background:var(--surface-soft)}.demo-swiper-label-wrap{overflow:hidden;min-width:190px;text-align:center}.demo-swiper-label{display:block;font-size:.95rem;font-weight:700;color:var(--text);letter-spacing:.01em}.enter-from-right{animation:track-enter-right .28s cubic-bezier(.25,.46,.45,.94) both}.enter-from-left{animation:track-enter-left .28s cubic-bezier(.25,.46,.45,.94) both}@keyframes track-enter-right{0%{transform:translate(40px);opacity:0}to{transform:translate(0);opacity:1}}@keyframes track-enter-left{0%{transform:translate(-40px);opacity:0}to{transform:translate(0);opacity:1}}.demo-toolbar-sep{width:1px;height:26px;background:var(--border);flex-shrink:0}.demo-mode-toggle{display:inline-flex;width:fit-content;border:1px solid var(--border);border-radius:8px;overflow:hidden}.demo-mode-btn{padding:7px 16px;font-size:.85rem;font-weight:600;border:none;background:transparent;color:var(--text);cursor:pointer;white-space:nowrap}.demo-mode-btn.active{background:var(--accent);color:#fff}.demo-toolbar-right{justify-self:end;display:flex;align-items:center;gap:10px}@media(max-width:768px){.demo-topbar{display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-rows:auto auto;grid-template-areas:"swiper swiper" "mode actions";height:auto;min-height:0;padding:10px 12px;gap:10px 12px;align-items:center}.demo-topbar>:nth-child(1){grid-area:mode;min-width:0}.demo-topbar>:nth-child(2){grid-area:swiper;justify-self:center;width:100%;max-width:100%;min-width:0}.demo-topbar>:nth-child(3){grid-area:actions;justify-self:stretch;min-width:0}.demo-track-swiper{gap:clamp(6px,1.5vw,8px);max-width:100%}.demo-topbar .demo-swiper-arrow{width:clamp(24px,18px + 1.5vw,28px);height:clamp(24px,18px + 1.5vw,28px);font-size:clamp(.55rem,.45rem + .5vw,.65rem)}.demo-swiper-label-wrap{min-width:0;flex:1;max-width:100%}.demo-swiper-label{font-size:clamp(.72rem,.58rem + .85vw,.85rem);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.demo-mode-btn{padding:clamp(5px,3px + .9vw,7px) clamp(8px,5px + 1.4vw,16px);font-size:clamp(.68rem,.52rem + 1.05vw,.82rem)}.demo-toolbar-right .timer-pill{padding:clamp(6px,4px + .85vw,10px) clamp(8px,5px + 1.6vw,16px);font-size:clamp(.68rem,.52rem + .95vw,.88rem);min-width:clamp(56px,40px + 4vw,80px)}.demo-toolbar-right .btn{padding:clamp(6px,4px + .75vw,10px) clamp(9px,6px + 1.5vw,14px);font-size:clamp(.68rem,.52rem + .9vw,.88rem)}.demo-toolbar-right .pause-btn{width:clamp(28px,22px + 1.8vw,34px);height:clamp(28px,22px + 1.8vw,34px);font-size:clamp(.68rem,.55rem + .65vw,.85rem)}.demo-toolbar-right{flex-wrap:nowrap;justify-content:flex-end;align-items:center;gap:8px;width:100%;min-width:0;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:thin}.demo-toolbar-sep{display:none}.demo-shell .workspace-main{margin:8px 10px}.demo-topbar:has(>:first-child:empty){grid-template-columns:1fr;grid-template-areas:"swiper" "actions"}}@media(max-width:480px){.demo-topbar{padding:clamp(8px,2vw,10px) clamp(8px,2.5vw,10px);gap:clamp(6px,1.5vw,8px) clamp(8px,2vw,10px)}.demo-toolbar-right .btn{flex-shrink:0;white-space:nowrap}.demo-toolbar-right .pause-btn{flex-shrink:0}.demo-toolbar-right .timer-pill{flex-shrink:0;min-width:0}}.workspace-main{display:grid;gap:12px;flex:1;min-height:0;transition:grid-template-columns .22s ease;align-items:stretch}.workspace-right-col{display:flex;flex-direction:column;gap:10px;min-height:0}.patient-panel{flex:5;min-height:0;border-radius:var(--radius-md);overflow:hidden;border:1px solid var(--border);box-shadow:var(--shadow-sm)}.patient-panel .patient-avatar{height:100%;border-radius:0}.patient-panel.patient-panel-full{flex:unset;min-height:0}:root{--emotion-meters-width: 210px}.patient-panel-with-emotions{display:flex;position:relative}.patient-panel-with-emotions .patient-avatar{flex:1;min-width:0}.emotion-meters{position:absolute;right:10px;top:50%;transform:translateY(-50%);width:var(--emotion-meters-width);max-width:var(--emotion-meters-width);box-sizing:border-box;display:flex;flex-direction:column;gap:10px;padding:14px;background:#0000008c;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);border-radius:var(--radius-md);z-index:2}.emotion-meter-row{display:flex;align-items:center;gap:6px;position:relative}.emotion-label{font-size:.72rem;font-weight:600;color:#ffffffe6;width:112px;flex-shrink:0;text-transform:uppercase;letter-spacing:.03em}.emotion-bar-track{flex:1;height:8px;background:#ffffff26;border-radius:4px;overflow:hidden}.emotion-bar-fill{height:100%;border-radius:4px;transition:width .5s ease}.emotion-value{font-size:.72rem;font-weight:700;color:#ffffffd9;width:16px;text-align:right;flex-shrink:0}.emotion-delta{position:absolute;right:-4px;top:-12px;font-size:.6rem;font-weight:700;pointer-events:none;animation:emotion-delta-float 1.5s ease-out forwards}.emotion-delta.positive{color:#48bb78}.emotion-delta.negative{color:#e53e3e}@keyframes emotion-delta-float{0%{opacity:1;transform:translateY(0)}70%{opacity:1;transform:translateY(-10px)}to{opacity:0;transform:translateY(-16px)}}.briefing-info{display:flex;flex-direction:column;gap:8px;padding:14px 16px;background:#ffffff0f;border-radius:var(--radius-md);margin-bottom:16px}.briefing-row{display:flex;gap:12px}.briefing-key{font-size:clamp(.72rem,.68rem + .25vw,.78rem);font-weight:600;color:var(--text-secondary, #999);width:80px;flex-shrink:0;text-transform:uppercase;letter-spacing:.03em}.briefing-val{font-size:clamp(.82rem,.78rem + .25vw,.88rem);color:var(--text, #eee);font-weight:500}.briefing-tasks-heading{font-size:clamp(.76rem,.72rem + .25vw,.82rem);font-weight:600;color:var(--text-secondary, #999);margin:0 0 8px;text-transform:uppercase;letter-spacing:.03em}.briefing-tasks{margin:0;padding:0 0 0 20px;display:flex;flex-direction:column;gap:6px}.briefing-tasks li{font-size:clamp(.79rem,.75rem + .25vw,.85rem);color:var(--text, #eee);line-height:1.4}.checklist-config-sections{display:flex;flex-direction:column;gap:clamp(9px,6px + .75vw,14px)}.checklist-config-section{border:1px solid var(--border);border-radius:var(--radius-md);overflow:hidden}.checklist-config-section-heading{font-size:clamp(.68rem,.62rem + .28vw,.76rem);font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:var(--text-secondary, #999);margin:0;padding:clamp(8px,6px + .45vw,10px) clamp(12px,9px + .65vw,16px) clamp(7px,5px + .4vw,8px);background:#ffffff0a;border-bottom:1px solid var(--border)}.checklist-config-list{list-style:none;margin:0;padding:clamp(4px,3px + .25vw,6px) 0}.checklist-config-item{display:flex;align-items:flex-start}.checklist-config-label{display:flex;align-items:flex-start;gap:clamp(6px,4px + .45vw,8px);padding:clamp(6px,5px + .3vw,8px) clamp(13px,10px + .8vw,18px);cursor:pointer;width:100%;font-size:clamp(.76rem,.7rem + .28vw,.83rem);line-height:1.4;color:var(--text, #eee);transition:background .1s}.checklist-config-label:hover{background:#ffffff0d}.checklist-config-checkbox{margin-top:2px;flex-shrink:0;accent-color:var(--accent, #6366f1);width:clamp(13px,12px + .25vw,14px);height:clamp(13px,12px + .25vw,14px);cursor:pointer}.checklist-config-text--hidden{color:var(--text-secondary, #999);text-decoration:line-through;opacity:.55}.walkout-banner{background:#e53e3e1f;border:1px solid rgba(229,62,62,.4);border-radius:var(--radius-md);padding:12px 16px;margin-bottom:16px}.walkout-banner strong{color:#e53e3e;font-size:.9rem}.walkout-banner p{margin:4px 0 0;font-size:.82rem;color:var(--text-secondary, #aaa)}.emotion-summary-grid{display:flex;flex-direction:column;gap:6px}.emotion-summary-row{display:flex;align-items:center;gap:8px;font-size:.85rem}.emotion-summary-label{width:140px;font-weight:600;color:var(--text-secondary)}.emotion-summary-baseline,.emotion-summary-final{width:24px;text-align:center;font-weight:700;font-variant-numeric:tabular-nums}.emotion-summary-arrow{color:var(--text-secondary);font-size:.8rem}.emotion-summary-diff{font-weight:700;font-size:.8rem;min-width:28px}.emotion-summary-diff.positive{color:#48bb78}.emotion-summary-diff.negative{color:#e53e3e}.emotion-log{margin-top:16px;border-top:1px solid rgba(255,255,255,.08);padding-top:12px}.emotion-log-heading{font-size:.78rem;font-weight:600;color:var(--text-secondary, #999);text-transform:uppercase;letter-spacing:.04em;margin:0 0 10px}.emotion-log-entry{padding:8px 10px;border-radius:var(--radius-sm, 6px);background:#ffffff0a;margin-bottom:6px}.emotion-log-message{display:flex;align-items:baseline;gap:8px;margin-bottom:4px}.emotion-log-turn{font-size:.7rem;font-weight:700;color:var(--text-secondary, #888);flex-shrink:0;text-transform:uppercase}.emotion-log-text{font-size:.82rem;color:var(--text, #eee);font-style:italic;line-height:1.35}.emotion-log-deltas{display:flex;flex-wrap:wrap;gap:6px;padding-left:2px}.emotion-log-delta{font-size:.72rem;font-weight:600;padding:1px 6px;border-radius:4px}.emotion-log-delta.positive{color:#48bb78;background:#48bb781f}.emotion-log-delta.negative{color:#e53e3e;background:#e53e3e1f}.bottom-panel{flex:5;min-height:0;display:flex;flex-direction:column;border-radius:var(--radius-md);overflow:hidden;border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow-sm)}.bottom-tab-bar{display:flex;background:var(--surface-soft);border-bottom:1px solid var(--border);flex-shrink:0}.bottom-tab-btn{padding:clamp(8px,6px + .55vw,10px) clamp(10px,6px + 1.5vw,20px);font-size:clamp(.74rem,.68rem + .35vw,.85rem);font-weight:600;border:none;border-top:3px solid transparent;border-bottom:2px solid transparent;background:transparent;color:var(--muted);cursor:pointer;white-space:nowrap;transition:color .15s,background .15s;margin-bottom:-1px}.bottom-tab-btn:hover{color:var(--text);background:#ffffff80}.bottom-tab-btn.active{background:var(--surface);color:var(--text);border-top-color:var(--tab-color);border-bottom-color:var(--surface)}.bottom-tab-content{flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden}.vitals-panel{padding:18px 20px;display:flex;flex-direction:column;gap:14px;overflow-y:auto}.vitals-name-row{display:flex;flex-direction:column;gap:3px;padding-bottom:12px;border-bottom:1px solid var(--border)}.vitals-reason{display:flex;gap:10px;align-items:baseline;font-size:.88rem}.vitals-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.vital-card{display:flex;flex-direction:column;align-items:center;gap:2px;border:1px solid var(--border);border-radius:var(--radius-sm);padding:12px 8px;background:var(--surface-soft);text-align:center}.vital-card-label{font-size:.7rem;color:var(--muted);font-weight:600;text-transform:uppercase;letter-spacing:.05em}.vital-card-value{font-size:1.4rem;font-weight:700;color:var(--text)}.vital-card-unit{font-size:.68rem;color:var(--muted)}.checklist-tab-content{flex:1;overflow-y:auto;padding:10px 12px}.soap-tab-content{flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden}.soap-scroll-area{flex:1;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:12px}.soap-convo-divider{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.07em;margin-top:4px}.soap-convo-divider:before,.soap-convo-divider:after{content:"";flex:1;height:1px;background:var(--border)}.soap-transcript-area{min-height:80px;display:flex;flex-direction:column;gap:10px}.help-panel{padding:20px}.workspace-left{display:flex;flex-direction:column;gap:10px;min-height:0}.workspace-right{display:flex;flex-direction:column;min-height:0}.checklist-panel{display:flex;flex-direction:column;overflow:hidden;min-height:0}.checklist-panel-header{display:flex;align-items:center;justify-content:space-between;padding:13px 16px;border-bottom:1px solid var(--border);flex-shrink:0;background:var(--surface-soft)}.checklist-panel-title{font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:var(--text)}.checklist-panel-count{font-size:.75rem}.checklist-panel-body{flex:1;overflow-y:auto;padding:10px 12px;min-height:0}.workspace-top{display:flex;justify-content:space-between;align-items:center;gap:12px}.chat-panel{display:flex;flex-direction:column;overflow:hidden;flex:1}.chat-transcript{flex:1;overflow-y:auto;padding:clamp(12px,8px + 1.5vw,20px);display:flex;flex-direction:column;gap:clamp(8px,5px + .75vw,12px)}.chat-transcript-empty{flex:1;display:flex;align-items:center;justify-content:center;color:var(--muted);font-size:clamp(.78rem,.7rem + .45vw,.9rem);text-align:center}.chat-compose{border-top:1px solid var(--border);padding:clamp(10px,7px + .65vw,14px) clamp(10px,8px + 1vw,16px);display:flex;gap:clamp(7px,5px + .45vw,10px);align-items:center;background:var(--surface);flex-shrink:0}.chat-compose .chat-input{flex:1;margin:0}.hosp-ceiling{fill:#b0cfe0}.hosp-window-frame{fill:#7a9eb8}.hosp-window-glass{fill:#e0f0fa}.hosp-window-shine{fill:#fff6}.hosp-window-sill{fill:#7a9eb8}.hosp-monitor-body{fill:#6a8ea8}.hosp-monitor-screen{fill:#0c1a28}.hosp-ekg{stroke:#22c55e}.hosp-monitor-stand{fill:#6a8ea8}.hosp-iv-pole{fill:#8aaec4}.hosp-iv-bag{fill:#b8daf0}.hosp-iv-bag-inner{fill:#9acce8}.hosp-iv-tube{stroke:#8aaec4}.hosp-wainscot{fill:#9dbdd0}.hosp-lower-wall{fill:#aec9da}.patient-avatar{width:100%;height:100%;overflow:hidden;background:#c5dded;display:flex;flex-direction:column}.patient-avatar-stage{flex:1;min-height:0;position:relative}.patient-avatar-bg{position:absolute;top:0;left:0;width:100%;height:100%;display:block}.patient-avatar-character{position:absolute;bottom:0;left:50%;transform:translate(-50%);width:85%;max-width:380px;height:100%;animation:avatar-breathe 3.6s ease-in-out infinite}.patient-avatar-img{display:block;width:100%;height:100%;object-fit:contain;object-position:bottom center;-webkit-user-select:none;user-select:none;pointer-events:none}@keyframes avatar-breathe{0%,to{transform:translate(-50%) translateY(0)}50%{transform:translate(-50%) translateY(-3px)}}@keyframes avatar-talk-sway{0%{transform:translate(-50%) translateY(0) rotate(-.2deg)}to{transform:translate(-50%) translateY(-2px) rotate(.2deg)}}.avatar-blink{position:absolute;border-radius:50%;background:#d89c85;opacity:0;pointer-events:none;animation:avatar-blink 4.5s ease-in-out infinite}.avatar-blink-left:not(.exam-blink-left){left:37%;top:30%;width:8.5%;height:5%}.avatar-blink-right:not(.exam-blink-right){left:53.5%;top:30%;width:9%;height:5%}.avatar-female .avatar-blink-left:not(.exam-blink-left){left:37%;top:26%;width:8%;height:4%}.avatar-female .avatar-blink-right:not(.exam-blink-right){left:57%;top:26%;width:8%;height:4%;background:#dda88e}.avatar-female .avatar-blink-left:not(.exam-blink-left){background:#dda88e}@keyframes avatar-blink{0%,95%,to{opacity:0;transform:scaleY(0)}97%{opacity:1;transform:scaleY(1)}}.mouth-overlay-svg{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;z-index:3}.mouth-mask{opacity:0}.mouth-group{transition:transform .12s ease}.mouth-talking{animation:mouth-jaw-drop .3s ease-in-out infinite alternate}.mouth-talking .mouth-mask{opacity:1}@keyframes mouth-jaw-drop{0%{transform:translateY(0)}to{transform:translateY(var(--mouth-drop, 3px))}}.exam-fullscreen-workspace{display:grid;grid-template-columns:1fr 360px;gap:12px;align-items:stretch}.exam-fullscreen-main{min-height:0;height:100%;border-radius:var(--radius-md);overflow:hidden;border:1px solid var(--border);box-shadow:var(--shadow-sm);background:var(--surface)}.exam-fullscreen-main>*{height:100%}.exam-fullscreen-side{display:flex;flex-direction:column;gap:8px;min-height:0;overflow:hidden}.exam-patient-strip{flex-shrink:0;padding:8px 12px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);display:flex;flex-direction:column;gap:5px}.exam-patient-strip-name{display:flex;align-items:baseline;gap:8px;font-size:.82rem}.exam-patient-strip-identity{font-size:.72rem;color:var(--muted)}.exam-patient-strip-vitals{display:flex;gap:6px;flex-wrap:wrap}.exam-vital-chip{font-size:.68rem;font-weight:600;padding:2px 7px;border-radius:99px;background:var(--surface-soft);border:1px solid var(--border);color:var(--muted);white-space:nowrap}.exam-fullscreen-side .chat-transcript{flex:1;min-height:0;overflow-y:auto;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface);padding:10px 12px}.exam-fullscreen-side .chat-compose{flex-shrink:0}.exam-side-checklist{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface);overflow:hidden;display:flex;flex-direction:column;max-height:42%;min-height:0;flex-shrink:0}.exam-side-checklist-header{padding:8px 14px;font-size:.72rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--muted);border-bottom:1px solid var(--border);flex-shrink:0;background:var(--surface-soft)}.exam-side-checklist-body{overflow-y:auto;flex:1;min-height:0}.exam-side-checklist.exam-side-checklist-collapsed{max-height:48%}.cv-exam-view,.pulm-exam-view,.abdomen-exam-view{display:flex;flex-direction:column;height:100%;background:var(--surface);border-radius:var(--radius-md);overflow:hidden;-webkit-user-select:none;user-select:none}.exam-toolbar{display:flex;align-items:center;gap:8px;padding:6px 10px;background:var(--surface-soft);border-bottom:1px solid var(--border);flex-shrink:0;flex-wrap:wrap}.exam-toolbar-tools{display:flex;gap:4px}.exam-tool-btn{display:flex;flex-direction:column;align-items:center;gap:2px;padding:5px 8px;border:1.5px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);color:var(--text);cursor:pointer;font-size:.68rem;color:var(--muted);transition:background .12s,border-color .12s,color .12s;white-space:nowrap}.exam-tool-btn:hover{background:var(--surface-soft);border-color:var(--accent);color:var(--accent)}.exam-tool-btn.active{background:var(--accent);border-color:var(--accent);color:#fff}.exam-tool-icon{font-size:1.1rem;line-height:1}.exam-tool-label{font-size:.6rem;font-weight:600;letter-spacing:.02em}.exam-toolbar-position{display:flex;align-items:center;gap:6px;margin-left:auto}.exam-position-label{font-size:.72rem;color:var(--muted);white-space:nowrap}.exam-position-select{font-size:.75rem;padding:4px 8px;border:1.5px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);color:var(--text);cursor:pointer}.exam-toolbar-extras{display:flex;align-items:center;gap:8px;margin-left:8px}.exam-progress-badge{font-size:.7rem;font-weight:600;padding:3px 8px;border-radius:99px;background:var(--surface-soft);color:var(--muted);border:1px solid var(--border);white-space:nowrap}.exam-position-banner{text-align:center;font-size:.75rem;font-weight:600;color:var(--accent);background:color-mix(in srgb,var(--accent) 8%,transparent);border-bottom:1px solid color-mix(in srgb,var(--accent) 20%,transparent);padding:4px 10px;flex-shrink:0}.cv-body-scroll{flex:1;overflow-y:auto;overflow-x:hidden;display:flex;justify-content:center;padding:8px 0}.exam-view-container{position:relative;display:inline-block;width:100%;max-width:380px;cursor:default}.exam-body-diagram{width:100%;height:auto;display:block;pointer-events:none}.exam-hotspot-layer{position:absolute;inset:0;pointer-events:none}.exam-hotspot{position:absolute;border-radius:6px;pointer-events:auto;cursor:pointer;transition:background .15s,border-color .15s,box-shadow .15s}.exam-hotspot.zone-inactive{background:transparent;cursor:default;pointer-events:none}.exam-hotspot.zone-ready{background:#639bff0a;border:1.5px dashed rgba(99,155,255,.18)}.exam-hotspot.zone-ready:hover{background:#639bff1f;border-color:#639bff73}.exam-hotspot.zone-visited{background:#10b98114;border:1.5px solid rgba(16,185,129,.3)}.exam-hotspot.zone-visited:hover{background:#10b98126}.exam-hotspot.zone-active{background:#3b82f626;border:2px solid var(--accent, #3b82f6);box-shadow:0 0 0 3px #3b82f640,0 0 8px #3b82f633;animation:zone-pulse 1.4s ease-in-out infinite}@keyframes zone-pulse{0%,to{box-shadow:0 0 0 3px #3b82f640,0 0 8px #3b82f633}50%{box-shadow:0 0 0 6px #3b82f61f,0 0 16px #3b82f64d}}.zone-check{position:absolute;top:1px;right:2px;font-size:.55rem;color:#10b981;line-height:1;font-weight:700}.exam-cursor{position:absolute;font-size:1.4rem;pointer-events:none;z-index:20;line-height:1;transition:transform .08s ease;filter:drop-shadow(0 1px 3px rgba(0,0,0,.3))}.exam-cursor-active{transform:scale(1.2);filter:drop-shadow(0 0 6px rgba(59,130,246,.6))}.exam-patient-bubble{position:absolute;top:6px;right:-8px;max-width:160px;padding:6px 10px;background:var(--surface);border:1.5px solid var(--border);border-radius:10px 10px 2px;font-size:.75rem;color:var(--text);box-shadow:0 2px 8px #0000001a;z-index:15;animation:bubble-in .2s ease;white-space:normal;word-break:break-word}@keyframes bubble-in{0%{opacity:0;transform:scale(.85) translateY(4px)}to{opacity:1;transform:scale(1) translateY(0)}}.exam-hint{flex-shrink:0;text-align:center;font-size:.68rem;color:var(--muted);padding:4px 8px;border-top:1px solid var(--border);background:var(--surface-soft)}.exam-view-toggle{display:flex;border:1.5px solid var(--border);border-radius:var(--radius-sm);overflow:hidden}.view-toggle-btn{padding:4px 10px;font-size:.72rem;font-weight:600;background:var(--surface);border:none;cursor:pointer;color:var(--muted);transition:background .12s,color .12s}.view-toggle-btn+.view-toggle-btn{border-left:1.5px solid var(--border)}.view-toggle-btn.active{background:var(--accent);color:#fff}.pulm-exam-split{flex-direction:row!important}.pulm-tool-sidebar{display:flex;flex-direction:column;gap:4px;padding:8px 6px;background:var(--surface-soft);border-right:1px solid var(--border);flex-shrink:0;width:68px;align-items:center}.pulm-sidebar-btn{display:flex;flex-direction:column;align-items:center;gap:2px;padding:6px 4px;width:56px;border:1.5px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);color:var(--text);cursor:pointer;font-size:.6rem;transition:background .12s,border-color .12s,color .12s}.pulm-sidebar-btn:hover{border-color:var(--accent);color:var(--accent)}.pulm-sidebar-btn.active{background:var(--accent);border-color:var(--accent);color:#fff}.pulm-sidebar-btn:disabled{opacity:.5;cursor:default}.pulm-sidebar-icon{font-size:1.1rem;line-height:1}.pulm-sidebar-label{font-size:.58rem;font-weight:600;letter-spacing:.02em;white-space:nowrap}.pulm-sidebar-divider{width:36px;height:1px;background:var(--border);margin:4px 0}.pulm-exam-main{display:flex;flex-direction:column;flex:1;min-width:0;overflow:hidden}.pulm-topbar{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 10px;background:var(--surface-soft);border-bottom:1px solid var(--border);flex-shrink:0}.abdomen-exam-view{padding:10px;gap:12px}.abdomen-phase-stepper{display:flex;gap:6px;flex-wrap:wrap;flex-shrink:0}.phase-step{display:flex;align-items:center;gap:5px;padding:6px 12px;border:1.5px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);cursor:pointer;font-size:.75rem;color:var(--muted);transition:background .12s,border-color .12s;position:relative}.phase-step.active{border-color:var(--accent);background:color-mix(in srgb,var(--accent) 8%,transparent);color:var(--accent);font-weight:600}.phase-step.done{border-color:#10b981;color:#10b981}.phase-step-icon{font-size:1rem}.phase-step-check{font-size:.65rem;margin-left:2px;color:#10b981}.abdomen-exam-placeholder{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;border:2px dashed var(--border);border-radius:var(--radius-md);padding:24px;color:var(--muted);text-align:center}.abdomen-placeholder-icon{font-size:2.5rem}.abdomen-placeholder-title{font-size:1rem;font-weight:600;color:var(--text)}.abdomen-placeholder-desc{font-size:.82rem;max-width:260px}.abdomen-coming-soon{font-size:.72rem;color:var(--muted);opacity:.7;margin-top:4px}.abdomen-phase-nav{display:flex;justify-content:space-between;gap:8px;flex-shrink:0}.phase-nav-btn{padding:6px 14px;font-size:.78rem;border:1.5px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);cursor:pointer;color:var(--text);transition:background .12s}.phase-nav-btn:hover{background:var(--surface-hover, #e8efff)}.phase-nav-btn-next{margin-left:auto;border-color:var(--accent);color:var(--accent);font-weight:600}.avatar-status-bar{display:flex;align-items:center;gap:6px;padding:6px 14px;background:#00000047;color:#e8f4ff;font-size:.78rem;font-weight:600;letter-spacing:.02em}.avatar-state-dot{width:8px;height:8px;border-radius:50%;background:#9ca3af;flex-shrink:0;transition:background .3s}.avatar-state-dot.dot-talking{background:#22c55e;animation:dot-pulse .55s ease-in-out infinite alternate}@keyframes dot-pulse{0%{opacity:.6;transform:scale(.9)}to{opacity:1;transform:scale(1.2)}}.chat-input{width:100%;border:1px solid var(--border);border-radius:var(--radius-sm);padding:clamp(8px,6px + .45vw,10px) clamp(9px,7px + .5vw,12px);font-size:clamp(.88rem,.8rem + .4vw,1rem)}.chat-compose .btn{font-size:clamp(.8rem,.72rem + .35vw,.95rem);padding:clamp(7px,5px + .45vw,10px) clamp(10px,8px + .45vw,14px)}.patient-info-header{display:flex;flex-direction:column;gap:2px;margin-bottom:12px;padding-bottom:10px;border-bottom:1px solid var(--border)}.patient-name{font-size:1rem}.patient-identity{font-size:.82rem}.patient-info-grid{display:grid;gap:6px}.patient-info-row{display:flex;gap:8px;font-size:.88rem;align-items:baseline}.info-label{color:var(--muted);font-size:.78rem;font-weight:600;text-transform:uppercase;letter-spacing:.04em;min-width:44px;flex-shrink:0}.checklist-heading{margin:0 0 8px;font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.07em;color:var(--muted)}.checklist-sections{display:flex;flex-direction:column;gap:2px}.checklist-section{border-radius:6px;overflow:hidden;border:1px solid var(--border)}.checklist-section-header{display:flex;align-items:center;gap:6px;width:100%;padding:7px 10px;background:var(--surface-soft);border:none;cursor:pointer;text-align:left;font-size:.82rem;font-weight:600;color:var(--text)}.checklist-section-header:hover{background:var(--border)}.checklist-section-arrow{font-size:.7rem;color:var(--muted);flex-shrink:0}.checklist-section-label{flex:1}.checklist-section-count{font-size:.72rem;font-weight:500;background:var(--border);border-radius:99px;padding:1px 6px}.checklist-list{list-style:none;margin:0;padding:6px 10px 8px;display:flex;flex-direction:column;gap:6px;background:var(--surface)}.checklist-item{display:flex;align-items:flex-start;gap:8px;font-size:.8rem;line-height:1.4;color:var(--text)}.checklist-dot{width:9px;height:9px;border-radius:50%;border:2px solid var(--accent);flex-shrink:0;margin-top:3px;opacity:.6}.info-grid{display:grid;gap:6px}.info-row{font-size:.92rem}.soap-grid{display:grid;gap:10px}.soap-box{min-height:110px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-soft);padding:10px}.workspace-actions{display:flex;justify-content:space-between;align-items:center;gap:12px}.actions-right{display:flex;gap:10px}.form-stack{display:grid;gap:10px}input,textarea{font:inherit;color:var(--text);background:var(--surface)}input,textarea{border:1px solid var(--border);border-radius:var(--radius-sm);padding:10px 12px}input:focus,textarea:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px var(--ring)}.status{min-height:18px;font-size:.85rem;color:var(--muted)}.status.error{color:var(--danger)}.status.success{color:var(--success)}.results-dashboard{display:grid;grid-template-columns:320px 1fr;gap:16px}.dashboard-sidebar,.dashboard-main{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);box-shadow:var(--shadow-sm)}.dashboard-sidebar{padding:14px}.dashboard-main{padding:16px}.attempt-item{padding:12px;border:1px solid var(--border);border-radius:var(--radius-sm);margin-bottom:10px}.attempt-item.active{border-color:var(--accent);background:var(--surface-soft)}.attempt-card{display:grid;gap:14px}.results-header{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.results-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.meta-item{background:var(--surface-soft);border:1px solid var(--border);border-radius:var(--radius-sm);padding:10px}.meta-label{display:block;font-size:.75rem;color:var(--muted)}.meta-value{font-weight:700}.overall-score{min-width:130px;text-align:right}.score-label{display:block;font-size:.8rem;color:var(--muted)}.score-value{font-size:1.5rem;font-weight:800}.dashboard-charts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.chart-container{border:1px solid var(--border);border-radius:var(--radius-sm);padding:10px;background:var(--surface)}.chart-wrapper{min-height:220px}.section-item{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--border)}.performance-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.summary-section{border:1px solid var(--border);border-radius:var(--radius-sm);padding:10px}.feedback-details{border:1px solid var(--border);border-radius:var(--radius-sm);padding:12px}.metrics-list,.feedback-items,.low-items-list{margin:0;padding-left:18px}.feedback-grid{display:grid;gap:10px}.section-card{border:1px solid var(--border);border-radius:var(--radius-sm);padding:10px}.section-card-header{display:flex;justify-content:space-between;align-items:center;cursor:pointer}.results-empty{min-height:240px;display:flex;justify-content:center;align-items:center;color:var(--muted)}@media(max-width:980px){.cards-grid,.workspace-main,.results-dashboard{grid-template-columns:1fr}.workspace-main .workspace-right-col{width:100%;min-width:0}.workspace-right{min-height:400px}.dashboard-charts,.performance-summary,.results-meta{grid-template-columns:1fr}.results-header{flex-direction:column}}[data-theme=dark] body{background:radial-gradient(circle at top,#1c0505 0%,var(--bg) 45%)}[data-theme=dark] .app-header{background:#0a0a0aeb}[data-theme=dark] .patient-avatar{background:#1a1215}[data-theme=dark] .avatar-status-bar{background:#00000080}[data-theme=dark] .bottom-tab-btn:hover{background:#ffffff0f}[data-theme=dark] .bottom-tab-btn.active{background:var(--surface);border-bottom-color:var(--surface)}[data-theme=dark] .demo-topbar{border-bottom-color:var(--border)}[data-theme=dark] .timer-pill{background:#1e1e1e;border-color:var(--border)}[data-theme=dark] .avatar-blink{background:#9a6a5a}[data-theme=dark] .hosp-ceiling{fill:#2a1218}[data-theme=dark] .hosp-window-frame{fill:#4a2a3a}[data-theme=dark] .hosp-window-glass{fill:#04080d}[data-theme=dark] .hosp-window-shine{fill:#648cc80f}[data-theme=dark] .hosp-window-sill{fill:#4a2a3a}[data-theme=dark] .hosp-monitor-body{fill:#3a1f2a}[data-theme=dark] .hosp-monitor-screen{fill:#050c16}[data-theme=dark] .hosp-monitor-stand{fill:#3a1f2a}[data-theme=dark] .hosp-iv-pole{fill:#4a2a3a}[data-theme=dark] .hosp-iv-bag{fill:#182838}[data-theme=dark] .hosp-iv-bag-inner{fill:#102030}[data-theme=dark] .hosp-iv-tube{stroke:#3a4555}[data-theme=dark] .hosp-wainscot{fill:#2a141a}[data-theme=dark] .hosp-lower-wall{fill:#200f14}.theme-toggle-btn{width:34px;height:34px;border-radius:8px;border:1px solid var(--border);background:transparent;cursor:pointer;font-size:1rem;display:flex;align-items:center;justify-content:center;transition:background .15s;flex-shrink:0;color:var(--text)}.theme-toggle-btn:hover{background:var(--surface-soft)}.chat-bubble{display:flex;flex-direction:column;gap:3px;max-width:82%}.chat-bubble-student{align-self:flex-end;align-items:flex-end}.chat-bubble-patient{align-self:flex-start;align-items:flex-start}.chat-bubble-role{font-size:clamp(.6rem,.55rem + .22vw,.68rem);font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);padding:0 4px}.chat-bubble-text{display:block;padding:clamp(7px,5px + .45vw,9px) clamp(10px,7px + .65vw,13px);border-radius:14px;font-size:clamp(.78rem,.72rem + .3vw,.88rem);line-height:1.5}.chat-bubble-student .chat-bubble-text{background:var(--accent);color:#fff;border-bottom-right-radius:4px}.chat-bubble-patient .chat-bubble-text{background:var(--surface-soft);border:1px solid var(--border);border-bottom-left-radius:4px;color:var(--text)}.typing-dots{display:flex;gap:4px;align-items:center;padding:clamp(8px,6px + .45vw,10px) clamp(10px,8px + .55vw,14px);background:var(--surface-soft);border:1px solid var(--border);border-radius:14px 14px 14px 4px}.typing-dots span{width:clamp(5px,4px + .25vw,6px);height:clamp(5px,4px + .25vw,6px);border-radius:50%;background:var(--muted);animation:typing-bounce 1.1s ease-in-out infinite}.typing-dots span:nth-child(2){animation-delay:.15s}.typing-dots span:nth-child(3){animation-delay:.3s}@keyframes typing-bounce{0%,80%,to{transform:translateY(0);opacity:.5}40%{transform:translateY(-5px);opacity:1}}.nudge-banner{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:clamp(6px,5px + .35vw,8px) clamp(10px,8px + .9vw,16px);background:#fef9c3;border-bottom:1px solid #fde68a;color:#92400e;font-size:clamp(.76rem,.7rem + .3vw,.84rem);font-weight:500;flex-shrink:0}[data-theme=dark] .nudge-banner{background:#2d2500;border-color:#4d3d00;color:#fde68a}.nudge-dismiss{background:none;border:none;cursor:pointer;color:inherit;font-size:clamp(.72rem,.66rem + .25vw,.78rem);padding:0 4px;opacity:.7;flex-shrink:0}.nudge-dismiss:hover{opacity:1}.error-banner{background:#fef2f2;border-bottom:1px solid #fca5a5;color:#991b1b;padding:clamp(6px,5px + .35vw,8px) clamp(12px,10px + 1vw,20px);font-size:clamp(.76rem,.7rem + .3vw,.85rem);flex-shrink:0}[data-theme=dark] .error-banner{background:#2d0a0a;border-color:#7f1d1d;color:#fca5a5}.voice-btn{width:clamp(38px,32px + 1.6vw,44px);height:clamp(38px,32px + 1.6vw,44px);border-radius:10px;border:1.5px solid #3b82f6;background:#3b82f61a;cursor:pointer;font-size:clamp(1.05rem,.95rem + .45vw,1.25rem);display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:background .15s,border-color .15s,box-shadow .15s}[data-theme=dark] .voice-btn{border-color:#60a5fa;background:#60a5fa1f}.voice-btn:hover:not(:disabled){background:#3b82f633;border-color:#2563eb;box-shadow:0 0 0 3px #3b82f626}[data-theme=dark] .voice-btn:hover:not(:disabled){background:#60a5fa38;border-color:#93c5fd;box-shadow:0 0 0 3px #60a5fa33}.voice-btn:disabled{opacity:.4;cursor:not-allowed}.voice-btn-active{background:#fee2e2!important;border-color:#ef4444!important;animation:voice-pulse 1.2s ease-in-out infinite}[data-theme=dark] .voice-btn-active{background:#2d0a0a!important;border-color:#ef4444!important}@keyframes voice-pulse{0%,to{box-shadow:0 0 #ef444466}50%{box-shadow:0 0 0 5px #ef444400}}.voice-btn-continuous{background:#fef3c7!important;border-color:#f59e0b!important}[data-theme=dark] .voice-btn-continuous{background:#2d1f00!important;border-color:#f59e0b!important}.grading-overlay{position:fixed;inset:0;background:#0000008c;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;z-index:100;padding:max(12px,env(safe-area-inset-top,0px)) 16px max(12px,env(safe-area-inset-bottom,0px));box-sizing:border-box;overflow-y:auto;-webkit-overflow-scrolling:touch}.grading-modal{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);box-shadow:0 20px 60px #0000004d;padding:36px 40px;max-width:480px;width:90%;text-align:center;display:flex;flex-direction:column;align-items:center;gap:16px}.grading-overlay:has(.checklist-config-modal){padding-left:max(20px,env(safe-area-inset-left,0px));padding-right:max(20px,env(safe-area-inset-right,0px))}.grading-modal.checklist-config-modal{max-width:min(560px,100%);width:min(100%,560px);max-height:min(82vh,88dvh,calc(100svh - 2rem));overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;padding:clamp(16px,12px + 1.8vw,30px) clamp(14px,10px + 2.4vw,34px);text-align:left;align-items:stretch;gap:0;box-sizing:border-box}.grading-modal.checklist-config-modal .grading-title{text-align:center;align-self:center;font-size:clamp(1.05rem,.92rem + .55vw,1.4rem);margin:0 0 4px}.grading-modal.checklist-config-modal>p.muted{text-align:center;align-self:center;margin:0 auto clamp(10px,6px + .9vw,16px);font-size:clamp(.72rem,.66rem + .28vw,.82rem);line-height:1.45;max-width:42ch}.grading-modal.checklist-config-modal .grading-actions{margin-top:clamp(12px,8px + .9vw,20px)}.grading-modal.checklist-config-modal .grading-actions .btn{font-size:clamp(.78rem,.72rem + .28vw,.95rem);padding:clamp(8px,6px + .4vw,10px) clamp(11px,9px + .45vw,14px)}@media(max-width:480px){.grading-modal.checklist-config-modal{width:100%;padding:clamp(14px,10px + 1.2vw,18px) clamp(12px,8px + 1.2vw,16px)}}.grading-modal.briefing-modal{width:min(100%,480px);max-width:480px;flex-shrink:0;max-height:min(88dvh,88vh,calc(100svh - 2rem));overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;align-items:stretch;text-align:left}.grading-modal.briefing-modal .grading-title,.grading-modal.briefing-modal .grading-actions{text-align:center;align-self:center}.grading-modal.briefing-modal .grading-actions{width:auto;min-width:min(100%,280px)}.grading-modal.briefing-modal>p.muted{text-align:center;align-self:center}@media(max-width:640px){.grading-modal.briefing-modal{width:100%;max-width:none;padding:22px 18px;gap:12px;max-height:min(90dvh,90vh,calc(100svh - 1.5rem))}.grading-modal.briefing-modal .briefing-key{width:72px}}@media(max-width:980px){.workspace-main>.checklist-panel{display:none!important}.patient-panel{position:relative}.patient-mobile-fabs{position:absolute;top:10px;left:10px;z-index:6;display:flex;flex-direction:column;gap:8px;pointer-events:none}.patient-mobile-fabs>*{pointer-events:auto}.patient-mobile-fab{display:flex;align-items:center;justify-content:center;width:38px;height:38px;padding:0;border:1px solid var(--border);border-radius:12px;background:#ffffffeb;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);box-shadow:0 8px 22px #0000002e;font-size:.95rem;line-height:1;cursor:pointer;color:var(--text);transition:background .15s ease,border-color .15s ease,transform .12s ease,box-shadow .15s ease}.patient-mobile-fab-icon{display:inline-block;font-size:1.55rem;line-height:1}.patient-mobile-fab:hover{background:var(--surface-soft);box-shadow:0 10px 28px #00000038}.patient-mobile-fab:active{transform:translateY(1px)}[data-theme=dark] .patient-mobile-fab{background:#1e1e1eeb}[data-theme=dark] .patient-mobile-fab:hover{border-color:color-mix(in srgb,var(--accent) 35%,var(--border))}}@media(min-width:981px){.patient-mobile-fabs{display:none!important}}.mobile-sheet-close{position:absolute;top:10px;right:10px;width:36px;height:36px;border:none;border-radius:var(--radius-sm);background:var(--surface-soft);color:var(--text);font-size:1.45rem;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center;z-index:2}.mobile-sheet-close:hover{background:var(--border)}.mobile-sheet-title{margin:0 44px 12px 0!important;text-align:left;align-self:stretch;width:100%;font-size:1.2rem!important}.grading-modal.mobile-checklist-sheet,.grading-modal.mobile-patient-sheet{position:relative;width:min(100%,520px);max-width:none;max-height:min(88dvh,88vh,calc(100svh - 2rem));padding:18px 16px 20px;align-items:stretch;text-align:left;display:flex;flex-direction:column;flex-shrink:0;overflow:hidden}.grading-modal.mobile-emotions-sheet{position:relative;width:min(100%,calc(var(--emotion-meters-width) + 48px));max-width:none;max-height:min(88dvh,88vh,calc(100svh - 2rem));padding:14px 12px 16px;align-items:stretch;text-align:left;display:flex;flex-direction:column;flex-shrink:0;overflow:hidden}.mobile-checklist-sheet-body,.mobile-patient-sheet-body,.mobile-emotions-sheet-body{flex:1;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;text-align:left}.mobile-emotions-sheet-body{display:flex;flex-direction:column;align-items:stretch}.mobile-emotions-sheet-body .emotion-meters{position:relative;inset:auto;transform:none;width:var(--emotion-meters-width);max-width:var(--emotion-meters-width);margin:0 auto;align-self:center;flex-shrink:0}.grading-modal.mobile-emotions-sheet .emotion-meters{background:transparent;-webkit-backdrop-filter:none;backdrop-filter:none;border:none;box-shadow:none}.grading-modal.mobile-emotions-sheet .emotion-label,.grading-modal.mobile-emotions-sheet .emotion-value{color:#111}.grading-modal.mobile-emotions-sheet .emotion-bar-track{background:#00000014;border:1px solid rgba(0,0,0,.1)}.grading-modal.mobile-emotions-sheet .emotion-bar-fill{border-radius:3px}.mobile-patient-sheet-body .vitals-panel{margin:0}.grading-modal.grading-modal-results{max-width:620px;max-height:88vh;overflow-y:auto;text-align:left;align-items:stretch;gap:20px}.grading-modal.grading-modal-osce-results{padding:clamp(24px,20px + 1.4vw,32px) clamp(18px,14px + 1.8vw,34px)}@media(max-width:480px){.grading-modal.grading-modal-osce-results{width:100%;padding:clamp(18px,14px + 1.2vw,22px) clamp(14px,10px + 1.2vw,18px);gap:16px}}.grading-title{margin:0;font-size:1.4rem;font-weight:700;color:var(--text)}.grading-spinner{width:44px;height:44px;border-radius:50%;border:4px solid var(--border);border-top-color:var(--accent);animation:spin .75s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.grading-score{display:flex;flex-direction:column;gap:4px}.grading-score-label{font-size:.75rem;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);font-weight:600}.grading-score-value{font-size:3rem;font-weight:800;color:var(--accent);line-height:1}.grading-code{margin:0;font-size:.88rem;color:var(--muted)}.grading-sections{width:100%;display:flex;flex-direction:column;gap:6px;text-align:left;border:1px solid var(--border);border-radius:var(--radius-sm);padding:10px 14px;background:var(--surface-soft)}.grading-section-row{display:flex;justify-content:space-between;font-size:.83rem;color:var(--text)}.grading-section-score{font-weight:700;color:var(--accent)}.grading-actions{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;width:100%}.grading-header-row{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.grading-header-row .grading-score{flex-shrink:0;text-align:right}.grading-section-heading{margin:0 0 10px;font-size:.78rem;font-weight:700;text-transform:uppercase;letter-spacing:.07em;color:var(--muted)}.grading-section-heading-success{color:var(--success)}.grading-section-heading-warn{color:var(--warning)}.grading-breakdown{display:flex;flex-direction:column;gap:10px;padding:14px 16px;background:var(--surface-soft);border:1px solid var(--border);border-radius:var(--radius-sm)}.grading-bar-row{display:flex;flex-direction:column;gap:4px}.grading-bar-label{display:flex;justify-content:space-between;font-size:.83rem;color:var(--text)}.grading-bar-pct{font-weight:700;font-size:.83rem}.grading-bar{height:6px;border-radius:99px;background:var(--border);overflow:hidden}.grading-bar-fill{height:100%;border-radius:99px;transition:width .6s ease}.grading-insights{display:flex;flex-direction:column;gap:10px;padding:14px 16px;background:var(--surface-soft);border:1px solid var(--border);border-radius:var(--radius-sm)}.grading-insight-item{display:flex;flex-direction:column;gap:3px}.grading-insight-header{display:flex;justify-content:space-between;align-items:center;gap:8px}.grading-insight-name{font-size:.85rem;font-weight:600;color:var(--text)}.grading-insight-score{font-size:.83rem;font-weight:700;flex-shrink:0}.grading-insight-feedback{margin:0;font-size:.8rem;color:var(--muted);line-height:1.5}.grading-detail-section{display:flex;flex-direction:column;gap:10px;padding:14px 16px;background:var(--surface-soft);border:1px solid var(--border);border-radius:var(--radius-sm)}.grading-detail-section-title{margin:0 0 4px;font-size:.85rem;font-weight:700;color:var(--text);text-transform:uppercase;letter-spacing:.05em}.grading-detail-item{display:flex;flex-direction:column;gap:3px;padding-top:8px;border-top:1px solid var(--border)}.grading-detail-item:first-of-type{padding-top:0;border-top:none}.soap-grading-modal{max-height:85vh;overflow-y:auto}.soap-score-subtext{font-size:.7rem;display:block;text-align:right;margin-top:2px}.soap-grade-bar{display:flex;align-items:center;justify-content:flex-end;padding:8px 12px;border-bottom:1px solid var(--border);background:var(--surface);flex-shrink:0}.soap-rubric-sections{display:flex;flex-direction:column;gap:20px;margin-top:16px}.soap-rubric-section{border:1px solid var(--border);border-radius:10px;overflow:hidden}.soap-rubric-section-title{font-size:.8rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);background:var(--surface);margin:0;padding:10px 14px;border-bottom:1px solid var(--border)}.soap-rubric-item{padding:12px 14px;border-bottom:1px solid var(--border)}.soap-rubric-item:last-child{border-bottom:none}.soap-rubric-item-meets{background:#10b9810a}.soap-rubric-item-needs{background:#f59e0b0a}.soap-rubric-item-header{display:flex;align-items:flex-start;gap:10px;margin-bottom:6px}.soap-rubric-badge{font-size:.7rem;font-weight:600;padding:2px 8px;border-radius:99px;white-space:nowrap;flex-shrink:0}.soap-rubric-badge-meets{background:#10b9811f;color:var(--success);border:1px solid rgba(16,185,129,.25)}.soap-rubric-badge-needs{background:#f59e0b1f;color:var(--warning);border:1px solid rgba(245,158,11,.25)}.soap-rubric-item-name{font-size:.85rem;font-weight:500;color:var(--text);line-height:1.4}.soap-rubric-item-feedback{font-size:.8rem;color:var(--muted);line-height:1.6;margin:0;padding-left:4px}.calibration-countdown{font-size:3.5rem;font-weight:800;color:var(--accent);line-height:1}.calibration-prompt{font-size:.95rem;font-style:italic;color:var(--text);line-height:1.6;border-left:3px solid var(--accent);padding-left:12px;text-align:left}.checklist-dot.dot-present{background:var(--success);border-color:var(--success);opacity:1}.checklist-dot.dot-partial{background:var(--warning);border-color:var(--warning);opacity:1}.checklist-dot.dot-missing{opacity:.45}.checklist-item.status-present{color:var(--text);opacity:.75}.timer-pill-expired{background:linear-gradient(135deg,#fee2e2,#fef2f2)!important;border-color:#fca5a5!important;color:#dc2626;animation:timer-expired-pulse 1.5s ease-in-out infinite}@keyframes timer-expired-pulse{0%,to{opacity:1}50%{opacity:.7}}.timer-pill-paused{background:#fefce8!important;border-color:#fde047!important;color:#854d0e!important;gap:5px}[data-theme=dark] .timer-pill-paused{background:#1c1a07!important;border-color:#713f12!important;color:#fde047!important}.timer-pill-paused-icon{font-size:.7em;opacity:.8}.pause-btn{display:flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;border:1.5px solid var(--border);background:var(--surface-soft);color:var(--text);font-size:.85rem;cursor:pointer;transition:background .15s,border-color .15s;flex-shrink:0}.pause-btn:hover:not(:disabled){background:var(--border)}.pause-btn:disabled{opacity:.4;cursor:not-allowed}.pause-btn.pause-btn-paused{background:#fef08a;border-color:#fde047;color:#854d0e}[data-theme=dark] .pause-btn.pause-btn-paused{background:#1c1a07;border-color:#713f12;color:#fde047}.demo-mode-toggle-locked .demo-mode-btn:not(.active){opacity:.4;cursor:not-allowed}.demo-track-swiper-locked .demo-swiper-arrow{opacity:.3;cursor:not-allowed}.chat-compose-paused{opacity:.6;pointer-events:none}.end-osce-options{display:flex;flex-direction:column;gap:10px;width:100%}.grading-modal.end-osce-modal{max-width:min(420px,100%);width:min(100%,420px);padding:clamp(18px,14px + 2vw,34px) clamp(16px,12px + 2.4vw,40px);gap:clamp(10px,8px + 1vw,16px);box-sizing:border-box}.grading-modal.end-osce-modal .grading-title{text-align:center;font-size:clamp(1.05rem,.92rem + .6vw,1.4rem)}.grading-modal.end-osce-modal>p.muted{text-align:center;margin:0 0 clamp(12px,9px + 1.2vw,20px);font-size:clamp(.78rem,.72rem + .35vw,.9rem);line-height:1.45}.end-osce-option{display:flex;align-items:center;gap:14px;padding:clamp(11px,9px + .9vw,14px) clamp(12px,10px + 1vw,16px);border-radius:var(--radius-sm);border:1.5px solid var(--border);background:var(--surface-soft);cursor:pointer;text-align:left;transition:border-color .15s,background .15s;width:100%}.end-osce-option:hover{background:var(--surface)}.end-osce-option strong{display:block;font-size:clamp(.82rem,.78rem + .3vw,.9rem);color:var(--text);margin-bottom:2px}.end-osce-option p{margin:0;font-size:clamp(.7rem,.66rem + .3vw,.78rem);color:var(--muted);line-height:1.4}.end-osce-option-icon{font-size:clamp(1.25rem,1.1rem + .6vw,1.5rem);flex-shrink:0;line-height:1}.end-osce-option-grade{border-color:var(--accent)}.end-osce-option-grade:hover{background:color-mix(in srgb,var(--accent) 8%,var(--surface))}.end-osce-option-restart{border-color:var(--border)}@media(max-width:480px){.grading-modal.end-osce-modal{width:100%;padding:clamp(16px,12px + 1.6vw,20px) clamp(14px,10px + 1.6vw,18px)}.grading-modal.end-osce-modal .grading-actions{flex-direction:column;align-items:stretch}.grading-modal.end-osce-modal .grading-actions .btn{width:100%}}.history-end-modal{max-width:540px;text-align:left;align-items:stretch}.history-end-task-box{background:var(--surface-soft);border:1px solid var(--border);border-radius:var(--radius-sm);padding:14px;display:flex;flex-direction:column;gap:8px}.history-end-task-label{font-size:.7rem;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:var(--accent);margin:0}.history-end-task-text{font-size:.9rem;color:var(--text);margin:0;line-height:1.5}.history-end-textarea{width:100%;box-sizing:border-box;padding:10px 12px;border-radius:var(--radius-sm);border:1.5px solid var(--border);background:var(--surface);color:var(--text);font-size:.88rem;font-family:inherit;line-height:1.5;resize:vertical;min-height:100px;transition:border-color .15s}.history-end-textarea:focus{outline:none;border-color:var(--accent)}.history-end-textarea::placeholder{color:var(--muted)}.history-end-actions{display:flex;gap:8px;width:100%}.history-end-btn{flex:1;padding:10px 14px;border-radius:var(--radius-sm);border:1.5px solid var(--border);font-size:.85rem;font-weight:600;cursor:pointer;transition:background .15s,border-color .15s,opacity .15s;font-family:inherit}@media(max-width:480px){.grading-modal.history-end-modal{padding:clamp(16px,12px + 1.6vw,20px) clamp(14px,10px + 1.6vw,18px)}.history-end-actions{flex-direction:column;align-items:stretch}.history-end-btn{width:100%}}.history-end-btn-reset{background:color-mix(in srgb,var(--danger) 10%,var(--surface));border-color:var(--danger);color:var(--danger)}.history-end-btn-reset:hover{background:color-mix(in srgb,var(--danger) 18%,var(--surface))}.history-end-btn-skip{background:var(--surface-soft);border-color:var(--border);color:var(--text)}.history-end-btn-skip:hover{background:var(--surface);border-color:var(--muted)}.history-end-btn-grade{background:var(--accent);border-color:var(--accent);color:#fff}.history-end-btn-grade:hover:not(:disabled){opacity:.88}.history-end-btn-grade:disabled{opacity:.4;cursor:not-allowed}.history-end-cancel{align-self:center;background:none;border:none;color:var(--muted);font-size:.8rem;cursor:pointer;padding:4px 8px;font-family:inherit;transition:color .15s}.history-end-cancel:hover{color:var(--text)}.diagnosis-card{border:1.5px solid var(--border);border:1.5px solid color-mix(in srgb,var(--accent) 40%,var(--border));border-radius:var(--radius-sm);background:var(--surface);background:color-mix(in srgb,var(--accent) 6%,var(--surface));overflow:hidden;flex-shrink:0}.diagnosis-card-detail{border-color:color-mix(in srgb,var(--accent) 55%,var(--border))}.diagnosis-card-header{display:flex;align-items:center;gap:12px;padding:14px 16px;border-bottom:1px solid var(--border);border-bottom:1px solid color-mix(in srgb,var(--accent) 25%,var(--border));background:var(--surface);background:color-mix(in srgb,var(--accent) 10%,var(--surface))}.diagnosis-card-icon{font-size:1.4rem;flex-shrink:0}.diagnosis-card-title{margin:0;font-size:.95rem;font-weight:700;color:var(--text)}.diagnosis-card-subtitle{margin:2px 0 0;font-size:.75rem;color:var(--muted)}.diagnosis-card-score{margin-left:auto;font-size:1.25rem;font-weight:700;flex-shrink:0}.diagnosis-card-items{display:flex;flex-direction:column;gap:0}.diagnosis-item{padding:12px 16px;border-bottom:1px solid color-mix(in srgb,var(--accent) 15%,var(--border))}.diagnosis-item:last-child{border-bottom:none}.diagnosis-item-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:4px}.diagnosis-item-name{font-size:.88rem;font-weight:600;color:var(--text)}.diagnosis-item-score{font-size:.82rem;font-weight:600;flex-shrink:0}.diagnosis-item-feedback{margin:0;font-size:.82rem;color:var(--muted);line-height:1.5}.goals-list{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:10px;text-align:left}.goals-list-item{display:flex;align-items:flex-start;gap:10px;font-size:.875rem;color:var(--text);line-height:1.55;text-align:left;padding:10px 12px;border-radius:var(--radius-sm);background:var(--surface-soft);border:1px solid var(--border);transition:background .2s,border-color .2s}.goals-list-item.goal-done{background:color-mix(in srgb,var(--success) 10%,var(--surface));border-color:color-mix(in srgb,var(--success) 40%,var(--border))}.goal-index{flex-shrink:0;width:22px;height:22px;border-radius:50%;background:var(--border);color:var(--muted);font-size:.75rem;font-weight:600;display:flex;align-items:center;justify-content:center;margin-top:1px;transition:background .2s,color .2s}.goals-list-item.goal-done .goal-index{background:var(--success);color:#fff}.goal-text{flex:1}.goals-list-item.goal-done .goal-text{color:var(--muted);text-decoration:line-through}.goals-tab-content{padding:14px 16px;overflow-y:auto;flex:1}.soap-textarea{width:100%;min-height:70px;resize:vertical;border:1px solid var(--border);border-radius:6px;padding:8px 10px;font:inherit;font-size:.84rem;color:var(--text);background:var(--surface);box-sizing:border-box}.soap-textarea:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px var(--ring)}.access-gate{min-height:100vh;display:flex;align-items:center;justify-content:center;background:var(--bg)}.access-gate-box{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:40px 48px;max-width:420px;width:100%;display:flex;flex-direction:column;gap:14px;text-align:center}.access-gate-box h2{margin:0;font-size:1.25rem}.access-gate-input{width:100%;padding:10px 14px;border:1px solid var(--border);border-radius:8px;background:var(--bg);color:var(--text);font-size:.95rem;box-sizing:border-box}.access-gate-input:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px var(--ring)}.access-gate-error{color:#e05252;font-size:.85rem;margin:0}.access-gate-sent{color:var(--accent);font-size:.9rem;margin:0}.access-gate-toggle{background:none;border:none;color:var(--accent);font-size:.85rem;cursor:pointer;padding:0;text-decoration:underline}.access-gate-toggle:hover{opacity:.8}.modal-overlay{position:fixed;inset:0;background:#0009;display:flex;align-items:center;justify-content:center;z-index:9999}.modal-box{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:2rem;max-width:480px;width:90%;display:flex;flex-direction:column;gap:1rem}.modal-box h2{margin:0;font-size:1.2rem}.modal-box p{margin:0;color:var(--muted);font-size:.95rem;line-height:1.5}.modal-form-link{display:inline-block;background:var(--accent);color:#fff;text-decoration:none;padding:.6rem 1.2rem;border-radius:8px;font-size:.95rem;font-weight:500;text-align:center}.modal-form-link:hover{opacity:.85}.modal-actions{display:flex;justify-content:flex-end}.exam-patient-body-container{position:relative;display:flex;flex-direction:column;align-items:center;width:100%;-webkit-user-select:none;user-select:none;background:#c5dded;border-radius:var(--radius-md, 8px);overflow:hidden}[data-theme=dark] .exam-patient-body-container{background:#1a1215}.exam-patient-body-container.exam-stethoscope-mode{cursor:none}.exam-patient-body-container .patient-avatar-bg{position:absolute;inset:0;width:100%;height:100%;z-index:0;opacity:.4}.exam-patient-body-container{position:relative;display:flex;flex-direction:column;align-items:center;width:100%;height:100%;overflow:hidden;cursor:default}.exam-patient-character{position:relative;width:100%;max-width:520px;margin:0 auto;overflow:hidden;flex:1;min-height:0;animation:exam-breathe 3.6s ease-in-out infinite}.exam-character-sizer{position:relative;width:100%}.exam-patient-body-container.is-talking .exam-patient-character{animation:exam-talk-sway .55s ease-in-out infinite alternate}.exam-patient-img{display:block;width:100%;height:auto;-webkit-user-select:none;user-select:none;pointer-events:none;transition:opacity .4s ease}.exam-view-anterior .exam-patient-character{max-width:520px}.exam-view-anterior.is-talking .exam-patient-character{animation:exam-talk-sway .55s ease-in-out infinite alternate}@keyframes exam-breathe{0%,to{transform:translateY(0)}50%{transform:translateY(-3px)}}@keyframes exam-talk-sway{0%{transform:translateY(0) rotate(-.2deg)}to{transform:translateY(-2px) rotate(.2deg)}}.exam-character-sizer.breath-deep{animation:exam-deep-breath 4s ease-in-out infinite}.exam-character-sizer.breath-hold{transform:scaleY(1.03);transform-origin:top center}@keyframes exam-deep-breath{0%,to{transform:scaleY(1);transform-origin:top center}50%{transform:scaleY(1.02);transform-origin:top center}}.exam-blink-left{left:40%;top:8.6%;width:5.5%;height:1.5%;background:#d89c85}.exam-blink-right{left:53%;top:8.4%;width:5.5%;height:1.5%;background:#d89c85}.avatar-female .exam-blink-left{left:39%;top:10%;background:#dda88e}.avatar-female .exam-blink-right{left:55%;top:10%;background:#dda88e}.exam-character-sizer .exam-hotspot-layer{position:absolute;top:0;left:0;width:100%;height:100%;z-index:2}.exam-stethoscope-mode{cursor:none}.exam-patient-body-container .exam-patient-bubble{position:absolute;top:4px;left:50%;transform:translate(-50%);background:var(--surface);color:var(--text);padding:4px 10px;border-radius:8px;box-shadow:0 1px 6px #0000001f;font-size:.72rem;max-width:180px;text-align:center;z-index:10;animation:bubble-pop .2s ease-out;pointer-events:none}@keyframes bubble-pop{0%{opacity:0;transform:translate(-50%) translateY(6px)}to{opacity:1;transform:translate(-50%) translateY(0)}}.exam-submode-toggle{display:flex;background:var(--surface-soft, #f0f0f0);border:1px solid var(--border);border-radius:99px;padding:3px;flex-shrink:0}.exam-submode-btn{flex:1;padding:6px 14px;border:none;border-radius:99px;background:transparent;color:var(--muted);font-size:.78rem;font-weight:600;cursor:pointer;transition:background .25s,color .25s,box-shadow .25s}.exam-submode-btn.active{background:var(--surface);color:var(--text);box-shadow:0 1px 4px #0000001f}.exam-submode-btn:not(.active):hover{color:var(--text);background:#0000000a}.exam-gown-btn{padding:5px 12px;border-radius:6px;font-size:.78rem;font-weight:600;border:1.5px solid var(--border);cursor:pointer;transition:all .3s ease;white-space:nowrap}.exam-gown-btn-on{background:var(--surface-soft);color:var(--muted);cursor:pointer;opacity:.85}.exam-gown-btn-consented{background:var(--surface);color:var(--success, #10b981);border-color:var(--success, #10b981);animation:consent-pulse 1.5s ease-in-out infinite}.exam-gown-btn-lifted{background:color-mix(in srgb,var(--success, #10b981) 10%,var(--surface));color:var(--success, #10b981);border-color:color-mix(in srgb,var(--success, #10b981) 40%,var(--border));cursor:default}@keyframes consent-pulse{0%,to{box-shadow:0 0 #10b98166}50%{box-shadow:0 0 0 6px #10b98100}}.exam-fullscreen-main{transition:all .45s ease}.cv-exam-conversation,.pulm-exam-conversation{display:flex;align-items:center;justify-content:center;height:100%;padding:20px}.cv-exam-conversation .patient-avatar-wrap,.pulm-exam-conversation .patient-avatar-wrap{max-width:380px;width:100%}.exam-side-checklist-compact{max-height:28%}.pulm-procedure-panel{padding:8px 12px;border-bottom:1px solid var(--border);background:color-mix(in srgb,var(--surface) 60%,var(--bg));position:relative}.pulm-procedure-sections{display:flex;gap:12px;margin-bottom:6px}.pulm-procedure-section{display:flex;align-items:center;gap:6px;flex:1;min-width:0}.pulm-procedure-section-label{font-size:.72rem;font-weight:600;color:var(--muted);white-space:nowrap}.pulm-procedure-section-bar{flex:1;height:6px;border-radius:3px;background:var(--border);overflow:hidden}.pulm-procedure-section-fill{height:100%;border-radius:3px;background:var(--success, #10b981);transition:width .4s ease}.pulm-procedure-section-count{font-size:.7rem;color:var(--muted);font-variant-numeric:tabular-nums;white-space:nowrap}.pulm-procedure-next{display:flex;align-items:center;gap:8px;padding:6px 10px;border-radius:6px;background:color-mix(in srgb,var(--accent, #3b82f6) 8%,var(--surface));border:1px solid color-mix(in srgb,var(--accent, #3b82f6) 25%,var(--border));animation:procedure-hint-pulse 2s ease-in-out infinite}.pulm-procedure-next-arrow{font-size:.8rem;color:var(--accent, #3b82f6);flex-shrink:0}.pulm-procedure-next-label{font-size:.78rem;color:var(--text);line-height:1.3}.pulm-procedure-complete{background:color-mix(in srgb,var(--success, #10b981) 10%,var(--surface));border-color:color-mix(in srgb,var(--success, #10b981) 30%,var(--border));animation:none}.pulm-procedure-complete .pulm-procedure-next-arrow{color:var(--success, #10b981)}@keyframes procedure-hint-pulse{0%,to{opacity:1}50%{opacity:.75}}.pulm-procedure-toast{position:absolute;bottom:-44px;left:12px;right:12px;padding:8px 12px;border-radius:6px;background:color-mix(in srgb,var(--warning, #f59e0b) 15%,var(--surface));border:1px solid color-mix(in srgb,var(--warning, #f59e0b) 35%,var(--border));font-size:.75rem;color:var(--text);z-index:10;animation:toast-in .3s ease,toast-out .5s ease 3.5s forwards}@keyframes toast-in{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes toast-out{0%{opacity:1}to{opacity:0}}.exam-pose-img{animation:pose-fade-in .25s ease}@keyframes pose-fade-in{0%{opacity:0}to{opacity:1}}
