.dns-types { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 0 16px 14px; }
.dns-chips { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.dns-chips .segmented { flex-wrap: nowrap; }
.dns-chips .segmented label { font-size: 14px; font-weight: 500; cursor: pointer; min-height: 36px; display: inline-flex; align-items: center; white-space: nowrap; position: relative; }
.dns-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-bottom: 4px; }
.dns-head h2 { margin: 0; font-size: 21px; overflow-wrap: anywhere; min-width: 0; }
.dns-sub { margin: 0 0 6px; overflow-wrap: anywhere; }
.dns-status { margin: 8px 0 12px; font-weight: 600; }
.dns-status.warn { color: var(--warn); }
.dns-status.info { color: var(--ink); }
.dns-table td { font-size: 14px; }
.dns-table .mono, .dns-val .mono { font-family: var(--mono); font-size: 13px; }
.dns-table td.dns-value { overflow-wrap: anywhere; word-break: break-word; min-width: 220px; }
.dns-table td.dns-name { max-width: 260px; }
.dns-table td.dns-ttl { white-space: nowrap; cursor: help; }
.dns-table tr.alias td { color: var(--muted); }
.dns-table th.dns-act, .dns-table td.dns-act { width: 1%; white-space: nowrap; text-align: right; }
.dns-soa { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 2px 12px; margin: 0; font-size: 13px; }
.dns-soa dt { color: var(--muted); }
.dns-soa dd { margin: 0; font-family: var(--mono); overflow-wrap: anywhere; }
.dns-segs { margin-top: 6px; font-size: 13px; }
.dns-segs summary { cursor: pointer; color: var(--blue); }
.dns-segs ol { margin: 6px 0 0; padding-left: 22px; }
.dns-segs li { overflow-wrap: anywhere; }
.dns-meta { margin: 10px 0 6px; overflow-wrap: anywhere; }
.dns-links { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.dns-links .chip { border: 1px solid var(--border); background: var(--surface); color: var(--ink); border-radius: 999px; padding: 4px 10px; font: inherit; font-size: 13px; cursor: pointer; min-height: 32px; }
.dns-links .chip:hover { border-color: var(--blue); color: var(--blue); }
.dns-links .chip.hl { background: var(--blue-tint); border-color: transparent; color: var(--blue); font-weight: 600; }
.dns-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; }
@media (max-width: 768px) {
  .dns-types { padding: 0 12px 12px; }
  .dns-table thead { display: none; }
  .dns-table, .dns-table tbody, .dns-table tr, .dns-table td { display: block; width: auto; }
  .dns-table tr { border: 1px solid var(--border); border-radius: 10px; padding: 8px 10px; margin-bottom: 8px; }
  .dns-table td { border: 0; padding: 2px 0; max-width: none; min-width: 0 !important; }
  .dns-table td.dns-type, .dns-table td.dns-ttl { display: inline-block; margin-right: 10px; }
  .dns-table td.dns-ttl::before { content: "TTL "; color: var(--muted); }
  .dns-table td.dns-act { text-align: left; }
}
@media (max-width: 900px) { #tool > .wt-bar { order: 1; } #tool > .dns-types { order: 2; } #tool > .notice { order: 3; } #tool > .wt-body { order: 4; } }
