/* Isolated document/website candidate; legacy and other snow areas remain unchanged. */
html.v2-zao-preview[data-zao-preview-page="resources"] .zrp-root { color: #193c50; line-height: 1.65; }
.zrp-root *, .zrp-root *::before, .zrp-root *::after { box-sizing: border-box; }
.zrp-root :is(h2, h3, p) { margin: 0; }
.zrp-root :is(a, h2, h3, p, summary) { overflow-wrap: anywhere; }
.zrp-root :is(a, summary):focus-visible { outline: 3px solid #126b9a; outline-offset: 4px; }
.zrp-root [hidden] { display: none !important; }
.zrp-jump-links { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.6rem; }
.zrp-action { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; max-width: 100%; padding: .55rem .8rem; border: 1px solid #b5ccd8; border-radius: .55rem; color: #155879; background: #fff; font: inherit; font-size: .84rem; font-weight: 650; text-align: center; text-decoration: none; }
.zrp-action:hover { background: #e9f4fa; }
.zrp-action-primary { color: #fff; background: #155879; border-color: #155879; }
.zrp-action-primary:hover { color: #fff; background: #0b425e; }
.zrp-section { margin-bottom: 2.5rem; scroll-margin-top: 5rem; }
.zrp-section-heading { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: baseline; margin-bottom: .4rem; }
.zrp-section-heading h2 { color: #193a50; font-size: 1.35rem; }
.zrp-count { color: #637e8c; font-size: .83rem; white-space: nowrap; }
.zrp-description { color: #546f7f; font-size: .87rem; }
.zrp-source-note { color: #6a7881; font-size: .74rem; margin: .4rem 0 .9rem !important; }
.zrp-document-grid { display: grid; width: min(100%, 65rem); grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; align-items: stretch; margin-inline: auto; }
.zrp-document { display: flex; min-width: 0; flex-direction: column; padding: 0; border: 1px solid #d3e1e7; border-radius: .9rem; background: #fff; box-shadow: 0 .35rem 1rem rgba(18, 63, 87, .06); overflow: hidden; scroll-margin-top: 5rem; }
.zrp-cover { display: grid; width: 100%; height: auto; min-height: 0; aspect-ratio: 3 / 4; place-items: center; border: 0; border-bottom: 1px solid #e0e7eb; border-radius: .85rem .85rem 0 0; overflow: hidden; background: #fff; }
.zrp-cover img { display: block; width: 100%; height: 100%; min-width: 0; min-height: 0; object-fit: contain; }
.zrp-cover-pending { padding: .55rem; color: #6a7d87; font-size: .74rem; line-height: 1.65; text-align: center; }
.zrp-document-body { display: flex; min-width: 0; flex-direction: column; padding: 1rem; }
.zrp-document-body h3 { margin-block: .25rem .35rem; color: #183e56; font-size: 1.04rem; line-height: 1.55; }
.zrp-document-source { color: #607d8f; font-size: .76rem; }
.zrp-badge { display: inline-block; padding: .12rem .42rem; border-radius: .3rem; background: #eaf1f5; color: #386078; font-size: .7rem; }
.zrp-badge-archive { color: #7b5c2d; background: #f7eedb; }
.zrp-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: auto; padding-top: .8rem; }
.zrp-note { margin-top: .5rem !important; color: #627784; font-size: .77rem; line-height: 1.7; }
.zrp-note-archive { color: #7b6542; }
.zrp-topic-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: .3rem; color: #2a657e; font-size: .77rem; font-weight: 650; text-decoration: underline; text-underline-offset: 4px; }
.zrp-protected-form { display: grid; gap: .45rem; margin-top: .8rem; padding: .8rem; border: 1px solid #cbdce5; border-radius: .7rem; background: #f5f9fb; }
.zrp-protected-form > label { color: #244e65; font-size: .78rem; font-weight: 750; }
.zrp-protected-form-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .5rem; }
.zrp-protected-form input { min-width: 0; min-height: 44px; padding: .55rem .7rem; border: 1px solid #aac3d0; border-radius: .55rem; background: #fff; color: #193c50; font: inherit; }
.zrp-protected-form button:disabled { cursor: wait; opacity: .65; }
.zrp-download-status { min-height: 1.45em; color: #607987; font-size: .72rem; }
.zrp-website-group { margin-top: .9rem; border: 1px solid #d3e1e7; border-radius: .9rem; background: #fff; }
.zrp-website-group > summary { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; min-height: 54px; padding: .7rem 1rem; color: #234f65; cursor: pointer; list-style: none; }
.zrp-website-group > summary::-webkit-details-marker { display: none; }
.zrp-website-group > summary::after { content: "＋"; margin-left: auto; font-weight: 400; }
.zrp-website-group[open] > summary::after { content: "−"; }
.zrp-group-mark { display: grid; place-items: center; width: 28px; height: 28px; border-radius: .45rem; background: #eaf1f5; color: #3b687e; font-size: .8rem; }
.zrp-group-count { color: #718590; font-size: .77rem; }
.zrp-website-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; padding: .4rem 1rem 1rem; }
.zrp-website { min-width: 0; display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: .7rem; align-items: start; padding-top: .6rem; border-top: 1px solid #e6edf1; }
.zrp-logo { display: grid; place-items: center; width: 76px; height: 66px; padding: .35rem; border-radius: .4rem; background: #fff; border: 1px solid #e1e9ec; }
.zrp-logo img { display: block; max-width: 100%; max-height: 100%; object-fit: contain; }
.zrp-logo span { color: #82939b; font-size: .67rem; text-align: center; }
.zrp-website-body { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; }
.zrp-website-body h3 { font-size: .91rem; line-height: 1.5; color: #224d65; }
.zrp-website-body p { margin-top: .2rem; color: #677e8b; font-size: .77rem; }
.zrp-website-body .zrp-action { margin-top: .5rem; font-size: .76rem; padding-inline: .65rem; }
.zrp-empty { padding: 1rem; color: #566f7d; border: 1px dashed #adc3cf; border-radius: .7rem; background: #f7fafb; }
@media (max-width: 70rem) { .zrp-website-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 55rem) { .zrp-document-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 47.5rem) { .zrp-document-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 38rem) {
  .zrp-website-grid { grid-template-columns: minmax(0, 1fr); }
  .zrp-document-body { padding: .8rem; }
  .zrp-cover-pending { font-size: .65rem; padding: .35rem; }
  .zrp-document-body h3 { font-size: .97rem; }
  .zrp-actions { gap: .4rem; }
  .zrp-actions .zrp-action { font-size: .76rem; padding-inline: .6rem; }
  .zrp-section-heading h2 { font-size: 1.22rem; }
  .zrp-protected-form-row { grid-template-columns: minmax(0, 1fr); }
}
