/* Keep the calculator's approved artwork; organize only navigation and local tools. */
body:not(.pepi-library) #meus-peptideos{display:none!important}
body.pepi-library #calculator-workspace{display:none!important}
body .offline-tools{margin:32px 0 0;padding:22px;border:1px solid var(--app-border,#c8dccd);border-radius:14px;background:var(--app-soft,#e8f2eb);font-size:14px}
.offline-tools h2{font-size:20px;margin:0 0 12px}.offline-tools small{margin-top:14px}
body header#inicio{display:flex;flex-wrap:wrap;align-items:center;gap:16px;padding:16px 0;margin-bottom:10px}
header#inicio .brand{flex:1 1 270px;min-width:0}body .pepi-header-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;justify-content:flex-end}
body .pepi-header-actions>*{margin:0!important;position:static!important;float:none!important;width:auto!important;max-width:100%;min-height:44px;display:flex;align-items:center;justify-content:center;padding:9px 12px!important;border:1px solid var(--app-border,#c8dccd);border-radius:9px;font-size:13px;line-height:1.35;text-align:center;text-decoration:none;color:var(--app-accent,#196e55);background:var(--app-surface,#fff)}
.pepi-access{box-sizing:border-box;width:min(460px,calc(100% - 24px));max-height:calc(100dvh - 32px);overflow:auto;padding:24px;border:1px solid #c8dccd;border-radius:18px;color:#193e32;background:white}.pepi-access::backdrop{background:#18382e80}.pepi-access h2{margin-top:0;font-size:23px}.pepi-access label{display:grid;gap:6px;margin:14px 0;font-weight:600}.pepi-access input{box-sizing:border-box;width:100%;padding:12px;font-size:16px;border:1px solid #96b6a6;border-radius:8px}.pepi-access small,.pepi-access .local-note{font-size:12px;line-height:1.5;font-weight:400}.pepi-access button{padding:12px 16px;min-height:44px;border:1px solid #196e55;border-radius:8px;color:#196e55;background:white;cursor:pointer}.pepi-access button[type=submit]{background:#196e55;color:white}.access-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end}.pepi-access [role=status]{color:#963b27}
@media(max-width:650px){body header#inicio{display:block;padding:12px 0}body header#inicio .brand{display:block;margin:0 0 12px}body header#inicio .brand-name{font-size:20px;line-height:1.25}body header#inicio .brand-description{font-size:12px;line-height:1.4;margin-top:5px}body .pepi-header-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}body .pepi-header-actions>*{width:100%!important;box-sizing:border-box;font-size:12px!important}body .offline-tools{padding:16px}body .offline-tools>div{display:grid;grid-template-columns:1fr 1fr;gap:8px}.offline-tools button,.offline-tools a,.offline-restore{font-size:13px!important;text-align:center;line-height:1.35}body #calculator-workspace h1{font-size:25px}body .journey-grid{grid-template-columns:1fr 1fr}body #calculator-workspace .visual{min-width:0}body #syringe{width:100%;max-width:100%}}
@media print{.offline-tools,.pepi-header-actions{display:none!important}}
body header#inicio .pepi-header-actions{width:auto!important;max-width:100%!important;min-width:0!important;grid-template-areas:none!important}
body header#inicio .pepi-header-actions>*{grid-area:auto!important;grid-column:auto!important;grid-row:auto!important;order:0!important;min-width:0!important;transform:none!important;white-space:normal!important}
body header#inicio .pepi-header-actions>.help-popover{padding:0!important;border:0!important;position:relative!important}
body header#inicio #help-popover-button{width:100%;height:100%;white-space:normal;margin:0;min-height:44px;font-size:12px}
@media(max-width:650px){body header#inicio .pepi-header-actions{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;width:100%!important}body header#inicio #appearance-open{grid-column:1/-1!important}body header#inicio .help-popover-card{position:fixed;left:12px;right:12px;top:90px;width:auto;max-height:70dvh;overflow:auto;z-index:100}}
