:root { font-family: "Segoe UI", system-ui, sans-serif; color: #18283b; background: #f4f6f2; }
* { box-sizing: border-box; }
body { margin: 0; }
header { background: #fff; border-bottom: 1px solid #dce4e0; padding: 1.35rem max(1rem, calc((100% - 72rem) / 2)); }
header a { color: inherit; font-size: 1.25rem; font-weight: 900; text-transform: uppercase; text-decoration: none; }
header span { color: #136b5a; }
main { width: min(100% - 2rem, 72rem); margin: 2rem auto; }
h1, h2 { margin-top: 0; }
h1 { font-size: clamp(1.65rem, 5vw, 2.7rem); text-transform: uppercase; }
.workspace { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 1rem; align-items: start; }
.panel { padding: clamp(1rem, 3vw, 1.5rem); background: white; border: 1px solid #dce4e0; border-radius: .9rem; }
form { display: grid; gap: .65rem; }
label { font-weight: 650; }
select, textarea, button, input { font: inherit; min-width: 0; }
select, textarea { border: 1px solid #8fa29b; border-radius: .55rem; padding: .65rem; }
textarea, pre { font-family: Consolas, monospace; background: #17283d; color: #dcf9e7; }
textarea { resize: vertical; }
pre { padding: .75rem; border-radius: .55rem; white-space: pre-wrap; overflow-wrap: anywhere; }
#error { color: #ffd5ce; }
button { justify-self: start; padding: .65rem 1rem; border: 0; border-radius: .55rem; color: #fff; background: #136b5a; font-weight: 700; cursor: pointer; }
button:disabled { opacity: .65; cursor: default; }
button[hidden], pre:empty, p:empty { display: none; }
p { margin: 0; color: #4d6072; overflow-wrap: anywhere; }
:focus-visible { outline: 3px solid #267e69; outline-offset: 3px; }
@media (max-width: 760px) { .workspace { grid-template-columns: minmax(0, 1fr); } }
