.eh-textarea-wrap { margin-bottom: 12px; }
.eh-textarea { width: 100%; background: var(--surface2); border: 1px solid var(--border); border-radius: var(--radius); color: var(--text); font-family: var(--mono); font-size: var(--fs-xs); padding: 12px; resize: vertical; min-height: 160px; transition: border-color .15s; box-sizing: border-box; }
.eh-textarea:focus { outline: none; border-color: var(--accent); }
.eh-form-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.eh-section-title { font-size: var(--fs-base); font-weight: 700; margin: 0 0 16px; }

.eh-auth-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.eh-auth-item { background: var(--surface2); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; text-align: center; }
.eh-auth-proto { font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 6px; }
.eh-auth-result { font-size: var(--fs-14); font-weight: 700; }
.eh-auth-result--pass { color: var(--green); }
.eh-auth-result--fail { color: var(--red); }
.eh-auth-result--neutral,.eh-auth-result--none { color: var(--muted); }
.eh-auth-result--softfail { color: var(--yellow); }
.eh-auth-result--unknown { color: var(--muted); }

.eh-hops { display: flex; flex-direction: column; }
.eh-hop { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--border); }
.eh-hop:last-child { border-bottom: none; }
.eh-hop-num { width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: #fff; font-size: var(--fs-xs); font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
.eh-hop-body { flex: 1; min-width: 0; }
.eh-hop-servers { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: var(--fs-sm); }
.eh-hop-from { font-family: monospace; color: var(--text); word-break: break-all; }
.eh-hop-arrow { color: var(--muted); }
.eh-hop-by { font-family: monospace; color: var(--accent); word-break: break-all; }
.eh-hop-meta { margin-top: 4px; font-size: var(--fs-xs); color: var(--muted); display: flex; gap: 12px; flex-wrap: wrap; }
.eh-hop-delay--warn { color: var(--yellow); font-weight: 600; }
.eh-hop-delay--bad { color: var(--red); font-weight: 600; }

.eh-headers-list { display: flex; flex-direction: column; }
.eh-header-row { display: flex; padding: 9px 0; border-bottom: 1px solid var(--border); gap: 12px; min-width: 0; }
.eh-header-row:last-child { border-bottom: none; }
.eh-header-name { font-family: monospace; font-size: var(--fs-xs); color: var(--accent); min-width: 160px; flex-shrink: 0; word-break: break-all; }
.eh-header-value { font-size: var(--fs-xs); color: var(--text); word-break: break-all; flex: 1; }

.eh-raw-toggle { margin-bottom: 8px; }
.eh-all-headers pre { background: var(--surface2); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; font-size: 11px; font-family: var(--mono); color: var(--muted2); overflow-x: auto; white-space: pre-wrap; word-break: break-all; margin: 0; }

@media (max-width: 600px) {
  .eh-auth-grid { grid-template-columns: repeat(2, 1fr); }
  .eh-header-name { min-width: 100px; }
  .eh-hop-servers { flex-direction: column; }
}
