/* Nouveau Cap V221 — bundle CSS conservateur.
 * Généré par tools/build-frontend-v221.js.
 * Ordre de cascade strictement identique à public/index.html V220.
 */

/* ===== Source : /styles.css ===== */
:root {
  --accent: #005895;
  --accent-dark: #002556;
  --accent-soft: #e8f3fb;
  --gold: #e1b85a;
  --ink: #18324a;
  --muted: #60758b;
  --surface: #ffffff;
  --background: #f4f8fc;
  --line: #d9e5f0;
  --danger: #b54444;
  --shadow: 0 12px 30px rgba(0, 37, 86, 0.10);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--background); color: var(--ink); }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
.app-shell { min-height: 100vh; display: grid; grid-template-columns: 270px 1fr; }
.sidebar { position: sticky; top: 0; height: 100vh; padding: 22px 16px; background: #fff; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 22px; }
.logo-wrap {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 150px;
}

.logo {
  width: 235px;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: left center;
}
.sidebar small { color: var(--muted); }
.nav { display: grid; gap: 5px; }
.nav button { width: 100%; border: 0; border-radius: 11px; background: transparent; color: #49657d; padding: 12px 13px; text-align: left; display: flex; gap: 10px; align-items: center; font-weight: 650; }
.nav button:hover, .nav button.active { background: var(--accent-soft); color: var(--accent-dark); }
.sidebar-bottom { margin-top: auto; padding: 13px; border-radius: 14px; background: #f7fbfe; border: 1px solid var(--line); }
.main { padding: 26px 30px 45px; min-width: 0; }
.topbar { display: flex; gap: 16px; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.topbar h1 { margin: 0; font-size: 28px; letter-spacing: -0.03em; }
.topbar .subtitle { margin: 4px 0 0; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; }
.btn { border: 1px solid transparent; border-radius: 10px; padding: 10px 14px; font-weight: 720; transition: .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-secondary { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-soft { background: var(--accent-soft); color: var(--accent-dark); }
.btn-danger { background: #fff0f0; color: var(--danger); }
.grid { display: grid; gap: 16px; }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 17px; box-shadow: var(--shadow); padding: 18px; }
.card h2, .card h3 { margin: 0 0 10px; letter-spacing: -0.02em; }
.card p { line-height: 1.55; }
.kpi { min-height: 122px; }
.kpi .label { color: var(--muted); font-weight: 650; font-size: 13px; }
.kpi .value { font-size: 30px; font-weight: 820; margin-top: 10px; }
.kpi .hint { color: var(--muted); margin-top: 5px; font-size: 13px; }
.badge { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 5px 9px; font-size: 12px; font-weight: 760; background: var(--accent-soft); color: var(--accent-dark); }
.badge.gold { background: #fff6dc; color: #785b13; }
.badge.muted { background: #edf1f2; color: #677d92; }
.badge.danger { background: #fff0f0; color: var(--danger); }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th { color: var(--muted); font-size: 12px; text-align: left; padding: 11px 10px; border-bottom: 1px solid var(--line); text-transform: uppercase; letter-spacing: .04em; }
td { padding: 13px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
tr.clickable:hover { background: #f7fbfe; cursor: pointer; }
.section-title { display: flex; justify-content: space-between; align-items: end; gap: 12px; margin: 0 0 14px; }
.section-title h2 { margin: 0; }
.section-title p { margin: 4px 0 0; color: var(--muted); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { color: #3d5870; font-size: 13px; font-weight: 760; }
.field input, .field textarea, .field select { width: 100%; border: 1px solid #cad9e7; border-radius: 10px; padding: 10px 11px; background: #fff; color: var(--ink); outline: none; }
.field textarea { min-height: 93px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0, 88, 149, .12); }
.helper { color: var(--muted); font-size: 12px; line-height: 1.5; }
.tabs { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 16px; }
.tabs button { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 11px; font-weight: 700; color: #526c84; }
.tabs button.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.question-list { display: grid; gap: 11px; }
.question { border: 1px solid var(--line); border-radius: 13px; padding: 13px; background: #fbfdff; }
.question-title { margin-bottom: 9px; font-weight: 670; line-height: 1.4; }
.scale { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.scale button { border: 1px solid var(--line); border-radius: 8px; padding: 8px 4px; background: #fff; color: #647b92; font-size: 12px; }
.scale button.selected { background: var(--accent); color: #fff; border-color: var(--accent); }
.scale-labels { display: flex; justify-content: space-between; color: var(--muted); font-size: 11px; margin-top: 5px; }
.progress-line { height: 8px; background: #edf4f9; border-radius: 999px; overflow: hidden; }
.progress-line span { display: block; height: 100%; background: var(--accent); border-radius: 999px; }
.score-list { display: grid; gap: 11px; }
.score-row { display: grid; grid-template-columns: minmax(120px, 1.4fr) 3fr 45px; gap: 10px; align-items: center; font-size: 13px; }
.score-bar { height: 9px; border-radius: 999px; background: #edf4f9; overflow: hidden; }
.score-bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--accent), #00a7c9); }
.experience { position: relative; }
.experience .remove { position: absolute; right: 12px; top: 12px; border: 0; background: #fff0f0; color: var(--danger); border-radius: 8px; padding: 6px 8px; }
.stack { display: grid; gap: 13px; }
.notice { padding: 13px 15px; border-radius: 12px; border: 1px solid #d6e7f5; background: #f1f8fe; color: #1f5686; line-height: 1.5; }
.notice.warning { border-color: #f0dfae; background: #fff8e8; color: #6c571c; }
.report { max-width: 900px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 30px; box-shadow: var(--shadow); }
.report-header { border-bottom: 2px solid var(--accent); padding-bottom: 16px; margin-bottom: 18px; }
.report h1 { margin: 0 0 4px; color: var(--accent-dark); }
.report h2 { color: var(--accent-dark); margin-top: 24px; }
.report h3 { color: var(--accent-dark); }
.report p, .report li { line-height: 1.6; }
.report ul { padding-left: 20px; }
pre.report-raw { white-space: pre-wrap; font: inherit; line-height: 1.65; }
.empty { border: 1px dashed #bfd0de; border-radius: 13px; padding: 22px; color: var(--muted); text-align: center; }
.modal-backdrop { position: fixed; inset: 0; background: rgba(0, 37, 86, .36); display: grid; place-items: center; padding: 18px; z-index: 20; }
.modal { width: min(680px, 100%); max-height: 90vh; overflow-y: auto; background: #fff; border-radius: 17px; padding: 20px; box-shadow: 0 30px 80px rgba(0,0,0,.2); }
.modal h2 { margin-top: 0; }
.choice-cards { display: grid; gap: 9px; }
.choice { border: 1px solid var(--line); border-radius: 12px; padding: 12px; display: flex; gap: 10px; align-items: flex-start; }
.choice input { margin-top: 3px; }
.document-list { display: grid; gap: 8px; }
.document { display: flex; justify-content: space-between; gap: 10px; padding: 10px; border: 1px solid var(--line); border-radius: 10px; }
.small { font-size: 12px; color: var(--muted); }
.separator { height: 1px; background: var(--line); margin: 16px 0; }
.loading { display: inline-block; width: 17px; height: 17px; border: 2px solid rgba(255,255,255,.45); border-top-color: #fff; border-radius: 50%; animation: spin 1s linear infinite; vertical-align: -3px; margin-right: 7px; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 1060px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 820px) {
  .app-shell {
    display: block;
  }

  .sidebar {
    position: static;
    height: auto;
    padding: 14px;
    gap: 10px;
  }

  .logo-wrap {
    min-height: 135px;
  }

  .logo {
    width: 220px;
    height: auto;
    max-height: none;
    object-fit: contain;
    object-position: left center;
  }

  .nav {
    display: flex;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .nav button {
    min-width: max-content;
    width: auto;
  }

  .sidebar-bottom {
    display: none;
  }

  .main {
    padding: 18px 14px 35px;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .grid-2,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .field.full {
    grid-column: auto;
  }
}
@media print {
  body { background: #fff; }
  .sidebar, .topbar, .no-print { display: none !important; }
  .app-shell { display: block; }
  .main { padding: 0; }
  .report { max-width: none; border: 0; box-shadow: none; padding: 0; }
}

/* ============================================================
   NOUVEAU CAP V2 — extensions métier
   ============================================================ */
.sidebar { overflow-y: auto; }
.dashboard-grid { display:grid; grid-template-columns:minmax(0,1.25fr) minmax(320px,.75fr); gap:16px; }
.small { color: var(--muted); font-size: 12px; line-height:1.45; }
.subtitle { color: var(--muted); }
.stack { display:grid; gap:14px; }
.stack.compact { gap:8px; }
.separator { border-top:1px solid var(--line); margin:16px 0; }
.progress { width:100%; min-width:100px; height:7px; border-radius:99px; background:#edf4f9; overflow:hidden; margin-bottom:5px; }
.progress span { display:block; height:100%; background:var(--accent); border-radius:inherit; }
.metric-line { display:flex; align-items:center; gap:12px; margin:13px 0; }
.metric-line strong { min-width:34px; font-size:24px; color:var(--accent-dark); }
.timeline { display:grid; gap:8px; }
.timeline-item { display:grid; grid-template-columns:145px minmax(0,1fr) auto; gap:12px; align-items:center; padding:11px 0; border-bottom:1px solid var(--line); }
.timeline-item:last-child { border-bottom:0; }
.timeline-date { color:var(--muted); font-size:12px; font-weight:760; }
.message-list { display:grid; gap:0; }
.message { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:14px 0; border-bottom:1px solid var(--line); }
.message:last-child { border-bottom:0; }
.profile-summary { display:flex; justify-content:space-between; gap:18px; align-items:start; }
.step { width:100%; display:flex; align-items:center; gap:12px; border:0; border-bottom:1px solid var(--line); background:transparent; padding:13px 0; text-align:left; color:var(--ink); font-weight:720; }
.step:last-child { border-bottom:0; }
.step-icon { width:26px; height:26px; display:grid; place-items:center; border-radius:999px; background:#edf4f9; color:var(--muted); }
.step-icon.done { background:var(--accent-soft); color:var(--accent-dark); }
.check { display:flex; align-items:flex-start; gap:10px; padding:9px 0; line-height:1.45; }
.check input { margin-top:3px; }
.legal-doc { padding:12px 0; border-bottom:1px solid var(--line); }
.legal-doc:last-child { border-bottom:0; }
.legal-doc p { color:var(--muted); font-size:13px; }
.eyebrow { color:var(--accent); font-size:11px; font-weight:850; letter-spacing:.12em; }
.login-shell { min-height:100vh; display:grid; grid-template-columns:minmax(0,1.05fr) minmax(430px,.95fr); background:linear-gradient(135deg,#edf5fb,#f8fbff 52%,#eef8fd); }
.login-brand { padding:72px clamp(34px,6vw,92px); display:flex; flex-direction:column; justify-content:center; }
.login-brand img { width:min(350px,72%); height:auto; margin-bottom:42px; }
.login-brand h1 { margin:0; max-width:720px; font-size:clamp(42px,5.4vw,74px); line-height:.98; letter-spacing:-.07em; color:var(--accent-dark); }
.login-brand p { max-width:690px; margin:26px 0; font-size:18px; line-height:1.6; color:#4d6780; }
.login-feature-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; max-width:760px; margin-top:18px; }
.login-feature-grid div { padding:16px; border:1px solid rgba(0,88,149,.16); border-radius:14px; background:rgba(255,255,255,.68); }
.login-feature-grid strong,.login-feature-grid span { display:block; }
.login-feature-grid span { color:var(--muted); margin-top:5px; font-size:13px; line-height:1.4; }
.login-panel { display:grid; place-items:center; padding:32px; }
.login-card { width:min(500px,100%); background:#fff; border:1px solid var(--line); border-radius:24px; box-shadow:0 26px 74px rgba(0,37,86,.14); padding:30px; }
.login-card h2 { margin:8px 0 4px; font-size:30px; letter-spacing:-.04em; }
.modal-backdrop { position:fixed; inset:0; z-index:30; background:rgba(0,37,86,.34); display:grid; place-items:center; padding:20px; }
.modal { width:min(760px,100%); max-height:92vh; overflow:auto; background:#fff; border-radius:20px; border:1px solid var(--line); box-shadow:0 24px 80px rgba(0,37,86,.25); padding:22px; }
.document-list { display:grid; gap:8px; }
.document { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:11px 0; border-bottom:1px solid var(--line); }
.document:last-child { border-bottom:0; }
.report { max-width:1000px; margin:auto; background:#fff; border:1px solid var(--line); box-shadow:var(--shadow); border-radius:18px; padding:34px; }
.report-header { padding-bottom:16px; border-bottom:1px solid var(--line); margin-bottom:18px; }
.report-header h1 { margin:16px 0 4px; font-size:32px; letter-spacing:-.04em; }
.report section { border-top:1px solid var(--line); margin-top:20px; padding-top:16px; }

@media (max-width: 1120px) {
  .grid-4 { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .dashboard-grid { grid-template-columns:1fr; }
  .login-shell { grid-template-columns:1fr; }
  .login-brand { padding:42px 32px 20px; }
  .login-brand h1 { font-size:48px; }
  .login-panel { padding:20px 32px 42px; }
}
@media (max-width: 760px) {
  .app-shell { grid-template-columns:1fr; }
  .sidebar { position:relative; height:auto; overflow:visible; }
  .logo-wrap { min-height:84px; }
  .logo { width:190px; }
  .main { padding:18px; }
  .grid-4,.grid-3,.grid-2,.form-grid,.login-feature-grid { grid-template-columns:1fr; }
  .timeline-item { grid-template-columns:1fr; }
  .topbar { align-items:flex-start; flex-direction:column; }
  .login-brand h1 { font-size:42px; }
}

/* ============================================================
   V2.1 — FACTURATION
   ============================================================ */
.invoice-actions { display: flex; flex-wrap: wrap; gap: 6px; min-width: 250px; }
.btn-small { padding: 7px 9px; font-size: 12px; border-radius: 8px; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
.invoice-summary { display: flex; justify-content: space-between; gap: 18px; align-items: flex-start; padding: 4px 0 8px; }
.invoice-summary h3 { margin: 4px 0 0; font-size: 22px; }
.card.flat { box-shadow: none; }
.invoice-totals { margin: 16px 0 0 auto; width: min(100%, 330px); display: grid; gap: 8px; }
.invoice-totals div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.invoice-totals div:last-child { border-bottom: 0; font-size: 17px; }
@media (max-width: 760px) {
  .invoice-summary { display: grid; }
  .invoice-actions { min-width: 0; }
}

/* ============================================================
   V2.2.3 — clôture des rendez-vous
   ============================================================ */
.appointment-actions { display:flex; flex-wrap:wrap; justify-content:flex-end; align-items:center; gap:8px; }
.close-duration-field { transition:opacity .15s ease; }
.close-duration-field.is-disabled { opacity:.48; }
@media (max-width:760px) { .appointment-actions { justify-content:flex-start; } }

/* ============================================================
   V2.2.5 — VEILLE JURIDIQUE
   ============================================================ */
.legal-watch-tabs { margin: 8px 0 16px; }
.legal-news-feed { display: grid; gap: 12px; }
.legal-news-card { border: 1px solid var(--line); border-radius: 15px; padding: 16px 17px; background: #fbfdff; transition: .16s ease; }
.legal-news-card:hover { border-color: #b5d4e9; box-shadow: 0 10px 25px rgba(0, 37, 86, .08); transform: translateY(-1px); }
.legal-news-card h2 { margin: 8px 0 7px; font-size: 18px; line-height: 1.3; color: var(--accent-dark); }
.legal-news-card p { margin: 0 0 11px; color: #516d84; font-size: 14px; line-height: 1.55; }
.legal-news-meta { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; color: var(--muted); font-size: 11px; font-weight: 760; text-transform: uppercase; letter-spacing: .035em; }
.legal-news-meta span { padding: 4px 7px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-dark); }
.legal-news-link { display: inline-flex; align-items: center; gap: 4px; color: var(--accent); font-size: 13px; font-weight: 800; text-decoration: none; }
.legal-news-link:hover { text-decoration: underline; }

/* ============================================================
   V2.3.0 — MESSAGERIE INTERNE ET ARCHIVAGE
   ============================================================ */
.nav-label { display:flex; align-items:center; gap:7px; min-width:0; }
.nav-count { display:inline-grid; place-items:center; min-width:20px; height:20px; padding:0 6px; border-radius:999px; background:var(--accent); color:#fff; font-size:11px; font-weight:850; }
.messages-layout { display:grid; grid-template-columns:minmax(260px,.36fr) minmax(0,1fr); gap:16px; align-items:start; }
.conversations-card { padding:0; overflow:hidden; }
.conversations-card .section-title { padding:16px 16px 10px; margin:0; }
.conversation-list { display:grid; }
.conversation-preview { width:100%; border:0; border-top:1px solid var(--line); background:#fff; padding:14px 16px; text-align:left; color:var(--ink); transition:.15s ease; }
.conversation-preview:hover,.conversation-preview.active { background:var(--accent-soft); }
.conversation-preview-top { display:flex; justify-content:space-between; gap:10px; align-items:center; }
.conversation-preview p { margin:7px 0 6px; color:#526c84; font-size:13px; line-height:1.45; }
.unread-dot { display:inline-grid; place-items:center; min-width:22px; height:22px; padding:0 6px; border-radius:999px; background:var(--accent); color:#fff; font-size:11px; font-weight:850; }
.thread-card { min-height:620px; display:flex; flex-direction:column; }
.thread-header { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; padding-bottom:14px; border-bottom:1px solid var(--line); }
.thread-header h2 { margin:4px 0; }
.thread-header p { margin:0; color:var(--muted); }
.thread-messages { flex:1; display:flex; flex-direction:column; gap:11px; padding:18px 0; min-height:340px; max-height:560px; overflow-y:auto; }
.chat-bubble { width:min(78%,680px); padding:12px 14px; border-radius:16px; border:1px solid var(--line); background:#fff; box-shadow:0 7px 20px rgba(0,37,86,.05); }
.chat-bubble.own { align-self:flex-end; background:var(--accent-soft); border-color:#c9e1f2; }
.chat-bubble.received { align-self:flex-start; }
.chat-meta { display:flex; flex-wrap:wrap; gap:8px; justify-content:space-between; color:var(--muted); font-size:11px; }
.chat-bubble p { margin:8px 0 0; line-height:1.55; font-size:14px; }
.message-attachments { display:grid; gap:6px; margin-top:10px; }
.message-attachment { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:7px 9px; border-radius:9px; background:rgba(255,255,255,.7); border:1px solid var(--line); color:var(--accent-dark); font-size:12px; text-decoration:none; }
.message-attachment:hover { border-color:#9ac6e4; }
.message-composer { display:grid; gap:10px; padding-top:14px; border-top:1px solid var(--line); }
.message-composer textarea { width:100%; resize:vertical; min-height:95px; border:1px solid #cad9e7; border-radius:12px; padding:12px; color:var(--ink); outline:none; }
.message-composer textarea:focus { border-color:var(--accent); box-shadow:0 0 0 3px rgba(0,88,149,.12); }
.message-composer-footer { display:flex; flex-wrap:wrap; align-items:center; gap:10px; }
.message-composer-footer .small { flex:1; min-width:180px; }
.dossier-lifecycle-card { display:flex; align-items:center; justify-content:space-between; gap:18px; margin-bottom:16px; background:#fbfdff; }
.dossier-lifecycle-card h3 { margin:0 0 5px; }
.dossier-lifecycle-card p { margin:0; color:var(--muted); font-size:14px; }
@media (max-width:980px) { .messages-layout { grid-template-columns:1fr; } .thread-card { min-height:520px; } }
@media (max-width:760px) { .chat-bubble { width:92%; } .dossier-lifecycle-card { display:grid; } }

/* ============================================================
   V2.3.1 — Activation initiale et gestion des accès
   ============================================================ */
.account-access-card { display:flex; justify-content:space-between; gap:18px; align-items:center; margin-bottom:16px; }
.account-access-card h3 { margin:5px 0 4px; }
.account-access-card p { margin:0 0 5px; }
.account-access-actions { display:flex; flex-direction:column; align-items:flex-end; gap:10px; min-width:250px; }
.account-table-cell { display:grid; gap:7px; min-width:250px; }
.link-button { border:0; background:transparent; color:var(--accent); font-weight:760; padding:11px 0 0; text-align:left; cursor:pointer; }
.link-button:hover { text-decoration:underline; }
.activation-card { max-width:520px; }
.activation-card .notice { margin:14px 0; }
@media (max-width: 760px) {
  .account-access-card { align-items:flex-start; flex-direction:column; }
  .account-access-actions { align-items:flex-start; min-width:0; width:100%; }
  .account-table-cell { min-width:210px; }
}

.quote-detail-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.quote-lines-title {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.quote-line-row {
  display: grid;
  grid-template-columns: minmax(220px, 1.8fr) minmax(90px, .6fr) minmax(110px, .7fr) minmax(90px, .5fr) auto;
  gap: 10px;
  align-items: end;
  padding: 12px;
  border: 1px solid rgba(0, 88, 149, .14);
  border-radius: 16px;
  background: rgba(0, 88, 149, .035);
  margin-bottom: 10px;
}

.quote-line-remove {
  padding-bottom: 2px;
}

@media (max-width: 900px) {
  .quote-line-row {
    grid-template-columns: 1fr;
  }
}

.invoice-lines-title {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-top: 4px;
}

.invoice-line-row {
  display: grid;
  grid-template-columns: minmax(240px, 1.7fr) minmax(110px, .6fr) minmax(110px, .6fr) minmax(90px, .5fr) auto;
  gap: 10px;
  align-items: end;
  padding: 12px;
  border: 1px solid rgba(0, 88, 149, .14);
  border-radius: 16px;
  background: rgba(0, 88, 149, .035);
  margin-bottom: 10px;
}

.invoice-line-remove {
  padding-bottom: 2px;
}

@media (max-width: 900px) {
  .invoice-line-row {
    grid-template-columns: 1fr;
  }
}

.parcours-board {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}

.parcours-phase {
  overflow: hidden;
}

.parcours-steps {
  display: grid;
  gap: 12px;
}

.parcours-step {
  border: 1px solid rgba(0, 88, 149, .14);
  border-radius: 18px;
  padding: 14px;
  background: rgba(255,255,255,.78);
}

.parcours-step.is-locked {
  opacity: .72;
  background: rgba(0, 88, 149, .035);
}

.parcours-step-main {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.parcours-step h3 {
  margin: 2px 0 6px;
}

.parcours-step p {
  margin: 0 0 10px;
}

.parcours-step-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.questionnaire-unlock-list {
  display: grid;
  gap: 8px;
}

@media (max-width: 900px) {
  .parcours-step-main {
    flex-direction: column;
  }
}

.question-binary .binary-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.binary-choice {
  border: 1px solid rgba(0, 88, 149, .18);
  background: rgba(255,255,255,.88);
  border-radius: 14px;
  padding: 12px;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

.binary-choice strong {
  display: block;
  color: var(--primary, #005895);
  margin-bottom: 4px;
}

.binary-choice span {
  display: block;
  font-size: .92rem;
  line-height: 1.35;
}

.binary-choice.selected {
  border-color: var(--primary, #005895);
  box-shadow: 0 0 0 3px rgba(0, 88, 149, .12);
  background: rgba(0, 88, 149, .06);
}

@media (max-width: 700px) {
  .question-binary .binary-choice-grid {
    grid-template-columns: 1fr;
  }
}

.mbti-ab-question .question-title {
  margin-bottom: 10px;
}

.mbti-ab-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.mbti-ab-choice {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 13px;
  padding: 12px;
  text-align: left;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--ink);
}

.mbti-ab-choice strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.mbti-ab-choice.selected {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 88, 149, .12);
  background: #f8fbff;
}

.mbti-ab-choice.selected strong {
  background: var(--accent);
  color: #fff;
}

@media (max-width: 760px) {
  .mbti-ab-grid {
    grid-template-columns: 1fr;
  }
}

.mbti-ab-question .question-title {
  font-weight: 800;
  margin-bottom: 10px;
}

.mbti-ab-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.mbti-ab-choice {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 13px;
  padding: 13px;
  text-align: left;
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 11px;
  align-items: start;
  color: var(--ink);
}

.mbti-ab-choice strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 31px;
  height: 31px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.mbti-ab-choice span {
  line-height: 1.45;
}

.mbti-ab-choice.selected {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 88, 149, .14);
  background: #f8fbff;
}

.mbti-ab-choice.selected strong {
  background: var(--accent);
  color: #fff;
}

@media (max-width: 760px) {
  .mbti-ab-grid {
    grid-template-columns: 1fr;
  }
}

.qa-report-card {
  margin-top: 18px;
}

.qa-report-header {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 16px;
  align-items: center;
  margin-bottom: 16px;
}

.qa-report-header img {
  max-width: 82px;
  max-height: 82px;
  object-fit: contain;
}

.qa-report-sheet {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
}

.qa-report-letterhead {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 18px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
  margin-bottom: 18px;
}

.qa-report-letterhead img {
  max-width: 95px;
  max-height: 95px;
  object-fit: contain;
}

.qa-report-content h2 {
  margin-top: 0;
  color: var(--accent-dark);
}

.qa-report-content h3 {
  margin-top: 20px;
  color: var(--accent);
}

.qa-report-content p,
.qa-report-content li {
  line-height: 1.6;
}

.qa-report-content ul {
  padding-left: 22px;
}

@media print {
  .sidebar,
  .topbar,
  .tabs,
  .no-print,
  .qa-report-card > h2,
  .qa-report-card > p {
    display: none !important;
  }

  .main {
    padding: 0 !important;
  }

  .qa-report-card,
  .qa-report-sheet {
    border: none !important;
    box-shadow: none !important;
  }
}

@media (max-width: 760px) {
  .qa-report-header,
  .qa-report-letterhead {
    grid-template-columns: 1fr;
  }
}

.v29-kpis { margin-bottom: 22px; }
.v29-phase { margin-bottom: 18px; }
.v29-step-list { display: grid; gap: 14px; margin-top: 18px; }

.v29-step-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  background: #fff;
}

.v29-step-card.manual { border-style: dashed; background: #fbfdff; }
.v29-step-number { font-weight: 850; color: var(--accent); font-size: 13px; margin-bottom: 6px; }
.v29-step-card h3 { margin: 0 0 8px; }
.v29-step-card p { margin: 0 0 10px; }

.v29-badges { display: flex; flex-wrap: wrap; gap: 7px; margin: 10px 0 12px; }

.v29-badges span,
.v29-status {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 800;
  background: #eaf4ff;
  color: #0b5794;
}

.v29-status.green { background: #e8f7ee; color: #166534; }
.v29-status.blue { background: #eaf4ff; color: #0b5794; }
.v29-status.orange { background: #fff7e6; color: #92400e; }
.v29-status.red { background: #fff0f0; color: #b42318; }
.v29-status.grey { background: #eef2f6; color: #475569; }

.v29-tests-title { font-size: 13px; font-weight: 850; margin: 12px 0 8px; }
.v29-tests { display: grid; gap: 7px; }

.v29-test-row,
.v29-sheet-test {
  display: grid;
  grid-template-columns: 14px minmax(160px, 1fr) auto auto;
  gap: 8px;
  align-items: center;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fbfdff;
}

.v29-empty-tests {
  color: var(--muted);
  font-size: 13px;
  padding: 9px 10px;
  border: 1px dashed var(--line);
  border-radius: 12px;
}

.v29-dot { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.v29-dot.green { background: #22c55e; }
.v29-dot.yellow { background: #facc15; }
.v29-dot.red { background: #ef4444; }
.v29-dot.grey { background: #cbd5e1; }

.v29-step-actions { display: flex; flex-direction: column; gap: 8px; min-width: 210px; }

.v29-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(8, 30, 52, .46);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 32px;
  overflow: auto;
}

.v29-modal {
  width: min(1100px, 100%);
  background: var(--background);
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 24px 80px rgba(0,0,0,.22);
}

.v29-modal.small { width: min(620px, 100%); }

.v29-modal-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.v29-modal-head h2 { margin: 0; }
.v29-modal-head p { margin: 4px 0 0; color: var(--muted); }

.v29-sheet-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 14px;
  margin-bottom: 14px;
}

.v29-textarea {
  width: 100%;
  min-height: 150px;
  border: 1px solid #cad8da;
  border-radius: 12px;
  padding: 12px;
  resize: vertical;
}

@media (max-width: 900px) {
  .v29-step-card,
  .v29-sheet-grid { grid-template-columns: 1fr; }
  .v29-step-actions { min-width: 0; }
  .v29-test-row,
  .v29-sheet-test { grid-template-columns: 14px 1fr; }
}

.v30-floating-preview {
  margin-bottom: 14px;
}

.v30-preview-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(8, 30, 52, .52);
  overflow: auto;
  padding: 24px;
}

.v30-preview {
  width: min(1180px, 100%);
  min-height: calc(100vh - 48px);
  margin: 0 auto;
  background: #f4f7f7;
  border-radius: 24px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, .25);
  overflow: hidden;
}

.v30-preview-head {
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.v30-preview-title {
  display: flex;
  align-items: center;
  gap: 18px;
}

.v30-preview-title img {
  width: 82px;
  height: 82px;
  object-fit: contain;
}

.v30-preview-title h2 {
  margin: 3px 0;
  letter-spacing: -0.03em;
}

.v30-preview-title p {
  margin: 0;
  color: var(--muted);
}

.v30-eyebrow {
  margin: 0;
  color: var(--accent);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.v30-head-actions {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}

.v30-preview-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 16px 24px;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.v30-preview-nav button {
  border: 1px solid var(--line);
  background: #fff;
  color: #51666b;
  border-radius: 999px;
  padding: 9px 13px;
  font-weight: 800;
}

.v30-preview-nav button.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.v30-preview-body {
  padding: 24px;
  display: grid;
  gap: 18px;
}

.v30-hero {
  background: linear-gradient(135deg, #ffffff 0%, #e8f4f2 100%);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 26px;
  display: grid;
  grid-template-columns: 1fr 120px;
  gap: 18px;
  align-items: center;
  box-shadow: var(--shadow);
}

.v30-hero h2 {
  font-size: 32px;
  margin: 0 0 8px;
}

.v30-hero p {
  margin: 0;
  line-height: 1.6;
  color: #40555a;
}

.v30-hero img {
  max-width: 120px;
  max-height: 120px;
  object-fit: contain;
}

.v30-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.v30-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 18px;
}

.v30-card h3 {
  margin: 0 0 12px;
}

.v30-card.danger {
  border-color: #ffd2d2;
}

.v30-kpi {
  display: block;
  font-size: 34px;
  font-weight: 900;
  color: var(--accent);
  margin-bottom: 6px;
}

.v30-card p,
.v30-muted {
  color: var(--muted);
  line-height: 1.55;
}

.v30-list {
  display: grid;
  gap: 10px;
}

.v30-row {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 10px;
  align-items: center;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fbfdff;
}

.v30-row strong,
.v30-row h4 {
  margin: 0;
}

.v30-row p {
  margin: 3px 0 0;
  font-size: 13px;
}

.v30-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  display: inline-block;
}

.v30-dot.green { background: #22c55e; }
.v30-dot.yellow { background: #facc15; }
.v30-dot.red { background: #ef4444; }
.v30-dot.grey { background: #cbd5e1; }

.v30-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 850;
  background: #edf1f2;
  color: #58676b;
}

.v30-badge.green { background: #e8f7ee; color: #166534; }
.v30-badge.blue { background: #eaf4ff; color: #0b5794; }
.v30-badge.orange { background: #fff7e6; color: #92400e; }
.v30-badge.red { background: #fff0f0; color: #b42318; }
.v30-badge.grey { background: #eef2f6; color: #475569; }

.v30-timeline {
  display: grid;
  gap: 14px;
}

.v30-step {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 13px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fbfdff;
}

.v30-step-num {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #fff;
  font-weight: 900;
}

.v30-step h4,
.v30-test-card h4,
.v30-rdv-card h4 {
  margin: 0 0 6px;
}

.v30-step p,
.v30-test-card p,
.v30-rdv-card p {
  margin: 0 0 10px;
}

.v30-actions-line {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
}

.v30-test-card,
.v30-rdv-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  background: #fbfdff;
}

.v30-analysis {
  margin-top: 12px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.v30-analysis h5 {
  margin: 0 0 8px;
  color: var(--accent);
}

.v30-doc-icon {
  color: var(--accent);
  font-weight: 900;
}

.v30-profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.v30-profile-grid div {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px;
  background: #fbfdff;
}

.v30-profile-grid span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 4px;
}

@media (max-width: 860px) {
  .v30-preview-backdrop {
    padding: 0;
  }

  .v30-preview {
    min-height: 100vh;
    border-radius: 0;
  }

  .v30-preview-head,
  .v30-preview-title,
  .v30-hero {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .v30-grid-3,
  .v30-profile-grid {
    grid-template-columns: 1fr;
  }
}

.v33-date-zone {
  display: inline-flex;
}

.v33-date-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 850;
  background: #eaf4ff;
  color: #0b5794;
}

.v33-date-chip.muted {
  background: #eef2f6;
  color: #475569;
}

.v33-agenda-panel {
  margin: 14px 0;
}

.v33-agenda-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.v33-current-date {
  margin: 12px 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fbfdff;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 900px) {
  .v33-agenda-grid {
    grid-template-columns: 1fr;
  }
}

.v34-kpis { margin-bottom: 22px; }
.v34-phase { margin-bottom: 18px; }
.v34-step-list { display: grid; gap: 14px; margin-top: 18px; }

.v34-step-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  background: #fff;
}

.v34-step-card.manual {
  border-style: dashed;
  background: #fbfdff;
}

.v34-step-number {
  font-weight: 850;
  color: var(--accent);
  font-size: 13px;
  margin-bottom: 6px;
}

.v34-step-card h3 {
  margin: 0 0 8px;
}

.v34-step-card p {
  margin: 0 0 10px;
}

.v34-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 10px 0 12px;
}

.v34-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 850;
  background: #edf1f2;
  color: #58676b;
  width: fit-content;
}

.v34-badge.green { background: #e8f7ee; color: #166534; }
.v34-badge.blue { background: #eaf4ff; color: #0b5794; }
.v34-badge.orange { background: #fff7e6; color: #92400e; }
.v34-badge.red { background: #fff0f0; color: #b42318; }
.v34-badge.grey { background: #eef2f6; color: #475569; }

.v34-tests-title {
  font-size: 13px;
  font-weight: 850;
  margin: 12px 0 8px;
}

.v34-tests {
  display: grid;
  gap: 7px;
}

.v34-test-row,
.v34-sheet-test {
  display: grid;
  grid-template-columns: 14px minmax(160px, 1fr) auto auto;
  gap: 8px;
  align-items: center;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fbfdff;
}

.v34-empty {
  color: var(--muted);
  font-size: 13px;
  padding: 9px 10px;
  border: 1px dashed var(--line);
  border-radius: 12px;
}

.v34-dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  display: inline-block;
}

.v34-dot.green { background: #22c55e; }
.v34-dot.yellow { background: #facc15; }
.v34-dot.red { background: #ef4444; }
.v34-dot.grey { background: #cbd5e1; }

.v34-step-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 210px;
}

.v34-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10050;
  background: rgba(8, 30, 52, .48);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 32px;
  overflow: auto;
}

.v34-modal {
  width: min(1100px, 100%);
  background: var(--background);
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 24px 80px rgba(0,0,0,.22);
}

.v34-modal.small {
  width: min(620px, 100%);
}

.v34-modal-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.v34-modal-head h2 {
  margin: 0;
}

.v34-modal-head p {
  margin: 4px 0 0;
  color: var(--muted);
}

.v34-sheet-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 14px;
  margin-bottom: 14px;
}

.v34-agenda-panel {
  margin-bottom: 14px;
}

.v34-agenda-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.v34-textarea {
  width: 100%;
  min-height: 150px;
  border: 1px solid #cad8da;
  border-radius: 12px;
  padding: 12px;
  resize: vertical;
}

@media (max-width: 900px) {
  .v34-step-card,
  .v34-sheet-grid,
  .v34-agenda-grid {
    grid-template-columns: 1fr;
  }

  .v34-step-actions {
    min-width: 0;
  }

  .v34-test-row,
  .v34-sheet-test {
    grid-template-columns: 14px 1fr;
  }
}

.v36-confirm-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 850;
  width: fit-content;
}

.v36-confirm-chip.accepted {
  background: #e8f7ee;
  color: #166534;
}

.v36-confirm-chip.pending {
  background: #fff7e6;
  color: #92400e;
}

.v36-confirm-chip.muted {
  background: #eef2f6;
  color: #475569;
}

.v36-confirm-panel {
  margin: 14px 0;
}

.v36-confirm-panel textarea {
  width: 100%;
  min-height: 80px;
  border: 1px solid #cad8da;
  border-radius: 12px;
  padding: 12px;
  resize: vertical;
}

.v36-confirm-status {
  margin: 10px 0;
}

.v36-message-confirmations {
  margin-bottom: 16px;
}

.v36-confirm-list {
  display: grid;
  gap: 10px;
}

.v36-confirm-request {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px;
  background: #fbfdff;
}

.v36-confirm-request p {
  margin: 4px 0;
  color: var(--muted);
}

.v36-confirm-request pre {
  white-space: pre-wrap;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px;
  margin: 8px 0 0;
  font-family: inherit;
  color: var(--ink);
}

@media (max-width: 800px) {
  .v36-confirm-request {
    grid-template-columns: 1fr;
  }
}

.v38-messagerie-card {
  display: grid;
  gap: 14px;
}

.v38-message-preview {
  display: grid;
  gap: 10px;
  margin-top: 4px;
}

.v38-message-line {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 13px 14px;
  max-width: 82%;
}

.v38-message-line p {
  margin: 5px 0 0;
}

.v38-message-line.advisor {
  background: #ffffff;
  justify-self: start;
}

.v38-message-line.beneficiary {
  background: var(--accent-soft);
  justify-self: end;
}

.v38-message-compose {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}

.v38-message-compose label {
  font-size: 13px;
  font-weight: 850;
  color: #40555a;
}

.v38-message-compose textarea {
  width: 100%;
  min-height: 110px;
  border: 1px solid #cad8da;
  border-radius: 12px;
  padding: 12px;
  resize: vertical;
}

.v38-message-compose button {
  width: fit-content;
}

@media (max-width: 800px) {
  .v38-message-line {
    max-width: 100%;
  }
}

.v39-message-card {
  display: grid;
  gap: 14px;
}

.v39-message-thread {
  display: grid;
  gap: 12px;
}

.v39-rdv-request {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  background: #fbfdff;
}

.v39-rdv-request.accepted {
  background: #f8fbfb;
}

.v39-rdv-request p {
  margin: 4px 0;
  color: var(--muted);
}

.v39-rdv-request pre {
  white-space: pre-wrap;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px;
  margin: 8px 0;
  font-family: inherit;
  color: var(--ink);
}

.v39-status {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 850;
}

.v39-status.accepted {
  background: #e8f7ee;
  color: #166534;
}

.v39-status.pending {
  background: #fff7e6;
  color: #92400e;
}

.v39-status.muted {
  background: #eef2f6;
  color: #475569;
}

.v39-small {
  font-size: 12px;
}

.v39-empty {
  border: 1px dashed var(--line);
  border-radius: 14px;
  padding: 14px;
  color: var(--muted);
  background: #fbfdff;
}

.v39-compose {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}

.v39-compose label {
  font-size: 13px;
  font-weight: 850;
  color: #40555a;
}

.v39-compose textarea {
  width: 100%;
  min-height: 100px;
  border: 1px solid #cad8da;
  border-radius: 12px;
  padding: 12px;
  resize: vertical;
}

.v39-compose button {
  width: fit-content;
}

@media (max-width: 800px) {
  .v39-rdv-request {
    grid-template-columns: 1fr;
  }
}

.v36-confirm-chip.accepted,
.v39-status.accepted,
.accepted {
  background: #e8f7ee !important;
  color: #166534 !important;
}


.v41-message-card {
  display: grid;
  gap: 14px;
}

.v41-message-thread {
  display: grid;
  gap: 12px;
}

.v41-rdv-request {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  background: #fbfdff;
}

.v41-rdv-request.accepted {
  background: #f8fbfb;
}

.v41-rdv-request p {
  margin: 4px 0;
  color: var(--muted);
}

.v41-rdv-request pre {
  white-space: pre-wrap;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px;
  margin: 8px 0;
  font-family: inherit;
  color: var(--ink);
}

.v41-status {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 850;
}

.v41-status.accepted {
  background: #e8f7ee;
  color: #166534;
}

.v41-status.pending {
  background: #fff7e6;
  color: #92400e;
}

.v41-status.muted {
  background: #eef2f6;
  color: #475569;
}

.v41-small {
  font-size: 12px;
}

.v41-empty {
  border: 1px dashed var(--line);
  border-radius: 14px;
  padding: 14px;
  color: var(--muted);
  background: #fbfdff;
}

.v41-message {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 13px 14px;
  max-width: 82%;
}

.v41-message.advisor {
  justify-self: start;
  background: #fff;
}

.v41-message.beneficiary {
  justify-self: end;
  background: var(--accent-soft);
}

.v41-message.system {
  justify-self: center;
  background: #fff7e6;
}

.v41-message p {
  margin: 7px 0 0;
  color: var(--ink);
}

.v41-message-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
}

.v41-message-meta strong {
  color: var(--ink);
  font-size: 13px;
}

.v41-attachments {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 9px;
}

.v41-attachment {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 6px 9px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
}

.v41-attachment small {
  color: var(--muted);
}

.v41-compose {
  display: grid;
  gap: 9px;
  margin-top: 8px;
}

.v41-compose label {
  font-size: 13px;
  font-weight: 850;
  color: #40555a;
}

.v41-compose textarea {
  width: 100%;
  min-height: 120px;
  border: 1px solid #cad8da;
  border-radius: 12px;
  padding: 12px;
  resize: vertical;
}

.v41-compose button {
  width: fit-content;
}

.v41-file-line {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.v41-file-line input[type="file"] {
  display: none;
}

.v41-file-line span {
  color: var(--muted);
  font-size: 12px;
}

.v41-selected-files {
  display: grid;
  gap: 6px;
}

.v41-selected-files.empty {
  color: var(--muted);
  font-size: 12px;
}

.v41-selected-files div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px 10px;
  background: #fbfdff;
}

.v41-selected-files button {
  border: 0;
  background: transparent;
  color: var(--danger);
  font-weight: 850;
}

@media (max-width: 800px) {
  .v41-rdv-request {
    grid-template-columns: 1fr;
  }

  .v41-message {
    max-width: 100%;
  }
}

.v43-message-card {
  display: grid;
  gap: 14px;
}

.v43-message-thread {
  display: grid;
  gap: 12px;
}

.v43-rdv-request {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  background: #fbfdff;
}

.v43-rdv-request.accepted {
  background: #f8fbfb;
}

.v43-rdv-request p {
  margin: 4px 0;
  color: var(--muted);
}

.v43-rdv-request pre {
  white-space: pre-wrap;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px;
  margin: 8px 0;
  font-family: inherit;
  color: var(--ink);
}

.v43-status {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 850;
}

.v43-status.accepted {
  background: #e8f7ee;
  color: #166534;
}

.v43-status.pending {
  background: #fff7e6;
  color: #92400e;
}

.v43-status.muted {
  background: #eef2f6;
  color: #475569;
}

.v43-small {
  font-size: 12px;
}

.v43-empty {
  border: 1px dashed var(--line);
  border-radius: 14px;
  padding: 14px;
  color: var(--muted);
  background: #fbfdff;
}

.v43-message {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 13px 14px;
  max-width: 82%;
}

.v43-message.advisor {
  justify-self: start;
  background: #fff;
}

.v43-message.beneficiary {
  justify-self: end;
  background: var(--accent-soft);
}

.v43-message.system {
  justify-self: center;
  background: #fff7e6;
}

.v43-message p {
  margin: 7px 0 0;
  color: var(--ink);
}

.v43-message-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
}

.v43-message-meta strong {
  color: var(--ink);
  font-size: 13px;
}

.v43-attachments {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 9px;
}

.v43-attachment {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 6px 9px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
}

.v43-attachment small {
  color: var(--muted);
}

.v43-compose {
  display: grid;
  gap: 9px;
  margin-top: 8px;
}

.v43-compose label {
  font-size: 13px;
  font-weight: 850;
  color: #40555a;
}

.v43-compose textarea {
  width: 100%;
  min-height: 120px;
  border: 1px solid #cad8da;
  border-radius: 12px;
  padding: 12px;
  resize: vertical;
}

.v43-compose button {
  width: fit-content;
}

.v43-file-line {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.v43-file-line input[type="file"] {
  display: none;
}

.v43-file-line span {
  color: var(--muted);
  font-size: 12px;
}

.v43-selected-files {
  display: grid;
  gap: 6px;
}

.v43-selected-files.empty {
  color: var(--muted);
  font-size: 12px;
}

.v43-selected-files div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px 10px;
  background: #fbfdff;
}

.v43-selected-files button {
  border: 0;
  background: transparent;
  color: var(--danger);
  font-weight: 850;
}

@media (max-width: 800px) {
  .v43-rdv-request {
    grid-template-columns: 1fr;
  }

  .v43-message {
    max-width: 100%;
  }
}

.v44-card {
  display: grid;
  gap: 14px;
}

.v44-thread {
  display: grid;
  gap: 12px;
}

.v44-rdv-request {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  background: #fbfdff;
}

.v44-rdv-request.accepted {
  background: #f8fbfb;
}

.v44-rdv-request p {
  margin: 4px 0;
  color: var(--muted);
}

.v44-rdv-request pre {
  white-space: pre-wrap;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px;
  margin: 8px 0;
  font-family: inherit;
  color: var(--ink);
}

.v44-status {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 850;
}

.v44-status.accepted {
  background: #e8f7ee;
  color: #166534;
}

.v44-status.pending {
  background: #fff7e6;
  color: #92400e;
}

.v44-status.muted {
  background: #eef2f6;
  color: #475569;
}

.v44-small {
  font-size: 12px;
}

.v44-empty {
  border: 1px dashed var(--line);
  border-radius: 14px;
  padding: 14px;
  color: var(--muted);
  background: #fbfdff;
}

.v44-message {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 13px 14px;
  max-width: 82%;
}

.v44-message.advisor {
  justify-self: start;
  background: #fff;
}

.v44-message.beneficiary {
  justify-self: end;
  background: var(--accent-soft);
}

.v44-message.system {
  justify-self: center;
  background: #fff7e6;
}

.v44-message p {
  margin: 7px 0 0;
  color: var(--ink);
}

.v44-message-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
}

.v44-message-meta strong {
  color: var(--ink);
  font-size: 13px;
}

.v44-attachments {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 9px;
}

.v44-attachment {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 6px 9px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
}

.v44-attachment small {
  color: var(--muted);
}

.v44-compose {
  display: grid;
  gap: 9px;
  margin-top: 8px;
}

.v44-compose label {
  font-size: 13px;
  font-weight: 850;
  color: #40555a;
}

.v44-compose textarea {
  width: 100%;
  min-height: 120px;
  border: 1px solid #cad8da;
  border-radius: 12px;
  padding: 12px;
  resize: vertical;
}

.v44-compose button {
  width: fit-content;
}

.v44-file-line {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.v44-file-line input[type="file"] {
  display: none;
}

.v44-file-line span {
  color: var(--muted);
  font-size: 12px;
}

.v44-selected-files {
  display: grid;
  gap: 6px;
}

.v44-selected-files.empty {
  color: var(--muted);
  font-size: 12px;
}

.v44-selected-files div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px 10px;
  background: #fbfdff;
}

.v44-selected-files button {
  border: 0;
  background: transparent;
  color: var(--danger);
  font-weight: 850;
}

.v44-advisor-panel {
  margin-top: 16px;
}

@media (max-width: 800px) {
  .v44-rdv-request {
    grid-template-columns: 1fr;
  }

  .v44-message {
    max-width: 100%;
  }
}

/* V4.5 : on garde la messagerie native du haut côté conseiller, on masque le panneau ajouté en bas par V4.4. */
.v44-advisor-panel,
[data-v44-advisor-panel] {
  display: none !important;
}

.v45-card {
  display: grid;
  gap: 14px;
}

.v45-thread {
  display: grid;
  gap: 12px;
}

.v45-rdv-request {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  background: #fbfdff;
}

.v45-rdv-request.accepted {
  background: #f8fbfb;
}

.v45-rdv-request p {
  margin: 4px 0;
  color: var(--muted);
}

.v45-rdv-request pre {
  white-space: pre-wrap;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px;
  margin: 8px 0;
  font-family: inherit;
  color: var(--ink);
}

.v45-status {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 850;
}

.v45-status.accepted {
  background: #e8f7ee;
  color: #166534;
}

.v45-status.pending {
  background: #fff7e6;
  color: #92400e;
}

.v45-status.muted {
  background: #eef2f6;
  color: #475569;
}

.v45-small {
  font-size: 12px;
}

.v45-empty {
  border: 1px dashed var(--line);
  border-radius: 14px;
  padding: 14px;
  color: var(--muted);
  background: #fbfdff;
}

.v45-message {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 13px 14px;
  max-width: 82%;
}

.v45-message.advisor {
  justify-self: start;
  background: #fff;
}

.v45-message.beneficiary {
  justify-self: end;
  background: var(--accent-soft);
}

.v45-message.system {
  justify-self: center;
  background: #fff7e6;
}

.v45-message p {
  margin: 7px 0 0;
  color: var(--ink);
}

.v45-message-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
}

.v45-message-meta strong {
  color: var(--ink);
  font-size: 13px;
}

.v45-attachments {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 9px;
}

.v45-attachment {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 6px 9px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
}

.v45-attachment small {
  color: var(--muted);
}

.v45-compose {
  display: grid;
  gap: 9px;
  margin-top: 8px;
}

.v45-compose label {
  font-size: 13px;
  font-weight: 850;
  color: #40555a;
}

.v45-compose textarea {
  width: 100%;
  min-height: 120px;
  border: 1px solid #cad8da;
  border-radius: 12px;
  padding: 12px;
  resize: vertical;
}

.v45-compose button {
  width: fit-content;
}

.v45-file-line {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.v45-file-line input[type="file"] {
  display: none;
}

.v45-file-line span {
  color: var(--muted);
  font-size: 12px;
}

.v45-selected-files {
  display: grid;
  gap: 6px;
}

.v45-selected-files.empty {
  color: var(--muted);
  font-size: 12px;
}

.v45-selected-files div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px 10px;
  background: #fbfdff;
}

.v45-selected-files button {
  border: 0;
  background: transparent;
  color: var(--danger);
  font-weight: 850;
}

@media (max-width: 800px) {
  .v45-rdv-request {
    grid-template-columns: 1fr;
  }

  .v45-message {
    max-width: 100%;
  }
}

/* ===== Source : /modules/pilotage.css ===== */
.pilotage-lock{display:inline-flex;align-items:center;gap:8px;border:1px solid #a7e2c2;background:#ebfff4;color:#087445;border-radius:999px;padding:8px 13px;font-weight:800;margin-left:12px;font-size:13px}.pilotage-tabs{display:flex;gap:12px;margin:8px 0 18px;border-bottom:1px solid #d8e5f2}.pilotage-tabs button{background:transparent;border:0;padding:12px 4px 13px;color:#345979;font-weight:800;cursor:pointer}.pilotage-tabs button.active{color:#005895;border-bottom:3px solid #006fc9}.pilotage-grid-4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.pilotage-grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.pilotage-grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.pilotage-card{background:#fff;border:1px solid #dce8f4;border-radius:18px;box-shadow:0 8px 22px rgba(12,44,73,.08);padding:18px}.pilotage-kpi{display:flex;align-items:center;gap:16px;min-height:105px}.pilotage-kpi .icon{width:52px;height:52px;border-radius:18px;display:grid;place-items:center;background:#eef7ff;color:#006fc9;font-size:26px}.pilotage-kpi .icon.green{background:#eafff3;color:#039756}.pilotage-kpi .icon.orange{background:#fff4e8;color:#f97316}.pilotage-kpi .icon.purple{background:#f2edff;color:#7c3aed}.pilotage-kpi h3{margin:0;color:#35536e;font-size:14px}.pilotage-kpi .big{font-size:30px;font-weight:900;color:#005895;margin-top:2px}.pilotage-kpi .hint{font-size:12px;color:#198754;margin-top:3px}.pilotage-section{margin-top:16px}.pilotage-chart{height:220px;display:flex;align-items:flex-end;gap:26px;padding:18px 16px 30px;border-left:1px solid #dbe8f4;border-bottom:1px solid #dbe8f4}.pilotage-bar-wrap{flex:1;text-align:center;position:relative;height:180px;display:flex;align-items:flex-end;justify-content:center}.pilotage-bar{width:52px;border-radius:10px 10px 3px 3px;background:linear-gradient(180deg,#2fbf71,#0078d4);min-height:4px}.pilotage-bar-value{position:absolute;bottom:calc(var(--h) + 8px);font-weight:900;color:#18324a}.pilotage-bar-label{position:absolute;bottom:-24px;color:#345979;font-size:13px}.pilotage-alert-list{display:grid;gap:9px}.pilotage-alert{display:flex;align-items:center;justify-content:space-between;border:1px solid #e3edf7;border-radius:12px;padding:12px;background:#fff}.pilotage-alert strong{color:#d33}.pilotage-quote{border:1px solid #e3edf7;border-radius:14px;padding:15px;background:#fbfdff;margin-top:10px}.pilotage-quote .mark{font-size:28px;font-weight:900;color:#13a765;line-height:1}.pilotage-quote.orange .mark{color:#f97316}.pilotage-table{width:100%;border-collapse:separate;border-spacing:0}.pilotage-table th,.pilotage-table td{padding:11px 10px;border-bottom:1px solid #e5edf5;text-align:left;font-size:13px}.pilotage-table th{background:#f6faff;color:#35536e;font-weight:900}.pilotage-pill{display:inline-flex;align-items:center;border-radius:999px;background:#eafff3;color:#067344;padding:4px 9px;font-weight:900}.pilotage-pill.orange{background:#fff4e8;color:#c05621}.pilotage-mini{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0}.pilotage-mini>div{border-right:1px solid #e3edf7;padding:8px 14px}.pilotage-mini>div:last-child{border-right:0}.pilotage-mini span{display:block;color:#52708a;font-size:12px}.pilotage-mini strong{font-size:25px;color:#005895}.rapport-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.rapport-actions input{border:1px solid #cfe0ee;border-radius:10px;padding:10px 12px}.pilotage-status{font-size:12px;color:#52708a;margin-top:8px}@media(max-width:1100px){.pilotage-grid-4,.pilotage-grid-3,.pilotage-grid-2{grid-template-columns:1fr}.pilotage-mini{grid-template-columns:1fr 1fr}.pilotage-chart{gap:12px}.pilotage-bar{width:36px}}

/* ===== Source : /modules/satisfaction-quality.css ===== */
:root{--sq-blue:#075fa8;--sq-green:#1aa97a;--sq-purple:#7a63d7;--sq-yellow:#fff8df;--sq-ink:#17324d;--sq-muted:#60758b;--sq-border:#dce8f4;--sq-bg:#f5f8fb;--sq-red:#c73e5d;--sq-orange:#ed8a32}
.sq-lock{display:inline-flex;align-items:center;border:1px solid #b6e6d0;background:#edfff6;color:#08734c;border-radius:999px;padding:7px 12px;font-size:12px;font-weight:900;margin-left:10px}.sq-grid{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(320px,.9fr);gap:16px}.sq-stack{display:grid;gap:16px}.sq-card{background:#fff;border:1px solid var(--sq-border);border-radius:18px;box-shadow:0 8px 24px rgba(12,44,73,.075);padding:18px}.sq-card h2,.sq-card h3{margin:0;color:var(--sq-ink)}.sq-card-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;margin-bottom:14px}.sq-card-head p{margin:5px 0 0;color:var(--sq-muted)}.sq-tabs{display:flex;gap:9px;flex-wrap:wrap;margin:0 0 16px}.sq-tabs button{border:1px solid var(--sq-border);background:#fff;color:#46627d;border-radius:999px;padding:9px 13px;font-weight:800;cursor:pointer}.sq-tabs button.active{background:var(--sq-blue);border-color:var(--sq-blue);color:#fff}.sq-steps{display:grid;grid-template-columns:repeat(6,1fr);gap:8px;margin:8px 0 18px}.sq-step{text-align:center;position:relative;color:#71859a;font-size:11px;font-weight:800}.sq-step:before{content:'';display:grid;place-items:center;width:34px;height:34px;border-radius:50%;margin:0 auto 6px;background:#edf1f5;color:#71859a}.sq-step.done{color:#078259}.sq-step.done:before{content:'✓';background:#dff7ec;color:#078259}.sq-step.active{color:#9b6508}.sq-step.active:before{content:'◷';background:#fff1d9;color:#a46a08}.sq-step.locked:before{content:'🔒';font-size:13px}.sq-trace{display:grid;gap:0}.sq-trace-row{display:grid;grid-template-columns:32px 1fr auto;align-items:center;gap:10px;border-bottom:1px solid #e8eff6;padding:10px 0}.sq-trace-row:last-child{border-bottom:0}.sq-trace-icon{width:30px;height:30px;border-radius:9px;display:grid;place-items:center;background:#f8f0e3;color:#89704c}.sq-time{background:#fff4e6;border-radius:8px;padding:5px 8px;font-size:12px;color:#735632;white-space:nowrap}.sq-pill{display:inline-flex;align-items:center;border-radius:999px;padding:5px 9px;font-size:12px;font-weight:900;background:#e9f8f2;color:#08734c}.sq-pill.blue{background:#eaf4ff;color:#075fa8}.sq-pill.red{background:#fff0f4;color:#b52f51}.sq-pill.orange{background:#fff3e7;color:#b56018}.sq-pill.gray{background:#edf1f5;color:#60758b}.sq-alerts{display:flex;gap:8px;flex-wrap:wrap}.sq-alert{display:inline-flex;gap:6px;align-items:center;border-radius:10px;padding:8px 10px;font-size:12px;font-weight:800;background:#fff0f4;color:#b62e51}.sq-alert.orange{background:#fff3e7;color:#ae5b18}.sq-alert.blue{background:#eaf4ff;color:#075fa8}.sq-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.sq-kpi{border:1px solid var(--sq-border);border-radius:15px;padding:14px;background:#fff;min-height:110px}.sq-kpi.green{background:linear-gradient(145deg,#fff,#ecfbf5)}.sq-kpi.blue{background:linear-gradient(145deg,#fff,#eef7ff)}.sq-kpi.red{background:linear-gradient(145deg,#fff,#fff2f5)}.sq-kpi.orange{background:linear-gradient(145deg,#fff,#fff6e8)}.sq-kpi .label{color:#4c6b85;font-size:12px;font-weight:800}.sq-kpi .value{font-size:28px;font-weight:950;color:var(--sq-blue);margin-top:9px}.sq-kpi.green .value{color:#078259}.sq-kpi.red .value{color:var(--sq-red)}.sq-kpi.orange .value{color:#bd6b12}.sq-kpi .hint{font-size:11px;color:#2e8a65;margin-top:4px}.sq-chart-row{display:grid;grid-template-columns:1.5fr 1fr;gap:16px;margin-top:16px}.sq-chart{height:190px;display:flex;align-items:flex-end;gap:7px;padding:28px 12px 24px;border-left:1px solid #dfe8f1;border-bottom:1px solid #dfe8f1}.sq-chart-col{flex:1;display:flex;align-items:flex-end;justify-content:center;height:130px;position:relative}.sq-chart-bar{width:65%;min-width:12px;max-width:36px;border-radius:8px 8px 2px 2px;background:linear-gradient(180deg,#32bd83,#0788c8);min-height:3px}.sq-chart-col small{position:absolute;bottom:-19px;color:#60758b;font-size:10px}.sq-chart-col strong{position:absolute;bottom:calc(var(--bar-h) + 4px);font-size:10px;color:#385874}.sq-list{display:grid;gap:10px}.sq-list-item{border:1px solid #e2ebf3;border-radius:13px;padding:12px;background:#fbfdff}.sq-list-item .meta{display:flex;justify-content:space-between;gap:10px;color:var(--sq-muted);font-size:12px;margin-top:6px}.sq-table{width:100%;border-collapse:separate;border-spacing:0}.sq-table th,.sq-table td{padding:10px 9px;border-bottom:1px solid #e7eef5;text-align:left;font-size:12px;vertical-align:top}.sq-table th{background:#f5f9fd;color:#46627d;font-weight:900}.sq-table select,.sq-table input,.sq-table textarea,.sq-form input,.sq-form select,.sq-form textarea{width:100%;border:1px solid #cadbe9;border-radius:10px;padding:9px;background:#fff;color:var(--sq-ink)}.sq-table textarea,.sq-form textarea{min-height:78px;resize:vertical}.sq-form{display:grid;gap:14px}.sq-form-question{border-top:1px solid #e4edf5;padding-top:13px}.sq-form-question:first-child{border-top:0}.sq-form-options{display:flex;gap:8px;flex-wrap:wrap;margin-top:9px}.sq-form-options label{border:1px solid #d2e0eb;border-radius:999px;padding:7px 10px;cursor:pointer}.sq-form-options input{width:auto;margin-right:5px;accent-color:var(--sq-green)}.sq-empty{border:1px dashed #cbdbe8;border-radius:14px;padding:22px;text-align:center;color:var(--sq-muted);background:#fbfdff}.sq-score-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.sq-score{border:1px solid #e1ebf4;border-radius:13px;padding:12px;text-align:center}.sq-score strong{display:block;font-size:23px;color:var(--sq-green)}.sq-score span{font-size:11px;color:var(--sq-muted)}.sq-comments{display:grid;grid-template-columns:1fr 1fr;gap:12px}.sq-comment{border-left:4px solid var(--sq-green);background:#f7fcfa;padding:12px;border-radius:10px}.sq-comment.orange{border-color:var(--sq-orange);background:#fffaf4}.sq-comment strong{display:block;margin-bottom:5px}.sq-actions{display:flex;gap:8px;flex-wrap:wrap}.sq-small{font-size:12px;color:var(--sq-muted)}
@media(max-width:1250px){.sq-grid{grid-template-columns:1fr}.sq-kpis{grid-template-columns:repeat(3,1fr)}}@media(max-width:780px){.sq-kpis{grid-template-columns:1fr 1fr}.sq-chart-row,.sq-comments{grid-template-columns:1fr}.sq-score-grid{grid-template-columns:1fr 1fr}.sq-steps{grid-template-columns:repeat(3,1fr)}}

/* ===== Source : /modules/rendezvous.css ===== */
/* Nouveau Cap V86.1 — Rendez-vous et visio consolidés */
/* ============================================================
   NOUVEAU CAP V63 — RDV visio Zoom manuel
   ============================================================ */
.nc-v63-zoom-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(8, 31, 57, 0.32);
  backdrop-filter: blur(2px);
}
.nc-v63-zoom-workspace {
  position: fixed;
  inset: 24px;
  z-index: 9999;
  display: grid;
  grid-template-columns: minmax(440px, 1.25fr) minmax(420px, 0.95fr);
  gap: 16px;
  background: #f4f8fc;
  border: 1px solid rgba(122, 156, 190, 0.32);
  border-radius: 24px;
  box-shadow: 0 24px 80px rgba(8, 31, 57, 0.28);
  padding: 16px;
  overflow: hidden;
}
.nc-v63-zoom-panel {
  background: #fff;
  border: 1px solid #d7e4f0;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(8, 31, 57, 0.08);
  overflow: hidden;
  min-height: 0;
}
.nc-v63-zoom-left {
  display: flex;
  flex-direction: column;
}
.nc-v63-zoom-video-placeholder {
  flex: 1;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 34px;
  background:
    radial-gradient(circle at 20% 20%, rgba(12, 101, 166, 0.22), transparent 32%),
    radial-gradient(circle at 80% 40%, rgba(25, 184, 143, 0.18), transparent 30%),
    linear-gradient(135deg, #082545, #0c65a6 55%, #1aa982);
  color: white;
  text-align: center;
}
.nc-v63-zoom-video-card {
  width: min(640px, 92%);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 18px 50px rgba(0,0,0,0.2);
  padding: 34px;
}
.nc-v63-zoom-video-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  background: rgba(255,255,255,0.18);
  font-size: 36px;
}
.nc-v63-zoom-video-card h2 {
  margin: 0 0 10px;
  font-size: 28px;
  color: #fff;
}
.nc-v63-zoom-video-card p {
  margin: 0 auto 18px;
  color: rgba(255,255,255,0.86);
  line-height: 1.55;
  max-width: 560px;
}
.nc-v63-zoom-link-line {
  margin: 18px 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.nc-v63-zoom-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}
.nc-v63-zoom-btn-light {
  border: 1px solid rgba(255,255,255,0.55);
  color: #082545;
  background: #fff;
  border-radius: 12px;
  padding: 11px 16px;
  font-weight: 800;
  cursor: pointer;
}
.nc-v63-zoom-btn-ghost {
  border: 1px solid rgba(255,255,255,0.55);
  color: #fff;
  background: transparent;
  border-radius: 12px;
  padding: 11px 16px;
  font-weight: 800;
  cursor: pointer;
}
.nc-v63-zoom-right {
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.nc-v63-zoom-header {
  padding: 18px 20px;
  border-bottom: 1px solid #e2edf7;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.nc-v63-zoom-header h2 {
  margin: 0 0 4px;
  font-size: 22px;
  color: #08365f;
}
.nc-v63-zoom-header p {
  margin: 0;
  color: #52708a;
}
.nc-v63-zoom-body {
  padding: 18px 20px;
  overflow: auto;
}
.nc-v63-zoom-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}
.nc-v63-zoom-info {
  border: 1px solid #e2edf7;
  background: #f8fbff;
  border-radius: 14px;
  padding: 12px;
}
.nc-v63-zoom-info strong {
  display: block;
  color: #08365f;
  margin-bottom: 4px;
  font-size: 13px;
}
.nc-v63-zoom-info span {
  color: #52708a;
  font-size: 14px;
}
.nc-v63-zoom-field {
  margin-bottom: 14px;
}
.nc-v63-zoom-field label {
  display: block;
  font-weight: 800;
  color: #08365f;
  margin-bottom: 6px;
}
.nc-v63-zoom-field input,
.nc-v63-zoom-field textarea {
  width: 100%;
  border: 1px solid #cfe0ef;
  border-radius: 12px;
  padding: 11px 12px;
  font: inherit;
  color: #082545;
  box-sizing: border-box;
}
.nc-v63-zoom-field textarea {
  min-height: 220px;
  resize: vertical;
}
.nc-v63-zoom-form-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  padding-top: 6px;
}
.nc-v63-zoom-note {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff7e8;
  border: 1px solid #f1d39c;
  color: #765313;
  font-size: 13px;
  line-height: 1.45;
}
.nc-v63-floating {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 9997;
  width: 320px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid #cfe0ef;
  box-shadow: 0 16px 42px rgba(8,31,57,.22);
  padding: 14px;
}
.nc-v63-floating strong {
  color: #08365f;
}
.nc-v63-floating p {
  color: #52708a;
  margin: 4px 0 12px;
  font-size: 13px;
}
.nc-v63-floating .actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.nc-v63-visio-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #b9d9ee;
  background: #eff8ff;
  color: #075b96;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  margin-left: 6px;
}
@media (max-width: 1100px) {
  .nc-v63-zoom-workspace {
    inset: 12px;
    grid-template-columns: 1fr;
    overflow: auto;
  }
  .nc-v63-zoom-video-placeholder { min-height: 300px; }
}

/* ============================================================
   NOUVEAU CAP V64 — Zoom messagerie bénéficiaire
   ============================================================ */
.nc-v64-message-visio-action {
  margin-top: 10px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.nc-v64-beneficiary-visio-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10020;
  background: rgba(8, 31, 57, 0.34);
  backdrop-filter: blur(2px);
}

.nc-v64-beneficiary-visio {
  position: fixed;
  inset: 22px;
  z-index: 10021;
  display: grid;
  grid-template-columns: minmax(420px, 1.15fr) minmax(420px, 0.95fr);
  gap: 16px;
  padding: 16px;
  border-radius: 24px;
  background: #f4f8fc;
  border: 1px solid rgba(122, 156, 190, 0.36);
  box-shadow: 0 24px 80px rgba(8, 31, 57, 0.28);
  overflow: hidden;
}

.nc-v64-zoom-side,
.nc-v64-beneficiary-side {
  min-height: 0;
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
  border: 1px solid #d7e4f0;
  box-shadow: 0 10px 30px rgba(8, 31, 57, 0.08);
}

.nc-v64-zoom-frame-wrap {
  position: relative;
  height: 100%;
  min-height: 520px;
  background:
    radial-gradient(circle at 20% 20%, rgba(12, 101, 166, 0.22), transparent 32%),
    radial-gradient(circle at 80% 40%, rgba(25, 184, 143, 0.18), transparent 30%),
    linear-gradient(135deg, #082545, #0c65a6 55%, #1aa982);
}

.nc-v64-zoom-frame {
  width: 100%;
  height: 100%;
  min-height: 520px;
  border: 0;
  background: transparent;
}

.nc-v64-zoom-fallback {
  position: absolute;
  inset: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  pointer-events: none;
}

.nc-v64-zoom-fallback button {
  pointer-events: auto;
  margin: 8px 4px 0;
}

.nc-v64-camera-icon {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  background: rgba(255,255,255,0.18);
  font-size: 36px;
  margin-bottom: 16px;
}

.nc-v64-zoom-fallback h2 {
  color: #fff;
  margin: 0 0 10px;
  font-size: 28px;
}

.nc-v64-zoom-fallback p {
  max-width: 560px;
  color: rgba(255,255,255,0.88);
  line-height: 1.55;
}

.nc-v64-beneficiary-side {
  overflow: auto;
}

.nc-v64-beneficiary-space {
  padding: 20px;
}

.nc-v64-space-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e2edf7;
}

.nc-v64-space-header h2 {
  margin: 2px 0 4px;
  color: #08365f;
  font-size: 24px;
}

.nc-v64-space-header p {
  margin: 0;
  color: #52708a;
}

.nc-v64-beneficiary-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 16px 0;
}

.nc-v64-beneficiary-kpis div,
.nc-v64-rdv-card {
  border: 1px solid #e2edf7;
  background: #f8fbff;
  border-radius: 16px;
  padding: 13px;
}

.nc-v64-beneficiary-kpis strong {
  display: block;
  color: #075b96;
  font-size: 20px;
  line-height: 1.15;
}

.nc-v64-beneficiary-kpis span {
  color: #52708a;
  font-size: 12px;
  font-weight: 700;
}

.nc-v64-rdv-card h3 {
  margin: 0 0 10px;
  color: #08365f;
}

.nc-v64-rdv-card p {
  margin: 6px 0;
  color: #2d455c;
}

.nc-v64-link-text {
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: bottom;
  white-space: nowrap;
}

.nc-v64-actions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 16px 0;
}

.nc-v64-floating-beneficiary {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 10019;
  width: 330px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid #cfe0ef;
  box-shadow: 0 16px 42px rgba(8,31,57,.22);
  padding: 14px;
}

.nc-v64-floating-beneficiary strong {
  color: #08365f;
}

.nc-v64-floating-beneficiary p {
  color: #52708a;
  margin: 4px 0 12px;
  font-size: 13px;
}

.nc-v64-floating-beneficiary .actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

@media (max-width: 980px) {
  .nc-v64-beneficiary-visio {
    inset: 10px;
    grid-template-columns: 1fr;
    overflow: auto;
  }
  .nc-v64-zoom-frame-wrap,
  .nc-v64-zoom-frame {
    min-height: 360px;
  }
  .nc-v64-beneficiary-kpis,
  .nc-v64-actions-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   NOUVEAU CAP V67 — Zoom uniquement interface bénéficiaire
   ============================================================ */
.v67-beneficiary-visio-action {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed #cfe0ef;
}

.v67-beneficiary-visio-action .btn {
  width: auto;
}

/* ===== Source : /modules/groupes-v189.css ===== */
.nc-groups-grid{align-items:stretch}.nc-group-card{display:flex;flex-direction:column;gap:14px}.nc-group-card .actions{margin-top:auto}.nc-group-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.nc-group-card-head h2{margin:3px 0 0}.nc-group-kpis{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.nc-group-kpis>div{padding:12px;border:1px solid var(--border);border-radius:14px;background:var(--surface-soft,#f6f9fc);display:flex;flex-direction:column}.nc-group-kpis strong{font-size:24px}.nc-group-kpis span{font-size:12px;color:var(--muted)}.nc-group-chip{display:inline-flex;align-items:center;gap:4px;padding:4px 8px;border-radius:999px;font-size:11px;font-weight:800;white-space:nowrap;background:#eaf3fb;color:#075fa8}.nc-group-chip.green{background:#e7f6ef;color:#19714b}.nc-group-chip.red{background:#fdeced;color:#a12d36}.nc-group-chip.grey{background:#edf0f3;color:#64717d}.nc-group-chip.purple{background:#f0eafd;color:#6942a5}.nc-group-inline-chips{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}.nc-group-appointment-list{display:flex;flex-direction:column;gap:10px}.nc-group-appointment{display:flex;justify-content:space-between;gap:14px;align-items:center;padding:13px;border:1px solid var(--border);border-radius:14px;background:#fff}.nc-group-agenda-row .appointment-actions{flex-wrap:wrap}.nc-group-broadcast-list{display:flex;flex-direction:column;gap:9px;max-height:440px;overflow:auto}.nc-group-broadcast-history{display:flex;flex-direction:column;gap:4px;padding:11px;border:1px solid var(--border);border-radius:12px}.nc-group-broadcast-history span{white-space:pre-wrap}.nc-group-broadcast-history small{color:var(--muted)}.nc-group-overlay{position:fixed;inset:0;z-index:9999;background:rgba(15,31,47,.62);display:flex;align-items:flex-start;justify-content:center;padding:4vh 20px;overflow:auto}.nc-group-modal{width:min(1050px,96vw);background:#fff;border-radius:22px;box-shadow:0 26px 80px rgba(0,0,0,.28);padding:22px}.nc-group-modal-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:18px}.nc-group-modal-head h2{margin:3px 0 0}.nc-group-member-selector{border:1px solid var(--border,#d6e2ec);border-radius:16px;background:#f7fafc;overflow:hidden}.nc-group-member-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;border-bottom:1px solid var(--border,#d6e2ec);background:#fff}.nc-group-member-search{display:flex;align-items:center;gap:8px;min-width:260px;flex:1}.nc-group-member-search span{font-size:22px;line-height:1;color:#567086}.nc-group-member-search input{width:100%;height:40px;border:1px solid #cbd9e5;border-radius:10px;padding:0 12px;background:#fff}.nc-group-member-tools{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.nc-group-member-tools>strong{font-size:13px;color:#24445f;white-space:nowrap;margin-right:4px}.nc-group-member-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:360px;overflow:auto;padding:12px;background:#f7fafc}.nc-group-member-choice{display:grid;grid-template-columns:20px 38px minmax(0,1fr);gap:10px;align-items:center;min-height:62px;border:1px solid #d6e2ec;border-radius:12px;padding:10px 12px;background:#fff;cursor:pointer;transition:border-color .15s ease,background .15s ease,box-shadow .15s ease,transform .15s ease}.nc-group-member-choice:hover{border-color:#8db7d8;box-shadow:0 4px 14px rgba(18,73,112,.08);transform:translateY(-1px)}.nc-group-member-choice.is-selected{border-color:#0b67a5;background:#eef7fd;box-shadow:inset 0 0 0 1px #0b67a5}.nc-group-member-choice[hidden]{display:none!important}.nc-group-member-choice input[type="checkbox"]{width:18px;height:18px;margin:0;accent-color:#0b67a5;cursor:pointer}.nc-group-member-avatar{display:grid!important;place-items:center;width:38px;height:38px;border-radius:50%;background:#dceefa;color:#075f99;font-size:12px;font-weight:800;letter-spacing:.02em}.nc-group-member-choice.is-selected .nc-group-member-avatar{background:#0b67a5;color:#fff}.nc-group-member-copy{display:flex!important;flex-direction:column;min-width:0;line-height:1.25}.nc-group-member-copy strong{font-size:14px;color:#173b59;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.nc-group-member-copy small{margin-top:3px;color:var(--muted,#66788a);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.nc-group-member-empty{padding:20px;text-align:center;color:var(--muted,#66788a);background:#fff}.nc-group-member-empty[hidden]{display:none!important}.nc-group-archive-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.v34-badge.collective{background:#f0eafd;color:#6942a5}@media(max-width:850px){.nc-group-member-toolbar{align-items:stretch;flex-direction:column}.nc-group-member-search{min-width:0;width:100%}.nc-group-member-tools{justify-content:flex-start}.nc-group-member-grid,.nc-group-archive-list{grid-template-columns:1fr}.nc-group-appointment{align-items:flex-start;flex-direction:column}.nc-group-modal{padding:16px}}

/* ===== Source : /v73_messagerie_rdv_consolidee.css ===== */
/* Nouveau Cap V73 — RDV dans la messagerie unique */
.v73-rdv-inline-card {
  margin-top: 10px;
  padding: 12px;
  border: 1px solid #b7d8f3;
  background: #f7fbff;
  border-radius: 12px;
}
.v73-rdv-inline-title {
  font-weight: 800;
  color: #003b66;
  margin-bottom: 4px;
}
.v73-rdv-inline-text {
  font-size: 0.92rem;
  color: #55708f;
  margin-bottom: 10px;
}
.v73-rdv-inline-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.v73-rdv-status {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.86rem;
}
.v73-rdv-status.pending {
  background: #fff4d7;
  color: #775100;
  border: 1px solid #f3d58a;
}
.v73-rdv-status.accepted {
  background: #dff8ea;
  color: #087443;
  border: 1px solid #a9e7c2;
}
.v73-zoom-inline {
  margin-top: 10px;
}
.v73-hidden-legacy-rdv-block,
.v70-rdv-message-card:where(:not(.chat-bubble .v70-rdv-message-card)) {
  display: none !important;
}

.v73-rdv-status.refused {
  background: #fde8e8;
  color: #9b1c1c;
  border: 1px solid #f3b7b7;
}

/* ===== Source : /v90_beneficiary_portal.css ===== */
/* Nouveau Cap — V90 — Espace bénéficiaire */
:root {
  --v90-blue: #075fa8;
  --v90-blue-dark: #064b84;
  --v90-blue-soft: #eaf4ff;
  --v90-green: #1aa97a;
  --v90-green-soft: #eaf9f3;
  --v90-purple: #7a63d7;
  --v90-purple-soft: #f1edff;
  --v90-yellow-soft: #fff8df;
  --v90-ink: #17324d;
  --v90-muted: #6a7f92;
  --v90-line: #dfe9f2;
  --v90-bg: #f5f8fb;
  --v90-shadow: 0 12px 34px rgba(28, 68, 102, .08);
}

body.v90-client-mode {
  background: var(--v90-bg);
}

body.v90-client-mode #app {
  min-height: 100vh;
}

.v90-shell,
.v90-preview {
  min-height: 100vh;
  background: var(--v90-bg);
  color: var(--v90-ink);
}

.v90-preview-backdrop {
  position: fixed;
  inset: 0;
  z-index: 11000;
  padding: 22px;
  overflow: auto;
  background: rgba(8, 31, 54, .56);
  backdrop-filter: blur(3px);
}

.v90-preview {
  width: min(1480px, 100%);
  min-height: calc(100vh - 44px);
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 28px 95px rgba(0, 0, 0, .28);
}

.v90-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 22px 30px 18px;
  background: #fff;
  border-bottom: 1px solid var(--v90-line);
}

.v90-brand-title {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.v90-brand-title img {
  width: 88px;
  height: 72px;
  object-fit: contain;
  flex: 0 0 auto;
}

.v90-brand-title h1 {
  margin: 2px 0 4px;
  font-size: clamp(24px, 2.3vw, 34px);
  line-height: 1.1;
  letter-spacing: -.035em;
  color: var(--v90-ink);
}

.v90-brand-title p {
  margin: 0;
  color: var(--v90-muted);
  font-size: 14px;
}

.v90-eyebrow {
  display: block;
  margin: 0 0 3px;
  color: var(--v90-blue);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.v90-header-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.v90-btn {
  appearance: none;
  border: 1px solid transparent;
  border-radius: 11px;
  min-height: 40px;
  padding: 9px 15px;
  font: inherit;
  font-size: 13px;
  font-weight: 850;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}

.v90-btn:hover { transform: translateY(-1px); }
.v90-btn:disabled { opacity: .58; cursor: wait; transform: none; }
.v90-btn-primary { background: var(--v90-blue); color: #fff; box-shadow: 0 7px 18px rgba(7, 95, 168, .18); }
.v90-btn-primary:hover { background: var(--v90-blue-dark); color: #fff; }
.v90-btn-secondary { background: #fff; color: var(--v90-ink); border-color: #cad8e5; }
.v90-btn-secondary:hover { background: #f6f9fc; }
.v90-btn-soft { background: var(--v90-blue-soft); color: var(--v90-blue); border-color: #c9e1f6; }
.v90-btn-green { background: var(--v90-green); color: #fff; }
.v90-btn-danger { background: #fff4f3; color: #b42318; border-color: #ffd2cd; }
.v90-btn-small { min-height: 34px; padding: 7px 10px; border-radius: 9px; font-size: 12px; }
.v90-icon-btn { width: 36px; min-width: 36px; padding: 0; }

.v90-nav-wrap {
  padding: 13px 28px 15px;
  background: #fff;
  border-bottom: 1px solid var(--v90-line);
  overflow-x: auto;
}

.v90-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: max-content;
}

.v90-nav button {
  appearance: none;
  border: 1px solid #d4e0eb;
  background: #fff;
  color: #557087;
  border-radius: 999px;
  padding: 9px 14px;
  font: inherit;
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.v90-nav button:hover { background: #f5f9fc; }
.v90-nav button.active {
  color: #fff;
  background: var(--v90-blue);
  border-color: var(--v90-blue);
  box-shadow: 0 7px 18px rgba(7, 95, 168, .18);
}

.v90-nav-count {
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 99px;
  background: #e74f47;
  color: #fff;
  display: inline-grid;
  place-items: center;
  font-size: 10px;
}

.v90-main {
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: 22px 28px 34px;
  display: grid;
  gap: 18px;
}

.v90-notice {
  border-radius: 13px;
  padding: 12px 14px;
  border: 1px solid #cfe2ef;
  background: #f2f9ff;
  color: #35566e;
  font-size: 13px;
}

.v90-notice.warning { background: #fff9e9; border-color: #f3df9a; color: #745d17; }
.v90-notice.error { background: #fff3f2; border-color: #ffc9c4; color: #9a2920; }

.v90-card {
  background: #fff;
  border: 1px solid var(--v90-line);
  border-radius: 18px;
  box-shadow: var(--v90-shadow);
  padding: 18px;
  min-width: 0;
}

.v90-card h2,
.v90-card h3,
.v90-card h4 { color: var(--v90-ink); }

.v90-card h2 { margin: 0; font-size: 20px; }
.v90-card h3 { margin: 0 0 10px; font-size: 17px; }
.v90-card p { color: var(--v90-muted); line-height: 1.55; }

.v90-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.v90-card-head p { margin: 3px 0 0; font-size: 13px; }

.v90-hero {
  position: relative;
  overflow: hidden;
  min-height: 176px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  align-items: center;
  gap: 24px;
  padding: 28px 32px;
  border: 1px solid #d7e9f6;
  border-radius: 20px;
  background:
    radial-gradient(circle at 88% 15%, rgba(26, 169, 122, .16), transparent 30%),
    linear-gradient(120deg, #f9fdff 0%, #eaf5ff 62%, #effaf6 100%);
  box-shadow: var(--v90-shadow);
}

.v90-hero::after {
  content: '';
  position: absolute;
  right: -48px;
  bottom: -90px;
  width: 310px;
  height: 210px;
  border-radius: 50%;
  background: rgba(7, 95, 168, .07);
  transform: rotate(-12deg);
}

.v90-hero-person {
  display: flex;
  align-items: center;
  gap: 17px;
  position: relative;
  z-index: 1;
}

.v90-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #fff;
  color: var(--v90-blue);
  border: 1px solid #cfe3f2;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 21px;
  box-shadow: 0 8px 22px rgba(7, 95, 168, .12);
  flex: 0 0 auto;
}

.v90-hero h2 {
  margin: 0 0 8px;
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -.045em;
}

.v90-hero p { margin: 0; color: #526d81; max-width: 650px; }

.v90-progress-panel { position: relative; z-index: 1; }
.v90-progress-label { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 9px; font-size: 13px; font-weight: 800; }
.v90-progress-label strong { color: var(--v90-green); font-size: 18px; }
.v90-progress-track { height: 10px; border-radius: 99px; background: rgba(255,255,255,.8); overflow: hidden; border: 1px solid #d5e8e1; }
.v90-progress-track span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--v90-blue), var(--v90-green)); }
.v90-progress-panel small { display: block; margin-top: 8px; color: var(--v90-muted); }

.v90-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.v90-grid-dashboard { display: grid; grid-template-columns: .88fr 1.24fr 1fr; gap: 16px; }
.v90-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }

.v90-kpi {
  display: grid;
  grid-template-columns: 48px minmax(0,1fr) auto;
  align-items: center;
  gap: 13px;
  min-height: 126px;
}

.v90-kpi-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 21px;
  background: var(--v90-blue-soft);
  color: var(--v90-blue);
}
.v90-kpi.green .v90-kpi-icon { background: var(--v90-green-soft); color: var(--v90-green); }
.v90-kpi.purple .v90-kpi-icon { background: var(--v90-purple-soft); color: var(--v90-purple); }
.v90-kpi-value { display: block; color: var(--v90-ink); font-size: 27px; font-weight: 950; line-height: 1.05; }
.v90-kpi-label { display: block; margin-top: 3px; font-weight: 850; }
.v90-kpi small { display: block; margin-top: 5px; color: var(--v90-muted); }

.v90-actions-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.v90-action-card {
  border: 1px solid #d5e5f2;
  border-radius: 15px;
  padding: 14px;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #f3f8ff;
}
.v90-action-card.green { background: #effaf6; border-color: #d0ecdf; }
.v90-action-card.yellow { background: var(--v90-yellow-soft); border-color: #f1e5b7; }
.v90-action-card.purple { background: #f5f1ff; border-color: #e1d8fa; }
.v90-action-card strong { font-size: 14px; line-height: 1.3; }
.v90-action-card p { margin: 6px 0 12px; font-size: 12px; flex: 1; }
.v90-action-card .v90-btn { width: 100%; }
.v90-action-symbol { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 10px; background: rgba(255,255,255,.82); color: var(--v90-blue); font-size: 17px; }

.v90-date-tile {
  width: 64px;
  min-width: 64px;
  border-radius: 13px;
  overflow: hidden;
  text-align: center;
  border: 1px solid #cfe0ed;
  background: #fff;
}
.v90-date-tile span { display: block; padding: 5px; background: var(--v90-blue); color: #fff; font-size: 10px; font-weight: 900; text-transform: uppercase; }
.v90-date-tile strong { display: block; padding: 8px 4px 2px; font-size: 24px; color: var(--v90-ink); }
.v90-date-tile small { display: block; padding: 0 4px 7px; color: var(--v90-muted); font-size: 10px; font-weight: 800; }

.v90-appointment-summary,
.v90-list-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid #edf2f6;
}
.v90-appointment-summary:last-child,
.v90-list-row:last-child { border-bottom: 0; }
.v90-list-main { min-width: 0; flex: 1; }
.v90-list-main strong { display: block; color: var(--v90-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v90-list-main small { display: block; margin-top: 4px; color: var(--v90-muted); }

.v90-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  width: fit-content;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 11px;
  line-height: 1;
  font-weight: 900;
  color: #176347;
  background: #e8f7ef;
}
.v90-badge.blue { color: var(--v90-blue); background: var(--v90-blue-soft); }
.v90-badge.grey { color: #596d7f; background: #edf2f6; }
.v90-badge.orange { color: #875d0c; background: #fff5d6; }
.v90-badge.red { color: #9f2e25; background: #fff0ef; }
.v90-badge.purple { color: #6047bd; background: var(--v90-purple-soft); }

.v90-timeline { position: relative; display: grid; gap: 0; }
.v90-stage { position: relative; display: grid; grid-template-columns: 34px minmax(0,1fr); gap: 11px; padding: 0 0 18px; }
.v90-stage:last-child { padding-bottom: 0; }
.v90-stage:not(:last-child)::before { content: ''; position: absolute; left: 16px; top: 31px; bottom: 0; width: 2px; background: #dce7ef; }
.v90-stage-index { position: relative; z-index: 1; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid #cbd9e5; color: #6d8192; font-weight: 900; }
.v90-stage.done .v90-stage-index { background: var(--v90-green); border-color: var(--v90-green); color: #fff; }
.v90-stage.current .v90-stage-index { background: var(--v90-blue); border-color: var(--v90-blue); color: #fff; box-shadow: 0 0 0 5px var(--v90-blue-soft); }
.v90-stage strong { display: block; margin-top: 4px; }
.v90-stage small { display: block; color: var(--v90-muted); margin-top: 3px; }

.v90-doc-columns { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.v90-doc-panel { border: 1px solid var(--v90-line); border-radius: 16px; padding: 16px; background: #fbfdff; }
.v90-doc-panel h3 { margin: 0; }
.v90-doc-panel > p { margin: 4px 0 13px; font-size: 13px; }
.v90-doc-row { display: grid; grid-template-columns: 40px minmax(0,1fr) auto; gap: 11px; align-items: center; padding: 11px 0; border-bottom: 1px solid #e9f0f5; }
.v90-doc-row:last-child { border-bottom: 0; }
.v90-doc-icon { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; font-size: 12px; font-weight: 950; color: #fff; background: #df564f; }
.v90-doc-icon.word { background: #2870b7; }
.v90-doc-icon.other { background: #3aa37b; }
.v90-doc-name { min-width: 0; }
.v90-doc-name strong { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v90-doc-name small { display: block; margin-top: 3px; color: var(--v90-muted); }
.v90-doc-actions { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }

.v90-upload-slots { display: grid; gap: 10px; margin-bottom: 15px; }
.v90-upload-slot {
  border: 1px dashed #b8ccdc;
  border-radius: 13px;
  padding: 12px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.v90-upload-slot strong { display: block; font-size: 13px; }
.v90-upload-slot small { color: var(--v90-muted); }
.v90-upload-slot input { display: none; }

.v90-empty {
  padding: 24px;
  text-align: center;
  border: 1px dashed #c9d8e4;
  border-radius: 14px;
  color: var(--v90-muted);
  background: #fbfdff;
}

.v90-messages {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}
.v90-thread {
  min-height: 420px;
  max-height: 58vh;
  overflow-y: auto;
  padding: 18px;
  border: 1px solid var(--v90-line);
  border-radius: 16px;
  background: linear-gradient(180deg, #f9fcff 0%, #f4f8fb 100%);
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.v90-thread .chat-bubble { width: min(72%, 720px); margin: 0; border-radius: 15px; padding: 12px 14px; box-shadow: none; }
.v90-thread .chat-bubble.received { align-self: flex-start; background: #e9f8f3; border: 1px solid #cbe9df; color: #244d43; }
.v90-thread .chat-bubble.own { align-self: flex-end; background: var(--v90-blue); border: 1px solid var(--v90-blue); color: #fff; }
.v90-thread .chat-bubble.own p,
.v90-thread .chat-bubble.own .chat-meta,
.v90-thread .chat-bubble.own .chat-meta span,
.v90-thread .chat-bubble.own .chat-meta strong { color: #fff; }
.v90-thread .chat-meta { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 6px; font-size: 11px; color: #61788b; }
.v90-thread .chat-bubble p { margin: 0; color: inherit; }
.v90-composer { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: end; gap: 10px; margin-top: 12px; }
.v90-composer textarea { width: 100%; min-height: 54px; max-height: 160px; resize: vertical; border: 1px solid #cbd9e5; border-radius: 13px; padding: 12px; font: inherit; }
.v90-composer input { display: none; }

.v90-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.v90-field { display: grid; gap: 6px; }
.v90-field.full { grid-column: 1 / -1; }
.v90-field label { font-size: 12px; font-weight: 850; color: #4e697f; }
.v90-field input,
.v90-field select,
.v90-field textarea { width: 100%; border: 1px solid #cbd9e5; border-radius: 11px; padding: 11px 12px; font: inherit; color: var(--v90-ink); background: #fff; }
.v90-field input:focus,
.v90-field select:focus,
.v90-field textarea:focus { outline: 3px solid rgba(7, 95, 168, .12); border-color: var(--v90-blue); }

.v90-page-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; }
.v90-page-title h2 { margin: 0; font-size: 24px; letter-spacing: -.025em; }
.v90-page-title p { margin: 5px 0 0; color: var(--v90-muted); }

.v90-module-host > .topbar { display: none !important; }
.v90-module-host .card { box-shadow: none; border-color: var(--v90-line); }
.v90-module-host .tabs { margin: 0 0 14px; }
.v90-module-host .grid { gap: 14px; }
.v90-module-host .question-list { max-height: none; }

.v90-footer-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--v90-muted);
  font-size: 12px;
  padding: 3px 2px 0;
}

.v90-loading {
  min-height: 280px;
  display: grid;
  place-items: center;
  text-align: center;
}
.v90-spinner { width: 42px; height: 42px; border-radius: 50%; border: 4px solid #dceaf4; border-top-color: var(--v90-blue); animation: v90-spin .75s linear infinite; margin: 0 auto 12px; }
@keyframes v90-spin { to { transform: rotate(360deg); } }

.v90-staff-doc-origin { display: inline-flex; margin-left: 7px; }
.v90-linkedin-link { color: var(--v90-blue); font-weight: 850; text-decoration: none; }
.v90-linkedin-link:hover { text-decoration: underline; }

@media (max-width: 1180px) {
  .v90-actions-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .v90-grid-dashboard { grid-template-columns: 1fr 1fr; }
  .v90-grid-dashboard > :nth-child(2) { grid-row: span 2; }
}

@media (max-width: 900px) {
  .v90-preview-backdrop { padding: 0; }
  .v90-preview { border-radius: 0; min-height: 100vh; }
  .v90-header { align-items: flex-start; flex-direction: column; padding: 18px; }
  .v90-header-actions { width: 100%; justify-content: flex-start; }
  .v90-nav-wrap { padding-inline: 16px; }
  .v90-main { padding: 18px 16px 28px; }
  .v90-hero { grid-template-columns: 1fr; padding: 24px; }
  .v90-grid-3,
  .v90-grid-dashboard,
  .v90-grid-2,
  .v90-doc-columns { grid-template-columns: 1fr; }
  .v90-grid-dashboard > :nth-child(2) { grid-row: auto; }
  .v90-actions-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .v90-form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .v90-brand-title { align-items: flex-start; }
  .v90-brand-title img { width: 64px; height: 56px; }
  .v90-brand-title h1 { font-size: 23px; }
  .v90-header-actions .v90-btn { flex: 1; }
  .v90-hero-person { align-items: flex-start; }
  .v90-avatar { width: 54px; height: 54px; font-size: 17px; }
  .v90-actions-grid { grid-template-columns: 1fr; }
  .v90-kpi { grid-template-columns: 44px 1fr; }
  .v90-kpi .v90-btn { grid-column: 1 / -1; }
  .v90-doc-row { grid-template-columns: 36px minmax(0,1fr); }
  .v90-doc-actions { grid-column: 1 / -1; justify-content: flex-start; }
  .v90-composer { grid-template-columns: auto 1fr; }
  .v90-composer .v90-send { grid-column: 1 / -1; width: 100%; }
  .v90-thread .chat-bubble { width: 90%; }
}


/* V92 ACCES BENEFICIAIRE START */

.v92-account-access {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.v92-account-buttons {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  flex-wrap: wrap;
}

.v92-account-proofs {
  display: grid;
  gap: 8px;
  max-width: 760px;
}

.v92-access-proof {
  border: 1px solid #d7e3ef;
  border-radius: 11px;
  padding: 10px 13px;
  font-size: 13px;
  font-weight: 700;
}

.v92-access-proof-invited {
  background: #fff7e6;
  border-color: #efd49c;
  color: #8a5a00;
}

.v92-access-proof-active {
  background: #eaf9f0;
  border-color: #a7dfbc;
  color: #126b38;
}

.v92-access-proof-pending {
  background: #f5f8fb;
  color: #60758b;
}

@media (max-width: 700px) {
  .v92-account-buttons {
    align-items: stretch;
  }

  .v92-account-buttons .btn {
    width: 100%;
  }
}

/* V92 ACCES BENEFICIAIRE END */

/* V94 — Satisfaction bénéficiaire, raccordée au cycle Qualiopi */
.v90-section{margin-top:20px}.v90-section>h3{margin:0 0 11px;color:var(--v90-ink,#17324d)}
.v90-satisfaction-card{position:relative;overflow:hidden}.v90-satisfaction-card:before{content:'';position:absolute;left:0;top:0;bottom:0;width:5px;background:#9cb3c7}.v90-satisfaction-card.available:before{background:#1aa97a}.v90-satisfaction-card.answered:before{background:#075fa8}
.v90-satisfaction-card .v90-btn{width:100%;margin-top:12px}.v90-satisfaction-card .v90-eyebrow{color:#1aa97a;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.06em}

/* V133 — devis, signatures et factures définitifs */
.v133-commercial-card{display:flex;flex-direction:column;gap:14px}
.v133-commercial-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.v133-commercial-summary>div{padding:12px;border:1px solid var(--v90-border);border-radius:12px;background:#f8fbfe;display:flex;flex-direction:column;gap:4px}
.v133-commercial-summary small{color:var(--v90-muted);font-size:.78rem}
.v133-commercial-summary strong{font-size:1.04rem;color:var(--v90-text)}
.v133-commercial-actions{display:flex;gap:9px;flex-wrap:wrap;align-items:center}
.v133-sign-form{padding:16px;border:1px solid #b8d5ed;border-radius:14px;background:#f5faff;display:flex;flex-direction:column;gap:12px}
.v133-sign-form[hidden]{display:none!important}
.v133-check{display:flex;gap:9px;align-items:flex-start;line-height:1.4;color:var(--v90-text)}
.v133-check input{margin-top:3px;width:17px;height:17px;flex:0 0 auto}
.v90-badge.orange{background:#fff3dd;color:#9b5b00}
.v90-badge.green{background:#e8f7ed;color:#176a36}
.v90-badge.red{background:#fdeaea;color:#9b2626}
.v90-badge.purple{background:#f1ebff;color:#5e3ca8}
.v90-badge.grey{background:#eef2f5;color:#53616c}
@media(max-width:680px){.v133-commercial-summary{grid-template-columns:1fr}.v133-commercial-actions .v90-btn{width:100%;justify-content:center}}


/* V169 — décision du devis visible dans le portail bénéficiaire */
.v133-commercial-card.is-signed{border-color:#a9d9b8;background:linear-gradient(135deg,rgba(232,247,237,.78),rgba(255,255,255,.98) 58%);box-shadow:0 8px 24px rgba(23,106,54,.08)}
.v133-commercial-card.is-refused{border-color:#efb5b0;background:linear-gradient(135deg,rgba(253,234,234,.82),rgba(255,255,255,.98) 58%);box-shadow:0 8px 24px rgba(155,38,38,.07)}
.v169-decision-notice.signed{border-color:#a9d9b8;background:#effaf3;color:#176a36}
.v169-decision-notice.signed small{color:#367c50}

/* ===== Source : /v101-styles.css ===== */
/* ============================================================
   V101 — Centre de rapports questionnaire, versionnement et envoi
   ============================================================ */
.qa101-summary { margin-bottom: 18px; }
.qa101-consent { margin-bottom: 18px; }
.qa101-modules { display: grid; gap: 18px; margin-top: 18px; }
.qa101-module-card { overflow: hidden; }
.qa101-module-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; }
.qa101-module-head h2 { margin: 2px 0 4px; }
.qa101-module-head p { margin: 0; color: var(--muted); }
.qa101-eyebrow { color: var(--accent); font-size: 11px; font-weight: 850; letter-spacing: .08em; }
.qa101-status-column { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.qa101-progress { margin: 14px 0; }
.qa101-inline-notice { margin: 12px 0; }
.qa101-empty { margin: 12px 0; padding: 16px; }
.qa101-version-actions { margin: 14px 0 10px; }
.qa101-generate-row { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.qa101-report-details, .qa101-history { margin-top: 12px; border: 1px solid var(--line); border-radius: 12px; background: #fbfdff; }
.qa101-report-details > summary, .qa101-history > summary { cursor: pointer; list-style: none; padding: 12px 14px; font-weight: 780; color: var(--accent-dark); }
.qa101-report-details > summary::-webkit-details-marker, .qa101-history > summary::-webkit-details-marker { display: none; }
.qa101-report-details > summary::after, .qa101-history > summary::after { content: '▾'; float: right; color: var(--muted); }
.qa101-report-details[open] > summary::after, .qa101-history[open] > summary::after { content: '▴'; }
.qa101-report-sheet { background: #fff; border-top: 1px solid var(--line); padding: 18px; }
.qa101-report-meta { color: var(--muted); font-size: 12px; margin-bottom: 14px; }
.qa101-report-content h2, .qa101-report-content h3 { color: var(--accent-dark); }
.qa101-report-content p, .qa101-report-content li { line-height: 1.65; }
.qa101-history-list { display: grid; gap: 10px; padding: 0 12px 12px; }
.qa101-history-item { border: 1px solid var(--line); border-radius: 11px; background: #fff; padding: 13px; }
.qa101-history-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.qa101-cross { margin-top: 26px; padding-top: 20px; border-top: 2px solid var(--line); }
.qa101-cross-actions { max-width: 900px; margin: 12px auto 0; justify-content: flex-end; }
.qa101-modal-backdrop { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 18px; background: rgba(0,37,86,.46); }
.qa101-modal { width: min(720px, 100%); max-height: 92vh; overflow: auto; background: #fff; border-radius: 17px; padding: 20px; box-shadow: 0 30px 90px rgba(0,0,0,.24); }
.qa101-client-card .qa101-report-sheet { border: 1px solid var(--line); border-radius: 12px; margin: 16px 0; }
@media (max-width: 760px) {
  .qa101-module-head, .qa101-history-head { display: grid; }
  .qa101-status-column { justify-content: flex-start; }
  .qa101-version-actions .btn, .qa101-generate-row .btn { width: 100%; text-align: center; }
}

/* ===== Source : /questionnaire-passations-v160.css ===== */
.qa-passations-card{margin-bottom:16px}
.qa-passation-list{display:grid;gap:10px}
.qa-passation-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border:1px solid #d7e3ef;border-radius:12px;background:#fff}
.qa-passation-row.selected{border-color:#0b67a3;background:#f2f8fd}
.qa-passation-row>div:first-child{display:grid;gap:4px;min-width:0}
.qa-passation-row small{color:#5c7389}
.qa-passation-row .actions,.v34-test-row .actions{display:flex;align-items:center;gap:6px;flex-wrap:nowrap}
.qa-passation-row .actions{justify-content:flex-end}
.qa-v160-backdrop{position:fixed;inset:0;display:flex;align-items:center;justify-content:center;padding:24px;background:rgba(15,23,42,.35);z-index:9999}
.qa-v160-backdrop .v34-modal{margin:0;width:min(680px,calc(100vw - 32px));max-height:calc(100vh - 48px);overflow:auto;box-sizing:border-box}
.qa-v160-backdrop .notice{margin:12px 0}
.v34-test-row{display:flex;align-items:center;gap:8px;flex-wrap:nowrap}
.v34-test-row .actions{margin-left:auto}
.v34-test-row strong,.v34-test-row span,.v34-test-row small{white-space:nowrap}
.btn.btn-danger{background:#fff0f0;border-color:#f3caca;color:#b42318}
.btn.btn-danger:hover{background:#ffe3e3}
@media(max-width:980px){.v34-test-row{flex-wrap:wrap}.v34-test-row .actions{width:100%;margin-left:0;justify-content:flex-start}.v34-test-row strong,.v34-test-row span,.v34-test-row small{white-space:normal}}
@media(max-width:780px){.qa-passation-row{align-items:flex-start;flex-direction:column}.qa-passation-row .actions{width:100%;justify-content:flex-start;flex-wrap:wrap}.qa-v160-backdrop{padding:12px}.qa-v160-backdrop .v34-modal{width:min(100%,calc(100vw - 16px));max-height:calc(100vh - 24px)}}

/* ===== Source : /v103_offres_emploi.css ===== */
.v103-card{border:1px solid #d6e3ef;background:#fff;border-radius:16px;padding:18px;box-shadow:0 8px 22px rgba(20,63,96,.06)}
.v103-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.v103-grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.v103-full{grid-column:1/-1}.v103-help{font-size:.88rem;color:#526b80;margin-top:6px}.v103-code-row{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:end}
.v103-suggestions{position:relative}.v103-suggestions-list{position:absolute;z-index:60;left:0;right:0;top:4px;background:#fff;border:1px solid #c9d9e7;border-radius:12px;box-shadow:0 14px 35px rgba(15,52,80,.18);max-height:280px;overflow:auto;padding:6px}
.v103-suggestion{display:block;width:100%;text-align:left;border:0;background:#fff;padding:9px 10px;border-radius:8px;cursor:pointer;color:#18324a}.v103-suggestion:hover{background:#edf6fc}.v103-suggestion strong{display:inline-block;min-width:58px;color:#0065a8}
.v103-range{display:flex;gap:12px;align-items:center}.v103-range input{flex:1}.v103-range-output{min-width:70px;font-weight:800;color:#005f9f}
.v103-offer-list{display:grid;gap:13px}.v103-offer{border:1px solid #d6e3ef;border-radius:14px;padding:16px;background:#fff}.v103-offer h3{margin:0 0 5px;color:#143b5a}.v103-offer-meta{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}.v103-chip{font-size:.82rem;background:#eef5fa;border:1px solid #d7e5ef;border-radius:999px;padding:4px 9px}.v103-offer-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:12px}.v103-sent{color:#1a7b47;font-weight:800;font-size:.9rem}
.v103-history{display:grid;gap:8px}.v103-history-item{display:flex;justify-content:space-between;gap:14px;padding:10px 0;border-bottom:1px solid #e6eef4}.v103-history-item:last-child{border-bottom:0}.v103-muted{color:#60798e}.v103-warning{border-left:4px solid #e2a82d}.v103-empty{padding:28px;text-align:center;color:#60798e}
.v103-message-link{color:#0067a9;text-decoration:underline;overflow-wrap:anywhere}
@media(max-width:900px){.v103-grid,.v103-grid-3{grid-template-columns:1fr}.v103-full{grid-column:auto}.v103-code-row{grid-template-columns:1fr}.v103-history-item{display:block}}

/* ===== Source : /v137_fiches_metiers.css ===== */
.v137-rome-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:10px}.v137-sheet-button:disabled,.v137-compare-row button:disabled{opacity:.5;cursor:not-allowed}.v137-compare-row{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-top:-2px;margin-bottom:4px}.v137-compare-help{font-size:.84rem;color:#587086}.v137-modal-open{overflow:hidden}.v137-modal-overlay{position:fixed;inset:0;z-index:9999;background:rgba(10,35,55,.58);backdrop-filter:blur(3px);display:flex;align-items:center;justify-content:center;padding:24px}.v137-modal{width:min(1320px,96vw);max-height:94vh;background:#f7fbfe;border:1px solid #c8dbea;border-radius:18px;box-shadow:0 24px 80px rgba(7,35,55,.34);display:flex;flex-direction:column;overflow:hidden}.v137-modal-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 18px;background:#fff;border-bottom:1px solid #dbe7f0}.v137-modal-toolbar>div{display:flex;align-items:center;gap:10px}.v137-close{width:42px;height:42px;border:0;border-radius:10px;background:#e9f2f8;color:#123e5d;font-size:28px;line-height:1;cursor:pointer}.v137-close:hover{background:#d8e9f4}.v137-modal-body{overflow:auto;padding:20px}.v137-loading{min-height:320px;display:grid;place-content:center;text-align:center;color:#45657c}.v137-loading span{width:38px;height:38px;border:4px solid #d7e7f2;border-top-color:#0066a5;border-radius:50%;animation:v137-spin .8s linear infinite;margin:0 auto 14px}@keyframes v137-spin{to{transform:rotate(360deg)}}.v137-sheet-header{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;padding:4px 2px 18px}.v137-sheet-header h2,.v137-compare-title h3{margin:8px 0 0;color:#0d3858}.v137-sheet-header p{margin:4px 0;color:#5d7487;font-size:.88rem}.v137-code{display:inline-flex;align-items:center;border-radius:999px;background:#e8f3fa;color:#005f9f;font-weight:800;padding:5px 10px;letter-spacing:.03em}.v137-section-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.v137-section{background:#fff;border:1px solid #d7e5ef;border-radius:14px;padding:16px;min-width:0}.v137-section.v137-wide{grid-column:1/-1}.v137-section h3,.v137-transfer-section h3,.v137-skill-gap h3{margin:0 0 10px;color:#123e5d}.v137-section p,.v137-compare-block p{margin:0;line-height:1.55;color:#304e63}.v137-list{margin:0;padding-left:20px;display:grid;gap:7px;color:#294a61}.v137-chips{display:flex;flex-wrap:wrap;gap:8px}.v137-chips span{background:#edf6fc;border:1px solid #cfe2ef;border-radius:999px;padding:6px 10px;color:#174d70;font-size:.9rem}.v137-empty,.v137-error{background:#fff;border:1px solid #d7e5ef;border-radius:14px;padding:20px}.v137-error{border-left:5px solid #c83d3d}.v137-error p{margin-bottom:0}.v137-comparison-head{background:#edf6fc;border:1px solid #d0e4f0;border-radius:12px;padding:12px 14px;margin-bottom:14px;color:#345870}.v137-comparison-head p{margin:0}.v137-compare-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.v137-compare-column{background:#fff;border:1px solid #d7e5ef;border-radius:14px;padding:16px}.v137-compare-title{padding-bottom:12px;border-bottom:1px solid #e4edf4;margin-bottom:12px}.v137-compare-block{padding:11px 0;border-bottom:1px solid #eef3f7}.v137-compare-block:last-child{border-bottom:0}.v137-compare-block h4{margin:0 0 7px;color:#1b5276}.v137-transfer-section{margin-top:16px;background:#eef9f2;border:1px solid #c8e9d4;border-radius:14px;padding:16px}.v137-skill-gap{margin-top:16px}.v137-skill-gap section{background:#fff;border:1px solid #d7e5ef;border-radius:14px;padding:16px}.v137-muted{color:#61788a}.v137-source-note{margin:16px 0 0;font-size:.84rem;color:#60778a}.v137-source-note,.v137-compare-help{line-height:1.4}
@media(max-width:900px){.v137-modal-overlay{padding:8px}.v137-modal{width:100%;max-height:98vh;border-radius:12px}.v137-modal-body{padding:12px}.v137-section-grid,.v137-compare-grid{grid-template-columns:1fr}.v137-section.v137-wide{grid-column:auto}.v137-sheet-header{display:block}.v137-compare-row{align-items:stretch;flex-direction:column}.v137-rome-actions{justify-content:stretch}.v137-rome-actions button,.v137-compare-row button{width:100%}}
@media print{body.v137-print-active>*{display:none!important}body.v137-print-active>.v137-modal-overlay{display:block!important;position:static;background:#fff;padding:0}body.v137-print-active .v137-modal{display:block;width:100%;max-height:none;border:0;box-shadow:none}body.v137-print-active .v137-modal-toolbar{display:none}body.v137-print-active .v137-modal-body{overflow:visible;padding:0}body.v137-print-active .v137-section,body.v137-print-active .v137-compare-column,body.v137-print-active .v137-transfer-section,body.v137-print-active .v137-skill-gap section{break-inside:avoid}}

/* ===== Source : /v191_navigation_dossier.css ===== */
/* Nouveau Cap V191.1 — Navigation contextuelle du dossier bénéficiaire */
.nc-dossier-navigation {
  position: sticky;
  top: 0;
  z-index: 45;
  margin: 0 0 18px;
  border: 1px solid #cbddea;
  border-radius: 16px;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 10px 28px rgba(8, 41, 75, .08);
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.nc-dossier-context {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 14px 10px;
  border-bottom: 1px solid #e4edf4;
}

.nc-dossier-context-main {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.nc-dossier-avatar {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e0f1fb;
  color: #0066a2;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .04em;
}

.nc-dossier-identity {
  min-width: 0;
}

.nc-dossier-identity strong {
  display: block;
  color: #092d50;
  font-size: 15px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nc-dossier-identity span {
  display: block;
  margin-top: 3px;
  color: #60788e;
  font-size: 12px;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nc-dossier-back {
  flex: 0 0 auto;
  border: 1px solid #cbddea;
  border-radius: 10px;
  background: #fff;
  color: #123d62;
  padding: 8px 11px;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.nc-dossier-back:hover {
  background: #f3f8fc;
}

.nc-dossier-tabs {
  display: flex;
  align-items: stretch;
  gap: 3px;
  padding: 7px 9px 9px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.nc-dossier-tab {
  flex: 0 0 auto;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #48667f;
  padding: 10px 13px;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s ease, color .15s ease, box-shadow .15s ease;
}

.nc-dossier-tab:hover {
  color: #075f98;
  background: #edf6fc;
}

.nc-dossier-tab.active {
  color: #fff;
  background: #08679f;
  box-shadow: 0 5px 12px rgba(8, 103, 159, .18);
}

.nc-dossier-tab-icon {
  margin-right: 6px;
  font-weight: 900;
}

.nc-beneficiary-time-page .nc-time-summary {
  margin-bottom: 16px;
}

.nc-beneficiary-time-page .nc-time-table td,
.nc-beneficiary-time-page .nc-commercial-table td {
  vertical-align: middle;
}

.nc-beneficiary-time-page .nc-time-origin {
  display: inline-flex;
  align-items: center;
  padding: 5px 8px;
  border-radius: 999px;
  background: #edf5fb;
  color: #246184;
  font-size: 11px;
  font-weight: 800;
}

.nc-beneficiary-time-page .nc-commercial-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.nc-beneficiary-time-page .nc-section-space {
  margin-top: 16px;
}

@media (max-width: 900px) {
  .nc-dossier-navigation {
    position: static;
  }

  .nc-dossier-context {
    align-items: flex-start;
  }

  .nc-dossier-context-main {
    min-width: 0;
  }

  .nc-dossier-tab {
    padding: 9px 11px;
  }
}

@media (max-width: 620px) {
  .nc-dossier-context {
    display: block;
  }

  .nc-dossier-back {
    margin-top: 10px;
  }

  .nc-dossier-tabs {
    padding-left: 7px;
    padding-right: 7px;
  }
}

/* ===== Source : /v192_navigation_dossier_enrichie.css ===== */
/* Nouveau Cap V192 — Navigation dossier enrichie */
.nc-dossier-tabs-v192 {
  gap: 2px;
}

.nc-dossier-tabs-v192 .nc-dossier-tab {
  padding-left: 11px;
  padding-right: 11px;
}

.nc-beneficiary-groups-grid {
  align-items: stretch;
}

.nc-beneficiary-group-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nc-beneficiary-group-card .section-title {
  margin-bottom: 0;
}

.nc-beneficiary-group-card .notice {
  margin-top: auto;
}

.nc-beneficiary-group-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nc-beneficiary-group-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 7px 9px;
  border-radius: 10px;
  background: #f1f6fa;
  color: #4a667e;
  font-size: 12px;
}

#v103-employment-profile-form + .v103-card {
  margin-top: 16px;
}

@media (max-width: 1180px) {
  .nc-dossier-tabs-v192 .nc-dossier-tab {
    padding-left: 10px;
    padding-right: 10px;
  }
}

/* ===== Source : /v193_advisor_library.css ===== */
.nc-v193-personal-notice{display:flex;gap:14px;align-items:flex-start;padding:16px 18px;margin-bottom:16px;border:1px solid #bfdced;border-radius:15px;background:#eef8ff;color:#123b59}.nc-v193-personal-notice>span{font-size:23px}.nc-v193-personal-notice strong{display:block;font-size:15px}.nc-v193-personal-notice p{margin:4px 0 0;color:#4a708b;line-height:1.45}.nc-v193-controls{display:grid;grid-template-columns:minmax(280px,1fr) 210px 100px;gap:12px;align-items:end;margin-bottom:16px;padding:14px}.nc-v193-search{display:flex;align-items:center;gap:9px;border:1px solid #c9dceb;border-radius:11px;background:#fff;padding:0 12px;min-height:43px}.nc-v193-search input{width:100%;border:0;outline:0;background:transparent;font:inherit;color:#12324a}.nc-v193-filter{display:grid;gap:5px;font-size:12px;font-weight:800;color:#37566e}.nc-v193-filter select{min-height:43px;border:1px solid #c9dceb;border-radius:11px;background:#fff;padding:0 11px;color:#12324a}.nc-v193-count{display:grid;justify-items:center;align-content:center;min-height:43px;border-radius:11px;background:#f1f6fa}.nc-v193-count strong{font-size:20px;color:#005f9e}.nc-v193-count span{font-size:10px;color:#5a7488}.nc-v193-library-table{display:grid;gap:10px}.nc-v193-library-head,.nc-v193-library-row{display:grid;grid-template-columns:72px minmax(180px,1.55fr) minmax(180px,1.45fr) 80px 118px 78px 140px 70px minmax(200px,1.2fr);gap:10px;align-items:center}.nc-v193-library-head{padding:0 14px;color:#567386;font-size:11px;font-weight:900;letter-spacing:.03em;text-transform:uppercase}.nc-v193-library-body{display:grid;gap:10px}.nc-v193-library-row{background:#fff;border:1px solid #d4e3ee;border-radius:14px;padding:12px 14px;box-shadow:0 8px 22px rgba(25,62,88,.05)}.nc-v193-library-row[hidden]{display:none}.nc-v193-col-type{display:flex;justify-content:center}.nc-v193-file-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:13px;background:#e7f3fb;color:#0064a3;font-size:12px;font-weight:900;letter-spacing:.03em}.nc-v193-pdf{background:#fff0f0;color:#b12d35}.nc-v193-doc,.nc-v193-docx{background:#eaf3ff;color:#1c5fa8}.nc-v193-xls,.nc-v193-xlsx{background:#eaf8ef;color:#247146}.nc-v193-odt,.nc-v193-ott,.nc-v193-odm{background:#e7f3ff;color:#2469aa}.nc-v193-ods,.nc-v193-ots{background:#e8f8ef;color:#247146}.nc-v193-odp,.nc-v193-otp{background:#fff1e5;color:#a55216}.nc-v193-odg,.nc-v193-otg{background:#f2ebff;color:#7446a8}.nc-v193-odb,.nc-v193-odf{background:#eef1f4;color:#435463}.nc-v193-jpg,.nc-v193-jpeg,.nc-v193-png,.nc-v193-webp{background:#f3edff;color:#7446a8}.nc-v193-col-document strong{display:block;color:#0d304b;font-size:15px;line-height:1.3;overflow-wrap:anywhere}.nc-v193-col-document small{display:block;margin-top:3px;color:#627b8f;overflow-wrap:anywhere}.nc-v193-col-description{color:#456176;line-height:1.4}.nc-v193-format{display:inline-flex;align-items:center;justify-content:center;padding:5px 8px;border-radius:999px;background:#f0f5f8;color:#456176;font-size:10px;font-weight:900}.nc-v193-col-size,.nc-v193-col-date{color:#567386;font-size:13px}.nc-v193-col-usage{display:grid;justify-items:center;gap:2px}.nc-v193-col-usage strong{font-size:18px;color:#005f9e;line-height:1}.nc-v193-col-usage small{color:#5a7488;font-size:11px}.nc-v193-col-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:8px}.nc-v193-row-menu{position:relative}.nc-v193-row-menu summary{list-style:none}.nc-v193-row-menu summary::-webkit-details-marker{display:none}.nc-v193-row-menu-panel{position:absolute;right:0;top:calc(100% + 8px);z-index:3;display:grid;gap:8px;min-width:178px;padding:10px;border:1px solid #d4e3ee;border-radius:14px;background:#fff;box-shadow:0 16px 34px rgba(15,39,57,.18)}.nc-v193-row-menu:not([open]) .nc-v193-row-menu-panel{display:none}.nc-v193-empty{display:grid;justify-items:center;text-align:center;gap:8px;padding:46px 20px;border:1px dashed #bed4e3;border-radius:16px;background:#fff;color:#547187}.nc-v193-empty>span{font-size:34px;color:#1474ad}.nc-v193-empty h2{margin:0;color:#12324a}.nc-v193-empty p{margin:0 0 8px}.nc-v193-empty.compact{padding:25px 16px}.nc-v193-loading{display:flex;gap:12px;align-items:center;justify-content:center;padding:45px}.nc-v193-spinner{width:24px;height:24px;border:3px solid #d6e6f0;border-top-color:#006aa7;border-radius:50%;animation:ncV193Spin .8s linear infinite}@keyframes ncV193Spin{to{transform:rotate(360deg)}}.nc-v193-dialog-backdrop{position:fixed;inset:0;z-index:10050;display:grid;place-items:center;padding:24px;background:rgba(15,39,57,.62);overflow:auto}.nc-v193-dialog{width:min(660px,100%);max-height:calc(100vh - 48px);overflow:auto;background:#fff;border-radius:19px;box-shadow:0 28px 80px rgba(0,0,0,.3)}.nc-v193-dialog.wide{width:min(880px,100%)}.nc-v193-dialog>header{position:sticky;top:0;z-index:2;display:flex;justify-content:space-between;gap:15px;align-items:flex-start;padding:19px 21px;border-bottom:1px solid #dce8f0;background:#fff}.nc-v193-dialog h2{margin:3px 0 0;color:#102f48}.nc-v193-dialog-body{padding:20px}.nc-v193-picker-list{display:grid;gap:9px;margin-top:14px;max-height:520px;overflow:auto}.nc-v193-picker-row{display:grid;grid-template-columns:46px minmax(0,1fr) auto;gap:12px;align-items:center;padding:11px;border:1px solid #d6e5ef;border-radius:13px;background:#fbfdff}.nc-v193-picker-row[hidden]{display:none}.nc-v193-picker-row strong{display:block;color:#12324a}.nc-v193-picker-row small{display:block;margin-top:3px;color:#647f92}.nc-v193-dialog .notice{line-height:1.45}@media(max-width:1280px){.nc-v193-library-head,.nc-v193-library-row{grid-template-columns:64px minmax(180px,1.45fr) minmax(160px,1.25fr) 76px 110px 76px 124px 68px minmax(180px,1.15fr)}}@media(max-width:1080px){.nc-v193-controls{grid-template-columns:1fr 1fr}.nc-v193-count{grid-column:1/-1}.nc-v193-library-head{display:none}.nc-v193-library-row{grid-template-columns:56px minmax(0,1fr);align-items:start}.nc-v193-col-type{grid-row:1/span 2}.nc-v193-col-document{grid-column:2}.nc-v193-col-description,.nc-v193-col-format,.nc-v193-col-security,.nc-v193-col-size,.nc-v193-col-date,.nc-v193-col-usage{grid-column:2}.nc-v193-col-actions{grid-column:1/-1;justify-content:flex-start;padding-top:4px}.nc-v193-row-menu-panel{right:auto;left:0}}@media(max-width:620px){.nc-v193-controls{grid-template-columns:1fr}.nc-v193-count{grid-column:auto}.nc-v193-col-actions{flex-direction:column;align-items:stretch}.nc-v193-col-actions>.btn,.nc-v193-col-actions .btn{width:100%;justify-content:center}.nc-v193-row-menu{width:100%}.nc-v193-row-menu summary{width:100%}.nc-v193-row-menu-panel{position:static;margin-top:8px;box-shadow:none}.nc-v193-picker-row{grid-template-columns:42px minmax(0,1fr)}.nc-v193-picker-row .btn{grid-column:1/-1}.nc-v193-dialog-backdrop{padding:8px}.nc-v193-dialog{max-height:calc(100vh - 16px);border-radius:14px}}
/* V201 — état de sécurité des documents */
.nc-v201-security-badge{display:inline-flex;align-items:center;gap:5px;width:max-content;margin-top:5px;padding:3px 8px;border-radius:999px;font-size:11px;font-weight:800;line-height:1.2;border:1px solid transparent}
.nc-v201-security-badge b{display:grid;place-items:center;width:15px;height:15px;border-radius:50%;font-size:10px}
.nc-v201-security-badge.is-clean{color:#087443;background:#e8f8ef;border-color:#b9e8cc}
.nc-v201-security-badge.is-clean b{color:#fff;background:#0f9f5a}
.nc-v201-security-badge.is-pending{color:#735c00;background:#fff7d6;border-color:#f1dd88}
.nc-v201-security-badge.is-pending b{color:#735c00;background:#f5df7b}
.nc-v201-security-badge.is-blocked,.nc-v201-security-badge.is-error{color:#a21d18;background:#fff0ef;border-color:#f3c0bd}
.nc-v201-security-badge.is-blocked b,.nc-v201-security-badge.is-error b{color:#fff;background:#c7352f}

/* V201.1 — statut de sécurité explicitement visible dans une colonne dédiée */
.nc-v193-col-security{display:flex;align-items:center;min-width:0}
.nc-v193-col-security .nc-v201-security-badge{margin-top:0;white-space:nowrap}

/* ===== Source : /v193_2_messagerie_dossier.css ===== */
/* Nouveau Cap V193.2 — Messagerie contextuelle d'un dossier bénéficiaire */
.nc-dossier-message-only{width:100%;margin-top:16px}
.nc-dossier-message-only>.thread-card{width:100%;min-height:620px}
.nc-dossier-message-only .thread-messages{max-height:620px}
@media(max-width:760px){.nc-dossier-message-only>.thread-card{min-height:520px}.nc-dossier-message-only .thread-messages{max-height:520px}}

/* ===== Source : /v193_3_messagerie_whatsapp.css ===== */
/* V193.3 — Habillage messagerie type WhatsApp */
.thread-card .thread-messages{
  gap:14px;
  padding:22px 0;
  background:linear-gradient(180deg,#fbfdff 0%,#f6fbff 100%);
}
.thread-card .chat-bubble{
  position:relative;
  width:min(74%, 760px);
  border-radius:18px;
  padding:12px 14px 11px;
  box-shadow:0 8px 22px rgba(0,37,86,.06);
}
.thread-card .chat-bubble.received{
  align-self:flex-start;
  background:#eaf6ff;
  border:1px solid #c9e0f2;
  color:#16354d;
  border-top-left-radius:8px;
}
.thread-card .chat-bubble.own{
  align-self:flex-end;
  background:#0c6fb0;
  border:1px solid #0c6fb0;
  color:#fff;
  border-top-right-radius:8px;
}
.thread-card .chat-bubble.received::before,
.thread-card .chat-bubble.own::before{
  content:'';
  position:absolute;
  top:10px;
  width:12px;
  height:12px;
  transform:rotate(45deg);
}
.thread-card .chat-bubble.received::before{
  left:-6px;
  background:#eaf6ff;
  border-left:1px solid #c9e0f2;
  border-bottom:1px solid #c9e0f2;
}
.thread-card .chat-bubble.own::before{
  right:-6px;
  background:#0c6fb0;
  border-right:1px solid #0c6fb0;
  border-top:1px solid #0c6fb0;
}
.thread-card .chat-bubble .chat-meta{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
  margin-bottom:6px;
}
.thread-card .chat-bubble.own .chat-meta{
  text-align:right;
}
.thread-card .chat-bubble .chat-meta strong{
  font-size:12px;
  letter-spacing:.01em;
}
.thread-card .chat-bubble .chat-meta span{
  font-size:11px;
  opacity:.85;
  white-space:nowrap;
}
.thread-card .chat-bubble.own .chat-meta,
.thread-card .chat-bubble.own .chat-meta strong,
.thread-card .chat-bubble.own .chat-meta span,
.thread-card .chat-bubble.own p,
.thread-card .chat-bubble.own .v73-rdv-inline-title,
.thread-card .chat-bubble.own .v73-rdv-inline-text{
  color:#fff;
}
.thread-card .chat-bubble p{
  margin:0;
  line-height:1.6;
  color:inherit;
}
.thread-card .chat-bubble .message-attachments{
  display:flex;
  flex-direction:column;
  gap:8px;
  margin-top:10px;
}
.thread-card .chat-bubble .message-attachment{
  display:inline-flex;
  align-items:center;
  gap:6px;
  max-width:100%;
  padding:8px 10px;
  border-radius:12px;
  text-decoration:none;
}
.thread-card .chat-bubble.received .message-attachment{
  background:#ffffffd8;
  border:1px solid #cde2f0;
  color:#14435f;
}
.thread-card .chat-bubble.own .message-attachment{
  background:rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.24);
  color:#fff;
}
.thread-card .chat-bubble .message-attachment span{
  opacity:.85;
  font-size:11px;
}
.thread-card .chat-bubble .v73-rdv-inline-card{
  margin-top:10px;
  padding:11px 12px;
  border-radius:14px;
}
.thread-card .chat-bubble.received .v73-rdv-inline-card{
  background:#ffffffd9;
  border:1px solid #d5e8f5;
}
.thread-card .chat-bubble.own .v73-rdv-inline-card{
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.24);
}
.thread-card .chat-bubble .v73-rdv-inline-actions{ display:flex; flex-wrap:wrap; gap:8px; margin-top:10px; }
.thread-card .chat-bubble .v73-rdv-status.accepted,
.thread-card .chat-bubble .v73-rdv-status.refused,
.thread-card .chat-bubble .v73-rdv-status.pending{
  display:inline-flex;
  align-items:center;
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:700;
}
.thread-card .chat-bubble.received .v73-rdv-status.accepted{ background:#e7f7f0; color:#1d6c4a; }
.thread-card .chat-bubble.received .v73-rdv-status.refused{ background:#fff0f0; color:#b53d48; }
.thread-card .chat-bubble.received .v73-rdv-status.pending{ background:#f0f5fa; color:#48667c; }
.thread-card .chat-bubble.own .v73-rdv-status.accepted,
.thread-card .chat-bubble.own .v73-rdv-status.refused,
.thread-card .chat-bubble.own .v73-rdv-status.pending{
  background:rgba(255,255,255,.16); color:#fff; border:1px solid rgba(255,255,255,.22);
}
.thread-card .chat-bubble .btn.btn-small{ min-height:34px; }
.thread-card .chat-bubble.own .btn.btn-secondary,
.thread-card .chat-bubble.own .btn.btn-primary{
  border-color:rgba(255,255,255,.35);
}
.thread-card .chat-bubble.own .btn.btn-secondary{
  background:#fff;
  color:#0c6fb0;
}
.thread-card .chat-bubble.own .btn.btn-primary{
  background:#0a4f80;
  color:#fff;
}
@media (max-width: 900px){
  .thread-card .chat-bubble{ width:86%; }
}
@media (max-width: 640px){
  .thread-card .chat-bubble{ width:92%; }
  .thread-card .chat-bubble .chat-meta{ flex-direction:column; align-items:flex-start; gap:4px; }
  .thread-card .chat-bubble.own .chat-meta{ align-items:flex-end; }
}

/* ===== Source : /v194_compact_ui.css ===== */
/* ============================================================
   Nouveau Cap V194 — densité bureau administrateur/conseiller
   Scope strict : body.nc-v194-compact
   ============================================================ */

body.nc-v194-compact {
  font-size: 14px;
}

body.nc-v194-compact .app-shell {
  grid-template-columns: 224px minmax(0, 1fr);
}

body.nc-v194-compact .sidebar {
  padding: 14px 10px;
  gap: 12px;
}

body.nc-v194-compact .logo-wrap {
  min-height: 92px;
}

body.nc-v194-compact .logo {
  width: 168px;
  max-width: 100%;
}

body.nc-v194-compact .sidebar > div:not(.logo-wrap):not(.sidebar-bottom) {
  line-height: 1.3;
}

body.nc-v194-compact .nav {
  gap: 2px;
}

body.nc-v194-compact .nav button {
  min-height: 34px;
  padding: 7px 9px;
  gap: 8px;
  border-radius: 9px;
  font-size: 13px;
  line-height: 1.2;
}

body.nc-v194-compact .nav button > span:first-child {
  min-width: 15px;
  text-align: center;
}

body.nc-v194-compact .nav small {
  padding: 7px 8px 2px !important;
  font-size: 10px;
}

body.nc-v194-compact .sidebar-bottom {
  padding: 9px;
  border-radius: 11px;
  font-size: 12px;
}

body.nc-v194-compact .sidebar-bottom .btn {
  margin-top: 8px !important;
}

body.nc-v194-compact .main {
  padding: 15px 18px 26px;
}

body.nc-v194-compact .topbar {
  gap: 12px;
  margin-bottom: 13px;
}

body.nc-v194-compact .topbar h1 {
  font-size: 23px;
  line-height: 1.1;
}

body.nc-v194-compact .topbar .subtitle,
body.nc-v194-compact .subtitle {
  margin-top: 3px;
  font-size: 12.5px;
  line-height: 1.35;
}

body.nc-v194-compact .actions {
  gap: 7px;
}

body.nc-v194-compact .btn {
  border-radius: 9px;
  padding: 7px 11px;
  font-size: 12.5px;
  line-height: 1.25;
}

body.nc-v194-compact .btn-small {
  padding: 5px 8px;
  font-size: 11.5px;
}

body.nc-v194-compact .grid {
  gap: 11px;
}

body.nc-v194-compact .grid-2,
body.nc-v194-compact .grid-3,
body.nc-v194-compact .grid-4 {
  gap: 11px;
}

body.nc-v194-compact .card {
  padding: 13px;
  border-radius: 14px;
  box-shadow: 0 7px 20px rgba(0, 37, 86, .065);
}

body.nc-v194-compact .card h2,
body.nc-v194-compact .card h3 {
  margin-bottom: 7px;
  line-height: 1.2;
}

body.nc-v194-compact .card h2 {
  font-size: 18px;
}

body.nc-v194-compact .card h3 {
  font-size: 15px;
}

body.nc-v194-compact .card p {
  line-height: 1.4;
}

body.nc-v194-compact .kpi {
  min-height: 86px;
}

body.nc-v194-compact .kpi .label {
  font-size: 11.5px;
}

body.nc-v194-compact .kpi .value {
  margin-top: 5px;
  font-size: 25px;
  line-height: 1.05;
}

body.nc-v194-compact .kpi .hint {
  margin-top: 3px;
  font-size: 11px;
  line-height: 1.25;
}

body.nc-v194-compact .dashboard-grid {
  grid-template-columns: minmax(0, 1.42fr) minmax(300px, .68fr);
  gap: 11px;
}

body.nc-v194-compact .section-title {
  margin-bottom: 9px;
}

body.nc-v194-compact .section-title p {
  margin-top: 2px;
  line-height: 1.35;
}

body.nc-v194-compact th {
  padding: 7px 8px;
  font-size: 10.5px;
}

body.nc-v194-compact td {
  padding: 8px;
  line-height: 1.3;
}

body.nc-v194-compact .badge {
  padding: 4px 7px;
  font-size: 10.5px;
}

body.nc-v194-compact .progress,
body.nc-v194-compact .progress-line {
  height: 6px;
}

body.nc-v194-compact .timeline {
  gap: 4px;
}

body.nc-v194-compact .timeline-item {
  grid-template-columns: 116px minmax(0, 1fr) auto;
  gap: 8px;
  padding: 7px 0;
}

body.nc-v194-compact .timeline-date {
  font-size: 10.5px;
}

body.nc-v194-compact .metric-line {
  gap: 9px;
  margin: 8px 0;
}

body.nc-v194-compact .metric-line strong {
  min-width: 28px;
  font-size: 20px;
}

body.nc-v194-compact .message,
body.nc-v194-compact .step {
  padding: 9px 0;
}

body.nc-v194-compact .stack {
  gap: 10px;
}

body.nc-v194-compact .stack.compact {
  gap: 6px;
}

body.nc-v194-compact .form-grid {
  gap: 9px 10px;
}

body.nc-v194-compact .field {
  gap: 4px;
}

body.nc-v194-compact .field label {
  font-size: 11.5px;
}

body.nc-v194-compact .field input,
body.nc-v194-compact .field textarea,
body.nc-v194-compact .field select {
  border-radius: 8px;
  padding: 7px 9px;
  font-size: 12.5px;
}

body.nc-v194-compact .field textarea {
  min-height: 74px;
}

body.nc-v194-compact .helper,
body.nc-v194-compact .small {
  font-size: 10.5px;
  line-height: 1.35;
}

body.nc-v194-compact .notice {
  padding: 9px 11px;
  border-radius: 10px;
  line-height: 1.4;
}

body.nc-v194-compact .tabs {
  gap: 5px;
  margin-bottom: 10px;
}

body.nc-v194-compact .tabs button {
  padding: 6px 9px;
  font-size: 11.5px;
}

body.nc-v194-compact .empty {
  padding: 15px;
}

body.nc-v194-compact .separator {
  margin: 10px 0;
}

body.nc-v194-compact .modal {
  padding: 15px;
  border-radius: 14px;
}

body.nc-v194-compact .modal-backdrop {
  padding: 12px;
}

body.nc-v194-compact .profile-summary {
  gap: 12px;
}

body.nc-v194-compact .check {
  gap: 8px;
  padding: 6px 0;
}

body.nc-v194-compact .document {
  padding: 7px 9px;
}

body.nc-v194-compact .messages-layout {
  gap: 11px;
}

body.nc-v194-compact .conversation-preview {
  padding: 9px 11px;
}

body.nc-v194-compact .conversation-preview p {
  margin: 4px 0;
  font-size: 11.5px;
  line-height: 1.35;
}

body.nc-v194-compact .thread-messages {
  min-height: 280px;
  max-height: 500px;
  padding: 12px 0;
}

body.nc-v194-compact .message-composer {
  gap: 7px;
  padding-top: 9px;
}

body.nc-v194-compact .message-composer textarea {
  min-height: 76px;
  padding: 9px;
}

body.nc-v194-compact .nc-dossier-context,
body.nc-v194-compact .nc-v191-dossier-shell,
body.nc-v194-compact .nc-v191-beneficiary-context {
  margin-bottom: 10px !important;
}

body.nc-v194-compact .nc-v191-dossier-nav,
body.nc-v194-compact .nc-dossier-nav {
  gap: 3px !important;
  padding: 7px 8px !important;
}

body.nc-v194-compact .nc-v191-dossier-nav button,
body.nc-v194-compact .nc-v191-dossier-nav a,
body.nc-v194-compact .nc-dossier-nav button,
body.nc-v194-compact .nc-dossier-nav a {
  padding: 6px 8px !important;
  font-size: 11.5px !important;
}

body.nc-v194-compact .nc-v193-personal-notice {
  padding: 11px 13px;
  margin-bottom: 10px;
}

body.nc-v194-compact .nc-v193-controls {
  padding: 10px;
  margin-bottom: 10px;
}

body.nc-v194-compact .nc-v193-library-row {
  padding: 9px 11px;
}

body.nc-v194-compact .nc-v193-file-icon {
  width: 39px;
  height: 39px;
}

body.nc-v194-compact .nc-group-card,
body.nc-v194-compact .nc-group-detail-card {
  padding: 13px !important;
}

.nc-v194-density-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 0 0 8px;
  padding: 7px 9px;
  border: 1px solid #d7e5ef;
  border-radius: 9px;
  background: #fff;
  color: #35566f;
  font: inherit;
  font-size: 11.5px;
  font-weight: 750;
  cursor: pointer;
}

.nc-v194-density-toggle:hover {
  background: #edf7fd;
  color: #003f70;
}

@media (max-width: 1180px) {
  body.nc-v194-compact .app-shell {
    grid-template-columns: 208px minmax(0, 1fr);
  }

  body.nc-v194-compact .main {
    padding-inline: 13px;
  }

  body.nc-v194-compact .dashboard-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(275px, .75fr);
  }
}

@media (max-width: 900px) {
  body.nc-v194-compact {
    font-size: 14px;
  }

  body.nc-v194-compact .app-shell {
    display: block;
  }

  body.nc-v194-compact .sidebar {
    position: static;
    width: auto;
    height: auto;
  }

  body.nc-v194-compact .logo-wrap {
    min-height: 80px;
  }

  body.nc-v194-compact .dashboard-grid {
    grid-template-columns: 1fr;
  }
}

@media print {
  .nc-v194-density-toggle {
    display: none !important;
  }
}

/* ===== Source : /v194_1_2_questionnaire_email_attachment.css ===== */
.qa101-email-attachment{display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:12px;align-items:center;padding:12px 14px;border:1px solid #c9ddeb;border-radius:12px;background:#f4f9fd}.qa101-email-attachment-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:11px;background:#fff0f0;color:#b12d35;font-size:11px;font-weight:900}.qa101-email-attachment-info{display:grid;gap:2px;min-width:0}.qa101-email-attachment-info strong{color:#12324a}.qa101-email-attachment-info span{color:#28516d;font-size:13px;overflow-wrap:anywhere}.qa101-email-attachment-info small{color:#658093;line-height:1.35}.qa101-email-attachment-status{padding:6px 9px;border-radius:999px;background:#e7f7ef;color:#23704d;font-size:11px;font-weight:800;white-space:nowrap}@media(max-width:620px){.qa101-email-attachment{grid-template-columns:44px minmax(0,1fr)}.qa101-email-attachment-status{grid-column:1/-1;justify-self:start}}

/* ===== Source : /v197_dossier_activity.css ===== */
/* Nouveau Cap V197 — Activité du dossier bénéficiaire */
.v197-tabs{display:flex;gap:8px;border-bottom:1px solid #dce7f0;margin:0 0 16px;padding:0 2px}.v197-tabs button{border:0;background:transparent;color:#50677d;padding:11px 16px;font-weight:800;cursor:pointer;border-bottom:3px solid transparent}.v197-tabs button.active{color:#075fa8;border-bottom-color:#1475d1}.v197-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:16px}.v197-kpi{display:flex;align-items:center;gap:14px;background:#fff;border:1px solid #dfe9f1;border-radius:14px;padding:15px 16px;box-shadow:0 7px 20px rgba(21,65,98,.06)}.v197-kpi-icon{display:grid;place-items:center;width:45px;height:45px;border-radius:50%;background:#eaf4ff;color:#0769c6;font-size:22px;font-weight:900;flex:0 0 auto}.v197-kpi.warning .v197-kpi-icon{background:#fff0ee;color:#c43a31}.v197-kpi div{min-width:0;display:grid;gap:2px}.v197-kpi div>span{font-size:12px;color:#526b81;font-weight:700}.v197-kpi strong{font-size:27px;line-height:1;color:#12283e}.v197-kpi small{color:#6b8194;font-size:11px}.v197-filters{display:grid;grid-template-columns:170px 190px 190px minmax(250px,1fr) auto auto;gap:10px;align-items:end;background:#fff;border:1px solid #dfe9f1;border-radius:14px;padding:13px;margin-bottom:14px}.v197-filters label{display:grid;gap:5px}.v197-filters label>span{font-size:11px;font-weight:800;color:#5e7487;text-transform:uppercase;letter-spacing:.03em}.v197-filters select,.v197-filters input{height:39px;border:1px solid #ccdbe7;border-radius:9px;background:#fff;padding:0 11px;color:#1c344a;font:inherit}.v197-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:14px;align-items:start}.v197-table-card{padding:0;overflow:hidden}.v197-table{width:100%;border-collapse:collapse;min-width:900px}.v197-table th{background:#f6f9fc;color:#40586d;font-size:11px;text-transform:uppercase;letter-spacing:.025em;text-align:left;padding:11px 12px;border-bottom:1px solid #dce7f0}.v197-table td{padding:10px 12px;border-bottom:1px solid #e7eef4;color:#243d53;font-size:12px;vertical-align:middle}.v197-table tr{cursor:pointer}.v197-table tbody tr:hover{background:#f7fbff}.v197-table tr.selected{background:#edf6ff;box-shadow:inset 3px 0 #1475d1}.v197-table td:nth-child(2){white-space:nowrap}.v197-author-dot{display:inline-grid;place-items:center;width:25px;height:25px;border-radius:50%;margin-right:7px;background:#126bc2;color:#fff;font-size:9px;font-weight:900}.v197-author-dot.beneficiary{background:#2e9a57}.v197-role,.v197-result{display:inline-flex;align-items:center;border-radius:6px;padding:4px 7px;font-size:10px;font-weight:800;line-height:1.25}.v197-role.beneficiary{background:#e7f6eb;color:#267743}.v197-role.staff{background:#ede9ff;color:#5f47b2}.v197-role.admin{background:#e8eef5;color:#344b60}.v197-role.system{background:#edf1f4;color:#5d6d7b}.v197-result.blue{background:#e4f0ff;color:#0c61b7}.v197-result.green{background:#e5f5e9;color:#247443}.v197-result.orange{background:#fff0df;color:#b45b0c}.v197-result.red{background:#fee9e7;color:#b53028}.v197-detail-button{border:0;background:transparent;color:#476177;font-size:16px;cursor:pointer}.v197-pagination{display:flex;align-items:center;justify-content:space-between;padding:12px 14px;color:#657b8d;font-size:12px}.v197-pagination>div{display:flex;align-items:center;gap:8px}.v197-pagination button{width:30px;height:30px;border:1px solid #d4e0e9;background:#fff;border-radius:7px;color:#1768b3;cursor:pointer}.v197-pagination button:disabled{opacity:.4;cursor:default}.v197-detail{position:sticky;top:12px;background:#fff;border:1px solid #dfe9f1;border-radius:14px;box-shadow:0 8px 22px rgba(21,65,98,.07);padding:17px;min-height:270px}.v197-detail-head{display:flex;justify-content:space-between;gap:10px;padding-bottom:13px;border-bottom:1px solid #e5edf3}.v197-detail-head span{font-size:10px;color:#657c90;font-weight:900;letter-spacing:.06em}.v197-detail-head h3{font-size:17px;margin:5px 0 0;color:#142d44}.v197-detail-head button{border:0;background:transparent;font-size:24px;color:#61798d;cursor:pointer}.v197-detail dl{display:grid;gap:0;margin:8px 0 17px}.v197-detail dl>div{padding:10px 0;border-bottom:1px solid #edf2f6}.v197-detail dt{font-size:10px;text-transform:uppercase;color:#70869a;font-weight:900;margin-bottom:4px}.v197-detail dd{margin:0;color:#213b52;font-size:12px;line-height:1.5}.v197-detail .btn{width:100%}.v197-detail-empty{color:#6c8193;text-align:center;padding:50px 15px}.v197-loading{text-align:center;padding:45px}.v197-loading h2{margin:12px 0 5px}.v197-loading p{color:#667d91}.nc-dossier-tabs .nc-dossier-tab[data-nc-dossier-route="dossier-activity-v197"].active{color:#075fa8}
@media(max-width:1350px){.v197-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.v197-filters{grid-template-columns:repeat(3,minmax(160px,1fr))}.v197-search{grid-column:span 2}.v197-layout{grid-template-columns:1fr}.v197-detail{position:relative;top:auto}}
@media(max-width:800px){.v197-kpis{grid-template-columns:1fr}.v197-filters{grid-template-columns:1fr}.v197-search{grid-column:auto}.v197-layout{display:block}.v197-detail{margin-top:12px}}

/* V197.1 — texte et icône blancs pour l’onglet Activité actif */
.nc-dossier-tabs .nc-dossier-tab[data-nc-dossier-route="dossier-activity-v197"].active,
.nc-dossier-tabs .nc-dossier-tab[data-nc-dossier-route="dossier-activity-v197"].active .nc-dossier-tab-icon {
  color: #fff !important;
}

/* ===== Source : /v198_calendar_sync.css ===== */
.v198-calendar-card{margin-top:16px;max-width:none}
.v198-calendar-card .section-title{align-items:flex-start}
.v198-calendar-badge{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;background:#edf3f8;color:#526c82;font-size:12px;font-weight:800}
.v198-calendar-badge.is-connected{background:#e7f7f0;color:#18704d}
.v198-calendar-current{display:flex;gap:14px;align-items:center;padding:16px;border:1px solid #dbe7f0;border-radius:12px;background:#f8fbfd;margin:14px 0}
.v198-calendar-current small{display:block;color:#60758b;margin-top:3px}
.v198-calendar-provider-icon{width:44px;height:44px;border-radius:12px;display:grid;place-items:center;background:#075fa8;color:#fff;font-size:20px;font-weight:900;flex:0 0 auto}
.v198-calendar-actions{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}
.v198-calendar-description{max-width:850px;color:#526c82}
.v198-calendar-note{padding:12px 14px;border-radius:10px;background:#edf6ff;color:#235a87;font-size:13px}
.v198-calendar-note.is-warning{background:#fff7e8;color:#805b18}
.v198-calendar-privacy{font-size:12px;color:#71869a;margin:12px 0 0}
.v198-calendar-error{color:#a53636!important}
@media(max-width:720px){.v198-calendar-actions .btn{width:100%}.v198-calendar-current{align-items:flex-start}}

/* ===== Source : /v199_backup_center.css ===== */
/* Nouveau Cap V206 — Centre de sauvegarde */
.v199-center{margin-top:18px;background:#f7f9fc;border:1px solid #dbe5ef;border-radius:18px;padding:22px;color:#18324a;box-shadow:0 10px 28px rgba(25,64,102,.06)}
.v199-title-row{display:flex;justify-content:space-between;gap:24px;align-items:flex-start;margin-bottom:18px}.v199-title-row h2{margin:3px 0 6px;font-size:25px}.v199-title-row p{margin:0;color:#667c91;max-width:820px;line-height:1.55}.v199-eyebrow{text-transform:uppercase;letter-spacing:.11em;font-size:11px;font-weight:800;color:#075fa8}.v199-title-actions{display:flex;gap:9px;flex-wrap:wrap;justify-content:flex-end}
.v199-health{display:flex;align-items:center;gap:14px;border-radius:14px;padding:15px 17px;margin-bottom:16px;border:1px solid}.v199-health.protected{background:#eefaf4;border-color:#b9e2cc}.v199-health.local-only{background:#eef6fd;border-color:#bcd8ee}.v199-health.incomplete{background:#fff8eb;border-color:#efd59d}.v199-health-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;font-weight:900;font-size:20px;background:#fff}.v199-health strong{display:block}.v199-health p{margin:3px 0 0;color:#61788b}
.v199-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.v199-summary-card{display:flex;gap:12px;background:#fff;border:1px solid #dce7f0;border-radius:14px;padding:15px;min-height:106px}.v199-summary-card.good{border-color:#b8e1cc}.v199-summary-card.warn{border-color:#efd49d}.v199-summary-icon{display:grid;place-items:center;flex:0 0 38px;height:38px;border-radius:11px;background:#eaf3fb;color:#075fa8;font-size:20px;font-weight:800}.v199-summary-card small{display:block;color:#6a8093;font-weight:700}.v199-summary-card strong{display:block;margin:5px 0 3px;font-size:17px}.v199-summary-card p{margin:0;color:#778b9d;font-size:12px;line-height:1.4}
.v199-readiness{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0 18px}.v199-status{display:inline-flex;align-items:center;gap:6px;border-radius:999px;padding:6px 9px;font-size:12px;font-weight:800}.v199-status span{display:grid;place-items:center;width:17px;height:17px;border-radius:50%;background:rgba(255,255,255,.72)}.v199-status.ok{background:#e8f7ef;color:#17724b}.v199-status.warning{background:#fff4da;color:#8c6210}.v199-status.error{background:#fdebec;color:#a43b42}
.v199-tabs{display:flex;gap:4px;border-bottom:1px solid #cfdae5;margin-top:7px}.v199-tabs button{border:0;background:transparent;padding:11px 15px;color:#62778b;font-weight:800;cursor:pointer;border-bottom:3px solid transparent}.v199-tabs button.active{color:#075fa8;border-color:#075fa8}.v199-tab-panel{padding-top:16px}.v199-tab-panel[hidden]{display:none!important}
.v199-table-wrap{overflow:auto;background:#fff;border:1px solid #dbe5ef;border-radius:13px}.v199-table{width:100%;border-collapse:collapse;min-width:950px}.v199-table th{background:#f2f6fa;color:#536b80;font-size:11px;text-transform:uppercase;letter-spacing:.04em;text-align:left;padding:11px}.v199-table td{padding:11px;border-top:1px solid #e6edf3;vertical-align:top;font-size:13px}.v199-table td small{display:block;color:#7a8fa2;margin-top:3px}.v199-table code{font-size:11px;background:#edf3f8;padding:3px 5px;border-radius:5px}.v199-row-actions{display:flex;gap:6px;flex-wrap:wrap}.v199-row-actions .btn{padding:6px 8px;font-size:11px}.v199-error-text{color:#a43b42!important;max-width:300px;white-space:normal}
.v199-config-form{display:grid;gap:13px}.v199-form-section{background:#fff;border:1px solid #dbe5ef;border-radius:13px;padding:16px}.v199-section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:14px}.v199-section-heading h3{margin:0 0 3px}.v199-section-heading p,.v199-form-section>p{margin:0;color:#71869a;font-size:13px}.v199-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:12px}.v199-config-form label{display:grid;gap:6px;font-size:12px;font-weight:800;color:#536b80}.v199-config-form input,.v199-config-form select{width:100%;border:1px solid #cbd8e4;border-radius:9px;padding:10px 11px;background:#fff;color:#18324a}.v199-config-form input:focus,.v199-config-form select:focus{outline:2px solid rgba(7,95,168,.16);border-color:#075fa8}.v199-config-form .v199-check{display:flex;align-items:center;gap:8px}.v199-config-form .v199-check input{width:auto}.v199-wide{grid-column:span 2}.v199-full{margin-top:12px}.v199-help{margin-top:7px!important;font-size:11px!important}.v199-secret-state{background:#f1f6fa;border-radius:8px;padding:9px 11px;font-size:12px}.v199-secret-state code{word-break:break-all}.v199-form-actions{display:flex;justify-content:flex-end}.v199-advanced summary{cursor:pointer;font-weight:850;color:#075fa8}.v199-advanced[open] summary{margin-bottom:10px}
.v199-job{background:#fff;border:1px solid #b8d5ea;border-radius:13px;padding:14px;margin-bottom:14px}.v199-job>div:first-child{display:flex;justify-content:space-between}.v199-job p{margin:7px 0 0;color:#6b8194;font-size:12px}.v199-progress{height:8px;background:#e6eef5;border-radius:999px;margin-top:10px;overflow:hidden}.v199-progress span{display:block;height:100%;background:#075fa8;border-radius:999px;transition:width .4s ease}
.v199-recovery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:14px}.v199-recovery-grid article{display:flex;gap:12px;background:#fff;border:1px solid #dbe5ef;border-radius:13px;padding:15px}.v199-recovery-grid article>span{display:grid;place-items:center;flex:0 0 34px;height:34px;border-radius:50%;background:#075fa8;color:#fff;font-weight:900}.v199-recovery-grid h3{margin:0 0 5px;font-size:15px}.v199-recovery-grid p{margin:0;color:#6c8194;font-size:12px;line-height:1.45}.v199-kit{display:flex;align-items:center;justify-content:space-between;gap:16px;background:#eef5fb;border:1px solid #c7ddea;border-radius:12px;padding:14px;margin:14px 0}.v199-kit p{margin:4px 0 0;color:#657c90}.v199-kit code{background:#fff;border-radius:7px;padding:8px;word-break:break-all}.v199-empty,.v199-loading{display:grid;place-items:center;text-align:center;min-height:180px;background:#fff;border:1px dashed #cbd9e5;border-radius:13px}.v199-empty p{color:#71879a}.v199-spinner{width:30px;height:30px;border:3px solid #dce8f1;border-top-color:#075fa8;border-radius:50%;animation:v199spin .8s linear infinite;margin-bottom:9px}@keyframes v199spin{to{transform:rotate(360deg)}}
@media(max-width:1100px){.v199-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.v199-recovery-grid{grid-template-columns:1fr}.v199-title-row{flex-direction:column}.v199-title-actions{justify-content:flex-start}}
@media(max-width:700px){.v199-center{padding:14px}.v199-summary-grid,.v199-form-grid{grid-template-columns:1fr}.v199-wide{grid-column:auto}.v199-kit{align-items:flex-start;flex-direction:column}.v199-section-heading{flex-direction:column}}
.v199-warning-text{color:#8c6210!important;max-width:320px;white-space:normal}

/* V199.1 — notifications réservées à l'administrateur */
.v199-lock{display:inline-flex;align-items:center;margin-left:10px;padding:3px 8px;border-radius:999px;background:#eaf2fb;color:#0e4d92;font-size:12px;font-weight:700}
.v199-form-actions-left{justify-content:flex-start;align-items:center;gap:14px}
.v199-form-actions-left .v199-help{margin:0}
.v199-config-form label small{color:#708395;font-size:12px;margin-left:6px}

/* ===== Source : /v200_collaborators.css ===== */
.v200-shell{display:flex;flex-direction:column;gap:16px}.v200-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.v200-kpi{padding:16px;border:1px solid var(--border);border-radius:16px;background:#fff}.v200-kpi strong{display:block;font-size:26px;color:#123b59}.v200-kpi span{font-size:12px;color:var(--muted)}.v200-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.v200-toolbar-left,.v200-toolbar-right{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.v200-tab{border:1px solid #cbdbe7;background:#fff;color:#23465f;border-radius:10px;padding:9px 13px;font-weight:800;cursor:pointer}.v200-tab.active{background:#075fa8;border-color:#075fa8;color:#fff}.v200-search{min-width:280px;border:1px solid #cbdbe7;border-radius:10px;padding:10px 12px}.v200-table-name{display:flex;align-items:center;gap:10px}.v200-avatar{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#e5f2fb;color:#075fa8;font-weight:900;flex:0 0 auto}.v200-status{display:inline-flex;align-items:center;gap:5px;border-radius:999px;padding:4px 9px;font-size:11px;font-weight:800;background:#edf1f4;color:#53687a}.v200-status.green{background:#e5f6ee;color:#176f49}.v200-status.blue{background:#e3f1fb;color:#075fa8}.v200-status.orange{background:#fff1dd;color:#9a5d09}.v200-status.red{background:#fde8ea;color:#a32632}.v200-load{min-width:120px}.v200-load-bar{height:6px;border-radius:999px;background:#e8eef3;overflow:hidden;margin-top:5px}.v200-load-bar span{display:block;height:100%;background:#1c7cba}.v200-modal-backdrop{position:fixed;inset:0;z-index:12000;background:rgba(12,30,45,.65);display:flex;align-items:flex-start;justify-content:center;padding:3vh 18px;overflow:auto}.v200-modal{width:min(1120px,97vw);background:#fff;border-radius:20px;box-shadow:0 28px 90px rgba(0,0,0,.3);overflow:hidden}.v200-modal-head{display:flex;justify-content:space-between;align-items:flex-start;gap:15px;padding:20px 24px;border-bottom:1px solid var(--border);background:#f8fbfd}.v200-modal-head h2{margin:0 0 4px}.v200-close{border:0;background:#eaf0f4;border-radius:50%;width:38px;height:38px;font-size:22px;cursor:pointer}.v200-detail-tabs{display:flex;gap:4px;padding:10px 18px;border-bottom:1px solid var(--border);overflow:auto;background:#fff}.v200-detail-tabs button{border:0;background:transparent;padding:10px 12px;border-radius:9px;font-weight:800;color:#526b7e;white-space:nowrap;cursor:pointer}.v200-detail-tabs button.active{background:#075fa8;color:#fff}.v200-modal-body{padding:22px 24px;max-height:72vh;overflow:auto}.v200-section{border:1px solid var(--border);border-radius:15px;padding:16px;background:#fff}.v200-section+.v200-section{margin-top:14px}.v200-section h3{margin:0 0 12px}.v200-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.v200-form-grid .full{grid-column:1/-1}.v200-form-grid .span2{grid-column:span 2}.v200-actions{display:flex;justify-content:flex-end;gap:9px;flex-wrap:wrap;margin-top:17px}.v200-permissions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.v200-check{display:flex;gap:9px;align-items:flex-start;padding:11px;border:1px solid var(--border);border-radius:11px;background:#f8fafc}.v200-check input{margin-top:3px}.v200-account-grid,.v200-calendar-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.v200-info-box{padding:14px;border:1px solid var(--border);border-radius:12px;background:#f7fafc}.v200-info-box strong{display:block;margin-bottom:4px}.v200-timeline{display:flex;flex-direction:column;gap:8px}.v200-event{display:grid;grid-template-columns:150px minmax(0,1fr);gap:12px;padding:12px;border:1px solid var(--border);border-radius:12px}.v200-event small{color:var(--muted)}.v200-doc-list{display:flex;flex-direction:column;gap:8px}.v200-doc{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px;border:1px solid var(--border);border-radius:11px}.v200-empty{padding:24px;text-align:center;color:var(--muted);background:#f8fafc;border-radius:12px}.v200-danger-zone{border-color:#f0c5c9;background:#fffafb}.v200-danger-zone h3{color:#a32632}.v200-note{font-size:12px;color:var(--muted)}
@media(max-width:1000px){.v200-kpis{grid-template-columns:repeat(2,1fr)}.v200-form-grid{grid-template-columns:repeat(2,1fr)}.v200-account-grid,.v200-calendar-grid{grid-template-columns:1fr}}
@media(max-width:650px){.v200-kpis,.v200-form-grid,.v200-permissions{grid-template-columns:1fr}.v200-form-grid .span2{grid-column:auto}.v200-search{min-width:0;width:100%}.v200-event{grid-template-columns:1fr}.v200-modal-body{padding:15px}.v200-modal-head{padding:16px}}

/* ===== Source : /v201_document_security.css ===== */
/* Nouveau Cap V201 — Centre de sécurité documentaire */
.v201-sec-card{margin-top:18px;border:1px solid #d7e4f6;box-shadow:0 8px 24px rgba(30,72,125,.07)}
.v201-sec-head{align-items:flex-start}.v201-sec-head h2{margin-bottom:4px}.v201-sec-head p{margin:0;color:#5c6f86}
.v201-sec-badge{display:inline-flex;align-items:center;gap:7px;padding:7px 11px;border-radius:999px;font-size:12px;font-weight:800;white-space:nowrap;border:1px solid transparent}
.v201-sec-badge b{display:grid;place-items:center;width:18px;height:18px;border-radius:50%;font-size:11px}
.v201-sec-badge.ok{color:#087443;background:#e8f8ef;border-color:#b9e8cc}.v201-sec-badge.ok b{color:#fff;background:#0f9f5a}
.v201-sec-badge.warning{color:#735c00;background:#fff7d6;border-color:#f1dd88}.v201-sec-badge.warning b{background:#f5df7b}
.v201-sec-badge.error{color:#a21d18;background:#fff0ef;border-color:#f3c0bd}.v201-sec-badge.error b{color:#fff;background:#c7352f}
.v201-sec-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0}
.v201-sec-metric{padding:14px 16px;border:1px solid #e2eaf4;border-radius:12px;background:#f8fbff}.v201-sec-metric small{display:block;color:#63758b;font-weight:700}.v201-sec-metric strong{display:block;font-size:25px;margin-top:5px;color:#1c3554}
.v201-sec-metric.clean{border-left:4px solid #16a164}.v201-sec-metric.pending{border-left:4px solid #e4b019}.v201-sec-metric.blocked,.v201-sec-metric.error{border-left:4px solid #d94b45}
.v201-sec-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.v201-sec-panel{padding:16px;border-radius:12px;border:1px solid #e2eaf4;background:#fff}.v201-sec-panel h3{margin:0 0 8px}.v201-sec-panel p{margin:6px 0;color:#344d68}.v201-sec-panel small{color:#687b90;line-height:1.5}
.v201-sec-actions{display:flex;align-items:center;gap:13px;margin-top:16px;padding:14px;border-radius:12px;background:#eef6ff}.v201-sec-actions span{color:#526b85;font-size:13px}
.v201-sec-job{margin-top:16px;padding:15px;border:1px solid #bad7fa;background:#eef6ff;border-radius:12px}.v201-sec-job>div:first-child{display:flex;justify-content:space-between;gap:10px}.v201-sec-job span,.v201-sec-job small{color:#536e8d}.v201-sec-progress{height:9px;margin:11px 0 7px;border-radius:99px;background:#d8e7f8;overflow:hidden}.v201-sec-progress i{display:block;height:100%;background:#1c70d2;border-radius:99px;transition:width .25s ease}
.v201-sec-last{margin-top:12px;padding:10px 12px;background:#f7fafc;border-radius:9px;color:#526b85;font-size:12px}
.v201-sec-events{margin-top:14px;border-top:1px solid #e4ebf4;padding-top:12px}.v201-sec-events summary{cursor:pointer;font-weight:800;color:#264c78}.v201-sec-events article{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid #edf1f6}.v201-sec-events article span{font-weight:700}.v201-sec-events article span.danger{color:#b42318}.v201-sec-events article small{color:#63758b;text-align:right}
.v201-sec-note{margin:13px 0 0;color:#63758b;font-size:12px}.v201-sec-loading{display:flex;align-items:center;gap:10px;padding:10px}.v201-sec-loading span{width:18px;height:18px;border:2px solid #b8cee8;border-top-color:#176fc7;border-radius:50%;animation:v201spin .8s linear infinite}@keyframes v201spin{to{transform:rotate(360deg)}}
@media(max-width:900px){.v201-sec-summary{grid-template-columns:1fr 1fr}.v201-sec-grid{grid-template-columns:1fr}.v201-sec-head{display:block}.v201-sec-head .v201-sec-badge{margin-top:10px}}

/* ===== Source : /v216_mailing.css ===== */
/* Nouveau Cap V216 — Mailing externe ciblé */
.v216-shell{display:grid;gap:18px}.v216-intro{margin-bottom:16px}.v216-filter-card,.v216-history-card{overflow:hidden}.v216-count{display:inline-flex;align-items:center;padding:7px 11px;border-radius:999px;background:#eaf4ff;color:#075fa8;font-weight:700;font-size:13px}.v216-filter-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin:16px 0}.v216-filter-grid label,.v216-compose-grid label{display:flex;flex-direction:column;gap:6px}.v216-filter-grid label span,.v216-compose-grid label span{font-size:12px;font-weight:700;color:#50677c}.v216-filter-grid input,.v216-filter-grid select,.v216-compose-grid input,.v216-compose-grid select,.v216-compose-grid textarea{width:100%;border:1px solid #cfdce8;border-radius:9px;padding:10px 11px;background:#fff;color:#17324a;font:inherit}.v216-search{grid-column:span 1}.v216-selection-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border:1px solid #d9e5ef;background:#f7fbff;border-radius:10px;margin-bottom:14px}.v216-selection-toolbar>div{display:flex;gap:9px;flex-wrap:wrap}.v216-check{display:flex!important;flex-direction:row!important;align-items:center;gap:9px;font-weight:700}.v216-check input,.v216-recipient-table input[type=checkbox]{width:17px;height:17px;accent-color:#075fa8}.v216-recipient-table{max-height:520px;overflow:auto}.v216-recipient-table th{position:sticky;top:0;background:#f6f9fc;z-index:1}.v216-status{display:inline-flex;padding:5px 9px;border-radius:999px;background:#edf3f8;color:#425a70;font-size:12px;font-weight:800}.v216-status.ok{background:#e4f7ed;color:#167147}.v216-status.warning{background:#fff3d7;color:#8a5b00}.v216-status.error{background:#ffe7e7;color:#a22d2d}.v216-error-text{color:#a22d2d;margin-top:4px}.v216-modal-backdrop{position:fixed;inset:0;z-index:10030;background:rgba(13,33,51,.58);display:flex;align-items:center;justify-content:center;padding:24px}.v216-modal{width:min(900px,96vw);max-height:94vh;overflow:auto;background:#fff;border-radius:16px;box-shadow:0 22px 70px rgba(7,41,69,.32)}.v216-detail-modal{width:min(1100px,97vw)}.v216-modal-head{display:flex;justify-content:space-between;gap:18px;padding:22px 24px;border-bottom:1px solid #dce7f0;background:linear-gradient(135deg,#f5faff,#fff)}.v216-modal-head span{font-size:11px;font-weight:800;letter-spacing:.09em;color:#075fa8}.v216-modal-head h2{margin:4px 0 6px;color:#17324a}.v216-modal-head p{margin:0;color:#657a8d}.v216-modal-head>button{border:0;background:#edf3f8;width:36px;height:36px;border-radius:50%;font-size:25px;cursor:pointer;color:#3b5368}.v216-modal-body{padding:22px 24px}.v216-summary-recipients{padding:12px 14px;border-radius:10px;background:#eef7ff;color:#284b68;margin-bottom:15px}.v216-compose-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.v216-full{grid-column:1/-1}.v216-file-zone{padding:13px;border:1px dashed #9ab8cf;border-radius:11px;background:#f8fcff}.v216-attachments{display:grid;gap:8px;margin:14px 0}.v216-attachments>div{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:9px 11px;background:#f6f9fc;border-radius:9px}.v216-attachments button{border:0;background:none;color:#a22d2d;font-weight:700;cursor:pointer}.v216-attachments p{margin:0;color:#728597}.v216-mailing-warning{display:flex;justify-content:space-between;gap:12px;padding:12px 14px;border-left:4px solid #075fa8;background:#eef7ff;color:#254a67;border-radius:8px}.v216-modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:18px}.v216-detail-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:18px}.v216-detail-summary>div{padding:13px;border:1px solid #dbe6ef;border-radius:10px;background:#f9fbfd}.v216-detail-summary span{display:block;font-size:12px;color:#657a8d;margin-bottom:6px}.v216-detail-summary strong{font-size:22px;color:#17324a}.v216-message-preview{margin:18px 0;padding:15px;border:1px solid #dbe6ef;border-radius:10px;background:#fff}.v216-message-preview h3,.v216-modal-body section>h3{margin:0 0 10px;color:#17324a}.v216-message-preview>div{line-height:1.6;color:#304c63}.v216-attachment-list{display:flex;flex-wrap:wrap;gap:8px}.v216-detail-table{max-height:360px;overflow:auto;margin-top:8px}
@media(max-width:1100px){.v216-filter-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:720px){.v216-filter-grid,.v216-compose-grid,.v216-detail-summary{grid-template-columns:1fr}.v216-full{grid-column:auto}.v216-selection-toolbar,.v216-mailing-warning{align-items:stretch;flex-direction:column}.v216-modal-backdrop{padding:8px}.v216-modal-head,.v216-modal-body{padding:16px}}
/* ============================================================
   NOUVEAU CAP V224 — CENTRE DE TRAITEMENT
   ============================================================ */
.nc-v224-dashboard-card{overflow:hidden}
.nc-v224-card-title{width:100%;border:0;background:transparent;padding:0 0 8px;display:flex;align-items:center;justify-content:space-between;color:inherit;font:inherit;cursor:pointer;text-align:left}
.nc-v224-card-title>span:first-child{font-size:1.05rem;font-weight:800}
.nc-v224-total{min-width:30px;height:30px;padding:0 9px;border-radius:999px;background:#e9f3fb;color:#005895;display:inline-flex;align-items:center;justify-content:center;font-size:.88rem;font-weight:800}
.nc-v224-dashboard-list{display:grid;gap:2px}
.nc-v224-dashboard-row{width:100%;display:grid;grid-template-columns:34px 1fr 18px;align-items:center;gap:8px;border:0;border-radius:9px;background:transparent;padding:9px 5px;color:inherit;text-align:left;cursor:pointer;transition:background .16s ease,transform .16s ease}
.nc-v224-dashboard-row:hover,.nc-v224-dashboard-row:focus-visible{background:#f1f7fc;transform:translateX(2px);outline:none}
.nc-v224-dashboard-row strong{font-size:1.15rem;color:#003e70}
.nc-v224-dashboard-row span{font-size:.91rem;color:#003e70}
.nc-v224-dashboard-row i{font-size:1.5rem;line-height:1;color:#4f7898;font-style:normal}
.nc-v224-dashboard-fallback{grid-template-columns:minmax(280px,1fr)}
.nc-v224-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 16px}
.nc-v224-tab{border:1px solid #c8d9e8;background:#fff;color:#274d6b;border-radius:999px;padding:8px 12px;display:inline-flex;align-items:center;gap:8px;font:inherit;font-size:.9rem;font-weight:700;cursor:pointer}
.nc-v224-tab strong{min-width:24px;height:24px;padding:0 7px;border-radius:999px;background:#edf4fa;color:#005895;display:inline-flex;align-items:center;justify-content:center;font-size:.8rem}
.nc-v224-tab.active{background:#005895;border-color:#005895;color:#fff}
.nc-v224-tab.active strong{background:rgba(255,255,255,.18);color:#fff}
.nc-v224-sections{display:grid;gap:16px}
.nc-v224-section{padding:0;overflow:hidden}
.nc-v224-section>.section-title{padding:18px 20px 13px;margin:0;border-bottom:1px solid #e4edf4}
.nc-v224-task-list{display:grid}
.nc-v224-task-item{display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:14px;align-items:center;padding:16px 20px;border-bottom:1px solid #e8eef3}
.nc-v224-task-item:last-child{border-bottom:0}
.nc-v224-task-icon{width:40px;height:40px;border-radius:12px;background:#edf5fb;color:#005895;display:flex;align-items:center;justify-content:center;font-size:1.15rem;font-weight:800}
.nc-v224-task-main{min-width:0}
.nc-v224-task-heading{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:4px}
.nc-v224-task-main p{margin:3px 0;color:#294c66;white-space:normal;overflow-wrap:anywhere}
.nc-v224-task-main small{color:#668096}
.nc-v224-badge{display:inline-flex;align-items:center;min-height:24px;padding:3px 8px;border-radius:999px;background:#eaf5ef;color:#197044;font-size:.75rem;font-weight:800}
.nc-v224-badge.warning{background:#fff3d9;color:#8a5900}
.nc-v224-badge.new{background:#e9f3fb;color:#005895}
.nc-v224-task-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap;max-width:520px}
.nc-v224-task-actions .btn{white-space:nowrap}
.nc-v224-empty{padding:28px 20px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:5px;color:#668096}
.nc-v224-empty strong{color:#214762;font-size:1rem}
@media(max-width:1000px){
  .nc-v224-task-item{grid-template-columns:40px minmax(0,1fr)}
  .nc-v224-task-actions{grid-column:1/-1;justify-content:flex-start;padding-left:54px;max-width:none}
}
@media(max-width:620px){
  .nc-v224-task-item{padding:14px;gap:10px}
  .nc-v224-section>.section-title{padding:15px 14px 11px}
  .nc-v224-task-actions{padding-left:0}
  .nc-v224-task-actions .btn{flex:1 1 auto;text-align:center}
}

/* ============================================================
   NOUVEAU CAP V252 — MÉTIERS POSSIBLES
   ============================================================ */
.qa101-career-section{margin-top:18px}.qa101-career-method{margin:0 0 16px;border-left:4px solid #075fa8;background:#eef7fd;color:#284d69}.qa101-career-summary{padding:18px 20px;margin-bottom:16px;border:1px solid #dce8f1;border-radius:13px;background:linear-gradient(135deg,#f7fbfe,#fff)}.qa101-career-summary h3{margin:0 0 8px;color:#0b4166}.qa101-career-summary p{margin:0;line-height:1.65;color:#2c4c63}.qa101-career-list{display:grid;gap:15px;margin:16px 0}.qa101-career-card{padding:0 18px 18px;border:1px solid #d9e6ef;border-radius:15px;background:#fff;box-shadow:0 5px 18px rgba(18,61,91,.06);overflow:hidden}.qa101-career-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 -18px 12px;padding:15px 18px;background:linear-gradient(135deg,#eef7fd,#fff);border-bottom:1px solid #dce8f1}.qa101-career-head>div:first-child{display:flex;align-items:center;gap:12px;min-width:0}.qa101-career-head h3{margin:0;color:#0b3552;font-size:1.05rem}.qa101-career-head p{margin:3px 0 0;color:#61798d;font-size:.84rem}.qa101-career-rank{width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;border-radius:10px;background:#075fa8;color:#fff;font-weight:900;flex:0 0 auto}.qa101-career-score{min-width:126px;text-align:right}.qa101-career-score strong{display:block;color:#005895;font-size:1.35rem;line-height:1}.qa101-career-score span{display:block;margin-top:4px;color:#647c8f;font-size:.72rem;font-weight:700}.qa101-career-meter{height:8px;border-radius:999px;background:#dfeaf2;overflow:hidden}.qa101-career-meter span{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#0a78bd,#075fa8)}.qa101-career-description{margin:13px 0 15px;line-height:1.6;color:#294a62}.qa101-career-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.qa101-career-detail{padding:12px 13px;border-radius:11px;background:#f7fafc;border:1px solid #e5edf3}.qa101-career-detail strong{display:block;margin-bottom:7px;color:#0b4166;font-size:.84rem}.qa101-career-detail ul{margin:0;padding-left:18px;color:#36566d}.qa101-career-detail li{margin:5px 0;line-height:1.45}.qa101-career-section .qa101-cross-actions{position:sticky;bottom:10px;padding:12px;border:1px solid #d9e6ef;border-radius:12px;background:rgba(255,255,255,.96);box-shadow:0 8px 24px rgba(25,64,91,.12);z-index:2}
@media(max-width:850px){.qa101-career-columns{grid-template-columns:1fr}.qa101-career-head{align-items:flex-start}.qa101-career-score{min-width:92px}.qa101-career-section .qa101-cross-actions{position:static}}

/* NOUVEAU CAP V253 — SYNTHÈSE FINALE CORÉDIGÉE */
.nc-final-shell{display:grid;gap:16px}.nc-final-hero{background:linear-gradient(135deg,#edf7fd,#fff);border:1px solid #cfe2ef;border-left:6px solid #00aebd}.nc-final-status{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.nc-final-score{display:flex;align-items:center;gap:16px}.nc-final-score strong{font-size:34px;color:#075fa8}.nc-final-checks{display:grid;grid-template-columns:repeat(auto-fit,minmax(235px,1fr));gap:8px;margin-top:12px}.nc-final-check{border:1px solid #dbe8f0;border-radius:10px;padding:10px 12px;background:#fff;display:flex;gap:9px;align-items:flex-start}.nc-final-check.ok{border-color:#a9decf;background:#f5fcf9}.nc-final-check.missing{border-color:#f0c9c9;background:#fff8f8}.nc-final-check span:first-child{font-weight:900}.nc-final-source-grid,.nc-final-manual-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:10px}.nc-final-section{border:1px solid #d7e5ee;border-radius:13px;padding:15px;background:#fff}.nc-final-section h3{margin:0 0 10px;color:#123d5d}.nc-final-section textarea{min-height:210px;line-height:1.55}.nc-final-introduction textarea{min-height:170px}.nc-final-actions{display:grid;gap:10px}.nc-final-action-row{border:1px solid #d8e6ef;border-radius:12px;padding:12px;background:#f9fcfe;display:grid;grid-template-columns:2fr 1.4fr .9fr .8fr 1.2fr;gap:8px}.nc-final-action-row textarea{min-height:76px}.nc-final-action-row input,.nc-final-action-row select,.nc-final-action-row textarea{width:100%}.nc-final-action-extra{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:8px}.nc-final-toolbar{position:sticky;bottom:12px;z-index:8;display:flex;gap:8px;flex-wrap:wrap;padding:12px;background:rgba(255,255,255,.96);border:1px solid #cddfea;border-radius:14px;box-shadow:0 10px 30px rgba(13,61,94,.12)}.nc-final-readonly-section{margin-bottom:20px}.nc-final-readonly-section h2{color:#0b4e79;border-bottom:2px solid #08aabb;padding-bottom:8px}.nc-final-readonly-section p{line-height:1.7;text-align:justify}.nc-final-action-table{width:100%;border-collapse:collapse}.nc-final-action-table th,.nc-final-action-table td{border:1px solid #d6e4ed;padding:8px;vertical-align:top;text-align:left}.nc-final-action-table th{background:#0b4e79;color:#fff}.nc-final-source-note{font-size:12px;color:#61798b}.nc-final-badge{display:inline-flex;padding:5px 9px;border-radius:999px;background:#e9f4fb;color:#075b91;font-weight:800;font-size:12px}.nc-final-badge.validated{background:#e8f7ef;color:#197149}.nc-final-badge.published{background:#e6f7fa;color:#08717b}.nc-final-badge.draft{background:#fff4da;color:#875d00}@media(max-width:900px){.nc-final-action-row{grid-template-columns:1fr}.nc-final-action-extra{grid-template-columns:1fr}.nc-final-toolbar{position:static}}

/* NOUVEAU CAP V253.3 - EDITEUR PLEINE LARGEUR */
.nc-final-shell textarea{
  display:block;
  width:100%;
  max-width:100%;
  min-width:0;
  box-sizing:border-box;
  resize:vertical;
  font:inherit;
}
.nc-final-section textarea{
  min-height:clamp(280px,38vh,520px);
}
.nc-final-introduction textarea{
  min-height:clamp(230px,32vh,440px);
}
.nc-final-manual-grid .field,
.nc-final-action-row,
.nc-final-action-extra{
  min-width:0;
}
@media(max-width:900px){
  .nc-final-section textarea{min-height:240px}
  .nc-final-introduction textarea{min-height:210px}
}


/* V253.4 - ANNEXES PDF FUSIONNEES */
.nc-final-source-grid small{display:block;margin-top:3px;opacity:.78}

/* V253.5 - QUALITE DU BILAN ET LECTURE AEREE */
.nc-final-section{
  padding:22px;
}
.nc-final-section h3{
  margin-bottom:14px;
}
.nc-final-section textarea,
.nc-final-introduction textarea{
  padding:16px 18px;
  line-height:1.72;
  letter-spacing:.005em;
  background:#fcfeff;
}
.nc-final-quality-note{
  margin:14px 0 18px;
  line-height:1.65;
  border-left:4px solid #00aebd;
}
.nc-final-readonly-section p{
  margin:0 0 1.15em;
  line-height:1.82;
  text-align:left;
}
.nc-final-manual-grid{
  gap:14px;
}
.nc-final-manual-grid textarea{
  line-height:1.6;
}
@media(max-width:900px){
  .nc-final-section{padding:16px}
  .nc-final-section textarea,.nc-final-introduction textarea{padding:14px}
}
