:root{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#17191c;background:#f7f8fa;font-synthesis:none}*{box-sizing:border-box}[hidden]{display:none!important}html,body{width:100%;height:100%;margin:0;overflow:hidden}button,input,textarea{font:inherit}button{cursor:pointer}.login-view{display:grid;min-height:100%;place-items:center;padding:20px;overflow:auto;background:linear-gradient(145deg,#eef3ff,#f8fafc 52%,#eefaf7)}.login-card{width:min(390px,100%);padding:30px 24px;border:1px solid #e1e5ea;border-radius:22px;background:#fff;box-shadow:0 18px 50px #263b5d1a}.login-logo{display:block;width:62px;height:62px;margin:0 auto 14px}.login-card h1{text-align:center;margin:0 0 6px;font-size:24px}.login-card p{text-align:center;color:#606b78;margin:0 0 24px}.login-card label,.group-name{display:grid;gap:6px;margin:14px 0;color:#4b5563;font-size:14px}.login-card input,.group-name input,.dialog-search{width:100%;min-height:46px;padding:11px 13px;border:1px solid #cfd6df;border-radius:12px;background:#fff;color:#17191c;outline:none}.login-card input:focus,.group-name input:focus,.dialog-search:focus{border-color:#3169d5;box-shadow:0 0 0 3px #3169d51a}.primary{width:100%;min-height:46px;border:0;border-radius:12px;background:#285fc4;color:#fff;font-weight:650}.form-error{min-height:20px;margin:6px 0;color:#b42318;font-size:14px}.app-view{display:grid;width:100%;height:100%;height:100dvh;overflow:hidden;grid-template-columns:minmax(270px,360px) minmax(0,1fr);background:#fff}.chats-pane{display:flex;min-width:0;min-height:0;flex-direction:column;overflow:hidden;border-right:1px solid #e5e8ec;background:#f8f9fb}.chats-header,.chat-header{display:flex;min-height:62px;flex:0 0 auto;align-items:center;gap:10px;padding:8px 12px;border-bottom:1px solid #e5e8ec;background:#fff}.chat-header{position:relative;z-index:5}.chats-header>div,.chat-title{display:flex;min-width:0;flex:1;flex-direction:column}.chats-header strong,.chat-title strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chats-header small,.chat-title small{overflow:hidden;color:#798391;text-overflow:ellipsis;white-space:nowrap}.icon-button{display:grid;width:40px;height:40px;flex:0 0 auto;place-items:center;border:0;border-radius:50%;background:transparent;color:#285fc4;font-size:28px}.icon-button:hover{background:#edf2fb}.employee-search{margin:10px 10px 6px;padding:11px 14px;border:1px solid #e0e5eb;border-radius:12px;background:#fff;color:#606b78;text-align:left}.sync-status{min-height:18px;padding:0 14px;color:#8b95a3;font-size:12px}.room-list{min-height:0;flex:1;overflow:auto;padding:4px 7px 12px}.room-tile{display:grid;width:100%;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:10px;padding:9px;border:0;border-radius:13px;background:transparent;text-align:left}.room-tile:hover,.room-tile.active{background:#eaf1ff}.avatar{display:grid;width:44px;height:44px;place-items:center;border-radius:50%;background:#dfe9fb;color:#285fc4;font-weight:700}.room-copy{min-width:0}.room-name,.room-preview{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.room-name{font-weight:650}.room-preview{margin-top:3px;color:#788391;font-size:13px}.room-time{color:#8d97a4;font-size:11px}.empty-list{padding:36px 20px;color:#7b8694;text-align:center}.chats-footer{display:flex;flex:0 0 auto;justify-content:space-between;padding:9px 12px max(9px,env(safe-area-inset-bottom));border-top:1px solid #e5e8ec;background:#fff}.chats-footer button{border:0;background:transparent;color:#52606f;font-size:13px}.chat-pane{display:flex;min-width:0;min-height:0;flex-direction:column;overflow:hidden;background:#eef2f7}.back-button{display:none;font-size:36px}.timeline{display:flex;min-height:0;flex:1 1 auto;flex-direction:column;gap:7px;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;padding:14px clamp(10px,3vw,34px)}.message{align-self:flex-start;max-width:min(76%,680px);padding:8px 11px;border-radius:15px 15px 15px 5px;background:#fff;box-shadow:0 1px 2px #25344d1a;overflow-wrap:anywhere}.message.own{align-self:flex-end;border-radius:15px 15px 5px 15px;background:#dceaff}.message-sender{margin-bottom:3px;color:#285fc4;font-size:12px;font-weight:650}.message-time{float:right;margin:5px 0 0 10px;color:#7c8794;font-size:10px}.message img{display:block;max-width:100%;max-height:360px;border-radius:10px}.file-link{display:flex;align-items:center;gap:8px;color:#285fc4;text-decoration:none}.older-button{flex:0 0 auto;align-self:center;margin:8px;border:0;background:transparent;color:#285fc4}.composer{display:flex;flex:0 0 auto;align-items:flex-end;gap:7px;padding:8px max(8px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));border-top:1px solid #dde2e8;background:#fff}.composer textarea{min-width:0;max-height:130px;flex:1;resize:none;padding:10px 12px;border:1px solid #d8dde4;border-radius:18px;outline:none}.attach-button,.send-button{display:grid;width:42px;height:42px;flex:0 0 auto;place-items:center;border:0;border-radius:50%;background:#eaf1ff;color:#285fc4;font-size:26px}.attach-button input{display:none}.send-button{background:#285fc4;color:#fff;font-size:19px}.file-preview{flex:0 0 auto;padding:7px 12px;border-top:1px solid #e2e6eb;background:#fff;color:#586574;font-size:13px}.file-preview img{width:54px;height:54px;margin-right:8px;border-radius:8px;object-fit:cover;vertical-align:middle}.people-dialog{width:min(520px,calc(100vw - 20px));max-height:min(680px,calc(100dvh - 20px));padding:0;border:0;border-radius:18px;box-shadow:0 22px 70px #14233d33}.people-dialog::backdrop{background:#18243866}.dialog-header{display:flex;align-items:center;justify-content:space-between;margin:0;padding:14px 16px;border-bottom:1px solid #e5e8ec}.dialog-header button{width:36px;height:36px;border:0;border-radius:50%;background:transparent;font-size:26px}.dialog-search{width:calc(100% - 24px);margin:12px}.people-results{max-height:430px;overflow:auto;padding:0 8px 12px}.person-row{display:flex;width:100%;align-items:center;gap:10px;padding:9px;border:0;border-radius:11px;background:#fff;text-align:left}.person-row:hover{background:#eef3fb}.person-row small{display:none}.group-name{padding:0 14px}.group-selected{display:flex;flex-wrap:wrap;gap:6px;padding:0 14px}.selected-chip{padding:6px 9px;border-radius:14px;background:#eaf1ff;color:#285fc4;font-size:13px}.group-create{width:calc(100% - 28px);margin:8px 14px 14px}.drop-active{outline:3px dashed #285fc4;outline-offset:-6px}
@media(max-width:768px){.app-view{display:block;overflow:hidden}.chats-pane,.chat-pane{width:100%;height:100%;height:100dvh}.app-view[data-room-open="false"] .chat-pane{display:none}.app-view[data-room-open="true"] .chats-pane{display:none}.back-button{display:grid}.chat-header{padding-top:max(8px,env(safe-area-inset-top))}.message{max-width:88%}.people-dialog{margin:auto}.login-card{padding:24px 18px}.timeline{padding:10px}}

/* Chat folders and unread counters */
.folder-tabs{display:flex;gap:6px;overflow-x:auto;padding:3px 10px 7px;scrollbar-width:none}.folder-tabs::-webkit-scrollbar{display:none}.folder-tab{min-height:30px;padding:5px 11px;border:0;border-radius:15px;background:#edf0f4;color:#596675;white-space:nowrap;font-size:12px}.folder-tab.active{background:#285fc4;color:#fff}.folder-tab.manage{width:30px;padding:0;font-size:16px}.room-meta{display:flex;min-width:31px;align-items:flex-end;gap:4px;flex-direction:column}.unread-badge{display:grid;min-width:20px;height:20px;place-items:center;padding:0 5px;border-radius:10px;background:#285fc4;color:#fff;font-size:11px;font-weight:700}.small-icon{font-size:21px}

/* Message actions, edits and read receipts */
.message{position:relative;padding-right:34px}.message-actions{position:absolute;top:3px;right:3px;width:29px;height:29px;padding:0;border:0;border-radius:50%;background:transparent;color:#7d8895;font-size:18px}.message-actions:hover{background:#0000000d}.message-status{margin-left:3px;color:#75818d;font-size:12px;letter-spacing:-3px}.message-status.read{color:#1684d6}.edited-mark{margin-left:5px;color:#7c8794;font-size:10px}.message-deleted{color:#88929e;font-style:italic}.message img{cursor:zoom-in}.file-icon{font-size:25px}.edit-bar{display:flex;align-items:center;justify-content:space-between;padding:7px 12px;border-top:1px solid #d9e2ef;background:#f8fbff;color:#285fc4}.edit-bar>span{display:flex;min-width:0;flex-direction:column}.edit-bar small{max-width:70vw;overflow:hidden;color:#687787;text-overflow:ellipsis;white-space:nowrap}.edit-bar button{width:34px;height:34px;border:0;background:transparent;color:#637386;font-size:25px}
.day-separator{position:sticky;z-index:2;top:4px;align-self:center;margin:7px 0 3px;padding:5px 11px;border-radius:14px;background:#ffffffde;box-shadow:0 1px 4px #25344d1f;color:#667586;font-size:12px;font-weight:650}

/* Message replies */
.reply-bar{border-left:3px solid #285fc4}.message-reply-reference{display:flex;width:100%;min-width:0;flex-direction:column;gap:2px;margin:0 0 6px;padding:5px 7px;border:0;border-left:3px solid #285fc4;border-radius:4px;background:#eef4ff;color:#5e6a78;text-align:left}.message.own .message-reply-reference{background:#cfe0f8}.message-reply-reference strong,.message-reply-reference span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.message-reply-reference strong{color:#285fc4;font-size:11px}.message-reply-reference span{max-width:100%;font-size:11px}.message-highlight{animation:message-highlight 1.3s ease}@keyframes message-highlight{0%,100%{box-shadow:0 1px 2px #25344d1a}35%{box-shadow:0 0 0 4px #285fc455}}

/* Selected attachments */
.file-preview{display:flex;align-items:center;gap:7px;flex-wrap:wrap;max-height:150px;overflow:auto}.file-preview img{margin-right:0}.pending-file{display:flex;min-width:0;max-width:260px;align-items:center;gap:5px;white-space:nowrap}.pending-file>span{overflow:hidden;text-overflow:ellipsis}.pending-file button{border:0;background:transparent;color:#a33030;font-size:18px}.original-option{display:flex;width:100%;align-items:center;gap:7px;color:#526170;font-size:12px}.original-option input{width:17px;height:17px}.upload-status{padding:7px 12px;border-top:1px solid #d9e2ef;background:#f3f7fd;color:#285fc4;font-size:12px}.send-button:disabled{cursor:wait;opacity:.55}

/* Dialogs and built-in file viewer */
.action-dialog,.viewer-dialog{padding:0;border:0;border-radius:18px;box-shadow:0 22px 70px #14233d33}.action-dialog{width:min(410px,calc(100vw - 20px))}.viewer-dialog{width:min(1100px,calc(100vw - 18px));height:min(820px,calc(100dvh - 18px));max-width:none;max-height:none}.action-dialog::backdrop,.viewer-dialog::backdrop{background:#18243888}.action-list{display:grid;padding:8px}.action-list button{padding:13px;border:0;border-radius:10px;background:#fff;text-align:left}.action-list button:hover{background:#eef3fb}.action-list .danger{color:#b42318}.viewer-header strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.viewer-header span{display:flex}.viewer-status{position:absolute;top:70px;left:0;right:0;color:#667586;text-align:center}.viewer-body{height:calc(100% - 65px);overflow:auto;background:#eef1f5}.viewer-body>img{display:block;max-width:100%;max-height:100%;margin:auto;padding:12px;object-fit:contain}.viewer-body iframe{width:100%;height:100%;border:0;background:#fff}.document-preview{width:min(850px,calc(100% - 20px));min-height:calc(100% - 20px);margin:10px auto;padding:30px;background:#fff;box-shadow:0 2px 10px #0002;overflow:auto}.document-preview table{border-collapse:collapse}.document-preview td,.document-preview th{padding:5px 8px;border:1px solid #cfd6df;white-space:pre-wrap}.viewer-fallback{display:grid;height:100%;place-items:center;padding:30px;text-align:center}

/* Folder management */
.folder-form{display:grid;grid-template-columns:1fr auto;gap:8px;padding:12px}.folder-form input{min-width:0;padding:10px 12px;border:1px solid #cfd6df;border-radius:10px}.folder-form .primary{width:auto;min-height:40px;padding:0 14px}.folders-list{max-height:440px;overflow:auto;padding:0 8px 12px}.folder-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:5px;padding:8px}.folder-row span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.folder-row button{padding:6px 8px;border:0;border-radius:8px;background:#eef2f7;color:#526170}.folder-row .danger{color:#b42318}.assign-list{display:grid;padding:8px}.assign-row{display:flex;align-items:center;gap:10px;padding:11px;border-radius:10px}.assign-row:hover{background:#eef3fb}.assign-row input{width:20px;height:20px}.manage-folders{width:calc(100% - 16px);margin:0 8px 10px;padding:11px;border:0;border-radius:10px;background:#eaf1ff;color:#285fc4}

@media(max-width:768px){.message{max-width:90%}.action-dialog,.viewer-dialog{margin:auto}.viewer-dialog{width:100vw;height:100dvh;border-radius:0}.document-preview{width:100%;min-height:100%;margin:0;padding:16px}.folder-form{grid-template-columns:1fr}.folder-form .primary{width:100%}}

/* Safari moves the visible viewport when the keyboard opens. Give the chat
   its own stable three-row frame inside that viewport. Only the timeline
   scrolls; messages can no longer pass behind the header. */
@supports(-webkit-touch-callout:none){
  .app-view.ios-keyboard-open .chat-pane{position:absolute;z-index:10;top:var(--ios-page-top,0);right:0;left:0;width:100%;height:var(--ios-visible-height,100dvh);min-height:0;overflow:hidden;overscroll-behavior:none}
  .app-view.ios-keyboard-open .chat-header{position:relative;z-index:2;min-height:62px;flex:0 0 auto;transform:none;box-shadow:0 2px 8px #263b5d1f}
  .app-view.ios-keyboard-open .timeline{min-height:0;flex:1 1 auto;overflow-x:hidden;overflow-y:auto;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch}
  .app-view.ios-keyboard-open .composer{position:relative;z-index:2;flex:0 0 auto}
}

.room-members-link { display:block; border:0; background:none; padding:3px 0; color:#326bc1; font:inherit; font-size:12px; cursor:pointer; }
.crypto-form{display:grid;gap:12px;padding:16px;color:#27374a;font-size:14px}.crypto-form p{margin:0;line-height:1.45}.crypto-form input{width:100%;min-width:0;padding:12px;border:1px solid #cfd6df;border-radius:10px;font-size:16px}.crypto-form small{color:#5c6b7c;line-height:1.4}.crypto-dialog{max-height:85dvh;overflow:auto}.encrypted-placeholder{color:#58677a}.encrypted-placeholder button{border:0;background:none;color:#2563c7;text-decoration:underline;cursor:pointer;padding:4px;font:inherit}#crypto-status{white-space:pre-wrap;overflow-wrap:anywhere}#sync-retry[hidden]{display:none}
.forward-dialog{width:min(520px,calc(100vw - 20px));max-height:85dvh;overflow:auto}.forward-preview,.forward-status{margin:8px 14px;font-size:13px;color:#526170;overflow-wrap:anywhere}.forward-preview{max-height:65px;overflow:auto;white-space:pre-wrap}.forward-rooms{max-height:50dvh;overflow:auto;padding:8px 14px}.forward-dialog input{box-sizing:border-box;display:block;width:calc(100% - 28px);margin:8px 14px;padding:12px;border:1px solid #cfd6df;border-radius:10px;font:inherit}.forward-rooms button{min-height:44px;overflow-wrap:anywhere;white-space:normal}.forward-rooms button:disabled{opacity:.55}.forwarded-label{font-size:12px;color:#586d8f;margin-bottom:5px;overflow-wrap:anywhere}
.message-text{white-space:pre-wrap;overflow-wrap:anywhere}
button.message-status { border:0; background:none; padding:0 3px; cursor:pointer; font:inherit; }
.member-list { max-height:60dvh; overflow:auto; padding:0 16px 16px; }
.member-row { display:flex; align-items:center; gap:12px; justify-content:space-between; padding:12px 0; border-bottom:1px solid #e5e7eb; }
.member-row > div { min-width:0; overflow-wrap:anywhere; }
.member-row small { display:block; margin-top:4px; color:#64748b; }
.member-row button { flex-shrink:0; max-width:130px; padding:8px; border:1px solid #e5e7eb; border-radius:8px; background:transparent; color:#b42318; }
.details-note { padding:0 16px; font-size:13px; color:#64748b; }
#room-details-error { padding:0 16px; }

.project-discussions-button { margin:0 10px 6px; padding:11px 14px; border:1px solid #bfd0ef; border-radius:12px; background:#eaf1ff; color:#285fc4; text-align:left; font-weight:650; }
.project-discussions-button:disabled { cursor:wait; opacity:.6; }
.voice-record-button { display:grid; width:42px; height:42px; flex:0 0 auto; place-items:center; border:0; border-radius:50%; background:#eaf1ff; color:#285fc4; font-size:21px; }
.voice-record-button.recording { background:#ffe6e3; color:#b42318; animation:voice-pulse 1.2s ease-in-out infinite; }
.voice-record-button:disabled { opacity:.5; cursor:wait; }
.voice-panel { display:flex; flex:0 0 auto; align-items:center; flex-wrap:wrap; gap:9px; padding:8px 12px; border-top:1px solid #d9e2ef; background:#fff; }
.voice-panel[hidden], .voice-panel audio[hidden], .voice-panel button[hidden] { display:none!important; }
.voice-panel #voice-status { flex:1; min-width:110px; color:#526170; font-size:13px; }
.voice-panel audio { width:min(260px,100%); height:36px; }
.voice-panel button { min-height:36px; padding:7px 11px; border:0; border-radius:9px; background:#edf2fb; color:#285fc4; }
.voice-panel #voice-send { background:#285fc4; color:#fff; }
.voice-message { display:flex; align-items:center; gap:8px; flex-wrap:wrap; min-width:190px; }
.voice-message button { padding:7px 10px; border:0; border-radius:10px; background:#eaf1ff; color:#285fc4; }
.voice-message audio { max-width:100%; height:38px; }
@keyframes voice-pulse { 50% { box-shadow:0 0 0 5px #b4231822; } }
@media(max-width:768px) { .voice-panel audio { order:2; width:100%; } .voice-panel #voice-status { flex-basis:100%; } }
.chat-search-button { font-size:29px; }
.quote-dialog { padding:0 14px 14px; }
.quote-dialog .dialog-header { margin:0 -14px; }
.quote-dialog p { margin:12px 0 8px; color:#526170; font-size:13px; }
.quote-dialog textarea { width:100%; height:150px; padding:11px; resize:vertical; border:1px solid #cfd6df; border-radius:10px; background:#f7f9fc; color:#17191c; }
.quote-dialog .primary { margin-top:6px; }
.room-search-dialog { width:min(580px,calc(100vw - 20px)); display:flex; flex-direction:column; }
.room-search-dialog:not([open]) { display:none; }
.room-search-form { display:flex; gap:7px; padding:12px; }
.room-search-form input { min-width:0; flex:1; padding:10px 12px; border:1px solid #cfd6df; border-radius:9px; }
.room-search-form button,.room-search-result button,#room-search-more { padding:9px 12px; border:0; border-radius:9px; background:#eaf1ff; color:#285fc4; }
.room-search-status { padding:0 12px 8px; color:#64748b; font-size:13px; }
.room-search-results { min-height:0; overflow:auto; padding:0 12px 8px; }
.room-search-result { padding:11px 0; border-top:1px solid #e5e8ec; overflow-wrap:anywhere; }
.room-search-result strong { display:block; color:#536274; font-size:12px; }
.room-search-result p { margin:6px 0; white-space:pre-wrap; }
.room-search-result button { font-size:12px; }
#room-search-more { flex:0 0 auto; margin:8px 12px 12px; }
@media(max-width:768px) { .room-search-dialog { width:100vw; height:100dvh; max-height:100dvh; margin:0; border-radius:0; } .chat-search-button { width:36px; } }
.chat-pane { position:relative; }
.emoji-open-button { display:grid; width:40px; height:42px; flex:0 0 auto; place-items:center; border:0; border-radius:50%; background:#eaf1ff; font-size:21px; }
.emoji-picker { position:absolute; z-index:20; left:8px; bottom:calc(66px + env(safe-area-inset-bottom)); width:min(370px,calc(100% - 16px)); max-height:min(380px,55dvh); overflow:auto; padding:10px; border:1px solid #d5dce8; border-radius:16px; background:#fff; box-shadow:0 12px 35px #15284433; }
.emoji-picker header { display:flex; align-items:center; justify-content:space-between; margin-bottom:8px; }
.emoji-picker header button { width:30px; height:30px; border:0; background:transparent; color:#64748b; font-size:25px; }
.emoji-picker section { margin-top:9px; }
.emoji-picker section strong { color:#64748b; font-size:12px; }
.emoji-grid { display:grid; grid-template-columns:repeat(8,minmax(0,1fr)); gap:2px; margin-top:5px; }
.emoji-grid button { display:grid; height:39px; place-items:center; padding:0; border:0; border-radius:8px; background:#fff; font-size:24px; }
.emoji-grid button:hover,.emoji-grid button:focus-visible { background:#eaf1ff; }
.message-reactions { display:flex; flex-wrap:wrap; gap:4px; align-items:center; margin-top:6px; }
.reaction-chip,.reaction-add { min-height:25px; padding:2px 7px; border:1px solid #d9e1ed; border-radius:13px; background:#f6f8fb; color:#4d6075; font-size:12px; line-height:19px; }
.reaction-chip.mine { border-color:#9ab9e8; background:#d8e9ff; color:#285fc4; }
.reaction-add { width:26px; padding:0; font-size:17px; }
/* Override only the phone messenger, including the later-injected portal shell.
   Its !important 100dvh - 54px rule must not override the keyboard viewport. */
@media(max-width:768px) {
  html body.ackp-mobile-shell { padding-top:0!important; }
  body.ackp-mobile-shell #ackpNavigation { display:none!important; }
  body.ackp-mobile-shell .app-view,
  body.ackp-mobile-shell .chats-pane,
  body.ackp-mobile-shell .chat-pane { height:100dvh!important; }
  body .app-view.ios-keyboard-open .chat-pane,
  body.ackp-mobile-shell .app-view.ios-keyboard-open .chat-pane {
    position:fixed; top:var(--ios-page-top,0); bottom:auto;
    height:var(--ios-visible-height,100dvh)!important;
  }
}
@media(max-width:768px) { .emoji-picker { bottom:calc(63px + env(safe-area-inset-bottom)); } .emoji-open-button { width:36px; } .composer .attach-button { width:38px; } .composer .voice-record-button { width:38px; } }

.pinned-bar{flex:none;text-align:left;padding:9px 14px;background:#eef6f5;color:#175d54;border:0;border-bottom:1px solid #ccdeda;cursor:pointer}.pinned-bar[hidden]{display:none}.pin-row{display:flex;gap:8px;padding:10px;border-bottom:1px solid #ddd}.pin-preview{flex:1;min-width:0;text-align:left;white-space:pre-wrap;overflow-wrap:anywhere}#pins-dialog{max-width:calc(100vw - 24px)}

/* Application owns scroll anchoring; do not apply browser anchoring twice. */
.timeline{overflow-anchor:none}

/* Attachment navigation stays visible while the document scrolls. */
.viewer-controls{flex-shrink:0;align-items:center;gap:4px}.viewer-controls button{width:40px;min-width:40px;height:40px}.viewer-controls button:disabled{opacity:.35;cursor:default}.viewer-controls output{min-width:54px;text-align:center;font-size:13px;white-space:nowrap}.viewer-header strong{flex:1}.viewer-header{gap:8px}
