.accessible-document-host{height:68dvh;min-height:320px;min-width:0;display:flex;flex-direction:column;width:100%}.pilot-document-viewer{--document-bg:#f0f3f8;--document-text:#17263c;--document-border:#7b8fae;display:flex;flex-direction:column;gap:8px;min-height:0;flex:1;width:100%;color:var(--document-text);background:var(--document-bg);padding:10px;border:1px solid var(--document-border);border-radius:12px;overflow:hidden;font-family:Arial,sans-serif}.pilot-document-tools,.pilot-document-pages,.pilot-document-pan,.pilot-document-option-buttons{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px}.pilot-document-viewer .pilot-document-button,.pilot-document-viewer select,.pilot-document-viewer input,.pilot-document-options>summary{font:inherit;font-size:max(16px,.9rem);font-weight:600;line-height:1.25;color:var(--document-text);background:#fff;border:2px solid var(--document-border);border-radius:8px;padding:10px 14px;min-height:46px;cursor:pointer}.pilot-document-viewer .pilot-document-button:disabled{opacity:.55;cursor:not-allowed}.pilot-document-viewer .pilot-document-button[aria-pressed=true]{border-color:#214b9b;background:#e7edff}.pilot-document-viewer select{min-width:120px}.pilot-document-zoom-label,.pilot-document-page-label{display:flex;align-items:center;gap:8px;font-size:max(16px,.85rem);font-weight:bold;margin:0}.pilot-document-page-label input{width:85px;min-width:60px;max-width:110px}.pilot-document-viewport{position:relative;display:block;flex:1;min-height:140px;min-width:0;width:100%;overflow:auto;background:#555c67;padding:8px;overscroll-behavior:contain;scrollbar-width:auto;scrollbar-color:#d8e2f5 #1d2637;scrollbar-gutter:stable;touch-action:pan-x pan-y pinch-zoom;outline-offset:-5px}.pilot-document-stage{position:relative;max-width:none!important;max-height:none!important;background:white;overflow:hidden;contain:layout paint}.pilot-document-canvas{position:absolute;display:block;max-width:none!important;max-height:none!important;object-fit:fill;background:#fff;margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important}.pilot-document-options{flex:none;margin:0}.pilot-document-options>summary{display:list-item;width:max-content;max-width:100%;margin:auto;font-size:max(14px,.8rem)}.pilot-document-option-buttons{padding-top:8px}.pilot-document-status,.pilot-document-error,.pilot-document-hint{margin:0;font-size:max(15px,.8rem);line-height:1.4}.pilot-document-status,.pilot-document-hint{text-align:center}.pilot-document-error{background:#fff0ed;color:#9b211d;border:2px solid #ae3c31;border-radius:8px;padding:12px}.pilot-document-viewer :is(button,select,input,summary):focus-visible,.pilot-document-viewport:focus-visible{outline:4px solid #215aca;outline-offset:2px}.pilot-document-viewport:focus-visible{outline-offset:-5px}.pilot-document-sr-only{position:absolute!important;overflow:hidden!important;clip-path:inset(50%)!important;width:1px!important;height:1px!important;white-space:nowrap!important;padding:0!important;border:0!important}.pilot-document-viewer:fullscreen{width:100vw;height:100dvh;max-height:none;padding:12px;border-radius:0;box-sizing:border-box}.pilot-document-viewer [hidden]{display:none!important}
/* A magnified document must not be squeezed between fixed-height modal controls. */
[data-slot=dialog-content].document-preview-dialog:has(.pilot-document-viewer){width:98vw!important;max-width:1900px!important;height:96dvh;max-height:96dvh;display:flex;flex-direction:column;gap:8px;overflow:auto;padding:16px}.document-preview-dialog .accessible-document-host{height:auto;min-height:250px;flex:1}.document-preview-dialog:has(.pilot-document-viewer)>div:has(h2){flex:none;min-width:0}.document-preview-dialog:has(.pilot-document-viewer) h2{font-size:1.1rem;line-height:1.25;padding-right:40px}.document-preview-dialog:has(.pilot-document-viewer) .internal-preview-footer{flex:none;position:static;max-height:18dvh;overflow:auto;padding:8px 0;gap:8px}.document-preview-dialog:has(.pilot-document-viewer) .internal-preview-toolbar{flex:none;gap:8px}.document-preview-dialog:has(.pilot-document-viewer) .internal-preview-toolbar>span{font-size:.8rem}.document-preview-dialog:has(.pilot-document-viewer)>button[data-slot=dialog-close]{position:absolute;right:12px;top:12px}
html[data-vision=low] .pilot-document-viewer,html[data-theme=dark] .pilot-document-viewer{--document-bg:#080808;--document-text:#fff;--document-border:#fff}.pilot-document-viewer:fullscreen{background:var(--document-bg)}html[data-vision=low] .pilot-document-viewer :is(button,select,input,summary){font-size:1rem!important;min-height:58px!important;line-height:1.3!important;color:#fff!important;background:#080808!important;border:2px solid #fff!important;padding:10px 12px!important}html[data-vision=low] .pilot-document-viewer button[aria-pressed=true]{color:#080808!important;background:#ffe66b!important;border-color:#ffe66b!important}html[data-vision=low] .pilot-document-viewer :is(button,select,input,summary):focus-visible,html[data-vision=low] .pilot-document-viewport:focus-visible{outline:5px solid #ffe66b!important}html[data-vision=low] .pilot-document-viewer :is(.pilot-document-hint,.pilot-document-zoom-label,.pilot-document-page-label){font-size:.85rem!important;color:#fff!important}html[data-vision=low] .pilot-document-error{background:#080808!important;color:#fff!important;border:3px solid #ffe66b!important}html[data-vision=low] .document-preview-dialog:has(.pilot-document-viewer){padding:12px!important;width:99vw!important;max-width:99vw!important;height:98dvh!important;max-height:98dvh!important}html[data-vision=low] .pilot-document-viewport{scrollbar-color:#ffe66b #000}html[data-theme=dark] .pilot-document-viewer :is(button,select,input,summary){background:#111;color:white}html[data-theme=dark] .pilot-document-error{color:#fff;background:#612820}
.pilot-document-standalone{margin:0;height:100dvh;display:flex;flex-direction:column;background:#f0f3f8;color:#17263c;font-family:Arial,sans-serif}.pilot-document-window-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 16px;flex:none;border-bottom:1px solid #8a9bb6}.pilot-document-window-header h1{font-size:1rem;line-height:1.3;margin:0;overflow-wrap:anywhere}.pilot-document-window-header button{font:inherit;font-size:1rem;min-height:46px;padding:8px 14px;border:2px solid #7b8fae;border-radius:8px;background:white;color:#17263c}.pilot-document-standalone main{display:flex;flex:1;min-height:0;padding:8px}.pilot-document-standalone #document-host{display:flex;flex:1;min-height:0}.pilot-document-standalone[data-state=waiting] main{align-items:center;justify-content:center}.pilot-document-standalone #window-status{padding:20px;font-size:1.2rem;line-height:1.5}.pilot-document-standalone #window-status a{color:#174ba2}html[data-vision=low] .pilot-document-standalone,html[data-theme=dark] .pilot-document-standalone{background:#080808;color:white}html[data-vision=low] .pilot-document-window-header button{color:#fff;background:#080808;border-color:#fff;font-size:1rem;min-height:58px}html[data-vision=low] .pilot-document-window-header button:focus-visible{outline:5px solid #ffe66b}html[data-vision=low] .pilot-document-standalone #window-status a{color:#ffe66b}@media(max-width:650px){.pilot-document-viewer{padding:6px;gap:6px}.pilot-document-zoom-label>span{display:none}.pilot-document-viewer .pilot-document-button{padding:10px;min-height:46px}.pilot-document-tools{gap:6px}.pilot-document-hint{font-size:14px}.pilot-document-page-label{gap:6px}.pilot-document-page-label input{width:62px}.pilot-document-pages{gap:6px}.pilot-document-pages button{flex:1;min-width:110px}.document-preview-dialog:has(.pilot-document-viewer){padding:10px!important}.pilot-document-window-header{padding:8px}.pilot-document-window-header h1{font-size:.85rem}html[data-vision=low] .pilot-document-tools{justify-content:flex-start}html[data-vision=low] .pilot-document-tools button{flex:1;min-width:130px}html[data-vision=low] .pilot-document-pan{display:none}}

/* Keep the separate window bounded even when a page is magnified far beyond its viewport. */
.pilot-document-standalone,.pilot-document-standalone *{box-sizing:border-box}.pilot-document-standalone{width:100%;max-width:100vw;overflow:hidden}.pilot-document-standalone main,.pilot-document-standalone #document-host{min-width:0;max-width:100%;overflow:hidden}.pilot-document-viewer{box-sizing:border-box;min-width:0;max-width:100%}

html[data-vision=low] .pilot-document-viewer button:disabled{opacity:1!important;color:#ccc!important;border-style:dashed!important}html[data-vision=low] .document-preview-dialog:has(.pilot-document-viewer) .internal-preview-footer{background:#080808;border-color:white}
