@font-face {
  font-family: "Instrument Sans";
  src: url("/assets/fonts/instrument-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: Barlow;
  src: url("/assets/fonts/barlow-300.woff2") format("woff2");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: Barlow;
  src: url("/assets/fonts/barlow-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Barlow;
  src: url("/assets/fonts/barlow-600.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  color-scheme: light;
  --tn-ink: #171e22;
  --tn-secondary: #4c5b63;
  --tn-white: #fff;
  --tn-soft: #f0f5f6;
  --tn-line: #d6dfe2;
  --tn-accent: #075562;
  --tn-hover: #043c47;
  --tn-dark: #131e24;
  --tn-amber: #ecbb7c;
  --tn-focus: #b15320;
  --tn-sans: "Instrument Sans", system-ui, sans-serif;
  --tn-display: Barlow, "Instrument Sans", system-ui, sans-serif;
  --tn-gutter: clamp(18px, 4vw, 56px);
  --tn-max: 1230px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
.tn-site {
  margin: 0;
  background: var(--tn-white);
  color: var(--tn-ink);
  font: 400 1rem/1.58 var(--tn-sans);
  --green: var(--tn-hover);
  --yellow: var(--tn-amber);
  --wash: var(--tn-soft);
  --serif: var(--tn-display);
  --sans: var(--tn-sans);
}

.tn-site main { min-width: 0; }
.tn-site :is(h1, h2, h3, h4) {
  color: inherit;
  font: 400 1.5rem/1.14 var(--tn-display);
  letter-spacing: -.012em;
}
.tn-site h1 { font-size: clamp(2.5rem, 4.65vw, 4.35rem); margin: 0; }
.tn-site h2 { font-size: clamp(1.7rem, 3vw, 2.6rem); }
.tn-site h3 { font-size: 1.42rem; font-weight: 600; }
.tn-site a { color: inherit; text-underline-offset: .21em; }
.tn-site :focus-visible { outline: 2px solid var(--tn-focus); outline-offset: 4px; }
.tn-site [id] { scroll-margin-top: 20px; }
.tn-wrap { width: min(calc(100% - 2 * var(--tn-gutter)), var(--tn-max)); margin-inline: auto; }

.tn-visually-hidden, .tn-skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}
.tn-skip:focus { position: absolute; z-index: 20; inset: 8px auto auto 8px; padding: 8px 14px; background: #fff; }
.tn-icon {
  width: 1.18em;
  height: 1.18em;
  vertical-align: middle;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.tn-header { position: relative; z-index: 5; background: #fff; }
.tn-header-row {
  min-height: 67px;
  display: grid;
  grid-template-columns: minmax(max-content, .8fr) minmax(200px, 470px) minmax(max-content, .8fr);
  align-items: center;
  gap: 20px;
}
.tn-wordmark {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  font: 600 1.75rem/1 var(--tn-display);
  letter-spacing: -.03em;
  text-decoration: none;
  white-space: nowrap;
}
.tn-wordmark img { width: 37px; height: 37px; display: block; }
.tn-saved {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 0 7px 8px;
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.tn-saved:hover { color: var(--tn-accent); text-decoration: underline; }
.tn-navigation { background: #f8faf9; border-block: 1px solid var(--tn-line); }
.tn-nav { display: flex; align-items: stretch; gap: clamp(12px, 3vw, 38px); min-height: 46px; }
.tn-nav a {
  display: flex;
  align-items: center;
  border-bottom: 3px solid transparent;
  padding: 11px 1px 8px;
  text-decoration: none;
  text-align: center;
  font-size: .87rem;
  font-weight: 650;
}
.tn-nav a[aria-current], .tn-nav a:hover { border-color: var(--tn-accent); color: var(--tn-accent); }
.tn-search { min-width: 0; position: relative; }
.tn-search-field { display: flex; align-items: center; background: var(--tn-soft); border: 1px solid transparent; }
.tn-search-field:focus-within { border-color: var(--tn-accent); background: #fff; }
.tn-search-field input {
  appearance: none;
  width: 100%;
  min-width: 0;
  background: transparent;
  border: 0;
  font: inherit;
  font-size: .9rem;
  color: var(--tn-ink);
  padding: 10px 12px;
}
.tn-search-field input:focus-visible { outline-offset: -2px; }
.tn-search-field button {
  align-self: stretch;
  flex: 0 0 43px;
  cursor: pointer;
  font: inherit;
  color: var(--tn-accent);
  background: transparent;
  border: none;
}
.tn-search-results {
  position: absolute;
  z-index: 6;
  inset: calc(100% + 5px) 0 auto;
  max-height: min(50vh, 360px);
  overflow-y: auto;
  background: #fff;
  border: 1px solid var(--tn-line);
  box-shadow: 0 9px 25px #192e401a;
}
.tn-search-results ul { list-style: none; margin: 0; padding: 0; }
.tn-search-results li + li { border-top: 1px solid var(--tn-line); }
.tn-search-results a { display: block; padding: 8px 12px; font-size: .9rem; }
.tn-search-results a:hover, .tn-search-results a:focus-visible { background: var(--tn-soft); }
.tn-search-results p { padding: 10px 12px; margin: 0; font-size: .9rem; }
.tn-search-results p:empty { display: none; }

.tn-home-hero { background: var(--tn-dark); color: #fff; }
.tn-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  align-items: center;
  gap: clamp(20px, 4vw, 55px);
  min-height: 452px;
  padding-block: clamp(24px, 4vw, 52px);
}
.tn-hero-copy { min-width: 0; }
.tn-hero-copy h1 {
  margin: 0 0 12px;
  color: #d5dcdf;
  font: 600 .8rem/1.3 var(--tn-sans);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.tn-hero-copy h1 br { display: none; }
.tn-hero-copy h1 span + span::before { content: " "; }
.tn-hero-copy h2 { font-size: clamp(2.8rem, 5vw, 4.4rem); font-weight: 300; line-height: 1.02; margin: 0; }
.tn-hero-copy > p { max-width: 43ch; margin: 16px 0 23px; color: #d9e0e3; }
.tn-hero-guide { display: inline-block; margin-top: 16px; }
.tn-hero-media { position: relative; overflow: hidden; margin: 0; border-radius: 4px; }
.tn-hero-media img { width: 100%; height: auto; aspect-ratio: 1.56; display: block; object-fit: cover; }
.tn-hero-media figcaption {
  position: absolute;
  inset: auto auto 12px 12px;
  max-width: calc(100% - 24px);
  padding: 4px 8px;
  background: #10161ae8;
  color: #fff;
  font-size: .75rem;
}

.tn-hero-actions, .tn-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 11px; }
.tn-site :is(.tn-button, .tn-button-alt) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 43px;
  padding: 9px 15px;
  font: 650 .91rem/1.28 var(--tn-sans);
  border: 1px solid var(--tn-line);
  border-radius: 3px;
  background: #fff;
  color: var(--tn-ink);
  text-decoration: none;
  text-align: left;
  cursor: pointer;
}
.tn-site .tn-button { background: var(--tn-accent); border-color: var(--tn-accent); color: #fff; }
.tn-site .tn-button:hover { background: var(--tn-hover); }
.tn-site .tn-button-alt:hover { background: var(--tn-soft); border-color: #b3c4cb; }
.tn-site .tn-home-hero .tn-button { background: var(--tn-amber); border-color: var(--tn-amber); color: #232018; }
.tn-site .tn-home-hero .tn-button:hover { background: #f6d7a9; }
.tn-site .tn-home-hero .tn-button-alt { background: transparent; color: #fff; border-color: #707e86; }
.tn-site .tn-home-hero .tn-button-alt:hover { background: #253640; }
.tn-site button:disabled { opacity: .54; cursor: default; }
.tn-site :is(a,button)[aria-pressed="true"]:not(.tn-tabs button) { color: var(--tn-accent); }

.tn-section { margin: 52px auto 0; }
.tn-section-title { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 10px 18px; margin: 0 0 19px; }
.tn-section-title h2, .tn-simple h2 { margin: 0 0 6px; }
.tn-section-title p, .tn-intro p { color: var(--tn-secondary); margin: 0; max-width: 69ch; }
.tn-section-title a { color: var(--tn-accent); font-size: .93rem; font-weight: 650; }
.tn-tabs { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; margin: 0 0 18px; }
.tn-tabs :is(button,a) {
  padding: 7px 3px 6px;
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  color: var(--tn-secondary);
  font: 600 .88rem/1.28 var(--tn-sans);
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
.tn-tabs :is([aria-pressed=true],[aria-current=true],:hover) { border-bottom-color: var(--tn-accent); color: var(--tn-accent); }

.tn-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(15px, 2vw, 25px); }
.tn-grid.tn-tool-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
.tn-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  color: var(--tn-ink);
  background: #fff;
  border: 1px solid var(--tn-line);
  border-radius: 4px;
}
.tn-card > a:first-child { display: block; overflow: hidden; line-height: 0; }
.tn-card img { display: block; width: 100%; height: auto; aspect-ratio: 1.62; object-fit: cover; background: var(--tn-soft); }
.tn-card .tn-card-copy { display: flex; flex: 1; flex-direction: column; align-items: flex-start; gap: 9px; padding: 17px; }
.tn-card h3 { margin: 0; }
.tn-card h3 a { text-decoration: none; }
.tn-card h3 a:hover { color: var(--tn-accent); text-decoration: underline; }
.tn-card p { margin: 0; color: var(--tn-secondary); font-size: .91rem; }
.tn-card .tn-card-topic {
  color: var(--tn-accent);
  font-size: .72rem;
  font-weight: 650;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.tn-card-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 13px; width: 100%; margin-top: auto; padding-top: 6px; }
.tn-card-actions .tn-button-alt { min-height: 32px; padding: 5px 6px; border-color: transparent; font-size: .81rem; font-weight: 600; }
.tn-card .tn-card-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--tn-accent);
  font-size: .86rem;
  font-weight: 650;
  text-decoration: underline;
}
.tn-card .tn-card-copy > .tn-card-link { margin-top: auto; }
.tn-products .tn-card img { object-fit: contain; background: #fff; }
.tn-products { margin-bottom: 40px; }

.field-shortcuts { margin-top: 25px; }
.field-shortcut-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.field-shortcut {
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: start;
  gap: 8px 12px;
  padding: 18px;
  border: 1px solid var(--tn-line);
  border-inline-start: 3px solid var(--tn-accent);
  text-decoration: none;
}
.field-shortcut:hover { background: var(--tn-soft); }
.field-shortcut :is(h3,p) { margin: 0; }
.field-shortcut p { grid-column: 1/-1; color: var(--tn-secondary); font-size: .92rem; }
.field-shortcut .tn-icon { color: var(--tn-accent); width: 1.35rem; height: 1.35rem; }
.field-reading {
  display: grid;
  grid-template-columns: minmax(0,.8fr) minmax(0,1.1fr);
  gap: 25px;
  align-items: center;
  padding: clamp(16px, 3vw, 34px);
  background: var(--tn-soft);
}
.field-reading h2, .field-reading .tn-photo { margin: 0; }

.tn-intro { margin: 27px auto 30px; padding-bottom: 22px; border-bottom: 1px solid var(--tn-line); }
.tn-intro h1 { max-width: min(100%, 28ch); margin: 7px 0 10px; }
.tn-intro p { font-size: 1.02rem; }
.tn-crumbs { display: flex; flex-wrap: wrap; align-items: baseline; gap: 3px 9px; color: var(--tn-secondary); font-size: .82rem; margin: 0 0 14px; }
.tn-crumbs [aria-current=page] { font-weight: 650; overflow-wrap: anywhere; }
.tn-simple { margin-bottom: 38px; overflow-wrap: anywhere; }
.tn-simple :is(p,ul) { max-width: 72ch; }
.tn-simple h2 { margin: 18px 0 8px; }
.tn-simple h3 { margin: 18px 0 5px; }
.tn-site .policy-page { color: var(--tn-ink); }
.tn-site .policy-page :is(.page-intro,.policy-body,.credits-list) { width: min(100%, 930px); margin-inline: auto; }

.tn-tool-layout { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(0,.8fr); gap: 24px; align-items: start; margin-bottom: 30px; }
.tn-tool-access { margin-block: -12px 18px; color: var(--tn-secondary); font-size: .9rem; }
.tn-widget { min-width: 0; }
.tn-side {
  min-width: 0;
  display: grid;
  gap: 10px;
  padding: 18px;
  background: var(--tn-soft);
  border: 1px solid var(--tn-line);
  border-radius: 3px;
}
.tn-side :is(h2,h3,p,ul,figure) { margin: 0; }
.tn-side h2 { font-size: 1.55rem; }
.tn-side ul { padding-left: 19px; }
.tn-side a { color: var(--tn-accent); }
.tn-tool-sidebar { padding: 16px; }
.tn-site .tn-tool-note h2 { margin-bottom: 5px; font-size: 1.375rem; line-height: 1.2; }
.tn-tool-note p { font-size: .9375rem; line-height: 1.45; }
.tn-tool-sidebar .tn-photo {
  display: grid;
  grid-template-columns: minmax(0,min(44%,10rem)) minmax(0,1fr);
  align-items: center;
  gap: 12px;
}
.tn-tool-sidebar .tn-photo img { width: 100%; height: auto; aspect-ratio: 16 / 10; }
.tn-tool-sidebar .tn-measured img { background: var(--tn-dark); }
.tn-tool-sidebar .tn-photo figcaption { margin: 0; font-size: .8125rem; line-height: 1.4; overflow-wrap: anywhere; }
.tn-tool-guide {
  display: flex;
  align-items: center;
  min-height: 44px;
  gap: 10px;
  font-size: .875rem;
  font-weight: 650;
  line-height: 1.25;
}
.tn-tool-guide img { display: block; flex: none; width: 64px; height: 42px; object-fit: cover; border-radius: 5px; }
.tn-tool-guide .tn-icon { margin-inline-start: auto; }
.tn-tool-sources { margin-top: 6px; border-top: 1px solid var(--tn-line); font-size: .875rem; }
.tn-tool-sources summary { cursor: pointer; padding-block: 5px; font-weight: 650; }
.tn-tool-sources ul { margin-top: 4px; overflow-wrap: anywhere; }
@media (min-width: 768px) {
  .field-tool-context .tn-tool-sidebar { grid-template-columns: minmax(0,.7fr) minmax(0,1fr); align-items: start; column-gap: 24px; }
  .field-tool-context .tn-tool-sidebar > .tn-photo { grid-column: 1; grid-row: 1 / span 2; align-self: center; }
}
@media (max-width: 767px) {
  .tn-tool-layout { grid-template-columns: minmax(0,1fr); gap: 12px; margin-bottom: 26px; }
}
.field-secondary { margin-bottom: 25px; }
.field-secondary > summary { cursor: pointer; font-weight: 650; margin: 0 0 12px; }
.tn-tool-form, .tn-output, .tn-error { padding: clamp(14px, 2vw, 25px); border: 1px solid var(--tn-line); border-radius: 3px; }
.tn-inputs { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px; margin: 0 0 19px; }
.tn-inputs > label { min-width: 0; display: grid; align-content: start; gap: 4px; font-size: .9rem; font-weight: 650; }
.tn-inputs label:has(:is(textarea,input[type=file])) { grid-column: 1/-1; }
.tn-inputs label small { font-size: .79rem; font-weight: 400; color: var(--tn-secondary); }
.tn-site :is(.tn-inputs,.tn-guide-search,.compat-page) :is(input,select,textarea) {
  min-height: 43px;
  min-width: 0;
  max-width: 100%;
  border: 1px solid #afc0c7;
  border-radius: 3px;
  background: #fff;
  color: var(--tn-ink);
  font: inherit;
}
.tn-site :is(.tn-inputs,.tn-guide-search) :is(input,select,textarea) { width: 100%; padding: 9px 11px; }
.tn-inputs textarea { min-height: 82px; resize: vertical; }
.tn-output { margin-top: 15px; border-color: #9bbdc1; background: #edf7f7; overflow-wrap: anywhere; }
.tn-output h2 { margin: 0 0 7px; }
.tn-error { margin-top: 15px; background: #fff4eb; border-color: #d1a081; color: #713815; }
.tn-result-links { display: flex; flex-wrap: wrap; gap: 8px 14px; margin: 14px 0; color: var(--tn-accent); font-weight: 650; }
.tn-result-metric { margin: 0; font-weight: 700; }
.tn-spot-note { max-width: 72ch; color: var(--tn-secondary); font-size: .875rem; }
.tn-attachment-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin: 13px 0; }
.tn-attachment-grid figure { margin: 0; }
.tn-attachment-grid img { width: 100%; max-height: 350px; object-fit: contain; }
#tool-panel > section > h3 { margin: 12px 0; }

.tn-archive-cover { background: var(--tn-dark); color: #fff; }
.tn-archive-lead {
  min-height: 280px;
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,.9fr);
  gap: clamp(18px, 4vw, 56px);
  align-items: center;
  padding-block: 25px;
}
.tn-archive-lead h1 { font-weight: 300; }
.tn-archive-lead :is(.tn-crumbs, p) { color: #dce4e6; }
.tn-archive-lead p { max-width: 60ch; margin: 11px auto 0; }
.tn-archive-lead > img { display: block; width: 100%; height: auto; aspect-ratio: 2.55; object-fit: cover; border-radius: 3px; }
.tn-directory { margin: 34px 0 48px; }
.tn-archive-filters { display: grid; grid-template-columns: minmax(200px,.38fr) minmax(0,1fr); align-items: end; gap: 10px 20px; margin-bottom: 22px; padding: 13px 0; border-block: 1px solid var(--tn-line); }
.tn-archive-filters .tn-tabs { margin: 0 0 3px; }
.tn-guide-search label { display: block; margin-bottom: 5px; font-size: .85rem; font-weight: 600; }
.tn-site [data-saved-empty] .tn-photo { max-width: 560px; }

.tn-story-head { margin-top: 27px; }
.tn-story-head .tn-crumbs { margin-bottom: 26px; }
.tn-story-topic { margin: 0 0 7px; color: var(--tn-accent); font-size: .76rem; letter-spacing: .055em; font-weight: 650; text-transform: uppercase; }
.tn-story-topic a { text-decoration: none; }
.tn-story-topic a:hover { text-decoration: underline; }
.tn-story-head h1 { max-width: 29ch; color: var(--tn-accent); font-weight: 400; font-size: clamp(2.35rem,4.45vw,4.1rem); }
.tn-story-lead { max-width: 72ch; margin-top: 14px; font-size: 1.05rem; color: var(--tn-secondary); }
.tn-story-lead p { margin: 0 0 .76rem; }
.tn-story-lead .tn-direct { color: var(--tn-ink); }
.tn-meta, .article-byline { display: flex; flex-wrap: wrap; gap: 4px 15px; align-items: center; margin: 13px 0 19px; color: var(--tn-secondary); font-size: .83rem; }
.article-byline svg { width: 1em; height: 1em; vertical-align: -.12em; }
.tn-story-image .tn-photo { margin-block: 0 17px; }
.tn-story-image .tn-photo img {
  width: 100%;
  max-height: 420px;
  aspect-ratio: 2.67;
  object-fit: cover;
  object-position: center;
}
.tn-story-image .tn-measured img {
  width: auto;
  max-width: 100%;
  max-height: 450px;
  aspect-ratio: auto;
  object-fit: contain;
  margin-inline: auto;
  background: #131e24;
}
.tn-reading-bar { border-block: 1px solid var(--tn-line); background: var(--tn-soft); }
.tn-reading-actions { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 12px; padding-block: 9px; }
.tn-reading-actions .tn-actions { min-width: 0; }
.tn-reading-actions .tn-button-alt { background: transparent; border-color: transparent; min-height: 36px; padding: 6px 9px; font-size: .84rem; }
.tn-reading-actions .tn-button { min-height: 37px; padding: 6px 10px; font-size: .87rem; }
.tn-reading-layout { display: grid; grid-template-columns: minmax(0, 780px) minmax(190px, 270px); gap: clamp(20px,5vw,79px); align-items: start; margin-top: 23px; }
.tn-story-body { min-width: 0; overflow-wrap: anywhere; }
.tn-story-body :is(p,li) { font-size: 1.02rem; }
.tn-story-body :is(p,ul,ol) { max-width: 74ch; }
.tn-story-body h2 { margin: 27px 0 9px; }
.tn-story-body h3 { margin: 17px 0 6px; }
.tn-story-body a:not(.tn-button,.tn-button-alt), .tn-related a { color: var(--tn-accent); }
.tn-story-body :is(ul,ol) { padding-inline-start: 24px; }
.tn-story-body .tn-photo { margin-block: 24px; }
.tn-story-body .tn-photo img { max-height: 490px; object-fit: contain; }
.tn-story-body table { width: 100%; border-collapse: collapse; }
.tn-story-body :is(th,td) { border: 1px solid var(--tn-line); padding: 8px; text-align: left; }
.tn-story-body th { background: var(--tn-soft); }
.tn-reading-contents { position: sticky; top: 19px; padding: 15px 0 15px 18px; border-inline-start: 2px solid var(--tn-line); }
.tn-reading-contents h2 { margin: 0 0 10px; font-size: 1.18rem; font-weight: 600; }
.tn-reading-contents ul { margin: 0; padding: 0; list-style: none; }
.tn-reading-contents li + li { margin-top: 6px; }
.tn-reading-contents a { display: inline-block; color: var(--tn-secondary); font-size: .85rem; line-height: 1.45; }
.tn-reading-contents a:hover { color: var(--tn-accent); }
.tn-related { border-top: 1px solid var(--tn-line); margin-top: 29px; padding-top: 18px; }
.tn-related h2 { margin: 0 0 7px; }
.tn-editorial { margin-bottom: 45px; }
.tn-addendum { margin: 24px 0; padding: 1px clamp(14px,3vw,24px) 19px; background: var(--tn-soft); border-inline-start: 3px solid #a5bdc3; }
.tn-addendum :is(h2,h3) { margin-bottom: 5px; }
.tn-photo { margin: 16px 0; }
.tn-photo img { display: block; width: 100%; height: auto; border-radius: 3px; object-fit: cover; }
.tn-photo figcaption { color: var(--tn-secondary); font-size: .82rem; margin: 7px 0 0; }
.tn-photo.tn-measured img { object-fit: contain; }
.tn-article-figures { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px; margin-top: 15px; align-items: start; }
.tn-article-figures .tn-photo { margin: 0; min-width: 0; }

.tn-footer { margin-top: 41px; background: var(--tn-dark); color: #f3f6f7; padding: 34px 0; }
.tn-footer .tn-wrap { display: grid; grid-template-columns: minmax(180px,1fr) auto auto; gap: 26px; }
.tn-footer p { max-width: 40ch; margin: 11px 0 0; color: #d7e2e5; font-size: .9rem; }
.tn-footer nav { display: grid; gap: 6px; align-content: start; font-size: .89rem; }
.tn-footer a:hover { color: var(--tn-amber); }

.tn-previous { margin-top: 42px; border-top: 1px solid var(--tn-line); }
.tn-site .tn-previous .article-card { min-width: 0; }
.tn-site .tn-previous :is(.card-image img,.phone-media img) { display: block; width: 100%; max-width: 100%; height: auto; }
.tn-site .tn-previous .card-image img { height: 100%; object-fit: cover; }
.tn-site .compat-page { color: var(--tn-ink); max-width: var(--tn-max); }
.tn-site .compat-intro h1, .tn-site .policy-page .page-intro h1 { font-size: clamp(2.5rem,4.65vw,4.35rem); font-weight: 400; color: var(--tn-ink); }
.tn-site .compat-page :is(.compat-dek,.compat-date,.compat-match-note,.compat-results-toolbar p) { color: var(--tn-secondary); }
.tn-site .compat-device { background: #fff; border-color: var(--tn-line); margin-bottom: 6px; }
.tn-site .compat-device summary { color: var(--tn-ink); }
.tn-site .compat-page a { color: var(--tn-accent); }
.tn-site .compat-page .tn-button { color: #fff; }

@media (max-width: 980px) {
  .tn-grid.tn-tool-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .tn-reading-layout { gap: 25px; }
}
@media (max-width: 720px) {
  .tn-header-row { min-height: 0; grid-template-columns: 1fr auto; gap: 8px 11px; padding-block: 8px 10px; }
  .tn-search { grid-row: 2; grid-column: 1/-1; }
  .tn-search-field input { padding-block: 7px; }
  .tn-saved { grid-column: 2; grid-row: 1; }
  .tn-saved-long { display: none; }
  .tn-wordmark { font-size: 1.57rem; gap: 7px; }
  .tn-wordmark img { width: 32px; height: 32px; }
  .tn-nav { min-height: 42px; display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 0 7px; }
  .tn-nav a { justify-content: center; font-size: .78rem; line-height: 1.18; padding-block: 7px 5px; }
  .tn-hero-layout, .tn-archive-lead { grid-template-columns: 1fr; gap: 14px; min-height: auto; padding-block: 19px; }
  .tn-hero-copy h2 { font-size: clamp(2.35rem,8.5vw,3.7rem); }
  .tn-hero-copy > p { margin: 10px 0 15px; }
  .tn-hero-media img { aspect-ratio: 1.84; }
  .tn-archive-lead > img { aspect-ratio: 3.1; }
  .tn-section { margin-top: 35px; }
  .tn-grid, .tn-grid.tn-tool-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .tn-card .tn-card-copy { padding: 11px; }
  .tn-card h3 { font-size: 1.22rem; }
  .field-shortcut-grid, .field-reading, .tn-archive-filters { grid-template-columns: 1fr; }
  .field-shortcut-grid { gap: 8px; }
  .field-shortcut { padding: 11px 13px; gap: 5px; }
  .tn-reading-layout { grid-template-columns: 1fr; margin-top: 16px; gap: 8px; }
  .tn-reading-contents { position: static; grid-row: 1; padding: 10px 12px; background: var(--tn-soft); }
  .tn-reading-contents ul { columns: 2; column-gap: 14px; }
  .tn-reading-contents li { break-inside: avoid; }
  .tn-story-head .tn-crumbs { margin-bottom: 14px; }
  .tn-story-head { margin-top: 17px; }
  .tn-story-image .tn-photo img { aspect-ratio: 1.67; }
  .tn-story-image .tn-measured img { aspect-ratio: auto; }
  .tn-story-body :is(p,li) { font-size: .99rem; }
  .tn-reading-actions { justify-content: flex-start; }
  .tn-footer .tn-wrap { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px; }
  .tn-footer .tn-wrap > div { grid-column: 1/-1; }
}
@media (max-width: 400px) {
  .tn-nav { gap: 0 4px; }
  .tn-nav a { font-size: .72rem; }
  .tn-inputs, .tn-article-figures { grid-template-columns: 1fr; }
  .tn-card-actions { gap: 2px 4px; }
}
@media print {
  .tn-header, .tn-footer, .tn-skip, .tn-actions, .tn-result-links, .tn-reading-bar, .tn-reading-contents { display: none !important; }
  .tn-reading-layout { display: block; }
  .tn-site:has([data-print-selected]) :not([data-print-selected], [data-print-selected] *, :has([data-print-selected])) { display: none !important; }
  .tn-site :is(.tn-tool-layout,.tn-section,.tn-previous):has([data-print-selected]) { display: block; width: auto; margin: 0; padding: 0; }
  .tn-output { border: 0; background: #fff; color: #111; margin: 0; padding: 0; }
}
