@font-face { font-family: "Outfit"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("fonts/outfit-latin-wght.woff2") format("woff2-variations"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("fonts/outfit-latin-ext-wght.woff2") format("woff2-variations"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
:root {
  --bg: #f8fafc; --card: #ffffff; --line: #e4e7ec; --text: #101828; --muted: #667085;
  --brand: #444ce7; --brand-soft: #eef4ff; --brand-text: #3538cd;
  --ok: #067647; --ok-soft: #ecfdf3; --warn: #b54708; --warn-soft: #fffaeb;
  --bad: #b42318; --bad-soft: #fef3f2; --gray-soft: #f2f4f7; --gray-text: #344054;
  --radius: 12px; --shadow: 0 1px 2px rgba(16, 24, 40, .05);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c111d; --card: #161b26; --line: #272d3c; --text: #f5f5f6; --muted: #94969c;
    --brand: #7a8cff; --brand-soft: #1b2250; --brand-text: #b3c0ff;
    --ok: #47cd89; --ok-soft: #0b2a1c; --warn: #fdb022; --warn-soft: #2e1f06;
    --bad: #f97066; --bad-soft: #330f0c; --gray-soft: #1f2433; --gray-text: #cecfd2;
    --shadow: none;
  }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 14px/20px "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif; }
a { color: var(--brand-text); font-weight: 600; text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; color: inherit; }
input { font-family: inherit; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: 28px; line-height: 36px; font-weight: 600; }
h2 { font-size: 18px; line-height: 28px; font-weight: 600; }
h3 { font-size: 14px; font-weight: 600; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

.topbar { background: var(--card); border-bottom: 1px solid var(--line); }
.topbar-in { max-width: 1280px; margin: 0 auto; padding: 14px 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 16px; color: var(--text); }
.logo:hover { text-decoration: none; }
.logo-mark { width: 32px; height: 32px; border-radius: 8px; background: var(--brand); display: grid; place-items: center; }
nav { display: flex; gap: 4px; flex: 1; }
nav a { padding: 8px 12px; border-radius: 8px; color: var(--muted); }
nav a[aria-current] { background: var(--gray-soft); color: var(--text); }
.checked { display: flex; flex-direction: column; align-items: flex-end; font-size: 12px; color: var(--muted); }
.checked b { font-size: 14px; font-weight: 500; color: var(--text); }

main { max-width: 1280px; margin: 0 auto; padding: 32px; display: flex; flex-direction: column; gap: 24px; }
.sub { color: var(--muted); font-size: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.card-head { padding: 18px 24px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 8px; }
.row { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-start; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.num { font-variant-numeric: tabular-nums; }

.btn { border: 1px solid var(--line); background: var(--card); border-radius: 8px; padding: 9px 14px; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.btn:hover { background: var(--gray-soft); }
.btn.primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn.primary:hover { filter: brightness(1.08); }
.btn[disabled] { opacity: .6; cursor: progress; }
.linkbtn { border: 0; background: none; padding: 0; color: var(--brand-text); font-weight: 600; cursor: pointer; }

.badge { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: 16px; font-size: 12px; line-height: 18px; font-weight: 500; background: var(--gray-soft); color: var(--gray-text); white-space: nowrap; }
.badge.ok { background: var(--ok-soft); color: var(--ok); }
.badge.warn { background: var(--warn-soft); color: var(--warn); }
.badge.bad { background: var(--bad-soft); color: var(--bad); }
.badge.brand { background: var(--brand-soft); color: var(--brand-text); }
.badge.lg { font-size: 14px; padding: 3px 12px; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

.kpis { display: flex; flex-wrap: wrap; gap: 16px; }
.kpi { flex: 1 1 220px; padding: 20px 24px; display: flex; flex-direction: column; gap: 8px; }
.kpi .v { font-size: 36px; line-height: 44px; font-weight: 600; }
.kpi .l { font-weight: 500; color: var(--muted); }

.attn { padding: 16px 24px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; border-top: 1px solid var(--line); }
.attn:first-of-type { border-top: 0; }
.attn .t { flex: 1 1 360px; display: flex; flex-direction: column; gap: 2px; }
.attn .t b { font-weight: 600; }
.ficon { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--gray-soft); color: var(--gray-text); }
.ficon.bad { background: var(--bad-soft); color: var(--bad); }
.ficon.warn { background: var(--warn-soft); color: var(--warn); }

.tile { width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--line); background: var(--gray-soft); color: var(--gray-text); display: inline-grid; place-items: center; font-size: 10px; font-weight: 700; flex: none; }
.tile.md { width: 36px; height: 36px; font-size: 11px; border-radius: 10px; }
.tile.xl { width: 56px; height: 56px; font-size: 14px; border-radius: 14px; }
.tile.live { background: var(--brand-soft); color: var(--brand-text); }
.tools-grid { display: flex; flex-wrap: wrap; gap: 12px; }
.tool-card { flex: 1 1 200px; max-width: 300px; padding: 16px; display: flex; flex-direction: column; gap: 12px; color: var(--text); font-weight: 400; }
.tool-card:hover { text-decoration: none; border-color: var(--brand); }
.tool-card .name { font-size: 15px; font-weight: 600; flex: 1; }
.tool-card .big { font-size: 24px; line-height: 32px; font-weight: 600; }

.cols { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.cols > .grow { flex: 999 1 640px; min-width: 0; }
.cols > .side { flex: 1 1 340px; min-width: 0; }
.toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; justify-content: space-between; }
input[type="search"] { font: inherit; padding: 9px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--card); color: var(--text); width: 300px; max-width: 100%; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { border: 1px solid var(--line); background: var(--card); border-radius: 8px; padding: 6px 12px; font-weight: 500; cursor: pointer; }
.tag[aria-pressed="true"] { background: var(--gray-soft); border-color: var(--muted); }
.tag span { color: var(--muted); margin-left: 6px; }

.tablewrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 640px; }
.tcap { padding: 18px 24px 4px; }
th { text-align: left; padding: 12px 24px; background: var(--bg); font-size: 12px; font-weight: 500; color: var(--muted); border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); }
td { padding: 14px 24px; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
.who { display: flex; align-items: center; gap: 12px; }
.who .n { display: flex; flex-direction: column; }
.who .n a { color: var(--text); }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--gray-soft); color: var(--gray-text); display: grid; place-items: center; font-weight: 600; flex: none; }
.avatar.xl { width: 72px; height: 72px; font-size: 22px; }
.icons { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat .big { font-size: 18px; line-height: 24px; font-weight: 600; }
.recent { color: var(--brand-text); font-weight: 600; font-size: 12px; }

.feed { list-style: none; margin: 0; padding: 8px 0; }
.feed li { padding: 12px 24px; display: flex; gap: 12px; }
.feed .meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; }

.back { align-self: flex-start; display: inline-flex; gap: 6px; align-items: center; }
.profile { padding: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.profile .info { flex: 1 1 280px; display: flex; flex-direction: column; gap: 6px; }
.profile .badges { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 4px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.bigtile { padding: 20px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; text-align: left; cursor: pointer; width: 100%; }
.bigtile:hover, .bigtile[aria-pressed="true"] { border-color: var(--brand); }
.bigtile .nm { font-size: 16px; font-weight: 600; }

.layout { max-width: 1280px; margin: 0 auto; padding: 32px; display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.rail { flex: 1 1 240px; max-width: 280px; padding: 8px; display: flex; flex-direction: column; gap: 2px; }
.rail h3 { padding: 8px 12px; font-size: 12px; color: var(--muted); }
.rail button { border: 0; background: none; width: 100%; text-align: left; display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 8px; cursor: pointer; font-weight: 500; }
.rail button:hover { background: var(--gray-soft); }
.rail button[aria-current] { background: var(--gray-soft); font-weight: 600; }
.rail .c { margin-left: auto; font-size: 12px; color: var(--muted); }
.layout > .content { flex: 999 1 640px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.tool-head { padding: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.tool-head .info { flex: 1 1 260px; display: flex; flex-direction: column; gap: 8px; }
.empty { padding: 48px 24px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.note { padding: 16px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); }
.note.bad { border-color: var(--bad); background: var(--bad-soft); }

.scrim { position: fixed; inset: 0; background: rgba(12, 17, 29, .4); }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(540px, 100%); background: var(--card); border-left: 1px solid var(--line); box-shadow: -12px 0 32px rgba(16, 24, 40, .12); display: flex; flex-direction: column; }
.drawer-head { padding: 24px; border-bottom: 1px solid var(--line); display: flex; gap: 16px; align-items: flex-start; }
.drawer-head .t { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 24px; display: flex; flex-direction: column; gap: 24px; }
.drawer-foot { padding: 16px 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; align-items: center; }
.x { border: 0; background: none; width: 40px; height: 40px; border-radius: 8px; cursor: pointer; display: grid; place-items: center; color: var(--muted); }
.x:hover { background: var(--gray-soft); }
dl { margin: 0; display: grid; grid-template-columns: 130px 1fr; gap: 12px 16px; }
dt { color: var(--muted); }
dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }
.group { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.group-h { padding: 10px 16px; background: var(--bg); display: flex; justify-content: space-between; gap: 8px; }
.item { padding: 12px 16px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.item .nm { font-weight: 500; overflow-wrap: anywhere; }
.hist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.hist li { display: flex; gap: 12px; }
.hist .d { width: 72px; flex: none; color: var(--muted); }

#toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); max-width: min(560px, 92vw); padding: 12px 16px; border-radius: 10px; background: var(--text); color: var(--bg); box-shadow: 0 8px 24px rgba(16, 24, 40, .25); display: none; }
#toast.show { display: block; }
#toast.bad { background: var(--bad); color: #fff; }
.skeleton { color: var(--muted); padding: 48px 0; text-align: center; }

/* keep short labels on one line */
.icons { flex-wrap: nowrap; white-space: nowrap; }
.stat .small, .stat .recent { white-space: nowrap; }
td:has(.stat) { white-space: nowrap; }
.tool-card .row { flex-wrap: wrap; }

/* brand logos sit on a white tile so dark marks (GitHub, Vercel, OpenAI) stay visible in dark mode */
.tile.logo { background: #fff; border-color: var(--line); padding: 4px; box-sizing: border-box; }
.tile.logo.md { padding: 6px; }
.tile.logo.xl { padding: 10px; }
.tile.logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.logo .brand { height: 28px; width: auto; display: block; }
.logo .product { font-weight: 500; color: var(--muted); padding-left: 12px; border-left: 1px solid var(--line); }
