/* GRH V9.12.0 — onglet Récupérations modernisé, dans le style du tableau de bord (V9.11.0).
   Calque visuel seul : les chiffres, les filtres, les boutons et leurs actions viennent de app.js et recovery-approval.js.
   Les variables --pi-*, --k-*, --a-* et les pictogrammes --pi-* sont définis dans pilotage-moderne.css. */
html:not(#_g1):not(#_g2){--rc-credit:#23804f;--rc-debit:#b7740c;--rc-neg:#c23642}
html[data-theme="dark"]:not(#_g1):not(#_g2){--rc-credit:#7fd3a4;--rc-debit:#eebd63;--rc-neg:#f08a93}

/* Ordre : bandeau, périmètre, chiffres clés, demandes à valider, comptes. */
html:not(#_g1):not(#_g2) #recuperationsView.active{display:flex!important;flex-direction:column}
html:not(#_g1):not(#_g2) #recuperationsView > *{order:9}
html:not(#_g1):not(#_g2) #recuperationsView > .top{order:0}
html:not(#_g1):not(#_g2) #recuperationsView > .recovery-scope{order:1}
html:not(#_g1):not(#_g2) #recuperationsView > .recovery-summary{order:2}
html:not(#_g1):not(#_g2) #recuperationsView > .recovery-approval-panel{order:3}
html:not(#_g1):not(#_g2) #recuperationsView > .panel:not(.recovery-approval-panel){order:4}

/* ---------- Périmètre ---------- */
html:not(#_g1):not(#_g2) .recovery-scope{display:flex!important;align-items:center;gap:12px;margin:0 0 14px!important;padding:10px 14px!important;border:1px solid var(--pi-line)!important;border-radius:12px!important;background:var(--pi-surface)!important;box-shadow:none!important}
html:not(#_g1):not(#_g2) .recovery-scope::before{content:"";flex:0 0 30px;height:30px;border-radius:9px;background:color-mix(in srgb,var(--k-total) 12%,transparent)}
html:not(#_g1):not(#_g2) .recovery-scope::after{content:"";position:absolute;width:16px;height:16px;margin-left:7px;background:var(--k-total);-webkit-mask:var(--pi-permanence) center/contain no-repeat;mask:var(--pi-permanence) center/contain no-repeat}
html:not(#_g1):not(#_g2) .recovery-scope{position:relative}
html:not(#_g1):not(#_g2) .recovery-scope::after{left:14px;top:50%;margin:-8px 0 0 7px}
html:not(#_g1):not(#_g2) .recovery-scope > div{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 10px;flex:1;min-width:0}
html:not(#_g1):not(#_g2) .recovery-scope strong{color:var(--pi-ink)!important;font-size:13.5px!important;font-weight:800}
html:not(#_g1):not(#_g2) .recovery-scope span:not(.recovery-scope-badge){color:var(--pi-soft)!important;font-size:13px!important}
html:not(#_g1):not(#_g2) .recovery-scope-badge{padding:4px 10px!important;border-radius:999px!important;background:var(--pi-sunk)!important;color:var(--pi-navy)!important;border:1px solid var(--pi-line)!important;font-size:12px!important;font-weight:800!important;letter-spacing:0!important;text-transform:none!important}

/* ---------- Chiffres clés : un seul bandeau en colonnes ---------- */
html:not(#_g1):not(#_g2) #recoverySummary{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(170px,1fr))!important;gap:0!important;margin:0 0 18px!important;border:1px solid var(--pi-line);border-radius:14px;background:var(--pi-surface);overflow:hidden;box-shadow:0 1px 2px rgba(28,42,77,.04)}
html:not(#_g1):not(#_g2) #recoverySummary .recovery-card{--k:var(--k-total);display:flex!important;flex-direction:column;gap:3px;min-width:0;padding:14px 18px!important;border:0!important;border-left:1px solid var(--pi-line)!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
html:not(#_g1):not(#_g2) #recoverySummary .recovery-card:first-child{border-left:0!important}
html:not(#_g1):not(#_g2) #recoverySummary .recovery-card::before,html:not(#_g1):not(#_g2) #recoverySummary .recovery-card::after{display:none!important}
html:not(#_g1):not(#_g2) #recoverySummary .recovery-card span{color:var(--pi-soft)!important;font-size:12.5px!important;font-weight:700!important;letter-spacing:0!important;text-transform:none!important}
html:not(#_g1):not(#_g2) #recoverySummary .recovery-card b{margin:4px 0 0;color:var(--k)!important;font-size:28px!important;font-weight:800!important;line-height:1.05;font-variant-numeric:tabular-nums;letter-spacing:-.02em}
html:not(#_g1):not(#_g2) #recoverySummary .recovery-card small{color:var(--pi-soft)!important;font-size:11.5px!important;font-weight:500!important}
html:not(#_g1):not(#_g2) #recoverySummary .recovery-card.positive{--k:var(--rc-credit)}
html:not(#_g1):not(#_g2) #recoverySummary .recovery-card.negative{--k:var(--rc-neg)}
html:not(#_g1):not(#_g2) #recoverySummary .recovery-card.pending{--k:var(--rc-debit)}
html:not(#_g1):not(#_g2) #recoverySummary .recovery-card.activity{--k:var(--k-remote)}

/* ---------- Demandes d'heures ---------- */
html:not(#_g1):not(#_g2) .recovery-approval-panel{margin:0 0 18px!important;padding:0!important;border:1px solid var(--pi-line)!important;border-radius:16px!important;background:var(--pi-surface)!important;box-shadow:0 1px 2px rgba(28,42,77,.04)!important;overflow:hidden}
html:not(#_g1):not(#_g2) .recovery-approval-head{display:flex!important;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px!important;border-bottom:1px solid var(--pi-line)!important;background:transparent!important}
html:not(#_g1):not(#_g2) .recovery-approval-head h2{margin:0;color:var(--pi-ink)!important;font-size:17px!important;font-weight:800}
html:not(#_g1):not(#_g2) .recovery-approval-head .subtitle{margin-top:2px;color:var(--pi-soft)!important;font-size:12.5px!important}
html:not(#_g1):not(#_g2) .recovery-approval-count{min-width:30px;height:30px;padding:0 9px;display:grid!important;place-items:center;border-radius:999px!important;background:var(--pi-sunk)!important;color:var(--pi-soft)!important;font-size:13px!important;font-weight:800!important;box-shadow:none!important}
html:not(#_g1):not(#_g2) .recovery-approval-panel:has(.recovery-request.pending) .recovery-approval-count{background:var(--a-alert)!important;color:#fff!important}
html:not(#_g1):not(#_g2) .recovery-request-sections{background:transparent!important}
html:not(#_g1):not(#_g2) .recovery-request-section{padding:14px 18px 16px!important;background:transparent!important}
html:not(#_g1):not(#_g2) .recovery-request-section h3{margin:0 0 10px!important;color:var(--pi-soft)!important;font-size:12.5px!important;font-weight:800!important;letter-spacing:0!important;text-transform:none!important}
html:not(#_g1):not(#_g2) .recovery-request-section h3::after{background:var(--pi-line)!important}
html:not(#_g1):not(#_g2) .recovery-request-list{gap:10px!important}
html:not(#_g1):not(#_g2) .recovery-request{display:grid!important;grid-template-columns:minmax(220px,1fr) minmax(240px,1.5fr) auto;grid-template-areas:"top comment hours" "top comment actions";align-items:center;gap:8px 16px!important;padding:14px 16px!important;border:1px solid var(--pi-line)!important;border-radius:12px!important;background:var(--pi-surface)!important;box-shadow:inset 4px 0 0 var(--a-warning)!important}
html:not(#_g1):not(#_g2) .recovery-request.approved{box-shadow:inset 4px 0 0 var(--rc-credit)!important}
html:not(#_g1):not(#_g2) .recovery-request.rejected{box-shadow:inset 4px 0 0 var(--a-calm)!important}
html:not(#_g1):not(#_g2) .recovery-request::before,html:not(#_g1):not(#_g2) .recovery-request::after{display:none!important}
html:not(#_g1):not(#_g2) .recovery-request-top{grid-area:top;display:flex!important;align-items:flex-start;justify-content:space-between;gap:10px;min-width:0}
html:not(#_g1):not(#_g2) .recovery-request-name{color:var(--pi-ink)!important;font-size:14.5px!important;font-weight:800!important}
html:not(#_g1):not(#_g2) .recovery-request-meta{margin-top:3px;color:var(--pi-soft)!important;font-size:12px!important;line-height:1.5!important}
html:not(#_g1):not(#_g2) .recovery-request-status{flex:none;padding:3px 9px!important;border:0!important;border-radius:999px!important;background:color-mix(in srgb,var(--a-warning) 15%,transparent)!important;color:var(--a-warning)!important;font-size:11.5px!important;font-weight:800!important;text-transform:none!important;letter-spacing:0!important}
html:not(#_g1):not(#_g2) .recovery-request.approved .recovery-request-status{background:color-mix(in srgb,var(--rc-credit) 14%,transparent)!important;color:var(--rc-credit)!important}
html:not(#_g1):not(#_g2) .recovery-request.rejected .recovery-request-status{background:var(--pi-sunk)!important;color:var(--pi-soft)!important}
html:not(#_g1):not(#_g2) .recovery-request-comment{grid-area:comment;margin:0!important;padding:10px 12px!important;border:0!important;border-radius:10px!important;background:var(--pi-sunk)!important;color:var(--pi-ink)!important;font-size:13px!important;line-height:1.45!important}
html:not(#_g1):not(#_g2) .recovery-request-comment strong{display:block;margin-bottom:2px;color:var(--pi-soft)!important;font-size:11.5px;font-weight:700}
html:not(#_g1):not(#_g2) .recovery-request-hours{grid-area:hours;display:flex!important;flex-wrap:wrap;justify-content:flex-end;gap:6px!important;padding:0!important;border:0!important;background:transparent!important}
html:not(#_g1):not(#_g2) .recovery-request-hours span{padding:4px 10px!important;border:1px solid var(--pi-line)!important;border-radius:999px!important;background:var(--pi-surface)!important;color:var(--pi-ink)!important;font-size:12px!important;font-weight:700!important;white-space:nowrap}
html:not(#_g1):not(#_g2) .recovery-request-hours span.night{border-color:color-mix(in srgb,var(--k-training) 30%,var(--pi-line))!important;background:color-mix(in srgb,var(--k-training) 9%,transparent)!important;color:var(--k-training)!important}
html:not(#_g1):not(#_g2) .recovery-request-hours span:last-child{border-color:color-mix(in srgb,var(--rc-credit) 35%,var(--pi-line))!important;background:color-mix(in srgb,var(--rc-credit) 10%,transparent)!important;color:var(--rc-credit)!important;font-weight:800!important}
html:not(#_g1):not(#_g2) .recovery-request-actions{grid-area:actions;display:flex!important;justify-content:flex-end;gap:8px;margin:0!important}
html:not(#_g1):not(#_g2) .recovery-request-actions .btn{height:34px;padding:0 14px!important;border-radius:9px!important;font-size:13px!important;font-weight:800!important}
html:not(#_g1):not(#_g2) .recovery-request-actions .btn.approve{border:0!important;background:var(--rc-credit)!important;color:#fff!important}
html[data-theme="dark"]:not(#_g1):not(#_g2) .recovery-request-actions .btn.approve{color:#0f2a1c!important}
html:not(#_g1):not(#_g2) .recovery-request-actions .btn.reject{border:1px solid color-mix(in srgb,var(--rc-neg) 40%,var(--pi-line))!important;background:var(--pi-surface)!important;color:var(--rc-neg)!important}
html:not(#_g1):not(#_g2) .recovery-request-empty{padding:12px 14px;border:1px dashed var(--pi-line);border-radius:12px;background:var(--pi-sunk)!important;color:var(--pi-soft)!important;font-size:13px!important}

/* ---------- Filtres ---------- */
html:not(#_g1):not(#_g2) #recuperationsView > .panel:not(.recovery-approval-panel){padding:0!important;border:1px solid var(--pi-line)!important;border-radius:16px!important;background:var(--pi-surface)!important;box-shadow:0 1px 2px rgba(28,42,77,.04)!important;overflow:hidden}
html:not(#_g1):not(#_g2) .recovery-toolbar{gap:8px!important;margin:0!important;padding:14px 18px!important;border:0!important;border-bottom:1px solid var(--pi-line)!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
html:not(#_g1):not(#_g2) .recovery-toolbar input,html:not(#_g1):not(#_g2) .recovery-toolbar select{height:38px!important;border:1px solid var(--pi-line)!important;border-radius:10px!important;background-color:var(--pi-sunk)!important;color:var(--pi-ink)!important;font-size:13.5px!important}
html:not(#_g1):not(#_g2) .recovery-toolbar input#recoverySearch{padding-left:36px!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237b869c' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='m16 16 4.5 4.5'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:12px center!important;background-size:16px!important}
html:not(#_g1):not(#_g2) .recovery-toolbar input:focus,html:not(#_g1):not(#_g2) .recovery-toolbar select:focus{outline:2px solid color-mix(in srgb,var(--pi-gold) 45%,transparent);border-color:var(--pi-gold)!important}
html:not(#_g1):not(#_g2) .recovery-refresh{height:38px!important;border:1px solid var(--pi-line)!important;border-radius:10px!important;background:var(--pi-surface)!important;color:var(--pi-navy)!important;font-weight:800!important;box-shadow:none!important}

/* ---------- Comptes de récupération ---------- */
html:not(#_g1):not(#_g2) #recoveryContent{padding:0!important;border:0!important;background:transparent!important;overflow:auto}
html:not(#_g1):not(#_g2) .recovery-workspace{margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
html:not(#_g1):not(#_g2) .recovery-list-head{display:flex!important;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px 10px!important;border:0!important;background:transparent!important}
html:not(#_g1):not(#_g2) .recovery-list-head h2{margin:0;color:var(--pi-ink)!important;font-size:17px!important;font-weight:800}
html:not(#_g1):not(#_g2) .recovery-list-head p{margin:2px 0 0;color:var(--pi-soft)!important;font-size:12.5px!important}
html:not(#_g1):not(#_g2) .recovery-list-count{padding:4px 11px!important;border:1px solid var(--pi-line)!important;border-radius:999px!important;background:var(--pi-sunk)!important;color:var(--pi-soft)!important;font-size:12px!important;font-weight:800!important}
html:not(#_g1):not(#_g2) .recovery-modern-table{width:100%;border-collapse:separate!important;border-spacing:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important}
html:not(#_g1):not(#_g2) .recovery-modern-table thead th{position:sticky;top:0;z-index:1;padding:9px 14px!important;border:0!important;border-top:1px solid var(--pi-line)!important;border-bottom:1px solid var(--pi-line)!important;background:var(--pi-sunk)!important;color:var(--pi-soft)!important;font-size:12px!important;font-weight:700!important;letter-spacing:0!important;text-transform:none!important;text-align:left!important}
html:not(#_g1):not(#_g2) .recovery-modern-table tbody td{padding:12px 14px!important;border:0!important;border-bottom:1px solid var(--pi-line)!important;background:transparent!important;color:var(--pi-ink);text-align:left!important;vertical-align:middle}
html:not(#_g1):not(#_g2) .recovery-modern-table tbody tr:last-child td{border-bottom:0!important}
html:not(#_g1):not(#_g2) .recovery-modern-table tbody tr[data-recovery-open]{cursor:pointer}
html:not(#_g1):not(#_g2) .recovery-modern-table tbody tr:hover td{background:var(--pi-sunk)!important}
html:not(#_g1):not(#_g2) .recovery-modern-table th:nth-child(2),html:not(#_g1):not(#_g2) .recovery-modern-table th:nth-child(3),html:not(#_g1):not(#_g2) .recovery-modern-table th:nth-child(4),html:not(#_g1):not(#_g2) .recovery-modern-table td:nth-child(2),html:not(#_g1):not(#_g2) .recovery-modern-table td:nth-child(3),html:not(#_g1):not(#_g2) .recovery-modern-table td:nth-child(4){text-align:right!important;font-variant-numeric:tabular-nums;white-space:nowrap}
/* L'équipe figure déjà sous le nom : colonne masquée pour aérer. */
html:not(#_g1):not(#_g2) .recovery-modern-table th:nth-child(6),html:not(#_g1):not(#_g2) .recovery-modern-table td:nth-child(6){display:none!important}
html:not(#_g1):not(#_g2) .recovery-agent-cell{display:flex!important;align-items:center;gap:12px}
html:not(#_g1):not(#_g2) .recovery-avatar{flex:none;width:36px!important;height:36px!important;border-radius:11px!important;background:var(--pi-sunk)!important;border:1px solid var(--pi-line)!important;color:var(--pi-navy)!important;font-size:12.5px!important;font-weight:800!important;box-shadow:none!important}
html:not(#_g1):not(#_g2) .recovery-agent-name{color:var(--pi-ink)!important;font-size:14px!important;font-weight:800!important}
html:not(#_g1):not(#_g2) .recovery-agent-meta{margin-top:2px;color:var(--pi-soft)!important;font-size:12px!important}
html:not(#_g1):not(#_g2) .recovery-hours-credit{color:var(--rc-credit)!important;font-size:13.5px!important;font-weight:700!important;background:none!important}
html:not(#_g1):not(#_g2) .recovery-hours-debit{color:var(--rc-debit)!important;font-size:13.5px!important;font-weight:700!important;background:none!important}
html:not(#_g1):not(#_g2) .recovery-balance-pill{display:inline-block;min-width:78px;padding:5px 11px!important;border:0!important;border-radius:999px!important;background:var(--pi-sunk)!important;color:var(--pi-soft)!important;font-size:13.5px!important;font-weight:800!important;text-align:right}
html:not(#_g1):not(#_g2) .recovery-balance-pill.positive{background:color-mix(in srgb,var(--rc-credit) 12%,transparent)!important;color:var(--rc-credit)!important}
html:not(#_g1):not(#_g2) .recovery-balance-pill.negative{background:color-mix(in srgb,var(--rc-neg) 12%,transparent)!important;color:var(--rc-neg)!important}
html:not(#_g1):not(#_g2) .recovery-last-movement{display:flex!important;flex-direction:row!important;align-items:center;gap:10px;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
html:not(#_g1):not(#_g2) .recovery-last-date{color:var(--pi-soft)!important;font-size:12.5px!important;font-weight:600!important;font-variant-numeric:tabular-nums}
html:not(#_g1):not(#_g2) .recovery-last-detail{display:flex!important;align-items:center;gap:6px}
html:not(#_g1):not(#_g2) .recovery-last-kind{padding:2px 8px!important;border:0!important;border-radius:999px!important;background:color-mix(in srgb,var(--rc-credit) 12%,transparent)!important;color:var(--rc-credit)!important;font-size:11.5px!important;font-weight:800!important}
html:not(#_g1):not(#_g2) .recovery-last-kind.debit{background:color-mix(in srgb,var(--rc-debit) 14%,transparent)!important;color:var(--rc-debit)!important}
html:not(#_g1):not(#_g2) .recovery-last-value{color:var(--pi-ink)!important;font-size:13px!important;font-weight:800!important}
html:not(#_g1):not(#_g2) .recovery-row-actions{display:flex!important;justify-content:flex-end;gap:6px}
html:not(#_g1):not(#_g2) .recovery-row-actions .btn{height:34px;padding:0 13px!important;border-radius:9px!important;font-size:13px!important;font-weight:800!important;box-shadow:none!important}
html:not(#_g1):not(#_g2) .recovery-row-actions .recovery-open-btn{border:1px solid var(--pi-line)!important;background:var(--pi-surface)!important;color:var(--pi-navy)!important}
html:not(#_g1):not(#_g2) .recovery-row-actions .btn.primary{border:0!important;background:var(--pi-navy)!important;color:var(--pi-surface)!important}

/* ---------- Dossier d'un agent ---------- */
html:not(#_g1):not(#_g2) .recovery-detail-hero{display:flex!important;align-items:center;justify-content:space-between;gap:16px;margin:0!important;padding:18px!important;border:0!important;border-radius:0!important;background:transparent!important;color:var(--pi-ink)!important;box-shadow:none!important}
html:not(#_g1):not(#_g2) .recovery-detail-hero::before,html:not(#_g1):not(#_g2) .recovery-detail-hero::after{display:none!important}
html:not(#_g1):not(#_g2) .recovery-detail-identity{display:flex!important;align-items:center;gap:14px}
html:not(#_g1):not(#_g2) .recovery-detail-avatar{flex:none;width:52px!important;height:52px!important;display:grid!important;place-items:center;border-radius:15px!important;border:1px solid var(--pi-line)!important;background:var(--pi-sunk)!important;color:var(--pi-navy)!important;font-size:17px!important;font-weight:800!important;box-shadow:none!important}
html:not(#_g1):not(#_g2) .recovery-detail-identity h2{margin:0;color:var(--pi-ink)!important;font-size:20px!important;font-weight:800}
html:not(#_g1):not(#_g2) .recovery-detail-identity p{margin:3px 0 0;color:var(--pi-soft)!important;font-size:13px!important}
html:not(#_g1):not(#_g2) .recovery-detail-balance{padding:10px 16px!important;border:1px solid color-mix(in srgb,var(--rc-credit) 30%,var(--pi-line))!important;border-radius:12px!important;background:color-mix(in srgb,var(--rc-credit) 8%,transparent)!important;text-align:right}
html:not(#_g1):not(#_g2) .recovery-detail-balance span{display:block;color:var(--pi-soft)!important;font-size:12px!important;font-weight:700!important;letter-spacing:0!important;text-transform:none!important}
html:not(#_g1):not(#_g2) .recovery-detail-balance b{display:block;margin-top:2px;color:var(--rc-credit)!important;font-size:26px!important;font-weight:800!important;font-variant-numeric:tabular-nums}
html:not(#_g1):not(#_g2) .recovery-detail-balance.rh-negative{border-color:color-mix(in srgb,var(--rc-neg) 30%,var(--pi-line))!important;background:color-mix(in srgb,var(--rc-neg) 8%,transparent)!important}
html:not(#_g1):not(#_g2) .recovery-detail-balance.rh-negative b{color:var(--rc-neg)!important}
html:not(#_g1):not(#_g2) .recovery-detail-actions{display:flex!important;flex-wrap:wrap;align-items:center;gap:8px;margin:0!important;padding:10px 18px!important;border:0!important;border-top:1px solid var(--pi-line)!important;border-bottom:1px solid var(--pi-line)!important;background:var(--pi-sunk)!important}
html:not(#_g1):not(#_g2) .recovery-detail-actions .btn{height:36px;padding:0 14px!important;border:1px solid var(--pi-line)!important;border-radius:10px!important;background:var(--pi-surface)!important;color:var(--pi-navy)!important;font-size:13px!important;font-weight:800!important;box-shadow:none!important}
html:not(#_g1):not(#_g2) .recovery-detail-actions .recovery-back{margin-right:auto}
html:not(#_g1):not(#_g2) .recovery-detail-actions .btn.primary{border:0!important;background:var(--pi-navy)!important;color:var(--pi-surface)!important}
html:not(#_g1):not(#_g2) .recovery-timeline{display:flex!important;flex-direction:column;gap:0!important;margin:0!important;padding:6px 18px 12px!important;border:0!important;background:transparent!important}
html:not(#_g1):not(#_g2) .recovery-timeline::before{display:none!important}
html:not(#_g1):not(#_g2) .recovery-timeline-item{position:relative;display:grid!important;grid-template-columns:130px minmax(0,1fr) auto;align-items:center;gap:16px;margin:0!important;padding:14px 0 14px 18px!important;border:0!important;border-bottom:1px solid var(--pi-line)!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
html:not(#_g1):not(#_g2) .recovery-timeline-item:last-child{border-bottom:0!important}
html:not(#_g1):not(#_g2) .recovery-timeline-item::before{content:""!important;display:block!important;position:absolute!important;left:0;top:50%;width:8px;height:8px;margin-top:-4px;border-radius:50%;background:var(--rc-debit)!important;box-shadow:0 0 0 3px color-mix(in srgb,var(--rc-debit) 18%,transparent)!important;border:0!important}
html:not(#_g1):not(#_g2) .recovery-timeline-item.credit::before{background:var(--rc-credit)!important;box-shadow:0 0 0 3px color-mix(in srgb,var(--rc-credit) 18%,transparent)!important}
html:not(#_g1):not(#_g2) .recovery-timeline-item.history{opacity:.78}
html:not(#_g1):not(#_g2) .recovery-timeline-item.history::before{background:var(--a-calm)!important;box-shadow:none!important}
html:not(#_g1):not(#_g2) .recovery-timeline-item::after{display:none!important}
html:not(#_g1):not(#_g2) .recovery-timeline-date strong{display:block;color:var(--pi-ink)!important;font-size:13.5px!important;font-weight:800}
html:not(#_g1):not(#_g2) .recovery-timeline-date span{display:block;margin-top:2px;color:var(--pi-soft)!important;font-size:12px!important;font-variant-numeric:tabular-nums}
html:not(#_g1):not(#_g2) .recovery-timeline-title{display:flex;gap:6px;margin-bottom:4px}
html:not(#_g1):not(#_g2) .recovery-badge{padding:2px 9px!important;border:0!important;border-radius:999px!important;font-size:11.5px!important;font-weight:800!important;letter-spacing:0!important;text-transform:none!important}
html:not(#_g1):not(#_g2) .recovery-badge.credit{background:color-mix(in srgb,var(--rc-credit) 12%,transparent)!important;color:var(--rc-credit)!important}
html:not(#_g1):not(#_g2) .recovery-badge.used{background:color-mix(in srgb,var(--rc-debit) 14%,transparent)!important;color:var(--rc-debit)!important}
html:not(#_g1):not(#_g2) .recovery-badge.history{background:var(--pi-sunk)!important;color:var(--pi-soft)!important}
html:not(#_g1):not(#_g2) .recovery-timeline-comment{color:var(--pi-ink)!important;font-size:13.5px!important}
html:not(#_g1):not(#_g2) .recovery-timeline-author{margin-top:3px;color:var(--pi-soft)!important;font-size:11.5px!important}
html:not(#_g1):not(#_g2) .recovery-timeline-value{display:flex!important;align-items:center;gap:12px;text-align:right}
html:not(#_g1):not(#_g2) .recovery-timeline-value b{min-width:76px;color:var(--rc-debit)!important;font-size:16px!important;font-weight:800!important;font-variant-numeric:tabular-nums}
html:not(#_g1):not(#_g2) .recovery-timeline-value.credit b{color:var(--rc-credit)!important}
html:not(#_g1):not(#_g2) .recovery-timeline-actions{display:flex!important;gap:6px;margin:0!important}
html:not(#_g1):not(#_g2) .recovery-timeline-actions .btn{height:30px;padding:0 11px!important;border:1px solid var(--pi-line)!important;border-radius:8px!important;background:var(--pi-surface)!important;color:var(--pi-navy)!important;font-size:12px!important;font-weight:700!important;box-shadow:none!important}
html:not(#_g1):not(#_g2) #recoveryContent .empty-state{margin:14px 18px 18px;padding:18px;border:1px dashed var(--pi-line);border-radius:12px;background:var(--pi-sunk);color:var(--pi-soft);text-align:center}

/* ---------- Écrans plus étroits ---------- */
@media (max-width:1100px){
 html:not(#_g1):not(#_g2) .recovery-request{grid-template-columns:1fr 1fr;grid-template-areas:"top top" "comment comment" "hours actions"}
 html:not(#_g1):not(#_g2) .recovery-request-hours{justify-content:flex-start}
 html:not(#_g1):not(#_g2) .recovery-timeline-item{grid-template-columns:110px minmax(0,1fr);grid-template-areas:"date main" "value value"}
 html:not(#_g1):not(#_g2) .recovery-timeline-value{grid-column:1/-1;justify-content:flex-end}
}
@media (max-width:760px){
 html:not(#_g1):not(#_g2) .recovery-request{grid-template-columns:1fr;grid-template-areas:"top" "comment" "hours" "actions"}
 html:not(#_g1):not(#_g2) .recovery-detail-hero{flex-direction:column;align-items:flex-start}
}
