:root {
  --green:#07c160; --green-d:#059a4c; --ink:#17181a; --sub:#7c828b;
  --faint:#9aa0a8; --line:#eceef0; --bg:#f4f5f7; --red:#cf3439;
  --amber:#a55a00; --blue:#2563eb;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; background: #e8eaed; font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, 'PingFang SC', sans-serif; color: var(--ink); font-size: 14px; }
#phone { position: relative; width: 100%; max-width: 420px; min-height: 100vh; margin: 0 auto; background: var(--bg); display: flex; flex-direction: column; }
@media (min-width: 500px) { #phone { min-height: 812px; height: 812px; margin: 24px auto; border-radius: 28px; overflow: hidden; box-shadow: 0 12px 40px rgba(0,0,0,.15); } }
#statusbar { height: 28px; flex: none; }
#navbar { height: 44px; flex: none; background: var(--green); color: #fff; display: flex; align-items: center; padding: 0 16px; font-size: 16px; font-weight: 600; position: relative; }
#back { font-size: 26px; width: 32px; cursor: pointer; }
#navtitle { flex: 1; text-align: center; }
#caps { position: absolute; right: 12px; font-size: 14px; opacity: .85; }
.caps { position: absolute; right: 14px; border: 1px solid rgba(255,255,255,.6); border-radius: 14px; padding: 2px 10px; font-size: 12px; }
#content { flex: 1; overflow-y: auto; padding: 12px; padding-bottom: 76px; }
#tabbar { position: absolute; bottom: 0; left: 0; right: 0; height: 60px; background: #fff; border-top: 1px solid var(--line); display: flex; }
#tabbar .tab { flex: 1; display: flex; align-items: center; justify-content: center; color: var(--sub); font-size: 13px; cursor: pointer; }
#tabbar .tab.on { color: var(--green); font-weight: 600; }
.card { background: #fff; border-radius: 14px; padding: 16px; margin-bottom: 12px; }
.card-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.card-t { font-size: 16px; font-weight: 600; }
.muted { color: var(--sub); font-size: 13px; }
.faint { color: var(--faint); font-size: 12px; }
.row { display: flex; align-items: center; }
.between { justify-content: space-between; }
.gap { gap: 10px; }
.wrap { flex-wrap: wrap; }
.grow { flex: 1; min-width: 0; }
.badge { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 12px; }
.badge.green { background: #e8f8ef; color: var(--green-d); }
.badge.red { background: #fdecec; color: var(--red); }
.badge.amber { background: #fff4e5; color: var(--amber); }
.badge.blue { background: #eaf1ff; color: var(--blue); }
.badge.gray { background: #f0f1f3; color: var(--sub); }
.btn { border: none; border-radius: 10px; padding: 11px 20px; font-size: 14px; cursor: pointer; font-family: inherit; }
.btn.primary { background: var(--green); color: #fff; }
.btn.ghost { background: #f0f1f3; color: var(--ink); }
.btn.danger { background: #fdecec; color: var(--red); }
.btn.block { width: 100%; }
.btn:disabled { opacity: .5; }
.task-card { background: #fff; border-radius: 14px; padding: 16px; margin-bottom: 10px; border-left: 4px solid transparent; cursor: pointer; }
.task-card.overdue { border-left-color: var(--red); }
.task-card.soon { border-left-color: var(--amber); }
.task-title { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.hero { background: linear-gradient(135deg, #07c160, #059a4c); color: #fff; }
.hero .muted { color: rgba(255,255,255,.82); }
.hero-title { font-size: 20px; font-weight: 600; margin-bottom: 4px; }
.hero .badge.green { background: rgba(255,255,255,.2); color: #fff; }
.progress { height: 6px; background: rgba(255,255,255,.3); border-radius: 99px; overflow: hidden; margin: 12px 0; }
.progress > div { height: 100%; background: #fff; border-radius: 99px; }
.notice { background: #fff8e8; border-radius: 10px; padding: 12px 14px; color: #8a5a00; font-size: 13px; margin-bottom: 10px; }
.notice.alert { background: #fdecec; color: var(--red); }
.section-head { display: flex; align-items: center; justify-content: space-between; margin: 18px 2px 10px; }
.section-title { font-size: 16px; font-weight: 600; }
.link { color: var(--green); font-size: 13px; cursor: pointer; }
.divider { height: 1px; background: var(--line); margin: 14px 0; }
.empty { text-align: center; padding: 60px 0; color: var(--faint); }
.field { margin-bottom: 16px; }
.field .label { display: block; font-size: 13px; color: var(--sub); margin-bottom: 6px; }
.field input, .field select { display: block; width: 100%; min-height: 44px; line-height: 1.4; padding: 10px 14px; border: none; background: #f7f8fa; border-radius: 10px; font-size: 14px; font-family: inherit; box-sizing: border-box; }
.field textarea { display: block; width: 100%; min-height: 90px; line-height: 1.5; padding: 10px 14px; border: none; background: #f7f8fa; border-radius: 10px; font-size: 14px; font-family: inherit; box-sizing: border-box; resize: vertical; }
.step { display: flex; gap: 12px; margin-bottom: 14px; }
.step-n { width: 24px; height: 24px; border-radius: 50%; background: var(--green); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 12px; flex: none; }
.check-row { display: flex; align-items: center; gap: 10px; padding: 9px 0; }
.cbox { width: 20px; height: 20px; border: 1.5px solid #d5d8dc; border-radius: 5px; display: flex; align-items: center; justify-content: center; color: #fff; flex: none; cursor: pointer; font-size: 13px; }
.cbox.on { background: var(--green); border-color: var(--green); }
.action-bar { position: sticky; bottom: 0; display: flex; gap: 10px; margin-top: 18px; padding: 12px; background: #fff; border-radius: 14px; }
.tabs { display: flex; background: #fff; border-radius: 12px; padding: 4px; margin-bottom: 12px; }
.tabs .t { flex: 1; text-align: center; padding: 10px; border-radius: 9px; color: var(--sub); cursor: pointer; }
.tabs .t.on { background: var(--green); color: #fff; font-weight: 600; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; margin-bottom: 10px; }
.chip { flex: none; padding: 6px 14px; background: #fff; border-radius: 99px; font-size: 12px; color: var(--sub); cursor: pointer; }
.chip.on { background: var(--green); color: #fff; }
.doc-row { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 12px; padding: 14px; margin-bottom: 8px; cursor: pointer; }
#overlay { position: fixed; inset: 0; background: rgba(0,0,0,.4); display: flex; align-items: flex-end; justify-content: center; z-index: 50; }
#overlay[hidden] { display: none; }
.sheet { width: 100%; max-width: 420px; background: #fff; border-radius: 18px 18px 0 0; padding: 20px; max-height: 80vh; overflow-y: auto; }
.sheet-h { font-size: 17px; font-weight: 600; margin-bottom: 16px; }
#toast { position: fixed; left: 50%; top: 50%; transform: translate(-50%,-50%); background: rgba(0,0,0,.8); color: #fff; padding: 12px 20px; border-radius: 10px; z-index: 100; font-size: 14px; }
#back:not([hidden]) { display: inline-block; }
#back[hidden] { display: none; }
.eye { color: var(--blue); font-size: 12px; cursor: pointer; margin-left: 8px; }
.menu-item { display: flex; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.menu-item:last-child { border-bottom: none; }
.profile { display: flex; align-items: center; gap: 14px; }
.avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--green); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 22px; }
.policy-row { padding: 10px 0; border-bottom: 1px solid var(--line); }
.policy-row:last-child { border-bottom: none; }
.search-box { display: flex; gap: 8px; align-items: center; background: #fff; border-radius: 12px; padding: 10px; margin-bottom: 10px; }
.search-box input { flex: 1; border: none; background: #f7f8fa; border-radius: 8px; padding: 9px 12px; font-size: 13px; }

/* 静态产品介绍：对搜索引擎与真实访客可见，排在手机模拟器下方，不干扰 App 首屏 */
.seo-intro { padding: 0 16px 48px; background: #e8eaed; }
.seo-inner { max-width: 420px; margin: 0 auto; background: #fff; border-radius: 18px; padding: 26px 22px; box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.seo-inner h1 { font-size: 20px; font-weight: 600; margin: 0 0 14px; color: var(--ink); line-height: 1.4; }
.seo-inner h2 { font-size: 16px; font-weight: 600; margin: 24px 0 10px; color: var(--ink); }
.seo-inner p { font-size: 14px; line-height: 1.75; color: #444; margin: 0 0 12px; }
.seo-lead { color: #555 !important; }
.seo-inner ul { margin: 0 0 12px; padding-left: 20px; }
.seo-inner li { font-size: 14px; line-height: 1.7; color: #444; margin-bottom: 8px; }
.seo-inner li strong { color: var(--green-d); font-weight: 600; }
.seo-foot { font-size: 12px !important; color: var(--sub) !important; border-top: 1px solid var(--line); padding-top: 16px; margin-top: 24px !important; }
.seo-foot a { color: var(--green-d); text-decoration: none; }
@media (min-width: 500px) { .seo-intro { padding-top: 4px; } }
