/* MyImmiLine — simulateur transparent, fidèle à la charte Y23 */
.quote-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:30px}.quote-head h2{max-width:750px}.quote-head p{max-width:660px}.quote-preview-pill{background:#e9f0ff;border:1px solid #bfd0f6;color:#0048aa;border-radius:99px;padding:8px 14px;font-size:12px;font-weight:800;white-space:nowrap}.quote-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);gap:24px;align-items:start}.quote-form,.quote-result{background:#fff;border:1px solid #dbe2ec;border-radius:15px;box-shadow:0 10px 38px rgba(10,48,110,.06);padding:28px}.quote-form fieldset{border:0;padding:0;margin:0 0 30px}.quote-form fieldset+fieldset{padding-top:27px;border-top:1px solid #e7ebf0}.quote-form legend{font-size:18px;font-weight:800;margin-bottom:18px;color:#003399}.quote-cols{display:grid;grid-template-columns:1fr 1fr;gap:16px}.quote-form label{display:block;font-size:13px;color:#203957;font-weight:700;margin-bottom:15px}.quote-form label small{font-size:11px;line-height:1.5;font-weight:400;color:#68798d;display:block;padding-top:5px}.quote-form input,.quote-form select{display:block;width:100%;margin-top:7px;padding:12px 11px;border:1px solid #cad6e6;border-radius:8px;color:#17365f;background:#fff;min-height:46px}.quote-form input:focus,.quote-form select:focus{outline:3px solid rgba(0,72,170,.16);border-color:#0048aa}.quote-form .btn{margin-top:9px}.quote-field-note,.quote-privacy{font-size:12px;line-height:1.6;color:#637991}.quote-privacy{margin:15px 0}.quote-result{position:sticky;top:110px;background:#f8fbff;border-color:#b4cbea}.result-tag{display:inline-block;color:#0048aa;font-size:11px;font-weight:800;letter-spacing:.13em;margin-bottom:20px}.quote-result h3{font-size:24px;color:#003399}.quote-result p{font-size:14px}.quote-placeholder{border:1px dashed #c7d8ed;padding:24px;border-radius:10px;font-weight:600;font-size:13px;line-height:2.1;color:#55708f}.quote-result dl{margin:20px 0}.quote-result dl>div{display:flex;justify-content:space-between;gap:16px;border-bottom:1px solid #dce7f4;padding:11px 0;font-size:13px}.quote-result dt{color:#61748e}.quote-result dd{margin:0;text-align:right;font-weight:800;color:#173a6f}.quote-result .quote-total{background:#0048aa;border-radius:12px;color:#fff;padding:18px;margin:18px 0}.quote-result .quote-total small{display:block;opacity:.87;font-size:12px}.quote-result .quote-total strong{font-size:26px;color:#fff}.quote-warning{color:#755118!important;background:#fff9e3;border-left:3px solid #fed404;padding:12px;margin:16px 0;font-size:12px!important}.quote-important{margin-top:34px;background:#f0f5ff;padding:28px;border-left:4px solid #0048aa;border-radius:10px}.quote-important p{margin-bottom:0}.quote-error{background:#fff0ed;color:#9e2a19;padding:16px;border:1px solid #ffbcae;border-radius:8px}@media(max-width:900px){.quote-layout{grid-template-columns:1fr}.quote-result{position:static}.quote-head{display:block}}@media(max-width:570px){.quote-cols{grid-template-columns:1fr}.quote-form,.quote-result{padding:18px}.quote-head h2{font-size:34px}}@media(prefers-reduced-motion:reduce){.quote-form *{scroll-behavior:auto}}

/* 2026-11-16 — lecture financière en trois niveaux */
.quote-result-section{border:1px solid #d6e2f3;background:#fff;border-radius:14px;padding:18px 16px;margin:19px 0}
.quote-result-section h4{color:#003399;font-weight:800;font-size:17px;line-height:1.35;margin:0 0 10px}
.quote-result-section .form-help{font-size:12px;color:#62748d;line-height:1.6}
.quote-result-section .quote-total{margin:16px 0 0}
.quote-overview{background:#eef5ff;border-color:#7ca9f2;box-shadow:0 5px 17px rgba(0,72,170,.06)}
.quote-overview h4{font-size:19px;letter-spacing:-.015em}
.quote-overview .quote-total{background:#003399}
.quote-result .quote-total-dual strong{font-size:clamp(15px,1.7vw,22px);line-height:1.35;min-width:0;overflow-wrap:anywhere}
.quote-currency-scroll{max-width:100%}
.quote-result-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:14px 0}
#metier-funding-feedback{color:#164d8c;font-weight:600;font-size:12px;line-height:1.6}
#metier-funding-entry{margin-bottom:6px}
#metier-contribution-fcfa-label[hidden],#metier-entry-wrap[hidden]{display:none!important}
.quote-form input[readonly]{background:#edf4ff;color:#164d8c;font-weight:700}
@media(max-width:680px){
 .quote-result-section{padding:12px 9px;margin:13px 0}
 .quote-overview h4{font-size:17px}
 .quote-result .quote-total-dual strong{font-size:16px}
 .quote-result-actions>.btn{width:100%}
}

/* 2026-11-17 — détail complet du devis, champs auto-remplis et tableaux lisibles */
.quote-result{position:static;max-width:100%;min-width:0;overflow:visible}
.quote-form{min-width:0}
.quote-form fieldset[hidden],.quote-form #metier-credit[hidden]{display:none!important}
.quote-currency-scroll{width:100%;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
.quote-currency-table{width:100%;min-width:440px;border-collapse:collapse;table-layout:fixed}
.quote-currency-table th,.quote-currency-table td{
  padding:11px 9px;border-bottom:1px solid #e3ebf7;vertical-align:middle;
  font-size:12px;line-height:1.5;overflow-wrap:anywhere
}
.quote-currency-table thead th{color:#0048aa;font-weight:800;text-align:right;background:#eef5ff}
.quote-currency-table thead th:first-child,
.quote-currency-table tbody th{text-align:left;width:48%}
.quote-currency-table tbody td{text-align:right;font-variant-numeric:tabular-nums;width:26%}
.quote-currency-table tbody tr:nth-child(even){background:#f7faff}
.quote-reference-status{
  border:1px solid #ccdff6;border-radius:12px;background:#eff5ff;color:#1a416d;
  padding:14px 16px;line-height:1.65;font-size:13px;overflow-wrap:anywhere
}
.quote-reference-status.quote-reference-saved{
  border-color:#b5d9d0;background:#f2faf7;color:#174c3d;font-weight:750
}
.quote-pdf-fallback{font-size:12px;line-height:1.6;overflow-wrap:anywhere}
.quote-finance-keyfacts{margin:5px 0 16px}
.quote-finance-keyfacts input[readonly]{background:#eaf2ff;color:#003399;font-weight:800}
.quote-computed-hint{font-style:italic}
.quote-form input[readonly]{cursor:default}
@media(max-width:680px){
 .quote-currency-table th,.quote-currency-table td{padding:9px 7px;font-size:11px}
 .quote-result{position:static}
 .quote-result-section{max-width:100%;min-width:0}
}
