/* Cockpit V8 — chargé uniquement par le prototype interactif. Toutes les
   règles sont limitées au mode d'essai pour préserver la revue documentaire. */
body.cockpit-v8-active {
  --cockpit-green:#123f35;
  --cockpit-deep:#0a2e27;
  --cockpit-orange:#f4512c;
  --cockpit-soft:#f4f6f2;
  --cockpit-line:#e3e7e2;
}

/* ─── Dépenses & point mort · même hiérarchie que les écrans opérationnels ─── */
#a_charges .content{max-width:1180px;margin:0 auto;}
.expense-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:28px;margin:0 0 18px;padding:6px 2px 0;}
.expense-hero>div{max-width:760px;}
.expense-eyebrow{margin-bottom:8px;color:#438173;font-size:10px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;}
.expense-hero h1{margin:0;color:#143d34;font:600 clamp(28px,3.2vw,43px)/1.08 'Playfair Display',serif;letter-spacing:-.025em;}
.expense-hero p{max-width:680px;margin:12px 0 0;color:#69766f;font-size:13px;line-height:1.7;}
.expense-primary{flex:0 0 auto;min-height:46px;}
.expense-scope{display:grid;grid-template-columns:1fr 1fr;margin:0 0 18px;overflow:hidden;border:1px solid #dfe7e2;border-radius:16px;background:#f8faf8;}
.expense-scope>div{display:grid;gap:4px;padding:14px 17px;}
.expense-scope>div+div{border-left:1px solid #dfe7e2;}
.expense-scope b{color:#174a3e;font-size:11px;}
.expense-scope span{color:#748078;font-size:11px;line-height:1.5;}
.expense-form-card{padding:24px!important;border-color:#d9e5de!important;background:linear-gradient(145deg,#fff 0%,#fbfcfa 100%)!important;}
.expense-form-head .card-t{margin-bottom:6px;color:#438173;}
.expense-form-head h2{margin:0;color:#173c34;font:600 24px/1.2 'Playfair Display',serif;}
.expense-form-head p{margin:6px 0 0;color:#778079;font-size:11.5px;}
.expense-presets{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:17px 0 20px;}
.expense-preset{display:flex;min-width:0;min-height:78px;flex-direction:column;align-items:flex-start;justify-content:center;gap:5px;padding:12px 13px;border:1px solid #dfe6e1;border-radius:13px;background:#fff;color:#173c34;text-align:left;cursor:pointer;transition:.16s ease;}
.expense-preset:hover,.expense-preset:focus-visible{border-color:#4f8578;background:#f2f7f4;box-shadow:0 5px 18px rgba(20,61,52,.08);transform:translateY(-1px);outline:0;}
.expense-preset b{font-size:11px;line-height:1.35;}
.expense-preset span{color:#7c857f;font-size:9.5px;line-height:1.4;}
.expense-form-message{margin:0 0 14px;padding:10px 12px;border-radius:10px;background:#eef6f1;color:#246647;font-size:11px;}
.expense-form-message[data-ton="ko"]{background:#fff0eb;color:#a83e23;}
.expense-form-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px 11px;}
.expense-field{display:flex;min-width:0;flex-direction:column;margin:0;}
.expense-field-wide{grid-column:span 2;}
.expense-field>span{min-height:17px;margin:0 0 5px;color:#52635b;font-size:10px;font-weight:600;}
.expense-field small{color:#919992;font-size:8.5px;font-weight:400;}
.expense-field .field,.expense-field .sel{width:100%;min-width:0;height:42px;margin:0;padding:9px 11px;border:1px solid #dfe4e0;border-radius:10px;background:#fff;color:#22372f;font-size:11px;}
.expense-form-foot{display:flex;align-items:center;justify-content:space-between;gap:22px;margin-top:18px;padding-top:16px;border-top:1px solid #e7ebe8;}
.expense-form-foot p{max-width:650px;margin:0;color:#788179;font-size:10.5px;line-height:1.55;}
.expense-form-foot .btn{flex:0 0 auto;}
.scenario-safety{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:16px;margin:0 0 18px;padding:14px 17px;border:1px solid #d8e4dd;border-radius:15px;background:#f2f7f4;}
.scenario-safety>span{padding:6px 10px;border-radius:999px;background:#dcece3;color:#246146;font-size:9px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;white-space:nowrap;}
.scenario-safety p{margin:0;color:#637269;font-size:11px;line-height:1.55;}
.scenario-safety b{color:#173f35;}
.scenario-builder{padding:24px!important;}
.scenario-builder-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;}
.scenario-builder-head .card-t{margin-bottom:5px;}
.scenario-builder-head h2{margin:0;color:#173c34;font:600 24px/1.2 'Playfair Display',serif;}
.scenario-builder-head>span{padding:6px 10px;border:1px solid #dfe6e1;border-radius:999px;color:#5e7268;font-size:9px;font-weight:600;white-space:nowrap;}
.scenario-presets{margin-bottom:18px;}

@media(max-width:900px){
  #a_charges .content{padding:20px 16px 100px;}
  .expense-hero{align-items:stretch;flex-direction:column;gap:15px;}
  .expense-hero h1{font-size:32px;}
  .expense-hero p{font-size:12px;}
  .expense-primary{width:100%;}
  .expense-scope{grid-template-columns:1fr;}
  .expense-scope>div+div{border-top:1px solid #dfe7e2;border-left:0;}
  .expense-presets{grid-template-columns:1fr 1fr;}
  .expense-form-grid{grid-template-columns:1fr 1fr;}
  .expense-field-wide{grid-column:1/-1;}
  .expense-form-foot{align-items:stretch;flex-direction:column;gap:12px;}
  .expense-form-foot .btn{width:100%;}
  .scenario-safety{grid-template-columns:1fr;gap:8px;}
  .scenario-safety>span{justify-self:start;}
  .scenario-builder-head h2{font-size:22px;}
}

@media(max-width:520px){
  .expense-hero h1{font-size:29px;}
  .expense-presets,.expense-form-grid{grid-template-columns:1fr;}
  .expense-field-wide{grid-column:auto;}
}

/* ─── Finance · banque et rapprochement fournisseur ───────────────────────
   Même hiérarchie que les blocs opérationnels validés : un état lisible,
   deux preuves utiles et une seule action principale. */
body.cockpit-v8-active #a_finance .finance-bank-card{
  padding:0;overflow:hidden;border:1px solid #dce5df;border-radius:20px;
  background:#fff;box-shadow:0 12px 34px rgba(17,63,53,.055);
}
body.cockpit-v8-active #a_finance .finance-bank-head{
  display:flex;align-items:flex-start;justify-content:space-between;gap:24px;
  padding:24px 26px 21px;border-bottom:1px solid #e5ebe7;
  background:linear-gradient(135deg,#fbfcfa 0%,#f3f7f3 100%);
}
body.cockpit-v8-active #a_finance .finance-bank-kicker{
  margin-bottom:7px;color:#478071;font:700 9.5px/1.2 var(--sys);
  letter-spacing:.14em;text-transform:uppercase;
}
body.cockpit-v8-active #a_finance .finance-bank-head h2{
  margin:0;color:#173f35;font:600 21px/1.22 var(--serif);
}
body.cockpit-v8-active #a_finance .finance-bank-head p{
  max-width:700px;margin:8px 0 0;color:#687871;font:400 12px/1.6 var(--sys);
}
body.cockpit-v8-active #a_finance .finance-bank-state{
  flex:0 0 auto;display:inline-flex;align-items:center;gap:7px;min-height:29px;
  padding:6px 11px;border:1px solid #dce2df;border-radius:999px;
  background:#f4f5f3;color:#6d7772;font:650 10px/1 var(--sys);
}
body.cockpit-v8-active #a_finance .finance-bank-state::before{
  content:"";width:7px;height:7px;border-radius:50%;background:#9ca39f;
}
body.cockpit-v8-active #a_finance .finance-bank-state.is-ready{
  border-color:#cfe4d5;background:#edf7f0;color:#2f7144;
}
body.cockpit-v8-active #a_finance .finance-bank-state.is-ready::before{background:#47a966;}
body.cockpit-v8-active #a_finance .finance-bank-state.is-test{
  border-color:#eadfbd;background:#faf5e7;color:#86691e;
}
body.cockpit-v8-active #a_finance .finance-bank-state.is-test::before{background:#c79d33;}
body.cockpit-v8-active #a_finance .finance-bank-grid{
  display:grid;grid-template-columns:minmax(190px,.72fr) minmax(310px,1.28fr);
}
body.cockpit-v8-active #a_finance .finance-bank-grid>div{
  min-width:0;min-height:132px;padding:21px 24px;border-right:1px solid #e7ebe8;
}
body.cockpit-v8-active #a_finance .finance-bank-grid>div:last-child{border-right:0;}
body.cockpit-v8-active #a_finance .finance-bank-grid small{
  display:block;margin-bottom:8px;color:#7b8781;font:650 9px/1.25 var(--sys);
  letter-spacing:.08em;text-transform:uppercase;
}
body.cockpit-v8-active #a_finance .finance-bank-grid strong{
  display:block;color:#173f35;font:600 18px/1.25 var(--serif);
}
body.cockpit-v8-active #a_finance .finance-bank-grid span{
  display:block;margin-top:7px;color:#78847e;font:400 10.5px/1.5 var(--sys);
}
body.cockpit-v8-active #a_finance .finance-bank-ledger{
  display:flex;align-items:flex-start;flex-direction:column;justify-content:center;
  background:linear-gradient(135deg,#fff 0%,#f8fbf9 100%);
}
body.cockpit-v8-active #a_finance .finance-bank-ledger .btn{
  width:100%;min-height:43px;margin-top:16px;border-radius:11px;
}
body.cockpit-v8-active #a_finance .finance-reconcile{
  display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:24px;
  padding:18px 24px;border-top:1px solid #e7ebe8;background:#fbfcfb;
}
body.cockpit-v8-active #a_finance .finance-reconcile>div{display:grid;gap:5px;}
body.cockpit-v8-active #a_finance .finance-reconcile small{
  color:#79857f;font:700 9px/1.25 var(--sys);letter-spacing:.09em;text-transform:uppercase;
}
body.cockpit-v8-active #a_finance .finance-reconcile strong{
  color:#173f35;font:650 12px/1.35 var(--sys);
}
body.cockpit-v8-active #a_finance .finance-reconcile p{
  max-width:760px;margin:0;color:#728078;font:400 10.5px/1.5 var(--sys);
}
body.cockpit-v8-active #a_finance .finance-reconcile .btn{
  min-width:180px;min-height:40px;border-radius:10px;
}
body.cockpit-v8-active #a_finance .finance-bank-readonly{
  display:grid;gap:4px;padding:16px 24px;border-top:1px solid #e7ebe8;background:#fbfcfb;
}
body.cockpit-v8-active #a_finance .finance-bank-readonly strong{
  color:#173f35;font:650 11px/1.35 var(--sys);
}
body.cockpit-v8-active #a_finance .finance-bank-readonly span{
  color:#75817b;font:400 10.5px/1.5 var(--sys);
}
body.cockpit-v8-active #a_finance .finance-bank-result{
  display:none;margin:0 24px 20px;padding:11px 13px;border-radius:11px;
  font:500 11px/1.45 var(--sys);
}
body.cockpit-v8-active #a_finance .finance-bank-result:not(:empty){display:block;}
body.cockpit-v8-active #a_finance .finance-bank-result.is-working{
  background:#f3f6f4;color:#52655e;
}
body.cockpit-v8-active #a_finance .finance-bank-result.is-success{
  border:1px solid #cfe4d5;background:#edf7f0;color:#2f7144;
}
body.cockpit-v8-active #a_finance .finance-bank-result.is-error{
  border:1px solid #f1cabd;background:#fff1ed;color:#a94123;
}

@media(max-width:760px){
  body.cockpit-v8-active #a_finance .finance-bank-card{border-radius:18px;}
  body.cockpit-v8-active #a_finance .finance-bank-head{
    display:grid;grid-template-columns:minmax(0,1fr) auto;gap:13px;padding:19px 16px 17px;
  }
  body.cockpit-v8-active #a_finance .finance-bank-head h2{font-size:20px;}
  body.cockpit-v8-active #a_finance .finance-bank-head p{grid-column:1/-1;font-size:11px;}
  body.cockpit-v8-active #a_finance .finance-bank-state{grid-column:2;grid-row:1/3;align-self:start;}
  body.cockpit-v8-active #a_finance .finance-bank-grid{grid-template-columns:1fr;}
  body.cockpit-v8-active #a_finance .finance-bank-grid>div{
    min-height:0;padding:18px 16px;border-right:0;border-bottom:1px solid #e7ebe8;
  }
  body.cockpit-v8-active #a_finance .finance-bank-grid>div:last-child{border-bottom:0;}
  body.cockpit-v8-active #a_finance .finance-reconcile{
    grid-template-columns:1fr;gap:14px;padding:17px 16px;
  }
  body.cockpit-v8-active #a_finance .finance-reconcile .btn{width:100%;}
  body.cockpit-v8-active #a_finance .finance-bank-readonly{padding:15px 16px;}
  body.cockpit-v8-active #a_finance .finance-bank-result{margin:0 15px 15px;}
}

@media(max-width:420px){
  body.cockpit-v8-active #a_finance .finance-bank-head{grid-template-columns:1fr;}
  body.cockpit-v8-active #a_finance .finance-bank-state{grid-column:1;grid-row:auto;justify-self:start;}
  body.cockpit-v8-active #a_finance .finance-bank-grid{grid-template-columns:1fr;}
}
body.cockpit-v8-active .has-profile-photo{background-position:center!important;background-size:cover!important;background-repeat:no-repeat!important;color:transparent!important;}
body.cockpit-v8-active #side .who{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;align-items:center;justify-items:stretch;}
body.cockpit-v8-active #side .who .av{grid-column:1;width:48px;height:48px;margin:0 auto 2px;}
body.cockpit-v8-active #side .who #wholabel{display:block;grid-column:1;min-width:0;overflow:hidden;text-align:center;text-overflow:ellipsis;white-space:nowrap;}
body.cockpit-v8-active #side .side-account-button,
body.cockpit-v8-active #side .side-logout-button{grid-column:1/-1;display:flex;align-items:center;justify-content:center;width:100%;min-height:40px;margin:0;padding:0 13px;border-radius:10px;font:600 10px var(--sys);cursor:pointer;transition:background .16s ease,border-color .16s ease,color .16s ease;}
body.cockpit-v8-active #side .side-account-button{margin-top:4px;border:1px solid rgba(255,255,255,.24);background:rgba(255,255,255,.12);color:#fff;}
body.cockpit-v8-active #side .side-account-button:hover{background:rgba(255,255,255,.19);border-color:rgba(255,255,255,.34);}
body.cockpit-v8-active #side .side-logout-button{border:1px solid rgba(255,255,255,.13);background:transparent;color:rgba(235,244,240,.72);}
body.cockpit-v8-active #side .side-logout-button:hover{border-color:rgba(255,255,255,.23);background:rgba(255,255,255,.07);color:#fff;}

/* Mon compte — identité réelle et sécurité, sans préférences fictives. */
body.cockpit-v8-active #acct>.content{max-width:none!important;min-height:100%;padding:24px 28px 32px;background:#f6f8f5;}
body.cockpit-v8-active #acct .account-page{max-width:1120px!important;margin:0 auto;}
body.cockpit-v8-active #acct .account-mobile-brand{display:none;}
/* Le fichier officiel sur fond clair contient du blanc. En mode de fusion
   produit, ce blanc reprend exactement le fond de la page : le symbole et le
   lettrage restent intacts, sans rectangle visible autour du logo. */
body.cockpit-v8-active #acct .account-mobile-brand .brand-board-window{background:transparent;}
body.cockpit-v8-active #acct .account-mobile-brand .brand-board-window img{mix-blend-mode:multiply;}
body.cockpit-v8-active #acct .account-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:22px;margin:4px 0 18px;}
body.cockpit-v8-active #acct .account-eyebrow{margin-bottom:5px;color:#3f7a68;font-size:9.5px;font-weight:650;letter-spacing:.11em;text-transform:uppercase;}
body.cockpit-v8-active #acct .account-heading h1{margin:0;color:#15243b;font:600 34px/1.02 'Playfair Display',serif;letter-spacing:-.025em;}
body.cockpit-v8-active #acct .account-heading h1::after{content:"";display:block;width:43px;height:3px;margin-top:9px;border-radius:99px;background:var(--cockpit-orange);}
body.cockpit-v8-active #acct .account-heading p{margin:8px 0 0;color:#748078;font-size:11.5px;line-height:1.55;}
body.cockpit-v8-active #acct .account-status{display:inline-flex;align-items:center;gap:7px;padding:7px 11px;border:1px solid #d7e6dc;border-radius:999px;background:#eff6f1;color:#2f725f;font-size:8.5px;font-weight:650;letter-spacing:.04em;text-transform:uppercase;white-space:nowrap;}
body.cockpit-v8-active #acct .account-status::before{content:"";width:6px;height:6px;border-radius:50%;background:#39815f;}
body.cockpit-v8-active #acct .account-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(380px,1.1fr);gap:14px;align-items:start;}
body.cockpit-v8-active #acct .card{margin:0;padding:21px;border:1px solid var(--cockpit-line);border-radius:18px;background:#fff;box-shadow:0 10px 32px rgba(19,53,45,.05);}
body.cockpit-v8-active #acct .account-card-head{margin-bottom:17px;}
body.cockpit-v8-active #acct .account-card-head .card-t{margin:0;color:var(--cockpit-green);font-size:12px;font-weight:650;letter-spacing:.025em;}
body.cockpit-v8-active #acct .account-card-head p{margin:5px 0 0;color:#7b8680;font-size:9.5px;line-height:1.5;}
body.cockpit-v8-active #acct .account-person{display:flex;align-items:center;gap:12px;padding:15px;border-radius:14px;background:#f3f7f3;}
body.cockpit-v8-active #acct .account-avatar{display:grid;place-items:center;width:43px;height:43px;border-radius:50%;background:var(--cockpit-green);color:#fff;font-size:12px;font-weight:700;}
body.cockpit-v8-active #acct .account-person b,body.cockpit-v8-active #acct .account-person span{display:block;}
body.cockpit-v8-active #acct .account-person b{color:#203d34;font-size:12px;}
body.cockpit-v8-active #acct .account-person div span{margin-top:3px;color:#728078;font-size:9.5px;}
body.cockpit-v8-active #acct .account-photo-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:12px;padding:12px;border:1px solid #e6ebe7;border-radius:12px;background:#fafbf9;}
body.cockpit-v8-active #acct .account-photo-choice,body.cockpit-v8-active #acct [data-account-photo-remove]{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:0 12px;border-radius:9px;font:600 9px var(--sys);cursor:pointer;}
body.cockpit-v8-active #acct .account-photo-choice{border:1px solid var(--cockpit-green);background:var(--cockpit-green);color:#fff;}
body.cockpit-v8-active #acct .account-photo-choice.loading{opacity:.55;pointer-events:none;}
body.cockpit-v8-active #acct [data-account-photo-remove]{border:1px solid #dce4de;background:#fff;color:#6f7d76;}
body.cockpit-v8-active #acct .account-photo-tools>small{flex:1 1 100%;color:#89928d;font-size:8.3px;line-height:1.45;}
body.cockpit-v8-active #acct .account-photo-feedback{flex:1 1 100%;padding:8px 9px;border-radius:8px;font-size:9px;line-height:1.4;}
body.cockpit-v8-active #acct .account-photo-feedback.success{background:#edf7f0;color:#287057;}
body.cockpit-v8-active #acct .account-photo-feedback.error{background:#fff2ef;color:#a53e29;}
body.cockpit-v8-active #acct .account-details{margin:14px 0 0;}
body.cockpit-v8-active #acct .account-details>div{display:grid;grid-template-columns:120px minmax(0,1fr);gap:14px;padding:11px 2px;border-bottom:1px solid #edf0ec;font-size:10px;}
body.cockpit-v8-active #acct .account-details dt{color:#7b8680;}
body.cockpit-v8-active #acct .account-details dd{margin:0;color:#29483e;font-weight:600;overflow-wrap:anywhere;}
body.cockpit-v8-active #acct .account-link{display:flex;align-items:center;justify-content:space-between;width:100%;margin-top:16px;padding:11px 12px;border:1px solid #dce5df;border-radius:10px;background:#fff;color:#2d6352;font:600 9.5px var(--sys);cursor:pointer;}
body.cockpit-v8-active #acct .account-security form{display:grid;grid-template-columns:1fr 1fr;gap:13px;}
body.cockpit-v8-active #acct .account-passkey{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:16px;padding:14px;border:1px solid #d8e7dd;border-radius:13px;background:#f1f7f3;}
body.cockpit-v8-active #acct .account-passkey[hidden]{display:none!important;}
body.cockpit-v8-active #acct .account-passkey b,body.cockpit-v8-active #acct .account-passkey span{display:block;}
body.cockpit-v8-active #acct .account-passkey b{color:#254a3e;font-size:10px;}
body.cockpit-v8-active #acct .account-passkey span{margin-top:4px;color:#738078;font-size:8.8px;line-height:1.45;}
body.cockpit-v8-active #acct .account-passkey button{flex:0 0 auto;min-height:36px;padding:0 12px;border:1px solid var(--cockpit-green);border-radius:9px;background:var(--cockpit-green);color:#fff;font:650 9px var(--sys);cursor:pointer;}
body.cockpit-v8-active #acct .account-passkey button:disabled{opacity:.55;cursor:wait;}
body.cockpit-v8-active #acct .account-google{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:-7px 0 16px;padding:12px 14px;border:1px solid #e4e9e5;border-radius:13px;background:#fff;}
body.cockpit-v8-active #acct .account-google[hidden]{display:none!important;}
body.cockpit-v8-active #acct .account-google b,body.cockpit-v8-active #acct .account-google span{display:block;}
body.cockpit-v8-active #acct .account-google b{color:#254a3e;font-size:10px;}
body.cockpit-v8-active #acct .account-google span{margin-top:3px;color:#7b8680;font-size:8.8px;}
body.cockpit-v8-active #acct .account-google button{min-height:34px;padding:0 11px;border:1px solid #d6e0da;border-radius:8px;background:#fff;color:#2c5e4f;font:650 8.8px var(--sys);cursor:pointer;}
body.cockpit-v8-active #acct .account-password-title{display:grid;gap:3px;margin:2px 0 12px;padding-top:15px;border-top:1px solid #edf0ec;}
body.cockpit-v8-active #acct .account-password-title b{color:#2a493f;font-size:10px;}
body.cockpit-v8-active #acct .account-password-title span{color:#7b8680;font-size:8.8px;line-height:1.45;}
body.cockpit-v8-active #acct .account-security label{display:block;color:#4f625a;font-size:9.5px;font-weight:600;}
body.cockpit-v8-active #acct .account-security label:first-child{grid-column:1/-1;}
body.cockpit-v8-active #acct .account-security input{display:block;width:100%;height:43px;margin-top:6px;padding:0 12px;border:1px solid #dce3de;border-radius:10px;background:#fff;color:#20362e;font:500 11px var(--sys);outline:none;}
body.cockpit-v8-active #acct .account-security input:focus{border-color:#719b8a;box-shadow:0 0 0 3px rgba(65,119,99,.1);}
body.cockpit-v8-active #acct .account-security label small{display:block;margin-top:5px;color:#8a948f;font-size:8.5px;font-weight:450;}
body.cockpit-v8-active #acct .account-feedback{grid-column:1/-1;padding:10px 11px;border-radius:9px;font-size:9.5px;line-height:1.45;}
body.cockpit-v8-active #acct .account-feedback.error{background:#fff2ef;color:#a53e29;}
body.cockpit-v8-active #acct .account-feedback.success{background:#edf7f0;color:#287057;}
body.cockpit-v8-active #acct .account-submit{grid-column:1/-1;justify-self:start;min-height:39px;padding:0 16px!important;border:0!important;border-radius:10px!important;background:var(--cockpit-orange)!important;color:#fff!important;font-size:10px!important;box-shadow:none!important;}
body.cockpit-v8-active #acct .account-submit:disabled{opacity:.55;cursor:wait;}
body.cockpit-v8-active #acct .account-security-note{display:flex;gap:12px;margin-top:17px;padding-top:14px;border-top:1px solid #edf0ec;}
body.cockpit-v8-active #acct .account-security-note b{color:#2a493f;font-size:9.5px;white-space:nowrap;}
body.cockpit-v8-active #acct .account-security-note span{color:#7b8680;font-size:9px;line-height:1.5;}
body.cockpit-v8-active #acct .account-empty{display:grid;gap:5px;max-width:560px;padding:18px;border:1px solid #e3e7e2;border-radius:14px;background:#fff;}
body.cockpit-v8-active #acct .account-empty strong{color:#24483e;font-size:12px;}
body.cockpit-v8-active #acct .account-empty span{color:#7b8680;font-size:10px;}
body.account-crop-open{overflow:hidden;}
body.cockpit-v8-active #acct .account-crop-backdrop[hidden]{display:none!important;}
body.cockpit-v8-active #acct .account-crop-backdrop{position:fixed;z-index:1200;inset:0;display:grid;place-items:center;padding:20px;background:rgba(7,31,25,.66);backdrop-filter:blur(7px);}
body.cockpit-v8-active #acct .account-crop-dialog{width:min(430px,100%);padding:22px;border:1px solid rgba(255,255,255,.55);border-radius:20px;background:#fff;box-shadow:0 28px 80px rgba(5,31,24,.28);}
body.cockpit-v8-active #acct .account-crop-dialog header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:17px;}
body.cockpit-v8-active #acct .account-crop-dialog header span{display:block;margin-bottom:5px;color:#3f7a68;font-size:8.5px;font-weight:700;letter-spacing:.11em;text-transform:uppercase;}
body.cockpit-v8-active #acct .account-crop-dialog h2{margin:0;color:#183e34;font:650 22px/1.12 var(--sys);letter-spacing:-.025em;}
body.cockpit-v8-active #acct .account-crop-dialog header p{max-width:330px;margin:7px 0 0;color:#77827c;font-size:10px;line-height:1.55;}
body.cockpit-v8-active #acct .account-crop-close{display:grid;flex:0 0 34px;place-items:center;width:34px;height:34px;padding:0;border:1px solid #dde5df;border-radius:50%;background:#fff;color:#53665e;font:400 20px/1 var(--sys);cursor:pointer;}
body.cockpit-v8-active #acct .account-crop-stage{position:relative;width:min(300px,76vw);aspect-ratio:1;margin:0 auto;overflow:hidden;border-radius:50%;background:#e8eee9;box-shadow:0 0 0 7px #f2f5f1,0 0 0 8px #dce5de;touch-action:none;}
body.cockpit-v8-active #acct .account-crop-stage canvas{display:block;width:100%;height:100%;cursor:grab;touch-action:none;user-select:none;}
body.cockpit-v8-active #acct .account-crop-stage canvas.dragging{cursor:grabbing;}
body.cockpit-v8-active #acct .account-crop-stage>span{position:absolute;inset:0;border-radius:50%;box-shadow:inset 0 0 0 1px rgba(255,255,255,.8);pointer-events:none;}
body.cockpit-v8-active #acct .account-crop-zoom{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:13px;margin:22px 2px 15px;color:#405a50;font-size:9.5px;font-weight:650;}
body.cockpit-v8-active #acct .account-crop-zoom input{width:100%;height:4px;margin:0;padding:0;border:0;border-radius:99px;accent-color:var(--cockpit-green);cursor:pointer;}
body.cockpit-v8-active #acct .account-crop-feedback{margin-bottom:12px;padding:9px 11px;border-radius:9px;background:#fff2ef;color:#a53e29;font-size:9px;line-height:1.45;}
body.cockpit-v8-active #acct .account-crop-dialog footer{display:grid;grid-template-columns:1fr 1.45fr;gap:9px;}
body.cockpit-v8-active #acct .account-crop-dialog footer .btn{display:inline-flex;align-items:center;justify-content:center;min-height:43px;margin:0!important;border-radius:10px!important;font-size:9.5px!important;font-weight:650!important;}
body.cockpit-v8-active #acct .account-crop-secondary{border:1px solid #dce4de!important;background:#fff!important;color:#557067!important;}
body.cockpit-v8-active #acct .account-crop-save{border:1px solid var(--cockpit-green)!important;background:var(--cockpit-green)!important;color:#fff!important;}
body.cockpit-v8-active #acct .account-crop-save:disabled{opacity:.55;cursor:wait;}
@media(max-width:760px){
  body.cockpit-v8-active #acct>.content{padding:0 16px 100px;}
  body.cockpit-v8-active #acct .account-mobile-brand{display:flex;}
  body.cockpit-v8-active #acct .account-heading{display:block;margin:1px 0 15px;}
  body.cockpit-v8-active #acct .account-eyebrow{display:none;}
  body.cockpit-v8-active #acct .account-heading h1{font-size:29px;line-height:1.04;color:#202523;}
  body.cockpit-v8-active #acct .account-heading h1::after{display:none;}
  body.cockpit-v8-active #acct .account-heading p{margin-top:5px;font-size:12.5px;}
  body.cockpit-v8-active #acct .account-status{margin-top:9px;}
  body.cockpit-v8-active #acct .account-grid{grid-template-columns:1fr;gap:12px;}
  body.cockpit-v8-active #acct .card{padding:16px;border-radius:16px;}
  body.cockpit-v8-active #acct .account-security form{grid-template-columns:1fr;}
  body.cockpit-v8-active #acct .account-passkey{align-items:stretch;flex-direction:column;}
  body.cockpit-v8-active #acct .account-google{align-items:stretch;flex-direction:column;}
  body.cockpit-v8-active #acct .account-passkey button{min-height:44px;}
  body.cockpit-v8-active #acct .account-security label:first-child,body.cockpit-v8-active #acct .account-feedback,body.cockpit-v8-active #acct .account-submit{grid-column:1;}
  body.cockpit-v8-active #acct .account-security input{height:49px;font-size:14px;}
  body.cockpit-v8-active #acct .account-details>div{grid-template-columns:1fr;gap:4px;}
  body.cockpit-v8-active #acct .account-photo-choice,body.cockpit-v8-active #acct [data-account-photo-remove]{flex:1 1 100%;min-height:44px;}
  body.cockpit-v8-active #acct .account-submit{width:100%;justify-content:center;}
  body.cockpit-v8-active #acct .account-security-note{display:grid;gap:4px;}
  body.cockpit-v8-active #acct .account-crop-backdrop{align-items:end;padding:0;}
  body.cockpit-v8-active #acct .account-crop-dialog{width:100%;padding:20px 18px calc(22px + env(safe-area-inset-bottom));border-radius:22px 22px 0 0;}
  body.cockpit-v8-active #acct .account-crop-dialog h2{font-size:23px;}
  body.cockpit-v8-active #acct .account-crop-dialog header p{font-size:11px;}
  body.cockpit-v8-active #acct .account-crop-stage{width:min(270px,72vw);}
  body.cockpit-v8-active #acct .account-crop-dialog footer{grid-template-columns:1fr;}
  body.cockpit-v8-active #acct .account-crop-dialog footer .btn{min-height:48px;font-size:11px!important;}
}

/* Connexion — volontairement plus proche d'un logiciel métier que d'une
   landing page. Le logo porte la marque ; le formulaire reste silencieux. */
body.gervis-login-mode{background:#e8ebe7;}
body.gervis-login-mode .wrap{max-width:none;height:100vh;padding:0;}
body.gervis-login-mode .device{height:100vh;border-radius:0;box-shadow:none;}
body.gervis-login-mode .app{grid-template-columns:1fr;}
body.gervis-login-mode #main{height:100vh;background:#eef0ec;overflow:hidden;}
body.gervis-login-mode #a_login.on{display:block;height:100%;animation:none;}
#a_login .login-shell{min-height:100%;display:grid;grid-template-columns:minmax(360px,43%) minmax(520px,57%);background:#fff;}
#a_login .login-brand-panel{display:flex;flex-direction:column;min-height:100vh;padding:46px 52px 38px;background:#103e34;color:#fff;}
#a_login .login-wordmark{display:block;width:176px;height:auto;}
#a_login .login-brand-copy{margin:auto 0;max-width:430px;}
#a_login .login-kicker{display:block;color:#8eb5a8;font-size:10px;font-weight:650;letter-spacing:.12em;text-transform:uppercase;}
#a_login .login-brand-copy h1{margin:18px 0 16px;color:#fff;font:600 clamp(35px,4vw,55px)/1.04 var(--sys);letter-spacing:-.045em;}
#a_login .login-brand-copy p{max-width:390px;margin:0;color:#b4ccc4;font-size:13px;line-height:1.75;}
#a_login .login-brand-foot{display:flex;align-items:center;gap:9px;padding-top:20px;border-top:1px solid rgba(255,255,255,.13);color:#9ebbb2;font-size:10px;}
#a_login .login-brand-foot i,#a_login .login-trust i,#a_login .login-mobile-head span i{width:7px;height:7px;border-radius:50%;background:#71aa8d;box-shadow:0 0 0 4px rgba(113,170,141,.13);}
#a_login .login-content{display:flex;align-items:center;justify-content:center;min-height:100vh;max-width:none!important;margin:0!important;padding:52px 8vw!important;background:#fff;}
#a_login .login-form-wrap{width:100%;max-width:430px;}
#a_login .login-form-wrap>.login-kicker{color:#3d7865;}
#a_login .greet{margin:10px 0 8px;color:#153f35;font:650 34px/1.12 var(--sys);letter-spacing:-.035em;}
#a_login .login-lead{margin:0 0 30px;color:#7b8580;font-size:12.5px;line-height:1.65;}
#a_login .login-form-wrap>label{display:block;margin:0 0 7px;color:#50635b;font-size:10px;font-weight:650;}
#a_login .field{position:relative;display:flex;align-items:center;width:100%;height:50px;margin:0 0 18px;padding:0 14px;border:1px solid #dce3de;border-radius:11px;background:#fff;color:#20362e;font-size:12.5px;box-shadow:none;}
#a_login .field:focus-within{border-color:#719b8a;box-shadow:0 0 0 3px rgba(65,119,99,.1);}
#a_login .login-password-field{padding-right:82px;}
#a_login .login-password-toggle{position:absolute;right:7px;top:50%;height:34px;padding:0 10px;transform:translateY(-50%);border:0;border-radius:8px;background:#f1f4f1;color:#3e6658;font:650 9px var(--sys);cursor:pointer;}
#a_login .login-options{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:-2px 0 22px;}
#a_login .login-remember{display:flex;align-items:center;gap:8px;color:#75817b;font-size:9.5px;font-weight:450;}
#a_login .login-remember input{width:14px;height:14px;accent-color:#123f35;}
#a_login .login-forgot{padding:0;border:0;background:none;color:#376e5c;font:600 9.5px var(--sys);text-decoration:underline;text-underline-offset:3px;cursor:pointer;}
#a_login .login-submit{width:100%;height:49px;margin:0;padding:0;border-radius:11px;font-size:11px;font-weight:650;box-shadow:none;}
#a_login .login-divider{display:flex;align-items:center;gap:10px;margin:14px 0;color:#9aa39e;font-size:8.5px;text-transform:uppercase;letter-spacing:.08em;}
#a_login .login-divider::before,#a_login .login-divider::after{content:"";flex:1;height:1px;background:#e5e9e6;}
#a_login .login-passkey{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;height:47px;padding:0;border:1px solid #d8e2dc;border-radius:11px;background:#fff;color:#24483d;font:650 10px var(--sys);cursor:pointer;}
#a_login .login-passkey:hover{border-color:#9db9aa;background:#f7faf8;}
#a_login .login-passkey span{font-size:17px;line-height:1;}
#a_login .login-passkey:disabled{opacity:.55;cursor:wait;}
#a_login .login-google{width:100%;height:47px;margin-top:8px;border:1px solid #d8e2dc;border-radius:11px;background:#fff;color:#24483d;font:650 10px var(--sys);cursor:pointer;}
#a_login .login-google[hidden]{display:none!important;}
#a_login [data-gervis="message"]{margin:12px 0 0!important;padding:11px 13px;border:1px solid #dce6e0;border-radius:10px;background:#f4f8f5;color:#356252;font-size:10.5px!important;font-weight:550;line-height:1.45;}
#a_login [data-gervis="message"][hidden]{display:none!important;}
#a_login [data-gervis="message"]:empty{display:none!important;}
#a_login [data-gervis="message"].est-erreur{border-color:#f1c8bf;background:#fff1ee;color:#a83924;}
#a_login .login-trust{display:flex;align-items:center;gap:9px;margin-top:21px;color:#89928d;font-size:9px;}
#a_login .login-invitation-help{display:grid;gap:3px;margin-top:18px;padding:13px 15px;border:1px solid #e2e8e4;border-radius:11px;background:#f7f9f7;color:#6f7b75;font-size:10px;line-height:1.5;}
#a_login .login-invitation-help strong{color:#294f42;font-size:10.5px;}
#a_login .login-mobile-head{display:none;}
#a_login .field input{min-width:0;min-height:0;height:100%;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;font-size:16px!important;}
#a_login .login-options{justify-content:flex-end;}
#a_login .login-forgot{min-height:44px;font-size:12px;}
#a_login .login-password-toggle{min-width:64px;height:44px;font-size:12px;}
#a_login .login-submit:disabled{opacity:.65;cursor:wait;}
#a_login .login-environment{padding:14px 16px;margin:0 0 24px;border-left:3px solid #cf8c32;background:#fff8ec;border-radius:8px;color:#624619;font-size:13px;line-height:1.5;}
#a_login .login-environment p{margin:4px 0 8px;}
#a_login .login-environment a{display:inline-flex;align-items:center;min-height:44px;color:#174e3d;font-weight:650;text-decoration:underline;text-underline-offset:3px;}
@media(max-width:760px){
  body.gervis-login-mode #main{overflow:auto;}
  #a_login .login-shell{display:block;min-height:100vh;}
  #a_login .login-brand-panel{display:none;}
  #a_login .login-content{display:block;min-height:100vh;padding:20px 20px 34px!important;}
  #a_login .login-mobile-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:28px;}
  #a_login .login-mobile-wordmark{display:block;width:116px;height:auto;}
  #a_login .login-mobile-head span{display:flex;align-items:center;gap:7px;padding:7px 10px;border:1px solid #dce6df;border-radius:999px;background:#f4f8f5;color:#3e6d5d;font-size:9px;font-weight:650;}
  #a_login .greet{font-size:30px;}
  #a_login .login-lead{font-size:14px;margin-bottom:22px;color:#56665e;}
  #a_login .login-form-wrap{margin-inline:auto;}
  #a_login .login-form-wrap>label{font-size:13px;}
  #a_login .field{height:54px;font-size:15px;border-radius:12px;}
  #a_login .login-options{align-items:flex-start;}
  #a_login .login-remember,#a_login .login-forgot{font-size:13px;}
  #a_login .login-options{margin:-10px 0 14px;}
  #a_login .login-submit{height:52px;font-size:16px;}
  #a_login .login-passkey,#a_login .login-google{min-height:48px;height:auto;padding:12px;font-size:13px;}
  #a_login .login-invitation-help,#a_login .login-invitation-help strong{font-size:13px;}
  #a_login .login-trust{font-size:11px;line-height:1.5;}
  #a_login [data-gervis="message"]{font-size:13px!important;}
}

/* Première activation du compte fondateur — même langage visuel que la connexion. */
#a_login .login-invitation-link{width:100%;padding:4px 0 0;border:0;background:transparent;color:#376e5c;text-align:left;text-decoration:underline;text-underline-offset:3px;cursor:pointer;font:650 11px var(--sys);}
#a_login .login-invitation-link:hover{border-color:#b9cec2;background:#f2f7f3;}
#a_login .login-founder-start{display:grid;gap:5px;margin-top:8px;padding-top:9px;border-top:1px solid #e2e8e4;color:#526b63;}
#a_login .amorcage-form-wrap{width:100%;max-width:560px;}
#a_login .amorcage-form-wrap>.login-kicker{color:#3d7865;}
#a_login .amorcage-section-title{margin:24px 0 12px;padding-bottom:9px;border-bottom:1px solid #e7ece8;color:#315b4d;font-size:11px;font-weight:700;letter-spacing:.045em;}
#a_login .amorcage-name-row{display:grid;grid-template-columns:1fr 1fr;gap:14px;}
#a_login .amorcage-field{display:grid;gap:7px;margin:0 0 16px;color:#50635b;font-size:12px;font-weight:650;}
#a_login .amorcage-field input{width:100%;height:48px;padding:0 13px;border:1px solid #dce3de;border-radius:11px;background:#fff;color:#20362e;font:400 15px var(--sys);}
#a_login .amorcage-field input:focus{outline:0;border-color:#719b8a;box-shadow:0 0 0 3px rgba(65,119,99,.1);}
#a_login .amorcage-field small{color:#858f89;font-size:11px;font-weight:400;line-height:1.45;}
#a_login .amorcage-submit{margin-top:7px;}
#a_login .amorcage-back{display:block;min-height:44px;margin:8px auto 0;padding:8px 12px;border:0;background:transparent;color:#376e5c;font:600 12px var(--sys);text-decoration:underline;text-underline-offset:3px;cursor:pointer;}
#a_login .amorcage-message{margin:6px 0 10px;padding:12px 14px;border:1px solid #f1c8bf;border-radius:10px;background:#fff1ee;color:#a83924;font-size:13px;line-height:1.5;}
#a_login .amorcage-message[hidden]{display:none;}
#a_login .amorcage-message.is-success{border-color:#cfe3d6;background:#eef7f1;color:#285f45;}
#a_login .amorcage-security{margin:17px 0 0;color:#858f89;font-size:11px;line-height:1.55;text-align:center;}
@media(max-width:760px){
  #a_login .login-invitation-link{font-size:13px;}
  #a_login .amorcage-form-wrap{max-width:480px;margin-inline:auto;}
  #a_login .amorcage-form-wrap .greet{font-size:30px;}
  #a_login .amorcage-form-wrap .login-lead{margin-bottom:18px;}
  #a_login .amorcage-section-title{font-size:13px;}
  #a_login .amorcage-field{font-size:13px;}
  #a_login .amorcage-field input{height:54px;font-size:16px;}
  #a_login .amorcage-field small,#a_login .amorcage-security{font-size:12px;}
  #a_login .amorcage-back{font-size:13px;}
  #a_login .amorcage-message{font-size:14px;}
}

/* Accès partenaires — centre de pilotage fondateur. */
body.cockpit-v8-active #a_roles>.content{min-height:100%;padding:24px 28px 32px;background:#f6f8f5;}
body.cockpit-v8-active #a_roles .access-page{max-width:1320px;margin:0 auto;}
body.cockpit-v8-active #a_roles .access-page.is-inviting .access-main-cta,
body.cockpit-v8-active #a_roles .access-page.is-inviting .access-directory,
body.cockpit-v8-active #a_roles .access-page.is-inviting .access-help,
body.cockpit-v8-active #a_roles .access-page.is-inviting .access-roadmap{display:none;}
body.cockpit-v8-active #a_roles .card{border:1px solid var(--cockpit-line);border-radius:18px;background:#fff;box-shadow:0 10px 32px rgba(19,53,45,.05);}
body.cockpit-v8-active #a_roles .access-page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:22px;margin:4px 0 18px;}
body.cockpit-v8-active #a_roles .access-eyebrow{margin-bottom:5px;color:#3f7a68;font-size:9.5px;font-weight:650;letter-spacing:.11em;text-transform:uppercase;}
body.cockpit-v8-active #a_roles .access-page-head h1{margin:0;color:#15243b;font:600 34px/1.02 'Playfair Display',serif;letter-spacing:-.025em;}
body.cockpit-v8-active #a_roles .access-page-head h1::after{content:"";display:block;width:43px;height:3px;margin-top:9px;border-radius:99px;background:var(--cockpit-orange);}
body.cockpit-v8-active #a_roles .access-page-head p{max-width:720px;margin:8px 0 0;color:#748078;font-size:11.5px;line-height:1.55;}
body.cockpit-v8-active #a_roles .access-main-cta{min-height:38px;padding:0 16px;border-radius:10px;background:var(--cockpit-orange);color:#fff;font-size:10.5px;font-weight:650;box-shadow:none;white-space:nowrap;}
body.cockpit-v8-active #a_roles .access-overview{display:grid;grid-template-columns:minmax(250px,.72fr) minmax(440px,1.28fr);margin:0 0 15px;overflow:hidden;}
body.cockpit-v8-active #a_roles .access-overview-primary{padding:20px 22px;background:linear-gradient(145deg,#123f34 0%,#195446 100%);color:#fff;}
body.cockpit-v8-active #a_roles .access-overview-primary .access-eyebrow{color:#a9c9bd;}
body.cockpit-v8-active #a_roles .access-overview-count{display:flex;align-items:baseline;gap:10px;margin-top:12px;}
body.cockpit-v8-active #a_roles .access-overview-count b{font:600 38px/1 'Playfair Display',serif;letter-spacing:-.03em;}
body.cockpit-v8-active #a_roles .access-overview-count span{font-size:12px;font-weight:600;}
body.cockpit-v8-active #a_roles .access-overview-primary p{max-width:320px;margin:9px 0 0;color:#bfd2cb;font-size:9.5px;line-height:1.5;}
body.cockpit-v8-active #a_roles .access-overview-watch{padding:16px 18px 14px;background:#fff;}
body.cockpit-v8-active #a_roles .access-overview-watch-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:7px;padding:0 2px;}
body.cockpit-v8-active #a_roles .access-overview-watch-head b{color:#29483e;font-size:10.5px;}
body.cockpit-v8-active #a_roles .access-overview-watch-head span{color:#87918b;font-size:8px;text-transform:uppercase;letter-spacing:.055em;}
body.cockpit-v8-active #a_roles .access-overview-row{display:grid;grid-template-columns:minmax(165px,1fr) 32px minmax(120px,.75fr);align-items:center;gap:10px;min-height:34px;border-top:1px solid #edf0ec;color:#52675f;}
body.cockpit-v8-active #a_roles .access-overview-row>span{display:flex;align-items:center;gap:8px;font-size:9.5px;font-weight:600;}
body.cockpit-v8-active #a_roles .access-overview-row i{width:7px;height:7px;border-radius:50%;background:#4b9474;box-shadow:0 0 0 4px #eaf4ee;}
body.cockpit-v8-active #a_roles .access-overview-row.is-attention i{background:#c38a2f;box-shadow:0 0 0 4px #fbf1df;}
body.cockpit-v8-active #a_roles .access-overview-row>b{color:#24483e;font:650 12px/1 'JetBrains Mono',monospace;text-align:center;}
body.cockpit-v8-active #a_roles .access-overview-row>small{color:#7d8983;font-size:8.5px;text-align:right;}
body.cockpit-v8-active #a_roles .access-main-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(260px,.65fr);gap:14px;align-items:start;}
body.cockpit-v8-active #a_roles .access-accounts{margin:0;padding:18px 20px;min-width:0;}
body.cockpit-v8-active #a_roles .access-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px;}
body.cockpit-v8-active #a_roles .access-card-head .card-t{margin:0;color:var(--cockpit-green);font-size:12px;font-weight:650;letter-spacing:.035em;}
body.cockpit-v8-active #a_roles .access-card-head p{margin:4px 0 0;color:#7b8680;font-size:9.5px;}
body.cockpit-v8-active #a_roles .access-live{display:inline-flex;align-items:center;gap:6px;padding:6px 9px;border:1px solid #d7e6dc;border-radius:999px;background:#eff6f1;color:#2f725f;font-size:8px;font-weight:650;letter-spacing:.045em;text-transform:uppercase;white-space:nowrap;}
body.cockpit-v8-active #a_roles .access-live::before{content:"";width:6px;height:6px;border-radius:50%;background:#39815f;}
body.cockpit-v8-active #a_roles .access-table-wrap{overflow-x:auto;}
body.cockpit-v8-active #a_roles .access-accounts table{width:100%;min-width:590px;border-collapse:collapse;}
body.cockpit-v8-active #a_roles .access-accounts th{padding:9px 8px;color:#78847d;font-size:7.8px;font-weight:650;letter-spacing:.05em;text-transform:uppercase;}
body.cockpit-v8-active #a_roles .access-accounts td{padding:12px 8px;border-top:1px solid #edf0ec;color:#31413a;font-size:9.8px;vertical-align:middle;}
body.cockpit-v8-active #a_roles .access-accounts td:first-child b{display:block;color:#24483e;font-size:10.5px;}
body.cockpit-v8-active #a_roles .access-accounts td:first-child small{display:block;margin-top:3px;color:#87918b;font-size:8.8px;}
body.cockpit-v8-active #a_roles .access-scope span{display:block;line-height:1.55;}
body.cockpit-v8-active #a_roles .access-row-actions{white-space:nowrap;text-align:right;}
body.cockpit-v8-active #a_roles .access-row-actions .btn{padding:6px 9px!important;border-radius:8px!important;font-size:8.5px!important;}
body.cockpit-v8-active #a_roles .access-guard{position:sticky;top:76px;margin:0;padding:19px;}
body.cockpit-v8-active #a_roles .access-security-icon{display:grid;place-items:center;width:31px;height:31px;margin-bottom:13px;border-radius:50%;background:var(--cockpit-green);color:#fff;font-size:12px;}
body.cockpit-v8-active #a_roles .access-guard h2{margin:0;color:#183f35;font:600 18px/1.22 'Playfair Display',serif;}
body.cockpit-v8-active #a_roles .access-guard>p{margin:8px 0 12px;color:#66776f;font-size:10px;line-height:1.6;}
body.cockpit-v8-active #a_roles .access-guard ul{margin:0;padding:0;list-style:none;}
body.cockpit-v8-active #a_roles .access-guard li{position:relative;padding:7px 0 7px 17px;border-top:1px solid #edf0ec;color:#486058;font-size:9.5px;line-height:1.4;}
body.cockpit-v8-active #a_roles .access-guard li::before{content:"✓";position:absolute;left:0;color:#39815f;font-weight:700;}
body.cockpit-v8-active #a_roles .access-next-security{margin-top:13px;padding:11px 12px;border:1px solid #eadcb7;border-radius:12px;background:#fff8e9;}
body.cockpit-v8-active #a_roles .access-next-security b{display:block;color:#8e641f;font-size:9px;}
body.cockpit-v8-active #a_roles .access-next-security span{display:block;margin-top:4px;color:#8b7957;font-size:8.8px;line-height:1.5;}
body.cockpit-v8-active #a_roles .access-onboarding{margin:0 0 14px;padding:20px 21px;}
body.cockpit-v8-active #a_roles .access-onboarding-head{display:flex;align-items:flex-start;justify-content:space-between;gap:22px;}
body.cockpit-v8-active #a_roles .access-onboarding .card-t{color:var(--cockpit-green);font-size:15px;font-weight:650;letter-spacing:0;text-transform:none;}
body.cockpit-v8-active #a_roles .access-onboarding-head p{max-width:720px;margin:7px 0 0;color:#748078;font-size:11px;line-height:1.55;}
body.cockpit-v8-active #a_roles .access-onboarding-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:18px 0 14px;padding:0;list-style:none;}
body.cockpit-v8-active #a_roles .access-onboarding-steps li{display:flex;gap:10px;min-height:82px;padding:13px;border:1px solid #e5eae5;border-radius:13px;background:#f8faf7;}
body.cockpit-v8-active #a_roles .access-onboarding-steps li>span{display:grid;place-items:center;flex:0 0 25px;width:25px;height:25px;border-radius:50%;background:#e5f0e9;color:#28634f;font:650 10px/1 'JetBrains Mono',monospace;}
body.cockpit-v8-active #a_roles .access-onboarding-steps b{display:block;color:#28483e;font-size:10.5px;line-height:1.35;}
body.cockpit-v8-active #a_roles .access-onboarding-steps small{display:block;margin-top:5px;color:#78847d;font-size:9.5px;line-height:1.45;}
body.cockpit-v8-active #a_roles .access-honesty{margin:11px 2px 0;color:#87918b;font-size:9.5px;line-height:1.5;}
body.cockpit-v8-active #a_roles .access-roadmap{margin:14px 0 0;padding:16px 18px;}
body.cockpit-v8-active #a_roles .access-roadmap p{margin:4px 0 9px;color:#7b8680;font-size:9.5px;}
body.cockpit-v8-active #a_roles .access-roadmap span{display:inline-flex;margin:3px 5px 0 0;padding:5px 8px;border-radius:8px;background:#f1f3ef;color:#637069;font-size:8.8px;}
@media(max-width:1000px){body.cockpit-v8-active #a_roles .access-main-grid{grid-template-columns:1fr;}body.cockpit-v8-active #a_roles .access-guard{position:static;}body.cockpit-v8-active #a_roles .access-onboarding-steps{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:700px){
  body.cockpit-v8-active #a_roles>.content{padding:16px 14px calc(92px + env(safe-area-inset-bottom));}
  body.cockpit-v8-active #a_roles .access-page-head{display:block;}
  body.cockpit-v8-active #a_roles .access-page-head h1{font-size:27px;}
  body.cockpit-v8-active #a_roles .access-main-cta{width:100%;margin-top:14px;}
  body.cockpit-v8-active #a_roles .access-overview{grid-template-columns:1fr;}
  body.cockpit-v8-active #a_roles .access-overview-primary{padding:18px;}
  body.cockpit-v8-active #a_roles .access-overview-count b{font-size:34px;}
  body.cockpit-v8-active #a_roles .access-overview-watch{padding:13px 15px;}
  body.cockpit-v8-active #a_roles .access-overview-row{grid-template-columns:minmax(0,1fr) 28px;min-height:42px;}
  body.cockpit-v8-active #a_roles .access-overview-row>small{grid-column:1/-1;margin:-8px 0 7px 15px;text-align:left;}
  body.cockpit-v8-active #a_roles .access-onboarding{padding:17px;}
  body.cockpit-v8-active #a_roles .access-onboarding-head{display:block;}
  body.cockpit-v8-active #a_roles .access-onboarding-head .btn{width:100%;margin-top:10px;}
  body.cockpit-v8-active #a_roles .access-onboarding-steps{grid-template-columns:1fr;}
  body.cockpit-v8-active #a_roles .access-onboarding-steps li{min-height:0;}
  body.cockpit-v8-active #a_roles .access-card-head{display:block;}
  body.cockpit-v8-active #a_roles .access-live{margin-top:9px;}
}

/* Accès partenaires V9 — annuaire complet, fiche latérale et parcours d'invitation. */
body.cockpit-v8-active #a_roles .access-security-bar{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;margin:0 0 15px;padding:13px 15px;border:1px solid #d9e6de;border-radius:15px;background:#edf5f0;}
body.cockpit-v8-active #a_roles .access-security-bar .access-security-icon{width:29px;height:29px;margin:0;background:var(--cockpit-green);}
body.cockpit-v8-active #a_roles .access-security-bar b{display:block;color:#244c3f;font-size:10.5px;}
body.cockpit-v8-active #a_roles .access-security-bar p{margin:3px 0 0;color:#64776f;font-size:9.2px;line-height:1.45;}
body.cockpit-v8-active #a_roles .access-security-bar>span{padding:6px 9px;border-radius:999px;background:#fff;color:#33745d;font-size:8px;font-weight:650;letter-spacing:.05em;text-transform:uppercase;white-space:nowrap;}
body.cockpit-v8-active #a_roles .access-directory{margin:0;padding:19px 20px;}
body.cockpit-v8-active #a_roles .access-directory-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;}
body.cockpit-v8-active #a_roles .access-directory-head .card-t{margin:0;color:var(--cockpit-green);font-size:12px;font-weight:650;letter-spacing:.035em;}
body.cockpit-v8-active #a_roles .access-directory-head p{margin:4px 0 0;color:#7b8680;font-size:9.5px;}
body.cockpit-v8-active #a_roles .access-toolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;margin:16px 0;padding:11px 12px;border:1px solid #e7ebe7;border-radius:13px;background:#f8faf7;}
body.cockpit-v8-active #a_roles .access-filters{display:flex;gap:6px;flex-wrap:wrap;}
body.cockpit-v8-active #a_roles .access-filters button{min-height:32px;padding:0 11px;border:1px solid #dfe5df;border-radius:9px;background:#fff;color:#617069;font-size:9px;font-weight:600;}
body.cockpit-v8-active #a_roles .access-filters button.on{border-color:var(--cockpit-green);background:var(--cockpit-green);color:#fff;}
body.cockpit-v8-active #a_roles .access-search{min-width:235px;color:#718078;font-size:8px;font-weight:650;letter-spacing:.05em;text-transform:uppercase;}
body.cockpit-v8-active #a_roles .access-search span{display:block;margin-bottom:4px;}
body.cockpit-v8-active #a_roles .access-search input{width:100%;height:34px;padding:0 10px;border:1px solid #dae2dc;border-radius:9px;background:#fff;color:#29473f;font-size:9.5px;letter-spacing:0;text-transform:none;outline:none;}
body.cockpit-v8-active #a_roles .access-search input:focus{border-color:#7aa18f;box-shadow:0 0 0 3px rgba(63,122,104,.1);}
body.cockpit-v8-active #a_roles .access-directory-grid{display:grid;grid-template-columns:minmax(290px,.85fr) minmax(360px,1.15fr);gap:14px;align-items:start;}
body.cockpit-v8-active #a_roles .access-directory-list{display:grid;gap:7px;}
body.cockpit-v8-active #a_roles .access-directory-item{display:grid;grid-template-columns:38px minmax(0,1fr) auto auto;align-items:center;gap:10px;width:100%;padding:11px;border:1px solid #e5eae6;border-radius:13px;background:#fff;color:#29423a;text-align:left;transition:.18s ease;}
body.cockpit-v8-active #a_roles .access-directory-item:hover{border-color:#a8c0b5;transform:translateY(-1px);}
body.cockpit-v8-active #a_roles .access-directory-item.on{border-color:#6f9d89;background:#f0f6f2;box-shadow:0 0 0 2px rgba(63,122,104,.08);}
body.cockpit-v8-active #a_roles .access-avatar{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:#e5efe9;color:#285b49;font:650 10px/1 'Poppins',sans-serif;}
body.cockpit-v8-active #a_roles .access-avatar.big{position:relative;width:62px;height:62px;border:4px solid #fff;border-radius:50%;font-size:14px;box-shadow:0 0 0 1px #dce7e0,0 7px 18px rgba(19,53,45,.12);}
body.cockpit-v8-active #a_roles .access-avatar.big::after{content:"";position:absolute;right:-1px;bottom:3px;width:10px;height:10px;border:3px solid #fff;border-radius:50%;background:#4b9474;}
body.cockpit-v8-active #a_roles .access-directory-copy{min-width:0;}
body.cockpit-v8-active #a_roles .access-directory-copy b{display:block;overflow:hidden;color:#24483e;font-size:10.5px;text-overflow:ellipsis;white-space:nowrap;}
body.cockpit-v8-active #a_roles .access-directory-copy small{display:block;overflow:hidden;margin-top:3px;color:#7b8781;font-size:8.5px;text-overflow:ellipsis;white-space:nowrap;}
body.cockpit-v8-active #a_roles .access-directory-meta{text-align:right;}
body.cockpit-v8-active #a_roles .access-directory-meta b{display:block;color:#24483e;font:600 13px/1 'JetBrains Mono',monospace;}
body.cockpit-v8-active #a_roles .access-directory-meta small{display:block;margin-top:3px;color:#8a938e;font-size:7.5px;}
body.cockpit-v8-active #a_roles .access-profile{margin:0;padding:17px 18px;border-radius:15px;background:#fbfcfa;box-shadow:none;}
body.cockpit-v8-active #a_roles .access-profile-top{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:15px;padding:2px 2px 16px;border-bottom:1px solid #e7ebe7;}
body.cockpit-v8-active #a_roles .access-profile-top h2{margin:3px 0;color:#1b4438;font:600 19px/1.15 'Playfair Display',serif;}
body.cockpit-v8-active #a_roles .access-profile-top p{margin:0;color:#7a8580;font-size:8.8px;}
body.cockpit-v8-active #a_roles .access-profile-role{margin:13px 0;padding:11px 12px;border-radius:11px;background:var(--cockpit-green);color:#fff;}
body.cockpit-v8-active #a_roles .access-profile-role span{display:block;color:#9fc0b5;font-size:7.8px;font-weight:650;letter-spacing:.055em;text-transform:uppercase;}
body.cockpit-v8-active #a_roles .access-profile-role b{display:block;margin:4px 0 2px;font-size:10.5px;}
body.cockpit-v8-active #a_roles .access-profile-role small{color:#b4cbc3;font-size:8.3px;}
body.cockpit-v8-active #a_roles .access-profile-scope{display:grid;grid-template-columns:1fr 1fr;gap:8px;}
body.cockpit-v8-active #a_roles .access-profile-scope>div{min-width:0;padding:9px 10px;border:1px solid #e5eae6;border-radius:10px;background:#fff;}
body.cockpit-v8-active #a_roles .access-profile-scope span{display:block;color:#87918c;font-size:7.5px;text-transform:uppercase;letter-spacing:.04em;}
body.cockpit-v8-active #a_roles .access-profile-scope b{display:block;overflow:hidden;margin-top:4px;color:#365348;font-size:9px;text-overflow:ellipsis;white-space:nowrap;}
body.cockpit-v8-active #a_roles .access-profile-actions{display:flex;align-items:center;gap:8px;margin-top:13px;}
body.cockpit-v8-active #a_roles .access-profile-actions .btn{min-height:34px;padding:0 11px;border-radius:9px;font-size:8.8px;}
body.cockpit-v8-active #a_roles .access-protected{color:#8b7957;font-size:8.3px;}
body.cockpit-v8-active #a_roles .access-activity{margin-top:13px;padding:10px 11px;border-left:3px solid #73a48e;border-radius:0 10px 10px 0;background:#edf5f0;}
body.cockpit-v8-active #a_roles .access-activity b{display:block;color:#315d4e;font-size:9px;}
body.cockpit-v8-active #a_roles .access-activity p{margin:3px 0 0;color:#63776f;font-size:8.5px;line-height:1.45;}
body.cockpit-v8-active #a_roles .access-empty{padding:28px 16px!important;border:1px dashed #dbe3dc!important;border-radius:13px!important;background:#f7f9f6!important;text-align:center;}
body.cockpit-v8-active #a_roles .access-empty b{display:block;color:#24483e;font-size:11px;}
body.cockpit-v8-active #a_roles .access-empty span{display:block;margin-top:5px;color:#748078;font-size:9px;}
body.cockpit-v8-active #a_roles .access-editor{margin:0 0 15px;padding:19px 20px;border-left:3px solid var(--cockpit-orange);}
body.cockpit-v8-active #a_roles .access-editor-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;}
body.cockpit-v8-active #a_roles .access-editor-head .card-t{color:var(--cockpit-green);font-size:14px;letter-spacing:0;text-transform:none;}
body.cockpit-v8-active #a_roles .access-editor-head p{margin:5px 0 0;color:#748078;font-size:9.5px;}
body.cockpit-v8-active #a_roles .access-editor-grid{display:grid;grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr);gap:13px;margin-top:15px;}
body.cockpit-v8-active #a_roles .access-editor-grid label{margin:0!important;color:#607068!important;font-size:9px!important;font-weight:600;}
body.cockpit-v8-active #a_roles .access-editor-grid input,body.cockpit-v8-active #a_roles .access-editor-grid select{width:100%;height:38px;margin-top:5px!important;padding:0 10px!important;border:1px solid #dce4de;border-radius:9px;background:#fff;color:#29473f;font-size:10px!important;}
body.cockpit-v8-active #a_roles .access-editor-grid small{display:block;margin-top:5px;color:#87918b;font-size:8px;font-weight:400;line-height:1.4;}
body.cockpit-v8-active #a_roles .access-editor-choice{padding:14px;border:1px solid #dfe7e1;border-radius:13px;background:#fff;}
body.cockpit-v8-active #a_roles .access-role-explanation{margin-top:11px;padding:12px;border-radius:10px;background:var(--cockpit-green);color:#fff;}
body.cockpit-v8-active #a_roles .access-role-explanation span{display:block;color:#a9c4bb;font-size:7.5px;font-weight:650;letter-spacing:.055em;text-transform:uppercase;}
body.cockpit-v8-active #a_roles .access-role-explanation b{display:block;margin-top:5px;font-size:10.5px;}
body.cockpit-v8-active #a_roles .access-role-explanation p{margin:4px 0 0;color:#c4d7d0;font-size:8.5px;line-height:1.5;}
body.cockpit-v8-active #a_roles .access-editor-scope{padding:14px;border:1px solid #e4e9e5;border-radius:13px;background:#f8faf8;}
body.cockpit-v8-active #a_roles .access-editor-scope>p{margin:5px 0 11px;color:#748078;font-size:8.5px;line-height:1.5;}
body.cockpit-v8-active #a_roles .access-editor-scope .access-profile-scope>div{background:#fff;}
body.cockpit-v8-active #a_roles .access-editor-scope .access-profile-scope b{white-space:normal;}
body.cockpit-v8-active #a_roles .access-editor-actions{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:14px;padding-top:13px;border-top:1px solid #ecefeb;}
body.cockpit-v8-active #a_roles .access-editor-actions span{color:#7b8780;font-size:8.5px;}
body.cockpit-v8-active #a_roles .access-invite-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px 13px;margin-top:16px;}
body.cockpit-v8-active #a_roles .access-invite-form label{color:#607068;font-size:9px;font-weight:600;}
body.cockpit-v8-active #a_roles .access-invite-form input,body.cockpit-v8-active #a_roles .access-invite-form select{width:100%;height:39px;margin-top:5px;padding:0 10px;border:1px solid #dce4de;border-radius:9px;background:#fff;color:#29473f;font-size:10px;}
body.cockpit-v8-active #a_roles .access-close-action{min-height:34px;padding:0 11px;border-color:transparent!important;background:transparent!important;color:#718078!important;box-shadow:none!important;}
body.cockpit-v8-active #a_roles .access-close-action:hover{background:#f1f4f1!important;color:#24483e!important;}
body.cockpit-v8-active #a_roles .access-company-action{width:100%;min-height:39px;padding:0 13px!important;border:1px solid #cbdcd2!important;background:#f3f8f5!important;color:#2f6b57!important;box-shadow:none!important;}
body.cockpit-v8-active #a_roles .access-company-action:hover{border-color:#7fa693!important;background:#eaf3ee!important;}
body.cockpit-v8-active #a_roles .access-invite-actions{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:14px;padding-top:13px;border-top:1px solid #edf0ec;}
body.cockpit-v8-active #a_roles .access-invite-actions p{max-width:760px;margin:0;color:#748078;font-size:9px;line-height:1.5;}
body.cockpit-v8-active #a_roles .access-invitation-action{min-height:39px;padding:0 17px!important;border-color:var(--cockpit-orange)!important;background:var(--cockpit-orange)!important;color:#fff!important;box-shadow:0 7px 18px rgba(244,81,44,.18)!important;}
body.cockpit-v8-active #a_roles .access-invitation-action:hover{filter:brightness(.97);transform:translateY(-1px);}
body.cockpit-v8-active #a_roles .access-onboarding.is-ready{padding:21px;border-color:#cfe1d6;background:#fff;box-shadow:0 16px 38px rgba(19,53,45,.08);}
body.cockpit-v8-active #a_roles .access-invite-ready{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;margin-top:17px;padding:17px;border:1px solid #d5e4da;border-radius:15px;background:#f1f7f3;}
body.cockpit-v8-active #a_roles .access-invite-ready .access-security-icon{width:36px;height:36px;margin:0;background:#31785b;font-size:14px;}
body.cockpit-v8-active #a_roles .access-invite-ready-copy>b{display:block;color:#214e3f;font-size:12px;}
body.cockpit-v8-active #a_roles .access-invite-ready-copy p{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:5px 0 0;color:#60756b;font-size:9px;line-height:1.45;}
body.cockpit-v8-active #a_roles .access-invite-ready-copy strong{color:#395c51;}
body.cockpit-v8-active #a_roles .access-invite-ready-copy span+span::before{content:"·";margin-right:7px;color:#9aa7a0;}
body.cockpit-v8-active #a_roles .access-invite-ready-actions{display:flex;align-items:center;gap:8px;}
body.cockpit-v8-active #a_roles .access-invite-ready-actions .btn{min-height:40px;padding:0 14px!important;border-radius:10px!important;font-size:9.5px!important;white-space:nowrap;}
body.cockpit-v8-active #a_roles .access-invite-link{grid-column:2/-1;margin-top:1px;padding-top:11px;border-top:1px solid #dce8e0;}
body.cockpit-v8-active #a_roles .access-invite-link summary{width:max-content;color:#537267;font-size:8.8px;font-weight:600;cursor:pointer;}
body.cockpit-v8-active #a_roles .access-invite-link input{width:100%;height:38px;margin-top:9px;padding:0 10px;border:1px solid #d8e2db;border-radius:9px;background:#fff;color:#52655e;font:9px 'JetBrains Mono',monospace;}
body.cockpit-v8-active #a_roles .access-help{margin:14px 0 0;padding:0;overflow:hidden;}
body.cockpit-v8-active #a_roles .access-help>summary{padding:15px 18px;color:#315b4e;font-size:10px;font-weight:650;cursor:pointer;list-style:none;}
body.cockpit-v8-active #a_roles .access-help>summary::-webkit-details-marker{display:none;}
body.cockpit-v8-active #a_roles .access-help>summary::after{content:"+";float:right;color:#6f857b;font:500 16px/1 sans-serif;}
body.cockpit-v8-active #a_roles .access-help[open]>summary::after{content:"−";}
body.cockpit-v8-active #a_roles .access-help-body{padding:0 18px 17px;border-top:1px solid #edf0ec;}
body.cockpit-v8-active #a_roles .access-help ol{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:0;padding:16px 0 14px;list-style:none;}
body.cockpit-v8-active #a_roles .access-help li{display:flex;gap:9px;}
body.cockpit-v8-active #a_roles .access-help li>span{display:grid;place-items:center;flex:0 0 23px;width:23px;height:23px;border-radius:50%;background:#e5f0e9;color:#28634f;font:650 9px/1 'JetBrains Mono',monospace;}
body.cockpit-v8-active #a_roles .access-help b{display:block;color:#34564b;font-size:9.5px;line-height:1.35;}
body.cockpit-v8-active #a_roles .access-help small{display:block;margin-top:3px;color:#7b8781;font-size:8.5px;line-height:1.4;}
body.cockpit-v8-active #a_roles .access-help-body>p{margin:0;padding-top:11px;border-top:1px solid #edf0ec;color:#6f7d76;font-size:8.8px;line-height:1.5;}
body.cockpit-v8-active #a_roles .access-next-security.active{border-color:#cfe2d6;background:#edf6f0;}
body.cockpit-v8-active #a_roles .access-confirm-backdrop{position:fixed;z-index:1000;inset:0;display:grid;place-items:center;padding:20px;background:rgba(12,38,31,.58);backdrop-filter:blur(5px);}
body.cockpit-v8-active #a_roles .access-confirm-dialog{width:min(430px,100%);padding:25px;border:1px solid rgba(16,62,52,.12);border-radius:18px;background:#fff;box-shadow:0 28px 80px rgba(12,38,31,.25);}
body.cockpit-v8-active #a_roles .access-confirm-dialog .access-security-icon{margin-bottom:13px;}
body.cockpit-v8-active #a_roles .access-confirm-dialog h2{margin:5px 0 8px;color:#193f35;font:600 23px/1.15 'Playfair Display',serif;}
body.cockpit-v8-active #a_roles .access-confirm-dialog p{margin:0 0 17px;color:#748078;font-size:10px;line-height:1.55;}
body.cockpit-v8-active #a_roles .access-confirm-dialog label{display:block;color:#51665e;font-size:9px;font-weight:600;}
body.cockpit-v8-active #a_roles .access-confirm-dialog input{width:100%;height:45px;margin-top:6px;padding:0 12px;border:1px solid #dce4de;border-radius:10px;background:#fff;color:#29473f;font-size:13px;outline:none;}
body.cockpit-v8-active #a_roles .access-confirm-dialog input:focus{border-color:#719b8a;box-shadow:0 0 0 3px rgba(65,119,99,.1);}
body.cockpit-v8-active #a_roles .access-confirm-error{margin-top:10px;color:#b64632;font-size:9px;line-height:1.45;}
body.cockpit-v8-active #a_roles .access-confirm-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:19px;}

@media(max-width:1000px){
  body.cockpit-v8-active #a_roles .access-directory-grid{grid-template-columns:1fr;}
  body.cockpit-v8-active #a_roles .access-invite-ready{grid-template-columns:auto minmax(0,1fr);}
  body.cockpit-v8-active #a_roles .access-invite-ready-actions{grid-column:1/-1;}
  body.cockpit-v8-active #a_roles .access-invite-link{grid-column:1/-1;}
}
@media(max-width:700px){
  body.cockpit-v8-active #a_roles .access-security-bar{grid-template-columns:auto 1fr;padding:12px;}
  body.cockpit-v8-active #a_roles .access-security-bar>span{display:none;}
  body.cockpit-v8-active #a_roles .access-directory{padding:15px 14px;}
  body.cockpit-v8-active #a_roles .access-directory-head{display:block;}
  body.cockpit-v8-active #a_roles .access-toolbar{display:grid;margin:13px 0;}
  body.cockpit-v8-active #a_roles .access-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));}
  body.cockpit-v8-active #a_roles .access-filters button{padding:0 5px;font-size:8px;}
  body.cockpit-v8-active #a_roles .access-search{min-width:0;}
  body.cockpit-v8-active #a_roles .access-directory-item{grid-template-columns:38px minmax(0,1fr) auto;}
  body.cockpit-v8-active #a_roles .access-directory-meta{display:none;}
  body.cockpit-v8-active #a_roles .access-directory-item>.pill{grid-column:3;grid-row:1;}
  body.cockpit-v8-active #a_roles .access-profile{padding:14px;}
  body.cockpit-v8-active #a_roles .access-profile-top{grid-template-columns:auto minmax(0,1fr);}
  body.cockpit-v8-active #a_roles .access-profile-top>.pill{grid-column:2;justify-self:start;}
  body.cockpit-v8-active #a_roles .access-profile-scope{grid-template-columns:1fr 1fr;}
  body.cockpit-v8-active #a_roles .access-profile-actions{align-items:stretch;flex-direction:column;}
  body.cockpit-v8-active #a_roles .access-profile-actions .btn{width:100%;min-height:39px;}
  body.cockpit-v8-active #a_roles .access-editor{padding:16px 14px;}
  body.cockpit-v8-active #a_roles .access-editor-head{display:block;}
  body.cockpit-v8-active #a_roles .access-editor-head>.btn{width:100%;margin-top:10px;}
  body.cockpit-v8-active #a_roles .access-editor-grid,body.cockpit-v8-active #a_roles .access-invite-form{grid-template-columns:1fr;}
  body.cockpit-v8-active #a_roles .access-editor-grid input,body.cockpit-v8-active #a_roles .access-editor-grid select,body.cockpit-v8-active #a_roles .access-invite-form input,body.cockpit-v8-active #a_roles .access-invite-form select{height:45px;font-size:14px!important;}
  body.cockpit-v8-active #a_roles .access-editor-actions,body.cockpit-v8-active #a_roles .access-invite-actions{align-items:stretch;flex-direction:column;}
  body.cockpit-v8-active #a_roles .access-editor-actions .btn,body.cockpit-v8-active #a_roles .access-invite-actions .btn{width:100%;min-height:42px;}
  body.cockpit-v8-active #a_roles .access-onboarding.is-ready{padding:16px 14px;}
  body.cockpit-v8-active #a_roles .access-invite-ready{grid-template-columns:36px minmax(0,1fr);gap:11px;padding:14px 12px;}
  body.cockpit-v8-active #a_roles .access-invite-ready-copy p{display:grid;gap:2px;}
  body.cockpit-v8-active #a_roles .access-invite-ready-copy span+span::before{display:none;}
  body.cockpit-v8-active #a_roles .access-invite-ready-actions{display:grid;grid-template-columns:1fr;gap:8px;}
  body.cockpit-v8-active #a_roles .access-invite-ready-actions .btn{width:100%;min-height:46px;font-size:11px!important;}
  body.cockpit-v8-active #a_roles .access-invite-link{margin-top:2px;}
  body.cockpit-v8-active #a_roles .access-invite-link summary{font-size:10px;}
  body.cockpit-v8-active #a_roles .access-help ol{grid-template-columns:1fr;gap:13px;}
  body.cockpit-v8-active #a_roles .access-confirm-dialog{padding:21px 18px;}
  body.cockpit-v8-active #a_roles .access-confirm-dialog h2{font-size:21px;}
  body.cockpit-v8-active #a_roles .access-confirm-dialog input{height:51px;font-size:15px;}
  body.cockpit-v8-active #a_roles .access-confirm-actions{flex-direction:column-reverse;}
  body.cockpit-v8-active #a_roles .access-confirm-actions .btn{width:100%;min-height:44px;}
}

/* Accès partenaires V10 — hiérarchie fast-to-win et affordances explicites. */
body.cockpit-v8-active #a_roles .access-overview{border-radius:16px;box-shadow:none;}
body.cockpit-v8-active #a_roles .access-overview-watch-head span{color:#87918b;font-weight:600;}
body.cockpit-v8-active #a_roles .access-overview-row{cursor:default;}
body.cockpit-v8-active #a_roles .access-directory{box-shadow:0 12px 34px rgba(19,53,45,.055);}
body.cockpit-v8-active #a_roles .access-directory-head .access-eyebrow{margin-bottom:4px;}
body.cockpit-v8-active #a_roles .access-directory-head .card-t{font-size:16px;letter-spacing:0;text-transform:none;}
body.cockpit-v8-active #a_roles .access-live{align-self:flex-start;padding:7px 10px;border-radius:999px;background:#edf5f0;color:#31705b;font-size:8.5px;font-weight:650;white-space:nowrap;}
body.cockpit-v8-active #a_roles .access-toolbar{background:#f6f8f5;}
body.cockpit-v8-active #a_roles .access-filters button,
body.cockpit-v8-active #a_roles .access-directory-item{cursor:pointer;}
body.cockpit-v8-active #a_roles .access-directory-item{grid-template-columns:38px minmax(0,1fr) auto auto auto;min-height:62px;}
body.cockpit-v8-active #a_roles .access-directory-status{display:inline-flex;align-items:center;gap:5px;color:#39735f;font-size:8px;font-weight:650;white-space:nowrap;}
body.cockpit-v8-active #a_roles .access-directory-status i{width:6px;height:6px;border-radius:50%;background:#4b9474;}
body.cockpit-v8-active #a_roles .access-directory-chevron{display:grid;place-items:center;width:22px;height:32px;color:#6f857b;font:500 23px/1 sans-serif;transition:transform .18s ease;}
body.cockpit-v8-active #a_roles .access-directory-item:hover .access-directory-chevron,
body.cockpit-v8-active #a_roles .access-directory-item.on .access-directory-chevron{transform:translateX(2px);color:#265d4b;}
body.cockpit-v8-active #a_roles .access-profile-prompt{display:grid;align-content:center;justify-items:center;min-height:250px;padding:32px;text-align:center;}
body.cockpit-v8-active #a_roles .access-profile-prompt-icon{display:grid;place-items:center;width:40px;height:40px;margin-bottom:12px;border-radius:50%;background:#e8f1eb;color:#2f6d57;font:500 21px/1 sans-serif;}
body.cockpit-v8-active #a_roles .access-profile-prompt b{color:#24483e;font-size:12px;}
body.cockpit-v8-active #a_roles .access-profile-prompt p{max-width:280px;margin:6px 0 0;color:#7a8580;font-size:9.5px;line-height:1.55;}
body.cockpit-v8-active #a_roles .access-profile-scope{gap:0;border-top:1px solid #e7ebe7;}
body.cockpit-v8-active #a_roles .access-profile-scope+ .access-profile-scope{margin-top:0;}
body.cockpit-v8-active #a_roles .access-profile-scope>div{padding:11px 5px;border:0;border-bottom:1px solid #e7ebe7;border-radius:0;background:transparent;}
body.cockpit-v8-active #a_roles .access-profile-scope>div:nth-child(odd){padding-right:12px;}
body.cockpit-v8-active #a_roles .access-profile-scope>div:nth-child(even){padding-left:12px;border-left:1px solid #e7ebe7;}
body.cockpit-v8-active #a_roles .access-activity{background:transparent;border:1px solid #dce8e0;border-left:3px solid #73a48e;}

@media(max-width:700px){
  body.cockpit-v8-active #a_roles>.content{padding:0 16px calc(94px + env(safe-area-inset-bottom));background:linear-gradient(180deg,#fff 0,#f6f8f5 100%);}
  body.cockpit-v8-active #a_roles .backbtn{margin:12px 0 15px!important;font-size:10px;}
  body.cockpit-v8-active #a_roles .access-page-head{margin:0 0 16px;}
  body.cockpit-v8-active #a_roles .access-page-head .access-eyebrow{display:none;}
  body.cockpit-v8-active #a_roles .access-page-head h1{color:#202523;font-size:30px;line-height:1.03;}
  body.cockpit-v8-active #a_roles .access-page-head h1::after{display:none;}
  body.cockpit-v8-active #a_roles .access-page-head p{margin-top:6px;color:#7c8580;font-size:12.5px;line-height:1.5;}
  body.cockpit-v8-active #a_roles .access-main-cta{min-height:48px;margin-top:13px;border-radius:12px;font-size:12px;}
  body.cockpit-v8-active #a_roles .access-overview{margin-bottom:14px;border-radius:18px;}
  body.cockpit-v8-active #a_roles .access-overview-primary{padding:17px 18px;}
  body.cockpit-v8-active #a_roles .access-overview-count{margin-top:8px;}
  body.cockpit-v8-active #a_roles .access-overview-count b{font-size:36px;}
  body.cockpit-v8-active #a_roles .access-overview-count span{font-size:13px;}
  body.cockpit-v8-active #a_roles .access-overview-primary p{font-size:10.5px;}
  body.cockpit-v8-active #a_roles .access-overview-watch{padding:12px 16px 13px;}
  body.cockpit-v8-active #a_roles .access-overview-watch-head{margin-bottom:2px;padding:2px 0 7px;}
  body.cockpit-v8-active #a_roles .access-overview-watch-head b{font-size:11px;}
  body.cockpit-v8-active #a_roles .access-overview-row{grid-template-columns:minmax(0,1fr) auto;gap:8px;min-height:54px;padding:7px 0;}
  body.cockpit-v8-active #a_roles .access-overview-row>span{font-size:10.5px;}
  body.cockpit-v8-active #a_roles .access-overview-row>b{font-size:13px;text-align:right;}
  body.cockpit-v8-active #a_roles .access-overview-row>small{grid-column:1/-1;margin:-12px 0 2px 15px;font-size:9px;}
  body.cockpit-v8-active #a_roles .access-directory{padding:17px 15px;border-radius:18px;}
  body.cockpit-v8-active #a_roles .access-directory-head .card-t{font-size:18px;}
  body.cockpit-v8-active #a_roles .access-directory-head p{font-size:10.5px;line-height:1.45;}
  body.cockpit-v8-active #a_roles .access-live{display:inline-flex;margin-top:10px;font-size:9px;}
  body.cockpit-v8-active #a_roles .access-toolbar{display:grid;gap:10px;margin:14px 0;padding:0;border:0;background:transparent;}
  body.cockpit-v8-active #a_roles .access-filters{display:flex;gap:7px;margin:0 -15px;padding:0 15px 3px;overflow-x:auto;scrollbar-width:none;flex-wrap:nowrap;}
  body.cockpit-v8-active #a_roles .access-filters::-webkit-scrollbar{display:none;}
  body.cockpit-v8-active #a_roles .access-filters button{flex:0 0 auto;min-height:42px;padding:0 13px;border-radius:10px;font-size:10px;}
  body.cockpit-v8-active #a_roles .access-search{font-size:8.5px;}
  body.cockpit-v8-active #a_roles .access-search input{height:46px;padding:0 13px;border-radius:11px;font-size:13px;}
  body.cockpit-v8-active #a_roles .access-directory-grid{gap:12px;}
  body.cockpit-v8-active #a_roles .access-directory-item{grid-template-columns:42px minmax(0,1fr) auto auto;gap:9px;min-height:72px;padding:12px 10px;border-radius:14px;}
  body.cockpit-v8-active #a_roles .access-avatar{width:42px;height:42px;border-radius:12px;font-size:11px;}
  body.cockpit-v8-active #a_roles .access-directory-copy b{font-size:11.5px;}
  body.cockpit-v8-active #a_roles .access-directory-copy small{font-size:9px;}
  body.cockpit-v8-active #a_roles .access-directory-meta{display:none;}
  body.cockpit-v8-active #a_roles .access-directory-status{font-size:8.5px;}
  body.cockpit-v8-active #a_roles .access-directory-chevron{width:16px;}
  body.cockpit-v8-active #a_roles .access-profile{scroll-margin-top:14px;padding:16px;border-radius:16px;}
  body.cockpit-v8-active #a_roles .access-profile-prompt{display:none;}
  body.cockpit-v8-active #a_roles .access-profile-top h2{font-size:20px;}
  body.cockpit-v8-active #a_roles .access-profile-top p{font-size:9.5px;overflow-wrap:anywhere;}
  body.cockpit-v8-active #a_roles .access-profile-role{padding:13px;}
  body.cockpit-v8-active #a_roles .access-profile-role b{font-size:11.5px;}
  body.cockpit-v8-active #a_roles .access-profile-scope{grid-template-columns:1fr;}
  body.cockpit-v8-active #a_roles .access-profile-scope>div,
  body.cockpit-v8-active #a_roles .access-profile-scope>div:nth-child(odd),
  body.cockpit-v8-active #a_roles .access-profile-scope>div:nth-child(even){padding:12px 2px;border-left:0;}
  body.cockpit-v8-active #a_roles .access-profile-scope span{font-size:8px;}
  body.cockpit-v8-active #a_roles .access-profile-scope b{font-size:10px;white-space:normal;}
  body.cockpit-v8-active #a_roles .access-help>summary{min-height:48px;padding:16px;font-size:10.5px;}
}

/* Fiche validée : identité visible, informations sobres, actions distinctes. */
body.cockpit-v8-active #a_roles .access-page *{min-width:0;}
body.cockpit-v8-active #a_roles .access-profile{background:#fff;}
body.cockpit-v8-active #a_roles .access-directory-item.on{box-shadow:inset 3px 0 #3f7a68;}
body.cockpit-v8-active #a_roles .access-profile-role{background:linear-gradient(145deg,#123f34,#195446);}
body.cockpit-v8-active #a_roles .access-invite-ready-copy{overflow-wrap:anywhere;}
body.cockpit-v8-active #a_roles .access-invite-ready-actions{flex-wrap:wrap;}
body.cockpit-v8-active #a_roles .access-connection-details{margin-top:14px;border:1px solid #dce5df;border-radius:11px;overflow:hidden;}
body.cockpit-v8-active #a_roles .access-connection-details summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:46px;padding:12px;color:#315b4e;font-size:11px;font-weight:600;cursor:pointer;list-style:none;}
body.cockpit-v8-active #a_roles .access-connection-details summary::-webkit-details-marker{display:none;}
body.cockpit-v8-active #a_roles .access-connection-details summary::after{content:'+';font-size:18px;}
body.cockpit-v8-active #a_roles .access-connection-details[open] summary::after{content:'−';}
body.cockpit-v8-active #a_roles .access-connection-details .access-profile-scope{margin:0 12px 8px;}
body.cockpit-v8-active #a_roles .access-profile-actions .btn{min-height:46px;white-space:normal;line-height:1.4;padding:10px 14px;font-size:11px;}
body.cockpit-v8-active #a_roles .access-page button:focus-visible,
body.cockpit-v8-active #a_roles .access-page summary:focus-visible{outline:3px solid #3f7a68;outline-offset:3px;}
@media(min-width:701px) and (max-width:1000px){
  body.cockpit-v8-active #a_roles .access-overview{grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr);}
  body.cockpit-v8-active #a_roles .access-overview-row{grid-template-columns:minmax(0,1fr) auto;}
  body.cockpit-v8-active #a_roles .access-overview-row>small{grid-column:1/-1;text-align:left;}
  body.cockpit-v8-active #a_roles .access-toolbar{flex-wrap:wrap;}
}
@media(max-width:700px){
  body.cockpit-v8-active #a_roles .access-profile-scope>div{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:12px;align-items:start;}
  body.cockpit-v8-active #a_roles .access-profile-scope b{margin:0;text-align:right;overflow-wrap:anywhere;}
  body.cockpit-v8-active #a_roles .access-directory-copy b,
  body.cockpit-v8-active #a_roles .access-directory-copy small{white-space:normal;overflow-wrap:anywhere;}
  body.cockpit-v8-active #a_roles .access-invite-ready{grid-template-columns:36px minmax(0,1fr);}
}

/* Fournisseurs — registre et conditions dans la continuité du cockpit fondateur. */
body.cockpit-v8-active #a_supplier>.content{
  min-height:100%;
  padding:24px 28px 32px;
  background:linear-gradient(145deg,#fbfcfa 0%,#f5f7f4 100%);
}
body.cockpit-v8-active #a_supplier .supplier-page{max-width:1320px;margin:0 auto;color:#17263a;}
body.cockpit-v8-active #a_supplier .supplier-page>div:nth-child(2){display:flex!important;align-items:center!important;justify-content:flex-end!important;margin:-57px 0 19px!important;}
body.cockpit-v8-active #a_supplier .supplier-page>div:nth-child(2)>.serif{display:none;}
body.cockpit-v8-active #a_supplier .supplier-page>div:nth-child(2)>.btn{min-height:38px;padding:0 15px;border-radius:10px;background:var(--cockpit-green);border-color:var(--cockpit-green);color:#fff;font-size:10.5px;font-weight:600;box-shadow:none;}
body.cockpit-v8-active #a_supplier .supplier-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:22px;margin-bottom:17px;}
body.cockpit-v8-active #a_supplier .supplier-eyebrow{margin-bottom:4px;color:#3f7a68;font-size:10px;font-weight:650;letter-spacing:.11em;text-transform:uppercase;}
body.cockpit-v8-active #a_supplier .supplier-heading h1{margin:0;color:#15243b;font:600 34px/1.02 'Playfair Display',serif;letter-spacing:-.025em;}
body.cockpit-v8-active #a_supplier .supplier-heading h1::after{content:"";display:block;width:43px;height:3px;margin-top:9px;border-radius:99px;background:var(--cockpit-orange);}
body.cockpit-v8-active #a_supplier .supplier-heading p{max-width:720px;margin:8px 0 0;color:var(--muted);font-size:12px;line-height:1.55;}
body.cockpit-v8-active #a_supplier .supplier-trust{display:inline-flex;align-items:center;gap:7px;padding:7px 11px;border:1px solid #d8e5dd;border-radius:999px;background:#f0f6f2;color:#2f725f;font-size:9.5px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;white-space:nowrap;}
body.cockpit-v8-active #a_supplier .supplier-trust::before{content:"";width:6px;height:6px;border-radius:50%;background:#39815f;}
body.cockpit-v8-active #a_supplier .supplier-mobile-brand{display:none;}
body.cockpit-v8-active #a_supplier .supplier-page>.card{margin:0 0 14px;padding:18px 20px;border:1px solid var(--cockpit-line);border-radius:18px;background:#fff;box-shadow:0 10px 32px rgba(19,53,45,.05);}
body.cockpit-v8-active #a_supplier .card-t{color:var(--cockpit-green);font-size:11px;font-weight:650;letter-spacing:.055em;text-transform:uppercase;}
body.cockpit-v8-active #a_supplier table{width:100%;border-collapse:collapse;}
body.cockpit-v8-active #a_supplier th{padding:11px 9px;color:#75817a;font-size:8.5px;font-weight:650;letter-spacing:.045em;text-transform:uppercase;}
body.cockpit-v8-active #a_supplier td{padding:12px 9px;border-top:1px solid #eef0ed;color:#31413a;font-size:10.5px;}
body.cockpit-v8-active #a_supplier .supplier-empty{padding:24px 16px;border:1px dashed #dbe3dc;border-radius:14px;background:#f7f9f6;text-align:center;}
body.cockpit-v8-active #a_supplier .supplier-empty b{display:block;color:#24483e;font-size:12px;font-style:normal;}
body.cockpit-v8-active #a_supplier .supplier-empty span{display:block;max-width:540px;margin:5px auto 0;color:#748078;font-size:10.5px;font-style:normal;line-height:1.5;}
body.cockpit-v8-active #a_supplier .supplier-table-empty tr:first-child{display:none;}
body.cockpit-v8-active #a_supplier .supplier-table-empty td{padding:12px 0 0;border:0;}
body.cockpit-v8-active #a_supplier .supplier-tools{display:flex;align-items:end;justify-content:space-between;gap:14px;margin:13px 0 5px;padding:12px 13px;border:1px solid #e7ebe7;border-radius:13px;background:#f8faf7;}
body.cockpit-v8-active #a_supplier .supplier-tools label{color:#6e7a73;font-size:9px;font-weight:650;letter-spacing:.045em;text-transform:uppercase;}
body.cockpit-v8-active #a_supplier .supplier-tools select{display:block;min-width:220px;min-height:36px;margin-top:5px;padding:0 10px;border:1px solid #dce4de;border-radius:9px;background:#fff;color:#29473f;font-size:10.5px;text-transform:none;letter-spacing:0;}
body.cockpit-v8-active #a_supplier .supplier-tools span{padding-bottom:9px;color:#718078;font-size:10px;white-space:nowrap;}
body.cockpit-v8-active #a_supplier .supplier-history>.row{margin-top:11px;padding:15px!important;border:1px solid #e8ece8!important;border-radius:13px!important;background:#f8faf7!important;color:#69766f!important;font-size:10.5px!important;line-height:1.5;}
body.cockpit-v8-active #a_supplier .supplier-quality-empty{margin-top:12px;padding:18px;border:1px solid #e1e8e2;border-radius:14px;background:#f7faf7;text-align:center;}
body.cockpit-v8-active #a_supplier .supplier-quality-empty b{display:block;color:#24483e;font-size:12px;}
body.cockpit-v8-active #a_supplier .supplier-quality-empty span{display:block;max-width:620px;margin:5px auto 0;color:#748078;font-size:10.5px;line-height:1.5;}
body.cockpit-v8-active #a_supplier .supplier-quality-list{display:grid;gap:8px;margin-top:12px;}
body.cockpit-v8-active #a_supplier .supplier-quality-row{display:grid;grid-template-columns:minmax(180px,1.2fr) 82px 82px minmax(240px,1.4fr);align-items:center;gap:12px;padding:12px 13px;border:1px solid #e6ebe6;border-radius:13px;background:#fafbf9;}
body.cockpit-v8-active #a_supplier .supplier-quality-name b{display:block;color:#24483e;font-size:11.5px;}
body.cockpit-v8-active #a_supplier .supplier-quality-name span,
body.cockpit-v8-active #a_supplier .supplier-quality-metric span,
body.cockpit-v8-active #a_supplier .supplier-quality-advice span{display:block;margin-top:3px;color:#7a857e;font-size:9.5px;}
body.cockpit-v8-active #a_supplier .supplier-quality-metric{padding-left:12px;border-left:1px solid #e6ebe6;}
body.cockpit-v8-active #a_supplier .supplier-quality-metric b{display:block;color:#24483e;font:600 18px/1 'JetBrains Mono',monospace;}
body.cockpit-v8-active #a_supplier .supplier-quality-metric.is-late b{color:#b4482b;}
body.cockpit-v8-active #a_supplier .supplier-quality-advice{padding:9px 11px;border-radius:10px;background:#eef5f0;}
body.cockpit-v8-active #a_supplier .supplier-quality-advice span{margin:0 0 3px;color:#55816f;text-transform:uppercase;letter-spacing:.04em;}
body.cockpit-v8-active #a_supplier .supplier-quality-advice b{color:#285545;font-size:10.5px;line-height:1.4;}
body.cockpit-v8-active #a_supplier .supplier-quality-detail{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:0 0 14px;padding:13px;border:1px solid #e2e9e3;border-radius:14px;background:#f7faf7;}
body.cockpit-v8-active #a_supplier .supplier-quality-detail>div{padding:5px 8px;}
body.cockpit-v8-active #a_supplier .supplier-quality-detail span{display:block;color:#78847d;font-size:9.5px;}
body.cockpit-v8-active #a_supplier .supplier-quality-detail b{display:block;margin-top:4px;color:#24483e;font-size:11px;line-height:1.4;}
body.cockpit-v8-active #a_supplier .supplier-quality-detail>p{grid-column:1/-1;margin:0;padding:9px 10px;border-radius:9px;background:#fff;color:#78847d;font-size:9.5px;line-height:1.45;}
body.cockpit-v8-active #a_supplier .supplier-form-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:14px;}
body.cockpit-v8-active #a_supplier .supplier-form-heading p{margin:5px 0 0;color:#748078;font-size:10.5px;line-height:1.45;}
body.cockpit-v8-active #a_supplier .supplier-form label{font-weight:600;letter-spacing:.015em;}
body.cockpit-v8-active #a_supplier .supplier-form input,
body.cockpit-v8-active #a_supplier .supplier-form select{min-height:38px;margin-top:5px;border-color:#dce4de!important;border-radius:10px!important;background:#fff;font-size:11px!important;font-weight:400;}
body.cockpit-v8-active #a_supplier .supplier-form input:focus,
body.cockpit-v8-active #a_supplier .supplier-form select:focus{border-color:#7ea696!important;box-shadow:0 0 0 3px rgba(63,122,104,.1);outline:0;}
body.cockpit-v8-active #a_supplier .supplier-form input[readonly]{background:#f3f6f3;color:#476259;font-family:'JetBrains Mono',monospace;font-weight:600;letter-spacing:.04em;}
body.cockpit-v8-active #a_supplier .supplier-code-field small{display:block;margin-top:5px;color:#87918b;font-size:9.5px;font-weight:400;line-height:1.4;letter-spacing:0;}
body.cockpit-v8-active #a_supplier .supplier-custom-function[hidden]{display:none!important;}
body.cockpit-v8-active #a_supplier .supplier-form .btn{min-height:37px;border-radius:10px;font-size:10.5px;box-shadow:none;}
body.cockpit-v8-active #a_supplier .supplier-extra-fields{grid-column:1/-1;padding:12px 13px;border:1px solid #e1e8e2;border-radius:12px;background:#f8faf7;}
body.cockpit-v8-active #a_supplier .supplier-extra-fields summary{cursor:pointer;color:#315b4e;font-size:10.5px;font-weight:650;}
body.cockpit-v8-active #a_supplier .supplier-extra-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px;}
body.cockpit-v8-active #a_supplier .supplier-contact-card{margin-bottom:14px!important;}
body.cockpit-v8-active #a_supplier .supplier-contact-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;}
body.cockpit-v8-active #a_supplier .supplier-contact-head p{margin:5px 0 0;color:#748078;font-size:10.5px;line-height:1.45;}
body.cockpit-v8-active #a_supplier .supplier-contact-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:14px;}
body.cockpit-v8-active #a_supplier .supplier-contact-grid>div{padding:11px 12px;border:1px solid #e7ebe7;border-radius:11px;background:#fafbf9;}
body.cockpit-v8-active #a_supplier .supplier-contact-grid span{display:block;color:#7b867f;font-size:9px;text-transform:uppercase;letter-spacing:.045em;}
body.cockpit-v8-active #a_supplier .supplier-contact-grid b{display:block;margin-top:4px;color:#29473f;font-size:10.8px;line-height:1.45;overflow-wrap:anywhere;}
body.cockpit-v8-active #a_supplier .supplier-contact-grid .supplier-missing{color:#929b96;font-size:10.5px;font-weight:400;text-transform:none;letter-spacing:0;}
body.cockpit-v8-active #a_supplier .supplier-contact-wide{grid-column:1/-1;}
body.cockpit-v8-active #a_supplier .supplier-contact-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px;padding:13px;border:1px solid #dce7df;border-radius:13px;background:#f7faf7;}
body.cockpit-v8-active #a_supplier .supplier-contact-form[hidden]{display:none!important;}
body.cockpit-v8-active #a_supplier .supplier-contact-form label,
body.cockpit-v8-active #a_supplier .supplier-extra-grid label{color:#6e7a73;font-size:9.5px;font-weight:600;}
body.cockpit-v8-active #a_supplier .supplier-contact-form input,
body.cockpit-v8-active #a_supplier .supplier-extra-grid input{width:100%;min-height:37px;box-sizing:border-box;margin-top:5px;padding:7px 10px;border:1px solid #dce4de;border-radius:9px;background:#fff;color:#29473f;font-size:10.8px;}
body.cockpit-v8-active #a_supplier .supplier-contact-actions{display:flex;align-items:center;gap:8px;margin-top:3px;}
body.cockpit-v8-active #a_supplier .supplier-contact-actions span{color:#b8431f;font-size:10.5px;}

@media(max-width:700px){
  body.cockpit-v8-active #a_supplier>.content{padding:0 16px calc(92px + env(safe-area-inset-bottom));background:linear-gradient(180deg,#fff 0,#f8faf7 100%);}
  body.cockpit-v8-active #a_supplier .supplier-page{max-width:480px;}
  body.cockpit-v8-active #a_supplier .supplier-mobile-brand{display:flex;}
  body.cockpit-v8-active #a_supplier .supplier-heading{display:block;margin:1px 0 15px;}
  body.cockpit-v8-active #a_supplier .supplier-eyebrow{display:none;}
  body.cockpit-v8-active #a_supplier .supplier-heading h1{color:#202523;font-size:30px;line-height:1.02;}
  body.cockpit-v8-active #a_supplier .supplier-heading h1::after{display:none;}
  body.cockpit-v8-active #a_supplier .supplier-heading p{margin-top:4px;color:#7d8580;font-size:12.5px;line-height:1.45;}
  body.cockpit-v8-active #a_supplier .supplier-trust{margin-top:9px;padding:7px 11px;font-size:9.5px;}
  body.cockpit-v8-active #a_supplier .supplier-page>div:nth-child(2){display:block!important;margin:0 0 14px!important;}
  body.cockpit-v8-active #a_supplier .supplier-page>div:nth-child(2)>.btn{width:100%;justify-content:center;}
  body.cockpit-v8-active #a_supplier .supplier-page>.card{margin-bottom:14px;padding:17px;border-radius:18px;box-shadow:0 10px 30px rgba(19,53,45,.06);}
  body.cockpit-v8-active #a_supplier .supplier-register{overflow-x:auto;}
  body.cockpit-v8-active #a_supplier .supplier-register table:not(.supplier-table-empty){min-width:570px;}
  body.cockpit-v8-active #a_supplier .supplier-tools{display:block;margin-top:12px;}
  body.cockpit-v8-active #a_supplier .supplier-tools select{width:100%;min-width:0;}
  body.cockpit-v8-active #a_supplier .supplier-tools span{display:block;padding:8px 0 0;}
  body.cockpit-v8-active #a_supplier .supplier-empty{padding:22px 12px;}
  body.cockpit-v8-active #a_supplier .supplier-quality-row{grid-template-columns:1fr 1fr;gap:10px;}
  body.cockpit-v8-active #a_supplier .supplier-quality-name,
  body.cockpit-v8-active #a_supplier .supplier-quality-advice{grid-column:1/-1;}
  body.cockpit-v8-active #a_supplier .supplier-quality-metric{padding:8px 0 0;border-left:0;border-top:1px solid #e6ebe6;}
  body.cockpit-v8-active #a_supplier .supplier-quality-detail{grid-template-columns:1fr;}
  body.cockpit-v8-active #a_supplier .supplier-quality-detail>p{grid-column:auto;}
  body.cockpit-v8-active #a_supplier .supplier-form-heading{display:block;}
  body.cockpit-v8-active #a_supplier .supplier-form-heading .btn{width:100%;margin-top:11px;justify-content:center;}
  body.cockpit-v8-active #a_supplier .supplier-form>div:nth-child(2){grid-template-columns:1fr!important;}
  body.cockpit-v8-active #a_supplier .supplier-form>div:last-child{display:grid!important;grid-template-columns:1fr!important;}
  body.cockpit-v8-active #a_supplier .supplier-form [data-gervis="enregistrer-fournisseur"]{width:100%;justify-content:center;}
  body.cockpit-v8-active #a_supplier .supplier-extra-grid,
  body.cockpit-v8-active #a_supplier .supplier-contact-grid,
  body.cockpit-v8-active #a_supplier .supplier-contact-form{grid-template-columns:1fr;}
  body.cockpit-v8-active #a_supplier .supplier-contact-wide{grid-column:auto;}
  body.cockpit-v8-active #a_supplier .supplier-contact-head{display:block;}
  body.cockpit-v8-active #a_supplier .supplier-contact-head .btn{width:100%;margin-top:11px;justify-content:center;}
  body.cockpit-v8-active #a_supplier .supplier-contact-actions{display:grid;grid-template-columns:1fr;}
  body.cockpit-v8-active #a_supplier .supplier-contact-actions .btn{width:100%;justify-content:center;}
}

/* Approvisionnements — lecture immédiate des composants et commandes fournisseur. */
body.cockpit-v8-active #a_supply>.content{
  min-height:100%;
  padding:24px 28px 32px;
  background:linear-gradient(145deg,#fbfcfa 0%,#f5f7f4 100%);
}
body.cockpit-v8-active #a_supply .supply-page{max-width:1320px;margin:0 auto;color:#17263a;}
body.cockpit-v8-active #a_supply .supply-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:22px;margin-bottom:17px;}
body.cockpit-v8-active #a_supply .supply-eyebrow{margin-bottom:4px;color:#3f7a68;font-size:10px;font-weight:650;letter-spacing:.11em;text-transform:uppercase;}
body.cockpit-v8-active #a_supply .supply-heading h1{margin:0;color:#15243b;font:600 34px/1.02 'Playfair Display',serif;letter-spacing:-.025em;}
body.cockpit-v8-active #a_supply .supply-heading h1::after{content:"";display:block;width:43px;height:3px;margin-top:9px;border-radius:99px;background:var(--cockpit-orange);}
body.cockpit-v8-active #a_supply .supply-heading p{max-width:760px;margin:8px 0 0;color:var(--muted);font-size:12px;line-height:1.55;}
body.cockpit-v8-active #a_supply .supply-trust{display:inline-flex;align-items:center;gap:7px;padding:7px 11px;border:1px solid #d8e5dd;border-radius:999px;background:#f0f6f2;color:#2f725f;font-size:9.5px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;white-space:nowrap;}
body.cockpit-v8-active #a_supply .supply-trust::before{content:"";width:6px;height:6px;border-radius:50%;background:#39815f;}
body.cockpit-v8-active #a_supply .supply-mobile-brand{display:none;}
body.cockpit-v8-active #a_supply .supply-page>.card,
body.cockpit-v8-active #a_supply .supply-page>[data-gervis="zone-achats"]>.card{
  margin:0 0 14px;
  padding:18px 20px;
  overflow:hidden;
  border:1px solid var(--cockpit-line);
  border-radius:18px;
  background:#fff;
  box-shadow:0 10px 32px rgba(19,53,45,.05);
}
body.cockpit-v8-active #a_supply .card-t{color:var(--cockpit-green);font-size:11px;font-weight:650;letter-spacing:.055em;text-transform:uppercase;}
body.cockpit-v8-active #a_supply table{width:100%;border-collapse:collapse;}
body.cockpit-v8-active #a_supply th{padding:11px 9px;color:#75817a;font-size:8.5px;font-weight:650;letter-spacing:.045em;text-transform:uppercase;}
body.cockpit-v8-active #a_supply td{padding:11px 9px;border-top:1px solid #eef0ed;color:#31413a;font-size:10.5px;}
body.cockpit-v8-active #a_supply .supply-card .hint{margin-top:10px;color:#738078;font-size:10.5px;line-height:1.5;}
body.cockpit-v8-active #a_supply .supply-orders-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:15px;}
body.cockpit-v8-active #a_supply .supply-orders-head p{margin:5px 0 0;color:#718078;font-size:10.5px;line-height:1.45;}
body.cockpit-v8-active #a_supply .supply-orders-head .btn{flex:0 0 auto;min-height:37px;padding:0 14px;border-radius:10px;font-size:10.5px;font-weight:600;}
body.cockpit-v8-active #a_supply .supply-order-form{padding:14px!important;margin-bottom:14px!important;border-color:#dfe6e1!important;border-radius:14px!important;background:#fafbf9;}
body.cockpit-v8-active #a_supply .supply-order-form .field,
body.cockpit-v8-active #a_supply .supply-order-form .sel{min-height:37px;border-color:#dce4de;border-radius:10px;background:#fff;font-size:11px;}
body.cockpit-v8-active #a_supply .supply-order-form>.hint{color:#6f7b75;font-size:10.5px;line-height:1.5;}
body.cockpit-v8-active #a_supply .supply-order-form [data-gervis="nc-creer"]{min-height:37px;border-radius:10px;font-size:10px;}
body.cockpit-v8-active #a_supply .supply-prerequisite{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:13px;margin-bottom:14px;padding:15px 16px;border:1px solid #d9e5dd;border-radius:14px;background:#f2f7f3;}
body.cockpit-v8-active #a_supply .supply-prerequisite-icon{display:grid;width:38px;height:38px;place-items:center;border-radius:11px;background:#fff;color:#2f725f;box-shadow:0 5px 16px rgba(20,70,57,.08);}
body.cockpit-v8-active #a_supply .supply-prerequisite-copy b{display:block;color:#24483e;font-size:11.5px;}
body.cockpit-v8-active #a_supply .supply-prerequisite-copy span{display:block;margin-top:3px;color:#6f7b75;font-size:10px;line-height:1.5;}
body.cockpit-v8-active #a_supply .supply-prerequisite .btn{min-height:36px;border-radius:10px;white-space:nowrap;}
body.cockpit-v8-active #a_supply .supply-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:13px;}
body.cockpit-v8-active #a_supply .supply-metric{min-width:0;padding:13px 14px;border:1px solid #e5e9e5;border-radius:14px;background:#fbfcfa;}
body.cockpit-v8-active #a_supply .supply-metric small{display:block;color:#75817a;font-size:8.5px;font-weight:650;letter-spacing:.055em;text-transform:uppercase;}
body.cockpit-v8-active #a_supply .supply-metric b{display:block;margin:6px 0 3px;color:#153f36;font:600 21px/1 'JetBrains Mono',monospace;}
body.cockpit-v8-active #a_supply .supply-metric span{display:block;color:#75817a;font-size:9.5px;line-height:1.4;}
body.cockpit-v8-active #a_supply .supply-filters{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:12px;}
body.cockpit-v8-active #a_supply .supply-filters .btn{min-height:32px;border-radius:9px;font-size:9.5px;}
body.cockpit-v8-active #a_supply .supply-empty{padding:18px;border:1px dashed #dbe3dc;border-radius:14px;background:#f7f9f6;text-align:center;}
body.cockpit-v8-active #a_supply .supply-empty b{display:block;color:#24483e;font-size:12px;}
body.cockpit-v8-active #a_supply .supply-empty span{display:block;max-width:520px;margin:5px auto 0;color:#748078;font-size:10.5px;line-height:1.5;}

@media(max-width:700px){
  body.cockpit-v8-active #a_supply>.content{padding:0 16px calc(92px + env(safe-area-inset-bottom));background:linear-gradient(180deg,#fff 0,#f8faf7 100%);}
  body.cockpit-v8-active #a_supply .supply-page{max-width:480px;}
  body.cockpit-v8-active #a_supply .supply-mobile-brand{display:flex;}
  body.cockpit-v8-active #a_supply .supply-heading{display:block;margin:1px 0 15px;}
  body.cockpit-v8-active #a_supply .supply-eyebrow{display:none;}
  body.cockpit-v8-active #a_supply .supply-heading h1{color:#202523;font-size:30px;line-height:1.02;}
  body.cockpit-v8-active #a_supply .supply-heading h1::after{display:none;}
  body.cockpit-v8-active #a_supply .supply-heading p{margin-top:4px;color:#7d8580;font-size:12.5px;line-height:1.45;}
  body.cockpit-v8-active #a_supply .supply-trust{margin-top:9px;padding:7px 11px;font-size:9.5px;}
  body.cockpit-v8-active #a_supply .supply-page>.card,
  body.cockpit-v8-active #a_supply .supply-page>[data-gervis="zone-achats"]>.card{margin-bottom:14px;padding:17px;border-radius:18px;box-shadow:0 10px 30px rgba(19,53,45,.06);}
  body.cockpit-v8-active #a_supply .supply-components-card{overflow-x:auto;}
  body.cockpit-v8-active #a_supply .supply-components-card table:not(:has(td[colspan])){min-width:640px;}
  body.cockpit-v8-active #a_supply .supply-components-card table:has(td[colspan]) tr:first-child{display:none;}
  body.cockpit-v8-active #a_supply .supply-components-card td[colspan]{padding:15px 0 8px;border:0;color:#7d8580!important;font-size:11.5px;font-style:normal!important;}
  body.cockpit-v8-active #a_supply .supply-orders-head{display:block;margin-bottom:13px;}
  body.cockpit-v8-active #a_supply .supply-orders-head .btn{width:100%;margin-top:12px;justify-content:center;}
  body.cockpit-v8-active #a_supply .supply-order-form{padding:12px!important;}
  body.cockpit-v8-active #a_supply .supply-order-form>div:first-child{display:grid!important;grid-template-columns:1fr 1fr!important;align-items:end!important;gap:10px!important;}
  body.cockpit-v8-active #a_supply .supply-order-form>div:first-child>div:first-child{grid-column:1/-1;min-width:0!important;}
  body.cockpit-v8-active #a_supply .supply-order-form>div:first-child>div{min-width:0!important;flex:auto!important;}
  body.cockpit-v8-active #a_supply .supply-order-form [data-gervis="nc-creer"]{grid-column:1/-1;width:100%;justify-content:center;}
  body.cockpit-v8-active #a_supply .supply-prerequisite{grid-template-columns:auto minmax(0,1fr);padding:14px;}
  body.cockpit-v8-active #a_supply .supply-prerequisite .btn{grid-column:1/-1;width:100%;justify-content:center;}
  body.cockpit-v8-active #a_supply .supply-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;}
  body.cockpit-v8-active #a_supply .supply-metric{padding:12px 11px;}
  body.cockpit-v8-active #a_supply .supply-metric small{font-size:8px;line-height:1.3;}
  body.cockpit-v8-active #a_supply .supply-metric b{font-size:19px;}
  body.cockpit-v8-active #a_supply .supply-metric span{font-size:9px;}
  body.cockpit-v8-active #a_supply .supply-filters .btn{flex:1 1 auto;justify-content:center;}
}

/* Catalogue & prix — même langage visuel que le cockpit fondateur. */
body.cockpit-v8-active #a_catalog>.content{
  min-height:100%;
  padding:24px 28px 32px;
  background:linear-gradient(145deg,#fbfcfa 0%,#f5f7f4 100%);
}
body.cockpit-v8-active #a_catalog .catalog-page{max-width:1320px;margin:0 auto;color:#17263a;}
body.cockpit-v8-active #a_catalog .catalog-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:22px;margin-bottom:17px;}
body.cockpit-v8-active #a_catalog .catalog-eyebrow{margin-bottom:4px;color:#3f7a68;font-size:10px;font-weight:600;letter-spacing:.11em;text-transform:uppercase;}
body.cockpit-v8-active #a_catalog .catalog-heading h1{margin:0;color:#15243b;font:600 34px/1.02 'Playfair Display',serif;letter-spacing:-.025em;}
body.cockpit-v8-active #a_catalog .catalog-heading h1::after{content:"";display:block;width:43px;height:3px;margin-top:9px;border-radius:99px;background:var(--cockpit-orange);}
body.cockpit-v8-active #a_catalog .catalog-heading p{max-width:720px;margin:8px 0 0;color:var(--muted);font-size:12px;line-height:1.55;}
body.cockpit-v8-active #a_catalog .catalog-trust{display:inline-flex;align-items:center;gap:7px;padding:7px 11px;border:1px solid #d8e5dd;border-radius:999px;background:#f0f6f2;color:#2f725f;font-size:9.5px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;white-space:nowrap;}
body.cockpit-v8-active #a_catalog .catalog-trust::before{content:"";width:6px;height:6px;border-radius:50%;background:#39815f;}
body.cockpit-v8-active #a_catalog .catalog-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0 0 12px;padding:5px;border:1px solid #e1e7e2;border-radius:16px;background:#edf2ee;}
body.cockpit-v8-active #a_catalog .catalog-tab{display:flex;min-width:0;min-height:58px;flex-direction:column;align-items:flex-start;justify-content:center;gap:3px;padding:10px 13px;border:1px solid transparent;border-radius:12px;background:transparent;color:#496159;text-align:left;cursor:pointer;transition:border-color .18s ease,background .18s ease,box-shadow .18s ease;}
body.cockpit-v8-active #a_catalog .catalog-tab span{font-size:11.5px;font-weight:700;}
body.cockpit-v8-active #a_catalog .catalog-tab small{overflow:hidden;max-width:100%;color:#7c8983;font-size:9.5px;line-height:1.25;text-overflow:ellipsis;white-space:nowrap;}
body.cockpit-v8-active #a_catalog .catalog-tab:hover{border-color:#d4ded7;background:#f7f9f7;}
body.cockpit-v8-active #a_catalog .catalog-tab.is-active{border-color:#c9d9d0;background:#fff;color:var(--cockpit-green);box-shadow:0 6px 18px rgba(19,53,45,.07);}
body.cockpit-v8-active #a_catalog .catalog-tab.is-active::after{content:"";width:26px;height:2px;margin-top:3px;border-radius:99px;background:var(--cockpit-orange);}
body.cockpit-v8-active #a_catalog .catalog-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 0 12px;}
body.cockpit-v8-active #a_catalog .catalog-metric{display:flex;min-width:0;min-height:112px;flex-direction:column;justify-content:space-between;padding:14px 16px;border:1px solid var(--cockpit-line);border-radius:15px;background:#fff;box-shadow:0 7px 22px rgba(19,53,45,.035);}
body.cockpit-v8-active #a_catalog .catalog-metric-top{display:flex;align-items:center;gap:8px;min-width:0;}
body.cockpit-v8-active #a_catalog .catalog-metric-index{display:grid;flex:0 0 23px;width:23px;height:23px;place-items:center;border-radius:7px;background:#edf4ef;color:#376f5e;font-size:8px;font-weight:750;}
body.cockpit-v8-active #a_catalog .catalog-metric small{overflow:hidden;color:#53675f;font-size:8.5px;font-weight:750;letter-spacing:.075em;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap;}
body.cockpit-v8-active #a_catalog .catalog-metric-value{display:flex;align-items:baseline;gap:7px;margin:9px 0 5px;}
body.cockpit-v8-active #a_catalog .catalog-metric-value b{color:var(--cockpit-green);font:600 25px/1 'Playfair Display',serif;}
body.cockpit-v8-active #a_catalog .catalog-metric-value strong{color:#31483f;font-size:10px;font-weight:650;line-height:1.25;}
body.cockpit-v8-active #a_catalog .catalog-metric>span{color:#7b8882;font-size:9.5px;line-height:1.35;}
body.cockpit-v8-active #a_catalog .catalog-metric.needs-action{border-color:#e8dbbd;background:#fffdf8;}
body.cockpit-v8-active #a_catalog .catalog-metric.has-alert{border-color:#edc9bd;background:#fff9f7;}
body.cockpit-v8-active #a_catalog .catalog-metric.has-alert .catalog-metric-index{background:#fbe7e0;color:#a74b31;}
body.cockpit-v8-active #a_catalog .catalog-metric.has-alert .catalog-metric-value b{color:#a74b31;}
body.cockpit-v8-active #a_catalog .catalog-section-label{margin-bottom:6px;color:#3f7a68;font-size:8.5px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;}
body.cockpit-v8-active #a_catalog .catalog-actions{align-items:center;}
body.cockpit-v8-active #a_catalog .catalog-action-note{max-width:610px;color:#718079;font-size:10.5px;line-height:1.45;}
body.cockpit-v8-active #a_catalog .catalog-page>.card,
body.cockpit-v8-active #a_catalog .catalog-page>form.card{margin:0 0 14px;padding:18px 20px;border:1px solid var(--cockpit-line);border-radius:18px;background:#fff;box-shadow:0 10px 32px rgba(19,53,45,.05);}
body.cockpit-v8-active #a_catalog .catalog-overview{padding:20px 22px!important;border-left:0!important;}
body.cockpit-v8-active #a_catalog .catalog-overview>.serif{color:#153f36!important;font:600 23px/1.22 'Playfair Display',serif!important;letter-spacing:-.015em;}
body.cockpit-v8-active #a_catalog .catalog-overview-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;}
body.cockpit-v8-active #a_catalog .catalog-overview-head .serif{color:#153f36;font:600 23px/1.22 'Playfair Display',serif;letter-spacing:-.015em;}
body.cockpit-v8-active #a_catalog .catalog-overview-head p{max-width:690px;margin:6px 0 0;color:#6f7d77;font-size:11px;line-height:1.5;}
body.cockpit-v8-active #a_catalog .catalog-progress-badge{flex:0 0 auto;padding:7px 10px;border:1px solid #d9e5de;border-radius:999px;background:#f1f6f3;color:#3b735f;font-size:9px;font-weight:700;white-space:nowrap;}
body.cockpit-v8-active #a_catalog .catalog-setup-flow{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin-top:18px;padding:14px;border:1px solid #e5eae6;border-radius:14px;background:#f8faf8;}
body.cockpit-v8-active #a_catalog .catalog-setup-step{position:relative;display:flex;align-items:center;gap:9px;min-width:0;padding:5px 13px;}
body.cockpit-v8-active #a_catalog .catalog-setup-step:not(:last-child)::after{content:"";position:absolute;top:50%;right:-1px;width:1px;height:30px;transform:translateY(-50%);background:#e0e6e2;}
body.cockpit-v8-active #a_catalog .catalog-setup-number{display:grid;flex:0 0 25px;width:25px;height:25px;place-items:center;border:1px solid #d6dfd9;border-radius:50%;background:#fff;color:#7a8982;font-size:9px;font-weight:750;}
body.cockpit-v8-active #a_catalog .catalog-setup-step>span:last-child{display:flex;min-width:0;flex-direction:column;gap:2px;}
body.cockpit-v8-active #a_catalog .catalog-setup-step b{overflow:hidden;color:#697870;font-size:9.5px;text-overflow:ellipsis;white-space:nowrap;}
body.cockpit-v8-active #a_catalog .catalog-setup-step small{overflow:hidden;color:#96a09b;font-size:8.5px;text-overflow:ellipsis;white-space:nowrap;}
body.cockpit-v8-active #a_catalog .catalog-setup-step.is-current .catalog-setup-number{border-color:var(--cockpit-orange);background:#fff2ed;color:#c74c2b;box-shadow:0 0 0 3px rgba(242,85,48,.08);}
body.cockpit-v8-active #a_catalog .catalog-setup-step.is-current b{color:#193e34;}
body.cockpit-v8-active #a_catalog .catalog-setup-step.is-done .catalog-setup-number{border-color:#2f745d;background:#2f745d;color:#fff;}
body.cockpit-v8-active #a_catalog .catalog-setup-step.is-done b{color:#2f6e59;}
body.cockpit-v8-active #a_catalog .catalog-page .card-t{color:var(--cockpit-green);font-size:11px;font-weight:650;letter-spacing:.055em;text-transform:uppercase;}
body.cockpit-v8-active #a_catalog .catalog-page .btn{min-height:35px;border-radius:10px;font-size:10.5px;box-shadow:none;}
body.cockpit-v8-active #a_catalog .catalog-page .btn.a{border-color:var(--cockpit-green);background:var(--cockpit-green);color:#fff;}
body.cockpit-v8-active #a_catalog .catalog-page .btn.g{border-color:#dfe6e1;background:#fff;color:#25493f;}
body.cockpit-v8-active #a_catalog .catalog-page .btn.g:hover{border-color:#b8cec4;background:#f5f8f5;}
body.cockpit-v8-active #a_catalog .catalog-more-actions{padding-top:4px;border-top:1px solid #edf0ec;}
body.cockpit-v8-active #a_catalog .catalog-more-actions>summary{padding-top:10px;font-weight:600;}
body.cockpit-v8-active #a_catalog .catalog-page table{border-collapse:collapse;}
body.cockpit-v8-active #a_catalog .catalog-page th{padding:11px 9px;color:#75817a;font-size:8.5px;font-weight:650;letter-spacing:.045em;text-transform:uppercase;}
body.cockpit-v8-active #a_catalog .catalog-page td{padding:11px 9px;border-top:1px solid #eef0ed;color:#31413a;font-size:10.5px;}
body.cockpit-v8-active #a_catalog .catalog-references>div:not(.card-t){border-color:#edf0ed!important;}
body.cockpit-v8-active #a_catalog .catalog-empty{min-height:138px;margin-top:13px;padding:22px 0 5px;border-top:1px solid #e9ece8;}
body.cockpit-v8-active #a_catalog .catalog-empty h2{margin:0 0 7px;color:#15243b;font:600 20px/1.2 'Playfair Display',serif;}
body.cockpit-v8-active #a_catalog .catalog-empty p{max-width:680px;margin:0;color:#6f7b75;font-size:11.5px;line-height:1.55;}
body.cockpit-v8-active #a_catalog .catalog-page input,
body.cockpit-v8-active #a_catalog .catalog-page select,
body.cockpit-v8-active #a_catalog .catalog-page textarea{border-color:#dfe5e0;border-radius:10px;background:#fff;font-size:11px;}
body.cockpit-v8-active #a_catalog .catalog-page input:focus,
body.cockpit-v8-active #a_catalog .catalog-page select:focus,
body.cockpit-v8-active #a_catalog .catalog-page textarea:focus{border-color:#7ea696;box-shadow:0 0 0 3px rgba(63,122,104,.1);outline:0;}
@media(max-width:820px){
  body.cockpit-v8-active #a_catalog .catalog-tabs{grid-template-columns:repeat(2,minmax(0,1fr));}
  body.cockpit-v8-active #a_catalog .catalog-metrics{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:560px){
  body.cockpit-v8-active #a_catalog>.content{padding:15px 14px 96px;}
  body.cockpit-v8-active #a_catalog .catalog-heading{align-items:flex-start;margin-bottom:14px;}
  body.cockpit-v8-active #a_catalog .catalog-heading h1{font-size:29px;}
  body.cockpit-v8-active #a_catalog .catalog-trust{font-size:8px;}
  body.cockpit-v8-active #a_catalog .catalog-tabs{gap:5px;padding:4px;border-radius:14px;}
  body.cockpit-v8-active #a_catalog .catalog-tab{min-height:54px;padding:8px 9px;}
  body.cockpit-v8-active #a_catalog .catalog-tab small{font-size:8.5px;}
  body.cockpit-v8-active #a_catalog .catalog-metrics{gap:7px;}
  body.cockpit-v8-active #a_catalog .catalog-metric{min-height:76px;padding:11px 12px;}
  body.cockpit-v8-active #a_catalog .catalog-metric{min-height:108px;}
  body.cockpit-v8-active #a_catalog .catalog-metric-value b{font-size:22px;}
  body.cockpit-v8-active #a_catalog .catalog-overview{padding:17px!important;}
  body.cockpit-v8-active #a_catalog .catalog-overview-head{align-items:flex-start;}
  body.cockpit-v8-active #a_catalog .catalog-overview-head .serif{font-size:21px;}
  body.cockpit-v8-active #a_catalog .catalog-progress-badge{font-size:8px;}
  body.cockpit-v8-active #a_catalog .catalog-setup-flow{grid-template-columns:1fr 1fr;gap:10px 0;padding:10px;}
  body.cockpit-v8-active #a_catalog .catalog-setup-step{padding:5px 8px;}
  body.cockpit-v8-active #a_catalog .catalog-setup-step:nth-child(2)::after{display:none;}
  body.cockpit-v8-active #a_catalog .catalog-actions .btn{flex:1 1 100%;justify-content:center;}
}

/* Commandes professionnelles — continuité visuelle avec le cockpit fondateur. */
body.cockpit-v8-active #a_orders>.content{
  min-height:100%;
  background:linear-gradient(145deg,#fbfcfa 0%,#f5f7f4 100%);
}
body.cockpit-v8-active #a_orders .b2b-app{
  max-width:1440px;
  margin:0 auto;
  color:#17263a;
}
body.cockpit-v8-active #a_orders .b2b-head{
  border-bottom-color:#e7ebe7;
  background:rgba(251,252,250,.96);
}
body.cockpit-v8-active #a_orders .b2b-eyebrow{
  display:block;
  margin-bottom:4px;
  color:#3f7a68;
  font-size:10px;
  font-weight:650;
  letter-spacing:.11em;
  text-transform:uppercase;
}
body.cockpit-v8-active #a_orders .b2b-title-row h1{
  color:#15243b;
  font-family:'Playfair Display',serif;
  font-size:34px;
  font-weight:600;
  line-height:1.04;
  letter-spacing:-.025em;
}
body.cockpit-v8-active #a_orders .b2b-title-row h1::after{
  content:"";
  display:block;
  width:43px;
  height:3px;
  margin-top:9px;
  border-radius:99px;
  background:var(--cockpit-orange);
}
body.cockpit-v8-active #a_orders .b2b-title-row p{
  max-width:720px;
  color:#6f7b75;
  font-size:12px;
  line-height:1.55;
}
body.cockpit-v8-active #a_orders .b2b-list-wrap,
body.cockpit-v8-active #a_orders .b2b-detail,
body.cockpit-v8-active #a_orders .b2b-empty{
  border-color:var(--cockpit-line);
  border-radius:18px;
  box-shadow:0 10px 32px rgba(19,53,45,.05);
}
body.cockpit-v8-active #a_orders .b2b-segments button{
  min-height:36px;
  border-radius:10px;
}
body.cockpit-v8-active #a_orders .b2b-segments button.active{
  color:#fff;
}
body.cockpit-v8-active #a_orders .b2b-primary{
  border-radius:10px;
  background:var(--cockpit-green);
}
body.cockpit-v8-active #a_orders .b2b-secondary{
  border-radius:10px;
}

@media(max-width:700px){
  body.cockpit-v8-active #a_catalog>.content{padding:0 16px calc(92px + env(safe-area-inset-bottom));}
  body.cockpit-v8-active #a_catalog .catalog-page{max-width:480px;}
  body.cockpit-v8-active #a_catalog .catalog-heading{display:block;margin:1px 0 15px;}
  body.cockpit-v8-active #a_catalog .catalog-eyebrow{display:none;}
  body.cockpit-v8-active #a_catalog .catalog-heading h1{font-size:30px;line-height:1.02;color:#202523;}
  body.cockpit-v8-active #a_catalog .catalog-heading h1::after{display:none;}
  body.cockpit-v8-active #a_catalog .catalog-heading p{margin-top:4px;color:#7d8580;font-size:12.5px;line-height:1.45;}
  body.cockpit-v8-active #a_catalog .catalog-trust{margin-top:9px;padding:7px 11px;font-size:9.5px;}
  body.cockpit-v8-active #a_catalog .catalog-page>.card,
  body.cockpit-v8-active #a_catalog .catalog-page>form.card{margin-bottom:14px;padding:17px;border-radius:18px;box-shadow:0 10px 30px rgba(19,53,45,.06);}
  body.cockpit-v8-active #a_catalog .catalog-overview{padding:18px 17px!important;}
  body.cockpit-v8-active #a_catalog .catalog-overview>.serif{font-size:20px!important;}
  body.cockpit-v8-active #a_catalog .catalog-overview .btn{width:100%;justify-content:center;}
  body.cockpit-v8-active #a_catalog .catalog-more-actions .btn{width:100%;}
  body.cockpit-v8-active #a_catalog .catalog-page .card-t>span{display:block;float:none!important;margin-top:4px;}
  body.cockpit-v8-active #a_catalog .catalog-preparation,
  body.cockpit-v8-active #a_catalog .catalog-references{overflow-x:auto;}
  body.cockpit-v8-active #a_catalog .catalog-preparation table{min-width:610px;}
  body.cockpit-v8-active #a_catalog .catalog-empty{min-height:110px;padding:18px 0 2px;}
  body.cockpit-v8-active #a_catalog .catalog-empty h2{font-size:19px;}
  body.cockpit-v8-active #a_catalog .catalog-empty p{font-size:11px;}
  body.cockpit-v8-active #a_orders .b2b-title-row h1{font-size:29px;}
  body.cockpit-v8-active #a_orders .b2b-eyebrow{font-size:9px;}
  body.cockpit-v8-active #a_orders .b2b-title-row p{font-size:11px;}
}

@media(max-width:900px){
  body.cockpit-v8-active #a_orders>.content{padding:0 16px calc(92px + env(safe-area-inset-bottom))!important;background:linear-gradient(180deg,#fff 0,#f8faf7 100%)!important;}
  body.cockpit-v8-active #a_orders .b2b-app{max-width:480px;}
  body.cockpit-v8-active #a_orders .b2b-mobile-brand{position:static;z-index:auto;width:100%;height:88px;padding:0;border:0;background:transparent;color:var(--cockpit-green);}
  body.cockpit-v8-active #a_orders .b2b-mobile-brand::before{display:none;}
  body.cockpit-v8-active #a_orders .b2b-mobile-brand .brand-board-window{width:146px;height:62px;display:flex;align-items:center;overflow:hidden;flex:0 0 auto;}
  body.cockpit-v8-active #a_orders .b2b-mobile-brand .brand-board-window img{display:block!important;width:146px;height:62px;max-width:100%;object-fit:contain;object-position:left center;}
  body.cockpit-v8-active #a_orders .b2b-title-row{display:block;min-height:0;padding:1px 0 0;}
  body.cockpit-v8-active #a_orders .b2b-eyebrow{display:none;}
  body.cockpit-v8-active #a_orders .b2b-title-row h1{font-size:30px;line-height:1.02;color:#202523;}
  body.cockpit-v8-active #a_orders .b2b-title-row h1::after{display:none;}
  body.cockpit-v8-active #a_orders .b2b-title-row p{margin-top:4px;color:#7d8580;font-size:12.5px;font-weight:400;line-height:1.45;}
  body.cockpit-v8-active #a_orders .b2b-title-row small{display:inline-flex;margin-top:9px;padding:7px 11px;border:1px solid #d8e5dd;border-radius:999px;background:#f0f6f2;color:#2f725f;font-size:9px;font-weight:600;letter-spacing:.05em;text-transform:uppercase;}
  body.cockpit-v8-active #a_orders .b2b-head-actions{position:static;display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:8px;margin-top:13px;}
  body.cockpit-v8-active #a_orders .b2b-segments{margin:15px 0 0;border-radius:14px;}
  body.cockpit-v8-active #a_orders .b2b-segments button{min-height:48px;padding:0 10px;font-size:10.5px;}
  body.cockpit-v8-active #a_orders .b2b-filter-panel{margin:10px 0 0;}
  body.cockpit-v8-active #a_orders .b2b-workspace{margin-top:14px;background:transparent;}
  body.cockpit-v8-active #a_orders .b2b-list-wrap{padding:0;}
  body.cockpit-v8-active #a_orders .b2b-empty{min-height:0;padding:34px 20px;border:1px solid var(--cockpit-line);border-radius:18px;background:#fff;box-shadow:0 10px 30px rgba(19,53,45,.06);}
  body.cockpit-v8-active #a_orders .b2b-empty h2{margin:0 0 8px;font-size:21px;line-height:1.16;color:#15243b;}
  body.cockpit-v8-active #a_orders .b2b-empty p{margin:0 auto 14px;max-width:310px;color:#6f7b75;font-size:11.5px;line-height:1.5;}
}

/* Stock et disponibilité — lecture opérationnelle dans la DA du cockpit. */
body.cockpit-v8-active #a_stock>.content{
  min-height:100%;
  padding:24px 28px 32px;
  background:linear-gradient(145deg,#fbfcfa 0%,#f5f7f4 100%);
}
body.cockpit-v8-active #a_stock .stock-page{max-width:1320px;margin:0 auto;color:#17263a;}
body.cockpit-v8-active #a_stock .stock-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:22px;margin-bottom:17px;}
body.cockpit-v8-active #a_stock .stock-eyebrow{margin-bottom:4px;color:#3f7a68;font-size:10px;font-weight:650;letter-spacing:.11em;text-transform:uppercase;}
body.cockpit-v8-active #a_stock .stock-heading h1{margin:0;color:#15243b;font:600 34px/1.02 'Playfair Display',serif;letter-spacing:-.025em;}
body.cockpit-v8-active #a_stock .stock-heading h1::after{content:"";display:block;width:43px;height:3px;margin-top:9px;border-radius:99px;background:var(--cockpit-orange);}
body.cockpit-v8-active #a_stock .stock-heading p{max-width:720px;margin:8px 0 0;color:var(--muted);font-size:12px;line-height:1.55;}
body.cockpit-v8-active #a_stock .stock-trust{display:inline-flex;align-items:center;gap:7px;padding:7px 11px;border:1px solid #d8e5dd;border-radius:999px;background:#f0f6f2;color:#2f725f;font-size:9.5px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;white-space:nowrap;}
body.cockpit-v8-active #a_stock .stock-trust::before{content:"";width:6px;height:6px;border-radius:50%;background:#39815f;}
body.cockpit-v8-active #a_stock .stock-overview{margin:0 0 14px;padding:20px 21px 16px;border:1px solid var(--cockpit-line);border-radius:19px;background:#fff;box-shadow:0 10px 32px rgba(19,53,45,.05);}
body.cockpit-v8-active #a_stock .stock-overview-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;}
body.cockpit-v8-active #a_stock .stock-overview-head h2,
body.cockpit-v8-active #a_stock .stock-section-heading h2{margin:3px 0 0;color:#173d34;font:600 20px/1.15 'Playfair Display',serif;letter-spacing:-.018em;text-transform:none;}
body.cockpit-v8-active #a_stock .stock-overview-head p,
body.cockpit-v8-active #a_stock .stock-section-heading p{max-width:720px;margin:6px 0 0;color:#6f7b75;font-size:10.5px;font-weight:400;line-height:1.5;letter-spacing:0;text-transform:none;}
body.cockpit-v8-active #a_stock .stock-section-kicker{display:block;color:#4c806f;font-size:8.5px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;}
body.cockpit-v8-active #a_stock .stock-overview-count,
body.cockpit-v8-active #a_stock .stock-section-heading>span{flex:0 0 auto;padding:5px 9px;border-radius:999px;background:#eff5f1;color:#3b705f;font-size:8.5px;font-weight:650;letter-spacing:.025em;text-transform:none;white-space:nowrap;}
body.cockpit-v8-active #a_stock .stock-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin-top:16px;border-top:1px solid #e8ece8;border-bottom:1px solid #e8ece8;}
body.cockpit-v8-active #a_stock .stock-summary-item{min-width:0;padding:15px 18px 14px;}
body.cockpit-v8-active #a_stock .stock-summary-item:first-child{padding-left:0;}
body.cockpit-v8-active #a_stock .stock-summary-item+.stock-summary-item{border-left:1px solid #e8ece8;}
body.cockpit-v8-active #a_stock .stock-summary-item>span{display:block;min-height:24px;color:#707c75;font-size:8.5px;font-weight:650;letter-spacing:.055em;line-height:1.35;text-transform:uppercase;}
body.cockpit-v8-active #a_stock .stock-summary-item>b{display:block;margin:4px 0 3px;color:#153f36;font:500 24px/1 'JetBrains Mono',monospace;letter-spacing:-.04em;}
body.cockpit-v8-active #a_stock .stock-summary-item small{display:block;color:#8a938e;font-size:8.8px;line-height:1.35;}
body.cockpit-v8-active #a_stock .stock-summary-item.is-warning>b{color:#9a6823;}
body.cockpit-v8-active #a_stock .stock-start-guide{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) auto;align-items:center;gap:13px;margin-top:15px;padding:14px;border:1px solid #dce7df;border-radius:15px;background:#f3f7f4;}
body.cockpit-v8-active #a_stock .stock-start-step{display:flex;align-items:center;gap:9px;min-width:0;}
body.cockpit-v8-active #a_stock .stock-start-step>b{display:grid;width:27px;height:27px;flex:0 0 auto;place-items:center;border-radius:9px;background:#fff;color:#2f725f;font:600 11px 'JetBrains Mono',monospace;box-shadow:0 2px 8px rgba(19,53,45,.06);}
body.cockpit-v8-active #a_stock .stock-start-step strong,
body.cockpit-v8-active #a_stock .stock-start-step small{display:block;}
body.cockpit-v8-active #a_stock .stock-start-step strong{color:#24483e;font-size:10px;line-height:1.25;}
body.cockpit-v8-active #a_stock .stock-start-step small{margin-top:2px;color:#77827c;font-size:8.8px;line-height:1.35;}
body.cockpit-v8-active #a_stock .stock-start-guide .btn{white-space:nowrap;}
body.cockpit-v8-active #a_stock .stock-toolbar{display:grid;grid-template-columns:minmax(220px,1fr) minmax(190px,250px) auto;align-items:end;gap:10px;margin-top:14px;}
body.cockpit-v8-active #a_stock .stock-search>span,
body.cockpit-v8-active #a_stock .stock-filter>span{display:block;margin:0 0 4px;color:#738078;font-size:8.5px;font-weight:650;letter-spacing:.055em;text-transform:uppercase;}
body.cockpit-v8-active #a_stock .stock-search input,
body.cockpit-v8-active #a_stock .stock-filter select{width:100%;min-height:37px;padding:8px 11px;border:1px solid #dce4df;border-radius:10px;background:#fbfcfa;color:#263d35;font-size:10.5px;box-sizing:border-box;outline:none;}
body.cockpit-v8-active #a_stock .stock-search input:focus,
body.cockpit-v8-active #a_stock .stock-filter select:focus{border-color:#609783;box-shadow:0 0 0 3px rgba(96,151,131,.12);}
body.cockpit-v8-active #a_stock .stock-filter-result{padding:0 0 10px;color:#7d8782;font-size:9.5px;white-space:nowrap;}
body.cockpit-v8-active #a_stock .stock-jump-nav{display:flex;gap:6px;flex-wrap:wrap;margin-top:13px;}
body.cockpit-v8-active #a_stock .stock-jump-nav button{padding:6px 10px;border:1px solid #dfe6e1;border-radius:999px;background:#fff;color:#315e51;font:600 9.5px var(--sys);cursor:pointer;}
body.cockpit-v8-active #a_stock .stock-jump-nav button:hover{border-color:#a8c7bb;background:#f2f7f4;}
body.cockpit-v8-active #a_stock .stock-page>.card,
body.cockpit-v8-active #a_stock .stock-page>[data-gervis="bloc-ouverture"]>.card,
body.cockpit-v8-active #a_stock .stock-page>[data-gervis="carte-inventaire"]{
  margin:0 0 14px;
  padding:18px 20px;
  overflow:hidden;
  border:1px solid var(--cockpit-line);
  border-radius:18px;
  background:#fff;
  box-shadow:0 10px 32px rgba(19,53,45,.05);
}
body.cockpit-v8-active #a_stock .card-t{color:var(--cockpit-green);font-size:11px;font-weight:650;letter-spacing:.055em;text-transform:uppercase;}
body.cockpit-v8-active #a_stock .stock-section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:14px;}
body.cockpit-v8-active #a_stock table{width:100%;border-collapse:collapse;}
body.cockpit-v8-active #a_stock th{padding:11px 9px;color:#75817a;font-size:8.5px;font-weight:650;letter-spacing:.045em;text-transform:uppercase;}
body.cockpit-v8-active #a_stock td{padding:11px 9px;border-top:1px solid #eef0ed;color:#31413a;font-size:10.5px;}
body.cockpit-v8-active #a_stock .stock-capacity{gap:14px!important;padding:13px 15px!important;border:1px solid #d8e5dd!important;border-radius:14px!important;background:#f1f7f3!important;}
body.cockpit-v8-active #a_stock .stock-capacity span{display:flex;flex:1;flex-direction:column;gap:3px;line-height:1.35;}
body.cockpit-v8-active #a_stock .stock-capacity b{font-size:12px;}
body.cockpit-v8-active #a_stock .stock-capacity small{color:#66756e;font-size:10.5px;line-height:1.45;}
body.cockpit-v8-active #a_stock .btn{min-height:35px;border-radius:10px;font-size:10.5px;box-shadow:none;}
body.cockpit-v8-active #a_stock .btn.a{border-color:var(--cockpit-green);background:var(--cockpit-green);color:#fff;}
body.cockpit-v8-active #a_stock .btn.g{border-color:#dfe6e1;background:#fff;color:#25493f;}
body.cockpit-v8-active #a_stock [data-gervis="valeur-du-stock"] .kpis{gap:10px;}
body.cockpit-v8-active #a_stock [data-gervis="valeur-du-stock"] .kpi{border-color:#e7ebe7;border-radius:15px;box-shadow:none;}
body.cockpit-v8-active #a_stock [data-gervis="valeur-du-stock"] .kpi b{color:#153f36;font:600 19px/1.15 'JetBrains Mono',monospace;letter-spacing:-.035em;}
body.cockpit-v8-active #a_stock [data-gervis="valeur-du-stock"] .absent{color:#6f7b75;font:600 15px/1.2 'JetBrains Mono',monospace;font-style:normal;}
body.cockpit-v8-active #a_stock [data-gervis="valeur-du-stock"] .delta{color:#7d8782;font-size:9.5px;line-height:1.35;}
body.cockpit-v8-active #a_stock .stock-inventory-intro{margin-top:9px;max-width:760px;color:#6f7b75;font-size:11.5px;line-height:1.5;}
body.cockpit-v8-active #a_stock .stock-inventory-action{display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,240px) auto;align-items:end;gap:12px;margin-top:14px;padding:14px;border:1px solid #dce7df;border-radius:14px;background:#f3f7f4;}
body.cockpit-v8-active #a_stock .stock-inventory-action.has-open-inventory{margin-bottom:11px;}
body.cockpit-v8-active #a_stock .stock-inventory-action.is-blocked{grid-template-columns:minmax(0,1fr) auto;background:#f7f8f6;border-color:#e3e7e3;}
body.cockpit-v8-active #a_stock .stock-inventory-action-copy{min-width:0;}
body.cockpit-v8-active #a_stock .stock-inventory-action-copy b{display:block;margin-bottom:3px;color:#24483e;font-size:11.5px;line-height:1.3;}
body.cockpit-v8-active #a_stock .stock-inventory-action-copy span{display:block;max-width:680px;color:#68756f;font-size:10.5px;line-height:1.45;}
body.cockpit-v8-active #a_stock .stock-inventory-action select{min-height:35px;padding:7px 10px;border:1px solid #d8e1db;border-radius:10px;background:#fff;color:#253b34;font-size:11px;}
body.cockpit-v8-active #a_stock .stock-inventory-action .btn{min-width:148px;justify-content:center;}
body.cockpit-v8-active #a_stock .stock-inventory-action .btn:disabled{border-color:#d9dfdb;background:#e6ebe7;color:#748079;opacity:1;cursor:not-allowed;}

@media(max-width:700px){
  body.cockpit-v8-active #a_stock>.content{padding:0 16px calc(92px + env(safe-area-inset-bottom));background:linear-gradient(180deg,#fff 0,#f8faf7 100%);}
  body.cockpit-v8-active #a_stock .stock-page{max-width:480px;}
  body.cockpit-v8-active #a_stock .stock-heading{display:block;margin:1px 0 15px;}
  body.cockpit-v8-active #a_stock .stock-eyebrow{display:none;}
  body.cockpit-v8-active #a_stock .stock-heading h1{color:#202523;font-size:30px;line-height:1.02;}
  body.cockpit-v8-active #a_stock .stock-heading h1::after{display:none;}
  body.cockpit-v8-active #a_stock .stock-heading p{margin-top:4px;color:#7d8580;font-size:12.5px;line-height:1.45;}
  body.cockpit-v8-active #a_stock .stock-trust{margin-top:9px;padding:7px 11px;font-size:9.5px;}
  body.cockpit-v8-active #a_stock .stock-overview{margin-bottom:14px;padding:16px 15px 14px;border-radius:18px;box-shadow:0 10px 30px rgba(19,53,45,.06);}
  body.cockpit-v8-active #a_stock .stock-overview-head{display:block;}
  body.cockpit-v8-active #a_stock .stock-overview-head h2,
  body.cockpit-v8-active #a_stock .stock-section-heading h2{font-size:19px;line-height:1.15;}
  body.cockpit-v8-active #a_stock .stock-overview-head p,
  body.cockpit-v8-active #a_stock .stock-section-heading p{font-size:10.5px;line-height:1.45;}
  body.cockpit-v8-active #a_stock .stock-overview-count{display:inline-flex;margin-top:9px;}
  body.cockpit-v8-active #a_stock .stock-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:13px;}
  body.cockpit-v8-active #a_stock .stock-summary-item{padding:12px 10px;}
  body.cockpit-v8-active #a_stock .stock-summary-item:nth-child(odd){padding-left:0;border-left:0;}
  body.cockpit-v8-active #a_stock .stock-summary-item:nth-child(even){padding-right:0;border-left:1px solid #e8ece8;}
  body.cockpit-v8-active #a_stock .stock-summary-item:nth-child(n+3){border-top:1px solid #e8ece8;}
  body.cockpit-v8-active #a_stock .stock-summary-item>b{font-size:21px;}
  body.cockpit-v8-active #a_stock .stock-summary-item>span{min-height:22px;font-size:7.8px;}
  body.cockpit-v8-active #a_stock .stock-summary-item small{font-size:8.3px;}
  body.cockpit-v8-active #a_stock .stock-start-guide{grid-template-columns:1fr;align-items:stretch;gap:10px;margin-top:13px;padding:13px;}
  body.cockpit-v8-active #a_stock .stock-start-guide .btn{width:100%;justify-content:center;margin-top:2px;}
  body.cockpit-v8-active #a_stock .stock-toolbar{grid-template-columns:1fr;align-items:stretch;gap:9px;margin-top:13px;}
  body.cockpit-v8-active #a_stock .stock-filter-result{padding:0;}
  body.cockpit-v8-active #a_stock .stock-jump-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;}
  body.cockpit-v8-active #a_stock .stock-jump-nav button{min-height:34px;padding:7px 8px;border-radius:10px;font-size:8.8px;}
  body.cockpit-v8-active #a_stock .stock-page>.card,
  body.cockpit-v8-active #a_stock .stock-page>[data-gervis="bloc-ouverture"]>.card,
  body.cockpit-v8-active #a_stock .stock-page>[data-gervis="carte-inventaire"]{margin-bottom:14px;padding:17px;border-radius:18px;box-shadow:0 10px 30px rgba(19,53,45,.06);}
  body.cockpit-v8-active #a_stock .stock-section-heading{display:block;margin-bottom:12px;}
  body.cockpit-v8-active #a_stock .stock-section-heading>span{display:inline-flex;margin-top:8px;}
  body.cockpit-v8-active #a_stock .stock-card{overflow:visible;}
  body.cockpit-v8-active #a_stock .stock-card table:not(:has(td[colspan])){min-width:0;}
  body.cockpit-v8-active #a_stock .stock-card table:not(:has(td[colspan])) tr:first-child{display:none;}
  body.cockpit-v8-active #a_stock .stock-card table:not(:has(td[colspan])) tr[data-stock-row]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;margin-top:9px;padding:12px;border:1px solid #e4eae5;border-radius:13px;background:#fbfcfa;}
  body.cockpit-v8-active #a_stock .stock-card table:not(:has(td[colspan])) tr[data-stock-row][hidden]{display:none;}
  body.cockpit-v8-active #a_stock .stock-card tr[data-stock-row] td{display:block;padding:8px 7px;border:0;text-align:left;overflow-wrap:anywhere;}
  body.cockpit-v8-active #a_stock .stock-card tr[data-stock-row] td:first-child{grid-column:1/-1;padding-top:2px;border-bottom:1px solid #e8ece8;color:#183d34;font-size:11.5px;font-weight:650;}
  body.cockpit-v8-active #a_stock .stock-card tr[data-stock-row] td::before{content:attr(data-label);display:block;margin-bottom:4px;color:#839089;font-size:7.5px;font-weight:700;letter-spacing:.055em;text-transform:uppercase;}
  body.cockpit-v8-active #a_stock .stock-card tr[data-stock-row] td:first-child::before{display:none;}
  body.cockpit-v8-active #a_stock .stock-card table:has(td[colspan]) tr:first-child{display:none;}
  body.cockpit-v8-active #a_stock .stock-card td[colspan]{padding:15px 0 12px;border:0;color:#7d8580!important;font-size:11.5px;font-style:normal!important;}
  body.cockpit-v8-active #a_stock .stock-capacity{align-items:stretch!important;flex-direction:column;}
  body.cockpit-v8-active #a_stock .stock-capacity .btn{width:100%;justify-content:center;}
  body.cockpit-v8-active #a_stock [data-gervis="valeur-du-stock"] .card-t>span{display:block;float:none!important;margin-top:4px;}
  body.cockpit-v8-active #a_stock [data-gervis="valeur-du-stock"] .kpis{grid-template-columns:repeat(2,minmax(0,1fr));}
  body.cockpit-v8-active #a_stock [data-gervis="valeur-du-stock"] .kpi{min-width:0;padding:13px 12px;}
  body.cockpit-v8-active #a_stock [data-gervis="valeur-du-stock"] .kpi b{font-size:16px;overflow-wrap:anywhere;}
  body.cockpit-v8-active #a_stock [data-gervis="valeur-du-stock"] .absent{font-size:13px;}
  body.cockpit-v8-active #a_stock .stock-inventory-intro{font-size:11.5px;line-height:1.5;}
  body.cockpit-v8-active #a_stock .stock-inventory-action,
  body.cockpit-v8-active #a_stock .stock-inventory-action.is-blocked{grid-template-columns:1fr;align-items:stretch;gap:11px;margin-top:13px;padding:13px;}
  body.cockpit-v8-active #a_stock .stock-inventory-action-copy b{font-size:11px;}
  body.cockpit-v8-active #a_stock .stock-inventory-action-copy span{font-size:10.5px;}
  body.cockpit-v8-active #a_stock .stock-inventory-action select,
  body.cockpit-v8-active #a_stock .stock-inventory-action .btn{width:100%;min-width:0;}
}

/* Rentabilité par référence — prolongement de la direction artistique du cockpit. */
body.cockpit-v8-active #a_sim>.content{
  min-height:100%;
  padding:24px 28px 32px;
  background:linear-gradient(145deg,#fbfcfa 0%,#f5f7f4 100%);
}
body.cockpit-v8-active #a_sim .profitability-page{max-width:1320px;margin:0 auto;color:#17263a;}
body.cockpit-v8-active #a_sim .profitability-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:22px;margin-bottom:17px;}
body.cockpit-v8-active #a_sim .profitability-eyebrow{margin-bottom:4px;color:#3f7a68;font-size:10px;font-weight:600;letter-spacing:.11em;text-transform:uppercase;}
body.cockpit-v8-active #a_sim .profitability-heading h1{margin:0;font:600 34px/1.02 'Playfair Display',serif;letter-spacing:-.025em;color:#15243b;}
body.cockpit-v8-active #a_sim .profitability-heading h1::after{content:"";display:block;width:43px;height:3px;margin-top:9px;border-radius:99px;background:var(--cockpit-orange);}
body.cockpit-v8-active #a_sim .profitability-heading p{max-width:700px;margin:8px 0 0;color:var(--muted);font-size:12px;line-height:1.55;}
body.cockpit-v8-active #a_sim .profitability-trust{display:inline-flex;align-items:center;gap:7px;padding:7px 11px;border:1px solid #d8e5dd;border-radius:999px;background:#f0f6f2;color:#2f725f;font-size:9.5px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;white-space:nowrap;}
body.cockpit-v8-active #a_sim .profitability-trust::before{content:"";width:6px;height:6px;border-radius:50%;background:#39815f;}
body.cockpit-v8-active #a_sim .profitability-summary,
body.cockpit-v8-active #a_sim .profitability-references{overflow:hidden;border:1px solid var(--cockpit-line);border-radius:19px;background:#fff;box-shadow:0 10px 32px rgba(19,53,45,.05);}
body.cockpit-v8-active #a_sim .profitability-summary{padding:19px 21px 18px;}
body.cockpit-v8-active #a_sim .profitability-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;}
body.cockpit-v8-active #a_sim .profitability-section-head>span{color:#8a948e;font-size:9.5px;white-space:nowrap;}
body.cockpit-v8-active #a_sim .profitability-section-title{display:flex;align-items:center;gap:10px;color:var(--cockpit-green);font-size:12px;font-weight:600;letter-spacing:.055em;text-transform:uppercase;}
body.cockpit-v8-active #a_sim .profitability-section-icon{display:grid;width:36px;height:36px;place-items:center;border-radius:11px;background:#f1f4ef;color:var(--cockpit-green);font:600 14px 'JetBrains Mono',monospace;}
body.cockpit-v8-active #a_sim .profitability-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin-top:16px;border-top:1px solid #e9ece8;}
body.cockpit-v8-active #a_sim .profitability-metric{min-width:0;padding:15px 18px 3px;}
body.cockpit-v8-active #a_sim .profitability-metric:first-child{padding-left:0;}
body.cockpit-v8-active #a_sim .profitability-metric+.profitability-metric{border-left:1px solid #e9ece8;}
body.cockpit-v8-active #a_sim .profitability-metric small{display:block;min-height:25px;color:#7b8580;font-size:9.5px;line-height:1.35;text-transform:uppercase;letter-spacing:.045em;}
body.cockpit-v8-active #a_sim .profitability-metric b{display:block;margin:6px 0 4px;color:#153f36;font:500 clamp(18px,1.8vw,23px)/1.12 'JetBrains Mono',monospace;letter-spacing:-.035em;overflow-wrap:anywhere;}
body.cockpit-v8-active #a_sim .profitability-metric>span{display:block;color:#929a95;font-size:9.5px;line-height:1.35;}
body.cockpit-v8-active #a_sim .profitability-insight{margin:14px 0;padding:16px 18px;border:1px solid #eadfc7;border-left:3px solid #c58a2b;border-radius:16px;background:#fff8ed;}
body.cockpit-v8-active #a_sim .profitability-insight.is-complete{border-color:#d8e5dd;border-left-color:#39815f;background:#f1f7f3;}
body.cockpit-v8-active #a_sim .profitability-insight-label{margin-bottom:7px;color:#486e60;font-size:9px;font-weight:700;letter-spacing:.09em;text-transform:uppercase;}
body.cockpit-v8-active #a_sim .profitability-insight-body{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;}
body.cockpit-v8-active #a_sim .profitability-insight strong{display:block;color:#173d34;font-size:13px;line-height:1.35;}
body.cockpit-v8-active #a_sim .profitability-insight p{margin:4px 0 0;color:#68756f;font-size:11px;line-height:1.5;}
body.cockpit-v8-active #a_sim .profitability-insight-signal{flex:0 0 auto;padding:5px 9px;border:1px solid #e4d3ad;border-radius:999px;background:#fff;color:#8b6320;font-size:9px;font-weight:600;white-space:nowrap;}
body.cockpit-v8-active #a_sim .profitability-insight.is-complete .profitability-insight-signal{border-color:#cfe1d6;color:#2f725f;}
body.cockpit-v8-active #a_sim .profitability-reserve{margin-top:9px;padding-top:9px;border-top:1px solid rgba(139,99,32,.14);color:#786846;font-size:10px;line-height:1.45;}
body.cockpit-v8-active #a_sim .profitability-references{padding:19px 21px;}
body.cockpit-v8-active #a_sim .profitability-empty{display:flex;align-items:center;min-height:150px;margin-top:14px;padding:24px 0 8px;border-top:1px solid #e9ece8;}
body.cockpit-v8-active #a_sim .profitability-empty>div{max-width:670px;}
body.cockpit-v8-active #a_sim .profitability-empty h2{margin:0 0 7px;color:#15243b;font:600 21px/1.2 'Playfair Display',serif;letter-spacing:-.015em;}
body.cockpit-v8-active #a_sim .profitability-empty p{margin:0;color:#6f7b75;font-size:11.5px;line-height:1.55;}
body.cockpit-v8-active #a_sim .profitability-table-wrap{margin-top:15px;overflow-x:auto;border-top:1px solid #e9ece8;}
body.cockpit-v8-active #a_sim .profitability-table{width:100%;border-collapse:collapse;font-size:10.5px;}
body.cockpit-v8-active #a_sim .profitability-table th{padding:12px 10px;color:#748079;font-size:8.5px;font-weight:650;letter-spacing:.045em;text-align:left;text-transform:uppercase;white-space:nowrap;}
body.cockpit-v8-active #a_sim .profitability-table td{padding:12px 10px;border-top:1px solid #eef0ed;color:#31413a;vertical-align:top;}
body.cockpit-v8-active #a_sim .profitability-table .num{text-align:right;white-space:nowrap;}
body.cockpit-v8-active #a_sim .profitability-method{margin-top:12px;padding:14px 17px;border:1px solid var(--cockpit-line);border-radius:14px;background:rgba(255,255,255,.72);color:#53625b;}
body.cockpit-v8-active #a_sim .profitability-method summary{color:#2f725f;font-size:10.5px;font-weight:600;cursor:pointer;}
body.cockpit-v8-active #a_sim .profitability-method div{padding-top:8px;font-size:10.5px;line-height:1.5;}
body.cockpit-v8-active #a_sim .profitability-method p{margin:0;}
body.cockpit-v8-active #a_sim .profitability-method ul{margin:8px 0 0;padding-left:18px;}

@media(max-width:1040px){
  body.cockpit-v8-active #a_sim .profitability-metrics{grid-template-columns:repeat(2,minmax(0,1fr));}
  body.cockpit-v8-active #a_sim .profitability-metric:nth-child(3){border-left:0;border-top:1px solid #e9ece8;padding-left:0;}
  body.cockpit-v8-active #a_sim .profitability-metric:nth-child(4){border-top:1px solid #e9ece8;}
}

@media(max-width:700px){
  body.cockpit-v8-active #a_sim>.content{padding:18px 14px calc(92px + env(safe-area-inset-bottom));}
  body.cockpit-v8-active #a_sim .profitability-heading{align-items:flex-start;flex-direction:column;gap:11px;margin-bottom:14px;}
  body.cockpit-v8-active #a_sim .profitability-eyebrow{font-size:9px;}
  body.cockpit-v8-active #a_sim .profitability-heading h1{font-size:27px;line-height:1.06;}
  body.cockpit-v8-active #a_sim .profitability-heading p{font-size:11px;line-height:1.5;}
  body.cockpit-v8-active #a_sim .profitability-trust{padding:6px 9px;font-size:8.5px;}
  body.cockpit-v8-active #a_sim .profitability-summary,
  body.cockpit-v8-active #a_sim .profitability-references{padding:15px;border-radius:16px;}
  body.cockpit-v8-active #a_sim .profitability-section-title{font-size:10.5px;letter-spacing:.045em;}
  body.cockpit-v8-active #a_sim .profitability-section-icon{width:32px;height:32px;border-radius:10px;font-size:12px;}
  body.cockpit-v8-active #a_sim .profitability-section-head>span{font-size:8.5px;}
  body.cockpit-v8-active #a_sim .profitability-metrics{margin-top:13px;}
  body.cockpit-v8-active #a_sim .profitability-metric{padding:12px 10px;}
  body.cockpit-v8-active #a_sim .profitability-metric:nth-child(odd){padding-left:0;}
  body.cockpit-v8-active #a_sim .profitability-metric:nth-child(even){padding-right:0;}
  body.cockpit-v8-active #a_sim .profitability-metric small{min-height:23px;font-size:8px;}
  body.cockpit-v8-active #a_sim .profitability-metric b{font-size:18px;}
  body.cockpit-v8-active #a_sim .profitability-metric>span{font-size:8px;}
  body.cockpit-v8-active #a_sim .profitability-insight{margin:12px 0;padding:14px 14px 13px;}
  body.cockpit-v8-active #a_sim .profitability-insight-body{align-items:flex-start;flex-direction:column;gap:10px;}
  body.cockpit-v8-active #a_sim .profitability-insight strong{font-size:11.5px;}
  body.cockpit-v8-active #a_sim .profitability-insight p{font-size:10px;}
  body.cockpit-v8-active #a_sim .profitability-empty{min-height:130px;margin-top:12px;padding:21px 0 6px;}
  body.cockpit-v8-active #a_sim .profitability-empty h2{font-size:19px;}
  body.cockpit-v8-active #a_sim .profitability-empty p{font-size:10.5px;}
  body.cockpit-v8-active #a_sim .profitability-table-wrap{margin-right:-15px;margin-left:-15px;padding:0 15px;}
  body.cockpit-v8-active #a_sim .profitability-table{min-width:760px;}
  body.cockpit-v8-active #a_sim .profitability-method{padding:13px 14px;}
}

body.cockpit-v8-active #a_dash>.content {
  padding:24px 28px 30px;
  background:linear-gradient(145deg,#fbfcfa 0%,#f5f7f4 100%);
}
.brand-wordmark{display:block;width:150px;height:auto;object-fit:contain;object-position:left center;}
.mobile-drawer-close{display:none;}
.cockpit-v8{max-width:1320px;margin:0 auto;}
.cockpit-mobile-brand{display:none;}
.cockpit-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:17px;}
.cockpit-eyebrow{font-size:10px;font-weight:600;letter-spacing:.11em;text-transform:uppercase;color:#3f7a68;margin-bottom:4px;}
.cockpit-title{font:600 34px/1.02 'Playfair Display',serif;color:#15243b;letter-spacing:-.025em;}
.mobile-title{display:none;}
.cockpit-title::after{content:"";display:block;width:43px;height:3px;border-radius:99px;background:var(--cockpit-orange);margin-top:9px;}
.cockpit-subtitle{font-size:12px;color:var(--muted);margin-top:8px;}
.cockpit-demo{display:inline-flex;align-items:center;gap:7px;border:1px solid #ead8ad;background:#fff8e8;color:#8a6324;border-radius:999px;padding:7px 11px;font-size:9.5px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;white-space:nowrap;}
.cockpit-demo::before{content:"";width:6px;height:6px;border-radius:50%;background:#d6a44a;}

.cockpit-primary-grid,.cockpit-secondary-grid{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(280px,.9fr);gap:17px;align-items:stretch;}
.cockpit-secondary-grid{margin-top:17px;}
.cockpit-card{background:#fff;border:1px solid var(--cockpit-line);border-radius:19px;box-shadow:0 10px 32px rgba(19,53,45,.05);}
.cockpit-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px;}
.cockpit-card-title{display:flex;align-items:center;gap:10px;color:var(--cockpit-green);font-size:12px;font-weight:600;letter-spacing:.055em;text-transform:uppercase;}
.cockpit-card-action{border:0;background:transparent;color:#2f725f;font:600 11px var(--sys);cursor:pointer;white-space:nowrap;}
.cockpit-icon{width:36px;height:36px;border-radius:11px;display:grid;place-items:center;background:#f1f4ef;color:var(--cockpit-green);flex:0 0 auto;}
.cockpit-icon svg{width:18px;height:18px;stroke:currentColor;stroke-width:1.75;fill:none;}

.money-card{position:relative;overflow:hidden;min-height:274px;padding:22px 24px;background:linear-gradient(132deg,#13483c 0%,#0d372f 60%,#092a24 100%);border:1px solid rgba(255,255,255,.08);border-radius:21px;color:#fff;box-shadow:0 18px 42px rgba(9,42,34,.18);}
.money-card::after{content:"";position:absolute;width:280px;height:280px;right:-96px;top:-145px;border-radius:50%;background:radial-gradient(circle,rgba(255,255,255,.09),transparent 68%);pointer-events:none;}
.money-head,.money-main,.money-breakdown,.money-after{position:relative;z-index:1;}
.money-head{display:flex;align-items:center;justify-content:space-between;gap:14px;}
.money-label{display:flex;align-items:center;gap:10px;font-size:11.5px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:#f8f4ec;}
.money-icon{width:37px;height:37px;border-radius:12px;display:grid;place-items:center;background:#f5f6f0;color:var(--cockpit-green);}
.money-icon svg{width:19px;height:19px;stroke:currentColor;stroke-width:1.7;fill:none;}
.money-updated{font-size:10px;color:#acc7bd;white-space:nowrap;}
.money-main{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin:19px 0 16px;}
.money-main-copy span{display:block;font-size:11px;color:#abc7bd;margin-bottom:4px;}
.money-total{font:500 39px/1 'JetBrains Mono',monospace;letter-spacing:-.045em;color:#fff;}
.money-detail-link{border:0;background:transparent;color:#ff6a44;font:600 11.5px var(--sys);cursor:pointer;padding:7px 0;white-space:nowrap;}
.money-breakdown{display:grid;grid-template-columns:1fr 1fr 1.25fr;border-top:1px solid rgba(255,255,255,.16);border-bottom:1px solid rgba(255,255,255,.16);}
.money-place{padding:12px 16px 11px 0;min-width:0;}
.money-place+.money-place{padding-left:16px;border-left:1px solid rgba(255,255,255,.14);}
.money-place small{display:block;color:#a5c0b6;font-size:10px;line-height:1.3;margin-bottom:5px;}
.money-place strong{font:500 18px/1.25 'JetBrains Mono',monospace;color:#fff;white-space:nowrap;}
.money-place.incoming small{color:#dfd0aa;}
.money-after{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:13px;padding:10px 13px;border-radius:12px;background:#fff8eb;color:#163f36;}
.money-after-copy{display:flex;align-items:center;gap:9px;font-size:10.5px;line-height:1.35;}
.money-after-copy svg{width:17px;height:17px;stroke:#5c8f78;stroke-width:1.8;fill:none;flex:0 0 auto;}
.money-after-copy b{display:block;font-size:9px;letter-spacing:.07em;text-transform:uppercase;color:#737c73;margin-bottom:1px;}
.money-after strong{font:600 19px/1 'JetBrains Mono',monospace;color:#143f36;white-space:nowrap;}

.todo-card{padding:21px 21px 16px;display:flex;flex-direction:column;}
.todo-lines{display:grid;gap:2px;flex:1;}
.todo-line{display:grid;grid-template-columns:22px 1fr auto;align-items:center;gap:8px;width:100%;padding:7px 2px;border:0;border-bottom:1px solid #eff1ee;background:transparent;text-align:left;font:inherit;color:inherit;font-size:11.8px;cursor:pointer;}
.todo-line:last-child{border-bottom:0;}
.todo-line svg{width:16px;height:16px;stroke:#39815f;stroke-width:1.8;fill:none;}
.todo-line b{font:500 11px 'JetBrains Mono',monospace;color:#1f2f2a;}
.todo-line span{color:#3c4944;}
.todo-line em{font-style:normal;color:#8d958f;font-size:9.5px;}

.activity-card{margin-top:17px;padding:18px 21px;}
.activity-grid{display:grid;grid-template-columns:1fr 1fr;}
.activity-channel{display:grid;grid-template-columns:43px minmax(112px,.8fr) minmax(160px,1.2fr);align-items:center;gap:13px;width:100%;border:0;background:transparent;text-align:left;font:inherit;color:inherit;padding:7px 21px 7px 0;}
.activity-channel+.activity-channel{padding-left:21px;padding-right:0;border-left:1px solid #e7eae6;}
.activity-copy b{display:block;font-size:12px;color:var(--cockpit-green);letter-spacing:.02em;}
.activity-copy span{display:block;font-size:10px;color:#3f7a68;margin-top:2px;}
.activity-copy small{display:block;font-size:9.5px;color:#959b97;margin-top:2px;}
.activity-metric{display:flex;flex-direction:column;align-items:flex-end;min-width:0;}
.activity-amount-label{display:flex!important;align-items:center;gap:5px;margin:0 0 3px!important;font-size:9px!important;font-weight:700;letter-spacing:.055em;text-transform:uppercase;}
.activity-amount-label::before{content:"";width:6px;height:6px;border-radius:50%;background:#2e8a62;flex:0 0 auto;}
.activity-amount-label.is-invoiced{color:#8b6320!important;}
.activity-amount-label.is-invoiced::before{background:#d5a13f;}
.activity-metric strong{font:500 22px 'JetBrains Mono',monospace;color:#13243b;letter-spacing:-.025em;}
.activity-amount-help{display:block!important;margin:2px 0 0!important;color:#7d8782!important;font-size:9px!important;line-height:1.25;text-align:right;}
.activity-note{align-self:flex-end;display:flex;align-items:center;gap:6px;width:max-content;max-width:100%;margin-top:7px;padding:4px 8px 4px 5px;border:1px solid #d9e5de;border-radius:999px;background:#f4f8f5;font:600 9.5px var(--sys);color:#245d4b;cursor:pointer;text-align:left;transition:background .15s ease,border-color .15s ease;}
.activity-note:hover,.activity-note:focus-visible{background:#e8f2ec;border-color:#b8d0c3;outline:none;}
.activity-note svg{width:15px;height:15px;stroke:#3f8a67;stroke-width:1.8;fill:none;}
.activity-count-badge{display:grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:#174b3e;color:#fff;font:700 9px/1 var(--sys);}
.activity-note-arrow{margin-left:1px;color:#64736d;font-size:14px;line-height:1;}
.activity-link{display:block;width:100%;border:0;background:transparent;text-align:right;margin-top:5px;padding:0;color:#2e735d;font:600 10px var(--sys);cursor:pointer;}

.signal-card{padding:18px 19px;background:linear-gradient(115deg,#fffaf2,#fff3e5);border-color:#f1dcc5;display:flex;align-items:center;gap:14px;}
.signal-icon{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:var(--cockpit-green);color:#fff;flex:0 0 auto;}
.signal-icon svg{width:20px;height:20px;stroke:currentColor;stroke-width:1.7;fill:none;}
.signal-copy{flex:1;min-width:0;}
.signal-copy b{display:block;font-size:10px;letter-spacing:.065em;text-transform:uppercase;color:#34735d;margin-bottom:3px;}
.signal-copy span{font-size:13px;color:#26332e;}
.signal-action{border:0;border-radius:10px;background:var(--cockpit-orange);color:#fff;font:600 11px var(--sys);padding:10px 13px;cursor:pointer;box-shadow:0 8px 20px rgba(244,81,44,.2);white-space:nowrap;}
.quick-card{padding:15px 18px;}
.quick-title{font-size:10px;font-weight:600;letter-spacing:.075em;text-transform:uppercase;color:var(--cockpit-green);margin-bottom:10px;}
.quick-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px;}
.quick-action{border:1px solid #e4e8e3;border-radius:11px;background:#fff;color:#24332e;font:500 10.5px var(--sys);padding:10px 11px;display:flex;align-items:center;gap:8px;text-align:left;cursor:pointer;}
.quick-action:hover{border-color:#b9cec5;background:#f7faf7;}
.quick-action svg{width:17px;height:17px;stroke:#3c8a62;stroke-width:1.7;fill:none;flex:0 0 auto;}
.quick-action-wide{grid-column:1/-1;justify-content:center;background:#f7faf7;border-color:#d8e4dd;color:#174a3e;font-weight:650;}

.mobile-bottom-nav,.mobile-menu-scrim{display:none;}
.cockpit-sheet{position:fixed;inset:0;display:none;z-index:190;background:rgba(8,34,28,.46);padding:24px;align-items:center;justify-content:center;}
.cockpit-sheet.open{display:flex;}
.cockpit-sheet-panel{width:min(520px,100%);max-height:min(680px,88dvh);overflow:auto;background:#fff;border-radius:22px;padding:22px;box-shadow:0 30px 80px rgba(8,34,28,.3);}
.cockpit-sheet-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px;}
.cockpit-sheet-head h2{font:600 24px 'Playfair Display',serif;color:#143f36;}
.cockpit-sheet-close{width:34px;height:34px;border:1px solid #e5e8e3;border-radius:50%;background:#fff;color:#173e35;font-size:20px;cursor:pointer;}
.cockpit-sheet-body{font-size:13px;color:#36433e;line-height:1.55;}
.sheet-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 0;border-bottom:1px solid #ecefeb;}
.sheet-row:last-child{border-bottom:0;}
.sheet-row small{display:block;color:#8b938e;margin-top:2px;}
.sheet-row strong{font:500 13px 'JetBrains Mono',monospace;color:#153f36;white-space:nowrap;}
.sheet-row-action{width:100%;border:0;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer;border-radius:12px;padding:12px 10px;transition:background .15s ease,transform .15s ease;}
.sheet-row-action:hover,.sheet-row-action:focus-visible{background:#f4f7f4;outline:none;}
.sheet-row-action:active{transform:scale(.99);}
.sheet-count-badge{display:grid;place-items:center;flex:0 0 auto;min-width:28px;height:28px;padding:0 8px;border-radius:999px;background:var(--cockpit-orange);color:#fff!important;font:700 12px/1 var(--sys)!important;box-shadow:0 0 0 3px #fff1ed;}
.sheet-row-arrow{font-size:19px;color:#6b7771;line-height:1;}
.sheet-safe{margin-top:15px;border-radius:12px;background:#edf5ef;color:#2c6a50;padding:11px 13px;font-size:11.5px;}

/* Production · même hiérarchie, même respiration et mêmes repères que le cockpit. */
body.cockpit-v8-active #p_list>.content{max-width:none;padding:21px 26px 30px;background:linear-gradient(180deg,#fff 0,#f7faf7 100%);}
body.cockpit-v8-active #p_list .production-mobile-brand{display:none;}
body.cockpit-v8-active #p_list .production-heading,
body.cockpit-v8-active #p_list .production-wizard-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:22px;margin-bottom:18px;}
body.cockpit-v8-active #p_list .production-eyebrow{margin-bottom:7px;color:#3e7b6b;font-size:9px;font-weight:700;letter-spacing:.17em;text-transform:uppercase;}
body.cockpit-v8-active #p_list .production-heading h1,
body.cockpit-v8-active #p_list .production-wizard-heading h1{margin:0;color:#15243b;font:600 34px/1.02 'Playfair Display',serif;letter-spacing:-.025em;}
body.cockpit-v8-active #p_list .production-heading h1::after,
body.cockpit-v8-active #p_list .production-wizard-heading h1::after{content:"";display:block;width:43px;height:3px;margin-top:9px;border-radius:99px;background:var(--cockpit-orange);}
body.cockpit-v8-active #p_list .production-heading p{max-width:680px;margin:8px 0 0;color:var(--muted);font-size:12px;line-height:1.55;}
body.cockpit-v8-active #p_list .production-trust{display:inline-flex;align-items:center;gap:7px;border:1px solid #dfe8e0;border-radius:999px;background:#f4f8f4;padding:7px 10px;color:#3b715f;font-size:9px;font-weight:700;letter-spacing:.11em;text-transform:uppercase;white-space:nowrap;}
body.cockpit-v8-active #p_list .production-trust::before{content:"";width:6px;height:6px;border-radius:50%;background:#4c9b78;}
body.cockpit-v8-active #p_list .production-orientation{max-width:760px;margin:0 auto;padding:0 0 28px;}
body.cockpit-v8-active #p_list .production-wizard-heading{align-items:center;}
body.cockpit-v8-active #p_list .production-wizard-heading h1{font-size:31px;}
body.cockpit-v8-active #p_list .production-catalogue-empty{display:flex;flex-direction:column;align-items:flex-start;gap:7px;margin:0 0 12px;padding:16px;border:1px solid #dce8df;border-radius:14px;background:#f1f7f2;color:#294f42;}
body.cockpit-v8-active #p_list .production-catalogue-empty strong{color:#173e35;font-size:12.5px;}
body.cockpit-v8-active #p_list .production-catalogue-empty span{max-width:560px;color:#6f7b75;font-size:11px;line-height:1.5;}
body.cockpit-v8-active #p_list .production-catalogue-empty .btn{margin-top:4px;}
body.cockpit-v8-active #p_list .production-date-choice{margin-top:14px;}
body.cockpit-v8-active #p_list .production-field-label{margin-bottom:7px;color:#5e6964;font-size:11px;}
body.cockpit-v8-active #p_list .production-date-options{display:grid;grid-template-columns:1fr 1fr;gap:8px;}
body.cockpit-v8-active #p_list .production-date-option{min-width:0;padding:11px 12px;border:1px solid #dfe5df;border-radius:12px;background:#fff;color:#243b34;font:inherit;text-align:left;cursor:pointer;transition:border-color .15s ease,background .15s ease,box-shadow .15s ease;}
body.cockpit-v8-active #p_list .production-date-option:hover,
body.cockpit-v8-active #p_list .production-date-option:focus-visible{border-color:#8eb3a2;outline:none;}
body.cockpit-v8-active #p_list .production-date-option.active{border-color:#2f725f;background:#edf5ef;box-shadow:0 0 0 1px #2f725f inset;}
body.cockpit-v8-active #p_list .production-date-option strong{display:block;color:#173e35;font-size:11.5px;line-height:1.3;}
body.cockpit-v8-active #p_list .production-date-option span{display:block;margin-top:3px;color:#7b8580;font-size:9.5px;line-height:1.35;}
body.cockpit-v8-active #p_list .production-target-date{display:block;margin-top:9px;}
body.cockpit-v8-active #p_list .production-target-date span{display:block;margin-bottom:5px;color:#68736d;font-size:10.5px;}
body.cockpit-v8-active #p_list .production-target-date input{width:100%;padding:9px 12px;border:1px solid var(--line);border-radius:12px;background:#fff;font:inherit;font-size:12.5px;}
body.cockpit-v8-active #p_list .production-date-result{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:9px;padding:10px 12px;border-radius:12px;font-size:10.5px;line-height:1.4;}
body.cockpit-v8-active #p_list .production-date-result.neutral{background:#f3f5f2;color:#69736e;}
body.cockpit-v8-active #p_list .production-date-result.ready{background:#e8f3ea;color:#2d634d;}
body.cockpit-v8-active #p_list .production-date-result.ready strong{font:600 13px 'JetBrains Mono',monospace;white-space:nowrap;}
body.cockpit-v8-active #p_list .production-date-result.pending{align-items:flex-start;flex-direction:column;gap:2px;background:#f6efd9;color:#745d22;}
body.cockpit-v8-active #p_list .production-date-result.pending strong{font-size:11px;}
body.cockpit-v8-active #p_list .production-date-result.pending span{font-size:10px;}
body.cockpit-v8-active #p_list .production-advice{position:relative;overflow:hidden;border:1px solid #dfe5df;border-left:4px solid var(--advice-tone);border-radius:18px;background:#fff;box-shadow:0 12px 30px rgba(25,55,46,.07);padding:18px;}
body.cockpit-v8-active #p_list .production-advice-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:15px;}
body.cockpit-v8-active #p_list .production-advice-head .card-t{margin-bottom:5px;color:#6e7873;font-size:9px;letter-spacing:.14em;}
body.cockpit-v8-active #p_list .production-advice-kicker{color:var(--advice-tone);font-size:11px;font-weight:750;letter-spacing:.02em;}
body.cockpit-v8-active #p_list .production-advice-basis{flex:0 0 auto;border-radius:999px;background:#f2f5f2;padding:6px 9px;color:#6b756f;font-size:8.5px;font-weight:650;letter-spacing:.055em;text-transform:uppercase;white-space:nowrap;}
body.cockpit-v8-active #p_list .production-advice-message{display:flex;align-items:flex-start;gap:11px;}
body.cockpit-v8-active #p_list .production-evidence-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin-top:16px;padding-top:14px;border-top:1px solid #e7ebe7;}
body.cockpit-v8-active #p_list .production-evidence{min-width:0;border:1px solid #e7ebe7;border-radius:12px;background:#f8faf8;padding:10px;}
body.cockpit-v8-active #p_list .production-evidence span{display:block;color:#77807b;font-size:8.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;}
body.cockpit-v8-active #p_list .production-evidence strong{display:block;overflow-wrap:anywhere;margin-top:5px;color:#20382f;font:650 13px/1.25 'JetBrains Mono',monospace;}
body.cockpit-v8-active #p_list .production-evidence small{display:block;margin-top:3px;color:#7e8782;font-size:9px;line-height:1.35;}
body.cockpit-v8-active #p_list .production-advice-source{margin-top:10px;color:#89918d;font-size:9.5px;line-height:1.45;}

/* Audit & analyse · même langage visuel que le cockpit fondateur. */
body.cockpit-v8-active #a_audit>.content{max-width:none;padding:21px 26px 30px;background:linear-gradient(180deg,#fff 0,#f7faf7 100%);}
body.cockpit-v8-active #a_audit .audit-mobile-brand{display:none;}
body.cockpit-v8-active #a_audit .audit-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:22px;margin-bottom:17px;}
body.cockpit-v8-active #a_audit .audit-eyebrow{margin-bottom:7px;color:#3e7b6b;font-size:9px;font-weight:700;letter-spacing:.17em;text-transform:uppercase;}
body.cockpit-v8-active #a_audit .audit-heading h1{margin:0;color:#15243b;font:600 34px/1.02 'Playfair Display',serif;letter-spacing:-.025em;}
body.cockpit-v8-active #a_audit .audit-heading h1::after{content:"";display:block;width:43px;height:3px;margin-top:9px;border-radius:99px;background:var(--cockpit-orange);}
body.cockpit-v8-active #a_audit .audit-heading p{max-width:680px;margin:8px 0 0;color:var(--muted);font-size:12px;line-height:1.55;}
body.cockpit-v8-active #a_audit .audit-trust{display:inline-flex;align-items:center;gap:7px;border:1px solid #dfe8e0;border-radius:999px;background:#f4f8f4;padding:7px 10px;color:#3b715f;font-size:9px;font-weight:700;letter-spacing:.11em;text-transform:uppercase;white-space:nowrap;}
body.cockpit-v8-active #a_audit .audit-trust::before{content:"";width:6px;height:6px;border-radius:50%;background:#4c9b78;}
body.cockpit-v8-active #a_audit .audit-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr);gap:14px;align-items:start;}
body.cockpit-v8-active #a_audit .card{margin:0;border:1px solid #e1e6e1;border-radius:18px;background:#fff;box-shadow:0 10px 28px rgba(26,58,48,.06);padding:18px;}
body.cockpit-v8-active #a_audit .audit-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:14px;}
body.cockpit-v8-active #a_audit .audit-card-head .card-t{margin:0;color:#173e35;font-size:11px;letter-spacing:.105em;}
body.cockpit-v8-active #a_audit .audit-card-head p{margin:5px 0 0;color:#7c857f;font-size:11px;line-height:1.45;}
body.cockpit-v8-active #a_audit .audit-table-wrap{overflow-x:auto;}
body.cockpit-v8-active #a_audit table{min-width:640px;}
body.cockpit-v8-active #a_audit th{color:#7b847f;font-size:9px;letter-spacing:.06em;text-transform:uppercase;}
body.cockpit-v8-active #a_audit td{vertical-align:middle;font-size:11.5px;}
body.cockpit-v8-active #a_audit td strong{display:block;color:#1d322c;font-size:12px;}
body.cockpit-v8-active #a_audit td small{display:block;margin-top:3px;color:#8a928e;font-size:9.5px;}
body.cockpit-v8-active #a_audit .audit-rank{display:grid;place-items:center;width:27px;height:27px;border-radius:9px;background:#edf4ee;color:#255847;font:600 11px 'JetBrains Mono',monospace;}
body.cockpit-v8-active #a_audit .audit-unknown{color:#a46a23;font-weight:600;}
body.cockpit-v8-active #a_audit .audit-events{display:grid;gap:2px;}
body.cockpit-v8-active #a_audit .audit-event{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 0;border-bottom:1px solid #edf0ed;}
body.cockpit-v8-active #a_audit .audit-event:last-child{border-bottom:0;}
body.cockpit-v8-active #a_audit .audit-event strong{display:block;color:#263a34;font-size:11px;line-height:1.35;}
body.cockpit-v8-active #a_audit .audit-event span{display:block;margin-top:2px;color:#848d88;font-size:9.5px;}
body.cockpit-v8-active #a_audit .audit-event time{color:#7a847f;font:500 9.5px 'JetBrains Mono',monospace;white-space:nowrap;}
body.cockpit-v8-active #a_audit .audit-empty{display:flex;flex-direction:column;gap:6px;border-radius:14px;background:#f0f6f1;padding:20px 18px;color:#315f50;}
body.cockpit-v8-active #a_audit .audit-empty strong{font-size:12px;}
body.cockpit-v8-active #a_audit .audit-empty span{font-size:11px;line-height:1.5;}
body.cockpit-v8-active #a_audit .audit-note{margin-top:13px;padding-top:11px;border-top:1px solid #edf0ed;color:#89918d;font-size:9.5px;line-height:1.5;}

/* Historique des productions · lecture opérationnelle alignée sur le cockpit. */
body.cockpit-v8-active #a_prodhist>.content{max-width:none;padding:21px 26px 30px;background:linear-gradient(180deg,#fff 0,#f7faf7 100%);}
body.cockpit-v8-active #a_prodhist .production-history-mobile-brand{display:none;}
body.cockpit-v8-active #a_prodhist .production-history-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:28px;margin:2px 0 19px;padding:4px 2px 0;}
body.cockpit-v8-active #a_prodhist .production-history-eyebrow{margin-bottom:5px;color:#3f7a68;font-size:8.5px;font-weight:700;letter-spacing:.15em;text-transform:uppercase;}
body.cockpit-v8-active #a_prodhist .production-history-heading h1{margin:0;color:#173c33;font:600 31px/1.08 'Playfair Display',serif;letter-spacing:-.022em;}
body.cockpit-v8-active #a_prodhist .production-history-heading h1::after{content:"";display:block;width:35px;height:2px;margin-top:8px;border-radius:99px;background:var(--cockpit-orange);}
body.cockpit-v8-active #a_prodhist .production-history-heading p{max-width:680px;margin:8px 0 0;color:#78817d;font-size:11.5px;line-height:1.55;}
body.cockpit-v8-active #a_prodhist .production-history-trust{display:inline-flex;align-items:center;gap:7px;margin-top:4px;border:1px solid #dfe8e0;border-radius:999px;background:#f4f8f4;padding:7px 10px;color:#3b715f;font-size:8.5px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;white-space:nowrap;}
body.cockpit-v8-active #a_prodhist .production-history-trust::before{content:"";width:6px;height:6px;border-radius:50%;background:#4c9b78;}
body.cockpit-v8-active #a_prodhist .production-history-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:15px;padding:11px 13px;border:1px solid #e2e7e2;border-radius:14px;background:#fff;}
body.cockpit-v8-active #a_prodhist .production-history-summary{color:#68736d;font-size:10.5px;line-height:1.45;}
body.cockpit-v8-active #a_prodhist .production-history-summary b{display:block;margin-bottom:3px;color:#254d42;font-size:8px;letter-spacing:.11em;text-transform:uppercase;}
body.cockpit-v8-active #a_prodhist .production-history-summary>span{display:block;}
body.cockpit-v8-active #a_prodhist .production-history-filters{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap;}
body.cockpit-v8-active #a_prodhist .production-history-filters select{max-width:168px!important;border-color:#e1e6e1!important;background:#f8faf8!important;}
body.cockpit-v8-active #a_prodhist .production-history-kpis{gap:0;margin-bottom:14px;overflow:hidden;border:1px solid #e1e6e1;border-radius:17px;background:#fff;box-shadow:0 7px 22px rgba(15,50,43,.045);}
body.cockpit-v8-active #a_prodhist .production-history-kpis .kpi{position:relative;min-height:112px;border:0;border-right:1px solid #e7ece8;border-radius:0;background:transparent;box-shadow:none;padding:17px 18px 15px;}
body.cockpit-v8-active #a_prodhist .production-history-kpis .kpi:last-child{border-right:0;}
body.cockpit-v8-active #a_prodhist .production-history-kpis .kpi::after{display:none;}
body.cockpit-v8-active #a_prodhist .production-history-kpis .kpi small{min-height:26px;margin-bottom:10px;color:#65716b;font-size:8.5px;font-weight:700;letter-spacing:.08em;line-height:1.45;}
body.cockpit-v8-active #a_prodhist .production-history-kpis .kpi b{display:block;color:#173e35;font-size:24px;line-height:1.05;}
body.cockpit-v8-active #a_prodhist .production-history-kpis .kpi .delta{display:block;max-width:90%;margin-top:8px;color:#87908c;font-size:9.5px;line-height:1.4;}
body.cockpit-v8-active #a_prodhist .production-history-register{padding:0;overflow:hidden;}
body.cockpit-v8-active #a_prodhist .production-history-register-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:18px 20px;border-bottom:1px solid #e8ede9;background:#fbfcfb;}
body.cockpit-v8-active #a_prodhist .production-history-register-kicker{margin-bottom:5px;color:#4a7b6d;font-size:8px;font-weight:700;letter-spacing:.13em;text-transform:uppercase;}
body.cockpit-v8-active #a_prodhist .production-history-register-head h2{margin:0;color:#173c33;font:600 20px/1.1 'Playfair Display',serif;letter-spacing:-.015em;}
body.cockpit-v8-active #a_prodhist .production-history-register-head p{max-width:680px;margin:6px 0 0;color:#718078;font-size:10.5px;line-height:1.5;}
body.cockpit-v8-active #a_prodhist .production-history-register-head>span{display:inline-flex;border-radius:999px;background:#edf4ef;padding:6px 9px;color:#3f6f60;font:700 9px 'JetBrains Mono',monospace;white-space:nowrap;}
body.cockpit-v8-active #a_prodhist .production-history-register-list{display:flex;flex-direction:column;}
body.cockpit-v8-active #a_prodhist .production-history-register-row{display:grid;grid-template-columns:minmax(260px,1fr) minmax(120px,.28fr) auto;align-items:center;gap:16px;padding:15px 20px;border-bottom:1px solid #edf0ed;}
body.cockpit-v8-active #a_prodhist .production-history-register-row:last-child{border-bottom:0;}
body.cockpit-v8-active #a_prodhist .production-history-register-main{display:flex;align-items:center;gap:12px;min-width:0;}
body.cockpit-v8-active #a_prodhist .production-history-register-icon{width:39px;height:39px;display:grid;place-items:center;flex:0 0 auto;border-radius:12px;background:#edf5f0;}
body.cockpit-v8-active #a_prodhist .production-history-register-main>div{min-width:0;}
body.cockpit-v8-active #a_prodhist .production-history-register-title{display:flex;align-items:center;gap:7px;flex-wrap:wrap;}
body.cockpit-v8-active #a_prodhist .production-history-register-title>b{color:#183d34;font:700 11px 'JetBrains Mono',monospace;}
body.cockpit-v8-active #a_prodhist .production-history-register-main strong{display:block;margin-top:4px;overflow:hidden;color:#334d45;font-size:10.5px;text-overflow:ellipsis;white-space:nowrap;}
body.cockpit-v8-active #a_prodhist .production-history-register-main small{display:block;margin-top:3px;color:#818b86;font-size:9.5px;line-height:1.4;}
body.cockpit-v8-active #a_prodhist .production-history-register-cost span{display:block;margin-bottom:4px;color:#89928d;font-size:8px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;}
body.cockpit-v8-active #a_prodhist .production-history-register-cost b{color:#213e36;font:700 12px 'JetBrains Mono',monospace;}
body.cockpit-v8-active #a_prodhist .production-history-register-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap;}
body.cockpit-v8-active #a_prodhist .production-history-register-actions .btn{min-height:34px;justify-content:center;white-space:nowrap;}
body.cockpit-v8-active #a_prodhist .production-history-zip{min-height:34px;border:0;background:transparent;padding:5px 3px;color:#426e61;font:600 9.5px var(--sys);text-decoration:underline;text-underline-offset:3px;cursor:pointer;}
body.cockpit-v8-active #a_prodhist .production-history-zip:hover{color:#174c3f;}
body.cockpit-v8-active #a_prodhist .production-history-zip:disabled{color:#98a19d;cursor:wait;}
body.cockpit-v8-active #a_prodhist .production-history-register-message{min-height:0;padding:0 20px;color:#3f725f;font-size:9.5px;line-height:1.4;}
body.cockpit-v8-active #a_prodhist .production-history-register-message:not(:empty){min-height:32px;padding-top:8px;padding-bottom:8px;border-top:1px solid #edf0ed;background:#f7faf7;}
body.cockpit-v8-active #a_prodhist .production-history-register-message.is-error{color:#b8431f;background:#fff5f1;}
body.cockpit-v8-active #a_prodhist .production-history-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(300px,.8fr);gap:14px;align-items:start;}
body.cockpit-v8-active #a_prodhist .production-history-card{margin:0 0 14px;border:1px solid #e1e6e1;border-radius:18px;background:#fff;box-shadow:0 10px 28px rgba(26,58,48,.06);padding:18px;}
body.cockpit-v8-active #a_prodhist .production-history-card .card-t{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:14px;color:#173e35;font-size:11px;letter-spacing:.105em;}
body.cockpit-v8-active #a_prodhist .production-history-card .card-t .lnk{max-width:220px;color:#87908b;font-size:9px;font-weight:500;letter-spacing:0;text-align:right;text-transform:none;}
body.cockpit-v8-active #a_prodhist .production-history-table-card{margin-bottom:14px;}
body.cockpit-v8-active #a_prodhist .production-history-table-wrap{max-height:380px;overflow:auto;border:1px solid #eef1ee;border-radius:12px;}
body.cockpit-v8-active #a_prodhist .production-history-table-wrap table{min-width:820px;margin:0;}
body.cockpit-v8-active #a_prodhist .production-history-table-wrap th{position:sticky;top:0;z-index:1;background:#f6f8f6;color:#7b847f;font-size:8.5px;letter-spacing:.06em;text-transform:uppercase;}
body.cockpit-v8-active #a_prodhist .production-history-table-wrap td{font-size:11px;vertical-align:middle;}
body.cockpit-v8-active #a_prodhist [data-gervis="ouvrir-histo"]:focus-visible{outline:2px solid #3e7b6b;outline-offset:2px;}
body.cockpit-v8-active #a_prodhist .production-comparison-card{overflow:hidden;}
body.cockpit-v8-active #a_prodhist .production-comparison-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-bottom:13px;}
body.cockpit-v8-active #a_prodhist .production-comparison-summary>div{min-height:92px;border:1px solid #e7ece7;border-radius:14px;background:#f8faf8;padding:12px 13px;}
body.cockpit-v8-active #a_prodhist .production-comparison-summary span{display:block;margin-bottom:8px;color:#7a8580;font-size:8.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;}
body.cockpit-v8-active #a_prodhist .production-comparison-summary b{display:block;color:#193c33;font:600 18px 'JetBrains Mono',monospace;}
body.cockpit-v8-active #a_prodhist .production-comparison-summary b.is-up{color:#b64c2b;}
body.cockpit-v8-active #a_prodhist .production-comparison-summary small{display:block;margin-top:6px;color:#7c8781;font-size:9.5px;line-height:1.4;}
body.cockpit-v8-active #a_prodhist .production-comparison-table-wrap{overflow-x:auto;border:1px solid #eef1ee;border-radius:12px;}
body.cockpit-v8-active #a_prodhist .production-comparison-table{min-width:820px;margin:0;}
body.cockpit-v8-active #a_prodhist .production-comparison-table th{background:#f6f8f6;color:#7b847f;font-size:8.5px;letter-spacing:.06em;text-transform:uppercase;}
body.cockpit-v8-active #a_prodhist .production-comparison-table td{font-size:10.5px;vertical-align:middle;}
body.cockpit-v8-active #a_prodhist .production-comparison-table td small{display:block;max-width:170px;margin-top:3px;overflow:hidden;color:#8a928e;font-size:9px;text-overflow:ellipsis;white-space:nowrap;}
body.cockpit-v8-active #a_prodhist .production-comparison-change{display:inline-flex;border-radius:999px;background:#eef3ef;padding:5px 8px;color:#51615a;font:600 9.5px 'JetBrains Mono',monospace;white-space:nowrap;}
body.cockpit-v8-active #a_prodhist .production-comparison-change.is-up{background:#fff0ea;color:#b64c2b;}
body.cockpit-v8-active #a_prodhist .production-comparison-change.is-down{background:#eaf6ee;color:#28704c;}
body.cockpit-v8-active #a_prodhist .production-comparison-reading{color:#5f6c66;font-size:9.5px;line-height:1.35;}
body.cockpit-v8-active #a_prodhist .production-comparison-reading.is-warning{color:#93651f;}
body.cockpit-v8-active #a_prodhist .production-comparison-note{display:flex;align-items:flex-start;gap:7px;margin-top:10px;color:#748079;font-size:9.5px;line-height:1.5;}
body.cockpit-v8-active #a_prodhist .production-comparison-note svg{flex:0 0 auto;margin-top:1px;}
body.cockpit-v8-active #a_prodhist .production-comparison-empty{display:flex;align-items:flex-start;gap:10px;border-radius:14px;background:#f2f6f2;padding:15px;color:#496158;}
body.cockpit-v8-active #a_prodhist .production-comparison-empty svg{flex:0 0 auto;margin-top:1px;}
body.cockpit-v8-active #a_prodhist .production-comparison-empty b{display:block;font-size:11px;}
body.cockpit-v8-active #a_prodhist .production-comparison-empty span{display:block;margin-top:4px;color:#77837d;font-size:10px;line-height:1.45;}
body.cockpit-v8-active #a_prodhist .production-history-start{overflow:hidden;border:1px solid #dfe7e1;border-radius:22px;background:#fff;box-shadow:0 16px 42px rgba(25,58,48,.07);}
body.cockpit-v8-active #a_prodhist .production-history-start-main{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:18px;padding:28px;}
body.cockpit-v8-active #a_prodhist .production-history-start-icon{width:52px;height:52px;border-radius:16px;background:#edf5f0;display:grid;place-items:center;}
body.cockpit-v8-active #a_prodhist .production-history-start-kicker{margin-bottom:7px;color:#4a7b6d;font-size:8.5px;font-weight:700;letter-spacing:.13em;text-transform:uppercase;}
body.cockpit-v8-active #a_prodhist .production-history-start h2{margin:0;color:#173c33;font:600 22px/1.15 'Playfair Display',serif;letter-spacing:-.015em;}
body.cockpit-v8-active #a_prodhist .production-history-start-main p{max-width:620px;margin:8px 0 0;color:#68766f;font-size:11.5px;line-height:1.55;}
body.cockpit-v8-active #a_prodhist .production-history-primary{min-width:190px;min-height:44px;justify-content:center;}
body.cockpit-v8-active #a_prodhist .production-history-unlock{border-top:1px solid #e8ede9;background:#f7faf7;padding:20px 28px 24px;}
body.cockpit-v8-active #a_prodhist .production-history-unlock-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:14px;}
body.cockpit-v8-active #a_prodhist .production-history-unlock-heading span{display:block;margin-bottom:3px;color:#77847d;font-size:8px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;}
body.cockpit-v8-active #a_prodhist .production-history-unlock-heading strong{display:block;color:#254d42;font-size:13px;}
body.cockpit-v8-active #a_prodhist .production-history-unlock-heading small{max-width:260px;color:#7c8781;font-size:9.5px;text-align:right;}
body.cockpit-v8-active #a_prodhist .production-history-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0;padding:0;list-style:none;}
body.cockpit-v8-active #a_prodhist .production-history-steps li{display:flex;align-items:flex-start;gap:10px;min-height:82px;border:1px solid #e3e9e4;border-radius:14px;background:#fff;padding:13px;}
body.cockpit-v8-active #a_prodhist .production-history-steps li>span{width:25px;height:25px;flex:0 0 auto;border-radius:50%;background:#174c3f;color:#fff;font:700 10px/25px 'JetBrains Mono',monospace;text-align:center;}
body.cockpit-v8-active #a_prodhist .production-history-steps b{display:block;color:#284b41;font-size:10.5px;line-height:1.35;}
body.cockpit-v8-active #a_prodhist .production-history-steps small{display:block;margin-top:4px;color:#7a8580;font-size:9.5px;line-height:1.4;}

/* Dossiers de production · chronologie, documents et lecture immédiate des écarts. */
body.cockpit-v8-active #a_prodhist .production-history-tabs{display:flex;align-items:center;gap:6px;margin:0 0 12px;padding-bottom:2px;overflow-x:auto;scrollbar-width:none;}
body.cockpit-v8-active #a_prodhist .production-history-tabs::-webkit-scrollbar{display:none;}
body.cockpit-v8-active #a_prodhist .production-history-tab,
body.cockpit-v8-active #a_prodhist .production-history-filter-trigger{min-height:34px;border:1px solid #dfe7e1;border-radius:999px;background:#fff;padding:7px 12px;color:#4d625a;font:600 9.5px var(--sys);white-space:nowrap;cursor:pointer;}
body.cockpit-v8-active #a_prodhist .production-history-tab.is-active{border-color:#174c3f;background:#174c3f;color:#fff;}
body.cockpit-v8-active #a_prodhist .production-history-filter-trigger{display:inline-flex;align-items:center;gap:6px;margin-left:auto;}
body.cockpit-v8-active #a_prodhist .production-history-filter-panel{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:12px;border:1px solid #e2e7e2;border-radius:14px;background:#fff;padding:11px 13px;}
body.cockpit-v8-active #a_prodhist .production-history-filter-panel[hidden]{display:none;}
body.cockpit-v8-active #a_prodhist .production-history-signal{display:flex;align-items:flex-start;gap:8px;margin-bottom:14px;border-radius:12px;background:#eef5f0;padding:10px 12px;color:#536860;font-size:10px;line-height:1.45;}
body.cockpit-v8-active #a_prodhist .production-history-signal svg{margin-top:1px;}
body.cockpit-v8-active #a_prodhist .production-history-register.production-history-card{padding:0;}
body.cockpit-v8-active #a_prodhist .production-history-year{position:relative;padding:0 18px 15px 45px;}
body.cockpit-v8-active #a_prodhist .production-history-year+.production-history-year{padding-top:4px;border-top:1px solid #edf0ed;}
body.cockpit-v8-active #a_prodhist .production-history-year::before{content:"";position:absolute;top:43px;bottom:14px;left:25px;width:1px;background:#d9e4dd;}
body.cockpit-v8-active #a_prodhist .production-history-year-head{position:relative;width:100%;display:flex;align-items:center;gap:12px;border:0;background:transparent;padding:14px 0 10px;text-align:left;cursor:pointer;}
body.cockpit-v8-active #a_prodhist .production-history-year-head::before{content:"";position:absolute;left:-24px;width:9px;height:9px;border:3px solid #fff;border-radius:50%;background:#e95e38;box-shadow:0 0 0 1px #e2e9e4;}
body.cockpit-v8-active #a_prodhist .production-history-year-head b{color:#183f35;font:700 13px 'JetBrains Mono',monospace;}
body.cockpit-v8-active #a_prodhist .production-history-year-head span{margin-left:auto;color:#819089;font-size:9.5px;}
body.cockpit-v8-active #a_prodhist .production-history-year-head i{width:25px;height:25px;display:grid;place-items:center;border:1px solid #e2e8e3;border-radius:8px;background:#fff;transition:transform .18s ease;transform:rotate(90deg);}
body.cockpit-v8-active #a_prodhist .production-history-year.is-collapsed .production-history-year-head i{transform:rotate(0);}
body.cockpit-v8-active #a_prodhist .production-history-year.is-collapsed .production-history-year-content{display:none;}
body.cockpit-v8-active #a_prodhist .production-history-year.is-collapsed::before{display:none;}
body.cockpit-v8-active #a_prodhist .production-history-dossier{position:relative;margin-bottom:9px;border:1px solid #e1e7e2;border-radius:15px;background:#fff;box-shadow:0 4px 14px rgba(22,59,49,.035);overflow:hidden;}
body.cockpit-v8-active #a_prodhist .production-history-dossier::before{content:"";position:absolute;top:25px;left:-27px;width:7px;height:7px;border-radius:50%;background:#a9bdb4;}
body.cockpit-v8-active #a_prodhist .production-history-dossier.is-open{border-color:#cadbd2;box-shadow:0 8px 24px rgba(22,59,49,.07);}
body.cockpit-v8-active #a_prodhist .production-history-dossier-head{display:grid;grid-template-columns:auto minmax(220px,1fr) minmax(110px,.25fr) auto;align-items:center;gap:12px;padding:13px 14px;}
body.cockpit-v8-active #a_prodhist .production-history-dossier-identity{min-width:0;}
body.cockpit-v8-active #a_prodhist .production-history-dossier-identity>strong{display:block;margin-top:4px;overflow:hidden;color:#334d45;font-size:10.5px;text-overflow:ellipsis;white-space:nowrap;}
body.cockpit-v8-active #a_prodhist .production-history-dossier-identity>small{display:block;margin-top:3px;color:#818b86;font-size:9.5px;line-height:1.4;}
body.cockpit-v8-active #a_prodhist .production-history-compact-cost span{display:block;margin-bottom:4px;color:#89928d;font-size:8px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;}
body.cockpit-v8-active #a_prodhist .production-history-compact-cost b{color:#213e36;font:700 12px 'JetBrains Mono',monospace;}
body.cockpit-v8-active #a_prodhist .production-history-chevron{width:34px;height:34px;display:grid;place-items:center;border:1px solid #e1e7e2;border-radius:10px;background:#f8faf8;cursor:pointer;}
body.cockpit-v8-active #a_prodhist .production-history-dossier-detail{border-top:1px solid #e8ede9;background:#fbfcfb;padding:14px;}
body.cockpit-v8-active #a_prodhist .production-history-variance-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:12px;border:1px solid #e4e9e5;border-radius:12px;background:#fff;overflow:hidden;}
body.cockpit-v8-active #a_prodhist .production-history-variance-grid>div{min-height:74px;padding:12px 13px;border-right:1px solid #e8ece9;}
body.cockpit-v8-active #a_prodhist .production-history-variance-grid>div:last-child{border-right:0;}
body.cockpit-v8-active #a_prodhist .production-history-variance-grid span{display:block;margin-bottom:7px;color:#7b8881;font-size:8px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;}
body.cockpit-v8-active #a_prodhist .production-history-variance-grid b{display:block;color:#183e34;font:700 14px 'JetBrains Mono',monospace;}
body.cockpit-v8-active #a_prodhist .production-history-variance-grid small{display:block;margin-top:4px;color:#7f8984;font-size:8.5px;}
body.cockpit-v8-active #a_prodhist .production-history-variance-grid .is-up b{color:#b64c2b;}
body.cockpit-v8-active #a_prodhist .production-history-variance-grid .is-down b{color:#28704c;}
body.cockpit-v8-active #a_prodhist .production-history-variance-note{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:start;gap:10px;margin-bottom:10px;border:1px solid #e4e9e5;border-radius:12px;background:#f2f6f2;padding:12px;}
body.cockpit-v8-active #a_prodhist .production-history-note-icon{width:32px;height:32px;display:grid;place-items:center;border-radius:10px;background:#e3efe7;}
body.cockpit-v8-active #a_prodhist .production-history-variance-note b,
body.cockpit-v8-active #a_prodhist .production-history-documents b{display:block;color:#234b40;font-size:10.5px;}
body.cockpit-v8-active #a_prodhist .production-history-variance-note p{margin:3px 0 0;color:#68766f;font-size:9.5px;line-height:1.45;}
body.cockpit-v8-active #a_prodhist .production-history-variance-note ul{display:flex;gap:7px;flex-wrap:wrap;margin:7px 0 0;padding:0;list-style:none;}
body.cockpit-v8-active #a_prodhist .production-history-variance-note li{border-radius:999px;background:#fff;padding:4px 7px;color:#596a62;font-size:8.5px;}
body.cockpit-v8-active #a_prodhist .production-history-variance-note .lnk{border:0;background:transparent;padding:2px;color:#2e6656;font:600 9.5px var(--sys);text-decoration:underline;text-underline-offset:3px;cursor:pointer;white-space:nowrap;}
body.cockpit-v8-active #a_prodhist .production-history-documents{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:10px;border:1px solid #e3e8e4;border-radius:12px;background:#fff;padding:10px 12px;}
body.cockpit-v8-active #a_prodhist .production-history-documents>div:first-child{display:flex;align-items:center;gap:9px;min-width:0;}
body.cockpit-v8-active #a_prodhist .production-history-documents small{display:block;margin-top:3px;color:#7a8580;font-size:9px;line-height:1.4;}
body.cockpit-v8-active #a_prodhist .production-history-document-actions,
body.cockpit-v8-active #a_prodhist .production-history-dossier-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap;}
body.cockpit-v8-active #a_prodhist .production-history-doc-link{border:0;background:transparent;padding:6px 3px;color:#2e6656;font:600 9.5px var(--sys);text-decoration:underline;text-underline-offset:3px;cursor:pointer;white-space:nowrap;}
body.cockpit-v8-active #a_prodhist .production-history-dossier-actions{padding-top:2px;}

@media(max-width:1040px) and (min-width:701px){
  .cockpit-primary-grid,.cockpit-secondary-grid{grid-template-columns:1fr;}
  .todo-lines{grid-template-columns:1fr 1fr;column-gap:18px;}
  body.cockpit-v8-active #a_audit .audit-grid{grid-template-columns:1fr;}
  body.cockpit-v8-active #a_prodhist .production-history-grid{grid-template-columns:1fr;}
}

@media(max-width:700px){
  body.cockpit-v8-active{background:#fff;}
  body.cockpit-v8-active #side{display:none;}
  body.cockpit-v8-active #util{display:none;}
  body.cockpit-v8-active #main{padding-bottom:88px;background:linear-gradient(180deg,#fff 0,#f8faf7 100%);}
  body.cockpit-v8-active .app{display:block!important;}
  body.cockpit-v8-active #a_dash>.content{padding:0 16px 28px;}
  body.cockpit-v8-active #p_list>.content{padding:0 16px 28px;}
  body.cockpit-v8-active #p_list .production-mobile-brand{display:flex;}
  body.cockpit-v8-active #p_list .production-heading,
  body.cockpit-v8-active #p_list .production-wizard-heading{display:block;margin:1px 0 15px;}
  body.cockpit-v8-active #p_list .production-eyebrow{display:none;}
  body.cockpit-v8-active #p_list .production-heading h1,
  body.cockpit-v8-active #p_list .production-wizard-heading h1{font-size:30px;line-height:1.02;color:#202523;}
  body.cockpit-v8-active #p_list .production-wizard-heading h1{font-size:27px;letter-spacing:-.035em;}
  body.cockpit-v8-active #p_list .production-heading h1::after,
  body.cockpit-v8-active #p_list .production-wizard-heading h1::after{display:none;}
  body.cockpit-v8-active #p_list .production-heading p{margin-top:4px;color:#7d8580;font-size:12.5px;line-height:1.45;}
  body.cockpit-v8-active #p_list .production-trust{margin-top:9px;}
  body.cockpit-v8-active #p_list .production-orientation{max-width:none;padding:0 0 24px;}
  body.cockpit-v8-active #p_list .production-wizard-heading .btn{width:100%;min-height:40px;margin-top:12px;}
  body.cockpit-v8-active #p_list .production-catalogue-empty{padding:15px;}
  body.cockpit-v8-active #p_list .production-catalogue-empty .btn{width:100%;min-height:40px;justify-content:center;}
  body.cockpit-v8-active #p_list .production-date-options{grid-template-columns:1fr;}
  body.cockpit-v8-active #p_list .production-date-option{padding:10px 11px;}
  body.cockpit-v8-active #p_list .production-date-result{align-items:flex-start;flex-direction:column;gap:3px;}
  body.cockpit-v8-active #p_list .production-advice{padding:15px;border-radius:16px;}
  body.cockpit-v8-active #p_list .production-advice-head{display:block;margin-bottom:13px;}
  body.cockpit-v8-active #p_list .production-advice-basis{display:inline-flex;margin-top:8px;white-space:normal;}
  body.cockpit-v8-active #p_list .production-evidence-grid{grid-template-columns:1fr 1fr;gap:7px;margin-top:14px;padding-top:12px;}
  body.cockpit-v8-active #p_list .production-evidence:last-child{grid-column:1/-1;}
  body.cockpit-v8-active #p_list .production-evidence{padding:9px;}
  body.cockpit-v8-active #p_list .production-evidence strong{font-size:12px;}
  body.cockpit-v8-active #a_audit>.content{padding:0 16px 28px;}
  body.cockpit-v8-active #a_audit .audit-mobile-brand{display:flex;}
  body.cockpit-v8-active #a_audit .audit-heading{display:block;margin:1px 0 15px;}
  body.cockpit-v8-active #a_audit .audit-eyebrow{display:none;}
  body.cockpit-v8-active #a_audit .audit-heading h1{font-size:30px;line-height:1.02;color:#202523;}
  body.cockpit-v8-active #a_audit .audit-heading h1::after{display:none;}
  body.cockpit-v8-active #a_audit .audit-heading p{margin-top:4px;color:#7d8580;font-size:12.5px;line-height:1.45;}
  body.cockpit-v8-active #a_audit .audit-trust{margin-top:9px;}
  body.cockpit-v8-active #a_audit .audit-grid{grid-template-columns:1fr;gap:13px;}
  body.cockpit-v8-active #a_audit .card{padding:15px;border-radius:18px;}
  body.cockpit-v8-active #a_audit .audit-card-head{flex-direction:column;gap:10px;margin-bottom:12px;}
  body.cockpit-v8-active #a_audit .audit-card-head .btn{width:100%;min-height:40px;}
  body.cockpit-v8-active #a_audit .audit-table-wrap{margin:0 -15px;padding:0 15px;}
  body.cockpit-v8-active #a_audit table{min-width:590px;}
  body.cockpit-v8-active #a_audit .audit-event{align-items:flex-start;}
  body.cockpit-v8-active #a_audit .audit-event time{padding-top:1px;font-size:8.5px;}
  body.cockpit-v8-active #a_prodhist>.content{padding:0 16px 28px;}
  body.cockpit-v8-active #a_prodhist .production-history-mobile-brand{display:flex;}
  body.cockpit-v8-active #a_prodhist .production-history-heading{display:block;margin:1px 0 16px;padding:4px 1px 0;}
  body.cockpit-v8-active #a_prodhist .production-history-eyebrow{display:block;margin-bottom:7px;font-size:8px;}
  body.cockpit-v8-active #a_prodhist .production-history-heading h1{font-size:27px;line-height:1.04;color:#173c33;}
  body.cockpit-v8-active #a_prodhist .production-history-heading h1::after{display:block;margin-top:9px;}
  body.cockpit-v8-active #a_prodhist .production-history-heading p{margin-top:8px;color:#738079;font-size:11.5px;line-height:1.5;}
  body.cockpit-v8-active #a_prodhist .production-history-trust{margin-top:11px;}
  body.cockpit-v8-active #a_prodhist .production-history-tabs{margin-right:-16px;padding-right:16px;}
  body.cockpit-v8-active #a_prodhist .production-history-tab,
  body.cockpit-v8-active #a_prodhist .production-history-filter-trigger{min-height:36px;padding:8px 12px;font-size:9px;}
  body.cockpit-v8-active #a_prodhist .production-history-filter-trigger{margin-left:0;}
  body.cockpit-v8-active #a_prodhist .production-history-filter-panel{align-items:stretch;flex-direction:column;padding:12px;}
  body.cockpit-v8-active #a_prodhist .production-history-signal{font-size:9.5px;}
  body.cockpit-v8-active #a_prodhist .production-history-toolbar{align-items:stretch;flex-direction:column;padding:12px;margin-bottom:13px;}
  body.cockpit-v8-active #a_prodhist .production-history-filters{display:grid;grid-template-columns:1fr 1fr;gap:7px;}
  body.cockpit-v8-active #a_prodhist .production-history-filters>svg{display:none;}
  body.cockpit-v8-active #a_prodhist .production-history-filters select{width:100%;max-width:none!important;min-width:0;}
  body.cockpit-v8-active #a_prodhist .production-history-kpis{grid-template-columns:1fr 1fr;}
  body.cockpit-v8-active #a_prodhist .production-history-kpis .kpi{min-width:0;min-height:120px;padding:15px 13px 13px;border-right:1px solid #e7ece8;border-bottom:1px solid #e7ece8;}
  body.cockpit-v8-active #a_prodhist .production-history-kpis .kpi:nth-child(2n){border-right:0;}
  body.cockpit-v8-active #a_prodhist .production-history-kpis .kpi:nth-last-child(-n+2){border-bottom:0;}
  body.cockpit-v8-active #a_prodhist .production-history-kpis .kpi small{min-height:36px;margin-bottom:9px;font-size:8px;}
  body.cockpit-v8-active #a_prodhist .production-history-kpis .kpi b{font-size:22px;}
  body.cockpit-v8-active #a_prodhist .production-history-register{padding:0;}
  body.cockpit-v8-active #a_prodhist .production-history-register-head{display:block;padding:16px;}
  body.cockpit-v8-active #a_prodhist .production-history-register-head h2{font-size:19px;}
  body.cockpit-v8-active #a_prodhist .production-history-register-head>span{margin-top:10px;}
  body.cockpit-v8-active #a_prodhist .production-history-year{padding:0 10px 12px 30px;}
  body.cockpit-v8-active #a_prodhist .production-history-year::before{left:15px;}
  body.cockpit-v8-active #a_prodhist .production-history-year-head::before{left:-19px;}
  body.cockpit-v8-active #a_prodhist .production-history-dossier-head{grid-template-columns:auto minmax(0,1fr) auto;gap:9px;padding:12px 10px;}
  body.cockpit-v8-active #a_prodhist .production-history-dossier-identity>strong{white-space:normal;}
  body.cockpit-v8-active #a_prodhist .production-history-compact-cost{grid-column:2/3;padding-top:2px;}
  body.cockpit-v8-active #a_prodhist .production-history-chevron{grid-column:3;grid-row:1/3;}
  body.cockpit-v8-active #a_prodhist .production-history-dossier-detail{padding:10px;}
  body.cockpit-v8-active #a_prodhist .production-history-variance-grid>div{min-height:68px;padding:10px 8px;}
  body.cockpit-v8-active #a_prodhist .production-history-variance-grid b{font-size:12px;}
  body.cockpit-v8-active #a_prodhist .production-history-variance-note{grid-template-columns:auto minmax(0,1fr);padding:10px;}
  body.cockpit-v8-active #a_prodhist .production-history-variance-note .lnk{grid-column:2;justify-self:start;padding:4px 0;}
  body.cockpit-v8-active #a_prodhist .production-history-documents{align-items:stretch;flex-direction:column;}
  body.cockpit-v8-active #a_prodhist .production-history-document-actions,
  body.cockpit-v8-active #a_prodhist .production-history-dossier-actions{display:grid;grid-template-columns:1fr 1fr;}
  body.cockpit-v8-active #a_prodhist .production-history-document-actions .btn,
  body.cockpit-v8-active #a_prodhist .production-history-dossier-actions .btn{width:100%;min-height:40px;justify-content:center;}
  body.cockpit-v8-active #a_prodhist .production-history-document-actions .production-history-doc-link{align-self:center;justify-self:center;}
  body.cockpit-v8-active #a_prodhist .production-history-dossier-actions .production-history-zip{grid-column:1/-1;}
  body.cockpit-v8-active #a_prodhist .production-history-register-row{grid-template-columns:1fr;gap:12px;padding:15px 16px;}
  body.cockpit-v8-active #a_prodhist .production-history-register-main{align-items:flex-start;}
  body.cockpit-v8-active #a_prodhist .production-history-register-main strong{white-space:normal;}
  body.cockpit-v8-active #a_prodhist .production-history-register-cost{padding-left:51px;}
  body.cockpit-v8-active #a_prodhist .production-history-register-actions{display:grid;grid-template-columns:1fr 1fr;justify-content:stretch;}
  body.cockpit-v8-active #a_prodhist .production-history-register-actions .btn{width:100%;min-height:42px;}
  body.cockpit-v8-active #a_prodhist .production-history-zip{grid-column:1/-1;min-height:36px;}
  body.cockpit-v8-active #a_prodhist .production-history-register-message{padding-right:16px;padding-left:16px;}
  body.cockpit-v8-active #a_prodhist .production-history-grid{grid-template-columns:1fr;gap:0;}
  body.cockpit-v8-active #a_prodhist .production-history-card{padding:15px;border-radius:18px;}
  body.cockpit-v8-active #a_prodhist .production-history-card .card-t{flex-direction:column;gap:4px;}
  body.cockpit-v8-active #a_prodhist .production-history-card .card-t .lnk{max-width:none;text-align:left;}
  body.cockpit-v8-active #a_prodhist .production-history-table-wrap{margin:0 -15px;border-right:0;border-left:0;border-radius:0;padding-left:15px;}
  body.cockpit-v8-active #a_prodhist .production-comparison-summary{grid-template-columns:1fr;}
  body.cockpit-v8-active #a_prodhist .production-comparison-summary>div{min-height:0;}
  body.cockpit-v8-active #a_prodhist .production-comparison-table-wrap{margin:0 -15px;border-right:0;border-left:0;border-radius:0;padding-left:15px;}
  body.cockpit-v8-active #a_prodhist .production-history-start{border-radius:18px;}
  body.cockpit-v8-active #a_prodhist .production-history-start-main{display:flex;align-items:flex-start;flex-direction:column;gap:13px;padding:18px 16px;}
  body.cockpit-v8-active #a_prodhist .production-history-start-icon{width:44px;height:44px;border-radius:14px;}
  body.cockpit-v8-active #a_prodhist .production-history-start h2{font-size:21px;}
body.cockpit-v8-active #a_prodhist .production-history-start-main p{font-size:11px;}
  body.cockpit-v8-active #a_prodhist .production-history-primary{width:100%;min-width:0;}
  body.cockpit-v8-active #a_prodhist .production-history-unlock{padding:17px 16px 18px;}
  body.cockpit-v8-active #a_prodhist .production-history-unlock-heading{display:block;margin-bottom:12px;}
  body.cockpit-v8-active #a_prodhist .production-history-unlock-heading small{display:block;max-width:none;margin-top:5px;text-align:left;}
  body.cockpit-v8-active #a_prodhist .production-history-steps{grid-template-columns:1fr;gap:8px;}
  body.cockpit-v8-active #a_prodhist .production-history-steps li{min-height:0;padding:11px;}
  .cockpit-v8{max-width:480px;display:flex;flex-direction:column;}
  .cockpit-mobile-brand{height:88px;display:flex;align-items:center;justify-content:space-between;gap:14px;order:0;}
  .cockpit-mobile-brand .brand-board-window{width:146px;height:62px;display:flex;align-items:center;overflow:hidden;flex:0 0 auto;background:transparent;}
  .cockpit-mobile-brand .brand-board-window img{display:block;width:146px;height:62px;max-width:100%;object-fit:contain;object-position:left center;mix-blend-mode:multiply;}
  .mobile-bell{position:relative;width:42px;height:42px;border:0;background:transparent;color:#113f35;display:grid;place-items:center;cursor:pointer;}
  .mobile-bell svg{width:25px;height:25px;stroke:currentColor;stroke-width:1.65;fill:none;}
  .mobile-bell::after{content:attr(data-count);position:absolute;right:2px;top:2px;min-width:17px;height:17px;padding:0 4px;border-radius:99px;background:var(--cockpit-orange);color:#fff;font:600 9px/17px var(--sys);}
  .mobile-bell[data-count="0"]::after{display:none;}
  .cockpit-heading{display:block;margin:1px 0 15px;order:1;}
  .cockpit-eyebrow{display:none;}
  .cockpit-heading .cockpit-demo{display:inline-flex;margin-top:9px;}
  .cockpit-title{font-size:30px;color:#202523;}
  .desktop-title{display:none;}
  .mobile-title{display:inline;}
  .cockpit-title::after{display:none;}
  .cockpit-subtitle{font-size:12.5px;margin-top:4px;color:#7d8580;}
  .cockpit-primary-grid{display:contents;}
  .money-card{min-height:0;padding:19px 17px;border-radius:18px;order:2;}
  .money-head{align-items:flex-start;}
  .money-label{font-size:10.5px;}
  .money-icon{width:34px;height:34px;border-radius:11px;}
  .money-updated{font-size:9px;}
  .money-main{margin:17px 0 15px;}
  .money-total{font-size:36px;}
  .money-main-copy span{font-size:10.5px;}
  .money-detail-link{font-size:10.5px;}
  .money-breakdown{grid-template-columns:1fr 1fr;}
  .money-place{padding:11px 10px 10px 0;}
  .money-place+.money-place{padding-left:12px;}
  .money-place.incoming{grid-column:1/-1;border-left:0;border-top:1px dashed rgba(255,255,255,.18);padding-left:0;display:flex;align-items:center;justify-content:space-between;gap:12px;}
  .money-place.incoming small{margin:0;max-width:58%;}
  .money-place strong{font-size:16px;}
  .money-after{margin-top:12px;padding:10px 11px;}
  .money-after-copy{font-size:9.5px;}
  .money-after strong{font-size:17px;}
  .activity-card{margin-top:13px;padding:15px;order:3;}
  .activity-card .cockpit-card-head{margin-bottom:11px;}
  .activity-grid{gap:9px;}
  .activity-channel,.activity-channel+.activity-channel{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:33px 65px minmax(76px,1fr);align-items:start;gap:8px;padding:12px 11px;border:1px solid #e3e7e2;border-radius:14px;background:#fff;min-width:0;}
  .activity-channel+.activity-channel{padding-left:11px;}
  .activity-copy b{font-size:10.5px;line-height:1.25;}
  .activity-copy span{font-size:9px;}
  .activity-copy small{font-size:8.5px;}
  .activity-metric{display:flex;flex-direction:column;align-items:flex-start;width:100%;min-width:0;min-height:76px;}
  .activity-amount-label{font-size:7.5px!important;margin-bottom:2px!important;letter-spacing:.025em;}
  .activity-amount-label::before{width:5px;height:5px;}
  .activity-amount-help{font-size:7.5px!important;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;}
  .activity-metric strong{display:block;font-size:19px;}
  .activity-metric>span{margin-left:0;font-size:10px;}
  .activity-note{align-self:stretch;width:100%;max-width:100%;justify-content:center;gap:4px;margin-top:auto;padding:3px 0;border:0;border-radius:0;background:transparent;font-size:8.5px;line-height:1.15;white-space:nowrap;overflow:hidden;text-align:center;}
  .activity-note:hover,.activity-note:focus-visible{background:transparent;border-color:transparent;text-decoration:underline;text-underline-offset:2px;}
  .activity-note>svg,.activity-note-arrow{display:none;}
  .activity-note>span[data-cockpit-label]{min-width:0;overflow:hidden;text-overflow:ellipsis;}
  .activity-count-badge{min-width:17px;height:17px;padding:0 4px;font-size:8px;}
  .activity-link{display:none;}
  .todo-card{order:4;padding:16px 15px 13px;margin-top:13px;}
  .cockpit-card-head{margin-bottom:7px;}
  .cockpit-card-title{font-size:11px;}
  .cockpit-icon{width:33px;height:33px;border-radius:10px;}
  .todo-lines{grid-template-columns:repeat(3,1fr);gap:0;}
  .todo-line{display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding:8px 9px;border-bottom:0;border-right:1px solid #e9ece8;}
  .todo-line:nth-child(3){border-right:0;}
  .todo-line:last-child{display:none;}
  .todo-line b{font-size:16px;line-height:1.1;}
  .todo-line span{font-size:10px;line-height:1.35;}
  .todo-line em{display:none;}
  .cockpit-secondary-grid{display:flex;flex-direction:column;gap:13px;margin-top:13px;order:5;}
  .signal-card{order:1;padding:15px;gap:10px;align-items:flex-start;}
  .signal-icon{width:38px;height:38px;}
  .signal-copy b{font-size:9px;}
  .signal-copy span{font-size:11.5px;line-height:1.4;display:block;}
  .signal-action{padding:9px 10px;font-size:10px;align-self:center;}
  .quick-card{order:2;padding:14px 0 0;border:0;box-shadow:none;background:transparent;}
  .quick-grid{grid-template-columns:1fr 1fr;}
  .quick-action{min-height:50px;padding:9px;font-size:10px;line-height:1.25;}
  .mobile-bottom-nav{position:fixed;z-index:180;left:0;right:0;bottom:0;height:calc(76px + env(safe-area-inset-bottom));padding:6px 8px calc(6px + env(safe-area-inset-bottom));background:rgba(255,255,255,.97);border-top:1px solid #e6e8e5;backdrop-filter:blur(18px);display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:stretch;box-shadow:0 -8px 26px rgba(18,50,42,.07);}
  .mobile-nav-action{position:relative;min-width:0;min-height:0;padding:0 1px;border:0;border-radius:12px;background:transparent;color:#17263a;font:600 clamp(8px,2.35vw,9.5px)/1 var(--sys);letter-spacing:.025em;text-transform:uppercase;display:grid;grid-template-rows:46px 12px;align-content:center;justify-items:center;align-items:center;gap:2px;cursor:pointer;white-space:nowrap;}
  .mobile-nav-action>svg{width:22px;height:22px;stroke:currentColor;stroke-width:1.7;fill:none;}
  .mobile-nav-action>span:last-child{align-self:center;}
  .mobile-nav-home{width:46px;height:46px;border-radius:50%;margin:0;background:var(--cockpit-orange);color:#fff;border:3px solid #fff;box-shadow:0 4px 14px rgba(244,81,44,.24);display:grid;place-items:center;}
  .mobile-nav-home svg{width:23px;height:23px;stroke:currentColor;stroke-width:1.7;fill:none;}
  .mobile-nav-action.active{color:var(--cockpit-orange);}
  .mobile-nav-action:focus-visible{outline:2px solid var(--cockpit-green);outline-offset:-2px;}
  .mobile-todo-badge{position:absolute;top:3px;left:calc(50% + 9px);min-width:18px;height:18px;padding:0 4px;border-radius:99px;background:var(--cockpit-orange);color:#fff;font:600 9px/18px var(--sys);}
  body.cockpit-v8-active.mobile-menu-open #side{display:flex!important;position:fixed;inset:0 auto 0 0;width:min(86vw,340px);height:100dvh!important;z-index:200;flex-direction:column;align-items:stretch;overflow:hidden;padding:18px 14px;box-shadow:22px 0 56px rgba(8,31,26,.35);}
  body.cockpit-v8-active.mobile-menu-open #side .brand{margin:0 3px 18px;display:flex;}
  body.cockpit-v8-active.mobile-menu-open #side .brand-wordmark{width:154px;}
  body.cockpit-v8-active.mobile-menu-open #side .mobile-drawer-close{display:grid;margin-left:auto;width:36px;height:36px;border:1px solid rgba(255,255,255,.17);border-radius:50%;background:transparent;color:#fff;place-items:center;font-size:22px;cursor:pointer;}
  body.cockpit-v8-active.mobile-menu-open #side #nav{display:block;flex:1;overflow-y:auto;}
  body.cockpit-v8-active.mobile-menu-open #side .nv{display:flex;margin-bottom:4px;padding:10px 12px;white-space:normal;}
  body.cockpit-v8-active.mobile-menu-open #side .who{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;margin-top:12px;padding-top:14px;border-top:1px solid rgba(255,255,255,.12);}
  body.cockpit-v8-active.mobile-menu-open #side .who .av{width:56px;height:56px;}
  body.cockpit-v8-active.mobile-menu-open #side .who .side-account-button,
  body.cockpit-v8-active.mobile-menu-open #side .who .side-logout-button{min-height:44px;font-size:11px;}
  body.cockpit-v8-active.mobile-menu-open .mobile-menu-scrim{display:block;position:fixed;inset:0;z-index:199;background:rgba(7,29,24,.4);}
  .cockpit-sheet{padding:0;align-items:flex-end;}
  .cockpit-sheet-panel{width:100%;max-height:82dvh;border-radius:22px 22px 0 0;padding:20px 18px calc(22px + env(safe-area-inset-bottom));}
}
.finance-bank-link{display:flex;width:100%;align-items:center;justify-content:space-between;margin-top:14px;padding:13px 2px 2px;border:0;border-top:1px solid #dfe7e2;background:transparent;color:#174a3e;font:700 11.5px/1.4 inherit;cursor:pointer;text-align:left}.finance-bank-link:hover{color:#f25535}.finance-bank-link span{font-size:18px}
.bank-ledger{display:grid;gap:18px;color:#17332d}.bank-ledger-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding:2px 0 4px}.bank-ledger-hero>div{max-width:760px}.bank-ledger-eyebrow{color:#438173;font-size:9.5px;font-weight:750;letter-spacing:.15em}.bank-ledger-hero h1{margin:7px 0 0;color:#153d34;font:600 clamp(30px,3.4vw,45px)/1.04 'Playfair Display',serif}.bank-ledger-hero p{max-width:700px;margin:11px 0 0;color:#69766f;font-size:12.5px;line-height:1.65}.bank-demo-note{padding:11px 14px;border:1px solid #f3b9a9;border-radius:12px;background:#fff7f3;color:#9d432e;font-size:11px}.bank-ledger-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));overflow:hidden;border:1px solid #dbe5df;border-radius:16px;background:#fff;box-shadow:0 8px 25px rgba(24,62,53,.04)}.bank-ledger-summary article{display:grid;min-width:0;gap:5px;padding:18px 19px}.bank-ledger-summary article+article{border-left:1px solid #e2e9e5}.bank-ledger-summary small{color:#688077;font-size:9px;font-weight:750;letter-spacing:.11em;text-transform:uppercase}.bank-ledger-summary strong{color:#174a3e;font:600 25px/1.05 'Playfair Display',serif}.bank-ledger-summary span{overflow:hidden;color:#869089;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.bank-ledger-toolbar{display:grid;grid-template-columns:auto minmax(220px,1fr) auto;align-items:end;gap:12px;padding:14px;border:1px solid #dce6e0;border-radius:15px;background:#f8faf8}.bank-periods{display:flex;overflow:hidden;border:1px solid #d5e0da;border-radius:11px;background:#fff}.bank-periods button{min-height:40px;padding:0 15px;border:0;border-right:1px solid #e1e8e4;background:transparent;color:#61736b;font:650 10.5px inherit;cursor:pointer}.bank-periods button:last-child{border-right:0}.bank-periods button.is-active{background:#e8f0eb;color:#174a3e}.bank-search{display:grid;gap:4px}.bank-search span{color:#718078;font-size:9px;font-weight:700;text-transform:uppercase}.bank-search input{width:100%;height:40px;padding:0 13px;border:1px solid #d5e0da;border-radius:11px;background:#fff;color:#17332d;font:11px inherit;outline:none}.bank-search input:focus{border-color:#4f8578;box-shadow:0 0 0 3px rgba(79,133,120,.12)}.bank-filter-button{display:flex;min-height:40px;align-items:center;gap:8px;padding:0 15px;border:1px solid #315f54;border-radius:11px;background:#fff;color:#174a3e;font:700 10.5px inherit;cursor:pointer}.bank-filter-button span:not(:empty){display:grid;min-width:19px;height:19px;place-items:center;border-radius:50%;background:#f25535;color:#fff;font-size:9px}.bank-ledger-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(270px,.75fr);align-items:start;gap:18px}.bank-ledger-list,.bank-breakdown{overflow:hidden;border:1px solid #dbe5df;border-radius:17px;background:#fff;box-shadow:0 8px 25px rgba(24,62,53,.04)}.bank-section-head{display:flex;align-items:end;justify-content:space-between;gap:16px;padding:19px 20px;border-bottom:1px solid #e3eae6}.bank-section-head span{color:#438173;font-size:9px;font-weight:750;letter-spacing:.12em;text-transform:uppercase}.bank-section-head h2{margin:5px 0 0;color:#173c34;font:600 21px/1.15 'Playfair Display',serif}.bank-section-head>small{color:#89918d;font-size:9.5px}.bank-month>h3{margin:0;padding:13px 20px 8px;color:#62736b;font-size:9.5px;font-weight:750;text-transform:capitalize}.bank-transaction{display:grid;width:100%;grid-template-columns:38px minmax(0,1fr) auto auto;align-items:center;gap:11px;padding:13px 20px;border:0;border-top:1px solid #edf1ef;background:#fff;color:#17332d;text-align:left;cursor:pointer}.bank-transaction:hover{background:#f8fbf9}.bank-transaction-mark{display:grid;width:34px;height:34px;place-items:center;border-radius:11px;background:#edf5f1;color:#245d50;font-size:19px}.bank-transaction-mark[data-sens="debit"]{background:#fff1ec;color:#d64d30}.bank-transaction-main{display:grid;min-width:0;gap:3px}.bank-transaction-main b{overflow:hidden;font-size:11.5px;text-overflow:ellipsis;white-space:nowrap}.bank-transaction-main small{overflow:hidden;color:#7d8982;font-size:9.5px;text-overflow:ellipsis;white-space:nowrap}.bank-transaction-main em{overflow:hidden;color:#3f786a;font-size:8.5px;font-style:normal;font-weight:650;text-overflow:ellipsis;white-space:nowrap}.bank-transaction-proof{padding:6px 8px;border-radius:8px;font-size:8.5px;font-weight:700;white-space:nowrap}.bank-transaction-proof.is-ok{background:#e8f4ec;color:#39704d}.bank-transaction-proof.is-missing{background:#fff0eb;color:#a64832}.bank-transaction-amount{display:grid;min-width:90px;gap:3px;text-align:right}.bank-transaction-amount b{color:#174a3e;font:700 11px 'JetBrains Mono',monospace}.bank-transaction-amount[data-sens="debit"] b{color:#27352f}.bank-transaction-amount small{color:#89918d;font-size:9px}.bank-breakdown{padding-bottom:10px}.bank-breakdown>.bank-section-head{border-bottom:0}.bank-breakdown>button{position:relative;display:grid;width:calc(100% - 26px);grid-template-columns:26px minmax(0,1fr) auto;align-items:center;gap:9px;margin:0 13px;padding:12px 7px;border:0;border-top:1px solid #edf1ef;background:transparent;color:#17332d;text-align:left;cursor:pointer}.bank-breakdown>button:hover{background:#f8fbf9}.bank-rank{color:#9aa29e;font:600 10px 'JetBrains Mono',monospace}.bank-breakdown>button span:nth-child(2){display:grid;gap:2px}.bank-breakdown>button b{font-size:10.5px}.bank-breakdown>button small{color:#818d86;font-size:8.5px}.bank-breakdown>button strong{font:650 10px 'JetBrains Mono',monospace}.bank-breakdown>button i{position:absolute;right:7px;bottom:5px;left:42px;height:2px;border-radius:2px;background:linear-gradient(90deg,#3f7b6d var(--part),#edf1ef var(--part))}.bank-breakdown>p{margin:12px 20px 8px;color:#7b8780;font-size:9.5px;line-height:1.55}.bank-empty{display:grid;gap:6px;padding:42px 20px;text-align:center}.bank-empty b{font-size:12px}.bank-empty span,.bank-empty-small{color:#7f8a84;font-size:10px}.bank-loading{padding:60px;color:#68776f;text-align:center}.bank-filter-sheet[hidden],.bank-detail-sheet[hidden]{display:none}.bank-filter-sheet,.bank-detail-sheet{position:fixed;z-index:120;inset:0}.bank-sheet-veil{position:absolute;inset:0;border:0;background:rgba(14,35,29,.32);backdrop-filter:blur(2px)}.bank-filter-sheet>section,.bank-detail-sheet>section{position:absolute;top:0;right:0;display:flex;width:min(430px,100%);height:100%;flex-direction:column;gap:18px;padding:28px;background:#fbfcfb;box-shadow:-20px 0 60px rgba(18,49,41,.16);overflow:auto}.bank-filter-sheet header,.bank-detail-sheet header{display:flex;align-items:start;justify-content:space-between;gap:12px}.bank-filter-sheet header span,.bank-detail-sheet header span{color:#438173;font-size:9px;font-weight:750;letter-spacing:.12em;text-transform:uppercase}.bank-filter-sheet header h2,.bank-detail-sheet header h2{margin:5px 0 0;color:#173c34;font:600 26px/1.12 'Playfair Display',serif}.bank-filter-sheet header>button,.bank-detail-sheet header>button{display:grid;width:36px;height:36px;place-items:center;border:1px solid #d6e1db;border-radius:50%;background:#fff;color:#174a3e;font-size:21px;cursor:pointer}.bank-filter-sheet label{display:grid;gap:7px;color:#52685e;font-size:10px;font-weight:700}.bank-filter-sheet select{height:44px;padding:0 12px;border:1px solid #d5e0da;border-radius:11px;background:#fff;color:#17332d;font:11px inherit}.bank-filter-group{display:grid;gap:9px;padding-top:15px;border-top:1px solid #e1e8e4}.bank-filter-group>span{color:#52685e;font-size:10px;font-weight:700}.bank-filter-group>div{display:flex;flex-wrap:wrap;gap:7px}.bank-filter-group button{min-height:36px;padding:0 12px;border:1px solid #d5e0da;border-radius:10px;background:#fff;color:#5e7067;font:650 10px inherit;cursor:pointer}.bank-filter-group button.is-active{border-color:#315f54;background:#e8f0eb;color:#174a3e}.bank-filter-sheet footer{display:grid;grid-template-columns:1fr 1.5fr;gap:9px;margin-top:auto;padding-top:12px}.bank-detail-amount{padding:18px;border-radius:14px;background:#edf4f0;color:#174a3e;font:600 32px 'Playfair Display',serif}.bank-detail-amount[data-sens="debit"]{background:#fff4ef;color:#8f3825}.bank-detail-sheet dl{display:grid;margin:0}.bank-detail-sheet dl>div{display:grid;grid-template-columns:110px minmax(0,1fr);gap:12px;padding:12px 0;border-bottom:1px solid #e4ebe7}.bank-detail-sheet dt{color:#7e8983;font-size:9.5px}.bank-detail-sheet dd{margin:0;color:#17332d;font-size:10.5px;font-weight:650;text-align:right}.bank-detail-proof{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px;border:1px solid #dbe5df;border-radius:13px;background:#fff}.bank-detail-proof>div{display:grid;gap:3px}.bank-detail-proof span{color:#7f8b84;font-size:9px}.bank-detail-proof b{font-size:10.5px}.bank-detail-sheet section>p{margin:0;color:#7c8982;font-size:9.5px;line-height:1.55}
@media(max-width:900px){.bank-ledger-summary{grid-template-columns:1fr 1fr}.bank-ledger-summary article:nth-child(3){border-left:0;border-top:1px solid #e2e9e5}.bank-ledger-summary article:nth-child(4){border-top:1px solid #e2e9e5}.bank-ledger-toolbar{grid-template-columns:1fr auto}.bank-periods{grid-column:1/-1}.bank-search{min-width:0}.bank-ledger-layout{grid-template-columns:1fr}.bank-breakdown>button{grid-template-columns:26px minmax(0,1fr) auto}}
@media(max-width:600px){.bank-ledger{gap:13px}.bank-ledger-hero{display:grid;gap:14px}.bank-ledger-hero h1{font-size:32px}.bank-ledger-hero .btn{width:100%}.bank-ledger-summary article{padding:14px}.bank-ledger-summary strong{font-size:21px}.bank-ledger-toolbar{display:grid;grid-template-columns:1fr auto;padding:10px}.bank-periods{display:grid;grid-template-columns:repeat(3,1fr)}.bank-periods button{padding:0 6px;font-size:9px}.bank-transaction{grid-template-columns:35px minmax(0,1fr) auto;padding:13px 14px}.bank-transaction-proof{grid-column:2/4;grid-row:2;width:max-content}.bank-transaction-amount{grid-column:3;grid-row:1}.bank-section-head{padding:16px}.bank-filter-sheet>section,.bank-detail-sheet>section{top:auto;bottom:0;width:100%;height:auto;max-height:88%;border-radius:22px 22px 0 0;padding:22px 18px}.bank-filter-sheet footer{position:sticky;bottom:-22px;margin:5px -18px -22px;padding:12px 18px 20px;background:#fbfcfb}.bank-detail-sheet dl>div{grid-template-columns:90px minmax(0,1fr)}}
.bank-filter-sheet,.bank-detail-sheet{z-index:220}
.bank-source-status{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:11px 14px;border:1px solid #dce6e0;border-radius:13px;background:#f8faf8}.bank-source-status>small{margin-right:4px;color:#708078;font-size:8.5px;font-weight:750;letter-spacing:.12em}.bank-source-status>span{display:inline-flex;align-items:center;gap:5px;padding:6px 9px;border-radius:999px;background:#eef1ef;color:#758078;font-size:8.5px}.bank-source-status>span::before{content:"";width:6px;height:6px;border-radius:50%;background:#9da59f}.bank-source-status>span b{color:#40554c;font-size:9px}.bank-source-status>span.is-ready{background:#e7f2eb;color:#3d7652}.bank-source-status>span.is-ready::before{background:#43a36b}.bank-source-status>span.is-warning{background:#fff3e7;color:#8c602d}.bank-source-status>span.is-warning::before{background:#d79745}
.bank-breakdown-chart{display:grid;place-items:center;padding:4px 18px 18px}.bank-donut{display:grid;width:150px;aspect-ratio:1;place-items:center;border-radius:50%;background:conic-gradient(var(--bank-donut));box-shadow:inset 0 0 0 1px rgba(23,74,62,.06)}.bank-donut::before{content:"";grid-area:1/1;width:96px;aspect-ratio:1;border-radius:50%;background:#fff;box-shadow:0 0 0 1px #edf1ef}.bank-donut>span{z-index:1;grid-area:1/1;display:grid;gap:3px;text-align:center;white-space:nowrap}.bank-donut b{color:#174a3e;font:650 13px 'JetBrains Mono',monospace}.bank-donut small{color:#7c8982;font-size:8.5px}.bank-rank{display:flex;align-items:center;gap:6px}.bank-rank::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--bank-tone);flex:0 0 auto}@media(max-width:600px){.bank-breakdown-chart{padding:0 14px 16px}.bank-donut{width:140px}.bank-donut::before{width:92px}.bank-donut b{font-size:11.5px}}
/* L'aperçu transactionnel doit être impossible à confondre avec des données bancaires réelles. */
.bank-demo-note{display:grid;gap:3px;padding:12px 14px}.bank-demo-note strong{font-size:9px;letter-spacing:.11em}.bank-demo-note span{line-height:1.45}
