/* Shared card language for the existing academy, including empty classrooms. */
body.visual-refresh{--muted:#66758e;--vx-surface:#fff;--vx-soft:#f0f4fc;--vx-ink:#17305d;--vx-border:#e3e9f2;--vx-shadow:0 5px 20px rgba(24,48,93,.045);background:#f5f7fb}
body.visual-refresh .app-main,body.visual-refresh .page-content{background:#f5f7fb}
body.visual-refresh .app-main{min-width:0}
body.visual-refresh .app-header{border-bottom:1px solid var(--vx-border);box-shadow:none}
body.visual-refresh .top-quick-nav{border-radius:16px;box-shadow:0 5px 15px rgba(23,56,143,.12);padding:7px}
body.visual-refresh .topnav-item{border-radius:10px}
body.visual-refresh .nav-item{border-radius:12px}
.vx-icon{display:block;width:24px;height:24px;flex:0 0 auto}
body.visual-refresh .nav-icon .vx-icon{width:20px;height:20px}.topnav-item>span{display:inline-flex;vertical-align:middle;margin-left:5px}.topnav-item .vx-icon{width:17px;height:17px}.landing-cards .vx-icon{width:26px;height:26px}.sx-kpi-icon .vx-icon{width:23px;height:23px}
.vx-symbol{width:48px;height:48px;border-radius:15px;background:#edf2ff;color:var(--navy);display:grid;place-items:center;flex:0 0 auto}
.vx-symbol.vx-write{background:#fff0e9;color:#b8582b}.vx-symbol.vx-check{background:#eaf5ef;color:#23835c}.vx-symbol.vx-calendar{background:#fff6db;color:#927015}
body.visual-refresh #pageContent :is(.panel,.settings-card,.sx-section,.sx-kpi,.cc-manage-card,.cc-student-course,.sx-course-card,.tp-plan-card,.course-tile,.pro-course-info-card,.pro-review-card,.pro-lessons-panel){border:1px solid var(--vx-border);border-radius:20px;box-shadow:var(--vx-shadow);background:var(--vx-surface)}
body.visual-refresh #pageContent :is(.panel,.settings-card,.sx-section){padding:22px}
body.visual-refresh #pageContent :is(.panel-head h3,.cc-manage-card h3,.cc-student-body h3,.sx-section-head h3){font-size:16px;line-height:1.7;color:var(--vx-ink)}
body.visual-refresh #pageContent :is(.panel-head p,.cc-manage-card p,.cc-student-body p,.sx-section-head p){font-size:12px;line-height:1.9;color:var(--muted)}
body.visual-refresh #pageContent .page-title{padding-top:25px;padding-bottom:18px;align-items:flex-start;flex-wrap:wrap}
body.visual-refresh #pageContent .page-title h1{font-size:25px;line-height:1.6;color:var(--vx-ink)}
body.visual-refresh #pageContent .page-title p{font-size:13px;line-height:1.9}
body.visual-refresh .primary-btn,body.visual-refresh .secondary-btn{border-radius:12px;min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:10px}
body.visual-refresh .primary-btn .vx-icon{width:18px;height:18px}
body.visual-refresh .btn-sm{border-radius:10px;min-height:38px}
body.visual-refresh :is(button,a,input,select,textarea):focus-visible{outline:3px solid #d79b13;outline-offset:3px}
body.visual-refresh button:disabled{cursor:wait;opacity:.65}
body.visual-refresh #pageContent :is(.stats-grid,.quick-grid){gap:16px}
body.visual-refresh #pageContent .stat-card.vx-stat{display:flex;position:relative;align-items:center;gap:15px;overflow:hidden;border:1px solid var(--vx-border);border-radius:18px;background:var(--vx-surface);padding:21px;box-shadow:var(--vx-shadow);min-height:112px}
body.visual-refresh .vx-stat h3{font-size:29px;line-height:1.4;margin:4px 0 0;color:var(--vx-ink);font-variant-numeric:tabular-nums}
body.visual-refresh .vx-stat p{font-size:12px;margin:0;color:var(--muted);font-weight:600}
.vx-stat-dots{position:absolute;left:8px;bottom:8px;width:33px;height:25px;background:radial-gradient(circle,#dbe3f0 1px,transparent 1.5px) 0 0/8px 8px;opacity:.65}
body.visual-refresh .quick-card.vx-quick{position:relative;display:block;text-align:right;border:1px solid var(--vx-border);border-radius:18px;padding:19px;background:var(--vx-surface);box-shadow:var(--vx-shadow);transition:transform .18s,border-color .18s,box-shadow .18s}
body.visual-refresh .vx-quick b{font-size:14px;margin:13px 0 4px;color:var(--vx-ink)}
body.visual-refresh .vx-quick small{font-size:11px;line-height:1.8;color:var(--muted);padding-left:16px}
body.visual-refresh .vx-quick .vx-quick-arrow{position:absolute;left:19px;top:31px;color:#95a3ba}
.vx-quick-arrow .vx-icon{width:19px;height:19px}
body.visual-refresh .vx-quick:hover{transform:translateY(-3px);border-color:#bbcbe4;box-shadow:0 12px 24px rgba(24,48,93,.09)}
.vx-teacher-dashboard{padding-top:22px;max-width:1450px}
.vx-welcome{position:relative;display:grid;grid-template-columns:1fr 300px;align-items:center;gap:20px;border:1px solid #dce5f5;border-radius:24px;background:#eaf0fd;overflow:hidden;padding:28px 32px}
.vx-welcome:after{content:"";position:absolute;left:-60px;bottom:-115px;width:245px;height:245px;border:32px solid rgba(23,56,143,.035);border-radius:50%;pointer-events:none}
.vx-eyebrow{display:block;font-size:11px;letter-spacing:.15px;color:var(--navy);font-weight:800;margin-bottom:8px}
.vx-welcome .vx-eyebrow{display:flex;align-items:center;gap:7px}
.vx-eyebrow i{width:7px;height:7px;background:var(--red);border-radius:50%}
.vx-welcome h1{font-size:27px;color:var(--vx-ink);line-height:1.7;margin:3px 0 7px}
.vx-welcome p{font-size:13px;line-height:2;color:#546680;margin:0;max-width:590px}
.vx-welcome-actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-top:20px}
.vx-welcome-actions .primary-btn{font-size:12px}
.vx-subject{font-size:12px;color:var(--navy);font-weight:700}
.vx-welcome-art{position:relative;z-index:1;display:grid;justify-items:center;color:var(--navy)}
.vx-art{width:100%;max-width:300px;height:auto;display:block}
.vx-welcome-art>span{font-size:11px;color:#536887;font-weight:700;margin-top:-3px}
.vx-section-label{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:27px 0 13px}
.vx-section-label h2{font-size:16px;line-height:1.8;color:var(--vx-ink);margin:0}
.vx-section-label>span{font-size:11px;color:var(--muted)}
.vx-teacher-dashboard .quick-grid{margin-top:16px}
.vx-workspace{display:grid;grid-template-columns:1.4fr 1fr;gap:20px;margin-top:22px;align-items:stretch}
.vx-column{display:grid;grid-template-rows:auto 1fr;gap:20px;min-width:0}.vx-column:last-child{grid-template-rows:auto auto 1fr}
.vx-card{border:1px solid var(--vx-border);border-radius:20px;background:var(--vx-surface);padding:23px;box-shadow:var(--vx-shadow);min-width:0}
.vx-card-head{display:flex;align-items:center;gap:12px;margin-bottom:17px}
.vx-card-head .vx-symbol{width:42px;height:42px;border-radius:13px}
.vx-card-head h2{font-size:15px;line-height:1.8;margin:0;color:var(--vx-ink)}
.vx-card-head p{margin:2px 0 0;font-size:11px;line-height:1.8;color:var(--muted)}
.vx-ready{display:flex;align-items:center;gap:15px;background:var(--vx-soft);border-radius:11px;padding:12px 14px;margin-bottom:9px}
.vx-ready>span{white-space:nowrap;font-size:11px;color:var(--navy);font-weight:700}
.vx-progress{height:6px;background:#dce4f1;border-radius:6px;flex:1;overflow:hidden}
.vx-progress i{height:100%;display:block;background:var(--navy);border-radius:6px}
.vx-step{display:flex;align-items:center;gap:12px;padding:16px 0;border-bottom:1px solid var(--vx-border)}
.vx-step:last-child{border-bottom:0;padding-bottom:0}
.vx-step-icon{display:grid;place-items:center;width:39px;height:39px;flex:0 0 auto;background:var(--vx-soft);color:#7586a5;border-radius:50%}
.vx-step-icon .vx-icon{width:20px;height:20px}
.vx-step.is-done .vx-step-icon{background:#eaf5ef;color:#23835c}
.vx-step h3{font-size:12px;color:var(--vx-ink);margin:0;line-height:1.8}
.vx-step p{font-size:10px;line-height:1.8;color:var(--muted);margin:2px 0 0}
.vx-step .btn-sm{margin-right:auto;flex:0 0 auto;font-size:11px}
.vx-link{display:inline-flex;align-items:center;justify-content:center;gap:12px;background:var(--vx-soft);color:var(--navy);border:1px solid #dfe7f6;border-radius:11px;padding:10px 15px;font-size:11px;font-weight:800;min-height:42px}
.vx-link .vx-icon{width:17px;height:17px}
.vx-link:hover{border-color:#a8bbdb;background:#e5ecfa}
.vx-session{padding:17px;border-radius:16px;background:#fff8e6;border:1px solid #f0e6c8}
.vx-session-date{display:flex;align-items:center;gap:8px;font-size:11px;color:#8c6a1b;font-weight:800}
.vx-session-date .vx-icon{width:18px;height:18px}
.vx-session>.vx-symbol{background:#ffedbd;color:#977018;width:39px;height:39px}
.vx-session h3{font-size:14px;color:var(--vx-ink);line-height:1.8;margin:13px 0 5px}
.vx-session p{font-size:11px;line-height:1.9;color:#786949;margin:0 0 16px}
.vx-session .vx-link{background:#fff;border-color:#eadcba;color:#7f6019}
.vx-milestone{position:relative;background:#edf6f1;border-color:#d7e9df;overflow:hidden}
.vx-milestone>.vx-symbol{background:#daece2;color:#23835c;margin-bottom:14px}
.vx-milestone .vx-eyebrow{color:#327154}
.vx-milestone h2{font-size:17px;color:#204e39;margin:0 0 8px;line-height:1.8}
.vx-milestone p{font-size:12px;color:#4e6a5d;line-height:2;margin:0}
.vx-mini-stars{display:flex;gap:5px;margin-top:16px;color:#659f7e}
.vx-mini-stars .vx-icon{width:15px;height:15px}
.vx-submission{display:flex;align-items:center;gap:11px;padding:14px 0;border-bottom:1px solid var(--vx-border)}
.vx-submission:last-child{border-bottom:0}
.vx-student-letter{width:39px;height:39px;border-radius:13px;display:grid;place-items:center;background:var(--vx-soft);color:var(--navy);font-size:16px;font-weight:800;flex:0 0 auto}
.vx-submission h3{font-size:12px;line-height:1.8;margin:0;color:var(--vx-ink)}
.vx-submission p{font-size:11px;line-height:1.8;color:var(--muted);margin:0}
.vx-submission .tag{margin-right:auto;white-space:nowrap}
.vx-submissions+.vx-link{margin-top:15px}
.vx-review-card{display:flex;flex-direction:column}.vx-review-card>.vx-link{align-self:start}.vx-review-guide{display:flex;align-items:center;gap:10px;border-top:1px solid var(--vx-border);padding-top:16px;margin-top:20px;color:#8b752f}.vx-review-guide p{font-size:11px;line-height:1.9;color:var(--muted);margin:0}.vx-review-guide .vx-icon{width:20px;height:20px}
.vx-publication-counts{display:grid;grid-template-columns:1fr 1fr;gap:12px}.vx-publication-counts>div{border:1px solid var(--vx-border);background:var(--vx-soft);border-radius:13px;padding:12px 14px}.vx-publication-counts b{display:block;font-size:23px;line-height:1.6;color:var(--vx-ink)}.vx-publication-counts span{font-size:10px;color:var(--muted)}.vx-publication>p{font-size:11px;line-height:1.9;color:var(--muted);margin:13px 0}
.vx-footer-note{display:flex;justify-content:center;align-items:center;gap:9px;color:var(--muted);font-size:11px;margin:27px 0 2px;line-height:1.9}
.vx-footer-note .vx-icon{color:#b08a25;width:17px;height:17px}
body.visual-refresh .empty-state.vx-empty,.vx-empty{width:100%;min-width:0;text-align:center;border:1px dashed #d3dfee;border-radius:18px;background:#f8fafd;padding:28px 20px;grid-column:1/-1;color:var(--text)}
body.visual-refresh #pageContent>.vx-empty{width:auto}
.vx-empty-art{width:88px;height:77px;position:relative;margin:0 auto 12px}
.vx-empty-art>span{position:absolute;inset:6px 13px 9px;border-radius:20px;display:grid;place-items:center;background:#e8eefb;color:var(--navy);transform:rotate(-8deg)}
.vx-empty-art .vx-icon{width:32px;height:32px;transform:rotate(8deg)}
.vx-empty-art i{position:absolute;border-radius:50%;width:9px;height:9px;background:var(--yellow);top:0;right:0}
.vx-empty-art i:nth-of-type(2){width:6px;height:6px;background:#eeb7ae;left:0;right:auto;top:40px}
.vx-empty-art i:nth-of-type(3){width:5px;height:5px;background:#b8c9e8;top:auto;bottom:1px;right:17px}
body.visual-refresh .vx-empty h3{font-size:16px;color:var(--vx-ink);line-height:1.8;margin:0 0 6px}
body.visual-refresh .vx-empty p{font-size:12px;color:var(--muted);line-height:2;max-width:410px;margin:0 auto}
.vx-empty .vx-link{margin-top:17px}
.vx-empty .vx-eyebrow{font-size:10px;margin-bottom:6px}
.vx-card .vx-empty{padding:23px 16px}
.vx-page-note{display:flex;align-items:center;gap:13px;border:1px solid #dce6f5;border-radius:17px;padding:16px 20px;background:#edf3ff;margin-bottom:20px}
.vx-page-note .vx-symbol{width:41px;height:41px;border-radius:12px;background:#dfe9fc}
.vx-page-note b{font-size:13px;line-height:1.8;color:var(--navy)}
.vx-page-note p{font-size:12px;line-height:1.9;color:#596e92;margin:3px 0 0}
.vx-note-star{margin-right:auto;color:#bca044;flex:0 0 auto}.vx-note-star .vx-icon{width:19px;height:19px}
body.visual-refresh #pageContent .cc-manage-grid{gap:18px}
body.visual-refresh #pageContent .cc-manage-card{padding:23px;transition:transform .18s,box-shadow .18s}
body.visual-refresh #pageContent .cc-manage-card:hover{transform:translateY(-2px);box-shadow:0 12px 24px rgba(24,48,93,.08)}
.vx-course-heading{display:grid;place-items:center;width:56px;height:56px;border-radius:18px;background:#eef2fe;color:var(--navy);margin:18px 0 12px}
.vx-course-heading.vx-course-tone-1{background:#fff3e9;color:#b8582b}.vx-course-heading.vx-course-tone-2{background:#eaf5ef;color:#23835c}
.vx-new-course{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;border:1px dashed #bbcce7;border-radius:20px;padding:25px;background:var(--vx-soft);min-height:240px}.vx-new-course h3{font-size:15px;color:var(--vx-ink);line-height:1.8;margin:15px 0 7px}.vx-new-course p{font-size:12px;line-height:1.9;color:var(--muted);max-width:310px;margin:0 0 18px}
body.visual-refresh .cc-no-media{background:#eaf0fd;position:relative;overflow:hidden;height:100%;min-height:170px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0}
.vx-course-art{width:160px;color:var(--navy)}
body.visual-refresh .cc-no-media b{font-size:11px;color:var(--navy);margin-top:-9px;margin-bottom:15px}
body.visual-refresh #pageContent .sx-welcome{position:relative;overflow:hidden;padding:23px;border:1px solid #dce5f5;border-radius:22px;background:#eaf0fd}
body.visual-refresh .sx-welcome h2{font-size:23px;color:var(--vx-ink)}
body.visual-refresh .sx-welcome p{font-size:13px;line-height:1.9;color:#596e92}
.vx-student-art{width:140px;margin-right:auto;flex:0 0 auto;color:var(--navy)}
body.visual-refresh .sx-grade-pill{margin-right:0}
body.visual-refresh #pageContent .data-table th{background:var(--vx-soft);padding:14px;font-size:12px}
body.visual-refresh #pageContent .data-table td{padding:14px;font-size:12px}
body.visual-refresh .landing-cards article{border-radius:20px;box-shadow:var(--vx-shadow);padding:22px;border-color:var(--vx-border);position:relative}
body.visual-refresh .landing-cards article:nth-child(2)>span{background:#eaf5ef}
body.visual-refresh .landing-cards article:nth-child(3)>span{background:#fff6db}
body.visual-refresh .landing-cards article:nth-child(4)>span{background:#fff0e9}
body.visual-refresh .toast{max-width:min(420px,calc(100vw - 32px));line-height:1.9;z-index:1100;box-shadow:0 12px 35px rgba(19,41,75,.2);border-radius:16px}
body.visual-refresh .toast.vx-toast-success{display:flex;gap:12px;align-items:flex-start;background:#fff;border:1px solid #cbe2d4;color:#234d37;padding:17px 20px;bottom:22px;left:22px}
.vx-toast-icon{width:36px;height:36px;display:grid;place-items:center;background:#e9f5ee;color:#23835c;border-radius:12px;flex:0 0 auto}
.vx-toast-icon .vx-icon{width:21px;height:21px}
.vx-toast-success b{font-size:13px;line-height:1.8;display:block}
.vx-toast-success p{font-size:11px;line-height:1.9;color:#527460;margin:4px 0 0}
body.visual-refresh.dark{--vx-surface:#121e32;--vx-soft:#1b2b44;--vx-ink:#e6edff;--vx-border:#283954;--muted:#a4b4cc;--vx-shadow:none}
body.visual-refresh.dark .app-main,body.visual-refresh.dark .page-content{background:#0d1728}
body.visual-refresh.dark :is(.vx-welcome,#pageContent .sx-welcome,.vx-page-note){background:#172843;border-color:#2b4163}
body.visual-refresh.dark :is(.vx-welcome h1,.vx-welcome p,.vx-welcome-art>span,.vx-subject,.vx-eyebrow,.vx-page-note b,.vx-page-note p,.sx-welcome p,.vx-link,.vx-ready>span){color:#c6d8fc}
body.visual-refresh.dark .vx-symbol,body.visual-refresh.dark .vx-student-letter,body.visual-refresh.dark .vx-page-note .vx-symbol{background:#243a5b;color:#c3d5ff}
body.visual-refresh.dark .vx-stat h3,body.visual-refresh.dark .vx-quick b{color:var(--vx-ink)}
body.visual-refresh.dark .vx-link{border-color:#354969;background:#223550}
body.visual-refresh.dark .vx-session{background:#332d21;border-color:#53472d}
body.visual-refresh.dark .vx-session :is(h3,p,.vx-session-date){color:#eddfb8}
body.visual-refresh.dark .vx-session .vx-link{background:#413722;color:#f2dfa5;border-color:#635331}
body.visual-refresh.dark .vx-milestone{background:#172e27;border-color:#284c3f}
body.visual-refresh.dark .vx-milestone :is(h2,p,.vx-eyebrow){color:#b8ddc9}
body.visual-refresh.dark .vx-milestone>.vx-symbol,body.visual-refresh.dark .vx-step.is-done .vx-step-icon{background:#274c3e;color:#bbdec9}
body.visual-refresh.dark .vx-empty{background:#16233a;border-color:#344968}
body.visual-refresh.dark .vx-empty-art>span{background:#263b5b;color:#c6d8fc}
body.visual-refresh.dark .vx-course-heading{background:#263b5b;color:#c6d8fc}
body.visual-refresh.dark .cc-no-media{background:#233957}
body.visual-refresh.dark .cc-no-media b{color:#c6d8fc}
body.visual-refresh.dark .toast.vx-toast-success{background:#172e27;border-color:#38634e;color:#d2f0de}
body.visual-refresh.dark .vx-toast-success p{color:#b8ddc9}
@media(min-width:1550px){.vx-teacher-dashboard{margin-left:auto!important;margin-right:auto!important;width:calc(100% - 48px)}}
@media(max-width:1180px){body.visual-refresh .app-header :is(.student-button,.account-button){display:none}.vx-welcome{grid-template-columns:1fr 230px;padding:25px}.vx-workspace{grid-template-columns:1.2fr 1fr}body.visual-refresh #pageContent .stats-grid,body.visual-refresh #pageContent .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.vx-student-art{width:115px}}
@media(max-width:760px){.vx-workspace{grid-template-columns:1fr}.vx-welcome{grid-template-columns:1fr 180px;padding:24px;gap:12px}.vx-welcome h1{font-size:23px}.vx-welcome-art>span{font-size:9px}.vx-card{padding:20px}.vx-section-label>span{font-size:10px}.vx-student-art{display:none}}
@media(max-width:520px){body.visual-refresh .page-content>*:not(.student-hero){margin-left:12px;margin-right:12px}.vx-teacher-dashboard{padding-top:15px}.vx-welcome{grid-template-columns:1fr;padding:23px}.vx-welcome-art{display:none}.vx-welcome h1{font-size:23px}.vx-welcome p{font-size:12px}.vx-welcome-actions{gap:12px;margin-top:17px}.vx-section-label{margin-top:23px}.vx-section-label>span{max-width:115px;text-align:left}.vx-stat .vx-symbol{width:36px;height:36px;border-radius:11px}.vx-stat .vx-symbol .vx-icon{width:21px;height:21px}body.visual-refresh #pageContent .stat-card.vx-stat{padding:15px 12px;gap:9px;min-height:98px}body.visual-refresh .vx-stat h3{font-size:25px}body.visual-refresh .vx-stat p{font-size:10px}body.visual-refresh #pageContent :is(.stats-grid,.quick-grid){gap:10px}body.visual-refresh .quick-card.vx-quick{padding:15px 12px}body.visual-refresh .vx-quick b{font-size:12px}.vx-quick .vx-symbol{width:38px;height:38px;border-radius:12px}body.visual-refresh .vx-quick small{font-size:10px;padding-left:0}body.visual-refresh .vx-quick .vx-quick-arrow{top:25px;left:13px}.vx-quick-arrow .vx-icon{width:16px;height:16px}.vx-card{padding:18px}.vx-step{gap:9px}.vx-step p{max-width:165px}.vx-step .btn-sm{padding:8px 11px;min-width:43px}.vx-page-note{padding:15px;gap:10px}.vx-page-note b{font-size:12px}.vx-page-note p{font-size:11px}.vx-note-star{display:none}body.visual-refresh #pageContent :is(.panel,.settings-card,.sx-section){padding:17px}body.visual-refresh .toast.vx-toast-success{left:16px;right:16px;bottom:16px;padding:15px}body.visual-refresh .landing-cards{grid-template-columns:1fr}.vx-footer-note{font-size:10px}.vx-submission{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){body.visual-refresh *,body.visual-refresh *:before,body.visual-refresh *:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
