/* Credexa : composants publics. Les couleurs et polices sont des variables surchargeables
   depuis le thème ou Elementor (sélecteur .cdxa). */
.cdxa {
	--cdxa-ink: #16233A; --cdxa-text: #3D4757; --cdxa-muted: #56606E; --cdxa-blue: #1D4F91; --cdxa-blue-d: #163E73;
	--cdxa-brass: #9C6B2E; --cdxa-ground: #F3F4F1; --cdxa-line: #D8DCE2; --cdxa-line-2: #E6E9ED; --cdxa-field: #848E9C;
	--cdxa-ok: #135235; --cdxa-ok-bg: #E1F0E8; --cdxa-warn: #6E4200; --cdxa-warn-bg: #FBF3E6; --cdxa-err: #8A2414; --cdxa-err-bg: #F9E3DE;
	--cdxa-radius: 12px; --cdxa-serif: "Source Serif 4", Georgia, serif; --cdxa-sans: inherit;
	color: var(--cdxa-ink); font-family: var(--cdxa-sans); line-height: 1.55; box-sizing: border-box;
}
.cdxa *, .cdxa *::before, .cdxa *::after { box-sizing: inherit; }
.cdxa :focus-visible { outline: 3px solid var(--cdxa-brass); outline-offset: 2px; }
.cdxa a { color: var(--cdxa-blue); }
.cdxa-num { font-variant-numeric: tabular-nums lining-nums; }
.cdxa-h2 { font-family: var(--cdxa-serif); font-weight: 600; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
.cdxa-h3 { font-size: 1.1rem; font-weight: 700; margin: 0 0 10px; }
.cdxa-lead { color: var(--cdxa-text); margin: 0; }
.cdxa-muted { color: var(--cdxa-muted); display: block; }
.cdxa-help { font-size: 0.85rem; color: var(--cdxa-muted); margin: 6px 0 0; }
.cdxa-error { font-size: 0.875rem; color: var(--cdxa-err); font-weight: 600; margin: 6px 0 0; display: block; }
.cdxa-legal { font-size: 0.8rem; color: var(--cdxa-muted); margin: 0; line-height: 1.5; }
.cdxa-legal--strong { color: var(--cdxa-ink); font-weight: 600; }
.cdxa-req { color: #A1321F; }
.cdxa-note { padding: 12px 16px; border: 1px dashed var(--cdxa-brass); border-radius: 8px; background: var(--cdxa-warn-bg); color: #3F2D10; font-size: 0.9rem; }
.cdxa-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.screen-reader-text { position: absolute; left: -9999px; }

/* Boutons */
.cdxa-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 6px; border: 1px solid transparent; font: inherit; font-weight: 600; line-height: 1; text-decoration: none !important; cursor: pointer; }
.cdxa-btn--primary { background: var(--cdxa-blue); color: #fff !important; }
.cdxa-btn--primary:hover { background: var(--cdxa-blue-d); }
.cdxa-btn--line { background: #fff; color: var(--cdxa-ink) !important; border-color: var(--cdxa-field); }
.cdxa-btn--line:hover { border-color: var(--cdxa-ink); }
.cdxa-btn--block { width: 100%; }
.cdxa-btn[disabled] { opacity: .6; cursor: wait; }
.cdxa-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }

/* Champs */
.cdxa-field { display: flex; flex-direction: column; border: 0; margin: 0; padding: 0; min-width: 0; }
.cdxa-field > label, .cdxa-field > legend { font-weight: 600; font-size: 0.95rem; margin-bottom: 6px; padding: 0; }
.cdxa-field input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]), .cdxa-field select, .cdxa-field textarea {
	width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--cdxa-field); border-radius: 6px; background: #fff; color: var(--cdxa-ink); font: inherit; font-size: 16px;
}
.cdxa-field textarea { min-height: 110px; resize: vertical; }
.cdxa-field input[type=file] { padding: 10px 0; font: inherit; }
.cdxa-field.has-error input, .cdxa-field.has-error select, .cdxa-field.has-error textarea { border: 2px solid #A1321F; }
.cdxa-check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.cdxa-check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--cdxa-blue); flex-shrink: 0; }
.cdxa-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; }
.cdxa-field--wide { grid-column: 1 / -1; }
.cdxa-form { display: flex; flex-direction: column; gap: 18px; }
.cdxa-rules { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 0.9rem; color: var(--cdxa-muted); }
.cdxa-rules li::before { content: ""; display: inline-block; width: 12px; height: 12px; border: 1.5px solid currentColor; border-radius: 50%; margin-right: 10px; vertical-align: -1px; }
.cdxa-rules li.is-ok { color: var(--cdxa-ok); }
.cdxa-rules li.is-ok::before { background: currentColor; }

/* Cartes, alertes, étiquettes */
.cdxa-card { background: #fff; border: 1px solid var(--cdxa-line); border-radius: var(--cdxa-radius); padding: 24px; }
.cdxa-card--flush { padding: 0; overflow: hidden; }
.cdxa-card--warn { border-color: #E7CFA5; background: #FFFCF5; }
.cdxa-pad { padding: 20px 24px 0; }
.cdxa-alert { border: 1px solid; border-radius: 10px; padding: 12px 16px; margin: 0 0 16px; }
.cdxa-alert p { margin: 0 0 4px; } .cdxa-alert p:last-child { margin: 0; }
.cdxa-alert ul { margin: 6px 0 0; padding-left: 20px; }
.cdxa-alert--error { background: var(--cdxa-err-bg); border-color: #E3B3A9; color: #5E1A0E; }
.cdxa-alert--ok { background: var(--cdxa-ok-bg); border-color: #A9D2BC; color: #0E3D27; }
.cdxa-alert--warn { background: var(--cdxa-warn-bg); border-color: #E7CFA5; color: #3F2D10; }
.cdxa-tag { display: inline-block; font-size: 0.78rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: #E3EBF6; color: #163E73; white-space: nowrap; }
.cdxa-tag--ok { background: var(--cdxa-ok-bg); color: var(--cdxa-ok); }
.cdxa-tag--warn { background: var(--cdxa-warn-bg); color: var(--cdxa-warn); }
.cdxa-tag--err { background: var(--cdxa-err-bg); color: var(--cdxa-err); }
.cdxa-status { display: inline-flex; align-items: center; gap: 8px; font-size: 0.85rem; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: #EEF0F3; white-space: nowrap; }
.cdxa-status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--st, var(--cdxa-blue)); }
.cdxa-badge { min-width: 22px; height: 22px; border-radius: 11px; background: #D4A865; color: var(--cdxa-ink); font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; padding: 0 6px; }

/* Simulateur */
.cdxa-sim { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; background: #fff; border: 1px solid var(--cdxa-line); border-radius: 14px; padding: 28px; }
.cdxa-sim--compact { grid-template-columns: 1fr; }
.cdxa-sim__form { display: flex; flex-direction: column; gap: 22px; }
.cdxa-sim__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.cdxa-sim__row label { margin: 0; }
.cdxa-sim__big { font-family: var(--cdxa-serif); font-size: 1.6rem; font-weight: 600; }
.cdxa-sim input[type=range] { width: 100%; accent-color: var(--cdxa-blue); height: 30px; margin: 8px 0 0; }
.cdxa-sim__bounds { display: flex; justify-content: space-between; font-size: 0.8rem; color: var(--cdxa-muted); }
.cdxa-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.cdxa-pill { position: relative; }
.cdxa-pill input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.cdxa-pill span { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 76px; padding: 0 12px; border: 1px solid var(--cdxa-field); border-radius: 6px; font-weight: 600; font-size: 0.9rem; background: #fff; }
.cdxa-pill input:checked + span { background: var(--cdxa-ink); color: #fff; border-color: var(--cdxa-ink); }
.cdxa-pill input:focus-visible + span { outline: 3px solid var(--cdxa-brass); outline-offset: 2px; }
.cdxa-sim__result { display: flex; flex-direction: column; gap: 14px; border-left: 1px solid var(--cdxa-line); padding-left: 28px; }
.cdxa-sim--compact .cdxa-sim__result { border-left: 0; padding-left: 0; border-top: 1px solid var(--cdxa-line); padding-top: 20px; }
.cdxa-sim__label { color: var(--cdxa-text); }
.cdxa-sim__monthly { font-family: var(--cdxa-serif); font-weight: 600; font-size: clamp(2.6rem, 2rem + 2vw, 4rem); line-height: 1; }
.cdxa-sim__facts, .cdxa-facts, .cdxa-recap dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 12px; margin: 0; }
.cdxa-sim__facts dt, .cdxa-facts dt, .cdxa-recap dt { font-size: 0.85rem; color: var(--cdxa-muted); }
.cdxa-sim__facts dd, .cdxa-facts dd, .cdxa-recap dd { margin: 0; font-weight: 700; }
.cdxa-sim__error { color: var(--cdxa-err); font-weight: 600; margin: 0; }
.cdxa-sim.is-loading .cdxa-sim__monthly { opacity: .45; }

/* Formulaire de demande */
.cdxa-apply { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; }
.cdxa-apply__form { background: #fff; border: 1px solid var(--cdxa-line); border-radius: 14px; padding: 36px 40px; display: flex; flex-direction: column; gap: 28px; }
.cdxa-progress { display: flex; flex-direction: column; gap: 12px; }
.cdxa-progress__top { display: flex; justify-content: space-between; font-weight: 700; font-size: 0.9rem; }
.cdxa-draft { color: var(--cdxa-ok); font-weight: 500; }
.cdxa-progress__bar { height: 8px; background: var(--cdxa-line-2); border-radius: 4px; overflow: hidden; }
.cdxa-progress__bar span { display: block; height: 8px; background: var(--cdxa-blue); transition: width .25s; }
.cdxa-progress__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; font-size: 0.8rem; color: var(--cdxa-muted); }
.cdxa-progress__steps li.is-done, .cdxa-progress__steps li.is-current { color: var(--cdxa-ink); }
.cdxa-progress__steps li.is-current { font-weight: 700; }
.cdxa-step { border: 0; margin: 0; padding: 0; min-width: 0; }
.cdxa-step__title { font-family: var(--cdxa-serif); font-weight: 600; font-size: 1.75rem; padding: 0; margin-bottom: 22px; }
.cdxa-js .cdxa-step:not(.is-active) { display: none; }
.cdxa-consents { display: flex; flex-direction: column; }
.cdxa-consent { padding: 14px 0; border-bottom: 1px solid var(--cdxa-line-2); }
.cdxa-consent.has-error .cdxa-check span { color: var(--cdxa-err); }
.cdxa-apply__nav { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--cdxa-line-2); padding-top: 22px; }
.cdxa-apply__nav [data-submit] { margin-left: auto; }
.cdxa-apply__aside { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 24px; }
.cdxa-recap { display: flex; flex-direction: column; gap: 12px; }
.cdxa-recap__title { font-weight: 700; }
.cdxa-recap__monthly { font-family: var(--cdxa-serif); font-size: 2.2rem; font-weight: 600; line-height: 1; }
.cdxa-recap__monthly small { font-family: var(--cdxa-sans); font-size: 0.9rem; font-weight: 500; color: var(--cdxa-muted); }
.cdxa-secure { font-size: 0.85rem; color: var(--cdxa-text); margin: 0; }

/* Confirmation */
.cdxa-confirm { display: flex; flex-direction: column; gap: 22px; max-width: 800px; }
.cdxa-confirm__head { display: flex; flex-direction: column; gap: 12px; }
.cdxa-confirm__icon { width: 56px; height: 56px; border-radius: 50%; background: #1B6E47; color: #fff; display: flex; align-items: center; justify-content: center; }
.cdxa-confirm__number { display: flex; flex-direction: column; gap: 4px; border-bottom: 1px solid var(--cdxa-line-2); padding-bottom: 18px; margin-bottom: 18px; }
.cdxa-confirm__number strong { font-family: var(--cdxa-serif); font-size: clamp(1.8rem, 1.4rem + 1.5vw, 2.6rem); }
.cdxa-next { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 10px; }

/* Authentification */
.cdxa-auth { max-width: 460px; }
.cdxa-auth .cdxa-card { padding: 32px; }

/* Espace client */
.cdxa-space { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 28px; align-items: start; }
.cdxa-space__nav { display: flex; flex-direction: column; gap: 4px; background: var(--cdxa-ink); border-radius: var(--cdxa-radius); padding: 14px; position: sticky; top: 24px; }
.cdxa-space__nav a { display: flex; align-items: center; justify-content: space-between; min-height: 44px; padding: 0 14px; border-radius: 8px; color: #C9D1DC !important; text-decoration: none; font-weight: 500; }
.cdxa-space__nav a:hover { background: #22324D; color: #fff !important; }
.cdxa-space__nav a.is-active { background: #fff; color: var(--cdxa-ink) !important; font-weight: 700; }
.cdxa-space__nav a:focus-visible { outline-color: #D4A865; }
.cdxa-space__logout { margin-top: 12px; border-top: 1px solid #34435C; border-radius: 0 !important; }
.cdxa-space__main { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.cdxa-space__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.cdxa-space__switch { display: flex; align-items: center; gap: 10px; }
.cdxa-space__switch select { min-height: 44px; border: 1px solid var(--cdxa-field); border-radius: 6px; padding: 0 10px; font: inherit; }
.cdxa-dossier { display: flex; flex-direction: column; gap: 22px; }
.cdxa-dossier__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.cdxa-dossier__num { display: block; font-family: var(--cdxa-serif); font-size: 1.75rem; }
.cdxa-phases { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; font-size: 0.85rem; }
.cdxa-phases li { display: flex; flex-direction: column; gap: 8px; color: var(--cdxa-muted); }
.cdxa-phases li span { height: 6px; border-radius: 3px; background: var(--cdxa-line); }
.cdxa-phases li.is-done { color: var(--cdxa-ink); } .cdxa-phases li.is-done span { background: #1B6E47; }
.cdxa-phases li.is-current { color: var(--cdxa-ink); font-weight: 700; } .cdxa-phases li.is-current span { background: var(--cdxa-blue); }
.cdxa-todo { background: var(--cdxa-warn-bg); border-color: #E7CFA5; display: flex; flex-direction: column; gap: 10px; }
.cdxa-todo p { margin: 0; }
.cdxa-todo__list { margin: 0; padding-left: 20px; }
.cdxa-steps3 ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.cdxa-checklist { list-style: none; margin: 0; padding: 0; }
.cdxa-checklist li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--cdxa-line-2); }
.cdxa-checklist li:last-child { border-bottom: 0; }
.cdxa-upload { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: end; }
.cdxa-upload .cdxa-btn { grid-column: 1 / -1; justify-self: start; }
.cdxa-doclist { list-style: none; margin: 0; padding: 0; }
.cdxa-doclist li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 16px; align-items: center; padding: 16px 24px; border-bottom: 1px solid var(--cdxa-line-2); }
.cdxa-doclist li:last-child { border-bottom: 0; }
.cdxa-doclist li > div { display: flex; flex-direction: column; gap: 2px; }
.cdxa-doclist li.is-new { background: #FFFCF5; }
.cdxa-history { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 8px 20px; }
.cdxa-history li { display: contents; }
.cdxa-thread { display: flex; flex-direction: column; gap: 18px; }
.cdxa-msgs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.cdxa-msgs li { display: flex; flex-direction: column; gap: 4px; max-width: 80%; }
.cdxa-msgs li.is-me { align-self: flex-end; align-items: flex-end; }
.cdxa-msgs__meta { font-size: 0.8rem; color: var(--cdxa-muted); }
.cdxa-msgs__body { padding: 12px 16px; border-radius: 12px; background: #EEF0F3; }
.cdxa-msgs li.is-me .cdxa-msgs__body { background: var(--cdxa-blue); color: #fff; }
.cdxa-msgform { display: flex; flex-direction: column; gap: 12px; border-top: 1px solid var(--cdxa-line-2); padding-top: 18px; }
.cdxa-msgform .cdxa-btn { align-self: flex-start; }

@media (max-width: 900px) {
	.cdxa-sim, .cdxa-apply, .cdxa-space { grid-template-columns: 1fr; }
	.cdxa-sim__result { border-left: 0; padding-left: 0; border-top: 1px solid var(--cdxa-line); padding-top: 20px; }
	.cdxa-apply__aside { position: static; order: -1; }
	.cdxa-apply__form { padding: 24px 18px; }
	.cdxa-space__nav { position: static; flex-direction: row; flex-wrap: wrap; }
	.cdxa-space__logout { margin-top: 0; border-top: 0; }
	.cdxa-phases { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
	.cdxa-grid, .cdxa-upload { grid-template-columns: 1fr; }
	.cdxa-progress__steps { display: none; }
	.cdxa-apply__nav { position: sticky; bottom: 0; background: #fff; padding-bottom: 12px; }
	.cdxa-doclist li { grid-template-columns: 1fr auto; }
	.cdxa-history { grid-template-columns: 1fr; }
	.cdxa-msgs li { max-width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .cdxa * { transition: none !important; } }

/* Lot 3 : FAQ, contact, parcours, exemple représentatif */
.cdxa-faq { display: flex; flex-direction: column; gap: 10px; }
.cdxa-faq__group { font-family: var(--cdxa-serif); font-weight: 600; font-size: 1.5rem; margin: 24px 0 6px; }
.cdxa-faq__group:first-child { margin-top: 0; }
.cdxa-faq__item { background: #fff; border: 1px solid var(--cdxa-line); border-radius: 10px; }
.cdxa-faq__item summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; font-weight: 600; font-size: 1.05rem; min-height: 44px; }
.cdxa-faq__item summary::-webkit-details-marker { display: none; }
.cdxa-faq__item summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--cdxa-blue); flex-shrink: 0; }
.cdxa-faq__item[open] summary::after { content: "–"; }
.cdxa-faq__answer { padding: 0 22px 18px; color: var(--cdxa-text); }
.cdxa-faq__answer p { margin: 0 0 10px; }
.cdxa-contact .cdxa-card { padding: 32px; }
.cdxa-process { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; }
.cdxa-process--row { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.cdxa-process li { display: flex; flex-direction: column; gap: 10px; }
.cdxa-process--column li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 4px 16px; }
.cdxa-process--column .cdxa-process__num { grid-row: span 2; }
.cdxa-process__num { width: 44px; height: 44px; border-radius: 50%; background: var(--cdxa-ink); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--cdxa-serif); font-weight: 600; font-size: 1.2rem; }
.cdxa-process__title { font-weight: 700; font-size: 1.05rem; }
.cdxa-process__text { color: var(--cdxa-text); line-height: 1.5; }
.cdxa-example { border-left: 4px solid var(--cdxa-brass); background: #fff; padding: 16px 20px; border-radius: 0 10px 10px 0; font-size: .9rem; color: var(--cdxa-text); }
.cdxa-example__title { display: block; font-weight: 700; color: var(--cdxa-ink); margin-bottom: 6px; }
.cdxa-example p { margin: 0 0 6px; }
.cdxa-legal-page { max-width: 820px; }
.cdxa-legal-banner { border: 2px dashed var(--cdxa-brass); background: var(--cdxa-warn-bg); color: #3F2D10; border-radius: 10px; padding: 14px 18px; font-weight: 600; }
@media (max-width: 900px) { .cdxa-process--row { grid-template-columns: 1fr; } .cdxa-process--row li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 4px 16px; } .cdxa-process--row .cdxa-process__num { grid-row: span 2; } }

/* Lot 4 : proposition, contrat, signature */
.cdxa-proposal, .cdxa-sign, .cdxa-signed { display: flex; flex-direction: column; gap: 14px; }
.cdxa-proposal p, .cdxa-sign p, .cdxa-signed p { margin: 0; }
.cdxa-proposal__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.cdxa-proposal__head .cdxa-h3 { margin: 0; }
.cdxa-facts--big { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); background: var(--cdxa-ground); border-radius: 10px; padding: 16px 18px; }
.cdxa-facts--big dd { font-size: 1.15rem; }
.cdxa-quote { border-left: 4px solid var(--cdxa-blue); padding: 10px 16px; background: #F5F8FC; border-radius: 0 8px 8px 0; }
.cdxa-answer { border-top: 1px solid var(--cdxa-line-2); padding-top: 16px; }
.cdxa-signed { border-color: #A9D2BC; background: #F4FAF6; }
.cdxa-signsteps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.cdxa-signsteps > li { counter-increment: s; position: relative; padding: 16px 18px 16px 60px; border: 1px solid var(--cdxa-line); border-radius: 10px; display: flex; flex-direction: column; gap: 10px; color: var(--cdxa-muted); }
.cdxa-signsteps > li::before { content: counter(s); position: absolute; left: 16px; top: 14px; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid currentColor; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.cdxa-signsteps > li.is-current { border-color: var(--cdxa-blue); color: var(--cdxa-ink); background: #F5F8FC; }
.cdxa-signsteps > li.is-done { color: var(--cdxa-ok); }
.cdxa-signsteps > li.is-done::before { content: "✓"; background: var(--cdxa-ok); color: #fff; border-color: var(--cdxa-ok); }
.cdxa-otp input { max-width: 220px; font-size: 1.6rem !important; letter-spacing: .35em; text-align: center; font-variant-numeric: tabular-nums; }
.cdxa-linkbtn { background: none; border: 0; padding: 8px 0; color: var(--cdxa-blue); text-decoration: underline; cursor: pointer; font: inherit; min-height: 44px; }

/* 1.0.2 : protection contre les styles du thème et du kit Elementor (boutons, liens, tailles). */
html body .cdxa { font-size: 16px; }
html body .cdxa a:not(.cdxa-btn) { color: var(--cdxa-blue); }
html body .cdxa a.cdxa-btn,
html body .cdxa button.cdxa-btn,
html body .cdxa summary.cdxa-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; width: auto;
	padding: 12px 22px; margin: 0; border-radius: 6px; border-width: 1px; border-style: solid; box-shadow: none;
	font-family: inherit; font-size: 16px; font-weight: 600; line-height: 1.25; text-align: center;
	text-transform: none; letter-spacing: normal; text-decoration: none; cursor: pointer; white-space: normal;
}
html body .cdxa .cdxa-btn.cdxa-btn--primary,
html body .cdxa .cdxa-btn.cdxa-btn--primary:visited { background: var(--cdxa-blue); color: #fff; border-color: var(--cdxa-blue); }
html body .cdxa .cdxa-btn.cdxa-btn--primary:hover,
html body .cdxa .cdxa-btn.cdxa-btn--primary:focus { background: var(--cdxa-blue-d); color: #fff; border-color: var(--cdxa-blue-d); }
html body .cdxa .cdxa-btn.cdxa-btn--line,
html body .cdxa .cdxa-btn.cdxa-btn--line:visited { background: #fff; color: var(--cdxa-ink); border-color: var(--cdxa-field); }
html body .cdxa .cdxa-btn.cdxa-btn--line:hover,
html body .cdxa .cdxa-btn.cdxa-btn--line:focus { background: #fff; color: var(--cdxa-ink); border-color: var(--cdxa-ink); }
html body .cdxa .cdxa-btn--block { width: 100%; }
html body .cdxa .cdxa-linkbtn { background: none; border: 0; padding: 8px 0; color: var(--cdxa-blue); box-shadow: none; }
html body .cdxa select, html body .cdxa input, html body .cdxa textarea { font-family: inherit; }
html body .cdxa-sim__row label { font-size: 16px; }

/* 1.0.3 : simulateur compact équilibré avec le texte du bandeau. */
html body .cdxa-sim--compact { padding: 24px 26px; gap: 18px; }
html body .cdxa-sim--compact .cdxa-sim__form { gap: 16px; }
html body .cdxa-sim--compact .cdxa-sim__row { align-items: center; }
html body .cdxa-sim--compact .cdxa-sim__row label { white-space: nowrap; margin: 0; }
html body .cdxa-sim--compact .cdxa-sim__big { font-size: 1.45rem; }
html body .cdxa-sim--compact .cdxa-sim__result { gap: 10px; padding-top: 16px; }
html body .cdxa-sim--compact .cdxa-sim__label { font-size: 14px; }
html body .cdxa-sim--compact .cdxa-sim__monthly { font-size: clamp(2.2rem, 1.8rem + 1.2vw, 2.9rem); }
html body .cdxa-sim--compact .cdxa-sim__facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
html body .cdxa-sim--compact .cdxa-sim__facts dt { font-size: 12.5px; }
html body .cdxa-sim--compact .cdxa-sim__facts dd { font-size: 15px; }
html body .cdxa-sim--compact .cdxa-legal { font-size: 12px; line-height: 1.45; }
html body .cdxa-sim--compact .cdxa-btn { min-height: 46px; }
html body .cdxa-sim .cdxa-field select, html body .cdxa-sim .cdxa-field input:not([type=range]) { min-height: 46px; }
@media (max-width: 480px) { html body .cdxa-sim--compact .cdxa-sim__facts { grid-template-columns: 1fr 1fr; } }

/* 1.0.4 : cartes des solutions, blocs de contenu. */
.cdxa-products { display: grid; gap: 28px; }
.cdxa-products--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cdxa-products--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cdxa-products--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cdxa-product { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--cdxa-line); border-radius: 18px; overflow: hidden; box-shadow: 0 1px 2px rgba(22,35,58,.04), 0 12px 32px rgba(22,35,58,.06); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.cdxa-product:hover { transform: translateY(-4px); border-color: #D4A865; box-shadow: 0 2px 4px rgba(22,35,58,.06), 0 22px 48px rgba(22,35,58,.12); }
.cdxa-product__media { aspect-ratio: 4 / 3; overflow: hidden; background: #EEF2F8; }
.cdxa-product__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.cdxa-product:hover .cdxa-product__media img { transform: scale(1.04); }
.cdxa-product__body { display: flex; flex-direction: column; gap: 12px; padding: 24px 24px 26px; flex: 1; }
.cdxa-product__title { margin: 0; font-family: var(--cdxa-serif); font-weight: 600; font-size: 1.45rem; line-height: 1.2; }
html body .cdxa .cdxa-product__title a { color: var(--cdxa-ink); text-decoration: none; }
html body .cdxa .cdxa-product__title a::after { content: ""; position: absolute; inset: 0; z-index: 0; }
.cdxa-product__text { margin: 0; color: var(--cdxa-text); line-height: 1.55; }
.cdxa-product__facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.cdxa-product__facts li { font-size: 13px; font-weight: 600; color: #163E73; background: #E8EEF7; border-radius: 999px; padding: 5px 11px; font-variant-numeric: tabular-nums; }
.cdxa-product__actions { display: flex; gap: 10px; margin-top: auto; padding-top: 8px; position: relative; z-index: 1; }
html body .cdxa .cdxa-product__actions .cdxa-btn { flex: 1; min-height: 46px; }
.cdxa-checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.cdxa-checks li { position: relative; padding-left: 34px; line-height: 1.5; }
.cdxa-checks li::before { content: ""; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: #E1F0E8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23135235' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.cdxa-keycard { background: #fff; border: 1px solid var(--cdxa-line); border-radius: 16px; padding: 28px; height: 100%; box-sizing: border-box; box-shadow: 0 12px 32px rgba(22,35,58,.05); }
.cdxa-keycard h3 { margin: 0 0 16px; font-size: 1.2rem; }
.cdxa-keycard--accent { border-top: 4px solid #C08A45; }
.cdxa-illustration img { display: block; width: 100%; height: auto; border-radius: 20px; box-shadow: 0 24px 60px rgba(22,35,58,.14); }
@media (max-width: 1024px) { .cdxa-products--3, .cdxa-products--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .cdxa-products--2, .cdxa-products--3, .cdxa-products--4 { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .cdxa-product, .cdxa-product__media img { transition: none; } .cdxa-product:hover { transform: none; } .cdxa-product:hover .cdxa-product__media img { transform: none; } }

/* 1.0.6 : l'attribut hidden reste prioritaire sur les styles de boutons (étapes du formulaire). */
html body .cdxa [hidden], html body .cdxa button[hidden], html body .cdxa a[hidden] { display: none !important; }

/* ---- Paiement & Mensualités (1.2.0) ---- */
html body .cdxa .cdxa-paysum { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 16px 0 0; }
html body .cdxa .cdxa-paysum > div { background: var(--cdxa-ground); border-radius: 10px; padding: 12px 14px; }
html body .cdxa .cdxa-paysum dt { font-size: 0.8rem; color: var(--cdxa-muted); margin: 0; }
html body .cdxa .cdxa-paysum dd { margin: 2px 0 0; font-size: 1.25rem; font-weight: 700; color: var(--cdxa-ink); }
html body .cdxa .cdxa-paysecu { border-left: 3px solid var(--cdxa-brass); padding-left: 10px; margin-top: 14px; }
html body .cdxa .cdxa-paycard__head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; flex-wrap: wrap; }
html body .cdxa .cdxa-paycard__amount { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
html body .cdxa .cdxa-paycard__amount strong { font-size: 1.5rem; color: var(--cdxa-ink); }
html body .cdxa .cdxa-bankbox { border: 1px solid var(--cdxa-line); border-radius: 10px; padding: 16px; margin: 16px 0; background: #fff; }
html body .cdxa .cdxa-bankbox__title { font-size: 1rem; font-weight: 700; margin: 0 0 10px; color: var(--cdxa-ink); }
html body .cdxa .cdxa-kv { display: grid; grid-template-columns: minmax(120px, 34%) 1fr; gap: 8px 16px; margin: 0; }
html body .cdxa .cdxa-kv dt { color: var(--cdxa-muted); font-size: 0.9rem; margin: 0; }
html body .cdxa .cdxa-kv dd { margin: 0; color: var(--cdxa-ink); overflow-wrap: anywhere; }
html body .cdxa .cdxa-copyable button { font-size: 0.8rem; margin-left: 6px; }
html body .cdxa .cdxa-proof { border-top: 1px solid var(--cdxa-line-2); padding-top: 16px; }
html body .cdxa .cdxa-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
html body .cdxa .cdxa-tablewrap { overflow-x: auto; }
html body .cdxa .cdxa-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
html body .cdxa .cdxa-table th, html body .cdxa .cdxa-table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--cdxa-line-2); vertical-align: top; }
html body .cdxa .cdxa-table th { font-size: 0.8rem; text-transform: uppercase; letter-spacing: .04em; color: var(--cdxa-muted); }
html body .cdxa .cdxa-space--section .cdxa-space__main { padding: 0; }
@media (max-width: 700px) {
	html body .cdxa .cdxa-paysum, html body .cdxa .cdxa-grid-3 { grid-template-columns: 1fr; }
	html body .cdxa .cdxa-kv { grid-template-columns: 1fr; gap: 2px; }
	html body .cdxa .cdxa-kv dd { margin-bottom: 8px; }
	html body .cdxa .cdxa-paycard__amount { align-items: flex-start; }
}

/* 1.3.1 : boutons pleine largeur sur téléphone. */
@media (max-width: 900px) {
	html body .cdxa .cdxa-actions { display: flex; flex-direction: column; align-items: stretch; gap: 10px; }
	html body .cdxa .cdxa-actions .cdxa-btn { width: 100%; }
}

/* 1.3.2 : connexion + encadré « Pas encore d'espace client ? » */
html body .cdxa.cdxa-auth--split { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 28px; align-items: stretch; }
html body .cdxa .cdxa-newclient { display: flex; flex-direction: column; gap: 16px; background: var(--cdxa-ink); color: #DDE3EC; border-color: var(--cdxa-ink); }
html body .cdxa .cdxa-newclient .cdxa-h2 { color: #fff; font-size: 1.6rem; }
html body .cdxa .cdxa-newclient p { margin: 0; line-height: 1.6; }
html body .cdxa .cdxa-newclient .cdxa-checks li { color: #fff; }
html body .cdxa .cdxa-newclient__actions { display: flex; flex-direction: column; gap: 10px; margin-top: auto; }
html body .cdxa .cdxa-newclient .cdxa-btn.cdxa-btn--primary { background: #D4A865; border-color: #D4A865; color: var(--cdxa-ink) !important; }
html body .cdxa .cdxa-newclient .cdxa-btn.cdxa-btn--primary:hover { background: #E2BD80; border-color: #E2BD80; color: var(--cdxa-ink) !important; }
html body .cdxa .cdxa-newclient .cdxa-btn.cdxa-btn--line { background: transparent; color: #fff !important; border-color: rgba(255,255,255,.5); }
html body .cdxa .cdxa-newclient .cdxa-btn.cdxa-btn--line:hover { border-color: #fff; background: rgba(255,255,255,.08); }
html body .cdxa.cdxa-notice { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
html body .cdxa.cdxa-notice p { margin: 0; }
@media (max-width: 820px) { html body .cdxa.cdxa-auth--split { grid-template-columns: 1fr; } }

/* =====================================================================
   1.4.0 : application client (en-tête dédié, barre latérale, onglets mobiles)
   ===================================================================== */
/* L'en-tête et le pied de page publics (thème ou Elementor) ne s'affichent pas dans l'espace client. */
body.cdxa-app .cdxa-site-header, body.cdxa-app .cdxa-topbar, body.cdxa-app .cdxa-site-footer,
body.cdxa-app header.site-header, body.cdxa-app footer.site-footer,
body.cdxa-app .elementor-location-header, body.cdxa-app .elementor-location-footer { display: none !important; }
body.cdxa-app { background: #F3F4F1; }
/* La section Elementor qui contient l'espace devient pleine page. */
body.cdxa-app .elementor-section:has(.cdxa-app-shell), body.cdxa-app .e-con:has(.cdxa-app-shell) { padding: 0 !important; background: transparent !important; }
body.cdxa-app .elementor-section:has(.cdxa-app-shell) > .elementor-container, body.cdxa-app .e-con:has(.cdxa-app-shell) > .e-con-inner { max-width: none !important; padding: 0 !important; }
body.cdxa-app .elementor-widget-wrap:has(.cdxa-app-shell), body.cdxa-app .elementor-column:has(.cdxa-app-shell) > .elementor-widget-wrap { padding: 0 !important; }
html.cdxa-sheet-open { overflow: hidden; }

/* =====================================================================
   1.8.0 : refonte de l'espace client (barre latérale sombre, bandeau, cartes)
   ===================================================================== */
html body .cdxa.cdxa-app-shell {
	--app-side: 288px; --app-navy: #0B2454; --app-navy-2: #0F2F68; --app-blue: #1463F3; --app-blue-d: #0F4FC7;
	--app-bg: #F2F6FC; --app-line: #E2E9F4; --app-soft: #EAF1FE; --app-ink: #0D1B33; --app-text: #3A4659; --app-muted: #5D6A7E;
	--cdxa-blue: #1463F3; --cdxa-blue-d: #0F4FC7; --cdxa-ink: #0D1B33;
	min-height: 100vh; display: grid; grid-template-columns: var(--app-side) minmax(0, 1fr); background: var(--app-bg); color: var(--app-ink);
}
body.cdxa-app { background: #F2F6FC; }
html body .cdxa-app-shell .cdxa-ico { width: 20px; height: 20px; flex: 0 0 auto; }
html body .cdxa-app-shell :focus-visible { outline: 3px solid #7FB0FF; outline-offset: 2px; }

/* Barre latérale */
html body .cdxa-app-shell .cdxa-appside { position: sticky; top: 0; height: 100vh; overflow-y: auto; display: flex; flex-direction: column; gap: 18px; padding: 24px 18px 20px; background: linear-gradient(180deg, var(--app-navy) 0%, #0A1F49 100%); color: #C8D3E6; }
body.admin-bar .cdxa-app-shell .cdxa-appside { top: 32px; height: calc(100vh - 32px); }
html body .cdxa-app-shell .cdxa-appside__brand { display: flex; align-items: center; gap: 12px; padding: 0 6px; color: #fff !important; text-decoration: none !important; }
html body .cdxa-app-shell .cdxa-appside__logo { max-height: 48px; max-width: 220px; width: auto; display: block; object-fit: contain; }
html body .cdxa-app-shell .cdxa-appside__mark { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 12px; background: linear-gradient(135deg, #3B82F6, var(--app-blue)); color: #fff; display: inline-flex; align-items: center; justify-content: center; font: 700 20px/1 var(--cdxa-serif); box-shadow: 0 6px 18px rgba(20,99,243,.35); }
html body .cdxa-app-shell .cdxa-appside__id { display: flex; flex-direction: column; min-width: 0; }
html body .cdxa-app-shell .cdxa-appside__name { font-size: 20px; font-weight: 700; line-height: 1.15; color: #fff; overflow-wrap: anywhere; }
html body .cdxa-app-shell .cdxa-appside__slogan { font-size: 13px; color: #A9B8D2; line-height: 1.3; }
html body .cdxa-app-shell .cdxa-appside__pill { margin: 0; display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 16px; border-radius: 12px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1); color: #fff; font-weight: 700; font-size: 15px; }
html body .cdxa-app-shell .cdxa-clientcard { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; align-items: center; padding: 6px 6px 4px; }
html body .cdxa-app-shell .cdxa-clientcard__avatar { width: 52px; height: 52px; border-radius: 50%; background: #fff; color: var(--app-navy); display: inline-flex; align-items: center; justify-content: center; font-size: 17px; font-weight: 800; }
html body .cdxa-app-shell .cdxa-clientcard__who { display: flex; flex-direction: column; min-width: 0; }
html body .cdxa-app-shell .cdxa-clientcard strong { color: #fff; font-size: 16px; line-height: 1.3; overflow-wrap: anywhere; }
html body .cdxa-app-shell .cdxa-clientcard .cdxa-num { font-size: 13px; color: #B5C2D8; }
html body .cdxa-app-shell .cdxa-clientcard__status { grid-column: 2; justify-self: start; margin-top: 6px; background: #16A34A; color: #fff; font-size: 12.5px; padding: 5px 12px; }
html body .cdxa-app-shell .cdxa-clientcard__status::before { background: #fff; width: 7px; height: 7px; }
html body .cdxa-app-shell .cdxa-space__nav { display: flex; flex-direction: column; gap: 4px; margin-top: 4px; padding: 0; background: transparent; border-radius: 0; position: static; }
html body .cdxa-app-shell .cdxa-space__nav a { display: flex; align-items: center; gap: 14px; min-height: 50px; padding: 0 16px; border-radius: 12px; color: #D5DEEC !important; text-decoration: none !important; font-weight: 500; font-size: 15.5px; }
html body .cdxa-app-shell .cdxa-space__nav a .cdxa-ico { width: 22px; height: 22px; flex-basis: 22px; color: #AFC0DB; }
html body .cdxa-app-shell .cdxa-space__nav a:hover { background: rgba(255,255,255,.07); color: #fff !important; }
html body .cdxa-app-shell .cdxa-space__nav a.is-active { background: var(--app-blue); color: #fff !important; font-weight: 700; box-shadow: 0 8px 22px rgba(20,99,243,.4); }
html body .cdxa-app-shell .cdxa-space__nav a.is-active .cdxa-ico { color: #fff; }
html body .cdxa-app-shell .cdxa-space__label { flex: 1; line-height: 1.25; }
html body .cdxa-app-shell .cdxa-app-badge { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: #EF4444; color: #fff; font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; line-height: 1; }
html body .cdxa-app-shell .cdxa-helpcard { margin-top: auto; display: flex; flex-direction: column; gap: 8px; padding: 18px; border-radius: 16px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); color: #C8D3E6; font-size: 13.5px; line-height: 1.45; }
html body .cdxa-app-shell .cdxa-helpcard__icon { width: 40px; height: 40px; border-radius: 12px; background: rgba(20,99,243,.25); color: #8FB8FF; display: inline-flex; align-items: center; justify-content: center; }
html body .cdxa-app-shell .cdxa-helpcard strong { color: #fff; font-size: 16px; }
html body .cdxa-app-shell .cdxa-helpcard a { display: flex; align-items: center; gap: 10px; color: #fff !important; text-decoration: none !important; font-weight: 600; overflow-wrap: anywhere; min-height: 32px; }
html body .cdxa-app-shell .cdxa-helpcard a .cdxa-ico { width: 17px; height: 17px; flex-basis: 17px; color: #8FB8FF; }
html body .cdxa-app-shell .cdxa-helpcard__hours { font-size: 12.5px; color: #93A3BF; }
html body .cdxa-app-shell .cdxa-space__logout { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 50px; border-radius: 12px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1); color: #fff !important; text-decoration: none !important; font-weight: 600; }
html body .cdxa-app-shell .cdxa-space__logout:hover { background: rgba(255,255,255,.14); }

/* Colonne principale et barre supérieure */
html body .cdxa-app-shell .cdxa-appcol { min-width: 0; display: flex; flex-direction: column; }
html body .cdxa-app-shell .cdxa-apphead { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; justify-content: flex-end; gap: 12px; min-height: 72px; padding: 12px 32px; background: rgba(242,246,252,.86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
body.admin-bar .cdxa-app-shell .cdxa-apphead { top: 32px; }
@media (max-width: 782px) { body.admin-bar .cdxa-app-shell .cdxa-apphead { top: 0; } }
html body .cdxa-app-shell .cdxa-apphead__brand { display: none; align-items: center; gap: 10px; margin-right: auto; text-decoration: none !important; color: var(--app-ink) !important; min-width: 0; }
html body .cdxa-app-shell .cdxa-apphead__logo { height: 34px; width: auto; max-width: 140px; object-fit: contain; display: block; }
html body .cdxa-app-shell .cdxa-apphead__mark { width: 36px; height: 36px; border-radius: 10px; background: var(--app-navy); color: #fff; display: inline-flex; align-items: center; justify-content: center; font: 700 17px/1 var(--cdxa-serif); flex: 0 0 auto; }
html body .cdxa-app-shell .cdxa-apphead__name { font-size: 16px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html body .cdxa-app-shell .cdxa-apphead__right { display: flex; align-items: center; gap: 12px; }
html body .cdxa-app-shell .cdxa-apphead__switch select { min-height: 46px; border: 1px solid var(--app-line); border-radius: 999px; padding: 0 14px; font: inherit; font-size: 15px; background: #fff; color: var(--app-ink); }
html body .cdxa-app-shell .cdxa-apphead__icon { position: relative; width: 48px; height: 48px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--app-ink) !important; background: #fff; border: 1px solid var(--app-line); box-shadow: 0 2px 8px rgba(13,27,51,.05); }
html body .cdxa-app-shell .cdxa-apphead__icon .cdxa-ico { width: 22px; height: 22px; flex-basis: 22px; }
html body .cdxa-app-shell .cdxa-app-dot { position: absolute; top: 10px; right: 11px; width: 10px; height: 10px; border-radius: 50%; background: #EF4444; box-shadow: 0 0 0 2px #fff; }

/* Menus déroulants (langue, compte) */
html body .cdxa-app-shell .cdxa-menu { position: relative; }
html body .cdxa-app-shell .cdxa-menu > summary { list-style: none; display: flex; align-items: center; gap: 10px; cursor: pointer; min-height: 48px; padding: 4px 14px 4px 6px; border-radius: 999px; background: #fff; border: 1px solid var(--app-line); box-shadow: 0 2px 8px rgba(13,27,51,.05); color: var(--app-ink); font-weight: 700; }
html body .cdxa-app-shell .cdxa-langmenu > summary { padding: 4px 14px; }
html body .cdxa-app-shell .cdxa-menu > summary::-webkit-details-marker { display: none; }
html body .cdxa-app-shell .cdxa-menu__chev { width: 16px; height: 16px; flex-basis: 16px; color: var(--app-muted); transition: transform .2s; }
html body .cdxa-app-shell .cdxa-menu[open] .cdxa-menu__chev { transform: rotate(180deg); }
html body .cdxa-app-shell .cdxa-menu__panel { position: absolute; right: 0; top: calc(100% + 8px); min-width: 220px; background: #fff; border: 1px solid var(--app-line); border-radius: 16px; box-shadow: 0 20px 50px rgba(13,27,51,.16); padding: 8px; display: flex; flex-direction: column; z-index: 50; }
html body .cdxa-app-shell .cdxa-menu__panel a { display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 0 12px; border-radius: 10px; color: var(--app-ink) !important; text-decoration: none !important; font-weight: 500; }
html body .cdxa-app-shell .cdxa-menu__panel a:hover { background: var(--app-bg); }
html body .cdxa-app-shell .cdxa-menu__panel a.is-active { background: var(--app-soft); font-weight: 700; }
html body .cdxa-app-shell .cdxa-langmenu__code { width: 30px; font-size: 12px; font-weight: 800; color: var(--app-blue); }
html body .cdxa-app-shell .cdxa-usermenu__avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--app-blue); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 800; flex: 0 0 auto; }
html body .cdxa-app-shell .cdxa-usermenu__name { font-size: 15px; max-width: 200px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html body .cdxa-app-shell .cdxa-usermenu__panel { width: 270px; }
html body .cdxa-app-shell .cdxa-usermenu__who { margin: 0 0 6px; padding: 10px 12px 12px; border-bottom: 1px solid var(--app-line); display: flex; flex-direction: column; gap: 2px; }
html body .cdxa-app-shell .cdxa-usermenu__who span { font-size: 13px; color: var(--app-muted); overflow-wrap: anywhere; }
html body .cdxa-app-shell a.is-danger { color: #B42318 !important; }

/* Contenu */
html body .cdxa-app-shell .cdxa-space__main { padding: 4px 32px 40px; display: flex; flex-direction: column; gap: 22px; min-width: 0; width: 100%; max-width: 1360px; }
html body .cdxa-app-shell .cdxa-card { background: #fff; border: 1px solid var(--app-line); border-radius: 18px; padding: 24px; box-shadow: 0 1px 2px rgba(13,27,51,.03), 0 10px 30px rgba(13,27,51,.05); }
html body .cdxa-app-shell .cdxa-card--flush { padding: 0; }
html body .cdxa-app-shell .cdxa-card--warn { background: #FFFBF0; border-color: #F3DDA6; }
html body .cdxa-app-shell .cdxa-pad { padding: 20px 24px 4px; }
html body .cdxa-app-shell .cdxa-cardtitle, html body .cdxa-app-shell .cdxa-h3 { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; font-size: 19px; font-weight: 800; line-height: 1.25; color: var(--app-ink); letter-spacing: -.005em; }
html body .cdxa-app-shell .cdxa-cardtitle > .cdxa-ico { width: 40px; height: 40px; flex: 0 0 40px; padding: 9px; border-radius: 12px; background: var(--app-soft); color: var(--app-blue); }
html body .cdxa-app-shell .cdxa-alert { border-radius: 14px; margin: 0; }
html body .cdxa-app-shell .cdxa .cdxa-btn, html body .cdxa-app-shell a.cdxa-btn, html body .cdxa-app-shell button.cdxa-btn, html body .cdxa-app-shell label.cdxa-btn { border-radius: 12px; min-height: 50px; font-weight: 700; }
html body .cdxa-app-shell .cdxa-btn.cdxa-btn--primary { background: var(--app-blue); border-color: var(--app-blue); box-shadow: 0 8px 20px rgba(20,99,243,.25); }
html body .cdxa-app-shell .cdxa-btn.cdxa-btn--primary:hover, html body .cdxa-app-shell .cdxa-btn.cdxa-btn--primary:focus { background: var(--app-blue-d); border-color: var(--app-blue-d); }
html body .cdxa-app-shell .cdxa-btn.cdxa-btn--line { border-color: #C9D4E5; color: var(--app-ink); }
html body .cdxa-app-shell .cdxa-btn .cdxa-ico { width: 20px; height: 20px; }
html body .cdxa-app-shell .cdxa-btn[disabled] { opacity: .6; cursor: progress; }
html body .cdxa-app-shell .cdxa-field select, html body .cdxa-app-shell .cdxa-field input:not([type="checkbox"]):not([type="radio"]):not([type="file"]), html body .cdxa-app-shell .cdxa-field textarea { border-radius: 12px; border-color: #C9D4E5; min-height: 48px; font-size: 16px; }

/* Bandeau de rubrique */
html body .cdxa-app-shell .cdxa-hero { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 30px 36px; border-radius: 22px; background: radial-gradient(120% 140% at 100% 0%, #CFE0FF 0%, rgba(207,224,255,0) 55%), linear-gradient(120deg, #FFFFFF 0%, #EEF4FF 60%, #DCE8FF 100%); border: 1px solid #DDE7F8; }
html body .cdxa-app-shell .cdxa-hero__text { position: relative; z-index: 1; max-width: 640px; }
html body .cdxa-app-shell .cdxa-hero__hello { margin: 0 0 4px; font-size: 18px; font-weight: 600; color: var(--app-text); }
html body .cdxa-app-shell .cdxa-hero__title { margin: 0 0 8px; font-size: clamp(1.75rem, 1.3rem + 1.5vw, 2.5rem); font-weight: 800; line-height: 1.1; color: var(--app-ink); letter-spacing: -.02em; font-family: inherit; }
html body .cdxa-app-shell .cdxa-hero__intro { margin: 0; font-size: 16.5px; color: var(--app-text); line-height: 1.5; }
html body .cdxa-app-shell .cdxa-hero__art { position: relative; flex: 0 0 auto; width: 132px; height: 132px; border-radius: 36px; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(145deg, #3D86FF, var(--app-blue) 55%, #0B48C2); box-shadow: 0 24px 50px rgba(20,99,243,.3), inset 0 1px 0 rgba(255,255,255,.35); transform: rotate(-6deg); margin-right: 16px; }
html body .cdxa-app-shell .cdxa-hero__art::after { content: ""; position: absolute; inset: -26px -44px auto auto; width: 120px; height: 120px; border-radius: 50%; background: rgba(255,255,255,.35); z-index: -1; }
html body .cdxa-app-shell .cdxa-hero__ico { width: 64px; height: 64px; color: #fff; stroke-width: 1.5; }

/* Accueil */
html body .cdxa-app-shell .cdxa-dash { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 22px; align-items: start; }
html body .cdxa-app-shell .cdxa-dash__main, html body .cdxa-app-shell .cdxa-dash__side { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
html body .cdxa-app-shell .cdxa-dossier { display: flex; flex-direction: column; gap: 22px; }
html body .cdxa-app-shell .cdxa-dossier__top { display: flex; align-items: flex-start; gap: 16px; }
html body .cdxa-app-shell .cdxa-dossier__icon { width: 52px; height: 52px; flex: 0 0 52px; border-radius: 14px; background: var(--app-soft); color: var(--app-blue); display: inline-flex; align-items: center; justify-content: center; }
html body .cdxa-app-shell .cdxa-dossier__icon .cdxa-ico { width: 26px; height: 26px; }
html body .cdxa-app-shell .cdxa-dossier__id { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
html body .cdxa-app-shell .cdxa-dossier__label { font-size: 14px; color: var(--app-muted); font-weight: 600; }
html body .cdxa-app-shell .cdxa-dossier__num { font-family: inherit; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); font-weight: 800; color: var(--app-ink); letter-spacing: -.01em; overflow-wrap: anywhere; }
html body .cdxa-app-shell .cdxa-dossier__sum { color: var(--app-text); font-size: 15.5px; }
html body .cdxa-app-shell .cdxa-status--soft { background: color-mix(in srgb, var(--st, #1463F3) 12%, #fff); color: color-mix(in srgb, var(--st, #1463F3) 75%, #0D1B33); border: 1px solid color-mix(in srgb, var(--st, #1463F3) 22%, #fff); }
html body .cdxa-app-shell .cdxa-progressbar { height: 14px; border-radius: 999px; background: #E3EAF5; overflow: hidden; }
html body .cdxa-app-shell .cdxa-progressbar span { display: block; height: 100%; min-width: 14px; border-radius: inherit; background: linear-gradient(90deg, #3D86FF, var(--app-blue)); transition: width .6s ease; }
html body .cdxa-app-shell .cdxa-action { display: flex; gap: 18px; background: linear-gradient(135deg, #FFF8E7 0%, #FFF3D6 100%); border-color: #F2D9A2; }
html body .cdxa-app-shell .cdxa-action__icon { width: 56px; height: 56px; flex: 0 0 56px; border-radius: 50%; background: #FFE7B3; color: #A35A00; display: inline-flex; align-items: center; justify-content: center; }
html body .cdxa-app-shell .cdxa-action__icon .cdxa-ico { width: 26px; height: 26px; }
html body .cdxa-app-shell .cdxa-action__body { flex: 1; min-width: 0; }
html body .cdxa-app-shell .cdxa-action__title { margin: 4px 0 6px; font-size: 20px; font-weight: 800; color: var(--app-ink); line-height: 1.25; }
html body .cdxa-app-shell .cdxa-action__body > p { margin: 0 0 12px; color: var(--app-text); }
html body .cdxa-app-shell .cdxa-action__list { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-direction: column; gap: 9px; }
html body .cdxa-app-shell .cdxa-action__list li { display: flex; align-items: center; gap: 12px; color: var(--app-ink); font-weight: 500; flex-wrap: wrap; }
html body .cdxa-app-shell .cdxa-action__mark { width: 24px; height: 24px; flex: 0 0 24px; border-radius: 50%; border: 2px solid #C9A65E; display: inline-flex; align-items: center; justify-content: center; background: #fff; }
html body .cdxa-app-shell .cdxa-action__mark .cdxa-ico { width: 15px; height: 15px; stroke-width: 3; }
html body .cdxa-app-shell .is-done .cdxa-action__mark { background: #16A34A; border-color: #16A34A; color: #fff; }
html body .cdxa-app-shell .is-done > span:nth-child(2) { color: var(--app-muted); }
html body .cdxa-app-shell .is-rejected .cdxa-action__mark { background: #FDECEC; border-color: #D92D20; color: #D92D20; }
html body .cdxa-app-shell .cdxa-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
html body .cdxa-app-shell .cdxa-timeline { list-style: none; margin: 0; padding: 0; position: relative; }
html body .cdxa-app-shell .cdxa-timeline li { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; gap: 4px 16px; align-items: start; padding: 0 0 18px; position: relative; }
html body .cdxa-app-shell .cdxa-timeline li:not(:last-child)::before { content: ""; position: absolute; left: 15px; top: 32px; bottom: 0; width: 2px; background: #D5E1F5; }
html body .cdxa-app-shell .cdxa-timeline li:last-child { padding-bottom: 0; }
html body .cdxa-app-shell .cdxa-timeline__dot { width: 32px; height: 32px; border-radius: 50%; background: #fff; border: 2px solid #9DBDF8; color: var(--app-blue); display: inline-flex; align-items: center; justify-content: center; }
html body .cdxa-app-shell .cdxa-timeline__dot .cdxa-ico { width: 16px; height: 16px; stroke-width: 2.6; }
html body .cdxa-app-shell .is-last .cdxa-timeline__dot { background: var(--app-blue); border-color: var(--app-blue); color: #fff; }
html body .cdxa-app-shell .cdxa-timeline__body { display: flex; flex-direction: column; gap: 2px; padding-top: 4px; }
html body .cdxa-app-shell .cdxa-timeline__body strong { color: var(--app-ink); }
html body .cdxa-app-shell .cdxa-timeline__body span { color: var(--app-text); font-size: 14.5px; }
html body .cdxa-app-shell .cdxa-timeline__date { padding-top: 5px; color: var(--app-text); font-size: 14px; white-space: nowrap; }
html body .cdxa-app-shell .cdxa-empty-state { margin: 0; padding: 18px; border-radius: 12px; background: var(--app-bg); color: var(--app-muted); text-align: center; }
html body .cdxa-app-shell .cdxa-details__list { margin: 0; display: flex; flex-direction: column; }
html body .cdxa-app-shell .cdxa-details__list > div { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 13px 0; border-top: 1px solid var(--app-line); }
html body .cdxa-app-shell .cdxa-details__list dt { color: var(--app-text); }
html body .cdxa-app-shell .cdxa-details__list dd { margin: 0; text-align: right; color: var(--app-ink); }
html body .cdxa-app-shell .cdxa-details__list .cdxa-status { font-size: 13px; padding: 5px 11px; }
html body .cdxa-app-shell .cdxa-advisor__who { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
html body .cdxa-app-shell .cdxa-advisor__avatar { width: 64px; height: 64px; flex: 0 0 64px; border-radius: 50%; background: linear-gradient(135deg, #3D86FF, var(--app-navy)); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 800; }
html body .cdxa-app-shell .cdxa-advisor__who strong { display: block; font-size: 17px; color: var(--app-ink); }
html body .cdxa-app-shell .cdxa-advisor__who span { color: var(--app-text); font-size: 14.5px; }
html body .cdxa-app-shell .cdxa-advisor__none { margin: 0 0 16px; color: var(--app-text); }
html body .cdxa-app-shell .cdxa-advisor__actions { display: flex; flex-wrap: wrap; gap: 10px; }
html body .cdxa-app-shell .cdxa-chip { flex: 1 1 0; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 14px; border-radius: 12px; border: 1px solid #C9D4E5; background: #fff; color: var(--app-ink) !important; text-decoration: none !important; font-weight: 600; white-space: nowrap; }
html body .cdxa-app-shell .cdxa-chip:hover { border-color: var(--app-blue); color: var(--app-blue) !important; }
html body .cdxa-app-shell .cdxa-chip .cdxa-ico { width: 18px; height: 18px; flex-basis: 18px; }

/* Documents */
html body .cdxa-app-shell .cdxa-steps__list { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
html body .cdxa-app-shell .cdxa-steps__list li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 0 8px; }
html body .cdxa-app-shell .cdxa-steps__list li:not(:last-child)::after { content: ""; position: absolute; right: -14px; top: 22px; width: 10px; height: 10px; border-top: 2px solid #8BA3C7; border-right: 2px solid #8BA3C7; transform: rotate(45deg); }
html body .cdxa-app-shell .cdxa-steps__ico { width: 60px; height: 60px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--app-soft); color: var(--app-blue); border: 1px solid #CFDDF8; }
html body .cdxa-app-shell .cdxa-steps__ico.is-on { background: var(--app-blue); color: #fff; border-color: var(--app-blue); box-shadow: 0 10px 24px rgba(20,99,243,.3); }
html body .cdxa-app-shell .cdxa-steps__ico .cdxa-ico { width: 28px; height: 28px; }
html body .cdxa-app-shell .cdxa-steps__list strong { color: var(--app-ink); font-size: 15.5px; }
html body .cdxa-app-shell .cdxa-steps__list span:not(.cdxa-steps__ico) { color: var(--app-muted); font-size: 13.5px; line-height: 1.4; }
html body .cdxa-app-shell .cdxa-steps__form { margin: 20px 0 0; padding: 14px 16px; border-radius: 14px; background: var(--app-bg); display: flex; align-items: center; gap: 12px; flex-wrap: wrap; color: var(--app-text); }
html body .cdxa-app-shell .cdxa-steps__form > .cdxa-ico { color: var(--app-blue); }
html body .cdxa-app-shell .cdxa-steps__form > span { flex: 1 1 260px; }
html body .cdxa-app-shell .cdxa-docs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; align-items: start; }
html body .cdxa-app-shell .cdxa-docs__side { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
html body .cdxa-app-shell .cdxa-drop { display: flex; flex-direction: column; gap: 18px; }
html body .cdxa-app-shell .cdxa-multi { display: flex; flex-direction: column; gap: 16px; }
html body .cdxa-app-shell .cdxa-dropzone { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 30px 20px; border: 2px dashed #A9C2EC; border-radius: 16px; background: #F8FBFF; transition: background .2s, border-color .2s; }
html body .cdxa-app-shell .cdxa-dropzone.is-over { background: var(--app-soft); border-color: var(--app-blue); }
html body .cdxa-app-shell .cdxa-dropzone__ico { color: var(--app-blue); }
html body .cdxa-app-shell .cdxa-dropzone__ico .cdxa-ico { width: 56px; height: 56px; stroke-width: 1.5; }
html body .cdxa-app-shell .cdxa-dropzone__title { margin: 0; font-size: 18px; font-weight: 800; color: var(--app-ink); }
html body .cdxa-app-shell .cdxa-dropzone__mob { display: none; }
html body .cdxa-app-shell .cdxa-dropzone__or { margin: 0; color: var(--app-muted); }
html body .cdxa-app-shell .cdxa-dropzone__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 6px 0 4px; }
html body .cdxa-app-shell label.cdxa-filebtn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 26px; cursor: pointer; overflow: hidden; border-style: solid; border-width: 1px; font-size: 16px; }
html body .cdxa-app-shell label.cdxa-filebtn[hidden] { display: none; }
html body .cdxa-app-shell label.cdxa-btn--primary { background: var(--app-blue); border-color: var(--app-blue); color: #fff; }
html body .cdxa-app-shell label.cdxa-btn--line { background: #fff; border-color: #C9D4E5; color: var(--app-ink); }
html body .cdxa-app-shell .cdxa-filebtn input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; font-size: 0; }
html body .cdxa-app-shell .cdxa-filebtn:focus-within { outline: 3px solid #7FB0FF; outline-offset: 2px; }
html body .cdxa-app-shell .cdxa-dropzone .cdxa-help { margin: 4px 0 0; }
html body .cdxa-app-shell .cdxa-multi__cat[hidden] { display: none; }
html body .cdxa-app-shell .cdxa-queue[hidden] { display: none; }
html body .cdxa-app-shell .cdxa-queue__title { margin: 0 0 8px; font-weight: 700; color: var(--app-ink); }
html body .cdxa-app-shell .cdxa-queue__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
html body .cdxa-app-shell .cdxa-queue__item { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 220px) 44px; gap: 10px; align-items: center; padding: 10px 10px 10px 14px; border: 1px solid var(--app-line); border-radius: 12px; background: #fff; }
html body .cdxa-app-shell .cdxa-queue__item.is-busy { opacity: .7; }
html body .cdxa-app-shell .cdxa-queue__info { display: flex; flex-direction: column; min-width: 0; }
html body .cdxa-app-shell .cdxa-queue__info strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 14.5px; }
html body .cdxa-app-shell .cdxa-queue__info .cdxa-help { margin: 0; }
html body .cdxa-app-shell .cdxa-queue__item select { min-height: 44px; width: 100%; border: 1px solid #C9D4E5; border-radius: 10px; padding: 0 10px; font: inherit; font-size: 15px; background: #fff; }
html body .cdxa-app-shell .cdxa-queue__rm { width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--app-line); background: #fff; color: #B42318; font-size: 24px; line-height: 1; cursor: pointer; padding: 0; }
html body .cdxa-app-shell .cdxa-queue__rm:hover { background: #FEF1F0; }
html body .cdxa-app-shell .cdxa-error[hidden] { display: none; }
html body .cdxa-app-shell .cdxa-send { min-height: 58px; font-size: 18px; }
html body .cdxa-app-shell .cdxa-expected__list { list-style: none; margin: 0; padding: 4px 12px 10px; }
html body .cdxa-app-shell .cdxa-expected__list li, html body .cdxa-app-shell .cdxa-doclist li { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto 40px; gap: 14px; align-items: center; padding: 12px; border-top: 1px solid var(--app-line); }
html body .cdxa-app-shell .cdxa-expected__list li:first-child { border-top: 0; }
html body .cdxa-app-shell .cdxa-expected__ico { width: 46px; height: 46px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--app-soft); color: var(--app-blue); }
html body .cdxa-app-shell .cdxa-expected__ico.is-todo, html body .cdxa-app-shell .cdxa-expected__ico.is-wait { background: #FFF1DB; color: #C26A00; }
html body .cdxa-app-shell .cdxa-expected__ico.is-ok { background: #E3F6EA; color: #15803D; }
html body .cdxa-app-shell .cdxa-expected__ico.is-err { background: #FDECEC; color: #C2261B; }
html body .cdxa-app-shell .cdxa-expected__name { display: flex; flex-direction: column; min-width: 0; }
html body .cdxa-app-shell .cdxa-expected__name strong { color: var(--app-ink); font-weight: 600; }
html body .cdxa-app-shell .cdxa-expected__name .cdxa-help { margin: 2px 0 0; font-size: 13px; }
html body .cdxa-app-shell .cdxa-expected__view { width: 40px; height: 40px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; color: var(--app-muted) !important; }
html body .cdxa-app-shell a.cdxa-expected__view:hover { background: var(--app-bg); color: var(--app-blue) !important; }
html body .cdxa-app-shell .cdxa-pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: 13.5px; font-weight: 700; white-space: nowrap; }
html body .cdxa-app-shell .cdxa-pill .cdxa-ico { width: 15px; height: 15px; flex-basis: 15px; stroke-width: 2.4; }
html body .cdxa-app-shell .cdxa-pill--todo { background: #FFF1DB; color: #8A4B00; }
html body .cdxa-app-shell .cdxa-pill--wait { background: #EAF1FE; color: #0F4FC7; }
html body .cdxa-app-shell .cdxa-pill--ok { background: #E3F6EA; color: #136C34; }
html body .cdxa-app-shell .cdxa-pill--err { background: #FDECEC; color: #A3241A; }
html body .cdxa-app-shell .cdxa-infobox { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: 16px; background: #F5F9FF; border: 1px solid #CFDDF8; color: var(--app-text); }
html body .cdxa-app-shell .cdxa-infobox > .cdxa-ico { width: 28px; height: 28px; flex-basis: 28px; color: var(--app-blue); }
html body .cdxa-app-shell .cdxa-infobox p { margin: 0; line-height: 1.6; }
html body .cdxa-app-shell .cdxa-doclist { list-style: none; margin: 0; padding: 4px 12px 10px; }
html body .cdxa-app-shell .cdxa-doclist li { grid-template-columns: 46px minmax(0, 1fr) auto auto; }
html body .cdxa-app-shell .cdxa-doclist li:first-child { border-top: 0; }
html body .cdxa-app-shell .cdxa-doclist li > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
html body .cdxa-app-shell .cdxa-doclist li.is-new { background: #F7FAFF; border-radius: 12px; }
html body .cdxa-app-shell .cdxa-upload { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: end; }

/* Messages et notifications */
html body .cdxa-app-shell .cdxa-msgs__body { border-radius: 16px; background: #EEF2F8; }
html body .cdxa-app-shell .cdxa-msgs li.is-me .cdxa-msgs__body { background: var(--app-blue); }
html body .cdxa-app-shell .cdxa-msgform { border-top-color: var(--app-line); }

/* Notifications */
html body .cdxa-app-shell .cdxa-notifs__list { list-style: none; margin: 0; padding: 4px 12px 10px; }
html body .cdxa-app-shell .cdxa-notifs__empty { margin: 4px 24px 24px; }
html body .cdxa-app-shell .cdxa-notif { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: 16px 12px; border-top: 1px solid var(--app-line); }
html body .cdxa-app-shell .cdxa-notif:first-child { border-top: 0; }
html body .cdxa-app-shell .cdxa-notif.is-new { background: #F5F9FF; border-radius: 14px; border-top-color: transparent; }
html body .cdxa-app-shell .cdxa-notif.is-new + .cdxa-notif { border-top-color: transparent; }
html body .cdxa-app-shell .cdxa-notif__ico { width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--app-soft); color: var(--app-blue); }
html body .cdxa-app-shell .cdxa-notif:not(.is-new) .cdxa-notif__ico { background: #F0F3F8; color: var(--app-muted); }
html body .cdxa-app-shell .cdxa-notif__body { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
html body .cdxa-app-shell .cdxa-notif__title { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; color: var(--app-ink); line-height: 1.35; overflow-wrap: anywhere; }
html body .cdxa-app-shell .cdxa-notif__title .cdxa-pill { font-size: 12px; padding: 3px 10px; }
html body .cdxa-app-shell .cdxa-notif__msg { margin: 0; color: var(--app-text); line-height: 1.5; overflow-wrap: anywhere; }
html body .cdxa-app-shell .cdxa-notif__date { font-size: 13px; color: var(--app-muted); }
html body .cdxa-app-shell .cdxa-notif__link.cdxa-btn { min-height: 44px; padding: 0 18px; align-self: center; white-space: nowrap; }
@media (max-width: 700px) {
	html body .cdxa-app-shell .cdxa-notifs__list { padding: 0 6px 6px; }
	html body .cdxa-app-shell .cdxa-notif { grid-template-columns: 40px minmax(0, 1fr); gap: 12px; padding: 14px 8px; }
	html body .cdxa-app-shell .cdxa-notif__ico { width: 40px; height: 40px; }
	html body .cdxa-app-shell .cdxa-notif__link.cdxa-btn { grid-column: 2; justify-self: start; align-self: start; }
}

/* Pied de l'application */
html body .cdxa-app-shell .cdxa-appfoot { margin-top: auto; padding-top: 24px; border-top: 1px solid var(--app-line); display: flex; flex-direction: column; gap: 8px; font-size: 12.5px; color: var(--app-muted); }
html body .cdxa-app-shell .cdxa-appfoot p { margin: 0; }
html body .cdxa-app-shell .cdxa-appfoot__warning { font-weight: 700; color: var(--app-ink); }
html body .cdxa-app-shell .cdxa-appfoot__links { display: flex; flex-wrap: wrap; gap: 6px 16px; }
html body .cdxa-app-shell .cdxa-appfoot__links a { color: var(--app-muted) !important; }

/* Barre d'onglets : téléphone et tablette uniquement */
html body .cdxa-app-shell .cdxa-tabbar { display: none; }

@media (max-width: 1280px) {
	html body .cdxa-app-shell .cdxa-dash { grid-template-columns: minmax(0, 1fr) 330px; }
	html body .cdxa-app-shell .cdxa-docs { grid-template-columns: 1fr; }
}
@media (max-width: 1100px) {
	html body .cdxa-app-shell .cdxa-dash { grid-template-columns: 1fr; }
	html body .cdxa-app-shell .cdxa-dash__side { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
}
@media (max-width: 1024px) {
	html body .cdxa.cdxa-app-shell { display: flex; flex-direction: column; }
	html body .cdxa-app-shell .cdxa-appside { display: none; }
	html body .cdxa-app-shell .cdxa-apphead { min-height: 64px; padding: 10px 16px; background: #fff; border-bottom: 1px solid var(--app-line); box-shadow: 0 4px 16px rgba(13,27,51,.05); }
	html body .cdxa-app-shell .cdxa-apphead__brand { display: flex; }
	html body .cdxa-app-shell .cdxa-apphead__right { gap: 8px; }
	html body .cdxa-app-shell .cdxa-apphead__icon { width: 44px; height: 44px; box-shadow: none; }
	html body .cdxa-app-shell .cdxa-menu > summary { min-height: 44px; box-shadow: none; }
	html body .cdxa-app-shell .cdxa-usermenu > summary { padding: 3px; }
	html body .cdxa-app-shell .cdxa-usermenu__name, html body .cdxa-app-shell .cdxa-usermenu .cdxa-menu__chev { display: none; }
	html body .cdxa-app-shell .cdxa-langmenu > summary { padding: 0 10px; gap: 6px; }
	html body .cdxa-app-shell .cdxa-langmenu > summary > .cdxa-ico:first-child { display: none; }
	html body .cdxa-app-shell .cdxa-apphead__switch select { max-width: 150px; min-height: 44px; }
	html body .cdxa-app-shell .cdxa-space__main { padding: 18px 16px calc(100px + env(safe-area-inset-bottom)); gap: 16px; max-width: none; }

	html body .cdxa-app-shell .cdxa-tabbar { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; border-top: 1px solid var(--app-line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); box-shadow: 0 -8px 24px rgba(13,27,51,.08); }
	html body .cdxa-app-shell .cdxa-tabbar > a, html body .cdxa-app-shell .cdxa-tabbar__more > summary { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 56px; border-radius: 12px; color: #5D6A7E !important; text-decoration: none !important; font-size: 11.5px; font-weight: 600; cursor: pointer; list-style: none; -webkit-tap-highlight-color: transparent; }
	html body .cdxa-app-shell .cdxa-tabbar__more > summary::-webkit-details-marker { display: none; }
	html body .cdxa-app-shell .cdxa-tabbar .is-active { color: var(--app-blue) !important; }
	html body .cdxa-app-shell .cdxa-tabbar .is-active .cdxa-tabbar__icon { background: var(--app-soft); }
	html body .cdxa-app-shell .cdxa-tabbar__icon { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 30px; border-radius: 999px; transition: background .2s; }
	html body .cdxa-app-shell .cdxa-tabbar__icon .cdxa-ico { width: 22px; height: 22px; flex-basis: 22px; }
	html body .cdxa-app-shell .cdxa-tabbar__icon .cdxa-app-badge { position: absolute; top: -6px; right: -2px; min-width: 18px; height: 18px; font-size: 10.5px; box-shadow: 0 0 0 2px #fff; }
	html body .cdxa-app-shell .cdxa-tabbar__label { max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 2px; }
	html body .cdxa-app-shell .cdxa-tabbar__more { position: static; }
	html body .cdxa-app-shell .cdxa-tabbar__more[open]::before { content: ""; position: fixed; inset: 0; background: rgba(8,18,38,.5); z-index: -1; }
	html body .cdxa-app-shell .cdxa-sheet { position: fixed; left: 0; right: 0; bottom: 0; max-height: 84vh; overflow-y: auto; background: #fff; border-radius: 24px 24px 0 0; box-shadow: 0 -20px 50px rgba(8,18,38,.25); padding: 8px 14px calc(20px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 2px; z-index: 70; animation: cdxa-sheet-in .22s ease-out; }
	@keyframes cdxa-sheet-in { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
	html body .cdxa-app-shell .cdxa-sheet__grip { width: 44px; height: 5px; border-radius: 3px; background: #CBD5E3; margin: 4px auto 10px; }
	html body .cdxa-app-shell .cdxa-sheet__who { margin: 0 0 8px; padding: 0 8px 12px; border-bottom: 1px solid var(--app-line); display: flex; flex-direction: column; }
	html body .cdxa-app-shell .cdxa-sheet__who span { font-size: 13px; color: var(--app-muted); }
	html body .cdxa-app-shell .cdxa-sheet a { display: flex; align-items: center; gap: 14px; min-height: 54px; padding: 0 12px; border-radius: 12px; color: var(--app-ink) !important; text-decoration: none !important; font-weight: 500; font-size: 16px; }
	html body .cdxa-app-shell .cdxa-sheet a span:not(.cdxa-app-badge) { flex: 1; }
	html body .cdxa-app-shell .cdxa-sheet a .cdxa-ico { color: #6B7A90; }
	html body .cdxa-app-shell .cdxa-sheet a.is-active { background: var(--app-soft); font-weight: 700; }
	html body .cdxa-app-shell .cdxa-sheet a.is-active .cdxa-ico { color: var(--app-blue); }
	html body .cdxa-app-shell .cdxa-sheet a.is-danger .cdxa-ico { color: #B42318; }
}
@media (max-width: 700px) {
	html body .cdxa-app-shell .cdxa-card { padding: 18px; border-radius: 16px; }
	html body .cdxa-app-shell .cdxa-card--flush { padding: 0; }
	html body .cdxa-app-shell .cdxa-pad { padding: 18px 18px 4px; }
	html body .cdxa-app-shell .cdxa-hero { padding: 20px; border-radius: 18px; }
	html body .cdxa-app-shell .cdxa-hero__hello { font-size: 15px; }
	html body .cdxa-app-shell .cdxa-hero__intro { font-size: 15px; }
	html body .cdxa-app-shell .cdxa-hero__art { display: none; }
	html body .cdxa-app-shell .cdxa-dash__side { display: flex; }
	html body .cdxa-app-shell .cdxa-dossier__top { flex-wrap: wrap; }
	html body .cdxa-app-shell .cdxa-dossier__icon { display: none; }
	html body .cdxa-app-shell .cdxa-dossier__top .cdxa-status { order: -1; }
	html body .cdxa-app-shell .cdxa-dossier__id { flex-basis: 100%; }
	html body .cdxa-app-shell .cdxa-action { flex-direction: column; gap: 10px; }
	html body .cdxa-app-shell .cdxa-action__icon { width: 46px; height: 46px; flex-basis: 46px; }
	html body .cdxa-app-shell .cdxa-action__title { font-size: 18px; }
	html body .cdxa-app-shell .cdxa-actions .cdxa-btn { width: 100%; }
	html body .cdxa-app-shell .cdxa-timeline li { grid-template-columns: 32px minmax(0, 1fr); }
	html body .cdxa-app-shell .cdxa-timeline__date { grid-column: 2; padding-top: 0; font-size: 13px; }
	html body .cdxa-app-shell .cdxa-steps__list { grid-template-columns: 1fr; gap: 12px; }
	html body .cdxa-app-shell .cdxa-steps__list li { flex-direction: row; text-align: left; align-items: center; gap: 14px; display: grid; grid-template-columns: 48px minmax(0, 1fr); padding: 0; }
	html body .cdxa-app-shell .cdxa-steps__list li::after { display: none; }
	html body .cdxa-app-shell .cdxa-steps__ico { width: 48px; height: 48px; grid-row: span 2; }
	html body .cdxa-app-shell .cdxa-steps__ico .cdxa-ico { width: 22px; height: 22px; }
	html body .cdxa-app-shell .cdxa-steps__form .cdxa-btn { width: 100%; }
	html body .cdxa-app-shell .cdxa-dropzone { padding: 22px 14px; }
	html body .cdxa-app-shell .cdxa-dropzone__desk { display: none; }
	html body .cdxa-app-shell .cdxa-dropzone__mob { display: inline; }
	html body .cdxa-app-shell .cdxa-dropzone__ico .cdxa-ico { width: 44px; height: 44px; }
	html body .cdxa-app-shell .cdxa-dropzone__btns { flex-direction: column; width: 100%; }
	html body .cdxa-app-shell .cdxa-dropzone__btns .cdxa-filebtn { width: 100%; }
	html body .cdxa-app-shell .cdxa-queue__item { grid-template-columns: minmax(0, 1fr) 44px; }
	html body .cdxa-app-shell .cdxa-queue__item select { grid-column: 1; grid-row: 2; }
	html body .cdxa-app-shell .cdxa-queue__item .cdxa-queue__rm { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
	html body .cdxa-app-shell .cdxa-expected__list, html body .cdxa-app-shell .cdxa-doclist { padding: 0 6px 6px; }
	html body .cdxa-app-shell .cdxa-expected__list li, html body .cdxa-app-shell .cdxa-doclist li { grid-template-columns: 42px minmax(0, 1fr) 40px; gap: 6px 12px; padding: 12px 8px; }
	html body .cdxa-app-shell .cdxa-expected__ico { width: 42px; height: 42px; grid-row: span 2; }
	html body .cdxa-app-shell .cdxa-expected__list .cdxa-pill, html body .cdxa-app-shell .cdxa-doclist .cdxa-pill { grid-column: 2; grid-row: 2; justify-self: start; font-size: 12.5px; padding: 4px 10px; }
	html body .cdxa-app-shell .cdxa-expected__view, html body .cdxa-app-shell .cdxa-doclist li > a { grid-column: 3; grid-row: 1 / span 2; }
	html body .cdxa-app-shell .cdxa-upload { grid-template-columns: 1fr; }
	html body .cdxa-app-shell .cdxa-upload .cdxa-btn, html body .cdxa-app-shell .cdxa-msgform .cdxa-btn { width: 100%; }
	html body .cdxa-app-shell .cdxa-details__list > div { padding: 11px 0; }
}
@media (max-width: 380px) {
	html body .cdxa-app-shell .cdxa-apphead__name { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	html body .cdxa-app-shell .cdxa-sheet { animation: none; }
	html body .cdxa-app-shell .cdxa-progressbar span, html body .cdxa-app-shell .cdxa-menu__chev { transition: none; }
}
/* Titre de page du thème masqué dans l'application ; rubrique seule (widget) en pleine largeur. */
body.cdxa-app .page-header, body.cdxa-app .entry-title, body.cdxa-app .elementor-page-title { display: none !important; }
html body .cdxa.cdxa-space--section { display: block; }

/* 1.4.1 : consentements nécessaires et communications facultatives présentés séparément. */
html body .cdxa fieldset.cdxa-consents { border: 1px solid var(--cdxa-line); border-radius: 12px; padding: 0 18px 4px; margin: 0 0 16px; min-width: 0; }
html body .cdxa fieldset.cdxa-consents--optional { background: var(--cdxa-ground); border-style: dashed; }
html body .cdxa .cdxa-consents__title { float: left; width: 100%; font-weight: 700; font-size: 1rem; line-height: 1.35; color: var(--cdxa-ink); padding: 14px 0 0; margin: 0; }
html body .cdxa .cdxa-consents__help { clear: both; margin: 0; padding-top: 4px; }
html body .cdxa .cdxa-consents .cdxa-consent:last-child { border-bottom: 0; }

/* 1.5.0 : fenêtre « demande en cours » */
html.cdxa-modal-open { overflow: hidden; }
html body .cdxa.cdxa-modal { position: fixed; inset: 0; z-index: 99999; display: flex; align-items: center; justify-content: center; padding: 20px; }
html body .cdxa.cdxa-modal[hidden] { display: none !important; }
html body .cdxa .cdxa-modal__backdrop { position: absolute; inset: 0; background: rgba(12, 20, 34, .6); }
html body .cdxa .cdxa-modal__box { position: relative; width: 100%; max-width: 520px; max-height: calc(100vh - 40px); overflow-y: auto; background: #fff; border-radius: 20px; padding: 32px; box-shadow: 0 30px 80px rgba(12, 20, 34, .35); display: flex; flex-direction: column; gap: 14px; animation: cdxa-modal-in .22s ease-out; outline: none; }
@keyframes cdxa-modal-in { from { transform: translateY(12px) scale(.98); opacity: 0; } to { transform: none; opacity: 1; } }
html body .cdxa .cdxa-modal__icon { width: 56px; height: 56px; border-radius: 16px; background: #EEF3FA; color: var(--cdxa-blue); display: inline-flex; align-items: center; justify-content: center; }
html body .cdxa .cdxa-modal__title { margin: 0; font: 600 1.6rem/1.2 var(--cdxa-serif); color: var(--cdxa-ink); }
html body .cdxa .cdxa-modal__box p { margin: 0 0 8px; line-height: 1.6; color: var(--cdxa-text); }
html body .cdxa .cdxa-modal__file { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px 14px; background: var(--cdxa-ground); border-radius: 12px; font-weight: 700; color: var(--cdxa-ink); }
html body .cdxa .cdxa-modal__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
html body .cdxa .cdxa-modal__actions .cdxa-btn { flex: 1 1 200px; }
@media (max-width: 520px) { html body .cdxa .cdxa-modal__box { padding: 24px 20px; border-radius: 18px; } html body .cdxa .cdxa-modal__actions { flex-direction: column; } html body .cdxa .cdxa-modal__actions .cdxa-btn { flex: 0 0 auto; width: 100%; } }
@media (prefers-reduced-motion: reduce) { html body .cdxa .cdxa-modal__box { animation: none; } }
html body .cdxa-app-shell .cdxa-lang { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid var(--cdxa-line-2); border-radius: 999px; }
html body .cdxa-app-shell .cdxa-lang a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 8px; border-radius: 999px; font-size: 12.5px; font-weight: 700; color: var(--cdxa-muted) !important; text-decoration: none !important; }
html body .cdxa-app-shell .cdxa-lang a.is-active { background: var(--cdxa-ink); color: #fff !important; }
html body .cdxa-app-shell .cdxa-lang .cdxa-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
