:root {
  --accent: #FE6113;
  --bg: #101114;
  --surface: #18191d;
  --surface-raised: #202126;
  --line: rgba(255,255,255,.09);
  --text: #f6f4f1;
  --muted: #9c9ba1;
  --subtle: #676870;
  --success: #62d69a;
  --radius: 16px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
:root[data-theme="light"] {
  --bg: #f7f6f3;
  --surface: #ffffff;
  --surface-raised: #f0eeea;
  --line: rgba(30,28,24,.11);
  --text: #1d1d20;
  --muted: #68676d;
  --subtle: #8c8a8d;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--bg); color: var(--text); }
body { min-height: 100vh; }
button, a { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
.boot { min-height: 100vh; display: grid; place-items: center; color: var(--muted); font-size: 14px; }
.shell { min-height: 100vh; display: grid; grid-template-columns: 236px minmax(0, 1fr); }
.sidebar { display: flex; flex-direction: column; padding: 24px 14px 18px; border-right: 1px solid var(--line); background: var(--surface); }
.brand { display: flex; align-items: center; gap: 11px; padding: 0 9px 30px; text-decoration: none; }
.brand img { width: 34px; height: 34px; object-fit: contain; }
.brand-copy strong { display: block; font-size: 14px; letter-spacing: -.02em; }
.brand-copy span { display: block; margin-top: 2px; color: var(--subtle); font-size: 11px; }
.nav { display: grid; gap: 5px; }
.nav a { display: flex; align-items: center; gap: 10px; padding: 10px 11px; border-radius: 9px; color: var(--muted); text-decoration: none; font-size: 13px; }
.nav a:hover { background: var(--surface-raised); color: var(--text); }
.nav a.active { background: color-mix(in srgb, var(--accent) 11%, var(--surface-raised)); color: var(--text); box-shadow: inset 2px 0 var(--accent); }
.nav-mark { color: var(--accent); font-size: 15px; width: 16px; text-align: center; }
.sidebar-bottom { margin-top: auto; padding: 18px 9px 2px; border-top: 1px solid var(--line); }
.identity-label { color: var(--subtle); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.identity-value { margin-top: 6px; font-size: 12px; color: var(--muted); }
.main { min-width: 0; }
.topbar { height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 34px; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 90%, transparent); }
.crumb { color: var(--muted); font-size: 13px; }
.theme-toggle { border: 1px solid var(--line); border-radius: 9px; background: var(--surface); color: var(--muted); padding: 8px 10px; font-size: 12px; }
.theme-toggle:hover { color: var(--text); border-color: color-mix(in srgb, var(--accent) 42%, var(--line)); }
.page { width: min(1060px, calc(100% - 56px)); margin: 0 auto; padding: 52px 0 76px; }
.eyebrow { color: var(--accent); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .13em; }
h1 { margin: 10px 0 0; font-size: clamp(30px, 4vw, 42px); letter-spacing: -.05em; line-height: 1.05; }
.lead { max-width: 660px; margin: 14px 0 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.hero { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; margin-bottom: 34px; }
.status { flex: none; display: inline-flex; align-items: center; gap: 7px; padding: 8px 11px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--muted); font-size: 12px; white-space: nowrap; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 12px color-mix(in srgb, var(--success) 55%, transparent); }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.card { padding: 19px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.card h2 { margin: 0; font-size: 13px; letter-spacing: -.015em; }
.card p { margin: 9px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.metric { margin-top: 22px; font-size: 25px; font-weight: 750; letter-spacing: -.05em; }
.workspace-card { margin-top: 14px; padding: 30px; border: 1px dashed color-mix(in srgb, var(--accent) 28%, var(--line)); border-radius: var(--radius); background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 5%, var(--surface)), var(--surface)); }
.workspace-card strong { display: block; font-size: 15px; }
.workspace-card p { max-width: 590px; margin: 8px 0 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.model-list { margin-top: 24px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.model-row { display: grid; grid-template-columns: 180px 1fr; gap: 24px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.model-row:last-child { border-bottom: 0; }
.model-name { font-size: 13px; font-weight: 700; }
.model-detail { color: var(--muted); font-size: 13px; line-height: 1.55; }
.model-fields { display: block; margin-top: 5px; color: var(--subtle); font-size: 12px; }
.attribution { position: fixed; right: 18px; bottom: 16px; opacity: .82; }
.attribution:hover { opacity: 1; }
.attribution img { display: block; width: 108px; height: auto; }
@media (max-width: 760px) {
  .shell { grid-template-columns: 64px minmax(0, 1fr); }
  .sidebar { padding: 18px 9px; }
  .brand { justify-content: center; padding: 0 0 28px; }
  .brand-copy, .nav-label, .sidebar-bottom { display: none; }
  .nav a { justify-content: center; padding: 11px 4px; }
  .topbar { padding: 0 20px; }
  .page { width: min(100% - 34px, 1060px); padding-top: 36px; }
  .hero { display: block; }
  .status { margin-top: 18px; }
  .grid { grid-template-columns: 1fr; }
  .model-row { grid-template-columns: 1fr; gap: 6px; }
}
