/* DNS propagation checker. Builds on subnet/tool.css for .calc, .lede,
   .examples and .tool-prose. Self-contained beyond that, so the resolver grid
   can change here without touching the DNS lookup page. */

.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 verdict carries the explanation, which is the reason this page exists —
   so it is given room rather than reduced to a coloured word. */
.verdict {
    margin-top: 1.4rem;
    padding: 1rem 1.1rem;
    border-radius: var(--radius);
    border: 1px solid var(--border-solid, #182234);
    border-left-width: 3px;
    border-left-style: solid;
}

.verdict-agree { border-left-color: var(--ok, #2fd08a); }
.verdict-differ { border-left-color: var(--pending, #f0a83c); }
.verdict-unknown { border-left-color: var(--text-faint, #5b6779); }

.verdict-headline {
    display: block;
    font-size: 1rem;
}

.verdict-detail {
    margin: 0.5rem 0 0;
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--text-dim, #8e9bb0);
}

.results-caption {
    margin: 1.3rem 0 0;
    font-size: 0.85rem;
    color: var(--text-faint, #5b6779);
}

.resolvers {
    display: grid;
    gap: 1rem;
    margin-top: 0.7rem;
    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-address {
    margin: 0.2rem 0 0;
    font-size: 0.72rem;
    color: var(--text-faint, #5b6779);
    font-family: var(--mono, monospace);
}

.resolver-verdict {
    margin: 0.8rem 0 0;
    font-size: 0.95rem;
    font-weight: 600;
}

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

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

/* The TTL is the number the page is arguing about, so it is set apart from the
   prose around it rather than buried in a sentence. */
.resolver-ttl {
    border-top: 1px solid var(--border-solid, #182234);
    padding-top: 0.6rem;
    font-size: 0.8rem;
    color: var(--text-faint, #5b6779);
}

.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);
    font-family: var(--mono, monospace);
    flex: none;
}

/* What was and was not asked, on every result rather than only in the prose. */
.results-scope {
    margin: 1rem 0 0;
    font-size: 0.8rem;
    line-height: 1.6;
    color: var(--text-faint, #5b6779);
}
