#teachingView,#studentDashboard{font-family:Inter,Segoe UI,Arial,sans-serif;font-size:16px;line-height:1.5;font-weight:400;-webkit-text-size-adjust:100%;text-size-adjust:100%}#teachingView :is(button,input,select,textarea),#studentDashboard :is(button,input,select,textarea){font-family:inherit}#teachingView :is(.teach-card h2,.teach-preview h2),#studentDashboard h2{font-size:clamp(24px,2.6vw,30px);line-height:1.2;font-weight:750}#teachingView h3,#studentDashboard h3{font-size:clamp(19px,2vw,22px);line-height:1.3;font-weight:750}#teachingView :is(.teach-tabs button,.teach-card>button,.teach-tp-card button),#studentDashboard :is(.portal-actions>button,.portal-tabs>button,.student-tp-card>button,.student-tp-viewer section>button){font-size:15px;line-height:1.25;font-weight:700}#teachingView :is(.teach-help,.teach-meta),#studentDashboard .portal-small{font-size:14px;line-height:1.45}#teachingView .teach-tp-response-list{grid-template-columns:minmax(0,1fr)}#teachingView .teach-tp-response-row{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;min-width:0;padding:12px;font-size:15px;line-height:1.4}#teachingView .teach-tp-response-label{display:block;min-width:0;overflow-wrap:anywhere;font-weight:600}#teachingView .teach-tp-response-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}#teachingView .teach-tp-response-actions button{min-width:0;max-width:100%;margin:0;white-space:normal;text-align:center}#teachingView .teach-tp-response-row .teach-help{display:block;min-height:0;overflow-wrap:anywhere}#teachingView .teach-tp-response-actions .warn{background:#a74e28;color:#fff}#teachingView .teach-tp-final-actions{display:inline-flex;align-items:center;gap:7px;flex-wrap:nowrap;max-width:100%}#teachingView .teach-tp-final-actions button{white-space:nowrap}@media(max-width:700px){#teachingView,#studentDashboard{font-size:15px;line-height:1.45}#teachingView :is(.teach-card h2,.teach-preview h2),#studentDashboard h2{font-size:24px}#teachingView h3,#studentDashboard h3{font-size:19px}#teachingView :is(.teach-tabs button,.teach-card>button,.teach-tp-card button),#studentDashboard :is(.portal-actions>button,.portal-tabs>button,.student-tp-card>button,.student-tp-viewer section>button){font-size:14px}#teachingView .teach-card{min-width:0;padding:clamp(13px,3vw,20px)}#teachingView .teach-tp-response-actions{display:grid;grid-template-columns:minmax(0,1fr)}#teachingView .teach-tp-response-actions button{width:100%}#studentDashboard{min-width:0}#studentDashboard .portal-actions{gap:7px}#studentDashboard .portal-actions>button{min-width:0;white-space:normal}}:root{--melec-ink:#102f4f;--melec-blue-card:#d5eaff;--melec-blue-border:#74afe3;--melec-teal-card:#d3f2ef;--melec-teal-border:#69beb0;--melec-green-card:#dcf3dc;--melec-green-border:#81bd86;--melec-violet-card:#e7defb;--melec-violet-border:#af95dc;--melec-amber-card:#ffebc5;--melec-amber-border:#dea64d}#homeView .home-access-card:nth-child(1){background:linear-gradient(140deg,#ffdfab,#fff0d3)!important;border-color:#d99531!important}#homeView .home-access-card:nth-child(2){background:linear-gradient(140deg,#c4e1ff,#e4f1ff)!important;border-color:#6ba9df!important}#homeView .home-access-card:nth-child(3){background:linear-gradient(140deg,#c4ecdc,#e4f7eb)!important;border-color:#68b18b!important}#homeView .home-access-card:nth-child(4){background:linear-gradient(140deg,#d9caf6,#efe8fc)!important;border-color:#a388d4!important}#homeView .home-access-card:nth-child(5){background:linear-gradient(140deg,#ffd4c9,#fff0e9)!important;border-color:#d88a75!important}#homeView .home-access-card :is(strong,small){color:var(--melec-ink)!important}#teachingView .teach-card{background:linear-gradient(145deg,#dcecff,#edf5ff)!important;border:1.5px solid var(--melec-blue-border)!important;color:var(--melec-ink)!important}#teachingView .teach-content-manager{background:linear-gradient(145deg,#c9e6ff,#e3f2ff)!important;border-color:#5ba3dc!important}#teachingView .teach-tp-card{background:linear-gradient(145deg,#cceee9,#e5f7f3)!important;border-color:var(--melec-teal-border)!important}#teachingView .teach-tp-student,#teachingView .teach-tp-response-row{background:#e2f1ff!important;border:1px solid #9bc9e9!important;color:var(--melec-ink)!important}#teachingView .teach-tp-student:nth-child(2n),#teachingView .teach-tp-response-row:nth-child(2n){background:#e0f4e8!important;border-color:#95cdae!important}#teachingView .teach-card :is(h2,h3,strong,label,summary){color:var(--melec-ink)}#teachingView .teach-card :is(input,select,textarea){background:#fff;color:#173653}#activitiesView>.panel,#studentsView>.panel,#resultsView>.panel,#referentialView>.panel{background:linear-gradient(150deg,#d8eaff,#edf5ff)!important;border-color:var(--melec-blue-border)!important}#activitiesView .activity-class-group,#activity-listView .activity-list-card{background:var(--melec-blue-card)!important;border-color:var(--melec-blue-border)!important}#activitiesView .activity-class-group:nth-child(3n+2),#activity-listView .activity-list-card:nth-child(3n+2){background:var(--melec-teal-card)!important;border-color:var(--melec-teal-border)!important}#activitiesView .activity-class-group:nth-child(3n),#activity-listView .activity-list-card:nth-child(3n){background:var(--melec-violet-card)!important;border-color:var(--melec-violet-border)!important}#activitiesView .activity-card,#activity-listView .activity-entry,#resultsView .result-card{background:#e2f0ff!important;border-color:#8cbae3!important}#activitiesView .activity-card:nth-child(2n),#activity-listView .activity-entry:nth-child(2n),#resultsView .result-card:nth-child(2n){background:var(--melec-green-card)!important;border-color:var(--melec-green-border)!important}#studentsView .class-fold,#studentsView .student-group-item{background:var(--melec-teal-card)!important;border-color:var(--melec-teal-border)!important}#studentsView .class-fold:nth-of-type(2n),#studentsView .student-group-item:nth-of-type(2n){background:var(--melec-violet-card)!important;border-color:var(--melec-violet-border)!important}#referentialView .referential-section,#referentialView .block-card{background:var(--melec-blue-card)!important;border-color:var(--melec-blue-border)!important}#referentialView .referential-section:nth-child(2n),#referentialView .block-card:nth-child(2n){background:var(--melec-teal-card)!important;border-color:var(--melec-teal-border)!important}#activitiesView :is(.activity-class-group,.activity-card),#activity-listView .activity-list-card,#studentsView .class-fold,#resultsView .result-card,#referentialView .referential-section{color:var(--melec-ink)!important}.portal-panel{background:linear-gradient(145deg,#dbeaff,#eef5ff)!important;border-color:#83b5df!important;color:var(--melec-ink)!important}#studentDashboard{background:linear-gradient(145deg,#d3e8ff,#eaf3ff)!important}#studentDashboard .portal-list details{background:var(--melec-blue-card)!important;border-color:var(--melec-blue-border)!important;color:var(--melec-ink)!important}#studentDashboard .portal-list details:nth-child(2n){background:var(--melec-teal-card)!important;border-color:var(--melec-teal-border)!important}#studentDashboard .student-tp-card{background:linear-gradient(145deg,#c9e9e3,#e3f6ef)!important;border-color:#6bbbaa!important;color:var(--melec-ink)!important}#studentDashboard .student-tp-card:nth-child(2n){background:linear-gradient(145deg,#dcd3f5,#f0eafb)!important;border-color:var(--melec-violet-border)!important}#studentDashboard .portal-message{background:#cde5ff!important;color:#143856!important}#studentDashboard .portal-warning{background:var(--melec-amber-card)!important;color:#633d0d!important}.lesson-file{background:#d5eafe!important;color:var(--melec-ink)!important}@media(max-width:700px){#teachingView .teach-card,.portal-panel{box-shadow:0 8px 22px #02214326!important}#homeView .home-access-card{box-shadow:0 8px 20px #02214333!important}}#ccfView .ccf-submenus{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 14px}#ccfView .ccf-submenu{min-height:42px;padding:8px 16px;border:1px solid #7caede;border-radius:999px;background:#dcecff;color:#123d67;font:700 14px/1.2 Inter,Segoe UI,Arial,sans-serif;cursor:pointer}#ccfView .ccf-submenu:hover,#ccfView .ccf-submenu:focus-visible{background:#c4e1ff;outline:2px solid #e5a13a;outline-offset:2px}#ccfView .ccf-submenu.active{background:#155e9e;color:#fff;border-color:#155e9e}#ccfView .ccf-compact-filters{display:grid;grid-template-columns:minmax(170px,1fr) minmax(220px,1.4fr) minmax(190px,1.1fr);gap:12px;align-items:start;padding:15px!important;margin-bottom:12px;overflow:visible!important}#ccfView .ccf-compact-filters .field{min-width:0}#ccfView .ccf-compact-filters :is(select,summary){min-width:0;max-width:100%}#ccfView .ccf-compact-groups .scope-choices{display:flex;flex-wrap:wrap;gap:6px}#ccfView .ccf-compact-groups .scope-choice{min-height:36px;padding:6px 10px;white-space:normal}#ccfView .ccf-student-picker{position:relative;border:1px solid #81afe0;border-radius:12px;background:#fff;color:#173b5d}#ccfView .ccf-student-picker>summary{min-height:42px;padding:9px 12px;cursor:pointer;font-weight:700;overflow-wrap:anywhere}#ccfView .ccf-student-picker-body{position:static;box-sizing:border-box;width:100%;max-height:min(340px,48dvh);margin-top:6px;overflow:auto;padding:10px;border:1px solid #81afe0;border-radius:12px;background:#f0f7ff;box-shadow:0 6px 16px #09274226}#ccfView .ccf-student-checks{display:grid;gap:4px;margin-top:8px}#ccfView .ccf-student-checks label{display:flex;align-items:center;gap:8px;padding:6px;border-radius:7px;cursor:pointer;font-size:13px;overflow-wrap:anywhere}#ccfView .ccf-student-checks label:hover{background:#dcecff}#ccfView .ccf-student-checks input{flex:none;width:17px;height:17px;margin:0}#ccfView .ccf-table-wrap{width:min(100%,var(--ccf-table-width));max-width:100%;margin-inline:auto;overflow-x:auto;overscroll-behavior-inline:contain}#ccfView .ccf-top-scroll{width:min(100%,var(--ccf-table-width));max-width:100%;height:18px;margin:0 auto 4px;overflow-x:auto;overflow-y:hidden;overscroll-behavior-inline:contain}#ccfView .ccf-top-scroll[hidden]{display:none}#ccfView .ccf-top-scroll-track{width:var(--ccf-table-width);height:1px}#ccfView .ccf-follow-scroll{position:fixed;bottom:0;z-index:30;box-sizing:border-box;height:20px;max-width:100vw;overflow-x:auto;overflow-y:hidden;background:#e9f5ff;border:1px solid #80b6df;box-shadow:0 -3px 12px #082d4966;overscroll-behavior-inline:contain}#ccfView .ccf-follow-scroll[hidden]{display:none}#ccfView .ccf-compact-table{width:var(--ccf-table-width)!important;min-width:var(--ccf-table-width)!important;table-layout:fixed;border-collapse:collapse}#ccfView .ccf-name-col{width:170px}#ccfView .ccf-activity-col{width:210px}#ccfView .ccf-bilan-col{width:130px}#ccfView .ccf-comment-col{width:210px}#ccfView .ccf-compact-table th,#ccfView .ccf-compact-table td{box-sizing:border-box;min-width:0!important;max-width:none;padding:8px 10px;vertical-align:top;line-height:1.3;overflow-wrap:anywhere;word-break:normal}#ccfView .ccf-compact-table thead th{padding-block:10px;background:#c8e2f8;color:#10395d;font-size:12px;line-height:1.25}#ccfView .ccf-compact-table thead th:nth-child(3n+2){background:#d1eee7}#ccfView .ccf-compact-table tbody th{background:#e0effb;color:#153755;font-size:12px;white-space:normal}#ccfView .ccf-compact-table tbody td{font-size:13px;background:#f5faff}#ccfView .ccf-compact-table tbody tr:nth-child(2n) td{background:#eaf5fb}#ccfView .ccf-compact-table tbody td.dashboard-bilan{background:#d7eee2}#ccfView .ccf-compact-table tbody tr:nth-child(2n) td.dashboard-bilan{background:#c9e8d8}#ccfView .ccf-activity-title{display:block;white-space:normal;overflow-wrap:anywhere;hyphens:auto;font-weight:800}#ccfView .ccf-compact-table thead small{display:block;margin-top:4px;font-size:10px;white-space:normal;overflow-wrap:anywhere}#ccfView .ccf-compact-table td strong{display:block;font-size:14px;white-space:nowrap}#ccfView .ccf-pills{gap:4px;margin-top:5px}#ccfView .ccf-pill{width:29px;height:29px;font-size:9px;line-height:1;flex:none}#ccfView .ccf-pill small{font-size:8px}#ccfView .ccf-compact-table textarea{display:block;width:100%;min-width:0!important;min-height:56px;max-height:140px;padding:6px 7px;resize:vertical;font-size:13px;line-height:1.25;background:#fff}#ccfView .char-count{margin-top:2px;font-size:10px}#ccfView .ccf-scroll-hint{display:none;margin:0 0 6px;color:#dcecff;font-size:12px}#ccfView .ccf-empty{padding:16px;color:#173b5d}@media(max-width:900px){#ccfView .ccf-compact-filters{grid-template-columns:repeat(2,minmax(0,1fr))}#ccfView .ccf-compact-students{grid-column:1/-1}#ccfView .ccf-scroll-hint{display:block}}@media(max-width:600px){#ccfView .ccf-submenus{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}#ccfView .ccf-submenu:first-child{grid-column:1/-1}#ccfView .ccf-submenu{min-width:0;padding:8px}#ccfView .ccf-compact-filters{grid-template-columns:minmax(0,1fr);padding:11px!important}#ccfView .ccf-compact-students{grid-column:auto}#ccfView .ccf-student-picker-body{width:100%;max-height:min(300px,45dvh)}#ccfView .ccf-compact-table th,#ccfView .ccf-compact-table td{padding:7px 8px}}*,*:before,*:after{box-sizing:border-box}.content,.view,.portal-shell,.portal-panel,.teaching-space,.teach-card,.teach-preview-content{min-width:0}.view img,.portal-panel img{max-width:100%;height:auto}.teaching-space .teach-row,.teaching-space .teach-section-heading,.teaching-space .teach-item{min-width:0}.teaching-space .teach-row button,.teaching-space .teach-row select,.teaching-space .teach-row input{max-width:100%;white-space:normal;overflow-wrap:anywhere}.teaching-space .teach-section-heading>div,.teaching-space .teach-item>div{min-width:0}.teaching-space .teach-head h1,.teaching-space .teach-card h2,.teaching-space .teach-card h3,.portal-panel h1,.portal-panel h2,.portal-panel h3{overflow-wrap:anywhere;line-height:1.2}.teaching-space .teach-editable,.lesson-content{min-width:0}@media screen{.teach-preview .teach-preview-content:not(.teach-preview-with-pdf){width:100%;max-width:min(100%,1600px);margin-inline:auto}.teach-preview .teach-preview-content .lesson-content{width:100%;max-width:100%}}@media print{body.print-lesson .teach-preview-content{width:100%;max-width:210mm;margin-inline:auto}}@media(max-width:980px){.content{max-width:100%;padding-inline:clamp(12px,2.6vw,24px)!important}.teaching-space .teach-card,.portal-panel{max-width:100%}.teaching-space .teach-preview-content,.teach-pdf-attachments,.teach-pdf-card{min-width:0;max-width:100%}.teach-preview{max-width:calc(100vw - 12px)}.teach-preview-actions{max-width:100%;overflow-wrap:anywhere}.teach-preview-actions strong{min-width:0;flex:1 1 180px}.portal-page{background-attachment:scroll!important}}@media(max-width:600px){.content{padding:12px 10px max(20px,env(safe-area-inset-bottom,0px))!important}.teaching-space .teach-head{margin-bottom:12px}.teaching-space .teach-head h1{font-size:clamp(22px,6vw,30px)}.teaching-space .teach-card{padding:14px;margin-bottom:12px;border-radius:16px}.teaching-space .teach-row{gap:8px;align-items:stretch}.teaching-space .teach-row>label{align-self:center}.teaching-space .teach-row>select,.teaching-space .teach-row>input{min-width:0;width:100%;font-size:16px}.teaching-space .teach-row>button{min-height:40px;padding:7px 11px;font-size:13px}.teaching-space .teach-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.teaching-space .teach-tabs button{min-width:0;width:100%;min-height:40px;padding:7px 6px;font-size:clamp(12px,3.3vw,14px);line-height:1.2;white-space:normal}.teaching-space .teach-section-heading{display:flex;flex-wrap:wrap;gap:8px}.teaching-space .teach-section-heading>.teach-row{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.teaching-space .teach-section-heading>.teach-row button{width:100%;min-width:0}.teaching-space .teach-tp-students{grid-template-columns:minmax(0,1fr)}.teaching-space .teach-tp-time{gap:6px;line-height:1.4}.teaching-space .teach-tp-time select{width:auto;flex:1 1 110px}.teaching-space .teach-tp-time button{flex:1 1 110px}.teaching-space .teach-editor-toolbar{gap:4px;padding:5px}.teaching-space .teach-editor-toolbar button{padding:4px 7px}.teach-preview{inset:4px;max-width:none;padding:7px;border-width:1px;border-radius:12px}.teach-preview-actions{top:0;padding:6px;gap:5px}.teach-preview-actions button{min-height:36px;padding:6px 10px;font-size:13px}.teach-pdf-card{padding:6px}.portal-shell{width:100%;padding:12px max(10px,env(safe-area-inset-left)) 22px max(10px,env(safe-area-inset-right))}.portal-header{gap:10px;margin-bottom:14px}.portal-header img{width:clamp(54px,17vw,76px);height:auto;flex:none}.portal-header>div{min-width:0}.portal-header h1{font-size:clamp(22px,6vw,30px);line-height:1.1}.portal-header p{overflow-wrap:anywhere}.portal-panel{padding:clamp(12px,3.4vw,18px);border-radius:16px}.portal-actions.student-refresh-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.portal-actions.student-refresh-actions button{width:100%;min-width:0;min-height:40px;padding:7px 8px;font-size:clamp(12px,3.2vw,14px);line-height:1.2;white-space:normal}.portal-actions.student-refresh-actions #studentRefresh{grid-column:1/-1;width:100%;min-height:42px;padding:7px 10px;font-size:14px}.portal-tabs{gap:6px;margin-bottom:12px}.portal-tabs button{min-width:0;padding:8px 11px;font-size:clamp(12px,3.3vw,14px);line-height:1.25;white-space:normal}.student-pane,.portal-list,.portal-list details,.student-tp-card,.student-tp-viewer,.student-tp-viewer section{min-width:0;max-width:100%}.student-tp-card,.portal-list details{padding:10px}.student-tp-card button,.portal-list summary{max-width:100%;overflow-wrap:anywhere;white-space:normal}.student-pdf-controls{justify-content:center;gap:4px}.student-pdf-controls button,.student-pdf-form-actions button{min-height:34px;padding:4px 6px;font-size:12px;line-height:1.15}.student-pdf-scroll{max-height:75svh}}@media(max-width:360px){.topbar .brand-logo{width:48px!important;height:48px!important;flex-basis:48px!important}.topbar .brand-copy strong,.topbar .brand-copy strong span{font-size:14px!important;white-space:normal!important}.portal-header img{width:50px}.portal-header h1{font-size:21px}}.activity-reuse-panel{width:100%;max-width:none!important;min-width:0;padding:clamp(14px,2vw,24px)}.activity-reuse-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-items:end}.activity-reuse-fields .field{min-width:0}.activity-reuse-fields select{width:100%;min-width:0;max-width:100%;min-height:46px;background:#fff;color:#123657}.activity-reuse-template,.activity-reuse-hint{margin:16px 0 0;line-height:1.45;overflow-wrap:anywhere}.activity-reuse-competencies{display:grid;gap:9px;margin:16px 0 0;padding:14px 16px;border:1px solid #8ab6d5;border-radius:14px;background:#eaf5ff;color:#163d60}.activity-reuse-competencies legend{padding:0 6px;font-weight:800}.activity-reuse-competencies label{display:flex;align-items:flex-start;gap:9px;line-height:1.4;cursor:pointer}.activity-reuse-competencies input{flex:0 0 18px;width:18px;height:18px;margin:2px 0 0;accent-color:#176a9e}.activity-reuse-competencies small{color:#355b78;line-height:1.45}.activity-reuse-students{margin-top:16px;padding:15px;border:1px solid #9ebfe0;border-radius:15px;background:#edf6ff;min-width:0}.activity-reuse-students-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:9px;margin-bottom:10px}.activity-reuse-students-head h2{margin:0;font-size:clamp(17px,2vw,21px)}.activity-reuse-student-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:8px;max-height:340px;overflow-y:auto}.activity-reuse-student{display:flex;align-items:center;gap:10px;min-width:0;min-height:43px;padding:8px 10px;border:1px solid #acc9e3;border-radius:10px;background:#fff;color:#17314f;line-height:1.35;overflow-wrap:anywhere}.activity-reuse-student input{flex:0 0 19px;width:19px;height:19px;min-height:19px;margin:0;accent-color:#1264a2}.activity-reuse-student.is-locked{background:#e9edf2;color:#536579}.activity-reuse-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:12px;margin-top:18px}.activity-reuse-actions button:disabled{opacity:.52;cursor:not-allowed}#activitiesView .activity-card[data-tone]{background:var(--tone-bg)!important;border:2px solid var(--tone-border)!important;color:#13324e!important}#activitiesView .activity-card[data-tone]>.activity-entry-summary{background:var(--tone-bg)!important;border-radius:inherit;min-width:0}#activitiesView .activity-card[data-tone] h3{color:#112f4b!important;overflow-wrap:anywhere;white-space:normal;line-height:1.25}#activitiesView .activity-card[data-tone="0"]{--tone-bg:#e3f2ff;--tone-border:#6caade}#activitiesView .activity-card[data-tone="1"]{--tone-bg:#e4f7eb;--tone-border:#6cb990}#activitiesView .activity-card[data-tone="2"]{--tone-bg:#fff0df;--tone-border:#daa05d}#activitiesView .activity-card[data-tone="3"]{--tone-bg:#efe9ff;--tone-border:#aa91d9}#activitiesView .activity-card[data-tone="4"]{--tone-bg:#e2f5f4;--tone-border:#6db6b1}#activitiesView .activity-card[data-tone="5"]{--tone-bg:#ffe9ee;--tone-border:#d48b9e}#activitiesView .activity-card[data-tone="6"]{--tone-bg:#f4f3dd;--tone-border:#b4b26d}#activitiesView .activity-card[data-tone="7"]{--tone-bg:#e8edff;--tone-border:#859fdf}@media(max-width:800px){.activity-reuse-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.activity-reuse-fields .field:first-child{grid-column:1/-1}}@media(max-width:600px){.activity-reuse-panel{padding:12px!important}.activity-reuse-fields{grid-template-columns:minmax(0,1fr);gap:10px}.activity-reuse-fields .field:first-child{grid-column:auto}.activity-reuse-students{padding:10px}.activity-reuse-student-list{grid-template-columns:minmax(0,1fr);max-height:42dvh}.activity-reuse-actions{align-items:stretch;flex-direction:column}.activity-reuse-actions button{width:100%}#activitiesView .activity-card[data-tone]>.activity-entry-summary{padding:12px!important}}#studentsView .student-groups-panel{min-width:0;overflow:visible}#studentsView .student-groups-panel .group-form-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;align-items:end;gap:12px}#studentsView .student-groups-panel .group-form-grid .field{min-width:0}#studentsView .student-groups-panel .group-form-grid input,#studentsView .student-groups-panel .group-form-grid select{width:100%;min-width:0}#studentsView .group-assignment{margin-top:18px;padding:clamp(12px,2vw,20px);border:1px solid #90bce1;border-radius:18px;background:#e8f4ff;color:#17314f;min-width:0}#studentsView .group-assignment h3{margin:0 0 8px;font-size:clamp(18px,2vw,22px)}#studentsView .group-assignment p{margin:0 0 12px;line-height:1.45}#studentsView .group-select-tools{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:8px}#studentsView .student-groups-panel .group-member-list{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr))!important;gap:8px!important;width:100%!important;max-width:none!important;margin:0!important;max-height:min(42dvh,380px);overflow-y:auto;overflow-x:hidden}#studentsView .student-groups-panel .group-member-row{display:flex!important;align-items:center!important;gap:10px;min-width:0;min-height:46px;padding:8px 10px;line-height:1.35;overflow-wrap:anywhere}#studentsView .student-groups-panel .group-member-row input[type=checkbox]{display:block!important;appearance:auto!important;flex:0 0 20px!important;width:20px!important;height:20px!important;min-width:20px!important;min-height:20px!important;margin:0!important;padding:0!important;accent-color:#1766a7}#studentsView .student-groups-panel .group-member-row span{min-width:0;overflow-wrap:anywhere}#studentsView .group-member-row.already-linked{background:#edf0f5!important;color:#617082!important}#studentsView .group-assignment-actions{display:flex;align-items:end;flex-wrap:wrap;gap:10px;margin-top:13px}#studentsView .group-assignment-actions .field{flex:1 1 220px;min-width:0}#studentsView .group-assignment-actions select{width:100%;min-width:0}#studentsView .group-edit-hint{font-weight:700;color:#254767;line-height:1.45}#studentsView .group-remove-selected:disabled,#studentsView #addStudentsToGroup:disabled{opacity:.5;cursor:not-allowed}#studentsView .student-group-item-body{min-width:0}@media(max-width:850px){#studentsView .student-groups-panel .group-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#studentsView .student-groups-panel .group-form-grid button{grid-column:1/-1;justify-self:start}}@media(max-width:600px){#studentsView .student-groups-panel .group-form-grid{grid-template-columns:minmax(0,1fr)}#studentsView .student-groups-panel .group-form-grid button{grid-column:auto;width:100%}#studentsView .group-assignment{padding:12px}#studentsView .student-groups-panel .group-member-list{grid-template-columns:minmax(0,1fr)!important;max-height:48dvh}#studentsView .group-assignment-actions{align-items:stretch;flex-direction:column}#studentsView .group-assignment-actions .field,#studentsView .group-assignment-actions button{width:100%}#studentsView .group-item-actions{display:grid;grid-template-columns:minmax(0,1fr)}#studentsView .group-item-actions button{width:100%;white-space:normal}}#activitiesView .activity-overview-picker{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin-bottom:16px}#activitiesView .activity-overview-picker label{font-weight:700;width:100%}#activitiesView .activity-overview-picker select{flex:1 1 280px;width:min(100%,440px);min-width:0}#activitiesView .activity-overview-picker button{flex:0 0 auto}#activitiesView .activity-card[hidden],#activitiesView .activity-group-fold[hidden],#activitiesView .activity-class-group[hidden],#activitiesView .bottom-stats[hidden]{display:none!important}#activitiesView .activity-overview-empty{padding:16px}@media(max-width:600px){#activitiesView .activity-overview-picker{align-items:stretch}#activitiesView .activity-overview-picker select,#activitiesView .activity-overview-picker button{width:100%;flex-basis:100%}}@media(max-width:980px){body.home-active .home-intro #mobileMenuToggle{display:flex!important;align-items:center;justify-content:center;width:max-content;max-width:100%;min-width:120px!important;min-height:44px;margin:16px auto 12px!important;padding:8px 18px;text-align:center;white-space:normal}body.home-active .home-intro{min-width:0;text-align:center!important}body.home-active .home-intro h1,body.home-active .home-intro p{max-width:100%;text-align:center!important;overflow-wrap:anywhere;text-wrap:balance}body:not(.home-active)>#mobileMenuToggle{display:flex!important;width:max-content;max-width:calc(100% - 24px);margin:10px auto 14px!important}}#teachingView .teach-tabs{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:8px}#teachingView .teach-tabs button[data-teach-tab]{--tab-color: #185c99;--tab-border: #75aee0;box-sizing:border-box;max-width:100%;min-width:0;padding:9px 16px;border:1.5px solid var(--tab-border);border-radius:999px;background:var(--tab-color);color:#fff;font-weight:800;line-height:1.25;text-align:center;white-space:normal;overflow-wrap:anywhere;box-shadow:0 2px 5px #001b3640}#teachingView .teach-tabs button[data-teach-tab=course]{--tab-color: #9c570e;--tab-border: #f2bd70}#teachingView .teach-tabs button[data-teach-tab=td]{--tab-color: #185c99;--tab-border: #83bbea}#teachingView .teach-tabs button[data-teach-tab=tp]{--tab-color: #286e4d;--tab-border: #89c9a7}#teachingView .teach-tabs button[data-teach-tab=students]{--tab-color: #654a96;--tab-border: #bba7e6}#teachingView .teach-tabs button[data-teach-tab=alerts]{--tab-color: #a13e52;--tab-border: #e6a2b0}#teachingView .teach-tabs button[data-teach-tab=messages]{--tab-color: #236978;--tab-border: #8ac6d2}#teachingView .teach-tabs button[data-teach-tab].active{background:var(--tab-color);border-color:#fff;color:#fff;box-shadow:0 0 0 3px var(--tab-border),0 3px 8px #001b3659}#teachingView .teach-tabs button[data-teach-tab]:hover{filter:brightness(1.12)}#teachingView .teach-tabs button[data-teach-tab]:focus-visible{outline:3px solid #fff;outline-offset:4px}@media(max-width:600px){#teachingView .teach-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}#teachingView .teach-tabs button[data-teach-tab]{width:100%;padding:10px 7px;font-size:clamp(12px,3.4vw,15px)}}@media(max-width:340px){#teachingView .teach-tabs{grid-template-columns:1fr}}#teachingView{--teach-page: #ffe8c6;--teach-page-light: #fff3df;--teach-page-deep: #ffda9c;--teach-page-border: #d69a48;--teach-page-ink: #57330e}#teachingView:has(.teach-tabs [data-teach-tab=td].active){--teach-page: #d6eaff;--teach-page-light: #ecf5ff;--teach-page-deep: #bcdcff;--teach-page-border: #75aee0;--teach-page-ink: #174b77}#teachingView:has(.teach-tabs [data-teach-tab=tp].active){--teach-page: #d6f1e3;--teach-page-light: #ecfaf2;--teach-page-deep: #bce7d0;--teach-page-border: #7bbc9b;--teach-page-ink: #205a3e}#teachingView:has(.teach-tabs [data-teach-tab=students].active){--teach-page: #e6ddfa;--teach-page-light: #f4efff;--teach-page-deep: #d5c6f3;--teach-page-border: #aa91d7;--teach-page-ink: #543b81}#teachingView:has(.teach-tabs [data-teach-tab=alerts].active){--teach-page: #ffe0e8;--teach-page-light: #fff1f4;--teach-page-deep: #f8c7d5;--teach-page-border: #dc93a6;--teach-page-ink: #853a52}#teachingView:has(.teach-tabs [data-teach-tab=messages].active){--teach-page: #d5eef2;--teach-page-light: #ebf8fa;--teach-page-deep: #bce1e8;--teach-page-border: #79b8c5;--teach-page-ink: #255a67}#teachingView #teachBody>.teach-card{background:linear-gradient(145deg,var(--teach-page),var(--teach-page-light))!important;border-color:var(--teach-page-border)!important;color:#15324c!important}#teachingView #teachBody>.teach-card:nth-child(2n){background:linear-gradient(145deg,var(--teach-page-light),var(--teach-page-deep))!important}#teachingView #teachBody>.teach-card.teach-content-manager{background:linear-gradient(135deg,var(--teach-page-deep),var(--teach-page-light))!important}#teachingView #teachBody>.teach-card>:is(h2,h3,strong),#teachingView #teachBody>.teach-card>.teach-section-heading :is(h2,h3){color:var(--teach-page-ink)!important}#teachingView #teachBody>.teach-card>.teach-help,#teachingView #teachBody>.teach-card>.teach-content-manager>.teach-help{color:#294862!important}#teachingView #teachBody .teach-card .teach-card,#teachingView #teachBody .teach-tp-card details,#teachingView #teachBody .teach-message{background:var(--teach-page-light)!important;border:1px solid var(--teach-page-border)!important;border-radius:13px}#teachingView #teachBody .teach-card .teach-card:nth-child(2n),#teachingView #teachBody .teach-message:nth-child(2n){background:var(--teach-page-deep)!important}#teachingView #teachBody .teach-student:nth-child(odd),#teachingView #teachBody .teach-tp-student:nth-child(odd){background:var(--teach-page-light)!important;border-color:var(--teach-page-border)!important}#teachingView #teachBody .teach-student:nth-child(2n),#teachingView #teachBody .teach-tp-student:nth-child(2n){background:var(--teach-page-deep)!important;border-color:var(--teach-page-border)!important}#teachingView #teachBody :is(input,select,textarea,.teach-editable,.teach-preview-content){background:#fff!important;color:#173653!important}#activitiesView .activity-overview-picker{background:linear-gradient(135deg,#e2dafa,#f3efff)!important;border:1.5px solid #ac91d9!important;color:#2b2350!important}#activitiesView .activity-class-group:nth-of-type(4n+1){--activity-main: #d7eaff;--activity-soft: #edf6ff;--activity-border: #7fb1e0}#activitiesView .activity-class-group:nth-of-type(4n+2){--activity-main: #d9f2e7;--activity-soft: #effaf4;--activity-border: #7dc2a0}#activitiesView .activity-class-group:nth-of-type(4n+3){--activity-main: #e8e0f9;--activity-soft: #f5f1ff;--activity-border: #b39add}#activitiesView .activity-class-group:nth-of-type(4n){--activity-main: #ffebd1;--activity-soft: #fff6e8;--activity-border: #dba563}#activitiesView .activity-class-group{background:var(--activity-soft, #edf6ff)!important;border-color:var(--activity-border, #7fb1e0)!important;color:#12324f!important}#activitiesView .activity-class-group>summary{background:var(--activity-main, #d7eaff)!important;color:#12324f!important}#activitiesView .activity-group-fold{background:var(--activity-soft, #edf6ff)!important;border-color:var(--activity-border, #7fb1e0)!important}#activitiesView .activity-group-fold>summary{background:var(--activity-main, #d7eaff)!important;color:#12324f!important}#activitiesView .activity-group-fold:nth-of-type(2n)>summary{background:var(--activity-soft, #edf6ff)!important}#activitiesView .activity-card:nth-of-type(4n+1){background:#e1f0ff!important;border-color:#7eafe1!important}#activitiesView .activity-card:nth-of-type(4n+2){background:#e0f4e9!important;border-color:#86c5a2!important}#activitiesView .activity-card:nth-of-type(4n+3){background:#efe6fb!important;border-color:#baa1dd!important}#activitiesView .activity-card:nth-of-type(4n){background:#fff0d9!important;border-color:#dba966!important}#activitiesView .activity-card :is(h3,strong,summary,span){color:#12324f;overflow-wrap:anywhere}#activitiesView .activity-card .activity-entry-body{background:#ffffffb8;border-top:1px solid #8da9c5;border-radius:0 0 12px 12px}.grade-picker .grade-completed-picker{grid-column:3}@media(max-width:900px){.grade-picker .grade-completed-picker{grid-column:auto}}@media(max-width:600px){#teachingView #teachBody>.teach-card{padding:14px}#activitiesView .activity-class-group,#activitiesView .activity-group-fold,#activitiesView .activity-card{max-width:100%;overflow-wrap:anywhere}}#resultsView .results-top-scroll{box-sizing:border-box;max-width:100%;height:18px;margin:0 auto 4px;overflow-x:auto;overflow-y:hidden;overscroll-behavior-inline:contain}#resultsView .results-top-scroll[hidden],#resultsView .results-follow-scroll[hidden]{display:none}#resultsView .results-scroll-track{height:1px}#resultsView .results-follow-scroll{position:fixed;bottom:0;z-index:30;box-sizing:border-box;height:20px;max-width:100vw;overflow-x:auto;overflow-y:hidden;background:#e9f5ff;border:1px solid #80b6df;box-shadow:0 -3px 12px #082d4966;overscroll-behavior-inline:contain}
