/* Browser chrome is HTML, so labels remain sharp and readable at every size. */
.product-screen{display:block;width:100%;overflow:hidden;border:1px solid var(--line-strong);border-radius:10px;background:var(--paper);color:var(--ink);box-shadow:0 12px 30px -20px var(--night)}
.product-browser{display:block;text-align:left;color:var(--ink-2);background:var(--paper);font:12px/1.4 var(--sans);letter-spacing:0;white-space:nowrap;cursor:default}
.product-browser-tabs{display:flex;align-items:center;gap:13px;height:34px;padding:5px 14px 0;background:var(--bg);border-bottom:1px solid var(--line)}
.product-window-dots{display:flex;gap:4px;align-items:center;margin-right:3px}.product-window-dots i{display:block;width:7px;height:7px;border:1px solid var(--ink-3);border-radius:50%}
.product-browser-tab{display:flex;align-items:center;gap:8px;padding:5px 10px 5px 9px;border-radius:6px 6px 0 0;background:var(--paper);height:29px;min-width:180px;max-width:65%;color:var(--ink)}
.product-tab-icon{font-size:14px;color:var(--teal-ink)}.product-browser-tab-label{overflow:hidden;text-overflow:ellipsis}.product-tab-x{font-size:15px;margin-left:auto;padding-left:15px}.product-new-tab{font-size:17px}.product-window-end{margin-left:auto;color:var(--ink-3);font-size:12px}
.product-browser-toolbar{display:flex;align-items:center;gap:14px;padding:6px 13px;background:var(--paper);height:36px;border-bottom:1px solid var(--line)}
.product-browser-tools{flex:none;font-size:15px;color:var(--ink-3);letter-spacing:1px}.product-browser-location{display:flex;align-items:center;gap:8px;min-width:0;flex:1;border-radius:5px;padding:4px 10px;background:var(--bg);font-size:12px}.product-lock{font-size:15px;color:var(--ink-3)}.product-browser-address{overflow:hidden;text-overflow:ellipsis}.product-browser-menu{font-size:20px;line-height:1;color:var(--ink-3)}
.product-screen-open{display:block;width:100%;padding:0;border:0;background:var(--paper);cursor:zoom-in}.product-screen img{display:block;width:100%;height:auto;aspect-ratio:5/3;object-fit:contain;border-radius:0;transform:none;box-shadow:none}.product-screen :focus-visible{outline:3px solid var(--teal-ink);outline-offset:-3px}
.product-screen-caption{font-size:12px;line-height:1.7;color:var(--ink);margin:14px 0 0}.product-case-frame .product-screen{max-width:1280px;margin-inline:auto}.product-case-frame .product-screen img{max-width:none;margin:0;border-radius:0;box-shadow:none}.product-case-frame>.product-screen-caption{max-width:1280px;margin-inline:auto;padding-top:14px}.case-gallery .product-screen-caption{font-size:12px;color:var(--ink)}
.ow-thumbnail>.product-screen{padding:0;background:var(--paper);border-radius:9px;font-size:inherit}.ow-thumbnail .product-browser-tab{min-width:0}.ow-thumbnail .product-window-end,.ow-thumbnail .product-new-tab{display:none}.ow-thumbnail .product-browser-tabs{padding-inline:7px;gap:5px}.ow-thumbnail .product-window-dots{display:none}.ow-thumbnail .product-browser-toolbar{padding:5px 8px;gap:5px}.ow-thumbnail .product-browser-tools{display:none}.ow-thumbnail img{aspect-ratio:5/3!important;object-fit:contain!important}
.ow-stage{padding:8px 0}.ow-chapter-body{grid-template-columns:minmax(245px,.58fr) minmax(0,1.85fr);gap:34px}.ow-story h3,.ow-nursing .ow-story h3{font-size:clamp(52px,5.1vw,78px)}.ow-capanet .ow-story h3{font-size:clamp(45px,4.8vw,73px)}
.ow-lightbox-image{display:block;padding:0}.ow-lightbox-image .product-screen{box-shadow:none;border:0}.ow-lightbox-image img{width:100%;height:auto;max-height:calc(100svh - 310px);object-fit:contain}.ow-lightbox-image .product-browser{position:sticky;top:0;z-index:1}
.rv-real-screens{padding:0;background:var(--paper);border-color:var(--line-strong);border-radius:10px;overflow:hidden;--rv-count:3;box-shadow:0 18px 40px -24px var(--night)}.rv-real-screens .rv-viewer-top{padding:20px;color:var(--ink)}.rv-real-screens .rv-viewer-top>span{font-size:12px;border-color:var(--line-strong);color:var(--ink)}.rv-real-screens .rv-tabs{padding:0 20px 20px;grid-template-columns:repeat(3,minmax(0,1fr))}.rv-real-screens .rv-tabs button{font-size:12px;background:var(--paper);color:var(--ink);border-color:var(--line-strong)}.rv-real-screens .rv-tabs button>span:first-child{color:var(--ink);font-size:12px}.rv-real-screens .rv-tabs button[aria-selected=true]{background:var(--navy);color:var(--paper);border-color:var(--navy)}.rv-real-screens .rv-tabs button[aria-selected=true]>span{color:var(--paper)}.rv-real-screens .product-screen{border-width:1px 0;border-radius:0;box-shadow:none}.rv-real-screens .rv-viewport{border-radius:0;background:var(--paper)}.rv-real-screens .rv-viewport img{width:100%;max-height:none}.rv-real-screens .rv-viewport.rv-zoomed img{width:max(100%,1600px);max-width:none}.rv-real-screens .rv-footer{padding:18px 20px;color:var(--ink)}.rv-real-screens .rv-caption,.rv-real-screens .rv-actions button,.rv-real-screens .rv-actions a{font-size:12px;color:var(--ink)}.rv-real-screens :focus-visible{outline:3px solid var(--teal-ink);outline-offset:-3px}
@media(max-width:1100px){.ow-chapter-body{grid-template-columns:245px minmax(0,1fr);gap:25px}}
@media(max-width:900px){.ow-chapter-body{grid-template-columns:1fr}.ow-stage{padding:0}.ow-story h3,.ow-nursing .ow-story h3{font-size:60px}}
@media(max-width:680px){.product-screen{border-radius:7px}.product-browser-tabs{gap:7px;padding-inline:9px}.product-window-dots,.product-new-tab,.product-window-end{display:none}.product-browser-tab{height:29px;max-width:100%;min-width:0}.product-browser-toolbar{gap:8px;padding-inline:9px}.product-browser-tools{font-size:13px}.product-browser-location{font-size:12px}.ow-chapter-body{grid-template-columns:1fr}.ow-story h3,.ow-nursing .ow-story h3{font-size:54px}.ow-lightbox-image img{min-width:1000px;max-width:none;max-height:none}.ow-lightbox-image .product-browser{min-width:100%;width:100%}.ow-lightbox-image .product-screen{overflow:auto}.rv-real-screens .rv-viewer-top{align-items:start;flex-direction:column;gap:10px}.rv-real-screens .rv-tabs{padding:0 12px 14px;gap:6px}.rv-real-screens .rv-tabs button{padding:10px 8px;justify-content:center}.rv-real-screens .rv-tabs button>span{display:none}.rv-real-screens .rv-viewer-top,.rv-real-screens .rv-footer{padding:16px 12px}}

.case-gallery .case-gallery-feature{grid-column:1/-1;scroll-margin-top:100px}

/* Desktop screens need a desktop-sized gallery, with no half-width downscaling. */
.case-gallery{grid-template-columns:minmax(0,1fr);gap:clamp(32px,5vw,72px)}
.case-gallery figure{padding:clamp(10px,1.5vw,20px)}
.case-gallery .product-screen{max-width:1280px;margin-inline:auto}
.ow-lightbox-image img{max-height:none}
.ow-lightbox-image{overflow:auto;max-height:calc(100svh - 220px)}
.ow-lightbox-footer p:empty{display:none}
@media(max-width:680px){.ow-lightbox-image{max-height:calc(100svh - 200px)}.case-gallery figure{padding:8px}}

/* Preserve the native proportions of the supplied Heart ACS captures. */
.ow-heart .ow-stage{aspect-ratio:auto}

/* Native original captures retain their proportions and source-width limits. */
.ow-capanet .ow-stage{aspect-ratio:auto}
.case-gallery .product-screen[data-product-screen="capanet-daily-original"],.product-case-frame .product-screen[data-product-screen="capanet-daily-original"]{max-width:1119px}
.case-gallery .product-screen[data-product-screen="capanet-capacity-entry"],.product-case-frame .product-screen[data-product-screen="capanet-capacity-entry"]{max-width:964px}
.case-gallery .product-screen[data-product-screen="capanet-extract-original"],.product-case-frame .product-screen[data-product-screen="capanet-extract-original"]{max-width:1119px}
.case-gallery .product-screen[data-product-screen="capanet-covid-original"],.product-case-frame .product-screen[data-product-screen="capanet-covid-original"]{max-width:1270px}
.product-screen[data-product-screen="heartacs-welcome"] img{aspect-ratio:2160/1296}
.product-screen[data-product-screen="heartacs-menu"] img{aspect-ratio:2160/1296}
.product-screen[data-product-screen="heartacs-patient"] img{aspect-ratio:1600/1000}
.product-screen[data-product-screen="heartacs-coronary"] img{aspect-ratio:1400/864}
.product-screen[data-product-screen="capanet-regional-original"] img{aspect-ratio:1353/724}
.product-screen[data-product-screen="capanet-service-map"] img{aspect-ratio:1354/563}
.product-screen[data-product-screen="capanet-activity-original"] img{aspect-ratio:1349/544}
.product-screen[data-product-screen="capanet-daily-original"] img{aspect-ratio:1119/565}
.product-screen[data-product-screen="capanet-capacity-entry"] img{aspect-ratio:964/1024}
.product-screen[data-product-screen="capanet-extract-original"] img{aspect-ratio:1119/622}
.product-screen[data-product-screen="capanet-covid-original"] img{aspect-ratio:1270/870}
.product-screen[data-product-screen="capanet-menu-original"] img{aspect-ratio:1876/876}
