/* 配色取富程官网（website/assets/site.css · 深海蓝黑，点缀钴蓝），两边一起改。 */
:root {
  --ink: #EEF2F8; --muted: #B3BDCC; --faint: #7F8A9B; --line: rgba(238,242,248,.08); --line2: rgba(238,242,248,.16);
  --bg: #0A0E15; --panel: #121925; --field: #1A2331; --blue: #2F66E0; --blue-dark: #3a72ee; --link: #8DB4FF; --blue-soft: #16264A;
  --warn: #F2D58E; --warn-bg: #2C2410; --warn-line: #5A4A1E; --err: #F0545D; --err-bg: #3A1418; --ok: #26B57F;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink);
  font: 15px/1.75 -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif; }
a { color: var(--link); } a:hover { color: var(--ink); }
.wrap { max-width: 900px; margin: 0 auto; padding: 18px 16px 48px; }
.crumbs { font-size: 13px; color: var(--faint); margin-bottom: 14px; }
.crumbs a { color: var(--faint); }
h1 { font-size: 26px; line-height: 1.35; margin: 0 0 6px; }
h2 { font-size: 19px; margin: 0 0 8px; }
h3 { font-size: 16px; margin: 0 0 4px; }
.lead p { margin: 0 0 18px; color: var(--muted); }
.fine { font-size: 13px; color: var(--faint); margin: 6px 0 0; }
.num { text-align: right; font-variant-numeric: tabular-nums; }

.tool { border: 1px solid var(--line2); border-radius: 10px; padding: 16px; background: var(--panel); margin-bottom: 28px; }
.drop { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 26px 14px; border: 2px dashed var(--line2);
  border-radius: 8px; background: var(--field); text-align: center; cursor: pointer; position: relative; }
.drop.over { background: var(--blue-soft); border-color: var(--blue); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop-title { font-size: 16px; font-weight: 600; }
.drop-sub { font-size: 13px; color: var(--muted); }
.picked { list-style: none; margin: 8px 0 0; padding: 0; font-size: 14px; }
.picked li { padding: 2px 0; color: var(--muted); }
.row { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: flex-end; margin-top: 12px; }
.row label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--muted); }
select, input[type=date], input[type=email], textarea { font: inherit; font-size: 15px; border: 1px solid var(--line2);
  border-radius: 6px; background: var(--field); color: var(--ink); }
select, input[type=date], input[type=email] { min-height: 40px; padding: 0 10px; }
textarea { padding: 8px 10px; width: 100%; resize: vertical; }
button { font: inherit; font-size: 15px; font-weight: 600; min-height: 40px; padding: 0 24px; border: 0; border-radius: 6px;
  background: var(--blue); color: #fff; cursor: pointer; }
button:hover { background: var(--blue-dark); }
button:disabled { opacity: .6; cursor: wait; }
button.plain { background: var(--field); color: var(--ink); border: 1px solid var(--line2); font-weight: 400; padding: 0 14px; }
.more { margin-top: 12px; font-size: 14px; }
.more summary { cursor: pointer; color: var(--link); min-height: 32px; }
.check { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--muted); margin-top: 12px; }
.check input { margin-top: 5px; }
.status { margin-top: 12px; padding: 10px 14px; border-radius: 6px; background: var(--blue-soft); font-size: 14px; }
.status.error { background: var(--err-bg); color: var(--err); }
.warn { color: var(--warn); }

#result { margin-top: 18px; display: flex; flex-direction: column; gap: 18px; }
.box { border: 1px solid var(--line); border-radius: 8px; background: var(--panel); padding: 12px 14px; }
.box.unk { background: var(--warn-bg); border-color: var(--warn-line); }
.total { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: baseline; justify-content: space-between;
  padding: 14px 16px; border-radius: 8px; background: var(--blue-soft); }
.total strong { font-size: 30px; line-height: 1.3; }
.downloads { display: flex; flex-wrap: wrap; gap: 8px; }
.downloads a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border: 1px solid var(--line2);
  border-radius: 6px; background: var(--field); color: var(--ink); text-decoration: none; font-size: 14px; }
.downloads a.main { background: var(--blue); color: #fff; border-color: var(--blue); font-weight: 600; }
.msg { margin: 0 0 6px; padding: 8px 12px; border-radius: 6px; font-size: 14px; background: var(--blue-soft); }
.msg b { margin-right: 6px; }
.msg.l-错误 { background: var(--err-bg); } .msg.l-错误 b { color: var(--err); }
.msg.l-警告 { background: var(--warn-bg); } .msg.l-警告 b { color: var(--warn); }
.msg.l-提示 b, .msg.l-核对 b { color: var(--link); }
.msg.l-请核对 { background: var(--field); }
pre.sample { background: #05080D; color: var(--muted); border-radius: 8px; padding: 10px 12px; overflow-x: auto;
  font: 12px/1.6 ui-monospace, Menlo, Consolas, monospace; max-height: 320px; white-space: pre; }
.stack { display: flex; flex-direction: column; gap: 8px; }

.scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; font-weight: 500; color: var(--faint); background: var(--panel); }
th, td { padding: 7px 12px; border-top: 1px solid var(--line); white-space: nowrap; }
thead th { border-top: 0; }
td.wrapcell { white-space: normal; }
tr.sum td { border-top: 2px solid var(--line2); font-weight: 600; }

.doc { display: flex; flex-direction: column; gap: 26px; }
.doc ol, .doc ul { margin: 0; padding-left: 22px; }
.qa { border-top: 1px solid var(--line); padding: 9px 0; }
.qa:last-of-type { border-bottom: 1px solid var(--line); }
.qa summary { cursor: pointer; font-weight: 600; }
.qa p { margin: 8px 0 0; color: var(--muted); }
.qa-open { margin: 0 0 14px; }
.qa-open p { margin: 0; color: var(--muted); }
.related a { margin-right: 10px; }
.foot { border-top: 1px solid var(--line); margin-top: 36px; padding-top: 14px; font-size: 13px; color: var(--faint); }
.foot nav a { margin-right: 12px; }
.foot p { margin: 6px 0 0; }
@media (max-width: 560px) { h1 { font-size: 22px; } .total strong { font-size: 26px; } }

/* 富程页头 ／ 下载入口 */
.brand-top { border-bottom: 1px solid var(--line); }
.brand-wrap { max-width: 900px; margin: 0 auto; padding: 0 16px; height: 56px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 17px; }
.brand-mark { width: 28px; height: 28px; border-radius: 7px; background: #1A2331; display: grid; place-items: center; font-weight: 700; position: relative; }
.brand-mark::after { content: ""; position: absolute; width: 5px; height: 5px; border-radius: 50%; background: #FF7361; right: 6px; bottom: 7px; }
.brand-top nav { display: flex; gap: 20px; font-size: 14px; }
.brand-top nav a { color: var(--muted); text-decoration: none; }
.brand-top nav a:hover { color: var(--ink); }
.promo { margin-top: 36px; padding: 18px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; }
.promo p { margin: 0; color: var(--muted); flex: 1 1 320px; }
.promo b { color: var(--ink); }
.promo-btn { display: inline-flex; align-items: center; min-height: 40px; padding: 0 20px; border-radius: 8px; background: var(--blue);
  color: #fff; text-decoration: none; font-weight: 600; }
.promo-btn:hover { background: var(--blue-dark); color: #fff; }

/* 与富程官网顶栏同一组：功能 ／ 价格 ／ 常见问题 ＋ 白色「下载」（website/assets/site.css .bar） */
.brand-wrap { gap: 16px; }
.brand-top nav { margin-left: auto; margin-right: 8px; }
.brand-dl { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 9px; background: #fff; color: #07090E !important; font-weight: 600; font-size: 14px; text-decoration: none; }
@media (max-width: 600px) { .brand-top nav { display: none; } .brand-dl { margin-left: auto; } }
/* 外形也与官网 .bar 一致：圆角边框条、吸顶 */
.brand-top { position: sticky; top: 12px; z-index: 20; border-bottom: 0; max-width: 1120px; margin: 12px auto 0; padding: 0 24px; }
.brand-wrap { max-width: none; height: 56px; padding: 0 10px 0 18px; border: 1px solid var(--line); border-radius: 14px;
  background: rgba(12, 16, 24, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.brand-top nav { margin-left: auto; margin-right: auto; gap: 28px; }
.brand-dl { height: 38px; padding: 0 16px; border-radius: 10px; }
/* 顶栏背景铺满整宽（与官网 .bar 同改） */
.brand-top { top: 0; max-width: none; margin: 0; padding: 0; background: rgba(10, 14, 21, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line); }
.brand-wrap { max-width: 1120px; margin: 0 auto; height: 64px; padding: 0 24px; border: 0; border-radius: 0; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.brand-top nav a { color: #B3BDCC; font-size: 14px; }
.brand-top nav a:hover { color: var(--ink); }

/* ===== 易用性审计 C2–C17（2026-10-28） ===== */
.inapp { position: sticky; top: 0; z-index: 40; background: #2F66E0; color: #fff; font-size: 14px; padding: 10px 16px; text-align: center; }
.step-h { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 16px; margin: 4px 0 12px; }
.step-h b { width: 24px; height: 24px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-size: 13px; }
.step-h + .drop { margin-top: 0; }
.tool > form > .step-h:not(:first-child) { margin-top: 26px; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.tab { background: var(--field); color: var(--muted); border: 1px solid var(--line2); font-weight: 500; min-height: 36px; padding: 0 16px; }
.tab:hover { background: var(--field); color: var(--ink); }
.tab.on { background: var(--blue-soft); color: var(--ink); border-color: var(--blue); }
.tabpanel { border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; background: var(--bg); }
.tabpanel ol { margin: 6px 0 8px; padding-left: 22px; }
.tabpanel .fmt { margin: 0; font-size: 14px; color: var(--muted); }
.tabpanel .fmt b { color: var(--ink); }
.picked li { display: flex; align-items: center; justify-content: space-between; gap: 8px; border-bottom: 1px solid var(--line); padding: 6px 0; }
.picked li.clear { justify-content: flex-end; border: 0; }
.picked .x { background: transparent; color: var(--muted); min-height: 28px; padding: 0 10px; font-size: 18px; font-weight: 400; }
.picked .x:hover { color: var(--err); background: transparent; }
button.small { min-height: 30px; font-size: 13px; }
.sub-h { margin: 8px 0 0; font-size: 17px; }
.ccs { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px; }
.cc { border: 1px solid var(--line2); border-radius: 12px; background: var(--panel); padding: 16px; }
.cc-h { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; border-bottom: 1px solid var(--line); padding-bottom: 10px; margin-bottom: 10px; }
.cc-h h3 { margin: 0; font-size: 18px; }
.cc-due span { font-size: 13px; color: var(--muted); margin-right: 6px; }
.cc-due strong { font-size: 24px; }
.cc-sub { margin: 0 0 10px; font-size: 13px; color: var(--muted); }
.cc-grp { margin-top: 10px; }
.cc-grp h4 { margin: 0 0 4px; font-size: 13px; color: var(--link); font-weight: 600; }
.kv { display: flex; align-items: center; gap: 8px; padding: 4px 0; font-size: 14px; }
.kv span { flex: 1; color: var(--muted); }
.kv b { font-weight: 600; }
.copy { min-height: 26px; padding: 0 9px; font-size: 12px; font-weight: 500; background: var(--field); color: var(--muted); border: 1px solid var(--line2); }
.copy:hover { background: var(--blue-soft); color: var(--ink); }
.how ol { margin: 6px 0 0; padding-left: 22px; }
.gloss { display: grid; grid-template-columns: 8em 1fr; gap: 6px 14px; margin: 14px 0 0; font-size: 14px; }
.gloss dt { font-weight: 600; }
.gloss dd { margin: 0; color: var(--muted); }
details.yr, details.files { border-top: 1px solid var(--line); padding-top: 10px; }
details.yr > summary, details.files > summary { cursor: pointer; font-weight: 600; }
@media (max-width: 560px) { .cc-due strong { font-size: 20px; } .gloss { grid-template-columns: 1fr; } }
[hidden] { display: none !important; }

/* 页底下载：Google Play ／ App Store ／ APK 二维码（与官网收尾屏同款） */
.promo-dl { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.promo-dl .stores { display: flex; gap: 10px; flex-wrap: wrap; }
.promo-dl .store { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 16px 0 13px; border-radius: 11px; background: #000; color: #fff !important;
  border: 1px solid rgba(255,255,255,.22); text-decoration: none; }
.promo-dl .store svg { width: 22px; height: 22px; flex: none; }
.promo-dl .store span { display: flex; flex-direction: column; font-size: 15px; font-weight: 600; line-height: 1.1; }
.promo-dl .store small { font-size: 10px; font-weight: 400; opacity: .8; margin-bottom: 2px; }
.promo-dl .store.off { opacity: .55; cursor: default; }
.promo-qr { display: flex; align-items: center; gap: 8px; color: var(--muted) !important; font-size: 12px; text-decoration: none; line-height: 1.4; }
.promo-qr svg { width: 58px; height: 58px; padding: 5px; background: #fff; color: #07090E; border-radius: 9px; }
@media (hover: none) { .promo-qr svg { display: none; } .promo-qr span br { display: none; } .promo-qr { color: var(--link) !important; font-size: 14px; } }

.send-btn { display: inline-flex; align-items: center; min-height: 38px; padding: 0 16px; border-radius: 8px; background: var(--blue); color: #fff !important; text-decoration: none; font-weight: 600; font-size: 14px; margin: 4px 0; }
.send-btn:hover { background: var(--blue-dark); }
