* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #0d1117;
    color: #e6edf3;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #30363d;
}

.header h1 {
    font-size: 2rem;
    font-weight: 600;
    color: #58a6ff;
    margin-bottom: 0.25rem;
}

.header p {
    color: #8b949e;
    font-size: 0.95rem;
}

.json-link {
    display: inline-block;
    background: #21262d;
    color: #58a6ff;
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-family: monospace;
    text-decoration: none;
    border: 1px solid #30363d;
}
.json-link:hover {
    background: #30363d;
    border-color: #58a6ff;
}

/* Email display */
.email-box {
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.email-box .label {
    color: #8b949e;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.email-address {
    font-size: 1.4rem;
    font-family: 'SF Mono', Monaco, 'Cascadia Code', monospace;
    color: #58a6ff;
    word-break: break-all;
    margin-bottom: 1rem;
}

.copy-btn {
    background: #21262d;
    color: #e6edf3;
    border: 1px solid #30363d;
    padding: 0.5rem 1.25rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: background 0.15s, border-color 0.15s;
}

.copy-btn:hover {
    background: #30363d;
    border-color: #8b949e;
}

.copy-btn.copied {
    background: #238636;
    border-color: #2ea043;
}

/* Timer */
.timer-box {
    text-align: center;
    margin-bottom: 1.5rem;
}

.spinner {
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 3px solid #30363d;
    border-top-color: #58a6ff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    vertical-align: middle;
    margin-right: 0.5rem;
}

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

.timer {
    font-size: 1.5rem;
    font-family: 'SF Mono', Monaco, monospace;
    color: #e6edf3;
    vertical-align: middle;
}

.timer-label {
    color: #8b949e;
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.instructions {
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 8px;
    padding: 1.25rem;
    color: #8b949e;
    font-size: 0.9rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

/* Info card (landing phase) */
.info-card {
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.info-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: #e6edf3;
    margin-bottom: 0.5rem;
}

.info-text {
    color: #8b949e;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
}

.info-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem 1.5rem;
    max-width: 420px;
    margin: 0 auto;
    text-align: left;
}

.info-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.88rem;
    color: #e6edf3;
}

.feature-icon {
    color: #58a6ff;
    font-size: 0.5rem;
}

/* Get button */
.get-btn {
    display: block;
    margin: 0 auto;
    background: #238636;
    color: #ffffff;
    border: 1px solid #2ea043;
    padding: 0.75rem 2rem;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, transform 0.1s;
}

.get-btn:hover {
    background: #2ea043;
}

.get-btn:active {
    transform: scale(0.98);
}

.get-btn:disabled {
    background: #21262d;
    border-color: #30363d;
    color: #8b949e;
    cursor: not-allowed;
    transform: none;
}

/* Fade-in animation */
.fade-in {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Timeout / Error */
.timeout {
    text-align: center;
    padding: 2rem;
}

.timeout h2 {
    color: #f85149;
    margin-bottom: 0.5rem;
}

.retry-btn {
    background: #21262d;
    color: #e6edf3;
    border: 1px solid #30363d;
    padding: 0.6rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    margin-top: 1rem;
    transition: background 0.15s;
}

.retry-btn:hover {
    background: #30363d;
}

/* Report cards */
.card {
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.card-header {
    padding: 0.75rem 1.25rem;
    background: #1c2129;
    border-bottom: 1px solid #30363d;
    font-weight: 600;
    font-size: 0.95rem;
    color: #e6edf3;
}

.card-body {
    padding: 1rem 1.25rem;
}

/* Subsection within a card (e.g., Incoming / Outbound in Active Scan) */
.subsection {
    border: 1px solid #30363d;
    border-radius: 6px;
    padding: 0.75rem 1rem;
    margin-bottom: 0.75rem;
    background: rgba(22, 27, 34, 0.5);
}

.subsection:last-child {
    margin-bottom: 0;
}

.subsection-header {
    font-size: 0.8rem;
    font-weight: 600;
    color: #58a6ff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    padding-bottom: 0.35rem;
    border-bottom: 1px solid #21262d;
}

/* TCP comparison table */
.tcp-cmp-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.tcp-cmp-table thead th {
    background: #161b22;
    color: #58a6ff;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    padding: 0.5rem 0.75rem;
    text-align: left;
    border-bottom: 2px solid #30363d;
}

.tcp-cmp-table thead th:first-child {
    width: 30%;
}

.tcp-cmp-table tbody td {
    padding: 0.4rem 0.75rem;
    border-bottom: 1px solid #21262d;
    vertical-align: middle;
}

.tcp-cmp-table tbody td:first-child {
    color: #8b949e;
    font-weight: 500;
}

.tcp-cmp-table tbody tr:hover {
    background: rgba(56, 139, 253, 0.05);
}

.field {
    display: flex;
    padding: 0.35rem 0;
    border-bottom: 1px solid #21262d;
    font-size: 0.9rem;
}

.field:last-child {
    border-bottom: none;
}

.field-name {
    color: #8b949e;
    min-width: 160px;
    flex-shrink: 0;
}

.field-value {
    color: #e6edf3;
    font-family: 'SF Mono', Monaco, monospace;
    font-size: 0.85rem;
    word-break: break-all;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.badge-pass {
    background: rgba(63, 185, 80, 0.15);
    color: #3fb950;
    border: 1px solid rgba(63, 185, 80, 0.3);
}

.badge-fail {
    background: rgba(248, 81, 73, 0.15);
    color: #f85149;
    border: 1px solid rgba(248, 81, 73, 0.3);
}

.badge-warn {
    background: rgba(210, 153, 34, 0.15);
    color: #d29922;
    border: 1px solid rgba(210, 153, 34, 0.3);
}

.badge-none {
    background: rgba(139, 148, 158, 0.15);
    color: #8b949e;
    border: 1px solid rgba(139, 148, 158, 0.3);
}

.badge-info {
    background: rgba(88, 166, 255, 0.15);
    color: #58a6ff;
    border: 1px solid rgba(88, 166, 255, 0.3);
}

/* Tables */
.table-wrap {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

th {
    text-align: left;
    padding: 0.5rem 0.75rem;
    color: #8b949e;
    font-weight: 600;
    border-bottom: 1px solid #30363d;
}

td {
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid #21262d;
    font-family: 'SF Mono', Monaco, monospace;
    font-size: 0.8rem;
    color: #e6edf3;
}

tr:last-child td {
    border-bottom: none;
}

/* Permalink */
.permalink {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #30363d;
    color: #8b949e;
    font-size: 0.85rem;
}

.permalink a {
    color: #58a6ff;
    text-decoration: none;
}

.permalink a:hover {
    text-decoration: underline;
}

/* Auth section header (SPF / DKIM / DMARC) */
.auth-section-header {
    display: flex;
    align-items: center;
    border-top: 1px solid #30363d;
    padding: 0.5rem 1rem;
    background: #161b22;
    font-size: 0.85rem;
    font-weight: 600;
    color: #58a6ff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.auth-section-header:first-child {
    border-top: none;
}

/* SMTP Raw Transcript Terminal */
.smtp-transcript {
    background: #0a0e14;
    border: 1px solid #1c2333;
    border-radius: 6px;
    padding: 16px;
    margin-top: 16px;
    font-family: 'SF Mono', 'Cascadia Code', 'Fira Code', 'Consolas', monospace;
    font-size: 0.82rem;
    line-height: 1.6;
    overflow-x: auto;
    max-height: 600px;
    overflow-y: auto;
}

.smtp-transcript .line-server {
    color: #3fb950;
}

.smtp-transcript .line-client {
    color: #e6edf3;
}

.smtp-transcript .line-meta {
    color: #d29922;
    font-style: italic;
}

.smtp-transcript .line-data {
    color: #8b949e;
    font-style: italic;
}

.smtp-transcript .line-prefix {
    color: #6e7681;
    user-select: none;
}

.smtp-transcript .line-delta {
    color: #484f58;
    font-size: 0.72rem;
    margin-left: 8px;
}

/* DNS Audit Section */
.dns-section {
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid #21262d;
}

.dns-section:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.dns-section-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: #8b949e;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.5rem;
}

.dns-overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.25rem 1.5rem;
}

.dns-record-row {
    display: flex;
    align-items: baseline;
    padding: 0.2rem 0;
    font-size: 0.85rem;
}

.dns-record-row .dns-type {
    color: #8b949e;
    font-weight: 600;
    min-width: 50px;
    font-size: 0.75rem;
    text-transform: uppercase;
    flex-shrink: 0;
}

.dns-record-row .dns-value {
    color: #e6edf3;
    font-family: 'SF Mono', Monaco, monospace;
    font-size: 0.82rem;
    word-break: break-all;
}

.dns-txt-record {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.35rem 0;
    border-bottom: 1px solid #21262d;
}

.dns-txt-record:last-child {
    border-bottom: none;
}

.dns-txt-tag {
    display: inline-block;
    padding: 0.1rem 0.4rem;
    border-radius: 3px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    flex-shrink: 0;
    min-width: 42px;
    text-align: center;
}

.dns-txt-tag-spf {
    background: rgba(88, 166, 255, 0.15);
    color: #58a6ff;
    border: 1px solid rgba(88, 166, 255, 0.3);
}

.dns-txt-tag-dmarc {
    background: rgba(188, 140, 255, 0.15);
    color: #bc8cff;
    border: 1px solid rgba(188, 140, 255, 0.3);
}

.dns-txt-tag-dkim {
    background: rgba(63, 185, 80, 0.15);
    color: #3fb950;
    border: 1px solid rgba(63, 185, 80, 0.3);
}

.dns-txt-tag-verify {
    background: rgba(210, 153, 34, 0.15);
    color: #d29922;
    border: 1px solid rgba(210, 153, 34, 0.3);
}

.dns-txt-tag-other {
    background: rgba(139, 148, 158, 0.1);
    color: #8b949e;
    border: 1px solid rgba(139, 148, 158, 0.2);
}

.dns-txt-value {
    font-family: 'SF Mono', Monaco, monospace;
    font-size: 0.8rem;
    color: #e6edf3;
    word-break: break-all;
    line-height: 1.5;
}

.dns-soa-grid {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 0.15rem 0.75rem;
    font-size: 0.85rem;
    align-items: baseline;
}

.dns-soa-grid .soa-label {
    color: #8b949e;
    font-size: 0.8rem;
}

.dns-soa-grid .soa-value {
    color: #e6edf3;
    font-family: 'SF Mono', Monaco, monospace;
    font-size: 0.82rem;
}

.dns-soa-grid .soa-human {
    color: #6e7681;
    font-size: 0.75rem;
}

.dns-issue {
    padding: 0.5rem 0;
    border-bottom: 1px solid #21262d;
}

.dns-issue:last-child {
    border-bottom: none;
}

.dns-issue-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.dns-issue-category {
    color: #6e7681;
    font-size: 0.75rem;
}

.dns-recommendation {
    margin-top: 0.25rem;
    padding-left: 1.75rem;
    font-size: 0.8rem;
    color: #8b949e;
    font-style: italic;
}

.dns-recommendation::before {
    content: "\2192  ";
    color: #484f58;
}

.dns-status-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.dns-status-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.6rem;
    background: #0d1117;
    border: 1px solid #21262d;
    border-radius: 6px;
    font-size: 0.82rem;
}

.dns-status-item .status-label {
    color: #8b949e;
    flex: 1;
}

.dns-status-item .status-icon-pass {
    color: #3fb950;
}

.dns-status-item .status-icon-fail {
    color: #f85149;
}

.dns-status-item .status-icon-warn {
    color: #d29922;
}

/* Trust Score */
.trust-score-container { margin: 16px 0; }
.trust-score-label { font-size: 14px; color: #8b949e; margin-bottom: 6px; }
.trust-score-bar {
    background: #21262d; border-radius: 8px; height: 32px;
    overflow: hidden; border: 1px solid #30363d;
}
.trust-score-fill {
    height: 100%; display: flex; align-items: center;
    justify-content: center; border-radius: 8px;
    font-weight: 700; font-size: 16px; color: #fff;
    transition: width 0.5s ease;
}
.trust-high { background: linear-gradient(90deg, #238636, #2ea043); }
.trust-medium { background: linear-gradient(90deg, #9e6a03, #d29922); }
.trust-low { background: linear-gradient(90deg, #da3633, #f85149); }

/* Identity card */
.card-identity { border-color: #388bfd40; }
.identity-summary { display: flex; flex-wrap: wrap; gap: 24px; }
.identity-main { flex: 1; min-width: 300px; }
.confidence { color: #8b949e; font-size: 12px; }

/* Anomalies */
.anomalies-section { margin-top: 16px; }
.anomalies-section h3 { font-size: 0.9rem; color: #e6edf3; margin-bottom: 8px; }
.anomaly-item {
    padding: 12px; margin: 8px 0; border-radius: 6px;
    border-left: 3px solid;
}
.anomaly-item strong { margin-left: 8px; }
.anomaly-item p { margin: 4px 0 0; color: #8b949e; font-size: 0.85rem; }
.anomaly-critical { border-color: #f85149; background: #f8514915; }
.anomaly-warning { border-color: #d29922; background: #d2992215; }
.anomaly-info { border-color: #388bfd; background: #388bfd15; }
.anomaly-evidence {
    margin-top: 8px; font-family: monospace; font-size: 12px;
    color: #8b949e; padding: 8px; background: #161b22; border-radius: 4px;
}
.evidence-line { padding: 2px 0; }

/* Severity badges */
.badge-critical { background: #da3633; color: #fff; }
.badge-warning { background: #9e6a03; color: #fff; }

/* Checks */
.checks-section { margin-top: 16px; }
.checks-section h3 { font-size: 0.9rem; color: #e6edf3; margin-bottom: 8px; }
.checks-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 8px; }
.check-item {
    display: flex; align-items: center; gap: 8px;
    padding: 6px 10px; border-radius: 4px; background: #161b22;
    font-size: 13px;
}
.check-status {
    font-size: 11px; font-weight: 600; text-transform: uppercase;
    padding: 2px 6px; border-radius: 3px; min-width: 36px; text-align: center;
}
.check-pass { background: #238636; color: #fff; }
.check-warn { background: #9e6a03; color: #fff; }
.check-fail { background: #da3633; color: #fff; }
.check-skip { background: #30363d; color: #8b949e; }

/* Port scan — grid cards */
.port-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 12px; }
.port-card {
    background: #161b22; border: 1px solid #30363d; border-radius: 8px;
    padding: 12px 14px; display: flex; flex-direction: column; gap: 8px;
}
.port-card-header { display: flex; justify-content: space-between; align-items: center; }
.port-card-title { font-weight: 600; font-size: 0.95rem; color: #e6edf3; }
.port-card-service { color: #8b949e; font-weight: 400; font-size: 0.85rem; }
.port-card-banner {
    font-family: monospace; font-size: 0.78rem; color: #8b949e;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    background: #0d1117; border-radius: 4px; padding: 4px 8px;
}
.port-card-row { display: flex; gap: 6px; flex-wrap: wrap; }
.port-card-tag {
    font-size: 0.72rem; padding: 2px 7px; border-radius: 4px; font-weight: 500;
}
.tag-tls { background: #1f3a5f; color: #58a6ff; }
.tag-starttls { background: #1a4731; color: #3fb950; }
.tag-timing { background: #21262d; color: #8b949e; }
.port-card-section { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.port-card-label { font-size: 0.75rem; color: #8b949e; min-width: 40px; font-weight: 600; }
.port-card-caps { display: flex; flex-wrap: wrap; gap: 3px; }
.port-cap-badge {
    font-size: 0.7rem; padding: 1px 6px; border-radius: 3px;
    background: #1f3a5f; color: #79c0ff;
}
.cap-auth { background: #3d2b00; color: #d29922; }
.port-card-mono { font-family: monospace; font-size: 0.75rem; color: #c9d1d9; word-break: break-all; }
.port-card-meta { font-size: 0.75rem; color: #8b949e; }

/* Port card — collapsible details */
.port-card-details { border-top: 1px solid #21262d; padding-top: 6px; }
.port-card-details summary {
    font-size: 0.8rem; font-weight: 600; color: #58a6ff; cursor: pointer;
    list-style: none; display: flex; align-items: center; gap: 4px;
}
.port-card-details summary::before { content: "\25b8 "; }
.port-card-details[open] summary::before { content: "\25be "; }
.port-card-details summary::-webkit-details-marker { display: none; }

/* Port card — certificate grid */
.port-cert-grid {
    display: grid; grid-template-columns: auto 1fr; gap: 3px 10px;
    font-size: 0.78rem; margin-top: 6px;
}
.port-cert-grid .cert-label { color: #8b949e; }
.port-cert-grid .cert-value { color: #e6edf3; font-family: monospace; font-size: 0.76rem; word-break: break-all; }
.self-signed-badge { background: #da3633; color: #fff; font-size: 0.68rem; padding: 1px 5px; border-radius: 3px; margin-left: 4px; }

/* Port card — transcript */
.port-transcript {
    background: #0d1117; border-radius: 4px; padding: 6px 8px; margin-top: 6px;
    max-height: 200px; overflow-y: auto;
}
.transcript-line { font-family: monospace; font-size: 0.72rem; color: #c9d1d9; white-space: pre-wrap; word-break: break-all; padding: 1px 0; }

/* Closed ports line */
.port-closed-list { margin-top: 12px; padding-top: 10px; border-top: 1px solid #21262d; color: #484f58; font-size: 0.82rem; }
.port-closed-list::before { content: "Closed: "; font-weight: 600; }
.port-closed-item { margin-right: 12px; }
.port-closed-item::before { content: "\25cb "; }

/* Collapsible signals */
.signals-details {
    margin-top: 0.35rem;
    border-top: 1px solid #21262d;
    padding-top: 0.35rem;
}

.signals-details summary {
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 4px;
}

.signals-details summary::before { content: "\25b8 "; color: #58a6ff; }
.signals-details[open] summary::before { content: "\25be "; }
.signals-details summary::-webkit-details-marker { display: none; }

.signals-list {
    display: flex;
    flex-direction: column;
    margin-top: 0.5rem;
}

/* Error code table */
.error-codes-table { margin-top: 8px; }
.error-codes-table table { font-size: 0.8rem; }
.error-codes-table th { font-size: 0.75rem; }

/* Mail Route Timeline */
.timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0;
}

.timeline-hop {
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 6px;
    padding: 0.75rem 1rem;
    position: relative;
}

.timeline-hop.has-warning {
    border-color: #d29922;
}

.timeline-hop.has-critical {
    border-color: #f85149;
}

.timeline-hop-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #e6edf3;
}

.timeline-hop-header .hop-num {
    background: #21262d;
    color: #8b949e;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 500;
}

.timeline-hop-route {
    font-family: 'SF Mono', Monaco, 'Cascadia Code', monospace;
    font-size: 0.8rem;
    color: #c9d1d9;
    margin-bottom: 0.25rem;
}

.timeline-hop-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: #8b949e;
}

.timeline-hop-meta .tls-yes {
    color: #3fb950;
}

.timeline-hop-meta .tls-no {
    color: #f85149;
}

.timeline-delta {
    display: flex;
    align-items: center;
    padding: 0.25rem 0 0.25rem 1.5rem;
    position: relative;
}

.timeline-delta::before {
    content: '';
    position: absolute;
    left: 1.5rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #30363d;
}

.timeline-delta-badge {
    font-family: 'SF Mono', Monaco, monospace;
    font-size: 0.75rem;
    padding: 1px 8px;
    border-radius: 10px;
    margin-left: 0.75rem;
    z-index: 1;
}

.timeline-delta-badge.fast {
    background: #0d3117;
    color: #3fb950;
    border: 1px solid #238636;
}

.timeline-delta-badge.medium {
    background: #341a04;
    color: #d29922;
    border: 1px solid #9e6a03;
}

.timeline-delta-badge.slow {
    background: #3d1214;
    color: #f85149;
    border: 1px solid #da3633;
}

.timeline-anomaly-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.timeline-ip-match {
    margin-top: 1rem;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-family: 'SF Mono', Monaco, monospace;
}

.timeline-ip-match.match {
    background: #0d3117;
    border: 1px solid #238636;
    color: #3fb950;
}

.timeline-ip-match.mismatch {
    background: #3d1214;
    border: 1px solid #da3633;
    color: #f85149;
}
