/* ============================================================
   学习清单 · 全站样式（奶油黄暖色主题）
   参考气质：月报式看板 —— 奶油底、白卡片、圆角、橙色月份胶囊
   页面：/ 学习看板（theme-cream）+ /projects 项目清单
   ============================================================ */

:root {
  /* 奶油底色系 */
  --bg: #faf6ec;
  --bg-soft: #f5efdf;
  --surface: #fffdf8;
  --surface-2: #fffaf0;
  --line: #ece4d0;
  --line-soft: #f3eddd;

  --text: #3d3a33;
  --text-2: #7a7466;
  --text-3: #a9a294;

  --accent: #f2a516;       /* 主橙：月份胶囊 / 主按钮 */
  --accent-hover: #e09408;
  --accent-soft: #fdf0d3;

  /* 三档掌握程度 */
  --todo: #e09408;
  --todo-soft: #fdf0d3;
  --learning: #5b7cfa;
  --learning-soft: #eef1fe;
  --done: #2fb37c;
  --done-soft: #e8f7f0;

  --danger: #e5484d;
  --radius: 16px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(90, 80, 50, 0.05), 0 4px 14px rgba(90, 80, 50, 0.06);

  /* 全站下拉统一用这个自绘小箭头（原生箭头又大又黑，跟暖色主题不搭） */
  --chevron: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23a9a294' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");

  /* 告诉浏览器表单控件一律按浅色渲染——否则系统深色模式下，
     原生下拉/滚动条会变成黑底，跟这个奶油浅色主题打架 */
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei",
    "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

/* ============================================================
   顶栏
   ============================================================ */

.topbar {
  background: rgba(255, 253, 248, 0.88);
  backdrop-filter: blur(12px) saturate(1.3);
  -webkit-backdrop-filter: blur(12px) saturate(1.3);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}

.topbar-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
  text-decoration: none;
}

.brand-mark {
  width: 11px;
  height: 11px;
  border-radius: 3.5px;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.nav-links { display: flex; gap: 4px; }

.nav-links a {
  font-size: 13.5px;
  color: var(--text-2);
  text-decoration: none;
  padding: 6px 13px;
  border-radius: 999px;
  transition: all 0.15s;
}

.nav-links a:hover { color: var(--text); background: var(--bg-soft); }

.nav-links a.active {
  color: #fff;
  background: var(--accent);
  font-weight: 500;
}

/* 成员切换器推到最右，「退出」再钉到它右边 */
.user-switch { margin-left: auto; }

/* 无成员时 .user-switch 不渲染，这时要靠「退出」自己把右侧空间吃掉，
   两者都在时则不能再加 auto，否则会和上面的 auto 分摊空白 */
.logout-link {
  flex: 0 0 auto;
  margin-left: auto;
  font-size: 13px;
  color: var(--text-3);
  text-decoration: none;
  padding: 6px 2px;
  transition: color 0.12s;
}
.user-switch + .logout-link { margin-left: 0; }
.logout-link:hover { color: var(--danger); }

.user-switch select {
  font: inherit;
  font-size: 13px;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text-2);
  cursor: pointer;
}

/* ============================================================
   布局
   ============================================================ */

.page {
  max-width: 1080px;
  margin: 0 auto;
  padding: 28px 24px 72px;
}

.page-wide { max-width: 1080px; }

/* ============================================================
   月份选择器
   ============================================================ */

.month-picker-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px 20px 18px;
  margin-bottom: 26px;
}

.month-picker-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 12px;
}

.mp-title strong { font-size: 17px; letter-spacing: -0.01em; }

.mp-sub {
  margin-left: 10px;
  font-size: 12.5px;
  color: var(--text-3);
}

.mp-year-nav { display: flex; gap: 6px; }

.mp-year-nav .mini {
  font-size: 13px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text-2);
  text-decoration: none;
  transition: all 0.12s;
}

.mp-year-nav .mini:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }

/* PC 一行放下 12 个月；窄屏由下面的响应式断点逐级折行（6 → 4 → 3 列）。
   内容区 max-width 1080 且页面宽度封顶，一行 12 列时每列约 77px，
   放「12月」绰绰有余。 */
.month-pills {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 6px;
}

.month-pill {
  text-align: center;
  font-size: 12.5px;
  padding: 6px 4px;
  white-space: nowrap;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text-2);
  text-decoration: none;
  transition: all 0.15s;
}

.month-pill:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }

.month-pill.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(242, 165, 22, 0.35);
}

.month-pill.is-current:not(.is-active) { border-color: #e8c98a; color: var(--todo); font-weight: 500; }

.board-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
}

/* ============================================================
   概览卡
   ============================================================ */

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(184px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px 18px 14px;
}

.stat-label { font-size: 12.5px; color: var(--text-3); margin-bottom: 6px; }

.stat-num {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  line-height: 1.25;
}

.stat-sub { font-size: 12px; color: var(--text-3); margin-top: 4px; }
.stat-sub.up { color: var(--done); }
.stat-sub.down { color: var(--danger); }

/* ---------- 目标进度 ---------- */

.stat-num .unit {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-3);
  margin-left: 2px;
}

.goal-track {
  height: 5px;
  border-radius: 999px;
  background: var(--line-soft);
  overflow: hidden;
  margin-top: 9px;
}

.goal-track > i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.goal-track > i.is-done { background: var(--done); }

.stat-sub-goal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 7px;
}

.goal-btn {
  border: none;
  background: none;
  padding: 0;
  font: inherit;
  font-size: 12px;
  color: var(--text-3);
  cursor: pointer;
  border-bottom: 1px dashed var(--line);
}

.goal-btn:hover { color: var(--accent-hover); border-bottom-color: var(--accent); }

.goal-pct {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-2);
  font-variant-numeric: tabular-nums;
}

.goal-input {
  width: 76px;
  font: inherit;
  font-size: 12px;
  padding: 2px 6px;
  border: 1px solid var(--accent);
  border-radius: 6px;
  background: var(--surface);
  color: var(--text);
}

/* ============================================================
   看板双列
   ============================================================ */

/* 两列 1:1 —— 日历是主角但不该压倒右列。
   原先 1.5:1 时左列占 59%，日历格子被 aspect-ratio 撑到 77px（只放 1-2 位数字，纯浪费）；
   1:1 后格子约 62px，日历仍是全页最大的单块，右列三卡也真正喘上气。
   页面宽由 .page(max-width:1080px) 封顶，故格子不会随窗口无限膨胀。 */
.board-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: start;
}

.board-col { display: flex; flex-direction: column; gap: 14px; min-width: 0; }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 20px;
}

.card-head { margin-bottom: 14px; }
.card-head h2 { margin: 0; font-size: 15px; font-weight: 700; }
.card-head .hint { margin: 4px 0 0; }

.hint { font-size: 12px; color: var(--text-3); }
.card-empty { margin: 6px 0 2px; font-size: 13px; color: var(--text-3); text-align: center; padding: 18px 0; }

/* ---------- 日历热力 ---------- */

/* 关键：给每个格子一个最大边长。格子是 aspect-ratio:1/1 的正方形，
   会跟着容器宽度无限变大（单列时曾涨到 111px，放 1-2 位数字纯浪费）。
   用 max-width 把 7 列总宽卡死 → 7*62 + 6*6 = 470px，再 margin:auto 居中。 */
.cal {
  max-width: 470px;
  margin: 0 auto;
}

.cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  margin-bottom: 6px;
}

.cal-weekdays span {
  text-align: center;
  font-size: 12px;
  color: var(--text-3);
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.cal-cell {
  aspect-ratio: 1 / 1;
  border: none;
  border-radius: 9px;
  font: inherit;
  font-size: 12.5px;
  font-variant-numeric: tabular-nums;
  display: grid;
  place-items: center;
  background: var(--bg-soft);
  color: var(--text-2);
  cursor: pointer;
  transition: transform 0.12s, box-shadow 0.12s;
  padding: 0;
}

.cal-cell:hover { transform: translateY(-1px); box-shadow: 0 2px 8px rgba(90, 80, 50, 0.15); }

.cal-cell.is-blank { background: transparent; cursor: default; box-shadow: none; }
.cal-cell.is-blank:hover { transform: none; }

.cal-cell.level-0 { background: #fcefca; color: var(--text-2); }
.cal-cell.level-1 { background: #fbdf8e; color: #6b5200; }
.cal-cell.level-2 { background: #f7c33e; color: #5c4400; font-weight: 600; }
.cal-cell.level-3 { background: var(--accent); color: #fff; font-weight: 700; }

.cal-cell.is-today { box-shadow: inset 0 0 0 2px var(--accent); }
.cal-cell.is-selected { box-shadow: 0 0 0 2.5px var(--text); }

.cal-legend {
  display: flex;
  align-items: center;
  gap: 5px;
  justify-content: flex-end;
  margin-top: 10px;
  font-size: 11.5px;
  color: var(--text-3);
}

.cal-legend .lg {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  display: inline-block;
}

.lg-0 { background: #fcefca; }
.lg-1 { background: #fbdf8e; }
.lg-2 { background: #f7c33e; }
.lg-3 { background: var(--accent); }

/* ---------- 日视图（已提到概览下方，作为主记录区，全宽） ---------- */

/* 记录区是全页唯一的输入位，其余都是只读报表 —— 用暖琥珀底 + 左侧主橙脊椎条
   把它拎出来，一眼看到「这里要填」；同时兼顾滚动定位避开 sticky 顶栏 */
#day-card {
  scroll-margin-top: 68px;
  background: linear-gradient(180deg, #fffdf7 0%, #fdf5e6 100%);
  border-color: #f0d79a;
  border-left: 4px solid var(--accent);
  box-shadow: 0 1px 2px rgba(190, 140, 30, 0.10), 0 10px 24px rgba(190, 140, 30, 0.10);
  /* 底部间距与上方 .stat-grid 的 20px 对齐：记录区上下留白对称，且与全页模块节奏一致 */
  margin-bottom: 20px;
}

/* 抬头那颗「需填写」小标签：明示这不是报表，是要动手填的。
   它与 #day-title 平级（board.js 会重写标题文字，塞进 h2 会被抹掉） */
.day-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.day-badge {
  display: inline-block;
  padding: 2px 9px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--accent-hover);
  background: var(--accent-soft);
  border: 1px solid #f2d79a;
  border-radius: 999px;
}

/* 表单条换成白底 + 暖虚线，与暖琥珀卡底拉开层次，输入框更跳 */
#day-card .day-add { padding: 12px; background: var(--surface); border-color: #ecd6a2; }

/* 「没有学习中的项目可记时」的说明条，占位与 .day-add 一致 */
.day-hint-empty {
  margin: 0 0 14px;
  padding: 12px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-2);
  background: var(--surface);
  border: 1px dashed #ecd6a2;
  border-radius: var(--radius-sm);
}
.day-hint-empty a { color: var(--accent-hover); font-weight: 600; text-decoration: none; }
.day-hint-empty a:hover { text-decoration: underline; }
#day-card .day-add select { flex: 1 1 220px; }
#day-card .day-add input[name="duration_minutes"] { flex: 0 0 88px; }
#day-card .day-add input[name="note"] { flex: 1 1 260px; }

.day-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.day-total {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--todo);
  background: var(--todo-soft);
  padding: 4px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

.day-add {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  background: var(--surface-2);
  border: 1px dashed var(--line);
  border-radius: var(--radius-sm);
  padding: 10px;
  margin-bottom: 14px;
}

.day-add select { flex: 1 1 150px; }
.day-add input[name="duration_minutes"] { flex: 0 0 76px; }
.day-add input[name="note"] { flex: 1 1 120px; }

.day-add select,
.day-add input {
  font: inherit;
  font-size: 13.5px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  min-width: 0;
}

.day-add select:focus,
.day-add input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.day-add button {
  font: inherit;
  font-size: 13.5px;
  font-weight: 600;
  padding: 7px 16px;
  border: none;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  transition: background 0.15s;
}

.day-add button:hover { background: var(--accent-hover); }
.day-add button:disabled { opacity: 0.55; cursor: default; }

.day-logs { min-height: 20px; }
.day-loading { font-size: 13px; color: var(--text-3); margin: 8px 0; }

.log-list { list-style: none; margin: 0; padding: 0; }

.log-row {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 2px;
  border-bottom: 1px solid var(--line-soft);
}

.log-row:last-child { border-bottom: none; }

.log-avatar {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 600;
  flex-shrink: 0;
  background: var(--bg-soft);
  color: var(--text-2);
}

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

.log-title {
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.log-note { font-size: 12px; color: var(--text-3); }

.log-minutes {
  font-size: 13px;
  font-weight: 600;
  color: var(--todo);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.log-del {
  font: inherit;
  font-size: 12px;
  background: none;
  border: none;
  color: var(--text-3);
  cursor: pointer;
  padding: 3px 4px;
  border-radius: 6px;
  opacity: 0;
  transition: all 0.12s;
}

.log-row:hover .log-del { opacity: 1; }
.log-del:hover { color: var(--danger); background: #fdecec; }

.day-empty { font-size: 13px; color: var(--text-3); text-align: center; padding: 18px 0 8px; margin: 0; }

/* ---------- 近 6 个月 mini bar ---------- */

.mini-bars {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  height: 130px;
  padding-top: 6px;
}

.mini-bar {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  height: 100%;
}

.mini-bar i {
  display: block;
  width: 100%;
  max-width: 34px;
  min-height: 3px;
  border-radius: 7px 7px 3px 3px;
  background: var(--line);
  transition: background 0.2s;
}

.mini-bar.is-current i { background: var(--accent); }

.mini-bar span { font-size: 12px; color: var(--text-3); }
.mini-bar.is-current span { color: var(--todo); font-weight: 600; }

/* ---------- 学科分布 ---------- */

.subject-list { display: flex; flex-direction: column; gap: 14px; }

.subject-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.subject-head .dot { width: 9px; height: 9px; border-radius: 3px; flex-shrink: 0; }

.subject-name { font-size: 13.5px; font-weight: 500; }

.subject-meta {
  margin-left: auto;
  font-size: 12px;
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
}

.subject-track {
  height: 9px;
  border-radius: 999px;
  background: var(--bg-soft);
  overflow: hidden;
}

.subject-track i {
  display: block;
  height: 100%;
  border-radius: 999px;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- 项目排行 ---------- */

/* iOS 风格分段控件：底色凹槽 + 滑块高亮 */
.rank-filter {
  display: flex;
  gap: 2px;
  margin: 0 0 12px;
  padding: 3px;
  border-radius: 11px;
  background: var(--bg-soft);
  box-shadow: inset 0 1px 2px rgba(90, 80, 50, 0.06);
}

.rank-pill {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 5px 6px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-2);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}

.rank-pill:hover { color: var(--text); }

.rank-pill.is-active {
  background: var(--surface);
  color: var(--text);
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(90, 80, 50, 0.10);
}

.rank-count {
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
  min-width: 15px;
  padding: 0 4px;
  border-radius: 999px;
  background: rgba(90, 80, 50, 0.08);
  color: var(--text-3);
  line-height: 16px;
}

.rank-pill.is-active .rank-count {
  background: var(--accent-soft);
  color: var(--accent-hover);
}

/* 隐藏用 hidden 属性，配合 [hidden] 兜底（flex 布局下 display 会覆盖 hidden） */
.rank-row[hidden] { display: none; }

.rank-list { list-style: none; margin: 0; padding: 0; }

.rank-row {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 2px;
  border-bottom: 1px solid var(--line-soft);
}

.rank-row:last-child { border-bottom: none; }

.rank-avatar {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

.rank-title {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rank-meta { font-size: 12px; color: var(--text-3); white-space: nowrap; }

.rank-minutes {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  min-width: 72px;
  text-align: right;
}

/* ============================================================
   项目清单页（/projects）
   ============================================================ */

.summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr) 1.4fr;
  gap: 12px;
  margin-bottom: 28px;
}

.sum-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px 18px 14px;
}

.sum-label { font-size: 12.5px; color: var(--text-3); margin-bottom: 6px; }

.sum-num {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.sum-num small { font-size: 14px; font-weight: 500; color: var(--text-3); margin-left: 2px; }

.tone-todo { color: var(--todo); }
.tone-learning { color: var(--learning); }
.tone-done { color: var(--done); }

.sum-bar {
  margin-top: 10px;
  height: 5px;
  border-radius: 999px;
  background: var(--bg-soft);
  overflow: hidden;
}

.sum-bar i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--done);
  transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- 表格卡片 ---------- */

.table-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.table-head { padding: 20px 24px 16px; border-bottom: 1px solid var(--line-soft); }
.table-head h1 { margin: 0; font-size: 17px; font-weight: 700; }
.table-head .hint { margin: 5px 0 0; }

.table-scroll { overflow-x: auto; }

table.grid { width: 100%; border-collapse: collapse; min-width: 660px; }

table.grid th {
  text-align: left;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-2);
  background: var(--surface-2);
  padding: 11px 16px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

table.grid td {
  padding: 9px 16px;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: middle;
}

table.grid tbody tr:last-child td { border-bottom: none; }
table.grid tbody tr { transition: background 0.12s; }
table.grid tbody tr:hover { background: var(--surface-2); }
table.grid tbody tr.is-busy { opacity: 0.55; }
table.grid tbody tr.is-new { animation: rowIn 0.32s ease; }

@keyframes rowIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}

.col-seq { width: 88px; }
.col-title { width: auto; min-width: 200px; }
.col-tag { width: 150px; }
.col-mastery { width: 130px; }
.col-act { width: 76px; text-align: right; }

/* ---------- 序号列 ---------- */

.col-seq {
  position: relative;
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
  font-size: 13.5px;
}

.seq { transition: opacity 0.12s; }

.row-tools {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: 3px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.12s;
}

tr:hover .seq { opacity: 0; }
tr:hover .row-tools { opacity: 1; visibility: visible; }
.row-tools:focus-within { opacity: 1; visibility: visible; }

.mini {
  font: inherit;
  font-size: 11px;
  line-height: 1;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--surface);
  color: var(--text-2);
  cursor: pointer;
  padding: 0;
  transition: all 0.12s;
}

.mini:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }

/* ---------- 项目名（可编辑） ---------- */

.editable {
  display: inline-block;
  min-width: 40px;
  max-width: 100%;
  padding: 3px 7px;
  margin-left: -7px;
  border-radius: 6px;
  outline: none;
  word-break: break-word;
  transition: background 0.12s, box-shadow 0.12s;
}

.editable:hover { background: var(--bg-soft); }
.editable:focus { background: var(--surface); box-shadow: 0 0 0 2px var(--accent); cursor: text; }
.editable.is-dirty { background: #fff8e6; }

/* ---------- 单元格下拉 ---------- */

.cell-select {
  font: inherit;
  font-size: 13.5px;
  width: 100%;
  padding: 5px 24px 5px 8px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background-color: transparent;
  color: var(--text);
  cursor: pointer;
  transition: all 0.12s;
  appearance: none;
  -webkit-appearance: none;
  background-image: var(--chevron);
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 10px 6px;
}

.cell-select:hover { background-color: var(--bg-soft); border-color: var(--line); }

.cell-select:focus {
  outline: none;
  border-color: var(--accent);
  background-color: var(--surface);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

/* 掌握程度三档的颜色：--m-* 由服务端按配置注入（页面 head 里的 <style>），
   没注入时回退到主题自带的 --todo/--learning/--done。 */
.mastery-select { font-weight: 500; }
.mastery-select.mastery-todo { color: var(--m-todo, var(--todo)); background-color: var(--m-todo-soft, var(--todo-soft)); }
.mastery-select.mastery-learning { color: var(--m-learning, var(--learning)); background-color: var(--m-learning-soft, var(--learning-soft)); }
.mastery-select.mastery-done { color: var(--m-done, var(--done)); background-color: var(--m-done-soft, var(--done-soft)); }

/* hover 不再写死三个浅色（颜色可配之后写死就没意义了），统一压一点亮度 */
.mastery-select:hover { filter: brightness(0.96); }

/* ---------- 学科列（胶囊与下拉互斥显示） ---------- */

.col-tag { position: relative; }

.tag-pill {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 500;
  background: var(--bg-soft);
  color: var(--text-2);
  white-space: nowrap;
  pointer-events: none;
  transition: opacity 0.12s;
}

.tag-pill[hidden] { display: none; }

.col-tag.has-pill .cell-select {
  position: absolute;
  left: 16px;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: auto;
  opacity: 0;
  background-image: none;
  padding-right: 8px;
}

.col-tag.has-pill:hover select.cell-select,
.col-tag.has-pill select.cell-select:focus {
  opacity: 1;
  background-color: var(--surface);
  border-color: var(--line);
  box-shadow: none;
  background-image: var(--chevron);
  padding-right: 24px;
}

.col-tag.has-pill select.cell-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.col-tag.has-pill:hover .tag-pill,
.col-tag.has-pill select.cell-select:focus ~ .tag-pill { opacity: 0; }

/* ---------- 删除 / 空状态 / 新增行 ---------- */

.link-danger {
  font: inherit;
  font-size: 13px;
  background: none;
  border: none;
  padding: 4px 2px;
  color: var(--text-3);
  cursor: pointer;
  transition: color 0.12s;
}

.link-danger:hover { color: var(--danger); }

.empty {
  margin: 0;
  padding: 40px 24px;
  text-align: center;
  color: var(--text-3);
  font-size: 13.5px;
}

.add-row {
  display: flex;
  gap: 10px;
  padding: 16px 24px;
  background: var(--surface-2);
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}

.add-row input { flex: 1 1 220px; min-width: 160px; }
.add-row select { flex: 0 0 132px; }

.add-row input,
.add-row select {
  font: inherit;
  font-size: 14px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
}

.add-row input::placeholder { color: var(--text-3); }

.add-row input:focus,
.add-row select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.add-row button {
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 20px;
  border: none;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  transition: background 0.15s;
}

.add-row button:hover { background: var(--accent-hover); }
.add-row button:disabled { opacity: 0.55; cursor: default; }

.footnote {
  margin: 16px 2px 0;
  font-size: 12.5px;
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
}

/* ---------- Toast ---------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 12px);
  background: #33302a;
  color: #fff;
  font-size: 13.5px;
  padding: 9px 18px;
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  z-index: 50;
}

.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.error { background: var(--danger); }

/* ============================================================
   待复习（间隔重复）
   ============================================================ */

.review-list { list-style: none; margin: 0; padding: 0; }

.review-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 4px;
  border-bottom: 1px solid var(--line-soft);
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s;
}

.review-row:last-child { border-bottom: none; }
.review-row:hover { background: var(--surface-2); }
.review-row:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.review-avatar {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.review-title {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.review-overdue {
  font-size: 12px;
  color: var(--todo);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.review-overdue.is-today { color: var(--learning); }

.review-tip {
  margin: 9px 0 0;
  font-size: 11.5px;
  color: var(--text-3);
}

/* 仅给屏幕阅读器保留的表单标签，视觉上不占位 */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   设置页
   ============================================================ */

.page .set-card + .set-card { margin-top: 14px; }

.set-block {
  padding: 14px 0;
  border-top: 1px solid var(--line-soft);
}

.set-block:first-of-type { border-top: none; padding-top: 2px; }

.set-block-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 10px;
}

.set-label { font-size: 13.5px; font-weight: 600; }

.set-current {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--todo);
  font-variant-numeric: tabular-nums;
}

/* 目标快选：选中态就是主色实心胶囊，一眼看出现在是多少 */
.preset-row { display: flex; flex-wrap: wrap; gap: 8px; }

.preset {
  font: inherit;
  font-size: 13px;
  padding: 6px 15px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--text-2);
  cursor: pointer;
  transition: all 0.15s;
}

.preset:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }

.preset.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  font-weight: 600;
}

.set-inline { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.set-unit { font-size: 12.5px; color: var(--text-3); }

.set-input {
  font: inherit;
  font-size: 13.5px;
  height: 36px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  min-width: 0;
}

.set-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.set-input.grow { flex: 1 1 150px; }
.set-input.num { width: 78px; text-align: center; font-variant-numeric: tabular-nums; }

.set-color {
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  cursor: pointer;
  flex-shrink: 0;
}

.set-field {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--text-2);
}

/* ---------- 掌握程度 ---------- */

.mastery-rows { display: flex; flex-direction: column; gap: 10px; }

.mastery-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.mastery-chip {
  flex: 0 0 74px;
  text-align: center;
  padding: 5px 0;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- 热力档位 ---------- */

.heat-form {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.set-note { margin: 10px 0 0; font-size: 12px; color: var(--text-3); }

.set-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.set-actions .set-note { margin: 0; }

/* ---------- 按钮 ---------- */

.btn-primary,
.btn-ghost,
.set-inline button {
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  height: 36px;      /* 与 .set-input 同高：同一行里输入框和按钮不能一高一矮 */
  padding: 0 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s;
}

.btn-primary,
.set-inline button {
  border: none;
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover,
.set-inline button:hover { background: var(--accent-hover); }

.btn-ghost {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text-2);
}

.btn-ghost:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }

.btn-danger {
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  height: 36px;
  padding: 0 16px;
  border-radius: 8px;
  border: 1px solid #f3c6c7;
  background: #fdecec;
  color: var(--danger);
  cursor: pointer;
  transition: all 0.15s;
}

.btn-danger:hover { background: #fbdcdc; }

button:disabled { opacity: 0.55; cursor: default; }

/* ---------- 学科 ---------- */

.tag-rows { list-style: none; margin: 0; padding: 0; }

.tag-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line-soft);
  flex-wrap: wrap;
}

.tag-row:last-child { border-bottom: none; }

.tag-count {
  font-size: 12px;
  color: var(--text-3);
  min-width: 46px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.tag-add {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
  flex-wrap: wrap;
}

/* ---------- 人员配置表：表头、输入列、数据列、操作列严格对齐 ---------- */
.user-table-head,
.user-row,
.user-add {
  display: grid;
  grid-template-columns: minmax(150px, 1.25fr) minmax(130px, 1fr) minmax(126px, .9fr) 64px 118px;
  align-items: center;
  column-gap: 12px;
}

.user-table-head {
  padding: 0 0 7px;
  color: var(--text-3);
  font-size: 11.5px;
  letter-spacing: .02em;
}

.user-rows { border-top: 1px solid var(--line-soft); }
.user-row { padding: 9px 0; }
.user-cell { min-width: 0; }
.user-field-label {
  display: none;
  margin: 0 0 4px 2px;
  color: var(--text-3);
  font-size: 11px;
}
.user-cell .set-input { width: 100%; }
.user-count { min-width: 0; text-align: left; white-space: nowrap; }
.user-status { min-width: 0; }
.user-actions { display: flex; align-items: center; gap: 8px; }
.user-actions .link-danger { padding-left: 0; padding-right: 0; }
.user-muted { color: var(--text-3); font-size: 12px; }

.set-badge {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--todo);
  background: var(--todo-soft);
  padding: 3px 9px;
  border-radius: 999px;
  white-space: nowrap;
}

/* 人员新增行直接复用上面的五列，避免输入框和按钮错位 */
.user-add { margin-top: 14px; }
.user-add input[type="text"] {
  width: 100%;
  min-width: 0;
}
.user-add > .btn-primary { justify-self: start; }

/* 新增学科行：文本输入复用 .set-input.num 之外的同一套值，这里只负责占位宽度 */
.tag-add input[type="text"] { flex: 1 1 180px; }

/* ============================================================
   登录 / 空状态（加了账号体系之后才有的两页）
   ============================================================ */

.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.login-card {
  width: 100%;
  max-width: 420px;
  padding: 28px 28px 30px;
}

.login-head { text-align: center; margin-bottom: 22px; }
.login-title {
  margin: 0 0 6px;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--text);
}

.login-form { display: flex; flex-direction: column; gap: 14px; }

.login-field { display: flex; flex-direction: column; gap: 6px; }
.login-field > span { font-size: 12.5px; font-weight: 600; color: var(--text-2); }
.login-field .set-input { width: 100%; }

.login-error {
  margin: 0;
  padding: 9px 12px;
  font-size: 13px;
  color: var(--danger);
  background: #fdecec;
  border: 1px solid #f3c6c7;
  border-radius: var(--radius-sm);
}

.login-submit { width: 100%; margin-top: 4px; }

.login-setup {
  padding: 16px;
  background: var(--surface);
  border: 1px dashed #ecd6a2;
  border-radius: var(--radius-sm);
}

.login-setup-title { margin: 0 0 10px; font-size: 14px; font-weight: 600; color: var(--text); }
.login-setup-body { margin: 0 0 10px; font-size: 13px; line-height: 1.75; color: var(--text-2); }
.login-setup-body:last-child { margin-bottom: 0; }

.login-cmd {
  margin: 0 0 12px;
  padding: 11px 13px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--text);
  /* 代码区保持浅色——深色代码块跟奶油主题打架，这是本项目的一贯选择 */
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-all;
}

/* ---------- 账号安全 ---------- */

.pw-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.pw-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1 1 180px;
  min-width: 0;
}

.pw-field > span { font-size: 12.5px; font-weight: 600; color: var(--text-2); }
.pw-field .set-input { width: 100%; }

/* ---------- 还没有成员 ---------- */

.no-member-body { padding: 4px 0 2px; }

.no-member-steps {
  margin: 0 0 18px;
  padding-left: 20px;
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--text-2);
}

.no-member-steps a { color: var(--accent-hover); font-weight: 600; text-decoration: none; }
.no-member-steps a:hover { text-decoration: underline; }

.no-member-cta { margin: 0; }
.no-member-cta .btn-primary {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

/* ============================================================
   响应式
   ============================================================ */

@media (max-width: 1080px) {
  /* 内容区收窄后一行 12 列每个胶囊不足 70px 就太挤，改 6 列两行 */
  .month-pills { grid-template-columns: repeat(6, 1fr); }
}

@media (max-width: 900px) {
  .board-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .month-pills { grid-template-columns: repeat(4, 1fr); }
  .summary { grid-template-columns: repeat(2, 1fr); }
  .sum-wide { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .page { padding: 20px 14px 56px; }
  .topbar-inner { padding: 10px 14px; gap: 10px; flex-wrap: wrap; }
  .nav-links { order: 3; width: 100%; }
  .month-pills { grid-template-columns: repeat(3, 1fr); }
  .month-picker-card, .card { padding: 14px 16px; }
  .table-head, .add-row { padding-left: 16px; padding-right: 16px; }
  table.grid th, table.grid td { padding-left: 12px; padding-right: 12px; }
  .col-seq { width: 68px; }
  .row-tools { left: 12px; }
  .add-row select { flex: 1 1 100px; }
  .add-row button { flex: 1 1 100%; }
  .day-add select { flex: 1 1 100%; }
  .log-del { opacity: 1; }

  .user-table-head { display: none; }
  .user-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
    padding: 12px 0;
  }
  .user-name-cell, .user-nick-cell { grid-column: span 1; }
  .user-field-label { display: block; }
  .user-count { grid-column: 1 / 2; }
  .user-status { grid-column: 2 / 3; justify-self: end; }
  .user-actions { grid-column: 1 / -1; justify-content: flex-end; }
  .user-add {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .user-add > span { display: none; }
  .user-add > .btn-primary { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================
   下拉控件统一收口（放在最后：靠顺序覆盖各处的背景简写）
   原生箭头又大又黑、和暖色主题格格不入，这里一次性换成主题化小箭头，
   并让顶栏 / 日卡 / 新增行三处下拉的圆角、内边距、hover、focus 完全一致。
   （表格里的 .cell-select 走自己那块规则，保持行内紧凑感。）
   ============================================================ */

.user-switch select,
.day-add select,
.add-row select {
  appearance: none;
  -webkit-appearance: none;
  background-image: var(--chevron);
  background-repeat: no-repeat;
  background-position: right 11px center;
  background-size: 10px 6px;
  padding-right: 32px;
  line-height: 1.5;
  text-overflow: ellipsis;
}

/* 下拉展开后的候选项：尽量贴近底色（macOS 由系统接管，Windows/Linux 生效） */
select option {
  color: var(--text);
  background: var(--surface);
}

/* 带 required 的空下拉（日卡「选择项目」）：未选时用浅灰，像输入框占位符 */
.day-add select:invalid { color: var(--text-3); }

/* 键盘操作时的可见焦点（鼠标点击不显示外圈，跟按钮一致） */
.user-switch select:focus-visible,
.day-add select:focus-visible,
.add-row select:focus-visible,
.cell-select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

/* ============================================================
   自定义下拉弹层（nice-select.js）
   原生弹层由系统绘制：深色系统下是黑底、菜单项还自带缩进、跟输入框对不齐。
   这里换成自绘的浅色弹层，文字缩进由 JS 对齐到 select 自身的 padding-left。
   ============================================================ */

.ns-popup {
  position: fixed;
  z-index: 300;
  max-height: min(340px, 60vh);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 6px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(90, 80, 50, 0.16), 0 2px 6px rgba(90, 80, 50, 0.08);
  color: var(--text);
  animation: ns-in 0.12s ease-out;
}

@keyframes ns-in {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.ns-item {
  display: flex;
  align-items: center;
  gap: 8px;
  /* --ns-pad 由 JS 按目标 select 的 padding-left 算好，保证文字左右对齐 */
  padding: 7px var(--ns-pad, 12px);
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  line-height: 1.45;
  color: var(--text);
}

.ns-item .ns-label {
  overflow: hidden;
  text-overflow: ellipsis;
}

.ns-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex: 0 0 auto;
}

.ns-item:hover,
.ns-item.is-active { background: var(--bg-soft); }

.ns-item.is-selected {
  color: var(--accent-hover);
  font-weight: 600;
}

.ns-item.is-selected.is-active { background: var(--accent-soft); }

.ns-item.is-disabled {
  color: var(--text-3);
  cursor: default;
}

.ns-item.is-disabled:hover { background: transparent; }

/* 表格学科列：平时「胶囊 + 悬停才现身」，展开期间让下拉保持可见、胶囊让位 */
.col-tag.ns-open .tag-pill { opacity: 0; }

.col-tag.ns-open select.cell-select {
  opacity: 1;
  background-color: var(--surface);
  border-color: var(--line);
  background-image: var(--chevron);
  padding-right: 24px;
}



/* ============================================================
   页脚备案信息
   国内服务器上线的法规要求：备案号要挂在网站底部并链到工信部。
   号码没配时整块不渲染（见 partials/footer.html），所以这里不用考虑空态。
   ============================================================ */
.site-footer {
  max-width: 1080px;              /* 与 .page 对齐，视觉上像页面的一部分 */
  margin: 0 auto;
  padding: 0 24px 28px;
  display: flex;
  flex-wrap: wrap;                 /* 两个号在窄屏会自动换行，不挤成一坨 */
  justify-content: center;
  gap: 4px 18px;
  font-size: 12.5px;
  color: var(--text-3);
}

.site-footer-link {
  color: inherit;
  text-decoration: none;
}

.site-footer-link:hover {
  color: var(--text-2);
  text-decoration: underline;
}
