.flowpdf-update-banner{position:fixed;inset:auto 16px max(16px,env(safe-area-inset-bottom));z-index:30000;max-width:850px;margin:auto;display:flex;align-items:center;gap:18px;padding:16px 20px;border:1px solid #bfdbfe;border-radius:18px;background:#fff;box-shadow:0 10px 45px #0f172a30;color:#0f172a;font:14px/1.5 system-ui,sans-serif;box-sizing:border-box}
.flowpdf-update-banner[hidden]{display:none}
.flowpdf-update-copy{min-width:0;flex:1}
.flowpdf-update-copy strong{font-size:16px;color:#1e40af}
.flowpdf-update-copy p{margin:4px 0 0;overflow-wrap:anywhere}
#flowpdfUpdateStatus:empty{display:none}
#flowpdfUpdateStatus{color:#92400e}
#flowpdfUpdateDialogStatus:empty{display:none}
#flowpdfUpdateDialogStatus{color:#92400e}
.flowpdf-update-actions{display:flex;flex-wrap:wrap;gap:8px;flex-shrink:0}
.flowpdf-update-actions button{min-height:44px;border:1px solid #cbd5e1;border-radius:10px;padding:10px 14px;background:#f8fafc;color:#0f172a;font:600 14px/1.3 system-ui,sans-serif;cursor:pointer;white-space:normal}
.flowpdf-update-actions #flowpdfUpdateNow,.flowpdf-update-actions #flowpdfUpdateConfirm{background:#1d4ed8;color:#fff;border-color:#1d4ed8}
.flowpdf-update-actions button:disabled{opacity:.55;cursor:wait}
.flowpdf-update-actions button:focus-visible,.flowpdf-update-dialog input:focus-visible{outline:3px solid #f59e0b;outline-offset:3px}
.flowpdf-update-compact{inset:auto 12px max(12px,env(safe-area-inset-bottom)) auto;width:auto;max-width:calc(100vw - 24px);gap:12px;padding:8px 12px}
.flowpdf-update-compact .flowpdf-update-copy p,.flowpdf-update-compact #flowpdfUpdateCompact{display:none}
.flowpdf-update-compact .flowpdf-update-copy strong{font-size:13px}
.flowpdf-update-dialog{width:min(480px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;padding:24px;border:1px solid #bfdbfe;border-radius:20px;background:#fff;color:#0f172a;box-sizing:border-box;font:15px/1.55 system-ui,sans-serif}
.flowpdf-update-dialog::backdrop{background:#0f172a88}
.flowpdf-update-dialog h2{font-size:21px;margin:0 0 12px}
.flowpdf-update-dialog p{margin:0 0 16px}
.flowpdf-update-dialog label{display:flex;align-items:flex-start;gap:10px;margin:0 0 20px;font:500 14px/1.5 system-ui,sans-serif}
.flowpdf-update-dialog input[type=checkbox]{flex:none;margin:4px 0 0;width:18px;height:18px}
@media(max-width:620px){.flowpdf-update-banner{flex-direction:column;align-items:stretch;gap:10px;inset-inline:10px;padding:14px;max-width:calc(100vw - 20px);font-size:13px}.flowpdf-update-actions{flex-direction:row}.flowpdf-update-actions button{flex:1}.flowpdf-update-compact{flex-direction:row;align-items:center;inset-inline:auto 10px;width:auto;padding:8px 10px;max-width:calc(100vw - 20px)}.flowpdf-update-compact .flowpdf-update-actions{flex:none}}
