:root{--navy:#14284C;--royal:#3659A5;--accent:#E99A60;--bg:#F7F9FD;--ink:#1f2633;--muted:#5b6475;--bar:56px;color-scheme:light}
*{box-sizing:border-box}
html,body{height:100%;margin:0}
body.hpdsr{font-family:Inter,"Segoe UI",system-ui,-apple-system,Roboto,Arial,sans-serif;background:#e6eaf2;color:var(--ink);overflow:hidden;display:flex;flex-direction:column}
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.hpdsr-bar{height:var(--bar);flex:0 0 auto;display:flex;align-items:center;gap:6px;padding:0 10px;background:var(--navy);color:#fff;box-shadow:0 2px 10px rgba(10,20,40,.25);z-index:5}
.hpdsr-btn{appearance:none;border:0;background:transparent;color:inherit;height:38px;min-width:38px;padding:0 8px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;gap:6px;font:600 13px/1 inherit;cursor:pointer;text-decoration:none}
.hpdsr-btn svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.hpdsr-btn:hover,.hpdsr-btn[aria-pressed=true]{background:rgba(255,255,255,.14)}
.hpdsr-btn:focus-visible{outline:2px solid var(--accent);outline-offset:1px}
.hpdsr-back span{font-size:13px}
.hpdsr-title{flex:1 1 auto;min-width:0;display:flex;align-items:center;gap:8px;padding:0 6px}
.hpdsr-title b{font-weight:600;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hpdsr-tag{flex:0 0 auto;background:var(--accent);color:var(--navy);font-size:11px;font-weight:700;padding:3px 8px;border-radius:20px;text-transform:uppercase;letter-spacing:.04em}
.hpdsr-pager,.hpdsr-zoom{display:flex;align-items:center;gap:2px;font-size:13px}
.hpdsr-pager input{width:46px;height:30px;border:0;border-radius:6px;text-align:center;font:600 13px/1 inherit;background:rgba(255,255,255,.14);color:#fff}
.hpdsr-pager input:focus{outline:2px solid var(--accent)}
.hpdsr-pct{min-width:56px;font-variant-numeric:tabular-nums}
.hpdsr-body{flex:1 1 auto;display:flex;min-height:0;position:relative}
.hpdsr-side{width:220px;flex:0 0 auto;background:#fff;border-right:1px solid #d8deea;display:flex;flex-direction:column;min-height:0}
.hpdsr-side[hidden]{display:none}
.hpdsr-side__tabs{display:flex;border-bottom:1px solid #e3e8f2}
.hpdsr-side__tabs button{flex:1;border:0;background:none;padding:12px 6px;font:600 13px inherit;color:var(--muted);cursor:pointer;border-bottom:2px solid transparent}
.hpdsr-side__tabs button[aria-selected=true]{color:var(--navy);border-bottom-color:var(--accent)}
.hpdsr-thumbs,.hpdsr-outline{overflow:auto;flex:1;padding:12px}
.hpdsr-thumbs{display:flex;flex-direction:column;align-items:center;gap:12px}
.hpdsr-thumbs[hidden],.hpdsr-outline[hidden]{display:none}
.hpdsr-thumb{border:2px solid transparent;background:#f2f5fb;border-radius:6px;padding:4px;width:166px;min-height:120px;cursor:pointer;display:flex;flex-direction:column;align-items:center;gap:4px}
.hpdsr-thumb canvas{width:150px;height:auto;display:block;box-shadow:0 1px 4px rgba(0,0,0,.15);background:#fff}
.hpdsr-thumb span{font-size:12px;color:var(--muted)}
.hpdsr-thumb.is-on{border-color:var(--accent)}
.hpdsr-outline ul{list-style:none;margin:0;padding:0}
.hpdsr-outline ul ul{padding-left:14px}
.hpdsr-outline button{display:flex;justify-content:space-between;gap:8px;width:100%;text-align:left;border:0;background:none;padding:7px 6px;border-radius:6px;font:500 13px/1.35 inherit;color:var(--ink);cursor:pointer}
.hpdsr-outline button:hover{background:#eef2fa}
.hpdsr-outline small{color:var(--muted)}
.hpdsr-search{position:absolute;right:12px;top:10px;width:min(360px,calc(100% - 24px));max-height:calc(100% - 20px);background:#fff;border-radius:12px;box-shadow:0 10px 30px rgba(10,20,40,.25);z-index:6;display:flex;flex-direction:column;padding:12px}
.hpdsr-search[hidden]{display:none}
.hpdsr-search form{display:flex;gap:6px}
.hpdsr-search input{flex:1;height:38px;border:1px solid #cfd6e4;border-radius:8px;padding:0 10px;font:14px inherit}
.hpdsr-search .hpdsr-btn{background:var(--navy);color:#fff}
.hpdsr-search__st{margin:8px 2px;font-size:12px;color:var(--muted)}
.hpdsr-results{list-style:none;margin:0;padding:0;overflow:auto}
.hpdsr-results button{display:block;width:100%;text-align:left;border:0;background:none;padding:8px;border-radius:6px;font:13px/1.4 inherit;color:var(--ink);cursor:pointer}
.hpdsr-results button:hover{background:#eef2fa}
.hpdsr-results small{display:inline-block;min-width:40px;color:var(--royal);font-weight:700}
.hpdsr-results mark,.textLayer mark{background:rgba(233,154,96,.55);color:transparent;border-radius:2px}
.hpdsr-results mark{color:inherit}
.hpdsr-view{flex:1 1 auto;overflow:auto;position:relative;outline:none;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}
.hpdsr-pages{display:flex;flex-direction:column;align-items:center;gap:14px;padding:16px 8px 120px;min-width:min-content}
.hpdsr-page{position:relative;background:#fff;box-shadow:0 2px 10px rgba(10,20,40,.18);flex:0 0 auto;--scale-factor:1}
.hpdsr-page canvas{display:block}
.hpdsr-page .hpdsr-err{position:absolute;inset:0;display:flex;align-items:center;justify-content:center}
.hpdsr-load{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;background:#e6eaf2;z-index:3;text-align:center;padding:20px}
.hpdsr-load[hidden]{display:none}
.hpdsr-spin{width:42px;height:42px;border:4px solid #c9d2e4;border-top-color:var(--navy);border-radius:50%;animation:hpdsrspin .8s linear infinite}
@keyframes hpdsrspin{to{transform:rotate(360deg)}}
.hpdsr-loadbar{width:220px;height:4px;background:#c9d2e4;border-radius:4px;overflow:hidden}
.hpdsr-loadbar span{display:block;height:100%;width:0;background:var(--accent);transition:width .2s}
.hpdsr-err{color:#a12c2c;font-weight:600}
.hpdsr-load .hpdsr-btn{background:var(--navy);color:#fff}
.hpdsr-muted{color:var(--muted);font-size:13px}
.hpdsr-toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);background:var(--navy);color:#fff;padding:10px 16px;border-radius:10px;font-size:14px;z-index:9;box-shadow:0 6px 20px rgba(0,0,0,.25)}
.hpdsr--sample .hpdsr-toast{bottom:96px}
.hpdsr-toast[hidden]{display:none}
.hpdsr-cta{position:fixed;left:0;right:0;bottom:0;z-index:8;background:linear-gradient(90deg,#14284C,#24407a);color:#fff;display:flex;align-items:center;justify-content:center;gap:18px;flex-wrap:wrap;padding:12px 16px calc(12px + env(safe-area-inset-bottom));box-shadow:0 -6px 20px rgba(10,20,40,.25)}
.hpdsr-cta p{margin:0;font-size:16px}
.hpdsr-cta div{display:flex;gap:10px;flex-wrap:wrap;justify-content:center}
.hpdsr-cta__b{display:inline-flex;align-items:center;height:44px;padding:0 18px;border-radius:10px;font-weight:700;font-size:14px;text-decoration:none;background:#fff;color:var(--navy)}
.hpdsr-cta__b--a{background:var(--accent);color:var(--navy)}
.hpdsr-cta__b:focus-visible{outline:3px solid #fff;outline-offset:2px}
@media (max-width:899px){
 .hpdsr-side{position:absolute;inset:0 auto 0 0;z-index:7;box-shadow:6px 0 20px rgba(0,0,0,.2);width:min(260px,82vw)}
 .hpdsr-back span,.hpdsr-zoom [data-act=zoomout],.hpdsr-zoom [data-act=zoomin]{display:none}
}
@media (max-width:620px){
 .hpdsr-title{display:none}
 .hpdsr-bar{gap:2px;padding:0 4px;justify-content:space-between}
 .hpdsr-pager{margin-right:auto}
 .hpdsr-cta{gap:8px;padding:8px 10px calc(8px + env(safe-area-inset-bottom))}
 .hpdsr-cta p{font-size:13px;width:100%;text-align:center}
 .hpdsr-cta div{flex-wrap:nowrap;width:100%;gap:8px}
 .hpdsr-cta__b{flex:1 1 0;justify-content:center;text-align:center;height:auto;min-height:40px;padding:6px 8px;font-size:12.5px;line-height:1.2}
}
@media print{.hpdsr-bar,.hpdsr-side,.hpdsr-cta,.hpdsr-search{display:none}}
/* pdf.js text layer (from pdf.js viewer.css, Apache-2.0) */
.textLayer{
  position:absolute;
  text-align:initial;
  inset:0;
  overflow:clip;
  opacity:1;
  line-height:1;
  -webkit-text-size-adjust:none;
     -moz-text-size-adjust:none;
          text-size-adjust:none;
  forced-color-adjust:none;
  transform-origin:0 0;
  caret-color:CanvasText;
  z-index:0;
}

.textLayer.highlighting{
    touch-action:none;
  }

.textLayer :is(span,br){
    color:transparent;
    position:absolute;
    white-space:pre;
    cursor:text;
    transform-origin:0% 0%;
  }

.textLayer  > :not(.markedContent),.textLayer .markedContent span:not(.markedContent){
    z-index:1;
  }

.textLayer span.markedContent{
    top:0;
    height:0;
  }

.textLayer span[role="img"]{
    -webkit-user-select:none;
       -moz-user-select:none;
            user-select:none;
    cursor:default;
  }

.textLayer .highlight{
    --highlight-bg-color:rgb(180 0 170 / 0.25);
    --highlight-selected-bg-color:rgb(0 100 0 / 0.25);
    --highlight-backdrop-filter:none;
    --highlight-selected-backdrop-filter:none;
  }

@media screen and (forced-colors: active){

.textLayer .highlight{
      --highlight-bg-color:transparent;
      --highlight-selected-bg-color:transparent;
      --highlight-backdrop-filter:var(--hcm-highlight-filter);
      --highlight-selected-backdrop-filter:var(
        --hcm-highlight-selected-filter
      );
  }
    }

.textLayer .highlight{

    margin:-1px;
    padding:1px;
    background-color:var(--highlight-bg-color);
    -webkit-backdrop-filter:var(--highlight-backdrop-filter);
            backdrop-filter:var(--highlight-backdrop-filter);
    border-radius:4px;
  }

.appended:is(.textLayer .highlight){
      position:initial;
    }

.begin:is(.textLayer .highlight){
      border-radius:4px 0 0 4px;
    }

.end:is(.textLayer .highlight){
      border-radius:0 4px 4px 0;
    }

.middle:is(.textLayer .highlight){
      border-radius:0;
    }

.selected:is(.textLayer .highlight){
      background-color:var(--highlight-selected-bg-color);
      -webkit-backdrop-filter:var(--highlight-selected-backdrop-filter);
              backdrop-filter:var(--highlight-selected-backdrop-filter);
    }

.textLayer ::-moz-selection{
    background:rgba(0 0 255 / 0.25);
    background:color-mix(in srgb, AccentColor, transparent 75%);
  }

.textLayer ::selection{
    background:rgba(0 0 255 / 0.25);
    background:color-mix(in srgb, AccentColor, transparent 75%);
  }

.textLayer br::-moz-selection{
    background:transparent;
  }

.textLayer br::selection{
    background:transparent;
  }

.textLayer .endOfContent{
    display:block;
    position:absolute;
    inset:100% 0 0;
    z-index:0;
    cursor:default;
    -webkit-user-select:none;
       -moz-user-select:none;
            user-select:none;
  }

.textLayer.selecting .endOfContent{
    top:0;
  }
