:root { --bg: #f4f5f7; --card: #fff; --text: #1c2330; --text-muted: #667085; --border: #d9dde5; --primary: #1f5fd1; --error-bg: #fdecec; --error: #a4262c; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.container { padding: 1rem; }
.login-wrapper { min-height: 90vh; display: flex; align-items: center; justify-content: center; }
.login-card { width: 100%; max-width: 380px; background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 1.75rem; }
.login-card h1 { font-size: 20px; margin: 0 0 1rem; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: 13px; color: var(--text-muted); margin-bottom: 4px; }
.form-group input, .form-group select { width: 100%; padding: 10px; border: 1px solid var(--border); border-radius: 6px; font: inherit; background: #fff; }
.btn { display: inline-block; padding: 10px 14px; border: 1px solid var(--border); border-radius: 6px; background: #fff; color: var(--text); font: inherit; cursor: pointer; text-align: center; text-decoration: none; }
.btn-primary { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn-full { width: 100%; }
.alert { padding: 10px 12px; border-radius: 6px; margin-bottom: 1rem; font-size: 14px; }
.alert-error { background: var(--error-bg); color: var(--error); }
.oauth-card { max-width: 480px; }
.oauth-text { font-size: 14px; line-height: 1.5; margin: 0 0 1rem; overflow-wrap: anywhere; }
.oauth-hint { color: var(--text-muted); font-size: 13px; margin-top: 1rem; }
.oauth-cancel { margin-top: 8px; }
table.status { width: 100%; border-collapse: collapse; margin-bottom: 1rem; font-size: 14px; }
table.status th, table.status td { text-align: left; padding: 7px 0; border-bottom: 1px solid var(--border); vertical-align: top; }
table.status th { color: var(--text-muted); font-weight: 500; padding-right: 12px; width: 50%; }
code { background: #eef0f4; padding: 1px 4px; border-radius: 4px; font-size: 13px; }
