/* Shared page navigation for school, OGE and EGE theory. */
.theoryPageFrame{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;gap:6px;align-items:stretch;min-width:0}
.theoryPageFrame>.pdfDocument,.theoryPageFrame>.egeTheoryView__sheet{min-width:0}
.theoryPageRail{min-width:0;padding:12px 0}
.theoryPageArrow{position:sticky;top:calc(50vh - 22px);top:calc(50svh - 22px);display:grid;place-items:center;width:44px;height:48px;padding:0;border:1px solid #cdb2df;border-radius:14px;background:#fff;color:#7136a1;font:400 32px/1 Arial,sans-serif;box-shadow:0 3px 12px rgba(84,35,109,.1);cursor:pointer;touch-action:manipulation}
.theoryPageArrow svg{width:23px;height:23px;pointer-events:none}
.theoryPageBottom{display:flex;justify-content:center;align-items:center;gap:12px;flex-wrap:wrap;padding:14px 8px;margin-top:4px}
.theoryPageBottom button{min-width:48px;min-height:44px;padding:8px 16px;border:1px solid #cdb2df;border-radius:10px;background:#fff;color:#7136a1;font:700 21px/1.2 Arial,sans-serif;cursor:pointer;touch-action:manipulation}
.theoryPageBottom output{min-width:100px;text-align:center;color:#594463;font:600 14px/1.4 Arial,sans-serif}
.theoryPageArrow:disabled,.theoryPageBottom button:disabled{opacity:.35;cursor:default;box-shadow:none}
.theoryPageArrow:not(:disabled):hover,.theoryPageBottom button:not(:disabled):hover{background:#f5eafe;border-color:#7136a1}
.theoryPageArrow:focus-visible,.theoryPageBottom button:focus-visible{outline:3px solid #7136a1;outline-offset:2px}
.pdfViewerStage.theoryNavigableStage{overflow:clip}
.pdfViewerStage.theoryNavigableStage:fullscreen{overflow:auto;background:#f5effa}
@media(max-width:620px){.theoryPageFrame{grid-template-columns:36px minmax(0,1fr) 36px;gap:2px}.theoryPageArrow{width:36px;border-radius:10px}.theoryPageFrame>.pdfDocument{padding-left:0;padding-right:0}.theoryPageBottom{gap:8px}}
@media print{.theoryPageRail,.theoryPageBottom{display:none!important}.theoryPageFrame{display:block}}
