:root {
  --sidebar-bg: #1e2a3a;
  --sidebar-hover: #2a3a50;
  --sidebar-active: #2471a3;
  --content-bg: #f4f6f9;
  --card-bg: #ffffff;
  --text-main: #2c3e50;
  --text-sub: #7f8c8d;
  --border: #e3e8ef;
  --primary: #2471a3;
  --primary-dark: #1b5e8a;
  --danger: #c0392b;
  --q1: #c0392b;
  --q2: #2471a3;
  --q3: #d35400;
  --q4: #7f8c8d;
  --radius: 10px;
  --shadow: 0 1px 3px rgba(30, 42, 58, .08), 0 1px 2px rgba(30, 42, 58, .06);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body { height: 100%; }

body {
  font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", system-ui, sans-serif;
  color: var(--text-main);
  background: var(--content-bg);
  font-size: 14px;
  line-height: 1.6;
}

/* ---------- 登录 / 注册 ---------- */
.auth-body {
  display: flex; align-items: center; justify-content: center;
  min-height: 100vh;
  background: linear-gradient(150deg, #1e2a3a 0%, #24425f 60%, #2f5577 100%);
}
.auth-card {
  width: 380px; max-width: 92vw;
  background: var(--card-bg);
  border-radius: 14px; padding: 36px 34px 26px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .28);
}
.auth-logo {
  width: 56px; height: 56px; margin: 0 auto 14px;
  border-radius: 14px;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(30, 42, 58, .12);
}
.auth-logo img { width: 44px; height: 48px; object-fit: contain; }
.auth-logo, .auth-logo img { border-radius: 10px; }
.auth-card h1 { text-align: center; font-size: 22px; letter-spacing: 1px; }
.auth-sub { text-align: center; color: var(--text-sub); margin: 4px 0 22px; font-size: 13px; }
.choose-card { max-width: 360px; padding: 30px 32px; }
.choose-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.choose-actions .btn { padding: 12px; font-size: 15px; text-align: center; text-decoration: none; }
.choose-actions .btn-block:hover { color: #fff; }
.choose-hint { text-align: center; color: var(--text-sub); font-size: 12px; margin: -2px 0 4px; }
.auth-card form { display: flex; flex-direction: column; gap: 6px; }
.field-label { font-size: 13px; color: var(--text-sub); margin-top: 8px; }
.remember { display: flex; align-items: center; gap: 6px; margin: 10px 0 16px; font-size: 13px; color: var(--text-sub); }
.form-msg { min-height: 20px; color: var(--danger); font-size: 13px; text-align: center; margin-top: 8px; }
.auth-foot { margin-top: 18px; text-align: center; color: var(--text-sub); font-size: 12px; }
.auth-foot code { background: #eef2f6; padding: 1px 6px; border-radius: 4px; }

/* ---------- 布局 ---------- */
.app-body { display: flex; height: 100vh; overflow: hidden; }
.sidebar {
  width: 220px; flex: none;
  background: var(--sidebar-bg); color: #cfd8e3;
  display: flex; flex-direction: column;
}
.brand { display: flex; align-items: center; gap: 10px; padding: 18px 16px 14px; border-bottom: 1px solid rgba(255,255,255,.08); }
.brand-logo {
  width: 40px; height: 40px; border-radius: 10px; flex: none;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
}
.brand-logo img { width: 34px; height: 38px; object-fit: contain; }
.brand-name { font-size: 15px; font-weight: 700; color: #fff; }
.brand-sub { font-size: 11px; color: #8fa3b8; }
.nav { flex: 1; padding: 12px 10px; display: flex; flex-direction: column; gap: 4px; }
.nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border: 0; border-radius: 8px;
  background: transparent; color: #cfd8e3;
  font-size: 14px; cursor: pointer; text-align: left;
  font-family: inherit;
}
.nav-item:hover { background: var(--sidebar-hover); }
.nav-item.active { background: var(--sidebar-active); color: #fff; font-weight: 600; }
.nav-ico { width: 20px; text-align: center; font-size: 15px; }
.sidebar-foot { padding: 14px 16px; border-top: 1px solid rgba(255,255,255,.08); font-size: 13px; color: #aebccd; }

.main { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.topbar {
  height: 58px; flex: none;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 22px; background: var(--card-bg);
  border-bottom: 1px solid var(--border);
}
.search-box { display: flex; gap: 8px; }
.search-box input { width: 320px; }
.topbar-right { display: flex; align-items: center; gap: 10px; color: var(--text-sub); font-size: 13px; }
.company-logo { height: 24px; width: auto; object-fit: contain; }
.nav-toggle { display: none; width: 40px; height: 40px; border: 1px solid var(--border); border-radius: 10px; background: #fff; font-size: 18px; cursor: pointer; flex: none; }

#view-container { flex: 1; overflow: auto; padding: 22px; }

/* ---------- 通用控件 ---------- */
.in {
  width: 100%; padding: 8px 10px; border: 1px solid var(--border);
  border-radius: 8px; font-size: 14px; font-family: inherit;
  background: #fff; color: var(--text-main); outline: none;
}
.in:focus { border-color: var(--primary); box-shadow: 0 0 0 2px rgba(36, 113, 163, .15); }
textarea.in { resize: vertical; min-height: 80px; line-height: 1.7; }
.btn {
  padding: 8px 16px; border: 1px solid var(--border); border-radius: 8px;
  background: #fff; color: var(--text-main); font-size: 13px;
  cursor: pointer; font-family: inherit; white-space: nowrap;
}
.btn:hover { background: #f1f5f9; }
.btn-primary { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-danger { background: #fff; border-color: #e8b4ad; color: var(--danger); }
.btn-danger:hover { background: #fdf0ef; }
.btn-block { width: 100%; padding: 10px; font-size: 15px; }
.btn-sm { padding: 4px 10px; font-size: 12px; }
.btn-done { background: #1e8449; border-color: #1e8449; color: #fff; }
.btn-done:hover { background: #187a41; color: #fff; }
.btn-undo { background: #fff; border-color: #c5cdd8; color: #556; }
.btn-undo:hover { background: #f1f5f9; color: #333; }

.card {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.section-title { font-size: 16px; font-weight: 700; margin-bottom: 12px; }
.muted { color: var(--text-sub); font-size: 12px; }

/* ---------- 首页 ---------- */
.greeting { margin-bottom: 18px; }
.greeting h2 { font-size: 20px; }
.greeting p { color: var(--text-sub); font-size: 13px; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 20px; }
.stat-card { padding: 16px 18px; cursor: pointer; border-left: 5px solid var(--qc, #999); }
.stat-card .stat-num { font-size: 30px; font-weight: 700; color: var(--qc, #999); }
.stat-card .stat-name { font-weight: 600; margin-top: 2px; }
.stat-card .stat-desc { color: var(--text-sub); font-size: 12px; }
.dash-cols { display: grid; grid-template-columns: 3fr 2fr; gap: 16px; }
.dash-panel { padding: 18px; }
.dash-panel .panel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.panel-head h3 { font-size: 15px; }

/* ---------- 记事 ---------- */
.notes-layout { display: flex; gap: 16px; align-items: flex-start; }
.notes-list-pane { width: 330px; flex: none; }
.notes-editor-pane { flex: 1; min-width: 0; }
.pane-card { padding: 14px; }
.pane-toolbar { display: flex; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.pane-toolbar .in { flex: 1; min-width: 120px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.chip {
  padding: 3px 10px; border-radius: 20px; font-size: 12px;
  background: #eef2f6; border: 1px solid var(--border); cursor: pointer; color: var(--text-main);
}
.chip.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.note-item {
  padding: 10px 12px; border: 1px solid var(--border); border-radius: 8px;
  margin-bottom: 8px; cursor: pointer; background: #fff;
}
.note-item:hover { border-color: var(--primary); }
.note-item.active { border-color: var(--primary); box-shadow: 0 0 0 2px rgba(36,113,163,.12); }
.note-item .t { font-weight: 600; display: flex; align-items: center; gap: 6px; }
.note-item .s { color: var(--text-sub); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pin { color: #d4a017; font-size: 12px; }

.editor-head { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; flex-wrap: wrap; }
.editor-head #note-title { flex: 1; font-size: 16px; font-weight: 600; min-width: 220px; }
.editor-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.editor-actions .in { width: auto; }
#note-category { width: 130px; }
#note-tags { width: 200px; }
.chk { display: flex; align-items: center; gap: 5px; font-size: 13px; color: var(--text-sub); }
#note-save-status { font-size: 12px; color: var(--text-sub); min-width: 90px; text-align: right; }
#note-content {
  width: 100%; min-height: 60vh; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 14px; font-size: 14px;
  line-height: 1.8; font-family: inherit; outline: none; resize: vertical;
}
#note-content:focus { border-color: var(--primary); box-shadow: 0 0 0 2px rgba(36,113,163,.12); }

/* ---------- 待办 ---------- */
.todos-toolbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }
.seg { display: flex; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.seg-btn { padding: 8px 14px; border: 0; background: #fff; cursor: pointer; font-size: 13px; font-family: inherit; }
.seg-btn.active { background: var(--primary); color: #fff; }
#todo-filter { width: 130px; }
#todo-search { width: 200px; }
.spacer { flex: 1; }

.matrix-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.quad-panel { border-radius: var(--radius); border: 1px solid var(--border); background: #fff; overflow: hidden; display: flex; flex-direction: column; }
.quad-head { padding: 10px 14px; color: #fff; display: flex; justify-content: space-between; align-items: center; }
.quad-head .qn { font-weight: 700; font-size: 15px; }
.quad-head .qd { font-size: 12px; opacity: .92; }
.quad-head .qcount { background: rgba(255,255,255,.22); padding: 1px 9px; border-radius: 12px; font-size: 12px; }
.quad-body { padding: 10px; min-height: 130px; }
.quad-body.empty { color: var(--text-sub); font-size: 13px; text-align: center; padding: 28px 10px; }
.q1 .quad-head { background: var(--q1); } .q1 { --qc: var(--q1); }
.q2 .quad-head { background: var(--q2); } .q2 { --qc: var(--q2); }
.q3 .quad-head { background: var(--q3); } .q3 { --qc: var(--q3); }
.q4 .quad-head { background: var(--q4); } .q4 { --qc: var(--q4); }

.todo-card {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 10px 12px; border: 1px solid var(--border); border-radius: 8px;
  margin-bottom: 8px; background: #fff;
}
.todo-card:hover { border-color: var(--qc, var(--primary)); }
.todo-card.done .todo-title { text-decoration: line-through; color: var(--text-sub); }
.todo-check { display: flex; padding-top: 3px; cursor: pointer; }
.todo-body { flex: 1; min-width: 0; }
.todo-title { font-weight: 600; word-break: break-all; }
.todo-note { color: var(--text-sub); font-size: 12px; margin-top: 2px; word-break: break-all; }
.todo-meta { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; align-items: center; }
.todo-acts { display: flex; gap: 2px; flex: none; }
.icon-btn {
  width: 28px; height: 28px; border: 0; border-radius: 6px; background: transparent;
  cursor: pointer; font-size: 14px; color: var(--text-sub);
}
.icon-btn:hover { background: #eef2f6; color: var(--text-main); }
.icon-btn.danger:hover { background: #fdf0ef; color: var(--danger); }
.icon-btn.starred { color: #d4a017; }
.q-badge { padding: 1px 8px; border-radius: 10px; font-size: 11px; color: #fff; }
.due-badge { padding: 1px 8px; border-radius: 10px; font-size: 11px; background: #eef2f6; color: var(--text-sub); }
.due-badge.over { background: #fdecea; color: var(--danger); }
.due-badge.today { background: #fff3e0; color: #d35400; }
.hits-badge { font-size: 11px; color: var(--text-sub); }

.todo-list-view .todo-card { margin-bottom: 8px; }

/* ---------- 会议纪要 ---------- */
.meeting-layout { display: flex; gap: 16px; align-items: flex-start; }
.meeting-list-pane { width: 330px; flex: none; }
.meeting-editor-pane { flex: 1; min-width: 0; }
.meeting-item {
  padding: 10px 12px; border: 1px solid var(--border); border-radius: 8px;
  margin-bottom: 8px; cursor: pointer; background: #fff;
}
.meeting-item:hover { border-color: var(--primary); }
.meeting-item.active { border-color: var(--primary); box-shadow: 0 0 0 2px rgba(36,113,163,.12); }
.meeting-item .t { font-weight: 600; }
.meeting-item .s { color: var(--text-sub); font-size: 12px; }
.mform-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mform-grid .full { grid-column: 1 / -1; }
.mform-grid label { font-size: 12px; color: var(--text-sub); display: block; margin-bottom: 3px; }
.mform-actions { display: flex; gap: 10px; margin-top: 12px; }

/* ---------- 设置 ---------- */
.settings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.set-card { padding: 18px; }
.set-card h3 { font-size: 15px; margin-bottom: 12px; }
.set-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.set-row label { font-size: 13px; color: var(--text-sub); }
.word-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.word-chip { display: inline-flex; align-items: center; gap: 3px; padding: 3px 8px 3px 10px; border-radius: 20px; background: #eef2f6; font-size: 12px; border: 1px solid var(--border); }
.word-chip .icon-btn { width: 16px; height: 16px; font-size: 12px; line-height: 14px; }
.word-chip .icon-btn:hover { color: var(--danger); background: #fdecea; }
.hint { color: var(--text-sub); font-size: 12px; margin-top: 6px; }

.icon-btn.urgent-on { color: #d35400; }

/* ---------- 弹窗 ---------- */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(20, 30, 45, .45);
  display: flex; align-items: center; justify-content: center; z-index: 50;
}
.modal {
  width: 520px; max-width: 94vw; max-height: 88vh; overflow: auto;
  background: #fff; border-radius: 12px; padding: 22px; box-shadow: 0 20px 60px rgba(0,0,0,.3);
}
.modal h3 { margin-bottom: 14px; }
.modal .in { margin-bottom: 10px; }
.modal-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 14px; }
.classify-preview {
  margin: 8px 0 12px; padding: 10px 12px; border-radius: 8px;
  background: #f6f9fc; border: 1px solid var(--border); font-size: 13px;
}
.classify-preview .q-line { font-weight: 700; }

/* ---------- 搜索 ---------- */
.search-groups { display: flex; flex-direction: column; gap: 16px; max-width: 860px; }
.search-group .group-title { font-weight: 700; margin-bottom: 8px; }
.search-item {
  display: block; width: 100%; text-align: left;
  padding: 10px 12px; border: 1px solid var(--border); border-radius: 8px;
  margin-bottom: 6px; background: #fff; cursor: pointer; font-family: inherit; font-size: 14px;
}
.search-item:hover { border-color: var(--primary); }
.search-item .t { font-weight: 600; }
.search-item .s { color: var(--text-sub); font-size: 12px; }

/* ---------- Toast ---------- */
#toast-root { position: fixed; top: 70px; right: 22px; z-index: 100; display: flex; flex-direction: column; gap: 8px; }
.toast {
  background: #2c3e50; color: #fff; padding: 10px 16px; border-radius: 8px;
  font-size: 13px; box-shadow: 0 6px 20px rgba(0,0,0,.25); animation: fadein .2s ease;
}
.toast.ok { background: #1e8449; }
.toast.err { background: var(--danger); }
@keyframes fadein { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; } }

@media (max-width: 1000px) {
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .dash-cols, .settings-grid { grid-template-columns: 1fr; }
  .notes-layout, .meeting-layout { flex-direction: column; }
  .notes-list-pane, .meeting-list-pane { width: 100%; }
  .sidebar { width: 64px; }
  .brand-name, .brand-sub, .nav-item { font-size: 0; }
  .nav-item { justify-content: center; }
  .nav-ico { font-size: 18px; }
  .sidebar-foot { font-size: 0; }
}

/* ---------- v2 多用户组件 ---------- */
.section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.section-head h2 { margin: 0; font-size: 20px; color: var(--ink); }
.dash-alert { background: #fff7e6; border: 1px solid #f0d48a; color: #7a5a00; padding: 12px 16px; border-radius: 12px; margin: 12px 0; cursor: pointer; font-weight: 600; }

.notif-wrap { position: relative; }
.notif-bell { position: relative; width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--border); background: #fff; font-size: 17px; cursor: pointer; }
.notif-bell:hover { background: #f4f6f9; }
.notif-dot { position: absolute; top: -6px; right: -6px; background: #c0392b; color: #fff; font-size: 11px; line-height: 16px; min-width: 16px; height: 16px; border-radius: 8px; padding: 0 4px; text-align: center; }
.notif-panel { position: absolute; right: 0; top: 44px; width: 360px; max-height: 440px; overflow: hidden; background: #fff; border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 8px 28px rgba(0,0,0,.12); z-index: 90; display: flex; flex-direction: column; }
.notif-head { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; border-bottom: 1px solid var(--border); font-weight: 600; }
.notif-list { overflow-y: auto; padding: 6px; }
.notif-item { display: flex; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 8px; border-bottom: 1px solid #f0f2f5; }
.notif-item.unread { background: #eef5ff; }
.notif-text { flex: 1; font-size: 13px; }
.notif-time { font-size: 12px; color: #888; white-space: nowrap; }

.person-badge { background: #eef2f7; color: #445; border-radius: 6px; font-size: 12px; padding: 2px 7px; }
.notify-badge { border-radius: 6px; font-size: 12px; padding: 2px 8px; font-weight: 600; }
.notify-badge.ok { background: #e7f6ec; color: #1e8449; }
.notify-badge.wait { background: #fff3cd; color: #7a5a00; }
.notify-badge.done { background: #dbeafe; color: #1d4ed8; }

.todo-history { margin-top: 6px; padding-top: 6px; border-top: 1px dashed #e0e5ec; }
.todo-history-item { font-size: 12px; color: #667; display: flex; gap: 6px; align-items: center; padding: 1px 0; }
.todo-history-icon.done { color: #1e8449; font-weight: 600; }
.todo-history-icon.undone { color: #b9770e; font-weight: 600; }

.quad-filter-bar { display: flex; align-items: center; gap: 12px; background: #eef5ff; border: 1px solid #c5d8f0; color: #1f4d78; border-radius: 10px; padding: 8px 14px; margin: 10px 0; font-weight: 600; }
.quad-done-hint { padding: 8px 10px; border-top: 1px dashed #e0e5ec; text-align: center; }
.quad-panel { cursor: pointer; }

.stats-section-title { margin: 18px 0 10px; font-size: 16px; color: var(--ink); }
.stat-card.today-mini { cursor: default; }
.stat-card.today-mini.warn { background: #fff3cd; border-color: #f0d48a; }
.rank-list { display: flex; flex-direction: column; gap: 6px; }
.rank-row { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.rank-idx { width: 22px; height: 22px; border-radius: 50%; background: #eef2f7; color: #667; display: inline-flex; align-items: center; justify-content: center; font-weight: 600; flex-shrink: 0; }
.rank-idx.top { background: #2471a3; color: #fff; }
.rank-name { width: 150px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rank-bar-box { flex: 1; background: #f2f4f7; border-radius: 6px; height: 14px; overflow: hidden; }
.rank-bar { height: 100%; border-radius: 6px; }
.rank-bar.done { background: #2e9e5b; }
.rank-bar.assign { background: #2471a3; }
.rank-count { width: 110px; text-align: right; color: #667; white-space: nowrap; }

.detail-list { display: flex; flex-direction: column; gap: 8px; }
.detail-row { display: flex; gap: 12px; font-size: 14px; border-bottom: 1px dashed #e8ecf2; padding-bottom: 6px; }
.detail-label { width: 90px; color: #667; flex-shrink: 0; }
.detail-value { flex: 1; word-break: break-all; }

.notif-modal-list { max-height: 380px; overflow-y: auto; }
.notif-modal-item { border: 1px solid #e4e9f0; border-radius: 10px; padding: 12px; margin-bottom: 10px; background: #fffdf5; }
.notif-modal-item.unread { border-color: #e6b4ad; background: #fef6f4; }
.notif-modal-title { font-weight: 600; margin-bottom: 4px; }
.notif-modal-time { font-size: 12px; color: #888; margin-bottom: 8px; }
.notif-modal-preview { font-size: 13px; color: #556; margin: 4px 0 8px;
  background: #f7f9fc; border: 1px solid #e8ecf2; border-radius: 8px; padding: 8px 10px;
  white-space: pre-wrap; word-break: break-all; max-height: 120px; overflow-y: auto; }
[data-theme="dark"] .notif-modal-preview { background: #141c25; border-color: #2a3846; color: #c3cfdb; }

.user-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; }
.user-table th, .user-table td { border: 1px solid #e4e9f0; padding: 9px 12px; font-size: 13px; text-align: left; }
.user-table th { background: #f4f6f9; font-weight: 600; }
.user-table td .btn { margin-right: 6px; }
.in-sm { width: 130px; }

.invite-role { font-weight: 600; width: 90px; }
.invite-code { background: #f4f6f9; border: 1px dashed #c5cdd8; border-radius: 6px; padding: 4px 10px; font-family: Consolas, monospace; letter-spacing: 2px; }

.recovery-key-box { margin-top: 8px; }
.recovery-key-text { font-family: Consolas, monospace; font-size: 22px; letter-spacing: 3px; background: #fffbea; border: 1px dashed #d4a800; border-radius: 8px; padding: 12px; text-align: center; }

.audit-list { max-height: 380px; overflow-y: auto; }
.audit-item { display: flex; gap: 10px; padding: 7px 4px; border-bottom: 1px solid #f0f2f5; font-size: 13px; }
.audit-item span:first-child { color: #777; white-space: nowrap; }

#others-banner { display: none; }

/* ---------- v2.2 新增：评论 / 附件 / 快速录入 / 看板 / 详情弹窗 ---------- */
.counts-badge { background: #eef5ff; color: #2471a3; border-radius: 10px; font-size: 11px; padding: 1px 8px; }
.todo-open-hint { font-size: 11px; color: #8aa0b8; margin-top: 4px; }

/* ---------- 任务状态机 ---------- */
.status-badge { padding: 1px 8px; border-radius: 10px; font-size: 11px; background: #eef2f6; color: #556; }
.status-badge.doing { background: #eaf2fb; color: #1d4ed8; }
.status-badge.review { background: #fff3cd; color: #7a5a00; }
.status-badge.done { background: #e7f6ec; color: #1e8449; }
.status-sel { width: 96px; height: 28px; padding: 2px 4px; font-size: 12px; }
[data-theme="dark"] .status-badge { background: #223041; color: #c3cfdb; }
[data-theme="dark"] .status-badge.doing { background: #1d3a55; color: #7ab8e8; }
[data-theme="dark"] .status-badge.review { background: #40341c; color: #e0b05c; }
[data-theme="dark"] .status-badge.done { background: #1c3a2b; color: #5fc98a; }

/* ---------- 会议转待办弹窗 ---------- */
.mt-list { display: flex; flex-direction: column; gap: 8px; max-height: 400px; overflow-y: auto; }
.mt-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  border: 1px solid #e4e9f0; border-radius: 8px; padding: 8px 10px; background: #f7f9fc; }
.mt-title { flex: 1; min-width: 150px; font-size: 13px; word-break: break-all; }
.mt-row .in-sm { width: 150px; }
[data-theme="dark"] .mt-row { background: #141c25; border-color: #2a3846; }

.board-load { padding: 2px 9px; border-radius: 10px; font-size: 11px; color: #fff; font-weight: 600; }
.board-load.load-green { background: #2e9e5b; }
.board-load.load-yellow { background: #d9a454; }
.board-load.load-red { background: #c0392b; }

.assign-list { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-bottom: 8px; }
.assign-chk { font-size: 13px; }

/* ---------- 新建/编辑待办：重要/紧急 醒目开关 ---------- */
.flag-panel { background: #f8fafc; border: 1px solid var(--border); border-radius: 10px;
  padding: 10px 12px; margin-top: 6px; }
.flag-title { font-size: 12px; color: var(--text-sub); margin-bottom: 8px; }
.flag-options { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.flag-chk { position: relative; display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px; border: 1.5px solid; border-radius: 8px; cursor: pointer;
  font-size: 13px; font-weight: 600; user-select: none; transition: all .15s ease; }
.flag-chk input { position: absolute; opacity: 0; width: 0; height: 0; }
.flag-chk.important { color: #c0392b; border-color: #e0a9a3; background: #fdf0ef; }
.flag-chk.important:hover { border-color: #c0392b; }
.flag-chk.important:has(input:checked) { background: #c0392b; color: #fff; border-color: #c0392b;
  box-shadow: 0 2px 8px rgba(192, 57, 43, .3); }
.flag-chk.urgent { color: #d35400; border-color: #f0c9a8; background: #fff4ec; }
.flag-chk.urgent:hover { border-color: #d35400; }
.flag-chk.urgent:has(input:checked) { background: #d35400; color: #fff; border-color: #d35400;
  box-shadow: 0 2px 8px rgba(211, 84, 0, .3); }
[data-theme="dark"] .flag-panel { background: #141c25; border-color: #2a3846; }
[data-theme="dark"] .flag-chk.important { background: #2a1f1d; border-color: #8a4b46; color: #f08a80; }
[data-theme="dark"] .flag-chk.urgent { background: #2a211a; border-color: #8a5a33; color: #f0b47a; }
[data-theme="dark"] .flag-chk.important:has(input:checked),
[data-theme="dark"] .flag-chk.urgent:has(input:checked) { color: #fff; }

/* ---------- Markdown 记事预览 ---------- */
.md-preview { padding: 10px 4px; }
.md-render { line-height: 1.7; font-size: 14px; color: var(--text-main); }
.md-render h1, .md-render h2, .md-render h3 { margin: 12px 0 6px; }
.md-render h1 { font-size: 20px; } .md-render h2 { font-size: 17px; } .md-render h3 { font-size: 15px; }
.md-render ul, .md-render ol { padding-left: 22px; margin: 6px 0; }
.md-render p { margin: 6px 0; }
.md-render code { background: #f1f4f8; border-radius: 4px; padding: 1px 5px; font-size: 13px; }
.md-render pre { background: #f6f8fa; border: 1px solid var(--border); border-radius: 8px;
  padding: 10px 12px; overflow-x: auto; margin: 8px 0; }
.md-render pre code { background: transparent; padding: 0; }
.md-render blockquote { border-left: 3px solid var(--primary); padding-left: 10px;
  color: var(--text-sub); margin: 8px 0; }
.md-render table { border-collapse: collapse; margin: 8px 0; }
.md-render th, .md-render td { border: 1px solid var(--border); padding: 4px 10px; }
[data-theme="dark"] .md-render code { background: #223041; }
[data-theme="dark"] .md-render pre { background: #141c25; }

/* ---------- 项目/版本 + 甘特图 ---------- */
.proj-badge { background: #eef2f7; color: #445; border-radius: 6px; font-size: 11px; padding: 1px 8px; }
[data-theme="dark"] .proj-badge { background: #223041; color: #c3cfdb; }
.gantt-wrap { display: flex; flex-direction: column; gap: 4px; }
.gantt-row { display: flex; align-items: center; gap: 10px; }
.gantt-label { width: 150px; flex: none; font-size: 13px; font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gantt-track { position: relative; flex: 1; height: 30px; background: #f7f9fc;
  border: 1px solid var(--border); border-radius: 6px; }
.gantt-head .gantt-track { height: 22px; background: transparent; border: 0; display: flex; }
.gantt-day { flex: 1; text-align: center; font-size: 10px; color: var(--text-sub);
  border-left: 1px solid #eef1f5; }
.gantt-day.weekend { color: #c0392b; }
.gantt-bar { position: absolute; top: 4px; height: 22px; border-radius: 4px; color: #fff;
  font-size: 11px; line-height: 22px; padding: 0 6px; white-space: nowrap; overflow: hidden;
  text-overflow: ellipsis; cursor: pointer; }
.gantt-bar.q1 { background: var(--q1); } .gantt-bar.q2 { background: var(--q2); }
.gantt-bar.q3 { background: var(--q3); } .gantt-bar.q4 { background: #8a94a1; }
[data-theme="dark"] .gantt-track { background: #141c25; }
[data-theme="dark"] .gantt-day { border-left-color: #223041; }

/* ---------- 统计图表 + 周报 ---------- */
.chart-box { background: var(--card-bg); border: 1px solid var(--border); border-radius: 10px;
  padding: 14px; margin-bottom: 10px; }
.greeting-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.wr-grid { grid-template-columns: repeat(3, 1fr); margin-bottom: 8px; }
.wr-item { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0;
  border-bottom: 1px dashed #e8ecf2; font-size: 13px; }
.wr-t { word-break: break-all; }
[data-theme="dark"] .wr-item { border-bottom-color: #2a3846; }

.quick-panel { padding: 14px 16px; margin-bottom: 14px; }
.quick-panel .set-row { margin-bottom: 8px; }
.quick-panel .in { flex: 1; min-width: 200px; }
.quick-preview { font-size: 13px; color: #556; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; min-height: 20px; }
.quick-preview .q-line { font-weight: 700; }

.board { display: grid; grid-template-columns: repeat(auto-fill, minmax(235px, 1fr)); gap: 12px; align-items: start; }
.board-col { min-width: 0; background: #f2f4f8; border: 1px solid var(--border); border-radius: 12px; display: flex; flex-direction: column; }
.board-col-head { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; background: #e8edf4; border-radius: 12px 12px 0 0; }
.board-col-name { font-weight: 700; font-size: 13px; }
.board-col-count { font-size: 12px; color: #667; }
.board-col-body { padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.board-col-body .todo-card { margin: 0; }

.td-loading { padding: 18px; color: #667; }
.td-section { margin-top: 16px; padding-top: 12px; border-top: 1px solid #e8ecf2; }
.td-sec-title { font-weight: 700; font-size: 14px; margin-bottom: 10px; color: var(--ink); }
.comment-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; max-height: 220px; overflow-y: auto; }
.comment-item { background: #f7f9fc; border: 1px solid #e8ecf2; border-radius: 10px; padding: 9px 12px; }
.comment-head { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 4px; }
.comment-who { font-weight: 600; font-size: 13px; }
.comment-time { font-size: 12px; color: #999; }
.comment-body { font-size: 13px; word-break: break-all; white-space: pre-wrap; }
.td-section .set-row .in { flex: 1; }
.att-list { display: flex; flex-direction: column; gap: 6px; margin-bottom: 10px; }
.att-item { display: flex; align-items: center; gap: 10px; font-size: 13px; background: #f7f9fc; border: 1px solid #e8ecf2; border-radius: 8px; padding: 8px 12px; flex-wrap: wrap; }
.att-name { color: var(--primary); text-decoration: none; font-weight: 600; word-break: break-all; }
.att-name:hover { text-decoration: underline; }

/* ---------- 回收站 + 在线状态 ---------- */
.trash-list { display: flex; flex-direction: column; gap: 8px; max-height: 400px; overflow-y: auto; }
.trash-item { display: flex; align-items: center; gap: 10px; padding: 9px 12px;
  border: 1px solid #e4e9f0; border-radius: 10px; background: #f7f9fc; font-size: 13px; flex-wrap: wrap; }
.trash-title { flex: 1; min-width: 160px; word-break: break-all; }
.online-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px;
  vertical-align: middle; }
.online-dot.on { background: #2e9e5b; box-shadow: 0 0 0 2px rgba(46, 158, 91, .25); }
.online-dot.off { background: #b8c4d0; }
[data-theme="dark"] .trash-item { background: #141c25; border-color: #2a3846; }
[data-theme="dark"] .online-dot.off { background: #4a5764; }

/* ---------- 手机端适配 ---------- */
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .app-body { position: relative; }
  .sidebar {
    position: fixed; left: 0; top: 0; bottom: 0; z-index: 60;
    width: 240px; transform: translateX(-100%);
    transition: transform .2s ease; box-shadow: 0 0 30px rgba(0,0,0,.25);
  }
  /* 恢复抽屉内文字与排版（覆盖 1000px 断点隐藏文字/收窄图标的规则） */
  .brand-name, .brand-sub, .nav-item, .sidebar-foot { font-size: inherit; }
  .brand-name { font-size: 15px; font-weight: 700; color: #fff; }
  .brand-sub { font-size: 11px; color: #8fa3b8; }
  .nav-item { justify-content: flex-start; font-size: 14px; }
  .sidebar-foot { font-size: 13px; }
  .app-body.nav-open .sidebar { transform: translateX(0); }
  .app-body.nav-open::after {
    content: ""; position: fixed; inset: 0; background: rgba(0,0,0,.35); z-index: 55;
  }
  .topbar { padding: 0 10px; gap: 8px; }
  .search-box input { width: 120px; }
  #today-label, .company-logo { display: none; }
  #view-container { padding: 14px 10px; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .matrix-grid { grid-template-columns: 1fr; }
  .board { display: flex; flex-direction: column; overflow-x: visible; }
  .board-col { min-width: 0; }
  /* 手机端待办卡片：正文占满第一行，操作按钮换行到第二行，避免文字被挤成竖排 */
  .todo-card { flex-wrap: wrap; }
  .todo-card .todo-body { flex: 1 1 100%; min-width: 0; }
  .todo-card .todo-acts { width: 100%; justify-content: flex-end; padding-top: 6px;
    border-top: 1px dashed #e0e5ec; margin-top: 2px; flex-wrap: wrap; }
  .todo-card .todo-acts .status-sel { margin-right: auto; }
  [data-theme="dark"] .todo-card .todo-acts { border-top-color: #2a3846; }
  .dash-cols, .settings-grid, .mform-grid { grid-template-columns: 1fr; }
  .notes-layout, .meeting-layout { flex-direction: column; }
  .notes-list-pane, .meeting-list-pane { width: 100%; }
  .todos-toolbar .in { flex: 1 1 100%; }
  .quick-panel .in { min-width: 0; }
  .modal { width: calc(100vw - 24px); max-height: 86vh; }
  .user-table { display: block; overflow-x: auto; white-space: nowrap; }
}

/* ---------- 暗黑模式（data-theme="dark"） ---------- */
[data-theme="dark"] {
  --sidebar-bg: #0f1620;
  --sidebar-hover: #1c2836;
  --sidebar-active: #2f6fa3;
  --content-bg: #0e1319;
  --card-bg: #171f29;
  --text-main: #d7e0e9;
  --text-sub: #8ea0b1;
  --border: #2a3846;
  --primary: #3d8ac7;
  --primary-dark: #2f6fa3;
  --danger: #e0655a;
}
[data-theme="dark"] body { color: var(--text-main); background: var(--content-bg); }
[data-theme="dark"] .auth-body {
  background: linear-gradient(150deg, #0f1620 0%, #16273a 60%, #1c3350 100%);
}
[data-theme="dark"] .auth-card,
[data-theme="dark"] .modal,
[data-theme="dark"] .card,
[data-theme="dark"] .user-table { background: var(--card-bg); }
[data-theme="dark"] .auth-sub,
[data-theme="dark"] .auth-foot { color: var(--text-sub); }
[data-theme="dark"] .auth-foot code { background: #223041; }

[data-theme="dark"] .in,
[data-theme="dark"] textarea#note-content {
  background: #121a23; color: var(--text-main); border-color: var(--border);
}
[data-theme="dark"] .in:focus { border-color: var(--primary); }
[data-theme="dark"] .in::placeholder { color: #5f7183; }
[data-theme="dark"] select.in option { background: #171f29; color: var(--text-main); }

[data-theme="dark"] .btn { background: #1c2733; border-color: #33414f; color: var(--text-main); }
[data-theme="dark"] .btn:hover { background: #25333f; }
[data-theme="dark"] .btn-primary { background: var(--primary); border-color: var(--primary); color: #fff; }
[data-theme="dark"] .btn-primary:hover { background: var(--primary-dark); color: #fff; }
[data-theme="dark"] .btn-danger { background: transparent; border-color: #8a4b46; color: #e0655a; }
[data-theme="dark"] .btn-danger:hover { background: #3a2422; }
[data-theme="dark"] .btn-undo { background: #1c2733; border-color: #33414f; color: #b8c4d0; }
[data-theme="dark"] .btn-undo:hover { background: #25333f; color: #e8eef4; }
[data-theme="dark"] .btn-done { background: #1e8449; border-color: #1e8449; color: #fff; }
[data-theme="dark"] .icon-btn { color: #9fb0c0; }
[data-theme="dark"] .icon-btn:hover { background: #232f3c; color: var(--text-main); }
[data-theme="dark"] .icon-btn.danger:hover { background: #3a2422; color: #e0655a; }
[data-theme="dark"] .icon-btn.starred { color: #e8c14e; }
[data-theme="dark"] .icon-btn.urgent-on { color: #e8965a; }

[data-theme="dark"] .seg-btn { background: #171f29; color: var(--text-main); }
[data-theme="dark"] .seg-btn.active { background: var(--primary); color: #fff; }
[data-theme="dark"] .chip { background: #1c2733; border-color: #33414f; color: var(--text-main); }
[data-theme="dark"] .chip.active { background: var(--primary); color: #fff; }
[data-theme="dark"] .note-item,
[data-theme="dark"] .meeting-item,
[data-theme="dark"] .search-item,
[data-theme="dark"] .todo-card { background: #171f29; border-color: #2a3846; }
[data-theme="dark"] .note-item:hover,
[data-theme="dark"] .meeting-item:hover,
[data-theme="dark"] .search-item:hover { border-color: var(--primary); }

[data-theme="dark"] .quad-panel { background: #141b24; border-color: #2a3846; }
[data-theme="dark"] .quad-body.empty { color: var(--text-sub); }
[data-theme="dark"] .todo-note,
[data-theme="dark"] .quick-preview { color: #9fb0c0; }
[data-theme="dark"] .todo-title { color: var(--text-main); }
[data-theme="dark"] .todo-card.done .todo-title { color: #6d7d8d; }
[data-theme="dark"] .todo-history { border-top: 1px dashed #33414f; }
[data-theme="dark"] .todo-history-item,
[data-theme="dark"] .todo-history-icon { color: #8ea0b1; }
[data-theme="dark"] .todo-history-icon.done { color: #3fae6b; }
[data-theme="dark"] .todo-history-icon.undone { color: #d9a454; }

[data-theme="dark"] .due-badge { background: #223041; color: #b8c4d0; }
[data-theme="dark"] .due-badge.over { background: #4a2a26; color: #f08a80; }
[data-theme="dark"] .due-badge.today { background: #4a3a1c; color: #f0b460; }
[data-theme="dark"] .hits-badge { color: #8ea0b1; }
[data-theme="dark"] .person-badge { background: #223041; color: #c3cfdb; }
[data-theme="dark"] .counts-badge { background: #1d3a52; color: #7ab8e8; }
[data-theme="dark"] .todo-open-hint { color: #5f7183; }

[data-theme="dark"] .notify-badge.ok { background: #1c3a2b; color: #5fc98a; }
[data-theme="dark"] .notify-badge.wait { background: #40341c; color: #e0b05c; }
[data-theme="dark"] .notify-badge.done { background: #1e3a55; color: #7ab8e8; }
[data-theme="dark"] .notif-panel { background: #171f29; border-color: #2a3846; }
[data-theme="dark"] .notif-bell { border-color: #2a3846; background: #171f29; color: var(--text-main); }
[data-theme="dark"] .notif-bell:hover { background: #232f3c; }
[data-theme="dark"] .notif-item { border-bottom: 1px solid #223041; }
[data-theme="dark"] .notif-item.unread { background: #1b2c3f; }
[data-theme="dark"] .notif-time { color: #718294; }
[data-theme="dark"] .notif-modal-item { border-color: #2a3846; }
[data-theme="dark"] .notif-modal-item.unread { border-color: #8a4b46; background: #2a1f1d; }
[data-theme="dark"] .notif-modal-time { color: #718294; }

[data-theme="dark"] .dash-alert { background: #3a321c; border-color: #6b5a24; color: #e8c86a; }
[data-theme="dark"] .stat-card.today-mini.warn { background: #40341c; border-color: #6b5a24; }
[data-theme="dark"] .quad-filter-bar { background: #1b2c3f; border-color: #2a485f; }
[data-theme="dark"] .quad-done-hint { border-top: 1px dashed #33414f; }

[data-theme="dark"] .user-table th { background: #1c2733; }
[data-theme="dark"] .user-table th,
[data-theme="dark"] .user-table td { border-color: #2a3846; }
[data-theme="dark"] .invite-code { background: #1c2733; border-color: #3a4a5a; }
[data-theme="dark"] .recovery-key-text { background: #121a23; color: #e8c14e; }
[data-theme="dark"] .rank-idx { background: #223041; color: #9fb0c0; }
[data-theme="dark"] .rank-idx.top { background: var(--primary); color: #fff; }
[data-theme="dark"] .rank-bar-box { background: #223041; }
[data-theme="dark"] .rank-count { color: #8ea0b1; }
[data-theme="dark"] .rank-name { color: var(--text-main); }

[data-theme="dark"] .detail-row { border-bottom: 1px dashed #33414f; }
[data-theme="dark"] .detail-label { color: #8ea0b1; }
[data-theme="dark"] .td-section { border-top: 1px solid #2a3846; }
[data-theme="dark"] .comment-item,
[data-theme="dark"] .att-item { background: #141c25; border-color: #2a3846; }
[data-theme="dark"] .comment-time,
[data-theme="dark"] .att-item .muted { color: #718294; }
[data-theme="dark"] .att-name { color: #7ab8e8; }

[data-theme="dark"] .word-chip { background: #1c2733; border-color: #33414f; color: var(--text-main); }
[data-theme="dark"] .board { background: transparent; }
[data-theme="dark"] .board-col { background: #141b24; border-color: #2a3846; }
[data-theme="dark"] .board-col-head { background: #1c2733; }
[data-theme="dark"] .board-col-count { color: #8ea0b1; }
[data-theme="dark"] .board-col-name { color: var(--text-main); }

[data-theme="dark"] .audit-item { border-bottom: 1px solid #223041; }
[data-theme="dark"] .audit-item span:first-child { color: #8ea0b1; }
[data-theme="dark"] .search-groups .group-title { color: var(--text-main); }
[data-theme="dark"] .muted { color: var(--text-sub); }
[data-theme="dark"] .topbar { background: var(--card-bg); border-bottom-color: var(--border); }
[data-theme="dark"] .quick-panel,
[data-theme="dark"] .dash-panel,
[data-theme="dark"] .pane-card,
[data-theme="dark"] .set-card { background: var(--card-bg); }
[data-theme="dark"] .stat-card .stat-name { color: var(--text-main); }
[data-theme="dark"] .stat-card .stat-desc { color: var(--text-sub); }

/* ---------- 日历视图 ---------- */
.cal-wrap { display: flex; flex-direction: column; gap: 12px; }
.cal-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cal-title { font-size: 16px; font-weight: 700; color: var(--ink); flex: 1; text-align: center; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-cell {
  min-height: 96px; background: var(--card-bg); border: 1px solid var(--border);
  border-radius: 8px; padding: 6px; cursor: pointer; overflow: hidden;
  display: flex; flex-direction: column; gap: 3px;
}
.cal-cell:hover { border-color: var(--primary); }
.cal-cell.today { border-color: var(--primary); box-shadow: 0 0 0 2px rgba(36,113,163,.18); }
.cal-cell.cal-empty { background: transparent; border-color: transparent; cursor: default; }
.cal-weekhead {
  min-height: auto; cursor: default; text-align: center; font-weight: 600; font-size: 12px;
  color: var(--text-sub); background: transparent; border: 0; padding: 4px 0;
}
.cal-weekhead:hover { border-color: transparent; }
.cal-daynum { font-size: 12px; color: var(--text-sub); }
.cal-cell.today .cal-daynum { color: var(--primary); font-weight: 700; }
.cal-item {
  font-size: 11px; line-height: 1.25; border-radius: 4px; padding: 2px 5px;
  color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer;
}
.cal-item.done { text-decoration: line-through; opacity: .6; }
.cal-meeting { background: #6b7280; }
.cal-todo.q1 { background: var(--q1); } .cal-todo.q2 { background: var(--q2); }
.cal-todo.q3 { background: var(--q3); } .cal-todo.q4 { background: #8a94a1; }
.cal-more { font-size: 11px; color: var(--text-sub); }
[data-theme="dark"] .cal-cell { background: #141c25; border-color: #2a3846; }
[data-theme="dark"] .cal-cell.cal-empty { background: transparent; border-color: transparent; }
[data-theme="dark"] .cal-title { color: var(--text-main); }

/* ---------- 系统公告 ---------- */
.ann-panel .search-item.ann-unread { background: #eef5ff; border-color: #b8d4ea; }
.ann-panel .search-item.ann-urgent .t { color: #c0392b; }
.ann-panel .search-item .t { font-weight: 600; }
.ann-title { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.ann-content { background: #f7f9fc; border: 1px solid #e8ecf2; border-radius: 8px;
  padding: 12px; margin: 10px 0; white-space: pre-wrap; word-break: break-all; }
[data-theme="dark"] .ann-panel .search-item.ann-unread { background: #1b2c3f; border-color: #2a485f; }
[data-theme="dark"] .ann-panel .search-item.ann-urgent .t { color: #f08a80; }
[data-theme="dark"] .ann-content { background: #141c25; border-color: #2a3846; }
