/* v0.99.7: aprimoramentos exclusivamente na demo; núcleo clínico oficial intocado. */
.demo-skip{position:fixed;top:-100px;left:12px;z-index:100;background:#fff;color:#234a43;padding:12px 16px;border:2px solid #477f78;border-radius:9px;font-weight:750}.demo-skip:focus{top:9px}
.demo-nav-link[aria-current="page"]{box-shadow:inset 0 -3px #a8cfc2}
.demo-topbar button,.demo-tools summary,.demo-nav-link,.demo-wordmark{min-height:44px}
#stef-demo-runtime *:focus-visible{outline:3px solid #24786c;outline-offset:3px}
.demo-tools summary:focus-visible{outline-color:#e1eecf!important}
.qa-intro p{line-height:1.7;font-size:14px;max-width:780px}
.qa-total{font-size:13px;color:#315d58}
.qa-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:18px 0}
.qa-check{display:flex;align-items:flex-start;gap:12px;padding:12px;border:1px solid #dce7df;border-radius:11px;background:#f8fbf8}
.qa-check>span{display:grid;place-items:center;flex:0 0 25px;height:25px;border-radius:50%;background:#dcefe3;color:#245b47;font-weight:900}
.qa-check[data-qa="fail"]{background:#fcf2ed;border-color:#e8c9b8}.qa-check[data-qa="fail"]>span{background:#f6dacf;color:#8b342b}
.qa-check strong,.qa-check small{display:block;overflow-wrap:anywhere}.qa-check strong{font-size:13px;margin-bottom:4px}.qa-check small{font-size:12px;color:#5a6c62;line-height:1.5}
.qa-warning{padding:12px;background:#fff1e8;color:#803f27;font-weight:700;border-radius:9px}
.qa-steps{display:grid;gap:10px;margin-top:16px}.qa-steps article{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:16px;border:1px solid #e0e9e1;border-radius:12px}.qa-steps article h3{font-size:14px;margin:0 0 5px}.qa-steps article p{font-size:12px;color:#65746a;line-height:1.6;margin:0}.qa-steps button{flex:0 0 auto}
.demo-form .demo-field input,.demo-form .demo-field select,.demo-form .demo-field textarea{min-height:44px}
.demo-form-actions .demo-btn,.demo-shortcuts .demo-btn{min-height:44px}
.demo-panel{overflow-wrap:anywhere}
@media(max-width:767px){.qa-results{grid-template-columns:1fr}.qa-steps article{align-items:stretch;flex-direction:column}.qa-steps button{width:100%}}
@media(max-width:479px){.demo-topbar{gap:8px}.demo-portal-highlights{min-width:0}.qa-check{padding:11px}.demo-tools[open]{max-width:100%}}
@media(max-height:760px){.demo-topbar{position:relative!important}.demo-form-actions{padding-bottom:16px}}
@media print{.demo-skip,.qa-intro,.qa-results,.qa-steps{display:none!important}}
/* Toast informativo não pode bloquear os botões de finalizar em notebooks/tablets. */
.demo-toast{pointer-events:none}
