@charset "UTF-8";
/*
  Created by Stephane Arribart.
  For Influa
  Date: 22/01/2026
  Time: 14:21

  --- style ---

          |\      _,,,---,,_
    ZZZzz /,`.-'`'    -.  ;-;;,_
         |,4-  ) )-,_. ,\ (  `'-'
        '---''(_/--'  `-'\_)  

*/
/*
  Created by Stephane Arribart.
  For Influa
  Date: 22/01/2026
  Time: 14:21

  --- _variables ---

          |\      _,,,---,,_
    ZZZzz /,`.-'`'    -.  ;-;;,_
         |,4-  ) )-,_. ,\ (  `'-'
        '---''(_/--'  `-'\_)  

*/
:root {
  --color-primary: #ae0a68;
  --color-secondary: #fc044a;
  --color-primary-rgb: 174, 10, 104;
  --color-primary-dark: rgb(135.4173913043, 7.7826086957, 80.9391304348);
  --color-gradient: linear-gradient(135deg, #ae0a68 0%, #fc044a 100%);
  --color-tertiary: #667eea;
  --color-quaternary: #764ba2;
  --color-gradient-alt: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --shadow-primary: 0 4px 12px rgba(174, 10, 104, 0.4);
  --shadow-alt: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/*
  Created by Stephane Arribart.
  For Influa
  Date: 22/01/2026
  Time: 14:23

  --- _mixins ---

          |\      _,,,---,,_
    ZZZzz /,`.-'`'    -.  ;-;;,_
         |,4-  ) )-,_. ,\ (  `'-'
        '---''(_/--'  `-'\_)  

*/
/*
  Created by Stephane Arribart.
  For Influa
  Date: 23/01/2026
  Time: 16:33

  --- _fonts ---

          |\      _,,,---,,_
    ZZZzz /,`.-'`'    -.  ;-;;,_
         |,4-  ) )-,_. ,\ (  `'-'
        '---''(_/--'  `-'\_)  

*/
@font-face {
  font-family: "Noto Sans";
  src: url("../fonts/NotoSans-Light.woff2") format("woff2"), url("../fonts/NotoSans-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans";
  src: url("../fonts/NotoSans-Regular.woff2") format("woff2"), url("../fonts/NotoSans-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans";
  src: url("../fonts/NotoSans-Medium.woff2") format("woff2"), url("../fonts/NotoSans-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans";
  src: url("../fonts/NotoSans-SemiBold.woff2") format("woff2"), url("../fonts/NotoSans-SemiBold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans";
  src: url("../fonts/NotoSans-Bold.woff2") format("woff2"), url("../fonts/NotoSans-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
/*
  Created by Stephane Arribart.
  For Influa
  Date: 22/01/2026
  Time: 14:23

  --- _base ---

          |\      _,,,---,,_
    ZZZzz /,`.-'`'    -.  ;-;;,_
         |,4-  ) )-,_. ,\ (  `'-'
        '---''(_/--'  `-'\_)  

*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: #333;
  background-color: #f4f4f5;
}

a {
  color: #ae0a68;
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover {
  text-decoration: underline;
}

a[class*=btn] {
  text-decoration: none;
}
a[class*=btn]:hover {
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  color: #333;
}

h1 {
  font-size: 28px;
}

h2 {
  font-size: 24px;
}

h3 {
  font-size: 20px;
}

p {
  margin-bottom: 16px;
}
p:last-child {
  margin-bottom: 0;
}

.text-center {
  text-align: center;
}

.text-muted {
  color: #999;
}

.text-error {
  color: #dc2626;
}

.text-success {
  color: #059669;
}

/*
  Created by Stephane Arribart.
  For Influa
  Date: 22/01/2026
  Time: 14:24

  --- _components ---

          |\      _,,,---,,_
    ZZZzz /,`.-'`'    -.  ;-;;,_
         |,4-  ) )-,_. ,\ (  `'-'
        '---''(_/--'  `-'\_)  

*/
.btn {
  display: block;
  width: 100%;
  padding: 14px 24px;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: all 0.2s ease;
}

.btn-primary {
  display: block;
  width: 100%;
  padding: 14px 24px;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: all 0.2s ease;
  background: var(--color-gradient);
  color: #fff;
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-primary);
}

.btn-blue {
  display: block;
  width: 100%;
  padding: 14px 24px;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: all 0.2s ease;
  background: var(--color-gradient-alt);
  color: #fff;
}
.btn-blue:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-alt);
}

.btn-outline {
  display: block;
  width: 100%;
  padding: 14px 24px;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: all 0.2s ease;
  background: #fff;
  color: #333;
  border: 2px solid #e5e5e5;
}
.btn-outline:hover {
  border-color: #ccc;
  background: #f4f4f5;
}

.btn-navy {
  display: block;
  width: 100%;
  padding: 14px 24px;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: all 0.2s ease;
  background: var(--color-tertiary);
  color: #fff;
  border: 2px solid #e5e5e5;
}
.btn-navy:hover {
  border-color: #ccc;
  background: #1e3a5f;
  transform: translateY(-1px);
  box-shadow: var(--shadow-alt);
}

.btn-logout {
  display: block;
  width: 100%;
  padding: 14px 24px;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: all 0.2s ease;
  background: #fee2e2;
  color: #dc2626;
  border: 2px solid #fecaca;
}
.btn-logout:hover {
  border-color: #fc044a;
  background: #fee2e2, 5%;
}

.btn-link {
  background: none;
  border: none;
  color: var(--color-primary);
  padding: 8px 16px;
  font-weight: 500;
}
.btn-link:hover {
  text-decoration: underline;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 18px;
}

.btn-block {
  display: block;
  width: 100%;
}

.oauth-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-oauth {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 24px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 2px solid transparent;
}
.btn-oauth svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.btn-google {
  background: #fff;
  color: #333;
  border-color: #ddd;
}
.btn-google:hover {
  background: #f4f4f5;
  border-color: #ccc;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-decoration: none;
}

.btn-linkedin {
  background: #0A66C2;
  color: #fff;
}
.btn-linkedin:hover {
  background: #004182;
  box-shadow: 0 2px 8px rgba(10, 102, 194, 0.4);
  text-decoration: none;
}

.alert {
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 24px;
  font-size: 14px;
  line-height: 1.5;
}
.alert a {
  font-weight: 500;
}

.alert-error {
  background: #fee2e2;
  color: #dc2626;
  border: 1px solid #fecaca;
}
.alert-error a {
  color: #dc2626;
}

.alert-success {
  background: #d1fae5;
  color: #059669;
  border: 1px solid #a7f3d0;
}
.alert-success a {
  color: #059669;
}

.alert-warning {
  background: #fef3c7;
  color: #d97706;
  border: 1px solid #fde68a;
}

.alert-info {
  background: #e0e7ff;
  color: #4338ca;
  border: 1px solid #c7d2fe;
}

.form-group {
  margin-bottom: 20px;
}

.form-row {
  display: flex;
  gap: 16px;
}
@media (max-width: 480px) {
  .form-row {
    flex-direction: column;
    gap: 0;
  }
}
.form-row .form-group {
  flex: 1;
}

.form-label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 500;
  color: #333;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e5e5e5;
  border-radius: 8px;
  font-size: 15px;
  font-family: "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.1);
}
.form-input.error {
  border-color: #dc2626;
}

.form-error {
  color: #dc2626;
  font-size: 13px;
  margin-top: 6px;
}

.form-hint {
  color: #999;
  font-size: 12px;
  margin-top: 6px;
}

.form-footer {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 20px;
}
.form-footer a {
  font-size: 13px;
}

.divider {
  display: flex;
  align-items: center;
  margin: 24px 0;
  color: #999;
  font-size: 13px;
}
.divider::before, .divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e5e5e5;
}
.divider span {
  padding: 0 16px;
}

.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 500;
}

.badge-inscrit {
  background: #e0e7ff;
  color: #4338ca;
}

.badge-abonne {
  background: #d1fae5;
  color: #059669;
}

.badge-paye {
  background: #fef3c7;
  color: #d97706;
}

.badge-suspendu {
  background: #fee2e2;
  color: #dc2626;
}

.status-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}
.status-icon svg {
  width: 40px;
  height: 40px;
}
.status-icon.success {
  background: #d1fae5;
  color: #059669;
}
.status-icon.error {
  background: #fee2e2;
  color: #dc2626;
}
.status-icon.warning {
  background: #fef3c7;
  color: #d97706;
}

.toast-notification {
  position: fixed;
  bottom: 24px;
  right: 24px;
  padding: 12px 20px;
  border-radius: 8px;
  font-family: "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: white;
  z-index: 9999;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  animation: toastIn 0.3s ease forwards;
}
.toast-notification--success {
  background: #059669;
}
.toast-notification--error {
  background: #dc2626;
}
.toast-notification--info {
  background: #1e3a5f;
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.impersonate-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  height: 40px;
  padding: 0 20px;
  background: #f59e0b;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  font-family: "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.impersonate-banner__icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  vertical-align: middle;
  margin-right: 4px;
}
.impersonate-banner__text {
  display: flex;
  align-items: center;
}
.impersonate-banner__text strong {
  margin: 0 4px;
}
.impersonate-banner__btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s;
}
.impersonate-banner__btn svg {
  width: 14px;
  height: 14px;
}
.impersonate-banner__btn:hover {
  background: rgba(255, 255, 255, 0.3);
  color: #fff;
}

body.is-impersonating {
  padding-top: 40px;
}

/*
  Created by Stephane Arribart.
  For Influa
  Date: 22/01/2026
  Time: 14:24

  --- _layout ---

          |\      _,,,---,,_
    ZZZzz /,`.-'`'    -.  ;-;;,_
         |,4-  ) )-,_. ,\ (  `'-'
        '---''(_/--'  `-'\_)  

*/
.container {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}
.container .ligne {
  display: table;
  width: 100%;
}
.container .ligne .colonne {
  display: table-cell;
  vertical-align: middle;
}
.container .ligne .colonne.v_top {
  vertical-align: top;
}

/*
// ---- HEADER ----
.header {
  background: $color-white;
  box-shadow: $shadow-sm;
  padding: $spacing-lg $spacing-2xl;
  @include flex-between;

  .logo {
    font-size: $font-size-xl;
    font-weight: 700;
    color: $color-black;
    text-decoration: none;

    &:hover {
      text-decoration: none;
    }
  }

  .nav {
    display: flex;
    gap: $spacing-lg;
    align-items: center;

    a {
      color: $color-gray-600;
      text-decoration: none;
      font-size: 14px;

      &:hover {
        color: $color-black;
      }
    }
  }
}

 */
.footer {
  padding: 32px 24px;
  text-align: center;
  color: #666;
}
.footer p {
  margin: 0;
}

.main {
  padding: 40px 0;
}

.auth-container {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  padding: 40px;
  width: 100%;
  max-width: 420px;
}

.auth-header {
  text-align: center;
  margin-bottom: 32px;
}

.auth-logo {
  font-size: 28px;
  font-weight: 700;
  color: #333;
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
}
.auth-logo:hover {
  text-decoration: none;
}

.auth-subtitle {
  color: #666;
  font-size: 15px;
  line-height: 1.5;
}

.auth-footer {
  text-align: center;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #e5e5e5;
}
.auth-footer p {
  font-size: 14px;
  color: #666;
  margin: 0;
}
.auth-footer a {
  font-weight: 500;
}

/*
  Created by Stephane Arribart.
  For Influa
  Date: 29/04/2022
  Time: 08:19

  --- _grid ---

          |\      _,,,---,,_
    ZZZzz /,`.-'`'    -.  ;-;;,_
         |,4-  ) )-,_. ,\ (  `'-'
        '---''(_/--'  `-'\_)  

*/
.kol_1 {
  width: 8.3333333333%;
}

.kol_2 {
  width: 16.6666666667%;
}

.kol_3 {
  width: 25%;
}

.kol_4 {
  width: 33.3333333333%;
}

.kol_5 {
  width: 41.6666666667%;
}

.kol_6 {
  width: 50%;
}

.kol_7 {
  width: 58.3333333333%;
}

.kol_8 {
  width: 66.6666666667%;
}

.kol_9 {
  width: 75%;
}

.kol_10 {
  width: 83.3333333333%;
}

.kol_11 {
  width: 91.6666666667%;
}

.kol_12 {
  width: 100%;
}

@media screen and (max-width: 990px) {
  .kol_1,
  .kol_2,
  .kol_3,
  .kol_4,
  .kol_5,
  .kol_6,
  .kol_7,
  .kol_8,
  .kol_9,
  .kol_10,
  .kol_11,
  .kol_12 {
    width: 100%;
  }
}
/*
  Created by Stephane Arribart.
  For Influa
  Date: 22/01/2026
  Time: 14:24

  --- _index ---

          |\      _,,,---,,_
    ZZZzz /,`.-'`'    -.  ;-;;,_
         |,4-  ) )-,_. ,\ (  `'-'
        '---''(_/--'  `-'\_)

*/
.page-index {
  background: url("../img/background_home.png") top 60px center no-repeat #f0efeb;
  background-size: contain;
  min-height: 100vh;
}
@media (max-width: 768px) {
  .page-index {
    background-position: top 140px center;
  }
}
@media (max-width: 480px) {
  .page-index {
    background: url("../img/background_home.png") top 200px center no-repeat #f0efeb;
    background-size: contain;
  }
}
.page-index .header {
  position: fixed;
  width: 100%;
  z-index: 99;
  padding: 20px 24px 16px 24px;
}
@media (max-width: 768px) {
  .page-index .header {
    padding: 16px 16px 12px 16px;
  }
}
@media (max-width: 480px) {
  .page-index .header {
    padding: 12px 8px 8px 8px;
  }
}
.page-index .header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 30px;
  border-radius: 10px;
  background-color: rgba(255, 255, 255, 0.95);
}
@media (max-width: 768px) {
  .page-index .header .container {
    padding: 10px 16px;
  }
}
@media (max-width: 480px) {
  .page-index .header .container {
    flex-wrap: wrap;
    justify-content: center;
    padding: 10px 12px;
    gap: 8px;
  }
}
.page-index .logo {
  font-size: 20px;
  font-weight: 700;
  color: #333;
  text-decoration: none;
}
.page-index .logo svg {
  display: block;
  width: 280px;
}
@media (max-width: 768px) {
  .page-index .logo svg {
    width: 200px;
  }
}
@media (max-width: 480px) {
  .page-index .logo svg {
    width: 180px;
  }
}
.page-index .logo:hover {
  text-decoration: none;
}
.page-index .nav {
  display: flex;
  gap: 16px;
  align-items: center;
}
@media (max-width: 768px) {
  .page-index .nav {
    gap: 12px;
  }
}
@media (max-width: 480px) {
  .page-index .nav {
    gap: 8px;
  }
}
.page-index .nav a {
  text-decoration: none;
}
.page-index .nav a:hover {
  text-decoration: none;
}
@media (max-width: 480px) {
  .page-index .nav .btn {
    padding: 10px 16px;
    font-size: 13px;
  }
}
.page-index .user-greeting {
  color: #666;
  white-space: nowrap;
  font-size: 14px;
}
@media (max-width: 480px) {
  .page-index .user-greeting {
    font-size: 12px;
  }
}
.page-index .main {
  padding: 0;
  padding-top: 130px;
}
@media (max-width: 768px) {
  .page-index .main {
    padding-top: 100px;
  }
}
@media (max-width: 480px) {
  .page-index .main {
    padding-top: 90px;
  }
}
.page-index .hero {
  padding: 80px 0;
  text-align: center;
}
@media (max-width: 768px) {
  .page-index .hero {
    padding: 40px 0;
  }
}
@media (max-width: 480px) {
  .page-index .hero {
    padding: 20px 0;
  }
}
.page-index .hero .container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
}
@media (max-width: 768px) {
  .page-index .hero .container {
    flex-direction: column;
    padding: 0 24px;
  }
}
@media (max-width: 480px) {
  .page-index .hero .container {
    padding: 0 16px;
  }
}
.page-index .hero .container img {
  margin-left: -60px;
  max-width: 55%;
  height: auto;
}
@media (max-width: 768px) {
  .page-index .hero .container img {
    margin: 0 auto;
    max-width: 80%;
    display: block;
  }
}
@media (max-width: 480px) {
  .page-index .hero .container img {
    max-width: 100%;
  }
}
.page-index .hero .container .intro {
  position: absolute;
  right: 0;
  top: 30px;
  text-align: left;
}
@media (max-width: 768px) {
  .page-index .hero .container .intro {
    position: relative;
    right: unset;
    top: unset;
    text-align: center;
    margin-top: 32px;
  }
}
@media (max-width: 480px) {
  .page-index .hero .container .intro {
    margin-top: 20px;
  }
}
.page-index .hero .container .intro h1 {
  color: #333;
  font-size: 50px;
  margin-bottom: 32px;
}
@media (max-width: 768px) {
  .page-index .hero .container .intro h1 {
    font-size: 36px;
    margin-bottom: 24px;
  }
}
@media (max-width: 480px) {
  .page-index .hero .container .intro h1 {
    font-size: 24px;
    margin-bottom: 20px;
  }
}
.page-index .hero .container .intro .hero-subtitle {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 768px) {
  .page-index .hero .container .intro .hero-subtitle {
    font-size: 15px;
    margin-bottom: 24px;
  }
}
.page-index .hero .container .intro .btn {
  display: inline-block;
  text-decoration: none;
  width: auto;
}
.page-index .features {
  padding: 60px 24px;
}
@media (max-width: 768px) {
  .page-index .features {
    padding: 40px 16px;
  }
}
@media (max-width: 480px) {
  .page-index .features {
    padding: 24px 12px;
  }
}
.page-index .features .container {
  max-width: 1200px;
  margin: 0 auto;
}
.page-index .features h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 24px;
}
@media (max-width: 768px) {
  .page-index .features h2 {
    margin-bottom: 32px;
    font-size: 20px;
  }
}
@media (max-width: 480px) {
  .page-index .features h2 {
    margin-bottom: 24px;
    font-size: 18px;
  }
}
.page-index .pricing-toggle {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
  gap: 0;
  border: 2px solid #e5e5e5;
  border-radius: 8px;
  padding: 4px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  background: #fff;
}
@media (max-width: 768px) {
  .page-index .pricing-toggle {
    margin-bottom: 32px;
  }
}
@media (max-width: 480px) {
  .page-index .pricing-toggle {
    margin-bottom: 24px;
  }
}
.page-index .toggle-btn {
  padding: 12px 24px;
  border: 2px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: #666;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  min-width: 120px;
}
@media (max-width: 480px) {
  .page-index .toggle-btn {
    min-width: 100px;
    padding: 8px 16px;
    font-size: 13px;
  }
}
.page-index .toggle-btn:hover {
  color: var(--color-primary);
}
.page-index .toggle-btn.active {
  background: #fff;
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.page-index .features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
@media (max-width: 768px) {
  .page-index .features-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 480px;
    margin: 0 auto;
  }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .page-index .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.page-index .feature-card {
  background: #fff;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  border: 2px solid transparent;
}
@media (max-width: 480px) {
  .page-index .feature-card {
    padding: 24px 20px;
  }
}
.page-index .feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.page-index .feature-card.featured {
  border-color: var(--color-primary);
  position: relative;
}
.page-index .feature-card.featured::before {
  content: "Populaire";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-gradient);
  color: #fff;
  padding: 4px 16px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.page-index .card-header {
  text-align: center;
  margin-bottom: 24px;
}
@media (max-width: 480px) {
  .page-index .card-header {
    margin-bottom: 16px;
  }
}
.page-index .card-header h3 {
  font-size: 20px;
  color: #1e3a5f;
  margin-bottom: 12px;
  font-weight: 700;
}
.page-index .card-header h3 span {
  display: block;
  color: var(--color-primary);
}
.page-index .card-header .card-description {
  color: #666;
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
  min-height: 60px;
}
@media (max-width: 480px) {
  .page-index .card-header .card-description {
    min-height: auto;
  }
}
.page-index .card-pricing {
  text-align: center;
  margin-bottom: 24px;
}
@media (max-width: 480px) {
  .page-index .card-pricing {
    margin-bottom: 16px;
  }
}
.page-index .card-pricing .price {
  display: block;
  font-size: 48px;
  font-weight: 700;
  color: #1e3a5f;
  line-height: 1;
  margin-bottom: 8px;
  transition: opacity 0.15s ease, transform 0.15s ease;
}
@media (max-width: 768px) {
  .page-index .card-pricing .price {
    font-size: 40px;
  }
}
@media (max-width: 480px) {
  .page-index .card-pricing .price {
    font-size: 36px;
  }
}
.page-index .card-pricing .period {
  display: block;
  color: #666;
  font-size: 14px;
  transition: opacity 0.15s ease;
}
.page-index .card-pricing .mention {
  display: block;
  color: #999;
  font-size: 12px;
  margin-top: 4px;
}
.page-index .feature-card .btn {
  display: block;
  width: 100%;
  padding: 14px 24px;
  background: var(--color-gradient-alt);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: 24px;
}
@media (max-width: 480px) {
  .page-index .feature-card .btn {
    margin-bottom: 16px;
  }
}
.page-index .feature-card .btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-alt);
  text-decoration: none;
}
.page-index .card-features {
  list-style: none;
  padding: 0;
  margin: 0;
}
.page-index .card-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0;
  font-size: 14px;
  line-height: 1.4;
  color: #666;
}
.page-index .card-features li.included {
  color: #333;
}
.page-index .card-features li.excluded {
  color: #999;
}
.page-index .icon-check,
.page-index .icon-cross {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}
.page-index .icon-check {
  color: #10b981;
}
.page-index .icon-cross {
  color: #ef4444;
}
.page-index .pitch {
  padding: 0 24px 60px;
  text-align: center;
}
@media (max-width: 768px) {
  .page-index .pitch {
    padding: 0 16px 40px;
  }
}
@media (max-width: 480px) {
  .page-index .pitch {
    padding: 0 12px 24px;
  }
}
.page-index .pitch .container {
  max-width: 800px;
  margin: 0 auto;
}
.page-index .pitch h2 {
  font-size: 24px;
  color: #1e3a5f;
  margin-bottom: 20px;
}
@media (max-width: 768px) {
  .page-index .pitch h2 {
    font-size: 20px;
  }
}
@media (max-width: 480px) {
  .page-index .pitch h2 {
    font-size: 18px;
  }
}
.page-index .pitch__text {
  font-size: 15px;
  line-height: 1.7;
  color: #666;
  margin: 0 auto 40px;
  max-width: 700px;
}
@media (max-width: 480px) {
  .page-index .pitch__text {
    font-size: 14px;
    margin-bottom: 32px;
  }
}
.page-index .pitch__features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 768px) {
  .page-index .pitch__features {
    gap: 20px;
  }
}
@media (max-width: 480px) {
  .page-index .pitch__features {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
.page-index .pitch__item {
  background: #fff;
  border-radius: 12px;
  padding: 24px 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.page-index .pitch__item svg {
  width: 32px;
  height: 32px;
  color: var(--color-primary);
  margin-bottom: 12px;
}
.page-index .pitch__item h3 {
  font-size: 15px;
  font-weight: 600;
  color: #1e3a5f;
  margin-bottom: 8px;
}
.page-index .pitch__item p {
  font-size: 13px;
  line-height: 1.5;
  color: #666;
  margin: 0;
}
.page-index .footer {
  padding: 32px 24px;
  text-align: center;
  background: #fff;
  border-top: 1px solid #e5e5e5;
}
@media (max-width: 480px) {
  .page-index .footer {
    padding: 24px 16px;
  }
}
.page-index .footer .container {
  max-width: 1200px;
  margin: 0 auto;
}
.page-index .footer p {
  margin: 0;
  color: #666;
  font-size: 14px;
}

/*
  Created by Stephane Arribart.
  For Influa
  Date: 22/01/2026
  Time: 14:25

  --- _login ---

          |\      _,,,---,,_
    ZZZzz /,`.-'`'    -.  ;-;;,_
         |,4-  ) )-,_. ,\ (  `'-'
        '---''(_/--'  `-'\_)

*/
.page-login {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: var(--color-gradient);
}
.page-login .login-container {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  padding: 40px;
  width: 100%;
  max-width: 420px;
}
.page-login .login-header {
  text-align: center;
  margin-bottom: 32px;
}
.page-login .login-logo {
  font-size: 28px;
  font-weight: 700;
  color: #333;
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
}
.page-login .login-logo:hover {
  text-decoration: none;
}
@media (max-width: 480px) {
  .page-login .login-logo svg {
    width: 100%;
    height: auto;
  }
}
.page-login .login-subtitle {
  color: #666;
  font-size: 15px;
}
.page-login .form-group {
  margin-bottom: 8px;
}
.page-login .form-input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e5e5e5;
  border-radius: 8px;
  font-size: 15px;
  font-family: "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.page-login .form-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.1);
}
.page-login .form-input.error {
  border-color: #dc2626;
}
.page-login .form-footer {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 20px;
}
.page-login .form-footer a {
  font-size: 13px;
  color: var(--color-primary);
  text-decoration: none;
}
.page-login .form-footer a:hover {
  text-decoration: underline;
}
.page-login .btn {
  display: block;
  width: 100%;
  padding: 14px 24px;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: all 0.2s ease;
  background: var(--color-gradient);
  color: #fff;
}
.page-login .btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-primary);
}
.page-login .login-terms {
  margin-top: 24px;
  font-size: 12px;
  color: #999;
  text-align: center;
  line-height: 1.5;
}
.page-login .login-terms a {
  color: #666;
}
.page-login .login-footer {
  text-align: center;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #e5e5e5;
}
.page-login .login-footer p {
  font-size: 14px;
  color: #666;
  margin: 0;
}
.page-login .login-footer a {
  color: var(--color-primary);
  font-weight: 500;
}
.page-login .login-footer a:hover {
  text-decoration: underline;
}

/*
  Created by Stephane Arribart.
  For Influa
  Date: 22/01/2026
  Time: 14:25

  --- _register ---

          |\      _,,,---,,_
    ZZZzz /,`.-'`'    -.  ;-;;,_
         |,4-  ) )-,_. ,\ (  `'-'
        '---''(_/--'  `-'\_)

*/
.page-register {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: var(--color-gradient);
}
.page-register .register-container {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  padding: 40px;
  width: 100%;
  max-width: 480px;
}
.page-register .register-header {
  text-align: center;
  margin-bottom: 32px;
}
.page-register .register-logo {
  font-size: 28px;
  font-weight: 700;
  color: #333;
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
}
.page-register .register-logo:hover {
  text-decoration: none;
}
.page-register .register-subtitle {
  color: #666;
  font-size: 15px;
}
.page-register .form-group {
  margin-bottom: 8px;
}
.page-register .form-input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e5e5e5;
  border-radius: 8px;
  font-size: 15px;
  font-family: "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.page-register .form-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.1);
}
.page-register .form-input.error {
  border-color: #dc2626;
}
.page-register .form-input.error {
  border-color: #dc2626;
}
.page-register .btn {
  display: block;
  width: 100%;
  padding: 14px 24px;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: all 0.2s ease;
  background: var(--color-gradient);
  color: #fff;
}
.page-register .btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-primary);
}
.page-register .register-footer {
  text-align: center;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #e5e5e5;
}
.page-register .register-footer p {
  font-size: 14px;
  color: #666;
  margin: 0;
}
.page-register .register-footer a {
  color: var(--color-primary);
  font-weight: 500;
}
.page-register .register-footer a:hover {
  text-decoration: underline;
}

/*
  Created by Stephane Arribart.
  For Influa
  Date: 22/01/2026
  Time: 14:26

  --- _verify-email ---

          |\      _,,,---,,_
    ZZZzz /,`.-'`'    -.  ;-;;,_
         |,4-  ) )-,_. ,\ (  `'-'
        '---''(_/--'  `-'\_)  

*/
.page-verify-email {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: var(--color-gradient);
}
.page-verify-email .verify-container {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  padding: 40px;
  width: 100%;
  max-width: 420px;
  text-align: center;
}
.page-verify-email .verify-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}
.page-verify-email .verify-icon svg {
  width: 40px;
  height: 40px;
}
.page-verify-email .verify-icon.success {
  background: #d1fae5;
  color: #059669;
}
.page-verify-email .verify-icon.error {
  background: #fee2e2;
  color: #dc2626;
}
.page-verify-email .verify-icon.already {
  background: #fef3c7;
  color: #d97706;
}
.page-verify-email .verify-title {
  font-size: 24px;
  color: #333;
  margin-bottom: 12px;
}
.page-verify-email .verify-message {
  color: #666;
  line-height: 1.6;
  margin-bottom: 24px;
}
.page-verify-email .verify-message a {
  color: var(--color-primary);
}
.page-verify-email .verify-message a:hover {
  text-decoration: underline;
}
.page-verify-email .btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}
.page-verify-email .btn:hover {
  text-decoration: none;
}
.page-verify-email .btn-primary {
  background: var(--color-gradient);
  color: #fff;
}
.page-verify-email .btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-primary);
}
.page-verify-email .btn-outline {
  border: 2px solid #e5e5e5;
  color: #333;
  background: #fff;
}
.page-verify-email .btn-outline:hover {
  border-color: #ccc;
  background: #f4f4f5;
}

/*
  Created by Stephane Arribart.
  For Influa
  Date: 22/01/2026
  Time: 14:26

  --- _forgot-password ---

          |\      _,,,---,,_
    ZZZzz /,`.-'`'    -.  ;-;;,_
         |,4-  ) )-,_. ,\ (  `'-'
        '---''(_/--'  `-'\_)

*/
.page-forgot-password {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: var(--color-gradient);
}
.page-forgot-password .forgot-container {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  padding: 40px;
  width: 100%;
  max-width: 420px;
}
.page-forgot-password .forgot-header {
  text-align: center;
  margin-bottom: 32px;
}
.page-forgot-password .forgot-logo {
  font-size: 28px;
  font-weight: 700;
  color: #333;
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
}
.page-forgot-password .forgot-logo:hover {
  text-decoration: none;
}
.page-forgot-password .forgot-subtitle {
  color: #666;
  font-size: 15px;
  line-height: 1.5;
}
.page-forgot-password .form-group {
  margin-bottom: 20px;
}
.page-forgot-password .form-input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e5e5e5;
  border-radius: 8px;
  font-size: 15px;
  font-family: "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.page-forgot-password .form-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.1);
}
.page-forgot-password .form-input.error {
  border-color: #dc2626;
}
.page-forgot-password .btn {
  display: block;
  width: 100%;
  padding: 14px 24px;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: all 0.2s ease;
  background: var(--color-gradient);
  color: #fff;
}
.page-forgot-password .btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-primary);
}
.page-forgot-password .forgot-footer {
  text-align: center;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #e5e5e5;
}
.page-forgot-password .forgot-footer a {
  color: var(--color-primary);
  text-decoration: none;
  font-size: 14px;
}
.page-forgot-password .forgot-footer a:hover {
  text-decoration: underline;
}

/*
  Created by Stephane Arribart.
  For Influa
  Date: 22/01/2026
  Time: 14:27

  --- _reset-password ---

          |\      _,,,---,,_
    ZZZzz /,`.-'`'    -.  ;-;;,_
         |,4-  ) )-,_. ,\ (  `'-'
        '---''(_/--'  `-'\_)

*/
.page-reset-password {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: var(--color-gradient);
}
.page-reset-password .reset-container {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  padding: 40px;
  width: 100%;
  max-width: 420px;
}
.page-reset-password .reset-header {
  text-align: center;
  margin-bottom: 32px;
}
.page-reset-password .reset-logo {
  font-size: 28px;
  font-weight: 700;
  color: #333;
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
}
.page-reset-password .reset-logo:hover {
  text-decoration: none;
}
.page-reset-password .reset-subtitle {
  color: #666;
  font-size: 15px;
}
.page-reset-password .form-group {
  margin-bottom: 20px;
}
.page-reset-password .form-input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e5e5e5;
  border-radius: 8px;
  font-size: 15px;
  font-family: "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.page-reset-password .form-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.1);
}
.page-reset-password .form-input.error {
  border-color: #dc2626;
}
.page-reset-password .btn {
  display: inline-block;
  padding: 14px 24px;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}
.page-reset-password .btn:hover {
  text-decoration: none;
}
.page-reset-password .btn-block {
  display: block;
  width: 100%;
}
.page-reset-password .btn-primary {
  background: var(--color-gradient);
  color: #fff;
}
.page-reset-password .btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-primary);
}
.page-reset-password .text-center {
  text-align: center;
}
.page-reset-password .reset-footer {
  text-align: center;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #e5e5e5;
}
.page-reset-password .reset-footer a {
  color: var(--color-primary);
  text-decoration: none;
  font-size: 14px;
}
.page-reset-password .reset-footer a:hover {
  text-decoration: underline;
}

.page-promo {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: var(--color-gradient);
}
.page-promo .promo-container {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  padding: 40px;
  width: 100%;
  max-width: 420px;
}
.page-promo .promo-header {
  text-align: center;
  margin-bottom: 32px;
}
.page-promo .promo-logo {
  font-size: 28px;
  font-weight: 700;
  color: #333;
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
}
.page-promo .promo-logo:hover {
  text-decoration: none;
}
.page-promo .promo-subtitle {
  color: #666;
  font-size: 15px;
  line-height: 1.5;
}
.page-promo .form-group {
  margin-bottom: 20px;
}
.page-promo .form-input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e5e5e5;
  border-radius: 8px;
  font-size: 15px;
  font-family: "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.page-promo .form-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.1);
}
.page-promo .form-input.error {
  border-color: #dc2626;
}
.page-promo .btn {
  display: block;
  width: 100%;
  padding: 14px 24px;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: all 0.2s ease;
  background: var(--color-gradient);
  color: #fff;
}
.page-promo .btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-primary);
}
.page-promo .promo-footer {
  text-align: center;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #e5e5e5;
}
.page-promo .promo-footer a {
  color: var(--color-primary);
  text-decoration: none;
  font-size: 14px;
}
.page-promo .promo-footer a:hover {
  text-decoration: underline;
}

/*
  Created by Stephane Arribart.
  For Influa
  Date: 05/02/2026
  Time: 09:38

  --- _sidebar ---

          |\      _,,,---,,_
    ZZZzz /,`.-'`'    -.  ;-;;,_
         |,4-  ) )-,_. ,\ (  `'-'
        '---''(_/--'  `-'\_)

*/
/*
  _sidebar.scss
  Layout dashboard avec sidebar rétractable
*/
.app-layout {
  display: flex;
  min-height: 100vh;
}

.app-main {
  flex: 1;
  min-width: 0;
  margin-left: 260px;
  min-height: 100vh;
  transition: margin-left 0.3s ease;
  background: #f4f4f5;
}
.sidebar--collapsed ~ .app-main {
  margin-left: 72px;
}

.app-content {
  padding: 32px;
  max-width: 1200px;
}

.app-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.app-overlay.active {
  opacity: 1;
  visibility: visible;
}

body.no-scroll {
  overflow: hidden;
}

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 260px;
  height: 100vh;
  background: #fff;
  border-right: 1px solid #e5e5e5;
  display: flex;
  flex-direction: column;
  z-index: 999;
  transition: width 0.3s ease, transform 0.3s ease;
  overflow: hidden;
}
.sidebar--collapsed {
  width: 72px;
}
.sidebar--collapsed .sidebar__logo {
  opacity: 0;
  width: 0;
  overflow: hidden;
}
.sidebar--collapsed .sidebar__label {
  opacity: 0;
  width: 0;
  overflow: hidden;
  white-space: nowrap;
}
.sidebar--collapsed .sidebar__user-info {
  opacity: 0;
  width: 0;
  overflow: hidden;
}
.sidebar--collapsed .sidebar__section-label {
  border-top: none;
  margin-top: 6px;
  padding: 0;
  height: 1px;
  background: rgba(0, 0, 0, 0.1);
  margin-left: 12px;
  margin-right: 12px;
}
.sidebar--collapsed .sidebar__section-label span {
  display: none;
}
.sidebar--collapsed .sidebar__toggle svg {
  transform: rotate(180deg);
}
.sidebar--collapsed .sidebar__header {
  justify-content: center;
  padding: 16px 12px;
}
.sidebar--collapsed .sidebar__link {
  justify-content: center;
  padding: 12px;
}
.sidebar--collapsed .sidebar__user {
  justify-content: center;
}
.sidebar--collapsed .sidebar__link--logout {
  justify-content: center;
}
.sidebar--collapsed .sidebar__link--module {
  justify-content: center;
  padding: 8px;
}
.sidebar--collapsed .sidebar__module-icon {
  width: 36px;
  height: 36px;
}

.sidebar__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 16px;
  border-bottom: 1px solid #e5e5e5;
  min-height: 70px;
}

.sidebar__logo {
  display: flex;
  align-items: center;
  transition: opacity 0.3s ease;
}
.sidebar__logo svg {
  height: 32px;
  width: auto;
}

.sidebar__logo-color,
.topbar__logo-color {
  display: inline-flex;
}

.sidebar__logo-white,
.topbar__logo-white {
  display: none;
}

.sidebar__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: none;
  color: #999;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.sidebar__toggle:hover {
  background: #f4f4f5;
  color: var(--color-primary);
}
.sidebar__toggle svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.sidebar__nav {
  flex: 1;
  padding: 12px 0;
  overflow-y: auto;
}

.sidebar__menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar__item {
  margin: 2px 8px;
}
.sidebar__item--disabled {
  opacity: 0.35;
  pointer-events: none;
}
.sidebar__item--disabled .sidebar__link {
  cursor: default;
}

.sidebar__link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  color: #666;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.2s ease;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}
.sidebar__link:hover {
  background: rgba(var(--color-primary-rgb), 0.06);
  color: var(--color-primary);
}
.active .sidebar__link {
  background: rgba(var(--color-primary-rgb), 0.1);
  color: var(--color-primary);
  font-weight: 600;
}

.sidebar__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.sidebar__module-icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: var(--color-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sidebar__module-icon svg {
  width: 16px;
  height: 16px;
  stroke: #fff;
  fill: none;
}

.sidebar__link--module {
  font-weight: 600;
}
.active .sidebar__link--module .sidebar__module-icon {
  box-shadow: 0 0 0 2px rgba(var(--color-primary-rgb), 0.3);
}

.sidebar__label {
  transition: opacity 0.3s ease;
}

.sidebar__footer {
  border-top: 1px solid #e5e5e5;
  padding: 12px 8px;
}

.sidebar__user {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
}

.sidebar__avatar {
  width: 36px;
  height: 36px;
  border-radius: 9999px;
  flex-shrink: 0;
  object-fit: cover;
}
.sidebar__avatar--placeholder {
  background: var(--color-gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
}

.sidebar__user-info {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: opacity 0.3s ease;
}

.sidebar__user-name {
  font-size: 13px;
  font-weight: 600;
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar__user-plan {
  font-size: 12px;
  color: #999;
}

.sidebar__link--logout {
  color: #999;
  font-size: 13px;
}
.sidebar__link--logout:hover {
  background: rgba(220, 38, 38, 0.06);
  color: #dc2626;
}

.topbar {
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  height: 60px;
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
  position: sticky;
  top: 0;
  z-index: 100;
}

.topbar__logo svg {
  height: 28px;
  width: auto;
}

.topbar__hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 8px;
  border: none;
  background: none;
  cursor: pointer;
  border-radius: 6px;
}
.topbar__hamburger:hover {
  background: #f4f4f5;
}
.topbar__hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: #333;
  border-radius: 2px;
  transition: all 0.2s ease;
}

.topbar__avatar {
  width: 36px;
  height: 36px;
  border-radius: 9999px;
  overflow: hidden;
  background: var(--color-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
}
.topbar__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.topbar__avatar span {
  color: #fff;
  font-weight: 700;
  font-size: 13px;
}

@media (max-width: 1024px) {
  .sidebar {
    transform: translateX(-100%);
    width: 260px;
    box-shadow: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .sidebar--mobile-open {
    transform: translateX(0);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  }
  .sidebar--collapsed {
    width: 260px;
  }
  .sidebar__toggle {
    display: none;
  }
  .app-main {
    margin-left: 0;
  }
  .sidebar--collapsed ~ .app-main {
    margin-left: 0;
  }
  .topbar {
    display: flex;
  }
  .app-content {
    padding: 20px 16px;
  }
}
@media (max-width: 480px) {
  .app-content {
    padding: 16px 12px;
  }
}
.sidebar__avatar--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-muted, #f1f5f9);
  border-radius: 50%;
}
.sidebar__avatar--placeholder svg {
  width: 60%;
  height: 60%;
  color: var(--text-muted, #94a3b8);
}

.topbar__avatar svg {
  width: 24px;
  height: 24px;
  color: var(--text-muted, #94a3b8);
}

.sidebar__separator {
  height: 1px;
  background: rgba(0, 0, 0, 0.1);
  margin: 8px 16px;
  list-style: none;
}

.sidebar__section-label {
  list-style: none;
  padding: 8px 20px 4px;
  margin-top: 12px;
  border-top: 1px solid #e5e5e5;
}
.sidebar__section-label span {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #ccc;
}

/*
  Created by Stephane Arribart.
  For Influa
  Date: 22/01/2026
  Time: 14:27

  --- _dashboard ---

          |\      _,,,---,,_
    ZZZzz /,`.-'`'    -.  ;-;;,_
         |,4-  ) )-,_. ,\ (  `'-'
        '---''(_/--'  `-'\_)

*/
.welcome-card {
  background: #fff;
  border-radius: 12px;
  padding: 24px 32px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  margin-bottom: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.welcome-card__content {
  flex: 1;
}
.welcome-card h1 {
  font-size: 24px;
  color: #333;
  margin-bottom: 4px;
}
.welcome-card p {
  color: #999;
  margin: 0;
  font-size: 13px;
}
.welcome-card__action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-gradient);
  color: #fff;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
  transition: opacity 0.2s ease;
  white-space: nowrap;
}
.welcome-card__action:hover {
  opacity: 0.9;
  text-decoration: none;
}
.welcome-card__action svg {
  flex-shrink: 0;
}

.dash__modules {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.dash__module-tile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  text-decoration: none;
  color: #1e3a5f;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.15s;
}
.dash__module-tile:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  border-color: var(--color-primary, #ae0a68);
  transform: translateY(-2px);
}

.dash__module-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--color-gradient, linear-gradient(135deg, #ae0a68, #fc044a));
  flex-shrink: 0;
}
.dash__module-icon svg {
  width: 22px;
  height: 22px;
  stroke: white;
  fill: none;
}

.dash__module-info {
  flex: 1;
  min-width: 0;
}

.dash__module-name {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #1e3a5f;
  margin-bottom: 2px;
}

.dash__module-desc {
  display: block;
  font-size: 12px;
  color: rgba(30, 58, 95, 0.55);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dash__module-arrow {
  flex-shrink: 0;
  color: rgba(30, 58, 95, 0.25);
  transition: color 0.2s, transform 0.2s;
}
.dash__module-tile:hover .dash__module-arrow {
  color: var(--color-primary, #ae0a68);
  transform: translateX(2px);
}

.dash__empty {
  background: #fff;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  text-align: center;
  max-width: 480px;
  margin: 40px auto;
}
.dash__empty svg {
  color: #ccc;
  margin-bottom: 16px;
}
.dash__empty h2 {
  font-size: 20px;
  color: #333;
  margin-bottom: 8px;
}
.dash__empty p {
  color: #999;
  margin-bottom: 24px;
  font-size: 15px;
}

.dash__empty-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #ae0a68 0%, #fc044a 100%);
  color: #fff;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 9999px;
  font-size: 15px;
  font-weight: 600;
  transition: opacity 0.2s ease;
}
.dash__empty-btn:hover {
  opacity: 0.9;
  text-decoration: none;
}

.dash__tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.dash__tabs::-webkit-scrollbar {
  display: none;
}

.dash__tab {
  padding: 8px 16px;
  border: 1px solid #ddd;
  border-radius: 9999px;
  background: #fff;
  color: #666;
  font-size: 13px;
  font-weight: 500;
  font-family: "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.dash__tab:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.dash__tab.is-active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

.dash__kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.dash__kpi-card {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  transition: box-shadow 0.2s ease;
}
.dash__kpi-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.dash__kpi-card--ca .dash__kpi-icon {
  background: rgba(var(--color-primary-rgb), 0.1);
  color: var(--color-primary);
}
.dash__kpi-card--charges .dash__kpi-icon {
  background: rgba(30, 58, 95, 0.1);
  color: #1e3a5f;
}
.dash__kpi-card--resultat .dash__kpi-icon {
  background: rgba(5, 150, 105, 0.1);
  color: #059669;
}
.dash__kpi-card--treso .dash__kpi-icon {
  background: rgba(67, 56, 202, 0.1);
  color: #4338ca;
}

.dash__kpi-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.dash__kpi-icon svg {
  width: 20px;
  height: 20px;
}

.dash__kpi-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.dash__kpi-label {
  font-size: 12px;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  font-weight: 500;
  margin-bottom: 4px;
}

.dash__kpi-value {
  font-size: 20px;
  font-weight: 700;
  color: #333;
  line-height: 1.2;
}
.dash__kpi-value.is-positive {
  color: #059669;
}
.dash__kpi-value.is-negative {
  color: #dc2626;
}

.dash__kpi-period {
  font-size: 11px;
  color: #ccc;
  margin-top: 2px;
}

.dash__charts {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
  margin-bottom: 24px;
}

.dash__chart-card {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.dash__chart-title {
  font-size: 13px;
  font-weight: 600;
  color: #333;
  margin-bottom: 16px;
}

.dash__chart-canvas-wrap {
  position: relative;
  height: 280px;
}

.dash__info-card {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.dash__info-title {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e5e5e5;
}

.dash__info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.dash__info-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dash__info-label {
  font-size: 12px;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  font-weight: 500;
}

.dash__info-value {
  font-size: 15px;
  color: #333;
  font-weight: 500;
}

@media (max-width: 1024px) {
  .dash__kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .dash__charts {
    grid-template-columns: 1fr;
  }
  .dash__info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .welcome-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .welcome-card__action {
    align-self: flex-start;
  }
  .dash__kpi-grid {
    grid-template-columns: 1fr;
  }
  .dash__kpi-card {
    padding: 16px;
  }
  .dash__info-grid {
    grid-template-columns: 1fr;
  }
  .dash__chart-canvas-wrap {
    height: 220px;
  }
}
body.page-dashboard .app-main {
  background: #0f172a;
}
body.page-dashboard .sidebar {
  background: #1e293b;
  border-right-color: #334155;
}
body.page-dashboard .sidebar__header {
  border-bottom-color: #334155;
}
body.page-dashboard .sidebar__logo-color,
body.page-dashboard .topbar__logo-color {
  display: none;
}
body.page-dashboard .sidebar__logo-white,
body.page-dashboard .topbar__logo-white {
  display: inline-flex;
}
body.page-dashboard .sidebar__toggle {
  color: #94a3b8;
}
body.page-dashboard .sidebar__toggle:hover {
  background: #263548;
  color: var(--color-primary);
}
body.page-dashboard .sidebar__link {
  color: #94a3b8;
}
body.page-dashboard .sidebar__link:hover {
  background: rgba(var(--color-primary-rgb), 0.12);
  color: #fff;
}
.active body.page-dashboard .sidebar__link {
  background: rgba(var(--color-primary-rgb), 0.18);
  color: #fff;
}
body.page-dashboard .sidebar__footer {
  border-top-color: #334155;
}
body.page-dashboard .sidebar__user-name {
  color: #f1f5f9;
}
body.page-dashboard .sidebar__user-plan {
  color: #64748b;
}
body.page-dashboard .sidebar__link--logout {
  color: #64748b;
}
body.page-dashboard .sidebar__link--logout:hover {
  background: rgba(220, 38, 38, 0.12);
  color: #dc2626;
}
body.page-dashboard .sidebar__avatar--placeholder {
  background: #263548;
}
body.page-dashboard .sidebar__avatar--placeholder svg {
  color: #94a3b8;
}
body.page-dashboard .topbar {
  background: #1e293b;
  border-bottom-color: #334155;
}
body.page-dashboard .topbar__hamburger span {
  background: #f1f5f9;
}
body.page-dashboard .alert {
  border-color: #334155;
}
body.page-dashboard .welcome-card {
  background: #1e293b;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}
body.page-dashboard .welcome-card h1 {
  color: #f1f5f9;
}
body.page-dashboard .welcome-card p {
  color: #94a3b8;
}
body.page-dashboard .dash__empty {
  background: #1e293b;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}
body.page-dashboard .dash__empty svg {
  color: #64748b;
}
body.page-dashboard .dash__empty h2 {
  color: #f1f5f9;
}
body.page-dashboard .dash__empty p {
  color: #94a3b8;
}
body.page-dashboard .dash__tab {
  background: #1e293b;
  border-color: #334155;
  color: #94a3b8;
}
body.page-dashboard .dash__tab:hover {
  border-color: var(--color-primary);
  color: #fff;
}
body.page-dashboard .dash__tab.is-active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}
body.page-dashboard .dash__kpi-card {
  background: #1e293b;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}
body.page-dashboard .dash__kpi-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}
body.page-dashboard .dash__kpi-card--ca .dash__kpi-icon {
  background: rgba(var(--color-primary-rgb), 0.18);
}
body.page-dashboard .dash__kpi-card--charges .dash__kpi-icon {
  background: rgba(30, 58, 95, 0.25);
  color: rgb(78.68, 130.648, 199.32);
}
body.page-dashboard .dash__kpi-card--resultat .dash__kpi-icon {
  background: rgba(5, 150, 105, 0.18);
}
body.page-dashboard .dash__kpi-card--treso .dash__kpi-icon {
  background: rgba(67, 56, 202, 0.18);
  color: rgb(143.0952380952, 136.5476190476, 223.4523809524);
}
body.page-dashboard .dash__kpi-label {
  color: #64748b;
}
body.page-dashboard .dash__kpi-value {
  color: #f1f5f9;
}
body.page-dashboard .dash__kpi-value.is-positive {
  color: rgb(6.6451612903, 199.3548387097, 139.5483870968);
}
body.page-dashboard .dash__kpi-value.is-negative {
  color: rgb(227.0833333333, 81.9166666667, 81.9166666667);
}
body.page-dashboard .dash__kpi-period {
  color: #64748b;
}
body.page-dashboard .dash__chart-card {
  background: #1e293b;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}
body.page-dashboard .dash__chart-title {
  color: #f1f5f9;
}
body.page-dashboard .dash__info-card {
  background: #1e293b;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}
body.page-dashboard .dash__info-title {
  color: #f1f5f9;
  border-bottom-color: #334155;
}
body.page-dashboard .dash__info-label {
  color: #64748b;
}
body.page-dashboard .dash__info-value {
  color: #94a3b8;
}
body.page-dashboard .sidebar__separator {
  background: #334155;
}
body.page-dashboard .sidebar__section-label {
  border-top-color: #334155;
}
body.page-dashboard .sidebar__section-label span {
  color: #64748b;
}
body.page-dashboard .page-header h1 {
  color: #f1f5f9;
}
body.page-dashboard .page-header p {
  color: #94a3b8;
}
body.page-dashboard .card {
  background: #1e293b;
  border-color: #334155;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}
body.page-dashboard .card h3 {
  color: #f1f5f9;
}
body.page-dashboard .form-group label {
  color: #f1f5f9;
}
body.page-dashboard .form-group input[type=text],
body.page-dashboard .form-group input[type=email],
body.page-dashboard .form-group input[type=password] {
  background: #0f172a;
  border-color: #334155;
  color: #f1f5f9;
}
body.page-dashboard .form-group input[type=text]:focus,
body.page-dashboard .form-group input[type=email]:focus,
body.page-dashboard .form-group input[type=password]:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.2);
}
body.page-dashboard .form-group input[type=text]:disabled,
body.page-dashboard .form-group input[type=email]:disabled,
body.page-dashboard .form-group input[type=password]:disabled {
  background: #263548;
  color: #64748b;
}
body.page-dashboard .form-hint {
  color: #64748b;
}
body.page-dashboard .form-static {
  color: #94a3b8;
}
body.page-dashboard .input-password .toggle-password {
  color: #64748b;
}
body.page-dashboard .input-password .toggle-password:hover {
  color: var(--color-primary);
}
body.page-dashboard .avatar-preview-large {
  border-color: #334155;
}
body.page-dashboard .avatar-readonly {
  border-bottom-color: #334155;
}
body.page-dashboard .info-row {
  border-bottom-color: #334155;
}
body.page-dashboard .info-label {
  color: #64748b;
}
body.page-dashboard .info-value {
  color: #f1f5f9;
}
body.page-dashboard .subscription-overview {
  border-color: var(--color-primary);
}
body.page-dashboard .subscription-plan-header h2 {
  color: #f1f5f9;
}
body.page-dashboard .price-period {
  color: #64748b;
}
body.page-dashboard .sub-label {
  color: #64748b;
}
body.page-dashboard .sub-value {
  color: #f1f5f9;
}
body.page-dashboard .feature-item {
  color: #f1f5f9;
  border-bottom-color: #334155;
}
body.page-dashboard .upgrade-hint {
  background: #263548;
}
body.page-dashboard .upgrade-hint p {
  color: #94a3b8;
}
body.page-dashboard .management-actions {
  border-top-color: #334155;
}
body.page-dashboard .management-action h4 {
  color: #f1f5f9;
}
body.page-dashboard .management-action p {
  color: #94a3b8;
}
body.page-dashboard .modal-content {
  background: #1e293b;
}
body.page-dashboard .modal-content h3 {
  color: #f1f5f9;
}
body.page-dashboard .modal-content p {
  color: #94a3b8;
}
body.page-dashboard .modal-actions {
  border-top-color: #334155;
}
body.page-dashboard .modal-close {
  color: #64748b;
}
body.page-dashboard .modal-close:hover {
  color: #f1f5f9;
}
body.page-dashboard .plan-card {
  border-color: #334155;
}
body.page-dashboard .plan-card:hover:not(.plan-current) {
  border-color: var(--color-primary);
}
body.page-dashboard .plan-card-header h4 {
  color: #f1f5f9;
}
body.page-dashboard .plan-amount {
  color: #f1f5f9;
}
body.page-dashboard .proration-options {
  background: #0f172a;
}
body.page-dashboard .proration-options h4 {
  color: #f1f5f9;
}
body.page-dashboard .radio-option:hover {
  background: #263548;
}
body.page-dashboard .radio-label strong {
  color: #f1f5f9;
}
body.page-dashboard .radio-label small {
  color: #64748b;
}
body.page-dashboard .summary-content {
  background: #0f172a;
  color: #f1f5f9;
}
body.page-dashboard .change-summary {
  border-top-color: #334155;
}
body.page-dashboard .period-label {
  color: #64748b;
}
body.page-dashboard .period-label.active {
  color: #f1f5f9;
}
body.page-dashboard .dash__module-tile {
  background: #1e293b;
  border-color: #334155;
}
body.page-dashboard .dash__module-tile:hover {
  border-color: var(--color-primary);
}
body.page-dashboard .dash__module-name {
  color: #f1f5f9;
}
body.page-dashboard .dash__module-desc {
  color: #64748b;
}
body.page-dashboard .dash__module-arrow {
  color: #64748b;
}
body.page-dashboard .bp-listing__title {
  color: #f1f5f9;
}
body.page-dashboard .bp-listing__count {
  color: #64748b;
}
body.page-dashboard .bp-card {
  background: #1e293b;
  border-color: #334155;
  color: #f1f5f9;
}
body.page-dashboard .bp-card:hover {
  border-color: var(--color-primary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}
body.page-dashboard .bp-card__name {
  color: #f1f5f9;
}
body.page-dashboard .bp-card__desc {
  color: #94a3b8;
}
body.page-dashboard .bp-card__date {
  color: #64748b;
}
body.page-dashboard .bp-card__footer {
  border-top-color: #334155;
}
body.page-dashboard .bp-card__meta-item {
  background: #263548;
  color: #94a3b8;
}
body.page-dashboard .bp-card__badge.badge--draft {
  background: #263548;
  color: #94a3b8;
}
body.page-dashboard .bp-card--new {
  border-color: #334155;
}
body.page-dashboard .bp-card--new:hover {
  border-color: var(--color-primary);
  background: rgba(var(--color-primary-rgb), 0.06);
}
body.page-dashboard .bp-card--new__content {
  color: #64748b;
}
body.page-dashboard .bp-listing__upgrade {
  background: rgba(217, 119, 6, 0.1);
  border-color: rgba(217, 119, 6, 0.3);
}
body.page-dashboard .bp-listing__upgrade-title {
  color: #f1f5f9;
}
body.page-dashboard .bp-listing__upgrade-text {
  color: #94a3b8;
}

/*
  Created by Stephane Arribart.
  For Influa
  Date: 05/02/2026
  Time: 10:30

  --- _subscription ---

          |\      _,,,---,,_
    ZZZzz /,`.-'`'    -.  ;-;;,_
         |,4-  ) )-,_. ,\ (  `'-'
        '---''(_/--'  `-'\_)  

*/
.modal-change-plan {
  max-width: 900px;
  width: 95%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.modal-content.modal-change-plan {
  max-width: 900px;
}

.modal-overlay .modal-content.modal-change-plan {
  max-width: 900px;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--text-muted, #999);
  line-height: 1;
}
.modal-close:hover {
  color: var(--text-color, #333);
}

.period-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 20px 0;
}

.period-label {
  font-size: 0.9rem;
  color: var(--text-muted, #999);
  transition: color 0.3s;
  cursor: pointer;
}
.period-label.active {
  color: var(--text-color, #333);
  font-weight: 600;
}

.badge-eco {
  background: var(--success-bg, #d4edda);
  color: var(--success-color, #155724);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}
.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: var(--border-color, #ccc);
  border-radius: 24px;
  transition: 0.3s;
}
.toggle-slider::before {
  content: "";
  position: absolute;
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: 0.3s;
}
.toggle-switch input:checked + .toggle-slider {
  background: var(--primary-color, #6366f1);
}
.toggle-switch input:checked + .toggle-slider::before {
  transform: translateX(20px);
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 20px 0;
  align-items: stretch;
}

.plan-card {
  border: 2px solid var(--border-color, #e2e8f0);
  border-radius: 12px;
  padding: 20px 16px;
  text-align: center;
  transition: border-color 0.3s, box-shadow 0.3s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.plan-card:hover:not(.plan-current) {
  border-color: var(--primary-color, #6366f1);
}
.plan-card.plan-current {
  opacity: 0.5;
  cursor: default;
}
.plan-card.plan-selected {
  border-color: var(--color-primary, #ae0a68);
  box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb, 174, 10, 104), 0.15);
}
.plan-card.plan-selected .btn-select-plan {
  opacity: 0.8;
}

.plan-card-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 8px;
}
.plan-card-header h4 {
  margin: 0;
  font-size: 1rem;
}

.badge-current {
  background: var(--border-color, #e2e8f0);
  color: var(--text-muted, #64748b);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
}

.plan-card-price {
  margin: 12px 0;
}

.plan-amount {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-color, #1e293b);
}

.plan-period-label {
  font-size: 0.85rem;
  color: var(--text-muted, #64748b);
}

.plan-features-mini {
  list-style: none;
  padding: 0;
  margin: 12px 0 16px;
  text-align: left;
  font-size: 0.8rem;
  color: var(--text-muted, #64748b);
  flex: 1;
}
.plan-features-mini li {
  padding: 3px 0;
}
.plan-features-mini li::before {
  content: "✓ ";
  color: var(--success-color, #22c55e);
  font-weight: 700;
}
.plan-features-mini li.feature--disabled {
  opacity: 0.5;
}
.plan-features-mini li.feature--disabled::before {
  content: "✗ ";
  color: var(--danger-color, #ef4444);
}

.btn-select-plan {
  width: 100%;
  padding: 10px;
  border: none;
  background: var(--color-gradient);
  color: #fff;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s;
  margin-top: auto;
}
.btn-select-plan:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-primary);
}
.btn-select-plan:disabled {
  opacity: 0.4;
  cursor: default;
  transform: none;
  box-shadow: none;
}

.proration-options {
  margin: 20px 0;
  padding: 16px;
  background: var(--bg-muted, #f8fafc);
  border-radius: 8px;
}
.proration-options h4 {
  margin: 0 0 12px;
  font-size: 0.95rem;
}

.radio-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
}
.radio-option:hover {
  background: var(--bg-hover, #f1f5f9);
}
.radio-option input[type=radio] {
  margin-top: 3px;
  accent-color: var(--primary-color, #6366f1);
}

.radio-label {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.radio-label strong {
  font-size: 0.9rem;
}
.radio-label small {
  font-size: 0.8rem;
  color: var(--text-muted, #64748b);
}

.change-summary {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border-color, #e2e8f0);
  text-align: center;
}

.summary-content {
  padding: 12px;
  background: var(--bg-muted, #f8fafc);
  border-radius: 8px;
  margin-bottom: 16px;
  font-size: 0.9rem;
}

#btn-confirm-change {
  width: 100%;
  padding: 12px;
}

@media (max-width: 640px) {
  .plans-grid {
    grid-template-columns: 1fr;
  }
  .modal-change-plan {
    max-width: 100%;
    margin: 10px;
  }
}
/*
  Created by Stephane Arribart.
  For Influa
  Date: 23/01/2026
  Time: 16:39

  --- _profile ---

          |\      _,,,---,,_
    ZZZzz /,`.-'`'    -.  ;-;;,_
         |,4-  ) )-,_. ,\ (  `'-'
        '---''(_/--'  `-'\_)

*/
/*
  _profile.scss
  Styles pages profil et abonnement
*/
.page-header {
  margin-bottom: 24px;
}
.page-header h1 {
  font-size: 24px;
  font-weight: 700;
  color: #333;
  margin-bottom: 6px;
}
.page-header p {
  color: #666;
  font-size: 15px;
}

.card {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e5e5;
}
.card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #333;
}
.card .btn-primary,
.card .btn[type=submit] {
  width: auto;
  display: block;
  margin-left: auto;
  padding: 10px 24px;
}

.text-gradient {
  background: var(--color-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e5e5e5;
}

.profile-avatar {
  width: 72px;
  height: 72px;
  border-radius: 9999px;
  object-fit: cover;
  flex-shrink: 0;
}
.profile-avatar--placeholder {
  background: var(--color-gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 20px;
}

.profile-identity h2 {
  font-size: 20px;
  font-weight: 700;
  color: #333;
  margin-bottom: 6px;
}

.profile-form {
  max-width: 600px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 480px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #333;
  margin-bottom: 6px;
}
.form-group input[type=text],
.form-group input[type=email] {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 15px;
  font-family: "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  transition: border-color 0.2s ease;
}
.form-group input[type=text]:focus,
.form-group input[type=email]:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.1);
}
.form-group input[type=text]:disabled,
.form-group input[type=email]:disabled {
  background: #f4f4f5;
  color: #999;
  cursor: not-allowed;
}

.form-static {
  color: #666;
  font-size: 15px;
}

.form-actions {
  padding-top: 16px;
}

.provider-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
}
.provider-badge--google {
  background: #4285F4;
}
.provider-badge--linkedin {
  background: #0A66C2;
}
.provider-badge--email {
  background: #999;
}

.subscription-overview {
  border: solid 1px var(--color-primary);
}

.subscription-plan-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}
.subscription-plan-header h2 {
  font-size: 20px;
  font-weight: 700;
  color: #333;
  margin-bottom: 8px;
}
.subscription-plan-header .badge {
  margin-right: 6px;
}

.subscription-price {
  text-align: right;
}

.price-amount {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-primary);
}

.price-period {
  font-size: 15px;
  color: #999;
}

.subscription-details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

.sub-detail {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sub-label {
  font-size: 12px;
  font-weight: 600;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sub-value {
  font-size: 15px;
  font-weight: 500;
  color: #333;
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  color: #333;
  font-size: 15px;
  border-bottom: 1px solid #f4f4f5;
}
.feature-item:last-child {
  border-bottom: none;
}
.feature-item .icon-check,
.feature-item .icon-cross {
  width: 20px;
  height: 20px;
  color: #10b981;
  flex-shrink: 0;
}
.feature-item.feature--disabled {
  opacity: 0.5;
}
.feature-item.feature--disabled .icon-cross {
  color: var(--danger-color, #ef4444);
}

.upgrade-hint {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  background: #f4f4f5;
  border-radius: 8px;
  margin-top: 16px;
}
.upgrade-hint p {
  flex: 1;
  color: #666;
  font-size: 13px;
  margin: 0;
}
.upgrade-hint .btn {
  flex: 0 0 auto;
  width: auto;
  white-space: nowrap;
}
@media (max-width: 480px) {
  .upgrade-hint {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

.management-actions {
  border-top: 1px solid #e5e5e5;
  padding-top: 16px;
}

.management-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.management-action div {
  flex: 1;
}
.management-action div h4 {
  font-size: 15px;
  font-weight: 600;
  color: #333;
  margin-bottom: 6px;
}
.management-action div p {
  font-size: 13px;
  color: #999;
  margin: 0;
}
.management-action .btn {
  flex: 0 0 auto;
  width: auto;
  white-space: nowrap;
}
@media (max-width: 480px) {
  .management-action {
    flex-direction: column;
    align-items: flex-start;
  }
}

.empty-state {
  text-align: center;
  padding: 40px 20px;
}
.empty-state .empty-icon {
  width: 64px;
  height: 64px;
  color: #ccc;
  margin-bottom: 20px;
}
.empty-state h2 {
  font-size: 20px;
  color: #333;
  margin-bottom: 8px;
}
.empty-state p {
  color: #999;
  margin-bottom: 20px;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 16px;
}

.modal-content {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  max-width: 480px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.modal-content h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
}
.modal-content p {
  color: #666;
  margin-bottom: 16px;
  line-height: 1.6;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid #e5e5e5;
}
.modal-actions .btn {
  flex: 1;
  padding: 10px 16px;
  width: auto;
  white-space: nowrap;
  text-align: center;
}

.badge-warning {
  background: #fef3c7;
  color: #d97706;
  border: 1px solid #fde68a;
}

.badge-abonne {
  background: #d1fae5;
  color: #059669;
  border: 1px solid #a7f3d0;
}

.btn-danger {
  background: #dc2626;
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease;
}
.btn-danger:hover {
  background: rgb(178.25, 28.75, 28.75);
}

.btn-danger-outline {
  background: none;
  color: #dc2626;
  border: 1px solid #dc2626;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-danger-outline:hover {
  background: #dc2626;
  color: #fff;
}

.btn-outline {
  background: none;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}
.btn-outline:hover {
  background: var(--color-primary);
  color: #fff;
}

.avatar-section {
  display: flex;
  align-items: center;
  gap: 20px;
}
@media (max-width: 480px) {
  .avatar-section {
    flex-direction: column;
    align-items: flex-start;
  }
}

.avatar-preview-large {
  width: 96px;
  height: 96px;
  border-radius: 9999px;
  overflow: hidden;
  flex-shrink: 0;
  border: 3px solid #e5e5e5;
}
.avatar-preview-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-placeholder-large {
  width: 100%;
  height: 100%;
  background: var(--color-gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 24px;
}

.avatar-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.avatar-form {
  display: inline-flex;
}

.avatar-readonly {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e5e5e5;
}
.avatar-readonly .avatar-preview {
  width: 72px;
  height: 72px;
  border-radius: 9999px;
  overflow: hidden;
  flex-shrink: 0;
}
.avatar-readonly .avatar-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.password-form {
  max-width: 500px;
}

.input-password {
  position: relative;
  display: flex;
  align-items: center;
}
.input-password .form-input {
  padding-right: 48px;
}
.input-password .toggle-password {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: #999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.input-password .toggle-password:hover {
  color: var(--color-primary);
}
.input-password .toggle-password svg {
  width: 20px;
  height: 20px;
}
.input-password .toggle-password .icon-eye-off {
  display: none;
}
.input-password .toggle-password.active .icon-eye {
  display: none;
}
.input-password .toggle-password.active .icon-eye-off {
  display: block;
}

.account-info {
  display: flex;
  flex-direction: column;
}

.info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #f4f4f5;
}
.info-row:last-child {
  border-bottom: none;
}

.info-label {
  font-size: 13px;
  color: #999;
  font-weight: 500;
}

.info-value {
  font-size: 15px;
  color: #333;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
}

.form-input.error {
  border-color: #dc2626;
}
.form-input.error:focus {
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

/*
  Created by Stephane Arribart.
  For Influa
  Date: 28/01/2026
  Time: 15:20

  --- _pricing ---

          |\      _,,,---,,_
    ZZZzz /,`.-'`'    -.  ;-;;,_
         |,4-  ) )-,_. ,\ (  `'-'
        '---''(_/--'  `-'\_)  

*/
.page-pricing {
  background: #f4f4f5;
  min-height: 100vh;
}
.page-pricing .header {
  position: fixed;
  width: 100%;
  z-index: 99;
  padding: 20px 24px 16px 24px;
}
.page-pricing .header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 30px;
  border-radius: 10px;
  background-color: rgba(255, 255, 255, 0.95);
}
.page-pricing .logo {
  font-size: 20px;
  font-weight: 700;
  color: #333;
  text-decoration: none;
}
.page-pricing .logo svg {
  display: block;
  width: 280px;
}
.page-pricing .logo:hover {
  text-decoration: none;
}
.page-pricing .nav {
  display: flex;
  gap: 16px;
  align-items: center;
}
.page-pricing .user-greeting {
  color: #666;
  font-size: 14px;
  white-space: nowrap;
}
.page-pricing .btn-logout {
  padding: 8px 16px;
  background: #fee2e2;
  color: #dc2626;
  border-radius: 6px;
  font-size: 13px;
  text-decoration: none;
}
.page-pricing .btn-logout:hover {
  background: rgb(253.15, 201.35, 201.35);
  text-decoration: none;
}
.page-pricing .main {
  padding: 160px 0;
}
.page-pricing .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.page-pricing .pricing-header {
  text-align: center;
  margin-bottom: 32px;
}
.page-pricing .pricing-header h1 {
  font-size: 32px;
  font-weight: 700;
  color: #333;
  margin-bottom: 12px;
}
.page-pricing .pricing-header p {
  color: #666;
  font-size: 18px;
  margin: 0;
}
.page-pricing .pricing-separator {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 40px 0;
}
.page-pricing .pricing-separator::before, .page-pricing .pricing-separator::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e5e5e5;
}
.page-pricing .pricing-separator span {
  font-size: 15px;
  font-weight: 600;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.page-pricing .pricing-toggle {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
  gap: 0;
  border: 2px solid #e5e5e5;
  border-radius: 8px;
  padding: 4px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  background: #fff;
}
.page-pricing .toggle-btn {
  position: relative;
  padding: 12px 24px;
  border: 2px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: #666;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  min-width: 120px;
}
.page-pricing .toggle-btn:hover {
  color: var(--color-primary);
}
.page-pricing .toggle-btn.active {
  background: #fff;
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.page-pricing .toggle-badge {
  position: absolute;
  top: -10px;
  right: -10px;
  background: #059669;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 9999px;
}
.page-pricing .pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: start;
}
@media (max-width: 480px) {
  .page-pricing .pricing-grid {
    grid-template-columns: 1fr;
  }
}
.page-pricing .pricing-card {
  background: #fff;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  border: 2px solid transparent;
  position: relative;
}
.page-pricing .pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.page-pricing .pricing-card.featured {
  border-color: var(--color-primary);
}
.page-pricing .pricing-card.featured .btn-primary {
  background: var(--color-gradient);
}
.page-pricing .card-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-gradient);
  color: #fff;
  padding: 4px 16px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.page-pricing .card-header {
  text-align: center;
  margin-bottom: 24px;
}
.page-pricing .card-header h3 {
  font-size: 20px;
  color: #1e3a5f;
  margin-bottom: 12px;
  font-weight: 700;
}
.page-pricing .card-header h3 span {
  display: block;
  color: var(--color-primary);
}
.page-pricing .card-header .card-description {
  color: #666;
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
  min-height: 60px;
}
.page-pricing .card-pricing {
  text-align: center;
  margin-bottom: 24px;
}
.page-pricing .card-pricing .price {
  display: block;
  font-size: 48px;
  font-weight: 700;
  color: #1e3a5f;
  line-height: 1;
  margin-bottom: 8px;
  transition: opacity 0.15s ease;
}
.page-pricing .card-pricing .period {
  display: block;
  color: #666;
  font-size: 14px;
  transition: opacity 0.15s ease;
}
.page-pricing .card-pricing .mention {
  display: block;
  color: #999;
  font-size: 12px;
  margin-top: 4px;
}
.page-pricing .pricing-card .btn {
  display: block;
  width: 100%;
  padding: 14px 24px;
  background: var(--color-gradient-alt);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: 24px;
  font-family: "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.page-pricing .pricing-card .btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-alt);
}
.page-pricing .card-features {
  list-style: none;
  padding: 0;
  margin: 0;
}
.page-pricing .card-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0;
  font-size: 14px;
  line-height: 1.4;
  color: #666;
}
.page-pricing .card-features li.included {
  color: #333;
}
.page-pricing .card-features li.excluded {
  color: #999;
}
.page-pricing .icon-check,
.page-pricing .icon-cross {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}
.page-pricing .icon-check {
  color: #10b981;
}
.page-pricing .icon-cross {
  color: #ef4444;
}
.page-pricing .footer {
  padding: 32px 24px;
  text-align: center;
}
.page-pricing .footer p {
  margin: 0;
  color: #666;
  font-size: 14px;
}

/*
  Created by Stephane Arribart.
  For Influa
  Date: 06/02/2026
  Time: 16:31

  --- _business-plan ---

          |\      _,,,---,,_
    ZZZzz /,`.-'`'    -.  ;-;;,_
         |,4-  ) )-,_. ,\ (  `'-'
        '---''(_/--'  `-'\_)  

*/
/*
  _business-plan.scss — Listing des business plans
  Utilise les variables de _variables.scss
*/
.bp-listing {
  max-width: 900px;
}

.bp-listing__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.bp-listing__title {
  font-size: 24px;
  font-weight: 700;
  color: #333;
  margin: 0;
}

.bp-listing__count {
  font-size: 13px;
  color: #999;
  margin: 6px 0 0;
}

.bp-listing__btn-new {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 6px;
  background: var(--color-primary);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}
.bp-listing__btn-new:hover {
  background: var(--color-primary-dark);
  box-shadow: var(--shadow-primary);
}
.bp-listing__btn-new--disabled {
  background: #ddd;
  cursor: not-allowed;
  pointer-events: none;
}
.bp-listing__btn-new--disabled:hover {
  box-shadow: none;
}

.bp-listing__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.bp-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e5e5e5;
  padding: 20px;
  text-decoration: none;
  color: #333;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.bp-card:hover {
  border-color: var(--color-primary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
  text-decoration: none;
}
.bp-card:hover .bp-card__arrow {
  opacity: 1;
  transform: translateX(0);
}

.bp-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.bp-card__name {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin: 0;
  line-height: 1.3;
}

.bp-card__badge {
  display: inline-flex;
  padding: 3px 10px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}
.bp-card__badge.badge--draft {
  background: #f4f4f5;
  color: #666;
}
.bp-card__badge.badge--progress {
  background: #e0e7ff;
  color: #4338ca;
}
.bp-card__badge.badge--done {
  background: #d1fae5;
  color: #059669;
}
.bp-card__badge.badge--archived {
  background: #fef3c7;
  color: #d97706;
}

.bp-card__desc {
  font-size: 13px;
  color: #666;
  line-height: 1.5;
  margin: 0 0 12px;
  flex: 1;
}

.bp-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.bp-card__meta-item {
  font-size: 11px;
  color: #999;
  background: #f4f4f5;
  padding: 2px 8px;
  border-radius: 6px;
}

.bp-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid #f4f4f5;
}

.bp-card__date {
  font-size: 11px;
  color: #999;
}

.bp-card__arrow {
  font-size: 18px;
  color: var(--color-primary);
  opacity: 0;
  transform: translateX(-4px);
  transition: all 0.2s ease;
}

.bp-card--new {
  border-style: dashed;
  border-color: #ddd;
  justify-content: center;
  align-items: center;
  min-height: 180px;
}
.bp-card--new:hover {
  border-color: var(--color-primary);
  background: rgba(var(--color-primary-rgb), 0.02);
}

.bp-card--new__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: #ccc;
  transition: color 0.2s ease;
}
.bp-card--new:hover .bp-card--new__content {
  color: var(--color-primary);
}
.bp-card--new__content span {
  font-size: 13px;
  font-weight: 500;
}

.bp-listing__upgrade {
  margin-top: 24px;
  padding: 16px 20px;
  border-radius: 8px;
  background: #fef3c7;
  border: 1px solid #fde68a;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.bp-listing__upgrade-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bp-listing__upgrade-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.bp-listing__upgrade-title {
  font-size: 13px;
  font-weight: 600;
  color: rgb(142.5582959641, 78.1771300448, 3.9417040359);
}

.bp-listing__upgrade-text {
  font-size: 11px;
  color: #d97706;
}

.bp-listing__upgrade-btn {
  padding: 8px 20px;
  border-radius: 6px;
  background: var(--color-primary);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease;
}
.bp-listing__upgrade-btn:hover {
  background: var(--color-primary-dark);
}

@media (max-width: 768px) {
  .bp-listing__header {
    flex-direction: column;
    align-items: stretch;
  }
  .bp-listing__btn-new {
    justify-content: center;
  }
  .bp-listing__grid {
    grid-template-columns: 1fr;
  }
  .bp-listing__upgrade {
    flex-direction: column;
    text-align: center;
  }
}
/*
  Created by Stephane Arribart.
  For Influa
  Date: 06/02/2026
  Time: 16:25

  --- _new-bp ---

          |\      _,,,---,,_
    ZZZzz /,`.-'`'    -.  ;-;;,_
         |,4-  ) )-,_. ,\ (  `'-'
        '---''(_/--'  `-'\_)

*/
/*
  _new-bp.scss — Formulaire de creation de business plan (3 etapes)
  Utilise les variables de _variables.scss
*/
.page-new-bp {
  background: #f4f4f5;
  min-height: 100vh;
  font-family: "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.newbp {
  max-width: 680px;
  margin: 0 auto;
  padding: 20px 20px 40px;
}

.newbp__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0 24px;
}

.newbp__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  color: #333;
}
.newbp__logo em {
  font-style: normal;
  color: var(--color-primary);
}
.newbp__logo svg {
  width: 240px;
}

.newbp__logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

.newbp__close {
  width: 36px;
  height: 36px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  text-decoration: none;
  font-size: 18px;
  transition: all 0.2s ease;
}
.newbp__close:hover {
  background: #e5e5e5;
  color: #333;
}

.newbp__stepper {
  margin-bottom: 32px;
}

.stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.stepper__step {
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0.35;
  transition: opacity 0.3s ease;
}
.stepper__step.is-active {
  opacity: 1;
}
.stepper__step.is-done {
  opacity: 1;
}
.stepper__step.is-done .stepper__circle {
  background: #059669;
  border-color: #059669;
  color: #fff;
}
.stepper__step.is-current {
  opacity: 1;
}
.stepper__step.is-current .stepper__circle {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(var(--color-primary-rgb), 0.15);
}
.stepper__step.is-current .stepper__label {
  color: var(--color-primary);
  font-weight: 600;
}

.stepper__circle {
  width: 30px;
  height: 30px;
  border-radius: 9999px;
  border: 2px solid #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  color: #999;
  background: #fff;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.stepper__label {
  font-size: 13px;
  color: #666;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.stepper__line {
  width: 40px;
  height: 2px;
  background: #ddd;
  margin: 0 12px;
  flex-shrink: 0;
  transition: background 0.3s ease;
}
.stepper__line.is-done {
  background: #059669;
}

.newbp__errors {
  margin-bottom: 20px;
}

.alert--error {
  padding: 12px 16px;
  border-radius: 6px;
  background: #fee2e2;
  border: 1px solid #fecaca;
  color: #dc2626;
  font-size: 13px;
  margin-bottom: 8px;
}

.newbp__step {
  display: none;
  animation: fadeInStep 0.3s ease;
}
.newbp__step.is-visible {
  display: block;
}

@keyframes fadeInStep {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.newbp__step-header {
  margin-bottom: 24px;
}

.newbp__title {
  font-size: 24px;
  font-weight: 700;
  color: #333;
  margin: 0 0 6px;
}

.newbp__subtitle {
  font-size: 15px;
  color: #666;
  margin: 0;
}

.newbp__fields {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field--half {
  max-width: 50%;
}
.field--grow {
  flex: 1;
}
.field--small {
  flex: 0 0 140px;
}

.field-row {
  display: flex;
  gap: 16px;
}
@media (max-width: 480px) {
  .field-row {
    flex-direction: column;
  }
}
.field-row .field {
  flex: 1;
}

.field__label {
  font-size: 13px;
  font-weight: 500;
  color: #333;
}

.field__required {
  color: var(--color-primary);
}

.field__input,
.field__select,
.field__textarea {
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 15px;
  font-family: "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #333;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
  box-sizing: border-box;
}
.field__input::placeholder,
.field__select::placeholder,
.field__textarea::placeholder {
  color: #ccc;
}
.field__input:focus,
.field__select:focus,
.field__textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.1);
}
.field__input.is-error,
.field__select.is-error,
.field__textarea.is-error {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.field__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23999' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 32px;
  cursor: pointer;
}

.field__textarea {
  resize: vertical;
  min-height: 80px;
}

.field__input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}
.field__input-wrapper .field__input {
  padding-right: 70px;
}

.field__suffix {
  position: absolute;
  right: 16px;
  color: #999;
  font-size: 13px;
  font-weight: 500;
  pointer-events: none;
}

.field__hint {
  font-size: 11px;
  color: #999;
}

.newbp__preview {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 20px;
  margin-top: 8px;
}

.newbp__preview-title {
  font-size: 13px;
  font-weight: 600;
  color: #333;
  margin-bottom: 16px;
}

.newbp__preview-grid {
  display: flex;
  gap: 16px;
}
@media (max-width: 480px) {
  .newbp__preview-grid {
    flex-direction: column;
  }
}

.newbp__preview-item {
  flex: 1;
  text-align: center;
  padding: 12px;
  border-radius: 6px;
  background: #f4f4f5;
}
.newbp__preview-item--highlight {
  background: #d1fae5;
}
.newbp__preview-item--highlight .newbp__preview-value {
  color: #059669;
}
.newbp__preview-item--highlight.is-negative {
  background: #fee2e2;
}
.newbp__preview-item--highlight.is-negative .newbp__preview-value {
  color: #dc2626;
}

.newbp__preview-label {
  display: block;
  font-size: 11px;
  color: #666;
  margin-bottom: 4px;
}

.newbp__preview-value {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: #333;
}

.newbp__preview-note {
  margin-top: 12px;
  font-size: 11px;
  color: #999;
  text-align: center;
}

.newbp__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid #e5e5e5;
}

.newbp__nav-dots {
  display: flex;
  gap: 8px;
}

.newbp__dot {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background: #ddd;
  transition: all 0.3s ease;
}
.newbp__dot.is-active {
  background: var(--color-primary);
  width: 24px;
}

.btn--primary {
  padding: 12px 24px;
  border-radius: 6px;
  border: none;
  background: var(--color-gradient);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  font-family: "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn--primary:hover {
  box-shadow: var(--shadow-primary);
  transform: translateY(-1px);
}
.btn--primary:active {
  transform: translateY(1px);
}

.btn--ghost {
  padding: 12px 24px;
  border-radius: 6px;
  border: none;
  background: transparent;
  color: #666;
  font-size: 15px;
  font-weight: 500;
  font-family: "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  cursor: pointer;
  transition: color 0.2s ease;
}
.btn--ghost:hover {
  color: #333;
}

.newbp__footer {
  text-align: center;
  padding: 20px 0;
}

.newbp__footer-plan {
  font-size: 12px;
  color: #999;
}

@media (max-width: 768px) {
  .newbp {
    padding: 16px 16px 32px;
  }
  .stepper__label {
    display: none;
  }
  .stepper__line {
    width: 28px;
  }
  .field--half {
    max-width: 100%;
  }
  .newbp__nav {
    gap: 8px;
  }
  .btn--primary,
  .btn--ghost {
    padding: 12px 16px;
    font-size: 13px;
  }
}
/*
  Created by Stephane Arribart.
  For Influa
  Date: 11/02/2026
  Time: 10:00

  --- _wizard ---

          |\      _,,,---,,_
    ZZZzz /,`.-'`'    -.  ;-;;,_
         |,4-  ) )-,_. ,\ (  `'-'
        '---''(_/--'  `-'\_)

*/
.wizard-chat {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 180px);
  max-width: 700px;
  margin: 0 auto;
}

.wizard-chat__messages {
  flex: 1;
  min-height: 120px;
  overflow-y: auto;
  padding: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.wizard-chat__messages::-webkit-scrollbar {
  width: 0;
  background: transparent;
}
.wizard-chat__messages:hover {
  scrollbar-width: thin;
  scrollbar-color: #ddd transparent;
}
.wizard-chat__messages:hover::-webkit-scrollbar {
  width: 3px;
}
.wizard-chat__messages:hover::-webkit-scrollbar-thumb {
  background: #ddd;
  border-radius: 2px;
}
.wizard-chat__messages:hover::-webkit-scrollbar-track {
  background: transparent;
}

.wizard-chat__input-area {
  padding: 20px 0 12px;
  border-top: 1px solid #e5e5e5;
  background: #f4f4f5;
  flex-shrink: 0;
  overflow-y: auto;
  animation: wizardInputFadeIn 0.3s ease;
}
.wizard-chat__input-area::-webkit-scrollbar {
  width: 3px;
}
.wizard-chat__input-area::-webkit-scrollbar-thumb {
  background: #ddd;
  border-radius: 2px;
}
.wizard-chat__input-area::-webkit-scrollbar-track {
  background: transparent;
}
.wizard-chat__input-area {
  scrollbar-width: thin;
  scrollbar-color: #ddd transparent;
}

.wizard-chat__bubble {
  display: flex;
  gap: 12px;
  max-width: 85%;
  animation: wizardBubbleIn 0.3s ease;
}
.wizard-chat__bubble--system {
  align-self: flex-start;
}
.wizard-chat__bubble--system .wizard-chat__text {
  background: #fff;
  color: #333;
  border-radius: 12px 12px 12px 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.wizard-chat__bubble--user {
  align-self: flex-end;
  flex-direction: row-reverse;
}
.wizard-chat__bubble--user .wizard-chat__text {
  background: var(--color-primary);
  color: #fff;
  border-radius: 12px 12px 4px 12px;
  cursor: pointer;
  transition: opacity 0.2s ease;
}
.wizard-chat__bubble--user .wizard-chat__text:hover {
  opacity: 0.85;
}

.wizard-chat__avatar {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wizard-chat__avatar img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.wizard-chat__text {
  padding: 12px 16px;
  font-size: 15px;
  line-height: 1.5;
}

.wizard-chat__typing {
  display: flex;
  align-items: center;
  gap: 12px;
  align-self: flex-start;
  padding-left: 48px;
}
.wizard-chat__typing span {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background: #ccc;
  animation: wizardTypingDot 1.4s ease-in-out infinite;
}
.wizard-chat__typing span:nth-child(2) {
  animation-delay: 0.2s;
}
.wizard-chat__typing span:nth-child(3) {
  animation-delay: 0.4s;
}

.wizard-chat__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.wizard-chat__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 12px;
  background: #fff;
  border: 2px solid #e5e5e5;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  font-family: "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 13px;
  color: #333;
  min-height: 90px;
  justify-content: center;
}
.wizard-chat__card:hover {
  border-color: var(--color-primary);
  box-shadow: 0 2px 8px rgba(var(--color-primary-rgb), 0.15);
  transform: translateY(-1px);
}
.wizard-chat__card--selected, .wizard-chat__card.is-selected {
  border-color: var(--color-primary);
  background: rgba(var(--color-primary-rgb), 0.06);
  color: var(--color-primary);
  font-weight: 600;
}
.wizard-chat__card--disabled, .wizard-chat__card.is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

.wizard-chat__card-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}
.wizard-chat__card-icon svg {
  width: 24px;
  height: 24px;
}

.wizard-chat__card-label {
  font-size: 13px;
  line-height: 1.3;
}

.wizard-chat__card--multi {
  position: relative;
}
.wizard-chat__card--multi .wizard-chat__card-check {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 20px;
  height: 20px;
  border: 2px solid #ddd;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  background: #fff;
}
.wizard-chat__card--multi.is-selected .wizard-chat__card-check {
  border-color: var(--color-primary);
  background: var(--color-primary);
}
.wizard-chat__card--multi.is-selected .wizard-chat__card-check svg {
  color: #fff;
}

.wizard-chat__multi-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 12px;
  gap: 12px;
}

.wizard-chat__custom-add {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed #e5e5e5;
}

.wizard-chat__custom-row {
  display: flex;
  gap: 8px;
  align-items: center;
}
.wizard-chat__custom-row .wizard-chat__custom-input {
  flex: 1;
  font-size: 13px;
}

.wizard-chat__custom-btn {
  padding: 8px 12px;
  border: 2px solid #1e3a5f;
  border-radius: 8px;
  background: transparent;
  color: #1e3a5f;
  font-size: 13px;
  font-weight: 600;
  font-family: "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}
.wizard-chat__custom-btn:hover {
  background: #1e3a5f;
  color: #fff;
}

.wizard-chat__custom-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.wizard-chat__custom-tags:empty {
  display: none;
}

.wizard-chat__custom-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  background: #1e3a5f;
  color: #fff;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 500;
  animation: wizardBubbleIn 0.2s ease;
}

.wizard-chat__custom-tag-remove {
  background: none;
  border: none;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  opacity: 0.7;
}
.wizard-chat__custom-tag-remove:hover {
  opacity: 1;
}

.wizard-chat__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  justify-content: center;
}

.wizard-chat__pill {
  padding: 6px 12px;
  border: 2px solid #e5e5e5;
  border-radius: 8px;
  background: #fff;
  color: #333;
  font-size: 13px;
  font-weight: 500;
  font-family: "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.wizard-chat__pill:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.wizard-chat__pill--selected, .wizard-chat__pill.is-selected {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: #fff;
}

.wizard-chat__text-input {
  display: flex;
  gap: 12px;
  align-items: flex-end;
}

.wizard-chat__field {
  flex: 1;
  position: relative;
}

.wizard-chat__input, .wizard-chat__textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e5e5e5;
  border-radius: 8px;
  font-size: 15px;
  font-family: "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #333;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}
.wizard-chat__input::placeholder, .wizard-chat__textarea::placeholder {
  color: #ccc;
}
.wizard-chat__input:focus, .wizard-chat__textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.1);
}
.wizard-chat__input.is-error, .is-error.wizard-chat__textarea {
  border-color: #dc2626;
}

.wizard-chat__textarea {
  resize: vertical;
  min-height: 80px;
}

.wizard-chat__amount-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.wizard-chat__amount-input {
  display: flex;
  align-items: center;
  gap: 12px;
}

.wizard-chat__input-suffix {
  position: relative;
  flex: 1;
}
.wizard-chat__input-suffix .wizard-chat__input, .wizard-chat__input-suffix .wizard-chat__textarea {
  padding-right: 70px;
}

.wizard-chat__suffix {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  font-size: 13px;
  font-weight: 500;
  pointer-events: none;
}

.wizard-chat__amount-suggestions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.wizard-chat__amount-pill {
  padding: 4px 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fff;
  color: #666;
  font-size: 12px;
  font-family: "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  cursor: pointer;
  transition: all 0.2s ease;
}
.wizard-chat__amount-pill:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.wizard-chat__location {
  display: flex;
  gap: 12px;
}
.wizard-chat__location .wizard-chat__field--city {
  flex: 2;
}
.wizard-chat__location .wizard-chat__field--zip {
  flex: 0 0 120px;
}

.wizard-chat__send {
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 8px;
  background: var(--color-primary);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s ease;
}
.wizard-chat__send:hover {
  background: var(--color-primary-dark);
}
.wizard-chat__send:disabled {
  background: #ddd;
  cursor: not-allowed;
}
.wizard-chat__send svg {
  width: 18px;
  height: 18px;
}

.wizard-chat__next-btn {
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  background: var(--color-primary);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  font-family: "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  cursor: pointer;
  transition: background 0.2s ease;
}
.wizard-chat__next-btn:hover {
  background: var(--color-primary-dark);
}
.wizard-chat__next-btn:disabled {
  background: #ddd;
  cursor: not-allowed;
}

.wizard-chat__skip-btn {
  padding: 8px 16px;
  border: none;
  background: transparent;
  color: #999;
  font-size: 13px;
  font-family: "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  cursor: pointer;
  transition: color 0.2s ease;
}
.wizard-chat__skip-btn:hover {
  color: #333;
}

.wizard-chat__summary {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.wizard-chat__summary-title {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e5e5e5;
}

.wizard-chat__summary-rows {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.wizard-chat__summary-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 8px 0;
}
.wizard-chat__summary-row:not(:last-child) {
  border-bottom: 1px solid #f4f4f5;
}

.wizard-chat__summary-label {
  font-size: 13px;
  color: #999;
  flex-shrink: 0;
  min-width: 140px;
}

.wizard-chat__summary-value {
  font-size: 13px;
  color: #333;
  font-weight: 500;
  text-align: right;
  word-break: break-word;
}

.wizard-chat__summary-list {
  margin-bottom: 16px;
}

.wizard-chat__summary-list-title {
  font-size: 13px;
  font-weight: 600;
  color: #999;
  margin-bottom: 8px;
}

.wizard-chat__summary-items {
  list-style: none;
  margin: 0;
  padding: 0;
}

.wizard-chat__summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  border-bottom: 1px solid #f4f4f5;
}
.wizard-chat__summary-item:last-child {
  border-bottom: none;
}

.wizard-chat__summary-item-name {
  font-size: 13px;
  color: #333;
}

.wizard-chat__summary-item-amount {
  font-size: 13px;
  color: #999;
  font-weight: 500;
  white-space: nowrap;
  margin-left: 12px;
}

.wizard-chat__summary-hint {
  font-size: 12px;
  color: #666;
  text-align: center;
  margin-bottom: 16px;
  font-style: italic;
}

.wizard-chat__summary-actions {
  display: flex;
  justify-content: center;
}

.wizard-chat__submit-btn {
  padding: 12px 32px;
  border: none;
  border-radius: 6px;
  background: var(--color-gradient);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  font-family: "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  cursor: pointer;
  transition: opacity 0.2s ease, box-shadow 0.2s ease;
  box-shadow: var(--shadow-primary);
}
.wizard-chat__submit-btn:hover {
  opacity: 0.9;
}
.wizard-chat__submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.wizard-chat__hint {
  font-size: 11px;
  color: #999;
  margin-top: 2px;
}

.wizard-chat__char-count {
  font-size: 11px;
  color: #ccc;
  text-align: right;
}

.wizard-chat--modal {
  height: auto;
  max-height: 85vh;
  max-width: 600px;
  width: 95%;
  margin: 0;
  background: #f4f4f5;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.wizard-chat--modal > div:not(.wizard-chat__modal-header),
.wizard-chat--modal .wizard-chat__inner {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}
.wizard-chat--modal .wizard-chat__messages {
  height: auto;
  min-height: 100px;
  flex: 1 1 auto;
  padding: 16px 20px;
  overflow-y: auto;
}
.wizard-chat--modal .wizard-chat__input-area {
  padding: 16px 20px;
  background: #fff;
  border-top: 1px solid #e5e5e5;
  flex-shrink: 0;
  max-height: 50vh;
  overflow-y: auto;
}

.wizard-chat__modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #e5e5e5;
  background: #fff;
  flex-shrink: 0;
}
.wizard-chat__modal-header h4 {
  font-size: 15px;
  font-weight: 600;
  color: #333;
  margin: 0;
}

.wizard-chat__modal-close {
  width: 32px;
  height: 32px;
  border: none;
  background: none;
  color: #999;
  cursor: pointer;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  font-size: 18px;
}
.wizard-chat__modal-close:hover {
  background: #f4f4f5;
  color: #333;
}

.wizard-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.wizard-modal-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

@keyframes wizardBubbleIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes wizardInputFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes wizardTypingDot {
  0%, 60%, 100% {
    opacity: 0.3;
    transform: scale(0.8);
  }
  30% {
    opacity: 1;
    transform: scale(1);
  }
}
@media (max-width: 768px) {
  .wizard-chat {
    height: calc(100vh - 160px);
  }
  .wizard-chat__cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .wizard-chat--modal .wizard-chat__cards {
    grid-template-columns: 1fr;
  }
  .wizard-chat__bubble {
    max-width: 92%;
  }
  .wizard-chat__summary-row {
    flex-direction: column;
    gap: 6px;
  }
  .wizard-chat__summary-label {
    min-width: auto;
  }
  .wizard-chat__summary-value {
    text-align: left;
  }
}
@media (max-width: 480px) {
  .wizard-chat__cards {
    grid-template-columns: 1fr;
    touch-action: pan-y;
  }
  .wizard-chat__card {
    touch-action: pan-y;
  }
  .wizard-chat__location {
    flex-direction: column;
  }
  .wizard-chat__location .wizard-chat__field--zip {
    flex: 1;
  }
  .wizard-chat__card {
    min-height: 60px;
    padding: 12px;
  }
  .wizard-chat__pills {
    gap: 6px;
  }
  .wizard-chat__pill {
    font-size: 12px;
    padding: 6px 12px;
  }
  .wizard-chat__bubble {
    max-width: 95%;
  }
  .wizard-chat__avatar {
    width: 26px;
    height: 26px;
  }
  .wizard-chat__avatar img {
    width: 26px;
    height: 26px;
  }
  .wizard-chat--modal {
    max-height: 100dvh;
    height: 100dvh;
    width: 100%;
    border-radius: 0;
    background: #fff !important;
  }
  .wizard-chat--modal > div:not(.wizard-chat__modal-header),
  .wizard-chat--modal .wizard-chat__inner {
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    background: #fff;
  }
  .wizard-chat--modal .wizard-chat__messages {
    flex: 0 0 auto !important;
    min-height: 0 !important;
    height: auto !important;
    overflow: visible !important;
    padding: 8px 16px;
    background: #f4f4f5;
  }
  .wizard-chat--modal .wizard-chat__input-area {
    flex: 1 1 0% !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow-y: scroll !important;
    -webkit-overflow-scrolling: touch;
  }
  .wizard-chat--modal .wizard-chat__cards {
    grid-template-columns: 1fr !important;
  }
}
/*
  Created by Stephane Arribart.
  For Influa
  Date: 06/02/2026
  Time: 16:43

  --- _editor ---

          |\      _,,,---,,_
    ZZZzz /,`.-'`'    -.  ;-;;,_
         |,4-  ) )-,_. ,\ (  `'-'
        '---''(_/--'  `-'\_)  

*/
/*
  _editor.scss — Page éditeur business plan
  Imports modulaires — chaque partial est autonome
*/
/*
  Created by Stephane Arribart.
  For Influa
  Date: 06/02/2026
  Time: 17:27

  --- _variables ---

          |\      _,,,---,,_
    ZZZzz /,`.-'`'    -.  ;-;;,_
         |,4-  ) )-,_. ,\ (  `'-'
        '---''(_/--'  `-'\_)  

*/
/*
  Created by Stephane Arribart.
  For Influa
  Date: 06/02/2026
  Time: 17:27

  --- _layout ---

          |\      _,,,---,,_
    ZZZzz /,`.-'`'    -.  ;-;;,_
         |,4-  ) )-,_. ,\ (  `'-'
        '---''(_/--'  `-'\_)  

*/
.page-editor {
  display: flex;
  height: 100vh;
  overflow: hidden;
  background: #f4f4f5;
  font-family: "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/*
  Created by Stephane Arribart.
  For Influa
  Date: 06/02/2026
  Time: 17:27

  --- _sidebar ---

          |\      _,,,---,,_
    ZZZzz /,`.-'`'    -.  ;-;;,_
         |,4-  ) )-,_. ,\ (  `'-'
        '---''(_/--'  `-'\_)  

*/
.editor-sidebar {
  width: 260px;
  min-width: 260px;
  background: #1b2d44;
  display: flex;
  flex-direction: column;
  transition: width 0.3s ease, min-width 0.3s ease;
  overflow: hidden;
  z-index: 100;
}
.editor-sidebar.is-collapsed {
  width: 72px;
  min-width: 72px;
}
.editor-sidebar.is-collapsed .sidebar-bp-selector,
.editor-sidebar.is-collapsed .sidebar-limit,
.editor-sidebar.is-collapsed .sidebar-nav__label,
.editor-sidebar.is-collapsed .sidebar-nav__check,
.editor-sidebar.is-collapsed .sidebar-progress,
.editor-sidebar.is-collapsed .sidebar-footer__info,
.editor-sidebar.is-collapsed .sidebar-footer__logout-label {
  display: none;
}
.editor-sidebar.is-collapsed .sidebar-logo {
  padding: 16px 12px;
  justify-content: center;
}
.editor-sidebar.is-collapsed .sidebar-logo__link {
  display: none;
}
.editor-sidebar.is-collapsed .sidebar-toggle {
  margin: 0 auto;
}
.editor-sidebar.is-collapsed .sidebar-toggle svg {
  transform: rotate(180deg);
}
.editor-sidebar.is-collapsed .sidebar-nav__item {
  justify-content: center;
  padding: 12px;
  margin: 2px auto;
}
.editor-sidebar.is-collapsed .sidebar-nav__icon {
  margin: 0;
}

.sidebar-logo {
  padding: 20px;
  border-bottom: 1px solid #2d4162;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
}

.sidebar-logo__link {
  display: flex;
  align-items: center;
  text-decoration: none;
  overflow: hidden;
}
.sidebar-logo__link svg {
  height: 32px;
  width: auto;
}

.sidebar-toggle {
  background: none;
  border: none;
  color: #6b7a94;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease, background 0.2s ease;
  flex-shrink: 0;
}
.sidebar-toggle svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}
.sidebar-toggle:hover {
  color: #fff;
  background: #243752;
}

.sidebar-bp-selector {
  padding: 12px 16px;
  border-bottom: 1px solid #2d4162;
  position: relative;
}

.bp-selector {
  padding: 8px 12px;
  border-radius: 6px;
  background: #2d4162;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: background 0.2s ease;
}
.bp-selector:hover {
  background: rgb(53.0244755245, 76.5909090909, 115.4755244755);
}

.bp-selector__name {
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 160px;
}

.bp-selector__status {
  font-size: 10px;
  color: #8a9ab5;
  margin-top: 1px;
}

.bp-selector__arrow {
  color: #8a9ab5;
  font-size: 10px;
  flex-shrink: 0;
}

.bp-selector__dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 16px;
  right: 16px;
  background: #2d4162;
  border-radius: 6px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  z-index: 110;
  overflow: hidden;
}
.bp-selector__dropdown.is-open {
  display: block;
}

.bp-selector__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  text-decoration: none;
  transition: background 0.2s ease;
}
.bp-selector__item:hover {
  background: rgb(53.0244755245, 76.5909090909, 115.4755244755);
}
.bp-selector__item.is-active {
  background: rgb(57.8391608392, 83.5454545455, 125.9608391608);
  border-left: 3px solid var(--color-primary);
}
.bp-selector__item--new {
  border-top: 1px solid #1b2d44;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  justify-content: center;
  padding: 12px;
  margin: 6px;
  border-radius: 6px;
  background: var(--color-gradient);
  text-align: center;
  letter-spacing: 0.2px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.bp-selector__item--new:hover {
  background: var(--color-gradient);
  opacity: 0.9;
  transform: translateY(-1px);
}

.bp-selector__item-name {
  font-size: 12px;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bp-selector__item-status {
  font-size: 10px;
  color: #8a9ab5;
  flex-shrink: 0;
  margin-left: 8px;
}

.sidebar-limit {
  padding: 12px 20px;
  border-bottom: 1px solid #2d4162;
}

.sidebar-limit__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.sidebar-limit__label {
  font-size: 11px;
  color: #8a9ab5;
  font-weight: 500;
  letter-spacing: 0.3px;
}

.sidebar-limit__count {
  font-size: 11px;
  color: #8a9ab5;
  font-weight: 600;
}
.sidebar-limit__count.is-maxed {
  color: #f0a0a0;
}

.sidebar-limit__bar {
  height: 3px;
  border-radius: 2px;
  background: #2d4162;
}

.sidebar-limit__fill {
  height: 100%;
  border-radius: 2px;
  background: var(--color-primary);
  transition: width 0.3s ease;
}
.sidebar-limit__fill.is-maxed {
  background: #dc2626;
}

.sidebar-nav {
  flex: 1;
  padding-top: 12px;
  overflow-y: auto;
}
.sidebar-nav::-webkit-scrollbar {
  width: 4px;
}
.sidebar-nav::-webkit-scrollbar-thumb {
  background: #2d4162;
  border-radius: 2px;
}

.sidebar-nav__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  margin: 2px 8px;
  color: #8a9ab5;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.2s ease;
}
.sidebar-nav__item:hover {
  background: #243752;
  color: #c5d0e0;
}
.sidebar-nav__item.is-active {
  background: #2d4162;
  color: #fff;
  font-weight: 600;
}
.sidebar-nav__item--dashboard {
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
  padding: 14px 20px;
  border-bottom: 1px solid #2d4162;
  padding-bottom: 18px;
  background: rgba(255, 255, 255, 0.04);
  letter-spacing: 0.2px;
}
.sidebar-nav__item--dashboard .sidebar-nav__icon {
  width: 24px;
  height: 24px;
}
.sidebar-nav__item--dashboard .sidebar-nav__icon svg {
  width: 20px;
  height: 20px;
  stroke-width: 2.2;
}
.sidebar-nav__item--dashboard:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.sidebar-nav__item--dashboard.is-active {
  background: rgba(var(--color-primary-rgb), 0.18);
  color: #fff;
}

.sidebar-nav__icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sidebar-nav__icon svg {
  width: 18px;
  height: 18px;
}

.sidebar-nav__label {
  white-space: nowrap;
}

.sidebar-nav__check {
  margin-left: auto;
  color: #10b981;
  font-size: 13px;
  font-weight: 700;
  opacity: 0.8;
}

.sidebar-progress {
  padding: 8px 20px 12px;
  border-top: 1px solid #2d4162;
}

.sidebar-progress__header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
}

.sidebar-progress__label {
  font-size: 12px;
  color: #8a9ab5;
}

.sidebar-progress__count {
  font-size: 12px;
  color: #fff;
  font-weight: 600;
}

.sidebar-progress__bar {
  height: 4px;
  background: #2d4162;
  border-radius: 2px;
  overflow: hidden;
}

.sidebar-progress__fill {
  height: 100%;
  background: #10b981;
  border-radius: 2px;
  transition: width 0.3s ease;
}

.sidebar-nav__separator {
  height: 1px;
  background: #2d4162;
  margin: 8px 16px;
}

.sidebar-nav__back {
  color: #8a9ab5;
}
.sidebar-nav__back:hover {
  color: #fff;
  background: #243752;
}

.sidebar-footer {
  padding: 12px 8px;
  border-top: 1px solid #2d4162;
}

.sidebar-footer__user {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
}

.sidebar-footer__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.sidebar-footer__avatar--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #2d4162;
  color: #8a9ab5;
}
.sidebar-footer__avatar--placeholder svg {
  width: 20px;
  height: 20px;
}

.sidebar-footer__info {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: opacity 0.3s ease;
}

.sidebar-footer__name {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-footer__plan {
  font-size: 12px;
  color: #8a9ab5;
  white-space: nowrap;
}

.sidebar-footer__logout {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  color: #8a9ab5;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.2s ease;
}
.sidebar-footer__logout svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.sidebar-footer__logout:hover {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.sidebar-footer__logout-label {
  white-space: nowrap;
}

/*
  Created by Stephane Arribart.
  For Influa
  Date: 06/02/2026
  Time: 17:28

  --- _overlay ---

          |\      _,,,---,,_
    ZZZzz /,`.-'`'    -.  ;-;;,_
         |,4-  ) )-,_. ,\ (  `'-'
        '---''(_/--'  `-'\_)  

*/
.editor-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 90;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.editor-overlay.is-visible {
  display: block;
  opacity: 1;
}

.editor-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-width: 0;
}

/*
  Created by Stephane Arribart.
  For Influa
  Date: 06/02/2026
  Time: 17:28

  --- _topbar ---

          |\      _,,,---,,_
    ZZZzz /,`.-'`'    -.  ;-;;,_
         |,4-  ) )-,_. ,\ (  `'-'
        '---''(_/--'  `-'\_)  

*/
.editor-topbar {
  background: #fff;
  border-bottom: 1px solid #e2e6ec;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  flex-shrink: 0;
}
.editor-topbar--dark {
  background: #1b2d44;
  border-bottom-color: #2d4162;
}
.editor-topbar--dark .editor-tabs__item {
  color: #8a9ab5;
}
.editor-topbar--dark .editor-tabs__item:hover {
  color: #c5d0e0;
}
.editor-topbar--dark .editor-tabs__item.is-active {
  color: #fff;
  border-bottom-color: var(--color-primary);
}
.editor-topbar--dark .btn--outline {
  border-color: #2d4162;
  color: #8a9ab5;
  background: transparent;
}
.editor-topbar--dark .btn--outline:hover {
  border-color: var(--color-primary);
  color: #fff;
}
.editor-topbar--dark .btn--disabled {
  color: rgb(93.9528795812, 114.2670157068, 148.5471204188);
}
.editor-topbar--dark .editor-avatar {
  background: #2d4162;
  color: #8a9ab5;
}
.editor-topbar--dark .editor-burger span {
  background: #8a9ab5;
}

.editor-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-right: 12px;
}
.editor-burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: #333;
  margin: 4px 0;
  border-radius: 1px;
}

.editor-tabs {
  display: flex;
  gap: 0;
}

.editor-tabs__item {
  padding: 16px 18px;
  color: #666;
  text-decoration: none;
  font-size: 13px;
  font-weight: 400;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.editor-tabs__item:hover {
  color: #333;
}
.editor-tabs__item.is-active {
  color: var(--color-primary);
  font-weight: 600;
  border-bottom-color: var(--color-primary);
}

.editor-topbar__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.editor-topbar__title {
  font-size: 18px;
  font-weight: 700;
  color: #333;
  margin: 0;
  white-space: nowrap;
}

.editor-avatar {
  width: 32px;
  height: 32px;
  border-radius: 9999px;
  background: #fce8f2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  overflow: hidden;
}
.editor-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.btn--outline {
  padding: 7px 16px;
  border-radius: 6px;
  border: 1px solid #e2e6ec;
  background: #fff;
  color: #333;
  font-size: 12px;
  font-weight: 500;
  font-family: "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  cursor: pointer;
}
.btn--outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn--sm {
  padding: 6px 14px;
  font-size: 12px;
}

.btn--xs {
  padding: 4px 10px;
  font-size: 11px;
}

.btn--disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

.btn__icon {
  font-size: 14px;
}

/*
  Created by Stephane Arribart.
  For Influa
  Date: 06/02/2026
  Time: 17:28

  --- _content ---

          |\      _,,,---,,_
    ZZZzz /,`.-'`'    -.  ;-;;,_
         |,4-  ) )-,_. ,\ (  `'-'
        '---''(_/--'  `-'\_)  

*/
.editor-content {
  flex: 1;
  overflow: auto;
  padding: 24px;
}

.editor-content__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.year-tabs {
  display: inline-flex;
  background: #fff;
  border-radius: 8px;
  border: 1px solid #e2e6ec;
  overflow: hidden;
}

.year-tabs__item {
  padding: 8px 20px;
  color: #666;
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  transition: all 0.2s ease;
}
.year-tabs__item:hover {
  color: #333;
  background: #eef1f5;
}
.year-tabs__item.is-active {
  background: var(--color-primary);
  color: #fff;
}

.summary-cards {
  display: flex;
  gap: 12px;
}

.summary-card {
  padding: 12px 18px;
  background: #fff;
  border-radius: 8px;
  border: 1px solid #e2e6ec;
  min-width: 130px;
}
.summary-card--accent {
  border-color: #fce8f2;
  background: #fce8f2;
}

.summary-card__label {
  font-size: 11px;
  color: #666;
  margin-bottom: 3px;
}

.summary-card__amount {
  font-size: 16px;
  font-weight: 700;
  color: #333;
}
.summary-card--accent .summary-card__amount {
  color: var(--color-primary-dark);
}
.summary-card__amount.is-negative {
  color: #dc2626;
}

/*
  Created by Stephane Arribart.
  For Influa
  Date: 06/02/2026
  Time: 17:28

  --- _tables ---

          |\      _,,,---,,_
    ZZZzz /,`.-'`'    -.  ;-;;,_
         |,4-  ) )-,_. ,\ (  `'-'
        '---''(_/--'  `-'\_)  

*/
.finance-table-wrapper {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e2e6ec;
  overflow: hidden;
  position: relative;
}
.finance-table-wrapper.has-scroll-right::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 24px;
  background: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.04));
  pointer-events: none;
  z-index: 3;
}
.finance-table-wrapper.has-scroll-left::before {
  content: "";
  position: absolute;
  top: 0;
  left: 160px;
  bottom: 0;
  width: 16px;
  background: linear-gradient(to left, transparent, rgba(0, 0, 0, 0.03));
  pointer-events: none;
  z-index: 3;
}

.finance-table-scroll {
  overflow-x: auto;
}
.finance-table-scroll::-webkit-scrollbar {
  height: 6px;
}
.finance-table-scroll::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 3px;
}

.finance-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  white-space: nowrap;
}
.finance-table th, .finance-table td {
  padding: 8px 12px;
  border-bottom: 1px solid #eef1f5;
}
.finance-table thead th {
  background: #f4f4f5;
  font-weight: 500;
  color: #666;
  font-size: 11px;
  letter-spacing: 0.3px;
  text-align: right;
}
.finance-table thead th:first-child {
  text-align: left;
  font-weight: 600;
}
.finance-table .col-label {
  position: sticky;
  left: 0;
  z-index: 2;
  text-align: left;
  min-width: 160px;
  font-weight: 400;
  color: #666;
}
.finance-table .col-total {
  text-align: right;
  font-weight: 500;
  background: #eef1f5;
  min-width: 95px;
  border-bottom: 1px solid #e2e6ec;
}
.finance-table .col-value {
  text-align: right;
  min-width: 85px;
}
.finance-table .is-zero {
  color: #ccc;
}
.finance-table .is-negative {
  color: #dc2626;
}
.finance-table .is-positive {
  color: #059669;
}
.finance-table .row-sub .col-label {
  padding-left: 28px;
}
.finance-table .row-sub-total {
  background: #eef1f5;
}
.finance-table .row-sub-total .col-label {
  position: sticky;
  left: 0;
  z-index: 2;
  background: #eef1f5;
  text-align: left;
  min-width: 160px;
  padding-left: 28px;
  font-size: 11px;
  color: #333;
}
.finance-table .row-sub-total .col-value {
  color: #333;
}
.finance-table .row-sub-total .col-total {
  background: rgb(228.3666666667, 233.0666666667, 239.3333333333);
}
.finance-table .col-label--indent {
  color: #666;
  font-style: italic;
}
.finance-table .row-spacer td {
  padding: 4px;
  background: #f4f4f5;
  border: none;
}

.row-section-enc {
  background: #d1fae5;
}
.row-section-enc .col-label {
  background: #d1fae5;
  font-weight: 700;
  color: rgb(3.3548387097, 100.6451612903, 70.4516129032);
  font-size: 11px;
  letter-spacing: 0.5px;
}
.row-section-enc .col-value, .row-section-enc .col-total {
  font-weight: 600;
  color: rgb(3.3548387097, 100.6451612903, 70.4516129032);
}
.row-section-enc .col-total {
  background: rgb(190.6, 248, 218.6);
}

.row-section-dec {
  background: #fef3c7;
}
.row-section-dec .col-label {
  background: #fef3c7;
  font-weight: 700;
  color: rgb(167.3721973094, 91.7847533632, 4.6278026906);
  font-size: 11px;
  letter-spacing: 0.5px;
}
.row-section-dec .col-value, .row-section-dec .col-total {
  font-weight: 600;
  color: rgb(167.3721973094, 91.7847533632, 4.6278026906);
}
.row-section-dec .col-total {
  background: rgb(253.6421052632, 238.7052631579, 178.9578947368);
}

.row-solde {
  background: #1b2d44;
}
.row-solde .col-label {
  background: #1b2d44;
  font-weight: 700;
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.5px;
}
.row-solde .col-value {
  font-weight: 600;
}
.row-solde .col-total {
  background: rgb(19.7526315789, 32.9210526316, 49.7473684211);
  font-weight: 700;
}

.row-even {
  background: #fff;
}
.row-even .col-label {
  background: #fff;
}

.row-odd {
  background: #fafbfc;
}
.row-odd .col-label {
  background: #fafbfc;
}

.row-toggle {
  cursor: pointer;
  user-select: none;
}
.row-toggle:hover {
  background: rgba(var(--color-primary-rgb), 0.03);
}
.row-toggle:hover .col-label {
  background: rgba(var(--color-primary-rgb), 0.03);
}
.row-toggle .col-label {
  font-weight: 600;
  color: #333;
}
.row-toggle .col-value, .row-toggle .col-total {
  font-weight: 500;
  color: #333;
}

.toggle-icon {
  display: inline-block;
  font-size: 9px;
  width: 16px;
  color: #666;
  transition: transform 0.2s ease;
  vertical-align: middle;
}
.toggle-icon.is-open {
  transform: rotate(90deg);
}

.row-sub-detail .col-label {
  padding-left: 44px;
  font-style: italic;
  color: #666;
  font-size: 11px;
  font-weight: 400;
}
.row-sub-detail .col-value {
  color: #666;
  font-size: 11px;
}
.row-sub-detail .col-total {
  color: #333;
  font-size: 11px;
}
.row-sub-detail:nth-child(odd) {
  background: rgba(244, 244, 245, 0.5);
}
.row-sub-detail:nth-child(odd) .col-label {
  background: rgba(244, 244, 245, 0.5);
}

.detail-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}
.detail-link:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

/*
  Created by Stephane Arribart.
  For Influa
  Date: 06/02/2026
  Time: 17:28

  --- _charts ---

          |\      _,,,---,,_
    ZZZzz /,`.-'`'    -.  ;-;;,_
         |,4-  ) )-,_. ,\ (  `'-'
        '---''(_/--'  `-'\_)  

*/
.charts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.chart-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e2e6ec;
  overflow: hidden;
}
.chart-card--wide {
  grid-column: 1/-1;
}

.chart-card__header {
  padding: 20px 20px 8px;
}

.chart-card__title {
  font-size: 15px;
  font-weight: 600;
  color: #333;
  margin: 0 0 2px;
}

.chart-card__subtitle {
  font-size: 11px;
  color: #666;
}

.chart-card__body {
  padding: 8px 20px 20px;
  position: relative;
  height: 280px;
}
.chart-card__body--donut {
  height: 300px;
}

@media (max-width: 768px) {
  .charts-grid {
    grid-template-columns: 1fr;
  }
  .chart-card__body {
    height: 240px;
  }
}
/*
  Created by Stephane Arribart.
  For Influa
  Date: 06/02/2026
  Time: 17:29

  --- _dossier ---

          |\      _,,,---,,_
    ZZZzz /,`.-'`'    -.  ;-;;,_
         |,4-  ) )-,_. ,\ (  `'-'
        '---''(_/--'  `-'\_)  

*/
.dossier {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.dossier__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e2e6ec;
  padding: 24px;
}

.dossier__header-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dossier__project-name {
  font-size: 24px;
  font-weight: 700;
  color: #333;
  margin: 0 0 8px;
}

.dossier__edit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid #e2e6ec;
  border-radius: 6px;
  background: #fff;
  color: #ccc;
  cursor: pointer;
  transition: all 0.15s ease;
  margin-bottom: 8px;
  flex-shrink: 0;
}
.dossier__edit-btn:hover {
  color: #ae0a68;
  border-color: #ae0a68;
  background: rgba(174, 10, 104, 0.04);
}

.dossier__date {
  font-size: 12px;
  color: #666;
  margin: 0 0 8px;
}

.dossier__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.dossier__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  color: #ccc;
  background: #f7f8fa;
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid #e2e6ec;
}

.dossier__desc {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
  margin: 0;
  max-width: 520px;
}

.dossier__score {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.dossier__score-circle {
  position: relative;
  width: 80px;
  height: 80px;
}
.dossier__score-circle svg {
  width: 80px;
  height: 80px;
  transform: rotate(-90deg);
}

.dossier__score-bg {
  fill: none;
  stroke: #e2e6ec;
  stroke-width: 2.5;
}

.dossier__score-fill {
  fill: none;
  stroke: var(--color-primary);
  stroke-width: 2.5;
  stroke-linecap: round;
  transition: stroke-dasharray 0.6s ease;
}

.dossier__score-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary);
}

.dossier__score-label {
  font-size: 11px;
  color: #666;
  margin-top: 6px;
}

.dossier__section-title {
  font-size: 15px;
  font-weight: 600;
  color: #333;
  margin: 0 0 16px;
}

.dossier__kpis {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e2e6ec;
  padding: 24px;
}

.dossier__kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.dossier__kpi-col {
  background: #f7f8fa;
  border-radius: 8px;
  padding: 16px;
}

.dossier__kpi-year {
  font-size: 13px;
  font-weight: 700;
  color: #1e3a5f;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #1e3a5f;
}

.dossier__kpi-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
}
.dossier__kpi-row--result {
  margin-top: 6px;
  padding-top: 8px;
  border-top: 1px solid #e2e6ec;
}

.dossier__kpi-label {
  font-size: 13px;
  color: #ccc;
}

.dossier__kpi-value {
  font-size: 13px;
  font-weight: 600;
  color: #333;
}
.dossier__kpi-value.is-positive {
  color: #059669;
}
.dossier__kpi-value.is-negative {
  color: #dc2626;
}

.dossier__kpi-row--result .dossier__kpi-label {
  font-weight: 600;
  color: #333;
}

.dossier__kpi-row--result .dossier__kpi-value {
  font-size: 15px;
  font-weight: 700;
}

.dossier__checklist {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e2e6ec;
  padding: 24px;
}

.dossier__check-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.dossier__check-card {
  background: #f7f8fa;
  border-radius: 8px;
  padding: 16px;
}
.dossier__check-card--wide {
  grid-column: 1/-1;
}

.dossier__check-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.dossier__check-name {
  font-size: 13px;
  font-weight: 600;
  color: #333;
}

.dossier__check-count {
  font-size: 11px;
  font-weight: 600;
  color: var(--color-primary);
  background: rgba(var(--color-primary-rgb), 0.1);
  padding: 2px 8px;
  border-radius: 10px;
}

.dossier__check-bar {
  height: 4px;
  background: #e2e6ec;
  border-radius: 2px;
  margin-bottom: 12px;
  overflow: hidden;
}

.dossier__check-fill {
  height: 100%;
  background: var(--color-primary);
  border-radius: 2px;
  transition: width 0.4s ease;
}

.dossier__check-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.dossier__check-list--grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px 16px;
}

.dossier__check-item {
  font-size: 13px;
  color: #ccc;
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.dossier__check-item.is-done {
  color: #333;
}
.dossier__check-item.is-done .dossier__check-icon {
  color: #059669;
}

.dossier__check-icon {
  font-size: 12px;
  width: 18px;
  text-align: center;
  flex-shrink: 0;
  color: #e2e6ec;
}

.dossier__check-link {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: inherit;
}
.dossier__check-link:hover {
  color: var(--color-primary);
}

.dossier__check-badge {
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  background: var(--color-primary);
  padding: 1px 6px;
  border-radius: 8px;
  margin-left: auto;
}

.dossier__export {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e2e6ec;
  padding: 24px;
}

.dossier__export-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.dossier__export-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #f7f8fa;
  border-radius: 8px;
  padding: 20px;
  border: 1px solid #e2e6ec;
  transition: border-color 0.2s ease;
}
.dossier__export-card:hover {
  border-color: rgb(201.35, 208.75, 219.85);
}

.dossier__export-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--color-primary-rgb), 0.08);
  border-radius: 8px;
  color: var(--color-primary);
}

.dossier__export-info {
  flex: 1;
  min-width: 0;
}

.dossier__export-name {
  font-size: 13px;
  font-weight: 600;
  color: #333;
  margin: 0 0 4px;
}

.dossier__export-desc {
  font-size: 12px;
  color: #666;
  margin: 0;
  line-height: 1.4;
}

.dossier__export-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: var(--color-primary);
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease;
}
.dossier__export-btn:hover {
  background: var(--color-primary-dark);
}
.dossier__export-btn--secondary {
  background: #1e3a5f;
}
.dossier__export-btn--secondary:hover {
  background: rgb(20.208, 39.0688, 63.992);
}
.dossier__export-btn--disabled {
  background: #e2e6ec;
  color: #666;
  cursor: not-allowed;
}
.dossier__export-btn--disabled:hover {
  background: #e2e6ec;
}

.dossier__export-remaining {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  padding: 12px 16px;
  background: #f7f8fa;
  border-radius: 8px;
  font-size: 13px;
  color: #ccc;
}
.dossier__export-remaining a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
}
.dossier__export-remaining a:hover {
  text-decoration: underline;
}
.dossier__export-remaining.is-danger {
  background: rgba(220, 38, 38, 0.06);
  color: #dc2626;
  border: 1px solid rgba(220, 38, 38, 0.15);
}
.dossier__export-remaining.is-danger a {
  color: #dc2626;
}

@media (max-width: 768px) {
  .dossier__header {
    flex-direction: column;
    align-items: stretch;
  }
  .dossier__score {
    flex-direction: row;
    gap: 12px;
  }
  .dossier__score-circle {
    width: 56px;
    height: 56px;
  }
  .dossier__score-circle svg {
    width: 56px;
    height: 56px;
  }
  .dossier__score-text {
    font-size: 15px;
  }
  .dossier__kpi-grid,
  .dossier__check-grid,
  .dossier__export-grid {
    grid-template-columns: 1fr;
  }
  .dossier__export-card {
    flex-direction: column;
    text-align: center;
  }
  .dossier__export-btn {
    width: 100%;
    justify-content: center;
  }
  .modal-identity {
    width: 95%;
    max-height: 90vh;
  }
  .modal-identity__grid {
    grid-template-columns: 1fr;
  }
}
.dossier__identity {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e2e6ec;
  padding: 24px;
}

.dossier__identity-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.dossier__identity-desc {
  font-size: 13px;
  color: #666;
  margin: 0;
}

.dossier__identity-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #1e3a5f;
  background: rgba(30, 58, 95, 0.06);
  border: 1px solid rgba(30, 58, 95, 0.15);
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}
.dossier__identity-btn:hover {
  background: rgba(30, 58, 95, 0.12);
  border-color: rgba(30, 58, 95, 0.25);
}

.dossier__identity-preview {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #f7f8fa;
  border-radius: 8px;
  padding: 16px 20px;
}

.dossier__identity-logo {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  object-fit: contain;
  flex-shrink: 0;
  background: #fff;
  border: 1px solid #e2e6ec;
}

.dossier__identity-logo-empty {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  background: #fff;
  border: 1px dashed #e2e6ec;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #ccc;
}

.dossier__identity-infos {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dossier__identity-company {
  font-size: 15px;
  font-weight: 600;
  color: #333;
}

.dossier__identity-porteur {
  font-size: 13px;
  color: #666;
}

.dossier__identity-location {
  font-size: 12px;
  color: #ccc;
}

.dossier__identity-color {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #ccc;
  margin-top: 2px;
}

.dossier__color-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.modal-identity {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  width: 90%;
  max-width: 680px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  transform: translateY(12px);
  transition: transform 0.2s ease;
}
.is-open .modal-identity {
  transform: translateY(0);
}

.modal-identity__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  background: #1e3a5f;
  border-radius: 12px 12px 0 0;
}

.modal-identity__header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.modal-identity__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: white;
  margin: 0;
}
.modal-identity__title svg {
  color: rgba(255, 255, 255, 0.7);
}

.modal-identity__body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.modal-identity__section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal-identity__label {
  font-size: 13px;
  font-weight: 600;
  color: #1e3a5f;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.modal-identity__logo-zone {
  display: flex;
  align-items: center;
  gap: 20px;
}

.modal-identity__logo-preview {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  border: 2px dashed #e2e6ec;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #f7f8fa;
  color: #ccc;
  overflow: hidden;
}
.modal-identity__logo-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.modal-identity__logo-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.modal-identity__logo-upload {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: #1e3a5f;
  background: rgba(30, 58, 95, 0.06);
  border: 1px solid rgba(30, 58, 95, 0.15);
  padding: 6px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.modal-identity__logo-upload:hover {
  background: rgba(30, 58, 95, 0.12);
}

.modal-identity__logo-delete {
  font-size: 13px;
  color: #dc2626;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 8px;
  transition: background 0.2s ease;
}
.modal-identity__logo-delete:hover {
  background: rgba(220, 38, 38, 0.06);
}

.modal-identity__logo-hint {
  font-size: 11px;
  color: #ccc;
  width: 100%;
}

.modal-identity__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.modal-identity__field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.modal-identity__field--full {
  grid-column: 1/-1;
}
.modal-identity__field label {
  font-size: 12px;
  font-weight: 500;
  color: #666;
}
.modal-identity__field input {
  font-size: 13px;
  color: #333;
  background: #f7f8fa;
  border: 1px solid #e2e6ec;
  border-radius: 8px;
  padding: 8px 12px;
  transition: border-color 0.2s ease;
}
.modal-identity__field input:focus {
  outline: none;
  border-color: #1e3a5f;
  background: #fff;
}
.modal-identity__field input::placeholder {
  color: #ccc;
}
.modal-identity__field textarea {
  font-size: 13px;
  font-family: inherit;
  color: #333;
  background: #f7f8fa;
  border: 1px solid #e2e6ec;
  border-radius: 8px;
  padding: 8px 12px;
  resize: vertical;
  transition: border-color 0.2s ease;
}
.modal-identity__field textarea:focus {
  outline: none;
  border-color: #1e3a5f;
  background: #fff;
}
.modal-identity__field textarea::placeholder {
  color: #ccc;
}

.modal-identity__color-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.modal-identity__color-row input[type=color] {
  width: 40px;
  height: 40px;
  border: 2px solid #e2e6ec;
  border-radius: 8px;
  padding: 2px;
  cursor: pointer;
  background: none;
}
.modal-identity__color-row input[type=color]::-webkit-color-swatch-wrapper {
  padding: 0;
}
.modal-identity__color-row input[type=color]::-webkit-color-swatch {
  border: none;
  border-radius: 4px;
}

.modal-identity__color-hex {
  font-size: 13px;
  font-family: monospace;
  color: #666;
  width: 80px;
  padding: 6px 8px;
  border: 1px solid #e2e6ec;
  border-radius: 8px;
  background: #f7f8fa;
  text-transform: uppercase;
}
.modal-identity__color-hex:focus {
  outline: none;
  border-color: #1e3a5f;
  background: #fff;
  color: #333;
}

.modal-identity__color-presets {
  display: flex;
  gap: 6px;
}

.modal-identity__color-swatch {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}
.modal-identity__color-swatch:hover {
  transform: scale(1.15);
  border-color: rgba(0, 0, 0, 0.15);
}

.modal-identity__footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  border-top: 1px solid #e2e6ec;
}

.modal-identity__cancel {
  font-size: 13px;
  font-weight: 500;
  color: #666;
  background: none;
  border: 1px solid #e2e6ec;
  padding: 8px 20px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.modal-identity__cancel:hover {
  background: #f7f8fa;
  color: #333;
}

.modal-identity__save {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: var(--color-primary);
  border: none;
  padding: 8px 20px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease;
}
.modal-identity__save:hover {
  background: var(--color-primary-dark);
}
.modal-identity__save:disabled {
  opacity: 0.6;
  cursor: wait;
}

/*
  Created by Stephane Arribart.
  For Influa
  Date: 06/02/2026
  Time: 17:29

  --- _sections ---

          |\      _,,,---,,_
    ZZZzz /,`.-'`'    -.  ;-;;,_
         |,4-  ) )-,_. ,\ (  `'-'
        '---''(_/--'  `-'\_)

*/
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 20px;
}

.section-header__desc {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
  margin: 0;
  max-width: 600px;
}

.section-summary {
  display: flex;
  gap: 20px;
  padding: 16px 20px;
  background: #f7f8fa;
  border-radius: 8px;
  border: 1px solid #e2e6ec;
  margin-bottom: 20px;
}

.section-summary__item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-summary__label {
  font-size: 13px;
  color: #666;
}

.section-summary__value {
  font-size: 13px;
  font-weight: 700;
  color: #333;
}

.section-form {
  background: #fff;
  border: 1px solid #e2e6ec;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 20px;
}

.section-form__title {
  font-size: 15px;
  font-weight: 600;
  color: #333;
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid #eef1f5;
}

.section-form__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.section-form__subgroup {
  border: 1px solid #e2e6ec;
  border-radius: 6px;
  padding: 16px;
  margin-bottom: 20px;
  position: relative;
}
.section-form__subgroup .section-form__grid {
  margin-bottom: 0;
}

.section-form__subgroup-label {
  position: absolute;
  top: -9px;
  left: 12px;
  background: #fff;
  padding: 0 8px;
  font-size: 11px;
  font-weight: 600;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.section-form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.section-form__field--wide {
  grid-column: 1/-1;
}
.section-form__field label {
  font-size: 12px;
  font-weight: 600;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.section-form__field input, .section-form__field select, .section-form__field textarea {
  padding: 8px 12px;
  border: 1px solid #e2e6ec;
  border-radius: 6px;
  font-size: 13px;
  font-family: "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #333;
  background: #fff;
  transition: border-color 0.2s ease;
}
.section-form__field input:focus, .section-form__field select:focus, .section-form__field textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.1);
}
.section-form__field input::placeholder, .section-form__field select::placeholder, .section-form__field textarea::placeholder {
  color: rgb(195.1875, 203.4375, 215.8125);
}
.section-form__field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
  cursor: pointer;
}
.section-form__field textarea {
  resize: vertical;
  min-height: 80px;
}

.section-form__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid #eef1f5;
}

.section-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 64px 20px;
  text-align: center;
}

.section-empty__icon {
  color: #e2e6ec;
  margin-bottom: 16px;
}

.section-empty__title {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin: 0 0 8px;
}

.section-empty__text {
  font-size: 13px;
  color: #666;
  margin: 0;
  max-width: 360px;
}

.section-table-wrapper {
  overflow-x: auto;
  border: 1px solid #e2e6ec;
  border-radius: 12px;
  background: #fff;
}

.section-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.section-table thead th {
  padding: 12px 16px;
  text-align: left;
  font-size: 11px;
  font-weight: 600;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  background: #f7f8fa;
  border-bottom: 1px solid #e2e6ec;
  white-space: nowrap;
}
.section-table tbody tr {
  border-bottom: 1px solid #eef1f5;
  transition: background 0.2s ease;
}
.section-table tbody tr:last-child {
  border-bottom: none;
}
.section-table tbody tr:hover {
  background: #fafbfc;
}
.section-table tbody td {
  padding: 12px 16px;
  color: #333;
  vertical-align: middle;
}
.section-table tfoot td {
  padding: 12px 16px;
  background: #f7f8fa;
  border-top: 2px solid #e2e6ec;
}
.section-table .text-right {
  text-align: right;
}
.section-table .font-semibold {
  font-weight: 600;
}
.section-table .col-label {
  font-weight: 500;
}
.section-table .col-actions {
  width: 80px;
  text-align: center;
  white-space: nowrap;
}

.section-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  padding: 2px 10px;
  border-radius: 20px;
  white-space: nowrap;
}
.section-badge--corporel {
  background: rgba(30, 58, 95, 0.08);
  color: #1e3a5f;
}
.section-badge--incorporel {
  background: rgba(var(--color-primary-rgb), 0.08);
  color: var(--color-primary);
}
.section-badge--financier {
  background: rgba(217, 119, 6, 0.08);
  color: rgb(167.3721973094, 91.7847533632, 4.6278026906);
}

.section-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 6px;
  border: none;
  background: none;
  cursor: pointer;
  color: #666;
  transition: color 0.2s ease, background 0.2s ease;
}
.section-action--edit:hover {
  color: #1e3a5f;
  background: rgba(30, 58, 95, 0.06);
}
.section-action--delete:hover {
  color: #dc2626;
  background: rgba(220, 38, 38, 0.06);
}

.inline-form {
  display: inline;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, opacity 0.2s ease;
  white-space: nowrap;
  flex: 0;
}
.btn--primary {
  background: var(--color-gradient);
  color: #fff;
}
.btn--primary:hover {
  box-shadow: var(--shadow-primary);
  transform: translateY(-1px);
}
.btn--ghost {
  background: none;
  color: #ccc;
}
.btn--ghost:hover {
  color: #333;
  background: #f7f8fa;
}
.btn--outline {
  background: none;
  border: 1px solid #e2e6ec;
  color: #333;
}
.btn--outline:hover {
  border-color: rgb(195.1875, 203.4375, 215.8125);
}
.btn--sm {
  font-size: 13px;
  padding: 8px 16px;
}
.btn--disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

@media (max-width: 768px) {
  .section-header {
    flex-direction: column;
  }
  .section-header__buttons {
    flex-wrap: wrap;
    width: 100%;
  }
  .section-summary {
    flex-direction: column;
    gap: 12px;
  }
  .section-form__grid {
    grid-template-columns: 1fr;
  }
}
.section-badge--service {
  background: rgba(30, 58, 95, 0.08);
  color: #1e3a5f;
}

.section-badge--produit {
  background: rgba(var(--color-primary-rgb), 0.08);
  color: var(--color-primary);
}

.section-badge--abonnement {
  background: rgba(5, 150, 105, 0.08);
  color: rgb(3.3548387097, 100.6451612903, 70.4516129032);
}

.section-badge--commission {
  background: rgba(217, 119, 6, 0.08);
  color: rgb(167.3721973094, 91.7847533632, 4.6278026906);
}

.section-badge--autre {
  background: #f7f8fa;
  color: #666;
}

.section-badge--fonds {
  background: rgba(5, 150, 105, 0.08);
  color: rgb(3.3548387097, 100.6451612903, 70.4516129032);
}

.section-badge--emprunt {
  background: rgba(30, 58, 95, 0.08);
  color: #1e3a5f;
}

.section-badge--aide {
  background: rgba(102, 126, 234, 0.08);
  color: #667eea;
}

.section-badge--marchandises {
  background: rgba(217, 119, 6, 0.08);
  color: rgb(167.3721973094, 91.7847533632, 4.6278026906);
}

.section-badge--matieres_premieres {
  background: rgba(30, 58, 95, 0.08);
  color: #1e3a5f;
}

.section-badge--sous_traitance {
  background: rgba(var(--color-primary-rgb), 0.08);
  color: var(--color-primary);
}

.section-badge--fixe {
  background: rgba(30, 58, 95, 0.06);
  color: #1e3a5f;
}

.section-badge--variable {
  background: rgba(217, 119, 6, 0.06);
  color: rgb(167.3721973094, 91.7847533632, 4.6278026906);
}

[class*=section-badge--charge-] {
  background: #f7f8fa;
  color: #666;
  border: 1px solid #eef1f5;
}

.section-badge--dirigeant {
  background: rgba(var(--color-primary-rgb), 0.08);
  color: var(--color-primary);
}

.section-badge--cdi {
  background: rgba(30, 58, 95, 0.08);
  color: #1e3a5f;
}

.section-badge--cdd {
  background: rgba(217, 119, 6, 0.08);
  color: rgb(167.3721973094, 91.7847533632, 4.6278026906);
}

.section-badge--alternant {
  background: rgba(5, 150, 105, 0.08);
  color: rgb(3.3548387097, 100.6451612903, 70.4516129032);
}

.section-badge--stagiaire {
  background: rgba(102, 126, 234, 0.08);
  color: #667eea;
}

.section-badge--freelance {
  background: #f7f8fa;
  color: #666;
  border: 1px solid #eef1f5;
}

.section-form__computed {
  padding: 8px 12px;
  background: #f7f8fa;
  border: 1px solid #eef1f5;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-primary);
  min-height: 38px;
  display: flex;
  align-items: center;
}

.section-form__help {
  font-size: 12px;
  color: #ccc;
  background: rgba(30, 58, 95, 0.04);
  border-left: 3px solid #1e3a5f;
  padding: 8px 12px;
  border-radius: 0 6px 6px 0;
  margin-bottom: 16px;
}

.impot-subform {
  margin-bottom: 12px;
}

.impot-preview {
  background: #f7f8fa;
  border: 1px solid #eef1f5;
  border-radius: 6px;
  padding: 12px 16px;
  margin-top: 12px;
}

.impot-preview__grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.impot-preview__year {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #333;
}
.impot-preview__year strong {
  color: #1e3a5f;
  margin-left: 8px;
  white-space: nowrap;
}
.impot-preview__year .text-muted {
  color: #ccc;
  font-size: 12px;
}

.impot-preview__loading {
  font-size: 13px;
  color: #ccc;
  font-style: italic;
}

.impot-preview__error {
  font-size: 13px;
  color: #ef4444;
}

.section-form__hint {
  display: block;
  font-size: 11px;
  color: #ccc;
  margin-top: 4px;
}

.section-badge--tax-cfe,
.section-badge--tax-cvae,
.section-badge--tax-cotisation_fonciere {
  background: rgba(217, 119, 6, 0.08);
  color: rgb(167.3721973094, 91.7847533632, 4.6278026906);
}

.section-badge--tax-impot_societes {
  background: rgba(220, 38, 38, 0.08);
  color: rgb(200.2083333333, 32.2916666667, 32.2916666667);
}

.section-badge--tax-tva {
  background: rgba(30, 58, 95, 0.08);
  color: #1e3a5f;
}

.section-badge--tax-taxe_apprentissage {
  background: rgba(5, 150, 105, 0.08);
  color: rgb(3.3548387097, 100.6451612903, 70.4516129032);
}

.section-badge--tax-autre {
  background: #f7f8fa;
  color: #666;
  border: 1px solid #eef1f5;
}

.section-badge--auto {
  background: rgba(var(--color-primary-rgb), 0.08);
  color: var(--color-primary);
  border: 1px solid rgba(var(--color-primary-rgb), 0.2);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.section-action--prev:hover {
  color: var(--color-primary);
  background: rgba(var(--color-primary-rgb), 0.06);
}

.section-table tbody tr.is-highlighted {
  background: rgba(var(--color-primary-rgb), 0.04);
  border-left: 3px solid var(--color-primary);
}

.prev-grid-wrapper {
  margin-bottom: 20px;
}

.prev-grid__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}
.prev-grid__header .section-form__title {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.prev-grid__prix {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-primary);
  margin-left: 8px;
}

.prev-grid__year {
  margin-bottom: 12px;
  background: #f7f8fa;
  border-radius: 8px;
  border: 1px solid #eef1f5;
  overflow: hidden;
}
.prev-grid__year + .prev-grid__year {
  margin-top: 8px;
}

.prev-grid__year-title {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: #1e3a5f;
  margin: 0;
  padding: 6px 12px;
}

.prev-grid__year-header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding: 8px 12px;
  border-bottom: 1px solid #eef1f5;
}

.prev-grid__year-tools-wrap {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.prev-grid__year-tools {
  display: flex;
  align-items: center;
  gap: 8px;
}

.prev-grid__year-body {
  padding: 8px 12px 12px;
}

.prev-grid__year-tools-label {
  font-size: 13px;
  font-weight: 500;
  color: #666;
  white-space: nowrap;
}

.prev-grid__table-wrap {
  overflow-x: auto;
}

.prev-grid__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.prev-grid__table th {
  padding: 6px 3px;
  font-size: 11px;
  font-weight: 600;
  color: #666;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
}
.prev-grid__table td {
  padding: 6px 3px;
  text-align: center;
  vertical-align: middle;
}
.prev-grid__table .row-label {
  text-align: left;
  font-weight: 600;
  color: #ccc;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  width: 50px;
  white-space: nowrap;
}
.prev-grid__table .col-total {
  font-weight: 700;
  color: #333;
  background: #f7f8fa;
  border-radius: 0 6px 6px 0;
  white-space: nowrap;
}
.prev-grid__table .row-ca td {
  font-size: 12px;
  color: #ccc;
}
.prev-grid__table .row-ca .col-total {
  color: var(--color-primary);
  font-weight: 700;
}

.prev-grid__input {
  width: 62px;
  padding: 6px 2px;
  border: 1px solid #e2e6ec;
  border-radius: 6px;
  font-size: 12px;
  text-align: center;
  font-family: "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #333;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.prev-grid__input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.12);
}
.prev-grid__input::placeholder {
  color: rgb(210.59375, 216.71875, 225.90625);
}

.prev-grid__tools {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 12px 0;
  margin-bottom: 16px;
  border-bottom: 1px solid #eef1f5;
  padding-bottom: 16px;
}

.prev-grid__tools-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.prev-grid__auto-is {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  margin-bottom: 16px;
  background: rgba(var(--color-primary-rgb), 0.04);
  border: 1px solid rgba(var(--color-primary-rgb), 0.15);
  border-radius: 6px;
}

.prev-grid__auto-is-hint {
  font-size: 12px;
  color: #ccc;
  font-style: italic;
}

.prev-grid__tools-input {
  width: 100px;
  padding: 8px;
  border: 1px solid #e2e6ec;
  border-radius: 6px;
  font-size: 14px;
  text-align: center;
  font-family: "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.prev-grid__tools-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.12);
}

@media (max-width: 768px) {
  .prev-grid__header {
    flex-direction: column;
  }
  .prev-grid__tools {
    flex-direction: column;
    align-items: flex-start;
  }
  .prev-grid__tools-group {
    flex-wrap: wrap;
  }
  .prev-grid__year-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .prev-grid__year-tools-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
  .prev-grid__year-tools {
    flex-wrap: wrap;
  }
  .prev-grid__input {
    width: 60px;
  }
}
.catalogue {
  border: 1px solid #e2e6ec;
  border-radius: 8px;
  margin-bottom: 20px;
  overflow: hidden;
}

.catalogue__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  background: #1e3a5f;
  cursor: pointer;
  user-select: none;
  transition: background 0.2s;
}
.catalogue__header:hover {
  background: rgb(34.896, 67.4656, 110.504);
}

.catalogue__header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.catalogue__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: white;
  margin: 0;
}
.catalogue__title svg {
  color: rgba(255, 255, 255, 0.7);
}

.catalogue__counter {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.12);
  padding: 3px 12px;
  border-radius: 20px;
}

.catalogue__chevron {
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.5);
  transition: transform 0.25s ease;
}
.catalogue__chevron.is-rotated {
  transform: rotate(-180deg);
}

.catalogue__body {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  max-height: 480px;
  overflow-y: auto;
  transition: max-height 0.3s ease, opacity 0.2s ease;
}
.catalogue__body.is-collapsed {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
}

.catalogue__row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 24px;
  border-bottom: 1px solid #eef1f5;
  border-right: 1px solid #eef1f5;
  cursor: pointer;
  transition: background 0.15s;
  user-select: none;
}
.catalogue__row:hover {
  background: #f7f8fa;
}
.catalogue__row.is-active {
  background: rgba(5, 150, 105, 0.05);
}
.catalogue__row.is-active .catalogue__row-label {
  color: #333;
  font-weight: 500;
}
.catalogue__row.is-loading {
  opacity: 0.5;
  pointer-events: none;
}

.catalogue__toggle {
  flex-shrink: 0;
  position: relative;
  display: inline-flex;
}

.catalogue__checkbox {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.catalogue__switch {
  width: 38px;
  height: 22px;
  background: #ccd2da;
  border-radius: 22px;
  position: relative;
  transition: background 0.2s;
}
.catalogue__switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s;
}

.catalogue__checkbox:checked + .catalogue__switch {
  background: #059669;
}
.catalogue__checkbox:checked + .catalogue__switch::after {
  transform: translateX(16px);
}

.catalogue__checkbox:focus-visible + .catalogue__switch {
  box-shadow: 0 0 0 2px rgba(var(--color-primary-rgb), 0.3);
}

.catalogue__row-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.catalogue__row-label {
  font-size: 13.5px;
  color: #333;
  line-height: 1.3;
}

.catalogue__row-meta {
  font-size: 11px;
  color: #ccc;
}

.charges-active__title {
  font-size: 13px;
  font-weight: 600;
  color: #333;
  margin: 0 0 12px 0;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-primary);
  display: inline-block;
}

.charges-active {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 12px;
}

.charges-active__item {
  background: #fff;
  border: 1px solid #e2e6ec;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: opacity 0.25s, box-shadow 0.25s, border-color 0.25s;
  overflow: hidden;
}
.charges-active__item.is-highlighted {
  border-color: var(--color-primary);
  box-shadow: 0 2px 8px rgba(var(--color-primary-rgb), 0.1);
}
.charges-active__item.is-expanded {
  border-color: var(--color-primary);
  box-shadow: 0 2px 8px rgba(var(--color-primary-rgb), 0.1);
}
.charges-active.has-active-item .charges-active__item:not(.is-highlighted):not(.is-expanded) {
  opacity: 0.45;
}
.charges-active.has-active-item .charges-active__item:not(.is-highlighted):not(.is-expanded):hover {
  opacity: 0.75;
}
.charges-active__item.is-disabled {
  opacity: 0.45;
}
.charges-active__item.is-disabled .charges-active__year-amounts {
  text-decoration: line-through;
  opacity: 0.6;
}

.charges-active__row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  cursor: pointer;
}
.charges-active__row:hover {
  background: rgba(247, 248, 250, 0.4);
}
.charges-active__row .catalogue__switch {
  width: 30px;
  height: 17px;
}
.charges-active__row .catalogue__switch::after {
  width: 13px;
  height: 13px;
  top: 2px;
  left: 2px;
}
.charges-active__row .catalogue__checkbox:checked + .catalogue__switch::after {
  transform: translateX(13px);
}

.charges-active__info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.charges-active__label {
  font-size: 13px;
  font-weight: 500;
  color: #333;
}

.charges-active__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
}

.charges-active__cat {
  color: #666;
}

.charges-active__amount {
  font-size: 13px;
  font-weight: 600;
  color: #333;
  white-space: nowrap;
}
.charges-active__amount .text-muted {
  font-weight: 400;
  color: #ccc;
  font-style: italic;
}

.charges-active__year-amounts {
  display: flex;
  align-items: stretch;
  gap: 8px;
}

.charges-active__ya {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 100px;
  padding: 6px 12px;
  background: #f7f8fa;
  border: 1px solid #eef1f5;
  border-radius: 6px;
  white-space: nowrap;
  text-align: center;
}

.charges-active__ya-label {
  font-size: 10px;
  font-weight: 600;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  line-height: 1;
  margin-bottom: 2px;
}

.charges-active__ya-value {
  font-size: 13px;
  font-weight: 700;
  color: #333;
  line-height: 1.2;
}

.charges-active__actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.charges-active__spacer {
  flex-shrink: 0;
  width: 30px;
}

.charges-active__amount + .charges-active__spacer {
  width: 102px;
}

.charges-active__expand {
  padding: 16px;
  border-top: 1px dashed #e2e6ec;
  background: rgba(247, 248, 250, 0.5);
}
.charges-active__expand .section-form__subgroup-label {
  background: rgb(251, 251.5, 252.5);
}

.charges-active__previsions {
  border-top: 1px solid #e2e6ec;
  padding: 16px;
  background: #fff;
}

.charges-active__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  background: #fff;
  border: 1px solid #eef1f5;
  border-radius: 8px;
  font-size: 13px;
}
.charges-active__footer--aligned {
  justify-content: flex-start;
  gap: 12px;
}
.charges-active__footer--aligned > span:first-child {
  flex: 1;
  min-width: 0;
}
.charges-active__footer--aligned::after {
  content: "";
  width: 102px;
  flex-shrink: 0;
}
.charges-active__footer span {
  color: #666;
}
.charges-active__footer strong {
  color: #333;
  font-size: 15px;
}
.charges-active__footer-years {
  display: flex;
  gap: 8px;
}
.charges-active__footer-years > span {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 100px;
  padding: 6px 12px;
  background: #1b2d44;
  border: 1px solid rgb(19.7526315789, 32.9210526316, 49.7473684211);
  border-radius: 6px;
  text-align: center;
}
.charges-active__footer-years > span strong {
  font-size: 10px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  line-height: 1;
  margin-bottom: 2px;
}
.charges-active__footer-years > span span {
  color: #10b981;
  font-weight: 700;
}
.charges-active__footer--total {
  margin-top: 12px;
  background: rgba(30, 58, 95, 0.03);
  border-color: rgba(30, 58, 95, 0.15);
}
.charges-active__footer--total strong {
  color: #1e3a5f;
  font-size: 16px;
}

.personnel-group {
  margin-bottom: 20px;
}
.personnel-group__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: #1e3a5f;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #eef1f5;
}
.personnel-group__title svg {
  color: #666;
  flex-shrink: 0;
}
.personnel-group__badge {
  font-size: 12px;
  font-weight: 400;
  color: #666;
  margin-left: auto;
}
.personnel-group__empty {
  padding: 16px;
  text-align: center;
  color: #666;
  font-size: 13px;
  font-style: italic;
}
.personnel-group .charges-active__footer {
  margin-top: 0;
  border-radius: 0 0 8px 8px;
  border-top: none;
}

.section-form__hint {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: #ccc;
  font-style: italic;
}

@media (max-width: 768px) {
  .catalogue__body {
    grid-template-columns: 1fr;
    max-height: 360px;
  }
  .catalogue__body.is-collapsed {
    max-height: 0;
  }
  .catalogue__row {
    border-right: 0;
    padding: 10px 16px;
  }
  .catalogue__header {
    padding: 12px 16px;
  }
  .catalogue__header-left {
    gap: 8px;
    flex-wrap: wrap;
  }
  .charges-active__row {
    flex-wrap: wrap;
    gap: 8px;
  }
  .charges-active__amount {
    width: 100%;
    order: 3;
    text-align: right;
  }
  .charges-active__year-amounts {
    width: 100%;
    order: 3;
    justify-content: flex-end;
  }
  .charges-active__actions {
    margin-left: auto;
  }
  .charges-active__footer {
    flex-wrap: wrap;
    gap: 8px;
  }
  .charges-active__footer > span:first-child {
    width: 100%;
  }
  .charges-active__footer--aligned::after {
    display: none;
  }
  .charges-active__footer-years {
    width: 100%;
    justify-content: flex-end;
  }
}
.section-header__buttons {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.section-header .btn-navy,
.editor-content .btn-navy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: auto;
  font-family: "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  text-align: left;
  transition: background 0.2s ease;
  white-space: nowrap;
  background: #1e3a5f;
  color: #fff;
}
.section-header .btn-navy:hover,
.editor-content .btn-navy:hover {
  background: rgb(37.344, 72.1984, 118.256);
  transform: none;
  box-shadow: none;
}
.section-header .btn-navy.btn--sm,
.editor-content .btn-navy.btn--sm {
  font-size: 13px;
  padding: 8px 16px;
}

.btn__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border-radius: 20px;
  padding: 0 6px;
  margin-left: 2px;
}

#catalogueModal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
#catalogueModal.is-open {
  opacity: 1;
  visibility: visible;
}
#catalogueModal.is-open .modal-catalogue {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.modal-catalogue {
  width: 90%;
  max-width: 640px;
  max-height: 85vh;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(12px) scale(0.97);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.25s ease;
}

.modal-catalogue__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: #1e3a5f;
  color: white;
  flex-shrink: 0;
}

.modal-catalogue__header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.modal-catalogue__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: white;
  margin: 0;
}
.modal-catalogue__title svg {
  color: rgba(255, 255, 255, 0.7);
  flex-shrink: 0;
}

.modal-catalogue__counter {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.12);
  padding: 3px 12px;
  border-radius: 20px;
  white-space: nowrap;
}

.modal-catalogue__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.modal-catalogue__close:hover {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.modal-catalogue__desc {
  padding: 12px 24px;
  font-size: 13px;
  color: #ccc;
  margin: 0;
  border-bottom: 1px solid #eef1f5;
  flex-shrink: 0;
}

.modal-catalogue__list {
  overflow-y: auto;
  flex: 1;
  min-height: 0;
}
.modal-catalogue__list .catalogue__row {
  border-right: 0;
}

.modal-catalogue__footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 12px 24px;
  border-top: 1px solid #e2e6ec;
  background: #f7f8fa;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .modal-catalogue {
    width: 95%;
    max-height: 90vh;
  }
  .modal-catalogue__header {
    padding: 16px;
  }
  .modal-catalogue__header-left {
    gap: 8px;
    flex-wrap: wrap;
  }
  .modal-catalogue__desc {
    padding: 8px 16px;
    font-size: 12px;
  }
  .modal-catalogue__list .catalogue__row {
    padding: 10px 16px;
  }
  .modal-catalogue__footer {
    padding: 8px 16px;
  }
}
.dossier__advanced {
  margin-top: 32px;
  border-top: 1px solid #eef1f5;
  padding-top: 20px;
}

.dossier__advanced-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #ccc;
  cursor: pointer;
  padding: 8px 0;
  list-style: none;
  user-select: none;
  transition: color 0.15s;
}
.dossier__advanced-toggle::-webkit-details-marker {
  display: none;
}
.dossier__advanced-toggle::marker {
  display: none;
  content: "";
}
.dossier__advanced-toggle:hover {
  color: #333;
}

.dossier__advanced-chevron {
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.dossier__advanced[open] > .dossier__advanced-toggle .dossier__advanced-chevron {
  transform: rotate(90deg);
}

.dossier__advanced-content {
  padding-top: 16px;
}

.dossier__danger-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 20px;
  border: 1px solid rgba(220, 38, 38, 0.2);
  border-radius: 12px;
  background: rgba(220, 38, 38, 0.02);
}

.dossier__danger-info {
  flex: 1;
  min-width: 0;
}

.dossier__danger-name {
  font-size: 13px;
  font-weight: 600;
  color: #333;
  margin: 0 0 4px;
}

.dossier__danger-desc {
  font-size: 12px;
  color: #ccc;
  margin: 0;
  line-height: 1.5;
  max-width: 520px;
}

.dossier__danger-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  font-family: "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #dc2626;
  background: none;
  border: 1px solid rgba(220, 38, 38, 0.3);
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  flex-shrink: 0;
}
.dossier__danger-btn:hover {
  background: #dc2626;
  border-color: #dc2626;
  color: white;
}
.dossier__danger-btn--delete {
  background: rgba(220, 38, 38, 0.06);
  border-color: rgba(220, 38, 38, 0.4);
}

.dossier__danger-card + .dossier__danger-card {
  margin-top: 12px;
}

.modal-reset__icon--delete {
  background: rgba(220, 38, 38, 0.1);
}

.modal-reset {
  width: 90%;
  max-width: 460px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  padding: 24px;
  text-align: center;
  transform: translateY(12px) scale(0.97);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.25s ease;
}
.is-open .modal-reset {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.modal-reset__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  background: rgba(220, 38, 38, 0.08);
  border-radius: 50%;
  color: #dc2626;
}

.modal-reset__title {
  font-size: 17px;
  font-weight: 700;
  color: #333;
  margin: 0 0 12px;
}

.modal-reset__text {
  font-size: 13px;
  color: #ccc;
  line-height: 1.6;
  margin: 0 0 8px;
}

.modal-reset__warning {
  font-size: 13px;
  font-weight: 600;
  color: #dc2626;
  margin: 0 0 20px;
}

.modal-reset__confirm-zone {
  text-align: left;
  margin-bottom: 20px;
}

.modal-reset__confirm-label {
  display: block;
  font-size: 12px;
  color: #ccc;
  margin-bottom: 8px;
}
.modal-reset__confirm-label strong {
  color: #333;
  font-weight: 600;
}

.modal-reset__confirm-input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #e2e6ec;
  border-radius: 6px;
  font-size: 13px;
  font-family: "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #333;
  transition: border-color 0.15s;
  box-sizing: border-box;
}
.modal-reset__confirm-input:focus {
  outline: none;
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.modal-reset__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.modal-reset__cancel {
  padding: 8px 16px;
  font-family: "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #ccc;
  background: none;
  border: 1px solid #e2e6ec;
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}
.modal-reset__cancel:hover {
  color: #333;
  border-color: rgb(195.1875, 203.4375, 215.8125);
}

.modal-reset__submit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  font-family: "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: white;
  background: #dc2626;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: opacity 0.15s, background 0.15s;
}
.modal-reset__submit:hover:not(:disabled) {
  background: rgb(187.0333333333, 30.1666666667, 30.1666666667);
}
.modal-reset__submit:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

@media (max-width: 768px) {
  .dossier__danger-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .modal-reset {
    padding: 20px;
  }
  .modal-reset__actions {
    flex-direction: column-reverse;
  }
  .modal-reset__actions button {
    width: 100%;
    justify-content: center;
  }
}
.ca-gauge {
  margin-top: 16px;
  padding: 16px;
  background: rgb(53.0905263158, 88.4842105263, 133.7094736842);
  border-radius: 8px;
  border: 1px solid rgb(44.3936842105, 73.9894736842, 111.8063157895);
}
.ca-gauge__header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  font-weight: 600;
}
.ca-gauge__header svg {
  width: 16px;
  height: 16px;
  stroke: rgba(255, 255, 255, 0.6);
  fill: none;
}
.ca-gauge__title {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ca-gauge__hint {
  font-size: 12px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.55);
}
.ca-gauge__objectif {
  margin-left: auto;
  color: #fff;
  font-weight: 700;
}
.ca-gauge__years {
  display: flex;
  gap: 16px;
}
.ca-gauge__year {
  flex: 1;
}
.ca-gauge__year-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.ca-gauge__year-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  font-weight: 600;
}
.ca-gauge__year-pct {
  font-size: 13px;
  font-weight: 700;
}
.ca-gauge__year-pct.is-ok {
  color: #10b981;
}
.ca-gauge__year-pct.is-low {
  color: #ef4444;
}
.ca-gauge__bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 9999px;
  overflow: hidden;
}
.ca-gauge__bar-fill {
  height: 100%;
  border-radius: 9999px;
  transition: width 0.3s ease, background-color 0.3s ease;
}
.ca-gauge__bar-fill.is-ok {
  background-color: #10b981;
}
.ca-gauge__bar-fill.is-low {
  background-color: #ef4444;
}
.ca-gauge__year-values {
  display: flex;
  justify-content: space-between;
  margin-top: 4px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}
.ca-gauge__year-values span:first-child {
  color: rgba(255, 255, 255, 0.8);
}
.ca-gauge__edit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  flex-shrink: 0;
}
.ca-gauge__edit:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}
.ca-gauge__edit svg {
  stroke: currentColor;
  fill: none;
}

#caObjectifModal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
#caObjectifModal.is-open {
  opacity: 1;
  visibility: visible;
}
#caObjectifModal.is-open .modal-ca-objectif {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.modal-ca-objectif {
  width: 90%;
  max-width: 420px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(12px) scale(0.97);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.25s ease;
}
.modal-ca-objectif__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  background: #1e3a5f;
  color: white;
  flex-shrink: 0;
}
.modal-ca-objectif__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: white;
  margin: 0;
}
.modal-ca-objectif__title svg {
  color: rgba(255, 255, 255, 0.7);
  flex-shrink: 0;
}
.modal-ca-objectif__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.8);
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.15s;
}
.modal-ca-objectif__close:hover {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}
.modal-ca-objectif__body {
  padding: 24px;
}
.modal-ca-objectif__input-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}
.modal-ca-objectif__input-wrap .form-input {
  flex: 1;
  font-size: 16px;
  padding: 10px 14px;
}
.modal-ca-objectif__suffix {
  font-size: 13px;
  color: rgba(30, 58, 95, 0.55);
  white-space: nowrap;
  font-weight: 500;
}
.modal-ca-objectif__preview {
  margin-top: 12px;
  margin-bottom: 0;
  font-size: 13px;
  color: rgba(30, 58, 95, 0.65);
}
.modal-ca-objectif__preview strong {
  color: #1e3a5f;
  font-weight: 700;
}
.modal-ca-objectif__footer {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 16px 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(0, 0, 0, 0.02);
}

/*
  _tour.scss — Tour guidé spotlight (onboarding éditeur)
  Overlay sombre avec découpe SVG + tooltip positionné
*/
.tour-overlay {
  position: fixed;
  inset: 0;
  z-index: 1100;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.tour-overlay.is-visible {
  opacity: 1;
}
.tour-overlay__bg {
  pointer-events: auto;
}
.tour-overlay .tour-mask__hole {
  transition: x 0.4s ease, y 0.4s ease, width 0.4s ease, height 0.4s ease;
}

.tour-tooltip {
  position: fixed;
  z-index: 1101;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  padding: 20px 24px;
  max-width: 380px;
  width: calc(100vw - 40px);
  opacity: 0;
  transform: translateY(8px);
  animation: tourTooltipIn 0.35s ease forwards;
  pointer-events: auto;
}
.tour-tooltip--center {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 440px;
  text-align: center;
  animation: tourTooltipCenter 0.4s ease forwards;
}
.tour-tooltip__title {
  font-size: 18px;
  font-weight: 700;
  color: #333;
  margin: 0 0 8px;
  line-height: 1.3;
}
.tour-tooltip__text {
  font-size: 15px;
  color: #666;
  line-height: 1.55;
  margin: 0 0 16px;
}
.tour-tooltip__step {
  font-size: 12px;
  color: #999;
  margin-bottom: 16px;
  font-weight: 500;
}
.tour-tooltip__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.tour-tooltip__btn-skip {
  background: none;
  border: none;
  color: #999;
  font-size: 13px;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 6px;
  transition: color 0.2s ease, background 0.2s ease;
}
.tour-tooltip__btn-skip:hover {
  color: #333;
  background: #f4f4f5;
}
.tour-tooltip__btn-next {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-gradient);
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.tour-tooltip__btn-next:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}
.tour-tooltip__btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-gradient);
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 9999px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
  margin-top: 8px;
}
.tour-tooltip__btn-cta:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.tour-highlight {
  position: relative;
  z-index: 1101 !important;
  transition: box-shadow 0.3s ease;
}

.editor-topbar__help {
  height: 34px;
  border-radius: 9999px;
  border: none;
  background: var(--color-gradient);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 16px;
  flex-shrink: 0;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 8px rgba(var(--color-primary-rgb), 0.3);
}
.editor-topbar__help::before {
  content: "?";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}
.editor-topbar__help::after {
  content: "Aide";
}
.editor-topbar__help:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(var(--color-primary-rgb), 0.4);
}

@keyframes tourTooltipIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes tourTooltipCenter {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}
@media (max-width: 768px) {
  .tour-overlay,
  .tour-tooltip {
    display: none !important;
  }
  .editor-topbar__help {
    display: none;
  }
}
/*
  Created by Stephane Arribart.
  For Influa
  Date: 06/02/2026
  Time: 17:29

  --- _bandeau ---

          |\      _,,,---,,_
    ZZZzz /,`.-'`'    -.  ;-;;,_
         |,4-  ) )-,_. ,\ (  `'-'
        '---''(_/--'  `-'\_)  

*/
.limit-banner {
  margin-top: 20px;
  padding: 14px 20px;
  border-radius: 8px;
  background: #fef3c7;
  border: 1px solid #fde68a;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.limit-banner--danger {
  background: #fee2e2;
  border-color: #fecaca;
}

.limit-banner__info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.limit-banner__icon {
  font-size: 18px;
  flex-shrink: 0;
}

.limit-banner__title {
  font-size: 12px;
  font-weight: 600;
  color: rgb(142.5582959641, 78.1771300448, 3.9417040359);
}
.limit-banner--danger .limit-banner__title {
  color: #dc2626;
}

.limit-banner__text {
  font-size: 11px;
  color: #d97706;
}
.limit-banner--danger .limit-banner__text {
  color: rgb(227.0833333333, 81.9166666667, 81.9166666667);
}

.limit-banner__btn {
  padding: 7px 16px;
  border-radius: 6px;
  border: none;
  background: var(--color-primary);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  font-family: "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease;
  cursor: pointer;
}
.limit-banner__btn:hover {
  background: var(--color-primary-dark);
}
.limit-banner--danger .limit-banner__btn {
  background: #dc2626;
}
.limit-banner--danger .limit-banner__btn:hover {
  background: rgb(187.0333333333, 30.1666666667, 30.1666666667);
}

/*
  Created by Stephane Arribart.
  For Influa
  Date: 06/02/2026
  Time: 17:29

  --- _responsive ---

          |\      _,,,---,,_
    ZZZzz /,`.-'`'    -.  ;-;;,_
         |,4-  ) )-,_. ,\ (  `'-'
        '---''(_/--'  `-'\_)  

*/
@media (max-width: 1024px) {
  .summary-cards {
    flex-wrap: wrap;
  }
  .summary-card {
    min-width: 100px;
    padding: 8px 12px;
  }
  .editor-tabs__item {
    padding: 16px 12px;
    font-size: 12px;
  }
}
@media (max-width: 768px) {
  .editor-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 100;
  }
  .editor-sidebar.is-open {
    transform: translateX(0);
  }
  .editor-burger {
    display: flex;
    flex-direction: column;
  }
  .editor-topbar {
    padding: 0 16px;
  }
  .editor-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .editor-tabs::-webkit-scrollbar {
    display: none;
  }
  .editor-tabs__item {
    padding: 16px 12px;
    font-size: 11px;
  }
  .editor-content {
    padding: 16px;
  }
  .editor-content__header {
    flex-direction: column;
    align-items: stretch;
  }
  .summary-cards {
    flex-wrap: nowrap;
    overflow-x: auto;
  }
  .limit-banner {
    flex-direction: column;
    text-align: center;
  }
  .btn--export-pdf {
    display: none;
  }
}
/*
  Created by Stephane Arribart.
  For Influa
  Date: 23/02/2026

  --- _facturation ---

          |\      _,,,---,,_
    ZZZzz /,`.-'`'    -.  ;-;;,_
         |,4-  ) )-,_. ,\ (  `'-'
        '---''(_/--'  `-'\_)

*/
body.page-facturation {
  --color-primary: #10b981;
  --color-primary-rgb: 16, 185, 129;
  --color-primary-dark: #059669;
  --color-gradient: linear-gradient(135deg, #059669 0%, #10b981 100%);
  --color-gradient-alt: linear-gradient(135deg, #047857 0%, #059669 100%);
  --shadow-primary: 0 4px 12px rgba(16, 185, 129, 0.4);
  --shadow-alt: 0 4px 12px rgba(5, 150, 105, 0.4);
}
body.page-facturation .sidebar {
  background: #064e3b;
  border-right-color: rgba(255, 255, 255, 0.08);
}
body.page-facturation .sidebar__header {
  padding: 20px;
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
body.page-facturation .sidebar__logo-color {
  display: none;
}
body.page-facturation .sidebar__logo-white {
  display: inline-flex;
}
body.page-facturation .sidebar__toggle {
  color: #6ee7b7;
}
body.page-facturation .sidebar__toggle:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
body.page-facturation .sidebar__nav {
  padding-top: 12px;
}
body.page-facturation .sidebar__link {
  color: #d1fae5;
  gap: 12px;
}
body.page-facturation .sidebar__link:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}
body.page-facturation .sidebar__item.active .sidebar__link {
  background: rgba(16, 185, 129, 0.18);
  color: #fff;
  font-weight: 600;
}
body.page-facturation .sidebar__item--dashboard {
  margin-bottom: 8px;
}
body.page-facturation .sidebar__item--dashboard .sidebar__link {
  font-weight: 600;
  color: #fff;
  padding: 14px 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.04);
  letter-spacing: 0.2px;
}
body.page-facturation .sidebar__item--dashboard .sidebar__link .sidebar__icon {
  width: 24px;
  height: 24px;
  stroke-width: 2.2;
}
body.page-facturation .sidebar__item--dashboard .sidebar__link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
body.page-facturation .sidebar__item--dashboard.active .sidebar__link {
  background: rgba(16, 185, 129, 0.18);
  color: #fff;
}
body.page-facturation .sidebar__separator {
  background: rgba(255, 255, 255, 0.08);
}
body.page-facturation .sidebar__footer {
  border-top-color: rgba(255, 255, 255, 0.08);
  padding: 12px 8px;
}
body.page-facturation .sidebar__user-name {
  color: #d1fae5;
}
body.page-facturation .sidebar__user-plan {
  color: #6ee7b7;
}
body.page-facturation .sidebar__avatar--placeholder {
  background: linear-gradient(135deg, #059669, #10b981);
  color: #fff;
}
body.page-facturation .sidebar__avatar--placeholder svg {
  color: #fff;
}
body.page-facturation .sidebar__link--logout {
  color: #6ee7b7;
}
body.page-facturation .sidebar__link--logout:hover {
  background: rgba(239, 68, 68, 0.12);
  color: #fca5a5;
}
body.page-facturation .sidebar__module-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  margin: 0 20px 8px;
  background: rgba(16, 185, 129, 0.15);
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
  color: #6ee7b7;
  letter-spacing: 0.3px;
  transition: opacity 0.3s ease;
}
body.page-facturation .sidebar__module-badge svg {
  width: 14px;
  height: 14px;
}
body.page-facturation .sidebar--collapsed .sidebar__module-badge {
  opacity: 0;
  overflow: hidden;
  width: 0;
  padding: 0;
  margin: 0;
}
body.page-facturation .sidebar__back-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  margin: 2px 8px;
  color: #6ee7b7;
  text-decoration: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
  white-space: nowrap;
}
body.page-facturation .sidebar__back-link svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
body.page-facturation .sidebar__back-link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
body.page-facturation .sidebar--collapsed .sidebar__item--dashboard .sidebar__link {
  padding: 12px;
  justify-content: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
}
body.page-facturation .sidebar--collapsed .sidebar__back-link {
  justify-content: center;
}
body.page-facturation .sidebar--collapsed .sidebar__back-link .sidebar__label {
  opacity: 0;
  width: 0;
  overflow: hidden;
}
body.page-facturation .app-main {
  background: #f0fdf4;
}
body.page-facturation .topbar {
  background: #064e3b;
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
body.page-facturation .topbar__hamburger span {
  background: #d1fae5;
}
body.page-facturation .topbar__logo-color {
  display: none;
}
body.page-facturation .topbar__logo-white {
  display: inline-flex;
}
body.page-facturation .topbar__avatar {
  background: linear-gradient(135deg, #059669, #10b981);
}
body.page-facturation .alert-success {
  background: #d1fae5;
  color: #059669;
  border: 1px solid #a7f3d0;
}
body.page-facturation .alert-error {
  background: #fee2e2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

.fact-dashboard__alert {
  background: #fef3c7;
  border: 1px solid #fde68a;
  color: #d97706;
  padding: 16px 20px;
  border-radius: 8px;
  margin-bottom: 24px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.fact-dashboard__alert a {
  color: #d97706;
  font-weight: 600;
}
.fact-dashboard__hero {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.fact-dashboard__hero-month-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e5e5;
}
.fact-dashboard__global-stats {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.fact-dashboard__global-stat {
  flex: 1;
  min-width: 140px;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.fact-dashboard__global-stat--warn {
  border-color: #fed7aa;
  background: #fffbeb;
}
.fact-dashboard__global-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.fact-dashboard__global-icon--ca {
  background: #ecfdf5;
  color: #059669;
}
.fact-dashboard__global-icon--warn {
  background: #fff7ed;
  color: #c2410c;
}
.fact-dashboard__global-icon--clients {
  background: #eff6ff;
  color: #2563eb;
}
.fact-dashboard__global-data {
  min-width: 0;
}
.fact-dashboard__global-value {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: #1e3a5f;
}
.fact-dashboard__global-stat--warn .fact-dashboard__global-value {
  color: #c2410c;
}
.fact-dashboard__global-label {
  display: block;
  font-size: 12px;
  color: #999;
  margin-top: 2px;
}
.fact-dashboard__hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 768px) {
  .fact-dashboard__hero-stats {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
.fact-dashboard__hero-stat {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border-radius: 8px;
  background: #f0fdf4;
  border: 1px solid #d1fae5;
}
.fact-dashboard__hero-stat--primary {
  background: linear-gradient(135deg, #ecfdf5, #d1fae5);
  border-color: #a7f3d0;
}
.fact-dashboard__hero-stat--warn {
  background: #fff7ed;
  border-color: #fed7aa;
}
.fact-dashboard__hero-icon {
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(16, 185, 129, 0.15);
  color: #059669;
}
.fact-dashboard__hero-stat--warn .fact-dashboard__hero-icon {
  background: rgba(234, 88, 12, 0.12);
  color: #c2410c;
}
.fact-dashboard__hero-data {
  display: flex;
  flex-direction: column;
}
.fact-dashboard__hero-value {
  font-size: 24px;
  font-weight: 700;
  color: #1e3a5f;
  line-height: 1.2;
}
.fact-dashboard__hero-label {
  font-size: 13px;
  color: #666;
  margin-top: 2px;
}
.fact-dashboard__hero-quota {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #e5e5e5;
}
.fact-dashboard__hero-quota-info {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #374151;
  font-weight: 500;
  margin-bottom: 6px;
}
.fact-dashboard__hero-quota-pct {
  font-size: 12px;
  color: #999;
  font-weight: 600;
}
.fact-dashboard__charts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}
@media (max-width: 768px) {
  .fact-dashboard__charts {
    grid-template-columns: 1fr;
  }
}
.fact-dashboard__chart-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.fact-dashboard__chart-title {
  font-size: 15px;
  font-weight: 600;
  color: #065f46;
  margin: 0 0 20px 0;
  text-align: center;
}
.fact-dashboard__chart-donut-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}
.fact-dashboard__chart-donut {
  position: relative;
  width: 100px;
  height: 100px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fact-dashboard__chart-donut::after {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 9999px;
  background: #fff;
}
.fact-dashboard__chart-donut-center {
  position: relative;
  z-index: 1;
  font-size: 20px;
  font-weight: 700;
  color: #1e3a5f;
}
.fact-dashboard__chart-legend {
  text-align: left;
}
.fact-dashboard__chart-legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #666;
  padding: 3px 0;
}
.fact-dashboard__chart-legend-item strong {
  margin-left: auto;
  color: #333;
  font-weight: 600;
}
.fact-dashboard__chart-legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 9999px;
  flex-shrink: 0;
}
.fact-dashboard__bar-chart {
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  height: 160px;
  gap: 8px;
  padding-top: 24px;
}
.fact-dashboard__bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  height: 100%;
  justify-content: flex-end;
}
.fact-dashboard__bar-amount {
  font-size: 10px;
  color: #999;
  font-weight: 600;
  margin-bottom: 4px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.fact-dashboard__bar-fill {
  width: 100%;
  max-width: 32px;
  min-height: 4px;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, #10b981, #34d399);
  transition: height 0.5s ease;
}
.fact-dashboard__bar-fill:hover {
  background: linear-gradient(180deg, #059669, #10b981);
}
.fact-dashboard__bar-label {
  font-size: 11px;
  color: #999;
  font-weight: 500;
  margin-top: 6px;
}
.fact-dashboard__shortcuts {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
@media (max-width: 768px) {
  .fact-dashboard__shortcuts {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 480px) {
  .fact-dashboard__shortcuts {
    grid-template-columns: repeat(2, 1fr);
  }
}
.fact-dashboard__shortcut {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 12px;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s ease;
  position: relative;
  cursor: pointer;
}
.fact-dashboard__shortcut:hover {
  border-color: #a7f3d0;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.12);
  transform: translateY(-2px);
}
.fact-dashboard__shortcut-icon {
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fact-dashboard__shortcut-icon--devis {
  background: #eff6ff;
  color: #3b82f6;
}
.fact-dashboard__shortcut-icon--factures {
  background: #ecfdf5;
  color: #059669;
}
.fact-dashboard__shortcut-icon--clients {
  background: #fef3c7;
  color: #d97706;
}
.fact-dashboard__shortcut-icon--catalogue {
  background: #f3e8ff;
  color: #7c3aed;
}
.fact-dashboard__shortcut-icon--profil {
  background: #f4f4f5;
  color: #666;
}
.fact-dashboard__shortcut-label {
  font-size: 13px;
  font-weight: 500;
  color: #333;
  text-align: center;
}
.fact-dashboard__shortcut-count {
  font-size: 24px;
  font-weight: 700;
  color: #1e3a5f;
  line-height: 1;
}
.fact-dashboard__shortcut-action {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  border-radius: 9999px;
  background: #ecfdf5;
  color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.2s ease;
  cursor: pointer;
}
.fact-dashboard__shortcut-action:hover {
  background: #059669;
  color: #fff;
}
.fact-dashboard__shortcut:hover .fact-dashboard__shortcut-action {
  opacity: 1;
}
.fact-dashboard__section-title {
  font-size: 18px;
  margin: 0 0 16px 0;
}
.fact-dashboard__section-title--spaced {
  margin-top: 32px;
}
.fact-dashboard__view-all {
  text-align: right;
  margin-top: 12px;
  margin-bottom: 24px;
}
.fact-dashboard__view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: #999;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s;
}
.fact-dashboard__view-all-link:hover {
  color: #1e3a5f;
}
.fact-dashboard__view-all-link svg {
  transition: transform 0.15s;
}
.fact-dashboard__view-all-link:hover svg {
  transform: translateX(2px);
}

.fact-table-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}
.fact-table-header h1 {
  font-size: 24px;
  margin: 0;
}

.fact-filters {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 20px;
}
.fact-filters .fact-filters__reset {
  margin-left: auto;
}
@media (max-width: 480px) {
  .fact-filters {
    flex-direction: column;
    align-items: stretch;
  }
}

.fact-search form {
  display: flex;
  gap: 8px;
  align-items: stretch;
}
.fact-search input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e5e5e5;
  border-radius: 8px;
  font-size: 15px;
  font-family: "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.fact-search input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.1);
}
.fact-search input.error {
  border-color: #dc2626;
}
.fact-search input {
  width: 240px;
  height: 40px;
}
@media (max-width: 480px) {
  .fact-search input {
    width: 100%;
  }
}
.fact-search .btn--search {
  height: 40px;
  padding: 0 16px;
  background: #f4f4f5;
  color: #666;
  border: 1px solid #ddd;
  font-size: 13px;
}
.fact-search .btn--search:hover {
  background: #e5e5e5;
}

.btn--back {
  background: #f4f4f5;
  color: #666;
  border: 1px solid #ddd;
}
.btn--back:hover {
  background: #e5e5e5;
}

.fact-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.fact-table thead {
  background: #f4f4f5;
}
.fact-table thead th {
  padding: 16px 20px;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  color: #666;
  white-space: nowrap;
}
.fact-table tbody tr {
  border-bottom: 1px solid #e5e5e5;
  transition: background 0.2s ease;
}
.fact-table tbody tr:last-child {
  border-bottom: none;
}
.fact-table tbody tr:hover {
  background: #fafafa;
}
.fact-table tbody td {
  padding: 16px 20px;
  font-size: 14px;
  color: #333;
  vertical-align: middle;
}
.fact-table__actions-row {
  border-bottom: 1px solid #e5e5e5 !important;
}
.fact-table__actions-row > td {
  padding-top: 8px !important;
  padding-bottom: 8px !important;
}
.fact-table__actions-row--brouillon {
  background: #f9fafb;
}
.fact-table__actions-row--envoye {
  background: #eff6ff;
}
.fact-table__actions-row--accepte {
  background: #dcfce7;
}
.fact-table__actions-row--refuse {
  background: #fef2f2;
}
.fact-table__actions-row--facture {
  background: #fffbeb;
}
.fact-table__actions-row--envoyee {
  background: #eff6ff;
}
.fact-table__actions-row--payee_partiel {
  background: #fffcf8;
}
.fact-table__actions-row--payee {
  background: #dcfce7;
}
.fact-table__actions-row--annulee {
  background: #fef2f2;
}
.fact-table__actions-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.fact-table__actions-inner .fact-badge {
  margin-left: auto;
  flex-shrink: 0;
}
.fact-table tbody tr:has(+ .fact-table__actions-row) {
  border-bottom: none !important;
}
.fact-table tbody tr:has(+ .fact-table__actions-row) > td {
  padding-bottom: 6px !important;
}
.fact-table tbody tr:has(+ .fact-table__actions-row):hover,
.fact-table tbody tr:has(+ .fact-table__actions-row):hover + .fact-table__actions-row {
  background: #fafafa !important;
}
.fact-table tbody .fact-table__actions-row:hover,
.fact-table tbody tr:has(+ .fact-table__actions-row:hover) {
  background: #fafafa !important;
}
.fact-table__actions {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-start;
}
@media (max-width: 480px) {
  .fact-table__actions {
    gap: 8px;
  }
  .fact-table__actions a, .fact-table__actions button {
    min-width: 36px;
    min-height: 36px;
  }
  .fact-table__actions [disabled], .fact-table__actions .action-disabled {
    display: none;
  }
}
.fact-table__actions a, .fact-table__actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  border: 1px solid #e5e5e5;
  background: #fff;
  color: #666;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  padding: 0;
  position: relative;
}
.fact-table__actions a.action-disabled, .fact-table__actions a[disabled], .fact-table__actions button.action-disabled, .fact-table__actions button[disabled] {
  opacity: 0.2;
  pointer-events: none;
  cursor: default;
}
.fact-table__actions a.fact-action--quota-blocked, .fact-table__actions button.fact-action--quota-blocked {
  opacity: 0.4;
  pointer-events: auto;
  cursor: not-allowed;
  border-color: #ddd !important;
  color: #ccc !important;
  background: #f4f4f5;
}
.fact-table__actions a.fact-action--quota-blocked:hover, .fact-table__actions button.fact-action--quota-blocked:hover {
  background: #f4f4f5;
  border-color: #ddd !important;
  color: #ccc !important;
}
.fact-table__actions a svg, .fact-table__actions button svg {
  width: 16px;
  height: 16px;
}
.fact-table__actions a:hover, .fact-table__actions button:hover {
  border-color: #ccc;
  color: #333;
}
.fact-table__actions a--danger:hover, .fact-table__actions button--danger:hover {
  border-color: #fecaca;
  color: #dc2626;
  background: #fee2e2;
}
.fact-table__actions a[data-tooltip]::after, .fact-table__actions button[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: #1f2937;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  padding: 5px 10px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
  z-index: 10;
  line-height: 1.3;
}
.fact-table__actions a[data-tooltip]:hover::after, .fact-table__actions button[data-tooltip]:hover::after {
  opacity: 1;
}
@media (max-width: 480px) {
  .fact-table, .fact-table thead, .fact-table tbody, .fact-table th, .fact-table td, .fact-table tr {
    display: block;
  }
  .fact-table thead {
    display: none;
  }
  .fact-table tbody tr {
    padding: 16px;
    margin-bottom: 12px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
  }
  .fact-table tbody tr:hover {
    background: #fff;
  }
  .fact-table tbody td {
    padding: 6px 16px;
    text-align: right;
    position: relative;
    padding-left: 45%;
  }
  .fact-table tbody td::before {
    content: attr(data-label);
    position: absolute;
    left: 16px;
    font-weight: 600;
    font-size: 13px;
    color: #666;
    text-align: left;
  }
  .fact-table__actions {
    justify-content: flex-start;
  }
  .fact-table__actions-row {
    border: none !important;
    margin-bottom: 0;
    padding-top: 0;
  }
  .fact-table__actions-row > td {
    padding-left: 16px !important;
    text-align: left;
  }
  .fact-table__actions-row > td::before {
    display: none;
  }
  .fact-table__actions-inner {
    flex-wrap: wrap;
    gap: 8px;
  }
}

.fact-type-filter {
  display: flex;
  gap: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e5e5e5;
  height: 40px;
}
.fact-type-filter__btn {
  display: flex;
  align-items: center;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 500;
  color: #999;
  background: #fff;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
}
.fact-type-filter__btn:hover {
  background: #f4f4f5;
  color: #666;
  text-decoration: none;
}
.fact-type-filter__btn.active {
  background: var(--color-primary);
  color: #fff;
  font-weight: 600;
}
.fact-type-filter__btn + .fact-type-filter__btn {
  border-left: 1px solid #e5e5e5;
}

.fact-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 24px;
  color: #999;
}
.fact-empty svg {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  opacity: 0.5;
}
.fact-empty p {
  margin: 0 0 20px;
  font-size: 15px;
}
.fact-empty .btn {
  align-self: center;
  width: auto;
  font-size: 13px;
  padding: 8px 20px;
}

.fact-form {
  max-width: 720px;
}
.fact-form__section {
  margin-bottom: 32px;
}
.fact-form__section h2 {
  font-size: 18px;
  color: #1e3a5f;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #e5e5e5;
}
.fact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
@media (max-width: 480px) {
  .fact-form__row {
    grid-template-columns: 1fr;
  }
}
.fact-form__group {
  margin-bottom: 20px;
}
.fact-form__group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #333;
  margin-bottom: 6px;
}
.fact-form__group input, .fact-form__group select, .fact-form__group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e5e5e5;
  border-radius: 8px;
  font-size: 15px;
  font-family: "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.fact-form__group input:focus, .fact-form__group select:focus, .fact-form__group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.1);
}
.fact-form__group input.error, .fact-form__group select.error, .fact-form__group textarea.error {
  border-color: #dc2626;
}
.fact-form__group textarea {
  resize: vertical;
  min-height: 80px;
}
.fact-form__group select {
  appearance: none;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}
.fact-form__group .form-hint {
  font-size: 12px;
  color: #999;
  margin-top: 4px;
}
.fact-form__full {
  grid-column: 1/-1;
}
.fact-form__toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  cursor: pointer;
}
.fact-form__toggle input[type=checkbox] {
  width: 18px;
  height: 18px;
  accent-color: var(--color-primary);
}
.fact-form__toggle span {
  font-size: 14px;
  color: #333;
}
.fact-form__actions {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #e5e5e5;
}

.fact-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.fact-badge--brouillon {
  background: #f4f4f5;
  color: #666;
}
.fact-badge--envoye {
  background: #e0e7ff;
  color: #4338ca;
}
.fact-badge--accepte {
  background: #a7f3d0;
  color: #065f46;
}
.fact-badge--refuse {
  background: #fee2e2;
  color: #dc2626;
}
.fact-badge--facture {
  background: #fef3c7;
  color: #d97706;
}
.fact-badge--envoyee {
  background: #e0e7ff;
  color: #4338ca;
}
.fact-badge--payee_partiel {
  background: #fff7ed;
  color: #c2410c;
}
.fact-badge--payee {
  background: #a7f3d0;
  color: #065f46;
}
.fact-badge--annulee {
  background: #fee2e2;
  color: #dc2626;
}
.fact-badge--acompte {
  background: #eff6ff;
  color: #2563eb;
}
.fact-badge--solde {
  background: #f5f3ff;
  color: #7c3aed;
}
.fact-badge--avoir {
  background: #fef2f2;
  color: #dc2626;
}
.fact-badge--sent, .fact-badge--submitted {
  background: #ecfeff;
  color: #0891b2;
}
.fact-badge--issued {
  background: #ede9fe;
  color: #7c3aed;
}
.fact-badge--received {
  background: #e0f2fe;
  color: #0284c7;
}
.fact-badge--made_available {
  background: #fef3c7;
  color: #d97706;
}
.fact-badge--in_hand {
  background: #dbeafe;
  color: #2563eb;
}
.fact-badge--accepted, .fact-badge--approved {
  background: #d1fae5;
  color: #059669;
}
.fact-badge--payment_sent {
  background: #d1fae5;
  color: #059669;
}
.fact-badge--payment_received {
  background: #d1fae5;
  color: #059669;
}
.fact-badge--cancelled {
  background: #fee2e2;
  color: #dc2626;
}
.fact-badge--refused {
  background: #fee2e2;
  color: #dc2626;
}
.fact-badge--delivered {
  background: #d1fae5;
  color: #059669;
}
.fact-badge--rejected {
  background: #fee2e2;
  color: #dc2626;
}
.fact-badge--error {
  background: #fff7ed;
  color: #c2410c;
}

.fact-table--cards {
  border-collapse: separate;
  border-spacing: 0;
  box-shadow: none;
  background: transparent;
}
.fact-table--cards thead th {
  background: #f4f4f5;
}
.fact-table--cards thead th:first-child {
  border-radius: 8px 0 0 0;
}
.fact-table--cards thead th:last-child {
  border-radius: 0 8px 0 0;
}
.fact-table--cards .fact-table__data-row td {
  background: #fff;
  border-top: 1px solid #e5e7eb;
  border-bottom: none;
}
.fact-table--cards .fact-table__data-row td:first-child {
  border-left: 1px solid #e5e7eb;
}
.fact-table--cards .fact-table__data-row td:last-child {
  border-right: 1px solid #e5e7eb;
}
.fact-table--cards .fact-table__data-row:hover td {
  background: #fafafa;
}
.fact-table--cards .fact-table__actions-row td {
  background: inherit;
  border-bottom: 1px solid #e5e7eb;
}
.fact-table--cards .fact-table__actions-row td:first-child {
  border-left: 1px solid #e5e7eb;
  border-bottom-left-radius: 8px;
}
.fact-table--cards .fact-table__actions-row td:last-child {
  border-right: 1px solid #e5e7eb;
  border-bottom-right-radius: 8px;
}
.fact-table--cards .fact-table__gap td {
  height: 10px;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
}

.fact-table__einvoice-zone {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  padding: 4px 8px;
  background: transparent;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  width: fit-content;
}

.fact-table__einvoice-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #0f766e;
  font-weight: 600;
  white-space: nowrap;
}

.fact-table__einvoice-refresh {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border: none;
  background: none;
  color: #0891b2;
  cursor: pointer;
  border-radius: 4px;
  padding: 0;
}
.fact-table__einvoice-refresh:hover {
  background: #ccfbf1;
}

.fact-table__client-name {
  font-weight: 500;
  color: #1f2937;
}

.fact-table__client-objet {
  font-size: 12px;
  color: #9ca3af;
  margin-top: 2px;
}

.fact-einvoice-card {
  background: #f0fdfa;
  border: 1px solid #ccfbf1;
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 24px;
}

.fact-einvoice-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.fact-einvoice-card__title {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 14px;
  color: #0f766e;
}
.fact-einvoice-card__title svg {
  color: #0d9488;
}

.fact-einvoice-card__refresh {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: 1px solid #99f6e4;
  border-radius: 6px;
  padding: 4px 10px;
  cursor: pointer;
  font-size: 12px;
  color: #0f766e;
}
.fact-einvoice-card__refresh:hover {
  background: #ccfbf1;
}
.fact-einvoice-card__refresh svg {
  flex-shrink: 0;
}

.fact-einvoice-card__info {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.fact-einvoice-card__status .meta-label,
.fact-einvoice-card__provider .meta-label {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #9ca3af;
  margin-bottom: 4px;
}

.fact-einvoice-card__timeline {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid #ccfbf1;
}
.fact-einvoice-card__timeline > .meta-label {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #9ca3af;
  margin-bottom: 8px;
}

.fact-einvoice-timeline__step {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  font-size: 12px;
  color: #6b7280;
  position: relative;
  padding-left: 16px;
}
.fact-einvoice-timeline__step::before {
  content: "";
  position: absolute;
  left: 3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d1d5db;
}
.fact-einvoice-timeline__step--current::before {
  background: #0891b2;
  box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.15);
}

.fact-einvoice-timeline__label {
  font-weight: 500;
}

.fact-einvoice-timeline__date {
  color: #9ca3af;
  font-size: 11px;
}

.fact-einvoice-card__actions {
  display: flex;
  gap: 6px;
}

.fact-einvoice-card__track {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #0f766e;
  border: none;
  border-radius: 6px;
  padding: 4px 10px;
  cursor: pointer;
  font-size: 12px;
  color: #fff;
}
.fact-einvoice-card__track:hover {
  background: #0d6b63;
}
.fact-einvoice-card__track svg {
  flex-shrink: 0;
}

.fact-einvoice-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
}
.fact-einvoice-modal.open {
  display: flex;
}

.fact-einvoice-modal__info {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  padding: 12px 16px;
  background: #f9fafb;
  border-radius: 8px;
  margin-bottom: 20px;
}
.fact-einvoice-modal__info .meta-label {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #9ca3af;
  margin-bottom: 3px;
}
.fact-einvoice-modal__info .meta-value {
  font-size: 13px;
  color: #374151;
}

.fact-einvoice-modal__format-badge {
  display: inline-block;
  padding: 2px 8px;
  background: #ccfbf1;
  color: #0f766e;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}

.fact-einvoice-modal__flux {
  background: #f0fdfa;
  border: 1px solid #ccfbf1;
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 16px;
}

.fact-einvoice-modal__flux-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #9ca3af;
  margin-bottom: 16px;
  font-weight: 500;
}

.fact-einvoice-modal__flow-main {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  justify-items: center;
  gap: 10px;
}

.fact-einvoice-modal__flow-arrow {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  margin-top: 40px;
}

.fact-einvoice-modal__flow-pdp-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.fact-einvoice-modal__flow-admin {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 6px;
  gap: 6px;
}

.fact-einvoice-modal__actor {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 10px 8px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.fact-einvoice-modal__flow-main > .fact-einvoice-modal__actor,
.fact-einvoice-modal__flow-pdp-col > .fact-einvoice-modal__actor {
  width: 100%;
  min-height: 90px;
}

.fact-einvoice-modal__actor-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fact-einvoice-modal__actor-icon--sender {
  background: #dbeafe;
  color: #2563eb;
}
.fact-einvoice-modal__actor-icon--pdp {
  background: #ccfbf1;
  color: #0f766e;
}
.fact-einvoice-modal__actor-icon--receiver {
  background: #fce7f3;
  color: #be185d;
}
.fact-einvoice-modal__actor-icon--admin {
  background: #fef3c7;
  color: #b45309;
}

.fact-einvoice-modal__actor-label {
  font-size: 11px;
  font-weight: 600;
  color: #1f2937;
}

.fact-einvoice-modal__actor-sub {
  font-size: 9px;
  color: #6b7280;
  text-align: center;
  max-width: 90px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fact-einvoice-modal__stepper-track {
  display: flex;
  align-items: flex-start;
  position: relative;
  margin-top: 20px;
}

.fact-einvoice-modal__stepper-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  text-align: center;
}
.fact-einvoice-modal__stepper-step::before {
  content: "";
  position: absolute;
  top: 11px;
  left: -50%;
  right: 50%;
  height: 2px;
  background: #e5e7eb;
}
.fact-einvoice-modal__stepper-step:first-child::before {
  display: none;
}
.fact-einvoice-modal__stepper-step--done::before {
  background: #10b981;
}
.fact-einvoice-modal__stepper-step--active::before {
  background: #10b981;
}
.fact-einvoice-modal__stepper-step--error::before {
  background: #fca5a5;
}

.fact-einvoice-modal__stepper-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e5e7eb;
  position: relative;
  z-index: 1;
  margin-bottom: 6px;
}
.fact-einvoice-modal__stepper-step--done .fact-einvoice-modal__stepper-dot {
  background: #10b981;
  color: #fff;
}
.fact-einvoice-modal__stepper-step--active .fact-einvoice-modal__stepper-dot {
  background: #0891b2;
  color: #fff;
  box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.15);
}
.fact-einvoice-modal__stepper-step--error .fact-einvoice-modal__stepper-dot {
  background: #dc2626;
  color: #fff;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
}

.fact-einvoice-modal__step-pulse {
  width: 7px;
  height: 7px;
  background: #fff;
  border-radius: 50%;
  animation: einvoice-pulse 1.5s ease-in-out infinite;
}

@keyframes einvoice-pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}
.fact-einvoice-modal__stepper-label {
  font-size: 11px;
  font-weight: 500;
  color: #1f2937;
  line-height: 1.2;
}
.fact-einvoice-modal__stepper-step--done .fact-einvoice-modal__stepper-label {
  color: #059669;
}
.fact-einvoice-modal__stepper-step--active .fact-einvoice-modal__stepper-label {
  color: #0891b2;
}
.fact-einvoice-modal__stepper-step--error .fact-einvoice-modal__stepper-label {
  color: #dc2626;
}

.fact-einvoice-modal__stepper-time {
  font-size: 10px;
  color: #9ca3af;
  margin-top: 1px;
}

.fact-einvoice-modal__events {
  margin-bottom: 16px;
}

.fact-einvoice-modal__events-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #9ca3af;
  margin-bottom: 8px;
  font-weight: 500;
}
.fact-einvoice-modal__events-title span {
  font-weight: 400;
}

.fact-einvoice-modal__events-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fact-einvoice-modal__evt {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 8px;
  font-size: 12px;
  color: #6b7280;
  background: #f9fafb;
  border-radius: 4px;
}

.fact-einvoice-modal__evt-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d1d5db;
  flex-shrink: 0;
}
.fact-einvoice-modal__evt-dot--done {
  background: #10b981;
}
.fact-einvoice-modal__evt-dot--active {
  background: #0891b2;
  box-shadow: 0 0 0 2px rgba(8, 145, 178, 0.15);
}
.fact-einvoice-modal__evt-dot--error {
  background: #dc2626;
}

.fact-einvoice-modal__evt-label {
  font-weight: 500;
  color: #374151;
}

.fact-einvoice-modal__evt-time {
  margin-left: auto;
  font-size: 11px;
  color: #9ca3af;
  white-space: nowrap;
}

.fact-einvoice-modal__loading,
.fact-einvoice-modal__empty {
  text-align: center;
  padding: 16px 0;
  color: #9ca3af;
  font-size: 13px;
}

.fact-einvoice-modal__footer {
  display: flex;
  justify-content: center;
  padding-top: 16px;
  border-top: 1px solid #e5e7eb;
}

.fact-table__einvoice-track {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  border: none;
  background: #0f766e;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.fact-table__einvoice-track:hover {
  background: #0d6b63;
}

@media (max-width: 480px) {
  .fact-einvoice-modal__flow-main {
    gap: 8px;
  }
  .fact-einvoice-modal__flow-arrow {
    margin-top: 8px;
  }
  .fact-einvoice-modal__actor-icon {
    width: 28px;
    height: 28px;
  }
  .fact-einvoice-modal__actor-icon svg {
    width: 14px;
    height: 14px;
  }
  .fact-einvoice-modal__stepper-label {
    font-size: 9px;
  }
  .fact-einvoice-modal__stepper-time {
    font-size: 9px;
  }
  .fact-einvoice-modal__info {
    flex-direction: column;
    gap: 8px;
  }
}
.fact-avoir-lines {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 12px;
  max-height: 300px;
  overflow-y: auto;
  background: #fafafa;
}

.fact-avoir-line {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 4px;
  border-bottom: 1px solid #f3f4f6;
  cursor: pointer;
  font-size: 13px;
  transition: background 0.15s;
}
.fact-avoir-line:last-child {
  border-bottom: none;
}
.fact-avoir-line:hover {
  background: #f3f4f6;
}
.fact-avoir-line__check {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  cursor: pointer;
}
.fact-avoir-line__info {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.fact-avoir-line__amount {
  flex-shrink: 0;
}
.fact-avoir-line__amount:disabled {
  opacity: 0.4;
}

.fact-acomptes-checklist {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 12px;
  max-height: 200px;
  overflow-y: auto;
  background: #fafafa;
}

.fact-acompte-check {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 4px;
  border-bottom: 1px solid #f3f4f6;
  cursor: pointer;
  font-size: 13px;
}
.fact-acompte-check:last-child {
  border-bottom: none;
}
.fact-acompte-check:hover {
  background: #f0fdf4;
}
.fact-acompte-check input[type=checkbox] {
  accent-color: #10b981;
  width: 16px;
  height: 16px;
}
.fact-acompte-check__info {
  flex: 1;
}
.fact-acompte-check__info strong {
  color: #374151;
}

.fact-badge-proba {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.fact-badge-proba--0 {
  background: #fee2e2;
  color: #991b1b;
}
.fact-badge-proba--10 {
  background: #fed7aa;
  color: #9a3412;
}
.fact-badge-proba--25 {
  background: #fef3c7;
  color: #92400e;
}
.fact-badge-proba--50 {
  background: #fef9c3;
  color: #854d0e;
}
.fact-badge-proba--75 {
  background: #d9f99d;
  color: #3f6212;
}
.fact-badge-proba--90 {
  background: #bbf7d0;
  color: #166534;
}
.fact-badge-proba--100 {
  background: #dcfce7;
  color: #14532d;
}

.fact-payment-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
}
.fact-payment-bar__track {
  flex: 1;
  height: 8px;
  background: #e5e5e5;
  border-radius: 4px;
  overflow: hidden;
}
.fact-payment-bar__fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.4s ease;
  background: var(--color-primary);
}
.fact-payment-bar__fill--partial {
  background: #f59e0b;
}
.fact-payment-bar__fill--full {
  background: var(--color-primary);
}
.fact-payment-bar__label {
  font-size: 13px;
  font-weight: 600;
  color: #1e3a5f;
  white-space: nowrap;
}

.fact-payments {
  margin-top: 32px;
  margin-bottom: 32px;
}
.fact-payments__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.fact-payments__header h3 {
  font-size: 18px;
  margin: 0;
  color: #1e3a5f;
}
.fact-payments__table {
  width: 100%;
  border-collapse: collapse;
}
.fact-payments__table th {
  padding: 12px 16px;
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  color: #999;
  text-transform: uppercase;
  border-bottom: 2px solid #e5e5e5;
}
.fact-payments__table th.text-right {
  text-align: right;
}
.fact-payments__table td {
  padding: 12px 16px;
  font-size: 14px;
  border-bottom: 1px solid #e5e5e5;
}
.fact-payments__table td.text-right {
  text-align: right;
}
.fact-payments__empty {
  padding: 24px;
  text-align: center;
  color: #ccc;
  font-size: 14px;
  font-style: italic;
}
.fact-payments__summary {
  display: flex;
  justify-content: flex-end;
  gap: 32px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 2px solid #e5e5e5;
  font-size: 14px;
}
.fact-payments__summary .summary-item {
  text-align: right;
}
.fact-payments__summary .summary-item .summary-label {
  display: block;
  font-size: 12px;
  color: #999;
  margin-bottom: 2px;
}
.fact-payments__summary .summary-item .summary-value {
  font-size: 18px;
  font-weight: 700;
  color: #1e3a5f;
}
.fact-payments__summary .summary-item .summary-value--due {
  color: #c2410c;
}
.fact-payments__summary .summary-item .summary-value--paid {
  color: var(--color-primary);
}

.fact-payment-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
}
.fact-payment-modal.open {
  display: flex;
}
.fact-payment-modal .fact-modal__content {
  max-width: 480px;
}
@media (max-width: 480px) {
  .fact-payment-modal .fact-modal__content {
    width: 95%;
    padding: 20px 16px;
  }
}
.fact-payment-modal__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.fact-payment-modal__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 480px) {
  .fact-payment-modal__row {
    grid-template-columns: 1fr;
  }
}
.fact-payment-modal__group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #333;
  margin-bottom: 6px;
}
.fact-payment-modal__group input, .fact-payment-modal__group select, .fact-payment-modal__group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e5e5e5;
  border-radius: 8px;
  font-size: 15px;
  font-family: "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.fact-payment-modal__group input:focus, .fact-payment-modal__group select:focus, .fact-payment-modal__group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.1);
}
.fact-payment-modal__group input.error, .fact-payment-modal__group select.error, .fact-payment-modal__group textarea.error {
  border-color: #dc2626;
}
.fact-payment-modal__group textarea {
  resize: vertical;
  min-height: 60px;
}
.fact-payment-modal__actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 12px;
}

.fact-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid #e5e5e5;
  margin-bottom: 24px;
  overflow-x: auto;
}
@media (max-width: 480px) {
  .fact-tabs {
    flex-wrap: wrap;
    overflow-x: visible;
  }
}
.fact-tabs__tab {
  padding: 12px 20px;
  border: none;
  background: none;
  color: #666;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all 0.2s ease;
  font-family: "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.fact-tabs__tab:hover {
  color: #333;
}
.fact-tabs__tab.active {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}
.fact-tabs__tab .count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  background: #f4f4f5;
  border-radius: 9999px;
  font-size: 12px;
  margin-left: 6px;
  padding: 0 6px;
}
.fact-tabs__tab.active .count {
  background: rgba(var(--color-primary-rgb), 0.1);
  color: var(--color-primary);
}
@media (max-width: 768px) {
  .fact-tabs__tab {
    padding: 8px 12px;
    font-size: 13px;
  }
}

.devis-editor__header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-flow: dense;
  align-items: start;
  column-gap: 24px;
  row-gap: 0;
  margin-bottom: 32px;
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.devis-editor__header > div {
  display: contents;
}
.devis-editor__header > div:first-child > * {
  grid-column: 1;
}
.devis-editor__header > div:last-child > * {
  grid-column: 2;
}
@media (max-width: 480px) {
  .devis-editor__header {
    grid-template-columns: 1fr;
  }
  .devis-editor__header > div {
    display: block;
  }
  .devis-editor__header > div:first-child > *, .devis-editor__header > div:last-child > * {
    grid-column: auto;
  }
}
.devis-editor__client-picker {
  position: relative;
}
.devis-editor__client-picker .picker-input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e5e5e5;
  border-radius: 8px;
  font-size: 15px;
  font-family: "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.devis-editor__client-picker .picker-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.1);
}
.devis-editor__client-picker .picker-input.error {
  border-color: #dc2626;
}
.devis-editor__client-picker .picker-input {
  cursor: pointer;
}
.devis-editor__client-picker .picker-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border: 2px solid #e5e5e5;
  border-top: none;
  border-radius: 0 0 8px 8px;
  max-height: 200px;
  overflow-y: auto;
  z-index: 10;
  display: none;
}
.devis-editor__client-picker .picker-dropdown.open {
  display: block;
}
.devis-editor__client-picker .picker-dropdown .picker-option {
  padding: 12px 16px;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.2s ease;
}
.devis-editor__client-picker .picker-dropdown .picker-option:hover {
  background: #f4f4f5;
}
.devis-editor__client-picker .picker-dropdown .picker-option .picker-option__name {
  font-weight: 500;
  color: #333;
}
.devis-editor__client-picker .picker-dropdown .picker-option .picker-option__detail {
  font-size: 12px;
  color: #999;
}
.devis-editor__lines {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  margin-bottom: 24px;
}
.devis-editor__lines-header {
  display: grid;
  grid-template-columns: 40px 1fr 70px 80px 100px 90px 70px 100px 40px;
  gap: 12px;
  padding: 16px 20px;
  background: #f4f4f5;
  font-size: 13px;
  font-weight: 600;
  color: #666;
  align-items: center;
}
@media (max-width: 768px) {
  .devis-editor__lines-header {
    display: none;
  }
}
.devis-editor__line {
  display: grid;
  grid-template-columns: 40px 1fr 70px 80px 100px 90px 70px 100px 40px;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid #e5e5e5;
  align-items: start;
}
.devis-editor__line:last-child {
  border-bottom: none;
}
@media (max-width: 768px) {
  .devis-editor__line {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 20px;
    position: relative;
  }
}
.devis-editor__line .line-grip {
  cursor: grab;
  color: #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 10px;
}
.devis-editor__line .line-grip:active {
  cursor: grabbing;
}
.devis-editor__line .line-grip svg {
  width: 16px;
  height: 16px;
}
.devis-editor__line .sortable-ghost {
  opacity: 0.3;
  background: rgb(175.58, 198.988, 229.92);
  border-radius: 6px;
}
.devis-editor__line .sortable-drag {
  background: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  border-radius: 6px;
}
.devis-editor__line input, .devis-editor__line select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e5e5e5;
  border-radius: 8px;
  font-size: 15px;
  font-family: "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.devis-editor__line input:focus, .devis-editor__line select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.1);
}
.devis-editor__line input.error, .devis-editor__line select.error {
  border-color: #dc2626;
}
.devis-editor__line input, .devis-editor__line select {
  padding: 8px 12px;
  font-size: 13px;
}
.devis-editor__line input[type=number] {
  text-align: right;
  -moz-appearance: textfield;
}
.devis-editor__line input[type=number]::-webkit-outer-spin-button, .devis-editor__line input[type=number]::-webkit-inner-spin-button {
  -webkit-appearance: none;
}
.devis-editor__line .line-total {
  font-weight: 600;
  text-align: right;
  font-size: 14px;
  color: #1e3a5f;
  white-space: nowrap;
  padding-top: 7px;
}
@media (max-width: 768px) {
  .devis-editor__line .line-total {
    text-align: left;
  }
  .devis-editor__line .line-total::before {
    content: "Total HT : ";
    font-weight: 400;
    color: #666;
  }
}
.devis-editor__line .line-delete {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-top: 2px;
  border: none;
  background: none;
  color: #ccc;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.2s ease;
  padding: 0;
}
.devis-editor__line .line-delete svg {
  width: 16px;
  height: 16px;
}
.devis-editor__line .line-delete:hover {
  color: #dc2626;
  background: #fee2e2;
}
.devis-editor__line .line-remise {
  display: flex;
  gap: 2px;
  align-items: center;
}
.devis-editor__line .line-remise input {
  flex: 1;
  min-width: 0;
}
.devis-editor__line .line-remise select {
  width: 38px;
  flex-shrink: 0;
  padding: 8px 2px !important;
  text-align: center;
  font-size: 12px;
}
.devis-editor__remise-globale {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  margin-bottom: 12px;
}
.devis-editor__remise-globale label {
  font-size: 13px;
  font-weight: 500;
  color: #666;
  white-space: nowrap;
}
.devis-editor__remise-globale .line-remise {
  display: flex;
  gap: 2px;
  align-items: center;
  max-width: 150px;
}
@media (max-width: 480px) {
  .devis-editor__remise-globale .line-remise {
    max-width: 100%;
  }
}
.devis-editor__remise-globale .line-remise input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e5e5e5;
  border-radius: 8px;
  font-size: 15px;
  font-family: "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.devis-editor__remise-globale .line-remise input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.1);
}
.devis-editor__remise-globale .line-remise input.error {
  border-color: #dc2626;
}
.devis-editor__remise-globale .line-remise input {
  padding: 8px 12px;
  font-size: 13px;
  text-align: right;
  flex: 1;
  min-width: 0;
  -moz-appearance: textfield;
}
.devis-editor__remise-globale .line-remise input::-webkit-outer-spin-button, .devis-editor__remise-globale .line-remise input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}
.devis-editor__remise-globale .line-remise select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e5e5e5;
  border-radius: 8px;
  font-size: 15px;
  font-family: "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.devis-editor__remise-globale .line-remise select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.1);
}
.devis-editor__remise-globale .line-remise select.error {
  border-color: #dc2626;
}
.devis-editor__remise-globale .line-remise select {
  width: 38px;
  flex-shrink: 0;
  padding: 8px 2px;
  text-align: center;
  font-size: 12px;
}
.devis-editor__add-line {
  padding: 16px 20px;
  display: flex;
  gap: 12px;
}
.devis-editor__add-line button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 2px dashed #ddd;
  border-radius: 8px;
  background: none;
  color: #666;
  font-size: 13px;
  font-family: "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  cursor: pointer;
  transition: all 0.2s ease;
}
.devis-editor__add-line button svg {
  width: 16px;
  height: 16px;
}
.devis-editor__add-line button:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.devis-editor__totals {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  max-width: 400px;
  margin-left: auto;
  margin-bottom: 24px;
}
@media (max-width: 480px) {
  .devis-editor__totals {
    max-width: 100%;
  }
}
.devis-editor__totals-sep {
  border: none;
  border-top: 1px solid #e5e5e5;
  margin: 12px 0;
}
.devis-editor__total-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 14px;
  color: #666;
  white-space: nowrap;
}
.devis-editor__total-row--grand {
  font-size: 18px;
  font-weight: 700;
  color: #1e3a5f;
  border-top: 2px solid #e5e5e5;
  margin-top: 12px;
  padding-top: 16px;
}
.devis-editor__actions {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.fact-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
}
.fact-modal.open {
  display: flex;
}
.fact-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}
.fact-modal__content {
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  max-width: 640px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.fact-modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.fact-modal__header h3 {
  font-size: 20px;
  margin: 0;
}
.fact-modal__header .modal-close {
  width: 32px;
  height: 32px;
  border: none;
  background: none;
  color: #666;
  cursor: pointer;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fact-modal__header .modal-close svg {
  width: 20px;
  height: 20px;
}
.fact-modal__header .modal-close:hover {
  background: #f4f4f5;
}
.fact-modal__search {
  margin-bottom: 20px;
}
.fact-modal__search input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e5e5e5;
  border-radius: 8px;
  font-size: 15px;
  font-family: "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.fact-modal__search input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.1);
}
.fact-modal__search input.error {
  border-color: #dc2626;
}
.fact-modal__list .modal-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.fact-modal__list .modal-item:hover {
  border-color: var(--color-primary);
  background: rgba(var(--color-primary-rgb), 0.03);
}
.fact-modal__list .modal-item .modal-item__info .modal-item__ref {
  font-size: 12px;
  color: #999;
}
.fact-modal__list .modal-item .modal-item__info .modal-item__name {
  font-weight: 500;
  color: #333;
}
.fact-modal__list .modal-item .modal-item__price {
  font-weight: 600;
  color: #1e3a5f;
  white-space: nowrap;
}

.fact-action-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 24px;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 10px 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  z-index: 100;
}
@media print {
  .fact-action-bar {
    display: none !important;
  }
}

.fact-action-bar__sep {
  width: 1px;
  height: 24px;
  background: #e5e5e5;
  margin: 0 4px;
  flex-shrink: 0;
}

.fact-action-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 8px 16px;
  border-radius: 8px;
  border: none;
  font-size: 11px;
  font-weight: 500;
  font-family: "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s, box-shadow 0.15s;
  min-width: 56px;
  text-align: center;
}
.fact-action-btn svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}
.fact-action-btn--back {
  background: transparent;
  color: #666;
}
.fact-action-btn--back:hover {
  background: #f4f4f5;
}
.fact-action-btn--edit {
  background: #eff6ff;
  color: #1d4ed8;
}
.fact-action-btn--edit:hover {
  background: #dbeafe;
}
.fact-action-btn--view {
  background: #eff6ff;
  color: #1d4ed8;
}
.fact-action-btn--view:hover {
  background: #dbeafe;
}
.fact-action-btn--pdf {
  background: #f0fdfa;
  color: #0f766e;
}
.fact-action-btn--pdf:hover {
  background: #ccfbf1;
}
.fact-action-btn--duplicate {
  background: transparent;
  color: #666;
}
.fact-action-btn--duplicate:hover {
  background: #f4f4f5;
}
.fact-action-btn--send {
  background: #ede9fe;
  color: #7c3aed;
}
.fact-action-btn--send:hover {
  background: #7c3aed;
  color: #fff;
}
.fact-action-btn--green {
  background: #d1fae5;
  color: #059669;
}
.fact-action-btn--green:hover {
  background: #059669;
  color: #fff;
}
.fact-action-btn--red {
  background: #fee2e2;
  color: #dc2626;
}
.fact-action-btn--red:hover {
  background: #dc2626;
  color: #fff;
}
.fact-action-btn--blue {
  background: #dbeafe;
  color: #2563eb;
}
.fact-action-btn--blue:hover {
  background: #2563eb;
  color: #fff;
}
.fact-action-btn--invoice {
  background: rgba(var(--color-primary-rgb), 0.12);
  color: var(--color-primary);
}
.fact-action-btn--invoice:hover {
  background: var(--color-gradient);
  color: #fff;
}

@media (max-width: 480px) {
  .fact-action-bar {
    padding: 8px 10px;
    gap: 6px;
  }
  .fact-action-btn {
    padding: 6px 8px;
    font-size: 10px;
    min-width: 48px;
  }
  .fact-action-btn svg {
    width: 16px;
    height: 16px;
  }
  .fact-action-bar__sep {
    display: none;
  }
}
.devis-view {
  max-width: 800px;
  margin: 0 auto;
}
.devis-view__document {
  background: #fff;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
@media (max-width: 480px) {
  .devis-view__document {
    padding: 24px 16px;
  }
}
.devis-view__top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 32px;
}
@media (max-width: 480px) {
  .devis-view__top {
    flex-direction: column;
    gap: 24px;
  }
}
.devis-view__emetteur h3, .devis-view__destinataire h3 {
  font-size: 13px;
  font-weight: 600;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}
.devis-view__emetteur p, .devis-view__destinataire p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #333;
}
.devis-view__meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 20px;
  background: #f4f4f5;
  border-radius: 8px;
  margin-bottom: 32px;
}
@media (max-width: 768px) {
  .devis-view__meta {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .devis-view__meta {
    grid-template-columns: 1fr;
  }
}
.devis-view__meta .meta-item .meta-label {
  display: block;
  font-size: 12px;
  color: #999;
  margin-bottom: 2px;
}
.devis-view__meta .meta-item .meta-value {
  font-size: 14px;
  font-weight: 500;
  color: #333;
}
.devis-view__lines-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 32px;
}
.devis-view__lines-table thead th {
  padding: 12px 16px;
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  color: #999;
  text-transform: uppercase;
  border-bottom: 2px solid #e5e5e5;
}
.devis-view__lines-table thead th.text-right {
  text-align: right;
}
.devis-view__lines-table tbody td {
  padding: 12px 16px;
  font-size: 14px;
  border-bottom: 1px solid #e5e5e5;
}
.devis-view__lines-table tbody td.text-right {
  text-align: right;
}
.devis-view__lines-table tbody td .line-desc {
  font-size: 12px;
  color: #999;
  margin-top: 2px;
}
@media (max-width: 480px) {
  .devis-view__lines-table, .devis-view__lines-table thead, .devis-view__lines-table tbody, .devis-view__lines-table th, .devis-view__lines-table td, .devis-view__lines-table tr {
    display: block;
  }
  .devis-view__lines-table thead {
    display: none;
  }
  .devis-view__lines-table tbody tr {
    padding: 16px;
    margin-bottom: 12px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
  }
  .devis-view__lines-table tbody td {
    padding: 6px 16px;
    text-align: right;
    position: relative;
    padding-left: 45%;
  }
  .devis-view__lines-table tbody td::before {
    content: attr(data-label);
    position: absolute;
    left: 16px;
    font-weight: 600;
    font-size: 13px;
    color: #666;
    text-align: left;
  }
  .devis-view__lines-table tbody td.text-right {
    text-align: right;
  }
}
.devis-view__totals {
  max-width: 300px;
  margin-left: auto;
  margin-bottom: 32px;
}
@media (max-width: 480px) {
  .devis-view__totals {
    max-width: 100%;
    margin-left: 0;
  }
}
.devis-view__totals .total-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 14px;
}
.devis-view__totals .total-row.total-grand {
  font-size: 18px;
  font-weight: 700;
  color: #1e3a5f;
  border-top: 2px solid #1e3a5f;
  padding-top: 12px;
  margin-top: 8px;
}
.devis-view__notes {
  padding: 20px;
  background: #f4f4f5;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.6;
}
.devis-view__notes h4 {
  font-size: 13px;
  font-weight: 600;
  color: #666;
  margin-bottom: 8px;
}
.devis-view__notes p {
  margin: 0;
  color: #666;
}
@media print {
  .devis-view__actions {
    display: none !important;
  }
  .devis-view__document {
    box-shadow: none;
    border-radius: 0;
    padding: 0;
  }
}

.fact-profil__logo-preview {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}
.fact-profil__logo-preview img {
  width: 120px;
  height: auto;
  border-radius: 8px;
  border: 2px solid #e5e5e5;
}
.fact-profil__logo-preview .logo-placeholder {
  width: 120px;
  height: 80px;
  border: 2px dashed #ddd;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ccc;
}
.fact-profil__logo-preview .logo-placeholder svg {
  width: 32px;
  height: 32px;
}

.fact-amount {
  font-weight: 600;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.fact-ref {
  font-family: monospace;
  font-size: 13px;
  color: #666;
}

.fact-date {
  white-space: nowrap;
  color: #666;
}

.fact-autocomplete {
  position: relative;
  margin-bottom: 20px;
}
.fact-autocomplete__input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.fact-autocomplete__icon {
  position: absolute;
  left: 12px;
  width: 18px;
  height: 18px;
  color: #ccc;
  pointer-events: none;
}
.fact-autocomplete__input {
  width: 100%;
  padding: 10px 12px 10px 38px;
  border: 2px dashed #ddd;
  border-radius: 8px;
  font-size: 13px;
  color: #333;
  background: #f4f4f5;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.fact-autocomplete__input::placeholder {
  color: #ccc;
}
.fact-autocomplete__input:focus {
  outline: none;
  border-color: var(--color-primary);
  border-style: solid;
  background: #fff;
}
.fact-autocomplete__dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 4px;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  z-index: 200;
  max-height: 320px;
  overflow-y: auto;
}
.fact-autocomplete__item {
  padding: 10px 14px;
  cursor: pointer;
  border-bottom: 1px solid #f4f4f5;
  transition: background 0.2s ease;
}
.fact-autocomplete__item:last-child {
  border-bottom: none;
}
.fact-autocomplete__item:hover {
  background: rgba(var(--color-primary-rgb), 0.06);
}
.fact-autocomplete__item-name {
  font-weight: 600;
  font-size: 14px;
  color: #333;
  margin-bottom: 2px;
}
.fact-autocomplete__item-details {
  font-size: 12px;
  color: #999;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.fact-autocomplete__item-siren {
  font-family: monospace;
  font-size: 11px;
  color: #ccc;
}
.fact-autocomplete__empty, .fact-autocomplete__loading {
  padding: 16px;
  text-align: center;
  font-size: 13px;
  color: #ccc;
}
.fact-autocomplete__loading {
  color: var(--color-primary);
}

.fact-type-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
  max-width: 480px;
}
@media (max-width: 480px) {
  .fact-type-cards {
    grid-template-columns: 1fr;
  }
}

.fact-type-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 24px 20px;
  border: 2px solid #e5e5e5;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  transition: all 0.2s;
  font-family: "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  text-align: center;
}
.fact-type-card svg {
  width: 36px;
  height: 36px;
  color: #ccc;
  transition: color 0.2s;
}
.fact-type-card__title {
  font-size: 15px;
  font-weight: 600;
  color: #1e3a5f;
}
.fact-type-card__desc {
  font-size: 12px;
  color: #999;
  line-height: 1.3;
}
.fact-type-card:hover {
  border-color: #ccc;
  background: #f4f4f5;
}
.fact-type-card.active {
  border-color: var(--color-primary);
  background: rgba(var(--color-primary-rgb), 0.04);
  box-shadow: 0 0 0 1px var(--color-primary);
}
.fact-type-card.active svg {
  color: var(--color-primary);
}

.fact-switch {
  display: flex !important;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  margin-bottom: 4px !important;
}
.fact-switch input[type=checkbox] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}
.fact-switch__track {
  position: relative;
  display: inline-block;
  width: 44px;
  min-width: 44px;
  height: 24px;
  background: #c4c9d4;
  border-radius: 12px;
  transition: background 0.25s ease;
  flex-shrink: 0;
}
.fact-switch__track::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s ease;
}
.fact-switch input:checked + .fact-switch__track {
  background: var(--color-primary);
}
.fact-switch input:checked + .fact-switch__track::after {
  transform: translateX(20px);
}
.fact-switch input:focus-visible + .fact-switch__track {
  box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.3);
}
.fact-switch__label {
  font-size: 14px;
  font-weight: 500;
  color: #333;
  user-select: none;
}

.fact-client-type {
  display: inline-block;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
  margin-left: 8px;
  vertical-align: middle;
}
.fact-client-type--pro {
  background: #dbeafe;
  color: #1e40af;
}
.fact-client-type--particulier {
  background: #fef3c7;
  color: #92400e;
}

.fact-statut-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fact-statut-option {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border: 2px solid #e5e5e5;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.2s ease;
}
.fact-statut-option svg {
  flex-shrink: 0;
}
.fact-statut-option:hover {
  background: rgba(0, 0, 0, 0.02);
  transform: translateY(-1px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.devis-editor__lines--no-tva .devis-editor__lines-header,
.devis-editor__lines--no-tva .devis-editor__line {
  grid-template-columns: 40px 1fr 80px 80px 110px 100px 110px 40px;
}
@media (max-width: 768px) {
  .devis-editor__lines--no-tva .devis-editor__lines-header,
  .devis-editor__lines--no-tva .devis-editor__line {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .devis-editor__lines--no-tva .devis-editor__lines-header {
    display: none;
  }
}

.fact-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  margin-bottom: 12px;
  background: #f4f4f5;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  transition: border-color 0.2s ease;
}
.fact-contact-row:hover {
  border-color: #ccc;
}
.fact-contact-row__fields {
  flex: 1;
  min-width: 0;
}
.fact-contact-row__inputs {
  display: grid;
  grid-template-columns: 1fr 1fr 1.5fr;
  gap: 12px;
  margin-bottom: 12px;
}
@media (max-width: 480px) {
  .fact-contact-row__inputs {
    grid-template-columns: 1fr;
  }
}
.fact-contact-row__inputs input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e5e5e5;
  border-radius: 8px;
  font-size: 15px;
  font-family: "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.fact-contact-row__inputs input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.1);
}
.fact-contact-row__inputs input.error {
  border-color: #dc2626;
}
.fact-contact-row__inputs input {
  font-size: 13px;
}
.fact-contact-row__flags {
  display: flex;
  gap: 20px;
}
.fact-contact-row__flag {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-size: 13px;
  color: #666;
}
.fact-contact-row__flag input[type=checkbox] {
  width: 16px;
  height: 16px;
  accent-color: var(--color-primary);
}
.fact-contact-row__flag span {
  user-select: none;
}
.fact-contact-row__delete {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: none;
  color: #999;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.2s ease;
}
.fact-contact-row__delete:hover {
  color: #dc2626;
  background: #fee2e2;
}
.fact-contact-row__delete svg {
  width: 16px;
  height: 16px;
}

.fact-contact-add {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 2px dashed #ddd;
  border-radius: 8px;
  background: none;
  color: #666;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.fact-contact-add:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: rgba(var(--color-primary-rgb), 0.05);
}
.fact-contact-add svg {
  flex-shrink: 0;
}

.fact-contact-count {
  display: inline-block;
  font-size: 11px;
  padding: 1px 6px;
  border-radius: 9999px;
  background: #e0e7ff;
  color: #4338ca;
  font-weight: 600;
  margin-left: 6px;
  vertical-align: middle;
}

.fact-dest-flags {
  display: flex;
  gap: 20px;
  margin-top: 12px;
}
.fact-dest-flags label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 13px;
  color: #666;
}
.fact-dest-flags label input[type=checkbox] {
  width: 16px;
  height: 16px;
  accent-color: var(--color-primary);
}

.fact-send-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
}
.fact-send-modal.active {
  display: flex;
}
.fact-send-modal .fact-modal__content {
  max-width: 560px;
}
@media (max-width: 480px) {
  .fact-send-modal .fact-modal__content {
    width: 95%;
    padding: 20px 16px;
  }
}

.fact-send-modal__recipients {
  margin-bottom: 16px;
}

.fact-send-modal__recipients-label {
  font-size: 13px;
  font-weight: 600;
  color: #666;
  margin-bottom: 8px;
}

.fact-send-modal__recipients-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fact-send-modal__recipient {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: #f4f4f5;
  border-radius: 8px;
  font-size: 13px;
}
.fact-send-modal__recipient input[type=checkbox] {
  width: 16px;
  height: 16px;
  accent-color: var(--color-primary);
  flex-shrink: 0;
}
.fact-send-modal__recipient .recipient-email {
  flex: 1;
  color: #666;
}
.fact-send-modal__recipient .recipient-badge {
  font-size: 11px;
  padding: 1px 6px;
  border-radius: 9999px;
  background: #e0e7ff;
  color: #4338ca;
}
.fact-send-modal__recipient .recipient-badge--contact {
  background: rgb(234.1, 234.1, 234.1);
  color: #666;
}

.fact-send-modal__add-recipient {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.fact-send-modal__add-input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 13px;
}
.fact-send-modal__add-input:focus {
  outline: none;
  border-color: var(--color-primary);
}

.fact-send-modal__add-btn {
  padding: 8px 12px;
  background: none;
  border: 1px dashed #ddd;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  color: #999;
  white-space: nowrap;
}
.fact-send-modal__add-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.fact-send-modal__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.fact-send-modal__form label {
  font-size: 13px;
  font-weight: 600;
  color: #666;
  margin-bottom: 2px;
}
.fact-send-modal__form input[type=text],
.fact-send-modal__form textarea {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 13px;
  font-family: inherit;
}
.fact-send-modal__form input[type=text]:focus,
.fact-send-modal__form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}
.fact-send-modal__form textarea {
  resize: vertical;
  min-height: 80px;
}

.fact-send-modal__actions {
  display: flex;
  align-items: stretch;
  gap: 12px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #e5e5e5;
}
.fact-send-modal__actions .btn--primary {
  flex-shrink: 0;
}

.fact-send-modal__alt-action {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 500;
  font-family: "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #666;
  cursor: pointer;
  background: #f4f4f5;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 0 14px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s;
}
.fact-send-modal__alt-action:hover {
  background: #e5e5e5;
  color: #666;
}

.fact-send-modal__loading {
  text-align: center;
  padding: 20px 0;
  color: #999;
  font-size: 13px;
}

.fact-send-modal__sending {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 12px;
  gap: 16px;
}

.fact-send-modal__spinner {
  width: 36px;
  height: 36px;
  border: 3px solid #e5e5e5;
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: fact-spin 0.7s linear infinite;
}

.fact-send-modal__sending-text {
  font-size: 13px;
  color: #666;
  font-weight: 500;
}

@keyframes fact-spin {
  to {
    transform: rotate(360deg);
  }
}
.fact-email-log {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #e5e5e5;
}

.fact-email-log__title {
  font-size: 13px;
  font-weight: 600;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.fact-email-log__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fact-email-log__entry {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 13px;
  color: #666;
  padding: 8px 0;
}
.fact-email-log__entry:not(:last-child) {
  border-bottom: 1px solid #f4f4f5;
}

.fact-email-log__date {
  flex-shrink: 0;
  color: #ccc;
  font-size: 12px;
  min-width: 120px;
}

.fact-email-log__recipients {
  color: #666;
}

.fact-month-panel {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.fact-month-panel__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
@media (max-width: 480px) {
  .fact-month-panel__top {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
}
.fact-month-panel__progress {
  margin-top: 8px;
}
.fact-month-panel__progress-info {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 13px;
  color: #374151;
  font-weight: 500;
  margin-bottom: 6px;
}
.fact-month-panel__progress-pct {
  font-size: 12px;
  color: #999;
  font-weight: 600;
}
.fact-month-panel__search {
  flex: 0 1 280px;
}
@media (max-width: 480px) {
  .fact-month-panel__search {
    flex: 1;
  }
}
.fact-month-panel__search form {
  display: flex;
}
.fact-month-panel__search-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}
.fact-month-panel__search-icon {
  position: absolute;
  left: 12px;
  pointer-events: none;
  color: #ccc;
}
.fact-month-panel__search-wrap input {
  width: 100%;
  height: 38px;
  padding: 0 36px 0 38px;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  font-size: 13px;
  font-family: "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #f4f4f5;
  color: #333;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.fact-month-panel__search-wrap input::placeholder {
  color: #ccc;
}
.fact-month-panel__search-wrap input:focus {
  outline: none;
  border-color: #10b981;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}
.fact-month-panel__search-clear {
  position: absolute;
  right: 8px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  font-size: 18px;
  line-height: 1;
  color: #ccc;
  text-decoration: none;
  transition: all 0.2s ease;
}
.fact-month-panel__search-clear:hover {
  color: #666;
  background: #f4f4f5;
}

.fact-month-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}
.fact-month-nav__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 9999px;
  color: #059669;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}
.fact-month-nav__arrow:hover {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.2);
}
.fact-month-nav__arrow--disabled {
  color: #ddd;
  cursor: default;
  pointer-events: none;
}
.fact-month-nav__label {
  font-size: 18px;
  font-weight: 600;
  color: #065f46;
  min-width: 140px;
  text-align: center;
}

.fact-progress-bar {
  height: 8px;
  background: rgba(16, 185, 129, 0.12);
  border-radius: 4px;
  overflow: hidden;
}
.fact-progress-bar__fill {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, #10b981, #34d399);
  transition: width 0.5s ease;
}
.fact-progress-bar--warn .fact-progress-bar__fill {
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
}
.fact-progress-bar--exceeded .fact-progress-bar__fill {
  background: linear-gradient(90deg, #ef4444, #f87171);
}

.fact-month-stats {
  display: flex;
  gap: 16px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #f4f4f5;
}
@media (max-width: 480px) {
  .fact-month-stats {
    gap: 12px;
  }
}

.fact-month-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 1;
}
.fact-month-stat__donut {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fact-month-stat__donut::after {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 9999px;
  background: #fff;
}
.fact-month-stat__value {
  position: relative;
  z-index: 1;
  font-size: 13px;
  font-weight: 700;
  color: #333;
}
.fact-month-stat__label {
  font-size: 11px;
  color: #999;
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
}

.fact-quota-alert {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 13px;
  line-height: 1.5;
}
.fact-quota-alert__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 9999px;
}
.fact-quota-alert__content {
  flex: 1;
}
.fact-quota-alert__content strong {
  font-weight: 600;
}
.fact-quota-alert__action {
  flex-shrink: 0;
  padding: 10px 24px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}
.fact-quota-alert__action:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}
.fact-quota-alert--exceeded {
  background: #fee2e2;
  border: 1px solid #fecaca;
  color: #991b1b;
}
.fact-quota-alert--exceeded .fact-quota-alert__icon {
  background: rgba(220, 38, 38, 0.1);
  color: #dc2626;
}
.fact-quota-alert--exceeded .fact-quota-alert__action {
  background: #dc2626;
  color: #fff;
}
.fact-quota-alert--exceeded .fact-quota-alert__action:hover {
  background: rgb(187.0333333333, 30.1666666667, 30.1666666667);
}
.fact-quota-alert--warn {
  background: #fef3c7;
  border: 1px solid #fde68a;
  color: #92400e;
}
.fact-quota-alert--warn .fact-quota-alert__icon {
  background: rgba(217, 119, 6, 0.1);
  color: #d97706;
}
.fact-quota-alert--warn .fact-quota-alert__action {
  background: #d97706;
  color: #fff;
}
.fact-quota-alert--warn .fact-quota-alert__action:hover {
  background: rgb(177.2977578475, 97.2278026906, 4.9022421525);
}
@media (max-width: 480px) {
  .fact-quota-alert {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .fact-quota-alert__action {
    align-self: stretch;
    text-align: center;
  }
}

.fact-verification-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-radius: 8px;
  margin-bottom: 24px;
  font-size: 14px;
}
.fact-verification-banner--pending {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #9a3412;
}
.fact-verification-banner--verified {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
}
.fact-verification-banner__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}
.fact-verification-banner__content {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.fact-verification-banner__text {
  font-weight: 500;
}
.fact-verification-banner__action {
  margin-left: auto;
}

.fact-verification-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}
.fact-verification-status--verified {
  background: #d1fae5;
  color: #065f46;
}
.fact-verification-status--pending {
  background: #fff7ed;
  color: #9a3412;
}
.fact-verification-status__simulate {
  margin-left: 12px;
  padding: 3px 10px;
  background: rgba(234, 88, 12, 0.12);
  border: 1px solid #fdba74;
  border-radius: 6px;
  color: #9a3412;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}
.fact-verification-status__simulate:hover {
  background: rgba(234, 88, 12, 0.2);
}
.fact-verification-status__simulate:disabled {
  opacity: 0.5;
  cursor: wait;
}

.sidebar__verification-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 3px 12px;
  margin: 0 20px 8px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2px;
  transition: opacity 0.3s ease;
}
.sidebar__verification-badge--verified {
  background: rgba(16, 185, 129, 0.12);
  color: #6ee7b7;
}
.sidebar__verification-badge--pending {
  background: rgba(251, 146, 60, 0.15);
  color: #fdba74;
}

.sidebar--collapsed .sidebar__verification-badge {
  opacity: 0;
  overflow: hidden;
  width: 0;
  padding: 0;
  margin: 0;
}

.btn--disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
  position: relative;
}
.btn--disabled[data-tooltip] {
  pointer-events: auto;
}
.btn--disabled[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: #1f2937;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  padding: 5px 10px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
  z-index: 10;
}
.btn--disabled[data-tooltip]:hover::after {
  opacity: 1;
}

.sidebar__item--tour {
  padding: 8px 20px;
  margin-top: 8px;
}

.fact-tour-help {
  height: 34px;
  border-radius: 9999px;
  border: none;
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 16px;
  flex-shrink: 0;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
  font-family: "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.fact-tour-help__badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}
.fact-tour-help__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
}
.fact-tour-help:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.sidebar--collapsed .fact-tour-help {
  padding: 0;
  width: 34px;
}
.sidebar--collapsed .fact-tour-help .fact-tour-help__label {
  display: none;
}

.tour-legend__intro {
  margin: 0 0 14px;
  font-size: 13px;
  color: #6b7280;
  line-height: 1.4;
}

.tour-legend {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.tour-legend__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 8px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0.45;
  transform: scale(0.95);
  background: transparent;
}
.tour-legend__item--active {
  opacity: 1;
  transform: scale(1.04);
  background: rgba(99, 102, 241, 0.08);
  box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.18);
}
.tour-legend__item--active .tour-legend__icon {
  transform: scale(1.3);
  border-color: #6366f1;
  color: #6366f1;
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.25);
}
.tour-legend__item--active .tour-legend__icon--send {
  border-color: #6d28d9;
  color: #6d28d9;
  box-shadow: 0 2px 8px rgba(109, 40, 217, 0.25);
}
.tour-legend__item--active .tour-legend__icon--payment {
  border-color: #2563eb;
  color: #2563eb;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}
.tour-legend__item--active .tour-legend__icon--accept {
  border-color: #059669;
  color: #059669;
  box-shadow: 0 2px 8px rgba(5, 150, 105, 0.25);
}
.tour-legend__item--active .tour-legend__icon--refuse {
  border-color: #dc2626;
  color: #dc2626;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.25);
}
.tour-legend__item--active .tour-legend__icon--danger {
  border-color: #dc2626;
  color: #dc2626;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.25);
}
.tour-legend__item--active .tour-legend__label {
  color: #1f2937;
  font-weight: 600;
}
.tour-legend__item--active .tour-legend__desc {
  opacity: 1;
  max-height: 40px;
}

.tour-legend__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 8px;
  border: 1.5px solid #d1d5db;
  background: #fff;
  color: #9ca3af;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.tour-legend__icon svg {
  width: 16px;
  height: 16px;
}

.tour-legend__label {
  font-size: 13px;
  font-weight: 500;
  color: #6b7280;
  min-width: 70px;
  transition: all 0.3s ease;
}

.tour-legend__desc {
  font-size: 12px;
  color: #6b7280;
  line-height: 1.35;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.tour-tooltip--center .tour-legend {
  max-width: 440px;
  margin: 0 auto;
}

.fact-comptabilite__warning {
  background: #fef3c7;
  border: 1px solid #fde68a;
  color: #92400e;
  padding: 16px 20px;
  border-radius: 8px;
  margin-bottom: 16px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.fact-comptabilite__warning svg {
  flex-shrink: 0;
  color: #d97706;
}
.fact-comptabilite__warning a {
  color: #d97706;
  font-weight: 600;
  text-decoration: underline;
}
.fact-comptabilite__period {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.fact-comptabilite__period h2 {
  font-size: 18px;
  font-weight: 600;
  color: #1e3a5f;
  margin: 0;
}
.fact-comptabilite__period-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.fact-comptabilite__period-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #666;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 6px;
  transition: all 0.2s ease;
}
.fact-comptabilite__period-link:hover {
  color: #ae0a68;
  background: rgba(174, 10, 104, 0.06);
}
.fact-comptabilite__period-link svg {
  flex-shrink: 0;
}
.fact-comptabilite__period-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.fact-comptabilite__period-dates {
  font-size: 14px;
  color: #666;
}
.fact-comptabilite__select {
  padding: 8px 12px;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  font-size: 14px;
  background: #fff;
  min-width: 100px;
}
.fact-comptabilite__hero {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 24px 24px 20px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.fact-comptabilite__hero-main {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e5e5e5;
}
.fact-comptabilite__hero-icon {
  width: 48px;
  height: 48px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.fact-comptabilite__hero-icon--primary {
  background: rgba(5, 150, 105, 0.15);
  color: #059669;
}
.fact-comptabilite__hero-icon--tva {
  background: rgba(99, 102, 241, 0.12);
  color: #6366f1;
}
.fact-comptabilite__hero-icon--ttc {
  background: rgba(37, 99, 235, 0.12);
  color: #2563eb;
}
.fact-comptabilite__hero-icon--docs {
  background: rgba(109, 40, 217, 0.12);
  color: #6d28d9;
}
.fact-comptabilite__hero-value {
  display: block;
  font-size: 28px;
  font-weight: 700;
  color: #1e3a5f;
  line-height: 1.2;
}
.fact-comptabilite__hero-label {
  display: block;
  font-size: 13px;
  color: #666;
  font-weight: 500;
  margin-top: 2px;
}
.fact-comptabilite__hero-secondary {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.fact-comptabilite__hero-stat {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 160px;
}
.fact-comptabilite__hero-stat-value {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: #1e3a5f;
  line-height: 1.2;
}
.fact-comptabilite__hero-stat-label {
  display: block;
  font-size: 12px;
  color: #666;
  margin-top: 1px;
}
.fact-comptabilite__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}
.fact-comptabilite__card {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.fact-comptabilite__card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.fact-comptabilite__card-header h3 {
  font-size: 15px;
  font-weight: 600;
  color: #1e3a5f;
  margin: 0;
}
.fact-comptabilite__card-icon {
  width: 36px;
  height: 36px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.fact-comptabilite__card-icon--green {
  background: #ecfdf5;
  color: #059669;
}
.fact-comptabilite__card-icon--orange {
  background: #fff7ed;
  color: #c2410c;
}
.fact-comptabilite__card-value {
  font-size: 26px;
  font-weight: 700;
  color: #1e3a5f;
  margin-bottom: 4px;
}
.fact-comptabilite__card-value--orange {
  color: #c2410c;
}
.fact-comptabilite__card-value--muted {
  color: #ccc;
}
.fact-comptabilite__card-meta {
  font-size: 13px;
  color: #666;
  margin-bottom: 16px;
}
.fact-comptabilite__card-footer {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #666;
  padding-top: 12px;
  border-top: 1px solid #e5e5e5;
  margin-top: 12px;
}
.fact-comptabilite__card-footer svg {
  flex-shrink: 0;
  color: #ccc;
}
.fact-comptabilite__card-footer strong {
  color: #1e3a5f;
}
.fact-comptabilite__progress {
  margin-bottom: 12px;
}
.fact-comptabilite__progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #666;
  margin-bottom: 6px;
}
.fact-comptabilite__progress-pct {
  font-weight: 600;
  color: #1e3a5f;
}
.fact-comptabilite__progress-bar {
  height: 8px;
  background: #e5e7eb;
  border-radius: 4px;
  overflow: hidden;
}
.fact-comptabilite__progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #34d399, #059669);
  border-radius: 4px;
  transition: width 0.6s ease;
}
.fact-comptabilite__progress-fill--complete {
  background: linear-gradient(90deg, #059669, #047857);
}
.fact-comptabilite__export {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.fact-comptabilite__export h2 {
  font-size: 18px;
  font-weight: 600;
  color: #1e3a5f;
  margin: 0 0 12px 0;
}
.fact-comptabilite__export > p {
  color: #666;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
}
.fact-comptabilite__export-details {
  background: #f9fafb;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}
.fact-comptabilite__export-info {
  font-size: 13px;
  color: #666;
}
.fact-comptabilite__export-info strong {
  color: #1e3a5f;
}

/*# sourceMappingURL=styles.css.map */
