/* Windows-style page controls, without crowding the book workspace. */
.explorer-bar{display:flex;align-items:center;gap:7px;padding:7px 12px;flex-wrap:wrap;background:#fff;border-bottom:1px solid #d3dae5}
.explorer-bar button,.explorer-bar select{font-size:14px;min-height:35px;padding:6px 10px;border-radius:7px}
.explorer-bar select{width:auto;max-width:210px;padding-right:24px}
.explorer-bar button[aria-pressed=true]{background:#e9efff;color:#2849ca;border-color:#a7b7fa}
.selection-count{font-size:14px;color:#374d68;margin-left:auto}
.sidefoot #sortOrder{grid-column:1/-1;min-height:38px;width:100%;font-size:14px;border-radius:7px}
.explorer-list-wrap,.explorer-tile-wrap{position:relative;min-width:0}
.explorer-tile-wrap .preview-tile{width:100%;height:100%}
.explorer-list-wrap .thumb{padding-right:32px}
.page-more{position:absolute;top:8px;right:5px;z-index:2;background:#fff;border:1px solid #dce3ed;border-radius:7px;min-width:27px;height:30px;padding:0 6px;font-size:19px;font-weight:700;line-height:1}
.explorer-tile-wrap .page-more{right:10px;top:10px}
.page-checkbox{position:absolute;top:9px;left:6px;z-index:3;width:19px;height:19px;accent-color:#405ee3;display:none;margin:0;cursor:pointer}
.explorer-tile-wrap .page-checkbox{left:12px;top:12px}
.multi-select-mode .page-checkbox{display:block}
.multi-select-mode .explorer-list-wrap .thumb{padding-left:29px}
.is-selected .thumb,.is-selected .preview-tile{background:#e4edff;border-color:#4969e6;box-shadow:inset 0 0 0 1px #4969e6}
.page-more:hover{background:#eef2ff}
.page-context{position:fixed;z-index:10001;display:flex;flex-direction:column;gap:1px;width:min(280px,calc(100vw - 16px));max-height:min(75vh,590px);overflow:auto;background:white;border:1px solid #cad3e0;border-radius:11px;padding:7px;box-shadow:0 12px 38px #1f2e4b38}
.page-context button{min-height:34px;padding:8px 10px;text-align:left;font-size:14px;font-weight:550;border:0;border-radius:6px;white-space:normal;background:white;color:#22364e}
.page-context button:hover,.page-context button:focus-visible{background:#eef2ff;color:#254bc5}
.page-context button:disabled{opacity:.4}
.page-context button.danger{color:#a52e37}
.menu-section{font-size:12px;font-weight:750;color:#50647b;padding:8px 9px 4px;margin-top:4px;border-top:1px solid #e4e8ef}
.menu-section:first-child{border:0;margin-top:0}
.page-copy-controls{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding-bottom:12px}
.page-copy-controls button{font-size:14px;min-height:36px;padding:7px 10px}
.page-copy-controls button:first-child{grid-column:1/-1}
.subset-export .btnfull{font-size:14px}
@media(pointer:coarse){.page-more{min-width:36px;height:36px}.page-checkbox{width:22px;height:22px}.explorer-list-wrap .thumb{padding-right:40px}.multi-select-mode .explorer-list-wrap .thumb{padding-left:34px}}
@media(max-width:800px){.explorer-bar{padding:8px}.selection-count{margin-left:0}.explorer-bar button,.explorer-bar select{min-height:39px}.page-context{max-height:65vh}.page-context button{min-height:42px}.explorer-tile-wrap .page-more{right:8px;top:8px}}
