:root { color-scheme: dark; font: 16px/1.5 system-ui, sans-serif; background: #101215; color: #f2f4f0; --dim: #adb5b0; --line: #363e39; --green: #c7f688; }
* { box-sizing: border-box; }
body { margin: 0; }
main { width: min(740px, calc(100% - 36px)); margin: clamp(36px, 8vw, 100px) auto 48px; }
header { display: flex; gap: 10px; align-items: center; font-weight: 700; }
.mark { padding: 0 7px; color: #161d12; background: var(--green); font-family: monospace; border-radius: 4px; }
h1 { font-size: clamp(2.65rem, 7vw, 4.5rem); line-height: 1; letter-spacing: -.065em; margin: 30px 0 12px; }
h2 { margin: 0 0 20px; font-size: 1.15rem; }
.intro, footer, #status { color: var(--dim); }
.connection, .panel { border: 1px solid var(--line); border-radius: 12px; background: #191d1b; }
.connection { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 30px 0 14px; padding: 15px 20px; }
.connection code { display: block; color: var(--green); overflow-wrap: anywhere; }
.label, label { display: block; font-size: .9rem; font-weight: 600; }
.label { color: var(--dim); }
.panel { padding: clamp(18px, 4vw, 26px); }
.fields { display: grid; grid-template-columns: 3fr 2fr; gap: 12px; }
input, select, textarea, pre { border: 1px solid var(--line); border-radius: 7px; color: inherit; background: #101412; }
input, select, textarea { display: block; width: 100%; padding: 10px; margin: 5px 0 14px; font: inherit; }
textarea { resize: vertical; }
button { cursor: pointer; border: 1px solid var(--line); border-radius: 7px; padding: 8px 12px; background: transparent; color: inherit; font: inherit; font-weight: 650; }
button[type=submit] { background: var(--green); color: #172012; border-color: var(--green); }
button:disabled { opacity: .55; cursor: wait; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
pre { white-space: pre-wrap; overflow-wrap: anywhere; padding: 14px; margin: 18px 0 0; }
footer { margin: 17px 0; font-size: .9rem; }
@media (max-width: 460px) { .fields { grid-template-columns: 1fr; gap: 0; } }
