/* Diário de Pressão 25.20 — Experience Polish RC1 I03 · Final Experience Pass & Release Closure */
:root{--ep2520-control-h:44px;--ep2520-field-h:44px;--ep2520-gap:12px;--ep2520-surface-radius:var(--radius-lg,16px);--ep2520-focus:var(--ocean-accent,#A54A68);--ep2520-soft-shadow:0 8px 28px rgba(84,27,50,.07)}
html[data-ep2520-final-density="compact"]{--ep2520-gap:9px;--ep2520-control-h:42px;--ep2520-field-h:42px}
html[data-ep2520-final-density="comfortable"]{--ep2520-gap:14px;--ep2520-control-h:46px;--ep2520-field-h:46px}
:where([data-ep2520-control="1"]){min-block-size:var(--ep2520-control-h)}
:where([data-ep2520-field="1"]){min-block-size:var(--ep2520-field-h);border-radius:var(--radius-md,12px)}
:where([data-ep2520-actions="1"]){gap:var(--ep2520-gap)}
:where([data-ep2520-surface="1"]){border-radius:var(--ep2520-surface-radius)}
html[data-ep2520-final-theme="light"] :where([data-ep2520-surface="1"]){box-shadow:var(--ep2520-soft-shadow)}
html[data-ep2520-final-theme="dark"] :where([data-ep2520-surface="1"]){box-shadow:0 8px 28px rgba(0,0,0,.18)}
html[data-ep2520-modality="keyboard"] :where(button,a,[role="button"],input,select,textarea):focus-visible{outline:3px solid color-mix(in srgb,var(--ep2520-focus) 82%,white 18%)!important;outline-offset:3px!important;box-shadow:0 0 0 2px color-mix(in srgb,var(--surface,#fff) 78%,transparent)!important}
html[data-ep2520-modality="pointer"] :where(button,a,[role="button"],input,select,textarea):focus:not(:focus-visible){outline:none}
:where(.field>label,.form-field>label,.settings-field>label){font-weight:650;line-height:1.25}
:where(.field,.form-field,.settings-field){gap:6px}
:where(.mini-note,.section-sub,.muted,.help-text){line-height:1.45}
:where(.actions,[data-ep2520-actions="1"])>button{white-space:normal;text-wrap:balance}
:where(.app-page.active) :where(h1,h2,.screen-title,.section-title)[tabindex="-1"]{outline:none}
html[data-ep2520-final-viewport="phone"] :where([data-ep2520-actions="1"].actions-wrap-phone,[data-ep2520-actions="1"].native-sheet-actions){align-items:stretch}
html[data-ep2520-final-viewport="phone"] :where(.card,.settings-panel,.analytics-panel,.history-panel,.quality-panel13){max-inline-size:100%}
html[data-ep2520-keyboard="open"] .bottom-nav{transform:translateY(calc(100% + env(safe-area-inset-bottom)));pointer-events:none;transition:transform 140ms ease}
html[data-ep2520-keyboard="closed"] .bottom-nav{transform:none;transition:transform 180ms ease}
@media (max-width:599px){
  :where([data-ep2520-actions="1"]){row-gap:10px}
  :where([data-ep2520-actions="1"]>button,[data-ep2520-actions="1"]>.btn){min-inline-size:0}
  :where(.native-sheet,.modal-card,.spotlight-card){max-block-size:min(92vh,var(--ep2520-visual-height,92vh));overflow:auto}
  :where(.app-toast-stack){max-inline-size:calc(100vw - 24px)}
}
@media (min-width:1024px){
  html[data-ep2520-final-density="comfortable"] :where(.settings-panel,.analytics-panel,.history-panel){padding-block:18px}
}
@media (hover:hover) and (pointer:fine){
  :where(button:not(:disabled),a[href],[role="button"]:not([aria-disabled="true"])){transition:transform 120ms ease,box-shadow 160ms ease,background-color 160ms ease,border-color 160ms ease}
}
@media (prefers-reduced-motion:reduce){
  html[data-ep2520-keyboard] .bottom-nav,:where(button,a,[role="button"]){transition:none!important;scroll-behavior:auto!important}
}
@media (prefers-contrast:more){
  :where([data-ep2520-surface="1"]){box-shadow:none!important;border-width:2px!important}
  html[data-ep2520-modality="keyboard"] :where(button,a,[role="button"],input,select,textarea):focus-visible{outline-width:4px!important}
}
