:root { color-scheme: dark; font: 16px/1.5 system-ui, sans-serif; background: #10151c; color: #e8eef5; }
* { box-sizing: border-box; }
body { margin: 0; }
header { display: flex; justify-content: space-between; align-items: center; padding: 1rem max(1rem, calc((100vw - 1100px)/2)); background: #19222d; border-bottom: 1px solid #344253; }
h1, h2, h3 { margin: 0 0 .8rem; }
main { max-width: 1100px; margin: 2rem auto; padding: 0 1rem; }
.card { background: #19222d; border: 1px solid #344253; border-radius: 12px; padding: 1.25rem; }
#login-panel { max-width: 480px; margin: 8vh auto; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 1rem; }
.toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
label { display: grid; gap: .35rem; margin: .75rem 0; color: #c6d2df; }
input, select, textarea, button { font: inherit; border-radius: 7px; padding: .65rem .75rem; }
input, select, textarea { width: 100%; background: #10151c; color: inherit; border: 1px solid #536477; }
textarea { resize: vertical; }
button { border: 0; color: #07151a; background: #65d6b4; font-weight: 700; cursor: pointer; }
button.secondary { color: #e8eef5; background: #334254; }
button:hover { filter: brightness(1.1); }
.error { color: #ff9c9c; min-height: 1.3em; }
pre { white-space: pre-wrap; overflow-wrap: anywhere; max-height: 50vh; overflow: auto; }
svg { width: 100%; min-height: 180px; background: #10151c; border-radius: 8px; }
ul { padding-left: 1.2rem; }
li { display: flex; justify-content: space-between; align-items: center; gap: .5rem; padding: .5rem 0; border-bottom: 1px solid #344253; }
@media (max-width: 520px) { main { margin: 1rem auto; } .toolbar { align-items: flex-start; } }
