
.transfer-alert{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:13px;padding:15px 17px;border-radius:17px;background:#FFF8E8;border:1px solid #F0DCAC;border-left:4px solid #C39036}
.transfer-alert-copy{flex:1 1 260px;min-width:0}
.transfer-alert-copy strong{font-size:14px;font-weight:900;color:#25364A}
.transfer-alert-copy p{font-size:12px;line-height:1.55;color:#4F6074;margin:5px 0 0}
.transfer-alert-actions{display:flex;flex-wrap:wrap;gap:7px}
.transfer-alert-actions .btn{min-height:40px;font-size:12px;white-space:normal}
.transfer-main{background:#0B1930;color:#FFF}
.transfer-quiet{background:#F1E5CE;color:#293B51}
.transfer-file-input{display:none!important}
.install-transfer-actions{display:flex;gap:9px;flex-wrap:wrap;margin:13px 0}
.install-transfer-actions .btn{flex:1 1 175px;white-space:normal}
.trend-panel{padding:18px!important;margin:0!important;display:grid;gap:10px}
.trend-panel h2{font-size:18px;margin:0}
.trend-head{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.trend-select{width:auto;max-width:100%;min-height:37px;font-size:12px;border:1px solid #D4DEEB;border-radius:10px;padding:7px 10px;background:#F8FAFD}
.trend-chart-slot{display:grid;gap:4px}
.trend-status{display:flex;align-items:center;justify-content:space-between;gap:6px;flex-wrap:wrap}
.trend-status strong{font-size:13px;color:#16304E}
.trend-pill{font-size:11px;font-weight:800;padding:5px 8px;border-radius:99px;background:#F0F4F9;color:#475D75}
.trend-up{background:#E0F5EF;color:#08695C}.trend-down{background:#FAE7EB;color:#911F3B}.trend-steady,.trend-not-enough,.trend-order-only{background:#EDF2FA;color:#486581}
.trend-svg{width:100%;height:140px;display:block;overflow:visible}
.trend-note,.trend-empty{font-size:11px;line-height:1.5;color:#63748D;margin:0}
.dashboard-more{background:#FFF;border:1px solid #DFE7F1;border-radius:16px;overflow:hidden}
.dashboard-more>summary{cursor:pointer;list-style:none;padding:16px 18px;color:#173858;font-size:13px;font-weight:850;display:flex;justify-content:space-between;align-items:center;gap:8px}
.dashboard-more>summary::after{content:'+';font-size:20px;color:#A01434}
.dashboard-more[open]>summary::after{content:'−'}
.dashboard-more>summary::-webkit-details-marker{display:none}
.dashboard-more-content{padding:0 14px 14px;display:grid;gap:12px}

.reflection-choice{display:grid!important;grid-template-columns:22px minmax(0,1fr);align-items:start!important;gap:12px!important;min-height:44px;padding:9px 5px!important;width:100%;font-size:14px;line-height:1.42}
.reflection-choice input[type=checkbox]{width:20px!important;min-width:20px!important;max-width:20px!important;height:20px!important;min-height:20px!important;margin:1px 0 0!important;padding:0!important;justify-self:start;flex:none;accent-color:#087F73}
.reflection-choice span{display:block!important;min-width:0;max-width:100%;text-align:left;overflow-wrap:break-word;align-self:center}
.reflection-obstacles{min-width:0;max-width:100%;padding:12px!important;gap:1px!important}
.reflection-obstacles legend{max-width:100%;line-height:1.45;font-size:13px;padding:0 5px}
@media(max-width:760px){
 .screen-accueil{gap:11px}
 .screen-accueil .welcome-hero{min-height:0;padding:16px 17px;gap:8px}
 .screen-accueil .welcome-hero h1{font-size:23px}
 .screen-accueil .welcome-sub{font-size:11px;line-height:1.4}
 .screen-accueil .welcome-avatar{width:49px;height:49px;font-size:27px;border-radius:14px;border-width:2px}
 .screen-accueil .welcome-copy>.btn{min-height:36px;padding:8px 10px;font-size:11px}
 .screen-accueil .overview-tiles{gap:8px}
 .screen-accueil .overview-card{min-height:99px;padding:12px 11px;border-radius:14px;gap:5px}
 .screen-accueil .overview-card small{font-size:9px;letter-spacing:.06em}
 .screen-accueil .overview-card .overview-number{font-size:clamp(19px,5vw,26px)}
 .screen-accueil .overview-card p{font-size:9.5px;line-height:1.35}
 .screen-accueil .rings-section{padding:12px 9px;gap:9px}
 .screen-accueil .rings-section>h2{font-size:15px;margin:0}
 .screen-accueil .rings-grid{gap:3px}
 .screen-accueil .ring{width:clamp(57px,17vw,72px);height:clamp(57px,17vw,72px);padding:5px;box-shadow:none}
 .screen-accueil .ring-core strong{font-size:clamp(12px,3.5vw,15px)}
 .screen-accueil .ring-label{font-size:10px;margin-top:2px}
 .screen-accueil .ring-sub{font-size:9px;line-height:1.25}
 .screen-accueil .course-tile:nth-child(n+4){display:none}
 .screen-accueil .dash-section-top h2{font-size:16px}
 .screen-accueil .course-tile{padding:10px;gap:7px}
 .screen-accueil .course-average{font-size:18px}
 .screen-accueil .current-period{font-size:10px;padding:6px 9px}
 .screen-accueil .trend-panel{padding:12px!important}
 .screen-accueil .trend-svg{height:115px}
 .screen-accueil .transfer-alert{padding:12px}
 .screen-accueil .transfer-alert-actions{width:100%}
 .screen-accueil .transfer-alert-actions .btn{flex:1 1 auto}
 .reflection-choice{font-size:13.5px}
}
@media(max-width:370px){
 .screen-accueil .overview-card p{display:none}
 .screen-accueil .ring{width:55px;height:55px}
}

/* V0.9.6 : devoirs numérotés, notes brutes et moyenne cumulée. */
.evaluation-number-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap;padding:9px 11px 3px;color:#193450;font-size:12px}
.evaluation-number-heading strong{font-weight:900;color:#0A4D68}
.evaluation-number-heading span{font-size:10px;color:#60748A}
.trend-legend{display:flex;flex-wrap:wrap;gap:12px;font-size:10px;color:#536981}
.trend-legend span{display:inline-flex;align-items:center;gap:5px}
.trend-legend span::before{content:'';display:inline-block;width:16px;height:3px;border-radius:5px}
.trend-legend-score::before{background:#A01434}
.trend-legend-average::before{background:#087F73}
.trend-point-list{display:flex;flex-wrap:wrap;gap:5px}
.trend-point{font-size:10px;border:1px solid #E4EAF1;border-radius:7px;padding:4px 6px;color:#2B5169;background:#F8FAFD}
