﻿.ex-hero {
    padding: 64px 0 24px;
}

    .ex-hero h1 {
        font-size: clamp(28px, 4vw, 44px);
        margin: 0 0 12px;
    }

    .ex-hero .ex-eyebrow {
        text-transform: uppercase;
        letter-spacing: .12em;
        font-size: 12px;
        color: #6b7280;
        margin: 0 0 12px;
    }

    .ex-hero .ex-lede {
        color: #4b5563;
        max-width: 720px;
        margin: 0 0 24px;
    }

.ex-form {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    max-width: 640px;
}

    .ex-form input[type="tel"] {
        flex: 1 1 280px;
        min-width: 220px;
        padding: 12px 14px;
        font-size: 16px;
        border: 1px solid #d1d5db;
        border-radius: 8px;
        background: #fff;
        outline: none;
    }

        .ex-form input[type="tel"]:focus {
            border-color: #2563eb;
            box-shadow: 0 0 0 3px rgba(37,99,235,.15);
        }

    .ex-form select {
        padding: 12px 12px;
        font-size: 16px;
        border: 1px solid #d1d5db;
        border-radius: 8px;
        background: #fff;
    }

    .ex-form button {
        padding: 12px 22px;
        font-size: 16px;
        font-weight: 600;
        border: 0;
        border-radius: 8px;
        cursor: pointer;
        background: #111827;
        color: #fff;
    }

        .ex-form button:hover {
            background: #2563eb;
        }

.ex-hint {
    font-size: 12px;
    color: #6b7280;
    margin-top: 8px;
}

.ex-results {
    padding: 8px 0 64px;
}

.ex-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: minmax(260px, 380px) 1fr;
    align-items: stretch;
}

@media (max-width: 800px) {
    .ex-grid {
        grid-template-columns: 1fr;
    }
}

.ex-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 1px 2px rgba(0,0,0,.04);
}

    .ex-card h2 {
        font-size: 18px;
        margin: 0 0 12px;
    }

.ex-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px dashed #e5e7eb;
}

    .ex-row:last-child {
        border-bottom: 0;
    }

    .ex-row .k {
        color: #6b7280;
        font-size: 13px;
    }

    .ex-row .v {
        color: #111827;
        font-size: 14px;
        font-weight: 600;
        text-align: right;
    }

.ex-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}

    .ex-badge.ok {
        background: #ecfdf5;
        color: #047857;
    }

    .ex-badge.warn {
        background: #fef3c7;
        color: #92400e;
    }

    .ex-badge.err {
        background: #fee2e2;
        color: #991b1b;
    }

#ex-map {
    width: 100%;
    height: 100%;
    min-height: 380px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    padding: 15px;
    background: white;
}

.ex-empty {
    color: #6b7280;
    font-style: italic;
}

.ex-error {
    color: #991b1b;
    background: #fee2e2;
    border: 1px solid #fecaca;
    padding: 12px 14px;
    border-radius: 8px;
    margin-top: 12px;
}

.ex-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid #d1d5db;
    border-top-color: #2563eb;
    border-radius: 50%;
    animation: ex-spin .8s linear infinite;
    vertical-align: -2px;
    margin-right: 6px;
}

@keyframes ex-spin {
    to {
        transform: rotate(360deg);
    }
}

/******** text results *******/
.resultsgrid {
    display: grid;
    /* First column auto-fits the longest content; second column takes the rest */
    grid-template-columns: max-content 1fr;
    align-items: center; /*img*/
}

.resultsrow {
}

.resultsname {
    padding-right: 10px;
}

.resultsvalue {
    white-space: nowrap;
}
