/* Email Header Analyzer — extras on top of assets/css/core.css */
.dwd-tool--email-header-analyzer .eh-input { min-height: 190px; resize: vertical; font-size: 13px; line-height: 1.5; white-space: pre; overflow-wrap: normal; overflow-x: auto; }
.dwd-tool--email-header-analyzer .eh-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.dwd-tool--email-header-analyzer .eh-error { margin-top: 14px !important; color: var(--t-red); font-size: 14.5px; }
.dwd-tool--email-header-analyzer .eh-results { margin-top: 24px; padding-top: 6px; border-top: 1px solid var(--t-border); scroll-margin-top: 96px; }
.dwd-tool--email-header-analyzer #eh-verdict { scroll-margin-top: 96px; }
.dwd-tool--email-header-analyzer #eh-verdict .dwd-status-text strong { font-size: 18px; }
.dwd-tool--email-header-analyzer .eh-reasons { display: grid; gap: 8px; margin-top: 14px !important; }
.dwd-tool--email-header-analyzer .eh-reason { position: relative; padding-left: 22px; font-size: 14.5px; color: var(--t-dim); overflow-wrap: anywhere; }
.dwd-tool--email-header-analyzer .eh-reason::before { content: ''; position: absolute; left: 4px; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--t-muted); }
.dwd-tool--email-header-analyzer .eh-reason--bad::before { background: var(--t-red); }
.dwd-tool--email-header-analyzer .eh-reason--good::before { background: var(--t-teal); }
.dwd-tool--email-header-analyzer .eh-sub { margin-top: 26px !important; }
.dwd-tool--email-header-analyzer .eh-sub-note { text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--t-muted); margin-left: 6px; }
.dwd-tool--email-header-analyzer .eh-sender { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0; font-size: 14.5px; }
.dwd-tool--email-header-analyzer .eh-sender dt { color: var(--t-muted); font-weight: 600; }
.dwd-tool--email-header-analyzer .eh-sender dd { margin: 0; min-width: 0; overflow-wrap: anywhere; color: var(--t-text); }
.dwd-tool--email-header-analyzer .eh-addr { font-family: var(--t-mono); font-size: 13.5px; color: var(--t-dim); }
.dwd-tool--email-header-analyzer .eh-rows { display: grid; gap: 10px; }
.dwd-tool--email-header-analyzer .eh-row { margin-top: 0; }
.dwd-tool--email-header-analyzer .eh-row .dwd-status-text { min-width: 0; overflow-wrap: anywhere; }
.dwd-tool--email-header-analyzer .eh-row[data-state="info"] .dwd-status-icon { font-style: italic; }
.dwd-tool--email-header-analyzer .eh-row a { color: var(--t-teal); }
.dwd-tool--email-header-analyzer .eh-hops { display: grid; gap: 8px; counter-reset: hop; }
.dwd-tool--email-header-analyzer .eh-hop {
  counter-increment: hop; position: relative; display: grid; gap: 2px; padding: 10px 14px 10px 46px;
  border-radius: 12px; background: var(--t-tint); border: 1px solid var(--t-border); font-size: 14px; min-width: 0;
}
.dwd-tool--email-header-analyzer .eh-hop::before {
  content: counter(hop); position: absolute; left: 12px; top: 11px; width: 22px; height: 22px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font: 700 11px/1 var(--t-mono); background: var(--t-teal-dim); color: var(--t-teal);
}
.dwd-tool--email-header-analyzer .eh-hop--empty { padding-left: 14px; color: var(--t-dim); }
.dwd-tool--email-header-analyzer .eh-hop--empty::before { display: none; }
.dwd-tool--email-header-analyzer .eh-hop-route { font-family: var(--t-mono); font-size: 13px; overflow-wrap: anywhere; color: var(--t-text); }
.dwd-tool--email-header-analyzer .eh-ip { color: var(--t-muted); }
.dwd-tool--email-header-analyzer .eh-arrow { color: var(--t-teal); }
.dwd-tool--email-header-analyzer .eh-hop-meta { font-size: 13px; color: var(--t-muted); }
.dwd-tool--email-header-analyzer .eh-tag { display: inline-block; padding: 1px 8px; border-radius: 6px; background: var(--t-tint); border: 1px solid var(--t-border); font-size: 12px; color: var(--t-dim); }
.dwd-tool--email-header-analyzer .eh-tag--warn { background: var(--t-amber-dim); border-color: var(--t-amber); color: var(--t-amber); }
.dwd-tool--email-header-analyzer .eh-transit { margin-top: 10px !important; font-size: 13.5px; color: var(--t-dim); }
.dwd-tool--email-header-analyzer .eh-transit:empty { display: none; }
.dwd-tool--email-header-analyzer .eh-how { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.dwd-tool--email-header-analyzer .eh-how-item { padding: 16px 18px; border-radius: 14px; background: var(--t-tint); border: 1px solid var(--t-border); }
.dwd-tool--email-header-analyzer .eh-how-item h3 { font-size: 15.5px; margin: 0 0 8px; }
.dwd-tool--email-header-analyzer .eh-how-item ol { list-style: decimal !important; padding-left: 20px !important; display: grid; gap: 4px; font-size: 14px; color: var(--t-dim); }
.dwd-tool--email-header-analyzer .eh-how-item ol li { display: list-item; }
.dwd-tool--email-header-analyzer .eh-how-item p { font-size: 14px; color: var(--t-dim); }
.dwd-tool--email-header-analyzer .eh-how-item strong { color: var(--t-text); }
.dwd-tool--email-header-analyzer .eh-how-note { display: block; margin-top: 16px; }
@media (max-width: 640px) {
  .dwd-tool--email-header-analyzer .eh-how { grid-template-columns: 1fr; }
  .dwd-tool--email-header-analyzer .eh-sender { grid-template-columns: 1fr; gap: 0; }
  .dwd-tool--email-header-analyzer .eh-sender dd { margin-bottom: 8px; }
  .dwd-tool--email-header-analyzer .eh-actions .dwd-btn { flex: 1 1 auto; }
}
