/* Extends the existing D:FENCE white/blue system. No competing animation library. */
.prevention-shell{max-width:1120px;min-width:0;color:var(--ink,#263543)}
.prevention-shell *{box-sizing:border-box;min-width:0}
.prevention-shell h1,.prevention-shell h2,.prevention-shell h3,.prevention-shell p,.prevention-shell li,.prevention-shell dd,.prevention-shell a,.prevention-shell button,.prevention-shell select{word-break:keep-all;overflow-wrap:anywhere}
.prevention-shell p,.prevention-shell li,.prevention-shell dd,.prevention-shell select,.prevention-shell a{font-size:16px;line-height:1.6}
.prevention-shell a{ text-underline-offset:.2em}
.prevention-shell ::selection{background:#cbeaff;color:#073b63}
.prevention-shell :focus-visible{outline:3px solid #087fbd;outline-offset:4px}
.prevention-shell h1[tabindex="-1"]:focus{outline:none}
.prevention-back{gap:9px;margin-bottom:24px}
.prevention-shell svg{width:20px;height:20px;flex:0 0 20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.prevention-page-head{max-width:820px;margin-bottom:28px}
.prevention-page-head h1{font-size:clamp(28px,3vw,38px);line-height:1.3;letter-spacing:-.015em;font-weight:700;color:var(--navy,#0b3557);margin:0 0 16px}
.prevention-page-head p{color:#4e6171;margin:0}
.prevention-page-head .prevention-intro-support{margin-top:8px}
.prevention-explore{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;flex-wrap:wrap;margin-bottom:32px}
.prevention-filters{border:0;padding:0;margin:0;flex:1 1 700px}
.prevention-filters legend{padding:0;margin-bottom:12px;color:var(--navy,#0b3557);font-size:18px;font-weight:600}
.prevention-filter-buttons{display:flex;flex-wrap:wrap;gap:10px}
.prevention-shell .prevention-filter{min-height:46px;padding:10px 16px;border:1px solid #c7d6e1;border-radius:10px;color:#244760;background:#fff;line-height:1.35;font-size:16px;font-weight:500;box-shadow:none}
.prevention-shell .prevention-filter:hover{background:#edf6fd;border-color:#6591b4;filter:none}
.prevention-shell .prevention-filter[aria-pressed="true"]{background:var(--blue,#0056a3);color:#fff;border-color:var(--blue,#0056a3);font-weight:600}
.prevention-core-content{display:grid;gap:34px}
.core-issue{overflow:hidden;border:1px solid #d7e0e7;border-radius:12px;background:#fff}
.core-issue summary,.core-rule-card summary{list-style:none;cursor:pointer}
.core-issue summary::-webkit-details-marker,.core-rule-card summary::-webkit-details-marker{display:none}
.core-issue summary{display:grid;grid-template-columns:auto minmax(0,1fr) 24px;align-items:center;gap:12px;padding:18px 20px}
.core-issue-badge{display:inline-flex;align-items:center;min-height:28px;padding:4px 9px;border-radius:999px;background:#fdecea;color:#b42318;font-size:13px;font-weight:700;white-space:nowrap}
.core-issue-heading{display:grid;gap:3px}
.core-issue-heading strong{color:#07365f;font-size:19px;line-height:1.4}
.core-issue-heading>span{color:#526678;font-size:14px;line-height:1.5}
.core-issue-chevron,.core-rule-chevron{display:grid;place-items:center;color:#0056a3;transition:transform 180ms ease}
.core-issue[open] .core-issue-chevron,.core-rule-card[open] .core-rule-chevron{transform:rotate(180deg)}
.core-issue-body{display:grid;gap:18px;padding:0 20px 20px;border-top:1px solid #e6ebf0}
.core-issue-fact{margin:18px 0 0;padding:14px 16px;border-radius:10px;background:#f1f5f8;color:#263543}
.core-issue-actions{display:grid;gap:10px;counter-reset:core-issue;margin:0;padding:0;list-style:none}
.core-issue-actions li{counter-increment:core-issue}
.core-issue-actions a{display:grid;grid-template-columns:30px minmax(0,1fr);gap:0 12px;padding:12px 0;color:#263543;text-decoration:none}
.core-issue-actions a::before{content:counter(core-issue);grid-row:1/3;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#07365f;color:#fff;font-size:14px;font-weight:700}
.core-issue-actions strong{font-size:16px;line-height:1.5}
.core-issue-actions span{color:#526678;font-size:14px;line-height:1.5}
.core-scroll-link{display:inline-flex;align-items:center;justify-content:flex-start;gap:8px;width:max-content;max-width:100%;padding:0;border:0;background:transparent;color:#0056a3;font:inherit;font-weight:700;cursor:pointer;text-align:left}
.core-scroll-link svg{width:18px;height:18px}
.core-issue-help{margin:0;color:#344e62}
.core-issue-help a{color:#0056a3;font-weight:600}
.core-issue-source{margin:0;color:#667786;font-size:13px!important;line-height:1.55!important}
.core-guidelines{scroll-margin-top:24px}
.core-guidelines-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:14px}
.core-guidelines-head h2{margin:0 0 5px;color:#07365f;font-size:26px;line-height:1.35}
.core-guidelines-head p{margin:0;color:#526678}
.core-progress-copy{color:#0056a3;font-size:14px;white-space:nowrap}
.core-progress-track{height:7px;overflow:hidden;border-radius:999px;background:#e6ebf0}
.core-progress-track>span{display:block;width:100%;height:100%;border-radius:inherit;background:#0056a3;transform:scaleX(var(--core-progress));transform-origin:left;transition:transform 180ms ease}
.core-complete-message{margin:12px 0 0;padding:12px 14px;border-radius:10px;background:#edf6fd;color:#07365f;font-weight:700}
.core-rule-list{display:grid;gap:12px;margin-top:20px}
.core-rule-card{overflow:hidden;border:1px solid transparent;border-radius:12px;background:#f1f5f8}
.core-rule-card.is-checked{border-color:#83a9ca}
.core-rule-card summary{display:grid;grid-template-columns:28px minmax(0,1fr) 24px;align-items:center;gap:12px;padding:16px}
.core-checkbox{display:grid;place-items:center;width:28px;height:28px;border:1.6px solid #7f9bb0;border-radius:7px;background:#fff;color:#fff;cursor:pointer}
.core-checkbox[aria-checked="true"]{border-color:#0056a3;background:#0056a3}
.core-checkbox-mark,.core-checkbox-mark svg{display:block;width:18px;height:18px}
.core-checkbox-mark svg{stroke-width:2.4}
.core-rule-heading{display:grid;gap:7px}
.core-rule-heading>strong{color:#07365f;font-size:17px;line-height:1.45}
.core-rule-meta{display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px;color:#526678;font-size:14px}
.core-rule-tag{display:inline-flex;padding:3px 8px;border-radius:999px;background:#fff;color:#0056a3;font-size:13px;font-weight:700}
.core-rule-body{display:grid;gap:14px;padding:0 16px 18px 56px}
.core-rule-photos{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.core-rule-photo-note{margin:8px 0 0;font-size:12.5px;color:#7a8794}
.core-rule-photos figure{margin:0}
.core-rule-photos img{display:block;width:100%;aspect-ratio:3/4;object-fit:contain;border-radius:10px;border:1px solid #dce4ea;background:#e6ebf0}
.core-rule-photos figcaption{margin-top:6px;color:#526678;font-size:13px}
.core-rule-impact{margin:0;color:#344e62}
.core-rule-impact strong{color:#07365f}
.core-rule-steps{margin:0;padding-left:22px}
.core-method-links,.core-official-links{display:flex;flex-wrap:wrap;gap:8px 12px}
.core-method-link{display:inline-flex;align-items:center;min-height:42px;color:#0056a3;font-weight:600}
.prevention-shell .core-official-link{min-height:46px;padding:9px 14px;border:1px solid #0056a3;background:#fff;color:#0056a3;font-size:14px}
.core-reset{display:block;margin:16px 0 0 auto;padding:8px 0;border:0;background:transparent;color:#526678;font:inherit;font-size:14px;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.core-response-link{margin-top:24px}
.prevention-response-link{display:inline-flex;align-items:center;flex-wrap:wrap;gap:6px;min-height:44px;color:#0056a3;font-weight:500;text-decoration:none}
.prevention-response-link span{display:inline-flex;align-items:center;gap:7px;font-weight:600}
.prevention-response-link:hover{text-decoration:underline}
.prevention-group{margin-top:34px}
.prevention-group:first-child{margin-top:0}
.prevention-group>h2{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;margin:0 0 16px;font-size:23px;line-height:1.4;font-weight:600;color:var(--navy,#0b3557)}
.prevention-group-count{font-size:16px;line-height:1.6;color:#526678;font-weight:400}
.prevention-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.prevention-card{display:flex;flex-direction:column;justify-content:space-between;gap:24px;padding:24px;border:1px solid #cddae3;border-radius:14px;background:#fff}
.prevention-card h3{font-size:21px;line-height:1.45;font-weight:600;color:var(--navy,#0b3557);letter-spacing:-.01em;margin:0 0 10px}
.prevention-card .prevention-card-summary{margin:0 0 14px;color:#415563}
.prevention-card .prevention-provider{margin:0 0 12px;color:#526678;font-weight:400}
.prevention-types{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.prevention-type{display:inline-flex;align-items:center;min-height:32px;padding:4px 10px;border-radius:7px;background:#edf4fa;color:#204b6c;font-size:15px;font-weight:500;line-height:1.5}
.prevention-card-action{display:grid;gap:16px}
.prevention-card .prevention-impact{margin:0;color:#345570;font-weight:500}
.prevention-shell .prevention-method{justify-self:start;min-height:48px;max-width:100%;padding:10px 18px;gap:14px;font-size:16px;line-height:1.4;border-width:1px;border-color:#8babca;border-radius:10px;color:#0056a3;background:#fff;white-space:normal}
.prevention-shell .prevention-method:hover{background:#eef6fd;filter:none}
.prevention-notice{margin:0 0 24px;padding:22px;border-radius:12px;background:#edf4fa;color:#29475e;font-size:16px;line-height:1.6}
.prevention-notice h2{font-size:21px;line-height:1.4;margin:0 0 12px}
.prevention-notice p{margin:0 0 18px}
.prevention-detail{max-width:860px}
.prevention-detail .prevention-page-head{margin-bottom:24px}
.prevention-detail .prevention-page-head h1{font-size:clamp(30px,3vw,40px);padding-bottom:20px;margin-bottom:20px;border-bottom:1px solid var(--line,#d8e1e8)}
.prevention-detail .prevention-page-head .prevention-types{margin-top:18px}
.prevention-provider-picker{display:grid;gap:10px;max-width:520px;margin:0 0 32px}
.prevention-provider-picker label{font-weight:600;color:var(--navy,#0b3557);font-size:16px}
.prevention-provider-picker select{min-height:52px;width:100%;max-width:100%;padding:12px 36px 12px 14px;border:1px solid #8ba8bf;border-radius:10px;background:#fff;color:#173b59;font-family:inherit;font-weight:500;cursor:pointer}
.prevention-detail-provider{margin:0 0 28px;font-weight:500;color:#526678}
.prevention-detail-section{margin-top:36px}
.prevention-detail-section h2{font-size:clamp(22px,2.25vw,31px);line-height:1.35;color:var(--navy,#0b3557);font-weight:700;margin:0 0 16px;letter-spacing:-.012em}
.prevention-detail-section h3{font-size:clamp(21px,2.1vw,23px);line-height:1.45;color:#244a69;font-weight:700;margin:0 0 9px}
.prevention-detail-section p,.prevention-detail-section li,.prevention-detail-section dd{font-size:19px;line-height:1.65}
.prevention-detail-section p{margin:0 0 14px;max-width:72ch}
.prevention-detail-section p:last-child{margin-bottom:0}
.prevention-marker{font:inherit;color:inherit;letter-spacing:inherit;padding:.05em .28em;margin:0 -.14em;background:linear-gradient(178.4deg,transparent 0,transparent 9%,rgba(255,225,91,.42) 9%,rgba(255,225,91,.42) 93%,transparent 93%);background-repeat:no-repeat;box-decoration-break:clone;-webkit-box-decoration-break:clone}
.prevention-limits{background:#f1f6fa;border-radius:12px;padding:18px 20px;margin-top:18px}
.prevention-facts{display:grid;gap:20px;margin:0}
.prevention-facts>div{display:grid;gap:7px}
.prevention-facts dt{font-size:clamp(21px,2.1vw,23px);font-weight:700;line-height:1.45;color:#264d6c}
.prevention-facts dd{margin:0;color:#344e62;max-width:72ch}
.prevention-bullets{margin:0;padding-left:22px}
.prevention-bullets li{margin:0 0 8px;padding-left:2px}
.prevention-bullets li:last-child{margin-bottom:0}
.prevention-steps{margin:0;padding-left:24px}
.prevention-steps li{margin-bottom:12px;padding-left:5px;max-width:72ch}
.prevention-steps li::marker{color:#0056a3;font-weight:600;font-variant-numeric:tabular-nums}
.prevention-official-links{display:flex;gap:12px;flex-wrap:wrap}
.prevention-shell .prevention-official{min-height:52px;max-width:100%;display:inline-flex;flex-wrap:wrap;justify-content:center;gap:9px;padding:12px 20px;border-radius:12px;white-space:normal;font-size:16px;line-height:1.5}
.prevention-link-context{font-size:16px;font-weight:400;white-space:nowrap}
.prevention-sources{display:grid;gap:8px;padding:0;margin:0 0 18px;list-style:none}
.prevention-source-link{display:flex;flex-wrap:wrap;align-items:center;gap:8px;min-height:44px;padding:8px 0;color:#0056a3;font-weight:500;text-decoration:underline;text-decoration-thickness:1px}
.prevention-checked{display:flex;flex-wrap:wrap;gap:6px 12px;color:#344e62}
.prevention-checked time{font-variant-numeric:tabular-nums}
.prevention-detail-footer{display:flex;align-items:center;justify-content:flex-start;gap:18px;flex-wrap:wrap;margin-top:38px}
.prevention-detail-footer>.button{min-height:48px;max-width:100%}
@media(max-width:700px){
  .prevention-shell{padding:28px 16px 56px}
  .prevention-back{margin-bottom:20px}
  .prevention-page-head{margin-bottom:24px}
  .prevention-page-head h1{font-size:28px}
  .prevention-detail .prevention-page-head h1{font-size:30px}
  .prevention-explore{gap:14px;margin-bottom:26px}
  .prevention-filters{flex-basis:100%}
  .prevention-filter-buttons{gap:8px}
  .prevention-shell .prevention-filter{padding:10px 13px;min-height:46px}
  .prevention-card-grid{grid-template-columns:minmax(0,1fr);gap:14px}
  .prevention-card{padding:20px;gap:20px}
  .prevention-card h3{font-size:20px}
  .prevention-group{margin-top:30px}
  .prevention-group>h2{font-size:22px}
  .prevention-shell .prevention-method{width:100%;justify-self:stretch}
  .prevention-detail-section{margin-top:30px}
  .prevention-provider-picker{max-width:none;margin-bottom:28px}
  .prevention-limits{padding:16px}
  .prevention-official-links{display:grid;grid-template-columns:minmax(0,1fr)}
  .prevention-shell .prevention-official{width:100%}
  .prevention-detail-footer{display:grid;grid-template-columns:minmax(0,1fr);gap:16px}
  .prevention-detail-footer .prevention-response-link{justify-self:start}
  .core-issue summary{grid-template-columns:minmax(0,1fr) 24px;padding:16px}
  .core-issue-badge{grid-column:1}
  .core-issue-heading{grid-column:1}
  .core-issue-chevron{grid-column:2;grid-row:1/3}
  .core-issue-body{padding:0 16px 18px}
  .core-guidelines-head{align-items:flex-start;flex-direction:column;gap:8px}
  .core-rule-card summary{grid-template-columns:28px minmax(0,1fr) 22px;padding:15px}
  .core-rule-body{padding:0 15px 17px}
  .core-rule-photos figcaption{font-size:12.5px;line-height:1.4}
  .core-method-links,.core-official-links{display:grid;grid-template-columns:minmax(0,1fr)}
  .prevention-shell .core-official-link{width:100%}
}
@media(prefers-reduced-motion:reduce){
  .prevention-shell *, .prevention-shell *::before,.prevention-shell *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
  .prevention-shell .button{transform:none!important;opacity:1!important}
}
.service-card:has(.prevention-home-copy){flex-direction:column;gap:14px}.prevention-home-copy{display:block;max-width:22em;padding-bottom:64px;font-size:17px;line-height:1.6;font-weight:400;word-break:keep-all;color:#fff}


/* D:FENCE prevention guidance: scoped styles for the existing prototype. */
