:root {
  --p7-600: #b55f71; --p7-700: #954b5d; --p7-50: #fbf0f2; --n7-600: #3f3835; --n7-500: #6b625c; --n7-200: #e4dfdb; --c7-50: #fbf8f3;
  --font: Inter, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: var(--font); color: var(--n7-600); background: var(--c7-50); }
main { width: min(1100px, calc(100% - 32px)); margin: 28px auto 48px; }
h1 { color: #292522; font-size: 28px; }
.card, .sheet { background: white; border-radius: 20px; padding: 18px; box-shadow: 0 8px 24px rgba(183,121,135,.12); margin-bottom: 16px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stats div { background: white; border-radius: 16px; padding: 14px; }
.stats b { display: block; font-size: 22px; color: #292522; }
label { display: block; font-size: 13px; margin: 10px 0 6px; }
input { width: 100%; border: 1px solid var(--n7-200); border-radius: 10px; padding: 10px 12px; font: inherit; }
button, .linkish { border: 0; border-radius: 10px; background: var(--p7-600); color: white; padding: 8px 12px; cursor: pointer; font: inherit; }
button.ghost { background: var(--p7-50); color: var(--p7-700); }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--n7-200); vertical-align: top; }
.hint { color: #c97077; min-height: 1.2em; }
code { font-size: 12px; }
@media (max-width: 800px) { .stats { grid-template-columns: 1fr 1fr; } }
