/* Quiet reading surfaces, contextual tools, and platform-sized panels. */
:root{--reader-ink:#263d50;--reader-muted:#7a8b99;--reader-accent:#347bce;--reader-line:#e5ebef;--reader-paper:#fff;--reader-shadow:0 20px 70px #20344426}
[data-reader-color=amber]{--mark-color:#ba8525;--mark-fill:#f7df9a99}[data-reader-color=red]{--mark-color:#cf5e69;--mark-fill:#f6c3c880}[data-reader-color=purple]{--mark-color:#8b6bc4;--mark-fill:#ddcff580}[data-reader-color=blue]{--mark-color:#397fcb;--mark-fill:#c4dffa99}[data-reader-color=green]{--mark-color:#2c9678;--mark-fill:#bae8d780}
#u-selectable{user-select:text;-webkit-user-select:text;-webkit-touch-callout:none}#u-selectable ::selection{background:#b9dafa99;color:inherit}
#u-selectable .reader-mark{color:inherit;padding:0;border-radius:2px;cursor:pointer;background:transparent;box-decoration-break:clone;-webkit-box-decoration-break:clone;text-decoration-thickness:2px;text-underline-offset:5px;scroll-margin:140px 0}
#u-selectable .reader-mark-highlight{background:var(--mark-fill)}#u-selectable .reader-mark-line{text-decoration:underline solid var(--mark-color)}#u-selectable .reader-mark-wave{text-decoration:underline wavy var(--mark-color)}
.reader-mark:focus-visible{outline:2px solid #347bce;outline-offset:4px}.reader-located{animation:reader-locate 1.8s ease-out}@keyframes reader-locate{0%,40%{background:#b9dafa}100%{background:transparent}}
#reader-toolbar{position:fixed;z-index:90;box-sizing:border-box;max-width:calc(100vw - 24px);padding:6px 8px 3px;background:#303840f7;color:#fff;border:1px solid #ffffff1a;border-radius:16px;box-shadow:0 10px 35px #12243630;backdrop-filter:blur(16px);animation:reader-appear .18s ease-out;user-select:none}
#reader-toolbar[hidden]{display:none!important}.reader-actions{display:flex;align-items:stretch}.reader-actions>button{flex:1;min-width:0;min-height:62px;padding:8px 2px;border:0;border-radius:9px;background:transparent;color:#e5ebef;display:flex;flex-direction:column;align-items:center;gap:5px;font-family:inherit;font-size:12px;line-height:1.3;white-space:nowrap;cursor:pointer}.reader-actions svg{width:24px;height:24px}.reader-actions>button:hover,.reader-actions>button[aria-pressed=true]{background:#ffffff16;color:#fff}.reader-actions>button:active{transform:scale(.96)}
.reader-palette{display:flex;justify-content:center;align-items:center;gap:8px;border-top:1px solid #ffffff1c;padding:3px 0 0}.reader-palette button{display:grid;place-items:center;min-width:44px;height:44px;border:0;background:transparent;color:white;cursor:pointer;padding:0}#reader-toolbar .reader-palette i{box-sizing:border-box;position:relative;flex:none;width:24px;height:24px;margin:0;padding:0;border:0;border-radius:50%;background:var(--mark-color);display:grid;place-items:center;line-height:0}#reader-toolbar .reader-palette i svg{display:block;width:16px;height:16px;margin:0;fill:none;stroke:#fff;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}.reader-palette button[aria-pressed=true] i{outline:1px solid #fff;outline-offset:3px}.reader-palette .reader-dismiss{margin-left:auto;width:32px}.reader-dismiss svg{width:19px;height:19px}#reader-toolbar button:focus-visible{outline:2px solid #9bcdff;outline-offset:-2px}
.reader-backdrop{position:fixed;inset:0;background:#152c451f;border:0;z-index:49;cursor:default;animation:reader-appear .2s ease-out}.reader-panel-open .mini-bottom{z-index:30!important}
.path-workspace :is(.u-tree,.u-notes).u-panel-open{display:flex!important;flex-direction:column!important;width:min(440px,calc(100vw - 48px))!important;top:96px!important;bottom:24px!important;max-height:calc(100dvh - 120px)!important;padding:0!important;overflow:hidden!important;border:1px solid #e1e8ee!important;background:var(--reader-paper)!important;border-radius:24px!important;box-shadow:var(--reader-shadow)!important;animation:reader-panel-in .22s ease-out;z-index:60!important;color:var(--reader-ink)}
.reader-panel-grip{display:none}.path-workspace .u-tree-top{padding:22px 24px 12px!important;flex:none;gap:12px}.path-workspace .u-tree-top>b{font-size:19px;color:var(--reader-ink)}.path-workspace .u-tree-top>span{font-size:12px;white-space:nowrap}.path-workspace .u-panel-close{float:none!important;flex:none;width:44px!important;height:44px!important;min-width:44px!important;padding:10px!important;border:0!important;border-radius:50%!important;color:#60788c!important;background:#f2f6f8!important;font-size:23px!important;display:grid!important;place-items:center!important;margin:0!important}.u-panel-close svg{width:20px;height:20px}
.path-workspace .u-search{flex:none;padding:4px 24px 18px!important}.path-workspace .u-search input{min-height:44px!important;font-size:14px!important;border-radius:12px!important;background:#f4f7fa!important;border:1px solid #e5ebef!important}
.path-workspace .u-tree-list{flex:1;min-height:0;overflow:auto!important;overscroll-behavior:contain;padding:0 18px 24px!important;scrollbar-width:none!important}.path-workspace .u-tree-list::-webkit-scrollbar,.reader-note-scroll::-webkit-scrollbar{display:none}.path-workspace .u-tree-list details{border:0!important}.path-workspace .u-tree-list summary{min-height:58px;padding:12px 6px!important;border-top:1px solid #edf1f4;gap:10px}.path-workspace .u-tree-list summary b{font-size:16px}.path-workspace .u-tree-section h4{font-size:13px;padding:12px 12px 4px;color:#7b8c9a}.path-workspace .u-tree-section button[data-action^="u-open:"]{border-radius:10px!important;min-height:52px!important;gap:10px!important;padding:12px!important}.path-workspace .u-tree-section button[data-action^="u-open:"] span{font-size:15px!important;line-height:1.6}.path-workspace .u-tree-section button[data-action^="u-open:"][aria-current=true]{background:#edf5fc!important;color:#246bb5!important}.path-workspace .u-tree-section button[data-action^="u-open:"] small{font-size:11px!important;flex-shrink:0}
.reader-panel-head{flex:none;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:24px 24px 18px;border-bottom:1px solid var(--reader-line)}.reader-panel-head h2{font-size:19px!important;color:var(--reader-ink);margin:0 0 6px!important}.reader-panel-head span{display:block;font-size:12px;color:var(--reader-muted);line-height:1.5}.reader-note-scroll{flex:1;min-height:0;overflow:auto;padding:20px 24px 28px;overscroll-behavior:contain;scrollbar-width:none}.reader-note-summary{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.reader-note-summary b{font-size:25px;font-variant-numeric:tabular-nums}.reader-note-summary small{font-size:12px;font-weight:400;color:var(--reader-muted)}.reader-note-summary button{display:flex;align-items:center;gap:8px;color:#2d75be;background:#edf5fc;border:0;border-radius:10px;min-height:44px;padding:10px 14px;font-family:inherit;font-size:14px;cursor:pointer}.reader-note-summary svg{width:18px;height:18px}.reader-note-tabs{display:flex;border-bottom:1px solid var(--reader-line);gap:24px;margin-bottom:16px}.reader-note-tabs button{min-height:44px;border:0;border-bottom:2px solid transparent;color:#7b8b99;background:none;padding:8px 4px;font-family:inherit;font-size:14px;cursor:pointer}.reader-note-tabs button[aria-pressed=true]{color:#246bb5;border-bottom-color:#347bce}.reader-note-search input{display:block;width:100%;min-height:44px;padding:10px 13px;background:#f4f7fa;border:1px solid #e5ebef;border-radius:10px;font-size:14px}
.reader-record{padding:21px 0;border-bottom:1px solid var(--reader-line);font-size:15px;line-height:1.8}.reader-record-meta{display:flex;justify-content:space-between;gap:12px;font-size:11px;color:var(--reader-muted);margin-bottom:12px}.reader-quote-link{display:block;width:100%;text-align:left;color:var(--reader-ink);padding:0;border:0;background:none;cursor:pointer}.reader-quote-link blockquote{border-left:3px solid var(--mark-color);padding:0 0 0 14px;margin:0;line-height:1.9;font-size:15px;white-space:pre-wrap}.reader-record>p{font-size:15px;color:#455e70;margin:14px 0;white-space:pre-wrap;overflow-wrap:anywhere}.reader-record-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:12px}.reader-record-actions button{display:flex;align-items:center;justify-content:center;gap:5px;min-height:44px;padding:8px;border:0;border-radius:8px;background:none;color:#698296;font-size:12px;cursor:pointer}.reader-record-actions button:hover{background:#f1f6fa;color:#246bb5}.reader-record-actions svg{width:16px;height:16px}.reader-empty{text-align:center;padding:42px 0;color:#8999a5}.reader-empty>svg{width:32px;height:32px}.reader-empty h3{font-size:14px!important;font-weight:400;margin:12px}
.reader-compose-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px}.reader-compose-heading h3{font-size:17px;margin:0}.reader-compose-heading button{min-height:44px;min-width:44px;border:0;background:none;color:#6d8395;font-size:14px;cursor:pointer}#reader-note-form blockquote{max-height:140px;overflow:auto;padding:0 0 0 14px;margin:0 0 18px;border-left:3px solid #bed7ed;color:#708494;font-size:14px;line-height:1.9;white-space:pre-wrap}#reader-note-form textarea{font-family:inherit!important;font-size:16px!important;line-height:1.8!important;border:0!important;background:#f6f8fa!important;border-radius:12px!important;resize:vertical;width:100%;padding:16px;min-height:170px;box-sizing:border-box;color:var(--reader-ink)}.reader-compose-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:18px}.reader-compose-footer span{font-size:12px;color:#8b9aa7}.reader-compose-footer button{min-height:44px;border:0;border-radius:10px;padding:12px 22px;font-family:inherit;font-size:14px;cursor:pointer}
.reader-undo{position:fixed;z-index:100;bottom:100px;left:50%;transform:translateX(-50%);white-space:nowrap;background:#303840;color:#fff;border-radius:12px;padding:4px 12px 4px 18px;box-shadow:var(--reader-shadow);font-size:14px;display:flex;gap:12px;align-items:center}.reader-undo button{min-height:44px;border:0;background:none;color:#a3d5ff;font-size:14px;cursor:pointer}
.reader-note-scroll :is(button,input,textarea):focus-visible,.u-tree-list :is(button,summary):focus-visible{outline:2px solid #397fcb;outline-offset:3px}
@keyframes reader-appear{from{opacity:0}to{opacity:1}}@keyframes reader-panel-in{from{opacity:0;translate:14px 0}to{opacity:1;translate:0 0}}
body[data-surface=mini].path-focused .path-workspace :is(.u-tree,.u-notes).u-panel-open{top:auto!important;bottom:0!important;left:0!important;right:0!important;transform:none!important;width:100%!important;height:min(76dvh,760px)!important;max-height:calc(100dvh - 68px)!important;border-radius:24px 24px 0 0!important;border-bottom:0!important;padding-bottom:env(safe-area-inset-bottom,0px)!important;animation:reader-sheet-in .22s ease-out}
body[data-surface=mini] .reader-panel-grip{display:block;flex:none;width:34px;height:4px;border-radius:4px;background:#ccd5dc;margin:10px auto 0}body[data-surface=mini] .reader-panel-head{padding:16px 20px}body[data-surface=mini] .reader-note-scroll{padding:18px 20px 28px}body[data-surface=mini] .path-workspace .u-tree-top{padding:12px 20px!important}body[data-surface=mini] .path-workspace .u-search{padding:4px 20px 12px!important}body[data-surface=mini] .path-workspace .u-tree-list{padding:0 12px 28px!important}body[data-surface=mini] .reader-actions>button{font-size:11px;min-height:58px}body[data-surface=mini] .reader-palette{gap:4px}body[data-surface=mini] .reader-palette button{min-width:44px;min-height:44px}body[data-surface=mini] .reader-panel-open{overscroll-behavior:contain}
@keyframes reader-sheet-in{from{opacity:0;translate:0 20px}to{opacity:1;translate:0 0}}@media(prefers-reduced-motion:reduce){#reader-toolbar,.reader-backdrop,.path-workspace .u-panel-open,.reader-located{animation:none!important;transition:none!important}}

html:has(body.reader-panel-open),body.reader-panel-open{overflow:hidden!important;overscroll-behavior:none}.reader-panel-open .reader-backdrop{touch-action:none}
/* Notes are records first, with a separate, consistent editor. */
.reader-panel-head>div{flex:1;min-width:0}.reader-panel-head .reader-total{flex:none;font-size:13px;white-space:nowrap;font-variant-numeric:tabular-nums;color:var(--reader-muted)}
.reader-record{padding:16px;margin:14px 0;border:1px solid #e5ebef;border-radius:14px;background:#fff;overflow:hidden}.reader-record-meta{align-items:flex-start;font-size:12px;line-height:1.5}.reader-record-meta>span{flex:1;min-width:0}.reader-record-meta time{font-size:11px;flex:none;max-width:112px;text-align:right}
.reader-record-link{display:block;width:100%;min-height:44px;border:0;padding:4px 0;text-align:left;background:none;color:var(--reader-ink);font:inherit;cursor:pointer}.reader-record-link p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:16px;line-height:1.8}.reader-record-link blockquote{margin:4px 0 0;border-left:2px solid var(--mark-color);padding-left:12px;color:#6a7a87;font-size:14px;line-height:1.9;white-space:pre-wrap}.reader-record-link .reader-note-thought{margin-bottom:12px}.reader-record-actions{border-top:1px solid #edf1f4;padding-top:6px;margin-top:12px;gap:16px}.reader-record-actions button{min-width:64px;font-size:13px}.reader-record-actions svg{width:18px;height:18px}.reader-record-actions button:last-child{color:#9c6670}.reader-record-link:focus-visible{outline:2px solid var(--reader-accent);outline-offset:3px}
#reader-note-form{display:block;width:100%;min-width:0}#reader-note-form textarea{display:block;max-width:100%;margin:0;outline-offset:3px}#reader-note-form textarea:focus{outline:2px solid #397fcb!important;background:#fff!important}.reader-compose-footer .primary{background:#2865dc;color:white;font-weight:600;min-width:120px}
/* Legacy annotate entry uses the same vertical form sizing while retained sessions refresh. */
#u-annotation-form{display:flex;flex-direction:column;gap:16px;width:100%;min-width:0}#u-annotation-form h2{margin:0}#u-annotation-form blockquote{margin:0;padding:12px 16px;border-left:3px solid #c0d5e7;background:#f5f8fb;font-size:15px;line-height:1.8}#u-annotation-form label{display:block;font-size:14px}#u-annotation-form textarea{display:block;box-sizing:border-box;width:100%;max-width:100%;min-height:170px;border:1px solid #dce5ed;border-radius:12px;padding:14px;font:16px/1.8 inherit;resize:vertical}#u-annotation-form .dialog-actions{display:flex;margin:0}#u-annotation-form .dialog-actions button{width:100%;min-height:48px}
.reader-mobile-chrome,.reader-page-position{display:none}.reader-desktop .u-reading-area{margin:0 auto;max-width:900px!important}.reader-desktop .u-knowledge-card{padding:48px 56px!important}.reader-desktop .path-study-heading{max-width:900px;margin:0 auto 20px}.reader-desktop .path-study-tools{display:none!important}.reader-desktop-rail{position:fixed;right:max(24px,calc((100vw - 1170px)/2));top:32%;display:flex;flex-direction:column;gap:14px;z-index:35}.reader-desktop-rail button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;width:58px;min-height:58px;border:1px solid #e0e8ef;border-radius:50%;background:#fff;color:#617585;font-size:11px;box-shadow:0 5px 20px #26405208;cursor:pointer}.reader-desktop-rail svg{width:22px;height:22px}.reader-desktop-rail button:hover{color:#2865dc;background:#edf5ff}.reader-desktop .u-notes.u-panel-open,.reader-desktop .u-tree.u-panel-open{right:0!important;top:0!important;bottom:0!important;max-height:100dvh!important;border-radius:0!important;width:min(460px,40vw)!important}.reader-desktop .reader-backdrop{background:#18324b14}
body.reader-warm{--reader-paper:#fbf6eb}body.reader-warm .u-knowledge-card,body.reader-warm .u-reading-area{background:#fbf6eb!important}body.reader-large-type #u-selectable{font-size:20px!important}body.reader-large-type #u-selectable :is(p,td,th,aside){font-size:20px!important;line-height:1.95!important}
.reader-desktop-rail button:focus-visible,.reader-mobile-chrome button:focus-visible{outline:2px solid #2865dc;outline-offset:3px}
@media(max-width:1150px){.reader-desktop .u-reading-area{max-width:calc(100vw - 180px)!important;margin-left:24px}.reader-desktop .u-knowledge-card{padding:32px!important}.reader-desktop-rail{right:20px}}
body[data-surface=mini].reader-immersive{background:#f7f9fb!important}body[data-surface=mini].reader-immersive #main{padding:16px 20px 44px!important;min-height:100dvh!important}body[data-surface=mini].reader-immersive :is(.mini-top,.mini-bottom,.path-study-heading,.path-steps){display:none!important}body[data-surface=mini].reader-immersive .path-workspace{margin:0!important;padding:0!important}body[data-surface=mini].reader-immersive .path-study-grid{display:block!important;gap:0!important}body[data-surface=mini].reader-immersive .u-reading-area{border:0!important;box-shadow:none!important;border-radius:0!important;background:transparent!important;min-height:calc(100dvh - 65px)!important;overflow:visible!important}body[data-surface=mini].reader-immersive #u-reading{overflow:visible!important;max-height:none!important;height:auto!important}body[data-surface=mini].reader-immersive .u-knowledge-card{padding:18px 0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}body[data-surface=mini].reader-immersive .u-card-meta{display:none!important}body[data-surface=mini].reader-immersive .u-knowledge-card h2{font-size:23px!important;line-height:1.6!important;margin:8px 0 26px!important}body[data-surface=mini].reader-immersive #u-selectable{font-size:18px;line-height:1.95}body[data-surface=mini].reader-immersive #u-selectable :is(td,th,p){font-size:17px!important;line-height:1.9!important;word-break:normal!important}body[data-surface=mini].reader-immersive .u-key-note{font-size:16px!important;line-height:1.9!important;padding:16px!important}body[data-surface=mini].reader-immersive .path-reading-toolbar,body[data-surface=mini].reader-immersive .path-study-footer{position:fixed!important;left:0;right:0;margin:0!important;border:0!important;border-radius:0!important;background:#fffffffa!important;z-index:41;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .2s ease,transform .2s ease}body[data-surface=mini].reader-immersive .path-reading-toolbar{top:68px;padding:4px 12px 8px!important;transform:translateY(-8px)}body[data-surface=mini].reader-immersive .path-study-footer{bottom:78px!important;padding:8px 20px!important;min-height:60px;transform:translateY(8px)}body[data-surface=mini].reader-immersive .path-study-footer button{min-height:44px!important;font-size:14px!important;padding:10px 16px!important}body[data-surface=mini].reader-immersive .reader-mobile-chrome{display:block}body[data-surface=mini].reader-immersive .reader-mobile-top,body[data-surface=mini].reader-immersive .reader-mobile-dock{position:fixed;left:0;right:0;z-index:42;background:#fffffffa;display:flex;align-items:center;gap:8px;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .2s ease,transform .2s ease}body[data-surface=mini].reader-immersive .reader-mobile-top{top:0;height:68px;padding:8px 14px;box-sizing:border-box;transform:translateY(-8px);border-bottom:1px solid #edf0f4}body[data-surface=mini].reader-immersive .reader-mobile-top strong{flex:1;font-size:16px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}body[data-surface=mini].reader-immersive .reader-mobile-top button{border:0;background:none;color:#486579;min-width:44px;min-height:44px;padding:8px;display:flex;align-items:center;gap:3px}body[data-surface=mini].reader-immersive .reader-mobile-top svg{width:23px;height:23px}body[data-surface=mini].reader-immersive .reader-mobile-top small{font-size:11px}body[data-surface=mini].reader-immersive .reader-mobile-dock{bottom:0;height:78px;box-sizing:border-box;padding:7px 8px 14px;justify-content:space-around;transform:translateY(8px);border-top:1px solid #e9eef2}body[data-surface=mini].reader-immersive .reader-mobile-dock button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:48px;min-width:44px;border:0;background:none;color:#687d8c;font-family:inherit;font-size:10px;padding:2px;cursor:pointer}body[data-surface=mini].reader-immersive .reader-mobile-dock svg{width:23px;height:23px}body[data-surface=mini].reader-immersive .reader-mobile-dock b{font-size:20px;line-height:23px;font-weight:500}body[data-surface=mini].reader-immersive.reader-tools-visible :is(.reader-mobile-top,.reader-mobile-dock,.path-reading-toolbar,.path-study-footer){opacity:1;visibility:visible;pointer-events:auto;transform:none}body[data-surface=mini].reader-immersive .reader-page-position{display:block;text-align:right;color:#83909b;font-size:11px;padding-top:24px;font-variant-numeric:tabular-nums}body[data-surface=mini].reader-immersive.reader-warm{background:#fbf6eb!important}body[data-surface=mini].reader-immersive.reader-large-type #u-selectable :is(td,th,p){font-size:20px!important}
@media(prefers-reduced-motion:reduce){.reader-mobile-chrome *,.reader-immersive .path-reading-toolbar,.reader-immersive .path-study-footer{transition:none!important}}
/* Mobile converts dense comparison tables into flowing reading sections. */
body[data-surface=mini].reader-immersive #u-reading{padding:0!important}body[data-surface=mini].reader-immersive .u-table-scroll{overflow:visible!important;border:0!important;background:none!important;border-radius:0!important}body[data-surface=mini].reader-immersive .u-knowledge-table{display:block!important;min-width:0!important;width:100%!important;background:none!important;border:0!important}body[data-surface=mini].reader-immersive .u-knowledge-table thead{display:none}body[data-surface=mini].reader-immersive .u-knowledge-table tbody{display:block}body[data-surface=mini].reader-immersive .u-knowledge-table tr{display:block;border-bottom:1px solid #e1e7ec;padding:20px 0}body[data-surface=mini].reader-immersive .u-knowledge-table tr:first-child{padding-top:0}body[data-surface=mini].reader-immersive .u-knowledge-table td{display:block!important;width:auto!important;border:0!important;padding:4px 0!important;background:transparent!important;min-width:0!important}body[data-surface=mini].reader-immersive .u-knowledge-table td:first-child{font-weight:650;color:#294c67;margin-bottom:6px;font-size:19px!important}body[data-surface=mini].reader-immersive .u-knowledge-table td:not(:first-child){color:#415969}body[data-surface=mini].reader-immersive .u-key-note{margin-top:24px!important}
/* Keep the editor action visible, including in short mobile viewports. */
.reader-note-scroll:has(#reader-note-form){display:flex;flex-direction:column;padding-top:16px;padding-bottom:16px}#reader-note-form{display:flex;flex-direction:column;gap:12px;flex:1;min-height:0}#reader-note-form .reader-compose-heading{flex:none;margin:0}#reader-note-form blockquote{flex:none;max-height:100px;margin:0}#reader-note-form textarea{flex:1;min-height:100px;resize:none}#reader-note-form .reader-compose-footer{flex:none;margin:0;min-height:48px;background:var(--reader-paper)}
.reader-mobile-chrome button[aria-pressed=true],.reader-desktop-rail button[aria-pressed=true]{color:#2865dc!important;background:#edf5ff!important;border-radius:12px}
.reader-recovery{display:flex;justify-content:flex-end;padding-top:8px}.reader-recovery button{min-height:44px;padding:8px 10px;border:0;background:none;color:#3977b8;font:13px inherit;cursor:pointer}.u-notes>.reader-undo{position:absolute;bottom:16px;max-width:calc(100% - 32px);box-sizing:border-box;font-size:13px}
/* PDF controls stay on one quiet, compact row on both surfaces. */
.doc-reader .pdf-toolbar.pdf-toolbar-compact{display:flex!important;flex-wrap:nowrap!important;align-items:center;justify-content:center;gap:4px!important;padding:4px 6px!important;min-height:52px;box-sizing:border-box;background:#f9fbfd!important;border:0!important;border-bottom:1px solid #edf1f5!important;box-shadow:none;border-radius:0}
.pdf-toolbar-compact>.btn{display:grid!important;place-items:center;flex:0 0 44px!important;min-width:44px!important;width:44px!important;height:44px!important;min-height:44px!important;padding:10px!important;border:0!important;border-radius:8px!important;background:transparent!important;box-shadow:none!important;color:#476882!important;font-size:18px!important}.pdf-toolbar-compact>.btn svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.pdf-toolbar-compact>.btn:hover:not(:disabled){background:#eaf1fa!important;color:#2865dc!important}.pdf-toolbar-compact>.btn:disabled{opacity:.35}
.pdf-toolbar-compact .page-jump{display:flex!important;align-items:center;flex:0 0 auto;gap:5px!important;min-width:0;white-space:nowrap!important;font-size:12px!important;line-height:1!important;color:#738595}.pdf-toolbar-compact .page-jump input{box-sizing:border-box;width:38px!important;min-width:0!important;max-width:38px!important;height:44px!important;min-height:44px!important;padding:0!important;border:0!important;border-radius:6px!important;background:transparent!important;color:#345570;font-size:13px!important;box-shadow:none!important;text-align:center}.pdf-toolbar-compact .page-jump [data-pdf-total]{min-width:12px;font-variant-numeric:tabular-nums}
.pdf-toolbar-compact .pdf-zoom{display:flex!important;flex:0 1 112px!important;min-width:90px!important;width:112px;margin:0 0 0 auto!important;gap:0!important;white-space:nowrap;font-size:12px!important;border-left:1px solid #e4ebf1;padding-left:6px;box-sizing:border-box}.pdf-toolbar-compact .pdf-zoom .refined-select{width:100%!important;min-width:0!important;max-width:100%!important}.pdf-toolbar-compact .pdf-zoom :is(select,.refined-select-trigger){box-sizing:border-box;min-width:0!important;min-height:44px!important;height:44px!important;width:100%!important;padding:6px 8px!important;font-size:12px!important;line-height:1.3!important;border:0!important;border-radius:6px!important;background:transparent!important;box-shadow:none!important;color:#526d84!important}.pdf-toolbar-compact .pdf-zoom .select-value{white-space:nowrap!important}.pdf-toolbar-compact .refined-select-trigger>svg{width:16px!important;height:16px!important;flex:none}.pdf-toolbar-compact :is(button,input,select):focus-visible{outline:2px solid #3d7ddd!important;outline-offset:-2px}
body[data-surface=mini] .u-handout .pdf-toolbar.pdf-toolbar-compact{margin:0!important;gap:2px!important;padding:2px 4px!important;min-height:48px}
