.document-reader{width:min(1440px,98vw);height:96dvh;max-width:98vw;max-height:96dvh;padding:0;border:1px solid #222;border-radius:12px;color:#171717;background:#f4f0e8;box-shadow:0 16px 80px #0005;overflow:hidden}
.document-reader[open]{display:flex;flex-direction:column}.document-reader::backdrop{background:#111a}.document-reader-head{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:14px 18px;border-bottom:1px solid #2222}.document-reader-head strong{font:600 18px/1.4 Arial,sans-serif;overflow-wrap:anywhere}.document-reader button{font:inherit;color:inherit;background:#fff9;border:1px solid #2225;border-radius:5px;padding:7px 11px;cursor:pointer}.document-reader button:disabled{opacity:.35;cursor:default}.document-reader button:focus-visible,.document-reader input:focus-visible,.document-reader-viewport:focus-visible{outline:3px solid #356b9c;outline-offset:2px}.document-reader-tools{display:flex;flex-wrap:wrap;align-items:center;gap:9px;padding:10px 18px;font:14px/1.4 Arial,sans-serif}.document-reader-tools label{display:flex;align-items:center;gap:6px}.document-reader input{font:inherit;width:65px;padding:6px;border:1px solid #777;background:#fff;color:#111}.document-reader-viewport{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:18px;background:#dedbd5;touch-action:pan-x pan-y}.document-reader-viewport img{display:block;max-width:none;margin:0 auto;background:#fff;box-shadow:0 2px 10px #0002}.document-reader footer{padding:8px 18px;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font:12px/1.5 Arial,sans-serif}.review-document-link[data-document]{cursor:pointer}
@media(max-width:600px){.document-reader{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;border-radius:0}.document-reader-head,.document-reader-tools{padding:10px}.document-reader-tools{gap:6px}.document-reader button{padding:8px}.document-reader-viewport{padding:10px}.document-reader footer{padding:7px 10px}}

/* Shared entry cards: native buttons provide Enter/Space activation without extra handlers. */
.section .review-document-link.document-entry{appearance:none;display:inline-grid;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:14px;width:min(100%,560px);min-height:82px;margin:10px 0 8px;padding:15px 18px;text-align:left;text-decoration:none;border:1px solid #30332d55;border-radius:10px;background:var(--document-card-bg,#e9edcf);color:#17231f;font:inherit;letter-spacing:normal;cursor:pointer;box-shadow:0 2px 0 #26302512;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;white-space:normal}
.document-entry-tone-0{--document-card-bg:#eef0cf}.document-entry-tone-1{--document-card-bg:#dcece0}.document-entry-tone-2{--document-card-bg:#e9e1ef}
.document-entry-icon{width:28px;height:34px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linejoin:round;stroke-linecap:round}
.document-entry-copy{min-width:0;display:flex;flex-direction:column;gap:4px}.document-entry-title{font-size:16px;font-weight:650;line-height:1.55;overflow-wrap:anywhere;word-break:normal}.document-entry-meta{font-size:12px;font-weight:400;line-height:1.5;opacity:.74}.document-entry-action{font-size:13px;font-weight:650;line-height:1.5;white-space:nowrap}.document-entry-action>span{display:inline-block;margin-left:6px}
.section .document-entry:focus-visible{outline:3px solid #264d72;outline-offset:4px;border-color:#264d72}.section .document-entry:active{transform:translateY(0);box-shadow:none}
@media(hover:hover){.section .document-entry:hover{transform:translateY(-2px);border-color:#263025;box-shadow:0 5px 12px #26302516;text-decoration:none}}
@media(max-width:600px){.section .review-document-link.document-entry{grid-template-columns:26px minmax(0,1fr);gap:8px 12px;padding:14px;width:100%}.document-entry-icon{grid-row:1 / 3;align-self:start;width:25px;height:31px}.document-entry-action{grid-column:2}.document-entry-title{font-size:16px}.document-entry-action>span{margin-left:8px}}
@media(prefers-reduced-motion:reduce){.section .review-document-link.document-entry{transition:none;transform:none}}
