/* Native QCM and training follow-up. State and interaction classes stay owned by Maestra. */
.aerobot-portail :is(.aero-qcm-page,.aero-formation-page){font-family:var(--aero-font,Inter,system-ui,sans-serif);color:var(--aero-ink,#171c35)}
.aerobot-portail :is(.aero-qcm-page,.aero-formation-page)>.nftmax-adashboard-left{min-width:0}
.aerobot-portail .aero-qcm-page-content{row-gap:0}
.aerobot-portail .aero-qcm-page-heading{margin:0 0 27px;padding-inline:12px}
.aerobot-portail .aero-formation-page .aero-qcm-page-heading{padding-inline:0}
.aerobot-portail .aero-qcm-eyebrow{display:block;color:var(--aero-muted,#596176);font-size:9px;font-weight:650;letter-spacing:.13em;line-height:1.5;margin-bottom:10px}
.aerobot-portail .aero-qcm-page-heading h1{font-size:30px;font-weight:650;line-height:1.2;letter-spacing:-.045em;margin:0 0 10px}
.aerobot-portail .aero-qcm-page-heading p{font-size:13px;line-height:1.7;color:var(--aero-muted,#596176);margin:0}
.aerobot-portail .aero-qcm-section-heading{display:flex;align-items:baseline;justify-content:space-between;gap:18px;margin:30px 0 16px}
.aerobot-portail .aero-qcm-section-heading h2{font-size:18px;line-height:1.4;letter-spacing:-.025em;font-weight:650;margin:0}
.aerobot-portail .aero-qcm-section-heading p{font-size:11px;line-height:1.6;margin:0;color:var(--aero-muted,#596176)}

/* One deliberate launch area; the two submit hooks and their mode values are untouched. */
.aerobot-portail .aero-qcm-launch-form{padding:0}
.aerobot-portail .aero-qcm-launch-card{padding:25px!important}
.aerobot-portail .aero-qcm-launch-card>.integrations-item-inner{margin-bottom:18px!important}
.aerobot-portail .aero-qcm-launch-card .integrations-item-inner-text h2{font-size:17px!important}
.aerobot-portail .aero-qcm-launch-grid{display:grid;grid-template-columns:minmax(220px,1.2fr) minmax(180px,1fr) minmax(180px,1fr);gap:14px;margin:0}
.aerobot-portail .aero-qcm-launch-grid>.col-xl-4{width:auto;padding:0;margin:0!important;min-width:0}
.aerobot-portail .aero-qcm-module-field>div{padding:0!important;margin:0!important}
.aerobot-portail .aero-qcm-field-label{display:block;font-size:11px;line-height:1.4;color:var(--aero-muted,#596176);font-weight:550;margin-bottom:9px}
.aerobot-portail .aero-qcm-module-field .form-control{min-height:48px!important;width:100%;padding-right:32px!important}
.aerobot-portail .aero-qcm-mode-action{width:100%;height:100%;margin:0!important;border-radius:12px!important;box-shadow:none!important;overflow:hidden}
.aerobot-portail .aero-qcm-mode-action>a{padding:17px 18px!important;min-height:90px;display:flex!important;flex-direction:column;justify-content:center;gap:7px;white-space:normal}
.aerobot-portail .aero-qcm-mode-practice{background:var(--aero-blue,#2d30d8);border-color:var(--aero-blue,#2d30d8)}
.aerobot-portail .aero-qcm-mode-practice:hover{background:var(--aero-blue-dark,#2024b9);border-color:var(--aero-blue-dark,#2024b9)}
.aerobot-portail .aero-qcm-mode-title{display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:14px;font-weight:600;letter-spacing:-.01em}
.aerobot-portail .aero-qcm-mode-title i{font-size:19px;font-weight:400;line-height:1}
.aerobot-portail .aero-qcm-mode-note{font-size:10px;font-weight:400;line-height:1.55;opacity:.85}
.aerobot-portail .aero-qcm-mode-exam{background:var(--aero-surface,#fff)!important;border-color:var(--aero-line,#e4e7ee)!important}
.aerobot-portail .aero-qcm-mode-exam>a{color:var(--aero-ink,#171c35)!important}
.aerobot-portail .aero-qcm-mode-exam .aero-qcm-mode-title i{color:var(--aero-blue,#2d30d8)}
.aerobot-portail .aero-qcm-mode-exam:hover{background:var(--aero-soft,#eeefff)!important;border-color:var(--aero-blue,#2d30d8)!important}

/* Natural page scrolling with horizontal overflow only when a real table needs it. */
.aerobot-portail :is(.aero-qcm-page,.aero-formation-page) .aero-qcm-table-wrap{padding:0;margin-top:0;max-height:none!important;border:1px solid var(--aero-line,#e4e7ee);border-radius:16px;background:var(--aero-surface,#fff);box-shadow:none!important;overflow:auto;scrollbar-width:thin}
.aerobot-portail .aero-qcm-table-wrap table{width:100%;border-collapse:separate;border-spacing:0;margin:0!important}
.aerobot-portail .aero-qcm-table-wrap table thead th{position:static!important;box-shadow:none!important}
.aerobot-portail .aero-qcm-table-wrap table thead th:after{display:none}
.aerobot-portail .aero-qcm-table-wrap table tbody td{padding:17px 16px!important;font-size:12px!important;color:var(--aero-ink,#171c35)}
.aerobot-portail .aero-qcm-table-wrap table tbody :is(p,h6){margin:0;color:inherit;font-size:12px;line-height:1.65}
.aerobot-portail .aero-qcm-table-wrap table tbody h6 b{font-weight:600}
.aerobot-portail .aero-qcm-history-table{min-width:780px}
.aerobot-portail .aero-qcm-history-table th:first-child,.aerobot-portail .aero-qcm-history-table td:first-child{width:64px;text-align:center}
.aerobot-portail .aero-qcm-history-table td:nth-child(3){min-width:170px;max-width:290px;white-space:normal}
.aerobot-portail .aero-qcm-history-table td:nth-child(6){white-space:nowrap;color:var(--aero-muted,#596176);font-size:11px!important}
.aerobot-portail .aero-qcm-type{font-size:10px;font-weight:550;white-space:nowrap;color:var(--aero-muted,#596176);background:var(--aero-bg,#f6f7fb);border:1px solid var(--aero-line,#e4e7ee);border-radius:6px;padding:5px 8px}
.aerobot-portail .aero-qcm-table-wrap .aero-qcm-score{display:inline-block;width:auto!important;min-width:67px;border-radius:7px;line-height:1.4;font-weight:600;font-size:11px;padding:6px 10px;text-align:center;font-variant-numeric:tabular-nums}
.aerobot-portail .aero-qcm-table-wrap .favoriteStarLine{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;padding:0;line-height:1;border:1px solid var(--aero-line,#e4e7ee);border-radius:9px;box-shadow:none!important;font-size:16px;background:var(--aero-surface,#fff);color:var(--aero-muted,#596176)}
.aerobot-portail .aero-qcm-table-wrap .favoriteStarLine.active{background:var(--aero-soft,#eeefff)!important;color:var(--aero-blue,#2d30d8);border-color:var(--aero-blue,#2d30d8)}
.aerobot-portail .aero-qcm-table-wrap .favoriteStarLine:hover{background:var(--aero-soft,#eeefff)!important;color:var(--aero-blue,#2d30d8);border-color:var(--aero-blue,#2d30d8)}
.aerobot-portail .aero-qcm-row-actions{white-space:nowrap}
.aerobot-portail .aero-qcm-row-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:7px 11px;border:1px solid var(--aero-line,#e4e7ee);border-radius:8px;color:var(--aero-blue,#2d30d8)!important;background:var(--aero-surface,#fff);font-size:11px;font-weight:550;text-decoration:none}
.aerobot-portail .aero-qcm-row-actions a:hover{background:var(--aero-soft,#eeefff);border-color:var(--aero-blue,#2d30d8)}

/* Question workspace and persistent session details. */
.aerobot-portail .aero-qcm-session.nftmax-adashboard{display:grid;grid-template-columns:minmax(0,1fr) 294px;align-items:start;gap:23px}
.aerobot-portail .aero-qcm-session>.nftmax-adashboard-left{width:100%;min-width:0;flex:none}
.aerobot-portail .aero-qcm-session-aside{width:100%!important;position:sticky;top:104px;min-width:0}
.aerobot-portail .aero-qcm-question-card{padding:25px!important;margin:0 0 18px}
.aerobot-portail .aero-qcm-question-heading{display:grid!important;grid-template-columns:1fr auto;gap:12px!important;padding:0 0 18px!important;background:none!important;box-shadow:none!important;border-radius:0!important;border-bottom:1px solid var(--aero-line,#e4e7ee);text-align:left}
.aerobot-portail .aero-qcm-question-heading .integrations-item-inner-text{width:auto!important;min-width:0}
.aerobot-portail .aero-qcm-question-heading h2{font-size:16px!important;line-height:1.35;font-weight:600!important;color:var(--aero-ink,#171c35)!important;margin:0!important}
.aerobot-portail .aero-qcm-question-heading>.col-12{width:auto!important;gap:2px;flex-wrap:wrap;padding:0;justify-content:flex-end!important}
.aerobot-portail .aero-qcm-question-heading .qcmQuestionIcon{font-size:10px!important;color:var(--aero-muted,#596176)!important;white-space:nowrap}
.aerobot-portail .aero-qcm-question-heading .qcmQuestionIcon i{background:var(--aero-bg,#f6f7fb)!important;color:var(--aero-muted,#596176)!important;border-radius:5px}
.aerobot-portail .aero-qcm-question-heading .qcmQuestionInfo{font-size:10px;font-weight:600!important;color:var(--aero-ink,#171c35)!important}
.aerobot-portail .aero-qcm-mode-pill{grid-column:1/-1;justify-self:start;display:inline-block;padding:4px 8px;border:1px solid var(--aero-line,#e4e7ee);border-radius:6px;background:var(--aero-bg,#f6f7fb);color:var(--aero-muted,#596176);font-size:9px;font-weight:600;letter-spacing:.02em}
.aerobot-portail .aero-qcm-question-card .integrations-item-text{margin-top:20px}
.aerobot-portail .aero-qcm-session #qcmSession_question{font-size:17px!important;line-height:1.85!important;font-weight:500;color:var(--aero-ink,#171c35);margin:0;white-space:pre-line;overflow-wrap:anywhere}
.aerobot-portail .aero-qcm-session #qcmSession_questionMedias{display:flex;flex-wrap:wrap;align-items:flex-start;gap:10px}
.aerobot-portail .aero-qcm-session #qcmSession_questionMedias img{max-height:260px;max-width:100%;width:auto;height:auto;object-fit:contain;margin:18px 0 0;padding:8px;background:#fff;border-radius:10px}
.aerobot-portail .aero-qcm-answers{padding:0!important;margin:0!important;overflow:visible!important;border:0!important;box-shadow:none!important;background:transparent!important}
.aerobot-portail .aero-qcm-answers>.row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0}
.aerobot-portail .aero-qcm-answers>.row>.col-md-6{width:auto;padding:0;min-width:0}
.aerobot-portail .aero-qcm-session .qcmResponse{position:relative;display:flex;flex-direction:column;justify-content:center;margin:0!important;padding:18px!important;height:100%;min-height:92px;border:1px solid var(--aero-line,#e4e7ee)!important;border-radius:12px;box-shadow:none!important;background:var(--aero-surface,#fff);color:var(--aero-ink,#171c35);transition:border-color .15s,background .15s,box-shadow .15s}
.aerobot-portail .aero-qcm-session .qcmResponse .tabel-item{display:block;gap:0}
.aerobot-portail .aero-qcm-session .qcmResponse .tabel-img:empty{display:none}
.aerobot-portail .aero-qcm-session .qcmResponse .tabel-text{width:100%;min-width:0}
.aerobot-portail .aero-qcm-session .qcmResponse p{font-size:13px;line-height:1.75;margin:0;color:inherit!important;white-space:normal;overflow-wrap:anywhere}
.aerobot-portail .aero-qcm-session .qcmResponse:hover{border-color:var(--aero-blue,#2d30d8)!important;transform:none}
.aerobot-portail .aero-qcm-session .qcmResponse.active{border-color:var(--aero-blue,#2d30d8)!important;background:var(--aero-soft,#eeefff)!important;color:var(--aero-blue,#2d30d8)!important;box-shadow:inset 3px 0 var(--aero-blue,#2d30d8)!important}
.aerobot-portail .aero-qcm-session .qcmResponse.goodResponse{border-color:#92c5ab!important;background:#ecf7f0!important;color:#1c6644!important;box-shadow:inset 3px 0 #368b60!important}
.aerobot-portail .aero-qcm-session .qcmResponse.badResponse{border-color:#e7abb5!important;background:#fff2f3!important;color:#9b3446!important;box-shadow:inset 3px 0 #bf5367!important}
.aerobot-portail .aero-qcm-session .qcmResponse:is(.active,.goodResponse,.badResponse):after{display:block;margin-top:12px;font-size:9px;line-height:1.4;font-weight:650;letter-spacing:.035em}
.aerobot-portail .aero-qcm-session .qcmResponse.active:after{content:"RÉPONSE SÉLECTIONNÉE"}
.aerobot-portail .aero-qcm-session .qcmResponse.goodResponse:after{content:"✓"}
.aerobot-portail .aero-qcm-session .qcmResponse.badResponse:after{content:"RÉPONSE INCORRECTE"}
.aerobot-portail .aero-qcm-answers :is(#qcmSession_nextQuestion,#qcmSession_buttonValidateResponse){grid-column:1/-1;justify-self:end;width:auto!important;min-width:190px;min-height:45px;padding:12px 20px;margin:8px 0 0!important;border-radius:10px;background:var(--aero-blue,#2d30d8);border:1px solid var(--aero-blue,#2d30d8);color:#fff;font-size:12px;line-height:1.5;font-weight:600;text-align:center}
.aerobot-portail .aero-qcm-answers :is(#qcmSession_nextQuestion,#qcmSession_buttonValidateResponse):hover{background:var(--aero-blue-dark,#2024b9);color:#fff}
.aerobot-portail .aero-qcm-explanation{margin-top:24px!important;margin-bottom:0!important}
.aerobot-portail .aero-qcm-explanation>.integrations-item{padding:24px!important;border-left:3px solid var(--aero-blue,#2d30d8);border-radius:0 14px 14px 0!important}
.aerobot-portail .aero-qcm-explanation h2{font-size:16px!important}
.aerobot-portail .aero-qcm-explanation .integrations-item-text{margin-top:18px}
.aerobot-portail .aero-qcm-explanation :is(#qcmSession_explains,#qcmSession_commentaire){font-size:13px!important;line-height:1.9!important;margin:0;color:var(--aero-ink,#171c35);overflow-wrap:anywhere}
.aerobot-portail .aero-qcm-explanation .qcmCommentary{padding:18px;background:var(--aero-bg,#f6f7fb);border:1px solid var(--aero-line,#e4e7ee);border-radius:10px;margin-top:18px}
.aerobot-portail .aero-qcm-session-card{padding:23px!important;border:1px solid var(--aero-line,#e4e7ee);border-radius:16px!important;box-shadow:none!important;background:var(--aero-surface,#fff);max-height:calc(100dvh - 130px);overflow:auto;scrollbar-width:thin}
.aerobot-portail .aero-qcm-session-card .user-details-text{margin:0;text-align:left;padding:0}
.aerobot-portail .aero-qcm-session-card .user-details-text>p{margin:14px 0 0;font-size:17px;font-weight:600;line-height:1.5;color:var(--aero-ink,#171c35)}
.aerobot-portail .aero-qcm-session-card .mmButton-back{margin:8px 0 12px;padding:0;text-align:left;border:0;background:transparent}
.aerobot-portail .aero-qcm-session-card .mmButton-back a{font-size:10px;line-height:1.6;font-weight:500;color:var(--aero-muted,#596176);text-decoration:none}
.aerobot-portail .aero-qcm-help-action{width:100%;border-radius:10px!important}
.aerobot-portail .aero-qcm-help-action>a{display:flex!important;align-items:center;justify-content:center;gap:8px;padding:12px!important;font-size:12px!important}
.aerobot-portail .aero-qcm-help-action img{width:20px;height:20px;object-fit:contain;margin:0!important}
.aerobot-portail .aero-qcm-session-metrics{margin:22px 0 16px;padding:17px 0 0;border-top:1px solid var(--aero-line,#e4e7ee)}
.aerobot-portail .aero-qcm-session-metrics .user-details-inner{padding:0;margin:0}
.aerobot-portail .aero-qcm-session-metrics ul{display:flex;flex-direction:column;gap:13px;margin:0;padding:0}
.aerobot-portail .aero-qcm-session-metrics li{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:0;padding:0;list-style:none}
.aerobot-portail .aero-qcm-session-metrics li>.white{font-size:11px;font-weight:400;color:var(--aero-muted,#596176)}
.aerobot-portail .aero-qcm-session-metrics .qcmQuestionInfo2,.aerobot-portail .aero-qcm-session-metrics .qcmQuestionInfo2>span{font-size:15px!important;font-weight:600;color:var(--aero-ink,#171c35);font-variant-numeric:tabular-nums}
.aerobot-portail .aero-qcm-session-metrics .qcmTauxReussite{font-size:12px!important;color:#fff;padding:4px 8px;border-radius:6px}
.aerobot-portail .aero-qcm-session-card>.mmButton-finish{margin:19px 0 0;padding:12px 14px;min-height:44px;width:100%;background:var(--aero-surface,#fff);color:var(--aero-blue,#2d30d8);border:1px solid var(--aero-line,#e4e7ee);border-radius:10px;font-size:11px;text-align:center;line-height:1.5}
.aerobot-portail .aero-qcm-session-card>.mmButton-finish:hover{background:var(--aero-soft,#eeefff);border-color:var(--aero-blue,#2d30d8)}
.aerobot-portail .aero-qcm-session-card .user-details-file{margin-top:22px;padding-top:20px;border-top:1px solid var(--aero-line,#e4e7ee)}
.aerobot-portail .aero-qcm-session-card .user-details-file-text h6{font-size:11px;font-weight:600;color:var(--aero-muted,#596176);margin:0 0 12px}
.aerobot-portail .aero-qcm-session #qcmSession_questionsList{max-height:min(260px,calc(100dvh - 420px));min-height:96px;overflow:auto;margin:0;padding:0;scrollbar-width:thin}
.aerobot-portail .aero-qcm-session #qcmSession_questionsList .qcmSessionQuestion{display:block;padding:11px 12px;margin:0 0 7px;border:1px solid var(--aero-line,#e4e7ee);border-radius:9px;background:var(--aero-surface,#fff);box-shadow:none!important}
.aerobot-portail .aero-qcm-session #qcmSession_questionsList .qcmSessionQuestion p{font-size:11px;font-weight:450;line-height:1.65;color:var(--aero-muted,#596176);margin:0}
.aerobot-portail .aero-qcm-session #qcmSession_questionsList .qcmSessionQuestion:is(:hover,.active){background:var(--aero-soft,#eeefff);border-color:var(--aero-blue,#2d30d8)}
.aerobot-portail .aero-qcm-session #qcmSession_questionsList .qcmSessionQuestion:is(:hover,.active) p{color:var(--aero-blue,#2d30d8)}
.aerobot-portail .aero-qcm-session .user-details-hiring:empty{display:none}

/* Debrief keeps the original correctness badge and exact per-question helper controls. */
.aerobot-portail .aero-qcm-results-card{padding:25px!important;margin:0}
.aerobot-portail .aero-qcm-results-card .back-button{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border:1px solid var(--aero-line,#e4e7ee);border-radius:9px;background:var(--aero-surface,#fff);font-size:18px;text-decoration:none;margin-right:12px!important}
.aerobot-portail .aero-qcm-results-metrics{display:grid;grid-template-columns:minmax(220px,1.6fr) 1fr 1fr;gap:14px;margin:22px 0 0}
.aerobot-portail .aero-qcm-results-metrics>.col-12{display:flex!important;align-items:flex-start!important;flex-direction:column;gap:9px;padding:17px 18px;width:auto;min-width:0;margin:0!important;border:1px solid var(--aero-line,#e4e7ee);border-radius:11px;background:var(--aero-bg,#f6f7fb)}
.aerobot-portail .aero-qcm-results-metrics .qcmQuestionIcon{font-size:10px;line-height:1.5;color:var(--aero-muted,#596176);font-weight:400}
.aerobot-portail .aero-qcm-results-metrics .qcmQuestionIcon i{padding:0;margin-right:6px;background:transparent;color:var(--aero-muted,#596176);font-size:14px;border-radius:0}
.aerobot-portail .aero-qcm-results-metrics .qcmQuestionInfo{font-size:17px;font-weight:600;color:var(--aero-ink,#171c35);line-height:1.5;letter-spacing:-.02em;overflow-wrap:anywhere}
.aerobot-portail .aero-qcm-results-metrics .qcmTauxReussite{font-size:14px!important;font-weight:600;line-height:1.5;border-radius:7px}
.aerobot-portail .aero-qcm-results-card .integrations-item-text>hr{display:none}
.aerobot-portail .aero-qcm-results-card #qcmSession_question:empty{display:none}
.aerobot-portail .aero-qcm-review-table{min-width:800px;table-layout:fixed}
.aerobot-portail .aero-qcm-review-table td{white-space:normal;overflow-wrap:anywhere;font-size:12px!important;line-height:1.75!important}
.aerobot-portail .aero-qcm-review-table th:first-child{width:34%!important}
.aerobot-portail .aero-qcm-review-table th:nth-child(2),.aerobot-portail .aero-qcm-review-table th:nth-child(3){width:24%!important}
.aerobot-portail .aero-qcm-review-table th:last-child{width:18%!important}
.aerobot-portail .aero-qcm-review-table td:last-child>.qcmTauxReussite{display:inline-block;font-size:10px;line-height:1.5;padding:5px 8px;margin:0 0 8px;border-radius:6px;white-space:normal}
.aerobot-portail .aero-qcm-review-table td:last-child>[mm_send]{display:block}
.aerobot-portail .aero-qcm-review-help{width:36px!important;height:36px!important;background:var(--aero-soft,#eeefff)!important;color:var(--aero-blue,#2d30d8)!important}

/* Training and exam records remain editable through their original controls. */
.aerobot-portail .aero-formation-table{min-width:810px}
.aerobot-portail .aero-formation-table thead tr:first-child th{background:var(--aero-surface,#fff)!important;text-transform:none!important;letter-spacing:0!important;color:var(--aero-ink,#171c35)!important;font-size:13px!important;font-weight:600!important;padding:21px 18px!important;text-align:left!important}
.aerobot-portail .aero-formation-table thead tr:first-child th:last-child{border-left:1px solid var(--aero-line,#e4e7ee)}
.aerobot-portail .aero-formation-table thead tr:nth-child(2) th{font-size:9px!important}
.aerobot-portail .aero-formation-table tbody .backgroundColorFormation,.aerobot-portail .aero-formation-table tbody .backgroundColorExamen{background:var(--aero-surface,#fff)!important}
.aerobot-portail .aero-formation-table tbody tr:hover td{background:var(--aero-bg,#f6f7fb)!important}
.aerobot-portail .aero-formation-table tbody tr{height:auto!important}
.aerobot-portail .aero-formation-table tbody td{padding:23px 17px!important}
.aerobot-portail .aero-formation-table tbody td:first-child{font-weight:600;min-width:215px;max-width:310px;white-space:normal}
.aerobot-portail .aero-formation-table tbody td:nth-child(2){font-variant-numeric:tabular-nums;white-space:nowrap}
.aerobot-portail .aero-formation-table tbody td:nth-child(4){white-space:nowrap;border-left:1px solid var(--aero-line,#e4e7ee);min-width:190px}
.aerobot-portail .aero-formation-table tbody td:last-child{width:220px!important;min-width:190px;text-align:left!important}
.aerobot-portail .aero-formation-table td>.tentative{display:inline-flex!important;align-items:center;justify-content:center;width:44px;height:44px;padding:0;margin-right:5px!important;border:1px solid var(--aero-line,#e4e7ee);border-radius:9px;box-shadow:none!important;font-size:11px;font-weight:550;color:var(--aero-muted,#596176);background:var(--aero-surface,#fff);vertical-align:middle}
.aerobot-portail .aero-formation-table td>.tentative:hover{background:var(--aero-soft,#eeefff);color:var(--aero-blue,#2d30d8);border-color:var(--aero-blue,#2d30d8)}
.aerobot-portail .aero-formation-table td>.tentative.success{background:#e9f6ee!important;border-color:#97c8ad;color:#216b48}
.aerobot-portail .aero-formation-table td>.tentative.danger{background:#fff0f2!important;border-color:#e4a9b3;color:#9e3f50}
.aerobot-portail .aero-formation-table td>.tentative.disabled{background:var(--aero-bg,#f6f7fb)!important;border-style:dashed;border-color:var(--aero-line,#e4e7ee);color:var(--aero-muted,#596176);opacity:.4}
.aerobot-portail .aero-formation-table td .form-control{width:100%;min-width:150px;font-size:11px!important;min-height:40px;padding:9px 11px!important;background:var(--aero-surface,#fff)!important}
.aerobot-portail .aero-formation-modal .modal-dialog{max-width:440px}
.aerobot-portail .aero-formation-modal .modal-header{padding-bottom:0;border:0}
.aerobot-portail .aero-formation-modal .modal-body{padding:10px 28px 28px}
.aerobot-portail .aero-formation-modal .modal-body-head{justify-content:flex-start!important;gap:8px}
.aerobot-portail .aero-formation-modal .modal-body-head h2{font-size:21px;font-weight:600;letter-spacing:-.03em}
.aerobot-portail .aero-formation-modal #modalTentativeID{width:33px;height:33px;border-radius:9px;background:var(--aero-soft,#eeefff);color:var(--aero-blue,#2d30d8);box-shadow:none;font-size:13px}
.aerobot-portail .aero-formation-modal .row>.col-xl-6{width:100%;justify-content:flex-start!important}
.aerobot-portail .aero-formation-score-field{width:100%}
.aerobot-portail .aero-formation-score-field label{font-size:11px;font-weight:550;color:var(--aero-muted,#596176);display:block;margin-bottom:9px}
.aerobot-portail .aero-formation-score-field .input-group{display:flex;flex-wrap:nowrap}
.aerobot-portail .aero-formation-score-field .form-control{border-top-right-radius:0!important;border-bottom-right-radius:0!important}
.aerobot-portail .aero-formation-score-field .input-group-text{padding:12px 17px;border-color:var(--aero-line,#e4e7ee);border-radius:0 10px 10px 0;background:var(--aero-bg,#f6f7fb);color:var(--aero-muted,#596176);font-size:13px}
.aerobot-portail .aero-formation-modal .btn-one-modal{width:100%;margin-top:25px;border:1px solid var(--aero-blue,#2d30d8);border-radius:10px;background:var(--aero-blue,#2d30d8);color:#fff;min-height:46px;padding:12px 16px;font-size:12px;font-weight:600}

/* Native state visibility always wins over presentation. */
.aerobot-portail :is(.aero-qcm-page,.aero-formation-page,.aero-formation-modal) .none{display:none!important}
@media(min-width:1101px) and (max-width:1350px){
  .aerobot-portail .aero-qcm-launch-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .aerobot-portail .aero-qcm-module-field{grid-column:1/-1}
  .aerobot-portail .aero-qcm-session.nftmax-adashboard{grid-template-columns:minmax(0,1fr) 266px;gap:18px}
  .aerobot-portail .aero-qcm-answers>.row{grid-template-columns:1fr}
  .aerobot-portail .aero-qcm-session-card{padding:19px!important}
}
@media(max-width:1100px){
  .aerobot-portail .aero-qcm-session.nftmax-adashboard{display:flex;flex-direction:column;gap:24px}
  .aerobot-portail .aero-qcm-session-aside{position:static;width:100%!important;max-width:none}
  .aerobot-portail .aero-qcm-session-card{max-height:none}
  .aerobot-portail .aero-qcm-session #qcmSession_questionsList{max-height:260px}
  .aerobot-portail .aero-qcm-session-card .user-details-text>p{font-size:19px}
  .aerobot-portail .aero-qcm-session-card .aero-qcm-help-action{max-width:360px;margin-right:auto}
  .aerobot-portail .aero-qcm-session-metrics ul{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
  .aerobot-portail .aero-qcm-session-metrics li{display:flex;flex-direction:column;align-items:flex-start;gap:8px}
  .aerobot-portail .aero-qcm-session-card>.mmButton-finish{max-width:360px}
}
@media(max-width:800px){
  .aerobot-portail .aero-qcm-launch-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .aerobot-portail .aero-qcm-module-field{grid-column:1/-1;margin-bottom:5px!important}
  .aerobot-portail .aero-qcm-results-metrics{grid-template-columns:1fr 1fr}
  .aerobot-portail .aero-qcm-results-metrics>.col-12:first-child{grid-column:1/-1}
  .aerobot-portail .aero-qcm-section-heading{display:block}
  .aerobot-portail .aero-qcm-section-heading p{margin-top:5px}
}
@media(max-width:600px){
  .aerobot-portail .aero-qcm-page-heading{margin-bottom:21px}
  .aerobot-portail .aero-qcm-page-heading h1{font-size:25px}
  .aerobot-portail .aero-qcm-page-heading p{font-size:12px}
  .aerobot-portail .aero-qcm-launch-card,.aerobot-portail .aero-qcm-question-card,.aerobot-portail .aero-qcm-results-card{padding:19px!important}
  .aerobot-portail .aero-qcm-mode-action>a{padding:14px!important;min-height:103px}
  .aerobot-portail .aero-qcm-mode-title{font-size:12px;gap:8px}
  .aerobot-portail .aero-qcm-mode-title i{font-size:16px}
  .aerobot-portail .aero-qcm-mode-note{font-size:9px}
  .aerobot-portail .aero-qcm-question-heading{grid-template-columns:1fr!important}
  .aerobot-portail .aero-qcm-question-heading>.col-12{justify-content:flex-start!important}
  .aerobot-portail .aero-qcm-session #qcmSession_question{font-size:15px!important;line-height:1.8!important}
  .aerobot-portail .aero-qcm-answers>.row{grid-template-columns:1fr;gap:10px}
  .aerobot-portail .aero-qcm-session .qcmResponse{padding:16px!important;min-height:78px}
  .aerobot-portail .aero-qcm-session .qcmResponse p{font-size:12px}
  .aerobot-portail .aero-qcm-answers :is(#qcmSession_nextQuestion,#qcmSession_buttonValidateResponse){width:100%!important}
  .aerobot-portail .aero-qcm-session-metrics ul{gap:12px}
  .aerobot-portail .aero-qcm-session-metrics li>.white{font-size:9px}
  .aerobot-portail .aero-qcm-session-metrics .qcmQuestionInfo2,.aerobot-portail .aero-qcm-session-metrics .qcmQuestionInfo2>span{font-size:14px!important}
  .aerobot-portail .aero-qcm-explanation>.integrations-item{padding:19px!important}
  .aerobot-portail .aero-qcm-results-metrics{gap:10px}
  .aerobot-portail .aero-qcm-results-metrics>.col-12{padding:14px}
  .aerobot-portail .aero-qcm-results-metrics .qcmQuestionInfo{font-size:15px}
}
@media(prefers-reduced-motion:reduce){.aerobot-portail .aero-qcm-page *{transition:none!important;animation:none!important}}

/* Compact native workspaces: page names belong to the shared header. */
.aerobot-portail .aero-qcm-listing>.nftmax-adashboard-left,.aerobot-portail .aero-formation-page>.nftmax-adashboard-left{width:100%!important;flex:none}
.aerobot-portail .aero-qcm-launch-card{padding:20px!important;border-radius:12px!important;container:aero-qcm-launch / inline-size}
.aerobot-portail .aero-qcm-launch-card>.integrations-item-inner{margin-bottom:16px!important}
.aerobot-portail .aero-qcm-launch-grid{grid-template-columns:minmax(180px,1fr) auto auto;gap:12px;align-items:end}
.aerobot-portail .aero-qcm-launch-grid>.aero-qcm-module-field{grid-column:auto;margin:0!important}
.aerobot-portail .aero-qcm-field-label{margin-bottom:7px;font-size:12px}
.aerobot-portail .aero-qcm-module-field .form-control{min-height:44px!important;height:44px!important;font-size:13px!important}
.aerobot-portail .aero-qcm-mode-action{width:auto;min-width:0;height:44px;min-height:44px;border-radius:8px!important;background:var(--aero-surface,#fff)!important;border:1px solid var(--aero-line,#e4e7ee)!important}
.aerobot-portail .aero-qcm-mode-action>a{height:42px;min-height:42px;padding:10px 15px!important;display:flex!important;flex-direction:row;gap:0;color:var(--aero-ink,#171c35)!important}
.aerobot-portail .aero-qcm-mode-title{font-size:12px;line-height:1.5;gap:13px;white-space:nowrap}
.aerobot-portail .aero-qcm-mode-title i{color:var(--aero-blue,#2d30d8);font-size:17px}
.aerobot-portail .aero-qcm-mode-action:hover{background:var(--aero-soft,#eeefff)!important;border-color:var(--aero-blue,#2d30d8)!important}
.aerobot-portail .aero-qcm-mode-action:has(a:focus-visible){outline:2px solid var(--aero-blue,#2d30d8);outline-offset:3px}
.aerobot-portail .aero-qcm-section-heading{margin:23px 0 12px}
.aerobot-portail .aero-qcm-section-heading h2{font-size:16px}
.aerobot-portail :is(.aero-qcm-page,.aero-formation-page) .aero-qcm-table-wrap{border-radius:11px}
.aerobot-portail .aero-qcm-table-wrap table tbody td{padding:13px 15px!important}
.aerobot-portail .aero-qcm-session.nftmax-adashboard{gap:20px}
.aerobot-portail .aero-qcm-question-card{padding:20px!important;margin-bottom:16px;border-radius:12px!important}
.aerobot-portail .aero-qcm-question-heading{display:flex!important;justify-content:flex-end!important;gap:10px!important;padding:0!important;border:0;background:none!important}
.aerobot-portail .aero-qcm-question-heading>.col-12{justify-content:flex-end!important}
.aerobot-portail .aero-qcm-question-card>.integrations-item-inner{margin-bottom:12px}
.aerobot-portail .aero-qcm-question-card .integrations-item-text{margin-top:0}
.aerobot-portail .aero-qcm-session #qcmSession_question{font-size:18px!important;line-height:1.65!important;font-weight:550}
.aerobot-portail .aero-qcm-session .qcmResponse{padding:15px 17px!important;min-height:76px;border-radius:9px}
.aerobot-portail .aero-qcm-session .qcmResponse:is(.active,.goodResponse,.badResponse):after{margin-top:8px;letter-spacing:.015em}
.aerobot-portail .aero-qcm-session-card{padding:19px!important;border-radius:12px!important}
.aerobot-portail .aero-qcm-session-card .user-details-text>p{font-size:15px;margin-top:0}
.aerobot-portail .aero-qcm-session-metrics{margin-top:18px;padding-top:15px}
.aerobot-portail .aero-qcm-help-action{background:var(--aero-surface,#fff)!important;border-color:var(--aero-line,#e4e7ee)!important}
.aerobot-portail .aero-qcm-help-action>a{color:var(--aero-blue,#2d30d8)!important}
.aerobot-portail .aero-qcm-help-action img{filter:brightness(0) saturate(100%) invert(20%) sepia(86%) saturate(4810%) hue-rotate(242deg) brightness(89%) contrast(91%)}
.aerobot-portail .aero-qcm-explanation>.integrations-item{padding:20px!important;border-left-width:2px;border-radius:0 10px 10px 0!important}
.aerobot-portail .aero-qcm-results-card{padding:20px!important;border-radius:12px!important}
.aerobot-portail .aero-formation-table thead tr:first-child th{padding:16px 15px!important}
.aerobot-portail .aero-formation-table tbody td{padding:17px 15px!important}
.aerobot-portail .aero-ato-qcm-session .aero-qcm-question-heading{justify-content:flex-start!important}
.aerobot-portail .aero-ato-qcm-session .aero-qcm-question-heading h2{font-size:12px!important;font-weight:500!important;color:var(--aero-muted,#596176)!important}
@container aero-qcm-launch (max-width:540px){
 .aerobot-portail .aero-qcm-launch-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .aerobot-portail .aero-qcm-launch-grid>.aero-qcm-module-field{grid-column:1/-1}
 .aerobot-portail .aero-qcm-mode-action{width:100%}
}
@media(max-width:600px){
 .aerobot-portail .aero-qcm-launch-card,.aerobot-portail .aero-qcm-question-card,.aerobot-portail .aero-qcm-results-card{padding:16px!important}
 .aerobot-portail .aero-qcm-session #qcmSession_question{font-size:16px!important;line-height:1.7!important}
 .aerobot-portail .aero-qcm-session .qcmResponse{min-height:66px;padding:14px!important}
 .aerobot-portail .aero-qcm-mode-title{font-size:12px;gap:8px}
}

/* v3 listing: keep the launcher and headings in place; the table owns both scroll axes. */
.aerobot-portail .aero-qcm-listing.nftmax-adashboard{height:100dvh;min-height:0!important;box-sizing:border-box;overflow:hidden;padding-bottom:22px!important}
.aerobot-portail .aero-qcm-listing>.nftmax-adashboard-left{height:100%;min-height:0;overflow:visible}
.aerobot-portail .aero-qcm-listing .aero-qcm-page-content{display:flex;flex-direction:column;flex-wrap:nowrap;height:100%;min-height:0;margin-bottom:0}
.aerobot-portail .aero-qcm-listing .aero-qcm-launch-form{flex:0 0 auto;width:100%;margin-bottom:0}
.aerobot-portail .aero-qcm-listing .aero-qcm-launch-card{margin-bottom:0}
.aerobot-portail .aero-qcm-listing .aero-qcm-history{display:flex;flex-direction:column;flex:1 1 auto;min-height:0;padding-top:0}
.aerobot-portail .aero-qcm-listing .aero-qcm-section-heading{flex:0 0 auto;margin:20px 0 12px}
.aerobot-portail .aero-qcm-listing .aero-qcm-history>.aero-qcm-table-wrap{flex:1 1 auto;min-height:0;max-height:none!important;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
.aerobot-portail .aero-qcm-listing .aero-qcm-history-table thead th{position:sticky!important;top:0;z-index:2;background:var(--aero-bg,#f6f7fb)!important;box-shadow:0 1px 0 var(--aero-line,#e4e7ee)!important}
.aerobot-portail .aero-qcm-listing .aero-qcm-mode-action>a{height:100%;min-height:0;box-sizing:border-box;display:flex!important;align-items:center;justify-content:center;line-height:1.3!important;padding:0 15px!important}
.aerobot-portail .aero-qcm-listing .aero-qcm-mode-title{align-items:center;line-height:1.3}
@media(max-width:640px){
 .aerobot-portail .aero-qcm-listing.nftmax-adashboard{padding-bottom:14px!important}
 .aerobot-portail .aero-qcm-listing .aero-qcm-section-heading{margin:16px 0 10px}
 .aerobot-portail .aero-qcm-listing .aero-qcm-history-table{min-width:730px}
}
/* A short landscape viewport or the mobile keyboard must not clip the native launcher. */
@media(max-height:500px){
 .aerobot-portail .aero-qcm-listing.nftmax-adashboard{height:auto;min-height:100dvh!important;overflow:visible}
 .aerobot-portail .aero-qcm-listing>.nftmax-adashboard-left,.aerobot-portail .aero-qcm-listing .aero-qcm-page-content{height:auto}
 .aerobot-portail .aero-qcm-listing .aero-qcm-history>.aero-qcm-table-wrap{flex:none;height:220px;max-height:55dvh!important}
}
/* Native controls and legible result states. */
.aerobot-portail .aero-qcm-listing button.aero-qcm-mode-action{height:46px!important;min-height:46px;padding:11px 18px!important;color:var(--aero-ink)!important;background:var(--aero-surface)!important}
.aerobot-portail .aero-qcm-listing button.aero-qcm-mode-practice{color:#fff!important;background:var(--aero-blue)!important;border-color:var(--aero-blue)!important}
.aerobot-portail .aero-qcm-listing .aero-qcm-mode-practice i{color:inherit}
.aerobot-portail .aero-qcm-mode-title{font-size:14px!important;font-weight:550;justify-content:center;width:100%}
.aerobot-portail .aero-qcm-field-label{font-size:14px!important;font-weight:550}
.aerobot-portail .aero-qcm-module-field .form-control{min-height:46px!important;height:46px!important;font-size:15px!important}
.aerobot-portail .aero-qcm-section-heading h2{font-size:18px;font-weight:600}
.aerobot-portail .aero-qcm-table-wrap table tbody td,.aerobot-portail .aero-qcm-table-wrap table tbody p,.aerobot-portail .aero-qcm-table-wrap table tbody h6{font-size:14px!important;line-height:1.55!important}
.aerobot-portail .aero-qcm-table-wrap table thead th{font-size:12px!important;text-transform:none;letter-spacing:0}
.aerobot-portail .aero-qcm-score.aero-score-empty{color:var(--aero-muted)!important;background:var(--aero-bg)!important;border:1px solid var(--aero-line);width:auto!important;white-space:nowrap;font-weight:450}
.aerobot-portail .aero-icon-button{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:8px;border:1px solid transparent;border-radius:8px;background:transparent;color:var(--aero-muted);font-size:18px;cursor:pointer}
.aerobot-portail .aero-icon-button:hover{background:var(--aero-soft);color:var(--aero-blue)}
.aerobot-portail .aero-qcm-favorite-cell .aero-icon-button{width:44px;padding:0}
.aerobot-portail .aero-qcm-favorite-cell i{pointer-events:none}
.aerobot-portail .aero-qcm-row-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;min-width:90px;font-size:13px;font-weight:550}
.aerobot-portail .aero-qcm-row-actions a.none{display:none!important}
.aerobot-portail .aero-formation-row button.tentative{min-width:36px;min-height:40px;font-family:inherit;font-weight:550;font-size:14px;line-height:1;border-width:1px;cursor:pointer}
.aerobot-portail .aero-qcm-session button.qcmResponse{display:flex;flex-direction:column;align-items:flex-start;width:100%;margin:0;text-align:left;cursor:pointer;color:var(--aero-ink);font:400 15px/1.65 var(--aero-font)}
.aerobot-portail .aero-qcm-session .aero-answer-text{font-size:15px;line-height:1.65}
.aerobot-portail .aero-qcm-session .qcmResponse:disabled{cursor:default}
.aerobot-portail .aero-qcm-answers button#qcmSession_nextQuestion{padding:12px 18px;border:1px solid var(--aero-blue);background:var(--aero-blue);color:#fff;cursor:pointer}
.aerobot-portail .aero-empty-table-row td{padding:36px 24px!important;text-align:center!important;white-space:normal!important;width:auto!important}
@media(max-width:760px){
 .aerobot-portail .aero-qcm-listing .aero-qcm-history-table{display:block;min-width:0!important;width:100%!important;table-layout:auto}
 .aerobot-portail .aero-qcm-history-table thead{display:none}
 .aerobot-portail .aero-qcm-history-table tbody{display:block;width:100%}
 .aerobot-portail .aero-qcm-history-table .aero-qcm-history-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 12px;padding:18px;border-bottom:1px solid var(--aero-line)!important;background:var(--aero-surface);height:auto!important}
 .aerobot-portail .aero-qcm-history-table .aero-qcm-history-row>td{width:auto!important;min-width:0;border:0!important;padding:0!important;background:transparent!important;text-align:left!important;white-space:normal!important}
 .aerobot-portail .aero-qcm-history-row>td:nth-child(3){grid-column:1;grid-row:1}
 .aerobot-portail .aero-qcm-history-row>td:nth-child(3) h6{margin:0;font-size:15px!important}
 .aerobot-portail .aero-qcm-history-row>td:nth-child(2){grid-column:1;grid-row:2}
 .aerobot-portail .aero-qcm-history-row>td:nth-child(2) .aero-qcm-type{font-size:12px}
 .aerobot-portail .aero-qcm-history-row>td:nth-child(6){grid-column:1;grid-row:3}
 .aerobot-portail .aero-qcm-history-row>td:nth-child(6) p{font-size:12px!important;color:var(--aero-muted)}
 .aerobot-portail .aero-qcm-history-row>td:nth-child(5){grid-column:2;grid-row:2;align-self:center;justify-self:end}
 .aerobot-portail .aero-qcm-history-row>td:nth-child(4){grid-column:2;grid-row:3;justify-self:end}
 .aerobot-portail .aero-qcm-history-row>td:nth-child(4) p{font-size:12px!important;color:var(--aero-muted)}
 .aerobot-portail .aero-qcm-history-row>td:nth-child(4) p:after{content:' questions répondues'}
 .aerobot-portail .aero-qcm-history-row>td:first-child{grid-column:2;grid-row:1;justify-self:end;margin:-10px -10px 0 0}
 .aerobot-portail .aero-qcm-history-row>td:nth-child(7){grid-column:1;grid-row:4;margin:4px 0 0 -10px}
 .aerobot-portail .aero-qcm-history-row>td:nth-child(8){grid-column:2;grid-row:4;margin-top:4px;justify-self:end;align-self:center}
 .aerobot-portail .aero-qcm-history-table .aero-qcm-score{width:auto!important;min-width:62px;padding:5px 9px;margin:0;font-size:13px!important}
 .aerobot-portail .aero-qcm-history-table .aero-empty-table-row{display:block}
 .aerobot-portail .aero-qcm-history-table .aero-empty-table-row td{display:block}
 .aerobot-portail .aero-qcm-launch-grid{gap:12px}
 .aerobot-portail .aero-qcm-module-field .form-control{font-size:16px!important}
 .aerobot-portail .aero-formation-table-wrap{max-height:none!important;overflow:visible!important;border:0!important;background:none!important}
 .aerobot-portail .aero-formation-table{display:block;width:100%;min-width:0!important}
 .aerobot-portail .aero-formation-table thead{display:none}
 .aerobot-portail .aero-formation-table tbody{display:grid;gap:16px}
 .aerobot-portail .aero-formation-table .aero-formation-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:20px;height:auto!important;border:1px solid var(--aero-line);border-radius:12px;background:var(--aero-surface)}
 .aerobot-portail .aero-formation-table .aero-formation-row td{display:block;min-width:0;width:auto!important;padding:0!important;border:0!important;background:transparent!important;text-align:left!important}
 .aerobot-portail .aero-formation-row td:first-child,.aerobot-portail .aero-formation-row td:nth-child(4),.aerobot-portail .aero-formation-row td:nth-child(5){grid-column:1/-1}
 .aerobot-portail .aero-formation-row td:first-child{font-size:16px!important;font-weight:600}
 .aerobot-portail .aero-formation-row td:not(:first-child):before{content:attr(data-label);display:block;font-size:12px;color:var(--aero-muted);margin-bottom:6px}
 .aerobot-portail .aero-formation-row td .form-control{font-size:16px!important;width:100%}
}
.aerobot-portail .aero-native-notice{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;width:100%;padding:18px 20px;margin:0 0 20px;border:1px solid #e5cf9f;border-radius:10px;background:#fff8eb;color:#705622;font-size:14px;line-height:1.6}.aerobot-portail .aero-native-notice p{margin:0;flex:1;min-width:220px}.aerobot-portail .aero-native-loading{width:100%;font-size:14px;color:var(--aero-muted);margin:0 0 16px}

.aerobot-portail .aero-native-notice,.aerobot-portail .aero-native-loading{grid-column:1/-1}

/* Match session reading scale to the application, and preserve dark action contrast. */
.aerobot-portail .aero-qcm-session-metrics li>.white,.aerobot-portail .aero-qcm-session-card>.mmButton-finish,.aerobot-portail .aero-qcm-session-card .user-details-file-text h6{font-size:13px}
.aerobot-portail .aero-qcm-session #qcmSession_questionsList .qcmSessionQuestion p{font-size:13px;line-height:1.65}
.aerobot-portail.dark .aero-qcm-listing button.aero-qcm-mode-practice,.aerobot-portail.dark .aero-qcm-answers button#qcmSession_nextQuestion{color:var(--aero-primary-text)!important}

/* Match the launch card to the history gutter, including narrow screens. */
.aerobot-portail .aero-qcm-listing .aero-qcm-launch-form{padding-inline:12px}

/* Formation cards reset desktop cell widths as well as the table's minimum. */
@media(max-width:760px){
 .aerobot-portail .aero-formation-table-wrap,.aerobot-portail .aero-formation-table-wrap .aero-formation-table{width:100%!important;max-width:100%;min-width:0!important}
 .aerobot-portail .aero-formation-table tbody{width:100%;max-width:100%;min-width:0;grid-template-columns:minmax(0,1fr)}
 .aerobot-portail .aero-formation-table tbody .aero-formation-row{width:100%;max-width:100%;min-width:0}
 .aerobot-portail .aero-formation-table tbody .aero-formation-row>td{width:auto!important;min-width:0!important;max-width:none!important;white-space:normal}
 .aerobot-portail .aero-formation-table tbody .aero-formation-row>td:first-child{overflow-wrap:anywhere}
 .aerobot-portail .aero-formation-table tbody .aero-qcm-score{width:fit-content!important;min-width:62px;max-width:100%;padding:5px 8px;font-size:13px!important}
 .aerobot-portail .aero-formation-table tbody .aero-formation-row>td:last-child>div{width:100%!important;min-width:0;justify-content:flex-start!important}
}

/* October 15: Manu review, preserving the AEROBOT design language. */

.aerobot-portail .aero-qcm-launch-card{display:grid!important;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:20px;padding:16px 20px!important}
.aerobot-portail .aero-qcm-launch-heading{font-size:16px;font-weight:600;line-height:1.4;letter-spacing:-.02em;margin:0;white-space:nowrap}
.aerobot-portail .aero-qcm-launch-card .aero-qcm-launch-grid{grid-template-columns:minmax(180px,1fr) auto auto;gap:10px;align-items:center}
.aerobot-portail .aero-qcm-listing .aero-qcm-mode-action{display:flex;align-items:center;justify-content:center;padding:0 15px!important;line-height:1.3}
.aerobot-portail .aero-qcm-listing .aero-qcm-module-field .form-control{margin:0}
.aerobot-portail .aero-qcm-listing .aero-qcm-field-label{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;margin:0;padding:0}
.aerobot-portail .aero-qcm-question-card{min-height:0!important;padding:20px 22px!important}
.aerobot-portail .aero-qcm-question-card .integrations-item-text{min-height:0!important;padding-top:0!important}
.aerobot-portail .aero-qcm-session #qcmSession_question{min-height:3.3em}
@media(min-width:1101px){.aerobot-portail .aero-qcm-listing.nftmax-adashboard{padding-top:94px!important}}
@container aero-qcm-launch (max-width:700px){
 .aerobot-portail .aero-qcm-launch-heading{grid-column:1/-1}
 .aerobot-portail .aero-qcm-launch-card .aero-qcm-launch-grid{grid-column:1/-1}
}
@media(max-width:800px){
 .aerobot-portail .aero-qcm-launch-card{gap:12px;padding:16px!important}
 .aerobot-portail .aero-qcm-launch-heading{grid-column:1/-1}
 .aerobot-portail .aero-qcm-launch-card .aero-qcm-launch-grid{grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr))}
 .aerobot-portail .aero-qcm-launch-card .aero-qcm-module-field{grid-column:1/-1!important;margin-bottom:0!important}
 .aerobot-portail .aero-qcm-launch-card .aero-qcm-mode-action{width:100%}
 .aerobot-portail .aero-qcm-question-card{padding:18px!important}
}


/* WEB-UX-07: legacy result backgrounds stay bright in both themes.
   Keep a fixed dark ink for readable verdicts and the debrief score only. */
.aerobot-portail .aero-qcm-review-table .qcmTauxReussite,
.aerobot-portail .aero-qcm-results-metrics .qcmTauxReussite{color:var(--aero-score-ink,#171c35)!important}

/* WEB-UX-06: native help buttons retain keyboard behavior and a visible label. */
.aerobot-portail button.aero-qcm-review-help{width:auto!important;min-width:44px;height:44px!important;gap:6px;padding:0 10px!important;cursor:pointer;font-family:inherit}
.aerobot-portail button.aero-qcm-review-help>span{font-size:12px;line-height:1.4}
.aerobot-portail button.aero-qcm-help-action{display:flex!important;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:12px!important;border:1px solid var(--aero-line,#e4e7ee);font:inherit;font-size:12px;color:var(--aero-blue,#2d30d8)!important;cursor:pointer}
.aerobot-portail button.aero-qcm-review-help:focus-visible,.aerobot-portail button.aero-qcm-help-action:focus-visible{outline:3px solid var(--aero-blue,#2d30d8)!important;outline-offset:3px}
.aerobot-portail button.aero-qcm-review-help[aria-busy="true"],.aerobot-portail button.aero-qcm-help-action[aria-busy="true"]{cursor:wait;opacity:.65}

/* Complete, keyboard-operable question review, including touch screens. */
.aerobot-portail .aero-qcm-review-details summary{cursor:pointer;font-weight:600;color:var(--aero-ink,#171c35);padding:5px 0;line-height:1.65}
.aerobot-portail .aero-qcm-review-details summary::marker{color:var(--aero-blue,#2d30d8)}
.aerobot-portail .aero-qcm-review-details summary:focus-visible{outline:2px solid var(--aero-blue,#2d30d8);outline-offset:5px;border-radius:3px}
.aerobot-portail .aero-qcm-review-content{padding:16px 0 4px;min-width:0;text-align:left}
.aerobot-portail .aero-qcm-review-statement{white-space:pre-wrap;font-size:14px;line-height:1.7;margin:0 0 16px}
.aerobot-portail .aero-qcm-review-options{display:grid;gap:9px;list-style-position:inside;padding:0;margin:16px 0}
.aerobot-portail .aero-qcm-review-option{padding:11px 13px;border:1px solid var(--aero-line,#e4e7ee);border-radius:9px;background:var(--aero-surface,#fff)}
.aerobot-portail .aero-qcm-review-option small{display:block;margin-top:5px;font-weight:600;font-size:11px}
.aerobot-portail .aero-qcm-review-option.is-correct{border-color:#87b59b;background:#f0f8f3;color:#216b48}
.aerobot-portail .aero-qcm-review-option.is-selected{border-color:#d4a0aa;background:#fff3f5;color:#853544}
.aerobot-portail .aero-qcm-review-explanation{padding:13px 15px;border-left:3px solid var(--aero-blue,#2d30d8);background:var(--aero-bg,#f6f7fb);line-height:1.75;margin-top:16px}
.aerobot-portail .aero-qcm-review-version-note{font-size:11px;color:var(--aero-muted,#596176);line-height:1.6;margin:16px 0 0}
.aero-qcm-review-media{display:flex;flex-wrap:wrap;gap:12px;margin:12px 0}
.aero-qcm-review-media a{display:block;max-width:100%;width:320px}
.aero-qcm-review-media img{display:block;width:100%;max-height:320px;object-fit:contain;border-radius:9px;border:1px solid #e4e7ee;background:#fff}
.aerobot-portail .aero-qcm-review-table:has(details[open]) th:first-child{width:56%!important}
.aerobot-portail .aero-qcm-review-table:has(details[open]) th:nth-child(2),.aerobot-portail .aero-qcm-review-table:has(details[open]) th:nth-child(3){width:14%!important}
@media(max-width:760px){
 .aerobot-portail .aero-qcm-review-table{display:block;min-width:0!important;width:100%}
 .aerobot-portail .aero-qcm-review-table thead{display:none}
 .aerobot-portail .aero-qcm-review-table tbody{display:grid;gap:14px;width:100%}
 .aerobot-portail .aero-qcm-review-table tr{display:grid;grid-template-columns:1fr 1fr;border:1px solid var(--aero-line,#e4e7ee);border-radius:12px;background:var(--aero-surface,#fff);overflow:hidden}
 .aerobot-portail .aero-qcm-review-table td{display:block!important;width:auto!important;min-width:0;padding:12px!important;border:0!important}
 .aerobot-portail .aero-qcm-review-table td:first-child,.aerobot-portail .aero-qcm-review-table td:last-child{grid-column:1/-1}
 .aerobot-portail .aero-qcm-review-table td[data-label]::before{content:attr(data-label);display:block;font-size:10px;font-weight:600;color:var(--aero-muted,#596176);margin-bottom:5px}
 .aerobot-portail .aero-qcm-review-table td:last-child{display:flex!important;align-items:center;justify-content:space-between;gap:12px}
 .aerobot-portail .aero-qcm-review-table td:last-child>.qcmTauxReussite{margin:0}
}

.aerobot-portail .aero-qcm-session .qcmResponse.goodResponse:after{position:absolute;right:12px;top:10px;margin:0;font-size:17px;line-height:1}
.aerobot-portail .aero-qcm-session .qcmResponse.goodResponse{padding-right:38px!important}

.aerobot-portail .aero-formation-modal [data-attempt-status]{font-size:13px;line-height:1.55;color:var(--aero-muted,#596176);margin:16px 0 0}
.aerobot-portail .aero-formation-modal [data-attempt-status][hidden]{display:none}
.aerobot-portail #modalTentativeForm[aria-busy="true"] [data-attempt-save]{cursor:wait}
.aerobot-portail .aero-native-notice,.aerobot-portail .aero-native-loading{flex:0 0 auto}
/* Focused rows should stay clear of the fixed table headings. */
.aerobot-portail .aero-qcm-history-table tbody :is(a,button,input){scroll-margin-block:56px 12px}
.aerobot-portail .aero-qcm-history>.aero-qcm-table-wrap:focus-visible{outline-offset:-3px}

/* V2M1-0022: QCM confirmations share the application's palette and focus states. */
html.aerobot-portail:has(.aero-qcm-page) .swal2-popup{font-family:var(--aero-font,Inter,system-ui,sans-serif);color:var(--aero-ink,#171c35);background:var(--aero-surface,#fff);border:1px solid var(--aero-line,#e4e7ee);border-radius:16px;padding:24px;box-shadow:0 16px 48px rgba(23,28,53,.18)}
html.aerobot-portail:has(.aero-qcm-page) .swal2-title{font-size:22px;line-height:1.35;font-weight:650;color:var(--aero-ink,#171c35);padding:0 12px}
html.aerobot-portail:has(.aero-qcm-page) .swal2-html-container{font-size:15px;line-height:1.7;color:var(--aero-muted,#596176);margin:18px 0 0}
html.aerobot-portail:has(.aero-qcm-page) .swal2-actions{gap:10px;margin:24px 0 0}
html.aerobot-portail:has(.aero-qcm-page) .swal2-styled{min-height:44px;margin:0;padding:11px 20px;border-radius:10px;border:1px solid transparent;font-family:inherit;font-size:14px;font-weight:600;box-shadow:none!important}
html.aerobot-portail:has(.aero-qcm-page) .swal2-confirm{background:var(--aero-blue,#2d30d8)!important;color:var(--aero-primary-text,#fff)!important;border-color:var(--aero-blue,#2d30d8)!important}
html.aerobot-portail:has(.aero-qcm-page) .swal2-cancel{background:var(--aero-surface,#fff)!important;color:var(--aero-ink,#171c35)!important;border-color:var(--aero-line,#e4e7ee)!important}
html.aerobot-portail:has(.aero-qcm-page) .swal2-styled:hover{filter:brightness(.95)}
html.aerobot-portail:has(.aero-qcm-page) .swal2-styled:focus-visible{outline:3px solid var(--aero-blue,#2d30d8);outline-offset:3px}
html.aerobot-portail:has(.aero-qcm-page) .swal2-icon.swal2-warning{color:#a56a25;border-color:#e9c898;background:#fff8eb}
.aerobot-portail .aero-qcm-page :is(.mmButton-finish,.back-button,.aero-qcm-review-help):focus-visible{outline:3px solid var(--aero-blue,#2d30d8);outline-offset:3px}

/* V2M1-0026: one debrief presentation for course-linked and standalone QCM. */
.aerobot-portail .aero-qcm-results .aero-qcm-results-card .integrations-item-text{padding-top:0!important}
.aerobot-portail .aero-qcm-results .aero-qcm-results-metrics{margin-top:16px}
.aerobot-portail .aero-qcm-results .aero-qcm-results-metrics>.col-12{align-items:center!important;justify-content:center!important;text-align:center;gap:10px;padding:18px 16px}
.aerobot-portail .aero-qcm-results .aero-qcm-results-metrics .qcmQuestionIcon{font-size:12px;margin-right:0!important}
.aerobot-portail .aero-qcm-results .aero-qcm-results-metrics .qcmQuestionInfo{width:100%;text-align:center}
.aerobot-portail .aero-qcm-results .aero-qcm-results-metrics .qcmTauxReussite{display:inline-flex;align-items:center;justify-content:center;width:auto;min-width:72px;min-height:36px;padding:6px 12px;background:var(--aero-score-bg,var(--aero-soft,#eeefff))!important;color:var(--aero-score-ink,var(--aero-blue,#2d30d8))!important;border:1px solid var(--aero-score-line,var(--aero-line,#e4e7ee));font-size:15px!important}
.aerobot-portail .aero-qcm-results .aero-qcm-review-table [data-verdict]{display:inline-flex!important;align-items:center;justify-content:center;min-width:72px;min-height:32px;padding:6px 10px!important;font-size:12px!important;font-weight:600;line-height:1.4;border:1px solid var(--aero-line,#e4e7ee);background:var(--aero-bg,#f6f7fb)!important;color:var(--aero-muted,#596176)!important}
.aerobot-portail .aero-qcm-results .aero-qcm-review-table [data-verdict="Vrai"]{background:#eaf7f0!important;color:#1d694c!important;border-color:#b8d9c8}
.aerobot-portail .aero-qcm-results .aero-qcm-review-table [data-verdict="Faux"]{background:#fff0f2!important;color:#91364b!important;border-color:#e9bdc7}
.aerobot-portail .aero-qcm-results .aero-qcm-review-table td:last-child{vertical-align:middle;text-align:center}
.aerobot-portail .aero-qcm-results .aero-qcm-review-table .aero-qcm-review-help{min-width:72px}

/* V2M1-0023: keep the fourth ATO result alongside the other metrics. */
.aerobot-portail .aero-ato-qcm-results .aero-qcm-results-metrics{grid-template-columns:minmax(230px,1.5fr) repeat(3,minmax(0,1fr));margin-top:12px}
.aerobot-portail .aero-qcm-results .aero-qcm-results-metrics>.col-12{padding-top:14px;padding-bottom:14px}
@media(max-width:1100px){.aerobot-portail .aero-ato-qcm-results .aero-qcm-results-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.aerobot-portail .aero-ato-qcm-results .aero-qcm-results-metrics>.col-12:first-child{grid-column:1/-1}}
@media(max-width:600px){.aerobot-portail .aero-ato-qcm-results .aero-qcm-results-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.aerobot-portail .aero-ato-qcm-results .aero-qcm-results-metrics>.col-12:last-child{grid-column:1/-1}}

/* V2M1-0029: both actions remain visible on a laptop without clipping the last column. */
@media(min-width:901px) and (max-width:1400px){
 .aerobot-portail .aero-qcm-listing .aero-qcm-history-table :is(th,td){padding-left:12px!important;padding-right:12px!important}
 .aerobot-portail .aero-qcm-listing .aero-qcm-history-table td:nth-child(3){min-width:150px}
}

/* Pinning and completion belong to the history row, independently of hover. */
.aerobot-portail .aero-qcm-history-table :is(th[mm_attr*="favoris"],.aero-qcm-favorite-cell){width:66px;min-width:66px;padding-left:8px!important;padding-right:8px!important;text-align:center}
.aerobot-portail .aero-qcm-favorite-cell .aero-icon-button{width:36px;min-width:36px;height:36px;display:inline-flex;align-items:center;justify-content:center;padding:0}
.aerobot-portail .aero-qcm-favorite-cell .favoriteStarLine{width:32px;height:32px;border:0;background:transparent}
.aerobot-portail .aero-qcm-favorite-cell button[aria-pressed="true"]{color:var(--aero-blue,#2d30d8);background:var(--aero-soft,#eeefff);border-color:var(--aero-blue,#2d30d8)}
.aerobot-portail .aero-qcm-history-table .aero-qcm-type-incomplete{color:var(--aero-muted,#596176);background:var(--aero-bg,#f7f8fc);border:1px solid var(--aero-line,#e4e7ee);white-space:nowrap}
.aerobot-portail .aero-qcm-results-card [data-exam-completion]{margin:20px 0 0;line-height:1.6;font-size:13px}
.aerobot-portail .aero-qcm-results-card [data-completion="incomplete"]{color:#9b3b46}

/* A verdict is a status; assistance and notes are two lightweight actions. */
@media(min-width:761px){
 .aerobot-portail .aero-qcm-results .aero-qcm-review-table th:last-child{width:244px!important}
 .aerobot-portail .aero-qcm-results .aero-qcm-review-table th:first-child{width:calc((100% - 244px) * .44)!important}
 .aerobot-portail .aero-qcm-results .aero-qcm-review-table th:nth-child(2),.aerobot-portail .aero-qcm-results .aero-qcm-review-table th:nth-child(3){width:calc((100% - 244px) * .28)!important}
 .aerobot-portail .aero-qcm-results .aero-qcm-review-table:has(details[open]) th:first-child{width:calc((100% - 244px) * .66)!important}
 .aerobot-portail .aero-qcm-results .aero-qcm-review-table:has(details[open]) th:nth-child(2),.aerobot-portail .aero-qcm-results .aero-qcm-review-table:has(details[open]) th:nth-child(3){width:calc((100% - 244px) * .17)!important}
}
.aerobot-portail .aero-qcm-results .aero-qcm-review-table td.an-review-actions>.qcmTauxReussite{display:flex!important;width:max-content;min-width:0;height:24px!important;min-height:24px!important;gap:6px;margin:0 auto 4px!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;font:600 11px/1.4 var(--aero-font,Inter,system-ui,sans-serif)!important;cursor:default}
.aerobot-portail .aero-qcm-results .aero-qcm-review-table td.an-review-actions>.qcmTauxReussite::before{content:"";width:5px;height:5px;flex:none;border-radius:50%;background:currentColor}
.aerobot-portail .aero-qcm-results .aero-qcm-review-table td.an-review-actions>[mm_send]{display:inline-flex;align-items:center;vertical-align:middle}
.aerobot-portail .aero-qcm-results .aero-qcm-review-table td.an-review-actions :is(.aero-qcm-review-help,.an-capture-button){display:inline-flex;align-items:center;justify-content:center;vertical-align:middle!important;gap:6px;width:auto!important;min-width:0;height:34px!important;min-height:34px!important;margin:0!important;padding:4px 0!important;border:0!important;border-radius:3px!important;background:transparent!important;box-shadow:none!important;color:var(--aero-blue,#2924ff)!important;font:500 12px/1.4 var(--aero-font,Inter,system-ui,sans-serif)!important;white-space:nowrap}
.aerobot-portail .aero-qcm-results .aero-qcm-review-table td.an-review-actions>.an-capture-button{margin-left:14px!important}
.aerobot-portail .aero-qcm-results .aero-qcm-review-table td.an-review-actions :is(.aero-qcm-review-help,.an-capture-button):hover{text-decoration:underline;text-underline-offset:4px}
@media(max-width:760px){.aerobot-portail .aero-qcm-results .aero-qcm-review-table td.an-review-actions{display:block!important;text-align:center}}
@media(pointer:coarse){.aerobot-portail .aero-qcm-results .aero-qcm-review-table td.an-review-actions :is(.aero-qcm-review-help,.an-capture-button){height:44px!important;min-height:44px!important}}

/* History actions share one compact icon treatment; the column supplies the label. */
.aerobot-portail .aero-qcm-row-actions a.aero-qcm-history-action{box-sizing:border-box;width:44px;min-width:44px;height:44px;min-height:44px;padding:0;border:1px solid transparent;border-radius:8px;background:transparent;box-shadow:none;color:var(--aero-muted,#596176)!important;vertical-align:middle}
.aerobot-portail .aero-qcm-row-actions a.aero-qcm-history-action svg{display:block;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.aerobot-portail .aero-qcm-row-actions a.aero-qcm-history-action:hover{color:var(--aero-blue,#2d30d8)!important;background:var(--aero-soft,#eeefff);border-color:transparent}
.aerobot-portail .aero-qcm-row-actions a.aero-qcm-history-action:focus-visible{outline:2px solid var(--aero-blue,#2d30d8);outline-offset:2px}
.aerobot-portail .aero-qcm-history-table :is(th[mm_attr*="actions2"],td.aero-qcm-row-actions){text-align:center}
