/* Aléas : familles de risques et enjeux explicites, communs aux trois profils. */
.hazards-metrics-grid,.hazards-risk-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;align-items:start}
.hazard-risk-card{padding:16px;background:#fff;border:1px solid #dce5ed;border-radius:14px;min-width:0;display:grid;gap:12px;box-shadow:0 3px 14px #10284009}
.hazard-risk-heading{display:flex;align-items:center;gap:9px;margin:0;text-align:left}
.hazard-risk-heading h3{margin:0;font-size:.95rem;line-height:1.35;color:#20364b}
.hazard-risk-heading .hazard-card-icon,.hazard-submetric .hazard-card-icon{color:var(--risk-color);background:#fff;border:2px solid var(--risk-color);flex-shrink:0}
.hazard-submetric{display:flex;align-items:center;gap:8px;flex-wrap:wrap;text-align:left}
.hazard-submetric>b{font-size:1.5rem;color:#173a52;font-variant-numeric:tabular-nums;line-height:1.2}
.hazard-submetric>span:last-child{font-size:.8rem;color:#475467}
.hazard-risk-card p{font-size:.78rem;color:#475467;margin:0;line-height:1.45}
.hazard-risk-card h4,.hazards-coverage-table h4{font-size:.77rem;margin:0;color:#344054;line-height:1.35}
.hazard-risk-card button{justify-self:start;max-width:100%;white-space:normal}
.hazard-subsection{display:grid;gap:10px}
.hazard-asset-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%;margin-top:4px;white-space:normal;text-align:left}
.hazard-asset-grid>div{display:flex;flex-direction:column;gap:4px;background:#f0f5f9;border-radius:9px;padding:10px;min-width:0}
.hazard-asset-grid b{font-size:1.15rem!important;font-weight:750;color:#173a52;font-variant-numeric:tabular-nums;line-height:1.15;overflow-wrap:anywhere}
.hazard-asset-grid span{font-size:.73rem;line-height:1.3;color:#475467}
.hazards-sites-grid{grid-template-columns:1fr}
.hazards-coverage-table{width:100%;min-width:0!important;table-layout:fixed}
.hazards-coverage-table th{vertical-align:top;min-width:0!important;white-space:normal;overflow-wrap:anywhere;padding:10px 8px}
.hazards-coverage-table th:nth-child(n+4){min-width:0!important}
.hazards-coverage-table th small{display:block;font-weight:400;margin-top:4px}
.hazards-coverage-table td{vertical-align:top;padding:14px}
.hazards-coverage-table td .hazard-submetric{margin:10px 0}
.hazards-coverage-table .hazard-submetric>b{font-size:1.1rem}
.hazards-coverage-table .hazard-asset-grid b{font-size:1rem!important}
.hazards-coverage-table .hazard-asset-grid>div{padding:8px}
.hazard-exposure-cell{white-space:normal;gap:6px}
@media(max-width:1450px){.hazards-metrics-grid,.hazards-risk-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:950px){.hazards-metrics-grid,.hazards-risk-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:580px){.hazards-metrics-grid,.hazards-risk-grid{grid-template-columns:1fr}}

.hazards-page-head,.hazards-page-head>div{min-width:0}
.hazards-coverage-table th:first-child{width:15%}.hazards-coverage-table th:nth-child(2){width:10%}.hazards-coverage-table th:nth-child(3){width:15%}
.hazards-coverage-table td{white-space:normal!important;overflow-wrap:anywhere;border-bottom:2px solid #c5d3df!important;padding:12px 8px!important;text-align:left}
.hazards-coverage-table tbody tr:nth-child(even){background:#edf3f7}.hazards-coverage-table tbody tr:hover{background:#e5eef5}
.hazards-coverage-table .hazard-risk-heading{gap:5px;flex-wrap:wrap}.hazards-coverage-table .hazard-risk-heading h3{font-size:.75rem}
.hazards-coverage-table .hazard-card-icon{width:25px;height:25px;padding:3px;flex-basis:25px}.hazards-coverage-table .hazard-card-icon svg{width:18px;height:18px}
.hazards-coverage-table .hazard-asset-grid{gap:4px}.hazards-coverage-table .hazard-asset-grid>div{padding:6px 4px}.hazards-coverage-table .hazard-asset-grid b{font-size:.8rem!important}.hazards-coverage-table .hazard-asset-grid span{font-size:.67rem}
#aleas button[data-export-sites],#aleas button[data-export-indicator],#aleas button[data-export-exposure],#acContent button[data-export-sites],#acContent button[data-export-indicator],#acContent button[data-export-exposure],.hazard-risk-card button{font-size:.7rem!important;padding:4px 8px!important;min-height:0}
@media(max-width:760px){.hazards-coverage-table{min-width:750px!important}.hazards-coverage-table{table-layout:fixed}.tablewrap:has(.hazards-coverage-table){overflow-x:auto!important;max-width:100%}}

.tablewrap:has(.hazards-coverage-table){overflow-x:auto!important;max-width:100%;min-width:0}

[data-export-catnat]{font-size:.7rem!important;padding:4px 8px!important;min-height:0}

/* Tableau communal : mêmes lignes de départ pour les pictogrammes et les titres. */
.hazards-coverage-table thead th{padding:12px 10px!important;text-align:left!important;vertical-align:top!important;overflow-wrap:normal}
.hazards-coverage-table thead th:first-child{width:15%;padding-top:16px!important}
.hazards-coverage-table thead th:nth-child(2){width:12%}
.hazards-coverage-table thead th:nth-child(3){width:15%}
.hazards-coverage-table thead th:nth-child(4),.hazards-coverage-table thead th:nth-child(5){width:19%}
.hazards-coverage-table thead th:nth-child(6){width:20%}
.hazards-coverage-table thead .hazard-risk-heading{display:grid!important;grid-template-columns:28px minmax(0,1fr);align-items:start;gap:8px;min-height:44px;flex-wrap:nowrap}
.hazards-coverage-table thead .hazard-risk-heading h3{padding-top:4px;margin:0;font-size:.8rem;line-height:20px;text-align:left;overflow-wrap:normal}
.hazards-coverage-table thead .hazard-card-icon{box-sizing:border-box;width:28px;height:28px;min-width:28px;margin:0;align-self:start;display:grid;place-items:center}
.hazards-coverage-table thead th>small{margin:3px 0 0 36px;text-align:left;line-height:18px}
.hazards-coverage-table tbody td{padding:12px 10px!important;text-align:left!important;vertical-align:top!important}
.hazards-coverage-table tbody .hazard-submetric{display:grid;grid-template-columns:20px 40px minmax(0,1fr);gap:7px;align-items:center;flex-wrap:nowrap;margin:8px 0}
.hazards-coverage-table tbody .hazard-submetric>.hazard-card-icon{width:20px;height:20px;box-sizing:border-box;padding:2px}
.hazards-coverage-table tbody .hazard-submetric>.hazard-card-icon svg{width:14px;height:14px}
.hazards-coverage-table tbody .hazard-submetric>b{font-size:.95rem;text-align:right;white-space:nowrap}
.hazards-coverage-table tbody .hazard-submetric>span:last-child{text-align:left}
.hazards-coverage-table .hazard-exposure-cell{display:grid;align-content:start;text-align:left}
@media(max-width:1000px){.hazards-coverage-table{min-width:1000px!important}}
