* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 18px;
}
body {
  margin: 0;
  background: var(--fh-canvas);
  font-family: var(--fh-body-family);
  font-size: 17px;
  line-height: 26px;
  color: var(--fh-text);
  -webkit-font-smoothing: antialiased;
}
button,
input,
select {
  font: inherit;
  color: inherit;
}
button,
a,
input,
select {
  touch-action: manipulation;
}
button,
a {
  cursor: pointer;
}
a {
  color: var(--fh-link);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid var(--fh-focus);
  outline-offset: 3px;
}
[hidden] {
  display: none !important;
}
.wrap {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding: 0 clamp(22px, 4.4vw, 74px);
}
.sr,
.skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip:focus {
  position: absolute;
  background: var(--fh-canvas);
  color: var(--fh-link);
  z-index: 10;
  padding: 12px;
}
.mast {
  background: var(--fh-canvas);
  border-bottom: 1px solid var(--fh-divider);
}
.mast-inner {
  display: flex;
  align-items: center;
  gap: 34px;
  min-height: 77px;
}
.wordmark {
  text-decoration: none;
}
.hero h1 em {
  font-style: normal;
  color: var(--fh-plaster);
}
.mast nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 28px;
}
.mast nav a,
.foot a:not(.wordmark) {
  text-decoration: none;
  font-weight: 550;
}
.mast nav a:hover,
.foot a:hover,
.back:hover {
  text-decoration: underline;
}
.btn {
  border: 1px solid transparent;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 11px 18px;
  line-height: 1.3;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.16s ease;
}
.btn.dark {
  background: var(--fh-link);
  color: var(--fh-on-action);
}
.btn.dark:hover {
  background: color-mix(in srgb, var(--fh-action) 90%, var(--fh-on-action));
}
.btn.light {
  background: var(--fh-action);
  color: var(--fh-on-action);
}
.btn.light:hover {
  background: color-mix(in srgb, var(--fh-action) 90%, var(--fh-on-action));
}
.text-link,
.back {
  font-weight: 600;
  text-underline-offset: 5px;
}
.text-link:hover {
  color: var(--fh-text);
}
.text-link.on-dark:hover {
  color: var(--fh-link);
}
.hero {
  position: relative;
  overflow: hidden;
  background: var(--fh-espresso);
  color: var(--fh-plaster);
}

.hero-inner {
  position: relative;
  min-height: clamp(390px, 33vw, 504px);
  display: flex;
  align-items: center;
}
.hero-copy {
  max-width: 55%;
  padding: 44px 0 48px;
}
.hero h1,
.information h1 {
  font: 400 clamp(62px, 6.6vw, 100px)/0.96 var(--fh-display-family);
  letter-spacing: -0.03em;
  margin: 0;
}
.hero p {
  font-size: clamp(16px, 1.38vw, 21px);
  line-height: 1.52;
  max-width: 475px;
  margin: 22px 0 25px;
  color: var(--fh-plaster);
}
.actions,
.link-row {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}
.actions .text-link {
  font-size: 15px;
  color: var(--fh-plaster);
}
.stats {
  border-bottom: 1px solid var(--fh-divider);
  background: var(--fh-surface);
}
.stat-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding-top: 25px;
  padding-bottom: 25px;
}
.stat-inner > div {
  display: flex;
  flex-direction: column;
  padding: 0 33px;
  border-left: 1px solid var(--fh-divider);
}
.stat-inner > div:first-child {
  padding-left: 0;
  border: 0;
}
.stat-inner strong {
  font: 700 clamp(31px, 3.1vw, 48px)/1 var(--fh-display-family);
  letter-spacing: -0.025em;
  font-variant-numeric: tabular-nums;
}
.stat-inner span {
  color: var(--fh-secondary-text);
  font-size: 14px;
  margin-top: 5px;
}
.desk {
  padding-top: 38px;
  padding-bottom: 54px;
}
.desk-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 15px;
}
.desk-heading h2,
.information h2 {
  font: 400 clamp(41px, 4.7vw, 66px)/1.08 var(--fh-display-family);
  letter-spacing: -0.025em;
  margin: 0;
}
.desk-heading .text-link {
  font-size: 14px;
}
.modes {
  display: flex;
  gap: 24px;
  border-bottom: 1px solid var(--fh-divider);
  margin: 10px 0 17px;
}
.modes button {
  border: 0;
  border-bottom: 3px solid transparent;
  background: none;
  padding: 10px 3px 11px;
  color: var(--fh-secondary-text);
  font-size: 15px;
  font-weight: 550;
}
.modes button[aria-pressed="true"] {
  border-color: var(--fh-link);
  color: var(--fh-link);
  font-weight: 700;
}
.modes button:hover {
  color: var(--fh-link);
}
.search-form,
.copy-line {
  display: flex;
  align-items: stretch;
  gap: 10px;
}
.input-wrap {
  flex: 1;
  min-width: 0;
  position: relative;
}
.input-wrap input,
.filter input,
.filter select {
  width: 100%;
  min-height: 46px;
  background: var(--fh-surface);
  border: 1px solid var(--fh-control-border);
  border-radius: 5px;
  padding: 10px 12px;
}
.input-wrap input {
  padding-left: 43px;
}
.magnify {
  position: absolute;
  border: 1.8px solid var(--fh-secondary-text);
  border-radius: 50%;
  width: 15px;
  height: 15px;
  top: 14px;
  left: 16px;
}
.magnify:after {
  position: absolute;
  content: "";
  width: 7px;
  height: 1.8px;
  background: var(--fh-secondary-text);
  transform: rotate(45deg);
  right: -5px;
  bottom: -2px;
}
.filter input {
  width: 68px;
}
.search-form > .btn {
  min-width: 103px;
}
.status {
  color: var(--fh-secondary-text);
  font-size: 14px;
  margin: 7px 0;
  min-height: 0;
}
.status:empty {
  display: none;
}
.status.error {
  color: var(--fh-link);
}
.scoped {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 14px;
  color: var(--fh-secondary-text);
  margin: 10px 0;
}
.scoped button,
.link-button {
  border: none;
  background: none;
  padding: 2px 0;
  color: var(--fh-link);
  text-decoration: underline;
  text-underline-offset: 3px;
  font: 600 14px var(--fh-body-family);
}
.research-body {
  margin-top: 20px;
  display: grid;
  grid-template-columns: minmax(225px, 32%) minmax(0, 1fr);
  border-top: 1px solid var(--fh-divider);
}
.results {
  padding: 18px 18px 0 0;
}
.results h3,
.brief h4 {
  font: 650 15px/1.4 var(--fh-body-family);
  margin: 0 0 9px;
}
.result {
  width: 100%;
  display: block;
  text-align: left;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--fh-divider);
  padding: 11px 12px;
  font-size: 15px;
  line-height: 1.34;
}
.result strong,
.result small {
  display: block;
}
.result small {
  font-size: 12px;
  color: var(--fh-secondary-text);
  margin-top: 4px;
}
.result:hover {
  background: var(--fh-surface);
}
.result.active {
  background: color-mix(in srgb, var(--fh-action) 12%, var(--fh-surface));
  border-radius: 4px;
}
.brief {
  min-height: 290px;
  border-left: 1px solid var(--fh-divider);
  padding: 20px 0 0 clamp(18px, 3vw, 42px);
  overflow-wrap: anywhere;
}
.brief h3 {
  font: 600 clamp(23px, 3vw, 32px)/1.12 var(--fh-body-family);
  margin: 0 0 5px;
  letter-spacing: -0.025em;
}
.meta,
.note,
.credit {
  color: var(--fh-secondary-text);
  font-size: 14px;
}
.meta {
  margin: 0 0 16px;
}
.note {
  margin: 12px 0;
}
.facts {
  margin: 18px 0 16px;
}
.facts div {
  display: grid;
  grid-template-columns: minmax(130px, 43%) 1fr;
  gap: 12px;
  border-bottom: 1px solid var(--fh-divider);
  padding: 7px 0;
  font-size: 14px;
}
.facts dt {
  font-weight: 620;
}
.facts dd {
  margin: 0;
  font-variant-numeric: tabular-nums;
}
.citations,
.tool-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.citations li {
  padding: 7px 0;
  color: var(--fh-secondary-text);
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.citations a,
.tool-row code {
  color: var(--fh-link);
}
.paging {
  display: flex;
  gap: 16px;
  margin-top: 11px;
}
.empty {
  padding: 14px 0;
  color: var(--fh-secondary-text);
  margin: 0;
}
.brief .actions {
  margin-top: 16px;
}
.information {
  max-width: 1100px;
  padding-top: 42px;
  padding-bottom: 70px;
  min-height: 70vh;
}
.information h1 {
  color: var(--fh-link);
  font-size: clamp(52px, 6.5vw, 85px);
  margin-top: 28px;
}
.intro {
  font-size: 20px;
  line-height: 1.5;
  max-width: 700px;
  color: var(--fh-secondary-text);
  margin-bottom: 34px;
}
.back {
  font-size: 14px;
}
.source-block {
  border-top: 1px solid var(--fh-divider);
  padding: 25px 0 18px;
}
.source-block h2 {
  font-size: 36px;
}
.source-block p {
  max-width: 760px;
}
.source-block .facts {
  max-width: 720px;
}
.copy-line {
  margin-top: 16px;
  flex-wrap: wrap;
}
.copy-line code {
  font-size: 15px;
  background: var(--fh-surface);
  border-radius: 4px;
  padding: 12px;
  overflow-wrap: anywhere;
}
.tool-row {
  padding: 13px 0;
  border-bottom: 1px solid var(--fh-divider);
}
.tool-row p {
  margin: 5px 0;
}
.tool-row code {
  font-weight: 650;
}
.foot {
  display: flex;
  min-height: 86px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
footer {
  background: var(--fh-espresso);
  color: var(--fh-plaster);
}
.foot .brand-mark {
  color: var(--fh-apricot);
}
.foot .wordmark {
  font-size: 30px;
}
.foot > div {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
}
.foot > div > span {
  opacity: 0.72;
}
@media (max-width: 850px) {
  .mast-inner {
    gap: 20px;
  }
  .mast nav {
    gap: 18px;
  }
  .hero-copy {
    max-width: 59%;
  }
  .hero h1 {
    font-size: clamp(56px, 8.5vw, 75px);
  }
  .hero-inner {
    min-height: 370px;
  }
  .hero p {
    max-width: 360px;
  }
  .research-body {
    grid-template-columns: 33% 1fr;
  }
  .stat-inner > div {
    padding: 0 17px;
  }
}
@media (max-width: 640px) {
  .wrap {
    padding-left: 20px;
    padding-right: 20px;
  }
  .mast-inner {
    min-height: 89px;
    flex-wrap: wrap;
    align-content: center;
    justify-content: space-between;
    gap: 7px 10px;
    padding-top: 9px;
    padding-bottom: 7px;
  }
  .wordmark {
    font-size: 31px;
  }
  .mast-action {
    font-size: 12px;
    padding: 9px 10px;
  }
  .mast nav {
    order: 3;
    width: 100%;
    gap: 20px;
    font-size: 13px;
  }
  .mast nav a {
    padding: 3px 0;
  }
  .hero-copy {
    max-width: 100%;
    padding: 26px 0 0;
  }
  .hero-inner {
    display: block;
    min-height: 429px;
  }

  .hero h1 {
    font-size: clamp(50px, 13vw, 72px);
  }
  .hero p {
    font-size: 15px;
    max-width: 370px;
    margin: 13px 0 14px;
  }
  .actions {
    gap: 15px;
  }
  .actions .btn,
  .actions .text-link {
    font-size: 13px;
  }
  .stat-inner {
    padding-top: 17px;
    padding-bottom: 17px;
  }
  .stat-inner strong {
    font-size: 29px;
  }
  .stat-inner > div {
    padding: 0 9px;
  }
  .stat-inner span {
    font-size: 11px;
    line-height: 1.35;
  }
  .desk {
    padding-top: 27px;
    padding-bottom: 34px;
  }
  .desk-heading h2 {
    font-size: 43px;
  }
  .desk-heading .text-link {
    font-size: 12px;
  }
  .modes {
    gap: 13px;
    margin: 8px 0 14px;
  }
  .modes button {
    font-size: 12px;
    line-height: 1.25;
    padding: 9px 0;
  }
  .search-form {
    gap: 7px;
    flex-wrap: wrap;
  }
  .input-wrap {
    flex-basis: calc(100% - 84px);
  }
  .search-form > .btn {
    min-width: 72px;
    padding: 9px 12px;
  }
  .search-form:has(.filter:not([hidden])) .input-wrap {
    flex-basis: 100%;
  }
  .search-form:has(.filter:not([hidden])) > .btn {
    margin-left: auto;
  }
  .input-wrap input,
  .filter select,
  .filter input {
    font-size: 16px;
  }
  .research-body {
    grid-template-columns: 1fr;
  }
  .results {
    padding: 14px 0;
  }
  .results #results {
    overflow: auto;
    max-height: 235px;
  }
  .brief {
    border-top: 1px solid var(--fh-divider);
    border-left: 0;
    padding: 18px 0 0;
  }
  .facts div {
    grid-template-columns: minmax(105px, 47%) 1fr;
  }
  .foot {
    padding-top: 18px;
    padding-bottom: 18px;
    flex-wrap: wrap;
  }
  .foot > div {
    gap: 16px;
  }
  .information {
    padding-top: 23px;
  }
  .information .intro {
    font-size: 17px;
  }
  .citations li {
    flex-wrap: wrap;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}
.watchlist {
  padding: 6px 0 10px;
}
.watchlist h3 {
  font: 400 clamp(29px, 3.1vw, 42px)/1.1 var(--fh-display-family);
  margin: 9px 0;
}
.watchlist p {
  max-width: 670px;
  color: var(--fh-secondary-text);
}
.watchlist label {
  display: block;
  margin: 14px 0 6px;
  font-weight: 600;
}
.watchlist textarea {
  display: block;
  width: 100%;
  max-width: 840px;
  min-height: 78px;
  resize: vertical;
  border: 1px solid var(--fh-control-border);
  border-radius: 5px;
  background: var(--fh-surface);
  padding: 12px;
  color: var(--fh-text);
  font: 15px/1.5 var(--fh-body-family);
}
.watchlist textarea:focus-visible {
  outline: 3px solid var(--fh-focus);
  outline-offset: 3px;
}
.watchlist .actions {
  margin: 12px 0 18px;
}
.watchlist .status {
  color: var(--fh-text);
  font-weight: 600;
}
.watchlist .status.error {
  color: var(--fh-link);
}
.watch-table-wrap {
  overflow-x: auto;
  margin-top: 12px;
}
.watch-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.watch-table th,
.watch-table td {
  padding: 11px 14px 11px 0;
  border-bottom: 1px solid var(--fh-divider);
  vertical-align: top;
  text-align: left;
}
.watch-table th {
  font-weight: 600;
}
.watch-table th[scope="col"] {
  background: var(--fh-surface);
  padding-left: 8px;
}
.watch-table th[scope="row"] {
  padding-left: 8px;
}
.watch-table small {
  display: block;
  color: var(--fh-secondary-text);
  font-weight: 400;
  margin-top: 3px;
}
.watch-table th:first-child {
  width: 42%;
}
.watch-table .watch-money,
.watch-table .watch-cites {
  white-space: nowrap;
}
.watch-table .flag {
  color: var(--fh-link);
  font-weight: 700;
}
@media (max-width: 640px) {
  .modes {
    flex-wrap: wrap;
    gap: 0 15px;
  }
  .watch-table {
    font-size: 13px;
  }
  .watch-table th,
  .watch-table td {
    padding-right: 10px;
  }
  .watch-table .watch-cites {
    white-space: normal;
  }
  .watchlist textarea {
    font-size: 16px;
  }
  .hero {
    display: flex;
    flex-direction: column;
  }
  .hero-inner {
    min-height: 0;
    order: 0;
  }
  .hero-copy {
    padding-bottom: 12px;
  }

  .search-form:not(:has(.filter:not([hidden]))) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
  }
}
@media (max-width: 480px) {
  .modes {
    display: grid;
    grid-template-columns: max-content max-content;
    column-gap: 20px;
  }
  .modes button {
    text-align: left;
  }
}
.product-strip {
  border-top: 1px solid var(--fh-divider);
  background: var(--fh-surface);
  padding: 36px 0;
}
.product-strip .wrap,
.access-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
}
.product-strip h2 {
  font: 400 clamp(30px, 4vw, 52px)/1.05 var(--fh-display-family);
  margin: 0;
}
.product-strip p,
.access-panel p {
  margin: 8px 0 0;
  max-width: 61ch;
}
.information.library {
  max-width: 1280px;
}
.access-panel {
  padding: 20px clamp(16px, 2.2vw, 30px);
  background: var(--fh-surface);
  border: 1px solid var(--fh-divider);
  border-radius: 7px;
  margin: 22px 0 28px;
}
.access-panel details {
  flex-basis: 100%;
  font-size: 0.9rem;
}
.access-panel summary,
.tool-runner summary {
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.access-panel form {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 10px;
}
.library-grid {
  display: grid;
  grid-template-columns: minmax(220px, 30%) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 60px);
  align-items: start;
}
.library-index {
  border-right: 1px solid var(--fh-divider);
  padding-right: 18px;
}
.library-index section {
  margin: 0 0 22px;
}
.library-index h3,
.tier {
  font: 700 0.76rem/1.4 var(--fh-body-family);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fh-link);
}
.library-index button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 7px 10px;
  border: 0;
  background: transparent;
  border-radius: 4px;
  line-height: 1.35;
}
.library-index button[aria-pressed="true"],
.library-index button:hover {
  background: color-mix(in srgb, var(--fh-action) 12%, var(--fh-surface));
  color: var(--fh-text);
}
.library-index select,
.library-index > label {
  display: none;
}
.tool-runner h2 {
  font: 400 clamp(34px, 4vw, 49px)/1.05 var(--fh-display-family);
  margin: 8px 0 6px;
}
.tool-runner label,
.library-index > label {
  font-weight: 650;
}
.tool-runner label small {
  font-size: 0.8rem;
  color: var(--fh-secondary-text);
  font-weight: 400;
}
.tool-runner textarea,
.access-panel input,
.library-index select {
  border: 1px solid var(--fh-control-border);
  border-radius: 5px;
  background: var(--fh-surface);
  padding: 10px;
}
.tool-runner textarea {
  display: block;
  width: 100%;
  margin: 5px 0 12px;
  font:
    14px/1.5 ui-monospace,
    monospace;
  resize: vertical;
}
.tool-runner .btn:disabled {
  opacity: 0.55;
  cursor: default;
}
.tool-runner pre {
  font:
    13px/1.5 ui-monospace,
    monospace;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: var(--fh-surface);
  border: 1px solid var(--fh-divider);
  padding: 14px;
  border-radius: 5px;
  max-height: 430px;
  overflow: auto;
}
.tool-runner details {
  margin-top: 15px;
}
.tool-runner .facts dd,
.output-row p {
  overflow-wrap: anywhere;
}
.output-row {
  padding: 12px 0;
  border-top: 1px solid var(--fh-divider);
}
.output-row p {
  margin: 4px 0;
  color: var(--fh-secondary-text);
}
.tool-runner h3 {
  font: 400 1.7rem/1.1 var(--fh-display-family);
}
@media (max-width: 700px) {
  .library-grid {
    display: block;
  }
  .library-index {
    border: 0;
    padding: 0 0 18px;
  }
  .library-index select,
  .library-index > label {
    display: block;
    width: 100%;
  }
  .library-index #tool-index {
    display: none;
  }
  .access-panel {
    gap: 12px;
  }

  .tool-runner textarea {
    font-size: 16px;
  }
}
#tool-fields fieldset {
  border: 1px solid var(--fh-divider);
  border-radius: 5px;
  margin: 15px 0;
  padding: 5px 15px 12px;
}
#tool-fields legend {
  font-weight: 650;
  padding: 0 5px;
}
.input-field {
  margin: 9px 0;
}
.input-field label {
  display: block;
  margin-bottom: 4px;
}
.input-field input,
.input-field select,
.input-field textarea {
  font: inherit;
  width: 100%;
  padding: 9px 11px;
  border: 1px solid var(--fh-control-border);
  border-radius: 5px;
  background: var(--fh-surface);
}
.input-field textarea {
  margin: 0;
}
.extra-fields {
  margin: 10px 0;
}
.input-mode {
  display: block;
  margin: 10px 0 15px;
}
.source-diff {
  border-left: 2px solid var(--fh-link);
  padding-left: 12px;
  margin: 10px 0 12px;
}
.source-diff p {
  max-height: 8rem;
  overflow: auto;
}
.source-diff a {
  font-size: 0.85rem;
  margin-right: 12px;
}

.mast-inner,.mast nav,.foot,.foot > div { flex-wrap: wrap; }
.mast nav a,.foot a:not(.wordmark) { font: 600 15px/20px var(--fh-body-family); color: var(--fh-text); }
.mast nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; color: var(--fh-link); }
.mast-inner { gap: 20px; padding-top: 16px; padding-bottom: 16px; }
.mast nav { gap: clamp(12px,2vw,28px); }
.foot { padding-block: 24px; }
.btn,.actions .btn,.actions .text-link,.modes button,.link-button,.paging button,.desk-heading .text-link { font: 600 15px/20px var(--fh-body-family); }
.btn.dark,.btn.light { color: var(--fh-on-action); background: var(--fh-action); }
.btn:hover { filter: brightness(.95); }
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible { outline: 3px solid var(--fh-focus); outline-offset: 3px; }
.hero h1,.information h1 { font: 700 64px/64px var(--fh-display-family); text-transform: uppercase; letter-spacing: 0; }
.information h1 { color: var(--fh-text); }
.desk-heading h2,.information h2,.tool-runner h2,.product-strip h2,.watchlist h3,.tool-runner h3 { font: 700 32px/36px var(--fh-display-family); text-transform: uppercase; letter-spacing: 0; }
.hero p,.information .intro,.watchlist p { font: 400 17px/26px var(--fh-body-family); }
.facts dd,.watch-table td { font: 500 16px/23px var(--fh-body-family); font-variant-numeric: tabular-nums; }
.input-wrap input,.filter input,.filter select,.access-panel input,.watchlist textarea,.library-index select,.input-field input,.input-field select,.input-field textarea { font: 400 17px/26px var(--fh-body-family); color: var(--fh-text); }
#tool-args,#tool-result,code,pre { font-family: ui-monospace,SFMono-Regular,Consolas,monospace; }
.copy-line code { min-width: 0; }
.library-index button { overflow-wrap: anywhere; }
.foot > div { row-gap: 12px; }
@media (max-width: 1060px) {
  .mast-inner { justify-content: space-between; gap: 12px 18px; }
  .mast nav { order: 3; width: 100%; margin: 0; gap: 10px 22px; }
}
@media (max-width: 600px) {
  .hero h1,.information h1 { font-size: 48px; line-height: 50px; }
  .modes { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .mast-inner { gap: 12px; }
  .mast nav { gap: 6px 16px; }
  .mast-action { white-space: normal; }
  .foot { align-items: flex-start; }
  .access-panel form > * { max-width: 100%; }
  .desk-heading { flex-wrap: wrap; }
}

/* A dated extract comparison functions as the hero's visual and a working source link. */
.hero { background: var(--fh-espresso); }
.hero-inner {
  display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1fr);
  align-items: center; gap: clamp(24px, 6vw, 100px); padding-block: clamp(30px,4vw,60px);
}
.hero-copy { width: 100%; max-width: 100%; padding: 0; }
.notice-stage { position: relative; width: 100%; max-width: 550px; margin-inline: auto; padding: 6px 16px 12px 0; }
.notice-file { position: relative; isolation: isolate; }
.notice-file::before,.notice-file::after { content: ""; position: absolute; z-index: -1; inset: 40px -9px -6px 8px; border-radius: 0 3px 3px 3px; background: #c49069; transform: rotate(1.35deg); transform-origin: bottom left; }
.notice-file::after { inset: 41px -4px -4px 4px; background: #e7c9a6; transform: rotate(.55deg); }
.file-tab { width: fit-content; padding: 5px 27px 5px 17px; background: var(--fh-apricot); color: var(--fh-espresso); clip-path: polygon(0 0,calc(100% - 14px) 0,100% 100%,0 100%); border-radius: 4px 0 0; font: 700 12px/17px var(--fh-body-family); letter-spacing: .07em; text-transform: uppercase; }
.notice-paper { position: relative; color: var(--fh-text); background: var(--fh-canvas); padding: clamp(18px,2.5vw,32px); box-shadow: 0 3px 12px #21191724; border-radius: 0 3px 3px; }
.notice-dateline { border-bottom: 1px solid var(--fh-control-border); padding-bottom: 10px; display: flex; justify-content: space-between; gap: 6px; font: 650 12px/16px var(--fh-body-family); letter-spacing: .035em; text-transform: uppercase; }
.notice-agency { font: 500 13px/18px var(--fh-body-family); color: var(--fh-secondary-text); margin-top: 18px; }
.notice-paper h2 { margin: 4px 0 0; font: 700 clamp(28px,2.8vw,39px)/1 var(--fh-display-family); text-transform: uppercase; }
.hero .notice-reference { margin: 8px 0 16px; color: var(--fh-secondary-text); font: 400 13px/18px var(--fh-body-family); }
.date-comparison { border-top: 1px solid var(--fh-divider); border-bottom: 1px solid var(--fh-divider); padding-block: 12px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; font-variant-numeric: tabular-nums; }
.date-comparison span,.date-comparison strong,.date-comparison s { display: block; }
.date-comparison span { font: 500 12px/16px var(--fh-body-family); color: var(--fh-secondary-text); }
.date-comparison strong,.date-comparison s { margin-top: 3px; font: 650 clamp(15px,1.5vw,19px)/1.35 var(--fh-body-family); }
.date-comparison s { color: var(--fh-secondary-text); font-weight: 500; }
.date-comparison strong,.date-comparison b { color: var(--fh-link); }
.notice-paper > a { display: inline-block; margin-top: 12px; font: 600 14px/20px var(--fh-body-family); }
@media(max-width: 760px) {
  .hero-inner { display: grid; grid-template-columns: 1fr; min-height: 0; gap: 24px; padding-block: 28px 32px; }
  .hero-copy { padding: 0; }
  .notice-stage { margin-inline: 0; }
}
@media(max-width: 380px) {
  .notice-stage { padding-right: 5px; }
  .notice-paper { padding: 14px; }
  .date-comparison { gap: 6px; }
}
.mobile-menu { display: none; }
@media (max-width: 600px) {
  .mast .desktop-nav { display: none; }
  .mast-inner { display: grid; grid-template-columns: 1fr auto; align-items: center; }
  .mast-inner > .wordmark { grid-column: 1/-1; }
  .mobile-menu { display: block; }
  .mobile-menu summary { cursor: pointer; font: 600 15px/20px var(--fh-body-family); color: var(--fh-link); padding-block: 10px; }
  .mobile-menu[open] { grid-column: 1/-1; }
  .mobile-menu nav { display: flex; gap: 8px 16px; margin: 4px 0 8px; }
  .mast-action { justify-self: end; }
}
