:root {
  --ink: #152033;
  --mute: #64748b;
  --bg: #f4fbf8;
  --panel: #fff;
  --line: #d8eee8;
  --accent: #0d9488;
  --accent-2: #0f766e;
  --accent-soft: #f0fdfa;
  --danger: #e11d48;
  --ok: #059669;
  --warn: #d97706;
  --z-fiche: 80;
  --z-modal: 90;
  --z-toast: 200;
  --font: Figtree, system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
}
html[dir="rtl"] body { font-family: var(--font); }
.sp-enter, .sp-dash { display: none; min-height: 100vh; }
html[data-view="boot"],
html[data-view="boot"] body {
  min-height: 100vh;
  overflow: hidden;
  background: var(--bg);
}
html[data-view="boot"] .sp-enter,
html[data-view="boot"] .sp-dash {
  display: none;
}
html[data-view="entrer"],
html[data-view="entrer"] body {
  min-height: 100dvh;
  height: auto;
  overflow-x: hidden;
  overflow-y: auto;
  background: #06241f;
}
html[data-view="entrer"] .sp-enter {
  display: block;
  min-height: 100dvh;
  height: auto;
  max-height: none;
  overflow: visible;
}
html[data-view="dash"] .sp-dash { display: flex; }
html[data-view="entrer"] .sp-enter .stage {
  min-height: 100dvh;
  height: auto;
  max-height: none;
  overflow: visible;
  padding: clamp(0.5rem, 2vh, 1.25rem) clamp(0.65rem, 2vw, 1rem);
  display: grid;
  place-items: center;
}
html[data-view="entrer"] .sp-enter .panel {
  width: min(56rem, 94vw);
  max-height: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: visible;
  padding: 0.5rem 1rem 0.75rem;
  text-align: start;
}
html[data-view="entrer"] .sp-enter .brand {
  margin-bottom: 0.65rem;
  gap: 0.55rem;
  flex-shrink: 0;
}
html[data-view="entrer"] .sp-enter .mark-wrap,
html[data-view="entrer"] .sp-enter .mark {
  width: 4.25rem;
  height: 4.25rem;
}
html[data-view="entrer"] .sp-enter .mark-ring {
  inset: -8px;
}
html[data-view="entrer"] .sp-enter .word {
  font-size: clamp(1rem, 2.6vw, 1.2rem);
  letter-spacing: -.02em;
}
html[data-view="entrer"] .sp-auth-shell {
  flex: 1 1 auto;
  width: 100%;
  min-height: min(26rem, calc(100dvh - 8.5rem));
  max-height: none;
  margin-top: 0;
  overflow: visible;
}
html[data-view="entrer"] .sp-auth-shell.is-reg {
  min-height: min(32rem, calc(100dvh - 8rem));
  max-height: none;
}
html[data-view="entrer"] .sp-auth-shell.is-reg.is-auth-code {
  min-height: min(36rem, calc(100dvh - 7.5rem));
  max-height: none;
}
html[data-view="entrer"] .sp-auth-form-pane {
  padding: 1rem 1.35rem 1.1rem;
  overflow: visible;
  align-items: center;
  justify-content: center;
}
html[data-view="entrer"] .sp-auth-form-reg {
  align-items: center;
  justify-content: center;
}
html[data-view="entrer"] .sp-auth-form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 22rem;
}
html[data-view="entrer"] .sp-auth-form h3 {
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
  text-align: center;
}
html[data-view="entrer"] .sp-auth-sub {
  font-size: 0.84rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
  text-align: center;
  overflow-wrap: anywhere;
}
html[data-view="entrer"] .sp-auth-form .sp-field {
  margin-bottom: 0.65rem;
  gap: 0.35rem;
}
html[data-view="entrer"] .sp-auth-form .sp-field label {
  font-size: 0.84rem;
}
html[data-view="entrer"] .sp-auth-form .sp-field input,
html[data-view="entrer"] .sp-pass-wrap .sp-pass-input {
  min-height: 2.75rem;
  padding: 0.65rem 0.85rem;
  font-size: 0.92rem;
}
html[data-view="entrer"] .sp-phone-combo {
  min-height: 2.75rem;
}
html[data-view="entrer"] .sp-phone-combo .sp-send-btn {
  padding: 0.65rem 0.85rem;
  font-size: 0.8rem;
}
html[data-view="entrer"] .sp-phone-digits {
  padding: 0.65rem 0.75rem;
  font-size: 0.92rem;
}
html[data-view="entrer"] .sp-tel-ops {
  margin-bottom: 0.45rem;
  gap: 0.4rem;
  justify-content: center;
}
html[data-view="entrer"] .sp-tel-op {
  width: 4.25rem;
  height: 2rem;
}
html[data-view="entrer"] .sp-auth-form .lib-btn-primary.sp-login-btn,
html[data-view="entrer"] .sp-auth-form .lib-btn-primary.sp-go-btn {
  min-height: 2.85rem;
  padding: 0.75rem 1rem;
  font-size: 0.92rem;
  margin-top: 0.35rem;
  flex-shrink: 0;
}
html[data-view="entrer"] .sp-pass-toggle .sp-eye-off[hidden],
html[data-view="entrer"] .sp-pass-toggle .sp-eye-on[hidden] {
  display: none;
}
html[data-view="entrer"] #sp-confirm-root,
html[data-view="entrer"] #sp-takeover-root {
  padding: clamp(0.65rem, 3vw, 1rem);
  align-content: center;
}
html[data-view="entrer"] #sp-confirm-root .box {
  width: min(28rem, 94vw);
  max-height: none;
  overflow: visible;
  padding: 1.15rem 1.25rem;
}
html[data-view="entrer"] #sp-takeover-root .box {
  width: min(56rem, 94vw);
  max-height: none;
  overflow: visible;
  padding: clamp(1rem, 3vw, 1.5rem) clamp(1rem, 3.5vw, 1.75rem);
}
html[data-view="entrer"] #sp-takeover-root .sp-actions,
html[data-view="entrer"] #sp-confirm-root .sp-actions {
  gap: 0.5rem;
}
.sp-enter-wait {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: none;
  place-items: center;
  padding: 1rem;
  background: rgba(2, 12, 10, .9);
}
.sp-enter-wait.on { display: grid; }
.sp-enter-wait-box {
  width: min(28rem, 94vw);
  text-align: center;
  color: #f3fffb;
}
.sp-enter-wait-title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.4;
}
.sp-enter-wait-track {
  height: .45rem;
  margin: 1.1rem 0 .55rem;
  border-radius: 999px;
  background: rgba(243, 255, 251, .14);
  overflow: hidden;
}
.sp-enter-wait-bar {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, #14b8a6, #5eead4);
}
.sp-enter-wait-pct {
  margin: 0;
  font-size: .92rem;
  font-weight: 800;
  letter-spacing: .04em;
  color: rgba(243, 255, 251, .82);
}
@media (max-height: 720px) {
  html[data-view="entrer"] .sp-enter .brand {
    margin-bottom: 0.4rem;
    gap: 0.35rem;
  }
  html[data-view="entrer"] .sp-enter .mark-wrap,
  html[data-view="entrer"] .sp-enter .mark {
    width: 3.5rem;
    height: 3.5rem;
  }
  html[data-view="entrer"] .sp-auth-form h3 {
    font-size: 1.15rem;
    margin-bottom: 0.2rem;
  }
  html[data-view="entrer"] .sp-auth-sub {
    font-size: 0.78rem;
    margin-bottom: 0.5rem;
  }
  html[data-view="entrer"] .sp-auth-form .sp-field {
    margin-bottom: 0.45rem;
  }
  html[data-view="entrer"] .sp-auth-form .sp-field input,
  html[data-view="entrer"] .sp-pass-wrap .sp-pass-input,
  html[data-view="entrer"] .sp-phone-combo {
    min-height: 2.5rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }
  html[data-view="entrer"] .sp-auth-form .lib-btn-primary.sp-login-btn,
  html[data-view="entrer"] .sp-auth-form .lib-btn-primary.sp-go-btn {
    min-height: 2.6rem;
    margin-top: 0.2rem;
  }
}
html[data-view="dash"],
html[data-view="dash"] body {
  height: auto;
  min-height: 100%;
  overflow: auto;
  color: var(--ink);
  background: var(--bg);
}
.sp-enter .panel {
  width: min(56rem, 94vw);
  padding: 1.5rem 1.35rem 1.65rem;
  text-align: start;
}
.sp-auth-shell {
  --sp-auth-slide: .65s cubic-bezier(.4, 0, .2, 1);
  position: relative;
  width: 100%;
  min-height: 30rem;
  margin-top: .35rem;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(243, 255, 251, .14);
  background: rgba(4, 25, 21, .55);
  box-shadow: 0 18px 48px rgba(0, 0, 0, .24);
}
.sp-auth-shell.is-reg {
  min-height: 40rem;
}
.sp-auth-shell.is-reg.is-auth-code {
  min-height: 48rem;
}
.sp-auth-form-pane {
  position: absolute;
  top: 0;
  height: 100%;
  width: 50%;
  display: flex;
  padding: 1.35rem 1.75rem 1.5rem;
  overflow: visible;
  transition: transform var(--sp-auth-slide), opacity var(--sp-auth-slide);
}
.sp-auth-form-login {
  align-items: center;
  justify-content: center;
}
.sp-auth-form-reg {
  align-items: flex-start;
  justify-content: flex-start;
}
.sp-auth-form-inner,
.sp-auth-form { width: 100%; max-width: 24rem; }
.sp-auth-form-login { left: 50%; z-index: 2; opacity: 1; }
.sp-auth-form-reg { left: 0; z-index: 1; opacity: 0; pointer-events: none; }
.sp-auth-shell.is-reg .sp-auth-form-login { transform: translateX(18%); opacity: 0; pointer-events: none; }
.sp-auth-shell.is-reg .sp-auth-form-reg { opacity: 1; pointer-events: auto; z-index: 5; }
.sp-auth-form h3 {
  margin: 0 0 .5rem;
  font-size: 1.55rem;
  font-weight: 800;
  color: #f3fffb;
}
.sp-auth-sub {
  margin: 0 0 1rem;
  font-size: .95rem;
  line-height: 1.45;
  color: rgba(243, 255, 251, .78);
}
.sp-auth-form .sp-field {
  gap: .45rem;
  margin: 0 0 .85rem;
}
.sp-auth-shell.is-reg .sp-auth-sub {
  margin-bottom: .85rem;
}
.sp-auth-form .sp-field label {
  font-size: .92rem;
  font-weight: 750;
  color: rgba(243, 255, 251, .88);
}
.sp-auth-form .sp-field input {
  padding: .85rem 1rem;
  font-size: 1rem;
  min-height: 3rem;
  border-radius: 12px;
}
.sp-pass-wrap {
  position: relative;
  display: flex;
  align-items: stretch;
}
.sp-pass-wrap .sp-pass-input {
  width: 100%;
  padding-inline-end: 3rem;
  border: 1px solid rgba(243, 255, 251, .22);
  background: rgba(4, 25, 21, .5);
  color: #f3fffb;
  font: inherit;
}
.sp-pass-wrap:focus-within .sp-pass-input {
  border-color: rgba(20, 184, 166, .65);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, .18);
  outline: none;
}
.sp-pass-toggle {
  appearance: none;
  cursor: pointer;
  position: absolute;
  inset-inline-end: .35rem;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: rgba(243, 255, 251, .72);
  padding: .35rem;
  line-height: 0;
}
.sp-pass-toggle:hover { color: #99f6e4; }
.sp-auth-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  flex-wrap: wrap;
  margin: 0 0 .35rem;
  width: 100%;
}
.sp-auth-title-row h3 { margin: 0; }
.sp-label-row {
  display: flex;
  align-items: center;
  gap: .35rem;
  flex-wrap: wrap;
  width: 100%;
}
.sp-auth-form .sp-label-row label {
  margin: 0;
}
.sp-auth-form .sp-auth-tip .sp-tip-q {
  background: rgba(20, 184, 166, .92);
  color: #fff;
  flex-shrink: 0;
}
.sp-auth-form .sp-auth-tip .sp-tip-bubble {
  position: static;
  display: none;
  width: 100%;
  flex: 1 1 100%;
  margin: 0;
  inset: auto;
  z-index: auto;
  box-sizing: border-box;
}
.sp-auth-form .sp-auth-tip .sp-tip-bubble.on {
  display: block;
}
.sp-auth-form .sp-auth-tip:has(.sp-tip-bubble.on) {
  flex: 1 1 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: .35rem;
  row-gap: .3rem;
}
.sp-auth-form .sp-auth-title-row .sp-auth-tip:has(.sp-tip-bubble.on) {
  justify-content: center;
}
html[data-view="entrer"] .sp-auth-form .lib-btn-primary.sp-login-btn,
html[data-view="entrer"] .sp-auth-form .lib-btn-primary.sp-go-btn {
  white-space: normal;
  line-height: 1.25;
  text-align: center;
}
html[data-view="entrer"] .sp-pass-wrap .sp-pass-input {
  padding-inline-end: 3.25rem;
}
html[data-view="entrer"] .sp-pass-toggle {
  color: #0f766e;
  background: rgba(255, 255, 255, .88);
  border-radius: 8px;
  z-index: 2;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .12);
}
html[data-view="entrer"] .sp-pass-toggle:hover {
  color: #0d9488;
  background: #fff;
}
html[data-view="entrer"] .sp-pass-wrap .sp-pass-input:-webkit-autofill,
html[data-view="entrer"] .sp-pass-wrap .sp-pass-input:-webkit-autofill:hover,
html[data-view="entrer"] .sp-pass-wrap .sp-pass-input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px rgba(4, 25, 21, .55) inset;
  -webkit-text-fill-color: #f3fffb;
  caret-color: #f3fffb;
}
.sp-auth-form .lib-btn-primary.sp-login-btn {
  width: 100%;
  margin-top: .35rem;
  min-height: 3.1rem;
  padding: .9rem 1.2rem;
  font-size: 1rem;
  font-weight: 800;
}
.sp-phone-combo-plain .sp-phone-core { width: 100%; }
.sp-tel-ops {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin: 0 0 .65rem;
}
.sp-tel-op {
  appearance: none;
  cursor: pointer;
  border: 2px solid rgba(243, 255, 251, .18);
  background: transparent;
  border-radius: 999px;
  padding: 0;
  line-height: 0;
  overflow: hidden;
  width: 4.6rem;
  height: 2.15rem;
  flex: none;
  transition: border-color .2s, box-shadow .2s;
}
.sp-tel-op img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 999px;
}
.sp-tel-op.is-on,
.sp-tel-op[aria-pressed="true"] {
  border-color: #14b8a6;
  background: transparent;
  box-shadow: 0 0 0 3px rgba(20, 184, 166, .16);
}
.sp-phone-combo {
  display: flex;
  align-items: stretch;
  min-height: 3.1rem;
  border: 1px solid rgba(243, 255, 251, .22);
  border-radius: 12px;
  background: rgba(4, 25, 21, .5);
  overflow: hidden;
}
.sp-phone-combo:focus-within {
  border-color: rgba(20, 184, 166, .65);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, .18);
}
.sp-phone-core {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: stretch;
}
.sp-phone-prefix {
  flex: none;
  display: flex;
  align-items: center;
  padding: 0 .75rem;
  font-weight: 800;
  font-size: 1.05rem;
  color: #f3fffb;
  border-inline-end: 1px solid rgba(243, 255, 251, .12);
  letter-spacing: .04em;
}
.sp-phone-digits {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  border: 0;
  background: transparent;
  padding: .85rem .75rem;
  color: #f3fffb;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .06em;
}
.sp-phone-digits:focus { outline: none; }
.sp-phone-combo .sp-send-btn {
  appearance: none;
  cursor: pointer;
  flex: none;
  align-self: stretch;
  margin: 0;
  min-height: 0;
  border: 0;
  border-radius: 0;
  border-inline-start: 1px solid rgba(243, 255, 251, .12);
  padding: .85rem .95rem;
  font: inherit;
  font-size: .84rem;
  font-weight: 800;
  line-height: 1.15;
  white-space: nowrap;
  background: transparent;
  color: #5eead4;
}
.sp-phone-combo .sp-send-btn:hover {
  background: rgba(20, 184, 166, .12);
  color: #99f6e4;
}
.sp-auth-form .lib-btn-primary.sp-go-btn {
  width: 100%;
  margin-top: .35rem;
  min-height: 3.1rem;
  padding: .9rem 1.2rem;
  font-size: 1rem;
  font-weight: 800;
  white-space: normal;
  line-height: 1.25;
  text-align: center;
}
.sp-auth-form .sp-otp-wrap.is-off {
  display: none;
}
.sp-auth-form .sp-go-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.sp-auth-overlay-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
  z-index: 20;
  transition: transform var(--sp-auth-slide);
  border-radius: 16px 36% 36% 16px / 16px 14% 14% 16px;
}
.sp-auth-shell.is-reg .sp-auth-overlay-wrap {
  transform: translateX(100%);
  border-radius: 36% 16px 16px 36% / 14% 16px 16px 14%;
}
.sp-auth-overlay {
  position: relative;
  left: 0;
  width: 200%;
  height: 100%;
  display: flex;
  color: #042f2e;
  transition: transform var(--sp-auth-slide);
  background: linear-gradient(135deg, #14b8a6, #5eead4 42%, #0f766e);
}
.sp-auth-shell.is-reg .sp-auth-overlay { transform: translateX(-50%); }
.sp-auth-overlay-panel {
  width: 50%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
  gap: .65rem;
}
.sp-auth-overlay-panel h4 {
  margin: 0;
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 800;
}
.sp-auth-overlay-panel p {
  margin: 0;
  max-width: 16rem;
  font-size: .95rem;
  line-height: 1.45;
  opacity: .92;
}
.sp-auth-outline {
  appearance: none;
  cursor: pointer;
  margin-top: .35rem;
  border: 2px solid rgba(4, 47, 46, .35);
  background: rgba(255, 255, 255, .22);
  color: #042f2e;
  font: inherit;
  font-weight: 800;
  font-size: .88rem;
  letter-spacing: .03em;
  text-transform: uppercase;
  padding: .7rem 1.25rem;
  border-radius: 999px;
}
.sp-auth-outline:hover { background: rgba(255, 255, 255, .35); }
html[dir="rtl"] .sp-enter .panel { text-align: start; }
html[dir="rtl"] .sp-phone-combo { flex-direction: row-reverse; }
html[dir="rtl"] .sp-phone-core { flex-direction: row-reverse; }
html[dir="rtl"] .sp-phone-prefix { border-inline-end: 0; border-inline-start: 1px solid rgba(243, 255, 251, .12); }
html[dir="rtl"] .sp-phone-combo .sp-send-btn { border-inline-start: 0; border-inline-end: 1px solid rgba(243, 255, 251, .12); }
@media (max-width: 900px) {
  .sp-enter .panel { width: min(56rem, 94vw); }
  .sp-auth-shell { min-height: 36rem; }
  .sp-auth-shell.is-reg { min-height: 58rem; }
  .sp-auth-shell.is-reg.is-auth-code { min-height: 66rem; }
  .sp-auth-form { max-width: none; }
  .sp-auth-form-pane { width: 100%; height: 56%; padding: 1.15rem 1.1rem 1.25rem; overflow: visible; }
  .sp-auth-shell.is-reg .sp-auth-form-pane { height: 64%; }
  .sp-auth-form-login { left: 0; top: 44%; }
  .sp-auth-form-reg { left: 0; top: 0; }
  .sp-auth-shell.is-reg .sp-auth-form-login { transform: translateY(10%); }
  .sp-auth-overlay-wrap {
    width: 100%;
    height: 44%;
    border-radius: 16px 16px 38% 38% / 16px 16px 14% 14%;
  }
  .sp-auth-shell.is-reg .sp-auth-overlay-wrap {
    transform: translateY(127%);
    border-radius: 38% 38% 16px 16px / 14% 14% 16px 16px;
  }
  html[data-view="entrer"] .sp-enter .stage {
    padding: 0.35rem 0.65rem;
    place-items: stretch;
    align-content: center;
  }
  html[data-view="entrer"] .sp-enter .panel {
    width: 100%;
    max-width: min(56rem, 94vw);
    margin: 0 auto;
    height: auto;
    min-height: 0;
    max-height: none;
    justify-content: flex-start;
    padding: 0.25rem 0.65rem 0.5rem;
  }
  html[data-view="entrer"] .sp-enter .brand {
    margin-bottom: 0.35rem;
    gap: 0.35rem;
  }
  html[data-view="entrer"] .sp-enter .mark-wrap,
  html[data-view="entrer"] .sp-enter .mark {
    width: 3.25rem;
    height: 3.25rem;
  }
  html[data-view="entrer"] .sp-enter .word {
    font-size: 0.88rem;
  }
  html[data-view="entrer"] .sp-auth-shell,
  html[data-view="entrer"] .sp-auth-shell.is-reg,
  html[data-view="entrer"] .sp-auth-shell.is-reg.is-auth-code {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    max-height: none;
    height: auto;
    overflow: visible;
  }
  html[data-view="entrer"] .sp-auth-form-pane {
    position: relative;
    width: 100%;
    height: auto;
    left: 0;
    top: 0;
    flex: 1 1 auto;
    min-height: 0;
    padding: 0.5rem 0.75rem;
    overflow: visible;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    align-items: center;
    justify-content: center;
  }
  html[data-view="entrer"] .sp-auth-shell[data-mode="login"] .sp-auth-form-reg,
  html[data-view="entrer"] .sp-auth-shell[data-mode="reg"] .sp-auth-form-login {
    display: none;
  }
  html[data-view="entrer"] .sp-auth-shell[data-mode="login"] .sp-auth-form-login,
  html[data-view="entrer"] .sp-auth-shell[data-mode="reg"] .sp-auth-form-reg {
    display: flex;
    z-index: 2;
  }
  html[data-view="entrer"] .sp-auth-form {
    width: 100%;
    max-width: none;
  }
  html[data-view="entrer"] .sp-auth-form h3 {
    font-size: 1.2rem;
  }
  html[data-view="entrer"] .sp-auth-sub {
    font-size: 0.8rem;
    margin-bottom: 0.55rem;
  }
  html[data-view="entrer"] .sp-auth-form .sp-field {
    margin-bottom: 0.5rem;
  }
  html[data-view="entrer"] .sp-tel-ops {
    justify-content: center;
  }
  html[data-view="entrer"] .sp-tel-op {
    width: 3.85rem;
    height: 1.85rem;
  }
  html[data-view="entrer"] .sp-auth-overlay-wrap {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 5.25rem;
    flex: 0 0 auto;
    transform: none;
    margin-top: 0.35rem;
    border-radius: 14px;
    overflow: hidden;
  }
  html[data-view="entrer"] .sp-auth-shell.is-reg .sp-auth-overlay-wrap {
    transform: none;
    border-radius: 14px;
  }
  html[data-view="entrer"] .sp-auth-overlay {
    width: 200%;
    height: auto;
    min-height: 5.25rem;
  }
  html[data-view="entrer"] .sp-auth-overlay-panel {
    padding: 0.75rem 0.85rem;
    gap: 0.4rem;
  }
  html[data-view="entrer"] .sp-auth-overlay-panel h4 {
    font-size: 1rem;
  }
  html[data-view="entrer"] .sp-auth-overlay-panel p {
    font-size: 0.78rem;
    max-width: none;
  }
  html[data-view="entrer"] .sp-auth-outline {
    padding: 0.55rem 1rem;
    font-size: 0.8rem;
  }
  html[data-view="entrer"] #sp-takeover-root .sp-actions,
  html[data-view="entrer"] #sp-confirm-root .sp-actions {
    flex-direction: column;
    width: 100%;
  }
  html[data-view="entrer"] #sp-takeover-root .sp-actions .lib-btn,
  html[data-view="entrer"] #sp-confirm-root .sp-actions .lib-btn {
    width: 100%;
    justify-content: center;
  }
  html[data-view="entrer"] .sp-enter-wait-box {
    width: min(28rem, 92vw);
  }
}
.sp-how {
  margin: 0 0 1rem;
  padding: 0 0 0 1.1rem;
  color: rgba(243,255,251,.78);
  font-size: .82rem;
  line-height: 1.45;
}
html[dir="rtl"] .sp-how { padding: 0 1.1rem 0 0; }
.sp-how li { margin: 0 0 .35rem; }
.sp-enter .panel h1 {
  margin: .4rem 0 .35rem;
  font-size: 1.35rem;
  font-weight: 800;
}
.sp-enter .lede { margin: 0 0 1rem; color: var(--muted, rgba(243,255,251,.72)); font-size: .92rem; line-height: 1.45; }
.sp-hosts { display: flex; gap: .4rem; flex-wrap: wrap; margin: 0 0 1rem; }
.sp-hosts button {
  appearance: none; cursor: pointer; border: 1px solid rgba(243,255,251,.2);
  background: rgba(4,25,21,.45); color: #f3fffb; font: inherit; font-weight: 700; font-size: .78rem;
  padding: .35rem .7rem; border-radius: 999px;
}
.sp-hosts button.is-on { background: #14b8a6; border-color: transparent; color: #042f2e; }
.sp-field { display: flex; flex-direction: column; gap: .3rem; margin: 0 0 .75rem; }
.sp-field label { font-size: .78rem; font-weight: 750; color: rgba(243,255,251,.8); }
.sp-field input {
  border: 1px solid rgba(243,255,251,.22); border-radius: 10px; padding: .65rem .8rem;
  background: rgba(4,25,21,.5); color: #f3fffb; font: inherit;
}
.sp-enter .row { display: flex; gap: .5rem; flex-wrap: wrap; }
.sp-guard {
  margin: 1rem 0 0; padding: .75rem .85rem; border-radius: 12px;
  background: rgba(4,25,21,.4); border: 1px solid rgba(212,181,106,.35);
  color: #f3fffb; font-size: .8rem; line-height: 1.4;
}
.sp-guard b { display: block; margin-bottom: .25rem; color: #d4b56a; }
.sp-lang {
  position: absolute; z-index: 3; top: 1rem; inset-inline-end: 1rem;
}
.sp-lang button {
  appearance: none; cursor: pointer; border: 1px solid rgba(243,255,251,.25);
  background: rgba(4,25,21,.5); color: #f3fffb; font: inherit; font-weight: 800;
  padding: .35rem .7rem; border-radius: 999px;
}
html[data-view="dash"] .sp-lang { top: .7rem; }
html[data-view="dash"] .sp-lang button {
  border-color: var(--line); background: var(--panel); color: var(--ink);
}
.sp-dash { min-height: 100vh; }
.sp-side {
  width: 15.5rem; flex: none; padding: 1rem .85rem;
  background: #ecf8f4; border-inline-end: 1px solid var(--line);
  display: flex; flex-direction: column; gap: .35rem;
}
.sp-side-head { margin: 0 .35rem .85rem; padding-bottom: .55rem; border-bottom: 1px solid var(--line); }
.sp-side .brand { font-weight: 800; font-size: .95rem; margin: 0 0 .2rem; color: var(--accent-2); }
.sp-side-name { margin: 0; font-size: .88rem; font-weight: 600; color: var(--ink); line-height: 1.35; word-break: break-word; }
.sp-side .nav-btn {
  appearance: none; cursor: pointer; border: 0; background: transparent;
  text-align: start; font: inherit; font-weight: 700; color: var(--mute);
  padding: .55rem .7rem; border-radius: 10px;
}
.sp-side .nav-btn.is-on { background: #fff; color: var(--accent-2); box-shadow: 0 4px 14px rgba(13,148,136,.1); }
.sp-main { flex: 1; padding: 1.25rem 1.4rem 2rem; min-width: 0; }
.sp-main h1 { margin: 0 0 .35rem; font-size: 1.45rem; }
.sp-main .lead { margin: 0 0 1rem; color: var(--mute); font-size: .92rem; }
.sp-main .hint { margin: -.5rem 0 1rem; color: var(--mute); font-size: .84rem; line-height: 1.45; }
.sp-grid { display: grid; gap: .75rem; align-items: start; }
@media (min-width: 800px) { .sp-grid { grid-template-columns: 1fr 1fr; } }
.sp-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px;
  padding: 1rem 1.05rem; display: flex; flex-direction: column; gap: .35rem;
}
.sp-card .k { margin: 0; font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--mute); }
.sp-vend-rank .k { display: flex; align-items: center; gap: .35rem; }
.sp-vend-card {
  display: grid; grid-template-columns: 5.6rem 1fr; gap: .85rem 1rem; align-items: center;
  cursor: pointer; overflow: visible;
}
.sp-vend-card:hover, .sp-vend-card:focus-visible, .sp-vend-card:has(.sp-tip-bubble.on) {
  border-color: var(--accent); box-shadow: 0 0 0 2px rgba(13,148,136,.18); outline: none; z-index: 4;
}
.sp-vend-card img {
  width: 5.6rem; height: 5.6rem; object-fit: cover; border-radius: 12px;
}
.sp-vend-card .k, .sp-vend-card .meta, .sp-vend-card .sp-da {
  display: flex; align-items: center; gap: .35rem; flex-wrap: wrap;
}
#sp-vend-dlg-root {
  position: fixed; inset: 0; z-index: var(--z-fiche); display: none;
  place-items: center; padding: 1.25rem; background: rgba(21,32,51,.52);
}
#sp-vend-dlg-root.on { display: grid; }
.sp-vend-dlg {
  position: relative; width: min(56rem, 94vw); max-height: 94vh; overflow: auto;
  background: #fff; border-radius: 16px; padding: 1.6rem 1.9rem 1.4rem;
  box-shadow: 0 28px 64px rgba(21,32,51,.3);
}
.sp-vend-dlg .lab {
  display: flex; align-items: center; gap: .35rem; margin: .85rem 0 0;
  font-size: .78rem; font-weight: 700; color: var(--mute);
}
.sp-vend-dlg .lab:first-child { margin-top: 0; }
.sp-vend-dlg .v { margin: .15rem 0 0; font-weight: 800; }
.sp-vend-dlg .n { margin: .15rem 0 0; font-size: 1.55rem; font-weight: 800; color: var(--accent-2); }
.sp-vend-dlg .s { margin: .15rem 0 0; font-weight: 700; }
.sp-card .v { margin: 0; font-weight: 800; }
.sp-card .meta { margin: 0; color: var(--mute); font-size: .86rem; }
.sp-actions { display: flex; gap: .45rem; flex-wrap: wrap; margin-top: .5rem; }
.sp-pill {
  display: inline-flex; align-items: center; font-size: .75rem; font-weight: 800;
  padding: .2rem .55rem; border-radius: 999px; background: var(--accent-soft); color: var(--accent-2);
}
.sp-pill.warn { background: #fff7ed; color: var(--warn); }
.sp-pill.ok { background: #ecfdf5; color: var(--ok); }
.sp-page { display: none; }
.sp-page.is-on { display: block; }
.sp-sess dl { display: grid; grid-template-columns: 8rem 1fr; gap: .4rem .75rem; margin: 0; }
.sp-sess dt { color: var(--mute); font-size: .8rem; font-weight: 750; }
.sp-sess dd { margin: 0; font-weight: 750; }
#sp-toast {
  position: fixed; top: 1rem; inset-inline-end: 1rem; z-index: var(--z-toast);
  background: #fff; color: #152033; padding: .65rem 1rem; border-radius: 10px;
  font-weight: 700; font-size: .86rem; transform: translateX(120%); pointer-events: none;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .22);
  border: 1px solid rgba(21, 32, 51, .08);
}
html[dir="rtl"] #sp-toast { transform: translateX(-120%); }
#sp-toast.on { transform: translateX(0); }
#sp-confirm-root {
  position: fixed; inset: 0; z-index: var(--z-modal); display: none;
  place-items: center; background: rgba(15,23,42,.45); padding: 1rem;
}
#sp-confirm-root.on { display: grid; }
#sp-takeover-root {
  display: none;
  position: fixed;
  inset: 0;
  z-index: var(--cd-z-modal, 120);
  place-items: center;
  padding: 1rem;
  background: rgba(2, 12, 10, .72);
}
#sp-takeover-root.on { display: grid; }
#sp-takeover-root .box {
  width: min(56rem, 94vw);
  padding: 1.5rem 1.75rem;
  border-radius: 16px;
  background: #0b1f1a;
  border: 1px solid rgba(243, 255, 251, .14);
  color: #f3fffb;
}
#sp-takeover-root .sp-takeover-otp.is-off { display: none; }
#sp-confirm-root .box {
  background: #fff; border-radius: 16px; padding: 1.2rem 1.25rem; width: min(22rem, 100%);
  box-shadow: 0 20px 50px rgba(15,23,42,.2);
}
#sp-gate-wiz-root {
  position: fixed; inset: 0; z-index: var(--z-modal); display: none;
  place-items: center; background: rgba(15,23,42,.45); padding: 1rem;
}
#sp-gate-wiz-root.on { display: grid; }
#sp-meta-link-root,
#mb-meta-link-root {
  position: fixed; inset: 0; z-index: var(--z-modal); display: none;
  place-items: center; background: rgba(15,23,42,.45); padding: 1rem;
}
#sp-meta-link-root.on,
#mb-meta-link-root.on { display: grid; }
#sp-meta-link-root .box,
#mb-meta-link-root .box {
  background: #fff; border-radius: 16px; padding: 1.5rem 1.75rem; width: min(48rem, 94vw);
  max-height: 94vh; overflow: auto;
  box-shadow: 0 20px 50px rgba(15,23,42,.2);
}
#sp-gate-wiz-root .box {
  background: #fff; border-radius: 16px; padding: 1.5rem 1.75rem; width: min(48rem, 94vw);
  max-height: 94vh; overflow: auto;
  box-shadow: 0 20px 50px rgba(15,23,42,.2);
}
#sp-gate-memo-root {
  position: fixed; inset: 0; z-index: 91; display: none;
  place-items: center; background: rgba(15,23,42,.45); padding: 1rem;
}
#sp-gate-memo-root.on { display: grid; }
#sp-gate-memo-root .box {
  background: #fff; border-radius: 16px; padding: 1.6rem 1.9rem 1.4rem; width: min(56rem, 94vw);
  max-height: 94vh; overflow: hidden;
  box-shadow: 0 20px 50px rgba(15,23,42,.2);
}
.sp-pay-dlg-head {
  display: flex; align-items: center; gap: .75rem; margin: 0 0 .7rem;
}
.sp-pay-dlg-head img { width: 2.6rem; height: 2.6rem; object-fit: contain; }
.sp-pay-dlg-head .sp-sec { margin: 0; }
.sp-pay-dlg-head .meta { margin: .15rem 0 0; }
.sp-pay-dlg-foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem;
  margin: .9rem 0 0;
}
#sp-gw-fields { margin: .65rem 0; }
#sp-gw-fields .sp-pay-search { margin: 0 0 .55rem; }
#sp-gw-fields input { width: 100%; min-width: 0; }
#sp-gw-letter {
  display: block; width: 100%; min-height: 18rem; height: auto;
  margin: .75rem 0 0; padding: 1rem 1.15rem; border: 1px solid var(--line); border-radius: 12px;
  font: inherit; font-size: 1rem; line-height: 1.5; resize: none; overflow: hidden;
  field-sizing: content;
}
#sp-gw-contact { margin: .45rem 0 .55rem; font-size: .82rem; }
.sp-gw-contact-lab { margin: 0 0 .35rem; font-weight: 800; color: var(--mute); }
.sp-gw-contact-row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .35rem;
  margin: 0 0 .3rem;
}
.sp-gw-contact-row a { font-weight: 750; color: var(--accent-2); }
.sp-gate-board {
  display: grid; gap: .75rem; margin: 0 0 1.1rem;
}
.sp-gate-card { cursor: pointer; text-align: start; }
.sp-gate-card.is-on { border-color: var(--accent); box-shadow: 0 0 0 2px rgba(13,148,136,.18); }
.sp-gate-top { display: flex; align-items: center; gap: .7rem; margin: 0 0 .45rem; }
.sp-gate-top img { width: 2.4rem; height: 2.4rem; object-fit: contain; }
.sp-gate-badges { display: flex; flex-wrap: wrap; gap: .3rem; margin: .35rem 0 .2rem; }
.sp-gate-badge {
  font-size: .68rem; font-weight: 800; padding: .15rem .45rem; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent-2);
}
.sp-gate-badge.is-ok { background: #ecfdf5; color: var(--ok); }
.sp-gate-badge.is-wait { background: #fff7ed; color: var(--warn); }
@media (min-width: 800px) { .sp-gate-board { grid-template-columns: 1fr 1fr; } }
.sp-health {
  display: flex; align-items: center; gap: .45rem;
  margin: .2rem 0 0; font-weight: 800;
}
.sp-health .dot {
  width: .7rem; height: .7rem; border-radius: 50%; background: #d1d5db;
}
.sp-health.is-ok { color: var(--ok); }
.sp-health.is-ok .dot { background: var(--ok); }
.sp-health.is-warn { color: var(--warn); }
.sp-health.is-warn .dot { background: var(--warn); }
.sp-health.is-down { color: var(--danger); }
.sp-health.is-down .dot { background: var(--danger); }
.sp-health.is-off, .sp-health.is-idle { color: var(--mute); }
.sp-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .55rem;
  margin: 0 0 1.1rem;
}
.sp-kpi {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: .7rem .8rem;
}
.sp-kpi .k { margin: 0; font-size: .68rem; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; color: var(--mute); }
.sp-kpi .n { margin: .2rem 0 0; font-size: 1.35rem; font-weight: 800; color: var(--accent-2); }
.sp-da { margin: 0; font-weight: 800; color: var(--accent-2); }
.sp-devise { display: flex; gap: .4rem; flex-wrap: wrap; margin: 0 0 1rem; }
.sp-devise button {
  appearance: none; cursor: pointer; border: 1px solid var(--line);
  background: var(--panel); color: var(--ink); font: inherit; font-weight: 800; font-size: .82rem;
  padding: .4rem .85rem; border-radius: 999px;
}
.sp-devise button.is-on { background: var(--accent); border-color: transparent; color: #fff; }
.sp-rate {
  display: flex; flex-wrap: wrap; align-items: flex-end; gap: .75rem 1rem;
  margin: 0 0 1rem;
}
.sp-rate-field { display: flex; flex-direction: column; gap: .3rem; }
.sp-rate-field label { font-size: .75rem; font-weight: 800; color: var(--mute); }
.sp-rate-field input {
  width: 8rem; border: 1px solid var(--line); border-radius: 10px;
  padding: .65rem .8rem; font: inherit; font-weight: 800;
}
.sp-rate-one {
  margin: 0; font-weight: 800; font-size: 1.25rem; padding-bottom: .35rem;
}
.sp-rate-both { margin: 0 0 .35rem; font-weight: 750; color: var(--ink); }
.sp-rate-recap { font-weight: 750; margin: 0 0 1rem; color: var(--accent-2); }
.sp-fiche b.sp-da { font-size: 1.05rem; }
.sp-grid-3 { grid-template-columns: 1fr; }
@media (min-width: 900px) { .sp-grid-3 { grid-template-columns: 1fr 1fr 1fr; } }
.sp-card-wide { grid-column: 1 / -1; }
.sp-card-click { cursor: pointer; }
.sp-card-click:hover { border-color: #99d5cc; box-shadow: 0 8px 24px rgba(13,148,136,.08); }
.sp-pay-wrap { max-width: 60rem; margin: 0 auto; }
.sp-pay-bar {
  display: flex; flex-wrap: wrap; gap: .7rem 1rem;
  align-items: flex-end; margin: 0 0 .85rem;
}
.sp-pay-search {
  display: flex; flex-direction: column; gap: .3rem;
  font-size: .75rem; font-weight: 800; color: var(--mute);
}
.sp-pay-search input {
  min-width: 12rem; border: 1px solid var(--line); border-radius: 10px;
  padding: .55rem .75rem; font: inherit; font-weight: 700; color: var(--ink); background: var(--panel);
}
.sp-pay-filt { display: flex; flex-wrap: wrap; gap: .35rem; }
.sp-pay-filt button {
  appearance: none; cursor: pointer; border: 1px solid var(--line);
  background: var(--panel); color: var(--ink); font: inherit; font-weight: 800; font-size: .78rem;
  padding: .38rem .75rem; border-radius: 999px;
}
.sp-pay-filt button.is-on { background: var(--accent); border-color: transparent; color: #fff; }
.sp-pay-head, .sp-pay-row {
  display: grid;
  grid-template-columns: minmax(6.5rem, .9fr) minmax(7rem, 1fr) minmax(14rem, 1.6fr) minmax(5.5rem, .8fr);
  gap: .55rem; align-items: center;
}
.sp-pay-head .money-h,
.sp-pay-row .money {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-width: 0;
  width: 80%;
  margin-inline-end: 20%;
}
.sp-pay-head .money-h span:first-child,
.sp-pay-row .da {
  display: flex; align-items: center; justify-content: flex-end;
  padding-inline-end: .8rem;
  border-inline-end: 1px solid var(--line);
}
.sp-pay-head .money-h span:last-child,
.sp-pay-row .fx {
  display: flex; align-items: center; justify-content: flex-start;
  padding-inline-start: .8rem;
  border: 0;
}
.sp-pay-head {
  padding: .35rem .85rem .5rem;
  font-size: .68rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--mute);
}
.sp-pay-list { display: flex; flex-direction: column; gap: .4rem; }
.sp-pay-row {
  appearance: none; cursor: pointer; width: 100%;
  border: 1px solid var(--line); background: var(--panel); color: inherit;
  font: inherit; text-align: start;
  padding: .75rem .85rem; border-radius: 12px;
}
.sp-pay-row:hover { border-color: #99d5cc; box-shadow: 0 8px 24px rgba(13,148,136,.08); }
.sp-pay-row .uid { font-weight: 800; color: var(--accent-2); }
.sp-pay-row .da { font-weight: 800; color: var(--accent-2); }
.sp-pay-row .fx { font-weight: 700; }
.sp-pay-row .meta { font-size: .82rem; color: var(--mute); font-weight: 650; }
.sp-pay-empty { margin: .5rem 0; text-align: center; color: var(--mute); font-weight: 650; }
.sp-pay-pager {
  display: flex; justify-content: center; align-items: center; gap: .65rem;
  margin: .9rem 0 0;
}
.sp-pay-pg { font-weight: 800; color: var(--accent-2); min-width: 3.5rem; text-align: center; }
.sp-uid {
  appearance: none; cursor: pointer; border: 0; background: transparent;
  font: inherit; font-weight: 800; color: var(--accent-2);
  text-decoration: underline; text-underline-offset: .18em; padding: 0;
}
.sp-doc-ol {
  margin: .75rem 0 1rem;
  padding: 0 0 0 1.2rem;
  color: var(--ink);
  line-height: 1.5;
  font-size: .92rem;
}
html[dir="rtl"] .sp-doc-ol { padding: 0 1.2rem 0 0; }
.sp-doc-ol li { margin: 0 0 .55rem; }
.doc-line { margin: .35rem 0 0; font-weight: 800; font-size: 1.02rem; }
.sp-doc-law .meta { margin: .45rem 0 0; line-height: 1.45; }
.sp-sess .lead { margin-bottom: 1rem; }
#sp-fiche-root {
  position: fixed; inset: 0; z-index: var(--z-fiche); display: none;
  place-items: center; padding: 1.25rem; background: rgba(21,32,51,.52);
}
#sp-fiche-root.on { display: grid; }
.sp-fiche {
  width: min(64rem, 96vw);
  max-height: min(90vh, 46rem);
  overflow: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 28px 64px rgba(21,32,51,.3);
  padding: 1.35rem 1.6rem 1.25rem;
}
.sp-fiche { position: relative; }
.sp-fiche-x { position: absolute; top: .85rem; inset-inline-end: .85rem; z-index: 2; }
.sp-fiche-board {
  display: grid;
  grid-template-columns: 12.5rem 1fr;
  gap: 1rem 1.25rem;
  align-items: start;
  margin: 0 1.5rem .9rem 0;
}
.sp-prod {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.sp-prod-go {
  display: block; color: inherit; text-decoration: none; cursor: pointer;
}
.sp-prod-go:hover .sp-prod-pic { opacity: .92; }
.sp-prod-go:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.sp-prod-pic {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #ecf8f4;
}
.sp-prod-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}
.sp-prod-name { margin: .65rem .8rem 0; font-weight: 800; font-size: 1.02rem; }
.sp-prod-shop { margin: .25rem .8rem .8rem; font-size: .84rem; color: var(--mute); }
.sp-fiche-argent { margin: 0; display: flex; flex-direction: column; min-width: 0; }
.sp-fiche-money { grid-template-columns: 1fr 1fr 1fr; }
.sp-fiche-money .lab {
  display: flex; align-items: center; gap: .35rem; margin: 0;
  font-size: .78rem; font-weight: 700; color: var(--mute);
}
.sp-sec {
  display: flex; align-items: center; gap: .35rem;
}
.sp-tip { position: relative; display: inline-flex; }
.sp-tip-q {
  appearance: none; border: 0; cursor: pointer;
  width: 1.15rem; height: 1.15rem; border-radius: 50%;
  font: inherit; font-size: .72rem; font-weight: 800; line-height: 1;
  color: #fff; background: var(--accent); padding: 0;
}
.sp-tip-q.is-open { background: var(--accent-2); }
.sp-tip-bubble {
  display: none; position: absolute; inset-inline-start: 0; top: calc(100% + .45rem); z-index: 6;
  width: min(18rem, 70vw); padding: .7rem .8rem; border-radius: 10px;
  background: #152033; color: #fff; font-size: .8rem; font-weight: 550; line-height: 1.4;
  box-shadow: 0 12px 28px rgba(21,32,51,.28);
}
.sp-tip-bubble.on { display: block; }
@media (max-width: 900px) {
  .sp-fiche-board { grid-template-columns: 1fr; margin-inline-end: 0; }
  .sp-prod { max-width: 16rem; }
}
.sp-sec {
  margin: 0 0 .45rem; font-size: .8rem; font-weight: 800; color: var(--accent-2);
  display: flex; align-items: center; gap: .35rem;
}
.sp-fiche-money {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: .7rem;
}
.sp-fiche-money article {
  background: var(--accent-soft); border-radius: 14px; padding: .85rem 1rem;
}
.sp-fiche-money .lab { margin: 0; font-size: .78rem; font-weight: 700; color: var(--mute); }
.sp-fiche-money .n { margin: .2rem 0 0; font-size: 1.55rem; font-weight: 800; color: var(--accent-2); }
.sp-fiche-money .s { margin: .2rem 0 0; font-size: .86rem; font-weight: 700; color: var(--ink); }
.sp-fiche-calc { margin: .55rem 0 0; font-weight: 750; color: var(--ink); }
.sp-fiche-suivi { margin: 2.1rem 0 0; }
.sp-fiche-suivi .sp-tl { margin: 0; }
.sp-fiche-cible { margin: 1.4rem 0 0; }
.sp-fiche-line { margin: 0; font-size: 1.05rem; font-weight: 750; }
.sp-fiche-brief { margin: .35rem 0 0; color: var(--mute); line-height: 1.45; }
.sp-fiche-chips { margin: .45rem 0 0; font-size: .82rem; color: var(--mute); }
.sp-fiche-payx { margin: 0 0 1rem; }
.sp-tl {
  display: flex; align-items: flex-start;
  margin: .2rem 0 1.25rem; padding: .2rem 0 0;
  list-style: none;
}
.sp-tl li {
  position: relative; flex: 1; min-width: 0;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: .4rem; padding: 0 .3rem;
  border: 0; background: transparent;
  font-size: .78rem; font-weight: 650;
}
.sp-tl li::before {
  content: "";
  position: absolute; z-index: 0;
  top: .42rem; inset-inline-start: calc(50% + .55rem);
  width: calc(100% - .5rem); height: 2px;
  background: #d1d5db;
}
.sp-tl li:last-child::before { display: none; }
.sp-tl li.is-done::before { background: var(--ok); }
.sp-tl .dot {
  position: relative; z-index: 1;
  width: .85rem; height: .85rem; border-radius: 50%;
  background: #d1d5db;
  box-shadow: 0 0 0 3px var(--panel);
}
.sp-tl li.is-done .dot { background: var(--ok); }
.sp-tl li.is-now .dot {
  background: var(--panel);
  box-shadow: 0 0 0 2px var(--ok);
}
.sp-tl .lab { line-height: 1.25; }
.sp-tl .when { font-size: .72rem; color: var(--mute); font-weight: 550; }
.sp-fiche-foot { margin-top: .15rem; justify-content: space-between; align-items: center; gap: .65rem; }
.sp-fiche-foot-l, .sp-fiche-foot-r { display: flex; gap: .45rem; flex-wrap: wrap; flex: 0 0 auto; }
.sp-fiche-foot-rule {
  position: relative;
  flex: 1 1 8rem; margin: 0; text-align: center;
  font-size: .8rem; font-weight: 650; color: var(--accent-2); line-height: 1.4;
  animation: sp-rule-breathe 2.8s ease-in-out infinite;
}
.sp-fiche-foot-rule::after {
  content: "";
  display: block;
  width: min(16rem, 92%);
  height: 2px;
  margin: .4rem auto 0;
  border-radius: 99px;
  background: linear-gradient(90deg, transparent 0%, var(--accent) 50%, transparent 100%);
  background-size: 220% 100%;
  animation: sp-rule-light 3.4s ease-in-out infinite;
}
@keyframes sp-rule-breathe {
  0%, 100% { opacity: .78; text-shadow: 0 0 0 rgba(13, 148, 136, 0); }
  50% { opacity: 1; text-shadow: 0 0 16px rgba(13, 148, 136, .38); }
}
@keyframes sp-rule-light {
  0% { background-position: 100% 50%; opacity: .28; }
  50% { opacity: .95; }
  100% { background-position: -20% 50%; opacity: .28; }
}
@media (prefers-reduced-motion: reduce) {
  .sp-fiche-foot-rule,
  .sp-fiche-foot-rule::after { animation: none; opacity: 1; text-shadow: none; }
}
.is-off { display: none !important; }
@media (max-width: 900px) {
  .sp-fiche { width: min(96vw, 64rem); }
  .sp-fiche-money { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .sp-dash { flex-direction: column; }
  .sp-side { width: auto; border-inline-end: 0; border-bottom: 1px solid var(--line); }
  .sp-kpis { grid-template-columns: 1fr 1fr; }
  .sp-fiche-money { grid-template-columns: 1fr; }
  .sp-tl { overflow-x: auto; }
  .sp-fiche-foot { flex-wrap: wrap; }
  .sp-fiche-foot-rule { flex: 1 1 100%; order: -1; }
  .sp-pay-head { display: none; }
  .sp-pay-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .sp-kpis { grid-template-columns: 1fr; }
}
@media (min-width: 721px) and (max-height: 500px) and (orientation: landscape) {
  .sp-dash { flex-direction: row; }
  .sp-side { width: 12rem; max-height: 100vh; overflow: auto; }
}
