:root { font-family: Arial, Helvetica, sans-serif; color: #17191c; background: #fff; font-size: 14px; letter-spacing: 0; }
* { box-sizing: border-box; }
body { margin: 0; }
header { min-height: 62px; padding: 20px 32px; border-bottom: 1px solid #d8dadd; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { font-size: 16px; font-weight: 600; }
#connection { color: #61676d; font-size: 12px; text-align: right; }
main { max-width: 1256px; margin: 0 auto; padding: 36px 32px 64px; }
h1 { font-size: 22px; font-weight: 500; margin: 0 0 28px; }
h2 { font-size: 17px; font-weight: 500; margin: 0; }
.parameters { display: grid; grid-template-columns: minmax(280px, 1fr) minmax(200px, 1.2fr) minmax(150px, .65fr); gap: 24px; align-items: start; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; margin-bottom: 10px; }
legend span { font-size: 12px; color: #686e74; margin-left: 6px; }
.dates { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.dates label { position: relative; }
.dates label > span { position: absolute; top: 13px; left: 10px; color: #656b70; font-size: 12px; pointer-events: none; }
.field { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
input, select, textarea, button { font: inherit; letter-spacing: 0; border-radius: 2px; }
input, select, textarea { background: #fff; color: #17191c; border: 1px solid #bfc3c7; }
input, select { width: 100%; height: 42px; min-width: 0; padding: 0 10px; }
input[type=date] { padding-left: 31px; font-size: 13px; }
select { text-overflow: ellipsis; }
.prompt-label { margin: 27px 0 10px; }
textarea { display: block; width: 100%; min-height: 148px; resize: vertical; padding: 13px; line-height: 1.6; }
textarea::placeholder { color: #80858a; }
button { padding: 0 18px; height: 38px; background: #22262a; color: #fff; border: 1px solid #22262a; cursor: pointer; white-space: nowrap; }
button:hover { background: #373c41; }
button.secondary { background: #fff; color: #34393e; border-color: #cbd0d4; }
button.secondary:hover { background: #f3f4f5; }
button:disabled { opacity: .45; cursor: default; }
:focus-visible { outline: 2px solid #236858; outline-offset: 3px; }
.form-actions { display: flex; align-items: center; gap: 12px; margin-top: 16px; min-height: 38px; }
#progress { color: #656b70; font-size: 12px; }
.result { margin-top: 36px; border-top: 1px solid #d8dadd; padding-top: 24px; }
.result-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.output-actions { display: flex; gap: 8px; }
.output-actions button { height: 32px; font-size: 12px; padding: 0 12px; }
#output { border: 1px solid #d8dadd; min-height: 260px; padding: 20px; line-height: 1.65; overflow: auto; }
.empty { color: #858a8f; margin: 0; }
#output pre { font: inherit; white-space: pre-wrap; overflow-wrap: anywhere; margin: 0; }
#output pre.code { font: 13px/1.65 Consolas, monospace; }
table { border-collapse: collapse; width: 100%; font-size: 13px; }
th, td { border-bottom: 1px solid #d8dadd; padding: 10px 12px; text-align: left; vertical-align: top; overflow-wrap: anywhere; max-width: 440px; }
th { background: #f4f5f6; font-weight: 600; }
#metadata { color: #656b70; font-size: 12px; overflow-wrap: anywhere; }
#error { color: #a32626; line-height: 1.6; margin: 0 0 16px; }
[hidden] { display: none !important; }
@media (max-width: 850px) { .parameters { grid-template-columns: 1fr 1fr; } fieldset { grid-column: 1 / -1; } }
@media (max-width: 520px) { header { padding: 18px 16px; align-items: flex-start; } .brand { font-size: 14px; } #connection { max-width: 160px; } main { padding: 26px 16px 40px; } .parameters { grid-template-columns: minmax(0, 1fr); gap: 20px; } h1 { margin-bottom: 24px; } .form-actions { flex-wrap: wrap; } #progress { width: 100%; } #output { padding: 14px; min-height: 240px; } }
