/* Native PDF galley and citation modal, EESR palette. */
.eesr-paper-hero{background:linear-gradient(90deg,#f7f8efff 30%,#f7f8eff0 55%,#f7f8ef55),url('../assets/hd/current.png') right center/cover no-repeat;padding:32px 0}.eesr-paper-hero h1{font-size:34px;line-height:1.12;max-width:760px;margin:10px 0 18px}.eesr-paper-authors{display:flex;flex-wrap:wrap;gap:12px 22px;max-width:760px}.eesr-paper-authors span{font-size:15px}.eesr-paper-authors small{display:block;font-size:12px;line-height:1.5;color:#43574a}.eesr-paper-meta{font-size:13px;line-height:1.7;margin-top:18px;max-width:800px}.eesr-paper-meta a{overflow-wrap:anywhere}.eesr-paper-hero button{cursor:pointer}.eesr-paper-details .obj_article_details>h1.page_title{display:none}.eesr-pdf-layout{display:grid;grid-template-columns:minmax(0,2.3fr) minmax(270px,1fr);gap:24px;padding:25px 0;align-items:start}.eesr-paper-tabs{display:flex;gap:0;flex-wrap:wrap;border:1px solid #dde6d5;background:#fff;margin-bottom:10px;border-radius:6px}.eesr-paper-tabs>*{padding:13px 15px;border:0;background:none;color:#254733;font-size:13px;font-weight:700;cursor:pointer}.eesr-paper-tabs>[aria-current]{border-bottom:3px solid #063c2d;background:#f4f7ed}.eesr-reader-frame{height:880px;background:#263c30;border:1px solid #d5dfd0;border-radius:5px;overflow:hidden}.eesr-reader-frame iframe{display:block;width:100%;height:100%;border:0}.eesr-pdf-fallback{font-size:12px;margin-top:12px}.eesr-version-notice{padding:12px;background:#fff7df;border-left:3px solid #ab9457;font-size:13px;margin-bottom:10px}.eesr-pdf-sidebar{min-width:0;border:1px solid #dfe7d8;border-radius:7px;background:linear-gradient(115deg,#fff,#f6f8f0);padding:18px}.eesr-pdf-sidebar section+section{border-top:1px solid #e1e8db;padding-top:20px;margin-top:20px}.eesr-pdf-sidebar h2{font-size:22px;margin:0 0 15px}.eesr-pdf-sidebar p,.eesr-pdf-sidebar dl{font-size:13px;line-height:1.5}.eesr-pdf-sidebar dl{display:grid;grid-template-columns:85px minmax(0,1fr);gap:10px;margin:0}.eesr-pdf-sidebar dt{font-weight:700;color:#46614d}.eesr-pdf-sidebar dd{margin:0;overflow-wrap:anywhere}.eesr-paper-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:12px}.eesr-paper-metrics>div{text-align:center;background:#f0f5e9;border-radius:5px;padding:15px 4px}.eesr-paper-metrics b{display:block;font-size:23px;color:#063c2d}.eesr-paper-metrics span{font-size:11px}.eesr-paper-keywords{display:flex;flex-wrap:wrap;gap:8px}.eesr-paper-keywords span{font-size:11px;background:#eaf1dd;border-radius:3px;padding:5px 7px}
.eesr-citation-dialog:not([open]){display:none}.eesr-citation-dialog{box-sizing:border-box;width:min(760px,calc(100vw - 32px));max-height:calc(100dvh - 35px);border:1px solid #cedac6;border-radius:10px;padding:30px;background:linear-gradient(130deg,#fff,#f7f9f1);color:#24432f;font-family:Arial,sans-serif;overflow:auto;box-shadow:0 12px 50px #061c1a55}.eesr-citation-dialog::backdrop{background:#102d238a}.eesr-citation-dialog h2{font-family:Georgia,serif;font-size:31px;line-height:1.15;text-align:center;margin:0 25px 10px}.eesr-citation-dialog h3{font-family:Georgia,serif;font-size:21px;line-height:1.2;margin:22px 0 12px}.eesr-cite-close{position:absolute;right:15px;top:10px;background:none;border:0;color:#24432f;font-size:30px;cursor:pointer;min-width:35px;min-height:35px}.eesr-cite-intro{text-align:center!important;font-size:13px;line-height:1.5;margin-bottom:22px}.eesr-cite-paper{display:flex;gap:18px;border-radius:7px;background:#eff4e7;padding:17px}.eesr-cite-paper img{width:90px;height:auto;max-height:150px;object-fit:contain;align-self:start}.eesr-cite-paper>div{min-width:0;flex:1}.eesr-cite-paper h3{font-size:20px;margin:0 0 10px}.eesr-cite-paper p{font-size:13px;line-height:1.5;margin:5px 0}.eesr-cite-paper a{font-size:13px;overflow-wrap:anywhere}.eesr-cite-formats{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:12px}.eesr-cite-formats button{padding:9px 12px;font-size:12px;border:1px solid #d2dfc6;background:#eef3e8;color:#254a32;border-radius:4px;cursor:pointer}.eesr-cite-formats button[aria-pressed=true]{color:#fff;background:#063c2d;border-color:#063c2d}.eesr-cite-output{padding:17px;border:1px solid #cddac3;background:#fff;border-radius:6px}.eesr-cite-output>[data-eesr-cite-text]{white-space:pre-wrap;overflow-wrap:anywhere;font-family:Consolas,monospace;font-size:13px;line-height:1.6;color:#37443a;min-height:70px}.eesr-cite-output>.eesr-btn{display:block;margin:15px 0 0 auto;cursor:pointer}.eesr-cite-exports{display:flex;flex-wrap:wrap;gap:8px}.eesr-cite-exports .eesr-btn{padding:9px 12px;font-size:12px;min-height:35px;cursor:pointer}.eesr-cite-note{font-size:12px;line-height:1.5;background:#eaf1e2;padding:12px;border-radius:4px;margin-top:20px}.eesr-citation-dialog [role=status]{font-size:12px;color:#345e3d;margin-bottom:0}
@media(max-width:900px){.eesr-pdf-layout{grid-template-columns:1fr}.eesr-reader-frame{height:760px}.eesr-pdf-sidebar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.eesr-pdf-sidebar section+section{border:0;margin:0;padding:0}.eesr-paper-hero h1{font-size:31px}.eesr-paper-meta{font-size:12px}}
@media(max-width:600px){.eesr-paper-hero{padding:25px 0;background:linear-gradient(90deg,#f7f8eff8,#f7f8efc9),url('../assets/hd/current.png') center/cover}.eesr-paper-hero h1{font-size:27px}.eesr-paper-authors{display:block}.eesr-paper-authors span{display:block;margin-bottom:10px;font-size:14px}.eesr-paper-meta{font-size:12px}.eesr-pdf-layout{padding:20px 0;gap:18px}.eesr-paper-tabs>*{padding:12px 9px;font-size:11px}.eesr-reader-frame{height:640px}.eesr-pdf-sidebar{display:block;padding:17px}.eesr-pdf-sidebar section+section{border-top:1px solid #e1e8db;margin-top:18px;padding-top:18px}.eesr-citation-dialog{padding:22px 16px;width:calc(100vw - 20px);max-height:calc(100dvh - 20px)}.eesr-citation-dialog h2{font-size:27px}.eesr-cite-paper{gap:12px;padding:12px}.eesr-cite-paper img{width:62px;max-height:100px}.eesr-cite-paper h3{font-size:17px}.eesr-cite-paper p,.eesr-cite-paper a{font-size:12px}.eesr-cite-formats button{font-size:11px;padding:9px}.eesr-cite-output{padding:12px}.eesr-cite-output>[data-eesr-cite-text]{font-size:12px}.eesr-cite-exports .eesr-btn{flex:1 1 120px;font-size:11px}.eesr-cite-note{font-size:11px}}

.eesr-paper-metrics .eesr-icon{width:23px;height:23px;margin-bottom:8px;color:#2d6340}

.eesr-cite-close{position:sticky;top:0;float:right;z-index:2;background:#f8faf2;border-radius:5px;margin-top:-15px}.eesr-citation-dialog h2{padding-top:3px}
