:root {
  font-family: Arial, sans-serif;
  color: #172033;
  background: #f4f6fb;
}
* { box-sizing: border-box; }
body { margin: 0; }
.container { max-width: 1050px; margin: 0 auto; padding: 32px 18px 60px; }
header { margin-bottom: 22px; }
.eyebrow { margin: 0 0 6px; color: #4d5f85; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 12px; }
h1 { margin: 0; font-size: 34px; }
.subtitle { max-width: 760px; color: #53627d; line-height: 1.5; }
.card { background: white; border: 1px solid #e1e6f0; border-radius: 16px; padding: 18px; margin: 16px 0; box-shadow: 0 8px 24px rgba(23, 32, 51, 0.06); }
.grid.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.full { grid-column: 1 / -1; }
label { display: block; font-weight: 700; margin-bottom: 8px; }
select, textarea { width: 100%; border: 1px solid #cfd7e6; border-radius: 10px; padding: 12px; font-size: 15px; background: #fff; }
textarea { resize: vertical; line-height: 1.45; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
button { border: 0; border-radius: 10px; background: #244db7; color: #fff; padding: 11px 15px; font-weight: 700; cursor: pointer; }
button:hover { background: #1d3e92; }
button:disabled { background: #8793ad; cursor: wait; }
h2 { margin-top: 0; font-size: 20px; }
.output { min-height: 88px; background: #f8faff; border: 1px solid #dce4f2; border-radius: 12px; padding: 14px; white-space: pre-wrap; overflow-x: auto; line-height: 1.45; }
.output.text { font-family: Arial, sans-serif; }
.error { color: #9b1c1c; }
@media (max-width: 760px) { .grid.two { grid-template-columns: 1fr; } h1 { font-size: 28px; } }
