.ip-workspace {
  padding-bottom: clamp(24px, 4vw, 48px);
}

.ip-workspace > .section-head {
  margin-bottom: 28px;
}

.ip-result {
  padding: clamp(16px, 3.5vw, 36px);
  background: linear-gradient(155deg, var(--accent-a06), transparent 55%), var(--panel);
}

.ip-result-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.ip-result-head .kicker {
  margin-bottom: 4px;
}

.ip-route-mark {
  width: clamp(36px, 5vw, 56px);
  height: auto;
  color: var(--accent);
}

.ip-readout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  background: var(--border);
}

.ip-readout > div {
  min-width: 0;
  padding: 14px clamp(12px, 2.2vw, 24px);
  background: var(--panel);
}

.ip-readout .ip-address-cell {
  grid-column: 1 / -1;
  padding-block: clamp(16px, 3vw, 30px);
  border-radius: var(--r-card) var(--r-card) 0 0;
  background: var(--panel-2);
}

.ip-readout > :nth-child(2) {
  border-end-start-radius: var(--r-card);
}

.ip-readout > :last-child {
  border-end-end-radius: var(--r-card);
}

.ip-readout dt {
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--muted);
}

.ip-readout dd {
  margin: 4px 0 0;
  font-weight: 600;
  overflow-wrap: anywhere;
}

#ip-address {
  color: var(--accent-dark);
  font: 700 var(--fs-lede)/1.35 var(--font-display);
}

#ip-address[data-resolved] {
  font: 600 clamp(var(--fs-lede), 3.6vw, var(--hero-number))/1.3 var(--font-mono);
}

.ip-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-top: 18px;
}

.ip-controls .btn {
  flex: 0 0 auto;
  min-width: 0;
  padding-inline: clamp(16px, 3vw, 30px);
  white-space: nowrap;
}

.ip-feedback {
  min-height: 1.5em;
  margin-top: 8px;
  color: var(--text-soft);
  font-size: var(--fs-small);
}

.ip-notes {
  padding-bottom: var(--section-space);
}

.ip-note-deck {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ip-note {
  color: var(--text-soft);
}

.ip-note h2,
.ip-privacy h2 {
  color: var(--text);
  font-size: var(--fs-h3);
}

.ip-note .section-head {
  margin-bottom: 14px;
}

.ip-note .section-head .kicker {
  margin-top: 0;
  margin-bottom: 6px;
  color: var(--accent-dark);
}

.ip-note > p + p,
.ip-note li + li {
  margin-top: 10px;
}

.ip-note ol {
  margin-block: 10px;
  padding-inline-start: 1.6em;
}

.ip-note li::marker {
  color: var(--accent-dark);
  font-family: var(--font-mono);
}

.ip-privacy {
  margin-top: 18px;
  border-inline-start: 3px solid var(--accent);
}

.ip-privacy p {
  margin-top: 8px;
  color: var(--text-soft);
}

@media (max-width: 640px) {
  .ip-note-deck,
  .ip-readout {
    grid-template-columns: minmax(0, 1fr);
  }

  .ip-readout > :nth-child(2) {
    border-end-start-radius: 0;
  }

  .ip-readout > :last-child {
    border-end-start-radius: var(--r-card);
  }
}