.home-gallery-r34{min-width:0}.home-gallery-tabs-r34{display:flex;flex-wrap:wrap;gap:8px;margin:24px 0}.home-gallery-tabs-r34 button{background:#fff;border:1px solid #cfdfef;border-radius:9px;padding:10px 15px;min-height:42px;color:#2c577b;cursor:pointer;font:inherit;font-size:12px;font-weight:650}.home-gallery-tabs-r34 button[aria-selected=true]{background:#183550;color:#fff;border-color:#183550}.home-gallery-layout-r34{display:grid;grid-template-columns:290px minmax(0,1fr);gap:28px;align-items:start}.home-gallery-selection-r34{min-width:0}.home-gallery-selection-r34>p{font-size:13px;line-height:1.7}.home-gallery-thumbs-r34{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:20px 0}.home-gallery-thumbs-r34[hidden],.home-gallery-r34 [hidden]{display:none!important}.home-gallery-thumbs-r34 a{min-width:0;border:1px solid #d3e0ed;background:#fff;border-radius:10px;padding:7px;text-decoration:none;color:#234767}.home-gallery-thumbs-r34 a[aria-current=true]{border:2px solid #0871bd;padding:6px;background:#edf7ff}.home-gallery-thumbs-r34 img{display:block;width:100%;height:78px;object-fit:contain;object-position:top;background:#f2f6fb}.home-gallery-thumbs-r34 span{display:block;font-size:11px;line-height:1.5;padding-top:6px;overflow-wrap:anywhere}.home-gallery-product-r34{font-size:12px;font-weight:700}.home-gallery-r34 .screen-shell{min-width:0;width:100%;border:1px solid #d5e3ef;border-radius:16px;overflow:hidden;background:#fff;transform:none;box-shadow:0 18px 45px #16345210}.home-gallery-r34 .screen-top{padding:13px 15px;font-size:11px}.home-gallery-r34 #program-screen{display:block;width:100%;height:clamp(260px,36vw,520px);max-width:100%;object-fit:contain;object-position:top;background:#f4f7fb;aspect-ratio:auto}.home-gallery-open-r34{display:block}.home-gallery-caption-r34{padding:12px 16px;border-top:1px solid #e0e9f2}.home-gallery-r34 .home-gallery-caption-r34 p{font-size:11px;line-height:1.7;margin:0 0 7px}.home-gallery-r34 .home-gallery-caption-r34 a{display:inline-flex;padding:5px 0;margin-right:12px;font-weight:650}.home-gallery-all-r34{font-size:12px;margin-top:22px}.home-gallery-all-r34 summary{cursor:pointer;color:#235779}.home-gallery-all-r34 li{margin:8px 0}.home-gallery-r34 a:focus-visible,.home-gallery-r34 button:focus-visible,.home-gallery-r34 summary:focus-visible{outline:3px solid #248fe7;outline-offset:3px}
@media(max-width:800px){.home-gallery-layout-r34{grid-template-columns:minmax(0,1fr)}.home-gallery-thumbs-r34{grid-template-columns:repeat(4,minmax(0,1fr))}.home-gallery-r34 #program-screen{height:420px}}
@media(max-width:520px){.home-gallery-tabs-r34{flex-wrap:nowrap;overflow-x:auto;padding:4px 2px 12px;max-width:100%}.home-gallery-tabs-r34 button{flex:0 0 auto}.home-gallery-thumbs-r34{grid-template-columns:repeat(2,minmax(0,1fr))}.home-gallery-r34 #program-screen{height:300px}.home-gallery-r34 .screen-top span{overflow-wrap:anywhere;min-width:0}.home-gallery-r34 .section-head h2{font-size:30px}}

/* R35: preserve screenshot width; long captures scroll instead of shrinking text. */
.home-gallery-r34 .home-gallery-open-r34{max-height:clamp(320px,42vw,620px);overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;outline-offset:-3px}.home-gallery-r34 #program-screen{height:auto;width:100%;max-width:100%;object-fit:initial;aspect-ratio:auto}.home-gallery-r34 .home-gallery-thumbs-r34 img{object-fit:cover;object-position:top}
@media(max-width:800px){.home-gallery-r34 .home-gallery-open-r34{max-height:500px}}
@media(max-width:520px){.home-gallery-r34 .home-gallery-open-r34{max-height:360px}}
