:root { --accent: #2563eb; --border: #e5e7eb; --muted: #6b7280; --bg: #f8fafc; }
* { box-sizing: border-box; }
body { margin: 0; font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif; background: var(--bg); color: #111827; line-height: 1.6; }
.wrap { max-width: 960px; margin: 0 auto; padding: 0 16px; }
.top { background: #fff; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 10; }
.top-in { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; }
.brand { font-size: 18px; }
.tag { font-size: 12px; color: var(--muted); font-weight: 400; margin-left: 6px; }
.top-r { display: flex; gap: 8px; align-items: center; }
.card { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 24px; margin: 20px 0; }
.hero h1 { margin: 0 0 10px; font-size: 28px; line-height: 1.3; }
.muted { color: var(--muted); }
.sm { font-size: 13px; }
.hidden { display: none !important; }
.btn { display: inline-block; padding: 9px 18px; border: 1px solid var(--border); border-radius: 9px; background: #fff; color: #111827; font-size: 14px; cursor: pointer; text-decoration: none; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.ghost { background: transparent; }
.btn.sm { padding: 5px 10px; font-size: 13px; }
.hero-cta { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); margin-bottom: 18px; flex-wrap: wrap; }
.tab { padding: 9px 14px; border: none; background: none; font-size: 15px; cursor: pointer; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tab.active { color: var(--accent); border-bottom-color: var(--accent); font-weight: 600; }
.lbl { display: block; font-weight: 600; margin-bottom: 6px; }
textarea, input { width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: 9px; font-size: 15px; font-family: inherit; }
textarea { resize: vertical; }
.row { display: flex; gap: 10px; align-items: center; margin: 12px 0; flex-wrap: wrap; }
.row input { width: auto; flex: 1; min-width: 140px; }
.chk { display: flex; gap: 6px; align-items: center; }
.chk input { width: auto; flex: none; min-width: 0; }
.hint { color: var(--muted); font-size: 13px; min-height: 18px; }
.hint.warn { color: #b45309; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; margin-top: 10px; }
.tbl th, .tbl td { border-bottom: 1px solid var(--border); padding: 8px 6px; text-align: left; }
.tbl input { width: 80px; padding: 4px 6px; font-size: 14px; }
tr.cancelled td { text-decoration: line-through; color: var(--muted); }
.result-head { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 14px; }
.list-item { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.price-card { border: 1px solid var(--border); border-radius: 12px; padding: 18px; }
.price-card.hot { border-color: var(--accent); }
.price { font-size: 26px; font-weight: 700; margin: 6px 0; }
.how li { margin-bottom: 8px; }
.unparsed { color: #b45309; font-size: 13px; }
footer { display: flex; justify-content: space-between; padding: 20px 16px 30px; flex-wrap: wrap; gap: 8px; }
.modal { position: fixed; inset: 0; background: rgba(0,0,0,.45); display: flex; align-items: center; justify-content: center; z-index: 50; }
.modal-card { background: #fff; border-radius: 14px; padding: 24px; width: min(420px, 92vw); display: flex; flex-direction: column; gap: 10px; }
.quota { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.stats { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
@media (max-width: 640px) {
  .hero h1 { font-size: 22px; }
  .card { padding: 18px 14px; }
  .tbl { font-size: 13px; }
  .tbl input { width: 60px; }
}
