body { font-family: system-ui, -apple-system, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; max-width: 1040px; margin: 0 auto; padding: 0 20px; line-height: 1.5; color: #1f2937; }
header { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-bottom: 1px solid #e5e7eb; }
.brand { font-weight: 700; text-decoration: none; }
h1 { color: #0f766e; font-size: 1.8em; margin: 28px 0 4px; }
h2 { color: #0f766e; font-size: 1.15em; margin: 24px 0 6px; }
a { color: #0f766e; }
.lead { color: #475569; margin-top: 0; }
.controls { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; margin: 20px 0 12px; }
select { font: inherit; padding: 4px 8px; border: 1px solid #cbd5e1; border-radius: 6px; background: #fff; }
.updated { color: #64748b; margin-left: auto; font-size: 0.9em; }
small { color: #64748b; }
[hidden] { display: none !important; }

table.plans { border-collapse: collapse; width: 100%; font-size: 0.95em; }
.plans thead th { text-align: left; font-weight: 600; color: #64748b; font-size: 0.85em; padding: 8px 10px; border-bottom: 2px solid #0f766e; }
.plans tbody { border-bottom: 1px solid #e5e7eb; }
.plans td, .plans th { text-align: left; vertical-align: top; padding: 5px 10px; }
.plans tr.tier:first-child td { padding-top: 14px; }
.plans th.prod { padding-top: 14px; width: 170px; font-weight: 700; }
.plans th.prod small { display: block; font-weight: 400; }
.plans td.plan { width: 110px; font-weight: 600; color: #334155; }
.plans td.price { white-space: nowrap; }
.plans td.price small { margin-left: 4px; }
.plans td.none { color: #cbd5e1; }
.plans td.lim { color: #475569; }
.plans tr.meta td { padding: 2px 10px 14px; font-size: 0.8em; color: #94a3b8; }
.plans tr.meta a { color: #64748b; }
.tag { display: inline-block; margin-top: 4px; padding: 0 6px; border: 1px solid #f59e0b; border-radius: 4px; color: #b45309; font-size: 0.75em; font-weight: 400; }
.warn { color: #b45309; }
.note { color: #64748b; font-size: 0.85em; margin-top: 16px; }
footer { margin: 48px 0 24px; font-size: 0.9em; color: #64748b; }

@media (max-width: 680px) {
  body { padding: 0 14px; }
  h1 { font-size: 1.35em; margin-top: 18px; }
  .lead { font-size: 0.9em; }
  .controls { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 14px 0 10px; }
  .controls label { display: flex; flex-direction: column; font-size: 0.75em; color: #64748b; gap: 2px; min-width: 0; }
  .controls select { width: 100%; font-size: 1.25em; color: #1f2937; padding: 6px 4px; }
  .updated { grid-column: 1 / -1; margin-left: 0; font-size: 0.75em; }
  .plans thead { display: none; }
  table.plans, .plans tbody, .plans tr, .plans th, .plans td { display: block; width: auto; }
  .plans tbody { border: 1px solid #e5e7eb; border-radius: 10px; margin: 0 0 12px; padding: 12px 14px 10px; }
  .plans th.prod { padding: 0 0 4px; width: auto; font-size: 1.05em; }
  .plans th.prod small { display: inline; margin-left: 6px; font-size: 0.75em; }
  .plans th.prod .tag { margin: 0 0 0 6px; vertical-align: 2px; }
  .plans tr.tier { display: grid; grid-template-columns: 1fr auto; column-gap: 10px; align-items: baseline; padding: 8px 0; border-top: 1px solid #f1f5f9; }
  .plans tr.tier:first-child { border-top: 0; }
  .plans th.prod { grid-column: 1 / -1; }
  .plans tr.tier td, .plans tr.tier:first-child td { padding: 0; width: auto; white-space: normal; }
  .plans td.plan { font-weight: 600; }
  .plans td.price { text-align: right; }
  .plans td.price strong { font-size: 1.05em; }
  .plans td.price small { display: block; margin: 0; font-size: 0.75em; }
  .plans td.lim { grid-column: 1 / -1; font-size: 0.8em; color: #64748b; line-height: 1.4; margin-top: 2px; }
  .plans tr.meta td { padding: 6px 0 0; font-size: 0.72em; }
}
