:root { color-scheme: dark; font: 16px system-ui,sans-serif; background: #0c1220; color: #edf2ff; }
body { margin: 0; padding: 24px; }
main { max-width: 680px; margin: 5vh auto; padding: clamp(18px,4vw,36px); border: 1px solid #334155; border-radius: 20px; background: #141e31; }
header,.actions { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.actions { justify-content: start; }
h1 { font-size: clamp(24px,5vw,32px); margin: 0; }
h2 { font-size: 19px; margin-top: 25px; }
form { margin-top: 24px; }
label { display: grid; gap: 6px; margin-bottom: 16px; }
input,button { font: inherit; min-height: 42px; box-sizing: border-box; border: 1px solid #496178; border-radius: 9px; padding: 8px 12px; }
input { width: 100%; background: #0c1220; color: inherit; }
button { background: #12634e; color: white; cursor: pointer; }
button:disabled { opacity: .55; cursor: default; }
#result { margin-top: 20px; border-top: 1px solid #334155; }
#history { padding-left: 20px; }
#status { color: #a9dfce; }
