/* Deploy dashboard: same tokens, type and header as the jasonkeller.dev landing site (imuni4fun/jasonkeller-dev css/styles.css). */
:root {
  --bg: #f6f4f0;
  --bg-elevated: #ffffff;
  --ink: #14171c;
  --ink-muted: #4a525c;
  --ink-faint: #7a8490;
  --line: #e2ddd4;
  --accent: #0d6e6e;
  --accent-hover: #0a5757;
  --accent-soft: #e6f3f3;
  --warm: #c45c26;
  --hero-bg: #12151a;
  --hero-ink: #f3f0ea;
  --hero-muted: #a8b0ba;
  --radius: 12px;
  --shadow: 0 12px 40px rgba(20, 23, 28, 0.08);
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --max: 1320px;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.55; font-size: 1rem; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 0.5em; }
h1 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); font-weight: 700; }
p { margin: 0 0 1em; color: var(--ink-muted); }
.lead { font-size: 1.15rem; color: var(--ink-muted); max-width: 40rem; }
.container { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
.muted { color: var(--ink-faint); }
.small { font-size: 0.9rem; }
.mono { font-family: var(--mono); font-size: 0.88rem; }
.nowrap { white-space: nowrap; }

/* Header (as landing) */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(246, 244, 240, 0.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.9rem 0; }
.logo { font-weight: 750; letter-spacing: -0.03em; color: var(--ink); text-decoration: none; font-size: 1.05rem; white-space: nowrap; }
.logo-mark { display: inline-block; height: 28px; width: auto; margin: -6px 0.5rem -6px 0; vertical-align: middle; position: relative; top: -2px; opacity: 0.85; }
.logo span { color: var(--accent); }
.nav-form { display: flex; align-items: center; gap: 1rem; margin: 0; }
.nav-label { color: var(--ink-muted); font-size: 0.95rem; font-weight: 500; }

/* Buttons (as landing) */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem; padding: 0.8rem 1.25rem; border-radius: 999px; font-weight: 650; font-size: 1rem; text-decoration: none; border: none; cursor: pointer; font-family: inherit; transition: background 0.15s ease, transform 0.15s ease; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.btn-outline { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-outline:hover { border-color: var(--ink-faint); background: var(--bg-elevated); color: var(--ink); }
.btn-sm { padding: 0.45rem 0.95rem; font-size: 0.92rem; }
:focus-visible { outline: 3px solid #7dcdc8; outline-offset: 2px; }

/* Login (hero styling from landing) */
.hero { background: var(--hero-bg); color: var(--hero-ink); padding: clamp(3.5rem, 8vw, 6rem) 0; position: relative; overflow: hidden; }
.login-hero { min-height: calc(100vh - 140px); display: flex; align-items: center; }
.login-card { max-width: 28rem; }
.eyebrow { display: inline-block; font-size: 0.8rem; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; color: #7dcdc8; margin-bottom: 1rem; }
.hero h1 { color: var(--hero-ink); }
.hero .lead { color: var(--hero-muted); }
.login-form { display: grid; gap: 0.6rem; margin-top: 1.5rem; }
.login-form label { color: var(--hero-muted); font-size: 0.9rem; font-weight: 600; }
.login-form input { padding: 0.75rem 0.9rem; border-radius: 10px; border: 1px solid rgba(243, 240, 234, 0.25); background: rgba(255,255,255,0.06); color: var(--hero-ink); font-size: 1rem; font-family: inherit; }
.login-form .btn { justify-self: start; margin-top: 0.5rem; }
.alert { background: #fdf0e8; color: #8a3b12; border: 1px solid #f0c9b0; padding: 0.6rem 0.9rem; border-radius: 10px; }
.hero .alert { background: rgba(196, 92, 38, 0.15); color: #f7c9ab; border-color: rgba(196, 92, 38, 0.45); }

/* Dashboard */
.page-head { padding: 2rem 0 1rem; }
.kicker { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.5rem; }
.card { background: var(--bg-elevated); border: 1px solid var(--line); border-radius: 16px; padding: 1.25rem; }
.filters { display: flex; flex-wrap: wrap; gap: 0.8rem 1rem; align-items: flex-end; margin-bottom: 1.25rem; }
.filters label { display: grid; gap: 0.25rem; font-size: 0.82rem; font-weight: 600; color: var(--ink-muted); }
.filters label.check { display: flex; align-items: center; gap: 0.45rem; font-size: 0.95rem; color: var(--ink); padding-bottom: 0.45rem; }
.filters select, .filters input[type=date] { font: inherit; font-size: 0.92rem; padding: 0.4rem 0.55rem; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--ink); max-width: 16rem; }
.filter-actions { display: flex; gap: 0.5rem; }
.table-wrap { overflow-x: auto; background: var(--bg-elevated); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
table.builds { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.builds th, .builds td { text-align: left; padding: 0.65rem 0.8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.builds th { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-faint); background: #faf8f5; position: sticky; top: 0; }
.builds tr:last-child td { border-bottom: none; }
.builds tbody tr:hover { background: var(--accent-soft); }
.sort { color: inherit; text-decoration: none; }
.sort.active { color: var(--accent); }
.badge { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; padding: 0.15rem 0.55rem; border-radius: 999px; }
.badge-ok { background: var(--accent-soft); color: var(--accent); }
.badge-run { background: #eef1f6; color: #3c5a8a; }
.badge-bad { background: #fbe9e0; color: #9c4019; }
.dep + .dep { margin-top: 0.5rem; padding-top: 0.5rem; border-top: 1px dashed var(--line); }
.dep-svc { font-weight: 600; }
.dep-rev { font-family: var(--mono); font-size: 0.78rem; }
.empty { text-align: center; color: var(--ink-faint); padding: 2rem; }
.pager { display: flex; align-items: center; justify-content: center; gap: 1rem; margin: 1.25rem 0; color: var(--ink-muted); }
.site-footer { border-top: 1px solid var(--line); padding: 1.5rem 0 2rem; color: var(--ink-faint); font-size: 0.88rem; margin-top: 2rem; }
