/* ============================================================
   心语 — Apple × 心理咨询 设计系统
   ============================================================ */

/* ---------- CSS Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Apple 核心色 */
  --black:       #000000;
  --near-black:  #1d1d1f;
  --light-gray:  #f5f5f7;
  --warm-white:  #FAF9F6;
  --apple-blue:  #0071e3;
  --link-blue:   #0066cc;
  --bright-blue: #2997ff;

  /* 心理咨询温度色 */
  --soft-mint:   #e8f5e9;
  --soft-blue:   #e3f2fd;
  --soft-peach:  #fff3e0;
  --gentle-green:#4CAF50;

  /* 透明度层级 */
  --text-primary:    rgba(0,0,0,0.88);
  --text-secondary:  rgba(0,0,0,0.56);
  --text-tertiary:   rgba(0,0,0,0.36);
  --text-on-dark:    rgba(255,255,255,0.92);
  --text-on-dark-sec:rgba(255,255,255,0.60);

  /* 阴影 */
  --shadow-card:  0 4px 24px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 40px rgba(0,0,0,0.12);
  --shadow-float: 0 2px 16px rgba(0,0,0,0.06);

  /* 圆角 */
  --radius-sm:    8px;
  --radius-md:    12px;
  --radius-lg:    16px;
  --radius-xl:    20px;
  --radius-pill:  980px;

  /* 间距 */
  --space-xs:  8px;
  --space-sm:  16px;
  --space-md:  24px;
  --space-lg:  40px;
  --space-xl:  64px;
  --space-2xl: 96px;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text-primary);
  background: var(--warm-white);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.374px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---------- 导航栏（Apple 毛玻璃）---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 52px;
  background: rgba(255,255,255,0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--space-md);
}
.nav-brand {
  font-size: 18px; font-weight: 600; color: var(--near-black);
  letter-spacing: -0.28px; text-decoration: none; display: flex; align-items: center; gap: 8px;
}
.nav-brand .logo {
  width: 32px; height: 32px; border-radius: 8px;
  background: linear-gradient(135deg, #66BB6A, #43A047);
  display: flex; align-items: center; justify-content: center; font-size: 16px;
}
.nav-links { display: flex; gap: var(--space-sm); align-items: center; }
.nav-link {
  font-size: 13px; color: var(--text-secondary); text-decoration: none;
  padding: 6px 14px; border-radius: var(--radius-pill);
  transition: all 0.2s; letter-spacing: -0.12px;
}
.nav-link:hover { color: var(--near-black); background: rgba(0,0,0,0.04); }
.nav-link.active { color: var(--apple-blue); background: rgba(0,113,227,0.08); }

/* ---------- Hero 区块 ---------- */
.hero {
  min-height: 100vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: var(--space-2xl) var(--space-md);
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
  background: radial-gradient(ellipse at 50% 50%, rgba(102,187,106,0.06) 0%, transparent 60%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 16px; border-radius: var(--radius-pill);
  background: rgba(102,187,106,0.1); color: #388E3C;
  font-size: 13px; font-weight: 500; margin-bottom: var(--space-md);
  letter-spacing: -0.12px;
}
.hero-title {
  font-size: clamp(36px, 7vw, 64px);
  font-weight: 700; color: var(--near-black);
  line-height: 1.07; letter-spacing: -1.2px;
  margin-bottom: var(--space-sm);
}
.hero-title .accent {
  background: linear-gradient(135deg, #4CAF50, #66BB6A);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: clamp(17px, 2.5vw, 21px);
  color: var(--text-secondary); font-weight: 400;
  line-height: 1.38; letter-spacing: -0.28px;
  max-width: 560px; margin: 0 auto var(--space-lg);
}
.hero-cta { display: flex; gap: var(--space-sm); flex-wrap: wrap; justify-content: center; }

/* ---------- 按钮系统 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 28px; border-radius: var(--radius-pill);
  font-size: 15px; font-weight: 500; letter-spacing: -0.224px;
  border: none; cursor: pointer; transition: all 0.2s;
  text-decoration: none; line-height: 1.2;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--apple-blue); color: #fff;
  box-shadow: 0 2px 12px rgba(0,113,227,0.25);
}
.btn-primary:hover { background: #0077ed; box-shadow: 0 4px 20px rgba(0,113,227,0.35); }

.btn-dark {
  background: var(--near-black); color: #fff;
}
.btn-dark:hover { background: #000; }

.btn-outline {
  background: transparent; color: var(--apple-blue);
  border: 1.5px solid var(--apple-blue);
}
.btn-outline:hover { background: rgba(0,113,227,0.06); }

.btn-ghost {
  background: rgba(0,0,0,0.04); color: var(--near-black);
}
.btn-ghost:hover { background: rgba(0,0,0,0.08); }

.btn-lg { padding: 16px 36px; font-size: 17px; }
.btn-sm { padding: 8px 18px; font-size: 13px; }

/* ---------- 区块系统 ---------- */
.section {
  padding: var(--space-2xl) var(--space-md);
  max-width: 1080px; margin: 0 auto;
}
.section-dark {
  background: var(--near-black); color: var(--text-on-dark);
  padding: var(--space-2xl) var(--space-md);
}
.section-gray {
  background: var(--light-gray);
  padding: var(--space-2xl) var(--space-md);
}
.section-header {
  text-align: center; margin-bottom: var(--space-xl);
}
.section-label {
  font-size: 13px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 1.2px; color: var(--apple-blue);
  margin-bottom: var(--space-xs);
}
.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700; color: var(--near-black);
  line-height: 1.1; letter-spacing: -0.5px;
  margin-bottom: var(--space-sm);
}
.section-dark .section-title { color: var(--text-on-dark); }
.section-desc {
  font-size: 17px; color: var(--text-secondary);
  max-width: 480px; margin: 0 auto;
  line-height: 1.47; letter-spacing: -0.28px;
}
.section-dark .section-desc { color: var(--text-on-dark-sec); }

/* ---------- 卡片网格 ---------- */
.grid { display: grid; gap: var(--space-md); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-float);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 1px solid rgba(0,0,0,0.04);
}
.card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}
.card-icon {
  width: 48px; height: 48px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: var(--space-sm);
}
.card-title {
  font-size: 19px; font-weight: 600; color: var(--near-black);
  letter-spacing: -0.28px; margin-bottom: 6px;
}
.card-desc {
  font-size: 14px; color: var(--text-secondary);
  line-height: 1.43; letter-spacing: -0.224px;
}

/* ---------- 入口选择卡片 ---------- */
.entry-cards { display: flex; gap: var(--space-md); flex-wrap: wrap; justify-content: center; max-width: 640px; margin: 0 auto; }
.entry-card {
  flex: 1; min-width: 240px; max-width: 300px;
  background: #fff; border-radius: var(--radius-xl);
  padding: var(--space-xl) var(--space-lg);
  text-align: center; cursor: pointer;
  border: 1.5px solid rgba(0,0,0,0.06);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: var(--shadow-float);
}
.entry-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}
.entry-card.student:hover { box-shadow: 0 12px 40px rgba(76,175,80,0.15); }
.entry-card.teacher:hover { box-shadow: 0 12px 40px rgba(33,150,243,0.15); }
.entry-card-icon {
  width: 72px; height: 72px; border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; margin: 0 auto var(--space-sm);
}
.entry-card.student .entry-card-icon { background: linear-gradient(135deg, #E8F5E9, #C8E6C9); }
.entry-card.teacher .entry-card-icon { background: linear-gradient(135deg, #E3F2FD, #BBDEFB); }
.entry-card-title {
  font-size: 22px; font-weight: 600; color: var(--near-black);
  letter-spacing: -0.374px; margin-bottom: 6px;
}
.entry-card-desc { font-size: 14px; color: var(--text-secondary); letter-spacing: -0.224px; }

/* ---------- 表单 ---------- */
.form-container {
  max-width: 420px; margin: 0 auto;
  background: #fff; border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(0,0,0,0.04);
}
.form-group { margin-bottom: var(--space-sm); }
.form-label {
  display: block; font-size: 13px; font-weight: 500;
  color: var(--text-secondary); margin-bottom: 6px;
  letter-spacing: -0.12px;
}
.form-input, .form-select {
  width: 100%; padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1.5px solid rgba(0,0,0,0.1);
  background: var(--light-gray);
  font-size: 15px; font-family: inherit;
  color: var(--near-black); letter-spacing: -0.224px;
  transition: all 0.2s; outline: none;
  -webkit-appearance: none; appearance: none;
}
.form-input:focus, .form-select:focus {
  border-color: var(--apple-blue);
  box-shadow: 0 0 0 3px rgba(0,113,227,0.12);
  background: #fff;
}
.form-select { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23999' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }

/* ---------- 登录面板切换 ---------- */
.login-panel { display: none; animation: fadeSlide 0.3s ease; }
.login-panel.active { display: block; }
@keyframes fadeSlide { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- 对话页 ---------- */
.chat-page { padding-top: 52px; height: 100vh; display: flex; flex-direction: column; }
.chat-header {
  padding: var(--space-sm) var(--space-md);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  background: rgba(255,255,255,0.8);
  backdrop-filter: saturate(180%) blur(20px);
  display: flex; align-items: center; justify-content: space-between;
}
.chat-header-title { font-size: 15px; font-weight: 600; color: var(--near-black); letter-spacing: -0.224px; }
.chat-header-sub { font-size: 12px; color: var(--text-tertiary); }
.chat-messages {
  flex: 1; overflow-y: auto; padding: var(--space-md);
  display: flex; flex-direction: column; gap: var(--space-sm);
}
.msg {
  max-width: 76%; padding: 12px 18px;
  border-radius: var(--radius-lg);
  font-size: 15px; line-height: 1.47; letter-spacing: -0.224px;
  animation: msgIn 0.25s ease;
}
@keyframes msgIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.msg-user {
  align-self: flex-end;
  background: var(--apple-blue); color: #fff;
  border-bottom-right-radius: 6px;
}
.msg-ai {
  align-self: flex-start;
  background: var(--light-gray); color: var(--near-black);
  border-bottom-left-radius: 6px;
}
.chat-input-area {
  padding: var(--space-sm) var(--space-md);
  border-top: 1px solid rgba(0,0,0,0.06);
  background: rgba(255,255,255,0.9);
  backdrop-filter: saturate(180%) blur(20px);
  display: flex; gap: var(--space-xs); align-items: flex-end;
}
.chat-input {
  flex: 1; padding: 10px 16px;
  border-radius: var(--radius-pill);
  border: 1.5px solid rgba(0,0,0,0.1);
  background: var(--light-gray);
  font-size: 15px; font-family: inherit;
  color: var(--near-black); resize: none;
  outline: none; transition: all 0.2s;
  max-height: 100px; line-height: 1.4;
}
.chat-input:focus {
  border-color: var(--apple-blue);
  box-shadow: 0 0 0 3px rgba(0,113,227,0.1);
  background: #fff;
}
.chat-send {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--apple-blue); color: #fff;
  border: none; cursor: pointer; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s; flex-shrink: 0;
}
.chat-send:hover { background: #0077ed; transform: scale(1.05); }
.chat-send:active { transform: scale(0.95); }

/* ---------- 语音按钮 ---------- */
.voice-btn {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(0,0,0,0.06); color: var(--text-secondary);
  border: none; cursor: pointer; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s; flex-shrink: 0;
}
.voice-btn:hover { background: rgba(0,0,0,0.1); }
.voice-btn.recording {
  background: #f44336; color: #fff;
  animation: pulse 1.2s infinite;
}
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(244,67,54,0.4); } 50% { box-shadow: 0 0 0 10px rgba(244,67,54,0); } }

/* ---------- 心理报告 ---------- */
.report-card {
  background: #fff; border-radius: var(--radius-lg);
  padding: var(--space-lg); margin-top: var(--space-sm);
  box-shadow: var(--shadow-float);
  border: 1px solid rgba(0,0,0,0.04);
  animation: msgIn 0.3s ease;
}
.report-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: var(--space-sm);
}
.report-title { font-size: 15px; font-weight: 600; color: var(--near-black); }
.report-score {
  font-size: 28px; font-weight: 700; letter-spacing: -0.5px;
}
.report-score.low { color: #4CAF50; }
.report-score.mid { color: #FF9800; }
.report-score.high { color: #f44336; }
.report-mood {
  display: inline-block; padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: var(--soft-mint); color: #388E3C;
  font-size: 13px; font-weight: 500; margin-bottom: var(--space-sm);
}
.report-text { font-size: 14px; color: var(--text-secondary); line-height: 1.5; }
.report-suggestions {
  margin-top: var(--space-sm); padding-top: var(--space-sm);
  border-top: 1px solid rgba(0,0,0,0.06);
}
.report-suggestions li {
  font-size: 13px; color: var(--text-secondary);
  padding: 4px 0; list-style: none;
  display: flex; align-items: flex-start; gap: 8px;
}
.report-suggestions li::before { content: '✦'; color: var(--apple-blue); font-size: 10px; margin-top: 2px; }

/* ---------- Dashboard ---------- */
.dashboard { padding-top: 52px; }
.dash-stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-sm); padding: var(--space-md);
  max-width: 1080px; margin: 0 auto;
}
.stat-card {
  background: #fff; border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-float);
  border: 1px solid rgba(0,0,0,0.04);
}
.stat-value { font-size: 32px; font-weight: 700; color: var(--near-black); letter-spacing: -0.5px; }
.stat-label { font-size: 13px; color: var(--text-secondary); margin-top: 4px; }
.dash-section {
  max-width: 1080px; margin: 0 auto;
  padding: 0 var(--space-md) var(--space-md);
}
.dash-section-title {
  font-size: 19px; font-weight: 600; color: var(--near-black);
  letter-spacing: -0.28px; margin-bottom: var(--space-sm);
  display: flex; align-items: center; gap: 8px;
}
.student-table {
  width: 100%; border-collapse: collapse;
  background: #fff; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-float);
  border: 1px solid rgba(0,0,0,0.04);
}
.student-table th {
  padding: 12px 16px; text-align: left;
  font-size: 12px; font-weight: 600; color: var(--text-secondary);
  text-transform: uppercase; letter-spacing: 0.5px;
  background: var(--light-gray); border-bottom: 1px solid rgba(0,0,0,0.06);
}
.student-table td {
  padding: 14px 16px; font-size: 14px; color: var(--text-primary);
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.student-table tr:last-child td { border-bottom: none; }
.student-table tr:hover td { background: rgba(0,113,227,0.02); }
.risk-badge {
  display: inline-block; padding: 3px 10px;
  border-radius: var(--radius-pill); font-size: 12px; font-weight: 600;
}
.risk-low { background: #E8F5E9; color: #388E3C; }
.risk-mid { background: #FFF3E0; color: #E65100; }
.risk-high { background: #FFEBEE; color: #C62828; }

/* ---------- 筛选栏 ---------- */
.filter-bar {
  display: flex; gap: var(--space-xs); flex-wrap: wrap;
  margin-bottom: var(--space-sm); align-items: center;
}
.filter-select {
  padding: 8px 14px; border-radius: var(--radius-pill);
  border: 1.5px solid rgba(0,0,0,0.08);
  background: #fff; font-size: 13px; font-family: inherit;
  color: var(--text-primary); cursor: pointer; outline: none;
  transition: all 0.2s;
}
.filter-select:focus { border-color: var(--apple-blue); }

/* ---------- 弹窗 ---------- */
.modal-overlay {
  display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.4); backdrop-filter: blur(8px);
  z-index: 200; align-items: center; justify-content: center;
}
.modal-overlay.active { display: flex; }
.modal {
  background: #fff; border-radius: var(--radius-xl);
  padding: var(--space-xl); max-width: 520px; width: 90%;
  max-height: 80vh; overflow-y: auto;
  box-shadow: 0 24px 80px rgba(0,0,0,0.2);
  animation: modalIn 0.3s ease;
}
@keyframes modalIn { from { opacity: 0; transform: scale(0.95) translateY(10px); } to { opacity: 1; transform: scale(1) translateY(0); } }
.modal-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: var(--space-md);
}
.modal-title { font-size: 21px; font-weight: 600; color: var(--near-black); letter-spacing: -0.374px; }
.modal-close {
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(0,0,0,0.06); border: none; cursor: pointer;
  font-size: 16px; display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.modal-close:hover { background: rgba(0,0,0,0.1); }

/* ---------- 测评页 ---------- */
.survey-page { padding-top: 52px; max-width: 640px; margin: 0 auto; padding-left: var(--space-md); padding-right: var(--space-md); }
.survey-progress {
  height: 3px; background: rgba(0,0,0,0.06); border-radius: 3px;
  margin: var(--space-md) 0; overflow: hidden;
}
.survey-progress-bar {
  height: 100%; background: var(--apple-blue);
  border-radius: 3px; transition: width 0.4s ease;
}
.survey-question {
  font-size: 22px; font-weight: 600; color: var(--near-black);
  letter-spacing: -0.374px; margin-bottom: var(--space-md);
  line-height: 1.3;
}
.survey-options { display: flex; flex-direction: column; gap: var(--space-xs); }
.survey-option {
  padding: 14px 18px; border-radius: var(--radius-md);
  border: 1.5px solid rgba(0,0,0,0.08);
  background: #fff; cursor: pointer; transition: all 0.2s;
  font-size: 15px; color: var(--text-primary);
  letter-spacing: -0.224px;
}
.survey-option:hover { border-color: var(--apple-blue); background: rgba(0,113,227,0.03); }
.survey-option.selected { border-color: var(--apple-blue); background: rgba(0,113,227,0.06); }

/* ---------- 结果页 ---------- */
.result-card {
  text-align: center; padding: var(--space-xl);
  background: #fff; border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
}
.result-score-big {
  font-size: 64px; font-weight: 700; letter-spacing: -1px;
  margin: var(--space-sm) 0;
}
.result-label { font-size: 15px; color: var(--text-secondary); }

/* ---------- 空状态 ---------- */
.empty-state {
  text-align: center; padding: var(--space-xl);
  color: var(--text-tertiary); font-size: 15px;
}
.empty-state .empty-icon { font-size: 40px; margin-bottom: var(--space-sm); }

/* ---------- 链接 ---------- */
.link { color: var(--apple-blue); text-decoration: none; font-size: 14px; }
.link:hover { text-decoration: underline; }

/* ---------- 响应式 ---------- */
@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .entry-cards { flex-direction: column; align-items: center; }
  .entry-card { max-width: 100%; width: 100%; }
  .hero { min-height: 90vh; padding: var(--space-xl) var(--space-sm); }
  .form-container { padding: var(--space-lg); }
  .msg { max-width: 88%; }
  .nav-links { display: none; }
  .dash-stats { grid-template-columns: repeat(2, 1fr); }
  .student-table { font-size: 13px; }
  .student-table th, .student-table td { padding: 10px 12px; }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- 工具类 ---------- */
.text-center { text-align: center; }
.text-muted { color: var(--text-secondary); }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-sm { gap: var(--space-sm); }
/* ---------- SVG 图标系统（Apple风格线性图标）---------- */
.icon-svg { display:inline-block; width:24px; height:24px; background-size:contain; background-repeat:no-repeat; background-position:center; vertical-align:middle; }
.icon-svg-lg { width:48px; height:48px; }
.icon-svg-xl { width:72px; height:72px; }

/* 学校图标 */
.icon-school { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%234CAF50' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21h18'/%3E%3Cpath d='M5 21V7l8-4v18'/%3E%3Cpath d='M19 21V11l-6-4'/%3E%3Cpath d='M9 9v.01'/%3E%3Cpath d='M9 12v.01'/%3E%3Cpath d='M9 15v.01'/%3E%3Cpath d='M9 18v.01'/%3E%3C/svg%3E"); }

/* 学生图标 */
.icon-student { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%234CAF50' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E"); }

/* 教师图标 */
.icon-teacher { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%232196F3' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M23 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E"); }

/* 对话图标 */
.icon-chat { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%230071e3' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z'/%3E%3C/svg%3E"); }

/* 测评图标 */
.icon-survey { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%230071e3' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3Cline x1='16' y1='13' x2='8' y2='13'/%3E%3Cline x1='16' y1='17' x2='8' y2='17'/%3E%3Cpolyline points='10 9 9 9 8 9'/%3E%3C/svg%3E"); }

/* 日记图标 */
.icon-diary { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%230071e3' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19.5A2.5 2.5 0 0 1 6.5 17H20'/%3E%3Cpath d='M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z'/%3E%3C/svg%3E"); }

/* 科普图标 */
.icon-learn { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%230071e3' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2z'/%3E%3Cpath d='M22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z'/%3E%3C/svg%3E"); }

/* 反馈图标 */
.icon-feedback { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%230071e3' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 9V5a3 3 0 0 0-3-3l-4 9v11h11.28a2 2 0 0 0 2-1.7l1.38-9a2 2 0 0 0-2-2.3zM7 22H4a2 2 0 0 1-2-2v-7a2 2 0 0 1 2-2h3'/%3E%3C/svg%3E"); }

/* 心形图标 */
.icon-heart { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23f44336' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z'/%3E%3C/svg%3E"); }

/* 盾牌/安全图标 */
.icon-shield { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%230071e3' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3C/svg%3E"); }

/* 报告图标 */
.icon-report { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%230071e3' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='20' x2='18' y2='10'/%3E%3Cline x1='12' y1='20' x2='12' y2='4'/%3E%3Cline x1='6' y1='20' x2='6' y2='14'/%3E%3C/svg%3E"); }

/* 警告图标 */
.icon-alert { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23f44336' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z'/%3E%3Cline x1='12' y1='9' x2='12' y2='13'/%3E%3Cline x1='12' y1='17' x2='12.01' y2='17'/%3E%3C/svg%3E"); }

/* 数据图标 */
.icon-data { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%230071e3' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='23 6 13.5 15.5 8.5 10.5 1 18'/%3E%3Cpolyline points='17 6 23 6 23 12'/%3E%3C/svg%3E"); }

.hidden { display: none !important; }
