/* Safety remains readable without enlarging an illustration or opening details. */
.refresh .resource-frontispiece .overview-safety{padding:24px;margin-top:24px;background:var(--surface-mist);color:var(--surface-ink);text-align:left}
.refresh .overview-safety p{font:400 17px/1.65 var(--sans);margin:0}
.refresh .overview-safety a{display:inline-flex;align-items:center;min-height:44px;white-space:nowrap;font-weight:650;color:inherit;text-decoration:underline;text-underline-offset:.2em}
.refresh .document-neighbors{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:12px}
.document-neighbors .overview-next{text-align:right;justify-self:end}
.document-neighbors a{display:inline-flex;align-items:center;min-height:44px}
.refresh .art-enlarge{width:min(1180px,96vw);max-width:96vw;height:94dvh;max-height:94dvh;padding:0;background:var(--surface-paper);color:var(--surface-ink);overflow:hidden}
.refresh .art-enlarge[open]{display:flex;flex-direction:column}
.art-toolbar{flex-shrink:0;display:flex;align-items:center;gap:12px;padding:12px 16px;min-height:72px;background:var(--surface-paper);color:var(--surface-ink)}
.art-toolbar :is(button,a){display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 16px;border:2px solid var(--surface-line);background:var(--surface-paper);color:var(--surface-ink);font:600 15px/1.2 var(--sans);text-decoration:none;white-space:nowrap}
.art-toolbar .art-close{position:static;float:none;margin:0 0 0 auto;background:var(--surface-ink);color:var(--surface-paper)}
.art-viewport{box-sizing:border-box;flex:1;min-height:0;height:auto;overflow:auto;overscroll-behavior:contain;padding:0 16px 16px;text-align:center}
.art-viewport img{display:block;width:auto;max-width:100%;height:auto;max-height:calc(100% - 28px);object-fit:contain;margin:0 auto}
.art-enlarge.is-zoomed .art-viewport img{width:1024px;min-width:1024px;max-width:none;max-height:none;height:auto}
.art-viewport .weave-image-credit{margin:8px 0 0!important;padding:0!important;font-size:12px!important;line-height:18px!important;display:block;position:static;font:12px/1.5 var(--sans);text-align:right;color:var(--surface-muted)}
.art-toolbar :is(button,a):focus-visible,.art-viewport:focus-visible{outline:3px solid var(--surface-accent);outline-offset:-3px}
@media(max-width:480px){.art-toolbar{gap:8px;padding:10px 8px;min-height:68px}.art-toolbar :is(button,a){padding:9px 10px;font-size:14px}.art-viewport{padding:0 8px 12px}.refresh .resource-frontispiece .overview-safety{padding:22px 20px}.refresh .overview-safety p{font-size:16px}}
