/* v0.99.3 — somente demo, sem alterações nas telas clínicas reais. */
html,body{height:auto;min-height:100%;overflow-x:clip;overflow-y:auto!important;scrollbar-gutter:stable}
#stef-demo-runtime{min-height:100dvh;min-width:0;overflow:visible}
.demo-topbar{position:relative;z-index:50;min-height:55px;flex-wrap:nowrap;padding:8px clamp(12px,2vw,30px)}
.demo-top-brand{min-width:0;flex-wrap:nowrap;gap:8px}.demo-top-brand>span:last-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.demo-tools{position:relative;margin-left:auto;flex:0 0 auto}.demo-tools summary{list-style:none;cursor:pointer;border:1px solid #718f87;border-radius:10px;padding:9px 12px;background:#35554d;color:white;font-weight:700;font-size:12px;min-height:38px;display:flex;align-items:center;gap:13px}.demo-tools summary::-webkit-details-marker{display:none}.demo-tools summary:focus-visible{outline:3px solid #b3d8cc;outline-offset:2px}.demo-tools[open] summary{background:#477f78}
.demo-tools .demo-top-actions{position:absolute;top:calc(100% + 8px);right:0;min-width:245px;max-width:min(320px,calc(100vw - 22px));display:flex;flex-direction:column;align-items:stretch;flex-wrap:nowrap;gap:4px;background:#29423c;box-shadow:0 14px 38px #15251d40;padding:10px;border:1px solid #60867a;border-radius:13px;z-index:80}.demo-tools .demo-top-actions button{width:100%;text-align:left;min-height:38px}
.demo-layout{display:block;min-height:calc(100dvh - 55px);overflow:visible}.demo-sidebar{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:25px;position:relative;z-index:10;padding:11px clamp(12px,3vw,34px);border:0;border-bottom:1px solid #dce5df;background:#f6f7f3}.demo-wordmark{border:0;background:transparent;text-align:left;padding:0;flex:0 0 auto;display:flex;flex-direction:column;gap:2px;cursor:pointer}.demo-wordmark strong{font-size:20px;color:#315d58}.demo-wordmark small{font-size:11px;color:#68736f;margin:0}.demo-sidebar nav{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:7px}.demo-nav-link{width:auto;white-space:nowrap;padding:11px 17px;font-size:13px}.demo-side-note{display:none}
#demo-main{max-width:1170px;margin:0 auto;align-self:auto;padding:clamp(17px,2.8vw,38px);min-height:calc(100dvh - 120px);overflow:visible!important}.demo-form,.demo-panel{max-height:none!important;overflow:visible}.demo-form .demo-field textarea{min-height:110px}.demo-page-head{gap:12px}.demo-vaccine-milestones{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:15px 0}.demo-vaccine-milestones article{border:1px solid #dce5de;border-radius:12px;padding:15px;display:grid;gap:7px;align-content:start}.demo-vaccine-milestones p{font-size:13px;line-height:1.5;margin:0}.demo-vaccine-milestones strong{font-size:14px}.demo-status{justify-self:start}.demo-summary-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:15px 0}.demo-summary-metrics>div{display:flex;flex-direction:column;gap:6px;background:#f1f5f1;border:1px solid #e0ebe2;border-radius:12px;padding:15px}.demo-summary-metrics small{font-size:12px;color:#5e6c63}.demo-summary-metrics strong{font-size:16px;color:#315d58}.demo-followup-summary{padding:18px;border-radius:14px;background:#fcfdfb}.demo-records{display:grid;gap:8px}.demo-records article{border-bottom:1px solid #e7ece7;padding:12px 0;display:flex;flex-wrap:wrap;gap:12px;font-size:13px}.demo-records strong{min-width:100px}
/* Sete perfis de verificação: >=1920, 1440, 1280, 1024, 768, 480 e 360px. Limites não são breakpoints oficiais do WP. */
@media(max-width:1439px){#demo-main{max-width:1100px}.demo-sidebar{padding-inline:22px}}
@media(max-width:1279px){#demo-main{max-width:100%;padding:28px}.demo-sidebar{gap:12px}}
@media(max-width:1023px){#demo-main{padding:22px}.demo-nav-link{padding:10px 12px}.demo-sidebar{padding:12px 18px}.demo-wordmark strong{font-size:18px}}
@media(max-width:767px){.demo-sidebar{flex-wrap:wrap;gap:10px;padding:12px}.demo-sidebar nav{width:100%;justify-content:stretch}.demo-sidebar nav .demo-nav-link{flex:1;white-space:normal;min-width:0}.demo-layout{display:block}.demo-topbar{position:relative;flex-direction:row;align-items:center;gap:8px}.demo-top-brand{justify-content:start;min-width:0}.demo-tools .demo-top-actions{display:flex;grid-template-columns:none}.demo-wordmark{display:flex}.demo-summary-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:479px){#demo-main{padding:15px 12px 34px}.demo-top-brand>span:last-child{display:none}.demo-tools summary{padding:9px;font-size:11px}.demo-sidebar nav .demo-nav-link{font-size:12px;padding:10px 5px}.demo-vaccine-milestones{grid-template-columns:1fr}.demo-summary-metrics{grid-template-columns:1fr}.demo-panel{padding:16px}.demo-shortcuts .demo-btn{min-width:0}.demo-form-grid{grid-template-columns:1fr}.demo-details{grid-template-columns:1fr}}
@media(max-height:800px){.demo-topbar,.demo-sidebar{position:relative}#demo-main{min-height:0}.demo-form,.demo-panel{max-height:none!important;overflow:visible!important}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
