/* PP: one readable sans-serif family across all live Vault interface text. */
html body, html body *:not(svg):not(svg *),
html body *::before, html body *::after,
html body :is(input,button,select,textarea,dialog,option) {
  font-family: Arial, Helvetica, sans-serif !important;
}
/* Icon-font glyphs retain their symbols; their surrounding labels use Arial. */
html body :is(.material-icons,.material-symbols-outlined,.fa,.fas,.far,.fab),
html body :is(.material-icons,.material-symbols-outlined,.fa,.fas,.far,.fab)::before {
  font-family: inherit;
}

/* Recording download: Vault blue and cream, with a direct B2-backed ZIP link. */
html body .gv-show-download-dialog {
  box-sizing:border-box; overflow:auto;
  padding:30px clamp(22px,3vw,38px) 34px!important;
  border:1px solid #566879!important;
  border-radius:3px!important;
  background:#1b2837!important;
  color:#f4efe2!important;
  box-shadow:0 25px 75px #000c,inset 0 0 0 5px #1b2837,inset 0 0 0 6px #3b4d5c!important;
  width:min(1060px,calc(100vw - 32px))!important;
  max-height:min(90vh,980px)!important;
}
html body .gv-show-download-dialog::backdrop {background:#03070bda;backdrop-filter:blur(8px)}
html body .gv-show-download-dialog :is(h2,h3,h4,:is(p,:where(output.vault-status-paragraph)),ol) {margin-top:0}
html body .gv-show-download-main {display:grid;align-items:start;border-top:1px solid #ffffff45;
  grid-template-columns:minmax(0,355px) minmax(0,1fr)!important;
  gap:36px!important;
  border:0!important;padding-top:26px!important;
  background:linear-gradient(to right,transparent,#95a7b7 12%,#95a7b7 88%,transparent) top / 100% 1px no-repeat!important}
html body .gv-show-download-art {display:block;width:100%;aspect-ratio:1;object-fit:cover;border:2px solid #081019!important;box-shadow:0 10px 25px #0008!important}
html body .gv-show-download-tracks ol {margin:0 0 15px;padding-left:23px;line-height:1.55;font-size:15px}
@media(max-width:650px){html body .gv-show-download-art{width:min(100%,240px)}}

/* Vault-standard recording panel refinement. */
html body .gv-show-download-close:hover,html body .gv-show-download-close:focus-visible {
  color:#fff!important;text-decoration:none!important;outline-offset:4px!important;
}
html body .gv-show-download-eyebrow {
  margin-bottom:16px!important;color:#bccbd6!important;font-size:11px!important;
  font-weight:800!important;letter-spacing:.16em!important;
}
html body .gv-show-download-dialog h2 {
  max-width:700px!important;margin:0 0 7px!important;color:#f4efe2!important;
  font-size:clamp(28px,3.1vw,40px)!important;line-height:1.12!important;font-weight:700!important;
}
html body .gv-show-download-meta {line-height:1.5;
  margin-bottom:27px!important;color:#e2e7e8!important;font-size:16px!important;
}
html body .gv-show-download-details {
  margin-bottom:5px!important;color:#f4efe2!important;font-size:17px!important;
  font-weight:800!important;letter-spacing:.06em!important;
}
html body .gv-show-download-filename {overflow-wrap:anywhere;color:#bbcbd8!important;font-size:12px!important}
html body .gv-show-download-dialog h3 {padding-bottom:9px;
  margin:20px 0 12px!important;border-bottom:1px solid #536879!important;
  color:#f4efe2!important;font-size:15px!important;font-weight:700!important;
}
html body .gv-show-download-tracks {overflow:auto;padding-right:8px;color:#e8edf1;margin-bottom:19px!important;max-height:280px!important}
html body .gv-show-download-tracks h4 {margin-bottom:7px;font-size:13px;letter-spacing:.08em;text-transform:uppercase;color:#c3d0d9!important}
html body .gv-show-download-action {display:block;text-align:center;text-decoration:none!important;cursor:pointer;
  padding:13px 17px!important;border:1px solid #698298!important;border-radius:3px!important;
  background:#293d51!important;color:#f4efe2!important;box-shadow:none!important;
  font-size:16px!important;font-weight:700!important;
}
html body .gv-show-download-action:hover,
html body .gv-show-download-action:focus-visible {outline:2px solid #fff;outline-offset:3px;
  border-color:#d8e7f2!important;background:#375570!important;color:#fff!important;
}
html body .gv-show-download-status {margin:12px 0 0;font-size:13px;line-height:1.45;margin-top:10px!important;color:#c6d3dc!important}
html body .gv-show-download-tracks:has(>section:nth-child(2)) {
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;
}
html body .gv-show-download-status[hidden] {display:none!important}
@media(max-width:650px){
  html body .gv-show-download-main{grid-template-columns:1fr!important}
  html body .gv-show-download-tracks:has(>section:nth-child(2)){grid-template-columns:1fr}
}

/* Same 36px X treatment used by the shared Vault popup close control. */
html body .gv-show-download-close {
  position:absolute!important;z-index:2!important;
  display:block!important;margin:0!important;box-shadow:none!important;
  cursor:pointer!important;
  top:16px!important;right:16px!important;width:36px!important;height:36px!important;
  padding:0!important;border:1px solid #b79a59!important;border-radius:0!important;
  background:#111!important;color:#f4efe2!important;
  font:28px/1 Arial,Helvetica,sans-serif!important;text-align:center!important;
}

.vault-access-prompt{box-sizing:border-box;width:min(480px,calc(100vw - 32px));padding:36px;background:#1b2837;color:#f4efe2;border:1px solid #718297;box-shadow:0 20px 70px #000b;font:16px Arial,Helvetica,sans-serif}.vault-access-prompt::backdrop{background:#05090fcb}.vault-access-prompt h2{font:700 32px Arial,Helvetica,sans-serif;margin:4px 0 12px}.vault-access-prompt :is(p,:where(output.vault-status-paragraph)){line-height:1.5}.vault-access-eyebrow{font-size:12px!important;font-weight:700;letter-spacing:.13em;color:#b8c9da}.vault-access-close{position:absolute;top:12px;right:12px;width:36px;height:36px;background:#26394d;color:#f4efe2;border:1px solid #718297;border-radius:3px;font:24px Arial,Helvetica,sans-serif;cursor:pointer}.vault-access-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:24px}.vault-access-actions a{display:inline-block;padding:11px 16px;background:#304a64;border:1px solid #718297;border-radius:3px;color:#f4efe2;text-decoration:none;font-weight:700}.vault-access-actions a:hover{background:#456786}

/* October 18: Softer, Clean Long-Read Type. Preserve Existing Layout And Sizes. */
html body.backstage-page .backstage-feature .backstage-intro,
html body.community-inside-page .vault-story .vault-story__prose p:not(.story-close){
  font-family:"Segoe UI",system-ui,-apple-system,BlinkMacSystemFont,sans-serif!important;
  font-weight:400!important;
  color:#c3c5c9!important;
  text-shadow:none!important;
  -webkit-text-stroke:0!important;
  filter:none!important;
  font-synthesis:none!important;
}

/* Keep Full-Document Navigation Gentle On Standalone Pages. */
body { transition: opacity 140ms ease-out; }
@starting-style { body { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  body { transition: none; }
}
