.pd{--ink:#1f2a37; --ink-muted:#4d5b6a; --ink-soft:#33404d;
--navy:#1B5E80; --navy-dark:#123F57;
--page-bg:#DCEFFA; --hero-bg:#C3E3F6; --surface:#FFFFFF;
--gold:#FFD54A;
--capturing:#FFD54A; --capturing-band:#FFF6D9; --capturing-note:#FFE58A; --capturing-deep:#8A6400;
--degradation:#6FB3DD; --degradation-band:#E7F3FB; --degradation-note:#C6E3F5; --degradation-deep:#1B5E80;
--sensing:#F2786A; --sensing-band:#FDEBE7; --sensing-note:#FFCFC6; --sensing-deep:#B23A2B;
--biosafety:#7DCB72; --biosafety-band:#EEF8EA; --biosafety-note:#D4EDCE; --biosafety-deep:#2F7A33;
--tfa:#7442A8; --tfa-light:#B98BDB; --tfa-band:#EEE3F8; --tfa-note:#E3D3F3; --tfa-deep:#6B3A92;
--r-card:36px 30px 38px 28px / 30px 38px 28px 36px;
--r-box:30px 24px 32px 22px / 24px 32px 22px 30px;
--r-figure:28px 22px 30px 20px / 22px 30px 20px 28px;
--r-blob:58% 42% 55% 45% / 47% 58% 42% 53%;
--r-note:6px 6px 22px 6px;
--font-display:'Fredoka',system-ui,sans-serif;
--font-body:'Nunito',system-ui,sans-serif;
--font-hand:'Patrick Hand','Fredoka',sans-serif;}
.pd *{box-sizing:border-box}
.pd h1, .pd h2, .pd h3{font-family:'Fredoka',system-ui,sans-serif;color:var(--navy);margin:0;letter-spacing:-.2px}
.pd p{margin:0 0 14px}
.pd p:last-child{margin-bottom:0}
.pd a{color:var(--navy);text-decoration:underline 1.5px;text-underline-offset:3px;font-weight:600}
.pd a:hover{color:var(--navy-dark)}
.pd em{font-style:italic}
.pd .pd-card{background:var(--surface);border:2.5px solid var(--ink);border-radius:36px 30px 38px 28px / 30px 38px 28px 36px}
.pd .pd-term{position:relative;display:inline-block;border-bottom:2px dotted var(--navy);cursor:help;font-weight:700;color:var(--navy)}
.pd .pd-term:focus{outline:2px solid var(--gold);outline-offset:2px;border-radius:3px}
.pd .pd-term .pd-pop{position:absolute;left:0;bottom:calc(100% + 12px);z-index:60;width:min(320px,70vw);padding:13px 16px;background:#E6F2FA;border:2px solid var(--ink);border-radius:6px 6px 22px 6px;box-shadow:4px 5px 0 rgba(31,42,55,.18);font:400 17px/1.5 'Patrick Hand','Fredoka',sans-serif;color:var(--ink);text-align:left;opacity:0;visibility:hidden;transform:translateY(5px);transition:opacity .18s ease,transform .18s ease,visibility .18s;pointer-events:none;white-space:normal}
.pd .pd-term .pd-pop::after{content:"";position:absolute;left:18px;top:100%;width:14px;height:14px;margin-top:-8px;background:#E6F2FA;border-right:2px solid var(--ink);border-bottom:2px solid var(--ink);transform:rotate(45deg)}
.pd .pd-term:hover .pd-pop, .pd .pd-term:focus .pd-pop, .pd .pd-term:focus-within .pd-pop{opacity:1;visibility:visible;transform:none}
@media (max-width:1000px){
.pd .pd-term .pd-pop{left:auto;right:0}
.pd .pd-term .pd-pop::after{left:auto;right:18px}
}
.pd .pd-note{position:relative;margin:20px 0 0;padding:15px 19px;border:2px solid var(--ink);border-radius:6px 6px 22px 6px;box-shadow:4px 5px 0 rgba(31,42,55,.18);font:400 19px/1.5 'Patrick Hand','Fredoka',sans-serif;transform:rotate(-.7deg)}
.pd .pd-chapter{display:flex;flex-wrap:wrap;gap:44px;align-items:flex-start;margin-top:34px;overflow:visible}
.pd .pd-col-stage{flex:1 1 540px;min-width:0;position:-webkit-sticky;position:sticky;top:24px;align-self:flex-start;z-index:2}
.pd .pd-col-steps{flex:999 1 400px;min-width:0}
.pd .pd-stage{position:relative;height:540px;background:var(--surface);border:2.5px solid var(--ink);border-radius:28px 22px 30px 20px / 22px 30px 20px 28px;box-shadow:6px 7px 0 var(--ink);overflow:hidden}
.pd .pd-plate{position:absolute;inset:0;padding:14px 16px;display:flex;flex-direction:column;justify-content:center;gap:8px;transition:opacity .42s ease, transform .42s ease}
.pd .pd-plate.pd-photo{padding:4px}
.pd .pd-plate.pd-pair{flex-direction:row;align-items:center;gap:14px;padding:8px}
.pd .pd-plate.pd-pair img{flex:0 1 auto;width:auto;height:100%;max-width:58%;object-fit:contain;display:block}
.pd .pd-plate.pd-pair .pd-fig-import{flex:1 1 42%;height:100%;min-width:0}
@media (max-width:620px){
.pd .pd-plate.pd-pair{flex-direction:column;gap:6px}
.pd .pd-plate.pd-pair img{max-width:100%;height:auto;max-height:58%}
.pd .pd-plate.pd-pair .pd-fig-import{height:auto;flex:0 1 auto}
}
.pd .pd-plate.pd-photo img{flex:1 1 auto;width:100%;height:100%;object-fit:contain;display:block}
.pd .pd-plate svg{flex:1 1 auto;width:100%;height:auto;min-height:0;display:block}
.pd .pd-plate .pd-fig-import{display:block;flex:0 1 auto;width:100%;height:100%;min-height:0}
.pd .pd-fig-import{display:block;width:100%}
.pd .pd-plate figcaption{font:400 18px/1.4 'Patrick Hand','Fredoka',sans-serif;color:var(--ink-muted);text-align:center}
.pd .pd-step{border:2.5px solid var(--ink);border-radius:36px 30px 38px 28px / 30px 38px 28px 36px;background:var(--surface);padding:26px 30px;margin-bottom:28px;transition:box-shadow .3s ease, transform .3s ease}
.pd .pd-step h3{font-size:24px;margin-bottom:10px}
.pd .pd-stepno{display:inline-block;font:400 17px 'Patrick Hand','Fredoka',sans-serif;color:var(--ink-muted);margin-bottom:2px}
@media (max-width:1000px){
.pd .pd-chapter{gap:18px;margin-top:26px}
.pd .pd-col-stage{position:-webkit-sticky;position:sticky;top:8px;flex-basis:100%;z-index:3}
.pd .pd-stage{height:min(52vh,400px);box-shadow:4px 5px 0 var(--ink)}
.pd .pd-plate{padding:10px 12px}
.pd .pd-step{padding:20px 22px;margin-bottom:22px}
.pd .pd-step h3{font-size:21px}
.pd .pd-figwide{padding:16px 16px 10px !important}
}
@media (max-width:560px){
.pd .pd-stage{height:min(46vh,340px)}
.pd .pd-step{padding:16px 17px}
.pd .pd-step h3{font-size:19px}
.pd .pd-note{font-size:17px;padding:13px 15px}
.pd .pd-term .pd-pop{width:min(280px,86vw);font-size:16px}
.pd .pd-figwide{padding:12px 10px 8px !important}
}
.pd .pd-bob{animation:pd-bob 5.5s ease-in-out infinite}
@keyframes pd-bob{0%,100%{transform:translateY(0)}50%{transform:translateY(-7px)}}
.pd .pd-pulse{animation:pd-pulse 2.6s ease-in-out infinite}
@keyframes pd-pulse{0%,100%{opacity:.4}50%{opacity:1}}
.pd .pd-drift{animation:pd-drift 11s linear infinite}
@keyframes pd-drift{to{transform:translateX(-50%)}}
.pd .pd-dash{stroke-dasharray:9 9;animation:pd-dash 1.4s linear infinite}
@keyframes pd-dash{to{stroke-dashoffset:-18}}
@media (prefers-reduced-motion:reduce){
.pd .pd-bob, .pd .pd-pulse, .pd .pd-drift, .pd .pd-dash{animation:none}
.pd .pd-plate{transition:none}
}
@keyframes pd-figbob{0%,100%{transform:translateY(0)}50%{transform:translateY(-7px)}}
@keyframes pd-figpulse{0%,100%{opacity:.4}50%{opacity:1}}
@keyframes pd-figdash{to{stroke-dashoffset:-18}}
.pd .pd-bob{animation:pd-figbob 5.5s ease-in-out infinite}
.pd .pd-pulse{animation:pd-figpulse 2.6s ease-in-out infinite}
.pd .pd-dash{stroke-dasharray:9 9;animation:pd-figdash 1.4s linear infinite}
@media (prefers-reduced-motion:reduce){
.pd .pd-bob, .pd .pd-pulse, .pd .pd-dash{animation:none}
}
.pd .pd-plate{opacity:0;transform:translateY(12px) scale(.985);pointer-events:none}
.pd .pd-plate.pd-is-on{opacity:1;transform:none;pointer-events:auto}
.pd .pd-step{box-shadow:3px 4px 0 rgba(31,42,55,.22)}
.pd .pd-step.pd-is-on{box-shadow:7px 8px 0 var(--ink);transform:translateY(-2px)}
.pd .pd-fig-import{display:block;width:100%}
.pd{container-type:inline-size}
.pd .pd-plate{padding:10px 12px}
.pd .pd-plate.pd-pair{flex-direction:column;gap:6px}
.pd .pd-plate.pd-pair img{max-width:100%;height:auto;max-height:58%}
.pd .pd-plate.pd-pair .pd-fig-import{height:auto;flex:0 1 auto}
.pd .pd-step{padding:20px 22px}
.pd .pd-step h3{font-size:21px}
.pd .pd-crop{display:block;margin:0 auto;width:100%;aspect-ratio:var(--ar);background-repeat:no-repeat}
.pd .pd-plate{container-type:size}
.pd .pd-plate .pd-crop{width:min(100cqw,calc(100cqh * var(--ar)))}
.pd .pd-plate .pd-fig-import{display:flex;align-items:center;justify-content:center}
.pd .pd-plate.pd-inline{container-type:normal}
.pd .pd-plate.pd-inline .pd-crop{width:min(100%,520px)}
.pd .pd-chapter{gap:18px;margin-top:26px}
.pd .pd-col-stage{top:88px;flex-basis:100%;z-index:3}
.pd .pd-stage{height:min(52vh,420px);box-shadow:4px 5px 0 var(--ink)}
.pd .pd-col-steps{flex-basis:100%}
@media (max-width:860px){
.pd .pd-col-stage{top:8px}
}
.pd .pd-chapter.pd-is-inline .pd-col-stage{display:none}
.pd .pd-plate.pd-inline{position:relative;inset:auto;opacity:1;transform:none;pointer-events:auto;height:auto;margin:0 0 18px;padding:12px;background:var(--surface);border:2.5px solid var(--ink);border-radius:28px 22px 30px 20px / 22px 30px 20px 28px;box-shadow:4px 5px 0 var(--ink)}
.pd .pd-plate.pd-inline.pd-photo{padding:6px}
.pd .pd-plate.pd-inline.pd-photo img{height:auto;max-height:440px}
.pd .pd-plate.pd-inline svg{max-height:380px}
.pd .pd-step.pd-is-inline-gap{margin-top:0}
@container (min-width:700px){
.pd .pd-chapter{flex-wrap:nowrap;gap:26px}
.pd .pd-col-stage{flex:0 0 44%;max-width:44%;top:88px}
.pd .pd-col-steps{flex:1 1 0}
.pd .pd-stage{height:min(68vh,470px)}
}
