/* Land pages (/land/, drawn by worker/land.js). Tiles, intro and section menu come from /pulse/pulse.css. */
.land-page .pulse-intro h1 small { display: block; font-size: .42em; font-weight: 600; letter-spacing: 0; color: #c8d6e0; margin-top: 10px; }
.land-page .pulse-intro .eyebrow a { color: inherit; text-decoration-color: rgba(0, 150, 255, .45); text-underline-offset: 4px; }
.land-glance { display: grid; grid-template-columns: minmax(260px, 380px) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.land-locator { margin: 0; }
.land-locator svg, .land-chart svg { display: block; width: 100%; height: auto; }
.land-locator svg a rect { transition: fill .12s; }
.land-locator svg a:hover rect, .land-locator svg a:focus-visible rect { fill: #32CD32; }
.land-locator figcaption, .land-chart figcaption { font-size: .82rem; color: var(--muted); line-height: 1.5; margin-top: .6rem; }
.land-key { list-style: none; margin: .7rem 0 0; padding: 0; display: grid; gap: .35rem; font-size: .86rem; color: var(--ink); }
.land-key li { display: flex; align-items: center; gap: .6rem; }
.land-key svg { width: 34px; height: 10px; flex: none; }
.land-chart { margin: 1.2rem 0 1.8rem; max-width: 560px; }

.land-timeline { list-style: none; margin: 1.4rem 0 0; padding: 0; border-left: 2px solid var(--line); max-width: 780px; }
.land-timeline > li { position: relative; padding: 0 0 1.5rem 1.4rem; }
.land-timeline > li::before { content: ""; position: absolute; left: -7px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--blue-dark); }
.land-timeline > li.is-year { padding-bottom: .7rem; font-weight: 700; color: var(--ink-deep); font-size: 1.05rem; }
.land-timeline > li.is-year::before { width: 8px; height: 8px; left: -5px; top: 9px; background: var(--ink-deep); border-color: var(--ink-deep); }
.land-when { font-size: .8rem; font-weight: 650; color: var(--muted); letter-spacing: .02em; }
.land-tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 3px 8px; border-radius: 3px; margin-left: .5rem; vertical-align: 1px; color: var(--ink-deep); }
.land-tag.is-setup, .land-tag.is-first { background: #dff1ff; }
.land-tag.is-raised, .land-tag.is-set, .land-tag.is-changed { background: #d9f5d9; }
.land-tag.is-pooled { background: #ece7fb; }
.land-tag.is-stated { background: #e6edf2; }
.land-tag.is-ended { background: #fde8d0; }
.land-tag.is-restated { background: #f0f3f5; color: var(--muted); }
.land-what { margin: .35rem 0 .3rem; line-height: 1.6; color: var(--ink-deep); max-width: 68ch; }
.land-what + .land-what { margin-top: 0; }
.land-meta { font-size: .8rem; color: var(--muted); line-height: 1.5; margin: 0; }
.land-restated { max-width: 780px; margin: .2rem 0 0; border-top: 1px solid var(--line); padding-top: .8rem; }
.land-restated summary { cursor: pointer; font-weight: 650; color: var(--blue-dark); min-height: 44px; display: flex; align-items: center; }
.land-restated ul { margin: .4rem 0 0; padding-left: 1.1rem; font-size: .9rem; line-height: 1.6; }

.land-units { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin-top: 1.2rem; }
.land-unit { border: 1px solid var(--line); border-top: 4px solid var(--unit); padding: 16px 18px 18px; background: #fff; display: grid; gap: .55rem; align-content: start; }
.land-unit-head { display: flex; gap: 14px; align-items: center; }
.land-unit-head svg { width: 62px; height: 62px; flex: none; }
.land-unit h3 { margin: 0; font-size: 1.25rem; color: var(--ink-deep); line-height: 1.2; }
.land-unit h3 small { display: block; font-size: .8rem; font-weight: 550; color: var(--muted); margin-top: 3px; }
.land-unit dl { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .3rem 1rem; margin: .2rem 0 0; font-size: .9rem; }
.land-unit dt { color: var(--muted); }
.land-unit dd { margin: 0; text-align: right; font-weight: 600; color: var(--ink-deep); font-variant-numeric: tabular-nums; }
.land-flag { margin: 0; font-size: .82rem; color: var(--muted); line-height: 1.45; }
.land-flag.is-ended { color: #8a4b08; font-weight: 600; }
.land-links, .land-around { display: flex; flex-wrap: wrap; gap: 4px 22px; margin: .8rem 0 0; font-size: .95rem; }
.land-links a, .land-around a { color: var(--blue-dark); min-height: 44px; display: inline-flex; align-items: center; }
.land-sections { margin-top: 1.4rem; gap: 0 18px; }

.land-wells { list-style: none; margin: 1rem 0 .6rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 0 32px; max-width: 980px; }
.land-wells li { display: grid; gap: 2px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.land-wells strong { color: var(--ink-deep); font-weight: 650; }
.land-wells span { font-size: .86rem; color: var(--muted); line-height: 1.5; }
.land-notes li { margin-bottom: .5rem; line-height: 1.6; max-width: 80ch; }

/* /land/ index: the finder and the township list. */
.land-finder { display: flex; flex-wrap: wrap; gap: 12px 14px; align-items: end; margin: 1.2rem 0 .6rem; }
.land-finder label { display: grid; gap: 6px; font-size: .82rem; font-weight: 650; color: var(--muted); }
.land-finder input { font: inherit; font-size: 16px; width: 8.5rem; min-height: 48px; padding: 10px 12px; border: 1px solid #9db7c8; border-radius: 3px; background: #fff; color: var(--ink-deep); }
.land-finder button { font: inherit; font-weight: 650; min-height: 48px; padding: 0 20px; border: 0; background: var(--blue); color: var(--ink-deep); cursor: pointer; }
.land-finder button:hover { background: var(--blue-hover); }
.land-finder-status { min-height: 1.6em; margin: 0; color: var(--ink-deep); }
.land-finder-status a { color: var(--blue-dark); }
.land-counties { display: grid; gap: 1.6rem; margin-top: 1.2rem; }
.land-county h3 { margin: 0 0 .5rem; font-size: 1.1rem; color: var(--ink-deep); }
.land-county h3 small { font-size: .8rem; font-weight: 550; color: var(--muted); margin-left: .5rem; }
.land-townships { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 0 12px; }
.land-townships a { color: var(--blue-dark); min-height: 44px; display: inline-flex; align-items: center; font-variant-numeric: tabular-nums; }
@media (max-width: 800px) {
  .land-glance { grid-template-columns: 1fr; }
  .land-locator { max-width: 380px; }
  .land-tag { margin-left: 0; display: table; margin-top: .3rem; }
  .land-finder label, .land-finder input { width: 100%; }
  .land-finder label { flex: 1 1 28%; }
  .land-finder button { width: 100%; }
}
