:root{--demo-ink:#16372b;--demo-muted:#52665d;--demo-green:#226a44;--demo-border:#d9e3dd;--demo-paper:#f4f7f3}*{box-sizing:border-box}.demo-portal{margin:0;background:var(--demo-paper);color:var(--demo-ink);font-family:system-ui,"Microsoft YaHei","PingFang SC",sans-serif;font-size:16px;line-height:1.6}.portal-header,.portal-main,.portal-footer{width:min(1200px,calc(100% - 64px));margin:auto}.portal-header{height:104px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--demo-border);gap:20px}.portal-brand{color:inherit;text-decoration:none;display:flex;align-items:center;gap:12px;font-size:19px;font-weight:700}.brand-mark{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:var(--demo-green);color:white;font-size:24px}.brand-sub{display:block;font-size:12px;font-weight:500;letter-spacing:.12em;color:var(--demo-muted)}.environment-tag{color:var(--demo-green);border:1px solid #bdcfbf;border-radius:30px;padding:5px 13px;font-size:13px;white-space:nowrap}.portal-intro{padding:60px 0 38px;position:relative}.eyebrow{letter-spacing:.16em;font-size:12px;font-weight:700;color:var(--demo-green);margin:0 0 16px}.portal-intro h1{font-size:clamp(34px,4vw,52px);line-height:1.3;font-weight:650;letter-spacing:-.03em;margin:0 0 18px}.lead{color:var(--demo-muted);max-width:570px;margin:0;font-size:16px}.login-hint{position:absolute;right:0;bottom:42px;display:flex;flex-wrap:wrap;gap:8px 22px;max-width:360px;padding:18px 24px;border:1px solid var(--demo-border);border-radius:12px;background:#fff}.login-hint>span:first-child{width:100%;font-size:13px;color:var(--demo-muted)}.login-hint strong{font-family:ui-monospace,monospace;font-size:18px;margin-left:8px}.role-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.role-card{display:flex;flex-direction:column;min-width:0;min-height:390px;padding:28px 30px;color:var(--demo-ink);background:white;border:1px solid var(--demo-border);border-radius:18px;text-decoration:none;transition:transform .2s,border-color .2s,box-shadow .2s}.role-card:hover{transform:translateY(-4px);border-color:var(--demo-green);box-shadow:0 14px 30px #153e2510}.card-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:28px}.role-number{font-size:12px;letter-spacing:.08em;color:var(--demo-muted)}.card-top svg{height:34px;width:34px;stroke:currentColor;stroke-width:1.5;fill:none;stroke-linecap:round;stroke-linejoin:round}.role-card h2{font-size:27px;margin:0 0 12px;line-height:1.4}.role-card p{margin:0 0 18px;color:var(--demo-muted);font-size:15px;line-height:1.8}.role-card ul{padding:0;margin:0 0 26px;list-style:none;color:var(--demo-muted);font-size:13px;display:flex;flex-wrap:wrap;gap:7px}.role-card li{padding:3px 9px;border-radius:5px;background:#f0f4f1}.card-link{margin-top:auto;border-top:1px solid var(--demo-border);padding-top:17px;display:flex;align-items:center;justify-content:space-between;font-size:15px;font-weight:650}.card-link>span{font-size:22px}.teacher-card{background:#e9f1e9}.student-card{background:#f1eff9;color:#443772}.student-card .role-number,.student-card p,.student-card ul{color:#655d7c}.student-card li{background:#e8e3f2}.portal-note{color:var(--demo-muted);font-size:13px;margin:26px 0 42px;line-height:1.8}.portal-footer{display:flex;justify-content:space-between;gap:16px;padding:22px 0 28px;border-top:1px solid var(--demo-border);color:var(--demo-muted);font-size:13px}.portal-footer a{color:inherit;text-decoration:underline;text-underline-offset:4px}a:focus-visible,button:focus-visible{outline:3px solid #806224;outline-offset:5px}.ceshi-demo-bar{position:fixed;z-index:2147483646;bottom:0;left:0;right:0;display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;padding:6px 16px;min-height:34px;background:#173d2f;color:white;font:12px/1.6 system-ui,"Microsoft YaHei",sans-serif;box-shadow:0 -1px 5px #0001}.ceshi-demo-bar a{color:white;text-decoration:underline;text-underline-offset:3px}.ceshi-demo-bar button{border:0;background:transparent;color:white;cursor:pointer;padding:0 8px;font:inherit}.login-page .el-form-item:has(.captcha-row){display:none!important}.ceshi-student uni-input,.ceshi-student uni-textarea,.ceshi-student uni-button{box-sizing:border-box}.ceshi-student uni-page-body{overflow-x:hidden}.ceshi-student .ceshi-demo-bar{font-size:11px}.ceshi-student body{padding-bottom:34px}@media(max-width:900px){.login-hint{position:static;margin-top:24px;max-width:100%}.role-card{padding:24px 22px}.portal-intro{padding-top:38px}}@media(max-width:680px){.portal-header,.portal-main,.portal-footer{width:calc(100% - 36px)}.portal-header{height:86px}.environment-tag{font-size:11px;padding:4px 8px}.portal-brand{font-size:17px}.brand-mark{width:39px;height:39px}.role-grid{grid-template-columns:1fr;gap:16px}.role-card{min-height:310px}.card-top{margin-bottom:16px}.role-card h2{font-size:25px}.portal-footer{flex-direction:column;gap:8px}.portal-intro h1{font-size:36px}.portal-note{margin-bottom:26px}}@media(prefers-reduced-motion:reduce){.role-card{transition:none}.role-card:hover{transform:none}}
/* Keep the fixed demo notice clear of the student's navigation and lesson controls. */
:root{--demo-bar-height:34px}
.ceshi-student .tabbar,.ceshi-student .inquiry-bar{bottom:var(--demo-bar-height)!important}
.ceshi-student .ai-float,.ceshi-student .handbook-fabs{margin-bottom:var(--demo-bar-height)}
.ceshi-student uni-page-body{padding-bottom:var(--demo-bar-height)}
.ceshi-student .login-page,.ceshi-student .handbook-fullpage{height:calc(100dvh - var(--demo-bar-height));bottom:var(--demo-bar-height)}
