:root {
  /* Apple 系统调色板 */
  --bg: #f2f2f7;
  --surface: #ffffff;
  --ink: #1c1c1e;
  --ink-2: #3a3a3c;
  --muted: #8e8e93;
  --sep: #e5e5ea;

  --blue: #007aff;   /* 工作 */
  --green: #34c759;  /* 生活 */
  --red: #ff3b30;    /* 逾期 */
  --amber: #ff9f0a;

  --r-card: 14px;
  --r-ctl: 12px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "SF Pro Text", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
.hidden { display: none !important; }

/* ——— 布局 ——— */
.app { max-width: 720px; margin: 0 auto; padding: 0 16px 96px; min-height: 100vh; }

/* ——— 顶栏 ——— */
.hd { display: flex; align-items: flex-end; justify-content: space-between; padding: 18px 4px 6px; }
.hd h1 { margin: 0; font-size: 27px; font-weight: 700; letter-spacing: -.4px; }
.hd-date { margin: 3px 0 0; font-size: 14px; color: var(--muted); }
.hd-add {
  width: 34px; height: 34px; border-radius: 50%; border: none; flex: none;
  background: var(--blue); color: #fff; cursor: pointer; display: grid; place-items: center;
}
.hd-add svg { width: 20px; height: 20px; stroke: #fff; fill: none; stroke-width: 2.2; }

/* ——— 快速添加 ——— */
.compose {
  display: flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1px solid var(--sep); border-radius: var(--r-ctl);
  padding: 6px 8px; margin: 10px 0 18px;
}
.qa-input {
  flex: 1; min-width: 0; border: none; outline: none; background: transparent;
  font-size: 16px; font-family: inherit; color: var(--ink); padding: 8px 6px;
}
.qa-input::placeholder { color: #b0b0b6; }

.qa-mic {
  width: 38px; height: 38px; border-radius: 50%; flex: none;
  border: 1px solid var(--sep); background: var(--surface); color: var(--muted); cursor: pointer;
  display: grid; place-items: center;
}
.qa-mic svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; }
.qa-mic.rec { background: var(--red); border-color: var(--red); color: #fff; animation: micPulse 1.2s infinite; }
@keyframes micPulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 59, 48, .5); }
  70% { box-shadow: 0 0 0 12px rgba(255, 59, 48, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 59, 48, 0); }
}

.qa-cat { display: inline-flex; background: #e9e9ee; border-radius: 9px; padding: 2px; flex: none; }
.qa-pill {
  border: none; background: transparent; cursor: pointer; font-size: 13px; font-weight: 600;
  padding: 6px 11px; border-radius: 7px; color: var(--muted); transition: all .15s ease;
}
.qa-pill.active.work { background: var(--surface); color: var(--blue); box-shadow: 0 1px 2px rgba(0, 0, 0, .12); }
.qa-pill.active.life { background: var(--surface); color: var(--green); box-shadow: 0 1px 2px rgba(0, 0, 0, .12); }

.qa-time { position: relative; flex: none; }
.qa-time-btn {
  display: inline-flex; align-items: center; gap: 5px; cursor: pointer;
  border: 1px solid var(--sep); background: var(--surface);
  font-size: 13px; font-weight: 600; color: var(--ink-2); padding: 8px 10px; border-radius: 9px;
  font-family: inherit;
}
.qa-time-btn svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; }
.qa-time-btn.has { color: var(--blue); border-color: rgba(0, 122, 255, .4); background: rgba(0, 122, 255, .08); }
.qa-add {
  border: none; background: var(--blue); color: #fff; font-weight: 600; font-size: 14px;
  padding: 9px 15px; border-radius: 9px; cursor: pointer; flex: none; font-family: inherit;
}

/* 时间浮层 */
.qa-pop {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 40;
  background: var(--surface); border: 1px solid var(--sep); border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .12); padding: 6px; width: 210px;
}
.qa-pop button {
  display: flex; align-items: center; gap: 8px; width: 100%; text-align: left;
  border: none; background: transparent; cursor: pointer; padding: 9px 10px; border-radius: 8px;
  font-size: 14px; color: var(--ink-2); font-family: inherit;
}
.qa-pop button:hover { background: #f2f2f7; color: var(--ink); }
.qa-pop .custom { border-top: 1px solid var(--sep); margin-top: 4px; padding-top: 8px; }
.qa-pop input[type=datetime-local] {
  width: 100%; border: 1px solid var(--sep); border-radius: 8px; padding: 7px;
  font-family: inherit; font-size: 13px; color: var(--ink); margin-top: 6px;
}
.qa-pop .okbtn { background: var(--blue); color: #fff; justify-content: center; margin-top: 6px; }

/* ——— 看板 / 分组 ——— */
.bucket { margin-bottom: 20px; }
.bucket-head { display: flex; align-items: baseline; gap: 8px; margin: 0 6px 8px; }
.bucket-title { font-size: 21px; font-weight: 700; letter-spacing: -.2px; }
.bucket-count { font-size: 13px; font-weight: 600; color: var(--muted); }

.group-card { background: var(--surface); border-radius: var(--r-card); overflow: hidden; }

.task {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; position: relative;
  transition: background .15s ease;
}
.task:hover { background: #fafafa; }
.task + .task { border-top: 1px solid var(--sep); }

.task-check {
  width: 23px; height: 23px; border-radius: 50%; flex: none; cursor: pointer;
  border: 2px solid var(--muted); background: var(--surface); display: grid; place-items: center;
  transition: all .18s ease;
}
.task-check svg { width: 13px; height: 13px; stroke: #fff; fill: none; stroke-width: 3; opacity: 0; transform: scale(.4); transition: all .18s ease; }
.task.work .task-check { border-color: var(--blue); }
.task.life .task-check { border-color: var(--green); }
.task.overdue .task-check { border-color: var(--red); }
.task.done .task-check { background: var(--blue); border-color: var(--blue); }
.task.done.life .task-check { background: var(--green); border-color: var(--green); }
.task.done .task-check svg { opacity: 1; transform: scale(1); }

.task-body { flex: 1; min-width: 0; }
.task-title { font-size: 16px; font-weight: 500; color: var(--ink); word-break: break-word; }
.task.done .task-title { color: var(--muted); text-decoration: line-through; }

.task-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 5px; }
.tag { font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 20px; background: #e9e9ee; color: var(--ink-2); display: inline-flex; align-items: center; gap: 4px; }
.tag.client { background: rgba(0, 122, 255, .1); color: var(--blue); }
.tag.recur { background: rgba(52, 199, 89, .12); color: var(--green); }
.tag svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 2; }

.task-meta { font-size: 13px; color: var(--muted); margin-top: 2px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.task.overdue .task-meta .when { color: var(--red); font-weight: 600; }
.nag-badge {
  font-size: 11px; font-weight: 600; color: var(--red); background: rgba(255, 59, 48, .1);
  border-radius: 20px; padding: 1px 7px; display: inline-flex; align-items: center; gap: 3px;
}
.nag-badge svg { width: 11px; height: 11px; stroke: currentColor; fill: currentColor; stroke-width: 0; }

.task-acts { display: flex; align-items: center; gap: 2px; flex: none; }
.icon-btn { border: none; background: transparent; cursor: pointer; color: var(--muted); width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; }
.icon-btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; }
.icon-btn:hover { background: #f2f2f7; color: var(--ink); }

/* 更多操作浮层 */
.more-wrap { position: relative; }
.more-menu {
  position: absolute; top: calc(100% + 4px); right: 0; z-index: 45;
  background: var(--surface); border: 1px solid var(--sep); border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .14); padding: 6px; min-width: 184px;
}
.more-menu button {
  display: flex; align-items: center; gap: 9px; width: 100%; text-align: left;
  border: none; background: transparent; cursor: pointer; padding: 9px 10px; border-radius: 8px;
  font-size: 14px; color: var(--ink-2); font-family: inherit;
}
.more-menu button:hover { background: #f2f2f7; }
.more-menu button.danger { color: var(--red); }
.more-menu .sep { height: 1px; background: var(--sep); margin: 5px 4px; }

/* ——— 空状态 ——— */
.empty { text-align: center; padding: 48px 20px; color: var(--muted); }
.empty-illust { width: 72px; height: 72px; margin: 0 auto 14px; border-radius: 20px; background: #e9e9ee; display: grid; place-items: center; }
.empty-illust svg { width: 34px; height: 34px; stroke: var(--muted); fill: none; stroke-width: 1.6; }
.empty-title { font-size: 17px; font-weight: 600; color: var(--ink); }
.empty-text { font-size: 14px; margin-top: 6px; max-width: 300px; margin-inline: auto; }

/* ——— 客户引导 ——— */
.section-title { font-size: 21px; font-weight: 700; margin: 18px 6px 8px; letter-spacing: -.2px; }
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.guide { border: 1px solid var(--sep); border-radius: var(--r-card); padding: 16px; background: var(--surface); }
.guide-ico { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; margin-bottom: 10px; }
.guide-ico svg { width: 20px; height: 20px; stroke: #fff; fill: none; stroke-width: 2; }
.guide-ico.c1 { background: var(--blue); }
.guide-ico.c2 { background: var(--amber); }
.guide-ico.c3 { background: var(--green); }
.guide h4 { margin: 0 0 4px; font-size: 15px; font-weight: 600; }
.guide p { margin: 0; font-size: 13px; color: var(--muted); }

/* ——— 设置 ——— */
.panel { background: var(--surface); border: 1px solid var(--sep); border-radius: var(--r-card); padding: 6px 16px; margin-bottom: 12px; }
.kv { display: flex; justify-content: space-between; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--sep); font-size: 15px; }
.kv:last-child { border-bottom: none; }
.kv-k { color: var(--ink-2); }
.kv-v { font-weight: 600; color: var(--ink); text-align: right; }
.kv-v.ok { color: var(--green); }
.kv-v.mono { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 13px; }
.btn-test {
  width: 100%; border: none; cursor: pointer; padding: 13px; border-radius: 12px;
  font-size: 15px; font-weight: 600; color: var(--blue); font-family: inherit;
  background: #f2f2f7; transition: background .15s ease;
}
.btn-test:active { background: #e9e9ee; }
.btn-test:disabled { opacity: .5; }
#chan-note { font-weight: 600; color: var(--ink); }
.kv-copy { border: none; background: transparent; color: var(--blue); font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 13px; cursor: pointer; text-align: right; padding: 0; }
.kv-note { font-size: 13px; color: var(--muted); padding: 4px 0 13px; line-height: 1.55; border-bottom: 1px solid var(--sep); }
.kv-note:last-child { border-bottom: none; }
.kv-note code { background: #e9e9ee; border-radius: 5px; padding: 1px 5px; font-size: 12px; }

/* ——— toast ——— */
.toast {
  position: fixed; left: 50%; bottom: 84px; transform: translateX(-50%) translateY(20px);
  background: rgba(28, 28, 30, .94); color: #fff; padding: 11px 18px; border-radius: 13px;
  font-size: 14px; font-weight: 500; opacity: 0; pointer-events: none;
  transition: all .26s ease; z-index: 60; display: flex; align-items: center; gap: 8px;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ——— 底部标签栏 ——— */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0;
  display: flex; padding: 8px 0 calc(8px + env(safe-area-inset-bottom)); z-index: 50;
  background: rgba(249, 249, 251, .92);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-top: 1px solid var(--sep);
}
.tabbar button {
  flex: 1; border: none; background: transparent; cursor: pointer; font-family: inherit;
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  color: var(--muted); font-size: 10.5px; font-weight: 500;
}
.tabbar button svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.tabbar button.active { color: var(--blue); }

/* ——— 客户模块 ——— */
.clients-head { display: flex; align-items: center; justify-content: space-between; margin: 4px 6px 10px; }
.clients-head .section-title { margin: 0; }

.client-card {
  background: var(--surface); border-radius: var(--r-card); padding: 14px 16px; margin-bottom: 12px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  cursor: pointer; transition: background .15s ease, transform .08s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
}
.client-card:hover { background: #fafafa; }
.client-card:active { transform: scale(.992); }
.cc-main { min-width: 0; }
.cc-name { font-size: 17px; font-weight: 600; color: var(--ink); }
.cc-sub { font-size: 13px; color: var(--muted); margin-top: 2px; }
.cc-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; flex: none; }
.stage-badge {
  font-size: 11px; font-weight: 600; color: #fff; padding: 2px 9px; border-radius: 20px; white-space: nowrap;
}
.stage-badge.s0 { background: var(--blue); }
.stage-badge.s1 { background: #5e5ce6; }
.stage-badge.s2 { background: var(--amber); }
.stage-badge.s3 { background: var(--green); }
.stage-badge.s4 { background: var(--red); }
.cc-due { font-size: 12px; color: var(--muted); }
.cc-ms { font-size: 12px; font-weight: 600; color: var(--blue); }

/* 详情页 */
.back-btn {
  border: none; background: transparent; cursor: pointer; color: var(--blue);
  font-size: 16px; font-weight: 500; font-family: inherit; padding: 4px 0; margin: 2px 0 6px;
}
.cd-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cd-name { font-size: 24px; font-weight: 700; letter-spacing: -.3px; color: var(--ink); }
.cd-ops { display: flex; gap: 8px; flex: none; }
.cd-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; }
.cd-notes { font-size: 14px; color: var(--ink-2); background: #f2f2f7; border-radius: 12px; padding: 10px 12px; margin: 12px 0 0; }
.cd-h3 { font-size: 17px; font-weight: 700; margin: 22px 2px 10px; display: flex; align-items: center; justify-content: space-between; }

/* 通用按钮 */
.btn-ghost {
  border: 1px solid var(--sep); background: var(--surface); color: var(--ink-2);
  font-size: 14px; font-weight: 600; font-family: inherit; cursor: pointer;
  padding: 8px 14px; border-radius: 10px; transition: background .15s ease;
}
.btn-ghost:hover { background: #f2f2f7; }
.btn-ghost.sm { font-size: 13px; padding: 6px 12px; }
.btn-ghost.danger { color: var(--red); border-color: rgba(255, 59, 48, .35); }
.btn-ghost.danger:hover { background: rgba(255, 59, 48, .06); }
.btn-primary {
  border: none; background: var(--blue); color: #fff; font-size: 14px; font-weight: 600;
  font-family: inherit; cursor: pointer; padding: 8px 14px; border-radius: 10px; transition: opacity .15s ease;
}
.btn-primary:hover { opacity: .92; }
.btn-primary.sm { font-size: 13px; padding: 6px 12px; }

/* 进度 stepper */
.stepper { display: flex; align-items: flex-start; padding: 4px 2px; overflow-x: auto; }
.step { display: flex; flex-direction: column; align-items: center; gap: 6px; flex: 1 0 auto; min-width: 56px; cursor: pointer; }
.step .dot {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  font-size: 13px; font-weight: 700; background: #e9e9ee; color: var(--muted);
  transition: all .18s ease; border: 2px solid transparent;
}
.step.active .dot { background: var(--blue); color: #fff; border-color: rgba(0, 122, 255, .25); box-shadow: 0 0 0 4px rgba(0, 122, 255, .12); }
.step.done .dot { background: var(--green); color: #fff; }
.step .lbl { font-size: 11px; color: var(--muted); text-align: center; white-space: nowrap; }
.step.active .lbl { color: var(--blue); font-weight: 600; }
.step.done .lbl { color: var(--ink-2); }
.step-line { width: 22px; height: 2px; background: var(--sep); margin-top: 15px; flex: none; align-self: flex-start; }

/* timeline */
.timeline { margin-top: 12px; background: var(--surface); border-radius: var(--r-card); padding: 6px 14px; }
.tl-item { display: flex; align-items: center; gap: 10px; padding: 9px 0; position: relative; }
.tl-item + .tl-item { border-top: 1px solid var(--sep); }
.tl-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); flex: none; }
.tl-text { flex: 1; font-size: 14px; color: var(--ink-2); }
.tl-text b { color: var(--ink); }
.tl-time { font-size: 12px; color: var(--muted); flex: none; }

/* milestones */
.ms-list { background: var(--surface); border-radius: var(--r-card); overflow: hidden; }
.ms-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; }
.ms-item + .ms-item { border-top: 1px solid var(--sep); }
.ms-item.done { opacity: .55; }
.ms-info { min-width: 0; }
.ms-title { font-size: 15px; font-weight: 500; color: var(--ink); }
.ms-item.done .ms-title { text-decoration: line-through; }
.ms-due { font-size: 12px; color: var(--muted); margin-top: 2px; }
.ms-acts { display: flex; gap: 8px; flex: none; }
.ms-done-tag { font-size: 12px; font-weight: 600; color: var(--green); }

/* timer */
.timer-row { display: flex; gap: 10px; }
.btn-timer {
  flex: 1; border: 1px solid var(--sep); background: var(--surface); color: var(--ink-2);
  font-size: 14px; font-weight: 600; font-family: inherit; cursor: pointer;
  padding: 12px; border-radius: 12px; transition: all .15s ease;
}
.btn-timer.active { background: var(--blue); color: #fff; border-color: var(--blue); }
.tm-display { margin-top: 10px; font-size: 14px; font-weight: 600; color: var(--blue); background: rgba(0, 122, 255, .08); border-radius: 10px; padding: 9px 12px; text-align: center; }

.stats-row { display: flex; gap: 12px; margin-top: 12px; }
.stat { flex: 1; background: var(--surface); border-radius: 12px; padding: 14px; text-align: center; }
.stat-v { display: block; font-size: 18px; font-weight: 700; color: var(--ink); }
.stat-k { display: block; font-size: 12px; color: var(--muted); margin-top: 3px; }

.manual-log { background: var(--surface); border-radius: 12px; padding: 0 14px; margin-top: 12px; }
.manual-log summary { cursor: pointer; padding: 12px 0; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.ml-row { display: flex; gap: 8px; align-items: center; padding: 4px 0 14px; }
.ml-row select, .ml-row input { border: 1px solid var(--sep); border-radius: 9px; padding: 8px; font-family: inherit; font-size: 14px; color: var(--ink); }
.ml-row select { flex: 1; }

.log-list { margin-top: 12px; }
.log-item { display: flex; align-items: center; gap: 10px; padding: 8px 2px; font-size: 13px; color: var(--ink-2); }
.log-item + .log-item { border-top: 1px solid var(--sep); }
.log-kind { background: #e9e9ee; color: var(--ink-2); border-radius: 20px; padding: 2px 9px; font-size: 11px; font-weight: 600; }
.log-min { font-weight: 600; color: var(--ink); }
.log-time { margin-left: auto; color: var(--muted); }

/* ——— 每日一句 ——— */
.dq-card {
  background: linear-gradient(135deg, #eaf2ff 0%, #f3f0ff 100%);
  border-radius: var(--r-card); padding: 16px 18px; margin-bottom: 14px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
}
.dq-card.loading .dq-zh { color: var(--muted); }
.dq-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.dq-label { font-size: 12px; font-weight: 700; letter-spacing: .5px; color: var(--blue); }
.dq-favlist { border: none; background: rgba(255, 255, 255, .7); color: var(--blue); font-size: 12px; font-weight: 600; font-family: inherit; cursor: pointer; padding: 4px 10px; border-radius: 20px; }
.dq-favlist:active { background: #fff; }
.dq-zh { font-size: 19px; font-weight: 600; line-height: 1.5; color: var(--ink); }
.dq-en { font-size: 14px; line-height: 1.5; color: var(--ink-2); margin-top: 6px; }
.dq-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; }
.dq-source { font-size: 12px; color: var(--muted); }
.dq-acts { display: flex; gap: 8px; }
.dq-btn {
  border: 1px solid rgba(0, 122, 255, .3); background: rgba(255, 255, 255, .8);
  color: var(--blue); font-size: 13px; font-weight: 600; font-family: inherit;
  cursor: pointer; padding: 6px 12px; border-radius: 9px; transition: background .15s ease;
}
.dq-btn:active { background: #fff; }

/* 收藏弹窗 */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0, 0, 0, .4); z-index: 80;
  display: flex; align-items: flex-end; justify-content: center; padding: 0;
}
@media (min-width: 561px) { .modal-overlay { align-items: center; padding: 20px; } }
.modal { background: var(--surface); width: 100%; max-width: 520px; max-height: 86vh; overflow-y: auto; border-radius: 18px 18px 0 0; padding: 16px 18px calc(18px + env(safe-area-inset-bottom)); }
@media (min-width: 561px) { .modal { border-radius: 18px; } }
.modal-head { display: flex; align-items: center; justify-content: space-between; font-size: 18px; font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.modal-close { border: none; background: #f2f2f7; color: var(--ink-2); width: 30px; height: 30px; border-radius: 50%; font-size: 20px; line-height: 1; cursor: pointer; font-family: inherit; }
.fav-list { display: flex; flex-direction: column; gap: 0; margin-bottom: 14px; }
.fav-item { display: flex; align-items: flex-start; gap: 10px; padding: 11px 0; border-top: 1px solid var(--sep); }
.fav-item:first-child { border-top: none; }
.fav-body { flex: 1; min-width: 0; }
.fav-zh { font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.5; }
.fav-en { font-size: 13px; color: var(--ink-2); margin-top: 3px; line-height: 1.5; }
.fav-src { font-size: 12px; color: var(--muted); margin-top: 4px; }
.fav-del { border: none; background: transparent; color: var(--muted); font-size: 22px; line-height: 1; cursor: pointer; padding: 0 4px; flex: none; }
.fav-del:active { color: var(--red); }
.fav-add { background: #f7f7fb; border-radius: 14px; padding: 14px; }
.fav-add-title { font-size: 13px; color: var(--ink-2); font-weight: 600; margin-bottom: 9px; }
.fav-input { width: 100%; border: 1px solid var(--sep); border-radius: 10px; padding: 9px 11px; font-family: inherit; font-size: 14px; color: var(--ink); margin-bottom: 8px; resize: vertical; box-sizing: border-box; }
.fav-input:focus { outline: none; border-color: var(--blue); }
.fav-add-btn { width: 100%; border: none; background: var(--blue); color: #fff; font-size: 15px; font-weight: 600; font-family: inherit; cursor: pointer; padding: 11px; border-radius: 11px; }
.fav-add-btn:active { opacity: .9; }

/* ——— 响应式 ——— */
@media (max-width: 560px) {
  .app { padding: 0 12px 92px; }
  .compose { flex-wrap: wrap; }
  .qa-input { order: 1; flex: 1 1 100%; }
  .qa-mic { order: 0; }
  .qa-cat { order: 2; }
  .qa-time { order: 3; margin-left: auto; }
  .qa-add { order: 4; }
  .guide-grid { grid-template-columns: 1fr; }
}
