/* Legacy presenters are retired; queue data and detailed recovery tools remain. */
#sync-status-indicator,#offline-sync-indicator,#audio-queue-badge,#batch-sync-indicator,#syncStatusContainer,#offlinePatientBtn{display:none!important}
#global-offline-banner button{display:none!important}
#offlineSyncQueueBtn.sync-hub-button{gap:7px!important;min-height:44px;padding:8px 12px!important;border-radius:12px!important;background:rgba(255,255,255,.14)!important;color:#fff!important;margin-right:0!important;font-size:.85rem!important}
#offlineSyncQueueBtn[data-state=attention]{background:#9a3412!important}#offlineSyncQueueBtn[data-state=pending],#offlineSyncQueueBtn[data-state=offline]{background:#475569!important}#offlineSyncQueueBtn[data-state=syncing]{background:#1d4ed8!important}#offlineSyncQueueBtn[data-state=saved]{background:#0f766e!important}
.sync-hub-dialog{box-sizing:border-box;width:min(620px,94vw);max-height:90dvh;overflow:auto;border:1px solid var(--theme-line,#cbd5e1);border-radius:18px;padding:24px;background:var(--theme-surface,#fff);color:var(--theme-body,#1e293b);line-height:1.6}.sync-hub-dialog::backdrop{background:#0f172a99}.sync-hub-dialog header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.sync-hub-dialog h2{margin:0}.sync-hub-dialog header button{min-width:44px;min-height:44px;font-size:1.7rem;background:transparent;border:0;color:inherit;cursor:pointer}.sync-hub-dialog p{font-size:.95rem}.sync-hub-categories>div{display:flex;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid var(--theme-line,#e2e8f0)}.sync-hub-categories span{flex:1}.sync-hub-categories strong{font-size:1.2rem}.sync-hub-categories button{min-height:44px}.sync-hub-dialog footer{display:flex;justify-content:space-between;gap:12px;margin-top:20px}.sync-hub-attention{padding:12px;border-radius:10px;background:var(--theme-warning-bg,#fff7ed);color:var(--theme-warning-text,#9a3412)}
@media(max-width:600px){.sync-hub-dialog{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0;border-radius:0;padding:20px}#offlineSyncQueueBtn.sync-hub-button{font-size:.75rem!important;max-width:180px}.sync-hub-dialog footer button{min-height:44px}}

.sync-hub-categories>div{display:grid;grid-template-columns:minmax(0,1fr) 28px auto;gap:12px}.sync-hub-categories>div>span{min-width:0}.sync-hub-categories button{width:auto!important;min-width:78px;max-width:110px;padding:8px 12px!important;white-space:normal}.sync-hub-categories strong{justify-self:end}.sync-hub-dialog footer{position:sticky;bottom:0;background:var(--theme-surface,#fff);padding:12px 0;border-top:1px solid var(--theme-line,#e2e8f0)}
