.reader-shell { width: min(1580px, calc(100% - 32px)); margin: auto; padding: 25px 0 35px; }
.reader-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 20px; }
.reader-heading h1 { font-size: clamp(1.7rem, 3vw, 2.5rem); margin: 3px 0 8px; }
.reader-heading p { margin: 0; color: var(--muted); }
.reader-back { color: var(--teal); font-size: .9rem; font-weight: 700; }
.reader-workspace { display: grid; grid-template-columns: 335px minmax(0, 1fr); align-items: start; gap: 16px; }
.reader-sidebar { padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.reader-sidebar .field + .field { margin-top: 13px; }
.reader-sidebar .field label { font-size: .9rem; }
.reader-shortcuts { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.reader-shortcuts button { font-size: .85rem; color: var(--teal); background: var(--soft); border-color: #bbdcd8; }
.reader-search-status { font-size: .9rem; color: var(--muted); margin: 16px 0 10px; }
.reader-results { list-style: none; padding: 0; margin: 0; max-height: 52vh; overflow: auto; }
.reader-results li + li { border-top: 1px solid var(--line); }
.reader-results a { display: block; padding: 11px 5px; text-decoration: none; font-size: .92rem; }
.reader-results a:hover, .reader-results a:focus-visible { color: var(--teal); background: var(--soft); }
.reader-results b { display: block; margin-bottom: 3px; }
.reader-results small { display: block; color: var(--muted); font-size: .82rem; }
.reader-results p { margin: 5px 0 0; font-size: .88rem; line-height: 1.55; color: #40566c; }
.reader-controls { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 12px; padding: 14px; background: white; border: 1px solid var(--line); border-radius: 12px; }
.reader-controls label { font-size: .9rem; font-weight: 700; }
.reader-page-input { display: flex; align-items: center; gap: 7px; margin-top: 5px; }
.reader-page-input input { width: 80px; padding: 7px; border: 1px solid #b8c7d5; border-radius: 7px; }
.reader-page-input span { font-size: .9rem; color: var(--muted); }
.reader-shell button { padding: 7px 10px; border: 1px solid #b8c7d5; border-radius: 7px; cursor: pointer; font: inherit; }
.reader-shell button:disabled { cursor: default; opacity: .5; }
.reader-paging { display: flex; gap: 7px; }
.reader-links { display: grid; gap: 3px; }
.reader-links a { color: var(--teal); font-size: .88rem; }
.reader-location { min-height: 24px; font-size: .88rem; margin: 10px 0; color: var(--muted); }
.reader-frame-wrap { height: 76vh; min-height: 420px; background: #344151; border-radius: 10px; overflow: auto; }
.reader-frame-wrap iframe { display: block; width: 100%; height: 100%; border: 0; }
.reader-frame-wrap canvas { display: block; margin: 16px auto; background: white; }
.reader-zoom { display: grid; gap: 5px; }
.reader-zoom select { min-height: 38px; border: 1px solid #b8c7d5; border-radius: 7px; padding: 5px; }
.reader-loading { padding: 30px; color: white; }
.reader-note { margin: 12px 0 0; font-size: .82rem; line-height: 1.55; color: var(--muted); }
.reader-scope { margin-top: 20px; padding: 16px; border-left: 4px solid var(--teal); background: var(--soft); font-size: .9rem; }
.reader-more { margin-top: 10px; width: 100%; color: var(--teal); background: white; }
.reader-shell [hidden] { display: none; }
@media (max-width: 950px) { .reader-workspace { grid-template-columns: 280px minmax(0, 1fr); } .reader-controls { align-items: start; } }
@media (max-width: 720px) { .reader-shell { width: calc(100% - 22px); } .reader-heading { align-items: start; flex-direction: column; gap: 10px; } .reader-workspace { grid-template-columns: 1fr; } .reader-results { max-height: 260px; } .reader-frame-wrap { height: 68vh; min-height: 360px; } }
.reader-section-title { font-size: 1.1rem; margin: 0 0 12px; color: #10283c; }
.section-card { background: white; border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; margin-bottom: 14px; }
.section-card summary { cursor: pointer; color: var(--teal); font-weight: 700; }
.section-card ul { max-height: 250px; overflow: auto; padding-left: 20px; font-size: .9rem; }
.section-card li { margin: 8px 0; }
