:root {
  --navy: #14213d; --sable: #cf8a34; --cream: #fdf6ec;
  --bg: #f7f5f1; --card: #ffffff; --text: #1f2328; --muted: #59636e; --line: #e4e0d8;
  --heading: var(--navy); --link: #a8661e;
  --b-pending: #6e7781; --b-ready: #2f6fd1; --b-verifying: #b7791f; --b-merging: #8250df;
  --b-committable: #1a7f37; --b-landed: #1a7f37; --b-returned: #cf222e; --b-closed: #6e7781;
  --shadow: 0 1px 2px rgba(20,33,61,.06), 0 6px 18px rgba(20,33,61,.06);
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0e1424; --card: #161f35; --text: #e6e3dc; --muted: #a3a9b6; --line: #26304a;
    --heading: #f6efe3; --link: #e3a65a; --shadow: 0 1px 2px rgba(0,0,0,.3), 0 6px 18px rgba(0,0,0,.3); }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--link); text-decoration: none; } a:hover { text-decoration: underline; }
code { font: 13px ui-monospace, "SF Mono", Menlo, monospace; }
.top { background: var(--navy); color: var(--cream); }
.top .in { max-width: 1180px; margin: 0 auto; padding: 0 24px; height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 750; font-size: 18px; }
.brand:hover { text-decoration: none; }
.brand img { width: 30px; height: 30px; }
.brand span { font-weight: 500; color: #c9c3b8; font-size: 14px; }
.who { display: flex; align-items: center; gap: 14px; font-size: 14px; color: #c9c3b8; }
.who button { font: inherit; color: var(--cream); background: transparent; border: 1px solid #3a4766; border-radius: 8px; padding: 5px 12px; cursor: pointer; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 28px 24px 64px; }
@media (max-width: 600px) { .wrap, .top .in { padding-left: 16px; padding-right: 16px; } }
h1 { font-size: 26px; letter-spacing: -.02em; color: var(--heading); margin: 6px 0 4px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
h2 { font-size: 17px; color: var(--heading); margin: 34px 0 12px; display: flex; align-items: baseline; gap: 10px; }
h2 small { font-size: 13px; font-weight: 500; color: var(--muted); }
.sub { color: var(--muted); margin: 0 0 22px; }
.crumbs { font-size: 14px; color: var(--muted); }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 760px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; box-shadow: var(--shadow); }
.tile b { display: block; font-size: 28px; letter-spacing: -.02em; color: var(--heading); line-height: 1.1; }
.tile span { font-size: 13px; color: var(--muted); }
.repos { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 16px; }
.repo { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; box-shadow: var(--shadow); color: var(--text); display: block; transition: transform .12s ease; }
.repo:hover { text-decoration: none; transform: translateY(-2px); }
.repo .name { font-weight: 650; font-size: 16px; color: var(--heading); display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.repo .nums { display: flex; gap: 18px; margin-top: 12px; font-size: 13px; color: var(--muted); }
.repo .nums b { color: var(--text); font-size: 16px; margin-right: 3px; }
.repo .last { font-size: 13px; color: var(--muted); margin-top: 8px; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 2px 9px; border-radius: 999px; border: 1px solid currentColor; white-space: nowrap; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.mode-merge { color: var(--b-landed); } .mode-shadow { color: var(--b-merging); } .engine { color: var(--sable); }
.st-pending { color: var(--b-pending); } .st-ready { color: var(--b-ready); } .st-verifying { color: var(--b-verifying); }
.st-merging { color: var(--b-merging); } .st-committable { color: var(--b-committable); } .st-landed { color: var(--b-landed); }
.st-returned { color: var(--b-returned); } .st-closed { color: var(--b-closed); }
.table { background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 14px; }
th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 600; padding: 10px 16px; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 60%, var(--card)); }
td { padding: 11px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
td.pr { white-space: nowrap; font-weight: 600; }
td .title { color: var(--text); }
td.muted, .muted { color: var(--muted); }
td.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.empty { padding: 22px 16px; color: var(--muted); text-align: center; }
.signin { max-width: 440px; margin: 10vh auto; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 36px; text-align: center; box-shadow: var(--shadow); }
.signin img { width: 64px; }
.signin h1 { justify-content: center; }
.btn { display: inline-block; margin-top: 18px; background: var(--sable); color: #fff; font-weight: 650; padding: 11px 20px; border-radius: 10px; }
.btn:hover { text-decoration: none; filter: brightness(1.05); }
