* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background: #0f1115;
  color: #e6e8eb;
}
a { color: #6cb4ff; }
.topbar {
  background: #171a21;
  border-bottom: 1px solid #2a2f3a;
  padding: 12px 20px;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
}
.brand { font-weight: 600; font-size: 18px; }
.tabs { display: flex; gap: 16px; }
.tabs a { color: #9fb0c3; text-decoration: none; padding: 4px 0; }
.tabs a.active { color: #e6e8eb; border-bottom: 2px solid #3a7bd5; }
textarea { background: #0f1115; border: 1px solid #2a2f3a; color: #e6e8eb; padding: 8px; border-radius: 6px; width: 100%; font-family: inherit; }
h3 { color: #9fb0c3; font-size: 14px; margin-top: 20px; }
main {
  max-width: 1100px;
  margin: 20px auto;
  padding: 0 20px 40px;
}
.card {
  background: #171a21;
  border: 1px solid #2a2f3a;
  border-radius: 10px;
  padding: 18px 20px;
  margin-bottom: 18px;
}
.card h2 { margin-top: 0; font-size: 16px; color: #9fb0c3; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 6px 8px; border-bottom: 1px solid #262b35; }
th { color: #9fb0c3; font-weight: 500; }
.muted { color: #6b7686; }
.status-published { color: #7fd18a; }
.status-skipped_filter { color: #6b7686; }
.btn {
  background: #3a7bd5;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 9px 16px;
  font-size: 14px;
  cursor: pointer;
}
.btn.outline { background: transparent; border: 1px solid #3a7bd5; }
.btn.small { padding: 5px 10px; font-size: 12px; }
.login-wrap { max-width: 340px; margin: 60px auto; }
.form-row { margin-bottom: 12px; display: flex; flex-direction: column; gap: 4px; }
input {
  background: #0f1115;
  border: 1px solid #2a2f3a;
  color: #e6e8eb;
  padding: 8px;
  border-radius: 6px;
}
.error-text { color: #ff8080; margin-top: 10px; }
.active-link { color: #e6e8eb; font-weight: 600; }
.level-error { background: rgba(255, 128, 128, 0.08); }
.expired { opacity: 0.5; }
.table-scroll { overflow-x: auto; }
select {
  background: #0f1115;
  border: 1px solid #2a2f3a;
  color: #e6e8eb;
  padding: 7px 8px;
  border-radius: 6px;
}
.btn.small.danger-off { opacity: 0.5; cursor: not-allowed; }
