/* ============================================================
   英易 · 暖杏纸（Warm Paper）
   登录页 / 教师工作台 / 管理平台 共用样式
   ============================================================ */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #FBF6EF;
  --surface: #FFFFFF;
  --surface2: #FFFAF3;
  --ink: #33261C;
  --ink2: #5C4A3A;
  --muted: #8B7965;
  --line: #F0E2D0;
  --primary: #DE7530;
  --soft: #FCEEE0;
  --deep: #AC521B;
  --ok: #3F8F5B;
  --warn: #B8860B;
  --bad: #C0392B;
  --r-lg: 22px;
  --r-md: 16px;
  --r-sm: 10px;
  --r-btn: 9px;
  --shadow-card: 0 1px 2px rgba(20, 40, 80, .04);
  --shadow-float: 0 1px 2px rgba(20, 40, 80, .04), 0 24px 64px rgba(20, 40, 80, .10);
}

html, body {
  font-family: 'PingFang SC', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--ink);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: tabular-nums;
}

button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; }
a { color: var(--primary); }

/* ============ 登录页 ============ */
body.login-body {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  position: relative;
  overflow-x: hidden;
}
body.login-body::before {
  content: '';
  position: fixed;
  width: 420px; height: 420px;
  left: -110px; top: -120px;
  border-radius: 50%;
  background: var(--soft);
  opacity: .6;
  z-index: 0;
  pointer-events: none;
}
body.login-body::after {
  content: '';
  position: fixed;
  width: 340px; height: 340px;
  right: -110px; bottom: -130px;
  border-radius: 50%;
  border: 1px solid var(--line);
  z-index: 0;
  pointer-events: none;
}

.login-shell {
  position: relative;
  z-index: 1;
  width: min(1080px, 100%);
  min-height: 624px;
  display: grid;
  grid-template-columns: 470px 1fr;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-float);
  overflow: hidden;
}

/* 左：品牌区 */
.login-brand {
  position: relative;
  padding: 56px 48px 40px;
  background: linear-gradient(165deg, var(--soft), var(--surface2) 48%, var(--surface));
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.login-brand::before,
.login-brand::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--line);
  pointer-events: none;
}
.login-brand::before { width: 300px; height: 300px; right: -140px; bottom: -90px; }
.login-brand::after { width: 420px; height: 420px; right: -200px; bottom: -150px; }

.brand-square {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--primary);
  color: #fff;
  font-size: 20px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 1;
}
.brand-title {
  margin-top: 26px;
  font-size: 60px;
  font-weight: 600;
  letter-spacing: 4px;
  line-height: 1.1;
  color: var(--ink);
  position: relative; z-index: 1;
}
.brand-en {
  margin-top: 10px;
  font-size: 10.5px;
  letter-spacing: 3.4px;
  text-transform: uppercase;
  color: var(--muted);
  position: relative; z-index: 1;
}
.brand-slogan {
  margin-top: 30px;
  font-size: 14.5px;
  line-height: 2;
  color: var(--ink2);
  max-width: 340px;
  position: relative; z-index: 1;
}
.brand-points { margin-top: 34px; display: grid; gap: 15px; position: relative; z-index: 1; }
.brand-point { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink2); }
.brand-point i {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--soft);
  color: var(--deep);
  display: inline-flex; align-items: center; justify-content: center;
  font-style: normal; font-size: 11px; font-weight: 600;
  flex: none;
}
.brand-foot {
  position: absolute;
  left: 0; right: 0; bottom: 22px;
  text-align: center;
  font-size: 11.5px;
  color: var(--muted);
  z-index: 1;
}

/* 右：表单区 */
.login-panel {
  padding: 52px 56px 44px;
  display: flex;
  flex-direction: column;
  background: var(--surface);
}
.panel-eyebrow {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 600;
}
.panel-title { font-size: 25px; font-weight: 600; margin: 10px 0 8px; color: var(--ink); }
.panel-sub { font-size: 12.5px; color: var(--muted); margin-bottom: 22px; }

.role-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 20px; }
.role-card {
  position: relative;
  padding: 13px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  text-align: left;
  transition: border-color .18s, background .18s;
}
.role-card:hover { border-color: var(--primary); }
.role-card.active {
  border-color: var(--primary);
  background: var(--soft);
  box-shadow: inset 0 0 0 1px var(--primary);
}
.role-icon {
  width: 26px; height: 26px;
  border-radius: 8px;
  background: var(--surface2);
  color: var(--ink2);
  font-size: 13px; font-weight: 600;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 8px;
}
.role-card.active .role-icon { background: #fff; color: var(--primary); }
.role-name { font-size: 13.5px; font-weight: 600; color: var(--ink); display: block; }
.role-card.active .role-name { color: var(--deep); }
.role-desc { font-size: 11px; color: var(--muted); margin-top: 3px; line-height: 1.45; display: block; }
.role-check {
  position: absolute;
  right: 8px; top: 8px;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 9px;
  display: none;
  align-items: center; justify-content: center;
}
.role-card.active .role-check { display: flex; }

.login-form { display: flex; flex-direction: column; gap: 14px; }
.field label { display: block; font-size: 12px; color: var(--ink2); margin-bottom: 7px; }
.field input {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-size: 14px;
  outline: none;
  transition: border-color .16s, box-shadow .16s;
}
.field input::placeholder { color: var(--muted); }
.field input:hover { border-color: rgba(222, 117, 48, .4); }
.field input:focus { border-color: var(--primary); box-shadow: 0 0 0 2px rgba(222, 117, 48, .12); }

.pwd-wrap { position: relative; }
.pwd-wrap input { padding-right: 62px; }
.pwd-toggle {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  padding: 6px 10px; font-size: 12px; color: var(--muted);
  border-radius: 7px;
}
.pwd-toggle:hover { color: var(--primary); }

.login-error { min-height: 18px; font-size: 12.5px; color: var(--bad); line-height: 1.5; }
.login-error.ok { color: var(--ok); }

.btn-primary {
  width: 100%;
  height: 46px;
  border-radius: var(--r-btn);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 3px;
  color: #fff;
  background: var(--primary);
  transition: background .18s;
}
.btn-primary:hover { background: var(--deep); }
.btn-primary:disabled { background: var(--line); color: var(--muted); cursor: not-allowed; box-shadow: none; }

.login-foot { margin-top: 16px; text-align: center; font-size: 12px; color: var(--muted); }
.link-btn { font-size: 12px; color: var(--primary); padding: 2px 4px; }
.link-btn:hover { text-decoration: underline; }

.login-hint {
  margin-top: auto;
  padding: 10px 14px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: var(--surface2);
  font-size: 11px;
  line-height: 1.75;
  color: var(--muted);
}
.login-hint b { color: var(--ink2); font-weight: 600; }

.register-extra { display: none; gap: 14px; grid-template-columns: 1fr 1fr; }
.register-mode .register-extra { display: grid; }
.register-mode .role-grid { display: none; }
.register-mode .login-foot .reg-hint { display: none; }

/* ============ 工作台布局（教师端 / 管理端） ============ */
.work-shell {
  display: grid;
  grid-template-columns: 226px 1fr;
  min-height: 100vh;
}

.ws-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 22px 14px 16px;
  background: var(--surface);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 22px;
  overflow-y: auto;
}
.ws-brand { padding: 0 8px; display: flex; align-items: center; gap: 10px; }
.ws-brand .mark {
  width: 34px; height: 34px;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
  font-size: 16px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  flex: none;
}
.ws-brand .name { font-size: 18px; font-weight: 600; letter-spacing: 2px; color: var(--ink); }
.ws-brand .sub { font-size: 8.5px; color: var(--muted); letter-spacing: 2px; display: block; margin-top: 2px; }

.ws-nav { display: flex; flex-direction: column; gap: 4px; }
.ws-nav-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: var(--r-btn);
  font-size: 13.5px;
  color: var(--ink2);
  text-align: left;
  transition: background .16s, color .16s;
}
.ws-nav-item .ico { width: 16px; text-align: center; opacity: .85; }
.ws-nav-item:hover { background: var(--surface2); color: var(--ink); }
.ws-nav-item.active { background: var(--soft); color: var(--deep); font-weight: 600; }
.ws-nav-item.active::before {
  content: '';
  position: absolute; left: 0; top: 50%;
  transform: translateY(-50%);
  width: 3px; height: 16px;
  border-radius: 2px;
  background: var(--primary);
}
.ws-nav-item.disabled { opacity: .45; cursor: not-allowed; }
.ws-nav-item.disabled:hover { background: none; color: var(--ink2); }
.ws-nav-item .dev {
  margin-left: auto;
  font-size: 9px;
  padding: 2px 6px;
  border-radius: 6px;
  background: var(--surface2);
  border: 1px solid var(--line);
  color: var(--muted);
}

.ws-side-foot { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }
.ws-user {
  padding: 10px;
  border-radius: 12px;
  background: var(--surface2);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 10px;
}
.ws-user .avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--soft);
  color: var(--deep);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 600;
  flex: none;
}
.ws-user .meta { min-width: 0; }
.ws-user .n { font-size: 13px; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ws-user .r { font-size: 10.5px; color: var(--muted); margin-top: 2px; }
.ws-logout {
  width: 100%;
  height: 36px;
  border-radius: var(--r-btn);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  font-size: 12.5px;
  transition: all .16s;
}
.ws-logout:hover { color: var(--ink); border-color: var(--primary); }

.ws-main { background: var(--bg); padding: 22px 24px 60px; min-width: 0; }
.ws-top { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 20px; }
.ws-title { font-size: 26px; font-weight: 600; color: var(--ink); }
.ws-title small { font-size: 12px; font-weight: 400; color: var(--muted); margin-left: 10px; }
.ws-top-actions { display: flex; align-items: center; gap: 10px; }

.btn-ghost {
  height: 36px;
  padding: 0 14px;
  border-radius: var(--r-btn);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink2);
  font-size: 12.5px;
  transition: all .16s;
}
.btn-ghost:hover { background: var(--soft); border-color: var(--primary); color: var(--primary); }
.btn-ghost.accent { color: var(--primary); border-color: rgba(222, 117, 48, .35); }
.btn-danger-ghost {
  padding: 5px 10px;
  border-radius: 7px;
  font-size: 11.5px;
  color: var(--bad);
  border: 1px solid rgba(192, 57, 43, .28);
  background: var(--surface);
}
.btn-danger-ghost:hover { background: #FCEDEB; }

.ws-panel { display: none; }
.ws-panel.active { display: block; }

/* 统计卡 */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 16px; }
.stat-card {
  padding: 18px 18px 16px;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}
.stat-card .k { font-size: 11.5px; color: var(--muted); }
.stat-card .v { font-size: 30px; font-weight: 600; margin: 7px 0 4px; color: var(--ink); }
.stat-card .v.cyan { color: var(--primary); }
.stat-card .v.green { color: var(--ok); }
.stat-card .v.amber { color: var(--warn); }
.stat-card .s { font-size: 11px; color: var(--muted); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 18px 20px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-card);
}
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.card-head h3 {
  position: relative;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  padding-left: 11px;
}
.card-head h3::before {
  content: '';
  position: absolute; left: 0; top: 50%;
  transform: translateY(-50%);
  width: 3px; height: 12px;
  border-radius: 2px;
  background: var(--primary);
}
.card-head .hint { font-size: 11.5px; color: var(--muted); }

/* 表格 */
.data-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.data-table thead th {
  text-align: left;
  padding: 9px 10px;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.data-table tbody td {
  padding: 11px 10px;
  border-bottom: 1px solid var(--line);
  color: var(--ink2);
  vertical-align: middle;
}
.data-table tbody tr:hover { background: var(--surface2); }
.data-table tbody tr:last-child td { border-bottom: none; }
.name-cell { font-weight: 600; color: var(--ink); }
.name-cell small { display: block; font-size: 10.5px; color: var(--muted); font-weight: 400; margin-top: 2px; }
.empty-state { padding: 34px 20px; text-align: center; color: var(--muted); font-size: 13px; line-height: 1.9; }
.empty-state .big { font-size: 24px; display: block; margin-bottom: 8px; opacity: .7; }

.tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 10.5px;
  font-weight: 600;
  white-space: nowrap;
}
.tag.cyan { background: var(--soft); color: var(--deep); }
.tag.blue { background: var(--soft); color: var(--deep); }
.tag.green { background: #EAF4EE; color: var(--ok); }
.tag.amber { background: #FBF2DC; color: var(--warn); }
.tag.red { background: #FBEDEB; color: var(--bad); }
.tag.gray { background: var(--surface2); color: var(--muted); border: 1px solid var(--line); }

/* 进度条 */
.bar { height: 6px; border-radius: 4px; background: var(--line); overflow: hidden; }
.bar > span { display: block; height: 100%; border-radius: 4px; background: var(--primary); transition: width .4s; }
.bar.green > span { background: var(--ok); }

/* 通用输入框 */
.ws-input {
  height: 36px;
  padding: 0 12px;
  border-radius: var(--r-btn);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-size: 12.5px;
  outline: none;
  transition: border-color .16s, box-shadow .16s;
}
.ws-input:hover { border-color: rgba(222, 117, 48, .4); }
.ws-input:focus { border-color: var(--primary); box-shadow: 0 0 0 2px rgba(222, 117, 48, .12); }

/* 表单 */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.form-grid .full { grid-column: 1 / -1; }
.f-field label { display: block; font-size: 11.5px; color: var(--ink2); margin-bottom: 6px; }
.f-field input, .f-field select, .f-field textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-size: 13px;
  outline: none;
  transition: border-color .16s, box-shadow .16s;
}
.f-field textarea { resize: vertical; min-height: 74px; line-height: 1.6; }
.f-field input:focus, .f-field select:focus, .f-field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(222, 117, 48, .12);
}
.form-actions { margin-top: 16px; display: flex; align-items: center; gap: 12px; }
.btn-submit {
  height: 40px;
  padding: 0 26px;
  border-radius: var(--r-btn);
  background: var(--primary);
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  transition: background .16s;
}
.btn-submit:hover { background: var(--deep); }
.btn-submit:disabled { background: var(--line); color: var(--muted); cursor: not-allowed; }
.form-msg { font-size: 12px; min-height: 18px; }
.form-msg.err { color: var(--bad); }
.form-msg.ok { color: var(--ok); }

/* 学生多选 */
.student-picker {
  max-height: 170px;
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 8px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  background: var(--surface2);
}
.student-picker label {
  display: flex; align-items: center; gap: 7px;
  padding: 6px 8px;
  border-radius: 7px;
  font-size: 12px;
  color: var(--ink2);
  cursor: pointer;
  border: 1px solid transparent;
}
.student-picker label:hover { background: var(--surface); border-color: var(--line); }
.student-picker input { accent-color: var(--primary); }
.picker-empty { font-size: 12px; color: var(--muted); padding: 18px; text-align: center; }

/* 任务卡列表 */
.assign-item {
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface2);
  margin-bottom: 10px;
}
.assign-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.assign-title { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.assign-req { font-size: 11.5px; color: var(--muted); line-height: 1.7; margin-top: 4px; }
.assign-meta { display: flex; flex-wrap: wrap; gap: 10px; font-size: 10.5px; color: var(--muted); margin: 8px 0 10px; }
.assign-actions { display: flex; gap: 8px; align-items: center; justify-content: flex-end; margin-top: 8px; }

/* 学生详情 */
.detail-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 18px; }
.kv-row { display: flex; gap: 8px; flex-wrap: wrap; font-size: 12px; color: var(--ink2); margin-bottom: 12px; }
.kv-row b { color: var(--primary); }
.module-row { margin-bottom: 10px; }
.module-row .top { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--muted); margin-bottom: 5px; }
.rank-list { display: grid; gap: 8px; }
.rank-item { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 9px; background: var(--surface2); border: 1px solid var(--line); font-size: 12px; }
.rank-no { width: 20px; height: 20px; border-radius: 6px; background: var(--soft); color: var(--deep); font-size: 10.5px; display: flex; align-items: center; justify-content: center; font-weight: 700; flex: none; }
.rank-item .n { flex: 1; min-width: 0; color: var(--ink2); }
.rank-item .v { color: var(--primary); font-weight: 600; }

/* 提示条 */
.notice {
  padding: 11px 14px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: var(--surface2);
  color: var(--ink2);
  font-size: 11.5px;
  line-height: 1.7;
  margin-bottom: 16px;
}
.notice.warn { border-color: #EEDCB6; background: #FBF6E9; color: #7A5E1B; }

/* 抽屉 */
.drawer-mask { position: fixed; inset: 0; z-index: 60; background: rgba(51, 38, 28, .28); display: none; }
.drawer-mask.open { display: block; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 61;
  width: min(460px, 92vw);
  background: var(--surface);
  border-left: 1px solid var(--line);
  box-shadow: -24px 0 70px rgba(51, 38, 28, .10);
  transform: translateX(100%);
  transition: transform .28s ease;
  padding: 24px 24px 40px;
  overflow-y: auto;
}
.drawer.open { transform: translateX(0); }
.drawer-head { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 18px; }
.drawer-head h3 { font-size: 17px; font-weight: 600; }
.drawer-head small { display: block; color: var(--muted); font-size: 11px; margin-top: 4px; font-weight: 400; }
.drawer-close { padding: 6px 10px; border-radius: 8px; border: 1px solid var(--line); color: var(--muted); font-size: 12px; }

/* 模态 */
.modal-mask {
  position: fixed; inset: 0; z-index: 70;
  background: rgba(51, 38, 28, .30);
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.modal-mask.open { display: flex; }
.modal-box {
  width: min(520px, 94vw);
  max-height: 88vh;
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: var(--shadow-float);
}
.modal-box h3 { font-size: 17px; font-weight: 600; margin-bottom: 4px; }
.modal-box .sub { font-size: 11.5px; color: var(--muted); margin-bottom: 18px; }

/* ============ 自适应 ============ */
@media (max-width: 1024px) {
  .login-shell { grid-template-columns: 1fr; min-height: auto; }
  .login-brand { padding: 34px 34px 30px; border-right: none; border-bottom: 1px solid var(--line); min-height: 220px; }
  .brand-title { font-size: 46px; }
  .brand-slogan { max-width: none; }
  .brand-points { grid-template-columns: repeat(2, 1fr); }
  .brand-foot { position: static; margin-top: 24px; text-align: left; }
  .login-panel { padding: 32px 34px 34px; }
  .work-shell { grid-template-columns: 64px 1fr; }
  .ws-sidebar { padding: 18px 8px 14px; align-items: center; }
  .ws-brand .name, .ws-brand .sub, .ws-nav-item span:not(.ico), .ws-user, .ws-logout, .ws-nav-item .dev { display: none; }
  .ws-brand { padding: 0; }
  .ws-nav-item { justify-content: center; padding: 10px 0; width: 44px; }
  .ws-side-foot { margin-top: auto; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-grid { grid-template-columns: 1fr; }
  .student-picker { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  body.login-body { padding: 0; }
  .login-shell { border: none; border-radius: 0; min-height: 100vh; box-shadow: none; }
  .login-brand { padding: 28px 22px 24px; }
  .brand-points { grid-template-columns: 1fr; gap: 10px; }
  .brand-point { font-size: 12.5px; }
  .login-panel { padding: 28px 22px 30px; }
  .role-grid { grid-template-columns: 1fr; }
  .role-card { display: flex; align-items: center; gap: 12px; padding: 12px; }
  .role-icon { margin: 0; }
  .role-name { display: inline; }
  .role-desc { margin: 0; }
  .role-check { top: 50%; transform: translateY(-50%); right: 10px; }
  .work-shell { grid-template-columns: 1fr; }
  .ws-sidebar { position: relative; height: auto; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: flex-start; }
  .ws-brand .name, .ws-brand .sub { display: block; }
  .ws-nav { flex-direction: row; flex-wrap: wrap; }
  .ws-nav-item span:not(.ico) { display: inline; }
  .ws-nav-item { width: auto; padding: 8px 12px; }
  .ws-nav-item.active::before { display: none; }
  .ws-side-foot { display: none; }
  .stat-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .register-extra { grid-template-columns: 1fr; }
  .ws-main { padding: 18px 16px 40px; }
  .ws-title { font-size: 20px; }
}
