/* ========================================
   正赢评分系统 · 公共样式
   原型风格：蓝白毛玻璃 + 圆角卡片
   ======================================== */

/* CSS Variables */
:root {
  --blue: #2563EB;
  --blue-deep: #1D4ED8;
  --blue-light: #3B82F6;
  --blue-bg: #EBF1FF;
  --white: #FFFFFF;
  --bg: #F0F4FF;
  --text-main: #1A1A1A;
  --text-sub: #6B7280;
  --text-light: #9CA3AF;
  --glass-bg: rgba(255,255,255,0.72);
  --glass-border: rgba(255,255,255,0.85);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.03);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.06), 0 2px 6px rgba(0,0,0,0.04);
  --radius: 16px;
  --radius-sm: 12px;
  /* R 等级配色 */
  --r0-color: #6B7280;
  --r1-color: #10B981;
  --r2-color: #2563EB;
  --r3-color: #7C3AED;
  /* 状态配色 */
  --good: #10B981;
  --bad: #EF4444;
  --warn: #F59E0B;
  --info: #3B82F6;
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

body {
  font-family: "Microsoft YaHei", "微软雅黑", -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text-main);
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  position: relative;
}

/* ===== Top Bar ===== */
.top-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(229,231,235,0.6);
  padding: 14px 20px;
  display: flex;
  align-items: center;
}
.top-bar.center { text-align: center; justify-content: center; }
.top-bar h1 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: 0.5px;
}
.top-bar .back {
  font-size: 20px;
  color: var(--text-main);
  cursor: pointer;
  margin-right: 12px;
  text-decoration: none;
  line-height: 1;
}
.top-bar .right-icon {
  margin-left: auto;
  font-size: 20px;
  cursor: pointer;
  position: relative;
  color: var(--text-sub);
}

/* ===== Content Container ===== */
.content {
  padding: 16px 16px 100px;
}

/* ===== User Info Card (Frosted Glass) ===== */
.user-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-md);
  margin-bottom: 16px;
}
.avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #93B4F5, #2563EB);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  flex-shrink: 0;
}
.user-info { flex: 1; min-width: 0; }
.user-name { font-size: 17px; font-weight: 700; color: var(--text-main); }
.user-phone { font-size: 13px; color: var(--text-sub); margin-top: 2px; }
.user-meta { display: flex; gap: 8px; align-items: center; margin-top: 6px; flex-wrap: wrap; }

/* R 等级徽章 */
.level-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.3px;
}
.level-badge.r0 { background: #F3F4F6; color: var(--r0-color); }
.level-badge.r1 { background: #D1FAE5; color: var(--r1-color); }
.level-badge.r2 { background: var(--blue-bg); color: var(--r2-color); }
.level-badge.r3 { background: #EDE9FE; color: var(--r3-color); }

/* ===== Stats Grid ===== */
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}
.stat-card {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 16px;
  box-shadow: var(--shadow-sm);
}
.stat-label {
  font-size: 12px;
  color: var(--text-sub);
  font-weight: 400;
  margin-bottom: 6px;
}
.stat-value {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1;
}
.stat-value.blue { color: var(--blue); }
.stat-value.warn { color: var(--warn); }
.stat-value.good { color: var(--good); }
.stat-value .unit { font-size: 14px; font-weight: 400; }

/* ===== Section Title ===== */
.section-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
  margin: 20px 0 12px;
  padding: 0 2px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-title::before {
  content: '';
  width: 4px;
  height: 18px;
  background: var(--blue);
  border-radius: 2px;
  flex-shrink: 0;
}
.section-tag {
  font-size: 11px;
  background: rgba(37,99,235,0.1);
  color: var(--blue);
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 600;
  margin-left: auto;
}

/* ===== Quick Actions ===== */
.quick-actions {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}
.action-btn {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 18px 12px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  font-family: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.action-btn:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-md);
  background: #F8FAFF;
}
.action-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.action-icon.blue { background: #EBF1FF; color: var(--blue); }
.action-icon.amber { background: #FEF3C7; color: #D97706; }
.action-icon.green { background: #D1FAE5; color: #059669; }
.action-icon.purple { background: #EDE9FE; color: #7C3AED; }
.action-icon.rose { background: #FFE4E6; color: #E11D48; }
.action-icon.cyan { background: #CFFAFE; color: #0891B2; }
.action-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
}

/* ===== Task Preview / Card ===== */
.task-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 10px;
  cursor: pointer;
  transition: all 0.2s;
}
.task-card:hover { box-shadow: var(--shadow-md); }
.task-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.task-card-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  flex: 1;
}
.task-status {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}
.task-status.new { background: #F3F4F6; color: #6B7280; }
.task-status.pending { background: #FEF3C7; color: #92400E; }
.task-status.processing { background: #DBEAFE; color: #1E40AF; }
.task-status.done { background: #D1FAE5; color: #065F46; }
.task-status.rejected { background: #FEE2E2; color: #991B1B; }
.task-status.appealing { background: #EDE9FE; color: #7C3AED; }
.task-card-meta {
  font-size: 12px;
  color: var(--text-sub);
  display: flex;
  gap: 16px;
  margin-bottom: 8px;
}
.task-card-meta span { display: flex; align-items: center; gap: 4px; }

/* ===== Expanded Task Detail ===== */
.task-detail-expand {
  border-top: 1px solid rgba(229,231,235,0.5);
  margin-top: 12px;
  padding-top: 12px;
}
.task-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  font-size: 13px;
}
.task-detail-label { color: var(--text-sub); }
.task-detail-value { font-weight: 600; color: var(--text-main); }
.task-actions {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}

/* ===== Status Tab Bar ===== */
.status-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.status-tabs::-webkit-scrollbar { display: none; }
.status-tab {
  flex-shrink: 0;
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all 0.2s;
  background: var(--white);
  color: var(--text-sub);
  box-shadow: var(--shadow-sm);
}
.status-tab.active {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

/* ===== Table ===== */
.table-wrapper {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.table-header {
  display: grid;
  padding: 14px 12px;
  background: rgba(235,241,255,0.6);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-sub);
  gap: 4px;
}
.table-row {
  display: grid;
  padding: 14px 12px;
  font-size: 13px;
  border-bottom: 1px solid rgba(229,231,235,0.5);
  align-items: center;
  gap: 4px;
  transition: background 0.15s;
}
.table-row:last-child { border-bottom: none; }
.table-row:hover { background: #F8FAFF; }
.cell-title { font-weight: 600; color: var(--text-main); }

/* ===== Forms ===== */
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-md);
  margin-bottom: 14px;
}
.card-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.card-title::before {
  content: '';
  width: 4px;
  height: 18px;
  background: var(--blue);
  border-radius: 2px;
}
.form-group { margin-bottom: 16px; }
.form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-sub);
  margin-bottom: 8px;
  display: block;
}
.form-input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid rgba(229,231,235,0.8);
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text-main);
  background: rgba(249,250,251,0.8);
  transition: border-color 0.2s;
  outline: none;
}
.form-input:focus { border-color: var(--blue); background: #fff; }
.form-input::placeholder { color: var(--text-light); }
textarea.form-input { resize: vertical; min-height: 80px; }
select.form-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

/* ===== Buttons ===== */
.btn-row { display: flex; gap: 12px; margin-top: 20px; }
.btn {
  flex: 1;
  padding: 14px;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}
.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 4px 12px rgba(37,99,235,0.3);
}
.btn-primary:hover {
  background: var(--blue-light);
  transform: scale(1.02);
}
.btn-outline {
  background: var(--white);
  color: var(--blue);
  border: 1.5px solid var(--blue);
}
.btn-outline:hover { background: var(--blue-bg); }
.btn-success {
  background: var(--good);
  color: #fff;
  box-shadow: 0 4px 12px rgba(16,185,129,0.3);
}
.btn-success:hover { transform: scale(1.02); }
.btn-danger {
  background: var(--bad);
  color: #fff;
  box-shadow: 0 4px 12px rgba(239,68,68,0.3);
}
.btn-danger:hover { transform: scale(1.02); }
.btn-warn {
  background: var(--warn);
  color: #fff;
}
.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
  border-radius: 8px;
  flex: none;
}
.btn-ghost {
  background: transparent;
  color: var(--blue);
  border: none;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.btn-ghost:hover { background: rgba(37,99,235,0.08); border-radius: 8px; }

/* ===== Bottom Navigation ===== */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(229,231,235,0.5);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 8px 0 env(safe-area-inset-bottom, 8px);
  z-index: 100;
}
.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  cursor: pointer;
  font-size: 10px;
  color: var(--text-sub);
  font-weight: 500;
  padding: 4px 0;
  transition: color 0.2s;
  border: none;
  background: none;
  font-family: inherit;
}
.nav-item.active { color: var(--blue); }
.nav-item .nav-icon { font-size: 22px; line-height: 1; }

/* ===== FAB (Floating Action Button) ===== */
.fab-add {
  position: fixed;
  right: 24px;
  bottom: 90px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  border: none;
  font-size: 28px;
  font-weight: 300;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(37,99,235,0.4);
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 90;
  font-family: inherit;
}
.fab-add:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 28px rgba(37,99,235,0.5);
}

/* ===== Modal ===== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.3);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 200;
  align-items: flex-end;
  justify-content: center;
}
.modal-overlay.show { display: flex; }
.modal {
  background: var(--white);
  border-radius: 20px 20px 0 0;
  width: 100%;
  max-width: 480px;
  padding: 24px 20px 32px;
  box-shadow: 0 -8px 40px rgba(0,0,0,0.12);
  animation: slideUp 0.3s ease;
}
@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}
.modal-handle {
  width: 36px;
  height: 4px;
  background: rgba(209,213,219,0.8);
  border-radius: 2px;
  margin: 0 auto 20px;
}
.modal h2 { font-size: 17px; font-weight: 700; margin-bottom: 18px; }

/* ===== Badges ===== */
.badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 12px;
  white-space: nowrap;
}
.badge.pending { background: #FEF3C7; color: #92400E; }
.badge.processing { background: #DBEAFE; color: #1E40AF; }
.badge.done { background: #D1FAE5; color: #065F46; }
.badge.rejected { background: #FEE2E2; color: #991B1B; }
.badge.appealing { background: #EDE9FE; color: #7C3AED; }
.badge.default { background: #F3F4F6; color: #6B7280; }

/* ===== Evaluation Thumbs ===== */
.thumb { font-size: 16px; }
.thumb.up { color: var(--good); }
.thumb.down { color: var(--bad); }

/* ===== Evaluation Status ===== */
.eval-status {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 12px;
}
.eval-status.pending { background: #FEF3C7; color: #92400E; }
.eval-status.good { background: #D1FAE5; color: #065F46; }
.eval-status.bad { background: #FEE2E2; color: #991B1B; }
.eval-status.default { background: #F3F4F6; color: #6B7280; }
.eval-status.appealing { background: #EDE9FE; color: #7C3AED; }
.eval-status.archived { background: #F3F4F6; color: #374151; }

/* ===== Countdown ===== */
.countdown {
  background: rgba(37,99,235,0.06);
  border-radius: 10px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--blue);
  font-weight: 600;
}
.countdown .time { font-size: 20px; font-weight: 700; }

/* ===== Image Upload ===== */
.upload-area {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.upload-item {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  background: #F3F4F6;
  display: flex;
  align-items: center;
  justify-content: center;
}
.upload-item img { width: 100%; height: 100%; object-fit: cover; }
.upload-item .del {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bad);
  color: #fff;
  border: none;
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.upload-add {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  border: 1.5px dashed rgba(156,163,175,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--text-light);
  cursor: pointer;
  transition: all 0.2s;
  background: none;
}
.upload-add:hover { border-color: var(--blue); color: var(--blue); }

/* ===== Info Banner ===== */
.info-banner {
  background: rgba(37,99,235,0.06);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 12px;
  color: var(--blue);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 12px;
  line-height: 1.6;
}

/* ===== Select Person (Multi-select chips) ===== */
.chip-list { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--blue-bg);
  color: var(--blue);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: 1.5px solid transparent;
}
.chip.selected { background: var(--blue); color: #fff; }
.chip .remove {
  font-size: 14px;
  cursor: pointer;
  opacity: 0.6;
}
.chip .remove:hover { opacity: 1; }

/* ===== Search Input ===== */
.search-box {
  position: relative;
  margin-bottom: 12px;
}
.search-box .form-input {
  padding-left: 36px;
}
.search-box .search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  font-size: 16px;
}

/* ===== Personnel List ===== */
.person-list { max-height: 300px; overflow-y: auto; }
.person-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(229,231,235,0.4);
  cursor: pointer;
}
.person-item:last-child { border-bottom: none; }
.person-item .p-check { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #D1D5DB; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all 0.2s; }
.person-item .p-check.checked { background: var(--blue); border-color: var(--blue); color: #fff; font-size: 12px; }
.person-item .p-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: #fff; flex-shrink: 0;
}
.person-item .p-info { flex: 1; }
.person-item .p-name { font-size: 14px; font-weight: 600; }
.person-item .p-role { font-size: 12px; color: var(--text-sub); }

/* ===== No Data ===== */
.no-data {
  text-align: center;
  padding: 32px 24px;
  color: var(--text-light);
  font-size: 13px;
}
.no-data .icon { font-size: 40px; margin-bottom: 12px; display: block; }

/* ===== Loading ===== */
.loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  color: var(--text-light);
  font-size: 13px;
}
.loading::after {
  content: '';
  width: 20px;
  height: 20px;
  border: 2px solid var(--blue-bg);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  margin-left: 8px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== Toast ===== */
.toast {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0,0,0,0.75);
  color: #fff;
  padding: 14px 24px;
  border-radius: 10px;
  font-size: 14px;
  z-index: 999;
  max-width: 260px;
  text-align: center;
  animation: fadeIn 0.2s;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ===== Level Cards (Permission Page) ===== */
.level-cards {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.level-card {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: all 0.2s;
  border-left: 4px solid transparent;
}
.level-card:hover { transform: translateX(4px); box-shadow: var(--shadow-md); }
.level-card.r3 { border-left-color: var(--r3-color); }
.level-card.r2 { border-left-color: var(--r2-color); }
.level-card.r1 { border-left-color: var(--r1-color); }
.level-card.r0 { border-left-color: var(--r0-color); }
.level-badge-lg {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 800;
  flex-shrink: 0;
}
.level-badge-lg.r3 { background: #EDE9FE; color: #7C3AED; }
.level-badge-lg.r2 { background: #DBEAFE; color: #2563EB; }
.level-badge-lg.r1 { background: #D1FAE5; color: #059669; }
.level-badge-lg.r0 { background: #F3F4F6; color: #6B7280; }

/* ===== Archive Card ===== */
.archive-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-md);
  margin-top: 4px;
}
.archive-item {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(229,231,235,0.5);
  align-items: flex-start;
}
.archive-item:last-child { border-bottom: none; }

/* ===== Period Grid (Profile) ===== */
.period-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}
.period-card {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 14px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.period-label { font-size: 12px; font-weight: 600; color: var(--text-sub); margin-bottom: 10px; }
.period-stats { display: flex; justify-content: center; gap: 14px; }

/* ===== Menu List (Profile) ===== */
.menu-list {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.menu-item {
  display: flex;
  align-items: center;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(229,231,235,0.4);
  cursor: pointer;
  transition: background 0.15s;
  gap: 12px;
}
.menu-item:hover { background: #F8FAFF; }
.menu-item:last-child { border-bottom: none; }

/* ===== Responsive fine-tune ===== */
@media (max-width: 380px) {
  .content { padding: 12px 12px 90px; }
  .quick-actions { gap: 8px; }
  .action-btn { padding: 14px 8px; }
  .stats-grid { gap: 8px; }
}
