:root{--ink:#18222f;--muted:#718096;--line:#e7ebf0;--bg:#f5f7fa;--nav:#122f2a;--green:#237a64;--mint:#e5f4ef;--orange:#d97706;--red:#c2413b;--blue:#2563eb;--shadow:0 12px 32px #18342b14}*{box-sizing:border-box}body{margin:0;font-family:Inter,Segoe UI,Arial,sans-serif;color:var(--ink);background:var(--bg)}button,input,select,textarea{font:inherit}.hidden{display:none!important}.login-shell{min-height:100vh;display:grid;place-items:center;background:radial-gradient(circle at 25% 20%,#dff4ec 0,transparent 35%),linear-gradient(145deg,#f5f7f6,#e9efed)}.login-card{width:min(420px,92vw);background:#fff;padding:42px;border-radius:22px;box-shadow:0 24px 70px #143c3025}.brand-mark{width:54px;height:54px;border-radius:15px;background:var(--nav);color:white;display:grid;place-items:center;font-weight:800}.brand-mark.small{width:40px;height:40px;border-radius:11px}.login-card h1{margin:22px 0 8px}.login-card p,.login-card small{color:var(--muted)}label{display:grid;gap:7px;font-size:13px;font-weight:650;margin:18px 0}input,select,textarea{border:1px solid #dce2e8;border-radius:10px;padding:11px 12px;background:#fff;outline:none}input:focus,select:focus,textarea:focus{border-color:var(--green);box-shadow:0 0 0 3px #237a6418}.primary{background:var(--green);color:#fff;border:0;border-radius:10px;padding:11px 16px;font-weight:700;cursor:pointer}.login-card .primary{width:100%;margin:4px 0 16px}.error{color:var(--red);font-size:13px;margin-top:8px}.app{min-height:100vh;display:grid;grid-template-columns:238px 1fr}aside{background:var(--nav);color:#fff;padding:24px 16px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.brand{display:flex;align-items:center;gap:11px;padding:0 8px 28px}.brand b,.brand span{display:block}.brand span{font-size:12px;color:#a8c2bb;margin-top:2px}nav{display:grid;gap:7px}nav button{border:0;background:transparent;color:#bcd0cb;text-align:left;padding:12px 14px;border-radius:10px;cursor:pointer}nav button.active,nav button:hover{background:#ffffff16;color:#fff}.profile{margin-top:auto;border-top:1px solid #ffffff1c;padding:20px 6px 2px;display:flex;align-items:center;gap:10px}.profile b,.profile span{display:block;font-size:13px}.profile span{font-size:11px;color:#9eb8b1;margin-top:3px}.profile>button{margin-left:auto;background:transparent;color:#bcd0cb;border:0;font-size:20px;cursor:pointer}.avatar{width:34px;height:34px;border-radius:50%;background:#d9eee7;color:var(--nav);display:grid;place-items:center;font-weight:800}main{padding:30px 34px;min-width:0}header{display:flex;justify-content:space-between;align-items:center;margin-bottom:28px}header h1{font-size:26px;margin:0 0 5px}header p{margin:0;color:var(--muted);font-size:14px}.kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.card{background:#fff;border:1px solid var(--line);border-radius:15px;box-shadow:var(--shadow)}.kpi{padding:20px}.kpi span{color:var(--muted);font-size:13px}.kpi strong{font-size:29px;display:block;margin:10px 0 4px}.kpi small{color:var(--green)}.grid-2{display:grid;grid-template-columns:1.35fr 1fr;gap:18px;margin-top:18px}.panel{padding:21px}.panel-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.panel h2{font-size:16px;margin:0}.muted{color:var(--muted)}.status-list{display:grid;gap:13px}.status-row{display:grid;grid-template-columns:145px 1fr 35px;gap:10px;align-items:center;font-size:13px}.bar{height:8px;border-radius:99px;background:#edf0f2;overflow:hidden}.bar i{height:100%;display:block;background:var(--green);border-radius:99px}.activity{display:grid;gap:14px}.activity-item{display:grid;grid-template-columns:35px 1fr auto;gap:10px;align-items:center}.activity-item b{font-size:13px}.activity-item p{font-size:12px;margin:3px 0;color:var(--muted)}.activity-item time{font-size:11px;color:var(--muted)}.toolbar{display:flex;gap:10px;margin-bottom:16px;flex-wrap:wrap}.toolbar input{min-width:260px}.toolbar select{min-width:160px}.table-wrap{overflow:auto}.data-table{width:100%;border-collapse:collapse;font-size:13px}.data-table th{text-align:left;color:var(--muted);font-size:11px;text-transform:uppercase;letter-spacing:.04em;padding:13px 15px;border-bottom:1px solid var(--line)}.data-table td{padding:14px 15px;border-bottom:1px solid #eef1f4;white-space:nowrap}.data-table tr:hover td{background:#fafcfb}.link{border:0;background:none;color:var(--green);font-weight:700;cursor:pointer;padding:0}.pill{display:inline-block;border-radius:99px;padding:5px 9px;font-size:11px;font-weight:700;background:#eef2f5;color:#52606d}.pill.rappel{background:#fff4dc;color:#9a5d00}.pill.test{background:#e8edff;color:#3c55ad}.pill.non{background:#fdebea;color:#a33d38}.pill.injoignable,.pill.sans{background:#f0f1f3;color:#646b75}.pill.nouveau{background:var(--mint);color:var(--green)}.agenda-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.agenda-card{padding:18px}.agenda-card .date{color:var(--green);font-size:12px;font-weight:700}.agenda-card h3{margin:8px 0 5px;font-size:15px}.agenda-card p{margin:0 0 12px;font-size:13px;color:var(--muted)}.modal{position:fixed;inset:0;background:#0b1b1888;display:grid;place-items:center;padding:20px;z-index:10}.modal-card{background:#fff;width:min(740px,96vw);max-height:90vh;overflow:auto;border-radius:18px;padding:28px;position:relative;box-shadow:0 24px 80px #0003}.close{position:absolute;right:18px;top:13px;border:0;background:none;font-size:28px;color:var(--muted);cursor:pointer}.detail-head{display:flex;gap:16px;align-items:center;padding-right:30px}.detail-head .avatar{width:50px;height:50px}.detail-head h2{margin:0 0 5px}.detail-meta{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:22px 0}.meta-box{padding:12px;background:#f7f9fa;border-radius:10px}.meta-box span,.meta-box b{display:block}.meta-box span{font-size:11px;color:var(--muted);margin-bottom:5px}.timeline{border-left:2px solid #dfe7e3;margin:18px 0 0 8px;padding-left:20px}.event{position:relative;margin-bottom:19px}.event:before{content:"";position:absolute;left:-26px;top:4px;width:10px;height:10px;background:var(--green);border-radius:50%;border:2px solid #fff}.event b{font-size:13px}.event p{margin:5px 0;color:#52606d;font-size:13px}.event small{color:var(--muted)}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}.form-grid .full{grid-column:1/-1}.section-title{font-size:14px;margin:22px 0 0}.empty{text-align:center;color:var(--muted);padding:46px}.user-row{display:flex;align-items:center;gap:13px;padding:16px;border-bottom:1px solid var(--line)}.user-row .right{margin-left:auto}@media(max-width:900px){.app{grid-template-columns:76px 1fr}aside{padding:20px 10px}.brand>div:last-child,.profile>div:not(.avatar),.profile>button{display:none}nav button{font-size:0;text-align:center}nav button:before{content:"•";font-size:24px}.kpis{grid-template-columns:1fr 1fr}.grid-2{grid-template-columns:1fr}main{padding:24px 18px}}@media(max-width:600px){.app{display:block}aside{height:auto;position:static;flex-direction:row;align-items:center}.brand{padding:0}.brand>div:last-child,.profile{display:none}nav{margin-left:auto;display:flex}nav button{padding:9px}.kpis,.agenda-grid,.detail-meta,.form-grid{grid-template-columns:1fr}header{align-items:flex-start;gap:12px}header .primary{font-size:0}header .primary:after{content:"+";font-size:20px}.toolbar input,.toolbar select{min-width:100%;width:100%}}

.secondary,.danger,.icon-btn{border:1px solid var(--line);background:#fff;border-radius:9px;padding:9px 12px;cursor:pointer;color:var(--ink)}.danger{color:var(--red);border-color:#f0d1ce}.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.settings-card{padding:20px}.settings-card h2{font-size:16px;margin:0}.settings-card>p{font-size:12px;color:var(--muted);margin:6px 0 16px}.quick-add{display:flex;gap:8px;margin-bottom:12px}.quick-add input{min-width:0;flex:1}.reference-list{display:grid;gap:6px;max-height:320px;overflow:auto}.reference-item{display:flex;align-items:center;gap:8px;padding:9px 10px;border-radius:9px;background:#f7f9fa;font-size:13px}.reference-item span{flex:1}.reference-item button{padding:5px 8px}.student-badge{background:#e7edff;color:#3657b2;border-radius:99px;padding:5px 9px;font-size:11px;font-weight:700}.tabs{display:flex;gap:4px;background:#e9edef;padding:4px;border-radius:11px;width:max-content;margin-bottom:16px}.tabs button{border:0;background:transparent;padding:8px 13px;border-radius:8px;cursor:pointer}.tabs button.active{background:#fff;box-shadow:0 2px 8px #0000000d;font-weight:700}.resource-planner{overflow:auto;background:#fff;border:1px solid var(--line);border-radius:14px}.planner-grid{display:grid;min-width:900px}.planner-head,.planner-resource{display:contents}.planner-cell{border-right:1px solid var(--line);border-bottom:1px solid var(--line);padding:10px;min-height:44px}.planner-head-cell{position:sticky;top:0;background:#f7f9fa;z-index:2;font-size:12px;font-weight:700}.planner-time{font-size:11px;color:var(--muted);text-align:right;background:#fafbfc}.planner-slot{position:relative;min-height:54px;padding:4px}.planner-event{display:block;border:0;width:100%;text-align:left;background:#e6f3ee;color:#175c4c;border-left:3px solid var(--green);border-radius:7px;padding:6px 7px;font-size:10px;line-height:1.25;cursor:pointer;margin-bottom:3px}.planner-event.test{background:#e9edff;color:#394fa3;border-color:#5269c5}.holiday-banner{background:#fff1d9;color:#945d08;border:1px solid #f5d79f;border-radius:10px;padding:10px 13px;margin-bottom:12px}.group-chip{display:inline-flex;align-items:center;border-radius:99px;background:#eef4f2;color:#36675c;padding:5px 9px;font-size:11px;font-weight:700}.checkline{display:flex;align-items:center;gap:8px}.checkline input{width:auto}.user-actions{display:flex;gap:7px}.full-width{width:100%}@media(max-width:850px){.settings-grid{grid-template-columns:1fr}}

#agendaView{margin:-18px -20px 0}.afm-planner-shell{--afm:#008000;position:relative;min-height:740px;border-top:3px solid var(--afm);background:linear-gradient(#ffffffc7,#ffffffc7),url('afmpro-planning-bg.png') center/cover fixed;padding:0 8px 26px;overflow:hidden}.afm-topbar{height:42px;display:flex;align-items:center;justify-content:space-between}.afm-view-links{display:flex;gap:28px}.afm-link{border:0;background:transparent;color:#17231d;font-size:13px;cursor:pointer}.afm-link:before{color:var(--afm)}.afm-link.active{font-weight:700;color:var(--afm)}.afm-print{border:0;background:var(--afm);color:#fff;padding:9px 13px;cursor:pointer}.afm-controls{display:flex;align-items:center;justify-content:space-between;padding:8px 12px 15px 30px}.afm-period{display:flex;align-items:center;gap:15px}.afm-period h2{margin:0 0 6px;color:var(--afm);text-transform:capitalize;font-size:25px}.afm-period span{font-size:13px}.afm-arrow{border:0;background:transparent;color:#8a9290;font-size:39px;cursor:pointer;padding:0 5px}.afm-modes{display:flex;gap:8px}.afm-modes button{border:0;background:var(--afm);color:#fff;border-radius:7px;padding:11px 28px;font-weight:700;cursor:pointer}.afm-modes button.active{box-shadow:inset 0 0 0 2px #fff,0 0 0 1px var(--afm)}.afm-date{position:absolute;opacity:0;pointer-events:none}.afm-day-title{margin-left:64px;background:var(--afm);color:#fff;text-align:center;font-weight:700;padding:5px;border-radius:3px 3px 0 0;text-transform:capitalize}.afm-time-head{display:grid;grid-template-columns:64px 1fr}.afm-hour-track{height:30px;background:var(--afm);position:relative;color:#fff}.afm-hour-track span{position:absolute;top:0;height:30px;border-left:1px solid #d5f0d5;padding:6px 4px;font-size:12px;transform:translateX(0)}.afm-resource-board{border-bottom:1px solid var(--afm);max-height:620px;overflow-y:auto}.afm-resource-row{display:grid;grid-template-columns:64px 1fr;min-height:140px}.afm-resource-name{background:var(--afm);color:#fff;display:flex;align-items:center;padding:6px;font-size:12px;font-weight:800;border-bottom:1px solid #fff}.afm-track{position:relative;min-width:900px;border-bottom:1px solid var(--afm);background-image:repeating-linear-gradient(to right,transparent 0,transparent calc(4.1666% - 1px),#55aa5570 calc(4.1666% - 1px),#55aa5570 4.1666%),repeating-linear-gradient(to right,transparent 0,transparent calc(8.3333% - 1px),var(--afm) calc(8.3333% - 1px),var(--afm) 8.3333%)}.afm-event{position:absolute;top:7px;width:62px;max-height:126px;overflow:hidden;border:1px solid #fff;border-radius:0;padding:5px;text-align:left;font-size:10px;line-height:1.25;cursor:pointer;z-index:1;box-shadow:0 1px 3px #0002}.afm-event b,.afm-event span,.afm-event small{display:block;margin-bottom:3px}.afm-event.call{background:#ffd43b;color:#111}.afm-event.test{background:#111;color:#fff}.afm-event.missed{background:#e65d5d;color:#fff}.afm-event.refused{background:#777;color:#fff}.afm-fab{position:absolute;right:18px;bottom:18px;width:54px;height:54px;border-radius:50%;border:0;background:var(--afm);color:#fff;font-size:40px;line-height:1;cursor:pointer;box-shadow:0 5px 15px #004d0033}.afm-history{background:#ffffffdc;border:1px solid #78b878;max-height:650px;overflow:auto}.afm-history .data-table th{background:var(--afm);color:#fff;position:sticky;top:0}.afm-history .data-table td{white-space:normal}.afm-history .data-table tr:hover td{background:#edf8ed}.afm-planner-shell .holiday-banner{margin:0 64px 8px}@media(max-width:900px){#agendaView{margin:0}.afm-controls{align-items:flex-start;gap:15px;flex-direction:column}.afm-modes{flex-wrap:wrap}.afm-modes button{padding:9px 14px}.afm-track{min-width:720px}}@media print{aside,main>header,.afm-topbar,.afm-controls,.afm-fab{display:none!important}.app{display:block}.afm-planner-shell{min-height:100vh;background-image:linear-gradient(#ffffffb8,#ffffffb8),url('afmpro-planning-bg.png');print-color-adjust:exact;-webkit-print-color-adjust:exact}#agendaView{margin:0}}

/* Identité visuelle harmonisée avec AFMPRO Gestion Formation. */
:root{--ink:#183633;--muted:#71827f;--green:#1b7f6b;--mint:#e4f4ef;--line:#e5e9e5;--coral:#e67764;--gold:#e3aa48;--blue:#5d88bd;--shadow:0 12px 35px rgba(35,62,57,.07)}body{background:#f8f9f7;color:var(--ink);font-family:"DM Sans","Segoe UI",sans-serif}.app{grid-template-columns:254px 1fr}aside{background:#153531;padding:27px 18px 20px}.brand{padding:0 8px 30px}.brand-mark.small{width:39px;height:39px;border-radius:12px;background:#fff;padding:4px}.brand-mark img{width:100%;height:100%;object-fit:contain}.brand b{font-size:17px}.brand span{color:#a9bfba;font-size:11px}nav button{color:#bdd0cc;padding:11px 12px;border-radius:9px;margin:2px 0;font-size:13px}nav button.active,nav button:hover{background:#285048}.profile{background:#20463f;border:1px solid #31564f;border-radius:12px;padding:12px;margin-top:auto}.profile .avatar{background:#e9b65d;color:#183a35;border-radius:10px}.login-logo{width:150px;height:72px}.login-logo img{width:100%;height:100%;object-fit:contain}.login-card{border-radius:16px;box-shadow:0 30px 80px rgba(23,53,49,.15)}main{padding:0 36px 50px}main>header{height:72px;margin:0 -36px 30px;padding:0 36px;background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:5}main>header h1{font-size:22px}main>header p{font-size:11px}.primary{background:var(--green);border-radius:8px;box-shadow:0 6px 15px rgba(27,127,107,.18)}.primary:hover{background:#146b5a}.card{border:1px solid var(--line);border-radius:13px;box-shadow:var(--shadow)}.academy-banner{min-height:138px;margin:0 0 20px;border-radius:14px;padding:25px 29px;display:flex;align-items:center;background:linear-gradient(90deg,rgba(17,64,56,.96),rgba(27,127,107,.82)),url('afmpro-academy.jpeg') center 44%/cover;color:#fff;overflow:hidden}.academy-banner div{max-width:680px}.academy-banner p{font-size:9px;letter-spacing:1.6px;font-weight:800;margin:0 0 7px;color:#b6d9ce}.academy-banner h2{font-size:23px;margin:0 0 8px}.academy-banner span{font-size:11px;color:#d9ebe5;line-height:1.5}.kpis{gap:15px}.kpi{min-height:135px;padding:17px 18px;position:relative;overflow:hidden;box-shadow:0 3px 12px rgba(32,55,50,.02)}.kpi-icon{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;float:left;margin-right:12px;font-weight:800}.kpi .mint{background:var(--mint);color:var(--green)}.kpi .yellow{background:#fbf0d9;color:#ba7b17}.kpi .blue{background:#e7eff8;color:var(--blue)}.kpi .coral{background:#fae8e4;color:var(--coral)}.kpi>span{font-size:9px;letter-spacing:.7px;font-weight:700}.kpi>strong{font-size:22px;margin:4px 0}.kpi>small{font-size:10px;color:#8b9997;display:block;margin-top:14px}.spark{position:absolute;width:72px;height:27px;right:15px;bottom:13px;border-top:2px solid}.spark:after{content:"";position:absolute;inset:6px 0 0;opacity:.12}.spark.green{border-color:var(--green);transform:skewY(-9deg)}.spark.gold{border-color:var(--gold);transform:skewY(-6deg)}.spark.blue-line{border-color:var(--blue);transform:skewY(-4deg)}.spark.red{border-color:var(--coral);transform:skewY(7deg)}.dashboard-grid{grid-template-columns:1.55fr 1fr}.panel h2{font-size:14px}.panel-head p{margin:4px 0 0;font-size:10px;color:var(--muted)}.bar i{background:#46aa8e}.activity-item{padding:6px 0;border-bottom:1px solid #edf0ed}.activity-item:last-child{border:0}.activity-item .avatar{border-radius:9px}.data-table th{font-size:9px;background:#fafbf9;color:#80918e}.data-table td{font-size:11px}.settings-card,.agenda-card{box-shadow:var(--shadow)}@media(max-width:900px){.app{grid-template-columns:76px 1fr}main{padding:0 18px 35px}main>header{margin:0 -18px 24px;padding:0 18px}.academy-banner{padding:22px}.dashboard-grid{grid-template-columns:1fr}}

/* Vert officiel AFMPro demandé : #077A04. La structure reste inchangée. */
:root{--green:#077A04;--nav:#065f03;--mint:#e6f4e5;--shadow:0 12px 35px rgba(7,122,4,.09)}aside{background:#064f03}nav button{color:#d3ead2}nav button.active,nav button:hover{background:#077A04;color:#fff}.brand span,.profile span{color:#b8dcb7}.profile{background:#076803;border-color:#188d15}.profile .avatar{background:#fff;color:#077A04}.primary,.afm-print,.afm-modes button,.afm-day-title,.afm-hour-track,.afm-resource-name,.afm-fab{background:#077A04}.primary:hover{background:#056102}.academy-banner{background:linear-gradient(90deg,rgba(4,79,2,.94),rgba(7,122,4,.70)),url('afmpro-building.jpeg') center 48%/cover}.academy-banner p{color:#d8f2d7}.academy-banner span{color:#edf9ed}.bar i{background:#077A04}.link,.afm-link.active{color:#077A04}.avatar{background:#e6f4e5;color:#077A04}.pill.nouveau{background:#e6f4e5;color:#077A04}.afm-planner-shell{--afm:#077A04}.afm-track{background-image:repeating-linear-gradient(to right,transparent 0,transparent calc(4.1666% - 1px),rgba(7,122,4,.35) calc(4.1666% - 1px),rgba(7,122,4,.35) 4.1666%),repeating-linear-gradient(to right,transparent 0,transparent calc(8.3333% - 1px),#077A04 calc(8.3333% - 1px),#077A04 8.3333%)}.afm-history{border-color:#077A04}.afm-history .data-table th{background:#077A04}.afm-event.call{background:#ffd43b;color:#111}.login-shell{background:radial-gradient(circle at 25% 20%,#e2f3e1 0,transparent 35%),linear-gradient(145deg,#f8faf7,#edf4ec)}

.excel-import-card{grid-column:1/-1;min-width:0;overflow:hidden;border:2px solid #077A04;background:linear-gradient(135deg,#fff,#f1faef)}.import-title{display:flex;align-items:center;gap:13px}.import-title p{margin:5px 0 0;color:var(--muted);font-size:12px}.import-icon{width:48px;height:48px;border-radius:12px;background:#077A04;color:#fff;display:grid;place-items:center;font-weight:900}.excel-import-card form{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr) minmax(0,1fr);gap:0 14px;align-items:end;min-width:0}.excel-import-card form>label{min-width:0}.excel-import-card input[type=file],.excel-import-card select{display:block;width:100%;max-width:100%;min-width:0}.excel-import-card input[type=file]{padding:9px;background:#fff}.import-warning{grid-column:1/-1;background:#fff5dc;color:#8a5c07;border:1px solid #f0d495;border-radius:9px;padding:10px 12px;font-size:11px;margin-bottom:12px}.excel-import-card button,.excel-import-card #excelImportResult{grid-column:1/-1}.excel-import-card #excelImportResult{margin-top:10px;font-size:12px}@media(max-width:1050px){.excel-import-card form{grid-template-columns:1fr 1fr}.excel-import-card form>label:first-child{grid-column:1/-1}}@media(max-width:700px){.excel-import-card form{grid-template-columns:1fr}.excel-import-card form>label:first-child{grid-column:auto}}

.status-color{width:38px;height:30px;padding:2px;border:1px solid #cfd8d0;border-radius:7px;cursor:pointer}.exchange-form-title{display:flex;align-items:center;gap:14px;border-bottom:2px solid #077A04;padding:0 0 14px;margin-bottom:8px}.exchange-form-title img{width:62px;height:45px;object-fit:contain}.exchange-form-title p{color:#077A04;font-size:10px;font-weight:800;letter-spacing:1px;margin:0 0 3px}.exchange-form-title h2{margin:0}.exchange-planning-form{align-items:end}.status-preview{height:42px;border:2px solid #077A04;border-radius:8px;display:grid;place-items:center;font-size:11px;font-weight:800;margin-bottom:18px}.exchange-planning-form input[readonly]{background:#f1f3f1;color:#55615a}.exchange-planning-form .checkline{align-self:center;background:#f7f9f7;border:1px solid var(--line);padding:10px;border-radius:8px}.afm-history tbody tr td{background:transparent!important;color:inherit}.afm-history tbody tr:hover td{filter:brightness(.95)}

/* Fiche échange compacte et champs aux couleurs AFMPro */
.modal-card:has(.exchange-planning-form){width:min(880px,96vw);max-height:92vh;overflow:auto}
.exchange-planning-form{gap:10px 14px;align-items:end}
.exchange-planning-form label{margin:0;color:#36533a;font-weight:700}
.exchange-planning-form input,.exchange-planning-form select,.exchange-planning-form textarea{border:1.5px solid #077A04;background:#fbfffb;border-radius:7px;color:#173b1b;min-height:38px}
.exchange-planning-form textarea{min-height:68px;resize:vertical}
.exchange-planning-form input:focus,.exchange-planning-form select:focus,.exchange-planning-form textarea:focus{outline:3px solid rgba(7,122,4,.16);border-color:#077A04;box-shadow:none}
.exchange-planning-form .quick-field{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:end}
.exchange-planning-form .quick-field label{min-width:0}
.exchange-planning-form .quick-field button{white-space:nowrap;min-height:38px}
.exchange-planning-form>.quick-field:not(.full){grid-template-columns:minmax(0,1fr)}
.exchange-planning-form>.quick-field:not(.full) button{width:100%;max-width:100%;font-size:13px;padding-left:10px;padding-right:10px}
.inline-candidate-card{border:2px solid #077A04;border-radius:12px;background:#f4fbf3;padding:14px;margin:4px 0;box-shadow:0 8px 22px rgba(7,122,4,.1)}
.inline-candidate-card.hidden{display:none}
.inline-candidate-head{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid rgba(7,122,4,.25);padding-bottom:9px;margin-bottom:12px}
.inline-candidate-head p{margin:0;color:#077A04;font-size:10px;font-weight:800;letter-spacing:1px}
.inline-candidate-head h3{margin:2px 0 0;color:#173b1b}
.close-inline-candidate{border:0;background:#077A04;color:#fff;border-radius:50%;width:32px;height:32px;font-size:20px;cursor:pointer}
.inline-candidate-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px 14px}
.inline-candidate-grid .full{grid-column:1/-1}
.student-inline{align-self:end!important;min-height:38px}
.inline-candidate-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:12px}
@media (max-width:680px){.inline-candidate-grid{grid-template-columns:1fr}.inline-candidate-grid .full{grid-column:auto}.exchange-planning-form .quick-field{grid-template-columns:1fr}}

.history-filters{display:grid;grid-template-columns:auto repeat(4,minmax(135px,1fr));align-items:center;gap:14px;padding:10px 12px;background:#ffffffdf;border:1.5px solid #077A04;border-bottom:0}
.history-filters label{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:7px;color:#536b56;font-weight:700;font-size:13px;white-space:nowrap;min-width:0}
.history-filters select{width:100%;min-width:0;height:38px;border:1.5px solid #077A04;border-radius:6px;background:#fff;color:#077A04;padding:0 32px 0 10px;font-weight:700}
.history-state-filter{display:flex;gap:4px;align-items:center}
.history-state-filter button{border:0;background:transparent;padding:8px;color:#26382a;font-weight:700;cursor:pointer}
.history-state-filter button::first-letter{color:#077A04}
.history-state-filter button.active{color:#077A04;background:#e8f5e7;border-radius:6px}
@media(max-width:1100px){.history-filters{grid-template-columns:auto repeat(2,minmax(180px,1fr))}.history-state-filter{grid-row:span 2}}
@media(max-width:700px){.history-filters{grid-template-columns:1fr}.history-state-filter{grid-row:auto}.history-filters label{grid-template-columns:90px 1fr}}

/* Cadre vert uniforme sur tous les champs de saisie */
.app input:not([type="checkbox"]):not([type="radio"]),.app select,.app textarea,.modal input:not([type="checkbox"]):not([type="radio"]),.modal select,.modal textarea{border:1.5px solid #077A04;background-color:#fbfffb;border-radius:7px}
.app input:focus,.app select:focus,.app textarea:focus,.modal input:focus,.modal select:focus,.modal textarea:focus{outline:3px solid rgba(7,122,4,.14);border-color:#077A04}

/* Écran d'accueil AFMPRO Academy 360 */
.login-shell{display:grid;grid-template-columns:57% 43%;place-items:stretch;min-height:100vh;width:100%;background:#f3f7f3;padding:0;margin:0}
.login-visual{position:relative;display:flex;align-items:center;min-width:0;min-height:100vh;padding:9%;background:linear-gradient(120deg,rgba(8,68,17,.91),rgba(67,170,74,.78)),url('afmpro-login-background.png') center/cover no-repeat;color:#fff;overflow:hidden}
.login-visual:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(3,54,10,.12),transparent);pointer-events:none}
.login-visual-content{position:relative;z-index:1;max-width:650px}
.login-visual-content img{width:145px;height:72px;object-fit:contain;filter:brightness(0) invert(1);margin-bottom:54px}
.login-visual-content p{font-size:15px;font-weight:800;letter-spacing:3px;margin:0 0 25px}
.login-visual-content h1{font-size:58px;line-height:1.17;margin:0 0 25px;color:#fff;letter-spacing:-1px}
.login-visual-content span{font-size:20px;color:#f4fff3}
.login-form-side{display:flex;align-items:center;justify-content:center;min-width:0;min-height:100vh;padding:48px;background:#f5f8f5}
.login-card{width:min(545px,100%);padding:49px;border:1px solid #e0e9e0;border-radius:28px;background:#fff;box-shadow:0 26px 70px rgba(27,70,32,.12);text-align:left}
.login-logo{width:82px;height:82px;padding:12px;border-radius:20px;background:#eef6ed;margin-bottom:34px}
.login-card .secure-label{margin:0 0 22px;color:#214b29;font-size:17px;letter-spacing:.2px}
.login-card h2{margin:0 0 8px;font-size:38px;color:#133b1c}
.login-card .login-help{margin:0 0 32px;color:#78847a}
.login-card form{display:grid;gap:20px}
.login-card label{font-size:13px;font-weight:800;color:#315d35}
.login-card input{height:58px;margin-top:9px;border:1.5px solid #86b88a;border-radius:12px;padding:0 18px;font-size:15px;background:#fff}
.login-card input:focus{outline:3px solid rgba(7,122,4,.13);border-color:#077A04}
.login-card .primary{height:60px;margin-top:12px;font-size:15px;font-weight:800}
.login-card>small{display:block;margin-top:22px;text-align:center;color:#9aa39b}
@media(max-width:1050px){.login-shell{grid-template-columns:1fr 1fr}.login-visual{padding:55px}.login-visual-content h1{font-size:43px}.login-form-side{padding:28px}.login-card{padding:35px}}
@media(max-width:760px){.login-shell{display:block}.login-visual{min-height:280px;padding:38px}.login-visual-content img{margin-bottom:20px;width:105px}.login-visual-content p{margin-bottom:10px}.login-visual-content h1{font-size:36px;margin-bottom:10px}.login-form-side{padding:24px}.login-card{margin-top:-35px;position:relative;z-index:2}}

/* En-tête commun à toutes les fenêtres */
main>header.application-header{height:auto;min-height:150px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;margin-bottom:24px;padding:0 36px 18px;background:rgba(255,255,255,.96)}
.application-identity{grid-column:1/-1;display:flex;align-items:center;gap:14px;min-height:76px;border-bottom:1px solid #e3ece3}
.application-identity img{width:58px;height:42px;object-fit:contain}
.application-identity b,.application-identity span{display:block}.application-identity b{color:#174522;font-size:19px}.application-identity span{margin-top:4px;color:#077A04;font-size:10px;font-weight:800;letter-spacing:1px}
.current-view-heading{align-self:center}.current-view-heading:before{content:"ACCÈS RAPIDES";display:block;margin-bottom:5px;color:#077A04;font-size:10px;font-weight:900;letter-spacing:1.5px}.current-view-heading h1{font-size:20px!important}.header-actions{display:flex;align-items:center;gap:10px}.header-actions button{min-height:42px}
.window-brand-header{display:flex;align-items:center;gap:12px;border-bottom:2px solid #077A04;padding:0 35px 13px 0;margin:0 0 18px}
.window-brand-header img{width:58px;height:42px;object-fit:contain}.window-brand-header p{margin:0;color:#174522;font-weight:900}.window-brand-header span{display:block;margin-top:3px;color:#077A04;font-size:9px;font-weight:800;letter-spacing:1px}
.print-brand{display:none}
@media(max-width:900px){main>header.application-header{padding:0 18px 16px}.application-identity{min-height:65px}.current-view-heading p{display:none}.header-actions{flex-wrap:wrap;justify-content:flex-end}}

@media print{
  @page{size:landscape;margin:10mm}
  body{background:#fff!important;color:#111!important}
  #login,aside,main>header,.modal,.afm-topbar,.afm-controls,.afm-fab,.history-filters{display:none!important}
  .app{display:block!important;min-height:auto}.app main{padding:0!important}.view.hidden{display:none!important}.view:not(.hidden){display:block!important}
  .print-brand{display:flex!important;align-items:center;gap:12px;border-bottom:2px solid #077A04;padding-bottom:10px;margin-bottom:14px}.print-brand img{width:55px;height:40px;object-fit:contain}.print-brand b,.print-brand span{display:block}.print-brand span{color:#077A04;font-size:9px;font-weight:800;letter-spacing:1px}
  .card,.afm-history,.resource-planner{box-shadow:none!important;border:1px solid #077A04!important;overflow:visible!important;max-height:none!important}.data-table{font-size:9px!important}.data-table th,.data-table td{padding:6px!important}.academy-banner{min-height:110px!important;print-color-adjust:exact;-webkit-print-color-adjust:exact}.afm-planner-shell{padding:0!important;min-height:auto!important}.afm-resource-board{max-height:none!important;overflow:visible!important}.afm-track{min-width:0!important}.afm-event{display:block!important;print-color-adjust:exact;-webkit-print-color-adjust:exact}.edit-history-event{display:inline!important;color:inherit!important}.candidate-row-actions,.settings-card button,.toolbar button{display:none!important}
}
.page{background:rgba(255,255,255,.08)}
#page-dashboard{background-image:linear-gradient(rgba(255,255,255,.04),rgba(255,255,255,.04)),url("assets/afmpro-background.png");background-size:cover;background-position:center;background-attachment:fixed}
#page-dashboard .panel,#page-dashboard .kpi{background:rgba(255,255,255,.9)}
#page-dashboard{position:relative;isolation:isolate}
#page-dashboard:before,#page-dashboard:after{content:"";position:absolute;z-index:-1;border-radius:50%;filter:blur(1px);pointer-events:none}
#page-dashboard:before{width:380px;height:380px;right:-150px;top:-170px;background:radial-gradient(circle,rgba(7,122,4,.13),rgba(7,122,4,0) 70%)}
#page-dashboard:after{width:330px;height:330px;left:-150px;top:420px;background:radial-gradient(circle,rgba(85,100,91,.12),rgba(85,100,91,0) 70%)}
#page-dashboard>.page-heading{background:linear-gradient(120deg,#153a20 0%,#077A04 55%,#59645d 140%);border-radius:17px;padding:22px 25px;color:#fff;box-shadow:0 18px 40px rgba(16,65,25,.18);align-items:center;position:relative;overflow:hidden}
#page-dashboard>.page-heading:after{content:"AFM";position:absolute;right:135px;top:-30px;font:800 105px Manrope;color:rgba(255,255,255,.055);letter-spacing:-9px;transform:rotate(-5deg)}
#page-dashboard>.page-heading h1{color:#fff;font-size:29px}
#page-dashboard>.page-heading p{color:#d7ead8}
#page-dashboard>.page-heading .eyebrow{color:#bdddbe}
#page-dashboard>.page-heading .secondary-btn{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.55);color:#fff;backdrop-filter:blur(8px);position:relative;z-index:1}
#page-dashboard>.page-heading .secondary-btn:hover{background:#fff;color:#077A04}
#page-dashboard>.page-heading{background:transparent;border-radius:0;padding:6px 2px 2px 18px;color:#173a22;box-shadow:none;overflow:visible;border-left:5px solid #077A04;margin-bottom:22px}
#page-dashboard>.page-heading:after{display:none}
#page-dashboard>.page-heading h1{color:#123d1b;font-size:28px}
#page-dashboard>.page-heading p{color:#6f8073}
#page-dashboard>.page-heading .eyebrow{color:#077A04}
#page-dashboard>.page-heading .secondary-btn{background:#fff;border:1.5px solid #077A04;color:#077A04;box-shadow:0 5px 13px rgba(7,122,4,.09)}
#page-dashboard>.page-heading .secondary-btn:hover{background:#077A04;color:#fff}
#page-dashboard .kpi-grid{gap:18px}
#page-dashboard .kpi{border:0;border-top:3px solid #077A04;box-shadow:0 14px 30px rgba(41,58,47,.09);background:linear-gradient(155deg,#fff 55%,#f0f5f0);transition:transform .2s,box-shadow .2s}
#page-dashboard .kpi:nth-child(2){border-top-color:#d3a33e}
#page-dashboard .kpi:nth-child(3){border-top-color:#75827a}
#page-dashboard .kpi:nth-child(4){border-top-color:#d26150}
#page-dashboard .kpi:hover{transform:translateY(-4px);box-shadow:0 20px 38px rgba(26,63,34,.14)}
#page-dashboard .kpi-icon{box-shadow:inset 0 0 0 1px rgba(7,122,4,.08)}
#page-dashboard .kpi>strong{font-size:23px}
#page-dashboard .panel{border:1px solid rgba(81,105,87,.13);box-shadow:0 14px 32px rgba(40,60,46,.08);background:rgba(255,255,255,.94);backdrop-filter:blur(8px)}
#page-dashboard .panel h3{font-size:15px}
/* Arrière-plan AFMPro commun à toute l'application */
.app main{position:relative;background:linear-gradient(rgba(248,252,248,.88),rgba(248,252,248,.88)),url('afmpro-login-background.png') center/cover fixed no-repeat}
.app main>header.application-header{background:linear-gradient(rgba(255,255,255,.94),rgba(255,255,255,.94)),url('afmpro-login-background.png') center 35%/cover no-repeat}
.view{position:relative}
.card,.settings-card,.agenda-card,.table-wrap{background:rgba(255,255,255,.90);backdrop-filter:blur(2px)}
.afm-planner-shell{background-image:linear-gradient(rgba(255,255,255,.76),rgba(255,255,255,.76)),url('afmpro-login-background.png')!important;background-position:center!important;background-size:cover!important;background-attachment:fixed!important}
.modal{background:linear-gradient(rgba(3,35,7,.58),rgba(3,35,7,.58)),url('afmpro-login-background.png') center/cover fixed no-repeat}
.modal-card{background:linear-gradient(rgba(255,255,255,.93),rgba(255,255,255,.93)),url('afmpro-login-background.png') center/cover no-repeat}
.login-card{background:linear-gradient(rgba(255,255,255,.96),rgba(255,255,255,.96)),url('afmpro-login-background.png') center/cover no-repeat}
@media print{.app main,.app main>header.application-header,.modal-card{background:#fff!important}.card,.settings-card,.agenda-card,.table-wrap{background:#fff!important;backdrop-filter:none!important}}

/* Gestion et fiche des candidats */
.candidate-row-actions{display:flex;align-items:center;gap:6px}.candidate-row-actions button{padding:7px 9px;font-size:11px;white-space:nowrap}
.modal-card:has(.candidate-editor-form){width:min(790px,96vw);max-height:92vh;padding:24px 28px}
.candidate-editor-form{grid-template-columns:1fr 1fr;gap:12px 16px;align-items:end}
.candidate-editor-form label{margin:0;min-width:0;color:#315d35;font-weight:750}
.candidate-editor-form input,.candidate-editor-form select,.candidate-editor-form textarea{width:100%;min-width:0;border:1.5px solid #077A04;border-radius:8px;background:#fbfffb;min-height:40px}
.candidate-editor-form textarea{min-height:70px;resize:vertical}.candidate-editor-form .checkline{min-height:42px;margin:0;padding:9px 12px;border:1.5px solid #077A04;border-radius:8px;background:#f3faf2}.candidate-editor-form .checkline input{width:auto;min-height:0}
.candidate-editor-form>.primary{margin-top:2px;min-height:44px}
.detail-meta{grid-template-columns:repeat(3,minmax(0,1fr))}.meta-box{min-width:0}.meta-box b{overflow-wrap:anywhere}
@media(max-width:700px){.candidate-editor-form{grid-template-columns:1fr}.candidate-editor-form .full{grid-column:1}.detail-meta{grid-template-columns:1fr 1fr}.candidate-row-actions{flex-direction:column;align-items:stretch}}

/* Statuts acceptés / rejetés : un seul de chaque */
.status-disposition-group{display:flex;align-items:center;gap:4px;order:3;margin-left:auto}
.status-disposition-group label{display:flex;align-items:center;gap:4px;margin:0;padding:5px 7px;border:1px solid #b8d8b7;border-radius:999px;background:#fff;color:#426045;font-size:10px;white-space:nowrap;cursor:pointer}
.status-disposition-group input{width:13px!important;height:13px!important;min-height:0!important;margin:0;accent-color:#077A04}
.status-disposition-group label:has(input:checked){border-color:#077A04;background:#e6f4e5;color:#077A04;font-weight:800}
.reference-item:has(.status-disposition-group){flex-wrap:wrap}.reference-item:has(.status-disposition-group)>span{font-weight:750;min-width:110px}
@media(max-width:720px){.status-disposition-group{order:5;width:100%;margin-left:0}.status-disposition-group label{flex:1;justify-content:center}}

/* Modèles et envoi de SMS par statut */
.status-sms-template{border-color:#077A04!important;color:#077A04!important;font-weight:800}.status-sms-template:before{content:"✉ ";font-size:12px}
.status-tools{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:end;margin-bottom:18px}.status-tools .status-preview{margin:0}.status-sms-button{height:42px;min-width:88px;font-weight:850}.status-sms-button:before{content:"✉ ";font-size:14px}
.sms-template-form label{margin:12px 0}.sms-template-form textarea{width:100%;border:1.5px solid #077A04;line-height:1.5}.sms-template-form>small{display:block;text-align:right;color:#6f7f70;margin-top:-7px}.sms-preview{margin:12px 0;padding:14px;border-left:4px solid #077A04;border-radius:8px;background:#eef8ed;white-space:pre-wrap}.sms-template-form .toolbar{margin-top:14px}
@media(max-width:600px){.status-tools{grid-template-columns:1fr}.status-sms-button{width:100%}}

/* Sous-menu de gestion des droits */
.permission-hidden{display:none!important}.permission-disabled{opacity:.42!important;filter:grayscale(.75);cursor:not-allowed!important;pointer-events:none!important}nav button.permission-disabled{display:block!important}
.user-submenu{margin:0 0 16px}.rights-toolbar{display:flex;align-items:end;justify-content:space-between;gap:20px;padding:17px 19px;margin-bottom:14px;border-top:3px solid #077A04}.rights-toolbar label{margin:0;min-width:330px}.rights-toolbar select{width:100%;border:1.5px solid #077A04}.rights-toolbar p{margin:0;color:#647568;font-size:12px}.rights-table-wrap{overflow:auto;max-height:640px}.rights-table th{position:sticky;top:0;z-index:2}.rights-table td{padding:10px 15px}.rights-screen-row td{background:#eaf6e9!important;border-top:2px solid #b9dcb7;color:#075e03}.rights-action-label{padding-left:34px!important}.permission-select{width:145px;min-width:145px;border:1.5px solid #077A04;padding:8px}.rights-denied{padding:30px;color:#8a3d38;text-align:center}.supervisor-badge{display:inline-block;padding:4px 7px;border-radius:99px;background:#e6f4e5;color:#077A04;border:1px solid #b9ddb7;font-size:10px;font-weight:800}
@media(max-width:760px){.rights-toolbar{align-items:stretch;flex-direction:column}.rights-toolbar label{min-width:0;width:100%}.rights-table-wrap{max-height:none}}

/* Uniformisation des composants avec le vert officiel AFMPro. */
.kpi .kpi-icon,.kpi .mint,.kpi .yellow,.kpi .blue,.kpi .coral{background:#077A04;color:#fff}.kpi .spark.green,.kpi .spark.gold,.kpi .spark.blue-line,.kpi .spark.red{border-color:#077A04}.secondary{border-color:#077A04;color:#077A04}.secondary:hover{background:#eaf6e9}.icon-btn{border-color:#077A04;color:#077A04}.tabs button.active{background:#077A04;color:#fff}.group-chip,.student-badge{background:#e6f4e5;color:#077A04;border:1px solid #b9ddb7}.data-table thead th{background:#077A04;color:#fff}.data-table tbody tr:hover td{background:#edf8ec}.afm-history .data-table tbody tr:hover td{background:transparent!important}.settings-card h2,.panel h2{color:#075e03}.meta-box{border-left:3px solid #077A04;background:#f3f9f2}.reference-item{border-left:3px solid #077A04;background:#f5faf4}.user-row .avatar,.activity-item .avatar{background:#077A04;color:#fff}.toolbar select,.toolbar input{border-color:#b9d8b7}.toolbar select:focus,.toolbar input:focus{border-color:#077A04;box-shadow:0 0 0 3px rgba(7,122,4,.12)}.agenda-card{border-top:4px solid #077A04}.card.table-wrap{border-top:3px solid #077A04}.modal-card{border-top:5px solid #077A04}.quick-add .primary,.form-grid .primary{background:#077A04}.link{color:#077A04}.bar{background:#e5eee4}.bar i{background:#077A04}

.afm-top-actions{display:flex;align-items:center;gap:8px}.afm-round{position:relative;border:0;background:#077A04;color:#fff;width:38px;height:36px;border-radius:7px;font-size:18px;cursor:pointer}.notification-bell span{position:absolute;right:-6px;top:-7px;min-width:20px;height:20px;border-radius:50%;background:#fff;color:#077A04;border:2px solid #077A04;display:grid;place-items:center;font-size:10px;font-weight:900}.modal-card.wide-modal{width:min(1180px,96vw)}.reminder-table-wrap{max-height:520px;overflow:auto;border:1px solid #077A04}.reminder-table{min-width:900px}.reminder-table td{font-size:12px}.reminder-table tbody tr:nth-child(odd){background:#eff7e9}.reminder-table tbody tr:first-child{background:#c1dc32}.reminder-table .primary{white-space:nowrap;padding:8px 13px}.exchange-edit-actions{display:flex;justify-content:center;gap:10px;margin-top:8px}.exchange-edit-actions button{min-width:130px}.exchange-edit-actions .danger{background:#077A04;color:#fff;border-color:#077A04}.exchange-edit-actions .danger:hover{background:#b91c1c}.exchange-form-title+form textarea{resize:vertical}
.quick-field{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:end}.quick-field label{margin-bottom:0}.quick-field button{height:42px;margin-bottom:0;white-space:nowrap}.supervisor-badge{display:inline-block;background:#077A04;color:#fff;border-radius:99px;padding:4px 8px;font-size:10px;font-weight:800;margin-left:4px}@media(max-width:600px){.quick-field{grid-template-columns:1fr}.quick-field button{width:100%}}
/* L'accès à l'historique est explicite dans les listes candidats et étudiants. */
.candidate-complete-table .link::after{content:" · Historique";font-size:.78em;font-weight:700;opacity:.72}
.rejected-badge{display:inline-block;margin-top:5px;padding:3px 8px;border-radius:999px;background:#fde8e6;color:#a32920;font-weight:800}

/* Fiche échange : alignement régulier des champs et état actif/inactif neutre. */
.exchange-planning-form{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:end}
.exchange-planning-form>label,.exchange-planning-form>div{min-width:0}
.exchange-planning-form .status-tools{align-self:end;grid-template-columns:minmax(0,1fr) 112px;gap:10px;margin:0;padding:0}
.exchange-planning-form .status-preview,.exchange-planning-form .status-sms-button{box-sizing:border-box;width:100%;height:42px;min-height:42px;margin:0}
.exchange-planning-form>.checkline{box-sizing:border-box;display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:44px;margin:0;padding:10px 14px;border:1.5px solid #aeb4b0!important;border-radius:8px;background:#e8e9e8!important;color:#4f5551!important;font-weight:800;cursor:pointer}
.exchange-planning-form>.checkline input[type="radio"]{width:17px;min-height:17px;height:17px;margin:0;accent-color:#6d736f}
.exchange-planning-form>.checkline:has(input:checked){background:#d7d9d7!important;border-color:#737a75!important;color:#303531!important;box-shadow:inset 0 0 0 1px #737a75}

/* Tous les boutons de l'application utilisent le même vert AFMPro. */
button.primary,button.secondary,button.danger,button.icon-btn,.toolbar button,.exchange-edit-actions button,.quick-field button{background:#077A04!important;border-color:#077A04!important;color:#fff!important}
button.primary:hover,button.secondary:hover,button.danger:hover,button.icon-btn:hover,.toolbar button:hover,.exchange-edit-actions button:hover,.quick-field button:hover{background:#056603!important;border-color:#056603!important;color:#fff!important}
button:disabled{background:#7ba879!important;border-color:#7ba879!important;color:#eef6ed!important}

@media(max-width:680px){.exchange-planning-form{grid-template-columns:1fr}.exchange-planning-form .full{grid-column:1}.exchange-planning-form .status-tools{grid-template-columns:minmax(0,1fr) 100px}}

/* Tableau Non intéressés : colonnes compactes et ascenseurs placés en bordure basse. */
#rejectedView{min-width:0;overflow:hidden}
#rejectedView .candidate-filters{align-items:center;display:grid;grid-template-columns:minmax(280px,460px) 260px auto auto;justify-content:start;gap:8px;margin-bottom:10px}
#rejectedView .candidate-filters input,#rejectedView .candidate-filters select,#rejectedView .candidate-filters button{min-height:40px;height:40px;margin:0;padding-top:7px;padding-bottom:7px}
#rejectedView .candidate-count{margin-left:0!important;justify-self:start;white-space:nowrap;padding:8px 13px!important;min-width:0!important}
.rejected-table-wrap{width:100%;max-width:100%;max-height:calc(100vh - 315px);overflow:auto!important;overscroll-behavior:contain;scrollbar-gutter:stable both-edges;border-radius:14px}
.rejected-table{width:100%;min-width:1080px;table-layout:fixed;font-size:12px}
.rejected-table thead{position:sticky;top:0;z-index:4}
.rejected-table th,.rejected-table td{height:48px;padding:6px 7px!important;vertical-align:middle;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rejected-table th:nth-child(1){width:14%}.rejected-table th:nth-child(2),.rejected-table th:nth-child(3){width:8%}.rejected-table th:nth-child(4){width:8%}.rejected-table th:nth-child(5){width:10%}.rejected-table th:nth-child(6){width:10%}.rejected-table th:nth-child(7){width:10%}.rejected-table th:nth-child(8){width:9%}.rejected-table th:nth-child(9){width:5%}.rejected-table th:nth-child(10){width:18%}
.rejected-table .rejected-badge{margin-top:2px;padding:2px 6px;font-size:10px}.rejected-table .candidate-row-actions{display:flex;flex-wrap:nowrap;gap:4px}.rejected-table .candidate-row-actions button{min-width:0;padding:6px 7px;font-size:10px;border-radius:7px}
@media(max-width:900px){#rejectedView .candidate-filters{grid-template-columns:1fr 1fr}#rejectedView .candidate-count{justify-self:start}.rejected-table-wrap{max-height:calc(100vh - 360px)}}

#candidatesView .candidate-filters,#studentsView .candidate-filters{display:grid;grid-template-columns:minmax(280px,420px) 230px 230px auto auto;justify-content:start;align-items:center;gap:8px;margin-bottom:10px}
#candidatesView .candidate-filters input,#candidatesView .candidate-filters select,#candidatesView .candidate-filters button,#studentsView .candidate-filters input,#studentsView .candidate-filters select,#studentsView .candidate-filters button{height:40px;min-height:40px;margin:0;padding-top:7px;padding-bottom:7px}
#candidatesView .candidate-count,#studentsView .candidate-count{margin-left:0!important;justify-self:start;min-width:0!important;padding:8px 13px!important;white-space:nowrap}
.test-appointment-field{margin:2px 0 0!important;padding:12px;border:2px solid #077A04;border-radius:9px;background:#eef8ed}.test-appointment-field .required-mark{float:right;padding:3px 7px;border-radius:999px;background:#077A04;color:#fff;font-size:9px;text-transform:uppercase;letter-spacing:.05em}.test-appointment-field input{margin-top:7px;background:#fff!important;font-weight:750}
.status-colored-pill{display:inline-flex!important;align-items:center;justify-content:center;max-width:100%;border:1px solid;border-radius:999px;padding:6px 10px!important;font-weight:850!important;box-shadow:0 1px 2px rgba(0,0,0,.08);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.test-email-form{display:grid;grid-template-columns:minmax(280px,1fr) auto;align-items:end;gap:12px}.test-email-form label{margin:0}.test-email-form button{min-height:42px}.test-email-alert{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:16px;padding:14px 17px;border:2px solid #077A04;background:#eef8ed}.test-email-alert b,.test-email-alert span{display:block}.test-email-alert span{margin-top:4px;color:#526b55;font-size:12px}.test-email-alert a.primary{display:inline-flex;text-decoration:none;white-space:nowrap}
.smtp-settings-form{grid-template-columns:repeat(2,minmax(0,1fr))}.smtp-settings-form .switch-label{min-height:42px;display:flex;align-items:center;gap:10px;border:1px solid #077A04;border-radius:10px;padding:8px 12px}.smtp-settings-form .switch-label input{width:auto}.smtp-action-buttons{grid-column:1/-1;display:flex;gap:12px}.smtp-action-buttons button{min-width:210px;min-height:48px}.smtp-settings-form label small{color:#637568;font-weight:500;line-height:1.35}
@media(max-width:680px){.test-email-form,.smtp-settings-form{grid-template-columns:1fr}.test-email-alert{align-items:stretch;flex-direction:column}.smtp-settings-form button{grid-column:auto}}

/* Les listes utilisent toute la hauteur disponible et les commandes restent bien lisibles. */
#candidatesView,#studentsView,#rejectedView{min-height:calc(100vh - 175px);display:flex;flex-direction:column}
#candidatesView.hidden,#studentsView.hidden,#rejectedView.hidden{display:none!important}
#candidatesView .candidate-complete-wrap,#studentsView .candidate-complete-wrap,#rejectedView .candidate-complete-wrap{flex:1;min-height:calc(100vh - 300px);max-height:calc(100vh - 270px);background:rgba(255,255,255,.94)}
#printPeopleButton,#printRejectedButton{height:50px!important;min-height:50px!important;padding:10px 24px!important;min-width:245px;font-size:15px;white-space:nowrap}
#candidatesView .candidate-filters,#studentsView .candidate-filters,#rejectedView .candidate-filters{align-items:center}

/* Ligne 1 : impression et compteur. Ligne 2 : filtres. */
#candidatesView .candidate-filters,#studentsView .candidate-filters{grid-template-columns:minmax(280px,420px) 230px 230px 245px auto;grid-template-rows:auto auto}
#candidatesView #printPeopleButton,#studentsView #printPeopleButton{grid-column:1;grid-row:1}
#candidatesView .candidate-count,#studentsView .candidate-count{grid-column:2;grid-row:1}
#candidatesView #search,#studentsView #search{grid-column:1;grid-row:2}
#candidatesView #statusFilter,#studentsView #statusFilter{grid-column:2;grid-row:2}
#candidatesView #agentFilter,#studentsView #agentFilter{grid-column:3;grid-row:2}
#rejectedView .candidate-filters{grid-template-columns:minmax(280px,460px) 260px auto;grid-template-rows:auto auto}
#rejectedView #printRejectedButton{grid-column:1;grid-row:1}
#rejectedView .candidate-count{grid-column:2;grid-row:1}
#rejectedView #rejectedSearch{grid-column:1;grid-row:2}
#rejectedView #rejectedAgentFilter{grid-column:2;grid-row:2}

/* Planning : impression au-dessus des commandes et filtres. */
.afm-topbar{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:8px}
.afm-top-actions{order:1!important;display:grid!important;grid-template-columns:auto auto 1fr!important;width:100%}
.afm-top-actions #printPlanning{grid-column:1/-1;grid-row:1;justify-self:start;min-width:245px;min-height:48px;margin-bottom:8px}
.afm-top-actions #refreshPlanning{grid-column:1;grid-row:2}.afm-top-actions #reminderNotifications{grid-column:2;grid-row:2}
.afm-view-links{order:2!important}

.dashboard-status-label{display:inline-flex;align-items:center;justify-content:center;width:max-content;max-width:100%;min-height:30px;padding:5px 10px;border:1px solid;border-radius:999px;font-size:12px;font-weight:850;line-height:1.15;box-shadow:0 2px 5px rgba(0,0,0,.10);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.status-row .bar i{transition:width .25s ease;background-color:.25s ease}.status-row>b{font-weight:900}

.locked-exchange-form .exchange-field-locked,.locked-exchange-form .exchange-field-locked:disabled{background:#ecefed!important;border-color:#b9c0bb!important;color:#69716c!important;cursor:not-allowed!important;box-shadow:none!important;opacity:1!important}.locked-exchange-form select[name="followUpPerson"],.locked-exchange-form select[name="status"],.locked-exchange-form input[name="testDate"]{background:#fff!important;border:2px solid #077A04!important;color:#174522!important;box-shadow:0 0 0 3px rgba(7,122,4,.08)!important;cursor:pointer!important}.locked-exchange-form label:has([name="followUpPerson"])::after,.locked-exchange-form label:has([name="status"])::after,.locked-exchange-form label:has([name="testDate"])::after{content:"Champ modifiable";color:#077A04;font-size:10px;font-weight:800}
.reminder-readonly,.reminder-readonly:disabled{min-width:145px;padding:8px 12px;border:1px solid #aeb7b0!important;border-radius:8px;background:#e4e7e5!important;color:#59615c!important;font-size:11px;font-weight:800;cursor:not-allowed;opacity:1!important}

/* Suppression du faux espace blanc à gauche des tableaux défilants. */
#candidatesView .candidate-complete-wrap,#studentsView .candidate-complete-wrap,#rejectedView .candidate-complete-wrap{scrollbar-gutter:auto!important;padding-left:0!important;margin-left:0!important}
#candidatesView .candidate-complete-table,#studentsView .candidate-complete-table,#rejectedView .candidate-complete-table{margin-left:0!important}

/* Planning : trois lignes propres (impression, vues, période) sans chevauchement. */
.afm-topbar{height:auto!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;gap:8px!important;padding:8px 12px 4px!important}
.afm-top-actions{order:1!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:8px!important;width:100%!important}
.afm-top-actions #printPlanning{order:-1!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;width:auto!important;min-width:220px!important;height:44px!important;min-height:44px!important;margin:0 10px 0 0!important;padding:9px 20px!important;border-radius:8px!important}
.afm-top-actions #refreshPlanning,.afm-top-actions #reminderNotifications{position:relative!important;display:inline-grid!important;place-items:center!important;width:44px!important;height:44px!important;margin:0!important}
.afm-view-links{order:2!important;display:flex!important;align-items:center!important;gap:24px!important;min-height:34px!important}
.afm-controls{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:20px!important;padding:8px 16px 14px!important}
.student-inline,#toggleStudent,#candidateForm label:has(input[name="isStudent"]){display:none!important}
.login-password-field{position:relative;display:block}.login-password-field input{width:100%;padding-right:52px}.login-password-field button{position:absolute;right:8px;top:50%;transform:translateY(-50%);width:38px;height:38px;border:0;border-radius:9px;background:transparent;color:#077A04;font-size:20px;cursor:pointer}.login-password-field button:hover{background:#e8f4e7}.login-password-field button:focus-visible{outline:2px solid #077A04;outline-offset:1px}

/* Connexion compacte : toutes les commandes restent visibles sans ascenseur. */
.login-form-side{padding:18px 28px!important;min-height:100vh!important;overflow:hidden!important}
.login-card{width:min(545px,100%)!important;max-height:calc(100vh - 36px)!important;padding:26px 36px!important;overflow:hidden!important}
.login-logo{display:flex!important;align-items:center!important;gap:15px!important;width:auto!important;height:66px!important;margin:0 0 10px!important;padding:7px 12px!important;background:transparent!important}
.login-logo img{flex:0 0 66px!important;width:66px!important;height:66px!important;padding:9px!important;border-radius:16px!important;background:#eef6ed!important;object-fit:contain!important}
.login-card .login-logo .secure-label{margin:0!important;color:#077A04!important;font-size:16px!important;font-weight:850!important;letter-spacing:.4px!important;white-space:nowrap!important}
.login-card h2{display:inline-block!important;margin:2px 0 5px!important;color:#077A04!important;font-size:34px!important;font-weight:900!important;line-height:1.1!important;text-decoration:underline!important;text-decoration-thickness:2px!important;text-underline-offset:5px!important}
.login-card .login-help{margin:0 0 10px!important;font-size:14px!important}
.login-card form{display:grid!important;gap:2px!important}
.login-card form label{margin:6px 0!important;gap:3px!important;font-size:12px!important}
.login-card input{height:50px!important;margin-top:4px!important;padding:0 16px!important}
.login-card .primary{height:50px!important;margin:8px 0 4px!important}
.login-card .error{min-height:0!important;margin:3px 0 0!important}
.login-card>small{margin-top:8px!important;font-size:10px!important}
@media(max-height:720px){.login-card{padding:18px 30px!important}.login-logo{height:54px!important}.login-logo img{width:54px!important;height:54px!important;flex-basis:54px!important}.login-card h2{font-size:29px!important}.login-card input{height:44px!important}.login-card .primary{height:45px!important}}
.afm-period{min-height:68px}.afm-modes{display:flex!important;align-items:center!important;gap:8px!important;flex-wrap:nowrap!important}.afm-modes button{height:46px!important;min-height:46px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;white-space:nowrap!important}

/* Impressions propres : aucune barre de défilement et tableaux adaptés au papier. */
@media print{
  @page{size:A4 landscape;margin:7mm}
  html,body{width:auto!important;height:auto!important;overflow:visible!important}
  .people-print-heading{margin:0 0 7px!important;padding:7px!important}
  #candidatesView .candidate-complete-wrap,#studentsView .candidate-complete-wrap,#rejectedView .candidate-complete-wrap,.rejected-table-wrap,.afm-history,.afm-resource-board{width:100%!important;min-width:0!important;min-height:0!important;height:auto!important;max-height:none!important;overflow:visible!important;scrollbar-gutter:auto!important;border-radius:0!important}
  .candidate-complete-table,.rejected-table{width:100%!important;min-width:0!important;table-layout:fixed!important;border-collapse:collapse!important;font-size:6.3px!important}
  .candidate-complete-table thead,.rejected-table thead{display:table-header-group!important;position:static!important}
  .candidate-complete-table tr,.rejected-table tr{break-inside:avoid!important;page-break-inside:avoid!important}
  .candidate-complete-table th,.candidate-complete-table td,.rejected-table th,.rejected-table td{height:auto!important;padding:3px 2px!important;font-size:6.3px!important;line-height:1.2!important;white-space:normal!important;overflow-wrap:anywhere!important;text-overflow:clip!important}
  .candidate-complete-table th:last-child,.candidate-complete-table td:last-child,.rejected-table th:last-child,.rejected-table td:last-child{display:none!important}
  .candidate-complete-table .status-colored-pill,.rejected-table .status-colored-pill{padding:2px 3px!important;font-size:5.8px!important;white-space:normal!important}
  .candidate-complete-table .link::after{display:none!important}
  .table-wrap::-webkit-scrollbar,.afm-history::-webkit-scrollbar,.afm-resource-board::-webkit-scrollbar{display:none!important}
  #agendaView,.afm-planner-shell{width:100%!important;margin:0!important;overflow:visible!important}
  .afm-time-head,.afm-resource-row{grid-template-columns:55px minmax(0,1fr)!important}.afm-day-title{margin-left:55px!important}.afm-track{width:100%!important;min-width:0!important}.afm-resource-row{min-height:105px!important}.afm-resource-name{font-size:9px!important}.afm-event{max-height:96px!important;font-size:7px!important;padding:3px!important}
}
.exchange-count-cell{min-width:150px;text-align:center;white-space:nowrap}
.exchange-count-cell strong{display:inline-flex;align-items:center;justify-content:center;min-width:38px;height:38px;border:1px solid #077a04;border-radius:999px;color:#077a04;background:#eef8ee}
.first-exchange-row{min-height:42px;padding:9px 14px;font-size:14px;white-space:nowrap}
.candidate-created-at{min-width:145px;white-space:nowrap;font-variant-numeric:tabular-nums}

/* Liste candidats/étudiants : tableau compact et trois dernières colonnes équilibrées. */
#candidatesView .candidate-complete-table,#studentsView .candidate-complete-table{width:100%;min-width:1420px;table-layout:fixed}
#candidatesView .candidate-complete-table th,#candidatesView .candidate-complete-table td,#studentsView .candidate-complete-table th,#studentsView .candidate-complete-table td{height:54px;padding:8px 9px!important;vertical-align:middle}
#candidatesView .candidate-complete-table th:nth-last-child(-n+3),#candidatesView .candidate-complete-table td:nth-last-child(-n+3),#studentsView .candidate-complete-table th:nth-last-child(-n+3),#studentsView .candidate-complete-table td:nth-last-child(-n+3){width:180px;min-width:180px;max-width:180px;text-align:center}
#candidatesView .candidate-complete-table th:first-child,#studentsView .candidate-complete-table th:first-child{width:210px}
#candidatesView .candidate-complete-table th:nth-child(2),#candidatesView .candidate-complete-table th:nth-child(3),#studentsView .candidate-complete-table th:nth-child(2),#studentsView .candidate-complete-table th:nth-child(3){width:120px}
#candidatesView .candidate-complete-table th:nth-child(4),#studentsView .candidate-complete-table th:nth-child(4){width:135px}
#candidatesView .candidate-complete-table th:nth-child(5),#studentsView .candidate-complete-table th:nth-child(5){width:155px}
#candidatesView .candidate-complete-table th:nth-child(6),#studentsView .candidate-complete-table th:nth-child(6){width:170px}
#candidatesView .candidate-complete-table th:nth-child(7),#studentsView .candidate-complete-table th:nth-child(7){width:150px}
#candidatesView .candidate-complete-table th:nth-child(8),#studentsView .candidate-complete-table th:nth-child(8){width:90px}
#candidatesView .candidate-complete-table th:nth-child(9),#studentsView .candidate-complete-table th:nth-child(9){width:165px}
#candidatesView .candidate-row-actions,#studentsView .candidate-row-actions{justify-content:center;gap:6px;flex-wrap:nowrap}
#candidatesView .candidate-row-actions button,#studentsView .candidate-row-actions button{min-width:0;padding:7px 9px;font-size:11px}

/* Les trois dernières colonnes ont une largeur physique strictement identique. */
#candidatesView .candidate-complete-table col.candidate-final-col,#studentsView .candidate-complete-table col.candidate-final-col{width:210px!important}
#candidatesView .candidate-complete-table th:nth-last-child(-n+3),#candidatesView .candidate-complete-table td:nth-last-child(-n+3),#studentsView .candidate-complete-table th:nth-last-child(-n+3),#studentsView .candidate-complete-table td:nth-last-child(-n+3){width:210px!important;min-width:210px!important;max-width:210px!important;box-sizing:border-box;overflow:hidden}
#candidatesView .first-exchange-row,#studentsView .first-exchange-row{display:block;width:100%;min-width:0!important;max-width:100%;padding:8px 6px!important;font-size:11px!important;overflow:hidden;text-overflow:ellipsis}
#candidatesView .candidate-row-actions,#studentsView .candidate-row-actions{display:grid;grid-template-columns:1fr 1fr;width:100%}
#candidatesView .candidate-row-actions button,#studentsView .candidate-row-actions button{width:100%;white-space:nowrap}
.no-exchange-status{display:inline-flex;align-items:center;justify-content:center;min-height:32px;padding:5px 9px;border:1px dashed #8a978b;border-radius:999px;background:#f0f3f0;color:#647066;font-size:11px;font-weight:800;white-space:nowrap}

/* Ajustement final : tableau sans colonnes mangées et trois boutons strictement identiques. */
#candidatesView .candidate-complete-table,#studentsView .candidate-complete-table{width:100%!important;min-width:1280px!important;table-layout:fixed!important}
#candidatesView .candidate-complete-table col.candidate-final-col,#studentsView .candidate-complete-table col.candidate-final-col{width:180px!important}
#candidatesView .candidate-complete-table th:nth-last-child(-n+3),#candidatesView .candidate-complete-table td:nth-last-child(-n+3),#studentsView .candidate-complete-table th:nth-last-child(-n+3),#studentsView .candidate-complete-table td:nth-last-child(-n+3){width:180px!important;min-width:180px!important;max-width:180px!important;padding-left:8px!important;padding-right:8px!important}
#candidatesView .candidate-complete-table th:first-child,#studentsView .candidate-complete-table th:first-child{width:170px!important}
#candidatesView .candidate-complete-table th:nth-child(2),#candidatesView .candidate-complete-table th:nth-child(3),#studentsView .candidate-complete-table th:nth-child(2),#studentsView .candidate-complete-table th:nth-child(3){width:105px!important}
#candidatesView .candidate-complete-table th:nth-child(4),#studentsView .candidate-complete-table th:nth-child(4){width:110px!important}
#candidatesView .candidate-complete-table th:nth-child(5),#studentsView .candidate-complete-table th:nth-child(5){width:130px!important}
#candidatesView .candidate-complete-table th:nth-child(6),#studentsView .candidate-complete-table th:nth-child(6){width:145px!important}
#candidatesView .candidate-complete-table th:nth-child(7),#studentsView .candidate-complete-table th:nth-child(7){width:125px!important}
#candidatesView .candidate-complete-table th:nth-child(8),#studentsView .candidate-complete-table th:nth-child(8){width:75px!important}
#candidatesView .candidate-complete-table th:nth-child(9),#studentsView .candidate-complete-table th:nth-child(9){width:135px!important}
#candidatesView .candidate-complete-table td,#studentsView .candidate-complete-table td{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#candidatesView .first-exchange-row,#studentsView .first-exchange-row,#candidatesView .candidate-row-actions button,#studentsView .candidate-row-actions button{box-sizing:border-box!important;width:150px!important;min-width:150px!important;max-width:150px!important;height:34px!important;min-height:34px!important;margin:0!important;padding:5px 7px!important;border-radius:8px!important;font-size:10.5px!important;line-height:1!important;white-space:nowrap!important}
#candidatesView .exchange-count-cell,#studentsView .exchange-count-cell{display:table-cell!important;text-align:center!important}
#candidatesView .first-exchange-row,#studentsView .first-exchange-row{display:inline-flex!important;align-items:center!important;justify-content:center!important}
#candidatesView .candidate-row-actions,#studentsView .candidate-row-actions{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:4px!important;width:100%!important}
#candidatesView .candidate-complete-table tr,#studentsView .candidate-complete-table tr{height:78px!important}
#candidatesView .candidate-complete-wrap,#studentsView .candidate-complete-wrap{overflow:auto!important;scrollbar-gutter:auto!important}

/* Nouvel ordre : nombre d'échanges puis statut, suivis des données candidat. */
#candidatesView .candidate-complete-table col.exchange-action-col,#studentsView .candidate-complete-table col.exchange-action-col{width:180px!important}
#candidatesView .candidate-complete-table col.status-col,#studentsView .candidate-complete-table col.status-col{width:155px!important}
#candidatesView .candidate-complete-table th:nth-child(1),#candidatesView .candidate-complete-table td:nth-child(1),#studentsView .candidate-complete-table th:nth-child(1),#studentsView .candidate-complete-table td:nth-child(1){width:180px!important;min-width:180px!important;max-width:180px!important;text-align:center}
#candidatesView .candidate-complete-table th:nth-child(2),#candidatesView .candidate-complete-table td:nth-child(2),#studentsView .candidate-complete-table th:nth-child(2),#studentsView .candidate-complete-table td:nth-child(2){width:155px!important;min-width:155px!important;max-width:155px!important;text-align:center}
#candidatesView .candidate-complete-table th:nth-child(3),#studentsView .candidate-complete-table th:nth-child(3){width:170px!important}
#candidatesView .candidate-complete-table th:nth-child(4),#candidatesView .candidate-complete-table th:nth-child(5),#studentsView .candidate-complete-table th:nth-child(4),#studentsView .candidate-complete-table th:nth-child(5){width:105px!important}
#candidatesView .candidate-complete-table th:nth-child(6),#studentsView .candidate-complete-table th:nth-child(6){width:110px!important}
#candidatesView .candidate-complete-table th:nth-child(7),#studentsView .candidate-complete-table th:nth-child(7){width:130px!important}
#candidatesView .candidate-complete-table th:nth-child(8),#studentsView .candidate-complete-table th:nth-child(8){width:125px!important}
#candidatesView .candidate-complete-table th:nth-child(9),#studentsView .candidate-complete-table th:nth-child(9){width:75px!important}
.candidate-created-at{min-width:145px;white-space:nowrap;font-variant-numeric:tabular-nums}
/* Accès direct aux référentiels principaux du paramétrage. */
.settings-reference-shortcuts{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  margin:0 0 20px;
}
.settings-reference-shortcuts .settings-shortcut{
  min-width:220px;
  min-height:52px;
  font-weight:800;
}
.settings-reference-card{
  scroll-margin-top:24px;
}
#settings-cities,#settings-educationLevels{
  border:2px solid #077A04;
}
#settings-cities .reference-list,#settings-educationLevels .reference-list{
  max-height:420px;
  overflow:auto;
  padding-right:4px;
}
@media (max-width:700px){
  .settings-reference-shortcuts .settings-shortcut{width:100%;min-width:0}
}
