/* Presentation reading workspace: compact identity, viewport-sized reader. */
.document-workspace .language-picker{margin-bottom:8px}
.document-workspace .presentation-cover{display:none}.document-workspace .branded-presentation .published-identity{display:flex;align-items:center;gap:14px;padding:12px 18px;margin-bottom:12px;min-height:0}
.document-workspace .published-identity h2,.document-workspace .published-identity p{margin:0;font-size:1rem}.document-workspace .published-identity .company-logo{width:52px;height:44px;padding:3px}
.document-workspace .branded-presentation>h1{font-size:1.35rem;margin:12px 0}.document-workspace .presentation-tabs{margin:10px 0;padding-bottom:10px}.document-workspace .page-heading{margin:10px 0}.document-workspace .page-heading h2{font-size:1rem}
.split-reader{grid-template-columns:230px minmax(0,1fr);gap:14px}.split-reader.sidebar-collapsed{grid-template-columns:48px minmax(0,1fr)}.sidebar-collapsed .file-sidebar{padding:10px 6px;overflow:hidden}.sidebar-collapsed .file-sidebar summary{writing-mode:vertical-rl;white-space:nowrap}
.file-sidebar{max-height:calc(100dvh - 230px);padding:12px}.file-sidebar .file-row{padding:9px;gap:8px}.file-sidebar .file-row img{width:48px;height:42px}.preview-stage{padding:12px;scroll-margin-top:12px}.preview-stage>h2{font-size:1.05rem;margin:6px 0}.preview-stage>p:empty{display:none}.preview-stage>p{margin:6px 0 10px}
.reader-workspace-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:8px;margin:0 0 8px}.reader-workspace-actions button{padding:7px 12px;font-size:.85rem}
.preview-stage .pdf-reader{display:block;width:100%;height:calc(100dvh - 330px);min-height:440px;border:1px solid #dce5ed;border-radius:6px}.preview-stage>.actions{margin:8px 0 0}.presentation-video{width:100%;height:calc(100dvh - 330px);min-height:360px;max-height:850px;background:#102536;border:0;border-radius:8px}.external-video{text-align:center;display:grid;place-items:center;min-height:360px;background:#edf4f7;padding:20px;border-radius:8px}.external-video .presentation-video{min-height:360px}
.preview-stage:fullscreen,.preview-stage.reader-focus-fallback{background:var(--brand-background,#f8fafc);color:var(--brand-body-text,#102536);padding:14px;display:flex;flex-direction:column;overflow:auto}.preview-stage:fullscreen .pdf-reader,.preview-stage.reader-focus-fallback .pdf-reader{flex:1;height:auto;min-height:0}.preview-stage:fullscreen .presentation-video,.preview-stage.reader-focus-fallback .presentation-video{height:calc(100dvh - 120px);min-height:0}.preview-stage:fullscreen>h2,.preview-stage.reader-focus-fallback>h2{margin:0 0 8px}.preview-stage:fullscreen>p,.preview-stage.reader-focus-fallback>p{display:none}.reader-focus-fallback{position:fixed!important;inset:0;z-index:2000;width:100%;height:100dvh;border-radius:0}
html:has(.reader-body),.reader-body{height:100%;overflow:hidden}.reader-body #pdf-reader{height:100dvh;display:flex;flex-direction:column;min-width:0}.reader-body .reader-toolbar{flex-shrink:0;position:static;display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding:8px;background:#f8fafc;border-bottom:1px solid #cbd5e1}.reader-toolbar button,.reader-toolbar a{font-size:12px;padding:7px 9px}.reader-toolbar button[aria-pressed=true]{background:#e1f2ef;color:#075e58;outline:1px solid #0f766e}.reader-toolbar input{width:58px;padding:6px}.reader-body #pdf-status{flex-shrink:0;font-size:12px;padding:4px 12px;margin:0;background:#edf2f7}.pdf-reading-layout{display:flex;flex:1;min-height:0;min-width:0}#pdf-canvas-area{flex:1;min-width:0;min-height:0;padding:12px;overflow:auto;direction:ltr}#pdf-canvas{margin-inline:auto;max-width:none}#pdf-outline{width:220px;flex-shrink:0;background:#fff;overflow:auto;border-inline-end:1px solid #cbd5e1;padding:10px}#pdf-outline[hidden]{display:none}#pdf-outline ul{padding-inline-start:14px;list-style:none;margin:4px 0}#pdf-outline button{display:block;text-align:start;color:#193247;background:transparent;border:0;padding:9px 5px;width:100%;font-size:12px;overflow-wrap:anywhere}#pdf-outline button:hover{background:#e1f2ef}
[hidden]{display:none!important}
@media(max-width:700px){.split-reader,.split-reader.sidebar-collapsed{grid-template-columns:minmax(0,1fr)}.file-sidebar{max-height:230px}.sidebar-collapsed .file-sidebar summary{writing-mode:horizontal-tb}.document-workspace .published-identity{flex-wrap:wrap}.document-workspace .published-identity p{font-size:.85rem}.preview-stage .pdf-reader{height:calc(100dvh - 240px);min-height:400px}#pdf-outline{width:145px}.reader-toolbar{gap:4px}.reader-toolbar button{padding:7px;font-size:11px}.presentation-video{min-height:240px;height:auto;aspect-ratio:16/9}.document-workspace .branded-presentation>h1{font-size:1.1rem}}


.document-workspace .branded-presentation>h2{display:none}
.document-workspace .branded-presentation>h1{margin:8px 0;font-size:1.2rem}
.document-workspace .presentation-tabs a{padding:8px 12px}
.reader-preview-heading{display:flex;flex-direction:row-reverse;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:0 0 8px}
.reader-preview-heading h2{margin:0;font-size:1rem}.reader-preview-heading .reader-workspace-actions{margin:0}
.preview-stage .pdf-reader{min-height:300px}

.reader-search-box{display:flex;align-items:center;gap:4px;min-width:0;margin-bottom:8px}
.reader-search-box input{flex:1;min-width:0;margin:0;width:100%}.reader-search-box input::-webkit-search-cancel-button{display:none}
.reader-search-box button{flex-shrink:0;padding:6px 9px;min-width:32px;font-size:1.1rem;border-radius:6px}
[data-reader-filters] select{width:100%;margin:0}.reader-filter-status{font-size:.8rem;color:#475569;margin:8px 0;overflow-wrap:anywhere}
.reader-filter-status.is-loading::before{content:'';display:inline-block;width:10px;height:10px;margin-inline-end:6px;border:2px solid #b8d8d4;border-top-color:#0f766e;border-radius:50%;animation:reader-filter-spin .7s linear infinite}
@keyframes reader-filter-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.reader-filter-status.is-loading::before{animation:none}}

.presentation-shell-header{display:flex;justify-content:space-between;align-items:center;gap:18px;flex-wrap:wrap;background:var(--shell-color,#0f766e);color:var(--shell-text,#fff);padding:16px 20px;border-radius:10px;margin:0 0 10px}
.presentation-shell-identity{display:flex;align-items:center;gap:14px;min-width:0}.presentation-shell-identity>img{width:58px;height:58px;object-fit:contain;background:#fff;border-radius:8px;padding:5px}.shell-company-symbol{display:grid;place-items:center;width:52px;height:52px;background:#ffffff20;border-radius:8px;font-size:24px;flex-shrink:0}
.presentation-shell-header h1{font-size:1.2rem;margin:5px 0 0;overflow-wrap:anywhere}.shell-company-name{margin:0;font-size:.9rem}.shell-breadcrumb{margin:5px 0 0;font-size:.8rem;opacity:.9}.shell-breadcrumb a,.presentation-shell-actions a{color:inherit}.presentation-shell-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:.85rem}.presentation-shell-actions .button-link{background:var(--shell-text,#fff);color:var(--shell-color,#0f766e);padding:9px 12px}
.unified-tabs{position:sticky;top:0;z-index:40;display:flex;flex-wrap:wrap;gap:5px;background:#fff;padding:8px 0;margin:0 0 14px;border-bottom:1px solid #dce5ed}.unified-tabs a{padding:9px 13px;color:#334155;text-decoration:none;border-radius:6px}.unified-tabs a[aria-current]{background:#0f766e;color:#fff}.presentation-page-title{font-size:1.15rem;margin:16px 0}.app-header:has(~main [data-presentation-header]) .header-company{display:none}
@media(max-width:700px){.presentation-shell-header{padding:12px;gap:12px}.presentation-shell-header h1{font-size:1.05rem}.presentation-shell-identity>img{width:45px;height:45px}.unified-tabs{gap:3px}.unified-tabs a{padding:8px;font-size:.85rem}.presentation-shell-actions{gap:9px}.presentation-shell-actions .button-link{padding:8px}}

.shell-company-alternate{display:inline-block;margin-inline-start:10px;font-size:.8rem;opacity:.9}.unified-tabs a[aria-current]{background:var(--shell-color,#0f766e);color:var(--shell-text,#fff)}

/* One server-rendered workspace for EVERY presentation section. */
main.presentation-workspace{box-sizing:border-box;max-width:none;width:calc(100% - 24px);margin:12px auto;padding:14px}
.presentation-workspace>.language-picker{margin:0 0 8px}
.presentation-workspace>.presentation-shell-header{margin:0 0 10px}
.presentation-workspace>.unified-tabs{margin:10px 0;padding:8px 0 10px}
.presentation-workspace>.unified-tabs a{padding:8px 12px}
@media(min-width:701px){.presentation-workspace>.presentation-shell-header{min-height:120px}}

html:has(main.presentation-workspace){scrollbar-gutter:stable}
