/* Shared, lightweight Shadow Health product-cover and PDF-preview cards. */
.np-document-preview{width:100%;max-width:390px;min-width:0;justify-self:end;font-family:Outfit,system-ui,sans-serif}
.np-document-preview *{box-sizing:border-box}
.np-document-preview .case-product-deck{position:relative;height:407px;isolation:isolate}
.np-document-preview .case-deck-card{position:absolute;top:0;left:50%;width:82%;margin:0;z-index:1;overflow:hidden;border:1px solid #99f6e414;border-radius:28px;background:#0b3437;box-shadow:0 16px 48px #0002,0 0 48px #0f766e12;opacity:0;pointer-events:none;transform:translateX(-50%) scale(.82);transition:transform .72s cubic-bezier(.22,1,.36,1),opacity .5s ease,filter .5s ease}
.np-document-preview .case-deck-card.is-active{z-index:5;opacity:1;pointer-events:auto;transform:translateX(-50%);filter:none}
.np-document-preview .case-deck-card.is-prev{z-index:2;opacity:.16;pointer-events:auto;transform:translateX(-63%) translateY(18px) scale(.88) rotate(-5deg);filter:saturate(.7) blur(.6px)}
.np-document-preview .case-deck-card.is-next{z-index:3;opacity:.22;pointer-events:auto;transform:translateX(-37%) translateY(18px) scale(.88) rotate(5deg);filter:saturate(.8) blur(.6px)}
.np-document-preview .case-deck-card>a{display:block;color:#0b635b;text-decoration:none}
.np-document-preview .case-deck-card>a:focus-visible{outline:3px solid #99f6e4;outline-offset:-4px;border-radius:27px}
.np-document-preview .np-pdf-page,.np-document-preview .np-deck-cover{display:block;width:100%;height:340px;background:transparent}
.np-document-preview figcaption{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:48px;padding:10px 12px;border-top:1px solid #99f6e40a;background:linear-gradient(180deg,#082a3220,#082a3252);color:#d5eae5;font-size:11px;font-weight:600;line-height:1.4}
.np-document-preview figcaption>span{max-width:68%}.np-document-preview figcaption strong{color:#99f6e4;white-space:nowrap;font-size:11px;font-weight:700}
.np-document-preview .case-gallery-options{display:grid;grid-template-columns:repeat(var(--deck-count,4),minmax(0,1fr));gap:7px;margin-top:10px}
.np-document-preview .case-thumb{display:flex;align-items:center;justify-content:center;gap:7px;min-width:0;min-height:46px;padding:7px 5px;border:1px solid #99f6e424;border-radius:14px;background:#ffffff05;color:#d5eae5;cursor:pointer;font:500 11px Outfit,system-ui,sans-serif}
.np-document-preview .case-thumb[aria-pressed=true]{border-color:#99f6e466;background:#5eead41f;color:#fff;box-shadow:none}
.np-document-preview .case-thumb:hover{background:#5eead424}.np-document-preview button:focus-visible{outline:3px solid #99f6e4;outline-offset:3px}
.np-document-preview .np-page-thumb{display:block;width:24px;height:30px;flex:none;background:#082a32;border-radius:3px}
.np-document-preview .np-cover-thumb{display:grid;place-items:center;width:24px;height:30px;border:1px solid #5b938a;border-radius:3px;background:#174f4a;color:#99f6e4;font-size:12px}
.np-document-preview .case-gallery-controls{display:flex;align-items:center;justify-content:center;gap:10px;margin-top:6px;color:#c4dfd8;font-size:11px}
.np-document-preview .case-gallery-controls button{display:grid;place-items:center;min-width:32px;min-height:32px;padding:4px 9px;border:1px solid #99f6e424;border-radius:999px;background:#ffffff05;color:#d5eae5;font:500 12px Outfit,system-ui,sans-serif;cursor:pointer}
.np-document-preview .case-gallery-controls button:hover{background:#5eead424}
.np-document-preview [data-case-position]{min-width:29px;text-align:center;font-variant-numeric:tabular-nums}
.np-document-preview .case-gallery-controls [data-case-toggle]{margin-left:4px;padding-inline:12px;font-size:11px}.np-document-preview [hidden]{display:none!important}
.np-document-preview .np-deck-cover{position:relative;overflow:hidden;display:flex;flex-direction:column;padding:22px 22px 0;background:radial-gradient(ellipse at 100% 25%,#15584f40,transparent 70%);color:#f0fdf4}
.np-document-preview .np-deck-cover-brand{color:#99f6e4;font-size:9px;letter-spacing:.1em;font-weight:700}
.np-document-preview .np-deck-cover-name{display:block;margin-top:14px;color:#f0fdf4;font-size:27px;font-weight:700;line-height:1.1;letter-spacing:-.025em}
.np-document-preview .np-deck-cover-topic{position:relative;z-index:1;display:block;max-width:68%;margin-top:9px;color:#99f6e4;font-size:16px;font-weight:600;line-height:1.3}
.np-document-preview .np-deck-portrait{position:absolute;right:13px;top:105px;width:89px;height:108px;object-fit:contain;object-position:center bottom;filter:none}
.np-document-preview .np-cover-document{position:absolute;right:18px;top:125px;display:grid;place-items:center;width:62px;height:80px;border:1px solid #64a49c;border-radius:8px;background:#164f4a;color:#b2f6df;font-size:27px}
.np-document-preview .np-deck-cover-foot{margin: auto -22px 0;padding:16px 18px 18px;background:linear-gradient(180deg,transparent,#082a3240);color:#e3f5ec}
.np-document-preview .np-deck-cover-foot strong{display:block;font-size:17px;line-height:1.3;color:#e3f5ec}
.np-document-preview .np-deck-cover-foot span{display:block;margin-top:5px;font-size:10px;color:#bad6d0;line-height:1.4}
@media(max-width:900px){.np-document-preview{justify-self:start}.np-document-preview .case-product-deck{height:387px}.np-document-preview .np-pdf-page,.np-document-preview .np-deck-cover{height:320px}.np-document-preview .np-deck-cover-name{font-size:25px}.np-document-preview .np-deck-cover-topic{font-size:15px}}
@media(max-width:640px){.np-document-preview{max-width:390px;justify-self:center}.np-document-preview .case-product-deck{height:322px}.np-document-preview .np-pdf-page,.np-document-preview .np-deck-cover{height:255px}.np-document-preview figcaption{font-size:10px;padding:9px 10px}.np-document-preview figcaption strong{font-size:10px}.np-document-preview .np-deck-cover{padding:16px 16px 0}.np-document-preview .np-deck-cover-name{margin-top:10px;font-size:23px}.np-document-preview .np-deck-cover-topic{font-size:13px;max-width:68%}.np-document-preview .np-deck-portrait{top:84px;right:10px;width:72px;height:88px}.np-document-preview .np-cover-document{top:91px;width:48px;height:62px}.np-document-preview .np-deck-cover-foot{margin-inline:-16px;padding:12px 14px}.np-document-preview .np-deck-cover-foot strong{font-size:14px}.np-document-preview .np-deck-cover-foot span{font-size:9px}.np-document-preview .case-thumb{font-size:10px;gap:5px;padding:6px 3px}.np-document-preview .np-page-thumb,.np-document-preview .np-cover-thumb{width:20px;height:26px}}
@media(prefers-reduced-motion:reduce){.np-document-preview .case-deck-card{transition:none!important}}

/* Compact, image-led product previews. Each card opens its original PDF preview. */
.np-document-preview.np-editorial-preview{--np-deck-media-height:300px;--np-deck-caption-height:90px;width:100%;max-width:470px;min-width:0;margin:0;justify-self:center;font-family:Outfit,system-ui,sans-serif;touch-action:pan-y pinch-zoom}
.np-document-preview.np-editorial-preview *{box-sizing:border-box}
.np-document-preview.np-editorial-preview .case-product-deck{position:relative;height:calc(var(--np-deck-media-height) + var(--np-deck-caption-height) + 2px);isolation:isolate}
.np-document-preview.np-editorial-preview .case-deck-card{position:absolute;top:0;left:50%;width:72%;max-width:none;margin:0;overflow:hidden;border:1px solid #e4f5ee30;border-radius:28px;background:#e6efeb;box-shadow:0 16px 36px #0002;z-index:1;opacity:0;pointer-events:none;transform:translateX(-50%) scale(.82);transition:transform .72s cubic-bezier(.22,1,.36,1),opacity .5s ease,filter .5s ease}
.np-document-preview.np-editorial-preview .case-deck-card.is-active{z-index:5;opacity:1;pointer-events:auto;transform:translateX(-50%);filter:none}
.np-document-preview.np-editorial-preview .case-deck-card.is-prev{z-index:2;opacity:.42;pointer-events:auto;transform:translateX(-82%) translateY(12px) scale(.86) rotate(-5deg);filter:saturate(.85)}
.np-document-preview.np-editorial-preview .case-deck-card.is-next{z-index:3;opacity:.5;pointer-events:auto;transform:translateX(-18%) translateY(12px) scale(.86) rotate(5deg);filter:saturate(.85)}
.np-document-preview.np-editorial-preview .case-deck-card>a{display:grid;grid-template-rows:var(--np-deck-media-height) var(--np-deck-caption-height);color:#163d36;text-decoration:none;outline-offset:-4px}
.np-document-preview.np-editorial-preview .case-deck-card>a:focus-visible{outline:3px solid #0d9488;border-radius:27px}
.np-document-preview.np-editorial-preview .np-deck-media{width:100%;height:var(--np-deck-media-height);overflow:hidden;background:linear-gradient(145deg,#d6e8e1,#edf3f1)}
.np-document-preview.np-editorial-preview .case-deck-card .np-deck-media img,.np-document-preview.np-editorial-preview .np-deck-media .np-pdf-page{display:block;position:static;inset:auto;width:100%;height:100%;max-height:none;margin:0;object-fit:contain;object-position:center top;background:transparent}
.np-document-preview.np-editorial-preview .case-deck-card .np-deck-media .np-deck-portrait{object-fit:cover;object-position:center top}
.np-document-preview.np-editorial-preview .case-deck-card .np-deck-media .np-portrait-framed{transform:scale(1.6);transform-origin:50% 20%}
.np-document-preview.np-editorial-preview .np-deck-media--pdf{background:#fff}
.np-document-preview.np-editorial-preview .case-deck-card figcaption{display:flex;align-items:center;justify-content:space-between;gap:12px;height:var(--np-deck-caption-height);min-height:0;margin:0;padding:12px 16px;border:0;background:linear-gradient(135deg,#edf5ef,#dcebe5);color:#163d36;line-height:1.3;text-align:left}
.np-document-preview.np-editorial-preview .case-deck-card figcaption>.np-deck-copy{display:block;flex:1;min-width:0;max-width:none}
.np-document-preview.np-editorial-preview .np-deck-copy strong{display:block;margin:0;color:#163d36;font-size:19px;line-height:1.2;font-weight:800;letter-spacing:-.035em;white-space:normal}
.np-document-preview.np-editorial-preview .np-deck-copy>span{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;margin-top:5px;color:#46645a;font-size:12px;font-weight:600;line-height:1.4}
.np-document-preview.np-editorial-preview .np-deck-arrow{display:grid;place-items:center;flex:none;width:36px;height:36px;border-radius:50%;background:#0b8276;color:#fff;font-size:24px;line-height:1;font-weight:600}
.np-document-preview.np-editorial-preview .np-deck-help{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
@media(max-width:900px){.np-document-preview.np-editorial-preview{max-width:470px}}
@media(max-width:640px){
 .np-document-preview.np-editorial-preview{--np-deck-media-height:240px;--np-deck-caption-height:84px;max-width:390px}
 .np-document-preview.np-editorial-preview .case-deck-card{width:72%;border-radius:24px}
 .np-document-preview.np-editorial-preview .case-deck-card.is-prev{transform:translateX(-75%) translateY(10px) scale(.84) rotate(-4deg)}
 .np-document-preview.np-editorial-preview .case-deck-card.is-next{transform:translateX(-25%) translateY(10px) scale(.84) rotate(4deg)}
 .np-document-preview.np-editorial-preview .case-deck-card figcaption{padding:11px 13px;gap:9px}
 .np-document-preview.np-editorial-preview .np-deck-copy strong{font-size:17px}
 .np-document-preview.np-editorial-preview .np-deck-copy>span{font-size:11px;margin-top:4px}
 .np-document-preview.np-editorial-preview .np-deck-arrow{width:32px;height:32px;font-size:22px}
}
@media(prefers-reduced-motion:reduce){.np-document-preview.np-editorial-preview .case-deck-card{transition:none!important}}
