/* =====================================================================
 * 心火组 · 团队工作台 — 缤纷彩色主题
 * 柔光渐变背景 + 彩色玻璃卡片 + 高饱和点缀
 * ===================================================================== */

/* ----- 设计令牌 ----- */
:root {
  /* 品牌色系 */
  --coral:     #f26b5e;
  --sunset:    #f09060;
  --amber:     #f5a623;
  --mint:      #48b89c;
  --sky:       #5b9bd5;
  --violet:    #8b6fc0;
  --rose:      #e86b8a;

  /* 表面 */
  --bg-root:   #f2f0f6;
  --bg-card:   rgba(255,255,255,0.72);
  --bg-modal:  rgba(255,255,255,0.88);
  --bg-input:  rgba(255,255,240,0.65);
  --bg-sidebar: rgba(255,255,255,0.68);

  /* 文字 */
  --text:      #2c2c3a;
  --text-soft: #636378;
  --text-muted:#9393a6;

  /* 边框 */
  --border:    rgba(0,0,0,0.07);
  --border-focus: rgba(0,0,0,0.14);

  /* 阴影 */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow:    0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.14);

  /* 圆角 */
  --r-sm: 10px;
  --r:   16px;
  --r-lg: 22px;
  --r-xl: 28px;

  /* 字体 */
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --mono: "JetBrains Mono", "Cascadia Code", Consolas, monospace;
}

/* ----- 基础重置 ----- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg-root);
  -webkit-font-smoothing: antialiased;
  /* 彩色柔光团：珊瑚/天空/薄荷错落分布 */
  background-image:
    radial-gradient(ellipse 70% 55% at 18% 12%, rgba(240,144,96,0.32) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 82% 16%, rgba(91,155,213,0.30) 0%, transparent 55%),
    radial-gradient(ellipse 55% 60% at 78% 82%, rgba(72,184,156,0.26) 0%, transparent 50%),
    radial-gradient(ellipse 50% 55% at 12% 78%, rgba(232,107,138,0.22) 0%, transparent 50%),
    radial-gradient(ellipse 80% 70% at 50% 50%, rgba(139,111,192,0.12) 0%, transparent 55%);
  background-attachment: fixed;
}

/* 滚动条 */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.10); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: rgba(0,0,0,0.18); }

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

/* ===== 侧边栏 ===== */
.sidebar {
  width: 248px; flex-shrink: 0;
  margin: 18px 0 18px 18px;
  border-radius: var(--r-lg);
  background: var(--bg-sidebar);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 26px 18px 22px;
  display: flex; flex-direction: column; gap: 18px;
  position: sticky; top: 18px;
  height: calc(100vh - 36px);
  z-index: 10;
}

.brand { display: flex; align-items: center; gap: 12px; }

.logo {
  width: 42px; height: 42px; border-radius: 13px;
  background: linear-gradient(135deg, var(--coral), var(--sunset));
  color: #fff; font-weight: 750; font-size: 19px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 3px 14px rgba(242,107,94,0.32);
}

.brand h1 {
  font-size: 15px; font-weight: 680; line-height: 1.35; color: var(--text);
  letter-spacing: -0.01em;
}
.subtitle { font-size: 11px; color: var(--text-muted); margin-top: 2px; }

/* 时钟 */
.clock {
  font-size: 12px; color: var(--text-soft);
  font-variant-numeric: tabular-nums;
  background: rgba(255,255,255,0.55);
  border: 1px solid var(--border);
  border-radius: var(--r-sm); padding: 10px 14px;
  font-family: var(--mono); letter-spacing: 0.02em;
}

/* 同步状态 */
.sync { font-size: 11px; color: var(--text-muted); padding-left: 2px; }
.sync.ok { color: var(--mint); font-weight: 600; }
.sync.warn { color: var(--amber); font-weight: 600; }

/* ===== 排班翻周按钮 ===== */
.week-nav { font-size: 16px; padding: 6px 10px; border-radius: 8px; line-height: 1; }
.week-nav:hover { background: rgba(255,255,255,0.9); }

/* 导航 —— 每项独立配色 */
.nav { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.nav-item {
  border: 1px solid transparent;
  background: transparent; cursor: pointer; text-align: left;
  padding: 12px 15px; font-size: 14px; color: var(--text-soft);
  border-radius: var(--r-sm); font-weight: 540;
  transition: all 0.2s ease; font-family: inherit;
}
.nav-item:hover {
  color: var(--text);
  background: rgba(255,255,255,0.7);
  border-color: var(--border);
}
/* 四导航各不同 */
.nav-item:nth-child(1) {}
.nav-item:nth-child(1).active {
  color: #fff;
  background: linear-gradient(135deg, var(--coral), #e85a4e);
  border-color: transparent;
  font-weight: 650;
  box-shadow: 0 4px 18px rgba(242,107,94,0.28);
}
.nav-item:nth-child(2).active {
  color: #fff;
  background: linear-gradient(135deg, var(--sky), #4a8ac4);
  border-color: transparent;
  font-weight: 650;
  box-shadow: 0 4px 18px rgba(91,155,213,0.28);
}
.nav-item:nth-child(3).active {
  color: #fff;
  background: linear-gradient(135deg, var(--mint), #3ca088);
  border-color: transparent;
  font-weight: 650;
  box-shadow: 0 4px 18px rgba(72,184,156,0.28);
}
.nav-item:nth-child(4).active {
  color: #fff;
  background: linear-gradient(135deg, var(--violet), #7a5fb5);
  border-color: transparent;
  font-weight: 650;
  box-shadow: 0 4px 18px rgba(139,111,192,0.28);
}

/* ===== 主内容区 ===== */
.main { flex: 1; padding: 50px 22px 40px; min-width: 0; }

/* 面板 */
.panel {
  display: none;
  background: var(--bg-card);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  padding: 28px 28px 26px;
  animation: fadeIn 0.25s ease;
}
.panel.active { display: block; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.panel-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; margin-bottom: 22px; flex-wrap: wrap;
}
.panel-head h2 {
  font-size: 19px; font-weight: 680; color: var(--text);
  letter-spacing: -0.01em;
}
.week-range { font-size: 13px; color: var(--text-muted); font-family: var(--mono); }

/* ----- 日期选择器 ----- */
.date-picker {
  padding: 10px 15px;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  font-size: 13px; color: var(--text);
  background: var(--bg-input);
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.date-picker:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 3px rgba(91,155,213,0.12); }

/* ----- 导师提示 ----- */
.tutor-hint {
  font-size: 13px; color: var(--text-soft);
  background: linear-gradient(135deg, rgba(255,255,255,0.7), rgba(255,255,240,0.6));
  border: 1px dashed rgba(91,155,213,0.3);
  border-radius: var(--r-sm);
  padding: 11px 17px; margin-bottom: 20px; line-height: 1.6;
}

/* ===== 排班表 ===== */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.5);
}

table {
  width: 100%; border-collapse: collapse; min-width: 720px;
}

thead th {
  background: linear-gradient(180deg, rgba(255,255,255,0.8), rgba(255,255,240,0.5));
  font-weight: 650; color: var(--text-soft);
  font-size: 13px; padding: 14px 8px;
  border-bottom: 1px solid var(--border);
}
thead th.corner { color: var(--text-muted); }

th, td {
  padding: 10px 8px; text-align: center; font-size: 13px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
th:last-child, td:last-child { border-right: none; }

.day-date { font-size: 10px; color: var(--text-muted); font-weight: 400; display: block; margin-top: 2px; }

.member-cell {
  background: rgba(255,255,255,0.65);
  font-weight: 620; color: var(--text-soft);
  white-space: nowrap; font-size: 13px;
  min-width: 72px;
}

.cell {
  cursor: pointer; min-width: 96px; height: 52px;
  transition: background 0.15s, transform 0.1s;
  vertical-align: middle;
}
.cell:hover { background: rgba(255,255,255,0.7); transform: scale(1.02); }
.cell .placeholder { color: var(--text-muted); font-size: 12px; }
.cell .shift { font-weight: 620; color: var(--coral); }
.cell .time { font-size: 11px; color: var(--text-muted); margin-top: 2px; }
.cell.rest { background: rgba(220,220,228,0.4); }
.cell.rest .rest-tag {
  color: var(--text-muted); font-weight: 600;
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(0,0,0,0.04);
}

.actions { margin-top: 20px; display: flex; justify-content: flex-end; align-items: center; gap: 14px; }
.publish-hint { font-size: 12px; color: var(--text-muted); margin-right: auto; }

/* ===== 按钮 ===== */
.btn {
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.6);
  color: var(--text-soft);
  padding: 9px 20px; border-radius: var(--r-sm);
  font-size: 13px; cursor: pointer; font-weight: 560;
  transition: all 0.18s; font-family: inherit;
  backdrop-filter: blur(6px);
}
.btn:hover { background: #fff; color: var(--text); border-color: var(--border-focus); }
.btn.primary {
  background: linear-gradient(135deg, var(--coral), var(--sunset));
  color: #fff; border: none;
  box-shadow: 0 3px 16px rgba(242,107,94,0.25);
  font-weight: 620;
}
.btn.primary:hover {
  filter: brightness(1.06);
  box-shadow: 0 5px 22px rgba(242,107,94,0.35);
}
.btn.ghost {
  background: transparent; border-color: transparent;
  color: var(--text-muted);
}
.btn.ghost:hover { background: rgba(255,255,255,0.6); color: var(--text-soft); }
.btn.block { width: 100%; justify-content: center; display: flex; }
.btn.inactive { opacity: 0.4; pointer-events: none; }
.btn.sm { padding: 7px 15px; font-size: 12px; border-radius: 8px; }

/* ===== 日报卡片 ===== */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }

.card {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 20px;
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
}

.card.clickable { cursor: pointer; }
.card.clickable:hover {
  transform: translateY(-2px);
  border-color: rgba(242,107,94,0.3);
  box-shadow: 0 10px 32px rgba(0,0,0,0.10);
}

.card-top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }

.avatar {
  width: 42px; height: 42px; border-radius: 50%;
  color: #fff; font-weight: 700; font-size: 17px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.name { font-size: 15px; font-weight: 620; color: var(--text); }

.card-badge { margin-left: auto; text-align: right; }
.status.done { color: var(--mint); font-weight: 620; font-size: 13px; }
.status.empty { color: var(--text-muted); font-size: 13px; font-weight: 500; }
.submit-time { font-size: 11px; color: var(--text-muted); margin-top: 4px; }

/* 数据概览 */
.r-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  margin-bottom: 10px;
}
.r-stats span {
  font-size: 11px; color: var(--text-muted);
  background: rgba(255,255,255,0.6);
  border: 1px solid var(--border);
  border-radius: 8px; padding: 7px 10px;
  display: flex; justify-content: space-between; align-items: center;
}
.r-stats b { color: var(--coral); font-size: 13px; font-weight: 650; }

.r-text {
  font-size: 13px; color: var(--text-soft); line-height: 1.55;
  max-height: 68px; overflow: hidden;
  background: rgba(255,255,255,0.5);
  border-radius: 8px; padding: 8px 10px;
  border: 1px solid var(--border);
}

.card-actions { display: flex; gap: 8px; margin-top: 14px; }
.card-actions .btn { flex: 1; }

/* ===== 数据统计表 ===== */
#statsTable { min-width: 880px; }
#statsTable thead th { font-size: 12px; }
#statsTable td.sum { font-weight: 650; color: var(--mint); }
#statsTable tfoot th,
#statsTable tfoot td {
  background: rgba(72,184,156,0.08);
  font-weight: 700; color: var(--mint);
  border-top: 2px solid rgba(72,184,156,0.35);
}
#statsTable tfoot td.sum { color: var(--mint); }

/* ===== 条形图 ===== */
.stats-chart {
  margin-top: 22px;
  background: rgba(255,255,255,0.6);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 20px 22px;
  backdrop-filter: blur(8px);
}
.chart-title { font-size: 14px; font-weight: 650; color: var(--text); margin-bottom: 16px; }
.chart-row { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.chart-row:last-child { margin-bottom: 0; }
.chart-name {
  width: 56px; flex-shrink: 0; font-size: 13px; font-weight: 620;
  color: var(--text-soft);
}
.chart-bar-wrap { flex: 1; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.chart-bar {
  height: 26px; border-radius: 8px; display: flex; align-items: center;
  padding: 0 12px; color: #fff; font-size: 12px; font-weight: 620;
  min-width: 46px; transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap; overflow: hidden;
}
.chart-bar span { margin-left: auto; }
.chart-bar.recycle { background: linear-gradient(135deg, var(--coral), var(--sunset)); }
.chart-bar.sales { background: linear-gradient(135deg, var(--sky), #4088c8); }

/* ===== 弹窗 ===== */
.modal-mask {
  position: fixed; inset: 0;
  background: rgba(30,30,50,0.32);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: none; align-items: center; justify-content: center;
  z-index: 50; padding: 20px;
}
.modal-mask.show { display: flex; animation: fadeIn 0.18s ease; }

.modal {
  background: var(--bg-modal);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px; width: 100%;
  max-width: 440px;
  box-shadow: var(--shadow-lg);
  max-height: 90vh; overflow-y: auto;
}
.modal h3 { font-size: 18px; font-weight: 680; color: var(--text); margin-bottom: 18px; }
.modal label {
  display: block; font-size: 12px; color: var(--text-muted);
  margin: 14px 0 6px; font-weight: 520;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.modal select, .modal input, .modal textarea {
  width: 100%; padding: 12px 15px;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  font-size: 14px; font-family: inherit; color: var(--text);
  background: var(--bg-input);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.modal select:focus, .modal input:focus, .modal textarea:focus {
  outline: none; border-color: var(--sky);
  box-shadow: 0 0 0 3px rgba(91,155,213,0.14);
}
.modal textarea { resize: vertical; min-height: 80px; }
.modal input:disabled, .modal textarea:disabled {
  opacity: 0.5; cursor: not-allowed;
}
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 22px; }

/* 日报弹窗宽版 */
.modal.report-modal { max-width: 1000px; width: 94vw; }
.report-cols { display: grid; grid-template-columns: 0.7fr 1.8fr; gap: 28px; align-items: stretch; }
.report-col { display: flex; flex-direction: column; }
.col-title {
  font-size: 12px; font-weight: 680; color: var(--coral);
  margin-bottom: 8px; padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
  text-transform: uppercase; letter-spacing: 0.07em;
}
.data-col label { margin: 10px 0 4px; font-size: 12px; color: var(--text-muted); text-transform: none; letter-spacing: 0; }
.text-col textarea {
  flex: 1; min-height: 420px; resize: vertical;
  line-height: 1.75; font-size: 15px;
}

/* ===== Toast ===== */
.toast {
  position: fixed; left: 50%; bottom: 40px;
  transform: translateX(-50%) translateY(20px);
  background: rgba(30,30,50,0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #fff; padding: 12px 26px;
  border-radius: 24px; font-size: 14px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.25);
  opacity: 0; pointer-events: none; transition: all 0.25s;
  z-index: 150; /* 高于登录弹窗（100）和改密弹窗（110） */
  border: 1px solid rgba(255,255,255,0.15);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ===== 登录弹窗 ===== */
#loginMask { z-index: 100; }
#changePwdMask { z-index: 110; }
.login-modal { max-width: 380px; }
.login-foot { text-align: right; margin-top: 10px; }
.link-btn {
  background: none; border: none; color: var(--sky);
  font-size: 13px; cursor: pointer; padding: 4px;
  font-family: inherit; transition: color 0.15s;
}
.link-btn:hover { color: var(--coral); }

.remember-label {
  display: flex !important; align-items: center; gap: 8px;
  margin-top: 14px !important; cursor: pointer;
  color: var(--text-soft) !important; font-size: 13px !important;
  text-transform: none !important; letter-spacing: 0 !important;
  font-weight: 450 !important;
}
.remember-label input[type="checkbox"] {
  width: 16px; height: 16px; accent-color: var(--coral);
  cursor: pointer; margin: 0;
}

/* ===== 用户区域 ===== */
.user-area {
  position: fixed; top: 18px; right: 22px; z-index: 40;
  display: flex; align-items: center; gap: 10px;
}

.user-chip {
  padding: 9px 20px; border-radius: 24px; cursor: pointer;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  font-size: 14px; font-weight: 600; color: var(--text-soft);
  transition: all 0.2s;
  box-shadow: var(--shadow-sm);
}
.user-chip:hover { border-color: var(--border-focus); }
.user-chip.logged {
  color: #fff;
  background: linear-gradient(135deg, var(--coral), var(--sunset));
  border: none;
  box-shadow: 0 3px 18px rgba(242,107,94,0.3);
}

.logout-btn {
  padding: 8px 14px; border-radius: 20px; cursor: pointer;
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--border);
  font-size: 12px; font-weight: 550; color: var(--text-muted);
  font-family: inherit; transition: all 0.18s;
  white-space: nowrap;
}
.logout-btn:hover { background: #fff; color: var(--coral); border-color: rgba(242,107,94,0.3); }

/* ===== 全屏弹幕 ===== */
.danmaku-screen {
  position: fixed; inset: 0; overflow: hidden;
  pointer-events: none; z-index: 45; display: none;
}
.danmaku-screen.show { display: block; }
.dm-empty {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  color: var(--text-muted); font-size: 14px;
  background: rgba(255,255,255,0.6); padding: 10px 24px;
  border-radius: 24px; backdrop-filter: blur(10px);
}
.dm {
  position: absolute; left: 100%; white-space: nowrap;
  font-size: 15px; font-weight: 620; color: #fff;
  background: linear-gradient(135deg, rgba(242,107,94,0.92), rgba(240,144,96,0.90));
  padding: 8px 20px; border-radius: 22px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  animation-name: dm-move-full; animation-timing-function: linear;
  animation-iteration-count: infinite;
  text-shadow: 0 1px 3px rgba(0,0,0,0.25);
}
.dm.like {
  background: linear-gradient(135deg, rgba(139,111,192,0.92), rgba(122,95,181,0.90));
}
@keyframes dm-move-full {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-100vw - 120%)); }
}

/* ===== 互动页 ===== */
.interact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }

.member-block {
  border-radius: var(--r); padding: 20px 22px;
  color: #fff;
  box-shadow: 0 6px 24px rgba(0,0,0,0.15);
  position: relative; overflow: hidden;
}
.member-block::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.12), transparent 60%);
  pointer-events: none;
}
.mb-name { font-size: 18px; font-weight: 700; margin-bottom: 8px; position: relative; z-index: 1; }
.mb-data {
  font-size: 12px; line-height: 1.7; opacity: 0.90; margin-bottom: 16px;
  font-family: var(--mono); letter-spacing: 0.01em; position: relative; z-index: 1;
}
.mb-actions { display: flex; gap: 8px; position: relative; z-index: 1; }
.mb-btn {
  background: rgba(255,255,255,0.92); color: var(--text);
  border: none; flex: 1; font-weight: 620;
  font-family: inherit; border-radius: 8px;
  padding: 8px 12px; font-size: 13px; cursor: pointer;
  transition: background 0.15s;
}
.mb-btn:hover { background: #fff; }
.mb-btn.like .like-count { font-weight: 700; }

.head-tools { display: flex; align-items: center; gap: 10px; }

/* 统计模式切换 */
.stats-toggle { display: flex; gap: 2px; background: rgba(0,0,0,0.05); border-radius: 10px; padding: 3px; }
.st-btn {
  border: none; background: transparent; cursor: pointer;
  padding: 6px 14px; font-size: 13px; font-weight: 550;
  border-radius: 8px; color: var(--text-muted);
  font-family: inherit; transition: all 0.18s;
}
.st-btn:hover { color: var(--text); }
.st-btn.active {
  background: #fff; color: var(--coral);
  font-weight: 650; box-shadow: var(--shadow-sm);
}

/* 空值占位 */
.empty-val { color: var(--text-muted); font-style: italic; }

/* ===== 评论弹窗 ===== */
.comment-modal { max-width: 560px; }
.comment-preview {
  background: rgba(255,255,255,0.6);
  border: 1px solid var(--border);
  border-radius: var(--r-sm); padding: 15px 17px; margin-bottom: 6px;
}
.cp-data { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.cp-item { display: flex; flex-direction: column; font-size: 11px; color: var(--text-muted); line-height: 1.3; }
.cp-item b { font-size: 14px; color: var(--coral); font-weight: 700; }
.cp-text {
  margin-top: 10px; font-size: 13px; line-height: 1.7; color: var(--text-soft);
  background: rgba(255,255,255,0.5); border-radius: 8px; padding: 9px 12px;
  max-height: 130px; overflow: auto;
  border: 1px solid var(--border);
}
.cp-empty { font-size: 13px; color: var(--text-muted); }
.comment-textarea { min-height: 180px; font-size: 15px; line-height: 1.7; }

/* ===== 查看日报 ===== */
.view-data {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 10px; margin-bottom: 14px;
}
.vd-item {
  display: flex; justify-content: space-between; gap: 8px; font-size: 13px;
  background: rgba(255,255,255,0.6);
  border: 1px solid var(--border);
  border-radius: 8px; padding: 9px 12px;
}
.vd-item span { color: var(--text-muted); }
.vd-item b { color: var(--coral); }
.view-text {
  background: rgba(255,255,255,0.5); border-radius: 8px;
  padding: 10px 12px; font-size: 13px; line-height: 1.6; margin-bottom: 10px;
  border: 1px solid var(--border);
}
.vt-title { font-size: 11px; color: var(--text-muted); margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.05em; }
.view-time { font-size: 12px; color: var(--text-muted); }
.view-empty { color: var(--text-muted); font-size: 14px; padding: 10px 0; }

/* ===== 个人中心 ===== */
.personal-modal { max-width: 620px; }
.personal-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.personal-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 20px; font-weight: 700;
}
.personal-page-label { font-size: 15px; font-weight: 700; color: var(--text); }

.personal-tabs { display: flex; gap: 6px; margin-bottom: 18px; }
.ptab {
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.5); cursor: pointer;
  padding: 8px 18px; border-radius: 10px;
  font-size: 13px; color: var(--text-muted); font-weight: 550;
  font-family: inherit; transition: all 0.15s;
}
.ptab:hover { color: var(--text); background: #fff; }
.ptab.active {
  background: linear-gradient(135deg, rgba(242,107,94,0.12), rgba(240,144,96,0.08));
  border-color: rgba(242,107,94,0.24);
  color: var(--coral); font-weight: 650;
}
#notifBadge { color: var(--coral); font-weight: 700; }

.personal-body { max-height: 56vh; overflow-y: auto; }
.pr-item {
  background: rgba(255,255,255,0.6);
  border: 1px solid var(--border);
  border-radius: var(--r-sm); padding: 14px 16px; margin-bottom: 10px;
}
.pr-date { font-size: 13px; font-weight: 600; color: var(--coral); margin-bottom: 6px; }
.pr-data { font-size: 12px; color: var(--text-muted); line-height: 1.6; }
.pr-text {
  font-size: 13px; line-height: 1.6; margin-top: 8px; color: var(--text-soft);
  background: rgba(255,255,255,0.5); border-radius: 8px; padding: 8px 10px;
  border: 1px solid var(--border);
}

.notif-item {
  background: rgba(255,255,255,0.6);
  border: 1px solid var(--border);
  border-radius: var(--r-sm); padding: 12px 16px; margin-bottom: 10px;
  font-size: 14px; line-height: 1.5; color: var(--text-soft);
}
.notif-from { font-weight: 700; color: var(--coral); margin-right: 4px; }
.notif-time { display: block; font-size: 12px; color: var(--text-muted); margin-top: 4px; }

/* ===== 响应式 ===== */
@media (max-width: 760px) {
  .layout { flex-direction: column; }
  .sidebar {
    width: auto; height: auto; position: static;
    margin: 12px; flex-direction: row; align-items: center;
    flex-wrap: wrap; gap: 10px; padding: 16px;
  }
  .clock { display: none; }
  .sync { display: none; }
  .nav { flex-direction: row; width: 100%; }
  .nav-item { flex: 1; text-align: center; font-size: 13px; padding: 10px 8px; }
  .main { padding: 4px 12px 28px; }
  .panel { padding: 18px; }
  .cards { grid-template-columns: 1fr; }
  .brand h1 { font-size: 14px; }
  .report-cols { grid-template-columns: 1fr; }
  .text-col textarea { min-height: 140px; }
  .interact-grid { grid-template-columns: 1fr; }
  .user-chip { top: auto; bottom: 14px; right: 14px; font-size: 13px; }
}
