:root {
  --pd-ink: #102b4c;
  --pd-ink-deep: #071a32;
  --pd-muted: #607187;
  --pd-line: #dbe3eb;
  --pd-canvas: #f2f5f8;
  --pd-green: #087147;
  --pd-gold: #bd913b;
}

.pd-page { min-height: calc(100vh - 82px); padding: clamp(18px, 3.5vw, 46px) 0 32px; overflow-x: clip; background: var(--pd-canvas); color: var(--nc-text, #0b1f3a); }
.pd-container { width: min(100% - 36px, 1180px); max-width: 100%; margin-inline: auto; }
.pd-page { --pd-ink: var(--pol-navy, #071a37); --pd-green: var(--pol-green, #0d7a46); --pd-line: var(--pol-border, #d7e4dc); --pd-canvas: #f5f8f6; }
.pd-page .pd-header { padding: clamp(18px, 3vw, 28px); border: 1px solid var(--pd-line); border-radius: 16px; background: #fff; box-shadow: var(--pol-shadow); }
.pd-heading h1.pd-part-number { margin: 12px 0 8px; font-size: clamp(1.5rem, 3.4vw, 2.35rem); }
.pd-report-title { margin: 0; max-width: 760px; color: var(--pd-muted); font-size: 1rem; line-height: 1.6; overflow-wrap: anywhere; }
.pd-button:focus-visible { outline: 3px solid var(--pd-green); outline-offset: 3px; }
.pd-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: clamp(20px, 3vw, 36px); color: var(--pd-muted); font-size: .79rem; }
.pd-breadcrumb a, .pd-page-footer a { color: var(--pd-ink); text-decoration: none; }
.pd-breadcrumb a:hover, .pd-page-footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.pd-breadcrumb .pd-back-link { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 0 14px; border: 1px solid #a8c5b5; border-radius: 9px; background: #fff; color: #175c3e; font-weight: 700; }
.pd-breadcrumb .pd-back-link:hover { background: #e8f3ed; border-color: #28704a; text-decoration: none; }
.pd-back-link:focus-visible { outline: 3px solid #28704a; outline-offset: 3px; }
.pd-back-link svg { flex-shrink: 0; }
.pd-breadcrumb [aria-current="page"] { overflow: hidden; color: var(--pd-ink); font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.pd-header { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding: 0 0 26px; border-bottom: 1px solid var(--pd-line); }
.pd-heading { min-width: 0; }
.pd-eyebrow, .pd-kicker { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--pd-green); font-size: .7rem; font-weight: 800; letter-spacing: .105em; text-transform: uppercase; }
.pd-status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--pd-green); box-shadow: 0 0 0 3px rgb(8 113 71 / 11%); }
.pd-separator { color: #aab6c2; }
.pd-part-number { margin: 12px 0 4px; color: var(--pd-ink); font: 800 clamp(1.5rem, 3.4vw, 2.35rem)/1.1 var(--nc-font-ui, "Segoe UI", sans-serif); letter-spacing: -.04em; }
.pd-part-number span { color: #7c8da0; font-weight: 600; }
.pd-heading h1 { max-width: 980px; margin: 4px 0 0; color: var(--pd-ink-deep); font: 700 clamp(1.12rem, 2vw, 1.5rem)/1.35 var(--nc-font-ui, "Segoe UI", sans-serif); letter-spacing: -.02em; text-wrap: pretty; }
.pd-metadata { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 18px 0 0; }
.pd-metadata div { min-width: 100px; max-width: 360px; }
.pd-metadata dt { color: #78889a; font-size: .66rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.pd-metadata dd { margin: 3px 0 0; color: #2b415a; font-size: .84rem; font-weight: 650; overflow-wrap: anywhere; }
.pd-actions, .pd-document-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; }
.pd-button, .pd-icon-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 12px; border: 1px solid var(--pd-line); border-radius: 8px; background: #fff; color: #29415b; font: 700 .78rem/1 var(--nc-font-ui, "Segoe UI", sans-serif); text-decoration: none; white-space: nowrap; cursor: pointer; transition: border-color .16s ease, background .16s ease, color .16s ease; }
.pd-button:hover, .pd-icon-button:hover { border-color: #aebdca; background: #f7f9fb; }
.pd-button--primary { border-color: var(--pd-ink); background: var(--pd-ink); color: #fff; }
.pd-button--primary:hover { border-color: #17446e; background: #17446e; color: #fff; }
.pd-document-actions a.pd-button--primary, .pd-document-actions a.pd-button--primary:hover { color: #fff; }
.pd-icon-button { width: 40px; padding: 0; font-size: 1.15rem; }
.pd-document { margin-top: 24px; overflow: hidden; border: 1px solid #d8e1e9; border-radius: 13px; background: #fff; box-shadow: 0 3px 12px rgb(10 36 64 / 5%); }
.pd-document-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; padding: 12px 16px; border-bottom: 1px solid var(--pd-line); }
.pd-document-identity { display: flex; align-items: center; gap: 12px; min-width: 0; }
.pd-file-mark { display: grid; flex: 0 0 42px; width: 42px; height: 48px; place-items: center; border: 1px solid #eed2d2; border-radius: 6px; background: #fff7f7; color: #a44749; font-size: .61rem; font-weight: 900; letter-spacing: .04em; }
.pd-document-identity > div { min-width: 0; }
.pd-document-identity h2 { overflow: hidden; margin: 0; color: #213a54; font-size: .84rem; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.pd-document-identity p { margin: 4px 0 0; color: var(--pd-muted); font-size: .71rem; }
.pd-viewer { position: relative; height: auto; aspect-ratio: 210 / 297; min-height: 1123px; overflow: hidden; background: #dce2e8; }
.pd-viewer iframe { position: absolute; inset: 0; z-index: 1; display: block; width: 100%; height: 100%; border: 0; background: #e2e6eb; }
.pd-viewer:fullscreen { width: 100vw; height: 100vh; height: 100dvh; border-radius: 0; }
.pd-viewer-loading { position: absolute; z-index: 3; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; background: #e8edf2; color: #526477; font-size: .8rem; pointer-events: none; transition: opacity .2s ease, visibility .2s ease; }
.pd-viewer-loading.is-hidden { visibility: hidden; opacity: 0; }
.pd-skeleton-page { width: min(48%, 360px); aspect-ratio: .72; border: 1px solid #d1d9e1; border-radius: 3px; background: linear-gradient(100deg, #f8fafb 28%, #e6ebf0 40%, #f8fafb 55%); background-size: 220% 100%; box-shadow: 0 5px 18px rgb(24 42 60 / 8%); animation: pd-shimmer 1.5s linear infinite; }
@keyframes pd-shimmer { to { background-position-x: -220%; } }
.pd-viewer-error, .pd-viewer-empty { position: absolute; z-index: 3; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 24px; background: #eef2f5; color: #526477; text-align: center; }
.pd-viewer-error strong, .pd-viewer-empty h3 { margin: 0; color: #203a55; font-size: 1rem; }
.pd-viewer-empty { position: relative; min-height: 300px; flex-direction: row; gap: 18px; }
.pd-viewer-empty p { max-width: 420px; margin: 5px 0 0; font-size: .86rem; }
.pd-empty-icon { display: grid; width: 52px; height: 60px; place-items: center; border: 1px solid #d7e0e8; border-radius: 7px; background: white; color: #9a5555; font-size: .7rem; font-weight: 900; }
.pd-related { margin-top: clamp(34px, 6vw, 68px); }
.pd-related-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; padding-bottom: 17px; border-bottom: 1px solid var(--pd-line); }
.pd-related-heading h2 { margin: 5px 0 0; color: var(--pd-ink); font-size: clamp(1.4rem, 2.5vw, 1.9rem); font-weight: 750; letter-spacing: -.035em; }
.pd-related-heading > p { margin: 0 0 3px; color: var(--pd-muted); font-size: .82rem; }
.pd-content-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 28px; }
.pd-content-nav a { padding: 8px 12px; border: 1px solid #d9e2e9; border-radius: 999px; background: #fff; color: #31506d; font-size: .75rem; font-weight: 700; text-decoration: none; transition: background .16s ease, border-color .16s ease; }
.pd-content-nav a:hover { border-color: #a7bacb; background: #f8fafb; }
.pd-media-section { padding-top: 26px; margin-top: 25px; border-top: 1px solid var(--pd-line); scroll-margin-top: 24px; }
.pd-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.pd-section-heading h3 { margin: 0; color: var(--pd-ink); font-size: 1.12rem; font-weight: 750; letter-spacing: -.02em; }
.pd-section-heading > span { color: var(--pd-muted); font-size: .74rem; }
.pd-related .nc-news-media--hero { max-width: 920px; margin: 0 auto 20px; }
.pd-related .nc-news-media--after-body { margin-top: 0; }
.pd-related .nc-news-media__gallery { padding-top: 14px; border-top: 0; }
.pd-related .nc-news-media__gallery-heading { display: none; }
.pd-related .nc-news-media__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pd-video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.pd-video-card { min-width: 0; overflow: hidden; border: 1px solid var(--pd-line); border-radius: 10px; background: #fff; }
.pd-video-open { position: relative; display: grid; width: 100%; min-height: 190px; place-items: center; overflow: hidden; border: 0; background: radial-gradient(ellipse at 50% 120%, #365675, #142c46 68%); color: white; cursor: pointer; }
.pd-video-open::before, .pd-video-open::after { position: absolute; inset: 0; content: ""; pointer-events: none; }
.pd-video-open::before { background: linear-gradient(140deg, transparent 48%, rgb(255 255 255 / 5%) 48.2%, transparent 75%); }
.pd-video-play { display: grid; width: 52px; height: 52px; place-items: center; padding-left: 3px; border: 1px solid rgb(255 255 255 / 55%); border-radius: 50%; background: rgb(255 255 255 / 13%); font-size: 1rem; transition: transform .18s ease, background .18s ease; }
.pd-video-open:hover .pd-video-play { transform: scale(1.07); background: rgb(255 255 255 / 24%); }
.pd-video-label { position: absolute; right: 12px; bottom: 10px; left: 12px; color: rgb(255 255 255 / 77%); font-size: .66rem; text-align: left; }
.pd-video-meta { display: grid; gap: 4px; padding: 12px 14px 14px; }
.pd-video-meta strong { overflow: hidden; color: #263f58; font-size: .8rem; text-overflow: ellipsis; white-space: nowrap; }
.pd-video-meta span { color: var(--pd-muted); font-size: .68rem; }
.pd-audio-list { display: grid; gap: 10px; }
.pd-audio-card { display: flex; align-items: start; gap: 14px; padding: 15px; border: 1px solid var(--pd-line); border-radius: 10px; background: #fff; }
.pd-audio-mark { display: grid; flex: 0 0 42px; width: 42px; height: 42px; place-items: center; border-radius: 9px; background: #edf4f1; color: var(--pd-green); font-size: 1.25rem; }
.pd-audio-content { min-width: 0; flex: 1; }
.pd-audio-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 8px; }
.pd-audio-meta strong { overflow: hidden; color: #263f58; font-size: .8rem; text-overflow: ellipsis; white-space: nowrap; }
.pd-audio-meta span { flex: 0 0 auto; color: var(--pd-muted); font-size: .68rem; }
.pd-audio-content audio { display: block; width: 100%; height: 38px; }
.pd-media-error { margin: 6px 0 0; color: #9a3038; font-size: .74rem; }
.pd-link-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pd-link-card { display: flex; align-items: start; gap: 12px; min-width: 0; padding: 16px; border: 1px solid var(--pd-line); border-radius: 10px; background: #fff; }
.pd-link-mark { display: grid; flex: 0 0 37px; width: 37px; height: 37px; place-items: center; border-radius: 8px; background: #eff3f7; color: #3e5871; }
.pd-link-copy { min-width: 0; }
.pd-link-copy > span { color: var(--pd-green); font-size: .65rem; font-weight: 800; letter-spacing: .04em; }
.pd-link-copy h4 { margin: 3px 0 0; color: #263f58; font-size: .85rem; font-weight: 750; overflow-wrap: anywhere; }
.pd-link-copy p { margin: 5px 0 0; color: var(--pd-muted); font-size: .76rem; }
.pd-link-copy a { display: inline-block; margin-top: 10px; color: #155a8c; font-size: .74rem; font-weight: 750; text-decoration: none; }
.pd-link-copy a:hover { text-decoration: underline; }
.pd-page-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 40px; padding-top: 17px; border-top: 1px solid var(--pd-line); color: var(--pd-muted); font-size: .72rem; }
.pd-page-footer a { display: inline-flex; gap: 8px; align-items: center; font-weight: 750; }
.pd-video-dialog { width: min(100% - 28px, 1000px); max-width: 1000px; padding: 0; overflow: hidden; border: 1px solid rgb(255 255 255 / 18%); border-radius: 13px; background: #fff; color: #172f48; box-shadow: 0 28px 90px rgb(1 14 28 / 40%); }
.pd-video-dialog::backdrop { background: rgb(4 19 34 / 78%); backdrop-filter: blur(3px); }
.pd-video-dialog__panel > header { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 14px 17px; }
.pd-video-dialog__panel > header span { color: var(--pd-green); font-size: .64rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.pd-video-dialog__panel > header h2 { margin: 2px 0 0; font-size: .98rem; }
.pd-video-dialog__panel > header button { width: 38px; height: 38px; border: 1px solid var(--pd-line); border-radius: 50%; background: #fff; color: #334c65; font-size: 1.35rem; cursor: pointer; }
.pd-video-dialog__stage { display: grid; min-height: 200px; aspect-ratio: 16 / 9; place-items: center; background: #081a2d; }
.pd-video-dialog__stage video, .pd-video-dialog__stage iframe { display: block; width: 100%; height: 100%; border: 0; background: #081a2d; }
.pd-video-dialog__panel > p { margin: 0; padding: 12px 17px; color: #9a3038; font-size: .8rem; }
.pd-video-dialog__panel > p a { color: #155a8c; }
.pd-button:focus-visible, .pd-icon-button:focus-visible, .pd-video-open:focus-visible, .pd-content-nav a:focus-visible, .pd-video-dialog button:focus-visible { outline: 3px solid #1684c7; outline-offset: 3px; }

@media (max-width: 900px) {
  .pd-header { align-items: start; flex-direction: column; }
  .pd-actions { justify-content: flex-start; }
  .pd-document-toolbar { align-items: flex-start; flex-direction: column; }
  .pd-document-actions { width: 100%; justify-content: flex-start; }
  .pd-viewer { height: auto; min-height: 800px; }
  .pd-related .nc-news-media__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pd-video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .pd-page { padding-top: 14px; }
  .pd-container { width: min(100% - 24px, 1440px); }
  .pd-breadcrumb { gap: 7px; margin-bottom: 20px; font-size: .72rem; }
  .pd-header { gap: 16px; padding-bottom: 18px; }
  .pd-eyebrow { flex-wrap: wrap; font-size: .62rem; }
  .pd-part-number { margin-top: 10px; font-size: 1.6rem; }
  .pd-metadata { gap: 11px 16px; }
  .pd-metadata { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px 14px; }
  .pd-metadata div { min-width: 0; max-width: none; }
  .pd-metadata dd { font-size: .78rem; }
  .pd-actions { display: grid; width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pd-actions .pd-button { width: 100%; min-width: 0; padding-inline: 8px; font-size: .72rem; white-space: normal; }
  .pd-document { margin-top: 18px; border-radius: 10px; }
  .pd-document-toolbar { gap: 12px; padding: 13px; }
  .pd-document-identity h2 { font-size: .76rem; }
  .pd-document-actions { display: grid; width: 100%; min-width: 0; max-width: 100%; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 36px; gap: 6px; }
  .pd-document-actions .pd-button { width: 100%; min-width: 0; padding-inline: 6px; font-size: .66rem; white-space: normal; }
  .pd-document-actions .pd-button span:last-child { min-width: 0; overflow-wrap: anywhere; }
  .pd-document-actions .pd-icon-button { width: 36px; }
  .pd-viewer { height: auto; min-height: 560px; }
  .pd-viewer-empty { min-height: 240px; align-items: flex-start; padding: 25px 17px; }
  .pd-related { margin-top: 37px; }
  .pd-related-heading { align-items: flex-start; flex-direction: column; gap: 5px; }
  .pd-content-nav { gap: 7px; margin: 14px 0 20px; }
  .pd-content-nav a { padding: 7px 10px; font-size: .69rem; }
  .pd-media-section { margin-top: 20px; padding-top: 20px; }
  .pd-related .nc-news-media--hero { margin-bottom: 12px; }
  .pd-related .nc-news-media__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .pd-related .nc-news-media__tile .nc-news-media__open { min-height: 0; aspect-ratio: 1 / 1; }
  .pd-video-grid, .pd-link-grid { grid-template-columns: 1fr; }
  .pd-video-open { min-height: 175px; }
  .pd-audio-card { gap: 10px; padding: 12px; }
  .pd-audio-meta { align-items: flex-start; flex-direction: column; gap: 2px; }
  .pd-page-footer { align-items: flex-start; flex-direction: column; margin-top: 30px; }
  .pd-video-dialog { width: calc(100% - 18px); border-radius: 10px; }
  .pd-video-dialog__stage { min-height: 180px; }
}
@media (prefers-reduced-motion: reduce) {
  .pd-page *, .pd-page *::before, .pd-video-dialog *, .pd-video-dialog *::before { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
@media print {
  .police-hero-section.police-hero-artwork { display: none !important; }
  .pd-page { padding: 0; background: #fff; }
  .pd-container { width: 100%; }
  .pd-breadcrumb, .pd-actions, .pd-document-toolbar, .pd-related, .pd-page-footer { display: none !important; }
  .pd-header { padding: 0 0 12px; }
  .pd-document { margin: 0; border: 0; box-shadow: none; }
  .pd-viewer { height: 95vh; }
}

/* Un solo desplazamiento durante la lectura ampliada: el del PDF. */
.pd-document.pd-reading-mode {
  position: fixed; inset: 0; z-index: 10000; display: flex; flex-direction: column;
  width: 100%; height: 100vh; height: 100dvh; margin: 0; border: 0; border-radius: 0;
  overflow: hidden; background: #fff;
}
.pd-reading-mode .pd-document-toolbar { flex: 0 0 auto; min-height: 0; background: #fff; }
.pd-reading-mode .pd-viewer { flex: 1 1 0; min-height: 0; height: auto; aspect-ratio: auto; }
.pd-reading-mode [data-pd-reading-toggle] { border-color: var(--pd-green); color: #fff; background: var(--pd-green); }
@media(max-width:600px) {
  .pd-reading-mode .pd-document-toolbar { gap: 8px; padding: 10px 12px; }
  .pd-reading-mode .pd-document-identity { display: none; }
  .pd-reading-mode .pd-document-actions { width: 100%; justify-content: center; }
  .pd-reading-mode .pd-button { white-space: normal; min-height: 44px; }
}
