:root{--ink:#203640;--muted:#536772;--bg:#f3f5f2;--teal:#146a63;--line:#d5deda;--accent:#146a63}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:120px}body{margin:0;background:var(--bg);color:var(--ink);font:17px/1.6 system-ui,-apple-system,Arial,sans-serif}main{max-width:1100px;margin:auto;padding:18px 16px 50px}a{color:#155e70;text-underline-offset:4px}h1,h2,h3{line-height:1.18;letter-spacing:-.025em}h2{font-size:clamp(26px,4vw,38px);margin:8px 0 22px}h3{font-size:21px;margin:0 0 12px}p{margin:0 0 16px}p:last-child{margin-bottom:0}small{font-size:.83em}button,select{font:inherit;min-height:46px;padding:10px 14px;border:1px solid #9cafb4;border-radius:12px;background:#fff;color:var(--ink)}button,summary{cursor:pointer;touch-action:manipulation}button:hover:not(:disabled){background:#e7f3ee}button:disabled{cursor:default;opacity:.7}a:focus-visible,button:focus-visible,summary:focus-visible,select:focus-visible,[tabindex]:focus-visible{outline:3px solid #b75c05;outline-offset:4px}.skip{position:absolute;top:-100px;left:10px;background:white;padding:12px;z-index:30}.skip:focus{top:10px}.top{position:sticky;top:0;z-index:10;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px max(16px,calc((100vw - 1068px)/2));background:#fffffff2;border-bottom:1px solid var(--line);backdrop-filter:blur(12px)}.top a{font-weight:750;text-decoration:none}.top button{font-size:14px}.hero{position:relative;overflow:hidden;background:linear-gradient(120deg,#123f40,#176657);border-radius:26px;padding:32px 24px;color:#fff}.hero:after{content:'↗';position:absolute;right:3%;top:18%;font-size:230px;line-height:1;color:#ffffff0c;pointer-events:none}.hero h1{position:relative;font-size:clamp(42px,8vw,80px);margin:20px 0;letter-spacing:-.05em}.dot{color:#ffc16e}.eyebrow{font-size:12px;letter-spacing:.1em;text-transform:uppercase;font-weight:800;color:var(--muted)}.hero .eyebrow{color:#c6e6dc}.badge,.seal{display:inline-block;border-radius:8px;padding:5px 9px;font-size:12px;font-weight:750;background:#ffffffb0;color:#324f50}.badge{background:#ffce86;color:#513706}.lead{font-size:clamp(20px,3vw,26px);color:#e1f5eb}.primary{display:inline-block;background:#ffce86;color:#3b321f;border-radius:12px;padding:13px 18px;font-weight:800;text-decoration:none}.hero-foot{margin-top:24px;color:#c6e6dc;font-size:13px}.pills{display:flex;gap:8px;overflow:auto;padding:18px 0;white-space:nowrap}.pills a{border:1px solid var(--line);background:#fff;border-radius:25px;padding:8px 16px;text-decoration:none;font-weight:700}section{margin:22px 0 32px;background:white;border:1px solid var(--line);border-radius:22px;padding:24px 18px;min-width:0}.grid,.hypotheses{display:grid;gap:12px;margin:18px 0}.mini{padding:20px;border-radius:16px;background:#edf3ef;border:1px solid #0000000c;min-width:0}.mini p{font-size:16px}.teal{background:#e2f3eb}.coral{background:#ffebe2}.blue{background:#e6f0fd}.violet{background:#efeafa}.amber{background:#fff2ce}.mini .seal{margin:4px 0 0}.external{color:#593d07;background:#ffe9b2;max-width:100%;overflow-wrap:anywhere}.case-head{display:flex;align-items:center;gap:15px}.case-head p{font-size:15px;margin-top:5px}.patient{flex-shrink:0;display:grid;place-items:center;width:70px;height:70px;border-radius:22px;background:#146a63;color:white;font-weight:900}.chips{display:flex;flex-wrap:wrap;gap:8px;margin:22px 0}.chips span{padding:8px 12px;border-radius:25px;background:#eef2f5;font-size:14px;font-weight:750}.warning{padding:16px;background:#fff0dc;border:2px solid #b25b19;border-radius:13px;color:#743306;margin:20px 0}.note{font-size:14px;color:var(--muted);margin:12px 0}.metrics{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:16px 0}.metrics span{font-size:13px}.metrics b{display:block;font-size:27px;line-height:1.3}.hypotheses .seal{margin-bottom:14px}.objective{border:1px solid var(--line);border-left:5px solid var(--accent);border-radius:15px;margin:14px 0;background:#fff;scroll-margin-top:80px;overflow:clip}.o1{--accent:#146a63}.o2{--accent:#a94059}.o3{--accent:#b65c13}.o4{--accent:#6a4ca5}.o5{--accent:#255eaa}.o6{--accent:#8a3d1a}.o7{--accent:#1d4e89}.objective>summary{display:flex;align-items:flex-start;gap:12px;list-style:none;padding:20px 14px;font-weight:750;line-height:1.45}.objective>summary::-webkit-details-marker{display:none}.objective>summary:after{content:'+';font-size:26px;margin-left:auto;color:var(--accent);flex-shrink:0}.objective[open]>summary:after{content:'−'}.objective>summary small{display:block;color:var(--accent);font-size:12px;letter-spacing:.03em;margin:0 0 6px}.obj-num{display:grid;place-items:center;flex-shrink:0;width:38px;height:38px;border-radius:12px;background:var(--accent);color:white}.objective-content{padding:0 14px 20px;border-top:1px solid var(--line)}.axis{display:flex;align-items:center;flex-wrap:wrap;justify-content:center;gap:10px;padding-top:20px}.axis span{text-align:center;background:#eee8fa;border-radius:14px;padding:12px}.steps{padding-left:24px}.steps li{padding:6px 0}.table-scroll{overflow-x:auto;border:1px solid var(--line);border-radius:12px;margin-top:16px}table{border-collapse:collapse;width:100%;min-width:940px;font-size:14px}caption{text-align:left;font-weight:700;padding:12px}th,td{padding:13px;border:1px solid #d9dfdf;text-align:left;vertical-align:top}thead{background:#edf3f7}th[scope=row]{background:#f7f9f8}.hide-tips .interpretation{display:none}.practice{margin-top:26px;border-top:2px dashed var(--line);padding-top:22px}.quiz-card{border:1px solid #c4d6d1;border-radius:16px;padding:16px;background:#f8fbfa;margin-top:12px}.quiz-card h4{font-size:20px;line-height:1.45;margin:16px 0}.quiz-meta{display:flex;gap:6px;flex-wrap:wrap}.quiz-meta .seal{background:#e5eeeb}.options{display:grid;gap:10px;margin:20px 0}.option{text-align:left;width:100%;background:white;font-size:16px}.option.correct{background:#dcf5e7;border:2px solid #237342;color:#164c2c;opacity:1}.option.wrong{background:#ffe6e2;border:2px solid #b33c30;color:#79251d;opacity:1}.actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.actions button{font-size:14px}.reveal{border-color:#8262b2;color:#54377c}.next{background:#146a63;color:white;font-weight:800;margin-top:16px}.feedback{margin-top:18px}.feedback>div{padding:16px;border-radius:13px;margin:10px 0;font-size:15px}.learn-correct{background:#dff4e7}.learn-trap{background:#fff0ce}.learn-analogy{background:#ece5fa}.feedback p{margin:8px 0}.score{font-weight:750;font-size:14px;color:#355b54}.hints{padding:12px 12px 12px 32px;background:#fff8de;border-radius:10px;font-size:15px}progress{width:100%;accent-color:#146a63;height:8px}.empty{padding:18px;border-radius:12px;background:#fff5db;font-size:15px}.empty button{margin-top:12px}footer{font-size:14px;color:var(--muted);padding:16px 4px}.screen-fallback .top{position:sticky}.screen-fallback{background:#e8efea}body:fullscreen{overflow:auto;background:var(--bg)}@media(min-width:700px){main{padding:26px 24px 70px}.hero{padding:48px}.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hypotheses{grid-template-columns:repeat(3,minmax(0,1fr))}section{padding:32px}.objective>summary{padding:24px;font-size:18px}.objective-content{padding:0 24px 24px}.quiz-card{padding:24px}.hero:after{font-size:350px;right:6%;top:6%}}@media(max-width:380px){main{padding-inline:10px}section{padding-inline:12px}.hero{padding:26px 18px}.objective>summary{padding-inline:10px;gap:8px}.obj-num{width:30px;height:34px}.objective-content{padding-inline:10px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
.screen-fallback main{max-width:1400px}.screen-fallback .hero{border-radius:12px}.screen-fallback .top{background:#e2efe8}.quiz-card h4{scroll-margin-top:95px}
/* Caderno de erros (só nesta página): botão no canto inferior direito, fora do texto */
html body .ce-fab{left:auto;right:10px;bottom:calc(14px + env(safe-area-inset-bottom));font-size:12px;padding:6px 10px}
body{padding-bottom:64px}

/* Conteúdo ampliado e atalhos dos objetivos */
.objective-launch{border:2px solid #146a63;background:#fafffc}.launch-grid{display:grid;gap:12px}.launch-card{display:grid;grid-template-columns:44px minmax(0,1fr);gap:6px 14px;align-items:center;text-decoration:none;color:var(--ink);min-height:132px}.launch-card strong{font-size:22px;line-height:1.2}.launch-card>span:last-child{grid-column:2;font-size:15px}.launch-num{font-size:25px;font-weight:900;grid-row:span 2}.launch-card:hover{box-shadow:0 3px 12px #20364020}.objective-content>h3{margin-top:28px}.objective-content>.mini{margin-top:18px}.mini ul{padding-left:20px}.mini li{margin-bottom:10px}.compare-table{min-width:740px}.compare-table tr>:nth-child(2){background:#ffebe2}.compare-table tr>:nth-child(3){background:#e6f0fd}.causes-table{min-width:700px}.causes-table tbody tr:nth-child(1)>*{background:#ffebe2}.causes-table tbody tr:nth-child(2)>*{background:#efeafa}.causes-table tbody tr:nth-child(3)>*{background:#e2f3eb}.causes-table tbody tr:nth-child(4)>*{background:#fff2ce}.causes-table tbody tr:nth-child(5)>*{background:#e6f0fd}.launch-grid,.launch-card,.objective-content{min-width:0}.mini,.launch-card,summary{overflow-wrap:break-word}.table-scroll{max-width:100%}@media(min-width:700px){.launch-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.launch-card:last-child{grid-column:1/-1}}

/* Material complementar enviado: painel ampliado */
.material-figure{margin:12px auto 0;max-width:1217px}.material-figure img{width:100%;height:auto;display:block;border-radius:16px;box-shadow:0 8px 24px rgba(0,0,0,.18)}.zoom-link{display:block;cursor:zoom-in}.material-figure figcaption{margin-top:10px;text-align:center;font-size:14px;color:var(--muted)}#image-dialog{width:min(1200px,96vw);max-width:96vw;max-height:95vh;overflow:auto;padding:16px;border:1px solid var(--line);border-radius:16px;background:#fff}#image-dialog::backdrop{background:#10263ccc}#image-dialog img{clear:both;display:block;width:100%;height:auto;margin-top:12px}#image-dialog.zoomed img{width:1217px;max-width:none}#image-dialog button{min-height:44px}#image-dialog .zoom-details{float:left}#image-dialog #close-image{float:right;position:sticky;top:0}#image-dialog p{clear:both;font-size:15px;margin:14px 0 0}

/* Tutoria 2 provisória */
.banner-prov{margin:0 0 14px;padding:16px;background:#fff4d8;border:3px solid #9a4d09;border-radius:18px;color:#5a2e06;font-weight:800;font-size:clamp(17px,4.6vw,21px);line-height:1.35;box-shadow:0 8px 0 #f0d7a4}#screen-status:empty{display:none}
.top{flex-wrap:wrap;padding-top:max(10px,env(safe-area-inset-top))}
.progress-chip{background:#ffce86;color:#513706;border-radius:999px;padding:6px 10px;font-size:13px;font-weight:800}
.how{display:grid;gap:10px}
.how article{padding:14px;border-radius:14px;background:#fff;border:1px solid var(--line)}
.how strong{display:block;margin-bottom:4px}
.timeline{display:grid;gap:0;margin:8px 0 0}
.marco{display:grid;grid-template-columns:86px minmax(0,1fr);gap:10px}
.marco .when{font-weight:800;color:#146a63;padding-top:12px}
.marco .body{border-left:3px solid #146a63;padding:10px 0 14px 12px}
.marco h3{font-size:17px;margin:0 0 4px}
.calc{display:grid;gap:8px}
.calc div{background:#fff;border-radius:12px;padding:12px}
.calc b{display:block;font-size:22px;line-height:1.2}
.stages,.circuit,.decision,.compare,.two{display:grid;gap:10px}
.stage,.node,.dstep,.compare article{border-radius:16px;padding:14px;background:#fff;border:1px solid #00000012;min-width:0}
.stage{border-top:6px solid var(--c,#146a63)}
.stage .k,.node small,.dstep small{display:block;font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;margin-bottom:4px}
.arr{text-align:center;font-weight:900;color:#146a63;line-height:1}
.diagram{margin:14px 0}
.diagram svg{width:100%;height:auto;display:block;background:#f8fbfa;border:1px solid var(--line);border-radius:16px}
.diagram svg text{font-family:system-ui,-apple-system,Arial,sans-serif}
.fala{background:#fff8e8;border:2px dashed #b65c13;border-radius:16px;padding:14px;margin:12px 0}
.fala span{display:block;font-size:12px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#9a4d09;margin-bottom:6px}
.pode{background:#f4f7fb;border-radius:16px;padding:14px;margin-top:12px}
.pode ol{margin:8px 0 0;padding-left:20px}
.pode li{margin:8px 0}
.feedback .result{scroll-margin-top:130px}.dots{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0}
.dots button{width:40px;height:40px;min-height:40px;padding:0;border-radius:50%;font-weight:800}
.dots button.on{outline:3px solid #146a63}
.dots button.hit{background:#dcf5e7;border-color:#237342}
.dots button.miss{background:#ffe6e2;border-color:#b33c30}
.dots button.seen{background:#efeafa;border-color:#8262b2}
.quiz-nav{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.quiz-nav .next{margin-top:0}
.fontes{display:grid;gap:8px}
.fontes li{margin:0 0 8px}
.grid .mini:last-child:nth-child(odd){grid-column:1/-1}
.option{white-space:normal}
body{padding-left:env(safe-area-inset-left);padding-right:env(safe-area-inset-right)}
@media(min-width:700px){
  .how{grid-template-columns:repeat(3,minmax(0,1fr))}
  .stages,.compare{grid-template-columns:repeat(3,minmax(0,1fr))}
  .two{grid-template-columns:repeat(2,minmax(0,1fr))}
  .circuit{grid-template-columns:1fr}
}
@media(max-width:380px){
  .marco{grid-template-columns:68px minmax(0,1fr)}
  .banner-prov{padding:12px}
}

/* Tutoria 2 com caso oficial */

.oficial{margin:16px 0 4px;padding:10px 12px;border-radius:12px;background:#eef6f5;border-left:4px solid var(--accent);font-size:14px;font-weight:700;color:#24423f}
.oficiais{margin:12px 0 16px}
.oficiais-lista{list-style:none;padding:0;margin:8px 0 0;display:grid;gap:10px}
.oficiais-lista li{display:grid;grid-template-columns:auto minmax(0,1fr);gap:4px 10px;align-items:start}
.of-n{display:grid;place-items:center;min-width:34px;height:34px;padding:0 6px;border-radius:10px;background:#6a4ca5;color:#fff;font-weight:800;font-size:13px}
.of-t{font-weight:650}
.of-links{grid-column:2}
.of-links a{text-decoration:none}
.confira{background:#fff4d8;border:2px solid #9a4d09}
.fontes li,.fontes a{overflow-wrap:anywhere;word-break:break-word}

/* Imagens da Tutoria 2 */
.t2-fig{margin:16px 0;background:#fff;border:1px solid var(--line);border-radius:16px;padding:10px;max-width:100%}
.t2-fig img{display:block;width:100%;height:auto;border-radius:10px;background:#f3f5f2}
.t2-fig.retrato{max-width:560px;margin-inline:auto}
.t2-fig.pequena{max-width:420px;margin-inline:auto}
.t2-fig figcaption{margin-top:8px;font-size:14px;line-height:1.45;color:var(--ink)}
.t2-fig figcaption .leg{display:block}
.t2-fig .cred{display:block;margin-top:4px;color:var(--muted);font-size:12px;overflow-wrap:anywhere}
.t2-zoom{display:block;cursor:zoom-in}
.t2-galeria{display:grid;gap:12px;margin:14px 0}
.t2-galeria .t2-fig{margin:0}
.q-fig{max-width:520px;margin:4px auto 14px}
@media(min-width:700px){.t2-galeria{grid-template-columns:repeat(2,minmax(0,1fr))}.t2-galeria .t2-fig:last-child:nth-child(odd){grid-column:1/-1;max-width:640px;justify-self:center}}

/* SPIKES: comunicação clínica, parte da linha de cuidado (objetivo 3) */
.spk-flow{list-style:none;padding:0;margin:14px 0;display:grid;gap:4px}.spk-flow-step{position:relative;background:#fff;border:1px solid #d5deda;border-radius:14px;padding:12px 14px;font-weight:650;font-size:15px;color:#203640}.spk-flow-step+.spk-flow-step{margin-top:24px}.spk-flow-step+.spk-flow-step::before{content:'↓';position:absolute;top:-26px;left:50%;transform:translateX(-50%);font-size:20px;font-weight:900;color:#146a63}.spk-flow-final{background:#e2f3eb;border-color:#146a63;border-width:2px;font-weight:800}
.spk-steps{list-style:none;padding:0;margin:14px 0;display:grid;gap:10px}.spk-card{border-radius:16px;padding:14px;background:#fff;border:1px solid #00000012;min-width:0}.spk-letter{display:inline-grid;place-items:center;width:40px;height:40px;border-radius:12px;font-size:19px;font-weight:900;color:#fff;margin-bottom:8px}.spk-name{font-weight:750;font-size:16px;margin:0 0 4px;color:#203640}.spk-sigla{font-weight:600;color:#536772;font-size:14px}.spk-acao{margin:0;font-size:15px;color:#203640}
.spk-teal .spk-letter{background:#146a63}.spk-amber .spk-letter{background:#b65c13}.spk-blue .spk-letter{background:#255eaa}.spk-coral .spk-letter{background:#a94059}.spk-violet .spk-letter{background:#6a4ca5}.spk-teal{background:#e2f3eb}.spk-amber{background:#fff2ce}.spk-blue{background:#e6f0fd}.spk-coral{background:#ffebe2}.spk-violet{background:#efeafa}
@media(min-width:700px){.spk-steps{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:1000px){.spk-steps{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* Subtítulo do objetivo, no summary */
.obj-sub{display:block;margin-top:4px;font-size:14px;font-weight:400;color:#536772}

/* #filtro (select de objetivo no treino geral) estourava a largura em telas pequenas */
#filtro{max-width:100%}
