/* Table d'aperçu « lead magnet » (097-lead-table) : l'allure de la grille de l'app, en plus léger. */
.budgetic-leadtable { margin: 36px 0 48px; font-size: 14px; line-height: 1.45; color: #25334a; }
.budgetic-leadtable button { font: inherit; cursor: pointer; }
.blt-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 10px 12px; border: 1px solid var(--budgetic-line); border-bottom: 0; border-radius: 12px 12px 0 0; background: #fbfcfe; }
.blt-views { display: flex; flex-wrap: wrap; gap: 4px; }
.blt-views button { padding: 6px 12px; border: 1px solid transparent; border-radius: 8px; background: none; color: var(--budgetic-muted); font-weight: 600; }
.blt-views button.is-active { border-color: var(--budgetic-line); background: #fff; color: var(--budgetic-ink); box-shadow: 0 1px 2px rgba(7, 19, 56, .06); }
.blt-views button:not(.is-active):hover { color: var(--budgetic-ink); }
.blt-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.blt-search input { width: 220px; padding: 7px 10px 7px 30px; border: 1px solid var(--budgetic-line); border-radius: 8px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%23526078' stroke-width='2'%3E%3Ccircle cx='6' cy='6' r='4.5'/%3E%3Cpath d='m9.5 9.5 3 3'/%3E%3C/svg%3E") 10px center no-repeat; font-size: 14px; }
.blt-search input:focus { outline: 2px solid var(--budgetic-accent); outline-offset: 1px; }
.blt-tool { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border: 1px solid var(--budgetic-line); border-radius: 8px; background: #fff; color: var(--budgetic-ink); font-weight: 600; }
.blt-tool:hover { border-color: var(--budgetic-accent); }
.blt-tool::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #d4a72c; }
.blt-scroll { position: relative; overflow-x: auto; border: 1px solid var(--budgetic-line); background: #fff; }
.budgetic-leadtable table { width: 100%; margin: 0 !important; border-collapse: collapse; font-size: 13px !important; line-height: 1.4 !important; }
.budgetic-leadtable th { position: sticky; top: 0; padding: 0 !important; border-bottom: 1px solid var(--budgetic-line) !important; background: #f6f8fa !important; text-align: left; white-space: nowrap; }
.budgetic-leadtable th > button, .budgetic-leadtable th > span { display: block; width: 100%; padding: 9px 8px; border: 0; background: none; color: var(--budgetic-muted); font-size: 11px; font-weight: 700; letter-spacing: .04em; text-align: left; text-transform: uppercase; }
.budgetic-leadtable th > button::after { content: " ↕"; opacity: .45; }
.budgetic-leadtable th[aria-sort="ascending"] > button::after { content: " ↑"; opacity: 1; }
.budgetic-leadtable th[aria-sort="descending"] > button::after { content: " ↓"; opacity: 1; }
.budgetic-leadtable td { padding: 8px 8px !important; border: 0 !important; border-bottom: 1px solid #eef1f4 !important; vertical-align: middle; white-space: nowrap; }
.budgetic-leadtable tbody.blt-rows tr:hover td { background: #f8fbfa; }
.budgetic-leadtable td:first-child, .budgetic-leadtable th:first-child { position: sticky; left: 0; z-index: 1; background: inherit; }
.budgetic-leadtable td:first-child { min-width: 132px; max-width: 170px; background: #fff; color: var(--budgetic-ink); font-weight: 650; white-space: normal; }
.blt-chip { display: inline-block; padding: 2px 7px; border-radius: 999px; background: #eef2ff; color: #3c3489; font-size: 11.5px; font-weight: 650; }
.blt-chip.t-ba { background: #fdf2e9; color: #8a4b12; }
.blt-chip.t-public { background: #e8f4f1; color: #0d594d; }
.blt-chip.t-impact { background: #eaf6ea; color: #2c6b2f; }
.blt-chip.t-other { background: #f1f3f6; color: #3d4a5c; }
.blt-stage { display: inline-block; padding: 1px 6px; border: 1px solid #e2e6ee; border-radius: 6px; color: #3d4a5c; font-size: 11.5px; }
.blt-impact { display: inline-block; margin-left: 6px; padding: 1px 6px; border-radius: 6px; background: #eaf6ea; color: #2c6b2f; font-size: 11px; font-weight: 700; vertical-align: 1px; }
.blt-add { padding: 3px 8px; border: 1px solid var(--budgetic-line); border-radius: 7px; background: #fff; color: var(--budgetic-accent-dark); font-size: 12px; font-weight: 700; }
.blt-add:hover { border-color: var(--budgetic-accent); }
.blt-hint td { padding: 14px 12px !important; background: #f6faf9; color: var(--budgetic-muted); text-align: center; white-space: normal; }
.blt-hint-link { padding: 0; border: 0; background: none; color: var(--budgetic-accent-dark); font-weight: 700; text-decoration: underline; text-underline-offset: .18em; }
/* Bas de liste flouté : du texte brouillé, jamais de vraies données. */
.budgetic-leadtable tbody.blt-locked td { filter: blur(4.5px); user-select: none; pointer-events: none; }
.blt-wall { position: relative; z-index: 2; margin-top: -150px; padding: 110px 24px 26px; border: 1px solid var(--budgetic-line); border-top: 0; border-radius: 0 0 12px 12px; background: linear-gradient(to bottom, rgba(255,255,255,0) 0, #fff 105px); text-align: center; }
.blt-wall strong { display: block; color: var(--budgetic-ink); font-size: 19px; letter-spacing: -.01em; }
.blt-wall p { max-width: 520px; margin: 8px auto 16px !important; color: var(--budgetic-muted); font-size: 15px; }
.blt-cta { display: inline-block; padding: 12px 20px; border-radius: 10px; background: var(--budgetic-ink); color: #fff !important; font-size: 15px; font-weight: 700; text-decoration: none !important; }
.blt-cta:hover { background: #0e1f55; }
.blt-sub { display: block; margin-top: 10px; font-size: 13px; }
.blt-sub a { color: var(--budgetic-accent-dark) !important; }
.blt-count { margin: 0 !important; padding: 7px 12px; border: 1px solid var(--budgetic-line); border-bottom: 0; background: #fff; color: var(--budgetic-muted); font-size: 13px !important; }
/* Invitation */
.blt-modal { position: fixed; inset: 0; z-index: 10000; display: grid; place-items: center; padding: 16px; }
.blt-modal[hidden] { display: none; }
.blt-modal-backdrop { position: absolute; inset: 0; background: rgba(7, 19, 56, .45); }
.blt-modal-card { position: relative; width: min(440px, 100%); padding: 26px 26px 22px; border-radius: 16px; background: #fff; box-shadow: 0 24px 60px rgba(7, 19, 56, .25); text-align: left; }
.blt-modal-kicker { margin: 0 0 6px !important; color: var(--budgetic-accent-dark); font-size: 12px !important; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.blt-modal-title { margin: 0 0 10px !important; color: var(--budgetic-ink); font-size: 21px !important; font-weight: 650; line-height: 1.25; }
.blt-modal-card p { margin: 0 0 18px; color: #3d4a5c; font-size: 15px; line-height: 1.55; }
.blt-modal-card ul { margin: 0 0 18px !important; padding-left: 18px; color: #3d4a5c; font-size: 14px; }
.blt-modal-close { position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; border: 0; border-radius: 8px; background: none; color: var(--budgetic-muted); font-size: 20px; line-height: 1; }
.blt-modal-close:hover { background: #f1f3f6; }
body.blt-modal-open { overflow: hidden; }
@media (max-width: 720px) {
  .blt-toolbar { flex-direction: column; align-items: stretch; }
  .blt-actions { justify-content: space-between; }
  .blt-search { flex: 1; }
  .blt-search input { width: 100%; }
  .blt-wall { padding: 96px 16px 22px; }
}

.budgetic-leadtable .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.budgetic-leadtable td.blt-wrap { min-width: 110px; white-space: normal; }
.budgetic-leadtable[data-noun="fondations"] td:first-child { max-width: 240px; }
