/* Les comptes dans l'app : crédit, équipe, entreprises. Et la page de connexion, qui n'a que cette feuille. */
.yf-cdt-solde strong { display: block; margin: 8px 0 2px; font-family: var(--titre, "Golos Text", sans-serif); font-size: clamp(56px, 9vw, 96px); font-weight: 800; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.yf-cdt-packs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.yf-cdt-pack { display: grid; gap: 2px; padding: 16px 8px; border: 1px solid var(--line-15); border-radius: 16px; background: var(--soft); color: inherit; text-align: center; transition: background .2s, border-color .2s, transform .2s; }
.yf-cdt-pack:hover { border-color: var(--ink); transform: translateY(-1px); }
.yf-cdt-pack b { font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; }
.yf-cdt-pack small { font-size: 12px; color: var(--ink-66); }
.yf-cdt-ligne { display: flex; gap: 8px; align-items: center; }
.yf-cdt-ligne .yf-saisie { flex: 1; min-width: 0; }
.yf-cdt-l, .yf-cdt-hist { display: grid; gap: 10px; }
.yf-cdt-hist { max-height: 420px; overflow-y: auto; }
.yf-cdt-r { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; gap: 12px; align-items: center; font-size: 14px; }
.yf-cdt-r b, .yf-cdt-m b { font-variant-numeric: tabular-nums; }
.yf-cdt-n { display: grid; min-width: 0; font-weight: 600; font-size: 14px; }
.yf-cdt-n small { font-weight: 400; font-size: 12px; color: var(--ink-66); }
.yf-cdt-b { display: block; height: 7px; border-radius: 99px; background: var(--line-08); overflow: hidden; }
.yf-cdt-b i { display: block; height: 100%; border-radius: 99px; background: var(--ink); }
.yf-cdt-m { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding-bottom: 10px; border-bottom: 1px solid var(--line-08); }
.yf-cdt-m:last-child { border-bottom: 0; padding-bottom: 0; }
.yf-cdt-m b.plus { color: var(--ok-texte, #1c7a45); }

.yf-eqp-l { display: grid; margin-top: 8px; }
.yf-eqp-m { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line-08); }
.yf-eqp-m:last-child { border-bottom: 0; padding-bottom: 0; }
.yf-eqp-q { display: grid; min-width: 0; }
.yf-eqp-q b { font-size: 15px; }
.yf-eqp-q small { font-size: 12.5px; color: var(--ink-66); overflow-wrap: anywhere; }
.yf-eqp-seg button { padding: 6px 11px; font-size: 12.5px; }
.yf-eqp-p { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink-66); }
.yf-eqp-p .yf-saisie { width: 92px; padding: 6px 10px; font-size: 13px; }
.yf-eqp-a { display: flex; gap: 14px; justify-content: flex-end; }
.yf-eqp-lien { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line-08); }

.yf-acc-liste { display: grid; gap: 6px; }
.yf-acc-ligne { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border: 1px solid var(--line-10); border-radius: 14px; background: none; color: inherit; text-align: left; transition: background .2s; }
.yf-acc-ligne:hover { background: var(--line-08); }
.yf-acc-ligne[aria-current="true"] { background: var(--soft); }
.yf-acc-t { display: grid; min-width: 0; }
.yf-acc-t small { font-size: 12.5px; color: var(--ink-66); }

@media (max-width: 760px) {
  .yf-large > .yf-bento > .yf-b { grid-column: 1 / -1 !important; }
  .yf-eqp-m { grid-template-columns: minmax(0, 1fr); }
  .yf-eqp-seg { width: 100%; }
  .yf-eqp-seg button { flex: 1; padding-inline: 4px; }
  .yf-eqp-a { justify-content: flex-start; }
  .yf-cdt-r { grid-template-columns: minmax(0, 1fr) auto; }
  .yf-cdt-r .yf-cdt-b { grid-column: 1 / -1; grid-row: 2; }
  .yf-cdt-trois { grid-template-columns: minmax(0, 1fr); }
  .yf-cdt-ligne { flex-wrap: wrap; }
}

.yf-cdt-prix { display: flex; align-items: baseline; gap: 8px; margin-top: 8px; }
.yf-cdt-prix b { font-family: var(--titre, "Golos Text", sans-serif); font-size: 44px; font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.yf-cdt-prix span { color: var(--ink-66); font-size: 14px; }
.yf-cdt-trois { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 10px; }
.yf-cdt-trois strong { display: block; font-family: var(--titre, "Golos Text", sans-serif); font-size: clamp(28px, 4.5vw, 52px); font-weight: 800; letter-spacing: -.02em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.yf-cdt-trois small { display: block; margin-top: 4px; font-size: 13px; color: var(--ink-66); }
.yf-cdt-staff { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; }
.yf-cdt-staff label { display: grid; gap: 4px; }
.yf-cdt-staff .yf-saisie { width: 150px; }
.yf-haut-credit { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border-radius: 99px; color: inherit; font-size: 13.5px; text-decoration: none; font-variant-numeric: tabular-nums; transition: background .2s; }
.yf-haut-credit[hidden] { display: none; }
.yf-haut-credit:hover { background: var(--line-08); }
.yf-haut-credit .yf-i { width: 17px; height: 17px; }
.yf-haut-credit.bas { background: var(--red, #E5483B); color: #fff; }

body[data-niveau="lecture"] [data-a="nouveau"] { display: none; }

/* La page de connexion */
.cx { --ink: #111110; --paper: #F2F1EE; --soft: #F8F7F5; --card: #FFFFFF; --mute: rgba(17,17,16,.62); --line: rgba(17,17,16,.15); --ko: #B3261E;
  margin: 0; min-height: 100dvh; display: grid; place-items: center; padding: 24px 16px; box-sizing: border-box; background: var(--paper); color: var(--ink); font-family: "Radio Canada", system-ui, sans-serif; font-size: 16px; line-height: 1.45; -webkit-font-smoothing: antialiased; }
@media (prefers-color-scheme: dark) { .cx { --ink: #F2F1EE; --paper: #111110; --soft: #1D1D1B; --card: #1A1A18; --mute: rgba(242,241,238,.66); --line: rgba(242,241,238,.2); --ko: #FF8A80; } }
.cx *, .cx *::before { box-sizing: border-box; }
.cx-c { width: 100%; max-width: 400px; padding: 28px; border-radius: 28px; background: var(--card); }
.cx-c img { display: block; width: 44px; height: 44px; border-radius: 12px; margin-bottom: 18px; }
.cx h1 { margin: 0 0 6px; font-family: "Golos Text", system-ui, sans-serif; font-size: 28px; font-weight: 800; line-height: 1.12; letter-spacing: -.02em; }
.cx-s { margin: 0 0 20px; color: var(--mute); font-size: 15px; }
.cx label { display: grid; gap: 5px; margin-bottom: 14px; font-size: 13px; font-weight: 600; }
.cx input { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--soft); color: inherit; font: inherit; font-weight: 400; font-size: 16px; outline: 0; }
.cx input:focus { border-color: var(--ink); }
.cx input[readonly] { color: var(--mute); }
.cx-b { display: block; width: 100%; min-height: 48px; margin-top: 4px; padding: 0 18px; border: 0; border-radius: 99px; background: var(--ink); color: var(--paper); font: inherit; font-weight: 600; cursor: pointer; }
.cx-b:disabled { opacity: .55; cursor: default; }
.cx-mot { position: relative; display: block; }
.cx-mot input { padding-right: 84px; }
.cx-voir { position: absolute; top: 50%; right: 6px; transform: translateY(-50%); min-height: 36px; padding: 0 12px; border: 0; border-radius: 99px; background: none; color: var(--mute); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.cx-voir:hover, .cx-voir:focus-visible { color: var(--ink); }
.cx-maj { color: var(--ko); font-size: 13px; font-weight: 400; }
.cx-maj[hidden] { display: none; }
.cx-e { margin: 0 0 14px; color: var(--ko); font-size: 14px; }
.cx-b--second { margin-top: 8px; background: var(--soft); color: var(--ink); }
.cx-qr { width: 176px; aspect-ratio: 1; margin: 0 auto 14px; padding: 12px; border-radius: 16px; background: #FFF; border: 1px solid var(--line); }
.cx-qr svg { display: block; width: 100%; height: 100%; }
.cx-n.cx-cle { margin: 0 0 16px; }
.cx-cle b { color: var(--ink); font-size: 14px; letter-spacing: .04em; overflow-wrap: anywhere; }
.cx-codes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 0 14px; padding: 14px; border-radius: 14px; background: var(--soft); list-style: none; font-family: ui-monospace, Menlo, monospace; font-size: 14px; }
.cx-n { margin: 16px 0 0; color: var(--mute); font-size: 13px; }
.cx-l { background: none; border: 0; padding: 0; color: inherit; font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; }

/* L'espace d'habillage */
.yf-hab-f { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.yf-hab-logo { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 8px 0; }
.yf-hab-case { display: grid; place-items: center; width: 132px; height: 64px; border-radius: 12px; padding: 12px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }
.yf-hab-case img { display: block; max-width: 100%; max-height: 100%; }
.yf-hab-logo-t { flex: 1 1 120px; min-width: 0; }
.yf-hab-logo-t b, .yf-hab-logo-t small { display: block; }
.yf-hab-logo-t small { color: var(--ink-66); font-size: 13px; }
.yf-hab-cs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.yf-hab-c { display: flex; align-items: center; gap: 10px; min-width: 0; cursor: pointer; }
.yf-hab-c input { flex: none; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 12px; background: none; cursor: pointer; }
.yf-hab-c b, .yf-hab-c small { display: block; }
.yf-hab-c small { color: var(--ink-66); font-size: 12px; font-variant-numeric: tabular-nums; }
.yf-hab-depot { display: flex; align-items: center; justify-content: center; min-height: 120px; padding: 18px; border: 1.5px dashed var(--line-20); border-radius: 14px; text-align: center; cursor: pointer; }
.yf-hab-depot span { display: inline-flex; align-items: center; gap: 8px; }
.yf-hab-depot.is-sur { background: var(--m); color: var(--on-m); border-style: solid; }
@media (max-width: 640px) { .yf-hab-cs { grid-template-columns: minmax(0, 1fr); } }

/* Le démarrage d'un client */
.yf-dm { display: grid; gap: 14px; }
.yf-dm .yf-bento { margin: 0; }
.yf-dm-t { display: flex; align-items: center; gap: 12px; }
.yf-dm-t .yf-h2 { margin: 2px 0 0; }
.yf-dm-haut { display: flex; justify-content: space-between; gap: 18px; align-items: flex-end; }
.yf-dm-haut .yf-h2 { margin: 6px 0 4px; }
.yf-dm-haut p { margin: 0; opacity: .72; font-size: 14px; }
.yf-dm-haut strong { flex: none; font-family: var(--titre, "Golos Text", sans-serif); font-size: clamp(44px, 7vw, 72px); font-weight: 800; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.yf-dm-haut strong small { font-size: 15px; font-weight: 600; letter-spacing: 0; opacity: .72; }
.yf-dm-grille { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.yf-dm-tuile { display: grid; align-content: start; gap: 2px; min-height: 128px; padding: 14px; border-radius: 18px; background: var(--soft); color: inherit; text-decoration: none; transition: transform .15s; }
.yf-dm-tuile:hover { transform: translateY(-1px); }
.yf-dm-tuile b { margin-top: 10px; font-size: 16px; line-height: 1.2; }
.yf-dm-tuile small { font-size: 12.5px; line-height: 1.35; color: var(--ink-66); }
.yf-dm-signe { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-15); font-size: 13px; font-weight: 700; }
.yf-dm-signe svg { width: 16px; height: 16px; }
.yf-dm-tuile[data-etat="fait"] { background: #b9e3c6; color: #111110; }
.yf-dm-tuile[data-etat="fait"] small { color: rgba(17,17,16,.68); }
.yf-dm-tuile[data-etat="fait"] .yf-dm-signe { border-color: transparent; background: #111110; color: #b9e3c6; }
.yf-dm-tuile[data-etat="encours"] { background: #ffd0a9; color: #111110; }
.yf-dm-tuile[data-etat="encours"] small { color: rgba(17,17,16,.68); }
.yf-dm-tuile[data-etat="encours"] .yf-dm-signe { border-color: rgba(17,17,16,.4); }
.yf-dm-tuile[data-etat="sans"] { opacity: .5; }
.yf-dm-tuile[data-suite] { outline: 2px solid var(--ink); outline-offset: -2px; }
.yf-dm-col { display: grid; gap: 14px; align-content: start; }
.yf-dm-st { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.yf-dm-mail { margin: 12px 0 0; padding: 14px; border-radius: 12px; background: var(--paper); font: inherit; font-size: 14px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; max-height: 520px; overflow-y: auto; }
.yf-dm-ban { display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.yf-dm-ban p { margin: 0; font-size: 14.5px; }
.yf-dm-g { display: grid; gap: 0; }
.yf-dm-r { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) minmax(104px, auto); gap: 14px; align-items: center; padding: 11px 0; border-top: 1px solid var(--line-08); }
.yf-dm-r > :last-child { justify-self: end; }
.yf-dm-st + .yf-dm-r, .yf-h3 + .yf-dm-r { margin-top: 8px; border-top: 0; }
.yf-dm-n { display: grid; min-width: 0; }
.yf-dm-n b { font-size: 14px; }
.yf-dm-n small { font-size: 12.5px; color: var(--ink-66); }
.yf-dm-r[data-etat="demander"] .yf-dm-n small { color: #b4551b; }
.yf-dm-v { display: grid; gap: 2px; min-width: 0; font-size: 13.5px; overflow-wrap: anywhere; }
.yf-dm-v small { font-size: 12px; color: var(--ink-66); }
.yf-dm-ok { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #b9e3c6; color: #111110; justify-self: end; }
.yf-dm-ok svg { width: 15px; height: 15px; }
.yf-dm-fin { display: flex; gap: 8px; align-items: center; }
.yf-dm-sel { width: auto; min-width: 128px; padding-block: 7px; font-size: 13.5px; }
.yf-dm-pastille { display: inline-block; width: 10px; height: 10px; margin-right: 7px; border-radius: 50%; }
.yf-dm-comptes { margin: 8px 0 12px; padding-left: 18px; font-size: 14px; }
.yf-dm a.yf-acc-ligne { color: inherit; text-decoration: none; }
.yf-dm-versions summary { cursor: pointer; font-weight: 600; font-size: 14px; }
@media (max-width: 760px) {
  .yf-dm-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .yf-dm-r { grid-template-columns: minmax(0, 1fr) auto; }
  .yf-dm-v { grid-column: 1 / -1; grid-row: 2; }
  .yf-dm-fin { flex-direction: column; align-items: stretch; }
  .yf-dm-ban { flex-direction: column; align-items: stretch; }
}
/* L'équipe Folks voit toujours dans quel espace elle est, et comment en sortir. */
.yf-sa { display: inline-flex; flex: none; gap: 5px; align-items: center; margin-left: 8px; padding: 5px 11px 5px 7px; border-radius: 99px; background: #ffd0a9; color: #111110; font-size: 12px; font-weight: 700; line-height: 1.2; text-decoration: none; white-space: nowrap; }
.yf-sa .yf-i { width: 14px; height: 14px; }
@media (max-width: 1100px) { .yf-sa { padding: 6px; } .yf-sa span { display: none; } }

/* Le parcours de démarrage : des pochettes, comme les mois. */
.yf-dm-haut { padding: 2px 2px 0; }
.yf-dm-haut p { font-size: 14.5px; color: var(--ink-66); opacity: 1; }
.yf-dm-grille { grid-template-columns: repeat(auto-fill, minmax(min(168px, 44%), 1fr)); gap: 14px; }
.yf-cp.yf-cp--mois.yf-dm-cp { width: auto; padding: 0; }
.yf-dm-cp small { white-space: normal; line-height: 1.3; }
.yf-dm-rang { position: absolute; left: 4.5cqw; top: 4.5cqw; display: grid; place-items: center; width: 13cqw; height: 13cqw; border-radius: 50%; background: #111110; color: #FFFFFF; font: 800 6.4cqw/1 var(--font-title); }
.yf-dm-rang .yf-i, .yf-dm-rang svg { width: 62%; height: 62%; }
.yf-dm-cp[data-etat="sans"] { opacity: .45; }
.yf-dm-cp[data-suite] .yf-po { outline: 3px solid var(--ink); outline-offset: 3px; }
.yf-dm-cp[data-suite] small { color: var(--ink); font-weight: 600; }
