/* Shared header control: no inline styles or handlers. */
#pfRefresh.pf-app-refresh{display:inline-flex;align-items:center;justify-content:center;gap:5px;flex:0 0 auto;min-width:38px;min-height:38px;padding:7px 10px;margin:0 0 0 6px;border:1px solid #ced3ed;border-radius:9px;background:#fff;color:#1d0074;font:600 12px/1.2 system-ui,sans-serif;cursor:pointer;white-space:nowrap;vertical-align:middle}
#pfRefresh.pf-app-refresh:hover{background:#eef0ff}
#pfRefresh.pf-app-refresh:focus-visible{outline:3px solid #f2b500;outline-offset:2px}
#pfRefresh.pf-update-ready{background:#fff0b3;color:#503600;border-color:#be8300}
#pfRefresh.pf-refresh-error{background:#fff0ed;color:#9b201b;border-color:#daaaa4}
#pfRefresh.pf-refresh-busy{cursor:wait;opacity:.8}
.pf-refresh-icon{display:inline-block;font-size:20px;line-height:1}
.pf-refresh-busy .pf-refresh-icon{animation:pf-refresh-spin .7s linear infinite}
.pf-refresh-header{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-bottom:10px}
@keyframes pf-refresh-spin{to{transform:rotate(360deg)}}
@media(max-width:600px){#pfRefresh .pf-refresh-label{display:none}#pfRefresh.pf-update-ready .pf-refresh-label,#pfRefresh.pf-refresh-busy .pf-refresh-label,#pfRefresh.pf-refresh-error .pf-refresh-label{display:inline;font-size:10px}#pfRefresh.pf-app-refresh{padding:6px;min-width:38px;margin-left:2px}}
@media(prefers-reduced-motion:reduce){.pf-refresh-busy .pf-refresh-icon{animation:none}}
@media print{#pfRefresh{display:none!important}}
