:root{--bg:#0b0f17;--card:#111827;--muted:#9aa3b2;--text:#e5e7eb;--primary:#4f46e5;--accent:#22c55e;--danger:#ef4444;--border:#1f2937}
*{box-sizing:border-box}
html,body{height:100%}
body{margin:0;background:linear-gradient(180deg,#0b0f17 0%,#0d1320 100%);color:var(--text);font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;line-height:1.5}
.container{max-width:1440px;margin:0 auto;padding:24px}
.subtitle{color:var(--muted)}
.small{font-size:.9rem}
.muted{color:var(--muted)}
.grid{display:grid;grid-template-columns:1fr 1.4fr;gap:24px}
@media (max-width:900px){.grid{grid-template-columns:1fr}}
.card{background:linear-gradient(180deg,rgba(255,255,255,.04),rgba(255,255,255,0));border:1px solid var(--border);border-radius:16px;padding:20px;box-shadow:0 8px 24px rgba(0,0,0,.25)}
.field{margin-bottom:14px;display:flex;flex-direction:column;gap:8px}
.field.two{display:grid;grid-template-columns:1fr 1fr;gap:12px}
label{font-weight:600}
input{width:100%;padding:12px 14px;border-radius:10px;border:1px solid var(--border);background:#0e1623;color:var(--text)}
input:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px rgba(79,70,229,.25)}
.actions{display:flex;gap:10px;margin-top:8px}
button{padding:10px 14px;border-radius:10px;border:1px solid var(--border);background:#101828;color:var(--text);cursor:pointer}
button.primary{background:linear-gradient(180deg,#4f46e5,#4338ca);border-color:#514ce7}
button.ghost{background:transparent}
.error{color:var(--danger)}
.results{white-space:normal;background:#0e1623;border:1px solid var(--border);border-radius:12px;padding:14px}
.results .k{color:#93c5fd}
.results .v{color:#bef264}
/* Sectioned result layout */
.result-sections{display:grid;grid-template-columns:1fr;gap:14px}
.result-card{background:linear-gradient(180deg,rgba(255,255,255,.03),rgba(255,255,255,0));border:1px solid var(--border);border-radius:12px}
.result-card__title{padding:12px 14px;border-bottom:1px solid var(--border);font-weight:700;letter-spacing:.2px}
.result-card__body{display:flex;flex-direction:column}
.kv{display:grid;grid-template-columns:180px 1fr;gap:12px;padding:12px 14px;border-bottom:1px dashed rgba(255,255,255,.08)}
.kv:last-child{border-bottom:0}
.kv .k{color:var(--muted);font-weight:600}
.kv .v{color:var(--text);font-weight:600}
footer{opacity:.8}

/* Header notes */
.notes{margin:10px 0 0 0;padding-left:18px;color:var(--muted);font-size:.95rem;display:flex;flex-direction:column;gap:4px}
.notes li{line-height:1.4}
