/* ════════════════════════════════════════════
   Analyseur de maillage interne, styles scopés (.aml)
   Réutilise au maximum les composants globaux (kpi-card, site-card-static,
   table, status-msg). N'ajoute que le strict nécessaire.
   ════════════════════════════════════════════ */

.aml .aml-table {
    width: 100%;
    font-size: 14px;
    border-collapse: collapse;
}

.aml .aml-table thead th {
    background: rgb(241, 245, 249);
    color: rgb(15, 23, 42);
    font-weight: 600;
    text-align: left;
    padding: 0.5rem 0.75rem;
    white-space: nowrap;
    cursor: default;
}

.aml .aml-table tbody td {
    padding: 0.5rem 0.75rem;
    border-top: 1px solid rgb(226, 232, 240);
    vertical-align: top;
}

.aml .aml-table tbody tr:nth-child(even) {
    background: rgba(102, 178, 178, 0.04);
}

.aml .aml-url {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 13px;
    word-break: break-all;
}

.aml .aml-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.1rem 0.45rem;
    border-radius: 4px;
    margin-right: 0.25rem;
}

.aml .aml-badge-orphelin {
    background: var(--brand-gold-light);
    color: #8a5a00;
}

.aml .aml-badge-impasse {
    background: #fde8e8;
    color: #a12020;
}

.aml .aml-badge-profond {
    background: var(--brand-teal-light);
    color: var(--brand-dark);
}

.aml .aml-barre-pr {
    height: 6px;
    border-radius: 3px;
    background: var(--brand-teal);
    min-width: 2px;
}

.aml .aml-sous-titre {
    font-weight: 700;
    color: var(--brand-dark);
    font-size: 1.1rem;
    margin: 1.75rem 0 0.75rem;
}

.aml .status-msg {
    padding: 0.75rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
}

.aml .status-msg.status-info { background: var(--brand-teal-light); color: var(--brand-dark); }
.aml .status-msg.status-error { background: #fde8e8; color: #a12020; }
.aml .status-msg.status-warn { background: var(--brand-gold-light); color: #8a5a00; }
.aml .status-msg.status-success { background: #e6f4ea; color: #197245; }
