.lookup-form { margin-top: 26px; padding: 22px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 14px 16px; align-items: start; }
.lookup-form > .lookup-error, .lookup-form > .note { grid-column: 1 / -1; }
.lookup-form .field-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.lookup-form .num-input { width: 100%; text-transform: uppercase; }
.lookup-submit { padding-top: 27px; }
.lookup-result { display: grid; gap: 18px; margin-top: 18px; }
.lookup-result[aria-busy="true"] { opacity: .6; }
.lookup-place { gap: 6px; }
.lookup-place-name { font-size: clamp(30px, 4vw, 44px); letter-spacing: -.02em; line-height: 1.1; color: var(--accent); outline: none; }
.lookup-figures { padding: 8px 22px 14px; overflow-x: auto; }
.lookup-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: 15px; }
.lookup-table caption { text-align: left; padding: 12px 0 6px; font-weight: 650; }
.lookup-table th, .lookup-table td { padding: 8px 12px 8px 0; border-bottom: 1px solid var(--border); vertical-align: top; }
.lookup-table thead th { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; text-align: right; }
.lookup-table td { text-align: right; white-space: nowrap; }
.lookup-table tbody th { text-align: left; font-weight: 500; }
.lookup-table tbody td:last-child { color: var(--muted); }
.lookup-table tbody td:only-of-type { color: inherit; }
.lookup-group th { padding-top: 18px; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.lookup-help { display: block; color: var(--muted); font-size: 13px; font-weight: 400; margin-top: 2px; }
.lookup-sources { margin-top: -6px; }
.lookup-disclaimer { color: var(--muted); border-top-color: var(--border); margin-top: 18px; }
@media (max-width: 640px) {
  .lookup-form { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 18px; }
  .lookup-submit { grid-column: 1 / -1; padding-top: 0; }
  .lookup-submit .button { width: 100%; }
  .lookup-figures { padding: 4px 14px 10px; }
  .lookup-table { font-size: 14px; }
}
