/* v2.3 reader: only material detail pages, no global theme overrides */
.ar-entry{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;padding:1rem;margin:1rem 0;border:1px solid #d9e5df;border-radius:16px;background:#edf5ee}.ar-entry h2{font-size:1.15rem;margin:0;color:#174b45}.ar-entry p{margin:.35rem 0 0;font-size:.9rem;color:#45635b;max-width:65ch}.ar-entry [hidden]{display:none!important}.ar-dialog{position:fixed;inset:0;margin:auto;padding:0;border:0;width:min(1440px,100%);max-width:none;height:100%;max-height:none;background:#f6f8f6;color:#193d34;overflow:hidden;box-shadow:0 0 70px #112e3440}.ar-dialog:not([open]){display:none}.ar-dialog::backdrop{background:#132922c9}.ar-shell{height:100%;display:flex;flex-direction:column;min-height:0}.ar-head{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#174b45;color:#fff;padding:10px 18px}.ar-head h2{font-size:clamp(.95rem,2vw,1.25rem);margin:3px 0;line-height:1.3;overflow-wrap:anywhere}.ar-kicker{font-size:.65rem;letter-spacing:.1em;color:#d9e9df}.ar-dialog .btn{font-size:.84rem;padding:.45rem .65rem;min-height:40px;white-space:normal;text-align:center;line-height:1.2}.ar-dialog button:disabled{opacity:.45;cursor:not-allowed}.ar-tools{display:flex;flex-wrap:wrap;gap:8px;padding:8px 12px;background:#fff;border-bottom:1px solid #d9e5df}.ar-group{display:flex;flex-wrap:wrap;align-items:center;gap:5px}.ar-group label{display:flex;align-items:center;gap:4px;font-size:.8rem}.ar-number{width:3.7rem;padding:.35rem;border:1px solid #a6bdb3;border-radius:6px;color:#193d34;background:#fff;font-size:1rem}.ar-zoom{min-width:3.1rem;text-align:center;font-size:.85rem}.ar-pages{display:flex;gap:6px;overflow-x:auto;flex-shrink:0;padding:6px 12px;background:#eef4ee;border-bottom:1px solid #d9e5df}.ar-page[aria-current=true]{background:#174b45!important;color:#fff!important;border-color:#174b45!important}.ar-stage{flex:1;min-height:0;overflow:auto;background:#e0e8e3;overscroll-behavior:contain;padding:12px;touch-action:pan-x pan-y}.ar-paper{width:max-content;min-width:100%;display:flex;justify-content:center;align-items:flex-start}.ar-dialog .ar-image{display:block;max-width:none;max-height:none;height:auto;width:var(--ar-width,300px);background:white;box-shadow:0 4px 24px #18382b24}.ar-dialog.ar-dark .ar-stage{background:#202b2a}.ar-foot{display:flex;gap:8px;justify-content:space-between;flex-wrap:wrap;padding:7px 12px;font-size:.75rem;background:#fff;border-top:1px solid #d9e5df}.ar-foot span:last-child{color:#52685d}.ar-dialog :focus-visible{outline:3px solid #bf8838;outline-offset:2px}body.ar-open{overflow:hidden}@media(max-width:600px){.ar-head{padding:8px 10px}.ar-tools{max-height:32vh;overflow:auto;padding:6px;gap:6px}.ar-dialog .btn{font-size:.78rem;min-height:42px}.ar-stage{padding:6px}.ar-foot span:last-child{display:none}.ar-entry .ar-launch{width:100%}}@media print{body.ar-open>*{visibility:hidden!important}body.ar-open .ar-dialog[open],body.ar-open .ar-dialog[open] .ar-stage,body.ar-open .ar-dialog[open] .ar-paper,body.ar-open .ar-dialog[open] .ar-image{visibility:visible!important}body.ar-open .ar-dialog[open]{position:absolute;inset:0;margin:0;width:100%;height:auto;overflow:visible;background:#fff;box-shadow:none}body.ar-open .ar-dialog .ar-head,body.ar-open .ar-dialog .ar-tools,body.ar-open .ar-dialog .ar-pages,body.ar-open .ar-dialog .ar-foot{display:none!important}body.ar-open .ar-shell,body.ar-open .ar-stage,body.ar-open .ar-paper{display:block!important;height:auto!important;width:100%!important;min-width:0!important;overflow:visible!important;padding:0!important;background:#fff!important}body.ar-open .ar-dialog .ar-image{width:auto!important;height:auto!important;max-width:100%!important;max-height:95vh!important;margin:auto;box-shadow:none;break-inside:avoid}}
.ar-dialog [hidden]{display:none!important}
@media print{body.ar-open>*:not(.ar-dialog){display:none!important}body.ar-open{overflow:visible!important;height:auto!important}body.ar-open .ar-dialog[open]{position:static!important;max-height:none!important;max-width:none!important}body.ar-open .ar-dialog::backdrop{display:none!important}}
