:root { --fg:#1c2430; --muted:#68727f; --line:#d7dde5; --ok:#0a7a3d; --bad:#b3261e; --bg:#f7f9fb; --accent:#1f5fbf; }
* { box-sizing: border-box; }
body { font-family: system-ui, -apple-system, sans-serif; color: var(--fg); background: var(--bg); margin: 0; }
header { display: flex; justify-content: space-between; align-items: center; padding: 14px 24px; background: #fff; border-bottom: 1px solid var(--line); }
.brand a { font-weight: 700; font-size: 1.15rem; text-decoration: none; color: var(--fg); }
.tag { color: var(--muted); font-size: .85rem; margin-left: 8px; }
nav a { margin-left: 16px; color: var(--accent); text-decoration: none; }
main { max-width: 1080px; margin: 24px auto; padding: 0 24px; }
h1 { font-size: 1.5rem; } h2 { font-size: 1.1rem; margin-top: 28px; }
table { border-collapse: collapse; width: 100%; background: #fff; font-size: .92rem; }
th, td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
th { background: #eef2f6; }
tr.resolved td { background: #f2f8f4; }
code { font-size: .85em; background: #eef2f6; padding: 1px 4px; border-radius: 3px; }
.ok { color: var(--ok); font-weight: 600; } .bad { color: var(--bad); font-weight: 600; } .muted { color: var(--muted); }
.button, button { display: inline-block; background: var(--accent); color: #fff; border: 0; border-radius: 6px; padding: 8px 14px; font-size: .92rem; text-decoration: none; cursor: pointer; }
button.danger { background: var(--bad); padding: 4px 10px; }
form { margin: 0; }
fieldset { border: 1px solid var(--line); background: #fff; border-radius: 6px; margin-bottom: 16px; padding: 14px 16px; }
label { display: block; margin: 8px 0; } label.inline { display: inline-block; margin-right: 12px; }
input[type=text] { padding: 6px 8px; border: 1px solid var(--line); border-radius: 4px; }
select, input[type=file] { margin: 2px 4px 2px 0; }
ul.messages { max-width: 1080px; margin: 16px auto 0; padding: 0 24px; list-style: none; }
ul.messages li { padding: 10px 14px; border-radius: 6px; margin-bottom: 8px; }
ul.messages li.success { background: #e3f3e8; color: var(--ok); }
ul.messages li.warning { background: #fdf3dc; color: #7a5b00; }
ul.messages li.error { background: #fbe4e2; color: var(--bad); }
.actions { display: flex; gap: 12px; align-items: center; }
.tiers { display: flex; gap: 16px; flex-wrap: wrap; }
.tier { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 18px 20px; width: 280px; }
.price { font-size: 1.6rem; font-weight: 700; } .price span { font-size: .9rem; color: var(--muted); font-weight: 400; }
.tier ul { padding-left: 18px; }
footer { max-width: 1080px; margin: 40px auto; padding: 0 24px; color: var(--muted); font-size: .85rem; border-top: 1px solid var(--line); padding-top: 16px; }
footer .warning { color: #7a5b00; }
.checklist strong { display: inline-block; width: 120px; }
.tablewrap { overflow-x: auto; }
defs, p.defs { font-size: .88rem; color: var(--muted); }
p.defs em { color: var(--fg); }
table.source td { font-family: ui-monospace, monospace; font-size: .82rem; padding: 2px 8px; white-space: pre-wrap; }
table.source .lineno { color: var(--muted); width: 3em; text-align: right; background: #eef2f6; }
tr.hl td.cell { background: #fdf3dc; }
@media (max-width: 720px) {
  header { flex-direction: column; gap: 8px; align-items: flex-start; }
  .actions { flex-direction: column; align-items: flex-start; }
  .tiers { flex-direction: column; }
}
