/* ===== SUPERMATHS V3 : emploi du temps / séances ===== */
.sm-v3-toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:14px 0}
.sm-v3-toolbar input,.sm-v3-toolbar select,.sm-v3-form input,.sm-v3-form select,.sm-v3-form textarea{
  border:1px solid #d8e1ec;border-radius:11px;padding:10px 12px;background:#fff;font:inherit
}
.sm-v3-btn{border:0;border-radius:10px;padding:10px 14px;font-weight:800;cursor:pointer}
.sm-v3-btn.primary{background:#20bfc2;color:#062039}
.sm-v3-btn.dark{background:#101b39;color:#fff}
.sm-v3-btn.danger{background:#ffe5e5;color:#9d2424}
.sm-v3-btn.soft{background:#edf3f8;color:#20304f}
.sm-v3-grid{display:grid;grid-template-columns:repeat(2,minmax(280px,1fr));gap:14px}
.sm-v3-session{background:#fff;border:1px solid #e3eaf2;border-radius:16px;padding:16px;box-shadow:0 7px 22px rgba(15,32,60,.05)}
.sm-v3-session h3{margin:0 0 7px}
.sm-v3-session small{color:#68778e}
.sm-v3-meta{display:flex;gap:7px;flex-wrap:wrap;margin:10px 0}
.sm-v3-chip{display:inline-block;border-radius:999px;padding:5px 9px;background:#e9f7f7;color:#0d6064;font-size:12px;font-weight:800}
.sm-v3-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.sm-v3-empty{padding:26px;text-align:center;color:#748198;border:1px dashed #cfd9e5;border-radius:14px;background:#fbfcfe}
.sm-v3-modal{position:fixed;inset:0;background:rgba(5,13,30,.58);z-index:10000;display:grid;place-items:center;padding:18px}
.sm-v3-modal.hidden{display:none!important}
.sm-v3-card{width:min(800px,96vw);max-height:92vh;overflow:auto;background:#fff;border-radius:20px;padding:22px}
.sm-v3-card h2{margin-top:0}
.sm-v3-form{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.sm-v3-form label{font-size:13px;font-weight:800;color:#273754}
.sm-v3-form label>*{display:block;width:100%;margin-top:5px}
.sm-v3-form .full{grid-column:1/-1}
.sm-v3-note{border-radius:14px;padding:13px 15px;background:#eefafa;border:1px solid #c9eeee;margin:12px 0}
.sm-v3-bell{position:fixed;right:22px;top:18px;z-index:9999;border:0;background:#101b39;color:#fff;border-radius:999px;padding:11px 14px;font-weight:900;box-shadow:0 8px 25px rgba(0,0,0,.18);cursor:pointer}
.sm-v3-badge{background:#ff4d5d;color:white;border-radius:999px;padding:2px 7px;font-size:11px;margin-left:5px}
.sm-v3-notify-panel{position:fixed;right:20px;top:70px;width:min(390px,92vw);max-height:75vh;overflow:auto;background:#fff;border-radius:17px;box-shadow:0 18px 60px rgba(0,0,0,.2);z-index:9999;padding:14px;border:1px solid #e2e9f2}
.sm-v3-notify-panel.hidden{display:none}
.sm-v3-notification{padding:11px;border-bottom:1px solid #edf1f6}
.sm-v3-notification:last-child{border-bottom:0}
.sm-v3-notification strong{display:block}
.sm-v3-attendance-row{display:grid;grid-template-columns:minmax(140px,1fr) auto;gap:10px;align-items:center;padding:10px 0;border-bottom:1px solid #edf1f5}
.sm-v3-status{display:flex;gap:5px;flex-wrap:wrap}
.sm-v3-status button{border:0;border-radius:9px;padding:7px 9px;cursor:pointer;font-weight:800}
.sm-v3-status .present{background:#ddf7e8;color:#176b3b}
.sm-v3-status .absent{background:#ffe4e4;color:#922828}
.sm-v3-status .late{background:#fff2ce;color:#8b6111}
.sm-v3-status .unknown{background:#eaf0f7;color:#506078}
.sm-v3-comment{margin-top:10px}
@media(max-width:760px){.sm-v3-grid,.sm-v3-form{grid-template-columns:1fr}.sm-v3-form .full{grid-column:auto}.sm-v3-bell{right:10px;top:10px}}


/* ===== EMPLOI DU TEMPS ORGANISÉ V2 ===== */
.sm-v3-summarybar{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:8px 0 18px;padding:10px 12px;border-radius:14px;background:#f5fbfb;border:1px solid #dcebed}
.sm-v3-summary-tabs{display:flex;gap:8px;flex-wrap:wrap}
.sm-v3-tab{border:0;border-radius:999px;padding:8px 12px;background:#edf4f7;color:#0d1b3d;font-weight:900;cursor:pointer}
.sm-v3-tab span{display:inline-grid;place-items:center;min-width:22px;height:22px;margin-left:5px;border-radius:999px;background:white}
.sm-v3-tab.active{background:linear-gradient(135deg,#34c6c3,#139c9c);color:white;box-shadow:0 7px 18px rgba(19,156,156,.18)}
.sm-v3-summary-text{color:#6f7f93;font-size:13px;font-weight:700}
.sm-v3-month-group{margin:18px 0 24px}
.sm-v3-month-title{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:0 2px 9px;border-bottom:2px solid #e6f1f2;margin-bottom:12px}
.sm-v3-month-title h3{margin:0;text-transform:capitalize;font-size:18px;color:#0d1b3d}
.sm-v3-month-title span{background:#e9fbfa;color:#13777a;border-radius:999px;padding:5px 9px;font-size:11px;font-weight:900}
.sm-v3-session-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.sm-v3-session.compact{padding:14px!important;min-height:auto!important}
.sm-v3-session.compact .sm-v3-session-top{gap:10px}
.sm-v3-session.compact h3{font-size:17px!important;margin:0 0 7px!important}
.sm-v3-session.compact .sm-v3-chips{gap:6px!important}
.sm-v3-session.compact .sm-v3-chips span{padding:5px 8px!important;font-size:11px!important}
.sm-v3-session-info{display:flex;gap:12px;flex-wrap:wrap;margin-top:10px;padding-top:10px;border-top:1px solid #edf2f4;color:#65758a;font-size:12px}
.sm-v3-card-actions{display:flex;gap:6px;flex-wrap:wrap}
.sm-v3-card-actions .sm-v3-btn{padding:7px 10px!important;font-size:12px!important}
.sm-v3-load-more{text-align:center;margin:20px 0}
@media(max-width:900px){.sm-v3-session-grid{grid-template-columns:1fr}.sm-v3-summarybar{align-items:flex-start;flex-direction:column}}

/* ===== EMPLOI INTELLIGENT V3 ===== */
.sm-smart-panel{background:#fff;border:1px solid #dfeaec;border-radius:22px;padding:20px;margin:0 0 22px;box-shadow:0 12px 34px rgba(13,27,61,.07)}
.sm-smart-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px}
.sm-smart-head h2{margin:4px 0 5px;color:#0d1b3d;font-size:25px}.sm-smart-head p{margin:0;color:#6e7e91}
.sm-smart-kicker{font-size:11px;font-weight:950;letter-spacing:.08em;color:#159c9d}
.sm-smart-list{display:grid;gap:12px;margin-top:18px}
.sm-smart-card{display:flex;justify-content:space-between;gap:18px;align-items:center;padding:15px;border:1px solid #e1ecee;border-radius:17px;background:linear-gradient(135deg,#fff,#f7fcfc)}
.sm-smart-card h3{margin:0 0 4px;color:#0d1b3d}.sm-smart-card p{margin:0 0 8px;color:#66758a}.sm-smart-card small{color:#7c8999}
.sm-smart-slotchips{display:flex;gap:6px;flex-wrap:wrap;margin:7px 0}.sm-smart-slotchips span{padding:5px 8px;border-radius:999px;background:#e9fbfa;color:#117b7d;font-size:11px;font-weight:850}
.sm-smart-card-actions{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.sm-smart-editor{margin-top:18px;padding:18px;border:2px solid #d8efef;border-radius:18px;background:#fbfefe}
.sm-smart-editor-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.sm-smart-editor label{font-size:12px;font-weight:850;color:#142441}.sm-smart-editor input,.sm-smart-editor select{width:100%;box-sizing:border-box;margin-top:5px;padding:11px;border:1px solid #d7e3e8;border-radius:11px;background:#fff}
.sm-smart-slots-head{display:flex;justify-content:space-between;align-items:center;margin:17px 0 8px}
.sm-smart-slot{display:grid;grid-template-columns:1.2fr 1fr auto 1fr auto;gap:8px;align-items:center;margin:8px 0}
.sm-smart-slot select,.sm-smart-slot input{margin:0}
.sm-smart-status{margin-top:13px;padding:11px 13px;border-radius:12px;background:#f1f5f7;color:#65758a}.sm-smart-status.ok{background:#eafaf2;color:#16714b}.sm-smart-status.bad{background:#fff0f1;color:#a62f3d}
.sm-smart-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:13px}
@media(max-width:900px){.sm-smart-head,.sm-smart-card{flex-direction:column}.sm-smart-editor-grid{grid-template-columns:1fr}.sm-smart-slot{grid-template-columns:1fr 1fr}.sm-smart-slot span{display:none}}

/* ===== EMPLOI SIMPLE V4 ===== */
.sm-simple-panel{background:#fff;border:1px solid #dfeaec;border-radius:22px;padding:20px;margin-bottom:22px;box-shadow:0 12px 34px rgba(13,27,61,.07)}
.sm-simple-head h2{margin:4px 0 5px;font-size:25px;color:#0d1b3d}.sm-simple-head p{margin:0;color:#6f7f93}
.sm-simple-form{margin-top:18px;display:grid;grid-template-columns:1fr 1fr;gap:14px}
.sm-simple-form label{font-size:12px;font-weight:900;color:#142441}
.sm-simple-form input,.sm-simple-form select{width:100%;box-sizing:border-box;margin-top:6px;padding:12px;border:1px solid #d9e5ea;border-radius:12px;background:#fff}
.sm-simple-period{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.sm-simple-days{grid-column:1/-1;border-top:1px solid #e9f0f2;padding-top:14px}
.sm-simple-title-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:9px}
.sm-simple-slot{display:grid;grid-template-columns:1.2fr 1fr auto 1fr auto;gap:8px;align-items:center;margin:8px 0}
.sm-simple-slot input,.sm-simple-slot select{margin:0}
.sm-simple-info{grid-column:1/-1;padding:12px 14px;border-radius:13px;background:#f1f5f7;color:#66758a}
.sm-simple-info.ok{background:#eafaf2;color:#176f4b}.sm-simple-info.bad{background:#fff0f1;color:#a63240}
.sm-simple-actions{grid-column:1/-1;display:flex;justify-content:flex-end;gap:8px}
@media(max-width:800px){.sm-simple-form{grid-template-columns:1fr}.sm-simple-days,.sm-simple-info,.sm-simple-actions{grid-column:1}.sm-simple-slot{grid-template-columns:1fr 1fr}.sm-simple-slot span{display:none}.sm-simple-period{grid-template-columns:1fr}}

/* ===== EMPLOI AUTO V5 ===== */
.sm-simple-panel{max-width:none}
.sm-simple-form>label,.sm-simple-period label{background:#fbfefe;border:1px solid #e4eff0;border-radius:15px;padding:12px}
.sm-simple-form select{cursor:pointer}
.sm-simple-info.ok{border-left:5px solid #34c6c3}
.sm-simple-days{background:#fbfefe;border:1px solid #e4eff0;border-radius:16px;padding:15px}

/* ===== VUE GENERALE HEBDOMADAIRE V6 ===== */
.sm-week-panel{background:#fff;border:1px solid #dfeaec;border-radius:22px;padding:20px;margin:0 0 22px;box-shadow:0 12px 34px rgba(13,27,61,.07)}
.sm-week-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.sm-week-head h2{margin:3px 0 5px;color:#0d1b3d}.sm-week-head p{margin:0;color:#6d7d91}
.sm-week-controls{display:flex;gap:7px;flex-wrap:wrap}.sm-week-range{margin:15px 0 9px;font-weight:900;color:#159c9d}
.sm-week-scroll{overflow:auto;border:1px solid #dce8ec;border-radius:16px}
.sm-week-table{width:100%;min-width:980px;border-collapse:collapse!important;background:#fff}
.sm-week-table th,.sm-week-table td{border-right:1px solid #dce5e8;border-bottom:1px solid #dce5e8;padding:8px;vertical-align:top;text-align:center}
.sm-week-table thead th{background:#41cbc7!important;color:white!important;padding:11px 8px}
.sm-week-table tbody th{width:92px;background:#f6f9fa!important;color:#26384f!important;font-size:13px}.sm-week-table tbody th span{font-weight:500;color:#6f7f93}
.sm-week-table td{height:72px;background:#fff}
.sm-week-session{display:block;width:100%;border:0;border-radius:10px;padding:8px 6px;margin:2px 0;cursor:pointer;color:#10203b;text-align:center;transition:.18s ease}
.sm-week-session:hover{transform:translateY(-2px);box-shadow:0 8px 18px rgba(15,45,65,.14)}
.sm-week-session strong,.sm-week-session span,.sm-week-session small{display:block}.sm-week-session strong{font-size:12px}.sm-week-session span{font-size:11px;margin:2px 0}.sm-week-session small{font-size:10px;opacity:.75}
.sm-week-session.c1{background:#c9f2ef}.sm-week-session.c2{background:#d9f9b8}.sm-week-session.c3{background:#fff1b8}.sm-week-session.c4{background:#dbe9ff}.sm-week-session.c5{background:#f6ddf2}
.sm-detail-modal[hidden]{display:none}.sm-detail-modal{position:fixed;inset:0;z-index:40000;display:grid;place-items:center;padding:20px}.sm-detail-backdrop{position:absolute;inset:0;background:rgba(13,27,61,.45);backdrop-filter:blur(3px)}
.sm-detail-card{position:relative;width:min(620px,94vw);background:#fff;border-radius:22px;padding:23px;box-shadow:0 28px 80px rgba(7,24,50,.28)}.sm-detail-close{position:absolute;right:14px;top:12px;width:34px;height:34px;border:0;border-radius:10px;background:#eef4f6;font-size:23px;cursor:pointer}
.sm-detail-card h2{margin:5px 0 18px;color:#0d1b3d}.sm-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.sm-detail-grid>div{padding:12px;border-radius:13px;background:#f6fafb}.sm-detail-grid span{display:block;color:#7a8798;font-size:11px;font-weight:800}.sm-detail-grid b{display:block;margin-top:4px;color:#172742}
.sm-detail-note{margin-top:12px;padding:13px;border-radius:13px;background:#eefafa}.sm-detail-note p{margin:6px 0 0}.sm-detail-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:16px}
@media(max-width:700px){.sm-week-head{flex-direction:column}.sm-detail-grid{grid-template-columns:1fr}}

/* ===== V7 : EMPLOI PERSISTANT + MATIERE/PROF ===== */
.sm-saved-wrap{grid-column:1/-1;border-top:1px solid #e7eff2;padding-top:14px}
.sm-saved-help{font-size:11px;color:#7b8999}
.sm-saved-list{display:grid;gap:8px;margin-top:8px}
.sm-saved-card{display:flex;justify-content:space-between;gap:14px;align-items:center;border:1px solid #dfeaec;border-radius:14px;padding:12px;background:#fbfefe}
.sm-saved-card strong,.sm-saved-card span,.sm-saved-card small{display:block}.sm-saved-card strong{color:#0d1b3d}.sm-saved-card span{color:#5e7087;margin:3px 0}.sm-saved-card small{color:#8390a0}
.sm-saved-actions{display:flex;gap:6px;flex-wrap:wrap}
@media(max-width:780px){.sm-saved-card{flex-direction:column;align-items:flex-start}}


/* SUPERMATHS V39 — TEACHER SMART SESSIONS */
.sm39-teacher-panel{padding:20px!important}
.sm39-toolbar{display:flex;justify-content:space-between;gap:18px;align-items:flex-end;margin-bottom:14px}
.sm39-toolbar small{font-size:10px;font-weight:900;letter-spacing:.08em;color:#17a5a3}
.sm39-toolbar h2{margin:4px 0!important;font-size:25px!important}
.sm39-toolbar p{margin:0;color:#7b8da0;font-size:12px}
.sm39-filters{display:flex;gap:7px;flex-wrap:wrap}
.sm39-filters button{border:1px solid #e1e9ef;background:#f7fafc;color:#566d80;border-radius:12px;padding:8px 11px;cursor:pointer}
.sm39-filters button.active{background:#e9f9f7;color:#087f7b;border-color:#c8eeea}
.sm39-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:12px 0 16px}
.sm39-summary div{background:#f8fbfc;border:1px solid #e5edf2;border-radius:15px;padding:12px 14px}
.sm39-summary b{display:block;font-size:20px;color:#173047}.sm39-summary span{font-size:10px;color:#7b8ea0}
.sm39-session-list{display:grid;gap:9px}
.sm39-session{border:1px solid #e2eaf0;border-radius:17px;background:#fff;overflow:hidden}
.sm39-session.past{background:#f5f6f7;opacity:.76}
.sm39-session.live{box-shadow:inset 4px 0 0 #2bb673}
.sm39-session.today:not(.live){box-shadow:inset 4px 0 0 #24a8e0}
.sm39-session-head{width:100%;display:grid;grid-template-columns:135px minmax(0,1fr) auto 24px;gap:14px;align-items:center;border:0;background:transparent;padding:13px 15px;text-align:left;cursor:pointer}
.sm39-date b,.sm39-main b{display:block;color:#173047}.sm39-date span,.sm39-main span{display:block;margin-top:3px;color:#74889b;font-size:10.5px}
.sm39-mini{display:flex;gap:5px}.sm39-mini span{padding:5px 7px;border-radius:999px;font-size:9px;font-weight:800}
.sm39-mini .ok{background:#e7f8ef;color:#208653}.sm39-mini .no{background:#fff0f1;color:#c64a55}.sm39-mini .late{background:#fff5dc;color:#a77816}
.sm39-chevron{color:#6b8092}
.sm39-details{display:none;border-top:1px solid #e7edf2;padding:4px 14px 12px}.sm39-details.open{display:block}
.sm39-student-row{display:grid;grid-template-columns:minmax(180px,1fr) auto;gap:10px 14px;align-items:center;padding:12px 0;border-bottom:1px solid #edf1f4}
.sm39-student-row:last-child{border-bottom:0}
.sm39-student-name small{display:block;margin-top:3px;color:#788b9c;font-size:10px}
.sm39-status-buttons{display:flex;gap:6px}
.sm39-status-buttons button{border:1px solid #dde7ed;background:#f7fafb;border-radius:10px;padding:7px 9px;cursor:pointer}
.sm39-status-buttons button.selected{background:#e8f8ef;border-color:#ccebd9;color:#218251}
.sm39-status-buttons button.selected.danger{background:#fff0f1;border-color:#f4d3d6;color:#c44954}
.sm39-status-buttons button.selected.warn{background:#fff5df;border-color:#f0dfb5;color:#9f751a}
.sm39-comment{grid-column:1/-1;display:grid;grid-template-columns:1fr auto;gap:7px}
.sm39-comment input{min-width:0;border:1px solid #dfe8ed;border-radius:10px;padding:8px 10px}
.sm39-comment button{border:0;background:#edf3f7;color:#304f66;border-radius:10px;padding:8px 12px;cursor:pointer}
.sm39-empty{padding:22px;text-align:center;color:#8495a3;background:#fafcfd;border:1px dashed #dce5eb;border-radius:14px}
@media(max-width:800px){
  .sm39-toolbar{display:block}.sm39-filters{margin-top:12px;overflow-x:auto;flex-wrap:nowrap}
  .sm39-summary{grid-template-columns:repeat(3,1fr)}
  .sm39-session-head{grid-template-columns:85px minmax(0,1fr) 20px}.sm39-mini{display:none}
  .sm39-student-row{grid-template-columns:1fr}.sm39-status-buttons{justify-content:stretch}.sm39-status-buttons button{flex:1}
}
@media(max-width:480px){
  .sm39-teacher-panel{padding:12px!important}.sm39-summary{grid-template-columns:1fr 1fr}.sm39-summary div:last-child{grid-column:1/-1}
  .sm39-session-head{grid-template-columns:1fr 20px}.sm39-date{grid-column:1/-1}.sm39-main{grid-column:1}.sm39-chevron{grid-column:2;grid-row:2}
}


/* SUPERMATHS V39 — SMART NOTIFICATIONS */
.sm39-notif-panel{position:fixed;z-index:35000;right:18px;top:78px;width:min(370px,calc(100vw - 24px));max-height:68vh;overflow:auto;background:#fff;border:1px solid #e5ebf1;border-radius:20px;box-shadow:0 22px 60px rgba(20,42,65,.18);padding:12px;display:none}
.sm39-notif-panel.open{display:block}.sm39-notif-panel.compact{width:260px}
.sm39-notif-head{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:3px 3px 10px}.sm39-notif-head h3{margin:0;font-size:15px;color:#173047}.sm39-notif-head small{font-size:10px;color:#7b8ea0}
.sm39-notif-head button,.sm39-feedback-top button{border:0;background:#f3f6f8;border-radius:10px;width:31px;height:31px;cursor:pointer;color:#6b8092}
.sm39-notif-list{display:grid;gap:8px}.sm39-notif-item{border:1px solid #e0d8ff;background:#f7f4ff;border-radius:14px;padding:11px 12px;text-align:left;cursor:pointer;color:#203a50}
.sm39-notif-item strong{display:block;font-size:12px}.sm39-notif-item span{display:block;margin-top:4px;color:#73869a;font-size:10px}.sm39-notif-item small{display:block;margin-top:7px;color:#7048e8;font-weight:800;font-size:9px}
.sm39-notif-empty{padding:15px;text-align:center;color:#7e909e;background:#fafcfd;border-radius:13px;border:1px dashed #dce5eb}
.sm39-feedback-modal{position:fixed;inset:0;z-index:36000;background:rgba(17,38,58,.44);backdrop-filter:blur(6px);display:none;place-items:center;padding:14px}.sm39-feedback-modal.open{display:grid}
.sm39-feedback-card{width:min(600px,96vw);background:#fff;border:1px solid #e2e9ee;border-radius:24px;box-shadow:0 30px 80px rgba(17,38,58,.28);padding:20px}
.sm39-feedback-top{display:flex;justify-content:space-between;gap:10px}.sm39-feedback-top small{color:#7048e8;font-weight:900;font-size:9px;letter-spacing:.08em}.sm39-feedback-top h2{margin:4px 0 0;font-size:21px;color:#183249}
.sm39-feedback-session{margin:13px 0;padding:9px 11px;border-radius:12px;background:#f5f8fa;color:#607587;font-size:10px}
.sm39-moods{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.sm39-moods button{min-height:105px;border:1px solid #e2e9ee;border-radius:16px;background:#fafcfd;cursor:pointer}.sm39-moods button:nth-child(1){background:#edf9f2}.sm39-moods button:nth-child(2){background:#eef8ff}.sm39-moods button:nth-child(3){background:#fff8e9}.sm39-moods button:nth-child(4){background:#fff0f3}.sm39-moods button.selected{outline:4px solid rgba(112,72,232,.12);border-color:#8b6dea}
.sm39-moods span{display:block;font-size:27px}.sm39-moods b{display:block;margin-top:4px}.sm39-moods small{display:block;margin-top:3px;color:#75899a;font-size:9px}
#sm38Comment{width:100%;box-sizing:border-box;margin-top:11px;min-height:76px;border:1px solid #dce5eb;border-radius:13px;padding:10px;resize:vertical}
.sm39-feedback-actions{display:flex;justify-content:flex-end;gap:7px;margin-top:10px}.sm39-feedback-actions button{border:0;border-radius:11px;padding:9px 13px;cursor:pointer;font-weight:700}.sm39-feedback-actions button:first-child{background:#eef3f6;color:#5d7181}.sm39-feedback-actions button:last-child{background:#7048e8;color:#fff}
#sm38Msg{margin-top:7px;font-size:10px;color:#798b9a}
@media(max-width:700px){.sm39-notif-panel{left:10px;right:10px;top:68px;width:auto}.sm39-feedback-card{padding:15px}.sm39-moods{grid-template-columns:1fr 1fr}}


/* SUPERMATHS V40 — MES SÉANCES COMPACTES */
.sm40-panel{padding:20px!important}
.sm40-top{display:flex;justify-content:space-between;gap:18px;align-items:flex-end;margin-bottom:14px}
.sm40-top small{font-size:10px;font-weight:900;letter-spacing:.08em;color:#19a6a3}
.sm40-top h2{margin:4px 0!important;font-size:25px!important}
.sm40-top p{margin:0;color:#7b8da0;font-size:12px}
.sm40-filters{display:flex;gap:7px;flex-wrap:wrap}
.sm40-filters button{border:1px solid #e0e8ee;background:#f7fafc;color:#586e80;border-radius:12px;padding:8px 11px;cursor:pointer}
.sm40-filters button.active{background:#eaf9f7;color:#087f7b;border-color:#c9ece8}
.sm40-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:12px 0 16px}
.sm40-summary div{background:#f8fbfc;border:1px solid #e5edf2;border-radius:15px;padding:12px 14px}
.sm40-summary b{display:block;font-size:20px;color:#173047}.sm40-summary span{font-size:10px;color:#7c8fa0}
.sm40-list{display:grid;gap:9px}
.sm40-session{border:1px solid #e2eaf0;border-radius:17px;background:#fff;overflow:hidden}
.sm40-session.past{background:#f4f5f6;opacity:.72}
.sm40-head{width:100%;display:grid;grid-template-columns:125px minmax(0,1fr) auto 22px;gap:14px;align-items:center;border:0;background:transparent;padding:13px 15px;text-align:left;cursor:pointer}
.sm40-date b,.sm40-info b{display:block;color:#173047}.sm40-date span,.sm40-info span{display:block;margin-top:3px;color:#75899a;font-size:10.5px}
.sm40-counts{display:flex;gap:5px}.sm40-counts span{background:#f1f5f7;border-radius:999px;padding:5px 7px;font-size:9px;font-weight:800;color:#566d80}
.sm40-body{display:none;border-top:1px solid #e7edf2;padding:4px 14px 12px}.sm40-body.open{display:block}
.sm40-student{display:grid;grid-template-columns:minmax(180px,1fr) auto;gap:10px 14px;align-items:center;padding:12px 0;border-bottom:1px solid #edf1f4}
.sm40-student:last-child{border-bottom:0}.sm40-student small{display:block;margin-top:3px;color:#7a8c9c;font-size:10px}
.sm40-actions{display:flex;gap:6px}.sm40-actions button{border:1px solid #dde7ed;background:#f7fafb;border-radius:10px;padding:7px 9px;cursor:pointer}
.sm40-actions button.sel{background:#e8f8ef;border-color:#ccebd9;color:#218251}.sm40-actions button.sel.red{background:#fff0f1;border-color:#f4d3d6;color:#c44954}.sm40-actions button.sel.amber{background:#fff5df;border-color:#f0dfb5;color:#9f751a}
.sm40-comment{grid-column:1/-1;display:grid;grid-template-columns:1fr auto;gap:7px}.sm40-comment input{min-width:0;border:1px solid #dfe8ed;border-radius:10px;padding:8px 10px}.sm40-comment button{border:0;background:#edf3f7;color:#304f66;border-radius:10px;padding:8px 12px;cursor:pointer}
.sm40-empty{padding:22px;text-align:center;color:#8495a3;background:#fafcfd;border:1px dashed #dce5eb;border-radius:14px}
@media(max-width:800px){.sm40-top{display:block}.sm40-filters{margin-top:12px;overflow-x:auto;flex-wrap:nowrap}.sm40-head{grid-template-columns:85px minmax(0,1fr) 20px}.sm40-counts{display:none}.sm40-student{grid-template-columns:1fr}.sm40-actions button{flex:1}}
@media(max-width:480px){.sm40-panel{padding:12px!important}.sm40-summary{grid-template-columns:1fr 1fr}.sm40-summary div:last-child{grid-column:1/-1}.sm40-head{grid-template-columns:1fr 20px}.sm40-date{grid-column:1/-1}}

/* SUPERMATHS-NO-HORIZONTAL-OVERFLOW-V199 */
html,body{max-width:100%;overflow-x:hidden!important;}
*,*::before,*::after{box-sizing:border-box;}
img,video,iframe,canvas,svg{max-width:100%;}
