/* Deliberately unlayered and scoped: the reader must not be overridden by older generic table rules. */
.hy-library-page{--hy-ink:#163c33;--hy-muted:#4e665d;--hy-border:#d6e4dd;--hy-bg:#fff;--hy-accent:#17634d;--hy-tint:#eaf4ee;--hy-shadow:0 8px 24px #174a3310}
.hy-library-page .exam-directory{width:min(1160px,calc(100% - 40px));min-width:0;padding-bottom:24px}
.hy-library-page .breadcrumbs{font-size:12px;line-height:1.6;gap:6px;flex-wrap:wrap;overflow-wrap:anywhere}
.hy-library-page .page-intro{padding:clamp(22px,4vw,42px) 0 24px}
.hy-library-page .page-intro .eyebrow{font:700 11px/1.5 var(--sans);letter-spacing:.10em;color:var(--hy-accent);margin:0 0 10px}
.hy-library-page .page-intro h1{font:750 clamp(28px,4.2vw,48px)/1.13 var(--sans);letter-spacing:-.04em;max-width:100%;overflow-wrap:break-word;color:var(--hy-ink)}
.hy-library-page .page-intro .lede{font:400 16px/1.65 var(--sans);margin:12px 0 0;color:var(--hy-muted)}
.hy-library-page main{padding-bottom:42px!important}
.hy-library-page .directory-grid{gap:16px}
.hy-library-page .directory-card{padding:20px;min-height:185px;border-radius:20px;background:linear-gradient(150deg,#fff,#f5faf6);box-shadow:var(--hy-shadow);border-color:var(--hy-border);gap:9px}
.hy-library-page .directory-card h3{font:730 21px/1.25 var(--sans);letter-spacing:-.025em}
.hy-library-page .directory-card p{font:400 15px/1.55 var(--sans);margin-bottom:6px}
.hy-library-page .directory-card .text-link{display:inline-flex;align-items:center;justify-content:center;align-self:flex-start;gap:10px;padding:9px 14px;min-height:44px;background:#e4f1e8;border:1px solid #c4e1cf;border-radius:10px;font:700 13px/1.2 var(--sans);color:#16543d}
.hy-library-page .directory-card .science-icon{height:50px;width:50px;border-radius:15px}
.hy-library-page .hy-btn{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:46px;max-width:100%;padding:11px 16px;border:1px solid #c4d9ce;border-radius:12px;background:linear-gradient(180deg,#fff,#f3f8f4);color:#19503d;text-decoration:none;font:700 14px/1.3 var(--sans);text-align:center;box-shadow:0 2px 4px #183c3208;transition:transform .18s,background .18s,box-shadow .18s,border-color .18s;overflow-wrap:anywhere}
.hy-library-page .hy-btn-primary{background:linear-gradient(145deg,#236e54,#16513f);color:white;border-color:#195b46;box-shadow:0 5px 12px #14523825}
.hy-library-page .hy-btn .icon,.hy-library-page .hy-panel-icon .icon,.hy-library-page .hy-topic-icon .icon{width:20px;height:20px;flex:none}
.hy-library-page .hy-arrow-back{transform:rotate(180deg)}
.hy-library-page .hy-btn:focus-visible,.hy-library-page button:focus-visible,.hy-library-page summary:focus-visible,.hy-library-page .hy-table-wrap:focus-visible,.hy-library-page .hy-figure-media:focus-visible{outline:3px solid #177c5a;outline-offset:3px}
.hy-library-page .hy-btn:active{transform:scale(.98)}
.hy-library-page .hy-nav{display:grid;gap:12px;padding:16px;background:#fff;border:1px solid var(--hy-border);border-radius:17px;margin:18px 0 24px;box-shadow:var(--hy-shadow)}
.hy-library-page .hy-nav-bottom{margin:28px 0 4px}
.hy-library-page .hy-nav-buttons,.hy-library-page .hy-resource-buttons{display:flex;align-items:center;flex-wrap:wrap;gap:10px}
.hy-library-page .hy-nav-buttons>.hy-btn-primary{margin-left:auto}
.hy-library-page .hy-progress{display:flex;align-items:center;gap:14px;font:700 13px/1.5 var(--sans);color:var(--hy-muted)}
.hy-library-page .hy-progress span{white-space:nowrap}
.hy-library-page progress{height:7px;width:100%;border:none;border-radius:10px;overflow:hidden;accent-color:#2e8c65;background:#e4eee8}
.hy-library-page progress::-webkit-progress-bar{background:#e4eee8;border-radius:10px}
.hy-library-page progress::-webkit-progress-value{background:linear-gradient(90deg,#4cae80,#1b694e);border-radius:10px}
.hy-library-page progress::-moz-progress-bar{background:#2e8c65;border-radius:10px}
.hy-library-page .hy-detail-meta{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 16px}
.hy-library-page .hy-detail-meta span{display:inline-flex;align-items:center;gap:7px;border:1px solid #d0e2d7;background:#eef6f0;color:#245941;border-radius:9px;padding:8px 11px;font:650 12px/1.4 var(--sans)}
.hy-library-page .hy-detail-meta .icon,.hy-library-page .hy-kicker .icon{width:17px;height:17px;flex:none}
.hy-library-page .hy-kicker{display:inline-flex;align-items:center;gap:6px;font:750 11px/1.4 var(--sans);letter-spacing:.07em;text-transform:uppercase;color:#327057}
.hy-library-page .hy-science-figure{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);align-items:center;gap:24px;border:1px solid var(--hy-border);border-radius:20px;background:#fff;padding:18px;margin:0 0 24px;box-shadow:var(--hy-shadow);overflow:hidden}
.hy-library-page .hy-figure-media{display:block;overflow:hidden;border-radius:13px;border:1px solid #e4ebe6;background:#fff;min-width:0}
.hy-library-page .hy-figure-media img{display:block;width:100%;height:auto;max-height:340px;object-fit:contain;transition:transform .28s}
.hy-library-page .hy-science-figure figcaption{font:400 15px/1.65 var(--sans);color:var(--hy-muted);min-width:0}
.hy-library-page .hy-science-figure figcaption>strong{display:block;font:750 23px/1.2 var(--sans);letter-spacing:-.025em;margin:8px 0;color:var(--hy-ink)}
.hy-library-page .hy-science-figure figcaption p{font-size:15px;line-height:1.65;margin:0 0 14px}
.hy-library-page .hy-credits{margin-top:12px;font-size:12px;color:var(--hy-muted);overflow-wrap:anywhere}
.hy-library-page .hy-credits summary{cursor:pointer;min-height:34px;padding:7px 0;font-weight:650}
.hy-library-page .hy-credits p{font-size:12px!important;margin-top:5px!important}
.hy-library-page .hy-credits a{text-decoration:underline;text-underline-offset:3px}
.hy-library-page .hy-table-panel,.hy-library-page .hy-outline,.hy-library-page .hy-pyq{background:#fff;border:1px solid var(--hy-border);border-radius:20px;padding:20px;margin:0 0 24px;min-width:0;box-shadow:var(--hy-shadow)}
.hy-library-page .hy-panel-heading{display:flex;align-items:center;gap:12px;margin:0 0 16px;color:var(--hy-ink)}
.hy-library-page .hy-panel-icon,.hy-library-page .hy-topic-icon{display:grid;place-items:center;width:44px;height:44px;flex:none;border-radius:13px;background:#e3f1e9;color:#20684d;border:1px solid #d0e4d7}
.hy-library-page .hy-panel-heading h2{font:750 clamp(20px,2.5vw,25px)/1.25 var(--sans);letter-spacing:-.025em;margin:0}
.hy-library-page .hy-panel-heading p{font-size:13px;line-height:1.5;color:var(--hy-muted);margin:4px 0 0}
.hy-library-page .hy-view-controls{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px;font:650 13px/1.4 var(--sans);color:var(--hy-muted)}
.hy-library-page .hy-view-controls[hidden]{display:none!important}
.hy-library-page .hy-view-switch{display:flex;gap:4px;padding:4px;background:#edf4ef;border:1px solid #d7e5dc;border-radius:12px}
.hy-library-page .hy-view-switch button{display:flex;align-items:center;justify-content:center;gap:6px;padding:8px 12px;min-height:40px;border-radius:9px;border:1px solid transparent;background:transparent;font:700 13px/1.2 var(--sans);color:#426253;transition:background .18s,box-shadow .18s}
.hy-library-page .hy-view-switch button[aria-pressed=true]{background:#fff;border-color:#c8ded0;color:#19583e;box-shadow:0 2px 5px #183c3212}
.hy-library-page .hy-view-switch .icon{width:16px;height:16px}
.hy-library-page .hy-scroll-hint{font:500 12px/1.5 var(--sans);color:var(--hy-muted);margin:0 0 8px}
.hy-library-page .hy-table-wrap{display:block;width:100%;max-width:100%;min-width:0;overflow-x:auto;overscroll-behavior-x:contain;border:1px solid #cdded4;border-radius:13px;background:#fff;margin:0;box-shadow:none;scrollbar-color:#79ab91 #eaf2ed}
.hy-library-page .hy-table{width:100%;min-width:650px;table-layout:fixed;border-collapse:separate;border-spacing:0;font:400 15px/1.65 var(--sans);color:var(--hy-ink)}
.hy-library-page .hy-detailed .hy-table{min-width:820px;font-size:15px}
.hy-library-page .hy-table caption{font:700 15px/1.5 var(--sans);text-align:left;padding:14px 16px;background:#e9f3ec;color:#174c38}
.hy-library-page .hy-table thead th{font:700 14px/1.45 var(--sans);padding:14px 16px;background:#1b513d;color:#fff;text-align:left}
.hy-library-page .hy-table th,.hy-library-page .hy-table td{font-size:15px;line-height:1.65;vertical-align:top;text-align:left;padding:16px;border:0;border-bottom:1px solid #dce7e0;border-right:1px solid #e3ece6;overflow-wrap:break-word}
.hy-library-page .hy-table tr>*:last-child{border-right:0}
.hy-library-page .hy-table tbody th{width:auto;font-weight:750;background:#f3f8f4;color:#214e3a}
.hy-library-page .hy-table tbody td{width:auto;background:#fff;color:#29453b}
.hy-library-page .hy-table tbody tr:nth-child(even) td{background:#f8fbf9}
.hy-library-page .hy-table tbody td:last-child{background:#edf6ef;color:#194d35;font-weight:550}
.hy-library-page .hy-table tbody tr:last-child>*{border-bottom:0}
.hy-library-page .hy-cell-label{display:none}
.hy-library-page .hy-table-panel.hy-cards .hy-scroll-hint{display:none}
.hy-library-page .hy-table-panel.hy-cards .hy-table-wrap{border:0;overflow:visible;background:transparent}
.hy-library-page .hy-table-panel.hy-cards .hy-table{min-width:0;display:block;width:100%}
.hy-library-page .hy-table-panel.hy-cards .hy-table caption{display:block;border:1px solid #d2e4d7;border-radius:11px;margin-bottom:12px}
.hy-library-page .hy-table-panel.hy-cards .hy-table thead{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.hy-library-page .hy-table-panel.hy-cards .hy-table tbody{display:grid;gap:12px}
.hy-library-page .hy-table-panel.hy-cards .hy-table tr{display:grid;grid-template-columns:1fr;overflow:hidden;border:1px solid #d4e3d8;border-radius:13px;background:#fff}
.hy-library-page .hy-table-panel.hy-cards .hy-table tbody th,.hy-library-page .hy-table-panel.hy-cards .hy-table tbody td{display:block;width:auto;border:0;padding:13px 15px}
.hy-library-page .hy-table-panel.hy-cards .hy-table tbody th{background:#e8f3eb;font-size:17px}
.hy-library-page .hy-table-panel.hy-cards .hy-table tbody td{border-top:1px solid #e1eae4}
.hy-library-page .hy-table-panel.hy-cards .hy-cell-label{display:block;margin:0 0 5px;color:#426b53;font:750 12px/1.4 var(--sans);letter-spacing:.025em}
.hy-library-page .hy-takeaway{padding:20px;margin:0 0 24px;border:1px solid #c8e2d1;border-left:4px solid #2d825a;border-radius:16px;background:linear-gradient(135deg,#f0f8f0,#e9f5eb);color:var(--hy-ink)}
.hy-library-page .hy-takeaway .hy-panel-heading{margin-bottom:10px}
.hy-library-page .hy-takeaway p{font:500 16px/1.7 var(--sans);margin:0;color:#28513a}
.hy-library-page .hy-pyq article{border:1px solid var(--hy-border);padding:16px;border-radius:13px;margin:0 0 12px;background:#fafcf9}
.hy-library-page .hy-pyq article h3{font:750 16px/1.4 var(--sans);margin:0 0 7px;color:#21583d}
.hy-library-page .hy-pyq article p{font:400 15px/1.65 var(--sans);margin:0 0 12px}
.hy-library-page .hy-pyq-status{padding:14px 16px;background:#f1f5f2;border:1px solid #dfe8e2;border-radius:12px;font-size:13px;color:#4c6556}
.hy-library-page .hy-reference{padding:14px 16px;margin:18px 0;background:#fff;border:1px solid var(--hy-border);border-radius:13px;font-size:14px}
.hy-library-page .hy-reference summary{display:flex;align-items:center;gap:10px;cursor:pointer;min-height:42px;font-weight:700}
.hy-library-page .hy-reference summary:after{content:'+';margin-left:auto;font-size:22px}
.hy-library-page .hy-reference[open] summary:after{content:'−'}
.hy-library-page .hy-reference summary .icon{width:20px;height:20px}
.hy-library-page .hy-resource-buttons{margin:12px 0 2px}
.hy-library-page .hy-outline-intro{font:400 15px/1.6 var(--sans);margin:0 0 16px}
.hy-library-page .hy-outline ol{display:grid;gap:10px;list-style:none;margin:0;padding:0}
.hy-library-page .hy-outline li{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:15px;border:1px solid var(--hy-border);border-radius:14px;background:#fafcf9}
.hy-library-page .hy-outline li.hy-ready{background:#edf7ee;border-color:#a9d4b8}
.hy-library-page .hy-topic-copy{display:grid;gap:4px;min-width:0}
.hy-library-page .hy-topic-copy strong{font:700 16px/1.4 var(--sans);color:var(--hy-ink)}
.hy-library-page .hy-topic-status{font-size:13px;line-height:1.4;color:#526657}
.hy-library-page .hy-pending-label{font:650 12px/1.3 var(--sans);padding:7px 10px;background:#edf1ee;border-radius:8px;color:#647069}
.hy-library-page .hy-unit-summary{background:linear-gradient(140deg,#fff,#edf7ef);padding:22px;border:1px solid var(--hy-border);border-radius:20px}
.hy-library-page .hy-unit-summary h2{font:750 clamp(23px,3vw,33px)/1.2 var(--sans);letter-spacing:-.025em}
@media(hover:hover) and (pointer:fine){.hy-library-page .hy-btn:hover{border-color:#70a58c;box-shadow:0 5px 14px #1c5b3e20;transform:translateY(-2px)}.hy-library-page .hy-btn-primary:hover{background:#207356}.hy-library-page .hy-figure-media:hover img{transform:scale(1.035)}.hy-library-page .hy-table tbody tr:hover td{background:#e7f3ec}.hy-library-page .hy-outline li.hy-ready:hover{border-color:#4c9b70}}
@media(max-width:700px){.hy-library-page .exam-directory{width:calc(100% - 28px)}.hy-library-page .page-intro{padding:24px 0 20px}.hy-library-page .page-intro h1{font-size:clamp(27px,7.3vw,36px)}.hy-library-page .page-intro .lede{font-size:15px}.hy-library-page .hy-science-figure{grid-template-columns:1fr;padding:13px;gap:14px}.hy-library-page .hy-figure-media img{max-height:270px}.hy-library-page .hy-table-panel,.hy-library-page .hy-outline,.hy-library-page .hy-pyq{padding:13px}.hy-library-page .hy-nav{padding:12px}.hy-library-page .hy-nav-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.hy-library-page .hy-nav-buttons>.hy-btn-primary{margin-left:0}.hy-library-page .hy-nav-buttons>.hy-btn:only-child{grid-column:1/-1}.hy-library-page .hy-nav-buttons>.hy-btn:nth-child(3){grid-column:1/-1}.hy-library-page .hy-btn{padding:11px 10px;min-height:48px;font-size:13px}.hy-library-page .hy-outline li{grid-template-columns:40px minmax(0,1fr);gap:9px;padding:12px}.hy-library-page .hy-topic-icon{width:40px;height:40px}.hy-library-page .hy-outline li>.hy-btn,.hy-library-page .hy-outline li>.hy-pending-label{grid-column:2;justify-self:start}.hy-library-page .hy-table-panel.hy-cards .hy-table tbody td{font-size:15px}.hy-library-page .hy-view-switch button{padding:8px 10px}.hy-library-page .hy-resource-buttons>.hy-btn{width:100%}.hy-library-page .hy-takeaway{padding:16px}}
@media(prefers-reduced-motion:no-preference){.hy-library-page .hy-table-panel,.hy-library-page .hy-science-figure,.hy-library-page .hy-outline{animation:hy-enter .3s ease-out both}@keyframes hy-enter{from{opacity:.75;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}}
@media(prefers-reduced-motion:reduce){.hy-library-page *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media print{.hy-library-page .hy-nav,.hy-library-page .hy-view-controls,.hy-library-page .hy-scroll-hint,.hy-library-page .hy-btn{display:none!important}.hy-library-page .hy-table-wrap{overflow:visible}.hy-library-page .hy-table,.hy-library-page .hy-detailed .hy-table{min-width:0;font-size:10pt}.hy-library-page .hy-table th,.hy-library-page .hy-table td{font-size:10pt;padding:8px}.hy-library-page .hy-science-figure,.hy-library-page .hy-table-panel{box-shadow:none;animation:none}}

/* Published figures: preserve source art and make credits visible. */
.hy-library-page .hy-published-figure{grid-template-columns:1fr;gap:12px;padding:18px}
.hy-library-page .hy-published-figure .hy-figure-media{display:flex;justify-content:center;align-items:center;background:#fff;padding:8px}
.hy-library-page .hy-published-figure .hy-figure-media img{width:auto;max-width:100%;max-height:460px;object-fit:contain}
.hy-library-page .hy-published-figure .hy-image-credit{font-size:12px;line-height:1.55;color:#4e665d;margin:8px 0 12px}
.hy-library-page .hy-published-figure .hy-image-credit a{text-decoration:underline;text-underline-offset:3px}
@media(max-width:700px){.hy-library-page .hy-published-figure{padding:12px}.hy-library-page .hy-published-figure .hy-figure-media img{max-height:340px}}

/* Original scientific plates have no web-layer watermark; the approved art contains its own discreet background mark. */
.hy-original-figure .hy-figure-media{display:grid;place-items:center;background:#fff;padding:clamp(.4rem,1.7vw,1.2rem);overflow:hidden;}
.hy-original-figure img{display:block;width:100%;height:auto;max-height:none;object-fit:contain;}
.hy-supplementary{margin-block:.75rem 1.25rem;}
.hy-supplementary summary{cursor:pointer;}
.hy-supplementary > .hy-science-figure{margin-block:.85rem;}
.hy-original-figure .hy-figure-media{isolation:isolate;position:relative}
.hy-original-figure .hy-brand-underlay{position:absolute;z-index:0;inset-block-start:clamp(.6rem,1.6vw,1.15rem);inset-inline-end:clamp(.65rem,1.8vw,1.35rem);color:#24594e;opacity:.72;pointer-events:none}
.hy-original-figure .hy-brand-underlay .brand{font-size:clamp(.78rem,1.3vw,1rem);gap:.22rem;line-height:1}
.hy-original-figure .hy-brand-underlay .brand svg{inline-size:1rem;block-size:1.3rem}
.hy-original-figure .hy-figure-media>img{position:relative;z-index:1}

/* Transparent original plates sit directly on the reader surface. */
.hy-library-page .hy-blended-plate{grid-template-columns:minmax(0,1fr);gap:.6rem;background:transparent;border:0;box-shadow:none;padding:0 0 .5rem}
.hy-library-page .hy-blended-plate .hy-figure-media{background:transparent;border:0;padding:0;overflow:visible}
.hy-library-page .hy-blended-plate .hy-figure-media img{width:min(100%,850px);max-height:none;transform:none}
.hy-library-page .hy-blended-plate figcaption{max-width:65ch;margin-inline:auto;text-align:center}
.hy-library-page .hy-enlarge-figure{display:grid;justify-items:center;gap:.5rem;text-decoration:none;cursor:zoom-in}
.hy-library-page .hy-enlarge-label{position:relative;z-index:2;padding:.36rem .75rem;border:1px solid var(--hy-border);border-radius:999px;background:#fff;color:var(--hy-accent);font-size:.84rem;font-weight:650}
.hy-library-page .hy-enlarge-figure:hover .hy-enlarge-label{text-decoration:underline;text-underline-offset:3px}
