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

/* ---- 主题变量：浅色默认 ---- */
:root {
  --bg-grad-1: #f6f4f1;
  --bg-grad-2: #eef2f8;
  --text-primary: #1c1c1e;
  --text-secondary: #8b8d92;
  --divider: rgba(0, 0, 0, 0.06);
  --accent: #7aabcc;
  --accent-contrast: #ffffff;

  --bubble-self-bg: #ddeef7;
  --bubble-self-text: #1a3446;
  --bubble-other-bg: #ffffff;
  --bubble-other-text: #1c1c1e;
  --bubble-shadow: 0 1px 2px rgba(20, 30, 45, 0.05), 0 3px 10px rgba(20, 30, 45, 0.05);

  --quote-overlay: rgba(0, 0, 0, 0.05);

  --topbar-bg: rgba(248, 247, 245, 0.75);
  --topbar-edge: rgba(20, 20, 30, 0.05);

  --input-bg: #ededec;
  --card-bg: #ffffff;
  --icon-muted: #a8aaaf;

  --fab-shadow: 0 4px 18px rgba(100, 140, 170, 0.28);
  --danger: #e6564b;
  --bg-panel-rgb: 246, 244, 241;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg-grad-1: #18191d;
    --bg-grad-2: #1d1e23;
    --text-primary: #f0f0f2;
    --text-secondary: #8d8f96;
    --divider: rgba(255, 255, 255, 0.08);
    --accent: #88b4cc;
    --accent-contrast: #ffffff;

    --bubble-self-bg: #1e2e38;
    --bubble-self-text: #d8eaf4;
    --bubble-other-bg: #26272c;
    --bubble-other-text: #e8e8ea;
    --bubble-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);

    --quote-overlay: rgba(255, 255, 255, 0.08);

    --topbar-bg: rgba(22, 23, 27, 0.78);
    --topbar-edge: rgba(0, 0, 0, 0.35);

    --input-bg: #1e1f24;
    --card-bg: #26272c;
    --icon-muted: #6a6c74;

    --fab-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
    --bg-panel-rgb: 24, 25, 29;
  }
}

:root[data-theme="dark"] {
  --bg-grad-1: #18191d;
  --bg-grad-2: #1d1e23;
  --text-primary: #f0f0f2;
  --text-secondary: #8d8f96;
  --divider: rgba(255, 255, 255, 0.08);
  --accent: #88b4cc;
  --accent-contrast: #ffffff;

  --bubble-self-bg: #1e2e38;
  --bubble-self-text: #d8eaf4;
  --bubble-other-bg: #26272c;
  --bubble-other-text: #e8e8ea;
  --bubble-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);

  --quote-overlay: rgba(255, 255, 255, 0.08);

  --topbar-bg: rgba(22, 23, 27, 0.78);
  --topbar-edge: rgba(0, 0, 0, 0.35);

  --input-bg: #1e1f24;
  --card-bg: #26272c;
  --icon-muted: #6a6c74;

  --fab-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
  --bg-panel-rgb: 24, 25, 29;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  background: linear-gradient(165deg, var(--bg-grad-1) 0%, var(--bg-grad-2) 100%);
  background-attachment: fixed;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text-primary);
}

a { color: inherit; }

.icon {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: block;
}

button {
  font-family: inherit;
}

/* ---- 顶部导航栏（浮动毛玻璃） ---- */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 56px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  background: var(--topbar-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  z-index: 30;
}

.topbar::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -14px;
  height: 14px;
  background: linear-gradient(to bottom, var(--topbar-edge), transparent);
  pointer-events: none;
}

.topbar .back-btn {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  text-decoration: none;
  font-size: 24px;
  flex-shrink: 0;
}

.topbar .icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.topbar .icon-btn:active {
  background: var(--divider);
}

.topbar .title {
  font-size: 17px;
  font-weight: 600;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.topbar-spacer {
  height: 56px;
  flex-shrink: 0;
}

/* ---- 首页 ---- */
.page {
  min-height: 100vh;
  padding-bottom: 90px;
}

.conversation-list {
  list-style: none;
  margin: 0;
  padding: 6px 8px 0;
}

.swipe-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 8px;
}


.conv-row-right {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.conv-more-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 16px;
  padding: 4px 6px;
  line-height: 1;
  cursor: pointer;
  letter-spacing: 1px;
}

.conv-link {
  position: relative;
  display: flex;
  align-items: center;
  padding: 13px 14px;
  background: var(--card-bg);
  text-decoration: none;
  color: inherit;
}

.conversation-info {
  flex: 1;
  min-width: 0;
}

.conversation-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

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

.conversation-time {
  font-size: 12px;
  color: var(--text-secondary);
  flex-shrink: 0;
  margin-left: 8px;
}

.conversation-preview {
  font-size: 14px;
  color: var(--text-secondary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 3px;
}

.inline-rename-input {
  font-size: 16px;
  font-weight: 500;
  font-family: inherit;
  color: var(--text-primary);
  background: transparent;
  border: none;
  border-bottom: 1.5px solid var(--accent);
  outline: none;
  width: 100%;
  padding: 0;
}

.empty-hint {
  text-align: center;
  color: var(--text-secondary);
  padding: 60px 20px;
  font-size: 14px;
}

.fab {
  position: fixed;
  right: 20px;
  bottom: 82px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--topbar-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  color: var(--accent);
  border: 1px solid rgba(122, 171, 204, 0.2);
  box-shadow: var(--fab-shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 25;
}

.fab:active {
  transform: scale(0.95);
}

/* ---- 底部导航栏 ---- */
.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 62px;
  padding-bottom: env(safe-area-inset-bottom, 0);
  display: flex;
  background: var(--topbar-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  z-index: 30;
}

.bottom-nav::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -14px;
  height: 14px;
  background: linear-gradient(to top, var(--topbar-edge), transparent);
  pointer-events: none;
}

.nav-item {
  flex: 1;
  border: none;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--icon-muted);
  font-size: 11px;
}

.nav-item.active {
  color: var(--accent);
}

.nav-item .icon {
  width: 23px;
  height: 23px;
}

/* ---- 聊天页 ---- */
.chat-page {
  display: flex;
  flex-direction: column;
  height: 100vh;
  position: relative;
}

.chat-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 600;
  flex-shrink: 0;
  margin-right: 10px;
}

.chat-title-wrap {
  flex: 1;
  min-width: 0;
}

.chat-title-wrap .title {
  cursor: pointer;
}

.chat-title-input {
  font-size: 17px;
  font-weight: 600;
  border: none;
  background: transparent;
  color: var(--text-primary);
  width: 100%;
  padding: 2px 0;
  outline: none;
  border-bottom: 1px solid var(--accent);
}

.message-area {
  flex: 1;
  overflow-y: auto;
  padding: 68px 12px 8px;
  display: flex;
  flex-direction: column;
}

.msg-row {
  display: flex;
  align-items: flex-end;
  margin-bottom: 14px;
  animation: bubbleIn 0.18s ease-out both;
}

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

.ts-divider {
  text-align: center;
  font-size: 12px;
  color: var(--text-secondary);
  margin: 6px 0 14px;
  opacity: 0.7;
}

.msg-row.user {
  flex-direction: row-reverse;
  justify-content: flex-start;
}

.msg-row.assistant {
  flex-direction: row;
  justify-content: flex-start;
}

.msg-col {
  display: flex;
  flex-direction: column;
  max-width: 78%;
  min-width: 0;
}

.msg-row.user .msg-col {
  align-items: flex-end;
}

.msg-row.assistant .msg-col {
  align-items: flex-start;
}

.edit-msg-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 6px;
  color: var(--icon-muted);
  opacity: 0.6;
  align-self: center;
  order: -1;
  flex-shrink: 0;
}
.edit-msg-btn:hover { opacity: 1; }


.bubble {
  padding: 10px 14px;
  border-radius: 20px;
  font-size: 15px;
  line-height: 1.45;
  white-space: pre-wrap;
  word-break: break-word;
  box-shadow: var(--bubble-shadow);
}

.msg-row.user .bubble {
  background: var(--bubble-self-bg);
  color: var(--bubble-self-text);
  border-bottom-right-radius: 6px;
}

.msg-row.assistant .bubble {
  background: var(--bubble-other-bg);
  color: var(--bubble-other-text);
  border-bottom-left-radius: 6px;
}

.msg-row.error .bubble {
  background: #fdeaea;
  color: #c0392b;
  box-shadow: none;
}

.msg-row.pending .bubble {
  color: var(--text-secondary);
  font-style: italic;
  box-shadow: none;
}


.msg-time {
  font-size: 11px;
  color: var(--text-secondary);
  margin-top: 3px;
  padding: 0 4px;
  opacity: 0.75;
}

.list-ctx-menu,
.context-menu {
  position: fixed;
  z-index: 200;
  background: var(--card-bg);
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18), 0 2px 8px rgba(0,0,0,0.10);
  flex-direction: column;
  overflow: hidden;
  min-width: 130px;
}

.ctx-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  border: none;
  background: transparent;
  color: var(--text-primary);
  font-size: 15px;
  width: 100%;
  text-align: left;
  cursor: pointer;
}

.ctx-item:active {
  background: var(--divider);
}

.ctx-item + .ctx-item {
  border-top: 1px solid var(--divider);
}

.ctx-backdrop {
  position: fixed;
  inset: 0;
  z-index: 199;
}

.thinking-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: none;
  background: var(--quote-overlay);
  color: var(--text-secondary);
  font-size: 11.5px;
  padding: 3px 9px 3px 8px;
  border-radius: 999px;
  margin-bottom: 4px;
  cursor: pointer;
  max-width: 100%;
}

.thinking-tag .icon {
  width: 11px;
  height: 11px;
  flex-shrink: 0;
}

.thinking-tag .chevron {
  width: 9px;
  height: 9px;
  flex-shrink: 0;
  transition: transform 0.15s ease;
}

.thinking-tag.expanded .chevron {
  transform: rotate(180deg);
}

.thinking-panel {
  display: none;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text-secondary);
  background: var(--quote-overlay);
  border-radius: 12px;
  padding: 8px 10px;
  margin-bottom: 6px;
  max-width: 100%;
  white-space: pre-wrap;
  word-break: break-word;
}

.thinking-panel.expanded {
  display: block;
}

.quote-card {
  border-left: 3px solid var(--accent);
  background: var(--quote-overlay);
  border-radius: 6px;
  padding: 4px 8px;
  margin-bottom: 6px;
}

.quote-card .quote-label {
  font-weight: 600;
  color: var(--accent);
  font-size: 12px;
}

.quote-card .quote-text {
  font-size: 12.5px;
  opacity: 0.75;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---- 输入区域 ---- */
.input-area {
  background: transparent;
  padding: 6px 10px calc(10px + env(safe-area-inset-bottom, 0));
}

.image-preview-area {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--card-bg);
  border-radius: 12px;
  padding: 8px 10px;
  margin-bottom: 6px;
  box-shadow: var(--bubble-shadow);
}

.image-preview-thumb {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.bubble-image {
  display: block;
  max-width: 220px;
  max-height: 220px;
  border-radius: 10px;
  object-fit: cover;
  cursor: pointer;
  margin-bottom: 2px;
}

.bubble-image.expanded {
  max-width: 100%;
  max-height: none;
}

.reply-preview {
  display: flex;
  align-items: center;
  background: var(--card-bg);
  border-radius: 12px;
  padding: 6px 10px;
  margin-bottom: 6px;
  box-shadow: var(--bubble-shadow);
}

.reply-preview .quote-card {
  flex: 1;
  margin-bottom: 0;
  min-width: 0;
}

.reply-preview-close {
  border: none;
  background: transparent;
  color: var(--icon-muted);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
}

.input-bar {
  display: flex;
  align-items: flex-end;
  gap: 6px;
}

.icon-round-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--icon-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.icon-round-btn:active {
  background: var(--divider);
}

.input-bar textarea {
  flex: 1;
  resize: none;
  border: none;
  background: var(--input-bg);
  border-radius: 20px;
  padding: 10px 16px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text-primary);
  max-height: 120px;
  outline: none;
}

.send-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: var(--accent);
  color: #fff;
  flex-shrink: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.send-btn .icon {
  width: 18px;
  height: 18px;
  stroke: #fff;
}

.send-btn:disabled {
  opacity: 0.5;
}

.send-btn.idle {
  background: transparent;
  box-shadow: none;
}

.send-btn.idle .icon {
  stroke: var(--icon-muted);
}

/* ---- daily state 面板 ---- */
.daily-panel {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 62px;
  top: 0;
  background: linear-gradient(165deg, var(--bg-grad-1) 0%, var(--bg-grad-2) 100%);
  z-index: 50;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.daily-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px 12px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid var(--divider);
  flex-shrink: 0;
}

.daily-close-btn {
  background: none;
  border: none;
  color: var(--icon-muted);
  font-size: 18px;
  cursor: pointer;
  padding: 4px 8px;
}

.daily-panel-body {
  overflow-y: auto;
  padding: 16px 20px 32px;
  flex: 1;
  -webkit-overflow-scrolling: touch;
}

.daily-entry {
  margin-bottom: 24px;
}

.daily-entry-date {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 8px;
}

.daily-entry-content {
  font-size: 14px;
  color: var(--text);
  line-height: 1.7;
  white-space: pre-wrap;
  word-break: break-word;
}

.recent-section {
  margin-bottom: 28px;
}

.recent-section-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 10px;
  letter-spacing: 0.03em;
}

.recent-log-input-row {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.recent-input {
  flex: 1;
  border: 1px solid var(--divider);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 14px;
  background: transparent;
  color: var(--text);
  outline: none;
}

.recent-save-btn {
  border: none;
  background: var(--accent);
  color: #fff;
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 14px;
  cursor: pointer;
  flex-shrink: 0;
}

/* ---- 记忆库面板 ---- */
.memory-panel {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  max-height: 80vh;
  background: rgba(var(--bg-panel-rgb), 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -2px 20px rgba(0,0,0,.12);
  z-index: 300;
  display: flex;
  flex-direction: column;
}
.memory-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 10px;
  border-bottom: 1px solid var(--divider);
  flex-shrink: 0;
}
.memory-panel-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}
.memory-panel-body {
  overflow-y: auto;
  flex: 1;
  padding: 8px 0 24px;
}
.memory-type-group {
  padding: 8px 16px 4px;
  font-size: 11px;
  font-weight: 600;
  color: var(--icon-muted);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.memory-entry {
  padding: 10px 16px;
  border-bottom: 1px solid var(--divider);
}
.memory-entry-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}
.memory-entry-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
}
.memory-entry-desc {
  font-size: 12px;
  color: var(--icon-muted);
  margin-top: 2px;
}
.memory-entry-time {
  font-size: 11px;
  color: var(--icon-muted);
  white-space: nowrap;
  flex-shrink: 0;
}
.memory-entry-content {
  display: none;
  margin-top: 8px;
  font-size: 13px;
  color: var(--text);
  white-space: pre-wrap;
  word-break: break-word;
  background: var(--input-bg);
  border-radius: 8px;
  padding: 10px 12px;
  line-height: 1.5;
}
.memory-entry-content.expanded { display: block; }
.memory-del-btn {
  background: none;
  border: none;
  color: var(--icon-muted);
  cursor: pointer;
  padding: 2px 4px;
  font-size: 16px;
  line-height: 1;
  flex-shrink: 0;
}
.memory-del-btn:hover { color: #e55; }

/* ---- 备考进度页 ---- */
.exam-page {
  padding: 16px 20px 32px;
}


.ep-section {
  margin-bottom: 20px;
}
.ep-section-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--divider);
}
.ep-empty {
  font-size: 13px;
  color: var(--icon-muted);
}
.ep-timeline-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--divider);
}
.ep-timeline-row:last-child { border-bottom: none; }
.ep-timeline-exam {
  font-size: 14px;
  color: var(--text-primary);
  font-weight: 500;
}
.ep-timeline-right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ep-timeline-date {
  font-size: 12px;
  color: var(--text-secondary);
}
.ep-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 10px;
}
.ep-badge-future {
  background: rgba(122, 171, 204, 0.18);
  color: var(--accent);
}
.ep-badge-today {
  background: rgba(255, 200, 60, 0.2);
  color: #c8860a;
}
.ep-badge-done {
  background: var(--divider);
  color: var(--icon-muted);
}
.ep-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.ep-table th {
  text-align: left;
  font-weight: 600;
  color: var(--text-secondary);
  font-size: 11px;
  padding: 4px 6px 6px 0;
  border-bottom: 1px solid var(--divider);
}
.ep-table td {
  padding: 7px 6px 7px 0;
  color: var(--text-primary);
  border-bottom: 1px solid var(--divider);
  vertical-align: top;
}
.ep-table tr:last-child td { border-bottom: none; }
.ep-note, .ep-period {
  color: var(--text-secondary);
  font-size: 12px;
}
.ep-period { white-space: nowrap; }
.ep-weak-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ep-weak-text {
  font-size: 13px;
  color: var(--text-primary);
  white-space: pre-wrap;
  word-break: break-word;
  line-height: 1.6;
  min-height: 24px;
}
.ep-weak-edit-btn {
  align-self: flex-start;
  background: none;
  border: 1px solid var(--divider);
  color: var(--text-secondary);
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 6px;
  cursor: pointer;
}
.ep-weak-edit-btn:hover { color: var(--accent); border-color: var(--accent); }
.ep-weak-textarea {
  width: 100%;
  min-height: 100px;
  font-size: 13px;
  font-family: inherit;
  background: var(--input-bg);
  color: var(--text-primary);
  border: 1px solid var(--divider);
  border-radius: 8px;
  padding: 10px 12px;
  resize: vertical;
  line-height: 1.6;
}
.ep-weak-btn-row {
  display: flex;
  gap: 8px;
}
.ep-weak-save-btn, .ep-weak-cancel-btn {
  flex: 1;
  padding: 7px;
  border-radius: 8px;
  font-size: 13px;
  cursor: pointer;
  border: none;
}
.ep-weak-save-btn {
  background: var(--accent);
  color: white;
}
.ep-weak-cancel-btn {
  background: var(--input-bg);
  color: var(--text-secondary);
}
