/* AppNGen admin console — compact dark ops styling (kin to landing/, not the product SPA). */
:root {
  --bg: #0b0e14;
  --panel: #121722;
  --line: #232b3b;
  --text: #dde3ee;
  --muted: #8b94a7;
  --accent: #4f8cff;
  --ok: #3ecf6f;
  --warn: #e8b93e;
  --err: #f0635c;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 14px/1.5 "IBM Plex Sans", system-ui, sans-serif;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 22px;
  border-bottom: 1px solid var(--line);
}
.brand { font-weight: 700; font-size: 17px; letter-spacing: 0.2px; }
.brand span { color: var(--accent); }
.brand em { font-style: normal; color: var(--muted); font-weight: 500; margin-left: 6px; }
.header-right { display: flex; gap: 10px; align-items: center; }
.rev { color: var(--muted); font-family: ui-monospace, monospace; font-size: 12px; }
main, .login { max-width: 1040px; margin: 22px auto; padding: 0 18px; }
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px 18px;
  margin-bottom: 16px;
}
.login { max-width: 380px; }
.login h1 { margin: 0 0 4px; font-size: 18px; }
.login form { display: grid; gap: 12px; margin-top: 14px; }
.login label { display: grid; gap: 4px; color: var(--muted); font-size: 12px; }
input {
  background: #0d1119;
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 6px;
  padding: 8px 10px;
  font: inherit;
}
button {
  background: var(--accent);
  color: #fff;
  border: 0;
  border-radius: 6px;
  padding: 9px 14px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
button.ghost { background: transparent; color: var(--muted); border: 1px solid var(--line); padding: 5px 10px; }
button.ghost:hover { color: var(--text); }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-bottom: 16px; }
.tile { margin: 0; }
.tile-label { color: var(--muted); font-size: 12px; }
.tile-value { font-size: 26px; font-weight: 700; margin-top: 2px; }
h2 { margin: 0 0 10px; font-size: 14px; display: flex; justify-content: space-between; align-items: center; }
h2 input { max-width: 200px; font-weight: 400; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th { text-align: left; color: var(--muted); font-weight: 500; padding: 4px 8px; border-bottom: 1px solid var(--line); }
td { padding: 5px 8px; border-bottom: 1px solid #1a2130; }
tr:last-child td { border-bottom: 0; }
.status-ok { color: var(--ok); }
.status-warn { color: var(--warn); }
.status-err { color: var(--err); }
.error { color: var(--err); margin-top: 10px; }
.muted { color: var(--muted); }
footer { text-align: center; padding: 22px; font-size: 12px; }
