/* [project]/app/globals.css [app-client] (css) */
:root {
  --ink: #18231f;
  --muted: #68746e;
  --line: #dce3df;
  --paper: #f5f7f4;
  --green: #1e5a46;
  --lime: #c9f365;
  --warm: #f2eee4;
  --danger: #a7553b;
  --white: #fff;
  --shadow: 0 14px 40px #142a2214;
}

* {
  box-sizing: border-box;
}

html, body {
  color: var(--ink);
  background: var(--paper);
  margin: 0;
  font-family: Arial, Apple SD Gothic Neo, Noto Sans KR, sans-serif;
}

button, input, textarea {
  font: inherit;
}

button, a {
  color: inherit;
}

.muted {
  color: var(--muted);
}

.eyebrow {
  letter-spacing: .15em;
  color: var(--green);
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 800;
}

.primary-button, .dark-button {
  background: var(--ink);
  color: #fff;
  cursor: pointer;
  border: 0;
  border-radius: 7px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  display: flex;
}

.login-shell {
  background: #13251e;
  grid-template-columns: 1.18fr .82fr;
  min-height: 100vh;
  display: grid;
}

.login-brand {
  color: #f5f8f4;
  background: radial-gradient(circle at 80% 20%, #c9f3652b, #0000 26%), linear-gradient(145deg, #17372a, #10241c);
  padding: 9vh 9vw;
  position: relative;
}

.brand-mark {
  background: var(--lime);
  color: #173326;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
  font-weight: 900;
  display: grid;
}

.login-brand > span {
  letter-spacing: .2em;
  color: #bdd0c7;
  font-size: 11px;
}

.login-brand h1 {
  letter-spacing: -.055em;
  margin: 16vh 0 28px;
  font-size: clamp(40px, 5vw, 74px);
  line-height: 1.05;
}

.login-brand > p {
  color: #b9c9c1;
  line-height: 1.8;
}

.login-proof {
  grid-template-columns: auto auto;
  gap: 8px 15px;
  display: grid;
  position: absolute;
  bottom: 8vh;
}

.login-proof span {
  color: var(--lime);
  font-size: 11px;
}

.login-proof b {
  font-size: 13px;
}

.login-panel {
  background: #f6f5ef;
  place-items: center;
  padding: 7vw;
  display: grid;
}

.login-panel > div {
  width: min(380px, 100%);
}

.login-panel h2 {
  letter-spacing: -.04em;
  margin: 0 0 8px;
  font-size: 33px;
}

.login-form {
  gap: 18px;
  margin-top: 38px;
  display: grid;
}

.login-form label {
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  display: grid;
}

.login-form input {
  background: #fff;
  border: 1px solid #ced6d1;
  border-radius: 6px;
  outline: none;
  padding: 15px;
}

.login-form input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px #1e5a461a;
}

.login-form button {
  height: 50px;
}

.form-error {
  color: #a13c32;
  margin: 0;
  font-size: 12px;
}

.security-note {
  color: #87918c;
  text-align: center;
  margin-top: 28px;
  font-size: 11px;
}

.global-header {
  color: #fff;
  z-index: 30;
  background: #172a22;
  justify-content: space-between;
  align-items: center;
  height: 58px;
  padding: 0 32px;
  display: flex;
  position: sticky;
  top: 0;
}

.global-brand {
  align-items: center;
  gap: 10px;
  text-decoration: none;
  display: flex;
}

.global-brand span {
  background: var(--lime);
  color: #173326;
  padding: 7px;
  font-weight: 900;
}

.global-brand b {
  font-size: 14px;
}

.header-meta {
  color: #c6d3cd;
  align-items: center;
  gap: 22px;
  font-size: 12px;
  display: flex;
}

.header-meta > span {
  align-items: center;
  gap: 7px;
  display: flex;
}

.status-dot:before {
  content: "";
  background: #80d4a6;
  border-radius: 50%;
  width: 7px;
  height: 7px;
}

.icon-button {
  color: #c6d3cd;
  cursor: pointer;
  background: none;
  border: 0;
  padding: 7px;
}

.companies-page {
  min-height: calc(100vh - 58px);
}

.companies-hero {
  color: #fff;
  background: #17372a;
  padding: 70px max(6vw, 40px) 62px;
}

.companies-hero .eyebrow {
  color: var(--lime);
}

.companies-hero h1 {
  letter-spacing: -.05em;
  margin: 0 0 13px;
  font-size: 46px;
}

.companies-hero > p:not(.eyebrow) {
  color: #bdcec6;
}

.company-search {
  color: #31423a;
  width: min(720px, 100%);
  height: 58px;
  box-shadow: var(--shadow);
  background: #fff;
  border-radius: 7px;
  align-items: center;
  gap: 12px;
  margin-top: 34px;
  padding: 0 8px 0 20px;
  display: flex;
}

.company-search input {
  border: 0;
  outline: 0;
  flex: 1;
  font-size: 15px;
}

.company-search button {
  background: var(--lime);
  border: 0;
  border-radius: 5px;
  padding: 13px 25px;
  font-weight: 800;
}

.list-section {
  padding: 40px max(6vw, 40px) 80px;
}

.section-heading {
  justify-content: space-between;
  align-items: end;
  margin-bottom: 20px;
  display: flex;
}

.section-heading h2 {
  margin: 0;
  font-size: 22px;
}

.section-heading p {
  color: var(--muted);
  margin: 5px 0 0;
  font-size: 12px;
}

.connection {
  color: #8f5542;
  background: #fbede8;
  border-radius: 20px;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  font-size: 11px;
  display: flex;
}

.connection.good {
  color: #28704f;
  background: #e4f4eb;
}

.company-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  display: grid;
}

.company-card {
  border: 1px solid var(--line);
  background: #fff;
  grid-template-columns: 42px 1fr 58px 20px;
  align-items: center;
  gap: 12px;
  padding: 21px;
  text-decoration: none;
  transition: all .2s;
  display: grid;
  position: relative;
}

.company-card:hover {
  box-shadow: var(--shadow);
  border-color: #8cad9f;
  transform: translateY(-2px);
}

.company-index {
  color: #9ba49f;
  font-size: 10px;
}

.company-card h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.company-card p {
  color: var(--green);
  margin: 0 0 5px;
  font-size: 12px;
}

.company-card small {
  color: var(--muted);
  font-size: 10px;
}

.coverage-ring {
  background: conic-gradient(var(--green) var(--coverage), #edf0ee 0);
  border-radius: 50%;
  place-items: center;
  width: 48px;
  height: 48px;
  display: grid;
  position: relative;
}

.coverage-ring:after {
  content: "";
  background: #fff;
  border-radius: 50%;
  position: absolute;
  inset: 5px;
}

.coverage-ring span {
  z-index: 1;
  font-size: 10px;
  font-weight: 800;
  position: relative;
}

.card-arrow {
  color: #87958e;
}

.workspace {
  min-height: calc(100vh - 58px);
}

.company-sticky {
  border-bottom: 1px solid var(--line);
  z-index: 25;
  background: #fff;
  justify-content: space-between;
  align-items: center;
  height: 86px;
  padding: 0 32px;
  display: flex;
  position: sticky;
  top: 58px;
}

.company-sticky-main {
  align-items: center;
  gap: 14px;
  display: flex;
}

.back-link {
  border: 1px solid var(--line);
  border-radius: 50%;
  place-items: center;
  width: 34px;
  height: 34px;
  display: grid;
}

.title-line {
  align-items: center;
  gap: 12px;
  display: flex;
}

.title-line h1 {
  letter-spacing: -.03em;
  margin: 0;
  font-size: 22px;
}

.company-sticky-main p {
  color: var(--muted);
  margin: 5px 0 0;
  font-size: 11px;
}

.draft-badge {
  color: #48631a;
  background: #eff5da;
  border-radius: 3px;
  align-items: center;
  gap: 4px;
  padding: 5px 7px;
  font-size: 10px;
  display: flex;
}

.company-actions {
  color: var(--muted);
  align-items: center;
  gap: 16px;
  font-size: 10px;
  display: flex;
}

.company-actions span {
  gap: 3px;
  display: grid;
}

.company-actions b {
  color: var(--ink);
  font-size: 11px;
}

.company-actions button {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 5px;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 12px;
  font-size: 11px;
  display: flex;
}

.company-actions .dark-button {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.tabs {
  border-bottom: 1px solid var(--line);
  z-index: 20;
  background: #fff;
  justify-content: center;
  gap: 26px;
  height: 49px;
  display: flex;
  position: sticky;
  top: 144px;
}

.tabs button {
  color: var(--muted);
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0 5px;
  font-size: 12px;
  font-weight: 700;
  position: relative;
}

.tabs button.active {
  color: var(--ink);
}

.tabs button.active:after {
  content: "";
  background: var(--green);
  height: 3px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.data-error {
  color: #7e402e;
  background: #fbede8;
  border: 1px solid #e0b8aa;
  padding: 22px;
}

.data-error p {
  margin: 8px 0 0;
  font-size: 14px;
}

.search-empty {
  border: 1px solid var(--line);
  min-height: 240px;
  color: var(--muted);
  text-align: center;
  background: #fff;
  align-content: center;
  place-items: center;
  gap: 10px;
  padding: 36px;
  display: grid;
}

.search-empty strong {
  color: var(--ink);
  font-size: 17px;
}

.search-empty p {
  max-width: 560px;
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}

.search-empty a {
  color: var(--green);
  text-underline-offset: 3px;
  margin-top: 5px;
  font-size: 13px;
  font-weight: 800;
}

.summary-wrap {
  width: min(1180px, 100% - 40px);
  margin: 26px auto 70px;
}

.summary-page {
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  background: #fff;
  padding: 30px 34px;
}

.summary-kicker {
  letter-spacing: .12em;
  color: #748078;
  border-bottom: 1px solid var(--ink);
  justify-content: space-between;
  padding-bottom: 9px;
  font-size: 9px;
  display: flex;
}

.identity {
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  padding: 22px 0 20px;
  display: grid;
}

.identity h2 {
  letter-spacing: -.05em;
  margin: 0 0 10px;
  font-size: 32px;
}

.lede {
  color: #46534d;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  display: -webkit-box;
  overflow: hidden;
}

.identity-side {
  border-left: 1px solid var(--line);
  align-content: center;
  gap: 7px;
  padding-left: 25px;
  display: grid;
}

.identity-side span {
  color: var(--muted);
  font-size: 10px;
}

.identity-side b {
  font-size: 13px;
  line-height: 1.5;
}

.metrics-grid {
  background: #f2f5f2;
  border-top: 1px solid #ced8d2;
  border-bottom: 1px solid #ced8d2;
  grid-template-columns: repeat(6, 1fr);
  display: grid;
}

.metrics-grid article {
  border-right: 1px solid #d7dfda;
  padding: 15px;
}

.metrics-grid article:last-child {
  border: 0;
}

.metrics-grid span, .metrics-grid small {
  color: var(--muted);
  font-size: 9px;
  display: block;
}

.metrics-grid strong {
  margin: 8px 0 6px;
  font-size: 17px;
  display: block;
}

.metrics-grid strong.missing {
  color: #8b9691;
  font-size: 11px;
}

.summary-columns {
  grid-template-columns: 1.02fr .98fr;
  gap: 16px;
  margin-top: 17px;
  display: grid;
}

.panel {
  border: 1px solid var(--line);
  padding: 18px;
}

.panel-title {
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  display: flex;
}

.panel-title h3 {
  margin: 0;
  font-size: 14px;
}

.panel-title span {
  color: var(--muted);
  background: #f0f3f1;
  padding: 4px 6px;
  font-size: 9px;
}

.business-panel dl {
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 0;
  display: grid;
}

.business-panel dl div {
  background: #f7f8f6;
  padding: 9px;
}

.business-panel dt {
  color: var(--muted);
  margin-bottom: 5px;
  font-size: 9px;
}

.business-panel dd {
  white-space: nowrap;
  text-overflow: ellipsis;
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  overflow: hidden;
}

.business-panel h4 {
  margin: 15px 0 8px;
  font-size: 10px;
}

.timeline {
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
}

.timeline li {
  grid-template-columns: 72px 1fr;
  align-items: start;
  font-size: 9px;
  display: grid;
}

.timeline time {
  color: var(--green);
  font-weight: 700;
}

.timeline p {
  margin: 0;
}

.timeline small {
  color: var(--muted);
  margin-top: 2px;
  display: block;
}

.method {
  color: var(--muted);
  margin: -6px 0 10px;
  font-size: 9px;
}

.weight-controls {
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 8px 0 12px;
  display: grid;
}

.weight-controls label {
  color: var(--muted);
  gap: 3px;
  font-size: 8px;
  display: grid;
}

.weight-controls input {
  width: 100%;
  accent-color: var(--green);
}

.peer-axis {
  color: #9aa39f;
  justify-content: space-between;
  margin-left: 105px;
  font-size: 8px;
  display: flex;
}

.peer-row {
  grid-template-columns: 98px 1fr 25px;
  align-items: center;
  gap: 8px;
  margin: 8px 0;
  padding-bottom: 7px;
  display: grid;
  position: relative;
}

.peer-row b {
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 9px;
  overflow: hidden;
}

.peer-row > span {
  font-size: 9px;
  font-weight: 700;
}

.peer-row small {
  color: #8e9893;
  font-size: 7px;
  position: absolute;
  top: 15px;
  left: 106px;
}

.peer-track {
  background: #dce2df;
  height: 2px;
  position: relative;
}

.peer-track i, .peer-track em {
  border-radius: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
}

.peer-track i {
  background: var(--green);
  width: 9px;
  height: 9px;
}

.peer-track em {
  background: #aab4af;
  width: 5px;
  height: 5px;
}

.legend {
  color: var(--muted);
  text-align: right;
  font-size: 8px;
}

.legend i, .legend em {
  background: var(--green);
  border-radius: 50%;
  width: 6px;
  height: 6px;
  margin: 0 3px 0 8px;
  display: inline-block;
}

.legend em {
  background: #aab4af;
}

.signal-grid {
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 16px;
  display: grid;
}

.signal {
  background: #f6f8f6;
  border-top: 3px solid;
  padding: 13px 16px;
}

.signal.positive {
  border-color: #5c9d6f;
}

.signal.check {
  border-color: #c98756;
}

.signal h3 {
  align-items: center;
  gap: 6px;
  margin: 0 0 9px;
  font-size: 12px;
  display: flex;
}

.signal h3 svg {
  width: 14px;
}

.signal ul {
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
  margin: 0;
  padding-left: 18px;
  display: grid;
}

.signal li {
  font-size: 10px;
  line-height: 1.4;
}

.signal li small {
  color: var(--muted);
  margin-top: 4px;
  font-size: 7px;
  display: block;
}

.coverage-footer {
  border-top: 1px solid var(--line);
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  padding-top: 12px;
  display: flex;
}

.coverage-footer > div {
  align-items: center;
  gap: 10px;
  display: flex;
}

.coverage-footer b, .coverage-footer p {
  color: #67726d;
  margin: 0;
  font-size: 8px;
}

.coverage-bar {
  background: #e1e6e3;
  width: 110px;
  height: 4px;
}

.coverage-bar i {
  background: var(--green);
  height: 100%;
  display: block;
}

.summary-after {
  text-align: center;
  padding: 20px;
}

.summary-after button {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 5px;
  gap: 7px;
  padding: 11px 15px;
  display: inline-flex;
}

.print-appendix {
  display: none;
}

.empty-inline {
  text-align: center;
  color: #8c9691;
  background: #f7f8f7;
  padding: 15px;
  font-size: 10px;
}

.graph-explorer {
  background: #f8faf9;
  border-top: 1px solid #dfe5e2;
  grid-template-columns: 250px minmax(0, 1fr);
  height: calc(100vh - 193px);
  min-height: 650px;
  display: grid;
  position: relative;
  overflow: hidden;
}

.graph-sidebar {
  z-index: 4;
  background: #fff;
  border-right: 1px solid #dce3df;
  padding: 22px 18px;
  overflow: auto;
}

.graph-summary-head, .control-heading {
  justify-content: space-between;
  align-items: center;
  display: flex;
}

.graph-summary-head {
  color: #34423c;
  font-size: 13px;
  font-weight: 800;
}

.graph-stats {
  border-bottom: 1px solid #e7ebe8;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 18px 0 20px;
  display: grid;
}

.graph-stats strong {
  letter-spacing: -.04em;
  font-size: 23px;
}

.graph-stats small {
  color: #75817b;
  margin-top: 4px;
  font-size: 10px;
  font-weight: 500;
  display: block;
}

.graph-search {
  color: #728078;
  border: 1px solid #ced8d3;
  border-radius: 6px;
  align-items: center;
  gap: 8px;
  height: 42px;
  margin: 18px 0;
  padding: 0 11px;
  display: flex;
}

.graph-search:focus-within {
  border-color: var(--green);
  box-shadow: 0 0 0 3px #1e5a4614;
}

.graph-search input {
  border: 0;
  outline: 0;
  width: 100%;
  font-size: 13px;
}

.graph-control-section {
  border-top: 1px solid #e7ebe8;
  padding: 15px 0;
}

.control-heading {
  margin-bottom: 12px;
  font-size: 12px;
}

.control-heading span, .control-heading button {
  color: #75817b;
  cursor: pointer;
  background: none;
  border: 0;
  font-size: 10px;
}

.hop-control {
  border: 1px solid #d6ded9;
  border-radius: 5px;
  grid-template-columns: repeat(5, 1fr);
  display: grid;
  overflow: hidden;
}

.hop-control button {
  cursor: pointer;
  background: #fff;
  border: 0;
  border-right: 1px solid #d6ded9;
  height: 34px;
  font-size: 12px;
}

.hop-control button:last-child {
  border-right: 0;
}

.hop-control button.active {
  background: var(--green);
  color: #fff;
  font-weight: 800;
}

.kind-filters {
  gap: 7px;
  display: grid;
}

.kind-filters label {
  cursor: pointer;
  grid-template-columns: 16px 10px 1fr auto;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  display: grid;
}

.kind-filters input {
  accent-color: var(--green);
  margin: 0;
}

.kind-filters small {
  color: #87928c;
}

.classification-hint {
  color: #7d6330;
  background: #fff8eb;
  border-radius: 5px;
  margin: 10px 0 0;
  padding: 9px 10px;
  font-size: 9px;
  line-height: 1.45;
}

.kind-dot {
  background: #aab4af;
  border-radius: 50%;
  width: 9px;
  height: 9px;
}

.kind-dot.kind-company, .graph-node.kind-company circle, .minimap-cloud .kind-company {
  fill: #17624f;
  background: #17624f;
}

.kind-dot.kind-project, .graph-node.kind-project circle, .minimap-cloud .kind-project {
  fill: #2f8f83;
  background: #2f8f83;
}

.kind-dot.kind-patent, .graph-node.kind-patent circle, .minimap-cloud .kind-patent {
  fill: #496da8;
  background: #496da8;
}

.kind-dot.kind-person, .graph-node.kind-person circle, .minimap-cloud .kind-person {
  fill: #75669a;
  background: #75669a;
}

.kind-dot.kind-technology, .graph-node.kind-technology circle, .minimap-cloud .kind-technology {
  fill: #c28a38;
  background: #c28a38;
}

.kind-dot.kind-classification, .graph-node.kind-classification circle, .minimap-cloud .kind-classification {
  fill: #a96f2d;
  background: #a96f2d;
}

.kind-dot.kind-evidence, .graph-node.kind-evidence circle, .minimap-cloud .kind-evidence {
  fill: #87949d;
  background: #87949d;
}

.kind-dot.kind-other, .graph-node.kind-other circle, .minimap-cloud .kind-other {
  fill: #b8c1bc;
  background: #b8c1bc;
}

.relation-controls {
  gap: 7px;
  display: grid;
}

.relation-controls .control-heading {
  margin-bottom: 4px;
}

.relation-controls > button {
  text-align: left;
  cursor: pointer;
  background: none;
  border: 0;
  border-radius: 5px;
  align-items: center;
  gap: 9px;
  padding: 8px;
  font-size: 12px;
  display: flex;
}

.relation-controls > button.active {
  color: var(--green);
  background: #eef4f1;
  font-weight: 700;
}

.relation-controls > button i {
  border-top: 2px solid;
  width: 22px;
}

.graph-stage {
  background-color: #f8faf9;
  background-image: radial-gradient(#dbe2de .8px, #0000 .8px);
  background-size: 21px 21px;
  position: relative;
  overflow: hidden;
}

.graph-stage-top {
  z-index: 3;
  background: #ffffffeb;
  border-bottom: 1px solid #dfe5e2;
  justify-content: space-between;
  align-items: center;
  height: 54px;
  padding: 0 20px;
  display: flex;
  position: relative;
}

.graph-breadcrumb {
  align-items: center;
  gap: 8px;
  font-size: 12px;
  display: flex;
}

.graph-breadcrumb button {
  cursor: pointer;
  background: #fff;
  border: 1px solid #d7dfda;
  border-radius: 5px;
  place-items: center;
  width: 31px;
  height: 31px;
  display: grid;
}

.graph-breadcrumb span {
  color: #849089;
}

.graph-top-controls, .density-control, .minimap-toggle {
  align-items: center;
  display: flex;
}

.graph-top-controls {
  color: #6f7e76;
  gap: 18px;
}

.graph-top-controls > small {
  text-align: right;
  min-width: 94px;
  font-size: 10px;
}

.density-control {
  gap: 8px;
  font-size: 11px;
}

.density-control input {
  width: 92px;
  accent-color: var(--green);
}

.density-control b {
  color: #34423c;
  min-width: 30px;
}

.minimap-toggle {
  cursor: pointer;
  gap: 7px;
  font-size: 11px;
}

.minimap-toggle input {
  opacity: 0;
  pointer-events: none;
  position: absolute;
}

.minimap-toggle i {
  background: #cbd4cf;
  border-radius: 12px;
  width: 36px;
  height: 20px;
  transition: background .15s;
  position: relative;
}

.minimap-toggle i:after {
  content: "";
  background: #fff;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  transition: transform .15s;
  position: absolute;
  top: 2px;
  left: 2px;
}

.minimap-toggle input:checked + i {
  background: var(--green);
}

.minimap-toggle input:checked + i:after {
  transform: translateX(16px);
}

.graph-alert {
  z-index: 5;
  color: #9a402c;
  background: #fff5f1;
  border: 1px solid #e2b7a8;
  border-radius: 5px;
  padding: 8px 12px;
  font-size: 12px;
  position: absolute;
  top: 66px;
  left: 50%;
  transform: translateX(-50%);
}

.graph-stage > svg {
  cursor: grab;
  -webkit-user-select: none;
  user-select: none;
  width: 100%;
  height: calc(100% - 54px);
}

.graph-stage > svg.is-dragging {
  cursor: grabbing;
}

.graph-line {
  fill: none;
  stroke: #bdc8c2;
  stroke-width: .9px;
  cursor: pointer;
  pointer-events: stroke;
  transition: opacity .15s, stroke .15s;
}

.graph-line.primary {
  stroke: #1e6a50;
  stroke-width: 1.8px;
}

.graph-line.weak {
  stroke-dasharray: 3 4;
  opacity: .62;
}

.graph-line.evidence:not(.primary) {
  stroke: #9aaca3;
}

.graph-line:hover, .graph-line.selected {
  stroke: var(--green);
  stroke-width: 3.5px;
}

.graph-edge-hit {
  cursor: pointer;
  pointer-events: stroke;
}

.graph-edge-hit:focus {
  stroke: #1e5a462e;
  outline: none;
}

.graph-edge-marker {
  opacity: 0;
  pointer-events: all;
  cursor: pointer;
}

.graph-edge-marker circle {
  fill: #fff;
  stroke: #8fb0a2;
  stroke-width: 1.5px;
}

.graph-edge-marker text {
  fill: var(--green);
  font-size: 8px;
  font-weight: 800;
}

.graph-edge-marker.primary, .graph-edge:hover .graph-edge-marker, .graph-edge:focus .graph-edge-marker {
  opacity: 1;
}

.graph-edge:focus {
  outline: none;
}

.graph-edge:focus .graph-edge-marker circle {
  stroke: var(--lime);
  stroke-width: 3px;
}

.graph-edge-action {
  cursor: pointer;
  opacity: .18;
  outline: none;
}

.graph-edge-action circle {
  fill: #f8faf9;
  stroke: #8fb0a2;
  stroke-width: 1.2px;
}

.graph-edge-action text {
  fill: var(--green);
  pointer-events: none;
  font-size: 8px;
  font-weight: 850;
}

.graph-edge-action:hover, .graph-edge-action:focus, .graph-edge-action.selected {
  opacity: 1;
}

.graph-edge-action:hover circle, .graph-edge-action:focus circle {
  fill: #fff;
  stroke: var(--lime);
  stroke-width: 3px;
}

.graph-node {
  cursor: grab;
  outline: none;
  transition: opacity .15s;
}

.graph-node.is-dragging {
  cursor: grabbing;
}

.graph-node.is-dragging circle {
  stroke: var(--lime);
  stroke-width: 5px;
}

.graph-node circle {
  stroke: #fff;
  stroke-width: 2.5px;
  filter: drop-shadow(0 2px 3px #122a211f);
}

.graph-node.center circle {
  fill: #103f34;
  stroke: #b7d86b;
  stroke-width: 6px;
}

.graph-node text {
  fill: #34423c;
  paint-order: stroke;
  stroke: #f8faf9;
  stroke-width: 4px;
  stroke-linejoin: round;
  font-size: 9px;
  font-weight: 650;
}

.graph-node.center text {
  fill: #153d2f;
  stroke-width: 5px;
  font-weight: 850;
}

.graph-node.selected circle {
  stroke: var(--lime);
  stroke-width: 5px;
}

.graph-node .hop-badge {
  fill: #fff;
  stroke: none;
  font-size: 8px;
  font-weight: 900;
}

.graph-node.faded, g.faded {
  opacity: .24;
}

.graph-zoom-controls {
  z-index: 3;
  background: #fff;
  border: 1px solid #d5ded9;
  border-radius: 6px;
  display: grid;
  position: absolute;
  bottom: 18px;
  left: 18px;
  overflow: hidden;
}

.graph-zoom-controls button {
  cursor: pointer;
  background: #fff;
  border: 0;
  border-bottom: 1px solid #e3e8e5;
  place-items: center;
  width: 38px;
  height: 38px;
  display: grid;
}

.graph-zoom-controls button:last-child {
  border: 0;
}

.graph-minimap {
  z-index: 2;
  background: #fffffff0;
  border: 1px solid #d4ddd8;
  border-radius: 6px;
  width: 150px;
  height: 105px;
  padding: 8px;
  position: absolute;
  top: 70px;
  right: 18px;
}

.minimap-cloud {
  background: #f7f9f8;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.minimap-cloud i {
  border-radius: 50%;
  width: 3px;
  height: 3px;
  position: absolute;
  transform: translate(-50%, -50%);
}

.graph-minimap > span {
  border: 1px solid var(--green);
  pointer-events: none;
  position: absolute;
  inset: 22px 28px;
}

.inspector {
  z-index: 5;
  background: #fff;
  border: 1px solid #d5ded9;
  border-radius: 7px;
  width: min(315px, 28vw);
  padding: 20px;
  position: absolute;
  top: 198px;
  bottom: 22px;
  right: 20px;
  overflow: auto;
  box-shadow: 0 16px 38px #122a2121;
}

.inspector-head {
  border-bottom: 1px solid var(--line);
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 8px;
  padding-bottom: 13px;
  font-size: 11px;
  display: grid;
}

.inspector-head span {
  gap: 5px;
  display: flex;
}

.inspector-head small {
  color: var(--green);
}

.inspector-head button {
  cursor: pointer;
  color: #6f7b75;
  background: none;
  border: 0;
}

.inspector h2 {
  margin: 20px 0 8px;
  font-size: 22px;
}

.inspector-actions {
  gap: 8px;
  margin-top: 18px;
  display: grid;
}

.inspector-actions button {
  min-height: 42px;
  color: var(--green);
  cursor: pointer;
  background: #fff;
  border: 1px solid #b9c9c1;
  border-radius: 5px;
  justify-content: center;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 750;
  display: flex;
}

.inspector-actions button.inspector-primary {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}

.relation-direction {
  color: var(--muted);
  font-size: 9px;
}

.property-list {
  margin: 20px 0;
}

.property-list div {
  border-top: 1px solid #eef1ef;
  padding: 9px 0;
}

.property-list dt {
  color: var(--muted);
  margin-bottom: 4px;
  font-size: 8px;
}

.property-list dd {
  word-break: break-all;
  margin: 0;
  font-size: 10px;
  line-height: 1.5;
}

.patent-classifications {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 18px 0;
  padding: 14px 0;
}

.classification-heading, .classification-heading > div {
  align-items: center;
  display: flex;
}

.classification-heading {
  justify-content: space-between;
  gap: 10px;
}

.classification-heading > div {
  gap: 7px;
}

.classification-heading b {
  font-size: 11px;
}

.classification-heading span {
  color: var(--muted);
  font-size: 9px;
}

.classification-heading > button {
  color: #7a591e;
  cursor: pointer;
  background: #fff8eb;
  border: 1px solid #d6a650;
  border-radius: 5px;
  padding: 6px 8px;
  font-size: 9px;
  font-weight: 750;
}

.classification-heading > button:disabled {
  color: #8a948f;
  cursor: default;
  background: #f4f6f5;
  border-color: #dfe5e2;
}

.classification-chips {
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 11px;
  display: flex;
}

.classification-chips button {
  color: #6f521c;
  cursor: pointer;
  background: #fffaf1;
  border: 1px solid #efd5a8;
  border-radius: 999px;
  align-items: center;
  gap: 5px;
  max-width: 100%;
  padding: 6px 8px;
  display: inline-flex;
}

.classification-chips button:hover {
  background: #fff4df;
  border-color: #d98917;
}

.classification-chips small {
  color: #a46a10;
  font-size: 8px;
  font-weight: 800;
}

.classification-chips span {
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 190px;
  font-size: 9px;
  overflow: hidden;
}

.patent-classifications > p {
  color: var(--muted);
  margin: 10px 0 0;
  font-size: 8px;
  line-height: 1.45;
}

.inspector details {
  border-top: 1px solid var(--line);
  padding-top: 12px;
  font-size: 9px;
}

.inspector summary {
  cursor: pointer;
  justify-content: space-between;
  display: flex;
}

.inspector pre {
  white-space: pre-wrap;
  color: #68746e;
  font-size: 8px;
}

.connected-evidence {
  border-top: 1px solid var(--line);
  margin: 18px 0;
  padding-top: 14px;
}

.connected-evidence > div {
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 11px;
  display: flex;
}

.connected-evidence > div span {
  color: var(--muted);
  font-size: 9px;
}

.connected-evidence > button {
  text-align: left;
  cursor: pointer;
  background: none;
  border: 0;
  border-bottom: 1px solid #edf1ef;
  gap: 3px;
  width: 100%;
  padding: 9px 0;
  display: grid;
}

.connected-evidence > button small {
  color: var(--green);
  font-size: 8px;
}

.connected-evidence > button span {
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 10px;
  overflow: hidden;
}

.inspector-foot {
  color: var(--muted);
  font-size: 8px;
}

.qa-layout {
  grid-template-columns: 280px 1fr;
  gap: 18px;
  width: min(1180px, 100% - 40px);
  min-height: 650px;
  margin: 26px auto;
  display: grid;
}

.prompt-sidebar, .qa-main {
  border: 1px solid var(--line);
  background: #fff;
  padding: 24px;
}

.prompt-sidebar h2 {
  margin: 0 0 20px;
  font-size: 20px;
}

.prompt-group h3 {
  color: var(--green);
  margin: 15px 0 6px;
  font-size: 9px;
}

.prompt-group button {
  text-align: left;
  cursor: pointer;
  background: #f5f7f5;
  border: 0;
  width: 100%;
  margin: 4px 0;
  padding: 9px;
  font-size: 10px;
  display: block;
}

.qa-main {
  flex-direction: column;
  display: flex;
}

.context-banner {
  background: #eff4f0;
  align-items: center;
  gap: 8px;
  padding: 10px;
  font-size: 10px;
  display: flex;
}

.context-banner small {
  color: var(--muted);
  margin-left: auto;
}

.qa-empty {
  text-align: center;
  color: #829088;
  margin: auto;
}

.qa-empty h2 {
  color: var(--ink);
  font-size: 18px;
}

.qa-empty p {
  font-size: 11px;
}

.answer-card {
  grid-template-columns: 36px 1fr;
  gap: 13px;
  margin: 30px 0;
  display: grid;
}

.ai-avatar {
  background: var(--green);
  color: #fff;
  border-radius: 50%;
  place-items: center;
  width: 34px;
  height: 34px;
  font-size: 9px;
  display: grid;
}

.ai-avatar.is-working {
  animation: 1.4s ease-in-out infinite evidence-avatar-pulse;
}

.evidence-loading {
  align-self: stretch;
  margin-top: 34px;
}

.evidence-loading > div:last-child {
  background: linear-gradient(135deg, #f9fbfa, #f2f7f4);
  border: 1px solid #dce6e1;
  border-radius: 7px;
  max-width: 620px;
  padding: 18px 20px;
}

.evidence-loading h2 {
  color: var(--ink);
  margin: 4px 0 5px;
  font-size: 17px;
}

.loading-detail {
  color: #637169;
  margin: 0;
  font-size: 11px;
}

.evidence-progress {
  background: #dce6e1;
  border-radius: 3px;
  height: 3px;
  margin: 17px 0 15px;
  overflow: hidden;
}

.evidence-progress span {
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--lime));
  width: 38%;
  height: 100%;
  animation: 1.25s ease-in-out infinite evidence-progress;
  display: block;
}

.evidence-steps {
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
}

.evidence-steps li {
  color: #929d97;
  align-items: center;
  gap: 6px;
  font-size: 9px;
  display: flex;
}

.evidence-steps i {
  background: #fff;
  border: 1px solid #d3ddd8;
  border-radius: 50%;
  flex: none;
  place-items: center;
  width: 20px;
  height: 20px;
  font-size: 8px;
  font-style: normal;
  display: grid;
}

.evidence-steps li.active {
  color: var(--green);
  font-weight: 800;
}

.evidence-steps li.active i {
  border-color: var(--green);
  box-shadow: 0 0 0 3px #22644c17;
}

.evidence-steps li.done {
  color: #607168;
}

.evidence-steps li.done i {
  color: var(--green);
  background: #edf5f1;
  border-color: #c3d7cc;
}

.loading-note {
  color: #87928c;
  margin-top: 15px;
  font-size: 8px;
  display: block;
}

@keyframes evidence-progress {
  0% {
    transform: translateX(-105%);
  }

  100% {
    transform: translateX(265%);
  }
}

@keyframes evidence-avatar-pulse {
  0%, 100% {
    box-shadow: 0 0 #1f604933;
  }

  50% {
    box-shadow: 0 0 0 8px #1f604900;
  }
}

.answer-text {
  color: #26342e;
  font-size: 12px;
  line-height: 1.72;
}

.answer-text > :first-child {
  margin-top: 0;
}

.answer-text > :last-child {
  margin-bottom: 0;
}

.answer-text h1, .answer-text h2, .answer-text h3 {
  color: var(--ink);
  line-height: 1.35;
}

.answer-text h1 {
  margin: 22px 0 10px;
  font-size: 18px;
}

.answer-text h2 {
  border-bottom: 1px solid #e3e9e6;
  margin: 20px 0 9px;
  padding-bottom: 6px;
  font-size: 15px;
}

.answer-text h3 {
  margin: 17px 0 7px;
  font-size: 13px;
}

.answer-text p {
  margin: 8px 0;
}

.answer-text ul, .answer-text ol {
  margin: 8px 0;
  padding-left: 22px;
}

.answer-text li {
  margin: 4px 0;
  padding-left: 2px;
}

.answer-text li::marker {
  color: var(--green);
  font-weight: 800;
}

.answer-text strong {
  color: #173f31;
  font-weight: 800;
}

.answer-text em {
  color: #596860;
}

.answer-text blockquote {
  border-left: 3px solid var(--green);
  color: #506057;
  background: #f3f7f5;
  margin: 12px 0;
  padding: 8px 12px;
}

.answer-text code {
  background: #edf2ef;
  border-radius: 3px;
  padding: 2px 4px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
}

.answer-text pre {
  color: #edf5f1;
  background: #18251f;
  border-radius: 5px;
  margin: 12px 0;
  padding: 12px;
  overflow-x: auto;
}

.answer-text pre code {
  color: inherit;
  background: none;
  padding: 0;
}

.answer-text a {
  color: var(--green);
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}

.answer-text table {
  border-collapse: collapse;
  width: 100%;
  margin: 12px 0;
  font-size: 10px;
}

.answer-text th, .answer-text td {
  text-align: left;
  vertical-align: top;
  border: 1px solid #dce4df;
  padding: 7px 8px;
}

.answer-text th {
  color: var(--green);
  background: #f1f5f3;
  font-weight: 800;
}

.answer-text hr {
  border: 0;
  border-top: 1px solid #dce4df;
  margin: 18px 0;
}

.citation-chips {
  gap: 6px;
  margin-top: 15px;
  display: flex;
}

.citation-chips span {
  color: var(--green);
  border: 1px solid #cbd8d2;
  border-radius: 20px;
  padding: 5px 8px;
  font-size: 8px;
}

.chat-box {
  border: 1px solid #a8b9b0;
  align-items: end;
  margin-top: auto;
  padding: 8px;
  display: flex;
}

.chat-box textarea {
  resize: none;
  border: 0;
  outline: 0;
  flex: 1;
  min-height: 55px;
  padding: 10px;
}

.chat-box button {
  background: var(--ink);
  color: #fff;
  border: 0;
  justify-content: center;
  align-items: center;
  gap: 7px;
  min-width: 92px;
  padding: 10px 15px;
  display: inline-flex;
}

.chat-box button:disabled {
  opacity: .78;
  cursor: wait;
}

.button-spinner {
  border: 2px solid #ffffff59;
  border-top-color: #fff;
  border-radius: 50%;
  width: 12px;
  height: 12px;
  animation: .75s linear infinite button-spin;
}

@keyframes button-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ai-avatar.is-working, .evidence-progress span, .button-spinner {
    animation: none;
  }
}

.appendix {
  width: min(1000px, 100% - 40px);
  box-shadow: var(--shadow);
  background: #fff;
  margin: 30px auto 80px;
  padding: 38px;
}

.appendix-head {
  border-bottom: 2px solid var(--ink);
  padding-bottom: 20px;
  position: relative;
}

.appendix-head h2 {
  margin: 0;
  font-size: 27px;
}

.appendix-head > span {
  font-size: 9px;
  position: absolute;
  bottom: 20px;
  right: 0;
}

.appendix article {
  border-bottom: 1px solid var(--line);
  break-inside: avoid;
  padding: 22px 0;
}

.appendix article h3 {
  margin: 0 0 12px;
  font-size: 14px;
}

.appendix article h3 span {
  color: var(--green);
  margin-right: 10px;
  font-size: 9px;
}

.appendix article p, .appendix article li {
  color: #52605a;
  font-size: 11px;
  line-height: 1.7;
}

.peer-table > div {
  border-top: 1px solid #edf0ee;
  grid-template-columns: 1fr 60px 1fr;
  padding: 8px;
  font-size: 10px;
  display: grid;
}

.asset-appendix-list {
  border-bottom: 1px solid #e4e9e6;
}

.appendix-asset {
  border-top: 1px solid #e4e9e6;
}

.appendix-asset > summary {
  cursor: pointer;
  grid-template-columns: 72px minmax(0, 1fr) 180px 20px;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 9px 8px;
  list-style: none;
  display: grid;
}

.appendix-asset > summary::-webkit-details-marker {
  display: none;
}

.appendix-asset > summary:hover {
  background: #f6f9f7;
}

.appendix-asset > summary:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: -2px;
}

.appendix-asset > summary b {
  font-size: 13px;
  line-height: 1.45;
}

.appendix-asset > summary small {
  color: var(--muted);
  text-align: right;
  font-size: 11px;
}

.appendix-asset > summary svg {
  color: #718078;
  transition: transform .18s;
}

.appendix-asset[open] > summary svg {
  transform: rotate(180deg);
}

.appendix-asset[open] > summary {
  background: #f2f7f4;
}

.asset-kind {
  color: #59675f;
  background: #edf2ef;
  border-radius: 999px;
  width: fit-content;
  padding: 4px 7px;
  font-size: 10px;
  font-weight: 800;
}

.asset-kind.kind-patent {
  color: #285ec7;
  background: #eaf0ff;
}

.asset-kind.kind-project {
  color: #267e82;
  background: #e8f7f7;
}

.asset-kind.kind-technology, .asset-kind.kind-classification {
  color: #9a640d;
  background: #fff3df;
}

.asset-summary-panel {
  border-left: 3px solid var(--green);
  background: #fafcfb;
  margin: 0 8px 12px 92px;
  padding: 18px 20px;
}

.asset-summary-heading {
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  display: flex;
}

.asset-summary-heading b {
  color: var(--ink);
  font-size: 12px;
}

.asset-summary-heading span {
  color: var(--green);
  font-size: 10px;
}

.appendix .asset-summary-panel > p {
  color: #394940;
  white-space: pre-wrap;
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.8;
}

.appendix .asset-summary-panel > p.asset-summary-empty {
  color: #7e8983;
}

.asset-summary-meta {
  border-top: 1px solid #e3e9e6;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin: 16px 0 0;
  padding-top: 12px;
  display: flex;
}

.asset-summary-meta div {
  min-width: 130px;
}

.asset-summary-meta dt {
  color: var(--muted);
  margin-bottom: 4px;
  font-size: 10px;
}

.asset-summary-meta dd {
  color: #33423a;
  word-break: break-word;
  margin: 0;
  font-size: 11px;
}

.appendix footer {
  text-align: center;
  color: #77817c;
  margin-top: 30px;
  font-size: 8px;
}

.not-found-card {
  border: 1px solid var(--line);
  width: min(620px, 100% - 40px);
  box-shadow: var(--shadow);
  background: #fff;
  margin: 12vh auto;
  padding: 52px;
}

.not-found-card h1 {
  letter-spacing: -.04em;
  font-size: 30px;
}

.not-found-card p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.7;
}

.not-found-card a {
  background: var(--ink);
  color: #fff;
  border-radius: 5px;
  margin-top: 18px;
  padding: 12px 16px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
}

@media screen {
  body {
    font-size: 15px;
  }

  .eyebrow {
    font-size: 12px;
  }

  .header-meta, .company-sticky p, .company-actions, .tabs button, .summary-kicker, .panel-title span, .metrics-grid span, .metrics-grid small, .signal small {
    font-size: 13px;
  }

  .lede, .business-panel dd, .timeline li, .signal li, .property-list dd, .prompt-group button, .qa-empty p, .answer-text, .appendix article p, .appendix article li {
    font-size: 15px;
  }

  .company-card p, .company-card small, .method, .graph-hint, .inspector-foot, .citation-chips span, .graph-summary-head, .control-heading, .hop-control button, .kind-filters label, .relation-controls > button, .graph-breadcrumb, .density-control, .minimap-toggle, .graph-top-controls > small {
    font-size: 13px;
  }

  .classification-hint, .relation-direction, .inspector details, .inspector pre, .classification-heading span, .classification-heading > button, .classification-chips span, .patent-classifications > p, .connected-evidence > div span, .connected-evidence > button small, .inspector-foot {
    font-size: 11px;
  }

  .inspector-head, .classification-heading b, .connected-evidence > div, .connected-evidence > button span, .inspector-actions button {
    font-size: 13px;
  }

  .property-list dt {
    font-size: 11px;
  }

  .property-list dd {
    font-size: 13px;
  }

  .graph-node text {
    font-size: 11px;
  }

  .graph-node .hop-badge, .graph-edge-marker text, .graph-edge-action text {
    font-size: 9px;
  }

  .prompt-group h3, .context-banner, .evidence-steps li, .loading-note {
    font-size: 12px;
  }

  .qa-empty p, .loading-detail {
    font-size: 14px;
  }

  .answer-text {
    font-size: 16px;
  }

  .answer-text h1 {
    font-size: 21px;
  }

  .answer-text h2 {
    font-size: 18px;
  }

  .answer-text h3 {
    font-size: 16px;
  }

  .answer-text code, .answer-text table {
    font-size: 12px;
  }

  .appendix article h3 {
    font-size: 16px;
  }

  .peer-table > div, .appendix footer {
    font-size: 12px;
  }

  .appendix-asset > summary b {
    font-size: 15px;
  }

  .appendix-asset > summary small, .asset-summary-meta dd {
    font-size: 12px;
  }

  .asset-summary-heading b {
    font-size: 14px;
  }

  .asset-summary-heading span, .asset-kind, .asset-summary-meta dt {
    font-size: 11px;
  }
}

@media (max-width: 900px) {
  .login-shell {
    grid-template-columns: 1fr;
  }

  .login-brand {
    display: none;
  }

  .company-grid {
    grid-template-columns: 1fr;
  }

  .company-actions span {
    display: none;
  }

  .company-sticky {
    padding: 0 15px;
  }

  .summary-columns, .signal-grid {
    grid-template-columns: 1fr;
  }

  .metrics-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .qa-layout {
    grid-template-columns: 1fr;
  }

  .appendix-asset > summary {
    grid-template-columns: 68px minmax(0, 1fr) 20px;
  }

  .appendix-asset > summary small {
    display: none;
  }

  .asset-summary-panel {
    margin-left: 8px;
  }

  .prompt-sidebar {
    display: none;
  }

  .graph-explorer {
    grid-template-columns: 210px minmax(0, 1fr);
    height: calc(100vh - 170px);
  }

  .graph-sidebar {
    padding: 16px 12px;
  }

  .inspector {
    width: min(290px, 42vw);
    top: 180px;
    right: 12px;
  }
}

@media (max-width: 680px) {
  .graph-explorer {
    height: auto;
    min-height: 0;
    display: block;
    overflow: visible;
  }

  .graph-sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .graph-stage {
    height: 620px;
  }

  .inspector {
    width: auto;
    max-height: 440px;
    margin: 12px;
    position: relative;
    inset: auto;
  }
}

@page {
  size: A4 portrait;
  margin: 10mm;
}

@media print {
  body {
    background: #fff;
  }

  .no-print, .global-header, .company-sticky, .tabs, .summary-after {
    display: none !important;
  }

  .workspace {
    min-height: auto;
  }

  .summary-wrap {
    width: 100%;
    margin: 0;
  }

  .summary-page {
    box-shadow: none;
    border: 0;
    height: 277mm;
    padding: 0;
    overflow: hidden;
  }

  .summary-page, .appendix article {
    break-inside: avoid;
  }

  .print-appendix {
    break-before: page;
    display: block;
  }

  .print-appendix .appendix {
    box-shadow: none;
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .metrics-grid strong {
    font-size: 14px;
  }

  .identity {
    padding: 15px 0;
  }

  .summary-columns {
    margin-top: 12px;
  }

  .signal-grid {
    margin-top: 10px;
  }

  .appendix footer {
    position: fixed;
    bottom: 0;
  }

  .graph-explorer {
    display: none;
  }
}

/*# sourceMappingURL=app_globals_0yg4wg8.css.map*/