/* =============================================================================
   生长平台 · 全站样式
   设计取向：机房大屏优先（1280px 起两栏/三栏），假期手机 PWA 自适应。
   色板：纸张米白 + 校园墨绿 + 少量暖黄点缀，避免花哨，符合校规气质。
   ============================================================================= */

:root {
  --ink: #23301f;
  --ink-soft: #55654f;
  --muted: #87927f;
  --paper: #faf8f3;
  --card: #ffffff;
  --line: #e6e4da;
  --green: #3f6b45;
  --green-dark: #2f5236;
  --green-soft: #eef3ea;
  --amber: #c98a2b;
  --amber-soft: #fbf1de;
  --red: #b3261e;
  --red-soft: #fbeceb;
  --blue: #3a6ea5;
  --blue-soft: #eaf1f8;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(35, 48, 31, .07);
  --sidebar-w: 232px;
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", "Hiragino Sans GB", system-ui, -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--green-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { margin: 0 0 10px; line-height: 1.35; font-weight: 700; }
h1 { font-size: 24px; }
h2 { font-size: 19px; }
h3 { font-size: 16px; }
p { margin: 0 0 10px; }

/* ---------- 布局 ---------- */
.shell { display: flex; min-height: 100vh; }

.sidebar {
  width: var(--sidebar-w);
  flex: 0 0 var(--sidebar-w);
  background: #21301e;
  color: #e8eee3;
  padding: 18px 14px 28px;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}
.sidebar::-webkit-scrollbar { width: 6px; }
.sidebar::-webkit-scrollbar-thumb { background: #3b4c37; border-radius: 4px; }

.brand { display: flex; align-items: center; gap: 10px; padding: 4px 6px 16px; }
.brand-logo {
  width: 36px; height: 36px; border-radius: 11px; flex: 0 0 36px;
  background: linear-gradient(145deg, #7fb069, #3f6b45);
  display: grid; place-items: center; font-size: 18px;
}
.brand-name { font-weight: 700; font-size: 15px; letter-spacing: .5px; }
.brand-sub { font-size: 11px; color: #9db095; }

.nav-group { margin-top: 14px; }
.nav-title {
  font-size: 11px; color: #8ea486; letter-spacing: 1.4px;
  padding: 6px 10px; text-transform: uppercase;
}
.nav-item {
  display: flex; align-items: center; gap: 9px;
  padding: 8px 10px; border-radius: 9px;
  color: #d7e2d1; font-size: 14px; margin-bottom: 2px;
}
.nav-item:hover { background: #2a3b26; text-decoration: none; color: #fff; }
.nav-item.active { background: #36552f; color: #fff; font-weight: 600; }
.nav-item .ico { width: 18px; text-align: center; font-size: 14px; opacity: .9; }
.nav-badge {
  margin-left: auto; background: #b3261e; color: #fff; font-size: 11px;
  padding: 0 6px; border-radius: 9px; line-height: 17px;
}

.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }

.topbar {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 26px; background: rgba(250, 248, 243, .92);
  border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20;
  backdrop-filter: blur(6px);
}
.topbar .crumb { font-size: 13px; color: var(--muted); }
.topbar .spacer { flex: 1; }
.lock-pill {
  font-size: 12px; padding: 3px 10px; border-radius: 20px;
  background: var(--green-soft); color: var(--green-dark); white-space: nowrap;
}
.lock-pill.holiday { background: var(--amber-soft); color: #8a5a12; }
.user-chip { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.avatar {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--green-soft); color: var(--green-dark);
  display: grid; place-items: center; font-weight: 700; font-size: 13px;
  overflow: hidden;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar.lg { width: 64px; height: 64px; font-size: 22px; }

.content { padding: 24px 26px 60px; max-width: 1240px; width: 100%; }

.page-head { display: flex; align-items: flex-end; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.page-head .lead { color: var(--muted); font-size: 13px; }
.page-head .actions { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- 卡片与栅格 ---------- */
.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow);
  margin-bottom: 16px;
}
.card.tight { padding: 14px 16px; }
.card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.card-head h2, .card-head h3 { margin: 0; }
.card-head .actions { margin-left: auto; display: flex; gap: 8px; }

.grid { display: grid; gap: 16px; }
.grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: 1.6fr 1fr; gap: 16px; align-items: start; }

.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.stat .k { font-size: 12px; color: var(--muted); }
.stat .v { font-size: 26px; font-weight: 700; color: var(--green-dark); line-height: 1.2; }
.stat .sub { font-size: 12px; color: var(--muted); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  padding: 7px 14px; border-radius: 9px; font-size: 14px; cursor: pointer;
  font-family: inherit; line-height: 1.4;
}
.btn:hover { background: #f5f6f1; text-decoration: none; }
.btn.primary { background: var(--green); border-color: var(--green); color: #fff; }
.btn.primary:hover { background: var(--green-dark); }
.btn.ghost { border-color: transparent; background: transparent; color: var(--green-dark); }
.btn.danger { color: var(--red); border-color: #e8c9c6; }
.btn.small { padding: 4px 10px; font-size: 13px; }
.btn.block { display: flex; justify-content: center; width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ---------- 表单 ---------- */
label.field { display: block; margin-bottom: 12px; }
label.field > span.lbl { display: block; font-size: 13px; color: var(--ink-soft); margin-bottom: 5px; }
label.field > span.hint { display: block; font-size: 12px; color: var(--muted); margin-top: 4px; }
input[type=text], input[type=password], input[type=number], input[type=date], input[type=tel],
input[type=email], select, textarea {
  width: 100%; padding: 9px 12px; border: 1px solid #d9ddd2; border-radius: 9px;
  font-size: 14px; font-family: inherit; background: #fff; color: var(--ink);
}
input:focus, select:focus, textarea:focus { outline: 2px solid #cfe0c8; border-color: var(--green); }
textarea { min-height: 110px; resize: vertical; line-height: 1.7; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.form-actions { display: flex; gap: 10px; margin-top: 6px; }
.checks { display: flex; flex-wrap: wrap; gap: 10px 16px; font-size: 14px; }
.checks label { display: flex; align-items: center; gap: 6px; cursor: pointer; }
.checks input { width: auto; }

/* ---------- 表格 ---------- */
.table-wrap { overflow-x: auto; }
table.list { width: 100%; border-collapse: collapse; font-size: 14px; }
table.list th {
  text-align: left; font-size: 12px; color: var(--muted); font-weight: 600;
  padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap;
}
table.list td { padding: 10px; border-bottom: 1px solid #f1f0e9; vertical-align: middle; }
table.list tr:last-child td { border-bottom: 0; }
table.list tr:hover td { background: #fcfcf8; }
table.list td.num, table.list th.num { text-align: right; font-variant-numeric: tabular-nums; }

/* ---------- 标签/徽章 ---------- */
.tag {
  display: inline-block; padding: 1px 8px; border-radius: 6px; font-size: 12px;
  background: #f1f2ec; color: var(--ink-soft); margin-right: 4px;
}
.tag.green { background: var(--green-soft); color: var(--green-dark); }
.tag.amber { background: var(--amber-soft); color: #8a5a12; }
.tag.red { background: var(--red-soft); color: var(--red); }
.tag.blue { background: var(--blue-soft); color: #2c5b8c; }
.badge {
  display: inline-block; padding: 2px 9px; border-radius: 20px; font-size: 12px;
  border: 1px solid var(--line); color: var(--ink-soft); background: #fff;
}
.badge.pending { border-color: #e8d6ae; background: var(--amber-soft); color: #8a5a12; }
.badge.approved, .badge.active { border-color: #cfe0c8; background: var(--green-soft); color: var(--green-dark); }
.badge.rejected, .badge.banned { border-color: #e8c9c6; background: var(--red-soft); color: var(--red); }

/* ---------- 提示 ---------- */
.flash { padding: 11px 15px; border-radius: 10px; margin-bottom: 14px; font-size: 14px; }
.flash.success { background: var(--green-soft); color: var(--green-dark); }
.flash.error { background: var(--red-soft); color: var(--red); }
.flash.info { background: var(--blue-soft); color: #2c5b8c; }

.notice {
  background: var(--amber-soft); border-left: 3px solid var(--amber);
  padding: 10px 14px; border-radius: 8px; font-size: 13px; color: #7a5212;
  margin-bottom: 14px;
}
.empty { text-align: center; color: var(--muted); padding: 28px 10px; font-size: 14px; }
.empty .big { font-size: 26px; display: block; margin-bottom: 6px; }

/* ---------- 列表条目 ---------- */
.item {
  display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid #f1f0e9;
}
.item:last-child { border-bottom: 0; }
.item .meta { font-size: 12px; color: var(--muted); }
.item .grow { flex: 1; min-width: 0; }
.item h3 { margin: 0 0 3px; font-size: 15px; }

/* ---------- 进度条 ---------- */
.bar { height: 8px; background: #edeee6; border-radius: 8px; overflow: hidden; }
.bar > i { display: block; height: 100%; background: linear-gradient(90deg, #7fb069, #3f6b45); border-radius: 8px; }

/* ---------- 测评题目 ---------- */
.q { padding: 12px 0; border-bottom: 1px solid #f1f0e9; }
.q .idx { color: var(--muted); font-size: 12px; }
.scale { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.scale label {
  border: 1px solid var(--line); padding: 6px 12px; border-radius: 9px;
  font-size: 13px; cursor: pointer; background: #fff;
}
.scale input { display: none; }
.scale label:has(input:checked) { background: var(--green-soft); border-color: var(--green); color: var(--green-dark); font-weight: 600; }

/* ---------- 遮挡背诵 ---------- */
.recite-text { font-size: 17px; line-height: 2.1; white-space: pre-wrap; letter-spacing: .5px; }
.recite-text .blank {
  background: #e9ece2; color: transparent; border-radius: 4px; padding: 0 3px;
  cursor: pointer; user-select: none;
}
.recite-text .blank.open { background: var(--amber-soft); color: var(--ink); }
.recite-text .blank:hover { background: #dfe4d6; }

/* ---------- 聊天气泡 ---------- */
.chat-box { height: 380px; overflow-y: auto; background: #fbfbf7; border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.msg { max-width: 72%; margin-bottom: 10px; padding: 8px 12px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-size: 14px; }
.msg.mine { margin-left: auto; background: var(--green-soft); border-color: #d5e3cc; }
.msg .time { font-size: 11px; color: var(--muted); margin-top: 3px; }

/* ---------- 打印页 ---------- */
.blank-page { background: #fff; }
.sheet {
  width: 760px; max-width: 100%; margin: 24px auto; background: #fff;
  padding: 40px 46px; border: 1px solid #e2e2da; box-shadow: 0 4px 18px rgba(0,0,0,.06);
}
.sheet h1 { font-size: 20px; text-align: center; margin-bottom: 4px; }
.sheet .sheet-sub { text-align: center; color: #666; font-size: 12px; margin-bottom: 18px; }
.sheet .q-item { margin-bottom: 16px; page-break-inside: avoid; }
.sheet .q-item .stem { font-weight: 600; }
.sheet .q-item .ans { border-bottom: 1px dashed #bbb; height: 26px; }
.sheet .footer { margin-top: 26px; font-size: 11px; color: #888; text-align: center; }
.answer-lines { min-height: 300px; }

/* ---------- 登录页 ---------- */
.auth-bg { min-height: 100vh; display: grid; place-items: center; padding: 30px 16px;
  background: radial-gradient(900px 500px at 15% 0%, #e7efe0, transparent), var(--paper); }
.auth-card { width: 100%; max-width: 420px; background: #fff; border-radius: 18px; padding: 30px 28px; box-shadow: 0 16px 50px rgba(35,48,31,.12); }
.auth-card.wide { max-width: 520px; }
.auth-brand { text-align: center; margin-bottom: 18px; }
.auth-brand .logo { font-size: 34px; }
.auth-brand h1 { font-size: 20px; margin: 6px 0 2px; }
.auth-brand p { color: var(--muted); font-size: 12px; margin: 0; }
.auth-tabs { display: flex; gap: 6px; background: #f3f4ee; padding: 4px; border-radius: 10px; margin-bottom: 18px; }
.auth-tabs a { flex: 1; text-align: center; padding: 7px; border-radius: 8px; font-size: 13px; color: var(--ink-soft); }
.auth-tabs a.active { background: #fff; color: var(--green-dark); font-weight: 600; box-shadow: 0 1px 4px rgba(0,0,0,.06); }
.auth-foot { text-align: center; font-size: 12px; color: var(--muted); margin-top: 16px; }
.inline { display: flex; gap: 8px; }
.inline > * { flex: 1; }
.otp-row { display: flex; gap: 8px; }
.otp-row input { flex: 1; }
.otp-row button { white-space: nowrap; }

/* ---------- 其他小件 ---------- */
.kv { display: grid; grid-template-columns: 120px 1fr; gap: 8px 12px; font-size: 14px; }
.kv .k { color: var(--muted); }
.timeline { border-left: 2px solid #e3e8dc; padding-left: 16px; }
.timeline .node { position: relative; padding-bottom: 14px; }
.timeline .node::before {
  content: ''; position: absolute; left: -23px; top: 6px; width: 9px; height: 9px;
  border-radius: 50%; background: var(--green);
}
.chip-list { display: flex; flex-wrap: wrap; gap: 6px; }
.footer-note { margin-top: 26px; font-size: 12px; color: var(--muted); text-align: center; }
.member-tag { background: linear-gradient(135deg, #f6e2b8, #e9c479); color: #7a5212; padding: 2px 8px; border-radius: 6px; font-size: 12px; }

/* ---------- 响应式（假期手机 PWA） ---------- */
@media (max-width: 980px) {
  .grid.cols-3, .grid.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .shell { display: block; }
  .sidebar { position: static; width: 100%; height: auto; display: none; }
  .sidebar.open { display: block; }
  .topbar { padding: 10px 14px; }
  .mobile-menu { display: inline-flex !important; }
  .content { padding: 16px 14px 50px; }
  .grid.cols-2, .grid.cols-3, .grid.cols-4 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .page-head { align-items: flex-start; }
  .page-head .actions { margin-left: 0; width: 100%; }
  .msg { max-width: 88%; }
}
.mobile-menu { display: none; }

/* ---------- 打印输出 ---------- */
@media print {
  .sidebar, .topbar, .page-head .actions, .no-print, .flash { display: none !important; }
  body { background: #fff; }
  .content { padding: 0; max-width: none; }
  .sheet { box-shadow: none; border: 0; width: auto; margin: 0; padding: 0; }
  .card { box-shadow: none; border: 0; padding: 0; }
  a { color: inherit; text-decoration: none; }
}

/* =============================================================================
   毕业生成就纪念册（album）
   屏幕上是深绿封面卡；打印时按 A4 分页，一页一个板块。
   ============================================================================= */
.album-cover {
  background: linear-gradient(150deg, #2f5236, #4a7448 55%, #87a86b);
  color: #f3f7ee;
  border-radius: 18px;
  padding: 26px 30px 30px;
  margin-bottom: 16px;
  box-shadow: 0 10px 30px rgba(30, 50, 30, .18);
  overflow: hidden;
}
.album-cover h1 { font-size: 28px; margin: 12px 0 8px; letter-spacing: .5px; color: #fff; }
.album-cover-top { display: flex; justify-content: space-between; align-items: center; font-size: 12px; opacity: .88; }
.album-seal {
  border: 1px solid rgba(255, 255, 255, .55); padding: 2px 10px;
  border-radius: 20px; font-size: 12px; letter-spacing: 1px;
}
.album-sub { font-size: 13px; opacity: .92; margin: 0 0 6px; }
.album-motto {
  font-size: 15px; line-height: 1.9; margin: 12px 0 0;
  padding-left: 12px; border-left: 2px solid rgba(255, 255, 255, .55);
}

.badge-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 10px; }
.badge-item {
  border: 1px solid var(--line); border-radius: 12px; padding: 10px 8px;
  text-align: center; background: #fff;
}
.badge-item.earned { background: linear-gradient(160deg, #fff, #f6f9ef); border-color: #d9e4cf; }
.bi-icon { font-size: 22px; line-height: 1.2; }
.bi-name { font-weight: 600; font-size: 13px; margin-top: 2px; }
.bi-date { font-size: 11px; color: var(--muted); }

/* 打印版：每页一个板块 */
.album-sheet { padding: 30px 34px; }
.album-page { padding: 6px 0 18px; page-break-after: always; min-height: 620px; position: relative; }
.album-page:last-child { page-break-after: auto; }
/* 第 1 页封面：上下留白多一些，避免标题贴页边 */
.album-cover-page { padding-top: 26px; }
.album-print-cover { text-align: center; padding: 26px 10px; }
.album-print-top { display: flex; justify-content: space-between; font-size: 11px; color: #666; margin-bottom: 34px; }
.album-print-cover h1 { font-size: 30px; margin: 24px 0 14px; letter-spacing: 1px; }
.album-print-name { font-size: 20px; letter-spacing: 5px; margin-bottom: 12px; }
.album-print-meta { font-size: 13px; color: #555; line-height: 2; }
.album-print-photo img { max-width: 68%; margin-top: 22px; border-radius: 10px; }
.album-print-foot { margin-top: 34px; font-size: 11px; color: #888; text-align: center; }
.album-print-h2 {
  font-size: 16px; margin: 14px 0 10px; padding-left: 8px;
  border-left: 3px solid var(--green);
}
.album-print-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.album-print-table td { border-bottom: 1px dashed #ddd; padding: 7px 6px; vertical-align: top; }
.album-print-badges { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 8px; }
.album-print-badge { border: 1px solid #ddd; border-radius: 8px; padding: 8px 6px; text-align: center; font-size: 11px; }
/* 打印徽章内部三行：图标 / 名称 / 获得日期（bp- 前缀只在打印页使用） */
.bp-icon { font-size: 18px; line-height: 1.3; }
.bp-name { font-size: 11px; margin-top: 2px; word-break: break-all; }
.bp-date { font-size: 10px; color: #888; }
.album-print-record { margin-bottom: 8px; font-size: 12px; line-height: 1.8; }
.album-print-note { font-size: 11px; color: #777; }
.album-print-letter {
  min-height: 280px; border: 1px dashed #ccc; border-radius: 8px;
  padding: 16px 18px; font-size: 13px; line-height: 2.1;
}
.album-print-sign { margin-top: 34px; display: flex; justify-content: space-between; font-size: 13px; }

@media print {
  .album-page { min-height: 0; padding: 0 0 12px; }
  .album-cover { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .album-sheet { padding: 0; }
}
/* =============================================================================
   v1.2 新增：图书角、学习搭子、高级题库、志愿分析
   ============================================================================= */
.book-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; margin-top: 16px; }
.book-card {
  display: flex; gap: 12px; background: #fff; border: 1px solid var(--line);
  border-radius: 14px; padding: 12px; text-decoration: none; color: inherit;
  box-shadow: 0 2px 10px rgba(30, 50, 30, .05);
}
.book-card:hover { border-color: #cfe0c8; }
.book-cover {
  width: 66px; height: 92px; flex: 0 0 66px; border-radius: 8px; overflow: hidden;
  background: linear-gradient(160deg, #2f5236, #6f9060); color: #f3f7ee;
  display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 6px;
  font-size: 11px; line-height: 1.4;
}
.book-cover img { width: 100%; height: 100%; object-fit: cover; }
.book-cover-title { font-weight: 600; }
.book-cover-author { opacity: .8; font-size: 10px; }
.book-body { min-width: 0; flex: 1; }
.book-title { font-weight: 600; font-size: 15px; }
.book-meta { font-size: 12px; color: var(--muted); margin-top: 2px; }
.book-foot { display: flex; align-items: center; gap: 6px; margin-top: 8px; flex-wrap: wrap; }

.match-item { display: flex; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.match-item:last-child { border-bottom: 0; }
.match-main { flex: 1; min-width: 0; }
.match-name { font-weight: 600; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.match-reasons { font-size: 13px; color: #4a5a4a; margin-top: 4px; line-height: 1.7; }
.reason { display: inline-block; margin-right: 10px; }
.match-sub { font-size: 12px; color: var(--muted); margin-top: 3px; line-height: 1.6; }
.match-score { font-size: 24px; font-weight: 700; color: var(--green-dark); white-space: nowrap; }
.match-score span { font-size: 12px; font-weight: 400; margin-left: 2px; color: var(--muted); }
.match-actions { display: flex; gap: 8px; align-items: center; }
@media (max-width: 720px) {
  .match-item { flex-wrap: wrap; }
  .match-actions { width: 100%; }
}

.quiz-q { padding: 12px 0; border-bottom: 1px dashed var(--line); }
.quiz-q:last-of-type { border-bottom: 0; }
.quiz-stem { font-weight: 600; line-height: 1.9; }
.quiz-no { color: var(--green-dark); margin-right: 4px; }
.quiz-opts { display: grid; gap: 6px; margin-top: 8px; }
.quiz-opt { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; line-height: 1.7; padding: 6px 10px; border-radius: 8px; }
.quiz-opt.opt-right { background: var(--green-soft); }
.quiz-opt.opt-wrong { background: var(--red-soft); }
.quiz-explain { margin-top: 10px; font-size: 13px; line-height: 1.9; background: #fafaf6; border-radius: 8px; padding: 10px 12px; }
.quiz-wrong { border-color: #e8c9c6; }
.major-profile { padding: 12px 0; border-bottom: 1px dashed var(--line); }
.major-profile:last-child { border-bottom: 0; }
.major-profile-head { display: flex; gap: 10px; align-items: center; margin-bottom: 6px; flex-wrap: wrap; }
.up { color: #b4453d; }
.down { color: #2f6b3d; }
