* { box-sizing: border-box; }
body { font-family: -apple-system, Segoe UI, Roboto, Arial, sans-serif; background: #0f1115; color: #e6e8eb; margin: 0; }
a { color: #6ea8fe; }
.container { max-width: 1100px; margin: 0 auto; padding: 24px 16px; }
nav { background: #171a21; border-bottom: 1px solid #262a33; }
nav .container { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; }
nav .brand { font-weight: 700; color: #fff; text-decoration: none; }
nav .links a { margin-left: 16px; color: #b7bec9; text-decoration: none; font-size: 14px; }
nav .links a:hover { color: #fff; }
h1 { font-size: 20px; margin: 0 0 16px; }
table { width: 100%; border-collapse: collapse; margin-top: 12px; background: #171a21; border-radius: 8px; overflow: hidden; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid #262a33; font-size: 14px; }
th { color: #9aa3af; font-weight: 600; text-transform: uppercase; font-size: 11px; letter-spacing: .04em; }
tr:last-child td { border-bottom: none; }
.badge { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.badge-ok { background: #113b26; color: #4ade80; }
.badge-atrasado { background: #3b3211; color: #facc15; }
.badge-ausente, .badge-sem-backup { background: #3b1414; color: #f87171; }
.card { background: #171a21; border: 1px solid #262a33; border-radius: 8px; padding: 16px; margin-bottom: 16px; }
.summary { display: flex; gap: 12px; margin-bottom: 20px; }
.summary .stat { flex: 1; }
.summary .stat .n { font-size: 28px; font-weight: 700; }
.summary .stat .label { font-size: 12px; color: #9aa3af; }
form.inline { display: inline; }
input, select, textarea { background: #0f1115; border: 1px solid #333947; color: #e6e8eb; padding: 8px 10px; border-radius: 6px; font-size: 14px; }
label { display: block; font-size: 13px; color: #b7bec9; margin: 10px 0 4px; }
button, .btn { background: #2563eb; color: #fff; border: none; padding: 8px 14px; border-radius: 6px; font-size: 14px; cursor: pointer; text-decoration: none; display: inline-block; }
button.secondary, .btn.secondary { background: #333947; }
button.danger, .btn.danger { background: #7f1d1d; }
.error { background: #3b1414; color: #f87171; padding: 10px 14px; border-radius: 6px; margin-bottom: 16px; font-size: 14px; }
.token-box { background: #0f1115; border: 1px dashed #4ade80; color: #4ade80; padding: 12px; border-radius: 6px; font-family: monospace; word-break: break-all; margin: 8px 0; }
pre.cmd { background: #0f1115; border: 1px solid #262a33; padding: 12px; border-radius: 6px; overflow-x: auto; font-size: 13px; }
.muted { color: #9aa3af; font-size: 13px; }
.filters { display: flex; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; align-items: end; }
.login-wrap { display: flex; align-items: center; justify-content: center; min-height: 80vh; }
.login-card { width: 320px; }
