:root {
  --bg: #0f1417;
  --surface: #1a2126;
  --surface-soft: #151b1f;
  --surface-hover: #222b31;
  --text: #f5f2ee;
  --text-soft: #b7c0c5;
  --text-muted: #87939a;
  --border: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.16);
  --accent: #f97316;
  --accent-hover: #fb8b3c;
  --accent-soft: rgba(249, 115, 22, 0.13);
  --success: #4ade80;
  --danger: #fb7185;
  --info: #67e8f9;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", Menlo, Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 20rem;
  background: var(--bg);
  color-scheme: dark;
}

body {
  min-width: 20rem;
  min-height: 100vh;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 0.9375rem;
  line-height: 1.5;
}

button,
input {
  font: inherit;
}

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

button {
  cursor: pointer;
}

a {
  color: inherit;
}

button:focus-visible,
input:focus-visible,
a:focus-visible {
  outline: 0.125rem solid var(--accent);
  outline-offset: 0.1875rem;
}

.nav {
  border-bottom: 0.0625rem solid var(--border);
  background: rgba(15, 20, 23, 0.96);
}

.nav-inner,
.page {
  width: min(73.75rem, calc(100% - 2.5rem));
  margin: 0 auto;
}

.nav-inner {
  min-height: 4.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6875rem;
  text-decoration: none;
}

.brand-mark {
  width: 1.875rem;
  height: 1.875rem;
  flex: 0 0 auto;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-size: 1.0625rem;
  font-weight: 750;
  letter-spacing: 0;
}

.brand-name span {
  color: var(--accent);
}

.brand-byline {
  margin-top: 0.1875rem;
  color: var(--text-muted);
  font-size: 0.5625rem;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: uppercase;
}

.api-link {
  min-height: 2.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 0.6875rem;
  border: 0.0625rem solid var(--border-strong);
  border-radius: 0.375rem;
  color: var(--text-soft);
  background: var(--surface-soft);
  font-size: 0.75rem;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.api-link svg {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.api-link:hover,
.api-link[aria-current="page"] {
  border-color: rgba(103, 232, 249, 0.42);
  color: var(--info);
  background: rgba(103, 232, 249, 0.08);
}

.primary-button svg,
.secondary-button svg,
.ipv6-action svg {
  width: 1.0625rem;
  height: 1.0625rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.page {
  padding: 2.875rem 0 4rem;
}

.page-header {
  margin-bottom: 1.5rem;
}

.api-view[hidden],
#home-view[hidden] {
  display: none;
}

.api-header {
  max-width: 42rem;
}

.api-header > p:last-child {
  max-width: 38rem;
  margin: 0.75rem 0 0;
  color: var(--text-soft);
  font-size: 0.9375rem;
}

.api-overview {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.625rem 1rem;
  padding: 1.125rem 0;
  border-top: 0.0625rem solid var(--border);
  border-bottom: 0.0625rem solid var(--border);
  color: var(--text-soft);
  font-size: 0.8125rem;
}

.api-overview .section-label {
  grid-row: span 2;
}

.api-overview code,
.api-note code,
.api-endpoints code {
  color: var(--info);
  font-family: var(--mono);
}

.api-overview > code {
  min-width: 0;
  color: var(--text);
  font-size: 0.875rem;
  overflow-wrap: anywhere;
}

.api-overview > span:last-child {
  grid-column: 2;
}

.api-section {
  margin-top: 2.5rem;
}

.api-section-heading {
  margin-bottom: 1rem;
}

.api-section-heading h2 {
  margin: 0.375rem 0 0;
  color: var(--text);
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.2;
}

.api-endpoints {
  border-top: 0.0625rem solid var(--border);
}

.api-endpoints > div {
  display: grid;
  grid-template-columns: minmax(18rem, 0.9fr) minmax(0, 1.1fr);
  gap: 1rem;
  align-items: baseline;
  padding: 0.875rem 0;
  border-bottom: 0.0625rem solid var(--border);
}

.api-endpoints span {
  color: var(--text-soft);
  font-size: 0.8125rem;
}

.api-note {
  margin: 1rem 0 0;
  color: var(--text-muted);
  font-size: 0.8125rem;
}

.api-examples {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.api-example {
  min-width: 0;
  display: flex;
  flex-direction: column;
  border: 0.0625rem solid var(--border);
  border-radius: 0.5rem;
  background: #11171b;
  overflow: hidden;
}

.api-example-header {
  min-height: 4.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.625rem 0.75rem 0.625rem 1rem;
  border-bottom: 0.0625rem solid var(--border);
  color: var(--text);
  background: var(--surface-soft);
}

.api-example-kind {
  display: block;
  color: var(--text-muted);
  font-size: 0.8125rem;
  line-height: 1.2;
}

.api-example-header h3 {
  margin: 0.1875rem 0 0;
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 700;
}

.api-code-actions {
  flex: 0 0 auto;
}

.code-copy-button {
  min-height: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0 0.5625rem;
  border: 0.0625rem solid var(--border-strong);
  border-radius: 0.3125rem;
  color: var(--text-soft);
  background: var(--surface);
  font-size: 0.6875rem;
  font-weight: 700;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.code-copy-button svg {
  width: 0.875rem;
  height: 0.875rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.code-copy-button:hover {
  border-color: rgba(103, 232, 249, 0.45);
  color: var(--info);
  background: rgba(103, 232, 249, 0.08);
}

.code-copy-button[data-copy-state="copied"] {
  border-color: rgba(74, 222, 128, 0.44);
  color: var(--success);
  background: rgba(74, 222, 128, 0.08);
}

.code-copy-button[data-copy-state="failed"] {
  border-color: rgba(251, 113, 133, 0.44);
  color: var(--danger);
  background: rgba(251, 113, 133, 0.08);
}

.api-code {
  flex: 1 1 auto;
  min-height: 0;
  margin: 0;
  padding: 1.125rem;
  overflow-x: auto;
  color: var(--text-soft);
  font-family: var(--mono);
  font-size: 0.75rem;
  line-height: 1.6;
  tab-size: 2;
}

.api-code code {
  font-family: inherit;
}

.token.command,
.token.keyword {
  color: #c4b5fd;
}

.token.flag,
.token.boolean {
  color: #fdba74;
}

.token.url,
.token.string {
  color: #86efac;
}

.token.function {
  color: var(--info);
}

.token.variable {
  color: #f9a8d4;
}

.token.constant {
  color: #fcd34d;
}

.kicker {
  margin: 0 0 0.4375rem;
  color: var(--accent);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 720;
  line-height: 1.15;
  letter-spacing: 0;
}

.lookup-tools {
  margin-bottom: 1.5rem;
}

.lookup-error {
  margin: 0.5625rem 0.125rem 0;
  color: #fda4af;
  font-size: 0.75rem;
}

.lookup-error[hidden] {
  display: none;
}

.lookup-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 0.625rem;
}

.search-field {
  min-width: 0;
  height: 3.125rem;
  display: flex;
  align-items: center;
  gap: 0.6875rem;
  padding: 0 1rem;
  border: 0.0625rem solid var(--border-strong);
  border-radius: 0.4375rem;
  background: var(--surface);
  transition: border-color 0.15s, background 0.15s;
}

.search-field:focus-within {
  border-color: var(--accent);
  background: var(--surface-hover);
}

.search-field svg {
  width: 1.1875rem;
  height: 1.1875rem;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--text-muted);
  stroke-width: 1.8;
  stroke-linecap: round;
}

#ip-input {
  width: 100%;
  min-width: 0;
  height: 100%;
  padding: 0;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
  font-family: var(--mono);
  font-size: 0.875rem;
}

#ip-input::placeholder {
  color: var(--text-muted);
}

.primary-button,
.secondary-button {
  height: 3.125rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5625rem;
  padding: 0 1.1875rem;
  border-radius: 0.4375rem;
  font-size: 0.8125rem;
  font-weight: 650;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.primary-button {
  border: 0.0625rem solid var(--accent);
  color: #1d120b;
  background: var(--accent);
}

.primary-button:hover {
  border-color: var(--accent-hover);
  background: var(--accent-hover);
}

.secondary-button {
  border: 0.0625rem solid var(--border-strong);
  color: var(--text-soft);
  background: var(--surface);
}

.secondary-button:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.24);
  background: var(--surface-hover);
}

.ipv6-button {
  width: 100%;
  min-height: 2.875rem;
  margin-top: 0.625rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 0.5rem 0.875rem;
  border: 0.0625rem solid rgba(103, 232, 249, 0.24);
  border-radius: 0.4375rem;
  color: var(--text-soft);
  background: rgba(103, 232, 249, 0.05);
  text-align: left;
}

.ipv6-button[hidden] {
  display: none;
}

.ipv6-button:hover {
  border-color: rgba(103, 232, 249, 0.46);
  background: rgba(103, 232, 249, 0.09);
}

.ipv6-label,
.ipv6-action {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
}

.protocol-mark {
  padding: 0.1875rem 0.4375rem;
  border-radius: 0.25rem;
  color: var(--info);
  background: rgba(103, 232, 249, 0.1);
  font-size: 0.625rem;
  font-weight: 750;
  letter-spacing: 0;
}

#ipv6-address {
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.75rem;
  overflow-wrap: anywhere;
}

.ipv6-action {
  flex: 0 0 auto;
  color: var(--info);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
}

.result {
  min-height: 18.125rem;
}

.result-identity {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(18.75rem, 0.75fr);
  border: 0.0625rem solid var(--border);
  border-radius: 0.5rem;
  background: var(--surface);
  overflow: hidden;
}

.address-block,
.network-block {
  min-width: 0;
  padding: 1.75rem;
}

.network-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 0.0625rem solid var(--border);
  background: var(--surface-soft);
}

.section-label,
.record-label {
  display: block;
  color: var(--text-muted);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4375rem;
}

.section-label svg {
  width: 0.875rem;
  height: 0.875rem;
  color: var(--accent);
}

.address-line {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0.5rem 0 0.9375rem;
}

.address-line h2 {
  min-width: 0;
  margin: 0;
  color: var(--text);
  font-family: var(--mono);
  font-size: clamp(1.5625rem, 3.8vw, 2.375rem);
  font-weight: 650;
  line-height: 1.18;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.copy-button {
  width: 2.125rem;
  height: 2.125rem;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 0.0625rem solid var(--border-strong);
  border-radius: 0.375rem;
  color: var(--text-muted);
  background: transparent;
}

.copy-button:hover {
  color: var(--accent);
  border-color: rgba(249, 115, 22, 0.45);
  background: var(--accent-soft);
}

.copy-button svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.identity-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.meta-chip {
  display: inline-flex;
  align-items: center;
  min-height: 1.5625rem;
  padding: 0.1875rem 0.5625rem;
  border: 0.0625rem solid var(--border);
  border-radius: 0.3125rem;
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.025);
  font-size: 0.6875rem;
  font-weight: 650;
}

.meta-chip.accent {
  border-color: rgba(249, 115, 22, 0.26);
  color: #fdba74;
  background: var(--accent-soft);
}

.meta-chip.with-flag {
  gap: 0.4375rem;
  padding-left: 0.3125rem;
}

.country-flag {
  width: 1.375rem;
  height: 1rem;
  flex: 0 0 auto;
  border-radius: 0.125rem;
  box-shadow: 0 0 0 0.0625rem rgba(255, 255, 255, 0.16);
}

.location-value {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.network-block strong {
  margin-top: 0.5625rem;
  color: var(--text);
  font-size: clamp(1.125rem, 2.3vw, 1.5625rem);
  font-weight: 680;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.network-subtitle {
  margin-top: 0.4375rem;
  color: var(--text-soft);
  font-family: var(--mono);
  font-size: 0.8125rem;
  overflow-wrap: anywhere;
}

.quick-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 0.75rem;
  border: 0.0625rem solid var(--border);
  border-radius: 0.5rem;
  background: var(--surface);
  overflow: hidden;
}

.quick-fact {
  min-width: 0;
  padding: 1.0625rem 1.1875rem;
  border-right: 0.0625rem solid var(--border);
}

.quick-fact:last-child {
  border-right: 0;
}

.quick-value {
  display: block;
  margin-top: 0.3125rem;
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.875rem;
  font-weight: 650;
  overflow-wrap: anywhere;
}

.quick-value.muted {
  color: var(--text-muted);
  font-family: var(--sans);
  font-weight: 500;
}

.quick-heading {
  display: flex;
  align-items: center;
  gap: 0.4375rem;
}

.quick-heading svg {
  width: 0.875rem;
  height: 0.875rem;
  flex: 0 0 auto;
  color: var(--text-muted);
}

.record-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.record-panel {
  min-width: 0;
  border: 0.0625rem solid var(--border);
  border-radius: 0.5rem;
  background: var(--surface);
  overflow: hidden;
}

.record-panel-header {
  min-height: 3.125rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 1.1875rem;
  border-bottom: 0.0625rem solid var(--border);
  background: var(--surface-soft);
}

.record-panel-header h3 {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 680;
}

.record-heading {
  display: inline-flex;
  align-items: center;
  gap: 0.5625rem;
}

.record-heading svg {
  width: 1.0625rem;
  height: 1.0625rem;
  flex: 0 0 auto;
  color: var(--accent);
}

.record-list {
  margin: 0;
  padding: 0.25rem 1.1875rem;
}

.record-row {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(6.875rem, 0.42fr) minmax(0, 0.58fr);
  gap: 1.25rem;
  padding: 0.8125rem 0;
  border-bottom: 0.0625rem solid var(--border);
}

.record-row:last-child {
  border-bottom: 0;
}

.record-row dt {
  color: var(--text-muted);
  font-size: 0.75rem;
}

.record-row dd {
  min-width: 0;
  margin: 0;
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 550;
  text-align: right;
  overflow-wrap: anywhere;
}

.source-list {
  margin: 0;
  padding: 0.25rem 1.1875rem;
}

.source-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8125rem 0;
  border-bottom: 0.0625rem solid var(--border);
}

.source-row:last-child {
  border-bottom: 0;
}

.source-name {
  display: inline-flex;
  align-items: center;
  gap: 0.5625rem;
  color: var(--text-soft);
  font-size: 0.75rem;
}

.source-name::before {
  content: "";
  width: 0.4375rem;
  height: 0.4375rem;
  border-radius: 50%;
  background: var(--text-muted);
}

.source-row[data-present="true"] .source-name::before {
  background: var(--success);
}

.source-state {
  color: var(--text-muted);
  font-size: 0.6875rem;
}

.source-row[data-present="true"] .source-state {
  color: var(--success);
}

.object-list {
  margin: 0;
  padding: 0.25rem 1.1875rem;
}

.object-row {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1875rem;
  padding: 0.8125rem 0;
  border-bottom: 0.0625rem solid var(--border);
}

.object-row:last-child {
  border-bottom: 0;
}

.object-row strong {
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 650;
  overflow-wrap: anywhere;
}

.object-row span {
  color: var(--text-muted);
  font-size: 0.6875rem;
  overflow-wrap: anywhere;
}

.object-count {
  min-width: 1.5rem;
  height: 1.375rem;
  display: inline-grid;
  place-items: center;
  padding: 0 0.375rem;
  border: 0.0625rem solid var(--border);
  border-radius: 0.25rem;
  color: var(--text-soft);
  font-family: var(--mono);
  font-size: 0.6875rem;
}

.more-button {
  min-height: 2.625rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding: 0 0.875rem;
  border: 0.0625rem solid var(--border-strong);
  border-radius: 0.375rem;
  color: var(--text-soft);
  background: var(--surface);
  font-size: 0.75rem;
  font-weight: 650;
}

.more-button:hover {
  border-color: rgba(249, 115, 22, 0.5);
  color: var(--text);
  background: var(--surface-hover);
}

.more-button svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.loading-panel,
.error-panel {
  min-height: 18.125rem;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 0.8125rem;
  padding: 2.5rem;
  border: 0.0625rem solid var(--border);
  border-radius: 0.5rem;
  color: var(--text-soft);
  background: var(--surface);
  text-align: center;
}

.spinner {
  width: 1.5rem;
  height: 1.5rem;
  border: 0.125rem solid var(--border-strong);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.error-panel svg {
  width: 1.75rem;
  height: 1.75rem;
  fill: none;
  stroke: var(--danger);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.error-panel strong {
  color: var(--text);
  font-size: 0.9375rem;
}

.error-panel p {
  max-width: 32.5rem;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.8125rem;
}

.toast {
  position: fixed;
  z-index: 20;
  right: 1.25rem;
  bottom: 1.25rem;
  max-width: min(21.25rem, calc(100% - 2.5rem));
  padding: 0.6875rem 0.875rem;
  border: 0.0625rem solid var(--border-strong);
  border-radius: 0.4375rem;
  color: var(--text);
  background: var(--surface-hover);
  box-shadow: 0 0.875rem 2.5rem rgba(0, 0, 0, 0.35);
  font-size: 0.75rem;
}

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

@keyframes spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 51.25rem) {
  .result-identity {
    grid-template-columns: 1fr;
  }

  .network-block {
    border-top: 0.0625rem solid var(--border);
    border-left: 0;
  }

  .quick-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quick-fact:nth-child(2) {
    border-right: 0;
  }

  .quick-fact:nth-child(-n + 2) {
    border-bottom: 0.0625rem solid var(--border);
  }
}

@media (max-width: 42.5rem) {
  .nav-inner,
  .page {
    width: min(100% - 1.75rem, 73.75rem);
  }

  .page {
    padding: 2.125rem 0 2.875rem;
  }

  .page-header {
    margin-bottom: 1.25rem;
  }

  .api-overview {
    grid-template-columns: 1fr;
  }

  .api-overview .section-label,
  .api-overview > span:last-child {
    grid-column: auto;
    grid-row: auto;
  }

  .api-endpoints > div {
    grid-template-columns: 1fr;
    gap: 0.3125rem;
  }

  .lookup-form {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .secondary-button {
    grid-column: 1 / -1;
  }

  .ipv6-button {
    align-items: flex-start;
  }

  .ipv6-label {
    min-width: 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 0.3125rem;
  }

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

  .api-examples {
    grid-template-columns: 1fr;
  }

  .address-block,
  .network-block {
    padding: 1.3125rem 1.125rem;
  }

}

@media (max-width: 26.875rem) {
  .lookup-form {
    grid-template-columns: minmax(0, 1fr) 3rem;
  }

  .primary-button {
    width: 3rem;
    padding: 0;
  }

  .primary-button span {
    position: absolute;
    width: 0.0625rem;
    height: 0.0625rem;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .quick-facts {
    grid-template-columns: 1fr;
  }

  .quick-fact {
    border-right: 0;
    border-bottom: 0.0625rem solid var(--border);
  }

  .quick-fact:nth-child(2) {
    border-right: 0;
  }

  .quick-fact:nth-child(-n + 3) {
    border-bottom: 0.0625rem solid var(--border);
  }

  .quick-fact:last-child {
    border-bottom: 0;
  }

  .record-row {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .record-row dd {
    text-align: left;
  }

  .address-line {
    align-items: flex-start;
  }
}
