
:root{--navy:#08243d;--navy2:#0d3152;--gold:#b98b2f;--ink:#172331;--muted:#687481;--paper:#fff;--soft:#f5f6f7;--line:#dfe4e8}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--ink);background:#fff;line-height:1.6}a{color:inherit;text-decoration:none}.wrap{width:min(1160px,92%);margin:auto}.topbar{background:#061b2e;color:#d8e2eb;text-align:center;padding:7px;font-size:12px;letter-spacing:.18em}.nav{position:sticky;top:0;z-index:20;background:#fff;border-bottom:1px solid var(--line)}.nav-inner{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:82px}.brand-logo img{width:165px;height:70px;object-fit:cover;object-position:left top}.menu{display:flex;align-items:center;gap:19px;font-size:14px;font-weight:700}.menu a:hover{color:var(--gold)}.hamb{display:none;background:none;border:0;font-size:28px}.hero{background:linear-gradient(115deg,#061d31,#0d3558);color:white;padding:95px 0}.hero h1,.academy-main-hero h1{font-family:Georgia,serif;font-size:clamp(42px,6vw,76px);line-height:1.04;margin:.15em 0}.hero p{max-width:800px;font-size:20px}.eyebrow{color:var(--gold);font-size:12px;font-weight:800;letter-spacing:.18em;text-transform:uppercase}.section{padding:78px 0}.alt{background:var(--soft)}.dark{background:var(--navy);color:white}.section h2{font-family:Georgia,serif;font-size:clamp(32px,4vw,50px);line-height:1.1;margin:10px 0 24px}.lead{font-size:19px;color:inherit;max-width:880px}.grid{display:grid;gap:22px}.two{grid-template-columns:repeat(2,1fr)}.four{grid-template-columns:repeat(4,1fr)}.card{background:#fff;color:var(--ink);padding:28px;border:1px solid var(--line);border-radius:14px;box-shadow:0 8px 30px rgba(5,28,48,.06)}.dark .card{background:#103451;color:white;border-color:#284b66}.btn,button{display:inline-block;background:var(--navy);color:white;border:0;border-radius:7px;padding:12px 18px;font-weight:800;cursor:pointer}.btn.gold{background:var(--gold);color:#fff}.btn.ghost{background:transparent;border:1px solid var(--navy);color:var(--navy)}.btn.small{padding:8px 12px}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}.quote{font-family:Georgia,serif;font-size:32px;max-width:900px}.signature{color:var(--gold)}.num,.dimension-index{color:var(--gold);font-weight:900}.timeline>div{border-left:2px solid var(--gold);padding:4px 0 18px 18px}.journey{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}.journey-step{border-top:4px solid var(--gold);background:#fff;padding:22px;border-radius:8px;box-shadow:0 7px 24px rgba(0,0,0,.05)}.journey-step h3{font-size:20px}.tool-badge{font-size:11px;font-weight:800;color:var(--gold);letter-spacing:.08em}.feature-strip{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}.feature-strip span,.tag{background:#edf1f4;padding:7px 10px;border-radius:99px;font-size:13px}.footer{background:#061b2e;color:#dbe5ed;padding:48px 0 22px}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:35px}.footer-logo{width:190px;background:white}.copyright{border-top:1px solid #294157;margin-top:28px;padding-top:18px;font-size:13px}.portal{padding:70px 0;background:var(--soft);min-height:70vh}label{display:block;font-weight:700;margin-top:12px}input,textarea,select{width:100%;padding:12px;border:1px solid #cfd7dd;border-radius:7px;font:inherit}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:15px}.notice{padding:12px;margin-top:10px;border-radius:6px}.error{background:#ffe9e9}.success{background:#e8f7ec}.academy-main-hero{background:linear-gradient(115deg,#061d31,#0d3558);padding:80px 0;color:white}.tool-card{position:relative;overflow:hidden}.tool-card .step{font-size:46px;color:#e4c37c;font-family:Georgia,serif}.tool-card p{min-height:80px}.method-note{border-left:4px solid var(--gold);padding:18px 22px;background:#fbf8f0}.book-cover{max-width:280px;width:100%;box-shadow:0 15px 40px #0002}.book-section{align-items:center}.youtube-mark{font-size:90px;text-align:center;color:var(--gold)}@media(max-width:900px){.hamb{display:block}.menu{display:none;position:absolute;top:82px;left:0;right:0;background:white;padding:20px;flex-direction:column;align-items:flex-start;border-bottom:1px solid var(--line)}.menu.open{display:flex}.four,.journey{grid-template-columns:1fr 1fr}.two{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr}.hero{padding:65px 0}}@media(max-width:560px){.four,.journey{grid-template-columns:1fr}.form-row{grid-template-columns:1fr}.section{padding:55px 0}}


/* ===== V2.1 — intégration des images, proportions d'origine préservées ===== */

/* Logo : aucun recadrage, aucune déformation */
.brand-logo img{
  width:165px;
  height:auto;
  max-height:none;
  object-fit:contain;
  object-position:center;
  display:block;
}
.footer-logo{
  width:190px;
  height:auto;
  object-fit:contain;
  display:block;
  background:white;
}
.report-brand img{
  width:190px;
  height:auto;
  object-fit:contain;
}

/* Portrait : conserve le carré original et reste discret dans la composition 2 colonnes */
.portrait-block{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:420px;
}
.portrait-photo{
  display:block;
  width:min(100%,420px);
  aspect-ratio:1/1;
  height:auto;
  object-fit:cover;
  object-position:center top;
  border-radius:12px;
  box-shadow:0 14px 38px rgba(5,28,48,.12);
}

/* Livre : ratio natif 400x567, sans étirement */
.book-cover-wrap{
  display:flex;
  align-items:center;
  justify-content:center;
}
.book-cover{
  width:min(100%,280px);
  height:auto;
  aspect-ratio:auto;
  object-fit:contain;
  box-shadow:0 15px 40px rgba(0,0,0,.14);
}

/* Quelques ajustements pour la nomenclature actuelle sans changer la direction artistique */
.menu{gap:17px}
.menu a{white-space:nowrap}
@media(max-width:900px){
  .portrait-block{min-height:auto}
  .portrait-photo{width:min(100%,360px)}
}

/* ===== V2.2 GLOBAL REFINEMENTS ===== */
.topbar{display:none!important}

/* Header logo: medium, readable, natural proportions */
.nav-inner{min-height:108px!important}
.brand-logo{flex:0 0 245px!important}
.brand-logo img{
  width:245px!important;
  height:auto!important;
  max-height:96px!important;
  object-fit:contain!important;
  object-position:center!important;
  image-rendering:auto!important;
}
.footer-logo{width:210px!important;height:auto!important;object-fit:contain!important}
.footer-youtube{margin-top:24px;padding-top:18px;border-top:1px solid rgba(255,255,255,.16);text-align:center}
.footer-youtube a{color:#d5b56d;font-weight:700;text-decoration:none}

/* Enneagram redesign */
.ennea-modern-hero{background:linear-gradient(135deg,#07233d 0%,#103b61 72%,#153e5c 100%);color:white;padding:74px 0 64px;position:relative;overflow:hidden}
.ennea-modern-hero:after{content:"";position:absolute;right:-120px;top:-180px;width:520px;height:520px;border:1px solid rgba(212,170,89,.22);border-radius:50%;box-shadow:0 0 0 60px rgba(212,170,89,.045),0 0 0 120px rgba(212,170,89,.025)}
.ennea-modern-grid{display:grid;grid-template-columns:1.35fr .65fr;gap:60px;align-items:center;position:relative;z-index:2}
.ennea-modern-hero h1{font-family:Georgia,serif;font-size:56px;margin:10px 0 18px}
.ennea-modern-hero .lead{font-size:21px;line-height:1.45}
.ennea-modern-hero p{max-width:720px;line-height:1.65}
.ennea-nine{display:grid;grid-template-columns:repeat(3,92px);grid-template-rows:repeat(3,92px);gap:12px;justify-content:center}
.ennea-nine span{display:grid;place-items:center;border:1px solid rgba(212,170,89,.45);border-radius:50%;font-family:Georgia,serif;font-size:30px;color:#e1c078;background:rgba(255,255,255,.04);box-shadow:inset 0 0 0 6px rgba(255,255,255,.018)}
.ennea-intro .card{min-height:220px}
.menu .active{color:#b88a32}

@media(max-width:900px){
  .brand-logo{flex-basis:205px!important}
  .brand-logo img{width:205px!important;max-height:82px!important}
  .nav-inner{min-height:94px!important}
  .ennea-modern-grid{grid-template-columns:1fr}
  .ennea-nine{justify-content:start}
}
@media(max-width:620px){
  .brand-logo{flex-basis:175px!important}
  .brand-logo img{width:175px!important;max-height:74px!important}
  .nav-inner{min-height:84px!important}
  .ennea-modern-hero h1{font-size:40px}
  .ennea-nine{grid-template-columns:repeat(3,70px);grid-template-rows:repeat(3,70px)}
}

/* ===== V2.3 — Logo plus présent, toujours sans déformation ===== */
.nav-inner{min-height:126px!important}
.brand-logo{flex:0 0 315px!important}
.brand-logo img{
  width:315px!important;
  height:auto!important;
  max-height:112px!important;
  object-fit:contain!important;
  object-position:center!important;
  display:block!important;
}
.menu{gap:14px!important;font-size:12px!important}
.footer-logo{width:235px!important;height:auto!important;object-fit:contain!important}

/* ===== Ennéagramme V2.3 — compact, pédagogique, explicatif ===== */
.compact-section{padding-top:46px!important;padding-bottom:46px!important}
.ennea-hero-v23{
  background:linear-gradient(135deg,#082640 0%,#0d3659 65%,#123f64 100%);
  color:#fff;padding:64px 0 58px;overflow:hidden
}
.ennea-hero-v23-grid{display:grid;grid-template-columns:1.35fr .65fr;gap:46px;align-items:center}
.ennea-hero-v23 h1{font-family:Georgia,serif;font-size:clamp(48px,6vw,76px);margin:8px 0 14px;color:#fff}
.ennea-hero-v23 .lead{font-size:20px;line-height:1.5;max-width:760px}
.light{color:#d7b36a!important}
.ennea-wheel{width:300px;height:300px;border:1px solid rgba(216,180,106,.42);border-radius:50%;position:relative;margin:auto;background:rgba(255,255,255,.025)}
.ennea-wheel:before{content:"";position:absolute;inset:52px;border:1px solid rgba(216,180,106,.22);border-radius:50%}
.ennea-wheel-center{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:92px;height:92px;border-radius:50%;display:grid;place-items:center;text-align:center;font-family:Georgia,serif;font-size:34px;color:#d7b36a;background:#092945;border:1px solid rgba(216,180,106,.5)}
.ennea-wheel-center small{font-family:Arial,sans-serif;font-size:11px;text-transform:uppercase;letter-spacing:.12em}
.ennea-wheel span{position:absolute;width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:#fff;color:#0b2d4a;font-family:Georgia,serif;font-size:20px;font-weight:bold;box-shadow:0 5px 15px rgba(0,0,0,.13)}
.ennea-wheel .n1{left:128px;top:8px}.ennea-wheel .n2{right:49px;top:32px}.ennea-wheel .n3{right:7px;top:111px}.ennea-wheel .n4{right:24px;bottom:44px}.ennea-wheel .n5{right:100px;bottom:7px}.ennea-wheel .n6{left:53px;bottom:20px}.ennea-wheel .n7{left:8px;bottom:87px}.ennea-wheel .n8{left:14px;top:78px}.ennea-wheel .n9{left:74px;top:25px}
.ennea-explain{align-items:start}
.ennea-explain p{line-height:1.6}
.ennea-types-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.ennea-types-grid article{padding:15px 17px;background:#fff;border:1px solid #e6e8eb;border-radius:10px}
.ennea-types-grid b{display:block;color:#0b2d4a;margin-bottom:4px}.ennea-types-grid span{font-size:12px;color:#66717d}
.ennea-concepts .card{min-height:0!important;padding:23px!important}
.ennea-concepts h3{margin:7px 0 10px;font-size:20px}
.ennea-concepts p{font-size:14px;line-height:1.55}
.ennea-method-v23{align-items:start}
.clean-list{padding-left:20px}.clean-list li{margin:9px 0;line-height:1.45}
.ennea-result-card{padding:28px!important}
.mini-steps{display:flex;align-items:center;gap:10px;margin:12px 0;font-size:14px}
.mini-steps span{width:27px;height:27px;border-radius:50%;background:#0b2d4a;color:white;display:grid;place-items:center;font-weight:bold;font-size:12px}
.section-heading{margin-bottom:22px}.section-heading.centered{max-width:780px;margin:0 auto 24px;text-align:center}

@media(max-width:1050px){
  .brand-logo{flex-basis:265px!important}
  .brand-logo img{width:265px!important;max-height:100px!important}
  .nav-inner{min-height:112px!important}
  .menu{gap:10px!important;font-size:11px!important}
}
@media(max-width:900px){
  .ennea-hero-v23-grid{grid-template-columns:1fr}
  .ennea-wheel{width:260px;height:260px}
  .ennea-wheel .n1{left:108px;top:4px}.ennea-wheel .n2{right:37px;top:28px}.ennea-wheel .n3{right:2px;top:94px}.ennea-wheel .n4{right:18px;bottom:35px}.ennea-wheel .n5{right:85px;bottom:2px}.ennea-wheel .n6{left:44px;bottom:15px}.ennea-wheel .n7{left:3px;bottom:75px}.ennea-wheel .n8{left:8px;top:67px}.ennea-wheel .n9{left:61px;top:20px}
  .ennea-types-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:620px){
  .brand-logo{flex-basis:215px!important}
  .brand-logo img{width:215px!important;max-height:88px!important}
  .nav-inner{min-height:98px!important}
  .ennea-types-grid{grid-template-columns:1fr}
  .compact-section{padding-top:34px!important;padding-bottom:34px!important}
}

/* ===== V2.4 — Logo JMD Leadership plus grand et toujours net ===== */
.nav-inner{min-height:138px!important}
.brand-logo{flex:0 0 355px!important}
.brand-logo img{
  width:355px!important;
  height:auto!important;
  max-height:122px!important;
  object-fit:contain!important;
  object-position:left center!important;
  display:block!important;
}
.footer-logo{width:245px!important;height:auto!important;object-fit:contain!important}
.login-card{padding:34px!important}
.login-notice{margin:0 0 22px}
.login-register{margin-top:20px;font-size:14px}
.login-register a{font-weight:700;color:#b88a32}

@media(max-width:1120px){
  .brand-logo{flex-basis:305px!important}
  .brand-logo img{width:305px!important;max-height:108px!important}
  .nav-inner{min-height:124px!important}
}
@media(max-width:920px){
  .brand-logo{flex-basis:265px!important}
  .brand-logo img{width:265px!important;max-height:98px!important}
  .nav-inner{min-height:112px!important}
}
@media(max-width:620px){
  .brand-logo{flex-basis:225px!important}
  .brand-logo img{width:225px!important;max-height:90px!important}
  .nav-inner{min-height:102px!important}
}

/* ===== V2.5 — Création de compte / parcours utilisateur ===== */
.register-card{padding:38px!important}
.register-card .lead{font-size:16px;line-height:1.55;color:#4d5b68;margin-bottom:22px}
.form-grid{gap:16px}
.register-form label{display:block;font-weight:700;font-size:13px;color:#18354f;margin:12px 0 5px}
.register-form label small{font-weight:400;color:#76818b}
.register-form input{
  width:100%;padding:13px 14px;border:1px solid #ccd3d9;border-radius:8px;
  font-size:15px;background:#fff
}
.register-form input:focus{outline:2px solid rgba(184,138,50,.2);border-color:#b88a32}
.account-info{margin:18px 0;padding:14px 16px;background:#f6f3eb;border-left:3px solid #b88a32;font-size:13px;line-height:1.5}
@media(max-width:620px){.register-card{padding:25px!important}.form-grid{grid-template-columns:1fr!important}}


/* V2.6 — seule modification : logo d'en-tête légèrement plus grand */
.nav-inner{min-height:146px!important}
.brand-logo{flex:0 0 385px!important}
.brand-logo img{
  width:385px!important;
  height:auto!important;
  max-height:132px!important;
  object-fit:contain!important;
  object-position:left center!important;
}

@media(max-width:1120px){
  .brand-logo{flex-basis:330px!important}
  .brand-logo img{width:330px!important;max-height:116px!important}
  .nav-inner{min-height:132px!important}
}
@media(max-width:920px){
  .brand-logo{flex-basis:285px!important}
  .brand-logo img{width:285px!important;max-height:104px!important}
  .nav-inner{min-height:120px!important}
}
@media(max-width:620px){
  .brand-logo{flex-basis:240px!important}
  .brand-logo img{width:240px!important;max-height:94px!important}
  .nav-inner{min-height:108px!important}
}

/* ===== V2.7 — logo d'en-tête environ deux fois plus grand ===== */
.nav-inner{min-height:230px!important}
.brand-logo{flex:0 0 620px!important}
.brand-logo img{
  width:620px!important;
  height:auto!important;
  max-height:215px!important;
  object-fit:contain!important;
  object-position:left center!important;
  display:block!important;
}
@media(max-width:1280px){
  .brand-logo{flex-basis:520px!important}
  .brand-logo img{width:520px!important;max-height:185px!important}
  .nav-inner{min-height:205px!important}
}
@media(max-width:1050px){
  .brand-logo{flex-basis:390px!important}
  .brand-logo img{width:390px!important;max-height:145px!important}
  .nav-inner{min-height:165px!important}
}
@media(max-width:720px){
  .brand-logo{flex-basis:280px!important}
  .brand-logo img{width:280px!important;max-height:110px!important}
  .nav-inner{min-height:125px!important}
}

/* ===== Espace enseignant ===== */
.teacher-portal{padding:34px 0 60px}
.teacher-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:22px}
.teacher-filter{display:flex;align-items:center;gap:15px;padding:18px!important}
.teacher-filter select{max-width:300px}
.teacher-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin:20px 0}
.kpi{background:#0b2d4a;color:white;padding:22px;border-radius:12px;text-align:center}
.kpi span{display:block;font-size:34px;font-weight:800;color:#d7b36a}.kpi small{text-transform:uppercase;letter-spacing:.08em}
.teacher-table-wrap{overflow:auto;padding:0!important}
.teacher-table{min-width:900px;width:100%;border-collapse:collapse}
.teacher-table th,.teacher-table td{padding:14px;border-bottom:1px solid #e5e7ea;text-align:left;vertical-align:top}
.teacher-table th{background:#f7f5ef;color:#0b2d4a;font-size:12px;text-transform:uppercase;letter-spacing:.05em}
.status-pill{display:inline-block;padding:5px 8px;border-radius:999px;font-size:11px;font-weight:800}
.status-pill.ok{background:#e6f4ea;color:#25733d}.status-pill.progress{background:#fff4d9;color:#966600}.status-pill.muted{background:#eef1f3;color:#6b747c}
.table-link{font-weight:800;color:#b88a32}.score-json{white-space:pre-wrap;background:#f6f7f8;padding:12px;border-radius:8px;font-size:11px;max-height:320px;overflow:auto}
@media(max-width:800px){.teacher-head{flex-direction:column;align-items:flex-start}.teacher-kpis{grid-template-columns:1fr}}

/* ===== V2.8 — déconnexion & administration ===== */
.logout-link{
  display:inline-flex;align-items:center;padding:9px 12px;border-radius:8px;
  border:1px solid #d9dee2;color:#7a3440!important;font-size:11px!important;
  font-weight:800;text-transform:uppercase;text-decoration:none!important
}
.logout-link:hover{background:#fff1f2;border-color:#d9a7ae}
.logout-admin{background:#7d3340!important;color:#fff!important}

.admin-portal{padding:35px 0 70px}
.admin-head{align-items:flex-end}
.admin-head-actions{display:flex;gap:9px;flex-wrap:wrap}
.admin-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:20px 0 24px}
.admin-kpi{background:#0b2d4a;color:white;border-radius:12px;padding:20px;text-align:center}
.admin-kpi strong{display:block;font-size:32px;color:#d7b36a}
.admin-kpi span{font-size:11px;text-transform:uppercase;letter-spacing:.06em}
.admin-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 20px}
.admin-tabs a{padding:9px 13px;border:1px solid #dfe3e7;border-radius:999px;background:white;text-decoration:none;font-weight:700;color:#0b2d4a}
.admin-section{margin-bottom:24px!important}
.admin-section-head{display:flex;justify-content:space-between;gap:25px;align-items:flex-start;margin-bottom:18px}
.admin-section-head h2{margin:4px 0}
.admin-section-head .small{max-width:480px}
.admin-table{width:100%;border-collapse:collapse;min-width:850px}
.admin-table th,.admin-table td{padding:12px;border-bottom:1px solid #e5e8ea;text-align:left;vertical-align:top}
.admin-table th{font-size:11px;text-transform:uppercase;letter-spacing:.05em;color:#63707b;background:#f8f7f3}
.inline-form{display:inline-flex;align-items:center;gap:7px;margin:2px 5px 2px 0}
.inline-form select{padding:7px 8px;border:1px solid #ccd3d8;border-radius:7px}
.btn.tiny{padding:7px 10px!important;font-size:11px!important}
.danger-btn{border:1px solid #d7a3aa;background:#fff3f4;color:#8b2635;border-radius:7px;padding:7px 10px;font-weight:800;cursor:pointer}
.role-pill{display:inline-block;padding:5px 8px;border-radius:999px;font-size:11px;font-weight:800}
.role-student{background:#eef2f5;color:#52616d}.role-teacher{background:#edf5ff;color:#2d6091}.role-admin{background:#f7eee0;color:#8a5b16}
.admin-message-list{display:grid;gap:12px}
.admin-message{border:1px solid #e2e6e9;border-left:4px solid #b88a32;border-radius:9px;padding:16px}
.admin-message.lu{border-left-color:#6e879e}.admin-message.traite{border-left-color:#5f916c;background:#fbfdfb}
.message-meta{display:flex;justify-content:space-between;gap:15px;color:#65717c;font-size:12px}
.admin-message h3{margin:9px 0 7px}.admin-message p{line-height:1.55;margin:6px 0 14px}
.message-actions{display:flex;gap:7px;flex-wrap:wrap}
.admin-flash{margin:15px 0}
.table-link{font-weight:800;color:#b88a32;text-decoration:none}
@media(max-width:850px){
  .admin-kpis{grid-template-columns:1fr 1fr}
  .admin-section-head,.admin-head{flex-direction:column;align-items:flex-start}
}
@media(max-width:560px){.admin-kpis{grid-template-columns:1fr}.message-meta{flex-direction:column}}

/* ===== V2.9 — Administration complète ===== */
.logout-link{display:inline-flex;align-items:center;padding:9px 12px;border:1px solid #d9dee2;border-radius:8px;color:#813545!important;font-size:11px!important;font-weight:800;text-transform:uppercase;text-decoration:none!important}
.logout-admin{background:#813545!important;color:white!important}
.admin-portal{padding:35px 0 70px}.admin-head{align-items:flex-end}
.admin-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:20px 0}
.admin-kpis>div{background:#0b2d4a;color:#fff;border-radius:11px;padding:18px;text-align:center}
.admin-kpis b{display:block;font-size:30px;color:#d7b36a}.admin-kpis span{font-size:11px;text-transform:uppercase}
.admin-section{margin-bottom:22px!important}.admin-table{width:100%;border-collapse:collapse;min-width:820px}
.admin-table th,.admin-table td{padding:12px;border-bottom:1px solid #e6e8ea;text-align:left;vertical-align:top}
.admin-table th{font-size:11px;text-transform:uppercase;color:#65727d;background:#f8f7f3}
.inline-form{display:inline-flex;align-items:center;gap:6px;margin:2px 4px}.inline-form select{padding:7px;border:1px solid #ccd2d7;border-radius:7px}
.btn.tiny{padding:7px 10px!important;font-size:11px!important}.danger-btn{padding:7px 10px;border:1px solid #d8a3aa;border-radius:7px;background:#fff3f4;color:#8b2635;font-weight:800;cursor:pointer}
.admin-message-list{display:grid;gap:12px}.admin-message{border:1px solid #e2e6e9;border-left:4px solid #b88a32;border-radius:9px;padding:16px}
.admin-message.lu{border-left-color:#6e879e}.admin-message.traite{border-left-color:#5f916c;background:#fbfdfb}
.message-meta{display:flex;justify-content:space-between;gap:12px;color:#65717c;font-size:12px}.message-actions{display:flex;gap:7px;flex-wrap:wrap}
.admin-edit-form label{display:block;font-weight:700;font-size:13px;margin:12px 0 5px}.admin-edit-form input{width:100%;padding:12px;border:1px solid #ccd3d9;border-radius:8px}
.tool-history-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.tool-history-card{border:1px solid #e2e5e8;border-radius:10px;padding:18px}
.tool-history-card summary{cursor:pointer;font-weight:800;color:#b88a32}.score-json{white-space:pre-wrap;background:#f6f7f8;padding:12px;border-radius:8px;font-size:11px;max-height:340px;overflow:auto}
.status-pill{display:inline-block;padding:5px 8px;border-radius:999px;font-size:11px;font-weight:800}.status-pill.ok{background:#e6f4ea;color:#25733d}.status-pill.progress{background:#fff4d9;color:#966600}.status-pill.muted{background:#eef1f3;color:#6b747c}
@media(max-width:850px){.admin-kpis{grid-template-columns:1fr 1fr}.tool-history-grid{grid-template-columns:1fr}.admin-head{flex-direction:column;align-items:flex-start}}

/* ===== V3.0 — réinitialisation des passations ===== */
.status-pill.reset{background:#f2ecff;color:#6a43a4}
.tool-admin-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:14px}
.tool-admin-actions form{margin:0}
.admin-head-actions{display:flex;gap:8px;flex-wrap:wrap}

/* ===== V3.3 — Rapport collectif enseignant ===== */
.collective-report-page{background:#eef1f3;padding:30px 0 60px}
.report-paper{background:#fff;box-shadow:0 12px 38px rgba(0,0,0,.08);padding:38px 46px}
.collective-report-toolbar{display:flex;justify-content:space-between;align-items:center;gap:18px;padding-bottom:18px;border-bottom:1px solid #e4e7e9;margin-bottom:28px}
.collective-promo-filter{display:flex;align-items:center;gap:8px}.collective-promo-filter label{font-size:12px;font-weight:700}.collective-promo-filter select{padding:8px;border:1px solid #ccd3d8;border-radius:7px}
.collective-report-header{display:flex;align-items:center;gap:30px;border-bottom:3px solid #b88a32;padding-bottom:24px;margin-bottom:28px}
.collective-report-header img{width:260px;height:auto;object-fit:contain}.collective-report-header h1{font-family:Georgia,serif;font-size:44px;margin:5px 0 7px;color:#0b2d4a}
.collective-summary{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin-bottom:32px}
.collective-kpi{background:#0b2d4a;color:#fff;border-radius:9px;padding:15px;text-align:center}.collective-kpi strong{display:block;font-size:25px;color:#d7b36a}.collective-kpi span{font-size:10px;text-transform:uppercase;letter-spacing:.04em}
.report-section{padding:24px 0;border-bottom:1px solid #e7e9eb}.report-section h2{margin:5px 0 18px}.collective-radar-wrap{max-width:620px;margin:auto}.collective-radar{min-height:430px}
.collective-reading{font-size:16px;line-height:1.65}.collective-caution{margin-top:18px;padding:15px 18px;background:#f8f5ec;border-left:4px solid #b88a32}.collective-caution p{margin-bottom:0}
.dominant-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.dominant-card{border:1px solid #e3e6e8;border-radius:10px;padding:18px;text-align:center}.dominant-card span{display:block;font-weight:800;color:#0b2d4a}.dominant-card strong{display:block;font-size:30px;color:#b88a32;margin:6px}.dominant-card small{color:#697681}
.collective-questions .card{box-shadow:none;border:1px solid #e2e5e7}.collective-table{width:100%;border-collapse:collapse}.collective-table th,.collective-table td{padding:10px;border-bottom:1px solid #e5e7e9;text-align:left;font-size:12px}.collective-table th{background:#f7f6f2;color:#52616e;text-transform:uppercase;font-size:10px}
.collective-report-footer{padding-top:24px;font-size:11px;color:#6a7580;line-height:1.5}
@media(max-width:850px){.collective-summary{grid-template-columns:1fr 1fr}.dominant-grid{grid-template-columns:1fr 1fr}.collective-report-toolbar{align-items:flex-start;flex-direction:column}.report-paper{padding:25px}.collective-report-header{flex-direction:column;align-items:flex-start}.collective-report-header img{width:220px}}
@media print{
  .no-print,.nav,.footer{display:none!important}
  body{background:#fff!important}
  .collective-report-page{background:#fff!important;padding:0!important}
  .report-paper{box-shadow:none!important;padding:0!important;max-width:none!important}
  .collective-report-header img{width:210px!important}
  .report-section{break-inside:avoid}
  .collective-list-section{break-before:page}
  @page{size:A4;margin:13mm}
}

/* ===== V3.4 — rapports persistants & aides à la lecture ===== */
.student-head{display:flex;justify-content:space-between;align-items:flex-end;gap:20px}
.student-tool-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;margin-top:18px}
.student-tool-card{border:1px solid #e2e5e8;border-radius:11px;padding:18px;background:#fff}.student-tool-card h3{margin:0 0 10px;color:#0b2d4a}
.student-report-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.report-help-link{font-size:12px;font-weight:800;color:#b88a32;text-decoration:none}
.student-report-page{background:#eef1f3;padding:30px 0 60px}.student-report-toolbar{display:flex;justify-content:space-between;align-items:center;gap:18px;padding-bottom:18px;border-bottom:1px solid #e4e7e9;margin-bottom:28px}
.student-report-header{display:flex;align-items:center;gap:28px;border-bottom:3px solid #b88a32;padding-bottom:22px;margin-bottom:25px}.student-report-header img{width:250px;height:auto;object-fit:contain}.student-report-header h1{font-family:Georgia,serif;font-size:42px;color:#0b2d4a;margin:5px 0}
.student-readable-summary{background:#f8f5ec;border-left:4px solid #b88a32;padding:17px 20px;line-height:1.6}.student-readable-summary p{margin:6px 0}
.student-data-details{margin-top:18px}.student-data-details summary{cursor:pointer;font-weight:800;color:#b88a32}
.report-help-section{background:#fbfaf7;margin:15px -18px 0;padding:28px 18px!important;border-radius:10px}
.reading-help-list{display:grid;gap:12px;margin:20px 0}.reading-help-item{display:grid;grid-template-columns:38px 1fr;gap:12px;align-items:start;background:white;border:1px solid #e4e6e8;border-radius:9px;padding:13px}
.reading-help-item span{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#0b2d4a;color:#fff;font-weight:800}.reading-help-item p{margin:4px 0;line-height:1.55}
.reading-question{padding:16px 18px;background:#0b2d4a;color:#fff;border-radius:8px;line-height:1.55}
@media(max-width:760px){.student-tool-grid{grid-template-columns:1fr}.student-head,.student-report-toolbar,.student-report-header{flex-direction:column;align-items:flex-start}.student-report-header img{width:210px}}
@media print{.student-report-toolbar,.nav,.footer{display:none!important}.student-report-page{background:#fff!important;padding:0!important}}

/* ===== V3.5 — restitution complète persistante ===== */
.full-saved-report-section{padding-bottom:14px!important}
.saved-tool-report{margin-top:18px}
.saved-tool-report .jmd-saved-chart{display:block;max-width:760px;width:100%;height:auto;margin:0 auto}
.embedded-tool-report{background:transparent}
.embedded-tool-report > .card{margin-left:0;margin-right:0}
.embedded-tool-report .no-print{display:none!important}
@media print{
  .full-saved-report-section>.eyebrow,.full-saved-report-section>h2{display:none!important}
  .saved-tool-report{margin-top:0}
}

/* ===== V3.6 — historique Ennéagramme persistant dans l'espace étudiant ===== */
.student-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:22px;margin-bottom:16px}
.student-section-head p{max-width:760px;margin-bottom:0}
.ennea-report-actions{display:flex;gap:7px;flex-wrap:wrap}
.enneagram-history-card{margin-top:22px}
@media(max-width:760px){.student-section-head{flex-direction:column}.ennea-report-actions{min-width:220px}}

.v4-interpretation{margin-top:24px!important;border-top:4px solid #b88a32!important}.v4-interpretation h3{margin-top:22px;color:#0b2d4a}.v4-interpretation p,.v4-interpretation li{line-height:1.68}.tool-history{margin-top:13px;border-top:1px solid #e5e7e9;padding-top:10px}.tool-history summary{cursor:pointer;font-weight:800}.history-links{display:flex;flex-direction:column;gap:5px;margin-top:8px}.history-links a{font-size:12px;color:#b88a32}

/* ===== V4.1 — Mon Cap de Leadership : moteur de croisements numériques ===== */
.v41-cross-report{margin-top:28px!important;border-top:5px solid #b88a32!important}
.v41-cross-report>.lead{font-size:17px;line-height:1.7;max-width:900px}
.cross-block{margin:18px 0;padding:20px 22px;border:1px solid #e1e5e8;border-radius:10px;background:#fff}
.cross-block h3{margin:0 0 10px;color:#0b2d4a}.cross-block p,.cross-block li{line-height:1.68}
.cross-block.convergence{border-left:5px solid #b88a32;background:#fbfaf6}
.cross-block.tension{border-left:5px solid #0b2d4a;background:#f7f9fa}
.cross-block.action{background:#0b2d4a;color:#fff;border-color:#0b2d4a}.cross-block.action h3{color:#fff}
.cross-evidence{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:12px;font-size:11px}
.cross-evidence>b{color:#65717b;text-transform:uppercase;letter-spacing:.05em}
.cross-evidence span{padding:5px 8px;border-radius:999px;background:#eef1f3;color:#0b2d4a;font-weight:700}

/* ===== V4.2 — déconnexion enseignant toujours visible ===== */
.teacher-global-actions{max-width:1180px;margin:14px auto -4px;padding:0 18px;display:flex;justify-content:flex-end;position:relative;z-index:50}
.teacher-logout-btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:42px;padding:10px 18px!important;background:#0b2d4a!important;color:#fff!important;border:1px solid #0b2d4a!important;text-decoration:none!important;font-weight:800!important;border-radius:7px!important}
.teacher-logout-btn:hover{opacity:.88}
@media(max-width:760px){.teacher-global-actions{justify-content:stretch}.teacher-logout-btn{width:100%}}

/* ===== V4.3 — administration des passations ===== */
.admin-history-list{margin-top:15px;padding-top:12px;border-top:1px solid #e4e7e9}
.admin-history-title{font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.05em;color:#697681;margin-bottom:8px}
.admin-history-row{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 0;border-bottom:1px dashed #e5e7e9}
.admin-history-row a{font-size:12px;font-weight:700;color:#b88a32}
.tiny-danger{padding:5px 8px!important;font-size:10px!important}
.tool-admin-actions .btn.tiny{background:#0b2d4a!important;color:#fff!important}

/* ===== V4.4 — rapports collectifs enseignant multi-outils ===== */
.teacher-v44 .portal-head{align-items:flex-start}.teacher-filter{display:flex;align-items:end;justify-content:space-between;gap:22px;margin:18px 0 24px}.teacher-filter form{display:flex;align-items:end;gap:10px}.teacher-filter label,.cr-filter label{display:block;font-size:11px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;color:#64727d}.teacher-filter select,.cr-filter select{min-width:220px;padding:10px 12px;border:1px solid #d9dfe4;border-radius:8px;background:#fff}.teacher-tool-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.teacher-tool-card{display:flex;flex-direction:column}.teacher-tool-card h3{font-size:22px;margin:3px 0 8px}.teacher-tool-card p{flex:1}.teacher-tool-progress{margin:12px 0 16px}.teacher-tool-progress strong{font-size:22px;color:#0b2d4a;margin-right:8px}.teacher-tool-progress span{font-size:12px;color:#667681}.teacher-tool-actions{display:flex;flex-wrap:wrap;gap:8px}.teacher-v44-note{margin-top:22px}

.collective-v44{background:#eef2f4;padding:24px 0 50px}.collective-v44 .report-paper{max-width:1180px;background:#fff;box-shadow:0 10px 34px rgba(0,0,0,.08);padding:30px;border-radius:12px}.cr-toolbar{display:flex;align-items:end;gap:10px;flex-wrap:wrap;margin-bottom:22px}.cr-filter{display:flex;align-items:end;gap:8px;margin-right:auto}.cr-header{display:flex;align-items:center;gap:26px;border-bottom:2px solid #e8ecef;padding-bottom:22px;margin-bottom:22px}.cr-header img{width:220px;height:auto;object-fit:contain}.cr-header h1{font-size:36px;margin:3px 0 4px;color:#0b2d4a}.cr-header p{margin:3px 0}.cr-kpis{display:flex;flex-wrap:wrap;gap:12px;margin:18px 0 24px}.cr-kpi{background:#f4f7f9;border:1px solid #e2e7eb;border-radius:10px;padding:14px 18px;min-width:150px}.cr-kpi strong{display:block;font-size:26px;color:#0b2d4a}.cr-kpi span{font-size:11px;color:#65737d;text-transform:uppercase;letter-spacing:.04em}.cr-section{padding:24px 0;border-top:1px solid #e4e9ec}.cr-section h2{margin:4px 0 18px;color:#0b2d4a}.cr-section h3{margin:20px 0 10px;color:#173b56}.cr-reading{padding:18px 20px;border-left:4px solid #b88a32;background:#f8f5ed;border-radius:8px}.cr-bar-row{display:grid;grid-template-columns:minmax(140px,230px) 1fr 58px;gap:10px;align-items:center;margin:9px 0}.cr-bar-row>span{font-size:13px;font-weight:700}.cr-bar{height:10px;border-radius:999px;background:#e7ecef;overflow:hidden}.cr-bar i{display:block;height:100%;background:#b88a32;border-radius:999px}.cr-bar-row>b{text-align:right;color:#0b2d4a}.cr-badges{display:flex;flex-wrap:wrap;gap:10px}.cr-badge{border:1px solid #dfe5e9;background:#f8fafb;border-radius:9px;padding:10px 13px;min-width:145px}.cr-badge strong{display:block;color:#0b2d4a}.cr-badge span{font-size:12px;color:#67747d}.cr-radar-svg{display:block;max-width:680px;width:100%;height:auto;margin:0 auto 18px}.cr-radar-ring{fill:none;stroke:#d9e0e4;stroke-width:1}.cr-radar-axis{stroke:#e0e6e9;stroke-width:1}.cr-radar-data{fill:rgba(184,138,50,.18);stroke:#b88a32;stroke-width:3}.cr-radar-label{font:700 12px Arial,sans-serif;fill:#0b2d4a}.cr-radar-value{font:11px Arial,sans-serif;fill:#64727d}.cr-dual{border-bottom:1px dashed #e1e5e8;padding:7px 0}.cr-dual b{display:block;color:#0b2d4a}.cr-dual small{color:#697780}.cr-legal{margin-top:22px;padding:14px 16px;background:#f4f6f7;border:1px solid #e0e5e8;border-radius:8px;font-size:11px;line-height:1.5;color:#5f6c75}.collective-v44 .table-wrap{overflow-x:auto}.collective-v44 table{width:100%;border-collapse:collapse;font-size:11px}.collective-v44 th,.collective-v44 td{border-bottom:1px solid #e3e8eb;padding:8px 7px;text-align:left;vertical-align:top}.collective-v44 th{background:#0b2d4a;color:#fff;white-space:nowrap}.collective-v44 td{max-width:280px}.collective-v44 .grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}

@media(max-width:820px){.teacher-tool-grid{grid-template-columns:1fr}.teacher-filter,.cr-toolbar,.cr-header{align-items:stretch;flex-direction:column}.teacher-filter form,.cr-filter{width:100%;display:block}.teacher-filter select,.cr-filter select{width:100%;min-width:0}.cr-header img{width:180px}.collective-v44 .report-paper{padding:18px;border-radius:0}.collective-v44 .grid.three{grid-template-columns:1fr}.cr-bar-row{grid-template-columns:120px 1fr 48px}}

@media print{
 .nav,.footer,.cr-toolbar,.teacher-global-actions,.no-print{display:none!important}
 .collective-v44{background:#fff!important;padding:0!important}.collective-v44 .report-paper{max-width:none!important;box-shadow:none!important;padding:0!important;border-radius:0!important}
 .cr-header{margin-top:0}.cr-section{break-inside:avoid;page-break-inside:avoid}.cr-section .table-wrap{break-inside:auto;page-break-inside:auto}.cr-section table tr{break-inside:avoid;page-break-inside:avoid}
 .cr-radar-svg{max-width:560px}.cr-reading,.cr-kpi,.cr-badge{-webkit-print-color-adjust:exact;print-color-adjust:exact}.cr-bar i,.cr-radar-data,.collective-v44 th{-webkit-print-color-adjust:exact;print-color-adjust:exact}
 a{color:inherit!important;text-decoration:none!important}
}

/* ===== V4.8 — Correctif menu mobile ===== */
@media(max-width:900px){
  .hamb{
    display:flex!important;
    align-items:center;
    justify-content:center;
    width:46px;
    height:46px;
    padding:0!important;
    flex:0 0 46px;
    background:#fff!important;
    color:var(--navy)!important;
    border:2px solid var(--navy)!important;
    border-radius:8px!important;
    font-size:0!important;
    line-height:1!important;
    position:relative;
    z-index:30;
  }
  .hamb::before{
    content:"";
    width:24px;
    height:16px;
    display:block;
    background:linear-gradient(to bottom,var(--navy) 0 2px,transparent 2px 7px,var(--navy) 7px 9px,transparent 9px 14px,var(--navy) 14px 16px);
  }
}
