/* =============================================================================
   property.records.us.com — classic records-site stylesheet (no framework).
   Palette: navy #303f5b, blue #365487, gold #a88b57, text #222, muted #4c4c4c,
   red #b21010, light gray #e5e5e5, band rgba(60,78,113,.7), footer #f3f4f6.
   ========================================================================== */

:root {
  --navy: #303f5b;
  --blue: #365487;
  --gold: #a88b57;
  --text: #222222;
  --muted: #4c4c4c;
  --red: #b21010;
  --light: #e5e5e5;
  --hairline: #e5e7eb;
  --band: rgba(60, 78, 113, 0.7);
  --footer: #f3f4f6;
  --slate: #64748b;
}

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

html {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", Ubuntu, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  overflow-y: scroll;
}

body {
  margin: 0;
  color: var(--text);
  background: #ffffff;
  font-size: 16px;
}

a {
  color: var(--blue);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.5;
}

p {
  margin: 0 0 1rem;
}

img {
  display: block;
}

.wrap {
  max-width: 1024px;
  margin: 0 auto;
}

.skip {
  position: absolute;
  top: -1000px;
  left: 0;
  z-index: 100;
  padding: 0.5rem 1rem;
  background: #ffffff;
  color: var(--text);
}

.skip:focus {
  top: 0;
}

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

/* ---------------------------------------------------------------- Header */

.hdr {
  position: relative;
  padding: 0.5rem 1rem 0;
  border-bottom: 1px solid #e5e7eb;
  color: #ffffff;
  background: #0b3a60 url("/assets/img/header-bg.webp") center / cover no-repeat;
  text-transform: uppercase;
}

.hdr-notice {
  margin: 0;
  font-size: 0.625rem;
  line-height: 1.375;
  text-align: center;
}

.hdr-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  padding: 1rem 0;
}

.hdr-title {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
}

.hdr-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
}

.hdr-seal {
  width: 70px;
  height: 70px;
  flex: 0 0 auto;
}

.hdr-text {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  max-width: 300px;
}

.hdr-tagline {
  font-size: 0.75rem;
  line-height: 1.25;
}

.hdr-login {
  align-self: flex-start;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hdr-login:hover {
  color: var(--gold);
}

@media (min-width: 768px) {
  .hdr-title {
    font-size: 1.5rem;
  }

  .hdr-tagline {
    font-size: 0.875rem;
  }
}

.strip {
  padding: 0.5rem 1rem;
  color: #ffffff;
  background: #9c4a1f;
  font-size: 0.938rem;
  line-height: 1.25;
  text-transform: uppercase;
}

/* ------------------------------------------------------------------ Main */

main {
  padding: 2rem 1rem 0;
}

/* ------------------------------------------------------------------ Hero */

/* --------------------------------------------- Notices above the search */

.notice {
  text-transform: uppercase;
}

.notice p {
  margin: 0;
  font-size: 0.813rem;
  line-height: 1.4;
}

.notice strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.875rem;
  font-weight: 700;
}

.hero {
  padding-bottom: 0.5rem;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem 0;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
  font-size: 0.813rem;
  line-height: 1.25;
  text-transform: uppercase;
}

.tags li {
  padding: 0.125rem 0.5rem;
  border-left: 1px solid var(--text);
}

.tags li:first-child {
  padding-left: 0;
  border-left: 0;
}

.search-icon {
  flex: 0 0 auto;
  align-self: center;
  margin-left: 0.875rem;
  color: #6b7280;
}

.search-icon + input {
  padding-left: 0.625rem;
}

.eyebrow {
  margin-bottom: 0.5rem;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  margin-bottom: 0.875rem;
  color: var(--blue);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.25;
  text-transform: uppercase;
}

.hero-lead {
  max-width: 850px;
  margin-bottom: 1.5rem;
  font-size: 1rem;
  line-height: 1.6;
}

.search-form {
  max-width: 850px;
}

.search-label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
}

.search-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.search-field {
  display: flex;
  flex: 1 1 320px;
  border-radius: 4px;
  background: #ffffff;
  box-shadow: 0 0 0 3px var(--gold);
}

.search-field input {
  flex: 1;
  min-width: 0;
  padding: 0.75rem 1rem;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.search-field input::placeholder {
  color: #6b7280;
  letter-spacing: 0;
}

.search-field input:focus {
  outline: none;
}

.search-field:focus-within {
  box-shadow: 0 0 0 3px var(--gold), 0 0 0 6px rgba(54, 84, 135, 0.3);
}

.btn {
  display: inline-block;
  padding: 0.625rem 2rem;
  border: 1px solid var(--text);
  border-radius: 4px;
  background: var(--light);
  color: var(--text);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.btn:hover {
  background: #cecece;
}

.btn:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 2px;
}

.search-row .btn {
  flex: 0 0 auto;
}

@media (max-width: 599px) {
  .search-row .btn {
    width: 100%;
  }
}

.search-hint {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.813rem;
  line-height: 1.4;
}

.search-terms {
  margin: 0.5rem 0 0;
  color: var(--red);
  font-size: 0.813rem;
  line-height: 1.4;
}

.search-terms a {
  color: inherit;
}

/* -------------------------------------------------- Address search dialog */

.addr-dialog {
  width: calc(100% - 2rem);
  max-width: 460px;
  margin: 2.5rem auto auto;
  padding: 0;
  border: 1px solid var(--navy);
  border-radius: 4px;
  background: #ffffff;
  color: var(--text);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  overflow: visible;
}

.addr-dialog::backdrop {
  background: rgba(48, 63, 91, 0.6);
}

.addr-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--hairline);
}

.addr-head h2 {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
}

.addr-close,
.addr-clear {
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.addr-close:hover,
.addr-clear:hover {
  color: var(--text);
  background: var(--light);
}

.addr-clear {
  align-self: center;
  margin-right: 0.375rem;
}

.addr-body {
  padding: 1rem 1rem 1.25rem;
}

.addr-note {
  margin-bottom: 1rem;
  font-size: 0.75rem;
  line-height: 1.45;
  text-transform: uppercase;
}

.addr-combo {
  position: relative;
}

.addr-combo .search-field {
  box-shadow: 0 0 0 2px var(--text);
}

.addr-combo .search-field:focus-within {
  box-shadow: 0 0 0 2px var(--text), 0 0 0 5px rgba(54, 84, 135, 0.3);
}

.addr-combo .search-field input {
  padding-right: 0.5rem;
  font-size: 1rem;
  letter-spacing: 0;
  text-transform: none;
}

.addr-list {
  max-height: 15rem;
  margin: 0.375rem 0 0;
  padding: 0.25rem 0;
  overflow-y: auto;
  border: 1px solid var(--hairline);
  border-radius: 4px;
  list-style: none;
}

.addr-option {
  padding: 0.5rem 0.75rem 0.5rem 2.125rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23303f5b' stroke-width='2'%3E%3Cpath d='M12 21s-7-6.2-7-11.5a7 7 0 0 1 14 0C19 14.800 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.500' r='2.500'/%3E%3C/svg%3E") 0.625rem 0.5625rem / 1rem 1rem no-repeat;
  font-size: 0.813rem;
  line-height: 1.4;
  text-transform: uppercase;
  cursor: pointer;
}

.addr-option b {
  font-weight: 700;
}

.addr-option:hover,
.addr-option[aria-selected="true"] {
  background-color: #eef1f6;
}

.addr-status {
  min-height: 1.25rem;
  margin: 0.5rem 0;
  color: var(--muted);
  font-size: 0.813rem;
  line-height: 1.4;
}

.addr-go {
  width: 100%;
}

.addr-go:disabled {
  color: #8a8a8a;
  border-color: #b5b5b5;
  cursor: not-allowed;
}

.addr-go:disabled:hover {
  background: var(--light);
}

/* ----------------------------------------------------------- Disclosures */

.cols {
  display: grid;
  gap: 1.5rem 2.5rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--text);
}

@media (min-width: 768px) {
  .cols {
    grid-template-columns: 1fr 1fr;
  }
}

.cols p {
  margin: 0;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* ------------------------------------------------------ Section headings */

.cols h2,
.steps h2,
.howto h2,
.access h2,
.faq h2,
.cta h2 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
}

/* ------------------------------------------------------------------ Band */

.band {
  margin: 2.5rem -1rem 0;
  padding: 1.75rem 1rem;
  color: #ffffff;
  background: var(--band);
  text-transform: uppercase;
}

.band h2 {
  margin-bottom: 0.5rem;
  font-size: 1.125rem;
  font-weight: 600;
}

.band-lead {
  max-width: 850px;
  margin: 0 0 1.5rem;
  font-size: 0.875rem;
  line-height: 1.5;
}

.band ul {
  display: grid;
  gap: 1rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 600px) {
  .band ul {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 900px) {
  .band ul {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.band li {
  display: flex;
  gap: 0.5rem;
}

.band li::before {
  content: "";
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 0.15rem;
  background: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5 5L20 6.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.band-title {
  margin-bottom: 0.375rem;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.25;
}

.band-text {
  margin: 0;
  font-size: 0.875rem;
}

/* ----------------------------------------------------------------- Steps */

.steps {
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--text);
}

.steps h2 {
  margin-bottom: 1.25rem;
}

.steps ol {
  display: grid;
  gap: 1.5rem 2.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 768px) {
  .steps ol {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.step {
  padding-top: 0.75rem;
  /*border-top: 1px solid var(--text);*/
}

.step-num {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--gold);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.step h3 {
  margin-bottom: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* --------------------------------------------------------------- Billing */

.billing {
  padding: 2rem 0 1.75rem;
}

.billing-intro {
  margin: 0 0 0.125rem;
  text-transform: uppercase;
  color: var(--red);
  font-size: 0.875rem;
  line-height: 1.6;
}

.billing-block {
  margin: 0;
  font-size: 0.813rem;
  line-height: 1.5;
  text-transform: uppercase;
}

.billing-block strong {
  font-weight: 700;
}

/* ------------------------------------------------------------------- FAQ */

.faq {
  display: grid;
  gap: 1.5rem 2.5rem;
  padding: 2.5rem 0 3rem;
}

@media (min-width: 768px) {
  .faq {
    grid-template-columns: 1fr 2fr;
    padding-top: 3.5rem;
  }
}

.faq h2 {
  line-height: 1.35;
}

.faq-intro {
  margin: 0;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.6;
}

.faq-list {
  margin: 0;
  padding: 0;
  border-top: 3px solid #1a2238;
  list-style: none;
}

.faq-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem 0.75rem;
  border-bottom: 1px solid var(--hairline);
}

.faq-num {
  flex: 0 0 auto;
  padding-top: 0.3rem;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.faq-q {
  margin-bottom: 0.75rem;
  font-size: 1.063rem;
  font-weight: 700;
  line-height: 1.35;
}

.faq-a {
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.6;
}

.faq-a p {
  margin: 0;
}

.faq-a p + p,
.faq-a ul {
  margin-top: 0.5rem;
}

.faq-a ul {
  margin-bottom: 0;
  padding-left: 1.25rem;
}

.faq-a li + li,
.faq-a li > ul {
  margin-top: 0.25rem;
}

/* ---------------------------------------------- How to access / pricing */

.howto {
  padding: 2.5rem 0 0;
  text-transform: uppercase;
}

.howto h2,
.access h2 {
  margin-bottom: 1rem;
  font-size: 1.125rem;
}

.howto ol {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.813rem;
  line-height: 1.5;
}

.howto li + li {
  margin-top: 0.875rem;
}

.access {
  padding: 2.5rem 0 0;
  text-transform: uppercase;
}

.access-box {
  border: 1px solid var(--text);
}

.access-box h3 {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--text);
  font-size: 0.875rem;
  font-weight: 400;
}

.access-box ul {
  margin: 0;
  padding: 0.875rem 1rem 0.875rem 2.25rem;
  font-size: 0.75rem;
  line-height: 1.5;
}

.access-box li + li {
  margin-top: 0.375rem;
}

/* ------------------------------------------------------ Report sections */

.records {
  padding: 2.5rem 0 1rem;
  text-transform: uppercase;
}

.records h3 {
  margin-bottom: 0.5rem;
  font-size: 0.938rem;
  font-weight: 400;
}

.records p {
  margin: 0 0 1.5rem;
  font-size: 0.75rem;
  line-height: 1.5;
}

.foot-notice {
  margin: 0;
  padding: 1rem 0 1.5rem;
  font-size: 0.75rem;
  line-height: 1.5;
  text-transform: uppercase;
}

/* ------------------------------------------------------------------- CTA */

.cta {
  margin: 2.5rem 0;
  padding: 2rem 1.5rem;
  border: 1px solid var(--text);
  text-align: center;
}

.cta p {
  max-width: 600px;
  margin: 0 auto 1.25rem;
  font-size: 1rem;
  line-height: 1.6;
}

/* ---------------------------------------------------------------- Footer */

.ftr {
  margin-top: 1rem;
  padding: 2rem 1rem 1.5rem;
  background: var(--footer);
  color: var(--slate);
  text-transform: uppercase;
}

.ftr-grid {
  display: grid;
  gap: 1.5rem 2rem;
}

@media (min-width: 768px) {
  .ftr-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.ftr-brand {
  margin-bottom: 0.5rem;
  color: #111111;
  font-size: 1.125rem;
  font-weight: 600;
}

.ftr-desc {
  margin: 0 0 0.75rem;
  font-size: 0.813rem;
}

.ftr-contact {
  margin: 0;
  font-size: 0.813rem;
  line-height: 1.6;
}

.ftr-contact a {
  color: inherit;
  text-decoration: none;
}

.ftr-contact a:hover,
.ftr-col a:hover {
  text-decoration: underline;
}

.ftr-mail {
  text-transform: none;
}

.ftr-head {
  margin: 0 0 0.5rem;
  color: #111111;
  font-size: 0.813rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.ftr-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.813rem;
  line-height: 1.5;
}

.ftr-col li + li {
  margin-top: 0.25rem;
}

.ftr-col a {
  color: inherit;
  text-decoration: none;
}

.ftr-bottom {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #d1d5db;
  font-size: 0.75rem;
  line-height: 1.5;
}

.ftr-bottom p {
  margin: 0;
}

.ftr-bottom p + p {
  margin-top: 0.5rem;
}

/* ------------------------------------------- Homepage (official layout) */
/* The homepage is laid out like a records office page, not like the lander: a headed search form, the
   sources, the coverage band, a table of report sections, the request steps, disclosures, billing terms
   with a summary table, and the FAQ. These rules come after the older section rules on purpose. */

.hero {
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--text);
}

.hero h1 {
  margin-bottom: 0.75rem;
  font-size: 1.5rem;
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 1.75rem;
  }
}

.hero .search-field input {
  letter-spacing: 0;
  text-transform: none;
}

.sources {
  padding: 2.5rem 0;
}

.sources h2,
.sections h2,
.billing h2 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
}

.sources h2 {
  margin-bottom: 1.25rem;
}

.sources-list {
  display: grid;
  gap: 1.5rem 2.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 768px) {
  .sources-list {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.sources h3 {
  margin-bottom: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--gold);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
}

.sources p {
  margin: 0;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.6;
}

.band-lead {
  max-width: 850px;
  margin: 0 0 1.5rem;
  font-size: 0.875rem;
  line-height: 1.5;
}

.sections {
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--text);
}

.sections-intro,
.sections-note {
  max-width: 850px;
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.6;
}

.sections-note {
  margin: 1rem 0 0;
}

.cmp-wrap {
  position: relative;
  overflow-x: auto;
}

.cmp {
  width: 100%;
  border: 1px solid var(--text);
  border-collapse: collapse;
  font-size: 0.875rem;
  line-height: 1.5;
}

.cmp th,
.cmp td {
  padding: 0.625rem 0.875rem;
  border-bottom: 1px solid var(--hairline);
  text-align: left;
  vertical-align: top;
}

.cmp thead th {
  border-bottom: 1px solid var(--text);
  background: var(--navy);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.cmp tbody th {
  width: 24%;
  background: var(--footer);
  font-size: 0.813rem;
  font-weight: 700;
  text-transform: uppercase;
}

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

.cmp td:last-child {
  color: var(--muted);
}

.cmp.terms td:last-child {
  color: var(--text);
}

@media (max-width: 599px) {
  .cmp,
  .cmp tbody,
  .cmp tr,
  .cmp th,
  .cmp td {
    display: block;
    width: auto;
  }

  .cmp thead {
    display: none;
  }

  .cmp tbody th {
    width: auto;
    border-bottom: 0;
  }

  .cmp tbody tr:last-child th {
    border-bottom: 0;
  }
}

.billing {
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--text);
}

.billing-intro {
  margin: 0 0 1rem;
  text-transform: none;
}

.billing .billing-block {
  margin: 0 0 1.5rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--text);
  background: var(--footer);
  line-height: 1.6;
}

.faq {
  padding-top: 2.5rem;
}

/* ------------------------------------------------- Information pages */

.doc {
  max-width: 850px;
  padding: 0 0 2.5rem;
}

.doc h1 {
  margin-bottom: 0.25rem;
  color: var(--blue);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.25;
  text-transform: uppercase;
}

.doc-updated {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--text);
  color: var(--muted);
  font-size: 0.875rem;
}

.doc h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.125rem;
  font-weight: 700;
  text-transform: uppercase;
}

.doc h3 {
  margin: 1.25rem 0 0.5rem;
  font-size: 1rem;
  font-weight: 600;
}

.doc p,
.doc li {
  font-size: 0.938rem;
  line-height: 1.65;
}

.doc ul,
.doc ol {
  margin: 0 0 1rem;
  padding-left: 1.5rem;
}

.doc li + li {
  margin-top: 0.375rem;
}

.doc .caps {
  text-transform: uppercase;
}

.doc .lead {
  font-size: 1rem;
}

.doc .note {
  padding: 0.75rem 1rem;
  border: 1px solid var(--text);
  background: var(--footer);
  font-size: 0.875rem;
}

.doc .btn {
  margin-top: 0.5rem;
}

/* ------------------------------------------------------- Lookup flow */

/* The trail sits inside a .doc article, whose list rules (padding, li spacing, li font size)
   must not apply to it; the selectors below out-rank `.doc ol` and `.doc li + li`. */

.doc .flow-steps {
  display: flex;
  flex-wrap: wrap;
  margin: 0 0 1.25rem;
  padding: 0;
  border: 1px solid var(--text);
  list-style: none;
  counter-reset: none;
}

.doc .flow-steps li,
.doc .flow-steps li + li {
  flex: 1 1 auto;
  margin: 0;
  padding: 0.45rem 0.6rem;
  border-right: 1px solid var(--text);
  background: var(--footer);
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.3;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
}

.doc .flow-steps li:last-child {
  border-right: 0;
}

.doc .flow-steps li.is-done {
  background: var(--light);
  color: var(--text);
}

.doc .flow-steps li.is-current {
  background: var(--blue);
  color: #ffffff;
  font-weight: 600;
}

@media (max-width: 599px) {
  .doc .flow-steps li,
  .doc .flow-steps li + li {
    flex: 0 0 33.333%;
    min-width: 0;
    padding: 0.4rem 0.3rem;
    border-bottom: 1px solid var(--text);
    font-size: 0.688rem;
    white-space: normal;
  }
  .doc .flow-steps li:nth-child(3n) {
    border-right: 0;
  }
  .doc .flow-steps li:nth-last-child(-n+3) {
    border-bottom: 0;
  }
  /* Three columns do not fit a phone: the stage table shows Stage | Status only. */
  .stages th:nth-child(2),
  .stages td:nth-child(2) {
    display: none;
  }
  .kv th {
    width: 42%;
  }
}

.flow-step-num {
  font-weight: 700;
}

.kv {
  width: 100%;
  margin: 0 0 1.25rem;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.kv th,
.kv td {
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--text);
  text-align: left;
  vertical-align: top;
  line-height: 1.5;
}

.kv th {
  width: 34%;
  background: var(--light);
  font-weight: 600;
  text-transform: uppercase;
}

.kv thead th {
  width: auto;
}

.kv td.mono {
  font-family: ui-monospace, "Courier New", Courier, monospace;
  letter-spacing: 0.08em;
}

.stages .status {
  width: 7rem;
  text-align: center;
  font-weight: 600;
  text-transform: uppercase;
}

.stages .is-pending .status {
  color: var(--muted);
}

.stages .is-complete .status {
  color: #1a7f37;
}

.flow-form .search-label {
  margin-top: 1.25rem;
}

.field {
  max-width: 480px;
  margin-bottom: 1.25rem;
}

.field label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
}

.field input {
  display: block;
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--text);
  border-radius: 4px;
  background: #ffffff;
  color: var(--text);
  font: inherit;
  font-size: 1rem;
}

.field input:focus {
  outline: none;
  box-shadow: 0 0 0 3px var(--gold);
}

.field-hint {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.813rem;
  line-height: 1.4;
}

.form-error {
  margin: 0.75rem 0 1rem;
  color: var(--red);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.4;
}

.form-error ul {
  margin: 0;
  padding-left: 1.25rem;
}

.form-error p {
  margin: 0 0 0.35rem;
  font-size: inherit;
}

.form-error a {
  color: inherit;
}

.choices {
  margin: 0 0 1rem;
  padding: 0;
  border: 0;
}

.choice {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--text);
  cursor: pointer;
}

.choice input {
  flex: 0 0 auto;
  margin: 0.3rem 0 0;
}

.choice strong {
  display: block;
  font-size: 0.875rem;
  text-transform: uppercase;
}

.choice p {
  margin: 0.25rem 0 0;
}

.flow-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
  margin-top: 1.5rem;
}

.flow-actions .muted {
  color: var(--muted);
  font-size: 0.875rem;
}

.countdown {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.btn:disabled {
  border-color: #9f9f9f;
  background: #f0f0f0;
  color: #8a8a8a;
  cursor: not-allowed;
}

.doc .billing-block {
  margin-bottom: 1rem;
}

/* Long values (email addresses) wrap inside their cell instead of widening the table on phones. */
.kv td {
  overflow-wrap: anywhere;
}

/* Timed steps: the stage being worked on, and the progress bar of the compiling step. */
.stages .is-active .status {
  color: var(--blue);
  font-weight: 600;
}

.progress {
  height: 12px;
  margin: 1.25rem 0;
  border: 1px solid var(--text);
  border-radius: 2px;
  background: #ffffff;
  overflow: hidden;
}

.progress-fill {
  width: 0;
  height: 100%;
  background: var(--navy);
  transition: width 0.5s linear;
}

/* Satellite view on the property record step: a fixed tile canvas, centred and cropped by its frame. */
.prop-map {
  position: relative;
  width: 100%;
  max-width: 640px;
  height: 360px;
  margin: 0.75rem 0 1rem;
  border: 1px solid var(--text);
  overflow: hidden;
  background: #dfe3e8;
}

.prop-map-canvas {
  position: absolute;
  top: 0;
  left: 50%;
  width: 640px;
  height: 360px;
  margin-left: -320px;
}

.prop-map-canvas img {
  position: absolute;
  max-width: none;
  user-select: none;
}

.prop-map-pin {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 30px;
  height: 42px;
  margin: -42px 0 0 -15px;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.45));
}

.doc .prop-map-credit {
  position: absolute;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 0 0.25rem;
  background: rgba(255, 255, 255, 0.8);
  font-size: 0.625rem;
  line-height: 1.5;
}

/* -------------------------------------------------------------- 404 page */

.error-page {
  padding: 2rem 0 4rem;
}

.error-page h1 {
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
}

.error-page p {
  margin-bottom: 1.5rem;
}
