/* TestEdu application design. Breakpoints use available space, not device detection. */
:root {
 --primary:#087f83; --primary-dark:#08666b; --primary-light:#e0f4f3;
 --accent:#7461c8; --bg:#f3f7f8; --card:#fff; --text:#1a3038;
 --muted:#637981; --border:#dce7ea; --radius:16px;
 --shadow:0 6px 24px rgba(29,63,77,.055);
}
html { scroll-padding-top:24px; }
body { background:radial-gradient(ellipse at 95% 0,#dff3f2 0,transparent 40%),var(--bg); color:var(--text); line-height:1.6; }
button,input,textarea,select { font:inherit; }
button,a,input,textarea,select,[contenteditable] { -webkit-tap-highlight-color:transparent; }
:where(button,a,input,textarea,select,summary,[contenteditable]):focus-visible { outline:3px solid #5eb9bd; outline-offset:3px; }
input:focus,textarea:focus,select:focus { border-color:var(--primary); box-shadow:0 0 0 3px #087f8315; }
:where(.wrap,.card,.form-row,.catalog-card,.stat-card,.editor-q-main) { min-width:0; }
img,video { max-width:100%; height:auto; }
.wrap { width:100%; max-width:1440px; padding:28px 36px 48px; }
header { padding:16px max(28px,calc((100vw - 1368px)/2)); background:#fff; color:var(--text); border-bottom:1px solid var(--border); gap:16px; }
header h1 { font-size:clamp(17px,1.5vw,23px); font-weight:750; letter-spacing:-.6px; }
.brand-logo { width:43px; height:43px; border-radius:12px; background:#e7f5f4; box-shadow:none; padding:6px; }
.user-menu-btn { min-height:44px; background:#f4f8f9; color:var(--text); border:1px solid var(--border); padding:6px 12px; gap:9px; }
.user-menu-btn:hover { background:#e5f2f3; }
.user-dropdown { border:1px solid var(--border); border-radius:13px; box-shadow:0 12px 45px #193e4020; max-width:calc(100vw - 24px); }
.user-dropdown button { min-height:44px; }
.tabs { display:flex; gap:5px; flex-wrap:wrap; background:#e9f0f2; border:1px solid #e2ebed; padding:5px; border-radius:13px; margin-bottom:24px; width:fit-content; max-width:100%; }
.tab { min-height:43px; padding:9px 19px; background:transparent; box-shadow:none; border-radius:9px; font-size:14px; color:#526b74; white-space:nowrap; }
.tab.active { background:white; color:var(--primary-dark); box-shadow:0 2px 6px #1e4c5010; }
.tab:hover:not(.active) { background:#f7fbfb; color:var(--primary); }
.card { padding:26px; border:1px solid var(--border); border-radius:16px; box-shadow:var(--shadow); margin-bottom:22px; }
.card h2 { font-size:20px; font-weight:750; letter-spacing:-.45px; color:var(--text); }
.card h3 { font-weight:650; color:var(--text); }
.btn { border-radius:9px; min-height:44px; padding:10px 17px; font-size:14px; font-weight:650; justify-content:center; gap:7px; box-shadow:none; transition:background .15s,box-shadow .15s; }
.btn-primary,.btn-success { background:var(--primary); color:#fff; }
.btn-primary:hover,.btn-success:hover { background:var(--primary-dark); box-shadow:0 4px 12px #087f8320; }
.btn-outline { border:1px solid #ccdce1; background:white; color:#3d5963; }
.btn-outline:hover { background:#f0f9f9; border-color:#82babc; }
.btn-danger { background:#fff0f0; color:#b83447; border:1px solid #f1ccd2; }
.btn-danger:hover { background:#ffe1e5; }
.btn-ghost { background:#edf5f6; color:var(--primary-dark); }
.btn-sm { min-height:36px; font-size:12px; padding:7px 11px; }
input[type=text],input[type=password],input[type=email],input[type=number],input[type=datetime-local],input[type=date],select,textarea { border:1px solid #cedde2; border-radius:9px; padding:11px 13px; min-height:44px; color:var(--text); background:#fff; max-width:100%; }
input[type=checkbox],input[type=radio] { accent-color:var(--primary); flex-shrink:0; }
label { color:#3d5963; font-size:13px; font-weight:650; }
.form-row { gap:18px; }
.settings-block { background:#f7fafb; border-color:var(--border); padding:20px; border-radius:12px; }
.alert { border-radius:10px; padding:14px 17px; line-height:1.65; }
.alert-info { background:#ecf8fa; color:#246574; border-color:#cce8ed; }
.badge { font-size:11px; font-weight:650; padding:4px 9px; border-radius:6px; }
.badge-info { background:#e5f2f5; color:#206d7b; }
.stat-card { background:white; border:1px solid var(--border); border-top:3px solid var(--primary); color:var(--text); border-radius:14px; box-shadow:var(--shadow); padding:22px; }
.stat-card .value,.stat-card .num { color:var(--primary-dark); font-weight:750; letter-spacing:-1px; }
.stat-card .label { color:var(--muted); opacity:1; }
.catalog-grid { grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr)); gap:18px; }
.catalog-card { padding:23px; border-radius:14px; box-shadow:var(--shadow); }
.catalog-card:hover { transform:translateY(-2px); border-color:#8fc6c7; }
.catalog-card h3 { color:var(--text); font-size:18px; }
.table-scroll,.table-responsive { width:100%; overflow-x:auto; overscroll-behavior-inline:contain; border:1px solid var(--border); border-radius:11px; }
table { font-size:13px; }
th { background:#f1f6f8; color:#627b85; font-size:11px; padding:13px 15px; letter-spacing:.06em; }
td { padding:14px 15px; vertical-align:middle; }
tr:last-child td { border-bottom:0; }
tr:hover td { background:#f5fafb; }
.empty-state { border:1px dashed #c5dce0; border-radius:13px; background:#f7fbfc; padding:36px 20px; color:var(--muted); }
.modal-overlay { padding:24px; background:#102d3c66; backdrop-filter:blur(5px); }
.modal { border:1px solid var(--border); border-radius:18px; padding:28px; max-height:calc(100dvh - 48px); overflow-y:auto; }
.login-page { background:radial-gradient(ellipse at 15% 20%,#d6f0ef,transparent 55%),#f1f6f8; min-height:100dvh; padding:40px 20px; }
.login-box { background:white; border-radius:22px; border:1px solid var(--border); box-shadow:0 20px 65px #24515b12; padding:36px; }
.role-switch { background:#edf3f5; border-radius:11px; padding:4px; gap:4px; }
.role-switch button { border-radius:8px; min-height:42px; }
.landing-page { background:radial-gradient(ellipse at 90% 15%,#dbf1ef,transparent 47%),#f7fafb; }
.landing-inner { max-width:1320px; padding:0 36px; }
.ed-brand { color:#173c43; }
.ed-mark { background:var(--primary); box-shadow:0 5px 12px #087f8320; }
.ed-hero { gap:64px; padding:72px 0 64px; }
.ed-hero h1 { color:#193e47; font-size:clamp(36px,4.2vw,60px); letter-spacing:-2.2px; }
.ed-hero h1 em,.ed-eyebrow { color:var(--primary); }
.ed-eyebrow:before { background:var(--primary); }
.ed-preview { background:#deeeef; border:1px solid #cfe4e6; transform:rotate(1deg); }
.ed-preview-card { border-color:#d3e3e6; box-shadow:0 18px 40px #1c525914; }
.ed-button { border-radius:9px; min-height:46px; }
.ed-button.primary { background:var(--primary); border-color:var(--primary); }
.ed-button.primary:hover { background:var(--primary-dark); }
.ed-benefits { border-color:var(--border); padding:26px 0; }
.ed-icon,.school-card .ed-school-icon { background:#e4f3f3; color:var(--primary); }
.school-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
.school-card { border:1px solid var(--border); border-radius:15px; padding:25px; box-shadow:0 3px 12px #153e4206; }
.school-card:hover { border-color:#78b8bb; box-shadow:0 10px 25px #153e4210; }
.school-card .enter { color:var(--primary); border-color:var(--border); }
.ed-help { background:#e8f3f4; border:1px solid #d6e9eb; border-radius:14px; }
.ed-search input { min-height:46px; }
.landing-footer { border-color:var(--border); }
/* Editor overrides follow the inline reference styles. */
body.editor-mode { background:linear-gradient(120deg,#087f83,#4ac4c3) 0 0/100% 245px no-repeat,var(--bg); }
.editor-mode header { color:white; border-bottom-color:#ffffff22; }
.editor-mode header .user-menu-btn { background:#ffffffed; }
.editor-mode .wrap { max-width:1600px; }
.editor-mode .editor-q-layout { gap:24px!important; }
.editor-mode .editor-q-sidebar { max-height:72dvh; }
.editor-mode .editor-answer-row input { width:19px; height:19px; }
.editor-mode .q-editor-attach { flex-wrap:wrap; }
.editor-mode .q-editor-attach>div:first-child { min-width:0!important; flex:1 1 260px!important; }
.editor-mode .rte-toolbar { flex-wrap:wrap; }
@media(min-width:1600px) { .wrap { padding-top:36px; } .landing-inner { max-width:1400px; } .ed-hero { padding:90px 0 80px; } }
/* Notebooks and small desktop screens. */
@media(min-width:1025px) and (max-width:1279px) { .wrap { padding:24px; } .landing-inner { padding:0 28px; } .ed-hero { gap:35px; } .editor-mode .editor-q-sidebar { width:195px!important; flex-basis:195px!important; } }
/* Tablet, including portrait. */
@media(max-width:1024px) {
 .wrap { padding:22px; } header { padding:14px 22px; } .card { padding:21px; }
 .landing-inner { padding:0 24px; } .ed-hero { gap:30px; padding:44px 0; } .ed-hero h1 { font-size:42px; }
 .ed-navlinks { gap:15px; } .school-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .editor-mode .editor-q-layout { flex-direction:row!important; gap:16px!important; }
 .editor-mode .editor-q-sidebar { width:170px!important; max-width:170px!important; flex:0 0 170px!important; }
 .editor-mode .qtp-grid { grid-template-columns:repeat(7,minmax(0,1fr))!important; }
 .editor-mode .quick-templates-pro { padding:12px!important; }
 .editor-mode .qtp-card { font-size:11px!important; }
}
@media(max-width:767px) {
 .wrap { padding:16px; } header { padding:12px 16px; align-items:center; } header h1 { font-size:17px; letter-spacing:-.3px; }
 .brand-logo { width:35px; height:35px; } .user-menu-btn { font-size:13px; padding:6px 9px; } .user-menu-btn .badge { display:none; }
 .tabs { width:100%; flex-wrap:nowrap; overflow-x:auto; padding:4px; gap:3px; scrollbar-width:thin; margin-bottom:18px; }
 .tab { flex:0 0 auto; padding:10px 14px; min-height:44px; }
 .card { padding:18px; border-radius:13px; margin-bottom:16px; } .card h2 { font-size:19px; }
 .form-row { grid-template-columns:1fr!important; gap:12px; }
 .flex-between { gap:12px; flex-wrap:wrap; }
 .catalog-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
 .catalog-card { padding:17px; }
 .ed-navlinks a { display:none; } .ed-hero { grid-template-columns:1fr; gap:30px; padding:38px 0; }
 .ed-hero h1 { font-size:clamp(36px,7vw,48px); max-width:650px; } .ed-intro { max-width:600px; }
 .ed-preview { max-width:500px; width:100%; margin:auto; }
 .ed-benefits { grid-template-columns:1fr; gap:18px; } .ed-benefit { align-items:center; }
 .ed-section-head { flex-direction:column; align-items:stretch; gap:16px; } .ed-search { max-width:none; }
 .editor-mode .editor-q-layout { flex-direction:column!important; }
 .editor-mode .editor-q-sidebar { width:100%!important; max-width:100%!important; flex:0 0 auto!important; display:flex; flex-wrap:nowrap!important; overflow-x:auto; max-height:none; gap:7px; padding:4px 0 10px!important; }
 .editor-mode .editor-q-side-item { flex:0 0 140px!important; margin:0; }
 .editor-mode .editor-q-sidebar>.btn { width:auto!important; min-width:150px; flex-shrink:0; margin:0!important; }
 .editor-mode .editor-q-main { width:100%; }
 .editor-mode .qtp-grid { grid-template-columns:repeat(4,minmax(0,1fr))!important; }
 .editor-mode .qtp-card { min-height:70px!important; font-size:12px!important; }
 .editor-mode .editor-q-main .q-card { padding:14px!important; }
 .editor-question-footer { align-items:stretch; } .editor-question-footer>span { flex-basis:100%; }
 .modal-overlay { padding:12px; } .modal { padding:20px; width:100%; max-height:calc(100dvh - 24px); border-radius:15px; }
 .modal-actions { flex-wrap:wrap; gap:8px; }
 input[type=text],input[type=password],input[type=email],input[type=number],input[type=date],input[type=datetime-local],select,textarea { font-size:16px; }
}
/* Phones: 320–479 CSS pixels, including landscape-safe insets. */
@media(max-width:479px) {
 .wrap { padding:12px max(12px,env(safe-area-inset-left)) 28px; }
 header { gap:8px; padding:11px 12px; } header>div:first-child { min-width:0; flex:1 1 190px; } header .user-info { margin-left:auto; }
 header h1 { font-size:16px; } .card { padding:16px; }
 .btn { padding:10px 13px; min-height:44px; } .btn-sm { min-height:40px; padding:7px 10px; }
 .catalog-grid,.school-grid { grid-template-columns:1fr; }
 .landing-inner { padding:0 18px; } .ed-nav { gap:10px; padding:16px 0; } .ed-brand { font-size:22px; } .ed-brand small { font-size:10px; } .ed-mark { width:35px; height:35px; }
 .ed-navlinks .ed-button { font-size:12px; padding:9px 10px; }
 .ed-hero { padding:32px 0; } .ed-hero h1 { font-size:37px; letter-spacing:-1.5px; }
 .ed-intro { font-size:15px; line-height:1.8; } .ed-actions { gap:8px; } .ed-actions .ed-button { flex:1 1 130px; }
 .ed-preview { padding:20px 13px; border-radius:19px; transform:none; } .ed-preview-card { padding:17px; transform:none; } .ed-feedback { margin:14px 0 0; transform:none; padding:12px; }
 .ed-section-head h2 { font-size:24px; } .school-card { padding:21px; } .ed-help { padding:19px; flex-direction:column; align-items:stretch; gap:15px; }
 .login-page { padding:20px 12px; } .login-box { padding:24px 20px; border-radius:17px; } .role-switch { flex-wrap:wrap; }
 .editor-mode .qtp-grid { grid-template-columns:repeat(3,minmax(0,1fr))!important; } .editor-mode .qtp-title { font-size:17px!important; line-height:1.4; } .editor-mode .qtp-sub { font-size:12px; }
 .editor-mode .editor-q-main .q-card>.flex-between>div { width:100%; gap:6px!important; }
 .editor-mode .q-num { font-size:18px; } .editor-mode .rte-toolbar button { min-width:32px; min-height:36px; }
 .editor-question-footer>.btn { flex:1; }
 .q-time-row { flex-wrap:wrap; }
}
@media(pointer:coarse) { .tab,.check-row,.user-dropdown button { min-height:44px; } input[type=checkbox],input[type=radio] { min-width:18px; min-height:18px; } }
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } *,*::before,*::after { animation:none!important; transition:none!important; } }
@media print { body,body.editor-mode { background:white!important; } header,.tabs { display:none!important; } .wrap { max-width:none; padding:0; } .card { box-shadow:none; break-inside:avoid; } }

/* Full template collection and TestEdu identity. */
.ed-mark.ed-logo { width:60px; height:60px; flex-shrink:0; padding:0; background:transparent; box-shadow:none; border-radius:0; letter-spacing:normal; }
.ed-logo img { display:block; width:100%; height:100%; object-fit:contain; }
.brand-logo { width:48px; height:48px; background:transparent; padding:0; overflow:visible; }
.editor-mode .qtp-grid { grid-template-columns:repeat(6,minmax(0,1fr))!important; }
.editor-mode .qtp-card { min-height:70px!important; }
@media(max-width:1024px) { .editor-mode .qtp-grid { grid-template-columns:repeat(6,minmax(0,1fr))!important; } }
@media(max-width:767px) { .editor-mode .qtp-grid { grid-template-columns:repeat(4,minmax(0,1fr))!important; } .ed-mark.ed-logo { width:49px; height:49px; } .brand-logo { width:39px; height:39px; } }
@media(max-width:479px) { .editor-mode .qtp-grid { grid-template-columns:repeat(3,minmax(0,1fr))!important; } .editor-mode .qtp-card { font-size:11px!important; } .ed-mark.ed-logo { width:43px; height:43px; } }

.template-manual-link { display:inline-block; color:#08666b; font-size:13px; font-weight:650; padding:7px; text-underline-offset:3px; }
.editor-mode .qtp-card { padding:10px 8px!important; min-height:135px!important; justify-content:flex-start!important; gap:5px!important; }
.editor-mode .qtp-card>span:last-of-type { font-weight:650; font-size:12px; line-height:1.4; }
.qtp-description { display:block; font-size:11px; line-height:1.5; font-weight:400; color:#526b74; }
.teacher-template-guide { background:#f0f9fa; border:1px solid #cfe6e9; border-radius:11px; padding:15px 18px; margin:10px 0 18px; font-size:13px; color:#2d515e; line-height:1.7; }
.teacher-guide-heading { display:flex; flex-wrap:wrap; justify-content:space-between; gap:8px; }
.teacher-guide-heading a { color:#08666b; font-weight:650; }
.teacher-template-guide p { margin:7px 0; }
.teacher-template-guide ol { padding-left:22px; margin:10px 0; }
.teacher-template-guide li { margin:5px 0; }
.teacher-template-guide summary { cursor:pointer; font-weight:650; padding:8px 0; }
.teacher-template-guide dt { font-weight:700; margin-top:8px; }
.teacher-template-guide dd { margin-left:0; }
@media(max-width:1024px) { .editor-mode .qtp-grid { grid-template-columns:repeat(4,minmax(0,1fr))!important; } }
@media(max-width:767px) { .editor-mode .qtp-grid { grid-template-columns:repeat(3,minmax(0,1fr))!important; } .teacher-template-guide { padding:12px; } }
@media(max-width:479px) { .editor-mode .qtp-grid { grid-template-columns:repeat(2,minmax(0,1fr))!important; } .editor-mode .qtp-card { min-height:150px!important; } }

/* This widget belongs to the screen editor, not only to print-window styles. */
.il-text-editor { display:none; position:fixed; z-index:1100; width:330px; max-width:calc(100vw - 24px); border:1px solid #cfe6e9; background:#fff; color:#1a3038; padding:12px; border-radius:12px; box-shadow:0 12px 40px #193e4733; }
.il-text-editor.show:not([hidden]) { display:block; }
.il-text-editor[hidden] { display:none!important; }
.il-te-bar { display:flex; gap:6px; align-items:center; margin-bottom:10px; }
.il-te-bar strong { font-size:13px; margin-right:auto; }
.il-te-btn { min-height:34px; padding:5px 8px; border:1px solid #dce7ea; background:#edf7f8; color:#08666b; border-radius:7px; cursor:pointer; font-size:12px; }
body:not(.editor-mode) .il-text-editor { display:none!important; }

/* Backups: distinct, readable selection rows on every screen. */
.backup-create-layout { display:grid; grid-template-columns:minmax(0,1.35fr) minmax(240px,1fr); gap:24px; align-items:start; }
.backup-fieldset { min-width:0; border:0; padding:0; margin:0; }
.backup-fieldset legend { font-weight:700; font-size:15px; margin-bottom:12px; }
.backup-options { display:grid; grid-template-columns:minmax(0,1fr); gap:8px; width:100%; }
.backup-options label.backup-option { display:flex!important; align-items:flex-start!important; gap:12px!important; padding:12px 14px!important; margin:0!important; border:1px solid #dce7ea; border-radius:9px; background:#fff; white-space:normal!important; cursor:pointer; text-align:left; }
.backup-options .backup-option input[type=checkbox] { width:19px!important; height:19px!important; min-width:19px!important; flex:0 0 19px!important; margin:3px 0 0!important; accent-color:#087f83; }
.backup-option-content { display:block; min-width:0; flex:1; }
.backup-option-name { display:flex; flex-wrap:wrap; align-items:center; gap:8px; font-size:14px; font-weight:650; line-height:1.5; color:#24434d; }
.backup-option-description { display:block; margin-top:3px; font-size:12px; line-height:1.6; color:#637981; font-weight:400; overflow-wrap:anywhere; }
.backup-options .backup-option-required { background:#eef8f7!important; border-color:#bddddb!important; cursor:default!important; }
.backup-required-badge { font-size:10px; font-weight:650; background:#d7eeea; color:#08666b; border-radius:5px; padding:3px 7px; }
.backup-create-settings { background:#f6fafb; border:1px solid #dce7ea; border-radius:11px; padding:18px; min-width:0; }
.backup-create-settings>button { width:100%; }
@media(max-width:900px) { .backup-create-layout { grid-template-columns:1fr; gap:18px; } }
@media(max-width:479px) { .backup-options label.backup-option { padding:11px!important; } .backup-option-name { font-size:13px; } .backup-create-settings { padding:14px; } }

.homeroom-row-status { display:block; font-size:12px; margin-top:5px; color:#08666b; }
.homeroom-new-student { padding:16px; background:#f2f9fa; border:1px solid #dce7ea; border-radius:10px; margin:20px 0; }
.homeroom-new-student summary { font-weight:650; cursor:pointer; color:#08666b; }
.homeroom-new-student form { margin-top:18px; }
.homeroom-new-student form>.btn { margin-top:14px; }
#hr-form-status { display:inline-block; margin:8px; font-size:13px; }
@media(max-width:600px) { #homeroom-assignments td { min-width:95px; } #homeroom-assignments td:nth-child(2) { min-width:190px; } }

.class-manager-modal { width:min(880px,100%); max-width:880px!important; }
.class-manager-modal h2 { margin:0; }
.class-manager-scope { margin:14px 0 8px; color:#3f6370; }
.class-manager-add { display:flex; align-items:flex-end; gap:12px; margin:18px 0; }
.class-manager-add>label { flex:1; min-width:0; margin:0; }
.class-manager-add input { display:block; margin-top:6px; }
.class-manager-row-actions { display:flex; gap:6px; flex-wrap:wrap; }
.class-manager-table { max-height:45dvh; overflow:auto; }
#class-manager-status { margin:10px 0; font-size:13px; color:#08666b; overflow-wrap:anywhere; }
@media(max-width:600px) { .class-manager-add { flex-direction:column; align-items:stretch; } .class-manager-table th,.class-manager-table td { padding:10px 8px; } .class-manager-modal .modal-actions { flex-direction:column; } }

/* Keep the account dropdown inside the mobile viewport. */
@media(max-width:767px){
 #app>header{overflow:visible!important;position:relative;z-index:100;flex-wrap:wrap!important}
 #app>header .user-info{width:100%!important;min-width:0;max-width:100%;display:flex!important;justify-content:flex-end!important;margin-left:auto!important;flex-wrap:nowrap!important;opacity:1}
 #app>header .user-menu{position:relative;margin-left:auto;max-width:100%;min-width:0}
 #app>header .user-menu-btn{max-width:100%;min-height:44px}
 #app>header .user-menu-btn>span:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 #app>header .user-dropdown{left:auto!important;right:0!important;min-width:0!important;width:min(260px,calc(100vw - 32px));max-width:calc(100vw - 32px)!important;max-height:60dvh;overflow-y:auto;z-index:300;box-sizing:border-box;background:#fff;opacity:1}
 #app>header .user-dropdown button{min-height:48px;white-space:normal;overflow-wrap:anywhere;text-align:left}
}

.result-sort-button{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:4px 0;border:0;background:transparent;color:inherit;font:inherit;font-weight:700;cursor:pointer;white-space:nowrap}.result-sort-button:focus-visible{outline:3px solid #087f83;outline-offset:3px;border-radius:4px}.result-sort-button span{font-size:18px;color:#087f83}

.stats-filters{display:grid;grid-template-columns:1fr 2fr 2fr;gap:16px;margin:18px 0}.stats-filters label{min-width:0}.stats-filters select{display:block;width:100%;margin-top:6px}.stats-note{font-size:13px;color:#526b74;margin:10px 0 18px}.stats-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:18px 0}.stats-summary>div{padding:18px;background:#edf8f8;border:1px solid #cce5e6;border-radius:12px}.stats-summary strong{display:block;font-size:30px;color:#087f83}.stats-summary span{font-size:13px}.stats-charts{display:grid;grid-template-columns:1fr 1fr;gap:20px}.stats-charts>.card{min-width:0}.stats-bar-row{margin:18px 0}.stats-bar-label{display:flex;justify-content:space-between;align-items:baseline;gap:16px;margin-bottom:7px;font-size:14px}.stats-bar-label span{overflow-wrap:anywhere}.stats-bar-label strong{white-space:nowrap}.stats-meter{height:12px;border-radius:20px;background:#e4ecef;overflow:hidden;min-width:80px}.stats-meter>span{display:block;height:100%;background:#087f83;border-radius:20px}.stats-bar-row small{color:#526b74;font-size:12px}.stats-student-meter{min-width:140px}.stats-student-meter .stats-meter{margin-top:6px}@media(max-width:767px){.stats-filters,.stats-charts{grid-template-columns:1fr}.stats-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.stats-summary strong{font-size:25px}.stats-summary>div{padding:13px}.stats-bar-label{font-size:13px;gap:10px}}
