* { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #f5f7fa; --card: #ffffff; --ink: #1a1d24; --muted: #6b7280;
  --line: #e5e7eb; --brand: #1565c0; --brand-d: #0d47a1; --accent: #00897b;
  --danger: #c62828; --ok: #2e7d32; --warn: #f9a825;
}
body { font-family: "Microsoft YaHei", "微软雅黑", Arial, sans-serif; background: var(--bg); color: var(--ink); line-height: 1.6; }
header { background: linear-gradient(120deg, #0d2137, #1565c0); color: #fff; padding: 28px 24px; }
header .wrap { max-width: 1080px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
header h1 { font-size: 24px; letter-spacing: .5px; }
header p { opacity: .82; font-size: 13px; margin-top: 4px; }
nav { display: flex; gap: 8px; flex-wrap: wrap; }
nav button { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); color: #fff; padding: 7px 14px; border-radius: 6px; cursor: pointer; font-size: 13px; }
nav button:hover { background: rgba(255,255,255,.22); }
main { max-width: 1080px; margin: 24px auto; padding: 0 20px 60px; }
.section { display: none; }
.section.active { display: block; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 22px; margin-bottom: 18px; box-shadow: 0 1px 3px rgba(0,0,0,.04); }
.card h2 { font-size: 18px; margin-bottom: 14px; color: var(--brand-d); }
.card h3 { font-size: 15px; margin: 14px 0 8px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
label { display: block; font-size: 13px; color: var(--muted); margin: 10px 0 4px; }
input, textarea, select { width: 100%; padding: 9px 11px; border: 1px solid var(--line); border-radius: 6px; font-size: 14px; font-family: inherit; background: #fff; }
textarea { min-height: 90px; resize: vertical; }
button.primary { background: var(--brand); color: #fff; border: 0; border-radius: 6px; padding: 10px 18px; font-size: 14px; cursor: pointer; margin-top: 12px; }
button.primary:hover { background: var(--brand-d); }
button.ghost { background: #fff; border: 1px solid var(--brand); color: var(--brand); border-radius: 6px; padding: 8px 14px; cursor: pointer; font-size: 13px; }
button.small { padding: 4px 10px; font-size: 12px; margin: 0 2px; }
.msg { margin-top: 12px; padding: 10px 12px; border-radius: 6px; font-size: 13px; display: none; }
.msg.show { display: block; }
.msg.ok { background: #e8f5e9; color: var(--ok); }
.msg.err { background: #ffebee; color: var(--danger); }
.msg.info { background: #e3f2fd; color: var(--brand-d); }
table { width: 100%; border-collapse: collapse; font-size: 13px; margin-top: 10px; }
th, td { border-bottom: 1px solid var(--line); padding: 9px 8px; text-align: left; vertical-align: top; }
th { background: #f3f6fa; color: var(--muted); font-weight: 600; }
.code { font-family: Consolas, monospace; background: #f3f6fa; padding: 10px; border-radius: 6px; word-break: break-all; font-size: 12px; user-select: all; }
.tag { display: inline-block; padding: 2px 8px; border-radius: 10px; font-size: 11px; background: #eef2f7; color: var(--muted); }
.tag.ok { background: #e8f5e9; color: var(--ok); }
.tag.warn { background: #fff8e1; color: #8d6e00; }
.tag.err { background: #ffebee; color: var(--danger); }
.step { background: #f8fafc; border-left: 3px solid var(--brand); padding: 10px 14px; margin: 8px 0; font-size: 13px; }
.stat { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px,1fr)); gap: 12px; }
.stat .box { background: #f8fafc; border: 1px solid var(--line); border-radius: 8px; padding: 14px; }
.stat .box b { display: block; font-size: 22px; color: var(--brand-d); }
.stat .box span { font-size: 12px; color: var(--muted); }
.feed { border-bottom: 1px solid var(--line); padding: 12px 0; }
.feed .who { font-size: 12px; color: var(--muted); }
.plan { border: 2px solid var(--line); border-radius: 10px; padding: 18px; cursor: pointer; transition: .15s; }
.plan:hover { border-color: var(--brand); }
.plan.sel { border-color: var(--brand); background: #f0f7ff; }
.plan b { font-size: 18px; }
.plan .price { font-size: 26px; color: var(--brand-d); margin: 8px 0; }
footer { text-align: center; color: var(--muted); font-size: 12px; padding: 20px; }
.hidden { display: none !important; }
