/* Back-Office › Formules et accès (plans.js, owner 2026-12-04) */
.fx-wrap { overflow-x: auto; margin: 4px 0 12px; border: 1px solid var(--line); border-radius: 14px; scrollbar-width: thin; }
.fx-tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.fx-tbl th, .fx-tbl td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.fx-tbl tr:last-child > * { border-bottom: 0; }
.fx-tbl thead th { font-size: 12.5px; font-weight: 700; color: var(--muted); background: var(--panel-2); white-space: nowrap; text-align: center; }
.fx-tbl thead th:first-child, .fx-tbl tbody th { text-align: start; }
.fx-tbl tbody th { font-weight: 600; color: var(--text); min-width: 190px; white-space: normal; text-transform: none; letter-spacing: 0; font-size: 14px; }
.fx-tbl td { text-align: center; white-space: nowrap; font-weight: 700; width: 1%; }
.fx-tbl thead th:not(:first-child) { width: 1%; }
.fx-y svg { width: 18px; height: 18px; fill: none; stroke: #1f8a4c; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
html:not([data-theme="light"]).dt .fx-y svg { stroke: #4cc27f; }
.fx-0 { color: var(--muted); }
.fx-pro { display: inline-block; padding: 2px 9px; border-radius: 99px; background: var(--gold-soft); color: var(--gold); font-size: 12px; font-weight: 800; line-height: 1.5; }
.fx-legend { display: flex; align-items: baseline; gap: 8px; }
.fx-legend .fx-pro { flex: none; }
@media (max-width: 999px) {
  .fx-tbl { font-size: 13px; }
  .fx-tbl th, .fx-tbl td { padding: 9px 8px; }
  .fx-tbl tbody th { min-width: 150px; position: sticky; inset-inline-start: 0; background: var(--bg); z-index: 1; }
  .fx-tbl thead th:first-child { position: sticky; inset-inline-start: 0; z-index: 2; }
}

/* Sociétés › Rapport espace pour tous (spacedry.js, owner 2026-12-04) */
.sd-sub { font-weight: 800; color: var(--text); }
.sd-dom { color: var(--muted); font-size: 12px; }
.sd-big { margin: 0; font-size: 17px; }
.sd-big .sd-dom { font-size: 14px; }
.sd-sum2 { font-weight: 600; color: var(--muted); }

/* Finances › Règlements / Factures chauffeurs vides : design 1 (plans.js finWelcomeHtml), même esprit que .km-empty */
.fw-empty { text-align: center; padding: 28px 8px 8px; max-width: 430px; margin: 0; }
@media (max-width: 640px) { .fw-empty { margin: 0 auto; } }
.fw-ic { width: 64px; height: 64px; border-radius: 18px; margin: 0 auto; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold); }
.fw-ic svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.fw-empty h2 { margin: 18px 0 6px; font-size: 19px; text-wrap: balance; }
.fw-empty p { margin: 0 auto 22px; color: var(--muted); font-size: 14px; max-width: 34ch; }
.fw-empty .fw-free { margin-bottom: 18px; font-size: 13.5px; }
.fw-lnk { display: inline-block; margin-top: 14px; color: var(--gold); font-weight: 700; font-size: 14px; text-decoration: none; border-bottom: 1.5px solid transparent; transition: border-color .3s; }
@media (hover: hover) { .fw-lnk:hover { border-color: currentColor; } }
.fw-locked { margin-top: 8px; }
.fw-locked .fx-pro { margin-bottom: 6px; }
