:root { --bg:#0f1220; --panel:#181c30; --accent:#5b8cff; --text:#e8eaf6; --muted:#8a90b8; --ok:#38d39f; --err:#e05563; }
* { box-sizing:border-box; margin:0; }
body { font-family:system-ui,sans-serif; background:var(--bg); color:var(--text); min-height:100vh; display:flex; }
main { margin:auto; width:min(560px,92vw); padding:32px 0; }
h1 { font-size:34px; letter-spacing:1px; }
.sub { color:var(--muted); margin:4px 0 20px; }
.card { background:var(--panel); border-radius:16px; padding:18px 20px; margin-bottom:14px; }
.card h2 { font-size:15px; color:var(--accent); margin-bottom:10px; }
.hidden { display:none; }
.stack { display:flex; flex-direction:column; gap:10px; }
.tabs { display:flex; gap:8px; margin-bottom:14px; }
.tab { flex:1; background:#0d1022; color:var(--muted); border:1px solid #2a2f52; padding:10px; border-radius:10px; cursor:pointer; font-size:14px; }
.tab.active { background:var(--accent); color:#fff; border-color:var(--accent); }
input { background:#0d1022; border:1px solid #2a2f52; color:var(--text); padding:12px; border-radius:10px; font-size:15px; outline:none; width:100%; }
input:focus { border-color:var(--accent); }
button { background:#2a2f52; color:var(--text); border:0; padding:12px 16px; border-radius:10px; font-size:15px; cursor:pointer; }
button.primary { background:var(--accent); color:#fff; }
button:hover { filter:brightness(1.15); }
.hello { font-size:20px; margin-bottom:4px; }
.hint { color:var(--muted); font-size:13px; margin-bottom:6px; }
.msg { min-height:20px; font-size:14px; margin-top:10px; }
.msg.ok { color:var(--ok); }
.msg.err { color:var(--err); }
pre { background:#0d1022; border-radius:10px; padding:12px; font-size:13px; white-space:pre-wrap; word-break:break-all; min-height:20px; margin-bottom:10px; }
.row { display:flex; gap:10px; align-items:center; margin-bottom:10px; }
.row input { flex:1; }
.dot { width:10px; height:10px; border-radius:50%; background:var(--err); flex:none; }
.dot.ok { background:var(--ok); }