/* Scientific reading and A4 print rules are deliberately separate. */
body[data-cabinet-page=articles] .research-library{max-width:1320px}
body[data-cabinet-page=articles] .research-toolbar{align-items:center;gap:8px}
body[data-cabinet-page=articles] .research-toolbar button{min-height:44px;font:500 .85rem/1.4 Arial,sans-serif;letter-spacing:0}
body[data-cabinet-page=articles] .research-toolbar button:focus-visible{outline:3px solid #cba86a;outline-offset:3px}
body[data-cabinet-page=articles] .research-card{min-width:0;min-height:0;padding:24px}
body[data-cabinet-page=articles] .research-card>h3{font:500 1.2rem/1.45 Georgia,serif;letter-spacing:0}
body[data-cabinet-page=articles] .research-card:has(>details[open]){grid-column:1/-1;padding:clamp(18px,3vw,36px)}
body[data-cabinet-page=articles] .research-grid .note-paper{width:100%;max-width:880px;margin:24px auto 0;padding:clamp(20px,4vw,52px);background:#fff;color:#172f40;border:1px solid #c7d0d6;border-top:3px solid #9d7d41;box-shadow:none}
body[data-cabinet-page=articles] .research-grid .note-paper header{display:block;margin:0 0 28px;padding:0 0 20px;border-bottom:1px solid #c8d1d8;background:transparent}
body[data-cabinet-page=articles] .research-grid .note-paper header>span{color:#6a542e;font:600 .72rem/1.5 Arial,sans-serif;letter-spacing:.06em}
body[data-cabinet-page=articles] .research-grid .note-paper h2{font:500 clamp(1.45rem,3vw,2rem)/1.35 Georgia,serif;color:#142d40;margin:12px 0 0;letter-spacing:0}
body[data-cabinet-page=articles] .research-grid .note-paper h4{font:600 1rem/1.5 Arial,sans-serif;color:#18394e;margin:28px 0 10px;break-after:avoid}
body[data-cabinet-page=articles] .research-grid .note-paper :is(p,li,dt,dd){font-size:1rem;line-height:1.8;color:#283f4d;max-width:74ch;text-align:start;hyphens:auto;overflow-wrap:break-word}
body[data-cabinet-page=articles] .research-grid .note-paper :is(figcaption,small){color:#435967;font-size:.88rem;line-height:1.65}
body[data-cabinet-page=articles] .research-grid .note-paper a{color:#1b5579;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}
body[data-cabinet-page=articles] .research-grid .note-paper section{padding:0;margin:24px 0;border:0;background:transparent;display:block}
body[data-cabinet-page=articles] .research-grid .note-paper .research-equation{padding:18px;margin:24px 0;background:#f1f4f6;border:0;border-left:3px solid #9d7d41;color:#132e42;max-width:100%;min-width:0}
body[data-cabinet-page=articles] .research-grid .note-paper :is(.research-equation pre,[data-math-tex],.equation){color:#132e42;max-width:100%;overflow-x:auto;overflow-y:hidden;white-space:pre-wrap;word-break:normal;background:transparent}
body[data-cabinet-page=articles] .research-grid .note-paper .katex-display{max-width:100%;overflow-x:auto;overflow-y:hidden;font-size:1.05em}
body[data-cabinet-page=articles] .research-grid .note-paper figure{max-width:100%;margin:24px 0;min-width:0}
body[data-cabinet-page=articles] .research-grid .note-paper .note-book-figure{padding:14px;border:1px solid #d1d9df;background:#f7f8f9}
body[data-cabinet-page=articles] .research-grid .note-paper img{display:block;width:100%;max-width:100%;height:auto;max-height:none;object-fit:contain}
body[data-cabinet-page=articles] .research-grid .note-paper footer{display:block;border-top:1px solid #c8d1d8;margin:30px 0 0;padding:10px 0 0;background:transparent}
body[data-cabinet-page=articles] .research-grid .note-paper footer :is(p,small){font-size:.88rem;line-height:1.65;color:#435967}
.research-note-nav185{display:flex;flex-wrap:wrap;gap:8px 16px;margin:18px 0 26px;padding:12px 0;border-bottom:1px solid #d1d9df;font:500 .8rem/1.5 Arial,sans-serif}
.research-note-nav185 a{max-width:100%}.research-note-tools185{margin:12px 0}.research-table-scroll185{overflow-x:auto;max-width:100%}
body[data-cabinet-page=articles] .paper>header,body[data-cabinet-page=articles] .paper>section,body[data-cabinet-page=articles] .paper>footer{padding:clamp(24px,4vw,52px) max(24px,calc((100% - 820px)/2));min-width:0}
body[data-cabinet-page=articles] .paper p{font-size:1rem;line-height:1.85;max-width:76ch;color:#283f4d;text-align:start}
body[data-cabinet-page=articles] .paper h2{font:500 clamp(1.5rem,3vw,2.2rem)/1.35 Georgia,serif;letter-spacing:0}
body[data-cabinet-page=articles] .paper h3{font-size:1.1rem;line-height:1.5;margin:0 0 14px}
body[data-cabinet-page=articles] .paper :is(.equation,[data-math-tex]){max-width:100%;overflow-x:auto;overflow-y:hidden;word-break:normal}
body[data-cabinet-page=articles] .paper footer p{font-size:.9rem;line-height:1.7;overflow-wrap:anywhere}
@media(max-width:650px){body[data-cabinet-page=articles] .research-grid{grid-template-columns:minmax(0,1fr)}body[data-cabinet-page=articles] .research-card:has(>details[open]){padding:14px}body[data-cabinet-page=articles] .research-grid .note-paper{padding:18px 14px}body[data-cabinet-page=articles] .research-grid .note-paper .research-equation{padding:12px}.research-note-nav185{gap:10px 14px}body[data-cabinet-page=articles] .paper>header,body[data-cabinet-page=articles] .paper>section,body[data-cabinet-page=articles] .paper>footer{padding:24px 18px}}
.a4-dialog .note-paper .note-book-figure img,.a4-measure .note-paper .note-book-figure img{width:100%;height:auto;max-height:none;object-fit:contain}
.a4-dialog .note-paper .research-equation,.a4-measure .note-paper .research-equation{color:#102939}
@media print{.research-note-nav185,.research-note-tools185{display:none!important}.a4-dialog .note-paper h2,.a4-dialog .note-paper h4{break-after:avoid}.a4-dialog .note-paper img{max-width:100%;height:auto}.a4-dialog .note-paper figure{break-inside:avoid-page}.a4-dialog .note-paper table{font-size:9pt}.a4-dialog .note-paper{overflow:visible!important;height:auto!important;max-height:none!important}}
