#toknav-cert-library {
  color-scheme: light;
  --bg: #f3f6fa;
  --surface: #fff;
  --ink: #132239;
  --muted: #516178;
  --brand: #2221a7;
  --border: #d9e1ed;
  --active: #e9edff;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
  color: var(--ink);
  background: var(--bg);
}

#toknav-cert-library {
* { box-sizing: border-box; }

button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: var(--brand); }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.shell { width: min(1376px, calc(100% - 88px)); margin: 0 auto; padding: 51px 0 38px; }
.eyebrow { margin: 0 0 15px; color: var(--brand); font-size: 12px !important; font-weight: 750; letter-spacing: .115em; text-transform: uppercase; display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; }
.intro-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 36px; align-items: end; }
.intro-grid .cert-title { margin: 0; font-size: clamp(37px, 3.5vw, 55px) !important; line-height: 1.04 !important; letter-spacing: -.048em; }
.intro-grid > p { margin: 0 0 4px; color: var(--muted); font-size: clamp(15px, 1.3vw, 18px) !important; line-height: 1.55 !important; max-width: 440px; }
.library { margin-top: 33px; display: grid; grid-template-columns: clamp(224px, 20%, 270px) minmax(0, 1fr); background: var(--surface); border: 1px solid var(--border); border-radius: 15px; overflow: hidden; align-items: stretch; }
.document-panel { display: grid; grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); min-width: 0; }
.document-panel:focus-visible { outline-offset: -3px; }
.catalog { min-width: 0; background: #f9fafe; border-right: 1px solid var(--border); }
.scan { margin: 0; background: #f5f7fc; border-right: 1px solid var(--border); }
.column-heading { min-height: 52px; padding: 0 21px; display: flex; align-items: center; justify-content: space-between; gap: 8px; border-bottom: 1px solid var(--border); background: #fff; }
.column-heading h2 { margin: 0; font-size: 13px !important; font-weight: 720; letter-spacing: .025em; }
.column-heading span { color: var(--muted); font-size: 11px !important; white-space: nowrap; }
#document-list { padding: 7px 8px 9px; }
.doc-tab { position: relative; display: grid; align-content: center; gap: 3px; width: 100%; text-align: left; min-height: 45px; padding: 5px 23px 5px 12px; border: 0; border-bottom: 1px solid #e6eaf2; background: transparent; color: var(--ink); cursor: pointer; line-height: 1.2 !important; }
.doc-tab:last-child { border-bottom-color: transparent; }
.doc-tab strong { font-size: 13px !important; font-weight: 700; }
.doc-tab small { color: var(--muted); font-size: 11px !important; }
.doc-tab::after { position: absolute; right: 12px; top: 50%; content: ""; width: 5px; height: 5px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: translateY(-50%) rotate(45deg); color: #687991; }
.doc-tab:hover { background: #f0f3fb; }
.doc-tab[aria-selected="true"] { background: var(--active); color: var(--brand); border-radius: 6px; box-shadow: inset 3px 0 var(--brand); border-bottom-color: transparent; }
.doc-tab[aria-selected="true"]::after, .doc-tab[aria-selected="true"] small { color: var(--brand); }
.doc-tab:focus-visible { z-index: 1; outline-offset: -2px; }
.scan-body { padding: 25px 22px 23px; display: grid; gap: 15px; justify-items: center; }
.paper { width: 100%; min-height: 380px; display: grid; place-items: center; }
.paper img { display: block; width: auto; height: auto; max-width: 100%; max-height: 490px; background: white; border: 1px solid #d3dce8; box-shadow: 0 6px 18px #18335716; }
.actions { display: flex; justify-content: center; flex-wrap: wrap; column-gap: 16px; row-gap: 8px; font-size: 12px !important; font-weight: 700; }
.actions a { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; padding: 4px 1px; }
.actions a:hover { text-decoration: underline; text-underline-offset: 3px; }
.external { width: 8px; height: 8px; display: inline-block; border-top: 1.5px solid; border-right: 1.5px solid; position: relative; }
.external::after { content: ""; position: absolute; height: 1.5px; width: 9px; background: currentColor; right: -1px; top: -1px; transform: rotate(-45deg); transform-origin: right top; }
.details-body { padding: 23px 24px 25px; overflow-wrap: anywhere; }
.type { color: var(--brand); font-size: 11px !important; letter-spacing: .07em; text-transform: uppercase; font-weight: 750; margin: 0 0 6px; }
.details-body h3 { margin: 0; font-size: clamp(23px, 2.1vw, 31px) !important; line-height: 1.15 !important; letter-spacing: -.035em; }
.summary, .scope { color: var(--muted); font-size: 14px !important; line-height: 1.55 !important; margin: 12px 0 15px; }
.facts { margin: 0; border-top: 1px solid var(--border); }
.fact { display: grid; grid-template-columns: minmax(90px, 29%) minmax(0, 1fr); gap: 9px; padding: 7px 0; border-bottom: 1px solid #e6eaf1; font-size: 12.5px !important; line-height: 1.45 !important; }
.fact dt { color: var(--muted); }
.fact dd { margin: 0; font-weight: 600; }
.details-body h4 { font-size: 14px !important; margin: 16px 0 6px; }
.coverage { padding-inline-start: 18px; margin: 0; font-size: 13px !important; line-height: 1.52 !important; color: var(--muted); }
.coverage li + li { margin-top: 4px; }
.scope { margin: 0; font-size: 13px !important; }
.references { margin-top: 15px; padding: 9px 0 0; border-top: 1px solid var(--border); font-size: 13px !important; }
.references summary { cursor: pointer; color: var(--brand); font-weight: 650; }
.references .coverage { margin-top: 8px; }
.notice { color: var(--muted); font-size: 12px !important; line-height: 1.55 !important; margin: 14px 0 0; }
@media (max-width: 1100px) {
  .shell { width: calc(100% - 48px); }
  .library { grid-template-columns: 206px minmax(0, 1fr); }
  .column-heading, .details-body { padding-inline: 16px; }
  .scan-body { padding-inline: 14px; }
  .paper { min-height: 335px; }
}
@media (max-width: 860px) {
  .shell { width: calc(100% - 32px); padding-top: 32px; }
  .intro-grid { grid-template-columns: 1fr; gap: 12px; }
  .wide-break { display: none; }
  .library { grid-template-columns: minmax(0, 1fr); margin-top: 23px; }
  .catalog { border-right: 0; border-bottom: 1px solid var(--border); }
  #document-list { display: flex; gap: 6px; overflow-x: auto; padding: 9px; scrollbar-color: #aeb8d3 transparent; }
  .doc-tab { width: auto; flex: 0 0 auto; border: 1px solid var(--border); border-radius: 6px; padding: 6px 12px; }
  .doc-tab:last-child { border-bottom-color: var(--border); }
  .doc-tab::after { display: none; }
}
@media (max-width: 560px) {
  .shell { width: calc(100% - 24px); padding-top: 25px; }
  .intro-grid .cert-title { font-size: 36px !important; }
  .document-panel { grid-template-columns: minmax(0, 1fr); }
  .scan { border-right: 0; border-bottom: 1px solid var(--border); }
  .column-heading { min-height: 44px; }
  .paper { min-height: 0; }
  .paper img { max-height: 370px; }
  .scan-body { padding-block: 16px; gap: 10px; }
  .details-body { padding-block: 18px; }
}

.doc-tab { text-decoration: none; }
.intro-grid .cert-title { color: var(--ink); font-weight: 700; }
}

#toknav-cert-library { line-height: normal !important; scroll-margin-top: 88px; }
#toknav-cert-library * { font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important; }
#toknav-cert-library .column-heading h2, #toknav-cert-library .type, #toknav-cert-library .eyebrow { line-height: 1.3 !important; }
#toknav-cert-library .eyebrow::after { content: none; }

#toknav-cert-library .cert-picker { display:none; }
#toknav-cert-library .sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
@media (min-width:861px) {
  #toknav-cert-library #document-list { max-height:clamp(420px, 63vh, 670px); overflow-y:auto; scrollbar-gutter:stable; }
}
@media (max-width:860px) {
  #toknav-cert-library.with-picker #document-list { display:none; }
  #toknav-cert-library.with-picker .cert-picker { display:block; padding:9px 12px; }
  #toknav-cert-library .cert-picker select { width:100%; min-height:44px; border:1px solid #bac8df; border-radius:6px; background:#fff; color:#132239; font-size:16px !important; padding:6px 10px; }
}
