* { box-sizing: border-box; }
body { font-family: -apple-system, system-ui, sans-serif; background: #0f1115; color: #e6e6e6; margin: 0; }
.wrap { max-width: 1000px; margin: 24px auto; padding: 0 16px; }
h1 { margin: 0 0 16px; }
h2 { margin: 0 0 8px; font-size: 16px; }
h3 { margin: 12px 0 6px; font-size: 13px; color: #9aa0a6; }
.card { background: #171a21; border: 1px solid #262a33; border-radius: 8px; padding: 14px; margin-bottom: 14px; }
.hint { color: #9aa0a6; font-size: 12px; margin: 0 0 8px; }
textarea, input, select { width: 100%; background: #0c0e13; border: 1px solid #2a2f3a; color: #e6e6e6; border-radius: 6px; padding: 8px; font-family: ui-monospace, Menlo, monospace; font-size: 12px; }
textarea { resize: vertical; }
label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: #b8bdc6; }
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.row { display: flex; gap: 8px; align-items: center; margin-top: 8px; }
button { background: #2a2f3a; color: #e6e6e6; border: 1px solid #353a45; padding: 8px 14px; border-radius: 6px; cursor: pointer; font-size: 13px; }
button:hover { background: #353a45; }
button.primary { background: #2563eb; border-color: #2563eb; }
button.primary:hover { background: #1d4ed8; }
button.danger { background: #b91c1c; border-color: #b91c1c; }
button.danger:disabled { opacity: 0.4; cursor: not-allowed; }
.muted { color: #9aa0a6; font-size: 12px; }
.stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 10px; }
.stats .box { background: #0c0e13; border: 1px solid #2a2f3a; padding: 8px; border-radius: 6px; text-align: center; }
.stats .box b { display: block; font-size: 18px; }
.stats .box span { font-size: 11px; color: #9aa0a6; }
.recent { background: #0c0e13; border: 1px solid #2a2f3a; border-radius: 6px; padding: 8px; max-height: 280px; overflow: auto; font-size: 11px; white-space: pre-wrap; word-break: break-all; }
@media (max-width: 640px) { .grid { grid-template-columns: 1fr; } .stats { grid-template-columns: repeat(2, 1fr); } }
