:root{font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif;color:#173e47;background:#f2f8f9;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}.shell{display:flex;min-height:100vh}.sidebar{width:255px;background:#fff;border-right:1px solid #e1ebee;padding:30px 19px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.brand{font-size:25px;font-weight:850;letter-spacing:-1px;display:flex;gap:10px;align-items:center;color:#163d44}.brand>span:last-child>span{color:#13858a}.brand-logo{background:#e0f6ef;color:#13898b;font-size:26px;border-radius:15px;padding:7px 11px}.side-caption{font-size:10px;letter-spacing:1.9px;font-weight:800;color:#9caeb2;margin:46px 15px 15px}nav{display:grid;gap:7px}nav button{border:0;background:transparent;text-align:left;padding:15px;border-radius:12px;color:#617b80;display:flex;gap:14px;font-weight:650;font-size:14px}nav button:hover,nav button.active{background:#e9f8f5;color:#087f81}.side-footer{margin-top:auto;background:#f3f9f8;border-radius:14px;padding:16px;font-size:12px;color:#466a6b}.side-footer small{display:block;margin-top:8px;color:#82989a}.status-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#39b88a;margin-right:6px}.main{flex:1;min-width:0;display:flex;flex-direction:column}.topbar{height:77px;background:#fff;border-bottom:1px solid #e4eeee;display:flex;align-items:center;justify-content:space-between;padding:0 5%;gap:10px}.top-title{font-size:14px;font-weight:700;color:#58737c}.demo-pill{font-size:10px;background:#e5f5f0;border:1px solid #bfe6db;padding:5px 8px;border-radius:20px;color:#16867e;margin-left:12px}.patient-chip{font-size:13px;background:#f2f7f7;padding:10px 14px;border-radius:30px;color:#426970}.mobile-brand{display:none}.view{width:min(1050px,90%);margin:0 auto;flex:1;padding:54px 0 35px}.bottom{font-size:11px;text-align:center;color:#91a5ab;padding:20px}.eyebrow{text-transform:uppercase;font-size:11px;letter-spacing:2px;font-weight:850;color:#13a09b;margin-bottom:12px}.hero{background:linear-gradient(120deg,#087b82,#17a08e);border-radius:30px;color:white;display:grid;grid-template-columns:1.2fr .8fr;min-height:410px;overflow:hidden;box-shadow:0 18px 50px #0f8b8a22}.hero-copy{padding:66px 50px}.hero h1{font-size:clamp(38px,5vw,62px);letter-spacing:-2.4px;line-height:1.1;margin:0 0 17px}.hero p{font-size:18px;opacity:.89;line-height:1.6;max-width:390px}.hero-art{font-size:145px;display:grid;place-items:center;background:radial-gradient(circle,#ffffff35 0 36%,transparent 37%);text-shadow:0 14px 25px #033e4040}.btn{background:#138f91;color:white;border:0;border-radius:12px;padding:14px 22px;font-weight:750;box-shadow:0 8px 20px #0a878521}.btn:hover{background:#0c7378}.btn.white{background:white;color:#077c80;box-shadow:none;margin-top:24px}.btn.outline{border:1px solid #bedadb;background:white;color:#367377;box-shadow:none}.btn.full{width:100%}.section-head{margin-bottom:32px}.section-head h1{font-size:clamp(26px,3.2vw,36px);letter-spacing:-1px;margin:0 0 9px}.section-head p{color:#7b9299;margin:0;font-size:15px}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.card,.panel{background:white;border:1px solid #e2eced;border-radius:20px;padding:26px;box-shadow:0 9px 28px #173b4410}.card{transition:transform .15s,border .15s}.card.selectable{cursor:pointer}.card.selectable:hover,.card.chosen{border:2px solid #119a92;transform:translateY(-2px)}.card .symbol{font-size:35px;background:#e8f8f4;width:68px;height:68px;display:grid;place-items:center;border-radius:20px;margin-bottom:22px}.card h3{margin:0 0 9px}.card p{font-size:14px;color:#799198;line-height:1.55;margin:0 0 19px}.card .arrow{color:#0a9690;font-weight:800}.panel{max-width:570px;margin:0 auto}.form-label{display:block;font-size:13px;font-weight:750;margin:17px 0 9px}.field{width:100%;border:1px solid #d7e4e6;background:#fcfefe;padding:15px;border-radius:11px;outline:0;color:#173e47}.field:focus{border-color:#158c90;box-shadow:0 0 0 3px #14a59a1f}.actions{display:flex;gap:12px;margin-top:26px;flex-wrap:wrap}.actions .btn{min-width:170px}.slots{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:10px}.slot{border:1px solid #dce9e9;background:white;border-radius:12px;padding:13px;font-weight:700;color:#527076}.slot.active{background:#def7f0;border-color:#06978c;color:#077b79}.doctor-avatar{font-size:65px;background:linear-gradient(145deg,#d9f4ee,#effbfa);border-radius:20px;min-height:155px;display:grid;place-items:center;margin-bottom:17px}.detail-list{display:grid;gap:14px;margin-top:22px}.detail{display:flex;justify-content:space-between;gap:15px;padding:15px 0;border-bottom:1px solid #e8eeee;font-size:15px}.detail span:first-child{color:#83989b}.detail strong{text-align:right}.video{min-height:285px;border-radius:22px;background:linear-gradient(135deg,#123a48,#1e6570);color:#fff;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:14px;text-align:center}.video .big{font-size:85px}.video p{opacity:.75}.notice{background:#eaf8f4;color:#337773;padding:17px;border-radius:13px;font-size:14px;margin-top:18px}.doc{background:#fff;border:1px solid #e0e9eb;border-radius:18px;padding:30px;max-width:650px;line-height:2}.doc-header{font-weight:850;color:#0b8e87;border-bottom:2px solid #d4eee8}.muted{color:#82999e;font-size:13px}.alert{color:#9c5b25;background:#fff5e8;border-radius:12px;padding:13px 16px;margin-top:20px}.center{text-align:center}.finish-icon{font-size:82px;margin:20px}.loading{padding:90px;text-align:center;color:#76929a}.toast{position:fixed;bottom:25px;right:25px;padding:14px 20px;border-radius:12px;background:#155b62;color:#fff;box-shadow:0 8px 30px #0003;display:none;max-width:350px;z-index:10}.toast.error{background:#ad4949}.toast.show{display:block}@media(max-width:900px){.sidebar{width:210px}.view{width:92%}.cards{grid-template-columns:repeat(2,1fr)}.hero-copy{padding:42px 30px}.hero-art{font-size:90px}}@media(max-width:640px){.shell{display:block}.sidebar{position:fixed;z-index:5;bottom:0;top:auto;height:68px;width:100%;padding:6px 8px;border-right:0;border-top:1px solid #e2eeee}.sidebar .brand,.sidebar .side-caption,.sidebar .side-footer{display:none}.sidebar nav{display:flex;justify-content:space-around}nav button{flex-direction:column;gap:1px;align-items:center;font-size:20px;padding:5px 7px}nav button span{font-size:9px}.topbar{height:65px;padding:0 17px}.mobile-brand{display:block;font-weight:850;color:#098b87}.top-title{display:none}.patient-chip{font-size:11px;padding:8px}.view{padding:26px 0 90px;width:92%}.cards{grid-template-columns:1fr;gap:11px}.card{padding:20px}.card .symbol{margin-bottom:13px}.hero{grid-template-columns:1fr;min-height:auto}.hero-copy{padding:42px 28px}.hero-art{display:none}.slots{grid-template-columns:repeat(2,1fr)}.panel{padding:21px}.bottom{display:none}}
.checkline{display:flex;gap:10px;align-items:flex-start;margin-top:22px;font-size:13px;line-height:1.5;color:#53747b}.checkline input{margin-top:3px}.tutorialsteps{display:grid;gap:8px;margin-top:15px}.step{display:flex;align-items:center;gap:17px;background:#f4f9f9;border-radius:13px;padding:12px 16px}.step span{flex:none;display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#0c8986;color:white;font-weight:800}.step p{margin:0;line-height:1.5}.appts{display:grid;grid-template-columns:repeat(auto-fit,minmax(275px,1fr));gap:16px}.appts .card p{margin-bottom:10px}.appts .actions .btn{min-width:unset}select.field{background:white}

/* Videochamada para laboratório escolar */
.video-panel{max-width:1050px!important}.video-embed{margin:18px 0;background:#0c2234;border-radius:16px;overflow:hidden;aspect-ratio:16/9;min-height:330px}.video-embed iframe{display:block;width:100%;height:100%;min-height:330px;border:0}.video-panel .actions{flex-wrap:wrap}.video-panel .actions a.btn{text-decoration:none;display:inline-flex;align-items:center;justify-content:center}@media(max-width:700px){.video-embed{aspect-ratio:3/4;min-height:450px}.video-embed iframe{min-height:450px}}

.install-panel{max-width:780px}.install-hero{display:flex;align-items:center;gap:20px;background:#eaf8f4;border-radius:18px;padding:18px}.install-hero h2{margin:0 0 5px}.install-hero p{margin:0;line-height:1.5;color:#47787b}.install-panel .step{align-items:flex-start}.install-panel .step p{padding-top:5px}@media(max-width:640px){.sidebar nav button{font-size:18px;padding:5px 3px}.sidebar nav button span{font-size:9px}.install-hero{gap:12px}.install-hero img{width:60px;height:60px}}

.vitals-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px;margin:12px 0 22px}.vitals-grid .form-label{display:block}

/* Histórico de simulações */
.history-entry{border:1px solid #d8e6e9;border-radius:15px;padding:20px;margin:14px 0;background:#fff;overflow-wrap:anywhere}
.history-entry h3{margin:8px 0}.history-entry p{line-height:1.65;white-space:pre-wrap}.history-versions{display:flex;gap:9px;flex-wrap:wrap;margin:12px 0}.history-versions button{white-space:normal;text-align:left}
