@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;
}

* {
  box-sizing: border-box;
}

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

.tg-shellhead,.tg-shellfoot {
  padding: .85rem max(5vw,calc((100vw - 74rem)/2));
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .8rem;
  background: var(--pf-navy);
  color: var(--pf-paper);
}

.tg-shellhead a,.tg-shellfoot a {
  font: 540 1.2rem Editorial,Georgia,serif;
  color: inherit;
  text-decoration: none;
}

.tg-shellhead span,.tg-shellfoot span {
  font-size: .75rem;
}

.tg-main {
  width: min(calc(100% - clamp(2rem,9vw,9rem)),74rem);
  margin: 0 auto 3rem;
  color: var(--pf-ink);
  font: 400 1rem/1.5 Inter,Arial,sans-serif;
}

.tg-main * {
  box-sizing: border-box;
}

.tg-main h1,.tg-main h2,.tg-main h3,.tg-main p {
  margin: 0;
}

.tg-main h1,.tg-main h2,.tg-main h3 {
  text-wrap: balance;
}

.tg-main h1,.tg-main h2 {
  font-family: Editorial,Georgia,serif;
  font-weight: 475;
  letter-spacing: -.052em;
  line-height: 1.07;
}

.tg-main h1 {
  font-size: clamp(2.07rem,4vw,3.2rem);
}

.tg-main h2 {
  font-size: clamp(1.55rem,2.55vw,2.2rem);
}

.tg-main a {
  color: var(--pf-ink);
  text-underline-offset: .2em;
  text-decoration-thickness: 1px;
}

.tg-main :focus-visible {
  outline: 3px solid var(--pf-focus);
  outline-offset: 3px;
}

.tg-main .tg-small {
  font-size: .83rem;
  line-height: 1.43;
  color: var(--pf-muted);
}

.tg-bread {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem .72rem;
  margin: clamp(.75rem,1.9vw,1.5rem) 0 .35rem;
  font-size: .8rem;
  color: var(--pf-muted);
}

.tg-bread a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
}

.tg-bread span {
  color: var(--pf-brass);
  font-weight: 600;
}

.tg-intro {
  display: grid;
  grid-template-columns: minmax(0,1.32fr) minmax(0,.68fr);
  align-items: end;
  gap: 1.2rem 3rem;
  padding: .3rem 0 1.5rem;
}

.tg-intro p {
  color: var(--pf-muted);
  max-width: 58ch;
  margin-top: .6rem;
}

.tg-reference {
  justify-self: start;
  padding: .1rem 0 .1rem 1rem;
  border-left: 2px solid var(--pf-gold);
}

.tg-reference p {
  margin: 0;
  color: var(--pf-ink);
  font-size: .91rem;
}

.tg-action {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  gap: .42rem;
  font-size: .92rem;
  font-weight: 580;
}

.tg-archive {
  padding: clamp(.9rem,2vw,1.4rem) 0 1rem;
  border-top: 1px solid var(--pf-ink);
}

.tg-guide-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .45rem 1rem;
  flex-wrap: wrap;
  margin: 0 0 1rem;
}

.tg-historical {
  font-size: .78rem;
  font-weight: 580;
  letter-spacing: .012em;
  color: var(--pf-muted);
}

.tg-records {
  border-top: 2px solid var(--pf-navy);
  border-bottom: 1px solid var(--pf-line);
}

.tg-record {
  display: grid;
  grid-template-columns: minmax(8.3rem,.72fr) minmax(0,1.85fr) minmax(10.3rem,1fr);
  align-items: start;
  gap: 1rem clamp(1rem,3.1vw,3.25rem);
  padding: 1.12rem 1.23rem;
  background: var(--pf-surface);
  border-bottom: 1px solid var(--pf-line);
}

.tg-record:last-child {
  border-bottom: 0;
}

.tg-date {
  border-left: 2px solid var(--pf-gold);
  padding-left: .65rem;
  display: flex;
  flex-direction: column;
  gap: .24rem;
  font-size: .8rem;
  font-weight: 580;
  color: var(--pf-muted);
}

.tg-date time {
  color: var(--pf-ink);
  font-size: .92rem;
  font-weight: 600;
  line-height: 1.35;
}

.tg-record h3 {
  font-size: 1.04rem;
  line-height: 1.35;
  font-weight: 640;
  letter-spacing: -.02em;
}

.tg-record p {
  margin: .29rem 0 0;
  font-size: .91rem;
  line-height: 1.5;
  color: var(--pf-muted);
}

.tg-doclinks {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 0;
}

.tg-doclinks a,.tg-handlinks a,.tg-anchors a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  font-weight: 525;
  font-size: .85rem;
  line-height: 1.4;
}

.tg-anchors {
  display: flex;
  flex-wrap: wrap;
  gap: .2rem 1.4rem;
}

.tg-guide {
  display: grid;
  grid-template-columns: minmax(0,.68fr) minmax(0,1.32fr);
  gap: .7rem clamp(1rem,4vw,3.5rem);
  margin: 1.5rem 0 0;
  padding: 1.55rem 0;
  border-top: 1px solid var(--pf-line);
  scroll-margin-top: 1.7rem;
}

.tg-guide p {
  margin-top: .5rem;
  max-width: 44ch;
}

.tg-guide ol {
  margin: 0;
  padding: 0;
  list-style-position: inside;
  counter-reset: tasks;
}

.tg-guide li {
  list-style: none;
  position: relative;
  border-top: 1px solid var(--pf-line);
  padding: .45rem .2rem .55rem 2.1rem;
  counter-increment: tasks;
}

.tg-guide li:last-child {
  border-bottom: 1px solid var(--pf-line);
}

.tg-guide li::before {
  content: counter(tasks,decimal-leading-zero);
  position: absolute;
  left: .05rem;
  top: .53rem;
  color: var(--pf-brass);
  font-size: .75rem;
  font-variant-numeric: tabular-nums;
}

.tg-guide summary {
  cursor: pointer;
  padding: .2rem 0;
  font-size: .94rem;
  font-weight: 570;
  min-height: 37px;
}

.tg-guide details p {
  margin: .1rem 0 .4rem;
  font-size: .9rem;
  color: var(--pf-muted);
  max-width: 54ch;
}

.tg-guide details a {
  display: inline-flex;
  align-items: center;
  min-height: 41px;
  font-size: .83rem;
}

.tg-companion {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1rem 2rem;
  margin: 1.15rem 0 1.3rem;
  padding: 1.05rem 1.2rem;
  background: var(--pf-tint);
  border: 1px solid var(--pf-line);
}

.tg-companion h2 {
  font-size: clamp(1.35rem,1.9vw,1.7rem);
}

.tg-companion p {
  margin-top: .3rem;
  font-size: .88rem;
  color: var(--pf-muted);
}

.tg-handlinks {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .25rem 1.5rem;
}

.tg-edition {
  border-top: 1px solid var(--pf-line);
  padding-top: .85rem;
}

@media(max-width:700px) {
  .tg-main {
    width: calc(100% - 2.1rem);
    margin-bottom: 2rem;
  }
  .tg-bread {
    margin: .6rem 0 .3rem;
    gap: .18rem .56rem;
  }
  .tg-intro {
    display: block;
    padding: .25rem 0 1rem;
  }
  .tg-intro p {
    font-size: .96rem;
    line-height: 1.43;
  }
  .tg-reference {
    margin-top: .67rem;
    padding-left: .65rem;
  }
  .tg-reference p {
    font-size: .82rem;
    margin: 0;
  }
  .tg-guide-meta {
    margin-bottom: .65rem;
    gap: .2rem .45rem;
  }
  .tg-main .tg-historical {
    font-size: .72rem;
  }
  .tg-guide-meta h2 {
    font-size: 1.55rem;
  }
  .tg-record {
    display: block;
    padding: .83rem .85rem .58rem;
  }
  .tg-date {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: .35rem .65rem;
    flex-wrap: wrap;
    padding: 0;
    border: 0;
    margin-bottom: .4rem;
  }
  .tg-date time {
    font-size: .81rem;
  }
  .tg-date span {
    font-size: .72rem;
    color: var(--pf-brass);
  }
  .tg-record h3 {
    font-size: .98rem;
  }
  .tg-record p {
    font-size: .9rem;
    line-height: 1.46;
  }
  .tg-doclinks {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0 .85rem;
  }
  .tg-doclinks a {
    font-size: .83rem;
    min-height: 42px;
  }
  .tg-guide {
    display: block;
    margin-top: .6rem;
    padding-top: 1.1rem;
  }
  .tg-guide ol {
    margin-top: .7rem;
  }
  .tg-companion {
    grid-template-columns: 1fr;
    gap: .1rem;
  }
  .tg-bread a {
    min-height: 38px;
  }
}

@media(max-width:345px) {
  .tg-main {
    width: calc(100% - 1.45rem);
  }
  .tg-bread {
    font-size: .74rem;
  }
  .tg-main h1 {
    font-size: 1.9rem;
  }
  .tg-record {
    padding: .75rem .65rem .45rem;
  }
}

.tg-action,.tg-entry a,main a[href*="govinfo.gov"] {
  min-height: 44px;
}

.tg-full {
  margin: 2rem 0;
  border-top: 1px solid var(--pf-line);
  padding-top: 1.4rem;
}

.tg-full .tg-full-note {
  margin: .45rem 0 .7rem;
  color: var(--pf-muted);
}

.tg-full details > summary {
  display: list-item;
  width: fit-content;
  min-height: 44px;
  padding: .55rem .1rem;
  cursor: pointer;
  font-weight: 600;
}

#full-edition {
  max-width: 78ch;
  padding: .75rem 0;
  scroll-margin-top: 1rem;
}

#full-edition h3 {
  margin: 2rem 0 .75rem;
  font: 500 clamp(1.3rem, 2.5vw, 1.85rem)/1.18 Editorial, Georgia, serif;
}

#full-edition h3:first-child {
  margin-top: .15rem;
}

#full-edition h4 {
  margin: 1.25rem 0 .55rem;
  font-size: 1.05rem;
}

#full-edition p {
  margin: .75rem 0;
}

#full-edition li {
  margin: .45rem 0;
}

#full-edition :is(ol, ul) {
  padding-left: 1.5rem;
}

#full-edition a {
  overflow-wrap: anywhere;
}

#full-edition .tg-field-note {
  margin: 1rem 0;
  padding: .75rem 1rem;
  background: var(--pf-tint);
  border-left: 3px solid var(--pf-border-light);
}

#full-edition .tg-field-note p:first-child {
  margin-top: 0;
}

#full-edition .tg-field-note p:last-child {
  margin-bottom: 0;
}

.tg-table-scroll {
  overflow-x: auto;
  max-width: 100%;
  margin: 1rem 0;
}

.tg-table-scroll table {
  border-collapse: collapse;
  width: 100%;
  min-width: 32rem;
  font-size: .88rem;
}

.tg-table-scroll th, .tg-table-scroll td {
  text-align: left;
  vertical-align: top;
  padding: .6rem;
  border-bottom: 1px solid var(--pf-line);
}

.tg-table-scroll th {
  background: var(--pf-tint);
}
