/* Application Atlas portal: the website's and the presentations' look - white background, ink text, Neptune indigo as
   the one accent, red for failures, green for passed (marketing/partner-program/deck, marketing/.../slides/style.css) */
:root {
  --ink: #14172e; --muted: #4a5068; --line: #e1e2ef; --soft: #f5f5fa;
  --accent: #4b52c4; --accent-ink: #3a40a8; --accent-soft: #eef0ff;
  --red: #E5484D; --red-soft: #FDECEC; --green: #1F9D55; --green-soft: #E6F6EC; --amber: #D97706; --amber-soft: #FDF3E1;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: #fff; color: var(--ink); }
body { font: 15px/1.5 'DM Sans', 'Segoe UI', system-ui, sans-serif; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-ink); text-decoration: underline; }
code, .mono { font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace; font-size: 13px; }

header.top { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 2; }
header.top .bar { max-width: 1160px; margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; font-size: 18px; }
.brand:hover { text-decoration: none; color: var(--ink); }
.brand svg { width: 28px; height: 28px; }
.brand small { font-weight: 500; color: var(--muted); font-size: 13px; }
nav.main { display: flex; gap: 20px; flex: 1; }
nav.main a { color: var(--muted); font-weight: 500; padding: 4px 0; border-bottom: 2px solid transparent; }
nav.main a.on, nav.main a:hover { color: var(--ink); text-decoration: none; border-bottom-color: var(--accent); }
.who { color: var(--muted); font-size: 13px; display: flex; gap: 12px; align-items: center; }

main { max-width: 1160px; margin: 0 auto; padding: 32px 24px 64px; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); margin: 0 0 6px; }
h1 { font-size: 30px; line-height: 1.2; margin: 0 0 8px; }
h2 { font-size: 20px; margin: 32px 0 12px; }
p.lead { color: var(--muted); margin: 0 0 24px; max-width: 760px; }

.card { border: 1px solid var(--line); border-radius: 12px; padding: 20px 22px; background: #fff; }
.card.soft { background: var(--soft); border-color: transparent; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.stat b { display: block; font-size: 26px; }
.stat span { color: var(--muted); font-size: 13px; }

table { width: 100%; border-collapse: collapse; }
th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); font-weight: 600; padding: 8px 10px; border-bottom: 1px solid var(--line); }
td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
td .sub { color: var(--muted); font-size: 13px; }

.pill { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--soft); color: var(--muted); white-space: nowrap; }
.pill.succeeded, .pill.active { background: var(--green-soft); color: var(--green); }
.pill.failed, .pill.revoked { background: var(--red-soft); color: var(--red); }
.pill.running, .pill.queued { background: var(--accent-soft); color: var(--accent); }
.pill.behind { background: var(--amber-soft); color: var(--amber); }

.btn { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--accent); background: var(--accent); color: #fff; font: inherit; font-weight: 600;
  padding: 9px 18px; border-radius: 8px; cursor: pointer; }
.btn:hover { background: var(--accent-ink); color: #fff; text-decoration: none; }
.btn.ghost { background: #fff; color: var(--accent); }
.btn.ghost:hover { background: var(--accent-soft); }
.btn.small { padding: 5px 12px; font-size: 13px; }
.actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 16px 0; }

form.stack { display: grid; gap: 16px; max-width: 720px; }
label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; }
label .hint { font-weight: 400; color: var(--muted); font-size: 13px; }
input[type=text], input[type=time], select, textarea { font: inherit; padding: 9px 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent-soft); border-color: var(--accent); }
fieldset { border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; margin: 0; display: grid; gap: 12px; }
legend { font-weight: 700; padding: 0 6px; }
.choice { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.choice input { margin-top: 4px; }
.days { display: flex; gap: 8px; flex-wrap: wrap; }
.days label { display: flex; gap: 6px; align-items: center; font-weight: 500; border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; }
.check-list { display: grid; gap: 6px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.check-list label { display: flex; gap: 8px; align-items: center; font-weight: 500; }

.notice { border-radius: 10px; padding: 12px 16px; margin: 0 0 20px; background: var(--accent-soft); color: var(--ink); }
.notice.error { background: var(--red-soft); }
.notice.ok { background: var(--green-soft); }
.notice.warn { background: var(--amber-soft); }
pre.log { background: var(--soft); border-radius: 10px; padding: 14px; overflow: auto; max-height: 420px; font-size: 12px; white-space: pre-wrap; }
.key { font-family: ui-monospace, Consolas, monospace; background: var(--soft); padding: 10px 14px; border-radius: 8px; word-break: break-all; }
.empty { text-align: center; padding: 48px 24px; }
.empty p { color: var(--muted); }

.signin { max-width: 440px; margin: 12vh auto; text-align: center; }
.signin svg { width: 64px; height: 64px; }
footer { color: var(--muted); font-size: 13px; text-align: center; padding: 24px; border-top: 1px solid var(--line); }

@media (max-width: 720px) {
  header.top .bar { flex-wrap: wrap; gap: 12px; padding: 12px 16px; }
  nav.main { order: 3; width: 100%; overflow-x: auto; }
  main { padding: 24px 16px 48px; }
  table.wide thead { display: none; }
  table.wide td { display: block; border: 0; padding: 4px 0; }
  table.wide tr { display: block; border-bottom: 1px solid var(--line); padding: 10px 0; }
}
