.catchup-dialog{width:min(640px,calc(100vw - 32px));max-height:calc(100dvh - 48px);padding:0;border:1px solid var(--line);border-radius:14px;color:var(--ink);background:#fff}.catchup-dialog::backdrop{background:#122b2240}.catchup-dialog>header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding:22px;border-bottom:1px solid var(--line)}.catchup-dialog>header strong{font-size:19px}.catchup-dialog>header small{display:block;margin-top:7px;line-height:1.6;color:var(--muted);font-size:13px}.catchup-dialog button{min-height:44px;min-width:44px;font:inherit;padding:8px 12px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);cursor:pointer}.catchup-dialog button:focus-visible{outline:2px solid var(--green);outline-offset:3px}.catchup-dialog button:disabled{opacity:.5;cursor:default}#catchupEvents{padding:0 22px;max-height:55dvh;overflow:auto}#catchupEvents article{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px 0;border-bottom:1px solid var(--line)}#catchupEvents article>div{display:flex;flex-direction:column;gap:6px;min-width:0}#catchupEvents strong{font-size:14px}#catchupEvents span{font-size:14px}#catchupEvents small{font-size:12px;color:var(--muted)}#catchupEvents article>button{flex-shrink:0}.catchup-dialog footer{padding:16px 22px;display:flex;justify-content:flex-end;gap:12px;border-top:1px solid var(--line)}#catchupError{margin:0;padding-inline:22px;font-size:13px;line-height:1.5;color:var(--danger,#aa3d36)}#catchupError:empty{display:none}.catchup-empty{padding-block:30px;color:var(--muted);font-size:14px;line-height:1.7}#documentCatchupButton{white-space:nowrap}
@media(max-width:680px){.catchup-dialog{width:calc(100vw - 20px)}.catchup-dialog>header,.catchup-dialog footer{padding:16px}#catchupEvents{padding-inline:16px}.catchup-dialog footer{flex-wrap:wrap}#documentCatchupButton{font-size:12px;padding:8px!important;min-width:44px}}
@media(max-width:680px){#shellDocumentTools{flex-wrap:nowrap}#documentCatchupButton{font-size:0!important;display:flex;align-items:center;justify-content:center}#documentCatchupButton::before{content:attr(data-compact-label);font-size:12px}}
@media(max-width:360px){#shellDocumentTools>button[data-shell-view=library]>span,#shellDocumentTools .shell-document-actions>.shell-menu>summary>span{display:none}}
