body { font: 14px/1.45 ui-sans-serif, system-ui, sans-serif; margin: 0; color: #111; background: #f4f4f5; }
main { max-width: 1100px; margin: 0 auto; padding: 16px; }
.note { background: #fff7ed; border-left: 4px solid #c2410c; padding: 10px 12px; margin: 0 0 14px; }
.grid { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
button { font: inherit; padding: 7px 11px; border: 1px solid #d4d4d8; background: #fff; border-radius: 8px; cursor: pointer; }
button:hover { background: #f4f4f5; }
button.primary { background: #111; color: #fff; border-color: #111; }
button.warn { color: #9f1239; }
.stats { display: flex; gap: 10px; flex-wrap: wrap; margin: 0 0 14px; }
.stat { background: #fff; border: 1px solid #e4e4e7; border-radius: 8px; padding: 8px 12px; min-width: 90px; }
.stat b { display: block; font-size: 18px; }
.stat span { color: #71717a; font-size: 12px; }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 860px) { .cols { grid-template-columns: 1fr; } }
section { background: #fff; border: 1px solid #e4e4e7; border-radius: 10px; overflow: hidden; }
section h2 { margin: 0; padding: 10px 12px; font-size: 14px; border-bottom: 1px solid #f4f4f5; }
section.detail { margin-top: 12px; }
table { width: 100%; border-collapse: collapse; font-size: 12px; }
th, td { text-align: left; padding: 7px 10px; border-bottom: 1px solid #f4f4f5; vertical-align: top; }
th { color: #71717a; font-weight: 600; }
tr { cursor: pointer; }
tr:hover { background: #fafafa; }
tr.active { background: #eef2ff; }
.empty { padding: 16px; color: #71717a; }
pre, #detail { margin: 0; padding: 12px; overflow: auto; max-height: 320px; font-size: 12px; }
#detail table { margin: 0; }
#detail th { width: 140px; }
code { font-size: 12px; }
