:root {
  --navy: #172554;
  --navy-2: #243b7b;
  --ink: #172033;
  --muted: #74809a;
  --line: #e8ebf2;
  --surface: #ffffff;
  --canvas: #f6f7fb;
  --blue: #4264d7;
  --blue-soft: #edf1ff;
  --green: #18a87a;
  --green-soft: #e8f8f1;
  --orange: #df8a31;
  --orange-soft: #fff4e7;
  --red: #db5b63;
  --red-soft: #ffedef;
  --purple: #8667d9;
  --purple-soft: #f1edff;
  --shadow: 0 12px 30px rgba(27, 44, 94, .07);
  --radius-lg: 20px;
  --radius-md: 13px;
  --radius-sm: 9px;
}

* { box-sizing: border-box; }
html { background: var(--canvas); }
body { margin: 0; color: var(--ink); background: var(--canvas); font-family: Inter, "Noto Sans SC", sans-serif; font-size: 14px; }
body.auth-pending .app-shell { visibility: hidden; }
body.auth-required .app-shell { display: none; }
body.auth-required .auth-screen { display: grid; }
.auth-screen { min-height: 100vh; place-items: center; padding: 24px; background: radial-gradient(circle at 20% 10%, #eef2ff 0, transparent 35%), var(--canvas); }
.auth-card { width: min(410px, 100%); padding: 38px 36px 32px; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 20px 60px rgba(27,44,94,.12); }
.auth-brand-mark { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 22px; border-radius: 14px; color: #fff; background: linear-gradient(145deg, #6a83e9, #3856bb); font-size: 22px; font-weight: 800; box-shadow: 0 8px 18px rgba(66,100,215,.22); }
.auth-title { margin: 0; font-size: 27px; letter-spacing: -.8px; }
.auth-description { margin: 9px 0 24px; color: var(--muted); font-size: 13px; }
.auth-mode-switch { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 0 0 20px; }
.auth-mode-switch .button { height: 36px; padding: 0 10px; font-size: 12px; }
.auth-form { display: grid; gap: 15px; }
.auth-form[hidden] { display: none !important; }
.auth-form .form-field { gap: 7px; }
.auth-form .form-field > span { color: #657188; font-size: 12px; font-weight: 600; }
.auth-submit { width: 100%; height: 42px; margin-top: 3px; }
.password-input-wrap { position: relative; }
.password-input-wrap .text-input { padding-right: 52px; }
.password-toggle { position: absolute; top: 50%; right: 9px; transform: translateY(-50%); border: 0; padding: 3px 4px; color: var(--blue); background: transparent; font-size: 11px; }
.password-toggle:hover { text-decoration: underline; }
.auth-field-hint { display: block; min-height: 16px; margin-top: -2px; color: #b7444d; font-size: 11px; line-height: 1.45; }
.auth-field-hint[hidden] { display: none; }
.text-input.auth-invalid { border-color: #e1787f; background: #fffafb; }
.text-input.auth-valid { border-color: #7ac5a6; }
.remember-account { display: flex; align-items: center; gap: 6px; margin-top: -4px; color: #74809a; font-size: 12px; cursor: pointer; }
.remember-account input { width: 14px; height: 14px; accent-color: var(--blue); }
.auth-inline-link { justify-self: center; border: 0; padding: 0; color: var(--blue); background: transparent; font-size: 12px; line-height: 1.5; }
.auth-inline-link:hover { color: #294bbd; text-decoration: underline; }
.auth-error { margin: -2px 0 0; padding: 9px 11px; border-radius: 8px; color: #b7444d; background: var(--red-soft); font-size: 12px; line-height: 1.5; }
.auth-hint { margin: 20px 0 0; color: #9aa5b7; font-size: 11px; line-height: 1.6; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.app-shell { display: flex; min-height: 100vh; }
.sidebar { width: 248px; flex: 0 0 248px; color: #dce4ff; background: var(--navy); padding: 27px 15px 18px; display: flex; flex-direction: column; position: relative; z-index: 10; }
.brand { display: flex; align-items: center; gap: 11px; padding: 0 10px; }
.brand-mark { width: 34px; height: 34px; border-radius: 10px; color: #fff; background: linear-gradient(145deg, #6a83e9, #3856bb); display: grid; place-items: center; font-weight: 800; box-shadow: 0 5px 13px rgba(0,0,0,.18); }
.brand-name { color: #fff; font-weight: 700; letter-spacing: .2px; }
.brand-subtitle { color: #94a4da; font-size: 11px; margin-top: 3px; }
.workspace-switcher { display: flex; align-items: center; gap: 9px; margin: 30px 5px 26px; padding: 10px 10px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.08); border-radius: 12px; }
.workspace-avatar { width: 29px; height: 29px; border-radius: 9px; background: #7087eb; color: white; display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.workspace-copy { min-width: 0; flex: 1; display: grid; gap: 3px; }.workspace-copy span { color: #fff; font-weight: 600; font-size: 12px; }.workspace-copy small { color: #98a5d0; font-size: 10px; white-space: nowrap; }.workspace-caret { color: #aeb9dd; font-size: 16px; }
.nav-menu { display: grid; gap: 5px; }.nav-section-label { padding: 0 12px 7px; color: #8799d1; font-size: 11px; font-weight: 600; letter-spacing: 1px; }.nav-section-spaced { margin-top: 22px; }
.nav-item { border: 0; border-radius: 10px; color: #adb9dd; background: transparent; display: flex; align-items: center; gap: 12px; padding: 11px 12px; text-align: left; transition: .2s; }.nav-item[hidden] { display: none; }.nav-item:hover { color: white; background: rgba(255,255,255,.08); }.nav-item.active { color: white; background: #354d98; box-shadow: inset 3px 0 0 #92a9ff; }.nav-icon { width: 17px; color: #aebcf0; text-align: center; font-size: 17px; }.nav-item.active .nav-icon { color: #fff; }
 .sidebar-bottom { margin-top: auto; }.sync-status { display: flex; gap: 8px; align-items: center; color: #9baad8; font-size: 11px; padding: 12px; border-top: 1px solid rgba(255,255,255,.09); }.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #53d2a7; box-shadow: 0 0 0 3px rgba(83,210,167,.12); }.sidebar-footer { display: flex; align-items: center; gap: 9px; padding: 13px 10px 0; color: #d7def5; font-size: 12px; }.mini-avatar { width: 27px; height: 27px; background: #f3d0ad; color: #7a4828; border-radius: 50%; display: inline-grid; place-items: center; font-size: 11px; font-weight: 700; }.icon-button { border: 0; color: var(--muted); background: transparent; width: 34px; height: 34px; border-radius: 9px; display: inline-grid; place-items: center; }.icon-button:hover { background: var(--blue-soft); color: var(--blue); }.sidebar-settings { margin-left: auto; color: #95a5d2; }.logout-button { border: 1px solid rgba(255,255,255,.16); border-radius: 7px; padding: 5px 8px; color: #b8c4eb; background: transparent; font-size: 11px; }.logout-button:hover { color: #fff; background: rgba(255,255,255,.1); }
.main-content { min-width: 0; flex: 1; }.topbar { height: 70px; display: flex; align-items: center; justify-content: space-between; padding: 0 38px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.82); backdrop-filter: blur(10px); }.breadcrumbs { display: flex; gap: 10px; align-items: center; color: #a0a8ba; font-size: 13px; }.breadcrumbs strong { color: var(--ink); }.breadcrumb-separator { color: #c6cada; }.topbar-actions { display: flex; align-items: center; gap: 13px; }.topbar-action { border: 1px solid var(--line); color: #9aa3b6; background: white; border-radius: 9px; height: 35px; padding: 0 10px; display: flex; align-items: center; gap: 8px; }.topbar-action span:first-child { font-size: 20px; line-height: 0; color: #53617d; }.topbar-action kbd { border: 1px solid #e3e6ed; border-radius: 5px; background: #fafbfc; font-size: 10px; padding: 3px 5px; color: #9aa3b6; }.notification-button { position: relative; font-size: 21px; }.notification-button i { position: absolute; right: 6px; top: 6px; width: 5px; height: 5px; background: var(--red); border-radius: 50%; }.user-chip { border: 0; background: transparent; display: flex; align-items: center; gap: 8px; color: #69748b; }.user-chip-name { color: var(--ink); font-weight: 600; font-size: 12px; }.mobile-menu-button { display: none; border: 0; background: transparent; font-size: 21px; color: var(--ink); }
.page-container { max-width: 1440px; margin: 0 auto; padding: 35px 38px 55px; }.page-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 25px; margin-bottom: 30px; }.eyebrow { color: var(--blue); font-size: 12px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; margin-bottom: 10px; }.page-title { font-size: 27px; letter-spacing: -.8px; margin: 0; }.page-description { color: var(--muted); margin: 9px 0 0; font-size: 13px; }.heading-actions { display: flex; gap: 10px; }
.button { border: 1px solid var(--line); border-radius: 9px; height: 38px; padding: 0 14px; background: #fff; color: #59657e; display: inline-flex; align-items: center; justify-content: center; gap: 7px; font-weight: 600; }.button:hover { border-color: #c7d1ed; color: var(--blue); }.button-primary { color: white; background: var(--blue); border-color: var(--blue); box-shadow: 0 7px 14px rgba(66,100,215,.17); }.button-primary:hover { color: white; background: #3658ce; }.button-quiet { border-color: transparent; background: transparent; }.button-danger { color: var(--red); }.full-width { width: 100%; }
.danger-link { color: var(--red); }
.table-subtext { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; font-weight: 400; }
.status-pill { display: inline-flex; align-items: center; padding: 4px 9px; border-radius: 999px; font-size: 11px; font-weight: 700; }.status-pill.success { color: #17734c; background: #e6f7ee; }.status-pill.warning { color: #9a6817; background: #fff3d9; }.status-pill.danger { color: #a23d4d; background: #fde9ed; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 22px; }.stat-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 19px 19px 16px; box-shadow: var(--shadow); position: relative; overflow: hidden; }.stat-card::after { content: ""; position: absolute; width: 80px; height: 80px; border-radius: 50%; right: -35px; bottom: -35px; background: var(--blue-soft); }.stat-top { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 12px; }.stat-icon { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 10px; color: var(--blue); background: var(--blue-soft); font-size: 17px; }.stat-number { font-size: 28px; letter-spacing: -1px; font-weight: 800; margin: 15px 0 5px; }.stat-foot { color: #9ca6b8; font-size: 11px; }.stat-foot strong { color: var(--green); font-weight: 600; }.stat-card:nth-child(2) .stat-icon { color: var(--orange); background: var(--orange-soft); }.stat-card:nth-child(2)::after { background: var(--orange-soft); }.stat-card:nth-child(3) .stat-icon { color: var(--green); background: var(--green-soft); }.stat-card:nth-child(3)::after { background: var(--green-soft); }.stat-card:nth-child(4) .stat-icon { color: var(--purple); background: var(--purple-soft); }.stat-card:nth-child(4)::after { background: var(--purple-soft); }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(320px, .95fr); gap: 20px; }.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }.card-header { padding: 20px 22px 14px; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }.card-title { margin: 0; font-size: 15px; }.card-caption { margin: 6px 0 0; font-size: 12px; color: #9ca5b7; }.link-button { border: 0; background: transparent; color: var(--blue); font-size: 12px; font-weight: 600; padding: 4px 0; }.student-table-wrap { overflow-x: auto; }.student-table { width: 100%; border-collapse: collapse; }.student-table th { color: #a0a8b8; font-size: 11px; text-align: left; font-weight: 500; padding: 9px 22px; white-space: nowrap; }.student-table td { border-top: 1px solid #f1f2f6; padding: 13px 22px; white-space: nowrap; }.student-row { cursor: pointer; }.student-row:hover td { background: #fbfcff; }.student-person { display: flex; align-items: center; gap: 10px; }.person-avatar { width: 31px; height: 31px; border-radius: 50%; color: #6e4a2d; background: #f3d4b5; display: grid; place-items: center; font-size: 12px; font-weight: 700; }.person-avatar.blue { background: #cbd8ff; color: #314d9d; }.person-avatar.green { background: #c8eedf; color: #237859; }.person-avatar.purple { background: #e5d8ff; color: #6544a9; }.person-name { color: var(--ink); font-size: 12px; font-weight: 700; }.person-sub { color: #a3adbd; font-size: 10px; margin-top: 3px; }.course-name { color: #56627c; font-size: 12px; }.score { font-weight: 700; color: var(--ink); }.follow-date { color: #7f8a9f; font-size: 12px; }.follow-date.overdue { color: var(--red); font-weight: 600; }.level-badge { display: inline-flex; align-items: center; gap: 5px; border-radius: 20px; padding: 5px 9px; font-size: 11px; font-weight: 700; }.level-badge::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }.level-a { color: #df754d; background: #fff0e8; }.level-b { color: #4771d5; background: #edf2ff; }.level-c { color: #a77a2e; background: #fff7e5; }.level-d { color: #8791a4; background: #f1f3f6; }
.management-table { min-width: 1420px; table-layout: auto; }.management-table th, .management-table td { padding-left: 15px; padding-right: 15px; }.management-table thead th:nth-child(2), .management-table tbody tr[data-student-id] > td:nth-child(2) { width: 116px; min-width: 116px; }.management-table thead th:last-child, .management-table tbody tr[data-student-id] > td:last-child { width: 100px; min-width: 100px; max-width: 100px; }.management-table .column-filter { min-width: 0; }.imported-cell { color: #58657d; font-size: 12px; }.imported-cell:first-child { color: var(--ink); font-weight: 600; }
.person-avatar.hot { background: #ffd0c7; color: #c94c3b; }.level-s { color: #d43d35; background: #ffe4e1; }
.level-o { color: #8e44ad; background: #f2e5f8; }.bar-o { background: #9b59b6; }
.manual-status-select { min-width: 82px; height: 29px; padding: 0 7px; border: 1px solid #e1e5ee; border-radius: 7px; color: #68758c; background: #fff; font-size: 11px; outline: 0; }.manual-status-select:focus { border-color: #8ea4ec; box-shadow: 0 0 0 2px rgba(66,100,215,.1); }.manual-status-select option[value="已成交"] { color: #8e44ad; font-weight: 700; }
.bar-s { background: #d43d35; }
.filterable-heading { display: flex; align-items: center; gap: 5px; color: #7d899e; }.filterable-heading small { color: #a4adbd; font-size: 12px; }.sortable-heading { display: flex; align-items: center; gap: 5px; padding: 0; border: 0; color: #7d899e; background: transparent; font: inherit; cursor: pointer; }.sortable-heading small { color: #a4adbd; font-size: 12px; }.sortable-heading:hover, .sortable-heading.active { color: #5578d8; }.sortable-heading.active small { color: #5578d8; }.column-filter { display: block; width: 100%; min-width: 70px; height: 29px; margin-top: 8px; padding: 0 7px; border: 1px solid #e1e5ee; border-radius: 7px; color: #68758c; background: #fbfcfe; font-size: 11px; outline: 0; }.column-multi-filter { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px 7px; margin-top: 8px; }.column-multi-option { display: flex; align-items: center; gap: 4px; color: #68758c; font-size: 11px; cursor: pointer; white-space: nowrap; }.column-multi-option input { width: 13px; height: 13px; margin: 0; accent-color: #5578d8; }.column-filter-apply { width: 100%; margin-top: 5px; padding: 3px 6px; border: 1px solid #d9e1f4; border-radius: 5px; color: #5578d8; background: #f5f8ff; font-size: 11px; cursor: pointer; }.column-filter-apply:hover { background: #eaf0ff; }.column-filter:focus { border-color: #8ea4ec; box-shadow: 0 0 0 2px rgba(66,100,215,.1); }.filter-hint { color: #99a4b6; font-size: 11px; white-space: nowrap; }.button:disabled { color: #b5bdca; background: #f5f6f9; border-color: #edf0f4; cursor: not-allowed; box-shadow: none; }
.import-detail-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 16px; }.import-detail-item { min-width: 0; padding: 10px 11px; border-radius: 9px; background: #f8f9fc; }.import-detail-item .detail-value { overflow-wrap: anywhere; }
.todo-list { padding: 0 22px 12px; }.todo-item { display: flex; gap: 12px; padding: 14px 0; border-top: 1px solid #f1f2f6; }.todo-item:first-child { border-top: 0; }.todo-date { width: 34px; height: 34px; flex: 0 0 34px; border-radius: 9px; display: grid; place-items: center; background: var(--orange-soft); color: var(--orange); font-size: 11px; font-weight: 700; line-height: 1.1; text-align: center; }.todo-date.today { background: var(--red-soft); color: var(--red); }.todo-info { min-width: 0; flex: 1; }.todo-title { color: #4a5670; font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }.todo-meta { color: #a1aaba; font-size: 11px; margin-top: 5px; }.todo-action { border: 0; border-radius: 7px; color: var(--blue); background: var(--blue-soft); padding: 5px 7px; font-size: 11px; height: fit-content; }.empty-small { padding: 25px 0; text-align: center; color: var(--muted); font-size: 12px; }
.distribution-card { margin-top: 20px; padding-bottom: 22px; }.distribution-body { padding: 7px 22px 0; }.distribution-item { display: grid; grid-template-columns: 36px 1fr 34px; align-items: center; gap: 10px; margin: 15px 0; }.distribution-label { font-size: 12px; font-weight: 700; }.bar-track { height: 8px; border-radius: 10px; background: #f0f2f7; overflow: hidden; }.bar-fill { height: 100%; border-radius: inherit; }.bar-a { background: #df754d; }.bar-b { background: #5578d8; }.bar-c { background: #d1a451; }.bar-d { background: #b8c0ce; }.distribution-count { text-align: right; color: #7d899e; font-size: 12px; }
.content-card { padding-bottom: 5px; }.toolbar { display: flex; align-items: center; gap: 10px; padding: 17px 22px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }.search-input-wrap { flex: 1; min-width: 200px; position: relative; }.search-input-wrap span { position: absolute; top: 8px; left: 11px; color: #9ba5b8; font-size: 19px; }.text-input, .select-input, .form-textarea { width: 100%; border: 1px solid #e3e6ee; border-radius: 9px; color: var(--ink); outline: 0; background: #fff; transition: .2s; }.text-input, .select-input { height: 37px; padding: 0 11px; }.search-input { padding-left: 35px; }.form-textarea { padding: 11px; min-height: 86px; resize: vertical; }.text-input:focus, .select-input:focus, .form-textarea:focus { border-color: #8ea4ec; box-shadow: 0 0 0 3px rgba(66,100,215,.09); }.filter-select { width: 130px; }.table-footer { display: flex; justify-content: space-between; align-items: center; color: #9ca6b7; font-size: 11px; padding: 15px 22px; }.pagination { display: flex; gap: 5px; }.page-button { border: 1px solid var(--line); background: white; color: #74809a; height: 28px; min-width: 28px; border-radius: 7px; }.page-button.active { color: white; background: var(--blue); border-color: var(--blue); }
.knowledge-layout { display: grid; grid-template-columns: 220px 1fr; gap: 20px; }.category-card { padding: 13px 11px; height: fit-content; }.category-title { color: #a1a9b8; padding: 7px 10px 10px; font-size: 11px; font-weight: 700; }.category-item { display: flex; justify-content: space-between; color: #69758c; padding: 10px; border-radius: 9px; border: 0; width: 100%; background: transparent; text-align: left; font-size: 12px; }.category-item:hover, .category-item.active { color: var(--blue); background: var(--blue-soft); font-weight: 600; }.category-item span:last-child { color: #a7afbf; font-size: 11px; }.knowledge-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }.knowledge-card { padding: 18px; transition: transform .2s, box-shadow .2s; cursor: pointer; }.knowledge-card:hover { transform: translateY(-2px); box-shadow: 0 14px 35px rgba(27,44,94,.1); }.knowledge-type { display: flex; align-items: center; justify-content: space-between; margin-bottom: 13px; }.type-pill { color: var(--blue); background: var(--blue-soft); border-radius: 5px; font-size: 10px; padding: 5px 7px; }.type-pill.orange { color: var(--orange); background: var(--orange-soft); }.type-pill.green { color: var(--green); background: var(--green-soft); }.type-pill.purple { color: var(--purple); background: var(--purple-soft); }.knowledge-card h3 { margin: 0; font-size: 14px; line-height: 1.55; }.knowledge-card p { color: #8b96a9; font-size: 12px; line-height: 1.7; margin: 9px 0 15px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }.knowledge-footer { color: #a3acbc; display: flex; justify-content: space-between; font-size: 10px; }
.analytics-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }.chart-card { padding-bottom: 22px; }.chart-content { padding: 10px 22px; }.donut-layout { display: flex; gap: 25px; align-items: center; }.donut { width: 145px; height: 145px; border-radius: 50%; background: conic-gradient(#df754d 0 27%, #5578d8 27% 67%, #d1a451 67% 87%, #b8c0ce 87% 100%); display: grid; place-items: center; flex: 0 0 145px; }.donut::after { content: ""; width: 88px; height: 88px; border-radius: 50%; background: white; }.donut-center { position: absolute; text-align: center; }.donut-center strong { display: block; font-size: 22px; }.donut-center span { color: #9ba5b8; font-size: 10px; }.legend { display: grid; gap: 11px; }.legend-item { display: flex; align-items: center; gap: 8px; color: #79849a; font-size: 12px; }.legend-dot { width: 8px; height: 8px; border-radius: 50%; }.source-list { display: grid; gap: 17px; }.source-row { display: grid; grid-template-columns: 76px 1fr 42px; align-items: center; gap: 12px; color: #7d899d; font-size: 12px; }.source-row .bar-track { height: 9px; }.source-number { text-align: right; color: #4d5b75; font-weight: 700; }.funnel { display: grid; gap: 8px; }.funnel-row { display: flex; align-items: center; gap: 11px; }.funnel-label { width: 65px; color: #7d899d; font-size: 11px; }.funnel-track { flex: 1; height: 24px; background: #f0f2f7; border-radius: 5px; overflow: hidden; }.funnel-fill { height: 100%; background: linear-gradient(90deg, #5578d8, #89a0f0); color: white; display: flex; justify-content: flex-end; align-items: center; padding-right: 9px; font-size: 10px; font-weight: 600; min-width: 34px; }.trend-placeholder { height: 176px; position: relative; margin-top: 4px; background: repeating-linear-gradient(to bottom, transparent 0 43px, #eef0f5 44px 45px); }.trend-placeholder::before { content: ""; position: absolute; inset: 0; background: linear-gradient(155deg, transparent 0 29%, rgba(83,120,216,.16) 29% 30%, transparent 30% 47%, rgba(83,120,216,.16) 47% 48%, transparent 48% 64%, rgba(83,120,216,.16) 64% 65%, transparent 65%); clip-path: polygon(0 76%, 13% 63%, 25% 69%, 38% 40%, 50% 52%, 62% 28%, 74% 38%, 87% 15%, 100% 25%, 100% 100%, 0 100%); background-color: rgba(83,120,216,.06); }.trend-line { position: absolute; inset: 0; }.trend-line svg { width: 100%; height: 100%; overflow: visible; }.chart-labels { display: flex; justify-content: space-between; color: #a2aabb; font-size: 10px; margin-top: 8px; }
.modal-backdrop { position: fixed; inset: 0; z-index: 100; background: rgba(19,29,56,.42); display: grid; place-items: center; padding: 20px; backdrop-filter: blur(3px); }.modal-backdrop[hidden] { display: none; }.modal { width: min(650px, 100%); max-height: calc(100vh - 40px); overflow: auto; background: white; border-radius: 17px; box-shadow: 0 25px 70px rgba(19,29,56,.25); }.modal-header { display: flex; justify-content: space-between; align-items: flex-start; padding: 21px 24px 17px; border-bottom: 1px solid var(--line); }.modal-title { font-size: 18px; margin: 0; }.modal-subtitle { color: var(--muted); font-size: 12px; margin: 6px 0 0; }.modal-body { padding: 20px 24px; }.modal-footer { padding: 14px 24px 20px; display: flex; justify-content: flex-end; gap: 9px; }.close-button { border: 0; background: transparent; font-size: 21px; color: #a6afbf; }.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }.form-field { display: grid; gap: 7px; }.form-field.full { grid-column: 1 / -1; }.form-field label { color: #657188; font-size: 12px; font-weight: 600; }.form-field small { color: #a7afbd; font-size: 10px; }.detail-header { display: flex; align-items: center; gap: 14px; }.detail-avatar { width: 50px; height: 50px; font-size: 18px; }.detail-score { margin-left: auto; text-align: right; }.detail-score strong { font-size: 27px; }.detail-score small { display: block; color: #a0a9b8; font-size: 10px; }.detail-section { border-top: 1px solid var(--line); padding-top: 17px; margin-top: 18px; }.detail-section-title { font-size: 12px; font-weight: 700; margin-bottom: 12px; }.detail-fields { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }.detail-label { color: #9da6b7; font-size: 10px; margin-bottom: 5px; }.detail-value { color: #4c5a73; font-size: 12px; line-height: 1.6; }.timeline-item { display: flex; gap: 12px; padding: 10px 0; }.timeline-dot { flex: 0 0 8px; width: 8px; height: 8px; margin-top: 5px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); }.timeline-text { color: #66738a; font-size: 12px; line-height: 1.6; }.timeline-meta { display: block; color: #a5aebb; font-size: 10px; margin-top: 3px; }.score-rules { background: #f7f8fc; padding: 12px; border-radius: 10px; display: grid; gap: 6px; }.score-rule { display: flex; justify-content: space-between; color: #738097; font-size: 11px; }.score-rule strong { color: var(--green); }.toast { position: fixed; right: 25px; bottom: 25px; z-index: 200; color: #fff; background: #243b7b; border-radius: 9px; padding: 11px 15px; box-shadow: var(--shadow); opacity: 0; transform: translateY(12px); pointer-events: none; transition: .25s; font-size: 12px; }.toast.show { opacity: 1; transform: translateY(0); }
.note-callout { padding: 12px 14px; border-radius: 10px; background: #f7f8ff; color: #74809a; font-size: 12px; line-height: 1.7; }.note-callout strong { color: var(--blue); }.page-section-gap { margin-top: 21px; }
.batch-switcher { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: -10px 0 21px; padding: 7px; background: #eef1fb; border: 1px solid #e2e6f3; border-radius: 12px; }.batch-switcher-label { color: #66748f; font-size: 11px; font-weight: 700; padding: 0 8px; }.batch-tab { border: 0; border-radius: 8px; padding: 8px 11px; color: #74809a; background: transparent; font-size: 12px; }.batch-tab:hover { color: var(--blue); background: #fff; }.batch-tab.active { color: var(--blue); background: #fff; box-shadow: 0 2px 8px rgba(27,44,94,.08); font-weight: 700; }.batch-tab small { color: #a2acbd; margin-left: 4px; font-size: 10px; }.batch-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }.batch-clear-button, .batch-add-button { border-radius: 8px; padding: 7px 10px; font-size: 11px; cursor: pointer; }.batch-clear-button { color: var(--red); border: 1px dashed #e7b4b8; background: transparent; }.batch-add-button { color: #fff; border: 1px solid var(--blue); background: var(--blue); box-shadow: 0 5px 12px rgba(66,100,215,.16); }.batch-clear-button:hover { background: #fff5f4; }.batch-add-button:hover { color: #fff; border-color: #3658ce; background: #3658ce; }.batch-clear-button:disabled { color: #b5bdca; border-color: #edf0f4; background: transparent; cursor: not-allowed; }
.import-dropzone { position: relative; border: 1.5px dashed #b9c5e8; border-radius: 14px; background: #f8f9ff; min-height: 145px; display: grid; place-items: center; align-content: center; gap: 7px; color: #5e6d8d; cursor: pointer; transition: .2s; }.import-dropzone:hover { border-color: var(--blue); background: #f2f5ff; }.import-dropzone strong { color: var(--ink); font-size: 13px; }.import-dropzone span { color: #9aa5b7; font-size: 11px; }.import-file-input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }.import-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; color: var(--blue); background: var(--blue-soft); font-size: 20px; }.import-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; }.import-actions span { color: #9aa5b7; font-size: 11px; text-align: right; }.import-preview-title { display: flex; justify-content: space-between; margin: 21px 0 9px; color: #68758c; font-size: 12px; font-weight: 700; }.import-preview-title span { color: #a2abbc; font-size: 10px; font-weight: 400; }.import-preview-table { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }.import-preview-table .student-table th, .import-preview-table .student-table td { padding: 10px 12px; }.import-preview-table .student-table td { font-size: 11px; }
.batch-picker { position: relative; min-width: 250px; flex: 1 1 320px; max-width: 480px; }.batch-picker-control { position: relative; }.batch-picker-input { padding-right: 34px; }.batch-picker-control > span { position: absolute; right: 12px; top: 8px; color: #8d98ac; pointer-events: none; }.batch-picker-menu { position: absolute; z-index: 20; top: calc(100% + 6px); left: 0; right: 0; max-height: 260px; overflow-y: auto; padding: 6px; border: 1px solid #e0e5f1; border-radius: 10px; background: #fff; box-shadow: 0 14px 32px rgba(27,44,94,.13); }.batch-picker-menu[hidden] { display: none; }.batch-picker-option { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 11px; border: 0; border-radius: 7px; color: #66748f; background: transparent; text-align: left; font-size: 12px; cursor: pointer; }.batch-picker-option:hover, .batch-picker-option.active { color: var(--blue); background: var(--blue-soft); font-weight: 600; }.batch-picker-option small { flex: 0 0 auto; color: #a2acbd; font-size: 10px; font-weight: 400; }.import-batch-field { display: grid; gap: 7px; margin-bottom: 15px; }.import-batch-field label { color: #657188; font-size: 12px; font-weight: 600; }
.team-owner-filter { width: 180px; flex: 0 0 180px; }
.phone-copy-cell { display: inline-flex; align-items: center; gap: 7px; }.copy-phone-button { width: 23px; height: 23px; padding: 0; border: 1px solid #dce3f2; border-radius: 6px; color: #5578d8; background: #f7f9ff; font-size: 13px; line-height: 1; cursor: pointer; }.copy-phone-button:hover { color: #fff; border-color: var(--blue); background: var(--blue); }.analytics-batch-select { min-width: 170px; width: auto; }
.management-table .student-row { cursor: default; }
.attendance-chart-card { grid-column: 1 / -1; }.attendance-chart-content { padding-top: 4px; }.attendance-line-chart { display: block; width: 100%; height: 230px; overflow: visible; }
.conversion-funnel-card { grid-column: 1 / -1; }.conversion-funnel-card .funnel { gap: 10px; }.conversion-funnel-card .funnel-label { width: 86px; }.conversion-funnel-card .funnel-fill { min-width: 78px; text-align: right; }
.channel-distribution-card, .channel-analysis-card { grid-column: 1 / -1; }.channel-analysis-list { display: grid; gap: 8px; }.channel-analysis-row { display: grid; grid-template-columns: minmax(160px, 1fr) 150px 150px; align-items: center; gap: 16px; padding: 11px 13px; border: 1px solid #edf0f5; border-radius: 9px; background: #fbfcfe; }.channel-analysis-name, .channel-analysis-metric { display: grid; min-width: 0; gap: 3px; }.channel-analysis-name strong { overflow: hidden; color: #405276; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }.channel-analysis-name small, .channel-analysis-metric small { color: #9aa5b6; font-size: 10px; }.channel-analysis-metric { text-align: right; }.channel-analysis-metric strong { color: #5578d8; font-size: 13px; }
.pre-layer-conversion-card { grid-column: 1 / -1; }.pre-layer-conversion-list { display: grid; gap: 11px; }.pre-layer-conversion-row { display: grid; grid-template-columns: 210px 1fr 45px; align-items: center; gap: 14px; }.pre-layer-conversion-name { display: grid; min-width: 0; gap: 4px; }.pre-layer-conversion-name small { color: #9aa5b6; font-size: 10px; }.pre-layer-conversion-row > strong { color: #5578d8; font-size: 12px; text-align: right; }
.followup-priority-card { grid-column: 1 / -1; }.followup-priority-card .card-header { align-items: center; }.followup-priority-tip { padding: 5px 9px; border-radius: 12px; color: #a34d52; background: #fff0f1; font-size: 11px; font-weight: 700; }.followup-priority-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; padding: 0 24px 24px; }.followup-priority-group { min-width: 0; padding: 15px; border: 1px solid #edf0f5; border-radius: 12px; background: #fbfcfe; }.followup-priority-group-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }.followup-priority-group-title > strong { color: #68758c; font-size: 12px; }.followup-priority-list { display: grid; gap: 7px; }.followup-priority-item { display: flex; width: 100%; align-items: center; gap: 9px; padding: 8px; border: 1px solid transparent; border-radius: 9px; color: inherit; background: #fff; text-align: left; cursor: pointer; }.followup-priority-item:hover { border-color: #dbe3f6; background: #f7f9ff; }.followup-priority-avatar { display: grid; width: 28px; height: 28px; flex: 0 0 auto; place-items: center; border-radius: 50%; color: #5578d8; background: #eaf0ff; font-size: 12px; font-weight: 700; }.followup-priority-info { display: grid; min-width: 0; flex: 1; gap: 3px; }.followup-priority-info strong { overflow: hidden; color: #405276; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }.followup-priority-info small { overflow: hidden; color: #9aa5b6; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }.followup-priority-score { flex: 0 0 auto; color: #d46b5e; font-size: 11px; font-weight: 700; }.followup-priority-more { margin-top: 9px; color: #9aa5b6; font-size: 11px; }
.survey-detail-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }.survey-question { margin-top: 13px; }.survey-analytics-section { grid-column: 1 / -1; padding-top: 4px; }.survey-analytics-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 2px 0 12px; }.survey-toggle-button { flex: 0 0 auto; }.survey-summary-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }.survey-summary-item { min-width: 0; padding: 13px 14px; border: 1px solid #e7ebf3; border-radius: 11px; background: #fafbfe; }.survey-summary-label { color: #8a95a8; font-size: 11px; }.survey-summary-value { margin-top: 8px; overflow: hidden; color: #405276; font-size: 13px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }.survey-summary-count { margin-top: 5px; color: #5578d8; font-size: 12px; font-weight: 700; }.survey-analytics-details[hidden] { display: none; }.survey-analytics-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }.survey-chart-card { min-width: 0; }.survey-chart-card .source-row > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.survey-talk-track { margin-top: 16px; padding: 16px; border: 1px solid #e3e9f8; border-radius: 13px; background: #f8faff; }.survey-talk-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }.survey-talk-header .detail-section-title { margin-bottom: 4px; color: #405276; }.survey-talk-caption { color: #9aa5b6; font-size: 10px; }.survey-talk-copy { flex: 0 0 auto; }.survey-talk-block { margin-top: 12px; padding: 12px 13px; border-radius: 10px; background: #fff; }.survey-talk-block strong { display: block; margin-bottom: 7px; color: #5578d8; font-size: 11px; }.survey-talk-block p, .survey-talk-block li { margin: 0; color: #65738c; font-size: 12px; line-height: 1.75; }.survey-talk-block ol { margin: 0; padding-left: 20px; }.survey-talk-block li + li { margin-top: 5px; }.survey-talk-tip { margin-top: 12px; padding: 10px 12px; border-radius: 9px; color: #8a6a38; background: #fff8e9; font-size: 11px; line-height: 1.7; }.survey-talk-tip strong { color: #a87422; }
.pre-layer-badge { display: inline-flex; align-items: center; padding: 5px 8px; border-radius: 14px; font-size: 11px; font-weight: 700; white-space: nowrap; }.pre-layer-p1 { color: #8a5a2b; background: #fff1df; }.pre-layer-p2 { color: #a34d52; background: #ffebed; }.pre-layer-p3 { color: #4771a8; background: #eaf2ff; }.pre-layer-p4 { color: #4b7c63; background: #e8f6ed; }.pre-layer-p5 { color: #7655a5; background: #f1eaff; }
@media (max-width: 1050px) { .survey-summary-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .survey-detail-grid, .survey-analytics-grid, .survey-summary-grid { grid-template-columns: 1fr; }.survey-analytics-heading { align-items: flex-start; flex-direction: column; }.survey-toggle-button { width: 100%; } }
@media (max-width: 1050px) { .sidebar { width: 220px; flex-basis: 220px; }.topbar { padding: 0 24px; }.page-container { padding-left: 24px; padding-right: 24px; }.dashboard-grid { grid-template-columns: 1fr; }.analytics-grid { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .sidebar { position: fixed; transform: translateX(-100%); transition: transform .25s; height: 100vh; }.sidebar.open { transform: translateX(0); }.main-content { width: 100%; }.topbar { padding: 0 17px; height: 62px; }.mobile-menu-button { display: block; }.breadcrumbs span:first-child, .breadcrumb-separator { display: none; }.topbar-actions { gap: 5px; }.search-label, .topbar-action kbd, .user-chip-name, .user-chip > span:last-child { display: none; }.topbar-action { width: 35px; padding: 0; justify-content: center; }.page-container { padding: 25px 15px 45px; }.page-heading { display: block; margin-bottom: 22px; }.heading-actions { margin-top: 18px; }.stat-grid { grid-template-columns: 1fr 1fr; gap: 10px; }.stat-card { padding: 14px; }.stat-number { font-size: 24px; }.dashboard-grid { gap: 14px; }.card-header { padding: 17px 16px 12px; }.student-table th, .student-table td { padding-left: 16px; padding-right: 16px; }.knowledge-layout { grid-template-columns: 1fr; }.category-card { display: flex; gap: 5px; overflow-x: auto; padding: 9px; }.category-title { display: none; }.category-item { flex: 0 0 auto; width: auto; padding: 8px 10px; }.knowledge-grid { grid-template-columns: 1fr; }.form-grid, .detail-fields { grid-template-columns: 1fr; }.import-detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }.form-field.full { grid-column: auto; }.donut-layout { justify-content: center; }.source-row { grid-template-columns: 65px 1fr 34px; } }
@media (max-width: 760px) { .followup-priority-grid { grid-template-columns: 1fr; padding-left: 16px; padding-right: 16px; } }
@media (max-width: 760px) { .channel-analysis-row { grid-template-columns: 1fr 1fr; gap: 10px; }.channel-analysis-name { grid-column: 1 / -1; }.channel-analysis-metric { text-align: left; } }
@media (max-width: 760px) { .pre-layer-conversion-row { grid-template-columns: 150px 1fr 38px; gap: 8px; }.pre-layer-conversion-card .chart-content { padding-left: 16px; padding-right: 16px; } }
.clear-filters-button { flex: 0 0 auto; height: 30px; padding: 0 10px; font-size: 11px; color: var(--red); border-color: #e7b4b8; background: #fff; }.clear-filters-button:hover { color: var(--red); border-color: #d99aa0; background: #fff5f4; }.clear-filters-button:disabled { color: #b5bdca; border-color: #edf0f4; background: transparent; }
/* 独立管理员页面 */
.admin-page-shell { min-height: 100vh; padding: 42px clamp(20px, 5vw, 72px); background: #f5f7fb; color: #12213f; }
.admin-page-header { max-width: 1440px; margin: 0 auto 28px; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.admin-page-content { max-width: 1440px; margin: 0 auto; }
.admin-loading { padding: 48px; text-align: center; color: #68748a; }
.admin-filters { display: flex; flex-wrap: wrap; gap: 12px; padding: 0 24px 20px; }
.admin-filters .select-input { min-width: 180px; }
.admin-filters .text-input { min-width: 260px; flex: 1; }
.admin-student-table th, .admin-student-table td { white-space: nowrap; }
.admin-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.admin-detail-grid .import-detail-item { min-width: 0; padding: 14px; border: 1px solid #e8edf5; border-radius: 12px; background: #fafbfe; }
.admin-dashboard-grid { margin-bottom: 20px; }
.admin-approval-list { padding: 0 22px 12px; }
.admin-approval-item { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 0; border-top: 1px solid #f1f2f6; }
.admin-approval-item:first-child { border-top: 0; }
.admin-approval-item strong { display: block; color: #4a5670; font-size: 12px; }
.admin-approval-item span { display: block; max-width: 220px; overflow: hidden; color: #9ca6b7; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.admin-approval-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 12px; }
.empty-state { padding: 64px 24px; text-align: center; }
.empty-state h2 { margin: 0 0 10px; }
.empty-state p { color: #68748a; margin: 0 0 24px; }
@media (max-width: 760px) {
  .admin-page-shell { padding: 24px 14px; }
  .admin-page-header { display: block; }
  .admin-page-header .heading-actions { margin-top: 20px; }
  .admin-filters { padding-left: 14px; padding-right: 14px; }
  .admin-filters .select-input, .admin-filters .text-input { min-width: 100%; }
  .admin-detail-grid { grid-template-columns: 1fr; }
  .admin-approval-list { padding-left: 16px; padding-right: 16px; }
  .admin-approval-item span { max-width: 180px; }
}

/* 管理员独立工作区 */
.admin-app-shell { display: flex; min-height: 100vh; }
.admin-workspace-switcher { margin-bottom: 26px; }
.nav-count { min-width: 18px; height: 18px; margin-left: auto; display: inline-grid; place-items: center; border-radius: 9px; color: #fff; background: #d95c64; font-size: 10px; font-weight: 700; }
.admin-stat-blue { color: var(--blue); background: var(--blue-soft); }
.admin-stat-orange { color: var(--orange); background: var(--orange-soft); }
.admin-stat-green { color: var(--green); background: var(--green-soft); }
.admin-stat-purple { color: var(--purple); background: var(--purple-soft); }
.admin-approval-card { padding: 17px 0; }
.admin-approval-card small { display: block; margin-top: 5px; color: #9ca6b7; font-size: 11px; }
.admin-approval-list-large { padding: 0 22px 18px; }
.admin-approval-list-large .admin-approval-item { min-height: 76px; }
.admin-app-shell .admin-filters { padding-top: 20px; }
.modal.admin-modal-wide { width: min(1040px, 100%); }
@media (max-width: 760px) {
  .admin-app-shell { display: block; }
  .admin-app-shell .sidebar { z-index: 110; }
  .admin-app-shell .heading-actions { flex-wrap: wrap; }
  .admin-app-shell .admin-approval-item { align-items: flex-start; flex-direction: column; }
  .admin-app-shell .admin-approval-actions { width: 100%; }
  .admin-app-shell .admin-approval-actions .button { flex: 1; }
}
