@font-face{font-family:"Inter Display";src:url('/assets/InterVariable.woff2') format('woff2');font-weight:100 900;font-display:swap}
:root{--navy:#08183f;--blue:#173a55;--coral:#d84b50;--pale:#edf4fa;--muted:#637184;--line:#dde5ed;--bg:#f7f9fc;--white:#fff}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--navy);font-family:"Inter Display",Inter,Arial,sans-serif;font-optical-sizing:none;font-variation-settings:"opsz" 32;font-synthesis:none;font-size:14px;line-height:1.5}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:wait;opacity:.5}a{color:var(--blue);text-underline-offset:3px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,[tabindex]:focus-visible{outline:3px solid var(--coral);outline-offset:3px}button{color:var(--navy)}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip{position:absolute;left:12px;top:-100px;z-index:100;background:white;padding:12px}.skip:focus{top:12px}
.masthead{height:104px;background:white;display:flex;justify-content:space-between;align-items:center;padding:8px 34px;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center}.brand img{display:block;width:270px;height:92px;object-fit:contain}.masthead-right{display:flex;align-items:center;gap:30px;font-size:12px}.masthead-right a{text-decoration:none;font-weight:650}.edition{color:var(--muted)}.nav{background:white;display:flex;gap:30px;padding:0 34px;border-bottom:1px solid var(--line)}.nav button{background:transparent;border:0;border-bottom:3px solid transparent;padding:18px 0 15px;color:var(--muted);font-weight:600;font-size:13px}.nav button:hover{color:var(--navy)}.nav button.active{color:var(--navy);border-color:var(--coral)}
.workspace{display:grid;grid-template-columns:252px minmax(0,1fr);max-width:1920px;margin:auto}.sidebar{background:white;border-right:1px solid var(--line);padding:25px 22px;min-height:calc(100vh - 160px)}.aside-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:23px;gap:8px}.eyebrow{font-weight:700;font-size:10px;letter-spacing:.13em;color:var(--muted)}.text-button{border:0;padding:0;background:none;font-size:10px;color:var(--blue);text-decoration:underline;text-underline-offset:3px}.sidebar>label{display:block;font-size:12px;font-weight:600;margin:21px 0 8px}select,input[type=search]{width:100%;height:39px;border:1px solid var(--line);border-radius:7px;background:white;color:var(--navy);padding:0 10px;min-width:0}select{font-size:12px}.years{display:grid;grid-template-columns:1fr 14px 1fr;align-items:center;gap:7px}.years>span{color:var(--muted);text-align:center}.segmented{display:flex;padding:3px;background:var(--pale);border-radius:8px;gap:2px}.segmented button{background:transparent;border:0;border-radius:5px;padding:7px 13px;flex:1;font-weight:600;font-size:12px;white-space:nowrap}.segmented button.active{background:var(--blue);color:white}.hint{color:var(--muted);font-size:11px;line-height:1.6;margin:7px 0}.inflation-box{margin-top:23px;padding:14px;background:var(--pale);border-radius:10px}.switch-label{display:flex;gap:9px;font-size:12px;font-weight:650;align-items:center;cursor:pointer;margin-bottom:10px}input[type=checkbox]{accent-color:var(--blue);width:17px;height:17px}.small{font-size:11px;color:var(--muted);display:block;margin-bottom:4px}.inflation-box select{background:rgba(255,255,255,.75)}.aside-section{border-top:1px solid var(--line);margin-top:25px;padding-top:19px}.aside-section h2{font-size:12px;margin:0;font-weight:650}.aside-section h2 span{background:var(--pale);border-radius:15px;padding:1px 6px;font-size:10px;margin-left:5px}.full{width:100%;margin-top:10px}.exclude-chip{font-size:11px;background:#fceeee;border:1px solid #f0d4d6;border-radius:6px;margin-top:8px;display:flex;align-items:center;padding:7px 8px;gap:5px;overflow-wrap:anywhere}.exclude-chip button{margin-left:auto;border:0;background:none;font-size:18px;flex-shrink:0}.saved-row{display:flex;gap:4px;margin-top:9px}.saved-row button:first-child{text-align:left;flex:1;border:0;background:var(--pale);padding:8px;border-radius:6px;font-size:11px}.saved-row button:last-child{background:none;border:0;color:var(--muted)}.diagnostic{display:block;margin-top:28px;font-size:11px;color:var(--muted);text-decoration:none}
main{padding:31px 32px 18px;min-width:0}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}h1{font-size:28px;letter-spacing:-.035em;line-height:1.25;font-weight:650;margin:7px 0 8px}.page-heading p{color:var(--muted);font-size:12px;margin:0}.primary,.secondary{border:1px solid var(--blue);border-radius:7px;padding:10px 14px;font-size:12px;font-weight:600;white-space:nowrap}.primary{background:var(--blue);color:white}.secondary{background:white;color:var(--blue);border-color:var(--line)}.primary:hover{background:var(--navy)}.secondary:hover{background:var(--pale)}.breadcrumbs{display:flex;flex-wrap:wrap;gap:7px;align-items:center;font-size:11px;margin-bottom:10px}.breadcrumbs button{background:none;border:0;padding:0;color:var(--muted);font-size:inherit;text-align:left}.breadcrumbs button:hover{text-decoration:underline}.scope-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:19px}.scope-heading h2{font-size:18px;font-weight:650;line-height:1.4;margin:0;letter-spacing:-.015em}.pill{display:inline-block;border:1px solid var(--line);background:white;color:var(--muted);font-size:10px;border-radius:20px;padding:5px 10px;white-space:nowrap}.notice{background:#fff7e9;border:1px solid #ecdcbf;color:#664e26;border-radius:9px;font-size:12px;padding:14px 17px;margin-bottom:20px}.notice p{margin:5px 0 0}.notice.error{background:#fff0f1;color:#943b3e;border-color:#edcdd0}.loading{padding:15px;color:var(--muted);font-size:12px}.summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:20px}.metric{background:white;border:1px solid var(--line);border-radius:11px;padding:17px 18px}.metric>span{font-size:11px;color:var(--muted);display:block}.metric>strong{display:block;font-size:24px;letter-spacing:-.045em;font-weight:650;margin:7px 0 3px;white-space:nowrap}.metric small{font-size:10px;color:var(--muted)}.metric.accent{background:var(--blue);color:white;border-color:var(--blue)}.metric.accent>span,.metric.accent small{color:#dce6ef}
.panel{background:white;border:1px solid var(--line);border-radius:12px;margin-bottom:20px;overflow:hidden}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:21px 22px 14px}.panel-heading h2,.methodology h2{font-size:14px;letter-spacing:-.015em;margin:0;font-weight:650}.panel-heading .hint{margin-bottom:0}.legend{display:flex;gap:18px;font-size:10px;white-space:nowrap}.legend span:before{content:"";display:inline-block;width:8px;height:8px;border-radius:2px;margin-right:6px;background:#b2c6d5}.legend .lfi:before{background:var(--blue)}.legend .exec:before{background:var(--coral)}#chart{height:224px;padding:0 15px 12px}#chart svg{width:100%;height:100%;overflow:visible}#chart text{font-family:inherit;font-size:11px;fill:var(--muted)}#chart .grid{stroke:var(--line);stroke-width:1}.chart-empty{height:100%;display:flex;align-items:center;justify-content:center;color:var(--muted);font-size:12px}.table-panel .panel-heading{padding-bottom:12px}.search{max-width:250px;min-width:160px;width:100%;display:block}.search input{font-size:12px;background:var(--bg)}.table-options{display:flex;align-items:center;gap:12px;padding:0 22px 17px}.table-options .segmented{width:max-content}.table-options select{min-width:160px}.table-scroll{overflow:auto;max-height:650px;scrollbar-width:thin}table{width:100%;border-collapse:separate;border-spacing:0;font-size:11px;font-variant-numeric:tabular-nums}th{font-weight:650;background:#f3f6fa;color:var(--muted);white-space:nowrap;padding:11px 13px;text-align:right;border-bottom:1px solid var(--line)}thead{position:sticky;top:0;z-index:4}thead th{position:relative;z-index:3}th:first-child,td:first-child{position:sticky;left:0;z-index:2;text-align:left;min-width:275px;max-width:340px;width:320px;box-shadow:1px 0 var(--line)}thead th:first-child{z-index:5!important}td{padding:12px 13px;border-bottom:1px solid #edf1f5;text-align:right;background:white;min-width:99px;white-space:nowrap}td:first-child{white-space:normal}.year-group{border-left:1px solid var(--line);text-align:center}.year-start{border-left:1px solid var(--line)}.year-end{border-right:1px solid var(--line)}tbody tr:hover td{background:#f7fafc}tbody tr.total td{background:var(--pale);font-weight:700}tbody tr.excluded td{opacity:.5;text-decoration:line-through}.row-label{display:flex;gap:9px;align-items:center}.row-label .code{color:var(--muted);font-size:10px;min-width:22px;flex-shrink:0}.drill{background:none;border:0;text-align:left;font-size:11px;font-weight:550;line-height:1.45;padding:0;flex:1}.drill:hover{color:var(--coral)}.drill:disabled{cursor:default;opacity:1;color:var(--navy)}.exclude{width:22px;height:22px;border-radius:6px;background:white;border:1px solid var(--line);color:var(--muted);flex-shrink:0;padding:0;font-size:16px}.exclude:hover{border-color:var(--coral);color:var(--coral)}.amount{border:0;padding:0;background:none;font-variant-numeric:tabular-nums;font-size:11px;font-weight:inherit;text-align:right;white-space:nowrap}.amount:hover{text-decoration:underline;text-underline-offset:3px}.amount.partial{color:#876329}.unavailable{color:#8a97a5;cursor:help}.table-note{font-size:10px;color:var(--muted);padding:12px 22px;margin:0;line-height:1.65}.method-note{font-size:11px;color:var(--muted);line-height:1.7;margin:15px 0 25px;max-width:1100px}.method-note strong{color:var(--blue);font-weight:600}.empty{text-align:center;padding:30px;color:var(--muted);font-size:12px}
.document-filters{padding:0 22px 18px;display:flex;gap:10px}.document-filters .search{max-width:none}.document-filters select{max-width:180px}.document{display:flex;align-items:center;gap:14px;padding:16px 22px;border-top:1px solid var(--line)}.document-icon{width:36px;height:44px;border:1.5px solid var(--blue);border-radius:4px;display:flex;align-items:center;justify-content:center;background:var(--pale);color:var(--blue);font-size:9px;font-weight:700;flex-shrink:0}.document-body{flex:1;min-width:0}.document h3{font-size:12px;line-height:1.5;margin:0 0 4px;font-weight:600;overflow-wrap:anywhere}.document p{font-size:10px;color:var(--muted);margin:0}.document a{font-size:11px;white-space:nowrap}.document .source-link{font-size:10px;margin-left:12px}.document a.open{border:1px solid var(--line);padding:7px 11px;border-radius:6px;text-decoration:none}#more-docs{margin:18px 22px}.coverage-table th,.coverage-table td{min-width:70px;text-align:center}.coverage-table td:first-child,.coverage-table th:first-child{min-width:170px;width:170px;text-align:left}.coverage-table small{display:block;color:var(--muted);font-size:9px;margin-top:3px}.coverage-table .unavailable{cursor:default}.coverage-ok{color:var(--blue);font-weight:600}.methodology{padding:22px}.methodology dl{display:grid;grid-template-columns:160px 1fr;gap:14px;margin:19px 0;font-size:12px}.methodology dt{font-weight:600}.methodology dd{margin:0;color:var(--muted)}.methodology a{font-size:12px}footer{display:flex;justify-content:space-between;gap:20px;color:var(--muted);font-size:10px;border-top:1px solid var(--line);padding-top:17px;margin-top:30px}
dialog{border:1px solid var(--line);border-radius:14px;padding:25px;width:min(940px,94vw);max-height:88vh;color:var(--navy);box-shadow:0 24px 100px #08183f35}dialog::backdrop{background:#08183f80}.dialog-head{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:22px}.dialog-head h2{font-size:21px;margin:6px 0}.dialog-head button{border:0;background:var(--pale);border-radius:6px;width:32px;height:32px;font-size:22px}.source-card{background:var(--bg);border:1px solid var(--line);border-radius:8px;padding:15px;margin:12px 0;font-size:12px;overflow-wrap:anywhere}.source-card h3{font-size:13px;margin:0 0 8px}.source-card p{margin:6px 0;color:var(--muted)}.source-card a{margin-right:16px}.source-card code{font-size:10px}.source-rows td:first-child,.source-rows th:first-child{min-width:220px}.source-rows{max-height:300px}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:var(--blue);color:white;border-radius:8px;padding:12px 20px;font-size:12px;z-index:20;box-shadow:0 6px 25px #08183f30}
@media(min-width:1650px){main{padding:34px 45px}.sidebar{padding:28px 24px}.workspace{grid-template-columns:270px minmax(0,1fr)}}
@media(max-width:1100px){.workspace{grid-template-columns:222px minmax(0,1fr)}main{padding:25px 20px}.sidebar{padding:22px 16px}.summary{grid-template-columns:repeat(2,minmax(0,1fr))}.page-heading{align-items:flex-start}h1{font-size:24px}.panel-heading{gap:12px}.legend{gap:10px}.edition{display:none}.table-panel .panel-heading{align-items:flex-start;flex-direction:column}.search{max-width:none}.metric>strong{font-size:23px}}
@media(max-width:720px){.masthead{height:88px;padding:8px 16px}.brand img{width:218px;height:76px}.masthead-right{font-size:10px;max-width:90px;text-align:right}.nav{padding:0 16px;gap:24px;overflow:auto}.nav button{white-space:nowrap;font-size:11px;padding:15px 0 12px}.workspace{display:block}.sidebar{min-height:0;border-right:0;border-bottom:1px solid var(--line);display:grid;grid-template-columns:1fr 1fr;gap:10px 16px;padding:17px 18px}.aside-heading{grid-column:1/-1;margin:0}.sidebar>label{margin:0;align-self:center}.sidebar>.hint{grid-column:1/-1;margin:0}.inflation-box{grid-column:1/-1;margin:0}.inflation-box select{max-width:140px}.aside-section{grid-column:1/-1;margin-top:8px;padding-top:13px}.diagnostic{grid-column:1/-1;margin:0}main{padding:23px 16px}.page-heading{flex-direction:column;gap:12px}.page-heading .primary{align-self:flex-end}h1{font-size:25px}.scope-heading{align-items:flex-start}.scope-heading h2{font-size:17px}.summary{gap:9px}.metric{padding:14px}.metric>strong{font-size:20px}.panel-heading{padding:16px}.chart-panel .panel-heading{flex-direction:column;align-items:flex-start}#chart{height:220px}.table-options{padding:0 16px 12px;flex-wrap:wrap}.table-options .segmented{width:100%;flex-wrap:wrap}.table-options button{font-size:10px;padding:6px 8px}th:first-child,td:first-child{min-width:200px;max-width:240px}.document-filters{padding:0 16px 16px;flex-wrap:wrap}.document-filters select{flex:1;max-width:none}.document{padding:14px 16px;gap:10px;flex-wrap:wrap}.document-body{min-width:180px}.document a.open{margin-left:46px}.methodology dl{grid-template-columns:1fr;gap:5px}.methodology dd{margin-bottom:12px}footer{flex-direction:column;gap:5px}}
@media(prefers-reduced-motion:no-preference){button,a{transition:background .15s,color .15s,border-color .15s}}
@media print{.masthead,.nav,.sidebar,.page-heading button,.table-options,.search,.exclude,footer{display:none}.workspace{display:block}main{padding:0}.panel{break-inside:avoid}.table-scroll{overflow:visible;max-height:none}.method-note{font-size:10px}th,td{position:static!important}}

/* Dossier transversal MaPrimeRénov’ : styles limités à ce filtre et à son panneau. */
.topic-filter{margin-top:18px;padding-top:14px;border-top:1px solid #e1e8ed}
.topic-filter select{width:100%;min-width:0}
.topic-panel{margin-top:18px;padding:22px;border-left:4px solid #d84b50}
.topic-panel .panel-heading{padding:0;margin-bottom:12px;align-items:center}
.topic-panel p{font-size:14px;line-height:1.6;margin:10px 0}
.topic-panel .topic-status{background:#edf4f8;border-radius:6px;padding:12px 14px;color:#173a55}
.topic-examples{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}
.topic-panel details{border-top:1px solid #e1e8ed;padding-top:12px}
.topic-panel summary{cursor:pointer;font-weight:600;font-size:14px;color:#173a55}
.topic-panel .topic-timeline{min-width:720px;margin-top:15px;white-space:normal}
.topic-timeline td,.topic-timeline th{font-size:13px;text-align:left;white-space:normal;vertical-align:top;line-height:1.5}
.topic-timeline th:first-child{min-width:68px}
.topic-timeline td:nth-child(2){min-width:170px}
.topic-timeline td:nth-child(3){min-width:150px}
.topic-references{display:flex;gap:12px;flex-wrap:wrap;margin-top:7px}
.topic-references a{font-weight:600;color:#173a55}
.topic-panel li{font-size:13px;line-height:1.6;margin-bottom:7px}
@media(max-width:600px){.topic-panel{padding:16px}.topic-panel .panel-heading{align-items:flex-start;flex-wrap:wrap;gap:8px}.topic-examples button{width:100%;white-space:normal}}

#reserves-table th:not(:first-child){white-space:normal;min-width:90px;max-width:180px}#reserves-table td:last-child{white-space:normal;min-width:200px;max-width:250px;text-align:left}

/* Category inclusion, independent from the availability of each budget figure. */
.category-switch,.exclude-chip .category-switch{display:inline-flex;align-items:center;justify-content:center;width:44px;height:36px;min-width:44px;flex:0 0 44px;padding:0;border:0;background:transparent;border-radius:18px;text-decoration:none;vertical-align:middle}
.category-switch .switch-track{display:block;position:relative;width:40px;height:24px;border-radius:14px;background:#dde2e7;box-shadow:inset 0 0 0 1px #173a5512}
.category-switch .switch-track::after{content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:white;box-shadow:0 1px 3px #173a5526}
.category-switch[aria-checked="true"] .switch-track{background:#3478f6}
.category-switch[aria-checked="true"] .switch-track::after{transform:translateX(16px)}
.category-switch:hover:not(:disabled) .switch-track{box-shadow:0 0 0 3px #3478f61c}
.category-switch:disabled{cursor:not-allowed;opacity:1}.category-switch:disabled .switch-track{background:#dde2e7}
.row-unavailable .drill,.row-unavailable .code{color:#78828d}
.missing-label{display:inline-block;max-width:108px;white-space:normal;font-size:10px;line-height:1.4;color:#6c7885;font-weight:400}
.unavailable-rate{white-space:normal}
@media(prefers-reduced-motion:no-preference){.category-switch .switch-track,.category-switch .switch-track::after{transition:background .16s,transform .16s,box-shadow .16s}}
@media print{.category-switch{display:none}}

@media(max-width:700px){#reserves-heading{flex-direction:column;align-items:stretch}#reserves-export{white-space:normal;text-align:center}}

.document-mode{padding:0 22px 14px;display:flex;align-items:center;gap:14px;flex-wrap:wrap}.document-mode .segmented{flex:0 0 auto}.document-mode>.hint{margin:0}.document-match{align-items:flex-start}.document-excerpt{font-size:12px!important;line-height:1.55;color:var(--ink)!important;margin:2px 0 7px!important;white-space:pre-line}.document-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:10px}.document-actions .source-link{margin-left:0}.document-search-unavailable{margin:0 22px 22px;padding:18px;border:1px solid var(--line);border-radius:8px;background:var(--pale)}.document-search-unavailable p{margin:6px 0 13px;color:var(--muted);font-size:12px}.document-search-unavailable button{background:white}
@media(max-width:720px){.document-mode{padding:0 16px 14px;align-items:flex-start;flex-direction:column}.document-mode .segmented{width:100%}.document-mode .segmented button{flex:1}.document-match .document-body{min-width:calc(100% - 52px)}.document-actions .open{margin-left:0}.document-search-unavailable{margin:0 16px 18px}}

/* Retouches de lisibilité et d’espacement demandées dans 1.docx. */
:root{--muted:#4b5c70}
.segmented{gap:10px;padding:4px}
.segmented button{font-size:13px}
.table-options{flex-wrap:wrap}
.table-options .segmented{max-width:100%;flex-wrap:wrap}
.page-heading>div:last-child{display:flex;flex-direction:column;gap:10px;min-width:195px}
.metric>strong{letter-spacing:0;font-variant-numeric:tabular-nums}
.metric>strong small{font-size:14px;font-weight:600;letter-spacing:0;margin-left:5px}
.eyebrow,.text-button,.hint,.small,.aside-section h2 span,.saved-row button:first-child,.diagnostic,.breadcrumbs,.pill,.metric>span,.metric small,.legend,.table-note,.method-note,.document p,.document .source-link,.coverage-table small,.source-card code{font-size:12px}
.sidebar>label,select,.switch-label,.aside-section h2,.exclude-chip,.primary,.secondary,.drill,.amount,table,.document h3,.document a,.search input{font-size:13px}
.exclude-chip small{display:block;font-size:12px;color:var(--muted)}
.exclude-chip .topic-exclusion-details{display:block;margin:6px 0 0;padding:0;font-size:12px;line-height:1.5;text-align:left;color:var(--blue)}
.row-label .code{font-size:12px}
.unavailable,.row-unavailable .drill,.row-unavailable .code,.missing-label{color:#536477}
.missing-label{font-size:12px;max-width:130px}
tbody tr.excluded td{opacity:1;color:var(--muted)}
#rap-movements-table th{white-space:normal}
#rap-movements-table th:first-child{min-width:165px;width:165px}
#rap-movements-table td:nth-child(2){white-space:normal;min-width:210px;text-align:left}
#rap-movements-table td:last-child{white-space:normal;min-width:240px;max-width:370px;text-align:left}
#rap-annual-adjustments th{white-space:normal}
#rap-annual-adjustments td:last-child{white-space:normal;min-width:240px;max-width:500px;text-align:left}
@media(max-width:700px){#rap-annual-adjustments th:first-child{position:static}}
footer{font-size:13px;line-height:1.65;flex-wrap:wrap}
.footer-meta{display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;width:100%}
.legal-links{display:flex;justify-content:center;gap:12px 22px;flex-wrap:wrap;width:100%;padding:16px;background:var(--pale);border-radius:8px}
.legal-links a{font-size:13px;font-weight:600;text-decoration:none}
.legal-links a:hover{text-decoration:underline}
@media(max-width:720px){.masthead-right,.nav button{font-size:12px}.table-options button{font-size:13px;padding:8px 10px}.page-heading>div:last-child{width:100%}.legal-links{justify-content:flex-start}}
@media(max-width:480px){.summary{grid-template-columns:1fr}}
.proof-hint{display:block;margin-top:3px;font-size:11px;text-decoration:underline;text-underline-offset:3px;color:var(--blue)}
.metric-proof{display:block;margin-top:10px;padding:0;border:0;background:none;color:inherit;text-align:left;font:inherit;font-size:12px;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.quality-explanation h4{font-size:14px;margin:20px 0 10px}
.quality-context{padding:12px 14px;margin:10px 0;border-left:3px solid #b98c45;background:#fff8ed}
.quality-context p{margin:8px 0}
.quality-explanation li{margin:10px 0}
.quality-explanation summary{cursor:pointer;color:var(--blue);font-weight:600}
.quality-requests{margin-top:18px;padding-top:14px;border-top:1px solid var(--line)}
.quality-requests label{display:block;font-weight:600;margin-top:18px}
.quality-requests textarea{display:block;box-sizing:border-box;width:100%;padding:12px;margin:8px 0 12px;border:1px solid #d7e1ea;border-radius:6px;font:inherit;font-size:13px;line-height:1.6;resize:vertical;background:#fff;color:var(--navy)}
.metric-proof:focus-visible,.missing-proof:focus-visible{outline:2px solid #397ce3;outline-offset:3px;border-radius:3px}

/* Cartouches de synthèse et première colonne du tableau des crédits. */
#summary .metric{padding:11px 18px}
#summary .metric>strong{margin:3px 0 1px}
#summary .metric-proof{margin-top:5px}
#credits-table th:first-child,#credits-table td:first-child{min-width:230px;max-width:280px;width:260px}
@media(max-width:720px){#credits-table th:first-child,#credits-table td:first-child{min-width:190px;max-width:220px;width:210px}}

#summary .metric.partial>strong{color:#876329}
#summary .metric.accent.partial>strong{color:#f2d58a}
#summary .metric.partial>strong small{color:inherit}
#credits-table thead tr:first-child th:first-child,#credits-table thead tr:first-child th:first-child .hint{font-size:14px;color:var(--blue);font-weight:650}
.reading-key{display:flex;flex-wrap:wrap;align-items:center;gap:5px 18px;margin:0 0 18px;padding:11px 16px;border:1px solid #d7e4ef;border-radius:9px;background:#f1f7fc;color:var(--navy);font-size:12px;line-height:1.45}
.reading-key>strong{color:var(--blue);font-size:13px}
.reading-key b{color:var(--blue);font-size:16px}
.reading-key .reading-key-partial b{color:#876329;font-size:13px;font-weight:800}
.info-icon{display:inline-block;vertical-align:-2px;margin-left:2px;flex:none}
.coverage-notes{margin-top:20px}
.coverage-notes .panel-heading{padding-bottom:10px}
.coverage-note-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:0 20px 20px}
.coverage-note-grid article{border:1px solid var(--line);border-radius:8px;padding:15px 17px;background:#fbfdff}
.coverage-note-grid h3{margin:0 0 8px;font-size:13px;color:var(--blue)}
.coverage-note-grid ul{margin:0;padding-left:18px;font-size:12px;line-height:1.55}
.coverage-note-grid li+li{margin-top:7px}
@media(max-width:760px){.coverage-note-grid{grid-template-columns:1fr;padding:0 14px 14px}}
.coverage-highlights{margin-bottom:20px}
.coverage-intro{padding:4px 4px 15px}
.coverage-intro h2{font-size:22px;line-height:1.25;letter-spacing:-.025em;margin:5px 0 7px}
.coverage-intro p{font-size:13px;color:var(--muted);line-height:1.55;margin:0;max-width:760px}
.coverage-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.coverage-stat{display:flex;flex-direction:column;min-width:0;min-height:0;padding:13px 16px;border:1px solid var(--line);border-radius:10px;background:white}
.coverage-stat strong{font-size:27px;line-height:1.1;color:var(--blue);font-variant-numeric:tabular-nums}
.coverage-stat span{font-size:13px;font-weight:650;line-height:1.35;margin-top:5px}
.coverage-stat small{font-size:11px;line-height:1.45;color:var(--muted);margin-top:5px}
.coverage-stat.featured{background:var(--blue);border-color:var(--blue);color:white}
.coverage-stat.featured strong,.coverage-stat.featured small{color:white}
@media(max-width:1100px){.coverage-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.coverage-stat-grid{grid-template-columns:1fr}.coverage-stat{min-height:0}}
.brand-punchline{flex:1;min-width:0;max-width:500px;margin:0 20px;line-height:1.3}
.brand-punchline strong{display:block;color:var(--blue);font-size:15px;font-weight:700}
.brand-punchline span{display:block;margin-top:4px;color:var(--muted);font-size:12px}
@media(max-width:1100px){.brand-punchline strong{font-size:13px}.brand-punchline span{font-size:11px}}
@media(max-width:900px){.masthead{height:auto;min-height:88px;flex-wrap:wrap;gap:0 8px}.brand-punchline{order:3;flex:1 0 100%;max-width:none;margin:0;padding:0 0 9px}}

/* Independent auditor: visible on every explorer view. */
.masthead>.audit-link{display:inline-flex;align-items:center;justify-content:center;gap:7px;background:#ffb347;color:#122b40;border:1px solid #c57b16;border-radius:8px;padding:11px 14px;font-size:13px;line-height:1.3;font-weight:750;text-decoration:none;text-align:center;max-width:230px;flex-shrink:0;margin:0 14px}
.masthead>.audit-link:hover{background:#ffc46f}.masthead>.audit-link:focus-visible{outline:3px solid #143e60;outline-offset:3px}
@media(max-width:1200px){.masthead>.audit-link{max-width:185px;padding:9px 10px;margin:0 8px}}
@media(max-width:900px){.masthead>.audit-link{order:4;max-width:none;width:100%;margin:0 0 12px;flex-shrink:1;box-sizing:border-box}}

/* Visible during data requests, including when the page is scrolled. */
.request-progress:not([hidden]){position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);z-index:1000;display:flex;flex-direction:column;align-items:center;gap:9px;max-width:calc(100vw - 40px);background:white;border:1px solid var(--line);border-radius:8px;padding:12px 16px;box-shadow:0 3px 16px #163c5520;pointer-events:none}
.request-chrono{min-width:5.8rem;box-sizing:border-box;padding:.85rem 1rem;border:2px solid rgba(240,145,18,.46);border-radius:999px;background:#fff7e8;color:#7a4300;box-shadow:inset 0 0 0 1px rgba(255,255,255,.72);font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:1.22rem;font-weight:800;font-variant-numeric:tabular-nums;line-height:1;text-align:center}
.request-wait-hint{display:inline-block;padding:.5rem .7rem;border:1px solid rgba(240,145,18,.48);border-radius:999px;background:#fffaf0;color:#7a4300;font-size:.88rem;font-weight:700;text-align:center}

/* Navigation hiérarchique et titres du tableau des crédits. */
.table-level-nav{display:flex;align-items:center;gap:7px}
.table-panel .panel-heading #table-title{font-size:15px;font-weight:700;color:var(--coral);letter-spacing:0}
.level-arrow{border:0;background:transparent;color:var(--coral);font-size:29px;font-weight:750;line-height:24px;min-width:22px;padding:0}
.level-arrow:hover:not(:disabled){color:var(--navy)}
.level-arrow:disabled{color:#aab5bf;opacity:.7;cursor:default}
/* Recherche documentaire : champ compact et bouton sur la même ligne si l’espace le permet. */
.document-filters{align-items:center;flex-wrap:wrap}
.document-filters .search{flex:1 1 340px;max-width:720px;min-width:180px}
.document-filters select{flex:0 1 180px;max-width:180px}
.document-filters #doc-submit{flex:0 0 auto;min-height:39px}
@media(max-width:720px){.document-filters .search{flex-basis:100%;max-width:none}.document-filters select{flex:1 1 130px;max-width:none}}
/* Une fenêtre modale appartient à la couche supérieure du navigateur : compteur inclus dans cette fenêtre. */
.dialog-request-progress:not([hidden]){display:flex;flex-direction:column;align-items:center;gap:8px;margin:4px auto 16px;text-align:center}

.brand{position:relative;min-width:278px}.brand-tagline{position:absolute;left:109px;top:54px;color:var(--blue);font-size:11px;line-height:1.2;white-space:nowrap;text-decoration:none;font-variation-settings:normal}
@media(max-width:720px){.brand{min-width:226px}.brand-tagline{left:88px;top:44px;font-size:9px}}
