:root {
  --ink: #f7f5ef;
  --ink-soft: #aaa9a4;
  --canvas: #0a0b0d;
  --panel: #121418;
  --panel-raised: #191c21;
  --line: #292c31;
  --line-strong: #3a3e45;
  --acid: #d7ff3f;
  --acid-dark: #a5cf00;
  --ember: #ff5f55;
  --amber: #ffc857;
  --blue: #7ea8ff;
  --sidebar-width: 248px;
  --radius: 14px;
}

* { box-sizing: border-box; }

html { background: var(--canvas); }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 80% -20%, rgba(215, 255, 63, .08), transparent 32rem),
    var(--canvas);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
}

a { color: inherit; }
a:hover { color: var(--acid); }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 2000;
  padding: .7rem 1rem;
  color: #090a0b;
  background: var(--acid);
  border-radius: 6px;
}
.skip-link:focus { top: 1rem; }

:focus-visible {
  outline: 3px solid var(--acid);
  outline-offset: 2px;
}

.app-shell { min-height: 100vh; display: flex; }

.sidebar {
  position: fixed;
  z-index: 100;
  inset: 0 auto 0 0;
  width: var(--sidebar-width);
  display: flex;
  flex-direction: column;
  padding: 18px 14px;
  background: rgba(13, 14, 17, .97);
  border-right: 1px solid var(--line);
  overflow-y: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 5px 22px;
  color: var(--ink);
  text-decoration: none;
}
.brand:hover { color: var(--ink); }
.brand strong, .brand small { display: block; }
.brand strong { font-size: .96rem; letter-spacing: -.01em; }
.brand small { color: var(--ink-soft); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }
.brand-mark {
  display: block;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(255, 151, 0, .18));
}

.sidebar-nav { display: flex; flex-direction: column; gap: 3px; }
.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 38px;
  padding: 8px 11px;
  color: #b9bab7;
  border-radius: 8px;
  text-decoration: none;
  font-size: .86rem;
  transition: color .15s ease, background .15s ease;
}
.sidebar-nav a:hover,
.sidebar-nav a.active { color: var(--ink); background: #202329; }
.sidebar-nav a.active { box-shadow: inset 3px 0 var(--acid); }
.nav-label {
  margin: 18px 11px 5px;
  color: #62656a;
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.nav-dot { width: 6px; height: 6px; border: 1px solid #777a7f; border-radius: 50%; }
.sidebar-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding: 18px 11px 4px;
  color: #74767a;
  border-top: 1px solid var(--line);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .07em;
}
.environment-dot { width: 7px; height: 7px; background: var(--acid); border-radius: 50%; box-shadow: 0 0 9px var(--acid); }

.app-main { width: calc(100% - var(--sidebar-width)); margin-left: var(--sidebar-width); }
.topbar {
  position: sticky;
  z-index: 90;
  top: 0;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 clamp(18px, 3vw, 42px);
  background: rgba(10, 11, 13, .88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.top-search {
  width: min(480px, 50vw);
  height: 38px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 11px;
  background: #15171b;
  border: 1px solid #292c32;
  border-radius: 8px;
}
.top-search input { width: 100%; color: var(--ink); background: transparent; border: 0; outline: 0; font-size: .84rem; }
.top-search kbd { color: #85878b; background: #24272c; border: 1px solid #363a40; font-size: .65rem; }
.user-menu { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.avatar { display: grid; place-items: center; width: 32px; height: 32px; color: #0a0b0c; background: #ece8da; border-radius: 50%; font-weight: 800; }
.user-copy strong, .user-copy small { display: block; }
.user-copy strong { font-size: .78rem; }
.user-copy small { color: var(--ink-soft); font-size: .68rem; }
.btn-quiet { color: #888a8f; background: transparent; border: 0; font-size: .74rem; }
.btn-quiet:hover { color: var(--ink); }
.mobile-menu { display: none; color: var(--ink); background: transparent; border: 1px solid var(--line-strong); border-radius: 7px; }

.content-canvas { width: 100%; max-width: 1580px; min-height: calc(100vh - 68px); margin: 0 auto; padding: clamp(24px, 4vw, 54px); }
.message-stack { position: fixed; z-index: 200; top: 82px; right: 24px; width: min(420px, calc(100vw - 48px)); }

.page-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}
.page-header h1 { max-width: 860px; margin: 2px 0 6px; font-size: clamp(2rem, 3vw, 3rem); font-weight: 760; letter-spacing: -.045em; line-height: 1; }
.page-header p:not(.eyebrow) { max-width: 760px; margin: 0; color: var(--ink-soft); }
.item-detail-heading { display: flex; align-items: center; gap: 18px; }
.item-detail-icon { flex: 0 0 auto; display: grid; place-items: center; width: 88px; height: 88px; overflow: hidden; color: #74777b; background: #0b0d10; border: 1px solid var(--line); border-radius: 10px; }
.item-detail-icon img { display: block; width: 100%; height: 100%; object-fit: contain; }
.item-detail-icon span { font-size: 1.5rem; }
.eyebrow { margin: 0 0 8px; color: var(--acid); font-size: .67rem; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.back-link { display: inline-block; margin-bottom: 18px; color: #929499; text-decoration: none; font-size: .8rem; }
.header-actions, .hero-actions, .form-actions { display: flex; align-items: center; gap: 10px; }
.mono, code { font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; }
.muted { color: var(--ink-soft); }

.btn {
  --bs-btn-border-radius: 7px;
  --bs-btn-padding-y: .58rem;
  --bs-btn-padding-x: .95rem;
  font-size: .8rem;
  font-weight: 700;
}
.btn-accent {
  color: #090a0a;
  background: var(--acid);
  border-color: var(--acid);
}
.btn-accent:hover, .btn-accent:focus { color: #090a0a; background: #e2ff75; border-color: #e2ff75; }
.btn-outline-light { --bs-btn-color: #d1d2cf; --bs-btn-border-color: #42464d; --bs-btn-hover-color: #fff; --bs-btn-hover-bg: #25282d; --bs-btn-hover-border-color: #575b63; }

.panel {
  background: linear-gradient(145deg, rgba(25, 28, 33, .9), rgba(15, 17, 20, .96));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 22px 60px rgba(0, 0, 0, .16);
}
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.panel-heading h2 { margin: 0; font-size: 1.08rem; }
.panel-heading .eyebrow { margin-bottom: 4px; }
.panel-heading > a { color: #a9abae; font-size: .76rem; text-decoration: none; }
.panel-heading > a.btn-accent { color: #090a0a; }
.embedded-section, .lootbox-relations { margin-top: 16px; }
.status-active { color: var(--acid); border-color: rgba(215, 255, 63, .3); }

.dashboard-hero {
  position: relative;
  min-height: clamp(390px, 40vw, 560px);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  padding: clamp(26px, 4vw, 48px);
  overflow: hidden;
  background: var(--panel);
  border: 1px solid #34383c;
  border-radius: 20px;
}
.dashboard-hero::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5, 6, 8, .02) 30%, rgba(5, 6, 8, .62) 70%, rgba(5, 6, 8, .96) 100%),
    linear-gradient(90deg, rgba(5, 6, 8, .46), transparent 58%);
}
.dashboard-hero::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  opacity: .1;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(90deg, transparent 20%, #000);
}
.dashboard-hero-cover { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.dashboard-hero > div:not(.hero-orbit) { position: relative; z-index: 2; }
.dashboard-hero-copy { max-width: 720px; text-shadow: 0 2px 24px rgba(0, 0, 0, .9); }
.dashboard-hero h1 { max-width: 720px; margin: 4px 0 12px; font-size: clamp(2rem, 4vw, 3.35rem); letter-spacing: -.06em; line-height: .98; }
.dashboard-hero p:not(.eyebrow) { margin: 0; color: #d3d2cc; }
.hero-orbit { position: absolute; z-index: 1; right: 11%; top: -140px; width: 360px; height: 360px; border: 1px solid rgba(215, 255, 63, .25); border-radius: 50%; }
.hero-orbit::before, .hero-orbit::after { content: ""; position: absolute; border: 1px solid rgba(215, 255, 63, .13); border-radius: 50%; }
.hero-orbit::before { inset: 48px; }
.hero-orbit::after { inset: 102px; background: rgba(215, 255, 63, .05); }
.hero-orbit span { position: absolute; left: 18%; bottom: 7%; width: 10px; height: 10px; background: var(--acid); border-radius: 50%; box-shadow: 0 0 28px var(--acid); }

.detail-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(280px, .85fr); gap: 16px; }
.issue-list { padding: 6px 0; }
.issue-row { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto auto; align-items: center; gap: 12px; min-height: 66px; padding: 11px 22px; border-bottom: 1px solid rgba(51,54,60,.7); }
.issue-row:last-child { border-bottom: 0; }
.issue-row strong, .issue-row small { display: block; }
.issue-row strong { font-size: .82rem; font-weight: 600; }
.issue-row small { margin-top: 3px; color: #777a7f; font-size: .7rem; }
.issue-row code { color: #76797e; font-size: .64rem; }
.severity { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 7px; font-size: .7rem; font-weight: 900; }
.severity-error { color: var(--ember); background: rgba(255,95,85,.12); }
.severity-warning { color: var(--amber); background: rgba(255,200,87,.12); }
.severity-info { color: var(--blue); background: rgba(126,168,255,.12); }
.dashboard-section { margin-top: 34px; }
.dashboard-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 14px; }
.dashboard-section-heading h2 { margin: 0; font-size: 1.35rem; letter-spacing: -.025em; }
.dashboard-section-heading .eyebrow { margin-bottom: 3px; }
.dashboard-section-heading > p { max-width: 460px; margin: 0; color: var(--ink-soft); font-size: .8rem; text-align: right; }
.dashboard-section-heading > a { color: #a9abae; font-size: .76rem; text-decoration: none; }
.dashboard-artifact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.dashboard-artifact-card { position: relative; min-height: 220px; padding: 24px; overflow: hidden; color: var(--ink); background: linear-gradient(145deg, rgba(215,255,63,.1), rgba(18,20,24,.98) 66%); border: 1px solid rgba(215,255,63,.35); border-radius: 13px; text-decoration: none; transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease; }
.dashboard-artifact-card::after { content: ""; position: absolute; right: -34px; bottom: -56px; width: 150px; height: 150px; border: 1px solid rgba(215,255,63,.12); border-radius: 50%; }
.dashboard-artifact-card:hover { color: var(--ink); transform: translateY(-2px); border-color: var(--acid); box-shadow: 0 12px 34px rgba(215,255,63,.08); }
.dashboard-artifact-card code { color: var(--acid); font-size: .72rem; }
.dashboard-artifact-card h3 { margin: 30px 0 8px; font-size: 1.2rem; letter-spacing: -.025em; }
.dashboard-artifact-card p { max-width: 310px; margin: 0; color: var(--ink-soft); font-size: .8rem; line-height: 1.55; }
.dashboard-artifact-card > span { position: absolute; left: 24px; bottom: 22px; color: #bfc1bd; font-size: .72rem; font-weight: 700; }
.metric-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.metric-card { padding: 20px; color: var(--ink); background: #111317; border: 1px solid var(--line); border-radius: 11px; text-decoration: none; transition: transform .15s ease, border-color .15s ease; }
.metric-card:hover { color: var(--ink); transform: translateY(-2px); border-color: var(--line-strong); }
.metric-card small, .metric-card strong, .metric-card span { display: block; }
.metric-card small { color: #85878b; font-size: .69rem; text-transform: uppercase; letter-spacing: .08em; }
.metric-card strong { margin: 10px 0 2px; font-size: 2rem; letter-spacing: -.05em; }
.metric-card span { color: #63666b; font-size: .68rem; }

.artifact-filter-toolbar { display: flex; gap: 8px; margin-bottom: 28px; overflow-x: auto; }
.artifact-filter-toolbar .filter-chip { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 9px; padding: 9px 12px; color: #96999d; background: #14161a; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; font-family: "SFMono-Regular", Consolas, monospace; font-size: .7rem; cursor: pointer; }
.artifact-filter-toolbar .filter-chip:hover { color: var(--ink); border-color: var(--line-strong); }
.artifact-filter-toolbar .filter-chip.active { color: #090a0a; background: var(--acid); border-color: var(--acid); font-weight: 800; }
.artifact-filter-toolbar .filter-chip span { min-width: 20px; padding: 2px 5px; color: #aeb1b5; background: #24272c; border-radius: 999px; text-align: center; font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: .6rem; }
.artifact-filter-toolbar .filter-chip.active span { color: #090a0a; background: rgba(9,10,10,.15); }
.object-card-section + .object-card-section { margin-top: 38px; padding-top: 30px; border-top: 1px solid var(--line); }
.object-card-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 14px; }
.object-card-section-heading h2 { margin: 0; font-size: 1.35rem; letter-spacing: -.025em; }
.object-card-section-heading .eyebrow { margin-bottom: 3px; }
.object-card-section-heading > span { color: #777b80; font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; }
.content-card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 13px; }
.content-section-settings { margin-bottom: 24px; }
.content-section-settings form { padding: 20px 24px 24px; }
.content-section-settings form > p { max-width: 760px; margin: 0 0 16px; color: var(--ink-soft); font-size: .84rem; }
.content-section-options { display: flex; flex-wrap: wrap; gap: 10px 20px; margin: 0 0 20px; }
.content-section-options .form-check { min-width: 122px; }
.content-card { position: relative; min-height: 218px; padding: 22px; color: var(--ink); background: var(--panel); border: 1px solid var(--line); border-radius: 13px; text-decoration: none; transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease; }
.content-card.is-included { background: linear-gradient(145deg, rgba(215,255,63,.13), rgba(18,20,24,.98) 64%); border-color: rgba(215,255,63,.58); box-shadow: inset 0 3px rgba(215,255,63,.72); }
.content-card.is-excluded { background: linear-gradient(145deg, rgba(255,255,255,.025), #131519 68%); border-color: #34383e; box-shadow: inset 0 3px #484d54; }
.content-card:hover { color: var(--ink); transform: translateY(-2px); }
.content-card.is-included:hover { border-color: var(--acid); box-shadow: inset 0 3px var(--acid), 0 10px 30px rgba(215,255,63,.08); }
.content-card.is-excluded:hover { border-color: #656b74; box-shadow: inset 0 3px #737982, 0 10px 30px rgba(0,0,0,.18); }
.search-result-list { display: grid; padding: 8px 24px 24px; }
.search-result-list a { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 0; color: var(--ink); border-bottom: 1px solid var(--line); text-decoration: none; }
.search-result-list a:hover strong { color: var(--acid); }
.search-result-list strong { font-size: .8rem; }
.search-result-list span { color: #74777b; font-size: .67rem; }
.content-card-topline { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.content-card-status { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; color: var(--acid); font-size: .61rem; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; }
.content-card-status i { width: 7px; height: 7px; background: currentColor; border-radius: 50%; box-shadow: 0 0 8px rgba(215,255,63,.35); }
.content-card.is-excluded .content-card-status,
.content-card.is-excluded .content-card-count { color: #898e96; }
.content-card.is-excluded .content-card-status i { box-shadow: none; }
.content-card-count { color: var(--acid); font-family: "SFMono-Regular", monospace; font-size: 1.7rem; font-weight: 800; }
.content-card-artifacts { min-height: 25px; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 15px; }
.content-card-artifacts span { padding: 4px 7px; color: #8d9299; background: #1d2025; border: 1px solid #343940; border-radius: 5px; font-family: "SFMono-Regular", Consolas, monospace; font-size: .61rem; }
.content-card-artifacts span.is-active { color: #dffb75; background: rgba(215,255,63,.07); border-color: rgba(215,255,63,.28); }
.content-card-artifacts span.is-cms-only { color: #8d9299; border-style: dashed; }
.content-card h3 { margin: 18px 0 5px; font-size: 1.05rem; }
.content-card p { margin: 0; color: #73767b; font-size: .76rem; }
.object-filter-empty { margin-bottom: 24px; background: #121418; border: 1px solid var(--line); border-radius: var(--radius); }
.link-arrow { position: absolute; right: 21px; bottom: 20px; }

.graph-page-header { align-items: center; }
.graph-summary { display: grid; grid-template-columns: repeat(2, minmax(110px, 1fr)); min-width: min(100%, 310px); overflow: hidden; background: #111317; border: 1px solid var(--line); border-radius: 10px; }
.graph-summary span { display: flex; align-items: baseline; gap: 6px; padding: 11px 14px; color: #7d8084; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: .66rem; text-transform: uppercase; letter-spacing: .05em; }
.graph-summary span:nth-child(2n) { border-right: 0; }
.graph-summary span:nth-last-child(-n + 2) { border-bottom: 0; }
.graph-summary strong { color: var(--ink); font-family: "SFMono-Regular", Consolas, monospace; font-size: 1rem; }
.graph-summary .graph-summary-included strong { color: var(--acid); }
.graph-summary .graph-summary-excluded strong { color: var(--ember); }
.status-inactive { color: var(--ember); border-color: rgba(255,95,85,.35); }
.currency-settings { margin-bottom: 18px; overflow: hidden; scroll-margin-top: 88px; }
.currency-settings .networkx-toolbar .eyebrow { margin-bottom: 3px; }
.currency-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 16px; background: #0d0f12; }
.currency-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; min-width: 0; padding: 18px; background: #15181d; border: 1px solid var(--line); border-top: 3px solid var(--acid); border-radius: 10px; }
.currency-row.is-disabled { background: #171315; border-top-color: var(--ember); }
.currency-row h3 { margin: 0 0 6px; font-size: 1.05rem; }
.currency-row p { margin: 0; color: #96999e; font-size: .76rem; }
.currency-row .currency-warning { color: #e8b0ab; }
.currency-validation-link { display: inline-block; margin-top: 9px; color: var(--ember); font-size: .7rem; font-weight: 700; text-decoration: none; }
.currency-validation-link:hover { color: #ff8c84; }
.publication-map { margin-bottom: 18px; overflow: hidden; scroll-margin-top: 88px; }
.publication-scope-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); gap: 12px; padding: 16px; background: #0d0f12; }
.publication-scope { min-width: 0; padding: 18px; background: #15181d; border: 1px solid var(--line); border-top: 3px solid var(--acid); border-radius: 10px; }
.publication-scope.is-excluded { background: #171315; border-top-color: var(--ember); }
.publication-scope > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.publication-scope h3 { margin: 2px 0 0; font-size: 1.05rem; }
.publication-status { display: inline-flex; align-items: center; gap: 7px; flex: 0 0 auto; padding: 6px 8px; color: var(--acid); background: rgba(215,255,63,.07); border: 1px solid rgba(215,255,63,.22); border-radius: 999px; font-size: .61rem; font-weight: 750; letter-spacing: .03em; text-transform: uppercase; }
.publication-status i { width: 6px; height: 6px; background: currentColor; border-radius: 50%; }
.publication-scope.is-excluded .publication-status { color: var(--ember); background: rgba(255,95,85,.06); border-color: rgba(255,95,85,.22); }
.publication-toggle-form { flex: 0 0 auto; margin: 0; }
.publication-toggle { display: inline-flex; align-items: center; gap: 8px; padding: 5px 8px 5px 6px; color: #8c9096; background: rgba(255,255,255,.025); border: 1px solid #3b4047; border-radius: 999px; font-size: .61rem; font-weight: 750; letter-spacing: .03em; text-transform: uppercase; }
.publication-toggle:hover { color: var(--ink); border-color: #656b73; }
.publication-toggle-track { position: relative; width: 30px; height: 17px; background: #3b4047; border-radius: 999px; transition: background .15s ease; }
.publication-toggle-track::after { content: ""; position: absolute; left: 3px; top: 3px; width: 11px; height: 11px; background: #a5a9ae; border-radius: 50%; transition: transform .15s ease, background .15s ease; }
.publication-toggle[aria-checked="true"] { color: var(--acid); background: rgba(215,255,63,.06); border-color: rgba(215,255,63,.26); }
.publication-toggle[aria-checked="true"] .publication-toggle-track { background: rgba(215,255,63,.34); }
.publication-toggle[aria-checked="true"] .publication-toggle-track::after { background: var(--acid); transform: translateX(13px); }
.publication-description { min-height: 38px; margin: 13px 0; color: #96999e; font-size: .76rem; }
.publication-output { display: flex; flex-wrap: wrap; gap: 6px; padding: 11px; background: #101216; border: 1px solid #272a30; border-radius: 8px; }
.publication-output > span { width: 100%; color: #696d73; font-size: .58rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.publication-output code { padding: 3px 6px; color: #c9cbd0; background: #1c2026; border-radius: 4px; font-size: .63rem; overflow-wrap: anywhere; }
.publication-model-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; margin-top: 14px; }
.publication-model-groups h4 { margin: 0 0 7px; color: #74787e; font-size: .6rem; letter-spacing: .08em; text-transform: uppercase; }
.publication-model-list { display: flex; flex-wrap: wrap; gap: 6px; }
.publication-model { display: inline-flex; flex-direction: column; max-width: 100%; padding: 6px 8px; color: var(--ink); background: rgba(215,255,63,.06); border: 1px solid rgba(215,255,63,.17); border-radius: 6px; font-family: "SFMono-Regular", Consolas, monospace; font-size: .66rem; text-decoration: none; }
.publication-model:hover { color: var(--ink); border-color: rgba(215,255,63,.48); }
.publication-model.is-dependency { background: rgba(126,168,255,.07); border-color: rgba(126,168,255,.22); }
.publication-model.is-dependency:hover { border-color: rgba(126,168,255,.55); }
.publication-model small { margin-top: 2px; color: #8b8f96; font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: .54rem; }
.publication-shared-usage { margin-top: 10px; padding-top: 9px; border-top: 1px solid #292d32; }
.publication-shared-usage summary { cursor: pointer; color: #aeb1b6; font-size: .67rem; }
.publication-shared-usage > div { display: flex; flex-wrap: wrap; gap: 7px 12px; margin-top: 8px; }
.publication-shared-usage span { display: inline-flex; align-items: center; gap: 6px; color: #92969c; font-size: .63rem; }
.publication-shared-usage i { width: 6px; height: 6px; background: var(--acid); border-radius: 50%; }
.publication-shared-usage .is-excluded i { background: var(--ember); }
.networkx-panel { overflow: hidden; scroll-margin-top: 88px; }
.object-graph { margin-top: 24px; }
.networkx-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.networkx-toolbar h2 { margin: 0; font-size: 1.08rem; }
.networkx-toolbar p { margin: 4px 0 0; color: #72757a; font-size: .65rem; }
.networkx-legend { display: flex; align-items: center; gap: 16px; color: #909297; font-size: .66rem; }
.networkx-legend span { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.networkx-legend i { width: 9px; height: 9px; background: var(--acid); border-radius: 50%; box-shadow: 0 0 8px rgba(215,255,63,.38); }
.networkx-legend i.is-excluded { background: #777d85; box-shadow: none; }
.networkx-legend i.is-edge-included,
.networkx-legend i.is-edge-excluded { width: 24px; height: 2px; background: var(--acid); border-radius: 0; box-shadow: none; }
.networkx-legend i.is-edge-excluded { background: #666c74; }
.networkx-canvas { overflow: auto; background-color: #090b0e; background-image: radial-gradient(circle, #292d33 1px, transparent 1px); background-size: 24px 24px; }
@media (max-width: 760px) {
  .currency-list { grid-template-columns: 1fr; }
  .currency-row { align-items: center; }
}
.networkx-graph { display: block; width: 100%; min-width: 1040px; height: auto; aspect-ratio: 16 / 15; }
.networkx-edge { fill: none; stroke-width: 2.2; opacity: .58; transition: opacity .15s ease, stroke-width .15s ease; }
.networkx-edge.is-included { stroke: var(--acid); }
.networkx-edge.is-excluded { stroke: #666c74; }
.networkx-edge:hover { stroke-width: 4; opacity: 1; }
#networkx-arrow-included path { fill: var(--acid); }
#networkx-arrow-excluded path { fill: #666c74; }
.networkx-node-link { color: inherit; text-decoration: none; }
.networkx-node rect { stroke-width: 2; transition: fill .15s ease, stroke-width .15s ease; }
.networkx-node.is-included rect { fill: #202817; stroke: var(--acid); }
.networkx-node circle { fill: var(--acid); stroke: #0b0d0f; stroke-width: 2; }
.networkx-node.is-excluded rect { fill: #181b1f; stroke: #626871; }
.networkx-node.is-excluded circle { fill: #777d85; }
.networkx-node-link:hover .networkx-node.is-included rect,
.networkx-node-link:focus .networkx-node.is-included rect { fill: #2b371e; stroke-width: 4; }
.networkx-node-link:hover .networkx-node.is-excluded rect,
.networkx-node-link:focus .networkx-node.is-excluded rect { fill: #23272c; stroke-width: 4; }
.networkx-node-label { fill: var(--ink); font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: 14px; font-weight: 750; text-anchor: middle; }
.networkx-node-group { fill: #8b8f95; font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: 9px; font-weight: 600; letter-spacing: .04em; text-anchor: middle; text-transform: uppercase; }
.networkx-node.is-included .networkx-node-group { fill: var(--acid); }
.networkx-node.is-excluded .networkx-node-group { fill: #8b9199; }
.networkx-help { margin: 0; padding: 12px 20px; color: #777a7f; background: #101216; border-top: 1px solid var(--line); font-size: .66rem; text-align: center; }

.filter-bar { display: flex; align-items: center; gap: 10px; padding: 16px; border-bottom: 1px solid var(--line); }
.filter-search { position: relative; flex: 1; }
.filter-search span { position: absolute; left: 12px; top: 50%; color: #74777b; transform: translateY(-50%); }
.filter-search .form-control { padding-left: 36px; }
.filter-bar .form-select { width: 170px; }
.form-control, .form-select {
  color: var(--ink);
  background-color: #111318;
  border-color: #34383e;
  border-radius: 7px;
}
.form-control:focus, .form-select:focus { color: var(--ink); background-color: #14171b; border-color: var(--acid); box-shadow: 0 0 0 .2rem rgba(215,255,63,.12); }
.form-control::placeholder { color: #63666b; }
.form-select { color-scheme: dark; }
.form-control:disabled, .form-select:disabled {
  color: #b9bbc0;
  background-color: #1b1e23;
  border-color: #3a3e45;
  opacity: 1;
  cursor: not-allowed;
  -webkit-text-fill-color: #b9bbc0;
}
.form-text { color: #777a7f; }

.cms-table { --bs-table-color: #c6c7c4; --bs-table-bg: transparent; --bs-table-border-color: #2a2d32; }
.cms-table thead th { padding: 13px 18px; color: #686b70; background: rgba(10,11,13,.55); border-bottom-width: 1px; font-size: .64rem; letter-spacing: .09em; text-transform: uppercase; white-space: nowrap; }
.cms-table tbody td { max-width: 330px; padding: 14px 18px; font-size: .77rem; vertical-align: middle; }
.cms-table tbody tr:hover td { background: rgba(255,255,255,.018); }
.table-primary-link { color: var(--ink); font-weight: 650; text-decoration: none; }
.pagination-bar { display: flex; align-items: center; justify-content: space-between; padding: 15px 18px; color: #808287; font-size: .72rem; }

.empty-state { width: 100%; padding: 56px 24px; text-align: center; }
.empty-state > span { display: grid; place-items: center; width: 46px; height: 46px; margin: 0 auto 14px; color: var(--acid); background: rgba(215,255,63,.08); border: 1px solid rgba(215,255,63,.16); border-radius: 50%; }
.empty-state h2, .empty-state h3 { margin: 0 0 5px; font-size: 1rem; }
.empty-state p { margin: 0; color: #74777b; font-size: .76rem; }
.empty-state.compact { padding: 35px 20px; }

.data-list { margin: 0; padding: 8px 24px 24px; }
.data-list > div { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 24px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.data-list > div:last-child { border: 0; }
.data-list dt { color: #74777c; font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.data-list dd { margin: 0; overflow-wrap: anywhere; font-size: .82rem; }
.timeline { position: relative; margin: 0; padding: 14px 24px 24px 42px; list-style: none; }
.timeline::before { content: ""; position: absolute; left: 27px; top: 25px; bottom: 35px; width: 1px; background: var(--line-strong); }
.timeline li { position: relative; padding: 10px 0 18px; }
.timeline-dot { position: absolute; left: -20px; top: 15px; width: 8px; height: 8px; background: var(--acid); border: 2px solid #14161a; border-radius: 50%; box-shadow: 0 0 0 1px #4a4e53; }
.timeline strong, .timeline small { display: block; }
.timeline strong { font-size: .76rem; }
.timeline small { margin-top: 4px; color: #74777b; font-size: .68rem; }
.timeline-action { display: inline-block; margin-top: 6px; color: var(--acid); font-size: .65rem; text-decoration: none; }

.editor-form { display: grid; gap: 16px; }
.editor-form .panel { padding-bottom: 24px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; padding: 24px; }
.field-wrap label { color: #c5c6c2; font-size: .75rem; font-weight: 650; }
.field-wrap textarea { min-height: 110px; }
.field-check { display: flex; align-items: center; gap: 10px; min-height: 38px; }
.field-check label { margin: 0; }
.relationship-picker-control { display: flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 8px 6px 12px; background: #111318; border: 1px solid #34383e; border-radius: 7px; }
.relationship-current { flex: 1; min-width: 0; overflow: hidden; color: #d3d4d0; font-size: .76rem; text-overflow: ellipsis; white-space: nowrap; }
.achievement-thumbnail-cell, .item-icon-thumbnail-cell { width: 82px; }
.achievement-thumbnail, .item-icon-thumbnail { display: block; width: 58px; height: 58px; background: #0b0d10; border: 1px solid var(--line); border-radius: 7px; }
.achievement-thumbnail { object-fit: cover; }
.item-icon-thumbnail { object-fit: contain; }
.achievement-thumbnail-missing, .item-icon-thumbnail-missing { width: 58px; height: 58px; display: grid; place-items: center; color: #74777b; background: #111318; border: 1px dashed #3b3f45; border-radius: 7px; }
.item-icon-panel { margin-top: 18px; }
.item-icon-help { margin: -6px 18px 16px; color: #888b90; font-size: .72rem; }
.item-icon-card { display: grid; grid-template-columns: minmax(180px, 300px) minmax(0, 1fr); width: min(680px, calc(100% - 36px)); min-width: 0; margin: 0 18px 18px; overflow: hidden; background: #111318; border: 1px solid var(--line); border-radius: 9px; }
.item-icon-preview { aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; background: #0b0d10; }
.item-icon-preview-image { display: block; width: 100%; height: 100%; object-fit: contain; }
.item-icon-missing { display: grid; gap: 7px; place-items: center; padding: 16px; color: #74777b; text-align: center; }
.item-icon-missing span { font-size: 1.4rem; }
.item-icon-missing strong { font-size: .7rem; }
.item-icon-card figcaption { display: grid; align-content: center; gap: 8px; min-width: 0; padding: 18px; }
.item-icon-card figcaption strong { font-size: .84rem; }
.item-icon-card figcaption code { overflow-wrap: anywhere; color: #777a80; font-size: .64rem; }
.item-icon-card figcaption span { font-size: .7rem; }
.achievement-assets-panel { margin-top: 18px; }
.achievement-assets-help { margin: -6px 18px 16px; color: #888b90; font-size: .72rem; }
.achievement-asset-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; padding: 0 18px 18px; }
.achievement-asset-card { min-width: 0; margin: 0; overflow: hidden; background: #111318; border: 1px solid var(--line); border-radius: 9px; }
.achievement-asset-preview { aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; background: #0b0d10; }
.achievement-asset-preview img { display: block; width: 100%; height: 100%; object-fit: contain; }
.achievement-asset-missing { display: grid; gap: 7px; place-items: center; padding: 16px; color: #74777b; text-align: center; }
.achievement-asset-missing span { font-size: 1.4rem; }
.achievement-asset-missing strong { font-size: .7rem; }
.achievement-asset-card figcaption { display: grid; gap: 5px; padding: 12px; }
.achievement-asset-card figcaption strong { font-size: .76rem; }
.achievement-asset-card figcaption code { overflow-wrap: anywhere; color: #777a80; font-size: .58rem; }
.form-check-input { background-color: #15171b; border-color: #4a4e54; }
.form-check-input:checked { background-color: var(--acid); border-color: var(--acid); }
.form-note-panel { padding: 20px 24px !important; }
.form-actions { justify-content: flex-end; padding: 6px 0 30px; }
.narrow-form { width: min(760px, 100%); }
.status-pill { display: inline-flex; align-items: center; width: fit-content; padding: 5px 8px; color: #c7c8c4; background: #24272c; border: 1px solid #363a40; border-radius: 99px; font-size: .64rem; font-weight: 750; letter-spacing: .05em; text-transform: uppercase; }
.status-large { padding: 8px 12px; font-size: .72rem; }

.upload-dropzone input { max-width: 460px; margin: 14px auto; }

.validation-hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); margin-bottom: 16px; overflow: hidden; background: radial-gradient(circle at 6% 18%, rgba(215,255,63,.11), transparent 24rem), linear-gradient(145deg, #181b1f, #101216 72%); }
.validation-hero-primary { display: grid; grid-template-columns: 132px minmax(0, 1fr); align-items: center; gap: 28px; min-height: 208px; padding: 28px 32px; }
.validation-score { width: 118px; height: 118px; display: grid; place-items: center; padding: 8px; background: conic-gradient(var(--acid) var(--validation-score), #2a2e31 0); border-radius: 50%; box-shadow: 0 0 42px rgba(215,255,63,.08); }
.validation-score::before { content: ""; grid-area: 1 / 1; width: 100%; height: 100%; background: #121518; border-radius: 50%; }
.validation-score > div { z-index: 1; grid-area: 1 / 1; display: flex; align-items: baseline; gap: 4px; }
.validation-score strong { font-size: 2.1rem; letter-spacing: -.08em; }
.validation-score span { color: #777b78; font-size: .72rem; font-weight: 700; }
.validation-hero-copy { min-width: 0; }
.validation-hero-copy .eyebrow { margin-bottom: 5px; }
.validation-hero-copy h2 { margin: 0; font-size: clamp(1.65rem, 2.5vw, 2.35rem); letter-spacing: -.05em; }
.validation-hero-copy > p:not(.eyebrow) { max-width: 560px; margin: 7px 0 12px; color: #969a95; font-size: .78rem; }
.validation-state { display: inline-flex; align-items: center; gap: 7px; padding: 5px 9px; border-radius: 999px; font-size: .62rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.validation-state i { width: 6px; height: 6px; background: currentColor; border-radius: 50%; box-shadow: 0 0 9px currentColor; }
.validation-state.is-partial { color: var(--amber); background: rgba(255,200,87,.09); }
.validation-state.is-complete { color: var(--acid); background: rgba(215,255,63,.09); }
.validation-progress { height: 5px; margin-top: 16px; overflow: hidden; background: #272b2e; border-radius: 999px; }
.validation-progress span { display: block; width: var(--validation-progress); height: 100%; background: linear-gradient(90deg, var(--acid-dark), var(--acid)); border-radius: inherit; box-shadow: 0 0 16px rgba(215,255,63,.35); }
.validation-hero-metrics { display: grid; grid-template-rows: repeat(3, 1fr); gap: 1px; padding: 1px; background: var(--line); border-left: 1px solid var(--line); }
.validation-metric-card { position: relative; display: grid; grid-template-columns: 32px minmax(0, 1fr) 92px; align-items: center; gap: 11px; min-height: 68px; padding: 12px 17px; background: #14171a; }
.validation-metric-card > div small, .validation-metric-card > div strong { display: block; }
.validation-metric-card > div small { color: #777b78; font-size: .61rem; letter-spacing: .07em; text-transform: uppercase; }
.validation-metric-card > div strong { margin-top: 2px; font-size: 1.05rem; }
.validation-metric-card.is-complete > div strong { color: var(--acid); }
.validation-metric-bar { height: 4px; overflow: hidden; background: #292d30; border-radius: 999px; }
.validation-metric-bar i { display: block; width: var(--metric-progress); height: 100%; background: #8f9690; border-radius: inherit; }
.validation-metric-card.is-complete .validation-metric-bar i { background: var(--acid); }
.validation-glyph { display: grid; place-items: center; width: 28px; height: 28px; color: #9ca09b; background: #25292c; border-radius: 7px; font-family: "SFMono-Regular", Consolas, monospace; font-size: .62rem; font-weight: 800; }
.validation-metric-card.is-complete .validation-glyph { color: var(--acid); background: rgba(215,255,63,.1); }
.validation-workspace { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(290px, .65fr); gap: 16px; margin-bottom: 16px; }
.validation-issues-panel { min-width: 0; overflow: hidden; }
.validation-count-alert { color: var(--amber); background: rgba(255,200,87,.08); border-color: rgba(255,200,87,.22); }
.validation-issue-stack { display: grid; gap: 9px; padding: 14px; background: #0d0f12; }
.validation-issue-card { min-width: 0; padding: 15px 16px; background: #15181c; border: 1px solid #30343a; border-left: 3px solid var(--ember); border-radius: 9px; }
.validation-issue-card.is-warning { border-left-color: var(--amber); }
.validation-issue-heading { display: flex; align-items: center; gap: 9px; margin-bottom: 10px; }
.validation-issue-heading code { color: #8e9298; font-size: .62rem; }
.validation-issue-heading .btn { margin-left: auto; }
.validation-issue-card > strong { display: block; font-size: .81rem; font-weight: 650; line-height: 1.45; }
.validation-issue-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.validation-issue-meta span { padding: 3px 6px; color: #787c82; background: #1d2024; border-radius: 4px; font-family: "SFMono-Regular", Consolas, monospace; font-size: .58rem; }
.validation-artifacts { min-width: 0; }
.validation-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 3px 2px 12px; }
.validation-section-heading h2 { margin: 0; font-size: 1.25rem; letter-spacing: -.03em; }
.validation-section-heading .eyebrow { margin-bottom: 3px; }
.validation-section-heading > a { color: #9a9da2; font-size: .7rem; text-decoration: none; }
.validation-artifact-stack { display: grid; gap: 10px; }
.validation-artifact-card { display: block; padding: 17px; color: var(--ink); background: linear-gradient(145deg, rgba(215,255,63,.06), #14171a 64%); border: 1px solid #33373c; border-top: 3px solid var(--amber); border-radius: 11px; text-decoration: none; transition: transform .15s ease, border-color .15s ease; }
.validation-artifact-card.is-ready { border-top-color: var(--acid); }
.validation-artifact-card:hover { color: var(--ink); transform: translateY(-2px); border-color: #565c61; }
.validation-artifact-topline { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; align-items: center; gap: 10px; }
.validation-artifact-topline code { color: #d3d5d0; font-size: .73rem; font-weight: 700; }
.validation-artifact-topline > span:last-child { color: #777b80; }
.validation-artifact-statuses { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 15px; }
.validation-artifact-statuses span { display: inline-flex; align-items: center; gap: 6px; color: #969a9e; font-size: .61rem; font-weight: 700; }
.validation-artifact-statuses i { width: 6px; height: 6px; background: currentColor; border-radius: 50%; }
.validation-artifact-statuses .is-ready { color: #bcd95a; }
.validation-artifact-statuses .is-attention { color: var(--amber); }
.validation-passed-panel { overflow: hidden; }
.validation-check-board { display: grid; grid-template-columns: minmax(0, 1.8fr) repeat(2, minmax(210px, .8fr)); gap: 1px; background: var(--line); }
.validation-check-group { min-width: 0; padding: 18px; background: rgba(15,17,20,.96); }
.validation-check-group > header { display: flex; align-items: center; gap: 9px; margin-bottom: 13px; }
.validation-check-group > header h3 { margin: 0; color: #a9ada7; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }
.validation-check-group > header strong { min-width: 23px; margin-left: auto; color: var(--acid); font-family: "SFMono-Regular", Consolas, monospace; font-size: .68rem; text-align: right; }
.validation-check-list { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; list-style: none; }
.validation-check-list li { display: inline-flex; align-items: center; gap: 7px; min-height: 32px; padding: 6px 9px 6px 7px; color: #c1c4be; background: #191c1f; border: 1px solid #2e3235; border-radius: 7px; cursor: default; }
.validation-check-list li:hover { color: var(--ink); background: #1e2224; border-color: rgba(215,255,63,.3); }
.validation-check-list li > span { display: grid; place-items: center; width: 18px; height: 18px; color: var(--acid); background: rgba(215,255,63,.1); border-radius: 50%; font-size: .58rem; font-weight: 900; }
.validation-check-list strong { font-size: .69rem; font-weight: 650; line-height: 1.25; }
.wizard-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; margin-bottom: 16px; overflow: hidden; background: var(--line); border: 1px solid var(--line); border-radius: 9px; }
.wizard-steps span { padding: 13px 15px; color: #66696e; background: #111317; font-size: .68rem; text-transform: uppercase; letter-spacing: .05em; }
.wizard-steps span.active { color: var(--acid); background: #191c1d; }
.wizard-steps span.done { color: #aeb1ac; }
.sheet-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 1px; padding: 1px; background: var(--line); }
.sheet-grid > div { padding: 15px 18px; background: #14161a; }
.sheet-grid strong, .sheet-grid span { display: block; }
.sheet-grid strong { font-size: .74rem; }
.sheet-grid span { margin-top: 4px; color: #6f7277; font-size: .65rem; }
.conflict-grid { display: grid; gap: 16px; padding: 20px 24px 24px; }
.conflict-grid article { padding: 16px; background: #111318; border: 1px solid var(--line); border-radius: 8px; }
.conflict-grid h3 { margin-bottom: 12px; font-size: .85rem; }
.conflict-grid details + details { margin-top: 8px; }
.conflict-grid summary { cursor: pointer; color: var(--acid); font-size: .72rem; }
.conflict-grid .code-block { max-height: 280px; margin-top: 10px; }

.release-list { display: grid; }
.release-row { display: grid; grid-template-columns: 42px minmax(0, 1fr) 120px 170px 24px; align-items: center; gap: 14px; min-height: 82px; padding: 14px 22px; color: var(--ink); border-bottom: 1px solid var(--line); text-decoration: none; }
.release-row:last-child { border: 0; }
.release-row:hover { color: var(--ink); background: rgba(255,255,255,.018); }
.release-row strong, .release-row small { display: block; }
.release-row small { margin-top: 4px; color: #74777b; font-size: .69rem; }
.release-glyph { display: grid; place-items: center; width: 34px; height: 34px; color: #73767b; background: #202329; border-radius: 8px; }
.release-glyph.current { color: #0b0c0d; background: var(--acid); box-shadow: 0 0 18px rgba(215,255,63,.18); }
.artifact-list { padding: 8px 24px 24px; }
.artifact-list a { display: grid; grid-template-columns: 1fr 160px auto; gap: 20px; padding: 16px 0; color: var(--ink); border-bottom: 1px solid var(--line); text-decoration: none; font-size: .78rem; }
.artifact-list code { color: #777a7f; }
.artifact-list strong { color: var(--acid); font-size: .69rem; }
.code-block { max-height: 460px; margin: 0; padding: 20px 24px; overflow: auto; color: #b7d47a; background: #0c0e10; border-radius: 0 0 var(--radius) var(--radius); font-size: .7rem; }
.artifact-tabs { display: flex; gap: 7px; margin-bottom: 12px; overflow-x: auto; }
.artifact-tabs a { flex: 0 0 auto; padding: 10px 14px; color: #96999d; background: #14161a; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; font-size: .72rem; }
.artifact-tabs a:hover { color: var(--ink); border-color: var(--line-strong); }
.artifact-tabs a.active { color: #090a0a; background: var(--acid); border-color: var(--acid); font-weight: 800; }
.export-preview-meta { display: flex; align-items: center; justify-content: flex-end; gap: 10px; color: #7b7e83; font-size: .65rem; }
.export-preview-meta span { padding-right: 10px; border-right: 1px solid var(--line); }
.json-tree { min-height: 520px; max-height: calc(100vh - 330px); padding: 18px 22px 28px; overflow: auto; color: #c7ced9; background: #0c0e10; border-radius: 0 0 var(--radius) var(--radius); font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; font-size: .72rem; line-height: 1.55; }
.json-tree-node > summary { min-height: 28px; padding: 4px 7px; cursor: pointer; border-radius: 5px; user-select: none; }
.json-tree-node > summary:hover { background: rgba(255,255,255,.045); }
.json-tree-node > summary::marker { color: #7f8a63; }
.json-tree-children { margin-left: 9px; padding-left: 17px; border-left: 1px solid #282d27; }
.json-tree-row { min-height: 27px; display: flex; align-items: baseline; gap: 7px; padding: 4px 7px; }
.json-tree-key { color: #9fc8ff; }
.json-tree-node > summary > .json-tree-key:first-child { font-weight: 700; }
.json-tree-separator { margin-right: 2px; color: #697078; }
.json-tree-bracket { color: #9ca86e; }
.json-tree-count { margin-left: 9px; color: #60666d; font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: .62rem; }
.json-tree-value { overflow-wrap: anywhere; }
.json-tree-string { color: #c6dd8b; }
.json-tree-number { color: #f3b879; }
.json-tree-boolean { color: #c39bf4; }
.json-tree-null { color: #737a82; font-style: italic; }
.export-preview-code { min-height: 520px; max-height: calc(100vh - 330px); color: #c7dd8f; line-height: 1.55; tab-size: 2; }
.export-preview-code code { color: inherit; font-size: inherit; white-space: pre; }
.export-preview-note { margin: 12px 2px 0; color: #73767b; font-size: .7rem; }
.relationship-dialog { width: min(720px, calc(100vw - 30px)); max-height: min(760px, calc(100vh - 30px)); padding: 0; color: var(--ink); background: #14161a; border: 1px solid #3b3f45; border-radius: 16px; box-shadow: 0 40px 120px rgba(0,0,0,.65); }
.relationship-dialog::backdrop { background: rgba(3,4,5,.76); backdrop-filter: blur(4px); }
.dialog-heading { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.dialog-heading h2 { margin: 0; font-size: 1.15rem; }
.picker-search { padding: 16px 20px; border-bottom: 1px solid var(--line); }
.picker-results { max-height: 500px; overflow-y: auto; padding: 8px; }
.picker-result { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 15px; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--line); text-align: left; }
.picker-result:hover { background: #202329; }
.picker-result strong, .picker-result small { display: block; }
.picker-result strong { font-size: .8rem; }
.picker-result small { margin-top: 3px; color: #74777b; font-size: .65rem; }
.diff-list { padding: 8px 24px 24px; }
.diff-list article { display: grid; grid-template-columns: 150px 1fr 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.diff-list article > strong { font-size: .74rem; }
.diff-list article div span, .diff-list article div code { display: block; }
.diff-list article div span { margin-bottom: 5px; color: #73767b; font-size: .62rem; text-transform: uppercase; }
.diff-list article div code { color: #c9cac5; overflow-wrap: anywhere; font-size: .7rem; }

.login-body { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: radial-gradient(circle at 22% 38%, rgba(215,255,63,.11), transparent 27rem), #090a0c; }
.login-shell { width: min(1040px, 100%); min-height: 620px; display: grid; grid-template-columns: 1.25fr .85fr; overflow: hidden; background: #111317; border: 1px solid #30343a; border-radius: 22px; box-shadow: 0 40px 120px rgba(0,0,0,.5); }
.login-brand { position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(36px, 6vw, 76px); overflow: hidden; background: linear-gradient(145deg, #171a1f, #0d0f12); }
.login-brand::before { content: ""; position: absolute; inset: 0; opacity: .2; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 38px 38px; }
.login-brand > * { position: relative; z-index: 2; }
.login-logo { position: absolute; top: clamp(30px, 4vw, 52px); left: clamp(30px, 4.5vw, 58px); width: min(360px, calc(100% - 60px)); height: auto; filter: drop-shadow(0 14px 30px rgba(0,0,0,.35)); }
.login-brand h1 { max-width: 500px; margin: 7px 0 18px; font-size: clamp(2.5rem, 5vw, 4.8rem); line-height: .94; letter-spacing: -.07em; }
.login-brand > p:not(.eyebrow) { max-width: 460px; color: #9da09f; }
.signal-grid { position: absolute; z-index: 1; right: -80px; top: 80px; width: 340px; height: 340px; border: 1px solid rgba(215,255,63,.18); border-radius: 50%; }
.signal-grid span { position: absolute; width: 8px; height: 8px; background: var(--acid); border-radius: 50%; box-shadow: 0 0 18px var(--acid); }
.signal-grid span:nth-child(1) { left: 6%; top: 45%; }.signal-grid span:nth-child(2) { left: 33%; top: 5%; }.signal-grid span:nth-child(3) { right: 8%; top: 37%; }.signal-grid span:nth-child(4) { left: 35%; bottom: 2%; }
.login-card { display: flex; flex-direction: column; justify-content: center; padding: clamp(34px, 5vw, 64px); background: #131519; border-left: 1px solid var(--line); }
.login-card h2 { margin: 0; font-size: 2rem; letter-spacing: -.04em; }
.login-card > .muted { margin: 7px 0 28px; }

@media (max-width: 1100px) {
  .sidebar { transform: translateX(-100%); transition: transform .2s ease; box-shadow: 20px 0 60px rgba(0,0,0,.45); }
  .sidebar.is-open { transform: translateX(0); }
  .app-main { width: 100%; margin-left: 0; }
  .mobile-menu { display: block; }
  .top-search { width: min(390px, 48vw); }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .validation-hero { grid-template-columns: 1fr; }
  .validation-hero-metrics { grid-template-columns: repeat(3, 1fr); grid-template-rows: 1fr; border-top: 1px solid var(--line); border-left: 0; }
  .validation-metric-card { grid-template-columns: 32px minmax(0, 1fr); }
  .validation-metric-bar { grid-column: 1 / -1; width: 100%; }
  .validation-workspace { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .content-canvas { padding: 22px 16px 40px; }
  .user-copy, .top-search kbd { display: none; }
  .top-search { flex: 1; width: auto; }
  .page-header, .dashboard-hero { align-items: flex-start; flex-direction: column; }
  .dashboard-hero { min-height: 500px; justify-content: flex-end; }
  .dashboard-hero-cover { object-position: center; }
  .hero-actions { width: 100%; }
  .dashboard-section-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
  .dashboard-section-heading > p { text-align: left; }
  .dashboard-artifact-grid { grid-template-columns: 1fr; }
  .validation-hero-primary { grid-template-columns: 1fr; gap: 20px; padding: 22px 18px; }
  .validation-score { width: 102px; height: 102px; }
  .validation-hero-metrics { grid-template-columns: 1fr; }
  .validation-metric-card { min-height: 62px; }
  .validation-issue-heading { align-items: flex-start; flex-wrap: wrap; }
  .validation-issue-heading .btn { width: 100%; margin-left: 0; }
  .validation-check-board { grid-template-columns: 1fr; }
  .detail-grid, .login-shell { grid-template-columns: 1fr; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .item-icon-card { grid-template-columns: 1fr; }
  .header-actions, .relationship-picker-control { flex-wrap: wrap; }
  .filter-bar { align-items: stretch; flex-direction: column; }
  .filter-bar .form-select { width: 100%; }
  .issue-row { grid-template-columns: 30px minmax(0, 1fr); }
  .issue-row code, .issue-row > .btn { grid-column: 2; justify-self: start; }
  .data-list > div, .diff-list article { grid-template-columns: 1fr; gap: 8px; }
  .artifact-list a { grid-template-columns: 1fr auto; }
  .artifact-list a code { grid-column: 1 / -1; }
  .export-preview .panel-heading { align-items: flex-start; flex-direction: column; }
  .export-preview-meta { width: 100%; justify-content: flex-start; flex-wrap: wrap; }
  .json-tree { min-height: 420px; max-height: 70vh; padding: 14px 12px 22px; }
  .json-tree-children { margin-left: 5px; padding-left: 10px; }
  .export-preview-code { min-height: 420px; max-height: 70vh; }
  .release-row { grid-template-columns: 38px 1fr auto; }
  .release-row > :nth-child(4), .release-row > :nth-child(5) { display: none; }
  .login-brand { min-height: 370px; }
  .login-logo { width: min(280px, calc(100% - 60px)); }
  .graph-summary { width: 100%; }
  .networkx-toolbar { align-items: flex-start; flex-direction: column; }
  .networkx-legend { flex-wrap: wrap; }
  .networkx-graph { min-width: 900px; }
  .publication-scope-grid { grid-template-columns: 1fr; }
  .publication-model-groups { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .001ms !important; animation-duration: .001ms !important; }
}
