.toolkit-gallery{--gallery-navy:#0c1c2e;--gallery-ice:#eaf3fc;--gallery-blue:#97c6f3;min-width:0;position:relative;border-radius:14px;overflow:hidden;border:1px solid var(--line);background:var(--surface);color:var(--ink)}
.gallery-viewport{display:flex;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;width:100%;aspect-ratio:4/5;min-height:450px;scrollbar-width:thin;scrollbar-color:var(--accent) var(--surface-soft)}
.gallery-slide{flex:0 0 100%;min-width:0;scroll-snap-align:start;position:relative;box-sizing:border-box;margin:0!important;padding:0!important;overflow:hidden}
.gallery-hero{position:relative;height:100%;overflow:hidden;background:var(--gallery-navy);color:var(--gallery-ice)}
.gallery-hero .gallery-hero-chart{position:absolute;inset:0;display:block;width:100%;height:100%;max-height:none;margin:0;border-radius:0;object-fit:contain;object-position:center bottom;opacity:.9}
.gallery-hero-scrim{position:absolute;inset:0;background:linear-gradient(90deg,#0c1c2ef5 0%,#0c1c2ee8 40%,#0c1c2e20 100%),linear-gradient(180deg,#0c1c2e 0%,#0c1c2e00 65%,#0c1c2e 100%)}
.gallery-hero-copy{position:relative;padding:65px 24px 24px;z-index:1}
.gallery-eyebrow{font:650 10px/1.5 var(--font,Archivo,sans-serif);letter-spacing:.12em;text-transform:uppercase;margin:0 0 12px!important}
.gallery-hero .gallery-eyebrow{position:absolute;top:22px;left:24px;max-width:55%;color:#b6d5f1}
.gallery-hero :is(h2,h3){font:760 clamp(25px,2.7vw,36px)/1.04 var(--font,Archivo,sans-serif);letter-spacing:-.045em;margin:0 0 22px!important;color:#f6faff;max-width:12ch}
.gallery-hero :is(h2,h3) span{display:block}.gallery-hero :is(h2,h3) a{color:inherit;text-decoration:none}.gallery-hero :is(h2,h3) a:hover{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px}
.gallery-hero ul{list-style:none;margin:0;padding:0;display:grid;gap:9px;max-width:30ch}.gallery-hero li{position:relative;padding-left:15px;font:500 13px/1.45 var(--font,Archivo,sans-serif);color:#e7f2fd}.gallery-hero li:before{content:'';position:absolute;left:0;top:.5em;width:5px;height:5px;border:1px solid #97c6f3;border-radius:50%}
.gallery-hero-foot{position:absolute;bottom:18px;left:24px;right:20px;display:flex;align-items:end;justify-content:space-between;gap:12px;z-index:1}.gallery-hero-foot>p{margin:0 0 0 auto;font-size:10px;line-height:1.5!important;text-align:right;color:#d1e2f2}.gallery-hero-foot>p span{font-size:9px;color:#b4cada}
.toolkit-format-icons{display:inline-flex;gap:10px;align-items:center;flex-shrink:0}.toolkit-format-icon{display:inline-flex;align-items:center;gap:5px;font:750 10px/1 var(--font,Archivo,sans-serif);color:#246847}.toolkit-format-icon--pdf{color:#994330}.toolkit-format-icon svg{width:19px;height:24px;fill:none;stroke:currentColor;stroke-width:1.5}.gallery-hero-foot .toolkit-format-icon{color:#b6dfcf}.gallery-hero-foot .toolkit-format-icon--pdf{color:#f0c2b4}
.gallery-controls{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 12px;border-top:1px solid var(--line);min-height:64px;box-sizing:border-box;background:var(--surface);color:var(--ink)}.gallery-controls[hidden]{display:none}.gallery-controls button{width:44px;height:44px;min-width:44px;padding:0;display:grid;place-items:center;border:1px solid var(--field-border);border-radius:10px;color:var(--ink);background:var(--surface-soft);cursor:pointer}.gallery-controls button svg{width:19px;height:19px;stroke:currentColor;stroke-width:1.8;fill:none}.gallery-controls button:disabled{opacity:.35;cursor:default}.gallery-position{text-align:center;min-width:0;font-size:12px;line-height:1.3;display:grid;grid-template-columns:auto auto;gap:5px 8px;align-items:center}.gallery-position>[data-gallery-position]{font-variant-numeric:tabular-nums;font-weight:750}.gallery-position>[data-gallery-title]{font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gallery-dots{grid-column:1/-1;display:flex;justify-content:center;gap:5px}.gallery-dots i{width:4px;height:4px;border-radius:50%;background:var(--muted);opacity:.4}.gallery-dots .active{width:15px;border-radius:4px;background:var(--accent);opacity:1}
.gallery-viewport:focus-visible,.gallery-controls button:focus-visible,.gallery-slide a:focus-visible{outline:3px solid var(--accent);outline-offset:-4px}.gallery-fallback{font-size:12px;text-align:center;padding:10px;margin:0!important}.gallery-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.gallery-contents{height:100%;padding:64px 22px 20px;box-sizing:border-box;background:var(--surface);color:var(--ink)}.gallery-contents>.gallery-eyebrow{color:var(--muted);font-size:9px}.gallery-contents>h4,.gallery-contents>h3{font-size:25px;line-height:1.1;letter-spacing:-.025em;margin:0 0 22px!important;color:var(--ink)}.gallery-format-block{display:grid;grid-template-columns:43px minmax(0,1fr);gap:12px;margin-bottom:20px}.gallery-file-label{border:1px solid #509a76;border-radius:7px;color:#246847;font-size:9px;font-weight:750;padding:12px 4px;align-self:start;text-align:center}.gallery-file-label--pdf{border-color:#bc7968;color:#994330}.gallery-format-block h5,.gallery-format-block h4{font-size:14px;line-height:1.2;margin:0 0 5px!important;color:var(--ink)}.gallery-format-block p{font-size:10px;color:var(--muted);margin:0 0 6px!important}.gallery-format-block ul{padding-left:14px;margin:0}.gallery-format-block li{font-size:11px;line-height:1.55;margin:1px 0}.gallery-contents-note{font-size:11px;line-height:1.5!important;color:var(--muted);border-top:1px solid var(--line);padding-top:12px;margin:0!important}
.gallery-screenshot{height:100%;display:flex;flex-direction:column;margin:0;background:#fff;color:#1a2d42}.gallery-screenshot-heading{padding:64px 20px 12px}.gallery-screenshot-heading .gallery-eyebrow{font-size:9px;color:#45627d}.gallery-screenshot h4,.gallery-screenshot h3{font-size:23px;line-height:1.15;margin:0!important;color:#162b40}.gallery-screenshot>a{display:flex;flex-direction:column;justify-content:center;position:relative;min-height:0;flex:1;background:#f2f5f8;margin-inline:12px;border:1px solid #d1dae3;border-radius:8px;overflow:hidden}.gallery-screenshot img{display:block;width:100%;height:100%;max-height:100%;object-fit:contain;border-radius:0;margin:0}.gallery-enlarge{position:absolute;bottom:9px;right:8px;font-size:10px;font-weight:650;padding:7px 9px;background:#fff;color:#264d72;border:1px solid #b6c6d5;border-radius:6px}.gallery-screenshot figcaption{padding:12px 20px 18px;font-size:10px;line-height:1.5;color:#456079}
.resource-card.toolkit-gallery-card{padding:0;display:flex;flex-direction:column;overflow:hidden}.toolkit-gallery-card>.toolkit-gallery{border:0;border-bottom:1px solid var(--line);border-radius:0}.toolkit-gallery-card>.toolkit-card-details{margin:16px 20px 0;padding:0;border:0;font-size:12px}.toolkit-gallery-card>.toolkit-learning-path{margin-inline:20px}.toolkit-gallery-card>.resource-tile-footer{padding:14px 20px;margin-top:auto}.toolkit-gallery-card>.resource-tile-status{margin-inline:20px}.toolkit-gallery-card .resource-tile-actions{position:absolute;right:10px;top:10px;z-index:5}.toolkit-gallery-card .resource-tile-actions button{width:44px;height:44px;min-width:44px}
.weibull-product-layout{display:grid;grid-template-columns:1.1fr 1fr;gap:36px;align-items:start}.weibull-product-copy>h2{font-size:clamp(25px,3vw,36px);line-height:1.15;margin:0 0 16px}.weibull-product-copy>p{line-height:1.7}.weibull-product-copy .checkout-panel{margin-top:20px}.toolkit-gallery--detail .gallery-hero-copy{padding-top:70px}.toolkit-gallery--detail .gallery-hero :is(h2,h3){font-size:clamp(30px,4vw,48px)}.toolkit-gallery--detail .gallery-hero li{font-size:16px}.toolkit-gallery--detail .gallery-eyebrow{font-size:11px}.toolkit-gallery--detail .gallery-format-block{margin-bottom:28px}.toolkit-gallery--detail .gallery-format-block :is(h4,h5){font-size:18px}.toolkit-gallery--detail .gallery-format-block p,.toolkit-gallery--detail .gallery-format-block li{font-size:13px}.toolkit-gallery--detail .gallery-contents-note{font-size:13px}.weibull-source-note{font-size:13px;color:var(--muted);line-height:1.6}.weibull-product-copy .checkout-panel .payhip-buy-button{display:flex;justify-content:center}
html[data-theme=dark] .toolkit-format-icon,html[data-theme=dark] .gallery-file-label{color:#a7d8c1}html[data-theme=dark] .toolkit-format-icon--pdf,html[data-theme=dark] .gallery-file-label--pdf{color:#efb8a9}
@media(prefers-color-scheme:dark){html:not([data-theme=light]) .toolkit-format-icon,html:not([data-theme=light]) .gallery-file-label{color:#a7d8c1}html:not([data-theme=light]) .toolkit-format-icon--pdf,html:not([data-theme=light]) .gallery-file-label--pdf{color:#efb8a9}}
@media(max-width:760px){.weibull-product-layout{grid-template-columns:1fr}.toolkit-gallery--detail .gallery-hero :is(h2,h3){font-size:35px}.toolkit-gallery--detail .gallery-hero li{font-size:14px}.toolkit-gallery--detail .gallery-format-block :is(h4,h5){font-size:15px}.toolkit-gallery--detail .gallery-format-block p,.toolkit-gallery--detail .gallery-format-block li,.toolkit-gallery--detail .gallery-contents-note{font-size:11px}}
@media(max-width:359px){.gallery-hero-copy{padding-inline:18px}.gallery-hero :is(h2,h3){font-size:27px}.gallery-hero ul{gap:7px}.gallery-hero li{font-size:11px}.gallery-contents{padding:64px 15px 15px}.gallery-contents>h4{font-size:22px;margin-bottom:14px!important}.gallery-format-block{gap:8px;grid-template-columns:36px 1fr;margin-bottom:12px}.gallery-format-block li,.gallery-contents-note{font-size:10px}.gallery-position>[data-gallery-title]{max-width:110px}}
@media print{.gallery-viewport{display:block;aspect-ratio:auto;overflow:visible}.gallery-slide{min-height:450px;break-inside:avoid;margin-block:15px!important}.gallery-controls,.gallery-fallback{display:none!important}.gallery-hero{height:500px}.gallery-slide[aria-hidden=true]{display:none}}
/* Reset the shared media toolbar's bottom inset; it must not stretch across slides. */
.toolkit-gallery-card .toolkit-gallery>.resource-tile-actions{inset:10px 10px auto auto;height:auto;width:auto;align-items:center}
.gallery-hero :is(h2,h3){font-size:32px}.gallery-hero .gallery-hero-chart{opacity:1}.gallery-hero-scrim{background:linear-gradient(180deg,#0c1c2e 0%,#0c1c2ef5 44%,#0c1c2e00 67%)}
@media(max-width:359px){.gallery-hero :is(h2,h3){font-size:27px}}

.gallery-contents>.gallery-slide-title{font-size:25px;font-weight:750;line-height:1.1;margin:0 0 22px!important;letter-spacing:-.025em;color:var(--ink)}.gallery-screenshot .gallery-slide-title{font-size:23px;font-weight:700;line-height:1.15;margin:0!important;color:#162b40}.gallery-format-block :is(h3,h4){font-size:14px;line-height:1.2;margin:0 0 5px!important;color:var(--ink)}

.gallery-inventory{margin:20px 0;padding:14px 16px;border:1px solid var(--line);border-radius:10px;background:var(--surface-soft);color:var(--ink);overflow-wrap:anywhere}.gallery-inventory summary{cursor:pointer;min-height:44px;font-weight:650}.gallery-inventory :is(p,li){font-size:13px;line-height:1.6}.gallery-inventory code{overflow-wrap:anywhere}
/* Reserve the caption band so new hero diagrams do not sit behind the footer text. */
.toolkit-gallery:not([data-gallery-product="weibull-analysis-toolkit"]) .gallery-hero .gallery-hero-chart{inset:auto 0 56px;height:calc(100% - 56px)}
