:root {
  --paper: #eeece4;
  --sheet: #f8f6ef;
  --ink: #202422;
  --muted: #626763;
  --faint: #626763;
  --line: #c9c6bc;
  --line-strong: #9d9b93;
  --accent: #a3432d;
  --accent-soft: #ead8cf;
  --dark: #252927;
  --dark-muted: #b8bbb4;
  --sans: "IBM Plex Sans", "Aptos", "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  --gutter: clamp(1.25rem, 4vw, 4.5rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color-scheme: light;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  border-top: 4px solid var(--accent);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--accent);
  color: var(--sheet);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:active,
.button-primary:active,
.button-secondary:active {
  transform: translateY(1px);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  border: 1px solid var(--ink);
  border-radius: 2px;
  background: var(--sheet);
  color: var(--ink);
  font-weight: 700;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-shell {
  width: min(1440px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  overflow-x: clip;
  border-inline: 1px solid var(--line);
  background: var(--paper);
}

main {
  min-height: 70vh;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(250px, 1fr) auto minmax(270px, 1fr);
  align-items: center;
  gap: 2rem;
  min-height: 76px;
  padding: 0 var(--gutter);
  border-bottom: 1px solid var(--ink);
  background: rgba(238, 236, 228, 0.96);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  width: max-content;
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  background: var(--sheet);
  overflow: hidden;
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 3px;
  height: 3px;
  background: var(--accent);
  transform: translateX(-50%) rotate(-18deg);
}

.brand-mark::before {
  top: 5px;
}

.brand-mark::after {
  bottom: 5px;
}

.brand-mark-line {
  width: 3px;
  height: 20px;
  background: var(--ink);
  transform: rotate(-18deg);
  clip-path: polygon(0 0, 100% 0, 100% 24%, 0 24%, 0 41%, 100% 41%, 100% 59%, 0 59%, 0 76%, 100% 76%, 100% 100%, 0 100%);
}

.brand-mark-small {
  width: 32px;
  height: 32px;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.brand small {
  margin-top: 0.05rem;
  color: var(--muted);
  font: 0.66rem/1.3 var(--mono);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.7rem;
}

.site-nav a {
  padding: 0.4rem 0;
  border-bottom: 1px solid transparent;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 650;
}

.site-nav a:hover {
  border-color: var(--accent);
  color: var(--ink);
}

/* Search */

.header-search,
.hero-search-control {
  position: relative;
}

.header-search {
  justify-self: end;
  width: min(100%, 330px);
}

.header-search input {
  width: 100%;
  height: 40px;
  padding: 0 3rem 0 2.5rem;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: var(--sheet);
  color: var(--ink);
  font-size: 0.78rem;
}

.header-search input::placeholder,
.hero-search input::placeholder {
  color: var(--faint);
}

.search-icon {
  position: absolute;
  left: 0.95rem;
  top: 50%;
  color: var(--accent);
  font: 700 0.85rem var(--mono);
  transform: translateY(-52%);
  pointer-events: none;
}

.header-search kbd {
  position: absolute;
  right: 0.65rem;
  top: 50%;
  padding: 0.1rem 0.38rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--paper);
  color: var(--muted);
  font: 0.62rem var(--mono);
  transform: translateY(-50%);
}

.search-results {
  position: absolute;
  top: calc(100% + 0.4rem);
  right: 0;
  z-index: 50;
  width: min(500px, 92vw);
  max-height: min(540px, 70vh);
  overflow: auto;
  border: 1px solid var(--ink);
  border-radius: 2px;
  background: var(--sheet);
  box-shadow: 7px 7px 0 rgba(32, 36, 34, 0.12);
}

.search-results a,
.search-empty {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.8rem;
  min-height: 58px;
  padding: 0.65rem 0.8rem;
  border-bottom: 1px solid var(--line);
}

.search-results a:last-child {
  border-bottom: 0;
}

.search-results a:hover,
.search-results a[aria-selected="true"] {
  background: var(--accent-soft);
}

.search-result-copy strong,
.search-result-copy small {
  display: block;
}

.search-result-copy strong {
  overflow: hidden;
  font-size: 0.78rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-result-copy small {
  color: var(--muted);
  font-size: 0.7rem;
}

.search-result-runway {
  color: var(--muted);
  font: 0.66rem var(--mono);
}

.search-empty {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
}

/* Homepage */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  align-items: end;
  gap: clamp(3rem, 7vw, 7rem);
  padding: clamp(4rem, 8vw, 7rem) var(--gutter) clamp(3.5rem, 7vw, 6rem);
  border-bottom: 1px solid var(--ink);
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--accent);
  font: 700 0.66rem/1.3 var(--mono);
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1,
.airport-hero h1,
.not-found h1 {
  max-width: 940px;
  margin: 0;
  font-size: clamp(3rem, 6vw, 5.65rem);
  font-weight: 650;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.hero-lede {
  max-width: 650px;
  margin: 1.6rem 0 2.25rem;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.65;
}

.hero-search {
  max-width: 690px;
}

.hero-search > label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--ink);
  font: 700 0.66rem var(--mono);
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.hero-search-control {
  display: flex;
  align-items: center;
  border: 1px solid var(--ink);
  border-radius: 2px;
  background: var(--sheet);
}

.hero-search input {
  min-width: 0;
  height: 60px;
  flex: 1;
  padding: 0 1rem 0 3rem;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
}

.hero-search button,
.button-primary,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 1.15rem;
  border-radius: 2px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: background-color 120ms ease, color 120ms ease, transform 80ms ease;
}

.hero-search button,
.button-primary {
  margin-right: 0.55rem;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--sheet);
  cursor: pointer;
}

.hero-search button:hover,
.button-primary:hover {
  border-color: var(--ink);
  background: var(--ink);
}

.hero-search > p {
  margin: 0.55rem 0 0;
  color: var(--muted);
  font-size: 0.72rem;
}

.search-results-large {
  left: 0;
  right: auto;
  top: calc(100% + 0.45rem);
  width: 100%;
}

.coverage-ledger {
  align-self: stretch;
  padding: 0;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.ledger-heading {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font: 0.68rem var(--mono);
  text-transform: uppercase;
}

.ledger-heading time {
  color: var(--ink);
}

.coverage-ledger dl {
  margin: 0;
}

.coverage-ledger dl > div {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.coverage-ledger dt {
  color: var(--muted);
  font-size: 0.76rem;
}

.coverage-ledger dd {
  margin: 0;
  color: var(--ink);
  font: 650 1.45rem/1 var(--mono);
}

.coverage-ledger > p {
  margin: 0;
  padding: 1rem 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.55;
}

.edition-note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.2rem;
  padding: 1rem var(--gutter);
  border-bottom: 1px solid var(--ink);
  background: var(--dark);
  color: var(--dark-muted);
  font-size: 0.72rem;
}

.edition-note strong {
  color: var(--sheet);
}

.edition-note a {
  color: var(--sheet);
  font-weight: 700;
}

.edition-note a:hover {
  color: #e5977f;
}

/* Shared sections and indexes */

.section-block {
  padding: clamp(3.5rem, 7vw, 5.5rem) var(--gutter);
  border-bottom: 1px solid var(--ink);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1.7rem;
}

.section-heading-tight {
  margin-bottom: 1.1rem;
}

.section-heading h2,
.content-main h2,
.insight-panel h2,
.source-panel h2 {
  margin: 0;
  font-size: clamp(1.55rem, 2.8vw, 2.35rem);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.text-link {
  padding-bottom: 0.15rem;
  border-bottom: 1px solid var(--line-strong);
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
}

.text-link span {
  margin-left: 0.3rem;
  color: var(--accent);
}

.text-link:hover {
  border-color: var(--accent);
  color: var(--ink);
}

.section-note {
  max-width: 400px;
  margin: 0;
  color: var(--muted);
  font-size: 0.74rem;
  text-align: right;
}

.airport-register {
  border-top: 2px solid var(--ink);
}

.airport-record {
  display: grid;
  grid-template-columns: 90px minmax(240px, 1fr) 150px 90px 125px 24px;
  align-items: center;
  gap: 1.1rem;
  min-height: 78px;
  padding: 0.85rem 0.55rem;
  border-bottom: 1px solid var(--line);
  transition: background-color 120ms ease;
}

.airport-record:hover {
  background: var(--sheet);
}

.airport-record-code strong,
.airport-record-code small {
  display: block;
  font-family: var(--mono);
}

.airport-record-code strong {
  color: var(--accent);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}

.airport-record-code small {
  margin-top: 0.1rem;
  color: var(--muted);
  font-size: 0.62rem;
}

.airport-record-name {
  min-width: 0;
}

.airport-record-name h3,
.airport-record-name p {
  overflow: hidden;
  margin: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.airport-record-name h3 {
  font-size: 0.86rem;
}

.airport-record-name p {
  margin-top: 0.12rem;
  color: var(--muted);
  font-size: 0.7rem;
}

.airport-record > span small,
.airport-record > span strong {
  display: block;
}

.airport-record > span small {
  margin-bottom: 0.15rem;
  color: var(--faint);
  font: 0.58rem var(--mono);
  text-transform: uppercase;
}

.airport-record > span strong {
  font: 650 0.72rem var(--mono);
}

.record-arrow {
  color: var(--accent);
  font-family: var(--mono);
}

.country-preview {
  background: var(--sheet);
}

.country-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 2px solid var(--ink);
}

.country-grid a {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  align-items: center;
  gap: 0.8rem;
  min-height: 62px;
  padding: 0.7rem 0.8rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.country-grid a:nth-child(2n) {
  border-right: 0;
}

.country-grid a:hover {
  background: var(--accent-soft);
}

.country-code {
  color: var(--accent);
  font: 700 0.68rem var(--mono);
}

.country-grid strong,
.country-grid small {
  display: block;
}

.country-grid strong {
  font-size: 0.76rem;
}

.country-grid small {
  color: var(--muted);
  font-size: 0.66rem;
}

.country-grid a > span:last-child {
  color: var(--accent);
}

/* Generic pages */

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 46px;
  padding: 0.75rem var(--gutter);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font: 0.64rem var(--mono);
  white-space: nowrap;
}

.breadcrumbs a:hover {
  color: var(--accent);
}

.breadcrumbs span[aria-current] {
  overflow: hidden;
  color: var(--ink);
  text-overflow: ellipsis;
}

.page-hero,
.airport-hero {
  padding: clamp(3.6rem, 7vw, 5.4rem) var(--gutter);
  border-bottom: 1px solid var(--ink);
}

.compact-hero h1 {
  font-size: clamp(2.6rem, 5vw, 4.8rem);
}

.page-hero > p,
.country-hero > div > p:last-child {
  max-width: 700px;
  margin: 1.2rem 0 0;
  color: var(--muted);
}

.directory-search-panel {
  padding: 1.6rem var(--gutter);
  border-bottom: 1px solid var(--ink);
  background: var(--sheet);
}

.directory-section {
  padding-top: 3.5rem;
}

.data-pill,
.warning-pill {
  display: inline-flex;
  align-items: center;
  min-height: 29px;
  padding: 0.25rem 0.6rem;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  color: var(--muted);
  font: 0.62rem var(--mono);
}

.warning-pill {
  border-color: var(--accent);
  color: var(--accent);
}

.country-directory {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 2px solid var(--ink);
}

.country-directory a {
  display: grid;
  grid-template-columns: 42px 1fr auto auto;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
  min-height: 58px;
  padding: 0.72rem 0.8rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.country-directory a:nth-child(2n) {
  border-right: 0;
}

.country-directory a:hover {
  background: var(--accent-soft);
}

.country-directory-name {
  overflow: hidden;
  font-size: 0.78rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.country-directory-count {
  color: var(--muted);
  font: 0.62rem var(--mono);
}

.country-directory a > span:last-child {
  color: var(--accent);
}

/* Airport profile */

.airport-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: end;
  gap: clamp(2rem, 6vw, 6rem);
}

.airport-code-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}

.airport-hero h1 {
  max-width: 1000px;
  font-size: clamp(2.6rem, 5vw, 5rem);
}

.airport-location {
  margin: 0.9rem 0 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.airport-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1.15rem;
}

.airport-tags span,
.airport-type-badge {
  padding: 0.24rem 0.5rem;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  color: var(--muted);
  font: 0.6rem var(--mono);
}

.airport-type-badge {
  text-transform: uppercase;
}

.code-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 28px;
  padding: 0 0.48rem;
  border: 1px solid var(--accent);
  border-radius: 2px;
  color: var(--accent);
  font: 700 0.68rem var(--mono);
  letter-spacing: 0.04em;
}

.code-box-large {
  min-height: 40px;
  padding: 0 0.75rem;
  background: var(--accent);
  color: var(--sheet);
  font-size: 0.88rem;
}

.secondary-code {
  color: var(--muted);
  font: 0.62rem var(--mono);
  letter-spacing: 0.06em;
}

.coordinate-panel {
  padding: 0.35rem 0 0.35rem 1.2rem;
  border-left: 2px solid var(--accent);
}

.coordinate-panel span,
.coordinate-panel strong,
.coordinate-panel a {
  display: block;
}

.coordinate-panel .coordinate-label {
  color: var(--muted);
  font: 0.6rem var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.coordinate-panel strong {
  margin: 0.45rem 0 0.75rem;
  font: 650 0.78rem var(--mono);
}

.coordinate-panel a {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
}

.coordinate-panel a span {
  display: inline;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--ink);
  background: var(--sheet);
}

.metric-grid article {
  min-width: 0;
  padding: 1.55rem var(--gutter);
  border-right: 1px solid var(--line);
}

.metric-grid article:last-child {
  border-right: 0;
}

.metric-grid small,
.metric-grid strong,
.metric-grid p {
  display: block;
}

.metric-grid > article > small {
  margin-bottom: 0.45rem;
  color: var(--muted);
  font: 0.58rem var(--mono);
  letter-spacing: 0.05em;
}

.metric-grid strong {
  overflow: hidden;
  font: 650 clamp(1.2rem, 2vw, 1.8rem) var(--mono);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.metric-grid strong em {
  color: var(--muted);
  font-size: 0.62em;
  font-style: normal;
  font-weight: 500;
}

.metric-grid p {
  margin: 0.3rem 0 0;
  color: var(--muted);
  font-size: 0.68rem;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  border-bottom: 1px solid var(--ink);
}

.content-main {
  min-width: 0;
  padding: clamp(3.5rem, 6vw, 5rem) clamp(2rem, 4vw, 3.5rem) clamp(3.5rem, 6vw, 5rem) var(--gutter);
  border-right: 1px solid var(--line);
}

.insight-panel {
  padding: clamp(3.5rem, 6vw, 5rem) clamp(1.4rem, 3vw, 2.2rem);
  background: var(--sheet);
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line-strong);
  background: var(--sheet);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.75rem;
}

.runway-section table,
.airport-directory-table,
.nearby-table {
  min-width: 760px;
}

.runway-end-table {
  min-width: 900px;
  font-variant-numeric: tabular-nums;
}

.table-scroll-cue {
  display: none;
}

.runway-end-label {
  color: var(--ink);
  font: inherit;
  letter-spacing: normal;
  text-transform: none;
}

.runway-end-label strong,
.runway-end-label small {
  display: block;
}

.runway-end-label small {
  margin-top: 0.15rem;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 400;
}

.runway-end-map {
  color: var(--ink);
  white-space: nowrap;
}

.runway-end-map strong {
  font: 650 0.75rem var(--mono);
}

.runway-end-map small {
  color: var(--accent);
  font-weight: 700;
}

.runway-end-map:hover strong {
  color: var(--accent);
}

th,
td {
  padding: 0.82rem 0.9rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

th:last-child,
td:last-child {
  border-right: 0;
}

thead {
  background: var(--paper);
}

th {
  color: var(--muted);
  font: 0.58rem var(--mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

tbody tr:last-child td,
tbody tr:last-child th {
  border-bottom: 0;
}

tbody tr:hover {
  background: #f0e7df;
}

td strong,
td small {
  display: block;
}

td small {
  margin-top: 0.15rem;
  color: var(--muted);
  font-size: 0.64rem;
}

.runway-id {
  color: var(--accent);
  font: 700 0.72rem var(--mono);
  white-space: nowrap;
}

.closed-row {
  color: var(--faint);
}

.surface-chip,
.status-chip {
  display: inline-flex;
  width: max-content;
  padding: 0.15rem 0.38rem;
  border-bottom: 1px solid var(--line-strong);
  color: var(--muted);
  font: 0.58rem var(--mono);
  white-space: nowrap;
}

.surface-paved,
.status-open {
  border-color: var(--accent);
  color: var(--ink);
}

.surface-unpaved,
.status-closed {
  color: var(--muted);
}

.insight-list {
  margin: 1.3rem 0 0;
  padding: 0;
  border-top: 2px solid var(--ink);
  list-style: none;
}

.insight-list li {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}

.insight-list span,
.insight-list strong {
  display: block;
}

.insight-list span {
  margin-bottom: 0.2rem;
  color: var(--muted);
  font: 0.58rem var(--mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.insight-list strong {
  font-size: 0.76rem;
  font-weight: 650;
}

.calculation-note {
  margin: 1.1rem 0 0;
  color: var(--muted);
  font-size: 0.69rem;
}

.frequency-section {
  background: var(--paper);
}

.frequency-warning {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding: 0.8rem 0 0.8rem 1rem;
  border-left: 2px solid var(--accent);
  color: var(--muted);
  font-size: 0.72rem;
}

.frequency-warning strong {
  color: var(--ink);
}

.frequency-table {
  min-width: 560px;
}

.frequency-table td:first-child,
.frequency-table td:nth-child(2) {
  font-family: var(--mono);
}

.nearby-table td:first-child {
  width: 90px;
}

.nearby-table td:nth-child(2) {
  min-width: 260px;
}

.nearby-table td:nth-child(3) {
  min-width: 190px;
}

.row-arrow {
  color: var(--accent);
  font: 700 1rem var(--mono);
}

.source-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 3rem;
  padding: clamp(3.5rem, 7vw, 5rem) var(--gutter);
  border-bottom: 1px solid var(--ink);
  background: var(--sheet);
}

.source-panel p:not(.eyebrow) {
  max-width: 740px;
  margin: 0.9rem 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.source-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.button-primary {
  margin: 0;
}

.button-secondary {
  border: 1px solid var(--line-strong);
  color: var(--muted);
}

.button-secondary:hover {
  border-color: var(--ink);
  color: var(--ink);
}

/* Country pages */

.country-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  align-items: end;
  gap: 4rem;
}

.country-hero h1 {
  font-size: clamp(2.8rem, 5.2vw, 5.1rem);
}

.country-hero .country-code {
  display: inline-flex;
  margin-right: 0.5rem;
  padding: 0.18rem 0.4rem;
  border: 1px solid var(--accent);
}

.country-stat-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 330px;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.country-stat-stack div {
  padding: 0.9rem 0.75rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.country-stat-stack div:nth-child(2n) {
  border-right: 0;
}

.country-stat-stack div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.country-stat-stack small,
.country-stat-stack strong {
  display: block;
}

.country-stat-stack small {
  color: var(--muted);
  font: 0.57rem var(--mono);
}

.country-stat-stack strong {
  margin-top: 0.2rem;
  font: 650 1.15rem var(--mono);
}

.country-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--ink);
}

.country-highlights article {
  padding: clamp(3rem, 6vw, 4.5rem) var(--gutter);
  border-right: 1px solid var(--line);
}

.country-highlights article:last-child {
  border-right: 0;
  background: var(--sheet);
}

.country-highlights ol {
  margin: 1.1rem 0 0;
  padding: 0;
  border-top: 2px solid var(--ink);
  list-style: none;
}

.country-highlights li {
  border-bottom: 1px solid var(--line);
}

.country-highlights a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  padding: 0.72rem 0;
}

.country-highlights a:hover {
  color: var(--accent);
}

.country-highlights a > span {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  min-width: 0;
  overflow: hidden;
  font-size: 0.72rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.country-highlights a strong {
  color: var(--accent);
  font-family: var(--mono);
}

.country-highlights em {
  color: var(--muted);
  font: normal 0.65rem var(--mono);
}

.airport-directory-table td:first-child a {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 260px;
}

.airport-directory-table td:first-child strong {
  max-width: 360px;
  overflow: hidden;
  font-size: 0.74rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.country-note {
  margin: 0;
  padding: 1rem var(--gutter);
  border-width: 0 0 1px 2px;
  border-radius: 0;
  background: var(--sheet);
}

/* Editorial and utility pages */

.prose-card {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(3.5rem, 7vw, 6rem) var(--gutter);
}

.prose-card h2 {
  margin: 2.4rem 0 0.7rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--line);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.prose-card p,
.prose-card li {
  color: var(--muted);
}

.prose-card a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose-card code {
  overflow-wrap: anywhere;
  color: var(--ink);
  font: 0.86em var(--mono);
}

.not-found {
  display: grid;
  min-height: 620px;
  padding: 5rem var(--gutter);
  place-content: center;
  justify-items: start;
}

.not-found-code {
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--ink);
  color: var(--accent);
  font: 700 clamp(3.5rem, 8vw, 7rem)/1 var(--mono);
}

.not-found h1 {
  max-width: 680px;
  margin-top: 1rem;
  font-size: clamp(2.3rem, 5vw, 4.5rem);
}

.not-found > p:not(.eyebrow) {
  color: var(--muted);
}

.not-found-actions {
  display: flex;
  gap: 0.6rem;
  margin-top: 1rem;
}

/* Footer */

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  padding: 3.2rem var(--gutter);
  background: var(--dark);
  color: var(--sheet);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.footer-brand strong {
  font-size: 0.78rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.footer-brand p {
  max-width: 480px;
  margin: 0.15rem 0 0;
  color: var(--dark-muted);
  font-size: 0.68rem;
}

.footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1.1rem;
  color: var(--dark-muted);
  font-size: 0.68rem;
}

.footer-links a:hover {
  color: var(--sheet);
}

.safety-note {
  grid-column: 1 / -1;
  display: flex;
  gap: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid #565a56;
  color: var(--dark-muted);
  font-size: 0.66rem;
}

.safety-note strong {
  color: #e5977f;
}

.footer-meta {
  grid-column: 1 / -1;
  margin: -1rem 0 0;
  color: #8e928c;
  font: 0.58rem var(--mono);
}

/* Runway finder */

.finder-entry-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.2rem;
  padding-bottom: 0.2rem;
  border-bottom: 1px solid var(--line-strong);
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
}

.finder-entry-link span {
  color: var(--accent);
}

.finder-entry-link:hover {
  border-color: var(--accent);
  color: var(--ink);
}

.finder-shell {
  display: grid;
  grid-template-columns: minmax(330px, 390px) minmax(0, 1fr);
  border-bottom: 1px solid var(--ink);
}

.finder-controls,
.finder-results-panel {
  padding: clamp(2.6rem, 5vw, 4.2rem) clamp(1.5rem, 3vw, 3rem);
}

.finder-controls {
  border-right: 1px solid var(--ink);
  background: var(--sheet);
}

.finder-control-heading,
.finder-results-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.finder-control-heading h2,
.finder-results-heading h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2.5vw, 2.1rem);
  line-height: 1.08;
}

.text-button {
  min-height: 36px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.7rem;
  font-weight: 700;
}

.text-button:hover {
  border-color: var(--accent);
  color: var(--ink);
}

.finder-controls fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.finder-controls legend,
.finder-field > label,
.finder-elevation-fields > legend {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--muted);
  font: 700 0.61rem/1.35 var(--mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.unit-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 1.25rem !important;
  border: 1px solid var(--line-strong) !important;
}

.unit-switch legend {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.unit-switch label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 44px;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 700;
}

.unit-switch label + label {
  border-left: 1px solid var(--line-strong);
}

.unit-switch label:has(input:checked) {
  background: var(--ink);
  color: var(--sheet);
}

.unit-switch input {
  accent-color: var(--accent);
}

.finder-field {
  min-width: 0;
  margin-bottom: 1rem;
}

.finder-field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

.finder-field input,
.finder-field select {
  width: 100%;
  min-height: 44px;
  padding: 0.62rem 0.7rem;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: var(--paper);
  color: var(--ink);
  font-size: 0.74rem;
}

.number-with-unit {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  border: 1px solid var(--line-strong);
  background: var(--paper);
}

.number-with-unit input {
  border: 0;
}

.number-with-unit span {
  padding: 0 0.8rem;
  color: var(--muted);
  font: 0.65rem var(--mono);
}

.finder-elevation-fields {
  margin-top: 0.2rem !important;
}

.finder-safety-note {
  margin-top: 1.2rem;
  padding: 0.75rem 0 0.75rem 1rem;
  border-left: 2px solid var(--accent);
}

.finder-safety-note strong {
  font-size: 0.73rem;
}

.finder-safety-note p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.69rem;
}

.finder-results-panel {
  min-width: 0;
}

.finder-result-status {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font: 0.65rem var(--mono);
}

.finder-share {
  min-width: 132px;
  background: transparent;
  cursor: pointer;
}

.finder-result-list {
  border-top: 2px solid var(--ink);
}

.finder-result-record {
  display: grid;
  grid-template-columns: 58px minmax(180px, 1fr) 140px 130px 115px 20px;
  align-items: center;
  gap: 0.9rem;
  min-height: 78px;
  padding: 0.8rem 0.35rem;
  border-bottom: 1px solid var(--line);
}

.finder-result-record:hover {
  background: var(--sheet);
}

.finder-result-identity,
.finder-result-runway,
.finder-result-surface,
.finder-result-elevation {
  min-width: 0;
}

.finder-result-record strong,
.finder-result-record small {
  display: block;
}

.finder-result-record strong {
  overflow: hidden;
  font-size: 0.74rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.finder-result-record small {
  margin-bottom: 0.18rem;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.62rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.finder-result-runway strong,
.finder-result-elevation strong {
  font-family: var(--mono);
}

.finder-result-actions {
  display: flex;
  justify-content: center;
  padding-top: 1.4rem;
}

.finder-result-actions button,
.finder-empty button {
  background: transparent;
  cursor: pointer;
}

.finder-empty,
.finder-error {
  padding: 2rem 1rem;
  border-bottom: 1px solid var(--line);
}

.finder-empty p,
.finder-error p {
  max-width: 580px;
  margin: 0.4rem 0 1rem;
  color: var(--muted);
  font-size: 0.75rem;
}

.finder-method-copy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 6rem);
  padding-top: 1.2rem;
  border-top: 2px solid var(--ink);
}

.finder-method-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.profile-finder-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.3rem var(--gutter);
  border-bottom: 1px solid var(--ink);
  background: var(--dark);
  color: var(--sheet);
}

.profile-finder-callout .eyebrow {
  margin-bottom: 0.25rem;
  color: #e5977f;
}

.profile-finder-callout strong,
.profile-finder-callout span {
  display: block;
}

.profile-finder-callout strong {
  font-size: 0.82rem;
}

.profile-finder-callout > div > span {
  margin-top: 0.18rem;
  color: var(--dark-muted);
  font-size: 0.69rem;
}

.profile-finder-callout .button-secondary {
  flex: 0 0 auto;
  border-color: #777b76;
  color: var(--sheet);
}

/* Weather reports and simulator ATIS */

.report-section {
  background: var(--sheet);
}

.report-controls,
.report-language {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.report-language {
  border: 1px solid var(--line-strong);
}

.report-language button {
  min-height: 40px;
  padding: 0 0.8rem;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.68rem;
  font-weight: 700;
}

.report-language button + button {
  border-left: 1px solid var(--line-strong);
}

.report-language button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--sheet);
}

.report-controls > .button-secondary {
  min-height: 42px;
  background: transparent;
  cursor: pointer;
}

.report-controls button:disabled {
  cursor: wait;
  opacity: 0.55;
}

.report-warning {
  margin-bottom: 0.55rem;
}

.report-status {
  margin: 0 0 1.2rem;
  color: var(--muted);
  font: 0.62rem var(--mono);
}

.report-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.report-product {
  min-width: 0;
  padding: 1.35rem;
}

.report-product + .report-product {
  border-left: 1px solid var(--ink);
}

.report-product-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.report-product-heading > div {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.report-product-heading h3 {
  margin: 0;
  font-size: 1rem;
}

.report-product-heading > a {
  color: var(--accent);
  font-size: 0.65rem;
  font-weight: 700;
  white-space: nowrap;
}

.report-mini-label {
  display: block;
  margin: 0.9rem 0 0.35rem;
  color: var(--muted);
  font: 700 0.58rem var(--mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.raw-report {
  max-width: 100%;
  margin: 0;
  padding: 0.8rem;
  overflow: auto;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  color: var(--ink);
  font: 0.65rem/1.55 var(--mono);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.report-summary {
  margin: 1rem 0 0;
  border-top: 1px solid var(--line-strong);
}

.report-summary > div {
  display: grid;
  grid-template-columns: minmax(105px, 0.35fr) 1fr;
  gap: 0.8rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
}

.report-summary dt,
.report-summary dd {
  margin: 0;
}

.report-summary dt {
  color: var(--muted);
  font: 0.58rem var(--mono);
  text-transform: uppercase;
}

.report-summary dd {
  font-size: 0.7rem;
  font-weight: 650;
}

.taf-periods {
  margin-top: 1rem;
}

.taf-period {
  padding: 0.9rem 0;
  border-top: 1px solid var(--line-strong);
}

.taf-period-heading strong,
.taf-period-heading time {
  display: block;
}

.taf-period-heading strong {
  color: var(--accent);
  font: 700 0.65rem var(--mono);
}

.taf-period-heading time {
  margin-top: 0.15rem;
  color: var(--muted);
  font-size: 0.64rem;
}

.report-summary-compact {
  margin-top: 0.55rem;
}

.report-empty,
.atis-boundary {
  margin: 0;
  padding: 0.75rem 0 0.75rem 1rem;
  border-left: 2px solid var(--accent);
  color: var(--muted);
  font-size: 0.72rem;
}

.atis-panel {
  padding: 2rem 1.35rem 0;
}

.atis-boundary {
  margin-bottom: 1.2rem;
}

.atis-boundary strong {
  color: var(--ink);
}

.atis-record {
  padding: 1.1rem 0 1.5rem;
  border-top: 1px solid var(--line-strong);
}

.atis-record-heading {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.atis-record-heading strong {
  font: 700 0.72rem var(--mono);
}

.atis-record-heading span {
  color: var(--muted);
  font: 0.6rem var(--mono);
  text-align: right;
}

.reading-aid {
  border-left: 2px solid var(--accent);
}

/* Responsive */

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: 1fr auto;
    gap: 0 1rem;
    padding-top: 0.7rem;
  }

  .site-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    min-height: 44px;
    border-top: 1px solid var(--line);
  }

  .site-nav a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .coverage-ledger {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .ledger-heading,
  .coverage-ledger > p {
    grid-column: 1 / -1;
  }

  .coverage-ledger dl {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .coverage-ledger dl > div {
    padding-right: 1rem;
  }

  .coverage-ledger dl > div + div {
    padding-left: 1rem;
    border-left: 1px solid var(--line);
  }

  .airport-record {
    grid-template-columns: 80px minmax(220px, 1fr) 140px 95px 24px;
  }

  .airport-record > span:nth-of-type(3) {
    display: none;
  }

  .content-grid {
    grid-template-columns: 1fr;
  }

  .content-main {
    padding-right: var(--gutter);
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .insight-panel {
    padding-inline: var(--gutter);
  }

  .source-panel {
    grid-template-columns: 1fr;
  }

  .finder-shell {
    grid-template-columns: 330px minmax(0, 1fr);
  }

  .finder-result-record {
    grid-template-columns: 54px minmax(180px, 1fr) 125px 110px 20px;
  }

  .finder-result-elevation {
    display: none;
  }
}

@media (max-width: 820px) {
  body {
    border-top-width: 3px;
  }

  .site-shell {
    border-inline: 0;
  }

  .site-header {
    position: relative;
    min-height: 68px;
  }

  .brand small,
  .header-search kbd {
    display: none;
  }

  .header-search {
    width: min(44vw, 280px);
  }

  .hero h1 {
    font-size: clamp(2.8rem, 12vw, 4.8rem);
  }

  .edition-note {
    grid-template-columns: 1fr auto;
  }

  .edition-note span {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.7rem;
  }

  .section-note {
    text-align: left;
  }

  .table-scroll-cue {
    display: block;
    margin: -0.25rem 0 0.65rem;
    color: var(--accent);
    font: 650 0.75rem var(--mono);
  }

  .airport-record {
    grid-template-columns: 72px minmax(0, 1fr) 24px;
    gap: 0.8rem;
  }

  .airport-record > span:not(.record-arrow) {
    display: none;
  }

  .country-grid,
  .country-directory,
  .country-highlights {
    grid-template-columns: 1fr;
  }

  .country-grid a,
  .country-grid a:nth-child(2n),
  .country-directory a,
  .country-directory a:nth-child(2n),
  .country-highlights article {
    border-right: 0;
  }

  .airport-hero,
  .country-hero {
    grid-template-columns: 1fr;
  }

  .coordinate-panel,
  .country-stat-stack {
    width: 100%;
  }

  .metric-grid {
    grid-template-columns: 1fr 1fr;
  }

  .metric-grid article:nth-child(2n) {
    border-right: 0;
  }

  .metric-grid article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .source-actions {
    flex-wrap: wrap;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .safety-note {
    flex-direction: column;
  }

  .finder-shell,
  .report-grid {
    grid-template-columns: 1fr;
  }

  .finder-controls {
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }

  .finder-result-record {
    grid-template-columns: 54px minmax(0, 1fr) 125px 20px;
  }

  .finder-result-surface,
  .finder-result-elevation {
    display: none;
  }

  .finder-method-copy {
    grid-template-columns: 1fr;
  }

  .profile-finder-callout,
  .report-section-heading,
  .report-controls {
    align-items: flex-start;
    flex-direction: column;
  }

  .report-product + .report-product {
    border-top: 1px solid var(--ink);
    border-left: 0;
  }
}

@media (max-width: 560px) {
  .brand strong {
    font-size: 0.76rem;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
  }

  .header-search {
    width: 42px;
  }

  .header-search input {
    padding: 0;
    color: transparent;
    cursor: pointer;
  }

  .header-search input::placeholder {
    color: transparent;
  }

  .header-search .search-icon {
    left: 50%;
    transform: translate(-50%, -52%);
  }

  .header-search:focus-within {
    position: absolute;
    left: 1rem;
    right: 1rem;
    width: auto;
  }

  .header-search:focus-within input {
    padding-left: 2.5rem;
    background: var(--sheet);
    color: var(--ink);
  }

  .header-search:focus-within input::placeholder {
    color: var(--faint);
  }

  .header-search:focus-within .search-icon {
    left: 0.95rem;
    transform: translateY(-52%);
  }

  .hero {
    padding-top: 3.5rem;
  }

  .hero-search-control {
    display: grid;
    grid-template-columns: 1fr auto;
  }

  .hero-search-control .search-icon {
    display: none;
  }

  .hero-search input {
    height: 56px;
    padding-left: 0.85rem;
  }

  .hero-search button {
    min-height: 44px;
    padding-inline: 0.8rem;
  }

  .coverage-ledger,
  .coverage-ledger dl {
    display: block;
  }

  .coverage-ledger dl > div + div {
    padding-left: 0;
    border-left: 0;
  }

  .edition-note {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 0.35rem;
  }

  .country-directory a {
    grid-template-columns: 38px minmax(0, 1fr) auto;
  }

  .country-directory-count {
    display: none;
  }

  .metric-grid {
    grid-template-columns: 1fr;
  }

  .metric-grid article,
  .metric-grid article:nth-child(2n) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .metric-grid article:last-child {
    border-bottom: 0;
  }

  .frequency-warning {
    flex-direction: column;
  }

  .source-actions,
  .not-found-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button-primary,
  .button-secondary {
    width: 100%;
    min-height: 44px;
  }

  .prose-card {
    padding-inline: 1.25rem;
  }

  .finder-field-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .finder-control-heading,
  .finder-results-heading,
  .report-product-heading,
  .atis-record-heading {
    flex-direction: column;
  }

  .finder-result-record {
    grid-template-columns: 48px minmax(0, 1fr) 20px;
  }

  .finder-result-runway {
    grid-column: 2;
  }

  .finder-result-record > .row-arrow {
    grid-column: 3;
    grid-row: 1 / span 2;
  }

  .profile-finder-callout .button-secondary {
    width: 100%;
  }

  .report-controls,
  .report-language,
  .report-controls > .button-secondary {
    width: 100%;
  }

  .report-language button {
    flex: 1;
  }

  .report-summary > div {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
