* { box-sizing: border-box; }
body { margin: 0; font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif; background: #f6f7f9; color: #1c2333; }
.topbar { display: flex; justify-content: space-between; align-items: center; padding: 12px 20px; background: #fff; border-bottom: 1px solid #e5e8ee; position: sticky; top: 0; z-index: 5; }
.brand { font-weight: 700; font-size: 18px; }
.brand-sub { font-weight: 400; font-size: 12px; color: #68707f; margin-left: 6px; }
nav { display: flex; gap: 10px; align-items: center; }
.nav-user { font-size: 13px; color: #68707f; }
main { max-width: 960px; margin: 0 auto; padding: 24px 16px 48px; }
.hero { text-align: center; padding: 48px 16px 24px; }
.hero h1 { font-size: 36px; margin: 0 0 12px; }
.hero-sub { color: #4a5265; max-width: 640px; margin: 0 auto 20px; line-height: 1.7; }
.features, .price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin: 18px 0; }
.card { background: #fff; border: 1px solid #e5e8ee; border-radius: 12px; padding: 18px; }
.card h3 { margin-top: 0; }
.price .amount { font-size: 28px; font-weight: 700; margin: 6px 0; }
.price .amount span { font-size: 13px; font-weight: 400; color: #68707f; }
.price.hot { border-color: #2f6bff; box-shadow: 0 4px 18px rgba(47, 107, 255, .12); }
.pay-note { font-size: 13px; color: #4a5265; line-height: 1.6; background: #f2f5ff; border-radius: 8px; padding: 10px; }
.btn { border: 1px solid #ccd2dd; background: #fff; border-radius: 8px; padding: 8px 16px; cursor: pointer; font-size: 14px; }
.btn.primary { background: #2f6bff; border-color: #2f6bff; color: #fff; }
.btn.danger { background: #e5484d; border-color: #e5484d; color: #fff; }
.btn.small { padding: 5px 10px; font-size: 13px; }
.btn.tiny { padding: 2px 8px; font-size: 12px; }
.btn.link { border: none; color: #2f6bff; background: none; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.row.between { justify-content: space-between; }
label { display: block; margin: 10px 0; font-size: 14px; }
input, textarea { width: 100%; padding: 9px 10px; border: 1px solid #ccd2dd; border-radius: 8px; font: inherit; margin-top: 4px; }
.row input { flex: 1; width: auto; }
.err { color: #e5484d; font-size: 13px; }
.meta { color: #68707f; font-size: 13px; }
.toolbar { display: flex; justify-content: space-between; align-items: center; }
.review-item { cursor: pointer; margin-bottom: 12px; }
.review-item:hover { border-color: #2f6bff; }
.badge { font-size: 12px; padding: 3px 10px; border-radius: 999px; }
.st-draft { background: #eef1f5; color: #4a5265; }
.st-review { background: #fff3d6; color: #8a6100; }
.st-ok { background: #dcf5e3; color: #14713a; }
.st-back { background: #fde3e3; color: #b3261e; }
.doc { border: 1px solid #e5e8ee; border-radius: 8px; margin: 12px 0; overflow: hidden; }
.doc-line { display: flex; gap: 10px; align-items: flex-start; padding: 7px 10px; border-bottom: 1px solid #f0f2f5; }
.doc-line:hover { background: #f8faff; }
.line-no { color: #9aa3b2; width: 28px; text-align: right; flex-shrink: 0; font-size: 12px; padding-top: 2px; }
.line-text { flex: 1; white-space: pre-wrap; word-break: break-word; line-height: 1.6; }
.line-comments { padding: 8px 12px 10px 48px; background: #fbfcfe; border-bottom: 1px solid #f0f2f5; }
.comment { font-size: 14px; padding: 4px 0; line-height: 1.6; }
.actions { margin-top: 16px; }
.footer { text-align: center; color: #68707f; font-size: 12px; padding: 20px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin: 14px 0; }
.stat { text-align: center; }
.stat .num { font-size: 30px; font-weight: 700; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { border-bottom: 1px solid #eef1f5; padding: 7px 8px; text-align: left; }

.tabs { display: flex; gap: 8px; margin: 14px 0; flex-wrap: wrap; }
.tab { border: 1px solid #ccd2dd; background: #fff; border-radius: 999px; padding: 6px 14px; cursor: pointer; font-size: 14px; }
.tab.active { background: #2f6bff; border-color: #2f6bff; color: #fff; }
.task-item { cursor: pointer; margin-bottom: 12px; }
.task-item:hover { border-color: #2f6bff; }
.st-queued { background: #eef1f5; color: #4a5265; }
.st-running { background: #dbeafe; color: #1d4ed8; }
.st-await { background: #fff3d6; color: #8a6100; }
.st-done { background: #dcf5e3; color: #14713a; }
.st-failed { background: #fde3e3; color: #b3261e; }
.st-paused { background: #f3e8ff; color: #6b21a8; }
.st-answered { background: #dcf5e3; color: #14713a; }
.st-rejected { background: #fde3e3; color: #b3261e; }
.st-resolved { background: #eef1f5; color: #4a5265; }
.decision { border: 1px solid #e5e8ee; border-radius: 10px; padding: 14px; margin: 10px 0; background: #fff; }
.decision.pending { border-left: 4px solid #f59e0b; }
.decision.answered { border-left: 4px solid #22c55e; }
.decision.rejected { border-left: 4px solid #e5484d; }
.round { font-size: 14px; padding: 8px 0; border-bottom: 1px solid #f0f2f5; line-height: 1.6; }
select { width: 100%; padding: 9px 10px; border: 1px solid #ccd2dd; border-radius: 8px; font: inherit; margin-top: 4px; background: #fff; }
.checks { display: flex; gap: 12px; flex-wrap: wrap; margin: 6px 0; }
.checks label { display: inline-flex; gap: 4px; align-items: center; margin: 0; }
.checks input { width: auto; margin: 0; }
pre.code { background: #0f172a; color: #e2e8f0; padding: 14px; border-radius: 10px; overflow-x: auto; font-size: 12.5px; line-height: 1.6; }
