.student-dashboard{padding-top:86px;padding-bottom:91px;scroll-margin-top:86px}.dashboard-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:25px}.dashboard-heading h2{font:800 clamp(32px,4.2vw,48px)/1.08 var(--display);letter-spacing:-2.1px;margin:10px 0 8px;color:#15243a}.dashboard-heading h2 em{font-style:normal;color:#1769d2}.dashboard-heading p{margin:0;color:#708095;font-size:13px}.demo-notice{display:flex;align-items:center;gap:10px;padding:10px 14px;border:1px solid #dce9f7;background:#f7fbff;border-radius:14px;flex:none}.demo-dot{width:8px;height:8px;border-radius:50%;background:#1769d2;box-shadow:0 0 0 4px #1769d218}.demo-notice strong,.demo-notice small{display:block}.demo-notice strong{font-size:10px;color:#243b58}.demo-notice small{margin-top:3px;color:#78879a;font-size:8px}.dashboard-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:16px}.dashboard-stat{position:relative;min-height:155px;padding:18px 19px 15px;border:1px solid #e0e9f2;border-radius:18px;background:#fff;box-shadow:0 10px 28px #173a6507}.stat-icon{display:grid;place-items:center;width:31px;height:31px;border-radius:10px;background:#edf5ff;color:#1769d2;font-size:14px}.stat-label{display:block;margin-top:12px;color:#738198;font-size:9px}.dashboard-stat>strong{display:block;margin-top:5px;color:#15243a;font:800 28px/1 var(--display);letter-spacing:-1px}.dashboard-stat>strong span{font-size:16px}.dashboard-stat>small{display:block;margin-top:9px;color:#98a1af;font-size:8px}.stat-meter{height:5px;margin-top:10px;overflow:hidden;border-radius:9px;background:#eaf1f8}.stat-meter i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#1769d2,#45a9df)}.dashboard-columns{display:grid;grid-template-columns:1.05fr .95fr;gap:15px}.dashboard-panel{min-width:0;padding:21px 22px 18px;border:1px solid #e0e9f2;border-radius:20px;background:#fff;box-shadow:0 12px 32px #173a6508}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.panel-heading h3{margin:6px 0 0;color:#15243a;font:750 19px/1.2 var(--display);letter-spacing:-.6px}.panel-tag,.plan-count{padding:7px 10px;border:1px solid #e1ebf5;border-radius:999px;background:#f7fbff;color:#66809d;font-size:8px;white-space:nowrap}.week-chart{height:150px;display:grid;grid-template-columns:20px 1fr;gap:9px;margin-top:18px}.chart-y{display:flex;flex-direction:column;justify-content:space-between;padding-bottom:20px;color:#a4afbc;font:8px var(--sans)}.chart-days{display:grid;grid-template-columns:repeat(7,1fr);gap:11px;align-items:end;background:repeating-linear-gradient(to bottom,transparent 0,transparent 34px,#edf1f6 35px,#edf1f6 36px);padding:0 5px}.chart-days>div{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:end;gap:8px}.chart-days i{width:min(23px,74%);height:var(--bar);border-radius:7px 7px 3px 3px;background:linear-gradient(180deg,#63b1e6,#2676ce);box-shadow:0 4px 10px #1769d21a}.chart-days>div:nth-child(7) i{background:#d9e4ef}.chart-days span{color:#8290a1;font-size:8px}.weekly-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid #edf1f5;padding-top:12px;margin-top:12px;color:#8390a0;font-size:8px}.weekly-foot strong{color:#315d8c;font-size:9px}.legend-dot{display:inline-block;width:7px;height:7px;margin-right:5px;border-radius:50%;background:#3f91d2}.resume-card{display:flex;align-items:center;gap:11px;margin-top:16px;padding:12px;border:1px solid #e1ebf5;border-radius:14px;background:linear-gradient(110deg,#f7fbff,#fff)}.resume-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:11px;background:#eaf4ff;color:#1769d2;font-size:16px;flex:none}.resume-card>div{display:grid;gap:4px;min-width:0}.resume-card .eyebrow{font-size:7px}.resume-card strong{overflow:hidden;color:#233851;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.resume-card small{color:#8290a0;font-size:8px}.resume-action{margin-left:auto;width:29px;height:29px;border:1px solid #dce9f6;border-radius:50%;background:#fff;color:#1769d2;cursor:pointer;flex:none}.plan-list{display:grid;gap:7px;margin-top:15px;min-height:62px}.plan-item{display:grid;grid-template-columns:17px 1fr 24px;align-items:center;gap:9px;min-height:37px;padding:6px 8px;border:1px solid #edf1f5;border-radius:11px;background:#fcfdff;color:#3c4d63;font-size:9px;cursor:pointer}.plan-item input{width:14px;height:14px;margin:0;accent-color:#1769d2}.plan-item.is-done>span{text-decoration:line-through;color:#98a1ae}.plan-remove{width:23px;height:23px;border:0;border-radius:7px;background:transparent;color:#9aa4b1;font-size:16px;cursor:pointer}.plan-remove:hover{background:#f2f5f8;color:#526476}.plan-empty{margin:0;padding:15px 9px;border:1px dashed #dce6ef;border-radius:11px;color:#8793a2;font-size:9px}.plan-form{display:flex;gap:7px;margin-top:9px}.plan-form input{width:100%;min-width:0;height:36px;padding:0 11px;border:1px solid #e2eaf2;border-radius:10px;outline:none;background:#fff;color:#263b54;font:10px var(--sans)}.plan-form input:focus{border-color:#83b6e8;box-shadow:0 0 0 3px #1769d20e}.plan-form button{width:36px;height:36px;border:0;border-radius:10px;background:#1769d2;color:#fff;font-size:20px;cursor:pointer}.pomodoro-box{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:13px;padding:13px 14px;border-radius:14px;background:#f2f7fc}.pomodoro-box>div:first-child{display:grid;gap:3px}.pomodoro-box .eyebrow{font-size:7px}.pomodoro-box strong{color:#193656;font:800 24px/1 var(--display);letter-spacing:-1px}.pomodoro-box small{color:#8794a3;font-size:7px}.pomodoro-controls{display:flex;align-items:center;gap:6px}.pomodoro-start{min-width:74px;height:31px;padding:0 11px;border:0;border-radius:999px;background:#173e69;color:#fff;font:700 8px var(--sans);cursor:pointer}.pomodoro-reset{width:30px;height:30px;border:1px solid #dce5ee;border-radius:50%;background:#fff;color:#526a83;font-size:15px;cursor:pointer}.dashboard-disclaimer{margin:13px 0 0;color:#98a2ae;font-size:8px;line-height:1.6}.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:900px){.student-dashboard{padding-top:72px;padding-bottom:75px}.dashboard-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-columns{grid-template-columns:1fr}.dashboard-heading h2{font-size:38px}}
@media(max-width:680px){.student-dashboard{padding-top:62px;padding-bottom:65px}.dashboard-heading{display:block;margin-bottom:18px}.dashboard-heading h2{font-size:31px;letter-spacing:-1.5px}.dashboard-heading p{font-size:11px;line-height:1.6}.demo-notice{width:max-content;margin-top:14px;padding:8px 11px}.dashboard-stats{gap:9px}.dashboard-stat{min-height:139px;padding:14px;border-radius:16px}.stat-label{font-size:8px}.dashboard-stat>strong{font-size:25px}.dashboard-stat>small{font-size:7px}.dashboard-columns{gap:10px}.dashboard-panel{padding:17px 15px 15px;border-radius:17px}.panel-heading h3{font-size:17px}.panel-tag,.plan-count{font-size:7px;padding:6px 8px}.week-chart{height:130px}.chart-days{gap:5px}.chart-days span{font-size:7px}.weekly-foot{font-size:7px}.weekly-foot strong{font-size:8px}.resume-card{padding:10px}.resume-card strong{font-size:9px}.pomodoro-box{padding:12px}.dashboard-disclaimer{font-size:7px}}
/* Le mode N&B conserve l'accessibilité des contrôles et une hiérarchie claire. */
body.mono-mode .student-dashboard{background:transparent}body.mono-mode .dashboard-heading h2,body.mono-mode .dashboard-heading h2 em,body.mono-mode .dashboard-stat>strong,body.mono-mode .panel-heading h3,body.mono-mode .resume-card strong,body.mono-mode .pomodoro-box strong{color:#f5f6f8}body.mono-mode .dashboard-heading p,body.mono-mode .dashboard-stat>small,body.mono-mode .stat-label,body.mono-mode .demo-notice small,body.mono-mode .chart-y,body.mono-mode .chart-days span,body.mono-mode .weekly-foot,body.mono-mode .resume-card small,body.mono-mode .dashboard-disclaimer{color:#aeb2ba}body.mono-mode .demo-notice,body.mono-mode .dashboard-stat,body.mono-mode .dashboard-panel{background:#111318;border-color:#30333a;box-shadow:0 14px 35px #0004}body.mono-mode .demo-notice strong,body.mono-mode .panel-tag,body.mono-mode .plan-count,body.mono-mode .weekly-foot strong{color:#e5e6e9}body.mono-mode .demo-notice,body.mono-mode .panel-tag,body.mono-mode .plan-count{border-color:#383b42;background:#1a1c21}body.mono-mode .demo-dot,body.mono-mode .stat-icon,body.mono-mode .resume-icon{background:#25282e;color:#f5f6f8;box-shadow:none}body.mono-mode .stat-meter{background:#30333a}body.mono-mode .stat-meter i,body.mono-mode .chart-days i,body.mono-mode .legend-dot{background:#d6d8dc;box-shadow:none}body.mono-mode .chart-days{background:repeating-linear-gradient(to bottom,transparent 0,transparent 34px,#2d3037 35px,#2d3037 36px)}body.mono-mode .weekly-foot,body.mono-mode .plan-item,body.mono-mode .resume-card{border-color:#30333a}body.mono-mode .plan-item{background:#17191e;color:#e5e6e9}body.mono-mode .plan-item input{accent-color:#f5f6f8}body.mono-mode .plan-item.is-done>span{color:#969ba4}body.mono-mode .plan-form input{border-color:#3a3d44;background:#111318;color:#f5f6f8}body.mono-mode .plan-form button,body.mono-mode .pomodoro-start{background:#f5f6f8;color:#090a0d}body.mono-mode .plan-remove{color:#b5b8be}body.mono-mode .plan-empty{border-color:#41444b;color:#aeb2ba}body.mono-mode .pomodoro-box{background:#1a1c21}body.mono-mode .pomodoro-reset,body.mono-mode .resume-action{border-color:#3a3d44;background:#202329;color:#f5f6f8}
