/* ==========================================================================
   TalentMarketplace France — design system
   Repris du gabarit "Accueil Maintenance CBRE BOE" (blueprint industriel)
   ========================================================================== */

:root{
  --bg: #12151a;
  --panel: #1a1f26;
  --panel-2: #212831;
  --line: rgba(237,239,241,0.09);
  --green: #0f6e4e;
  --green-bright: #3ee6a0;
  --amber: #e2a33c;
  --red: #d9564a;
  --ink: #edeff1;
  --muted: #8b95a1;
  --muted-2: #5b636d;
}
*{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  background:var(--bg);
  color:var(--ink);
  font-family:'IBM Plex Sans', sans-serif;
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,.eyebrow,.tab-label{font-family:'Oswald', sans-serif; text-transform:uppercase;}
.mono{font-family:'IBM Plex Mono', monospace;}
a{color:inherit; text-decoration:none;}
.wrap{max-width:1180px; margin:0 auto; padding:0 32px;}
::selection{background:var(--green-bright); color:#0a0d10;}

.blueprint{
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 42px 42px;
}

/* ===== HERO (page d'accueil uniquement) ===== */
header.hero{
  position:relative; padding:64px 0 0; overflow:hidden;
  background: radial-gradient(ellipse at 75% 20%, rgba(15,110,78,0.25), transparent 55%), var(--bg);
}
.hero-top{display:flex; justify-content:space-between; align-items:center; padding-bottom:40px;}
.site-id{
  font-family:'IBM Plex Mono', monospace; font-size:12px; letter-spacing:.12em; color:var(--green-bright);
  border:1px solid var(--green); padding:6px 12px; border-radius:2px;
  display:inline-flex; align-items:center; gap:8px;
}
.site-id .dot{width:6px;height:6px;border-radius:50%;background:var(--green-bright); box-shadow:0 0 8px var(--green-bright); animation:pulse 2s infinite;}

.lang-switch{display:flex; align-items:center; gap:6px; font-family:'IBM Plex Mono', monospace; font-size:12px;}
.lang-btn{background:none; border:none; color:var(--muted); cursor:pointer; padding:2px 4px; font-family:inherit; font-size:inherit; letter-spacing:.05em;}
.lang-btn.active{color:var(--green-bright); font-weight:600;}
.lang-switch .sep{color:var(--muted-2);}
[hidden]{display:none !important;}
@keyframes pulse{0%,100%{opacity:1;}50%{opacity:.3;}}
.brand{font-family:'Oswald', sans-serif; font-weight:600; font-size:18px; letter-spacing:.04em;}
.brand span{color:var(--green-bright);}
.hero-body{display:grid; grid-template-columns:1.1fr 0.9fr; gap:48px; align-items:center; padding-bottom:56px;}
.eyebrow{font-size:13px; letter-spacing:.18em; color:var(--muted); margin-bottom:18px; display:flex; align-items:center; gap:10px;}
.eyebrow::before{content:''; width:24px; height:2px; background:var(--amber); display:inline-block;}
h1{font-size:clamp(40px, 6vw, 68px); font-weight:700; line-height:0.98; letter-spacing:.01em; margin-bottom:22px;}
h1 em{font-style:normal; color:var(--green-bright);}
.hero-lede{font-size:17px; color:var(--muted); max-width:46ch; margin-bottom:30px;}
.cta-row{display:flex; gap:14px; flex-wrap:wrap;}
.btn{
  display:inline-flex; align-items:center; gap:8px; padding:13px 22px; border-radius:2px;
  font-size:14px; font-weight:500; letter-spacing:.02em; border:1px solid transparent; cursor:pointer;
  transition:.15s ease; background:none; font-family:inherit;
}
.btn-primary{background:var(--green-bright); color:#0a0d10;}
.btn-primary:hover{background:#5df0b3;}
.btn-ghost{border-color:var(--line); color:var(--ink);}
.btn-ghost:hover{border-color:var(--muted-2); background:var(--panel);}
.btn-sm{padding:8px 14px; font-size:13px;}
.btn-danger{border-color:var(--red); color:var(--red);}
.btn-danger:hover{background:rgba(217,86,74,0.12);}
.btn[disabled]{opacity:.4; cursor:not-allowed;}

.schematic{position:relative; aspect-ratio:1/1; border:1px solid var(--line); border-radius:4px; background:var(--panel);}
.schematic svg{width:100%; height:100%; display:block;}
.schematic .tag-fig{position:absolute; bottom:14px; left:14px; font-size:11px; color:var(--muted-2); letter-spacing:.1em;}

/* ===== CONTROL PANEL NAV ===== */
nav.panel{background:var(--panel); border-top:1px solid var(--line); border-bottom:1px solid var(--line);}
.panel-grid{display:grid; grid-template-columns:repeat(4, 1fr);}
.switch{position:relative; padding:26px 24px; border-right:1px solid var(--line); display:flex; flex-direction:column; gap:10px; cursor:pointer; transition:.15s ease;}
.switch:last-child{border-right:none;}
.switch:hover{background:var(--panel-2);}
.switch-top{display:flex; align-items:center; justify-content:space-between;}
.switch-code{font-size:11px; color:var(--muted-2); letter-spacing:.1em;}
.led{width:9px; height:9px; border-radius:50%; background:var(--muted-2); box-shadow:none; transition:.2s ease;}
.switch:hover .led{background:var(--green-bright); box-shadow:0 0 10px var(--green-bright);}
.switch-label{font-family:'Oswald', sans-serif; font-size:16px; letter-spacing:.02em; font-weight:500;}
.switch-desc{font-size:12.5px; color:var(--muted); line-height:1.4;}

/* ===== APPBAR (pages internes / application) ===== */
header.appbar{background:var(--panel); border-bottom:1px solid var(--line); position:sticky; top:0; z-index:20;}
.appbar-inner{display:flex; align-items:center; justify-content:space-between; padding:16px 0;}
.appbar .nav-links{display:flex; gap:6px; flex-wrap:wrap;}
.appbar .nav-links a{
  font-size:13px; color:var(--muted); padding:8px 12px; border-radius:2px; letter-spacing:.02em;
  transition:.15s ease;
}
.appbar .nav-links a:hover{color:var(--ink); background:var(--panel-2);}
.appbar .nav-links a.active{color:var(--green-bright); background:var(--panel-2);}
.appbar .nav-group{display:flex; align-items:center; gap:6px; padding-left:12px; margin-left:6px; border-left:1px solid var(--line);}
.appbar .nav-group-label{font-family:'IBM Plex Mono', monospace; font-size:10px; color:var(--muted-2); text-transform:uppercase; letter-spacing:.08em; padding:0 4px;}
.user-chip{display:flex; align-items:center; gap:10px; font-size:13px; color:var(--muted);}
.user-chip .avatar-sm{
  width:30px; height:30px; border-radius:2px; background:var(--green); color:#0a0d10;
  display:flex; align-items:center; justify-content:center; font-family:'Oswald'; font-weight:600; font-size:13px;
}
.user-chip b{color:var(--ink);}

/* page title block pour pages internes */
.page-head{padding:44px 0 8px;}
.page-head .eyebrow::before{background:var(--green-bright);}
.page-head h1{font-size:clamp(28px,4vw,42px); margin-bottom:10px;}
.page-head p{color:var(--muted); max-width:60ch; font-size:15px;}
.page-head-row{display:flex; justify-content:space-between; align-items:flex-end; flex-wrap:wrap; gap:20px;}

/* ===== SECTION GENERIC ===== */
section{padding:80px 0;}
section.tight{padding:40px 0;}
.section-head{max-width:640px; margin-bottom:48px;}
.section-head .eyebrow::before{background:var(--green-bright);}
h2{font-size:clamp(28px, 3.4vw, 38px); font-weight:600; letter-spacing:.01em;}
h3{font-weight:600;}

/* highlight / quote */
.highlight{display:grid; grid-template-columns:1fr 1fr; gap:52px; align-items:center;}
.highlight-visual{border:1px solid var(--line); border-radius:4px; padding:36px; background:var(--panel);}
blockquote{
  font-family:'Oswald', sans-serif; font-size:22px; font-weight:500; line-height:1.35; color:var(--ink);
  border-left:3px solid var(--amber); padding-left:20px; margin-top:26px;
}
.stat-row{display:flex; gap:32px; margin-top:30px; flex-wrap:wrap;}
.stat{border-top:1px solid var(--line); padding-top:12px;}
.stat b{display:block; font-family:'IBM Plex Mono'; font-size:26px; color:var(--green-bright);}
.stat span{font-size:12px; color:var(--muted);}

/* module cards (dark) */
.cards{display:grid; grid-template-columns:repeat(4, 1fr); gap:1px; background:var(--line); border:1px solid var(--line); border-radius:4px; overflow:hidden;}
.cards-3{grid-template-columns:repeat(3, 1fr);}
.card{background:var(--panel); padding:28px 24px; display:flex; flex-direction:column; gap:14px; transition:.15s ease;}
.card:hover{background:var(--panel-2);}
.card-index{font-family:'IBM Plex Mono'; font-size:12px; color:var(--muted-2);}
.card h3{font-size:17px; font-weight:600; letter-spacing:0;}
.card p{font-size:13px; color:var(--muted); flex-grow:1;}
.card .go{font-size:12px; color:var(--green-bright); font-family:'IBM Plex Mono'; letter-spacing:.05em;}

/* why grid */
.why-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:24px;}
.why-grid-3{grid-template-columns:repeat(3,1fr);}
.why-item{border-top:2px solid var(--green); padding-top:16px;}
.why-item h3{font-size:15px; font-weight:600; margin-bottom:8px; text-transform:none; font-family:'IBM Plex Sans';}
.why-item p{font-size:13px; color:var(--muted);}

/* liste à puces (pages de présentation) */
.check-list{list-style:none; display:flex; flex-direction:column; gap:12px; margin:20px 0;}
.check-list li{display:flex; align-items:flex-start; gap:12px; font-size:14.5px; color:var(--ink); line-height:1.5;}
.check-list li::before{content:'→'; color:var(--green-bright); font-family:'IBM Plex Mono', monospace; flex-shrink:0; margin-top:1px;}
:is(.light-band, .light-panel) .check-list li{color:#1c2420;}

/* cycle de mission (visuel Cadrer → Outiller → ...) */
.cycle-row{display:flex; flex-wrap:wrap; align-items:center; gap:10px; margin:28px 0;}
.cycle-step{font-family:'IBM Plex Mono', monospace; font-size:13px; letter-spacing:.05em; text-transform:uppercase; color:var(--ink); border:1px solid var(--green); border-radius:20px; padding:9px 18px; white-space:nowrap;}
.cycle-arrow{color:var(--green-bright); font-size:16px;}

/* contact */
.contact{background:var(--panel); border:1px solid var(--line); border-radius:4px; display:grid; grid-template-columns:auto 1fr auto; gap:32px; align-items:center; padding:36px 40px;}
.avatar{width:64px; height:64px; border-radius:2px; background:var(--green); display:flex; align-items:center; justify-content:center; font-family:'Oswald'; font-weight:600; font-size:22px; color:#0a0d10;}
.contact-name{font-size:19px; font-weight:600; font-family:'Oswald'; text-transform:none;}
.contact-role{font-size:13px; color:var(--muted); margin-top:2px;}
.contact-meta{font-size:13px; color:var(--muted); margin-top:10px; display:flex; gap:18px; flex-wrap:wrap;}
.contact-meta a:hover{color:var(--green-bright);}

footer{border-top:1px solid var(--line); padding:28px 0; display:flex; justify-content:space-between; align-items:center; font-size:12px; color:var(--muted-2); flex-wrap:wrap; gap:10px;}

/* ===== LIGHT BAND ===== */
.light-band{background:#f4f6f5; color:#1c2420;}
.light-band .eyebrow-dark{color:#5b756a;}
.light-band .eyebrow-dark::before{background:var(--green);}
.dark-title{color:#12312a;}
.feature-grid{display:flex; flex-wrap:wrap; gap:24px; justify-content:flex-start;}
.feature-btn{
  flex:1 1 280px; max-width:340px; background:#ffffff; border:1px solid #e2e7e4; border-radius:8px;
  padding:24px 26px 26px; display:flex; flex-direction:column; gap:14px; box-shadow:0 1px 2px rgba(18,49,42,0.04); transition:.18s ease;
}
.feature-btn:hover{transform:translateY(-3px); box-shadow:0 10px 24px rgba(18,49,42,0.1); border-color:#c7d3cd;}
.feature-top{display:flex; align-items:center; justify-content:space-between;}
.feature-code{font-size:11px; color:#9aa6a0; letter-spacing:.08em;}
.feature-icon{width:52px; height:52px; border-radius:50%; background:var(--green); display:flex; align-items:center; justify-content:center; flex-shrink:0;}
.feature-icon svg{width:24px; height:24px;}
.feature-bar{width:36px; height:3px; background:var(--green-bright); display:block; border-radius:2px;}
.feature-label{font-family:'Oswald', sans-serif; font-weight:600; font-size:16px; letter-spacing:.01em; color:#12312a; text-transform:uppercase; display:flex; align-items:center; gap:10px; flex-wrap:wrap;}
.feature-desc{font-size:13px; color:#5b6a63; line-height:1.5; flex-grow:1;}
.feature-go{font-size:12px; color:var(--green); letter-spacing:.05em; font-weight:500;}
.feature-btn-soon{background:#fbfcfb;}
.feature-btn-soon .feature-icon{background:#c7d3cd;}
.feature-badge{font-style:normal; font-family:'IBM Plex Mono', monospace; font-size:10px; text-transform:uppercase; letter-spacing:.06em; color:var(--amber); border:1px solid var(--amber); padding:2px 7px; border-radius:20px;}
.feature-go-muted{color:#9aa6a0;}

/* ===== AUTH WIDGET ===== */
.auth-widget{font-family:'IBM Plex Sans', sans-serif; font-size:13px; position:relative;}
.auth-widget input{background:var(--panel); border:1px solid var(--line); color:var(--ink); border-radius:2px; padding:8px 10px; font-size:13px; font-family:inherit; width:170px;}
.auth-widget input:focus{outline:none; border-color:var(--green-bright);}
.auth-widget .auth-row{display:flex; align-items:center; gap:8px;}
.auth-widget .auth-tabs{display:flex; gap:6px; margin-bottom:8px;}
.auth-widget .auth-tab{background:none; border:none; color:var(--muted); font-size:12px; letter-spacing:.04em; text-transform:uppercase; cursor:pointer; padding:4px 0; border-bottom:2px solid transparent; font-family:'IBM Plex Sans', sans-serif;}
.auth-widget .auth-tab.active{color:var(--green-bright); border-bottom-color:var(--green-bright);}

/* ===== FORMS (nouveau) ===== */
.form-card{background:var(--panel); border:1px solid var(--line); border-radius:4px; padding:32px;}
.form-grid{display:grid; grid-template-columns:1fr 1fr; gap:20px;}
.form-grid.single{grid-template-columns:1fr;}
.field{display:flex; flex-direction:column; gap:8px;}
.field.span-2{grid-column:span 2;}
.field label{font-size:12.5px; letter-spacing:.04em; color:var(--muted); text-transform:uppercase; font-family:'IBM Plex Mono', monospace;}
.field input, .field textarea, .field select{
  background:var(--bg); border:1px solid var(--line); color:var(--ink); border-radius:2px;
  padding:11px 13px; font-size:14px; font-family:'IBM Plex Sans', sans-serif; width:100%;
}
.field textarea{resize:vertical; min-height:90px;}
.field input:focus, .field textarea:focus, .field select:focus{outline:none; border-color:var(--green-bright);}
.field .hint{font-size:12px; color:var(--muted-2);}
.form-actions{display:flex; justify-content:flex-end; gap:12px; margin-top:28px; padding-top:24px; border-top:1px solid var(--line);}

/* cartes de sélection (grille des 6 attentes) */
.attente-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:16px;}
.attente-card{
  background:var(--panel); border:1px solid var(--line); border-radius:4px; padding:22px; cursor:pointer;
  transition:.15s ease; display:flex; flex-direction:column; gap:10px;
}
.attente-card:hover{border-color:var(--muted-2);}
.attente-card.selected{border-color:var(--green-bright); background:var(--panel-2); box-shadow:0 0 0 1px var(--green-bright) inset;}
.attente-card .attente-code{font-family:'IBM Plex Mono'; font-size:11px; color:var(--muted-2);}
.attente-card h3{font-size:16px;}
.attente-card p{font-size:12.5px; color:var(--muted); line-height:1.5;}

/* stepper cycle de mission */
.stepper{display:flex; align-items:flex-start; gap:0; margin:8px 0 0;}
.step{flex:1; position:relative; padding-top:18px; text-align:left;}
.step::before{content:''; position:absolute; top:5px; left:0; width:100%; height:2px; background:var(--line);}
.step::after{content:''; position:absolute; top:0; left:0; width:11px; height:11px; border-radius:50%; background:var(--panel-2); border:2px solid var(--muted-2);}
.step.done::before{background:var(--green);}
.step.done::after{background:var(--green-bright); border-color:var(--green-bright);}
.step.current::after{background:var(--bg); border-color:var(--green-bright); box-shadow:0 0 0 3px rgba(62,230,160,0.25);}
.step-label{font-size:12px; font-family:'IBM Plex Mono'; letter-spacing:.03em; color:var(--muted); text-transform:uppercase;}
.step.done .step-label, .step.current .step-label{color:var(--ink);}

/* badges de statut */
.badge{display:inline-flex; align-items:center; gap:6px; font-family:'IBM Plex Mono'; font-size:11px; letter-spacing:.05em; text-transform:uppercase; padding:4px 10px; border-radius:20px; border:1px solid var(--line);}
.badge-cadrage{color:var(--amber); border-color:var(--amber);}
.badge-preparation{color:#8ab4e8; border-color:#8ab4e8;}
.badge-realisation{color:var(--green-bright); border-color:var(--green-bright);}
.badge-restitution{color:#c79ee8; border-color:#c79ee8;}
.badge-capitalisation{color:var(--muted); border-color:var(--muted-2);}
.badge-dispo{color:var(--green-bright); border-color:var(--green);}
.badge-indispo{color:var(--muted-2); border-color:var(--muted-2);}

/* tag pill */
.tag-pill{display:inline-flex; font-size:12px; padding:5px 11px; border-radius:20px; background:var(--panel-2); color:var(--muted); border:1px solid var(--line);}

/* liste / tableau missions */
.list{display:flex; flex-direction:column; gap:1px; background:var(--line); border:1px solid var(--line); border-radius:4px; overflow:hidden;}
.list-row{background:var(--panel); padding:20px 24px; display:grid; grid-template-columns:2.2fr 1fr 1fr 1fr auto; gap:20px; align-items:center; transition:.15s ease;}
.list-row:hover{background:var(--panel-2);}
.list-row.head{background:var(--bg); font-family:'IBM Plex Mono'; font-size:11px; color:var(--muted-2); letter-spacing:.06em; text-transform:uppercase; padding:12px 24px;}
.list-title{font-weight:600; font-size:14.5px;}
.list-sub{font-size:12px; color:var(--muted); margin-top:2px;}
.list-meta{font-size:13px; color:var(--muted);}

/* candidate mini card */
.candidate-card{background:var(--panel); border:1px solid var(--line); border-radius:4px; padding:20px; display:flex; gap:16px; align-items:flex-start;}
.candidate-card .avatar{width:46px; height:46px; font-size:16px; flex-shrink:0;}
.candidate-name{font-weight:600; font-size:15px;}
.candidate-role{font-size:12.5px; color:var(--muted); margin-bottom:8px;}
.candidate-tags{display:flex; gap:6px; flex-wrap:wrap; margin-bottom:10px;}
.candidate-actions{display:flex; gap:10px; margin-top:12px;}

/* expertise card (profil expert) */
.profile-head{display:grid; grid-template-columns:auto 1fr auto; gap:28px; align-items:center; background:var(--panel); border:1px solid var(--line); border-radius:4px; padding:32px;}
.profile-head .avatar{width:80px; height:80px; font-size:26px;}
.profile-name{font-size:24px; font-weight:700; font-family:'Oswald';}
.profile-title{color:var(--muted); font-size:14px; margin-top:4px;}
.profile-meta{display:flex; gap:16px; margin-top:10px; font-size:12.5px; color:var(--muted-2); flex-wrap:wrap;}
.profile-section{margin-top:36px;}
.profile-section h3{font-size:13px; letter-spacing:.1em; text-transform:uppercase; color:var(--muted); margin-bottom:16px; font-family:'IBM Plex Mono'; font-weight:500;}
.review-card{background:var(--panel); border:1px solid var(--line); border-radius:4px; padding:20px; margin-bottom:12px;}
.review-card p{font-size:14px; color:var(--ink); font-style:italic;}
.review-card .review-meta{margin-top:10px; font-size:12px; color:var(--muted-2);}

/* bibliothèque de ressources */
.resource-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--line); border:1px solid var(--line); border-radius:4px; overflow:hidden;}
.resource-card{background:var(--panel); padding:24px; display:flex; flex-direction:column; gap:12px;}
.resource-card:hover{background:var(--panel-2);}
.resource-type{font-family:'IBM Plex Mono'; font-size:11px; color:var(--muted-2); letter-spacing:.05em; text-transform:uppercase;}

/* FAQ accordion */
.faq-item{border-bottom:1px solid var(--line); padding:18px 0;}
.faq-item summary{cursor:pointer; font-weight:600; font-size:15px; list-style:none; display:flex; justify-content:space-between; align-items:center;}
.faq-item summary::-webkit-details-marker{display:none;}
.faq-item summary::after{content:'+'; color:var(--muted); font-size:20px; font-weight:300;}
.faq-item[open] summary::after{content:'–';}
.faq-item p{margin-top:12px; color:var(--muted); font-size:14px; line-height:1.6;}

/* ===== SUIVI DES MISSIONS (admin) ===== */
.mission-track-card{background:var(--panel); border:1px solid var(--line); border-radius:4px; margin-bottom:1px;}
.track-head{display:grid; grid-template-columns:1.8fr 1fr 1fr 1.1fr 1.3fr 1fr auto; gap:16px; align-items:center; padding:20px 24px;}
.track-head.head-row{background:var(--bg); font-family:'IBM Plex Mono'; font-size:11px; color:var(--muted-2); letter-spacing:.06em; text-transform:uppercase; padding:12px 24px; border-radius:4px 4px 0 0;}
.status-control{display:flex; flex-direction:column; gap:6px;}
.status-select{
  background:var(--bg); border:1px solid var(--line); color:var(--muted); border-radius:2px;
  padding:6px 8px; font-size:12px; font-family:'IBM Plex Sans', sans-serif; width:100%; cursor:pointer;
}
.status-select:focus{outline:none; border-color:var(--green-bright);}
.track-updated{font-size:11.5px; color:var(--muted-2);}
.comments-toggle{
  background:none; border:1px solid var(--line); color:var(--muted); font-size:12px; padding:8px 14px;
  border-radius:2px; cursor:pointer; font-family:'IBM Plex Sans', sans-serif; white-space:nowrap;
}
.comments-toggle:hover{color:var(--ink); border-color:var(--muted-2);}
.comments-panel{display:none; border-top:1px solid var(--line); padding:20px 24px 24px; background:var(--panel-2);}
.comments-panel.open{display:block;}
.comment-item{display:flex; gap:12px; margin-bottom:16px;}
.comment-item .avatar-sm{flex-shrink:0;}
.comment-author{font-size:13px; font-weight:600; color:var(--ink);}
.comment-date{font-size:11.5px; color:var(--muted-2); margin-left:8px; font-weight:400;}
.comment-text{font-size:13.5px; color:var(--muted); margin-top:4px; line-height:1.5;}
.comment-form{display:flex; gap:12px; margin-top:20px; padding-top:16px; border-top:1px solid var(--line);}
.comment-form textarea{flex-grow:1; min-height:56px;}

/* table admin */
.admin-table{width:100%; border-collapse:collapse; background:var(--panel); border:1px solid var(--line); border-radius:4px; overflow:hidden;}
.admin-table th{background:var(--bg); text-align:left; font-family:'IBM Plex Mono'; font-size:11px; letter-spacing:.06em; text-transform:uppercase; color:var(--muted-2); padding:14px 20px; border-bottom:1px solid var(--line);}
.admin-table td{padding:16px 20px; border-bottom:1px solid var(--line); font-size:13.5px;}
.admin-table tr:last-child td{border-bottom:none;}
.admin-table tr:hover td{background:var(--panel-2);}

/* ==========================================================================
   CONVENTION GRAPHIQUE — tableaux, listes et grilles en clair (blanc + vert)
   Le dark industriel reste réservé aux titres et hauts de page (hero, page-head).
   Tout contenu tabulaire (listes de missions, bibliothèque, FAQ, tableaux admin,
   tableau de bord) s'affiche sur fond clair — via .light-band (section pleine
   largeur) ou .light-panel (bloc clair inséré dans une page par ailleurs sombre).
   ========================================================================== */
.light-panel{background:#f4f6f5; border-radius:8px; padding:32px;}

:is(.light-band, .light-panel) h2{color:#12312a;}
:is(.light-band, .light-panel) h3{color:#12312a;}
:is(.light-band, .light-panel) p{color:#5b6a63;}
:is(.light-band, .light-panel) .eyebrow{color:#5b756a;}
:is(.light-band, .light-panel) .eyebrow::before{background:var(--green);}
:is(.light-band, .light-panel) .profile-section h3,
.profile-section.light-panel h3{color:#5b756a;}

:is(.light-band, .light-panel) .stat{border-top-color:#d8ddda;}
:is(.light-band, .light-panel) .stat b{color:var(--green);}
:is(.light-band, .light-panel) .stat span{color:#5b756a;}

:is(.light-band, .light-panel) .field label{color:#5b756a;}
:is(.light-band, .light-panel) .field input,
:is(.light-band, .light-panel) .field textarea,
:is(.light-band, .light-panel) .field select{background:#ffffff; border-color:#d8ddda; color:#1c2420;}
:is(.light-band, .light-panel) .field input:focus,
:is(.light-band, .light-panel) .field textarea:focus,
:is(.light-band, .light-panel) .field select:focus{border-color:var(--green);}
:is(.light-band, .light-panel) .field .hint{color:#9aa6a0;}
:is(.light-band, .light-panel) .form-card{background:#ffffff; border-color:#e2e7e4;}
:is(.light-band, .light-panel) .form-actions{border-top-color:#e2e7e4;}

:is(.light-band, .light-panel) .btn-ghost{border-color:#d8ddda; color:#12312a;}
:is(.light-band, .light-panel) .btn-ghost:hover{border-color:#c7d3cd; background:#eef1ef;}
:is(.light-band, .light-panel) .btn-danger{border-color:#c94b3f; color:#c94b3f;}
:is(.light-band, .light-panel) .btn-danger:hover{background:rgba(201,75,63,0.08);}

:is(.light-band, .light-panel) .tag-pill{background:#eef1ef; color:#5b6a63; border-color:#d8ddda;}

:is(.light-band, .light-panel) .badge{border-width:1px;}
:is(.light-band, .light-panel) .badge-cadrage{color:#8a5a12; border-color:#f0d9ad; background:#fdf1de;}
:is(.light-band, .light-panel) .badge-preparation{color:#2c5aa0; border-color:#c9dcf5; background:#e8f0fb;}
:is(.light-band, .light-panel) .badge-realisation{color:#0f6e4e; border-color:#b9e6cf; background:#e6f7ef;}
:is(.light-band, .light-panel) .badge-restitution{color:#7143a8; border-color:#dcc7f0; background:#f3ecfa;}
:is(.light-band, .light-panel) .badge-capitalisation{color:#5b6a63; border-color:#d8ddda; background:#eef1ef;}
:is(.light-band, .light-panel) .badge-dispo{color:#0f6e4e; border-color:#b9e6cf; background:#e6f7ef;}
:is(.light-band, .light-panel) .badge-indispo{color:#8a8f8c; border-color:#d8ddda; background:#eef1ef;}

:is(.light-band, .light-panel) .list{background:#e2e7e4; border-color:#e2e7e4;}
:is(.light-band, .light-panel) .list-row{background:#ffffff;}
:is(.light-band, .light-panel) .list-row:hover{background:#f7f9f8;}
:is(.light-band, .light-panel) .list-row.head{background:transparent; color:#9aa6a0;}
:is(.light-band, .light-panel) .list-title{color:#12312a;}
:is(.light-band, .light-panel) .list-sub{color:#5b6a63;}
:is(.light-band, .light-panel) .list-meta{color:#5b6a63;}

:is(.light-band, .light-panel) .candidate-card{background:#ffffff; border-color:#e2e7e4;}
:is(.light-band, .light-panel) .candidate-name{color:#12312a;}
:is(.light-band, .light-panel) .candidate-role{color:#5b6a63;}
:is(.light-band, .light-panel) .candidate-card p{color:#5b6a63;}

:is(.light-band, .light-panel) .resource-grid{background:#e2e7e4; border-color:#e2e7e4;}
:is(.light-band, .light-panel) .resource-card{background:#ffffff;}
:is(.light-band, .light-panel) .resource-card:hover{background:#f7f9f8;}
:is(.light-band, .light-panel) .resource-type{color:#9aa6a0;}

:is(.light-band, .light-panel) .admin-table{background:#ffffff; border-color:#e2e7e4;}
:is(.light-band, .light-panel) .admin-table th{background:#f4f6f5; color:#9aa6a0; border-color:#e2e7e4;}
:is(.light-band, .light-panel) .admin-table td{color:#1c2420; border-color:#e2e7e4;}
:is(.light-band, .light-panel) .admin-table tr:hover td{background:#f7f9f8;}

:is(.light-band, .light-panel) .mission-track-card{background:#ffffff; border-color:#e2e7e4;}
:is(.light-band, .light-panel) .track-head.head-row{background:#f4f6f5; color:#9aa6a0;}
:is(.light-band, .light-panel) .status-select{background:#ffffff; border-color:#d8ddda; color:#1c2420;}
:is(.light-band, .light-panel) .track-updated{color:#9aa6a0;}
:is(.light-band, .light-panel) .comments-toggle{border-color:#d8ddda; color:#5b6a63;}
:is(.light-band, .light-panel) .comments-toggle:hover{color:#12312a; border-color:#c7d3cd;}
:is(.light-band, .light-panel) .comments-panel{background:#f8faf9; border-top-color:#e2e7e4;}
:is(.light-band, .light-panel) .comment-author{color:#12312a;}
:is(.light-band, .light-panel) .comment-date{color:#9aa6a0;}
:is(.light-band, .light-panel) .comment-text{color:#5b6a63;}

:is(.light-band, .light-panel) .faq-item{border-color:#e2e7e4;}
:is(.light-band, .light-panel) .faq-item summary{color:#12312a;}
:is(.light-band, .light-panel) .faq-item summary::after{color:#9aa6a0;}
:is(.light-band, .light-panel) .faq-item p{color:#5b6a63;}

@media (max-width:860px){
  .hero-body, .highlight{grid-template-columns:1fr;}
  .panel-grid, .cards, .why-grid, .attente-grid, .resource-grid{grid-template-columns:repeat(2,1fr);}
  .cards-3, .why-grid-3{grid-template-columns:1fr;}
  .switch{border-bottom:1px solid var(--line);}
  .contact{grid-template-columns:1fr; text-align:left;}
  .form-grid{grid-template-columns:1fr;}
  .field.span-2{grid-column:span 1;}
  .list-row{grid-template-columns:1fr; gap:8px;}
  .profile-head{grid-template-columns:1fr; text-align:left;}
  .appbar-inner{flex-wrap:wrap; gap:12px;}
}
@media (prefers-reduced-motion: reduce){
  .site-id .dot{animation:none;}
  *{transition:none !important;}
}
