:root{--bg:#0f1114;--surface:#15181c;--line:#30363e;--text:#e6e8eb;--muted:#8b929b;--accent:#9ccfb6;--red:#e08f8f;color-scheme:dark}
*{box-sizing:border-box}
html,body{margin:0;min-height:100%;background:var(--bg);color:var(--text);font:14px/1.45 -apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif}
body{display:grid;place-items:center;min-height:100vh;padding:24px}
.login-card{width:100%;max-width:320px}
.brand{display:flex;align-items:center;gap:10px;font-size:18px;font-weight:600;margin-bottom:28px}
.brand-mark{display:grid;place-items:center;width:28px;height:28px;border-radius:6px;background:var(--text);color:var(--bg);font-size:15px;font-weight:700}
h1{font-size:18px;font-weight:600;margin:0 0 6px}
label{display:block;font-size:12px;font-weight:500;color:var(--muted);margin:14px 0 6px}
input{width:100%;min-height:38px;padding:8px 10px;border-radius:6px;border:1px solid var(--line);background:var(--bg);color:var(--text);font:inherit}
input:focus{outline:none;border-color:var(--accent)}
button{width:100%;margin-top:20px;min-height:38px;border:0;border-radius:6px;background:var(--accent);color:var(--bg);font:inherit;font-weight:600;cursor:pointer}
button:hover{background:#b2dcc7}
button:disabled{opacity:.5;cursor:default}
.error{margin:12px 0 0;padding:8px 10px;border-radius:6px;border:1px solid #5a3434;background:#2a1a1a;color:var(--red);font-size:13px}
