/* v4.9.44 – dashboard cantonal ; portée exclusivement aux pages cantonales. */
body .dgv2-region-modern-v4943{padding-top:0!important;margin-top:0!important}
body .dgv2-region-modern-v4943 .dgv2-region-hero-v4943{padding-top:0!important;margin-top:0!important}
body .dgv2-region-modern-v4943 .region-hero-grid-v100{padding-top:9px!important;padding-bottom:15px!important}
body .dgv2-region-modern-v4943 .profession-breadcrumb{margin-top:0!important}
body .dgv2-region-modern-v4943 .dgv2-region-kpis-v4943{min-width:0}
body .dgv2-region-modern-v4943 .dgv2-region-kpis-v4943 .dgv2-canton-number-v4940{min-width:0;overflow:hidden;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:6px;padding:16px 17px!important}
body .dgv2-region-modern-v4943 .dgv2-region-kpis-v4943 .dgv2-canton-number-v4940 span{font-size:13px!important;line-height:1.4;font-weight:700;color:#555}
body .dgv2-region-modern-v4943 .dgv2-region-kpis-v4943 .dgv2-canton-number-v4940 strong{display:block;position:static!important;width:100%;min-width:0;max-width:100%;font-size:clamp(20px,2.45vw,32px)!important;line-height:1.16!important;white-space:nowrap!important;letter-spacing:-.045em;word-break:normal!important;overflow-wrap:normal!important;margin:1px 0;color:#c20b0b}
body .dgv2-region-modern-v4943 .dgv2-region-kpis-v4943 .dgv2-canton-number-v4940 small{display:block;font-size:11px!important;line-height:1.35;color:#74787d;white-space:normal}
body .dgv2-region-modern-v4943 .dgv2-region-bottom-v4944{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center;max-width:1040px;margin:12px auto 39px;padding:20px 18px!important;background:linear-gradient(160deg,#fff,#fffafa);box-shadow:0 10px 27px rgba(26,25,25,.04)}
body .dgv2-region-modern-v4943 .dgv2-region-bottom-v4944 p{font-size:clamp(18px,2.4vw,23px);line-height:1.3;margin:0 0 4px;font-weight:850}
body .dgv2-region-modern-v4943 .dgv2-region-bottom-v4944 .btn{display:inline-flex!important;align-items:center;justify-content:center;gap:10px;width:auto!important;max-width:100%;min-height:49px!important;height:auto!important;font-size:14px!important;line-height:1.35!important;padding:12px 21px!important;border-radius:12px!important;white-space:normal!important;text-align:center;box-shadow:0 6px 16px rgba(210,0,0,.13)}
body .dgv2-region-modern-v4943 .dgv2-region-bottom-v4944 .btn span{font-size:18px;line-height:1}
body .dgv2-region-modern-v4943 .dgv2-region-bottom-v4944 small{color:#777;font-size:12px;font-weight:550;line-height:1.3}
.dgv2-region-modern-v4943 .dgv2-c44-more-stats{margin-top:16px;min-width:0}
.dgv2-c44-more-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:11px}
.dgv2-c44-more-head h3{font-size:clamp(18px,2.4vw,23px);line-height:1.2;margin:0;font-weight:850;color:#1f2024}
.dgv2-c44-more-head p{margin:0;color:#757b81;font-size:12px;line-height:1.4}
.dgv2-c44-mini-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}
.dgv2-c44-mini-card{min-width:0;border:1px solid #e3e5e7;border-radius:16px;background:#fff;padding:16px;box-shadow:0 4px 14px rgba(0,0,0,.026);display:flex;flex-direction:column;align-items:flex-start;gap:7px;overflow:hidden}
.dgv2-c44-mini-card>span{font-size:13px;font-weight:700;color:#50545b;line-height:1.35}
.dgv2-c44-mini-card>strong{width:100%;font-variant-numeric:tabular-nums;font-size:clamp(22px,2.45vw,29px);font-weight:850;letter-spacing:-.04em;white-space:nowrap;line-height:1.15;color:#b60909}
.dgv2-c44-mini-card>small{font-size:10.5px;line-height:1.3;color:#777d81}
.dgv2-c44-mini-card>a{font-size:11px;line-height:1.3;color:#9f0909;text-underline-offset:2px;margin-top:auto}
.dgv2-c44-meter{height:6px;width:100%;background:#f2f2f2;border-radius:999px;overflow:hidden}
.dgv2-c44-meter>i{display:block;height:100%;background:linear-gradient(90deg,#f29292,#c70e0e);border-radius:999px}
.dgv2-c44-definition{font-size:11px;color:#757a80;line-height:1.5;margin:9px 2px 0}
@media(max-width:800px){.dgv2-c44-mini-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dgv2-c44-more-head{display:block}.dgv2-c44-more-head p{margin-top:5px}}
@media(max-width:680px){
 body .dgv2-region-modern-v4943 .region-hero-grid-v100{padding-top:3px!important;padding-bottom:10px!important}
 body .dgv2-region-modern-v4943 .region-hero-grid-v100 h1{margin:5px 0 10px}
 body .dgv2-region-modern-v4943 .dgv2-region-kpis-v4943{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 body .dgv2-region-modern-v4943 .dgv2-region-kpis-v4943 .dgv2-canton-number-v4940{padding:14px 13px!important;min-height:115px}
 body .dgv2-region-modern-v4943 .dgv2-region-kpis-v4943 .dgv2-canton-number-v4940 strong{font-size:clamp(19px,5vw,27px)!important;letter-spacing:-.05em}
 body .dgv2-region-modern-v4943 .dgv2-region-kpis-v4943 .dgv2-canton-number-v4940:last-child{display:flex;grid-column:1/-1;min-height:92px;flex-direction:column;align-items:flex-start}
 body .dgv2-region-modern-v4943 .dgv2-region-kpis-v4943 .dgv2-canton-number-v4940:last-child strong{grid-column:auto!important;grid-row:auto!important;text-align:left!important}
 body .dgv2-region-modern-v4943 .dgv2-region-bottom-v4944{margin:8px 20px 32px;padding:17px 12px!important}
 body .dgv2-region-modern-v4943 .dgv2-region-bottom-v4944 .btn{width:100%!important;font-size:13px!important;min-height:48px!important;padding:11px 12px!important}
 .dgv2-c44-mini-grid{gap:9px}
 .dgv2-c44-mini-card{padding:12px;gap:5px;border-radius:14px}
 .dgv2-c44-mini-card>strong{font-size:clamp(20px,5.5vw,26px)}
 .dgv2-c44-mini-card>span{font-size:12px}
 .dgv2-c44-mini-card>a{font-size:10.5px}
}
@media(max-width:350px){.dgv2-c44-mini-grid{grid-template-columns:1fr}}

/* v4.9.46 — grille unique des données cantonales officielles / DG. */
body .dgv2-region-modern-v4943 .dgv2-region-kpis-v4943{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px;align-items:stretch}
body .dgv2-region-modern-v4943 .dgv2-region-kpis-v4943 .dgv2-canton-number-v4940{grid-column:auto!important;grid-row:auto!important;min-height:124px;height:auto!important;border-radius:17px!important;padding:17px!important;box-sizing:border-box;overflow:hidden;display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;gap:7px;text-align:left}
body .dgv2-region-modern-v4943 .dgv2-region-kpis-v4943 .dgv2-canton-number-v4940 strong{font-size:clamp(21px,2.35vw,30px)!important;width:100%;font-variant-numeric:tabular-nums;overflow-wrap:normal;white-space:nowrap;position:static!important}
body .dgv2-region-modern-v4943 .dgv2-region-kpis-v4943 .dgv2-canton-number-v4940 small{font-size:11px!important;line-height:1.4}
.dgv2-c46-stat-link{font-size:11px;color:#b00b0b;text-decoration:underline;text-underline-offset:3px;margin-top:auto}
.dgv2-c46-aides{color:inherit;text-decoration:none;transition:box-shadow .15s ease,border-color .15s ease}
.dgv2-c46-aides:hover,.dgv2-c46-aides:focus-visible{border-color:#ba1010!important;box-shadow:0 0 0 2px rgba(205,0,0,.07)!important}
.dgv2-c46-aides strong{font-size:25px!important;color:#ba1010}
.dgv2-c46-definitions{font-size:11px;line-height:1.5;color:#767d82;margin:12px 0 18px}
body .dgv2-region-modern-v4943 .dgv2-region-kpis-v4943 .dgv2-c46-stat-card .dgv2-c44-meter{flex-shrink:0;width:100%;margin-top:4px}
@media(max-width:800px){body .dgv2-region-modern-v4943 .dgv2-region-kpis-v4943{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:680px){
 body .dgv2-region-modern-v4943 .dgv2-region-kpis-v4943{gap:9px!important}
 body .dgv2-region-modern-v4943 .dgv2-region-kpis-v4943 .dgv2-canton-number-v4940{grid-column:auto!important;min-height:120px!important;padding:13px!important}
 body .dgv2-region-modern-v4943 .dgv2-region-kpis-v4943 .dgv2-canton-number-v4940:last-child{grid-column:auto!important;min-height:120px;display:flex;align-items:flex-start}
 body .dgv2-region-modern-v4943 .dgv2-region-kpis-v4943 .dgv2-canton-number-v4940 strong{font-size:clamp(20px,5vw,27px)!important}
 .dgv2-c46-stat-link{font-size:10px}
}

/* 4.9.48 — longues valeurs d'investissement sur une seule carte, sans affecter les premières. */
@media(max-width:650px){body .dgv2-region-modern-v4943 .dgv2-region-kpis-v4943 .dgv2-c46-stat-card strong{font-size:clamp(17px,4.4vw,24px)!important;white-space:normal!important;overflow-wrap:anywhere!important;line-height:1.2!important}}

/* 4.9.50 — provenance vérifiable, détails historiques discrets */
.dgv2-c50-stat-origin{font-size:9px!important;letter-spacing:.015em;line-height:1.25;color:#636d73;background:#f2f4f6;border-radius:999px;padding:4px 7px;width:auto!important;max-width:100%}
.dgv2-c50-stat-origin.dgv2-c50-internal{background:#fff0f0;color:#a00d0d}
.dgv2-c50-detail{width:100%;margin-top:auto;padding:5px 0;border-top:1px solid #eee;min-width:0}
.dgv2-c50-detail summary{cursor:pointer;font-size:11px;color:#414950}
.dgv2-c50-detail svg{width:100%;height:47px;display:block;overflow:visible;margin-top:3px}
.dgv2-c50-detail small{font-size:9px!important;color:#777;line-height:1.35;display:block}
@media(max-width:680px){.dgv2-c50-stat-origin{font-size:8px!important;padding:3px 5px}.dgv2-c50-detail summary{font-size:10px}}

/* 4.9.51 — pages cantonales : repères simples et alignement homogène. */
body .dgv2-region-modern-v4943 .dgv2-region-hero-v4943 .profession-actions{display:none!important}
body .dgv2-region-modern-v4943 .dgv2-region-kpis-v4943 .dgv2-c46-aides{grid-column:1 / -1!important;display:flex!important;flex-direction:column!important;min-height:115px!important;align-items:flex-start!important}
body .dgv2-region-modern-v4943 .dgv2-region-kpis-v4943 .dgv2-c46-aides strong{width:auto!important}
body .dgv2-region-modern-v4943 .dgv2-region-bottom-v4944{width:calc(100% - 36px)!important;max-width:900px!important;box-sizing:border-box!important;display:flex!important;justify-content:center!important;align-items:center!important;text-align:center!important;margin:20px auto 35px!important}
body .dgv2-region-modern-v4943 .dgv2-region-bottom-v4944 > *{text-align:center!important}
body .dgv2-region-modern-v4943 .dgv2-region-bottom-v4944 .btn{margin-left:auto!important;margin-right:auto!important}
.dgv2-c51-geo-counts{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.dgv2-c51-geo-counts .dgv2-region-count-v4943{white-space:nowrap;display:inline-flex!important;align-items:center;justify-content:center}
@media(max-width:680px){body .dgv2-region-modern-v4943 .dgv2-region-kpis-v4943 .dgv2-c46-aides{grid-column:1 / -1!important;min-height:105px!important}body .dgv2-region-modern-v4943 .dgv2-region-bottom-v4944{padding:20px 14px!important;width:calc(100% - 28px)!important}.dgv2-c51-geo-counts{margin-top:9px}}
/* La règle mobile historique :last-child doit aussi céder devant la vignette complète. */
body .dgv2-region-modern-v4943 .dgv2-region-kpis-v4943 .dgv2-canton-number-v4940.dgv2-c46-aides:last-child{grid-column:1 / -1!important;grid-row:auto!important;width:100%!important;min-height:110px!important}

/* 4.9.52 — précision, accessibilité et comparateur mobile. */
.dgv2-region-modern-v4943 .dgv2-c52-age-warning{font-style:normal;display:inline-block;font-size:10px;line-height:1.3;font-weight:700;color:#90420b;background:#fff1d8;border-radius:8px;padding:4px 7px;margin-top:3px;white-space:normal}
.dgv2-region-modern-v4943 .dgv2-c52-chart-values{margin-top:10px;border-top:1px solid #e7e7e7;padding-top:8px;font-size:12px;max-width:100%}
.dgv2-region-modern-v4943 .dgv2-c52-chart-values summary{font-weight:700;cursor:pointer;color:#454950}
.dgv2-region-modern-v4943 .dgv2-c52-chart-values table,.dgv2-region-modern-v4943 .dgv2-c52-spark-values{border-collapse:collapse;width:100%;margin:7px 0 5px;font-size:11px;table-layout:fixed}
.dgv2-region-modern-v4943 .dgv2-c52-chart-values caption,.dgv2-region-modern-v4943 .dgv2-c52-spark-values caption{text-align:left;font-size:10px;margin:5px 0;color:#59616a}
.dgv2-region-modern-v4943 .dgv2-c52-chart-values th,.dgv2-region-modern-v4943 .dgv2-c52-chart-values td,.dgv2-region-modern-v4943 .dgv2-c52-spark-values th,.dgv2-region-modern-v4943 .dgv2-c52-spark-values td{padding:4px 5px;text-align:left;border-bottom:1px solid #eee;overflow-wrap:anywhere}
.dgv2-region-modern-v4943 .dgv2-c52-chart-values p{font-size:10px;color:#6d737a}
.dgv2-region-modern-v4943 .dgv2-c50-detail .dgv2-c52-spark-values{font-size:10px;max-width:100%}
.dgv2-region-modern-v4943 .dgv2-compare-table-v4942{table-layout:fixed;width:100%;max-width:100%;border-collapse:collapse}
.dgv2-region-modern-v4943 .dgv2-compare-table-v4942 th,.dgv2-region-modern-v4943 .dgv2-compare-table-v4942 td{overflow-wrap:anywhere;hyphens:auto;white-space:normal;line-height:1.35}
.dgv2-region-modern-v4943 .dgv2-compare-table-v4942 th:first-child,.dgv2-region-modern-v4943 .dgv2-compare-table-v4942 td:first-child{width:41%}
@media(max-width:550px){.dgv2-region-modern-v4943 .dgv2-compare-table-v4942 th,.dgv2-region-modern-v4943 .dgv2-compare-table-v4942 td{font-size:10px!important;padding:8px 4px!important}.dgv2-region-modern-v4943 .dgv2-compare-controls-v4942 select{max-width:100%!important;min-width:0!important}.dgv2-region-modern-v4943 .dgv2-c52-chart-values td{word-break:normal}}

/* v4.9.54 — avertissement discret si l'ancien catalogue est conservé. */
.dgv2-geo-provisional-v4954{margin:0 0 20px;padding:13px 18px;border:1px solid #efdab0;border-radius:10px;background:#fff9eb;color:#664b17;line-height:1.5;font-size:14px}
