:root { font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #172033; background: #f4f6fb; }
body { margin: 0; }
a { color: #2454d6; }
.header { background: #0d1b2a; color: white; padding: 16px 24px; display: flex; justify-content: space-between; align-items: center; }
.header a, .header button { color: white; }
.container { max-width: 1180px; margin: 24px auto; padding: 0 16px; }
.card { background: white; border-radius: 14px; box-shadow: 0 8px 24px rgba(15, 23, 42, .08); padding: 18px; margin-bottom: 16px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
input, select, textarea { box-sizing: border-box; padding: 10px 12px; border: 1px solid #ccd3e0; border-radius: 10px; font: inherit; background: white; }
textarea { width: 100%; min-height: 74px; }
button { border: 0; border-radius: 10px; padding: 10px 14px; background: #2454d6; color: white; cursor: pointer; font-weight: 650; }
button.secondary { background: #edf1f7; color: #172033; }
button.danger { background: #b42318; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid #edf1f7; vertical-align: top; }
th { color: #536076; font-size: 13px; }
.badge { display: inline-block; border-radius: 999px; padding: 4px 9px; background: #edf1f7; font-size: 12px; font-weight: 700; }
.badge.ok { background: #dcfce7; color: #166534; }
.badge.err { background: #fee2e2; color: #991b1b; }
.muted { color: #6b7280; }
.login { max-width: 420px; margin: 12vh auto; }
.login input { width: 100%; margin: 6px 0 12px; }
pre { white-space: pre-wrap; background: #0b1020; color: #dbeafe; padding: 12px; border-radius: 10px; overflow: auto; }
hr { border: 0; border-top: 1px solid #edf1f7; margin: 16px 0; }
.small { font-size: 12px; }
.dangerText { color: #b42318; }
.result { background: #f8fafc; border: 1px solid #dbe4f0; border-radius: 12px; padding: 12px; margin-top: 12px; }
.card > input, .card > select { margin: 5px 6px 8px 0; }
