.neighborhood-intelligence-dialog {
    border-radius: 18px;
    overflow: hidden;
}

.neighborhood-intelligence-body {
    padding: 18px !important;
    overflow: auto;
    background: #f8fafc !important;
    color: #0f172a;
}

.neighborhood-intelligence {
    display: grid;
    gap: 14px;
}

.lot-dossier-launcher {
    flex-wrap: wrap;
    gap: 8px;
}

.commerce-verification-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    border: 1px solid #dbe3ee;
    border-radius: 11px;
    padding: 11px 12px;
    background: #fff;
}

.commerce-verification-action > div:first-child {
    display: grid;
    gap: 3px;
}

.commerce-verification-action b {
    color: #0f172a;
    font-size: 12px;
}

.commerce-verification-action span {
    color: #64748b;
    font-size: 10px;
}

.commerce-verification-action button,
.cv-search-form button,
.cv-result-actions button,
.cv-result-actions a {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px solid #1d4ed8;
    border-radius: 8px;
    padding: 7px 10px;
    background: #1d4ed8;
    color: #fff;
    font: inherit;
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

.commerce-verification-action button:hover,
.cv-search-form button:hover,
.cv-result-actions button:hover,
.cv-result-actions a:hover {
    border-color: #1e40af;
    background: #1e40af;
}

.commerce-verification-dialog {
    border-radius: 18px;
    overflow: hidden;
}

.commerce-verification-body {
    padding: 18px !important;
    overflow: auto;
    background: #f8fafc !important;
    color: #0f172a;
}

.commerce-verification {
    display: grid;
    gap: 12px;
}

.cv-intro,
.cv-notice,
.cv-result-meta,
.cv-score-note {
    margin: 0;
    font-size: 12px;
    line-height: 1.5;
}

.cv-intro {
    color: #334155;
}

.cv-intro strong {
    color: #0f172a;
}

.cv-notice {
    border: 1px solid #bfdbfe;
    border-radius: 10px;
    padding: 10px 12px;
    background: #eff6ff;
    color: #1e3a8a;
}

.cv-search-form {
    display: grid;
    gap: 6px;
    color: #334155;
    font-size: 11px;
    font-weight: 800;
}

.cv-search-form > div {
    display: flex;
    gap: 8px;
}

.cv-search-form input {
    min-width: 0;
    flex: 1 1 auto;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 9px 10px;
    background: #fff;
    color: #0f172a;
    font: inherit;
    font-weight: 500;
}

.cv-search-form button:disabled {
    cursor: wait;
    opacity: .65;
}

.cv-results {
    display: grid;
    max-height: min(48vh, 500px);
    gap: 9px;
    overflow: auto;
    padding: 1px 4px 1px 1px;
}

.cv-result-card {
    display: grid;
    gap: 8px;
    border: 1px solid #dbe3ee;
    border-radius: 11px;
    padding: 11px;
    background: #fff;
    box-shadow: 0 3px 12px rgb(15 23 42 / 5%);
}

.cv-result-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.cv-result-heading h3,
.cv-result-heading p {
    margin: 0;
}

.cv-result-heading h3 {
    color: #0f172a;
    font-size: 13px;
}

.cv-result-heading p,
.cv-result-meta,
.cv-score-note {
    margin-top: 4px;
    color: #64748b;
    font-size: 10px;
}

.cv-result-meta > span {
    color: #94a3b8;
}

.cv-score {
    flex: 0 0 auto;
    border-radius: 999px;
    padding: 5px 7px;
    font-size: 9px;
    font-weight: 800;
    white-space: nowrap;
}

.cv-score.is-good { background: #dcfce7; color: #166534; }
.cv-score.is-review { background: #fef9c3; color: #a16207; }
.cv-score.is-low { background: #fee2e2; color: #b91c1c; }

.cv-score-note {
    margin: 0;
}

.cv-result-actions {
    display: flex;
    justify-content: flex-end;
    gap: 7px;
}

.cv-result-actions button {
    border-color: #cbd5e1;
    background: #fff;
    color: #334155;
}

.cv-empty,
.cv-loading {
    border: 1px dashed #cbd5e1;
    border-radius: 10px;
    padding: 18px 14px;
    background: #fff;
    color: #64748b;
    font-size: 11px;
    line-height: 1.5;
    text-align: center;
}

.cv-loading {
    border-style: solid;
    color: #1d4ed8;
}

.cv-empty.is-error {
    border-color: #fecaca;
    background: #fef2f2;
    color: #991b1b;
}

.cv-attribution {
    display: flex;
    align-items: center;
    gap: 9px;
    border-top: 1px solid #e2e8f0;
    padding-top: 9px;
    color: #64748b;
    font-size: 10px;
}

.cv-attribution img {
    display: block;
    width: 90px;
    height: auto;
}

@media (max-width: 620px) {
    .commerce-verification-action {
        align-items: flex-start;
        flex-direction: column;
    }

    .cv-search-form > div,
    .cv-result-heading {
        flex-direction: column;
    }

    .cv-search-form button,
    .cv-result-actions > * {
        flex: 1 1 auto;
    }

    .cv-score {
        white-space: normal;
    }
}

.ni-intro,
.ni-notice {
    margin: 0;
    color: #334155;
    font-size: 13px;
    line-height: 1.5;
}

.ni-intro strong {
    color: #0f172a;
}

.ni-notice {
    padding: 10px 12px;
    border: 1px solid #bfdbfe;
    border-radius: 10px;
    background: #eff6ff;
    color: #1e3a8a;
}

.ni-controls {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.ni-categories {
    display: flex;
    flex: 1 1 auto;
    flex-wrap: wrap;
    gap: 7px;
}

.ni-category,
.ni-secondary,
.ni-primary,
.ni-link {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px solid #cbd5e1;
    border-radius: 9px;
    padding: 8px 10px;
    background: #fff;
    color: #1e293b;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.ni-category:hover,
.ni-secondary:hover,
.ni-link:hover {
    border-color: #60a5fa;
    background: #eff6ff;
}

.ni-category[aria-pressed="true"] {
    border-color: #1d4ed8;
    background: #1d4ed8;
    color: #fff;
}

.ni-category:disabled {
    cursor: wait;
    opacity: .55;
}

.ni-radius {
    display: grid;
    flex: 0 0 auto;
    gap: 5px;
    color: #475569;
    font-size: 11px;
    font-weight: 800;
}

.ni-radius select {
    min-height: 38px;
    border: 1px solid #cbd5e1;
    border-radius: 9px;
    padding: 7px 9px;
    background: #fff;
    color: #0f172a;
    font: inherit;
}

.ni-map-actions,
.ni-place-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.ni-primary {
    border-color: #1d4ed8;
    background: #1d4ed8;
    color: #fff;
}

.ni-primary:hover {
    border-color: #1e40af;
    background: #1e40af;
}

.ni-link {
    color: #1d4ed8;
}

.ni-results {
    display: grid;
    max-height: min(46vh, 480px);
    gap: 9px;
    overflow: auto;
    padding: 1px 4px 1px 1px;
}

.ni-empty,
.ni-loading {
    border: 1px dashed #cbd5e1;
    border-radius: 11px;
    padding: 22px 16px;
    background: #fff;
    color: #64748b;
    font-size: 12px;
    line-height: 1.5;
    text-align: center;
}

.ni-loading {
    border-style: solid;
    color: #1d4ed8;
}

.ni-empty-warning {
    border-color: #fcd34d;
    background: #fffbeb;
    color: #92400e;
}

.ni-empty-error {
    border-color: #fecaca;
    background: #fef2f2;
    color: #991b1b;
}

.ni-place-card {
    display: grid;
    gap: 9px;
    border: 1px solid #dbe3ee;
    border-radius: 12px;
    padding: 12px;
    background: #fff;
    box-shadow: 0 3px 12px rgb(15 23 42 / 5%);
}

.ni-place-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.ni-place-heading h3,
.ni-place-heading p,
.ni-place-meta {
    margin: 0;
}

.ni-place-heading h3 {
    color: #0f172a;
    font-size: 14px;
}

.ni-place-heading p,
.ni-place-meta {
    margin-top: 4px;
    color: #64748b;
    font-size: 11px;
    line-height: 1.45;
}

.ni-place-meta .fa-star {
    color: #d97706;
}

.ni-place-meta > span {
    color: #94a3b8;
}

.ni-distance {
    flex: 0 0 auto;
    border-radius: 999px;
    padding: 5px 8px;
    background: #dbeafe;
    color: #1e40af;
    font-size: 10px;
    font-weight: 800;
    white-space: nowrap;
}

.ni-place-actions {
    justify-content: flex-end;
}

.ni-attribution {
    display: flex;
    align-items: center;
    gap: 9px;
    border-top: 1px solid #e2e8f0;
    padding-top: 10px;
    color: #64748b;
    font-size: 10px;
}

.ni-attribution img {
    display: block;
    width: 90px;
    height: auto;
}

@media (max-width: 620px) {
    .neighborhood-intelligence-body {
        padding: 14px !important;
    }

    .ni-controls {
        flex-direction: column;
    }

    .ni-radius {
        display: flex;
        align-items: center;
    }

    .ni-place-heading {
        flex-direction: column;
    }

    .ni-place-actions > * {
        flex: 1 1 auto;
    }
}
