#traceroute .trace-note {
    color: var(--text-muted);
    overflow-wrap: anywhere;
}

#traceroute .trace-overview,
#traceroute .trace-samples {
    font-family: monospace;
    overflow-wrap: anywhere;
}

#traceroute .trace-samples {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin: 6px 0;
}

#traceroute .record-row {
    grid-template-columns: 90px minmax(0, 1fr);
}

#traceroute .record-type {
    overflow-wrap: anywhere;
}

#traceroute .trace-value {
    max-width: 100%;
    padding: 2px 5px;
    border: 1px solid var(--border);
    border-radius: 4px;
    background: var(--bg);
    color: var(--text);
    font: inherit;
    text-align: left;
    overflow-wrap: anywhere;
    cursor: copy;
}

#traceroute .trace-value:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

#traceroute .trace-completed {
    color: var(--success);
}

#traceroute .trace-error {
    color: #ff8b8b;
}

#traceroute button:disabled {
    opacity: 0.5;
    cursor: wait;
}
