/* Diário de Pressão 25.20 — Experience Polish RC1 I01 */
:root{--ep2520-fast:120ms;--ep2520-med:220ms;--ep2520-route:280ms;--ep2520-ease:cubic-bezier(.2,.8,.2,1);--ep2520-target:44px}
.ep2520-live{position:fixed!important;inline-size:1px!important;block-size:1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important;inset:auto!important}
:where(button,.btn,a,[role="button"],input,select,textarea){-webkit-tap-highlight-color:transparent}
:where(button,.btn,[role="button"],.section-hub-button,.settings-hub-button){transform-origin:center;will-change:transform}
.ep2520-pressed{transform:scale(.985)!important;transition-duration:var(--ep2520-fast)!important}
.ep2520-click{filter:saturate(1.03);transition-duration:var(--ep2520-fast)!important}
.ep2520-page-enter{animation:ep2520-page-in var(--ep2520-route) var(--ep2520-ease) both}
@keyframes ep2520-page-in{from{opacity:.72;transform:translateY(5px)}to{opacity:1;transform:none}}
.ep2520-toast-enter{animation:ep2520-toast-in var(--ep2520-med) var(--ep2520-ease) both}
@keyframes ep2520-toast-in{from{opacity:0;transform:translateY(8px) scale(.985)}to{opacity:1;transform:none}}
:where(button,.btn,a,[role="button"],input,select,textarea):focus-visible{scroll-margin-block:96px}
:where(button,.btn,[role="button"],.bottom-nav a,.section-hub-button,.settings-hub-button){min-block-size:var(--ep2520-target)}
html[data-ep-pointer="coarse"] :where(button,.btn,[role="button"],.bottom-nav a){min-block-size:48px}
html[data-ep-viewport="phone"] :where(input:not([type="checkbox"]):not([type="radio"]),select,textarea){font-size:max(16px,1rem)!important}
html[data-ep-viewport="phone"] :where(.card,.analytics-panel,.settings-panel,.history-panel,.report-card){scroll-margin-top:86px}
html[data-ep-viewport="phone"] :where(.actions,.native-sheet-actions,.v251-actions){gap:10px}
html[data-ep-viewport="phone"] :where(.actions,.native-sheet-actions) > :where(button,.btn){min-width:0}
:where(.app-toast,.undo-toast,.undo-toast13){backdrop-filter:saturate(1.05) blur(12px);-webkit-backdrop-filter:saturate(1.05) blur(12px)}
:where([aria-busy="true"],.ep2520-busy){cursor:progress}
:where([aria-busy="true"])::after{content:"";display:inline-block;inline-size:.8em;block-size:.8em;margin-inline-start:.45em;border:2px solid currentColor;border-inline-end-color:transparent;border-radius:50%;animation:ep2520-spin .7s linear infinite;vertical-align:-.08em}
@keyframes ep2520-spin{to{transform:rotate(360deg)}}
@media (max-width:599px){
  :where(.native-sheet,.medication-question-card,.assisted-measurement-sheet){padding-bottom:max(18px,env(safe-area-inset-bottom))}
  .bottom-nav{padding-bottom:max(8px,env(safe-area-inset-bottom))}
  :where(.app-toast-stack){inset-inline:12px!important;bottom:calc(78px + env(safe-area-inset-bottom))!important;max-width:none!important}
}
@media (min-width:1024px){html[data-ep-viewport="desktop"] :where(.card,.settings-panel,.history-panel){scroll-margin-top:32px}}
@media (prefers-reduced-motion:reduce){.ep2520-page-enter,.ep2520-toast-enter{animation:none!important}.ep2520-pressed{transform:none!important}}
@media (prefers-contrast:more){:where(.ep2520-pressed,.ep2520-click){outline:2px solid currentColor;outline-offset:2px}}
