@font-face {
  font-family: Inter;
  src: url(/assets/fonts/inter-latin.woff2) format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: Editorial;
  src: url(/assets/fonts/notoserif-latin.woff2) format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --edge: clamp(1.05rem,5vw,4.8rem);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--pf-ink);
  background: var(--pf-paper);
  font: 400 1rem/1.48 Inter,Arial,sans-serif;
  -webkit-font-smoothing: antialiased;
}

html {
  scroll-padding-top: 1rem;
}

a {
  color: inherit;
  text-underline-offset: 4px;
}

a:focus-visible,summary:focus-visible,button:focus-visible,input:focus-visible,[tabindex]:focus-visible {
  outline: 3px solid var(--pf-focus);
  outline-offset: 3px;
}

h1,h2,h3,h4,p,ol,ul,figure,fieldset,legend {
  margin: 0;
}

fieldset,legend {
  padding: 0;
  border: 0;
}

fieldset {
  min-inline-size: 0;
}

.wrap {
  width: min(calc(100% - var(--edge)*2),78rem);
  margin-inline: auto;
}

.sr,.skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip:focus {
  position: absolute;
  z-index: 12;
  top: .22rem;
  left: .22rem;
  background: var(--pf-paper);
  color: var(--pf-ink);
  padding: .5rem;
}

.head {
  background: var(--pf-navy);
  color: var(--pf-paper);
}

.head .wrap {
  display: flex;
  justify-content: space-between;
  gap: .7rem;
  align-items: center;
  min-height: 62px;
}

.brand {
  font: 550 1.3rem/1.1 Editorial,Georgia,serif;
  letter-spacing: -.045em;
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 6px;
}

.private {
  font-size: .78rem;
  color: var(--pf-line-soft);
}

.head a:focus-visible {
  outline-color: var(--pf-gold-light);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0,1.26fr) minmax(0,1fr);
  align-items: center;
  gap: clamp(1.4rem,5vw,5rem);
  padding: clamp(1.4rem,3vw,2.7rem) 0 clamp(1.35rem,2.7vw,2.45rem);
  border-bottom: 1px solid var(--pf-ink);
}

h1 {
  font: 450 clamp(2.2rem,4.25vw,3.6rem)/1.02 Editorial,Georgia,serif;
  letter-spacing: -.061em;
  text-wrap: balance;
  max-width: 20ch;
}

.intro .meta {
  font-size: .85rem;
  color: var(--pf-muted);
  margin-bottom: .45rem;
}

.intro .scope {
  font-size: clamp(1rem,1.35vw,1.12rem);
  max-width: 53ch;
  color: var(--pf-muted);
  line-height: 1.5;
  margin-top: .65rem;
}

.intro .jump,.related a,.back {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: .92rem;
  font-weight: 550;
}

.intro .jump {
  margin-top: .1rem;
}

.access {
  background: var(--pf-tint);
  border: 1px solid var(--pf-line);
  border-left: 3px solid var(--pf-border);
  padding: 1.04rem 1.26rem;
}

.access h2 {
  font: 500 clamp(1.28rem,2.15vw,1.64rem)/1.14 Editorial,Georgia,serif;
  letter-spacing: -.04em;
}

.access p {
  color: var(--pf-muted);
  margin-top: .45rem;
  font-size: .95rem;
  line-height: 1.45;
  max-width: 46ch;
}

.request {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .48rem .94rem;
  background: var(--pf-navy);
  color: var(--pf-paper);
  font-size: .9rem;
  font-weight: 550;
  text-decoration: none;
  margin-top: .72rem;
  line-height: 1.3;
}

.request:hover {
  background: var(--pf-muted);
}

.request svg {
  width: .95rem;
  height: .95rem;
  margin-left: .5rem;
}

.reading {
  display: grid;
  grid-template-columns: minmax(0,.91fr) minmax(0,1.09fr);
  align-items: start;
  gap: clamp(1.3rem,4vw,4rem);
  padding: 1.35rem 0;
}

.desk {
  position: sticky;
  top: 1rem;
  min-width: 0;
}

.desk h2,.guide>h2,.related h2 {
  font: 475 clamp(1.55rem,2.75vw,2.05rem)/1.11 Editorial,Georgia,serif;
  letter-spacing: -.05em;
}

.guide {
  min-width: 0;
  scroll-margin-top: 1rem;
}

.guide-lead {
  margin: .48rem 0 .95rem;
  color: var(--pf-muted);
  font-size: .95rem;
  max-width: 60ch;
}

.inspector {
  margin-top: .78rem;
  min-width: 0;
}

.viewer-bar {
  display: flex;
  gap: .4rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: .47rem;
}

.choices {
  display: inline-flex;
  border: 1px solid var(--pf-border-light);
  background: var(--pf-surface);
  max-width: 100%;
}

.choices label {
  display: grid;
  place-items: center;
  padding: .36rem .73rem;
  min-height: 42px;
  line-height: 1.2;
  font-size: .86rem;
  font-weight: 520;
  cursor: pointer;
}

.choices label+label {
  border-left: 1px solid var(--pf-line);
}

.inspector>#pr-cover:checked~.viewer-bar [for=pr-cover],.inspector>#pr-index:checked~.viewer-bar [for=pr-index],.inspector>#pr-sheet:checked~.viewer-bar [for=pr-sheet] {
  background: var(--pf-navy);
  color: var(--pf-paper);
}

.inspector>#pr-cover:focus-visible~.viewer-bar [for=pr-cover],.inspector>#pr-index:focus-visible~.viewer-bar [for=pr-index],.inspector>#pr-sheet:focus-visible~.viewer-bar [for=pr-sheet] {
  outline: 3px solid var(--pf-focus);
  outline-offset: 2px;
  position: relative;
  z-index: 2;
}

.zoom-label {
  display: inline-flex;
  align-items: center;
  gap: .36rem;
  min-height: 42px;
  font-size: .86rem;
  cursor: pointer;
  color: var(--pf-muted);
}

.zoom-label input {
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--pf-navy);
  margin: 0;
}

.pane {
  display: none;
}

.inspector>#pr-cover:checked~.panes .cover,.inspector>#pr-index:checked~.panes .contents,.inspector>#pr-sheet:checked~.panes .worksheet {
  display: block;
}

.page-frame {
  border: 1px solid var(--pf-border-light);
  background: var(--pf-line-soft);
}

.page-viewport {
  width: 100%;
  overflow: auto;
  overscroll-behavior: contain;
  max-height: 30rem;
  background: var(--pf-tint);
  border: 1px solid var(--pf-border-light);
  position: relative;
  padding: .52rem;
  scrollbar-color: var(--pf-border-light) var(--pf-line-soft);
}

.page-viewport img {
  display: block;
  width: 100%;
  height: auto;
  box-shadow: 0 1px 5px rgb(15 23 42 / 0.17);
  max-width: none;
}

.inspector:has(#fullsize:checked) .page-viewport {
  max-height: clamp(15rem,46vh,28rem);
  padding: .25rem;
}

.inspector:has(#fullsize:checked) .page-viewport img {
  width: max(100%,1000px);
}

.panes figcaption {
  display: flex;
  align-items: baseline;
  gap: .36rem .7rem;
  flex-wrap: wrap;
  color: var(--pf-muted);
  font-size: .86rem;
  line-height: 1.45;
  margin-top: .47rem;
}

.page-num {
  font-weight: 650;
  white-space: nowrap;
  color: var(--pf-ink);
}

.help {
  margin-top: .7rem;
  font-size: .86rem;
  color: var(--pf-muted);
  line-height: 1.4;
}

.zoom-note {
  display: none;
}

.inspector:has(#fullsize:checked) .zoom-note {
  display: block;
}

.group {
  margin-top: .8rem;
  scroll-margin: 1rem;
}

.group-head {
  border-top: 1px solid var(--pf-border-light);
  background: var(--pf-tint);
  padding: .43rem .65rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .5rem;
}

.group-head h3 {
  font-size: 1.03rem;
  letter-spacing: -.034em;
  font-weight: 610;
  line-height: 1.34;
}

.group-head>span,.section-no {
  font-variant-numeric: tabular-nums;
}

.group-head>span {
  font-size: .8rem;
  color: var(--pf-muted);
}

.group ol {
  padding: 0;
  list-style: none;
}

.group li {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: .55rem;
  border-bottom: 1px solid var(--pf-line-soft);
  padding: .67rem .24rem;
  align-items: baseline;
}

.section-no {
  font: 510 .82rem/1.3 ui-monospace,Menlo,monospace;
  color: var(--pf-muted);
}

.group h4 {
  font-size: .97rem;
  font-weight: 610;
  line-height: 1.4;
}

.group p {
  font-size: .91rem;
  line-height: 1.45;
  color: var(--pf-muted);
  margin-top: .1rem;
}

.before-approval {
  background: var(--pf-tint);
  padding: .8rem 1rem;
  margin-top: 1rem;
  border-left: 2px solid var(--pf-border);
}

.before-approval h3 {
  font-size: 1.02rem;
  font-weight: 580;
  letter-spacing: -.025em;
}

.before-approval p {
  font-size: .94rem;
  line-height: 1.47;
  margin-top: .2rem;
  color: var(--pf-muted);
}

.related {
  border-top: 1px solid var(--pf-ink);
  padding: 1.15rem 0 1.4rem;
}

.related nav {
  display: flex;
  flex-wrap: wrap;
  gap: .1rem 1.4rem;
  margin-top: .3rem;
}

.foot {
  font-size: .8rem;
  color: var(--pf-muted);
  padding: .9rem 0 1.2rem;
  border-top: 1px solid var(--pf-border-light);
}

@media(max-width:880px) {
  .hero {
    gap: 1.3rem;
  }
  .access {
    padding: .86rem 1rem;
  }
  .reading {
    grid-template-columns: minmax(0,.95fr) minmax(0,1fr);
    gap: 1.35rem;
  }
  .choices label {
    padding: .34rem .54rem;
  }
  .viewer-bar {
    gap: .15rem .42rem;
  }
  .zoom-label {
    font-size: .82rem;
    min-height: 36px;
  }
  .brand {
    font-size: 1.12rem;
  }
  .head .wrap {
    min-height: 56px;
  }
}

@media(max-width:680px) {
  .hero {
    grid-template-columns: 1fr;
    gap: .6rem;
    padding: 1.25rem 0 1rem;
  }
  .intro .scope {
    margin-top: .44rem;
    line-height: 1.43;
  }
  .intro .jump {
    margin-top: 0;
  }
  .intro .meta {
    margin-bottom: .32rem;
  }
  .access {
    padding: .72rem .88rem;
  }
  .access h2 {
    font-size: 1.21rem;
  }
  .access p {
    font-size: .89rem;
    margin-top: .27rem;
  }
  .request {
    margin-top: .46rem;
    padding: .4rem .82rem;
  }
  .reading {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    padding: 1.1rem 0 1.35rem;
  }
  .desk,.guide {
    width: 100%;
    position: static;
  }
  .desk h2,.guide>h2 {
    font-size: 1.62rem;
  }
  .inspector {
    margin-top: .55rem;
  }
  .viewer-bar {
    margin-bottom: .33rem;
  }
  .choices label {
    font-size: .85rem;
    min-height: 42px;
    padding: .32rem .65rem;
  }
  .page-viewport {
    padding: .34rem;
  }
  .panes figcaption {
    margin-top: .35rem;
  }
  .guide-lead {
    margin-bottom: .65rem;
  }
  .group li {
    padding: .6rem .12rem;
    grid-template-columns: 1.7rem 1fr;
  }
  .related {
    padding: 1rem 0;
  }
  .related h2 {
    font-size: 1.48rem;
  }
  .related nav a {
    font-size: .9rem;
  }
  .private {
    font-size: .74rem;
  }
  .brand img {
    width: 26px;
    height: 26px;
  }
}

@media(max-width:370px) {
  :root {
    --edge: .85rem;
  }
  .intro h1 {
    font-size: 2.04rem;
  }
  .brand {
    font-size: 1.02rem;
  }
  .head .wrap {
    min-height: 50px;
  }
  .choices label {
    padding: .29rem .48rem;
  }
  .zoom-label {
    font-size: .77rem;
  }
  .page-num {
    font-size: .81rem;
  }
  .scope {
    font-size: .96rem;
  }
}

@media(prefers-reduced-motion:reduce) {
  *,*:before,*:after {
    animation: none!important;
    transition: none!important;
    scroll-behavior: auto!important;
  }
}

@media(forced-colors:active) {
  .choices label,.request,.page-viewport {
    border: 1px solid ButtonText;
  }
  .inspector>#pr-cover:checked~.viewer-bar [for=pr-cover],.inspector>#pr-index:checked~.viewer-bar [for=pr-index],.inspector>#pr-sheet:checked~.viewer-bar [for=pr-sheet] {
    outline: 2px solid Highlight;
    outline-offset: -3px;
  }
}

.spec-request summary, .spec-steps summary {
  cursor: pointer;
}

.spec-request summary::after {
  content: "+";
  margin-left: .65rem;
}

.spec-request[open] summary::after {
  content: "−";
}

.spec-request summary::-webkit-details-marker {
  display: none;
}

.spec-request form {
  margin-top: .9rem;
}

.spec-request form > div {
  margin: .65rem 0;
}

.spec-request label {
  display: block;
  margin-bottom: .25rem;
  font-size: .875rem;
  font-weight: 600;
}

.spec-request label span {
  font-weight: 400;
}

.spec-request input:not([type=hidden]) {
  display: block;
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--pf-border-light);
  background: var(--pf-surface);
  color: var(--pf-ink);
  padding: .55rem .7rem;
  font: inherit;
}

.spec-request button {
  min-height: 44px;
  padding: .6rem .85rem;
  background: var(--pf-navy);
  color: white;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.spec-request form p:last-child {
  font-size: .8rem;
}

.spec-steps {
  border-top: 1px solid var(--pf-border-light);
  padding-top: .5rem;
  margin-top: 1.3rem;
}

.spec-steps summary {
  min-height: 44px;
  padding: .55rem 0;
  font-weight: 600;
}

.spec-steps ol {
  padding-left: 1.3rem;
}

.spec-steps li {
  padding: .35rem 0;
}

.spec-steps p {
  margin: .4rem 0;
}
