body { font: 14px/1.5 system-ui, sans-serif; margin: 0; background: #f6f5fa; color: #1b1438; }
main { max-width: 1100px; margin: 0 auto; padding: 24px 16px; }
form.card, .card { background: #fff; border: 1px solid #ded9ee; border-radius: 10px; padding: 16px; margin-bottom: 16px; }
form.narrow { max-width: 360px; margin: 10vh auto; display: flex; flex-direction: column; gap: 10px; }
label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
input, select { font: inherit; padding: 7px 9px; border: 1px solid #c9c2e0; border-radius: 6px; }
button { font: inherit; padding: 6px 12px; border: 1px solid #c9c2e0; border-radius: 6px; background: #fff; cursor: pointer; }
button.primary { background: #4b2ad4; border-color: #4b2ad4; color: #fff; }
button.danger { color: #b3261e; }
.row { display: flex; gap: 8px; flex-wrap: wrap; align-items: end; }
.top { display: flex; justify-content: space-between; align-items: center; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 8px; border-bottom: 1px solid #ece9f5; vertical-align: top; }
pre { background: #f0eefa; padding: 10px; border-radius: 6px; white-space: pre-wrap; word-break: break-all; user-select: all; }
.err { background: #fdecea; color: #8c1d18; padding: 10px; border-radius: 6px; margin-bottom: 12px; }
small { color: #6a6385; }
@media (max-width: 800px) { .scroll { overflow-x: auto; } }
