:root{--assistant-blue:#2563eb;--assistant-purple:#7c3aed;--assistant-ink:#0f172a;--assistant-muted:#52607a;--assistant-border:#dbe4f3;--assistant-soft:#f6f8ff}
.assistant-page{margin:0;background:#f7f9fc;color:var(--assistant-ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif}
.assistant-shell{width:min(100% - 2rem,72rem);margin:0 auto;padding:2.5rem 0 4rem}.assistant-hero{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(15rem,.7fr);gap:2rem;align-items:center;margin-bottom:1.5rem}.assistant-kicker{display:inline-flex;margin:0 0 .75rem;padding:.35rem .7rem;border-radius:999px;background:#eef2ff;color:#4f46e5;font-weight:800;font-size:.82rem}.assistant-hero h1{max-width:48rem;margin:0;color:#0b1744;font-size:clamp(2rem,4.2vw,3.35rem);line-height:1.05;letter-spacing:-.035em}.assistant-hero>div>p:last-child{max-width:47rem;color:var(--assistant-muted);font-size:1.05rem;line-height:1.65}.privacy-badge{display:flex;flex-direction:column;gap:.4rem;padding:1.2rem;border:1px solid #d8e1f3;border-radius:1rem;background:#fff;box-shadow:0 12px 35px rgba(30,64,175,.08)}.privacy-badge strong{color:#17317c}.privacy-badge span{color:var(--assistant-muted);font-size:.9rem;line-height:1.45}
.assistant-card{overflow:hidden;border:1px solid var(--assistant-border);border-radius:1.35rem;background:#fff;box-shadow:0 20px 55px rgba(15,23,42,.09)}.progress-wrap{display:flex;align-items:center;gap:1rem;padding:1rem 1.4rem;background:#f8faff;color:#475569;font-size:.88rem;font-weight:700}.progress-track{height:.5rem;flex:1;overflow:hidden;border-radius:999px;background:#e2e8f0}.progress-track span{display:block;width:25%;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--assistant-blue),var(--assistant-purple));transition:width .2s ease}.assistant-step{padding:clamp(1.2rem,4vw,2.2rem)}.step-heading{margin-bottom:1.4rem}.step-heading>p:first-child{margin:0 0 .35rem;color:#4f46e5;font-size:.82rem;font-weight:800;text-transform:uppercase;letter-spacing:.08em}.step-heading h2{margin:0;color:#0b1744;font-size:clamp(1.4rem,3vw,2rem)}.step-heading h2+p{color:var(--assistant-muted);line-height:1.55}
.choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem}.choice-card{position:relative;display:flex;gap:.8rem;min-height:5.4rem;padding:1rem;border:1px solid var(--assistant-border);border-radius:1rem;cursor:pointer;transition:.15s}.choice-card:hover{border-color:#8aa8f8;transform:translateY(-1px)}.choice-card:has(input:checked){border-color:#4f46e5;background:#f2f3ff;box-shadow:0 0 0 2px rgba(79,70,229,.12)}.choice-card input{margin-top:.2rem;accent-color:#4f46e5}.choice-card span{display:flex;flex-direction:column;gap:.25rem}.choice-card small,.choice-inline small{color:var(--assistant-muted);font-size:.84rem;line-height:1.35}.mode-fieldset,.proposal-block{margin:1.5rem 0 0;padding:1rem;border:1px solid var(--assistant-border);border-radius:1rem}.mode-fieldset legend,.proposal-block legend{padding:0 .35rem;color:#172554;font-weight:800}.choice-inline{display:inline-flex;align-items:flex-start;gap:.55rem;margin:.55rem 1.2rem .3rem 0;cursor:pointer}.choice-inline span{display:flex;flex-direction:column}.choice-inline input{margin-top:.25rem;accent-color:#4f46e5}
.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.field-block{margin:1rem 0}.field-block label,.form-field label{display:block;margin-bottom:.38rem;color:#172554;font-weight:750}.form-field input,.form-field select,.form-field textarea,.autocomplete input{box-sizing:border-box;width:100%;min-height:46px;padding:.72rem .8rem;border:1px solid #cbd5e1;border-radius:.7rem;background:#fff;color:#0f172a;font:inherit}.form-field input:focus,.form-field select:focus,.autocomplete input:focus{outline:3px solid rgba(37,99,235,.18);border-color:#2563eb}.form-field.full{grid-column:1/-1}.field-help{margin:.15rem 0 .45rem;color:var(--assistant-muted);font-size:.86rem}.autocomplete{position:relative}.autocomplete-results{position:absolute;z-index:10;top:calc(100% + .3rem);width:100%;max-height:18rem;overflow:auto;border:1px solid #cbd5e1;border-radius:.7rem;background:#fff;box-shadow:0 16px 30px rgba(15,23,42,.15)}.autocomplete-option{display:block;width:100%;padding:.75rem .8rem;border:0;border-bottom:1px solid #edf2f7;background:#fff;text-align:left;cursor:pointer}.autocomplete-option:hover,.autocomplete-option:focus{background:#eef2ff;outline:none}.autocomplete-option small{display:block;color:#64748b}.selected-job{display:inline-flex;margin:.55rem 0 0;padding:.4rem .65rem;border-radius:.55rem;background:#ecfdf5;color:#047857;font-weight:700}
.form-field input[type="radio"],.form-field input[type="checkbox"]{width:auto;min-height:auto;padding:0}.recipient-fields{margin-top:.8rem;padding:.9rem;border:1px solid #dbe4f3;border-radius:.8rem;background:#fbfcff}.recipient-fields fieldset{margin:0 0 .8rem;padding:0;border:0}.assistant-help-card>a.secondary-button{display:inline-flex;align-items:center;margin-top:.65rem;text-decoration:none}
.proposal-block{margin-top:1rem}.proposal-block legend small{color:#64748b;font-weight:500}.proposal-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem;margin:.5rem 0}.proposal-choice{display:flex;align-items:flex-start;gap:.55rem;padding:.75rem;border:1px solid #dbe4f3;border-radius:.7rem;cursor:pointer}.proposal-choice:has(input:checked){border-color:#6366f1;background:#f3f4ff}.proposal-choice input{margin-top:.2rem;accent-color:#4f46e5}.proposal-choice small{display:block;color:#64748b}.skip-choice{display:inline-flex;gap:.5rem;margin:.55rem 1rem .2rem 0;color:#475569}.text-button{border:0;background:transparent;color:#1d4ed8;font-weight:750;text-decoration:underline;cursor:pointer}.assistant-alert,.cv-reminder{margin:1rem 0;padding:1rem;border-radius:.8rem;background:#eff6ff;color:#1e3a8a}.cv-reminder{display:flex;gap:.65rem;align-items:center;background:#fff7ed;color:#9a3412}
.assistant-navigation{display:flex;justify-content:space-between;gap:.75rem;padding:1rem 1.4rem;border-top:1px solid #e7edf7;background:#fbfcff}.primary-button,.secondary-button{min-height:44px;padding:.7rem 1.1rem;border-radius:.72rem;font:inherit;font-weight:800;cursor:pointer}.primary-button{margin-left:auto;border:0;background:linear-gradient(90deg,var(--assistant-blue),var(--assistant-purple));color:#fff}.secondary-button{border:1px solid #cbd5e1;background:#fff;color:#24324e}.primary-button:focus-visible,.secondary-button:focus-visible,.text-button:focus-visible{outline:3px solid #f59e0b;outline-offset:2px}.message-panel{border:1px solid #dbe4f3;border-radius:1rem;background:#f8faff}.message-panel pre{min-height:16rem;margin:0;padding:1.25rem;white-space:pre-wrap;font:inherit;line-height:1.65}.message-actions{display:flex;gap:.65rem;padding:1rem;border-top:1px solid #dbe4f3}.message-actions .primary-button{margin-left:0}.message-panel>p{min-height:1.2rem;margin:.2rem 1rem 1rem;color:#047857;font-weight:700}.evidence-details{margin-top:1rem;padding:1rem;border:1px solid #dbe4f3;border-radius:.8rem}.evidence-details summary{font-weight:800;cursor:pointer}.evidence-details li{margin:.35rem 0;color:#475569}
.subject-panel{display:grid;grid-template-columns:auto 1fr auto;gap:.8rem;align-items:center;margin-bottom:1rem;padding:1rem;border:1px solid #dbe4f3;border-radius:1rem;background:#fff}.subject-panel span{color:#64748b;font-size:.82rem;font-weight:800;text-transform:uppercase}.subject-panel strong{color:#172554}.subject-panel .secondary-button{min-height:38px;padding:.45rem .75rem}
.assistant-explainer{padding:3rem 0}.assistant-explainer h2{text-align:center;color:#0b1744}.assistant-explainer>div{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}.assistant-explainer article{padding:1.2rem;border:1px solid #dbe4f3;border-radius:1rem;background:#fff}.assistant-explainer article>strong{display:grid;width:2rem;height:2rem;place-items:center;border-radius:50%;background:#eef2ff;color:#4f46e5}.assistant-explainer h3{margin:.7rem 0 .3rem}.assistant-explainer p{margin:0;color:var(--assistant-muted);line-height:1.5}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:760px){.assistant-shell{width:min(100% - 1rem,72rem);padding-top:1.5rem}.assistant-hero{grid-template-columns:1fr;gap:1rem}.assistant-hero h1{font-size:clamp(1.9rem,9vw,2.55rem)}.choice-grid,.form-grid,.proposal-list,.assistant-explainer>div{grid-template-columns:1fr}.form-field.full{grid-column:auto}.assistant-step{padding:1.15rem}.assistant-navigation{position:sticky;bottom:0;z-index:5}.message-actions{flex-direction:column}.message-actions button{width:100%}.subject-panel{grid-template-columns:1fr}.subject-panel .secondary-button{width:100%}.privacy-badge{display:none}}
@media(max-width:360px){.assistant-shell{width:min(100% - .65rem,72rem)}.assistant-step{padding:1rem .8rem}.progress-wrap{padding:.85rem}.choice-card{padding:.8rem}.assistant-navigation{padding:.8rem}}
.job-variant-wrap{margin:.8rem 0 0;padding:1rem;border:1px solid #a5b4fc;border-radius:.8rem;background:#f8faff}.job-variant-wrap legend{padding:0 .35rem;color:#172554;font-weight:800}

/* V5.10 — consolidation UX et accessibilité */
.step-heading h2:focus{outline:none}
.autocomplete-results{box-sizing:border-box;overflow-x:hidden}.autocomplete-option{overflow-wrap:anywhere}.autocomplete-option:focus-visible,.autocomplete-option.is-active{position:relative;z-index:1;background:#eef2ff;outline:3px solid #6366f1;outline-offset:-3px}.autocomplete-option[aria-selected="true"]{background:#eef2ff}.autocomplete-status{cursor:default;color:var(--assistant-muted)}
.primary-button:focus-visible,.secondary-button:focus-visible,.text-button:focus-visible,.site-brand:focus-visible,.site-desktop-nav a:focus-visible,.site-mobile-menu summary:focus-visible,.site-mobile-menu a:focus-visible,.evidence-details summary:focus-visible,#generated-subject:focus-visible{outline:3px solid #6366f1;outline-offset:3px}.choice-card:focus-within,.choice-inline:focus-within,.proposal-choice:focus-within,.skip-choice:focus-within{outline:3px solid #6366f1;outline-offset:2px}.form-field input:focus-visible,.form-field select:focus-visible,.form-field textarea:focus-visible,.autocomplete input:focus-visible{outline:3px solid rgba(99,102,241,.35);outline-offset:1px;border-color:#4f46e5}
.message-panel>p.is-error{color:#9a3412}.optional-note{display:inline-flex;margin:.35rem 0 0;padding:.4rem .65rem;border-radius:.55rem;background:#f8faff;color:#475569;font-size:.9rem;font-weight:700}.field-error{margin:.45rem 0 0;padding:.55rem .7rem;border-left:3px solid #d97706;border-radius:.35rem;background:#fff7ed;color:#9a3412;font-size:.9rem;font-weight:700}.form-field [aria-invalid="true"],.autocomplete [aria-invalid="true"]{border-color:#d97706;box-shadow:0 0 0 2px rgba(217,119,6,.13)}.text-button,.skip-choice{min-height:28px;align-items:center}
.assistant-help-card{margin-top:1rem;padding:1.1rem;border:1px solid #b9cdfa;border-radius:1rem;background:#f4f7ff;color:#07194d}.assistant-help-card h3{margin:0 0 .45rem;font-size:1.08rem}.assistant-help-card p{margin:.35rem 0;line-height:1.5}.assistant-help-card .message-actions{margin-top:.85rem;padding:.85rem 0 0}
@media(max-width:360px){.assistant-shell{padding-top:.85rem}.assistant-hero{gap:.55rem;margin-bottom:.9rem}.assistant-kicker{margin-bottom:.5rem;padding:.28rem .55rem;font-size:.72rem}.assistant-hero h1{font-size:clamp(1.8rem,8.7vw,2.35rem)}.assistant-hero>div>p:last-child{margin-bottom:.35rem;font-size:.98rem;line-height:1.5}.assistant-step{padding:.9rem .8rem}.step-heading{margin-bottom:1rem}.progress-wrap{padding:.75rem .8rem}.choice-grid{gap:.6rem}.choice-card{min-height:4.75rem;padding:.7rem .75rem}.mode-fieldset{margin-top:1rem;padding:.8rem}.choice-inline{margin:.45rem .7rem .2rem 0}.assistant-navigation{padding:.75rem .8rem}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}.choice-card:hover{transform:none}}
.experience-duration{margin:0;padding:1rem;border:1px solid #dbe5f4;border-radius:1rem;background:#f8faff}.experience-duration legend{padding:0 .25rem;color:#142653;font-weight:800}.duration-grid{display:grid;grid-template-columns:minmax(90px,.55fr) minmax(90px,.55fr) minmax(220px,1.4fr);gap:.8rem}.duration-grid label{display:grid;gap:.35rem;color:#344264;font-size:.88rem;font-weight:700}.duration-grid select{width:100%}
.experience-duration .skip-choice{display:inline-flex;align-items:center;gap:.5rem}.experience-duration .skip-choice input[type="checkbox"]{width:1rem;min-height:1rem;margin:0;padding:0}
@media(max-width:680px){.duration-grid{grid-template-columns:1fr 1fr}.duration-grid label:last-child{grid-column:1/-1}}
