:root {
  /* 宣纸古雅温暖配色系统 */
  --bg: #faf7f2;
  --bg-gradient: radial-gradient(circle at 50% 50%, #fbfaf8 0%, #f4eee1 100%);
  --card: #ffffff;
  --text: #332f2b;
  --text-muted: #8c857b;
  --line: #ede9e2;
  
  --accent: #1d2d50;      /* 藏蓝 */
  --accent-light: #eef1f6; 
  --accent-hover: #111e38;  
  --gold: #d4af37;
  --cinnabar: #d2421c;    /* 朱砂红 */
  --shadow: rgba(51, 47, 43, 0.05);
  
  /* 弹性时间函数 */
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --sidebar-width: 320px;
}

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

html, body {
  width: 100%;
  height: 100%;
  background-color: var(--bg);
  background-image: var(--bg-gradient);
  color: var(--text);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}

.serif {
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-weight: 900;
}

/* ===== 核心应用布局 ===== */
.app-container {
  display: flex;
  width: 100vw;
  height: 100vh;
  position: relative;
}

/* ===== 侧边栏样式 (Glassmorphic) ===== */
.sidebar {
  width: var(--sidebar-width);
  height: 100%;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-right: 1px solid rgba(56, 48, 40, 0.08);
  display: flex;
  flex-direction: column;
  padding: 30px 24px;
  flex-shrink: 0;
  z-index: 10;
}

.brand {
  margin-bottom: 24px;
}

.brand h2 {
  font-size: 24px;
  letter-spacing: 1.5px;
  color: var(--text);
  line-height: 1.2;
}

.sub-brand {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 9px;
  letter-spacing: 3px;
  color: var(--text-muted);
  text-transform: uppercase;
  display: block;
  margin-top: 4px;
}

/* 信念卡片 */
.quote-card {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(210, 66, 28, 0.15);
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 28px;
  box-shadow: 0 4px 15px var(--shadow);
  cursor: pointer;
  transition: var(--transition);
}

.quote-card:hover {
  transform: translateY(-2px);
  border-color: var(--cinnabar);
  box-shadow: 0 8px 24px rgba(210, 66, 28, 0.08);
}

.quote-text {
  font-size: 13.5px;
  line-height: 1.6;
  color: #5a5045;
  font-weight: 500;
  text-align: justify;
}

.quote-author {
  display: block;
  text-align: right;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 8px;
  letter-spacing: 1px;
}

/* 分类列表 */
.nav-section {
  flex: 1;
  overflow-y: auto;
  margin-bottom: 20px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  padding-bottom: 6px;
  border-bottom: 1.5px solid var(--line);
}

.section-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text);
}

.add-cat-btn {
  background: transparent;
  border: none;
  font-size: 16px;
  font-weight: bold;
  color: var(--text-muted);
  cursor: pointer;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.add-cat-btn:hover {
  background: rgba(56, 48, 40, 0.06);
  color: var(--text);
}

.category-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.category-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 10px;
  background: transparent;
  transition: var(--transition);
}

.category-item:hover {
  background: rgba(255, 255, 255, 0.6);
}

.cat-left {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  flex: 1;
}

.cat-checkbox {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 2px solid var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.cat-dot {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  transition: var(--transition);
}

.cat-name {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 170px;
}

.cat-edit-btn {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 12px;
  cursor: pointer;
  padding: 4px 6px;
  opacity: 0;
  border-radius: 4px;
  transition: var(--transition);
}

.category-item:hover .cat-edit-btn {
  opacity: 1;
}

.cat-edit-btn:hover {
  background: rgba(56, 48, 40, 0.06);
  color: var(--text);
}

/* 辅助操作栏 */
.aux-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.aux-btn {
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid rgba(210, 66, 28, 0.2);
  background: rgba(210, 66, 28, 0.03);
  color: var(--cinnabar);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition);
}

.aux-btn:hover {
  background: var(--cinnabar);
  color: #fff;
  border-color: var(--cinnabar);
  box-shadow: 0 4px 15px rgba(210, 66, 28, 0.2);
}

.data-manage-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.data-btn {
  font-family: inherit;
  font-size: 11px;
  font-weight: 500;
  padding: 8px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.data-btn:hover {
  border-color: var(--text);
  color: var(--text);
  background: #fff;
}

.sidebar-footer {
  font-size: 10.5px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 14px;
}

/* ===== 右侧主视图区 ===== */
.main-content {
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 30px 40px;
  overflow: hidden;
}

/* 日历头部 */
.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-shrink: 0;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-btn {
  font-family: inherit;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  cursor: pointer;
  transition: var(--transition);
  outline: none;
}

.nav-btn:hover {
  border-color: var(--text);
  box-shadow: 0 2px 8px var(--shadow);
}

.today-btn {
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 16px;
}

.arrow-group {
  display: flex;
  border-radius: 8px;
  overflow: hidden;
}

.arrow-btn {
  font-size: 10px;
  padding: 8px 12px;
  border-radius: 0;
}

.arrow-group .arrow-btn:first-child {
  border-right: none;
  border-radius: 8px 0 0 8px;
}

.arrow-group .arrow-btn:last-child {
  border-radius: 0 8px 8px 0;
}

.calendar-title {
  font-size: 26px;
  letter-spacing: 1px;
  color: var(--text);
  margin-left: 8px;
}

/* 统计概要 */
.stats-summary {
  display: flex;
  gap: 16px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
}

.stat-tag {
  background: #fff;
  border: 1px solid var(--line);
  padding: 6px 12px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 6px var(--shadow);
}

.stat-tag b {
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  font-size: 13.5px;
}

/* 周表头 */
.week-header {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 10px;
  flex-shrink: 0;
  padding: 0 8px;
}

.week-header div:first-child, .week-header div:last-child {
  color: #bfaaa0; /* 周末颜色暗示 */
}

/* 日历网格 */
.calendar-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-template-rows: repeat(6, 1fr);
  gap: 10px;
  overflow: hidden;
  padding: 2px;
}

/* 日历格子 */
.day-cell {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow: hidden;
  transition: var(--transition);
  position: relative;
  cursor: pointer;
}

.day-cell:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(51, 47, 43, 0.08);
  border-color: rgba(56, 48, 40, 0.2);
}

/* 非本月日期变淡 */
.day-cell.other-month {
  opacity: 0.35;
  background: rgba(255, 255, 255, 0.3);
}

/* 周末格子微弱背景 */
.day-cell.weekend {
  background: rgba(245, 241, 233, 0.4);
}

.day-cell.weekend:hover {
  background: rgba(245, 241, 233, 0.7);
}

/* 今天高亮 */
.day-cell.today {
  background: #fff;
  border: 2px solid var(--cinnabar);
  box-shadow: inset 0 0 0 1px rgba(210, 66, 28, 0.1), 0 4px 15px rgba(210, 66, 28, 0.06);
}

.day-number {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 13.5px;
  color: var(--text);
  align-self: flex-start;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.day-cell.today .day-number {
  background: var(--cinnabar);
  color: #fff;
}

/* 格子里的事件日程列表 */
.day-events {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
  padding-right: 2px;
}

/* 隐藏滚动条 */
.day-events::-webkit-scrollbar {
  width: 0px;
}

/* 单个事件横条 */
.event-bar {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 6px;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
  position: relative;
  transition: var(--transition);
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.event-bar:hover {
  filter: brightness(1.1);
  transform: scale(1.02);
}

/* 完成（打卡）状态 */
.event-bar.completed {
  opacity: 0.45;
  text-decoration: line-through;
  box-shadow: none;
}

.event-bar.completed::after {
  content: " ✓";
  font-size: 9px;
  font-weight: bold;
}

/* ===== 模态框通用样式 ===== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(51, 47, 43, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: #fff;
  border-radius: 20px;
  width: 480px;
  max-width: 90%;
  padding: 30px;
  border: 1px solid var(--line);
  box-shadow: 0 20px 50px rgba(51, 47, 43, 0.15);
  transform: translateY(20px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.open .modal-card {
  transform: translateY(0);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.modal-header h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}

.close-modal-btn {
  background: transparent;
  border: none;
  font-size: 24px;
  color: var(--text-muted);
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.close-modal-btn:hover {
  background: rgba(56, 48, 40, 0.06);
  color: var(--text);
}

/* 表单元素 */
.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.form-group input[type="text"], .form-group select {
  font-family: inherit;
  width: 100%;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1.5px solid var(--line);
  outline: none;
  font-size: 13.5px;
  color: var(--text);
  background: var(--bg);
  transition: var(--transition);
}

.form-group input[type="text"]:focus, .form-group select:focus {
  border-color: var(--cinnabar);
  background: #fff;
  box-shadow: 0 4px 12px rgba(210, 66, 28, 0.05);
}

.mini-step-tip {
  font-size: 11px;
  color: #9c6c3c;
  background: #fdf6ec;
  padding: 8px 12px;
  border-radius: 8px;
  margin-top: 8px;
  border-left: 3px solid var(--gold);
}

/* 选项框 */
.checkbox-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkbox-wrapper input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--cinnabar);
  cursor: pointer;
}

.checkbox-wrapper label {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  user-select: none;
}

/* 颜色选择器 */
.color-picker-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

.color-option {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 8px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}

.color-option.selected {
  border-color: var(--text);
  transform: scale(1.1);
}

/* 弹窗操作按键 */
.form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.actions-right {
  display: flex;
  gap: 10px;
}

.btn-action {
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 10px;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-primary {
  background: var(--cinnabar);
  color: #fff;
}

.btn-primary:hover {
  background: #b63514;
  box-shadow: 0 4px 15px rgba(210, 66, 28, 0.2);
}

.btn-secondary {
  background: var(--accent-light);
  color: var(--accent);
}

.btn-secondary:hover {
  background: #e2e8f1;
}

.btn-danger {
  background: #fdf2f2;
  color: #d93838;
}

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

/* ===== 冥想静心界面 (Meditation Fullscreen) ===== */
.meditation-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #090e18; /* 深邃静谧藏蓝 */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s ease;
}

.meditation-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.meditation-content {
  text-align: center;
  color: #cbd5e1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.meditation-clock {
  font-family: "Space Grotesk", sans-serif;
  font-size: 84px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #f1f5f9;
  text-shadow: 0 0 20px rgba(241, 245, 249, 0.2);
}

/* 呼吸圆圈动画 */
.meditation-progress-ring {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(210, 66, 28, 0.15) 0%, rgba(210, 66, 28, 0) 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.meditation-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--cinnabar);
  box-shadow: 0 0 30px var(--cinnabar);
}

.meditation-overlay.open .meditation-circle {
  animation: breathe 8s infinite ease-in-out;
}

.meditation-text {
  font-family: "Noto Serif SC", serif;
  font-size: 18px;
  letter-spacing: 2px;
  opacity: 0.8;
  height: 28px;
}

.meditation-quit-btn {
  font-family: inherit;
  font-size: 11.5px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.4);
  padding: 8px 18px;
  border-radius: 20px;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 20px;
}

.meditation-quit-btn:hover {
  border-color: rgba(255, 255, 255, 0.6);
  color: rgba(255, 255, 255, 0.8);
}

/* 呼吸循环：4秒吸气，4秒呼气 */
@keyframes breathe {
  0%, 100% {
    transform: scale(1.0);
    opacity: 0.6;
    box-shadow: 0 0 20px var(--cinnabar);
  }
  50% {
    transform: scale(1.6);
    opacity: 1.0;
    box-shadow: 0 0 50px var(--cinnabar);
  }
}

/* 行动最小化发光抖动动画 */
.shake-glow {
  animation: shakeGlow 0.5s ease-in-out;
}
@keyframes shakeGlow {
  0%, 100% {
    transform: translateX(0);
    box-shadow: none;
    border-color: var(--line);
  }
  20%, 60% {
    transform: translateX(-4px);
    border-color: var(--cinnabar);
    box-shadow: 0 0 12px rgba(210, 66, 28, 0.3);
  }
  40%, 80% {
    transform: translateX(4px);
    border-color: var(--cinnabar);
    box-shadow: 0 0 12px rgba(210, 66, 28, 0.3);
  }
}

/* ===== 🧠 大脑调解员面板 (The Brain Reconciler) ===== */
.reconciler-panel {
  display: none;
  background: #fbf9f4;
  border: 1.5px solid rgba(210, 66, 28, 0.25);
  border-radius: 12px;
  padding: 16px;
  margin-top: 14px;
  animation: slideDown 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 15px rgba(210, 66, 28, 0.03);
}

.reconciler-panel.active {
  display: block;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reconciler-speech {
  font-size: 13px;
  line-height: 1.6;
  color: #655443;
  margin-bottom: 12px;
  font-family: "Noto Serif SC", serif;
  text-align: justify;
}

.reconciler-speech b {
  color: var(--cinnabar);
}

.reconciler-input-row {
  display: flex;
  gap: 8px;
}

.reconciler-input-row input {
  flex: 1;
  font-family: inherit;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1.5px solid var(--line);
  font-size: 12.5px;
  outline: none;
  background: #fff;
  transition: var(--transition);
}

.reconciler-input-row input:focus {
  border-color: var(--cinnabar);
  box-shadow: 0 0 8px rgba(210, 66, 28, 0.1);
}

.reconciler-input-row button {
  padding: 8px 16px;
  font-size: 12px;
  border-radius: 8px;
}

/* ===== ⚙️ 降阻秘籍管理表格 ===== */
.rules-table-container {
  max-height: 220px;
  overflow-y: auto;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  margin-bottom: 15px;
  background: #fff;
}

.rules-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 12.5px;
  font-family: "Noto Sans SC", sans-serif;
}

.rules-table th {
  background: var(--bg);
  padding: 10px 14px;
  font-weight: 700;
  color: var(--text-muted);
  border-bottom: 1.5px solid var(--line);
}

.rules-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  line-height: 1.5;
}

.rules-table tr:last-child td {
  border-bottom: none;
}

.rules-table tr:hover td {
  background: rgba(245, 241, 233, 0.3);
}

.rule-del-btn {
  background: transparent;
  border: none;
  color: #d93838;
  cursor: pointer;
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 4px;
  transition: var(--transition);
}

.rule-del-btn:hover {
  background: #fdf2f2;
}

/* ===== 🏵️ 中式水墨朱砂印章打卡特效 ===== */
.event-bar.completed {
  opacity: 0.88;
  background: rgba(210, 66, 28, 0.92) !important; /* 替换为强烈的朱砂红印泥色 */
  border: 1.5px dashed rgba(255, 255, 255, 0.3);
  text-decoration: none !important;
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.15), 0 2px 5px rgba(210, 66, 28, 0.15);
  animation: seal-stamp 0.45s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

.event-bar.completed::after {
  content: "已印";
  font-family: "Noto Serif SC", serif;
  font-weight: 900;
  font-size: 8px;
  margin-left: 6px;
  border: 1.2px solid rgba(255, 255, 255, 0.65);
  padding: 0 2px;
  border-radius: 2px;
  display: inline-block;
  transform: rotate(-12deg) scale(0.9);
  color: #fff;
  background: rgba(210, 66, 28, 0.8);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

@keyframes seal-stamp {
  0% {
    transform: scale(1.35);
    filter: brightness(2.0);
    opacity: 0.2;
  }
  50% {
    transform: scale(0.96);
    filter: brightness(1.2);
  }
  100% {
    transform: scale(1);
    filter: brightness(1);
    opacity: 0.88;
  }
}

/* ===== 👥 极简指派人与项目分类样式 ===== */
.assignee-selector {
  display: flex;
  gap: 10px;
  margin-bottom: 8px;
}

.assignee-tab {
  background: rgba(245, 241, 233, 0.5);
  border: 1px solid var(--line);
  color: var(--text-muted);
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.assignee-tab:hover {
  background: rgba(245, 241, 233, 0.9);
  color: var(--text);
}

.assignee-tab.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--bg);
  box-shadow: 0 2px 8px rgba(51, 47, 43, 0.12);
}

.assignee-input {
  width: 100%;
  padding: 8px 12px;
  border: 1px dashed var(--line);
  border-radius: 6px;
  background: rgba(245, 241, 233, 0.2);
  color: var(--text);
  font-size: 13px;
  margin-top: 6px;
  outline: none;
  animation: assignee-slide-in 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.assignee-input:focus {
  border-color: var(--primary);
  border-style: solid;
  background: #fff;
}

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

/* 日历中的执行人专属标签 */
.event-assignee-tag {
  display: inline-flex;
  align-items: center;
  font-size: 9.5px;
  font-weight: 600;
  background: rgba(84, 80, 71, 0.07);
  color: var(--text-muted);
  border: 1px solid rgba(84, 80, 71, 0.1);
  padding: 1px 4px;
  border-radius: 3px;
  margin-right: 4px;
  vertical-align: middle;
  transform: translateY(-0.5px);
  transition: all 0.2s;
}

/* 已打卡盖章状态下的标签变化 */
.event-bar.completed .event-assignee-tag {
  background: rgba(255, 255, 255, 0.15) !important;
  color: rgba(255, 255, 255, 0.9) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
}


