:root { color-scheme: light; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: #eef2f6; color: #172033; }
body::before { content: ""; display: block; height: 6px; background: linear-gradient(90deg, #1667a8, #34a0a4); }
.container { width: min(1120px, calc(100% - 36px)); margin: 52px auto 28px; }
header { margin-bottom: 24px; }
.brand { color: #1667a8; font-size: .8rem; font-weight: 800; letter-spacing: .14em; margin-bottom: 16px; }
.brand span { color: #6a778b; font-weight: 650; }
h1 { margin: 0 0 8px; font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.035em; }
p { color: #5d697b; }
form, .panel { background: #fff; border: 1px solid #d8e0e9; border-radius: 12px; padding: 22px; margin-bottom: 20px; box-shadow: 0 8px 26px rgba(32, 48, 70, .07); }
label { display: block; font-weight: 750; margin-bottom: 9px; }
textarea { width: 100%; resize: vertical; min-height: 112px; border: 1px solid #aebbc9; border-radius: 8px; padding: 13px; font: inherit; line-height: 1.45; }
textarea:focus { outline: 3px solid rgba(22, 103, 168, .13); border-color: #1667a8; }
.form-footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 13px; color: #7a8697; font-size: .84rem; }
button { border: 0; border-radius: 8px; padding: 11px 19px; font-weight: 750; background: #1667a8; color: white; cursor: pointer; }
button:hover { background: #10598f; }
h2 { margin-top: 0; font-size: 1.12rem; }
pre { white-space: pre-wrap; overflow-wrap: anywhere; background: #f4f7fa; border: 1px solid #e4e9ef; border-radius: 7px; padding: 13px; }
.error { border-color: #d98c8c; }
.error pre { background: #fff3f3; color: #8b2020; }
.count { color: #758194; font-size: .88rem; font-weight: 450; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .94rem; }
th, td { border-bottom: 1px solid #e4e9ef; padding: 11px; text-align: left; vertical-align: top; }
th { background: #f5f8fb; color: #39465a; }
footer { text-align: center; color: #8490a0; font-size: .8rem; padding: 0 16px 28px; }
@media (max-width: 620px) { .form-footer { align-items: stretch; flex-direction: column; } button { width: 100%; } }
