/* DNS lookup. Builds on subnet/tool.css for .calc, .lede, .examples and
   .tool-prose. */

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.9rem;
}

.chip {
    background: var(--bg-raised, #080d16);
    border: 1px solid var(--border-solid, #182234);
    border-radius: var(--radius);
    padding: 0.35rem 0.85rem;
    color: var(--text-dim, #8e9bb0);
    font: inherit;
    font-size: 0.8rem;
    font-family: var(--mono, ui-monospace, Menlo, monospace);
    cursor: pointer;
}

.chip-on {
    background: var(--kodura-brand, #006efe);
    border-color: transparent;
    color: #fff;
}

.type-explanation {
    margin: 0.8rem 0 0;
    font-size: 0.9rem;
    color: var(--text-dim, #8e9bb0);
    min-height: 1.2em;
}

#form .btn {
    margin-top: 1rem;
    width: 100%;
}

/* The comparison, stated rather than left to the eye — it is the reason both
   resolvers are queried. */
.verdict {
    margin-top: 1.4rem;
    padding: 0.85rem 1rem;
    border-radius: var(--radius);
    font-size: 0.95rem;
    border: 1px solid var(--border-solid, #182234);
}

.verdict-agree {
    border-left: 3px solid var(--ok, #2fd08a);
}

.verdict-differ {
    border-left: 3px solid var(--pending, #f0a83c);
}

.verdict span {
    color: var(--text-dim, #8e9bb0);
}

.resolvers {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.resolver {
    border: 1px solid var(--border-solid, #182234);
    border-radius: var(--radius);
    padding: 1rem;
}

.resolver-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.5rem;
}

.resolver-name {
    font-weight: 600;
}

.resolver-meta {
    font-size: 0.75rem;
    color: var(--text-faint, #5b6779);
    font-family: var(--mono, monospace);
}

.resolver-note,
.resolver-error {
    margin: 0.6rem 0 0;
    font-size: 0.85rem;
    color: var(--text-dim, #8e9bb0);
}

.resolver-error {
    color: var(--pending, #f0a83c);
}

.answers {
    margin-top: 0.8rem;
    display: grid;
    gap: 0.1rem;
}

.answer {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
    padding: 0.45rem 0;
    border-top: 1px solid var(--border-solid, #182234);
}

.answer-type {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--kodura-brand-bright, #3d92ff);
    width: 3.2rem;
    flex: none;
}

.answer-value {
    font-family: var(--mono, monospace);
    font-size: 0.9rem;
    overflow-wrap: anywhere;
    flex: 1;
}

.answer-ttl {
    font-size: 0.72rem;
    color: var(--text-faint, #5b6779);
    flex: none;
}
