/* Faithful blue-white glass workspace; geometry follows the selected reference. */
.business-link {
  --link-line: #5b7fb5;
  --link-cash: #4d7dc0;
  --link-goods: #279696;
  --link-points: #8b7cad;
  --link-settlement: #ac8b4e;
  --link-neutral: #819abd;
  height: 100%;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 402px;
  grid-template-rows: 68px minmax(0, 1fr);
  position: relative;
  isolation: isolate;
  border: 1px solid #e0ebfa;
  border-radius: 18px;
  padding: 8px 10px 10px;
  background: #ffffff80;
  color: #173157;
  overflow: hidden;
  box-shadow: inset 0 1px #fff;
}
.business-link:before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../../assets/afb-halo.webp') right top/100% 100% no-repeat;
  opacity: 0.2;
  pointer-events: none;
  z-index: -1;
}
.link-icon {
  display: inline-block;
  width: 18px;
  height: 18px;
  object-fit: contain;
  vertical-align: middle;
  flex-shrink: 0;
  opacity: 1;
}
.link-heading {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
  min-width: 0;
  padding: 12px 16px;
  border: 1px solid #dce8fa;
  border-radius: 16px;
  background: #ffffffa8;
  box-shadow: inset 0 1px #fff;
}
.link-heading-title {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.link-heading-symbol {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  background: #edf4ff;
  border-radius: 13px;
  flex-shrink: 0;
}
.link-heading-symbol > .link-icon {
  width: 23px;
  height: 23px;
  filter: var(--link-icon-blue);
}
.link-heading-title > div {
  display: flex;
  align-items: baseline;
  gap: 20px;
}
.link-heading h3 {
  font-size: 24px;
  line-height: 1.3;
  font-weight: 650;
  color: #102852;
  letter-spacing: -0.035em;
  margin: 0;
}
.link-heading p {
  font-size: 14px;
  line-height: 1.4;
  margin: 3px 0 0;
  color: #607aa3;
  font-variant-numeric: tabular-nums;
}
.link-toolbar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-left: 12px;
}
.link-mode-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 3px;
  border: 1px solid #d9e6fb;
  border-radius: 27px;
  background: #f8fbff8f;
  box-shadow: inset 0 1px #fff;
}
.link-mode-switch button {
  font-size: 14px;
  font-weight: 550;
  color: #58749f;
  padding: 9px 24px;
  border-radius: 23px;
  white-space: nowrap;
  min-height: 36px;
  min-width: 126px;
}
.link-mode-switch button[aria-pressed='true'] {
  background: #3784f4;
  color: #fff;
  box-shadow:
    inset 0 1px 4px #ffffff6b,
    0 3px 9px #428bf32e;
}
.link-search-slot {
  grid-column: 2;
  grid-row: 1;
  align-self: start;
  padding: 5px 1px 0 16px;
}
.link-search {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 50px;
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #dce7f8;
  border-radius: 17px;
  background: #ffffffa1;
  box-shadow: inset 0 1px #fff;
}
.link-search .link-icon {
  width: 18px;
  height: 18px;
  filter: var(--link-icon-muted);
}
.link-search input {
  font: inherit;
  font-size: 13px;
  line-height: 1.4;
  outline: 0;
  border: 0;
  background: none;
  min-width: 0;
  width: 100%;
  padding: 0;
  color: #36557e;
  border-radius: 0;
}
.link-search input::placeholder {
  color: #7e94b2;
}
.link-search:focus-within {
  outline: 2px solid #9cc2fc;
  outline-offset: 2px;
}
.link-workspace {
  overflow-anchor: none;
  grid-column: 1/-1;
  grid-row: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 402px;
  min-height: 0;
  scrollbar-width: none;
}
.link-main {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  position: relative;
  background: transparent;
}
.link-side {
  min-width: 0;
  min-height: 0;
  margin-left: 16px;
  border: 1px solid #dbe7f8;
  border-radius: 15px;
  background: #ffffffb8;
  box-shadow:
    inset 0 1px #fff,
    0 7px 25px -20px #628ac33b;
  overflow: hidden;
}
.link-map-scroll {
  overflow-anchor: none;
  flex: 1;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  cursor: grab;
  outline-offset: -3px;
}
.link-map-scroll::-webkit-scrollbar,
.link-workspace::-webkit-scrollbar,
.link-inspector-scroll::-webkit-scrollbar,
.link-records::-webkit-scrollbar,
.link-members::-webkit-scrollbar,
.link-all-scroll::-webkit-scrollbar {
  display: none;
}
.link-map-scroll:active {
  cursor: grabbing;
}
.link-world-frame {
  position: relative;
  margin: 0;
  overflow: hidden;
}
.link-world {
  position: absolute;
  transform-origin: 0 0;
  left: 0;
  top: 0;
}
.link-connectors {
  position: absolute;
  left: 0;
  top: 0;
  pointer-events: none;
  overflow: visible;
}
.tone-cash {
  --link-tone: var(--link-cash);
}
.tone-goods {
  --link-tone: var(--link-goods);
}
.tone-points {
  --link-tone: var(--link-points);
}
.tone-settlement {
  --link-tone: var(--link-settlement);
}
.tone-neutral {
  --link-tone: var(--link-neutral);
}
.link-edge {
  fill: none;
  stroke: #8ba7cf;
  stroke-width: 1.15;
  opacity: 0.8;
}
.link-edge.is-active {
  stroke: #3f7dcc;
  stroke-width: 1.3;
  opacity: 1;
}
.link-connectors marker path {
  fill: #4774ad;
  stroke: none;
}
.link-edge-label {
  position: absolute;
  transform: translateX(-50%);
  font-size: 12px;
  line-height: 1.5;
  color: #58749c;
  padding: 1px 5px;
  background: #f9fcffb8;
  pointer-events: auto;
  cursor: help;
  white-space: nowrap;
}
.link-node {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
  font: inherit;
  color: #19365e;
  padding: 12px;
  border: 1px solid #d1e2fb;
  border-radius: 13px;
  background: #ffffffa8;
  box-shadow:
    inset 0 1px #fff,
    0 9px 24px -15px #638ac323;
  backdrop-filter: blur(16px) saturate(118%);
  cursor: pointer;
  transition:
    border-color 0.18s,
    box-shadow 0.18s,
    background 0.18s;
  min-width: 0;
  margin: 0;
}
.link-node:hover {
  border-color: #8ab6f4;
  background: #ffffffd6;
  box-shadow:
    0 7px 23px -12px #3b7ce547,
    inset 0 1px #fff;
}
.link-node.is-selected {
  border-color: #0874ff;
  box-shadow:
    0 0 0 2px #c4dcffb3,
    inset 0 0 0 1px #fff,
    0 5px 15px -8px #317df12e;
  background: #ffffffd9;
}
.link-node-heading {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
  line-height: 1.4;
}
.link-node-symbol {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  background: #edf4ff;
  border-radius: 11px;
  flex-shrink: 0;
}
.link-node-symbol > .link-icon {
  width: 23px;
  height: 23px;
  filter: var(--link-icon-blue);
}
.link-node-heading-copy {
  min-width: 0;
  flex: 1;
  display: block;
}
.link-node-heading-copy > strong {
  display: block;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 650;
  color: #102951;
  overflow-wrap: anywhere;
}
.link-node-heading-copy > small {
  display: block;
  font-size: 12px;
  line-height: 1.4;
  color: #6882af;
  margin-top: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.link-node-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 43px;
  min-width: 0;
}
.link-node-body > small {
  display: block;
  font-size: 12px;
  line-height: 1.5;
  color: #56719c;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.link-node-value {
  display: block;
  font-size: 19px;
  line-height: 1.3;
  font-weight: 650;
  letter-spacing: -0.025em;
  font-variant-numeric: tabular-nums;
  color: #143a70;
}
.link-node-value em {
  font-size: 12px;
  font-weight: 450;
  font-style: normal;
  color: #5c78a4;
  letter-spacing: 0;
}
.link-node-foot {
  display: flex;
  gap: 3px;
  align-items: center;
  margin-top: auto;
  padding-left: 43px;
  font-size: 12px;
  line-height: 1.4;
  color: #5675a3;
  min-width: 0;
  white-space: nowrap;
}
.link-node-foot .link-icon {
  width: 10px;
  height: 10px;
  opacity: 0.65;
  margin-left: 2px;
}
.link-node-badge {
  padding-left: 43px;
}
.link-status {
  display: inline-block;
  width: fit-content;
  padding: 3px 6px;
  font-size: 11px;
  font-weight: 550;
  line-height: 1.3;
  border-radius: 5px;
  white-space: nowrap;
}
.link-status.green {
  color: #14998e;
  background: #dcf4ef;
}
.link-status.amber {
  color: #a97720;
  background: #fff4d9;
  border: 1px solid #ffe2a4;
}
.link-status.grey {
  color: #6c82a5;
  background: #edf2fa;
}
.link-status.purple {
  color: #7d6fa4;
  background: #f0ecf9;
}
.link-node.is-outside-context {
  background: #ffffff60;
  border-style: dashed;
  box-shadow: none;
  opacity: 0.67;
}
.link-node.is-outside-context .link-node-symbol > .link-icon {
  filter: invert(57%) sepia(16%) saturate(685%) hue-rotate(178deg);
}
.link-node.is-overflow .link-node-heading {
  flex-direction: column;
  gap: 5px;
}
.link-node.is-overflow .link-node-body,
.link-node.is-overflow .link-node-foot {
  padding-left: 0;
}
.group-orders .link-node-symbol > .link-icon {
  filter: invert(10%) sepia(45%) saturate(1499%) hue-rotate(182deg);
}
.group-payments .link-node-symbol {
  background: #e6f7f2;
}
.group-payments .link-node-symbol > .link-icon {
  filter: var(--link-icon-teal);
}
.group-settlement .link-node-symbol {
  background: #fff4dd;
}
.group-settlement .link-node-symbol > .link-icon {
  filter: var(--link-icon-amber);
}
.group-settlement .link-node-body {
  padding-left: 43px;
  gap: 5px;
}
.group-settlement .link-node-body > small {
  font-size: 12px;
  display: flex;
  align-items: baseline;
  gap: 5px;
  overflow: visible;
}
.group-settlement .link-node-value {
  display: inline;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.group-settlement .link-node-value em {
  font-size: 11px;
}
.group-settlement .link-pending .link-node-value {
  color: #bd8a35;
}
.group-settlement .link-pending {
  color: #bd8a35;
}
.group-transfers {
  padding: 10px;
}
.group-transfers .link-node-symbol {
  width: 28px;
  height: 28px;
}
.group-transfers .link-node-heading {
  gap: 6px;
}
.group-transfers .link-node-heading-copy > strong {
  font-size: 13px;
}
.group-transfers .link-node-body,
.group-transfers .link-node-foot {
  padding-left: 0;
  font-size: 10px;
}
.group-transfers .link-node-body > small {
  font-size: 11px;
  white-space: normal;
}
.group-suppliers {
  cursor: default;
  justify-content: center;
  background: #ffffff9c;
}
.group-suppliers .link-node-heading-copy > strong {
  font-size: 15px;
}
.group-suppliers .link-node-heading-copy > small {
  font-size: 12px;
  white-space: normal;
}
.group-contributors {
  padding: 11px 9px;
  background: #f7fbffb8;
}
.link-contribution-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 4px 8px;
  color: #173b6b;
}
.link-contribution-heading > .link-icon {
  width: 27px;
  height: 27px;
  padding: 4px;
  border-radius: 9px;
  background: #e7f1ff;
  filter: var(--link-icon-blue);
}
.link-contribution-heading > strong {
  font-size: 14px;
  font-weight: 650;
}
.link-contribution-heading > small {
  font-size: 11px;
  color: #6c85aa;
  white-space: nowrap;
}
.link-contribution-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.link-contribution-row {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 10px 8px;
  min-height: 77px;
  border: 1px solid #dce8fb;
  border-radius: 10px;
  background: #ffffffc9;
  box-shadow: inset 0 1px #fff;
}
.link-contributor-icon {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border-radius: 10px;
  background: #edf4ff;
  flex-shrink: 0;
}
.link-contributor-icon > .link-icon {
  width: 22px;
  height: 22px;
  filter: var(--link-icon-blue);
}
.link-contribution-row > span:nth-child(2) {
  min-width: 0;
  flex: 1;
}
.link-contribution-row strong {
  display: block;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.4;
  color: #15335f;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.link-contribution-row small {
  display: block;
  font-size: 11px;
  color: #6c84a7;
  line-height: 1.35;
  margin: 1px 0;
}
.link-contributor-amount .link-node-value {
  font-size: 16px;
  color: #138f91;
}
.link-contributor-amount .link-node-value em {
  font-size: 11px;
  color: #507993;
}
.link-contribution-row > em {
  position: absolute;
  bottom: 9px;
  right: 7px;
  padding: 3px 5px;
  background: #e4f0ff;
  border: 1px solid #c9dfff;
  border-radius: 5px;
  color: #347bd1;
  font-size: 10px;
  line-height: 1.2;
  font-weight: 550;
  font-style: normal;
}
.group-contributors > .link-node-foot {
  padding-left: 4px;
  padding-top: 6px;
  font-size: 11px;
}
.link-map-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 12px 2px 4px;
  min-height: 43px;
  flex-shrink: 0;
  background: #ffffff38;
}
.link-legend {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 11px;
  color: #5b76a3;
}
.link-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.link-legend span:before {
  content: '';
  width: 22px;
  height: 1.5px;
  background: var(--link-line);
}
.link-map-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}
.link-map-controls button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 32px;
  height: 34px;
  border: 1px solid #d9e6f8;
  background: #ffffffbd;
  border-radius: 8px;
  padding: 7px 11px;
  box-shadow: inset 0 1px #fff;
  font-size: 12px;
  color: #3d5e8b;
  white-space: nowrap;
  flex-shrink: 0;
}
.link-map-controls button:hover {
  background: #ebf3ff;
}
.link-map-controls .link-icon {
  width: 15px;
  height: 15px;
  filter: var(--link-icon-muted);
}
.link-map-controls span {
  font-size: 12px;
  min-width: 41px;
  text-align: center;
  color: #526e97;
}
.link-inspector {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}
.link-inspector-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 38px;
  padding: 9px 18px;
  border-bottom: 1px solid #e5edfa;
  background: #ffffff70;
  flex-shrink: 0;
}
.link-inspector-heading > span {
  font-size: 15px;
  font-weight: 650;
  color: #112952;
}
.link-inspector-heading > button {
  padding: 0;
  color: #607ca7;
  font-size: 10px;
  display: flex;
  align-items: center;
  gap: 3px;
}
.link-inspector-heading .link-icon {
  width: 14px;
  height: 14px;
  filter: var(--link-icon-muted);
}
.link-inspector-scroll {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  padding: 16px 14px 0;
}
.link-inspector-scroll > * {
  flex-shrink: 0;
}
.link-object-heading {
  display: flex;
  align-items: center;
  gap: 12px;
}
.link-object-symbol {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 12px;
  background: #f0f5ff;
}
.link-object-symbol > .link-icon {
  width: 26px;
  height: 26px;
  filter: invert(10%) sepia(45%) saturate(1499%) hue-rotate(182deg);
}
.link-object-heading > div {
  flex: 1;
  min-width: 0;
}
.link-object-heading h4 {
  font-size: 18px;
  font-weight: 650;
  color: #0e2850;
  line-height: 1.4;
  margin: 0 0 2px;
}
.link-object-heading small {
  font-size: 14px;
  color: #5978a8;
  overflow-wrap: anywhere;
}
.link-object-heading > .link-status {
  font-size: 12px;
  border-radius: 18px;
  padding: 5px 9px;
}
.link-object-amount {
  margin: 20px 0 7px;
}
.link-object-amount > small {
  display: block;
  font-size: 13px;
  line-height: 1.4;
  color: #617ca6;
  margin: 0 0 5px;
}
.link-object-amount > strong {
  display: block;
  font-size: 36px;
  line-height: 1.2;
  font-weight: 650;
  color: #006bff;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.link-object-amount em {
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0;
}
.link-object-source {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: #56739f;
  margin: 0 0 17px;
  line-height: 1.5;
}
.link-object-source button {
  font-size: 13px;
  color: #173a70;
  padding: 0;
}
.link-object-name {
  font-size: 13px;
  color: #58749c;
  line-height: 1.6;
  margin: 16px 0;
  overflow-wrap: anywhere;
}
.link-inspector-tabs {
  display: flex;
  gap: 0;
  padding: 0;
  min-height: 42px;
  border: 0;
  border-bottom: 1px solid #dce8fb;
  background: #eef4fc88;
  border-radius: 11px 11px 0 0;
  margin: 0 0 12px;
}
.link-inspector-tabs button {
  flex: 1;
  border-radius: 10px 10px 0 0;
  padding: 8px 4px;
  color: #5e77a1;
  font-size: 14px;
  white-space: nowrap;
  border: 1px solid transparent;
}
.link-inspector-tabs button[aria-pressed='true'] {
  background: #ffffffdb;
  color: #006dff;
  border-color: #7eacff #dce8fb #fff;
  box-shadow: inset 0 1px #4d8dff;
}
.link-inspector-tabs span {
  margin-left: 3px;
  font-size: 11px;
  border-radius: 8px;
  background: #e9f1ff;
  padding: 1px 4px;
}
.link-record-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 5px;
}
.link-record-tools > span {
  font-size: 11px;
  color: #6b85ad;
}
.link-record-search {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
  border: 1px solid #d9e6fa;
  border-radius: 14px;
  background: #fff9;
  padding: 8px 11px;
}
.link-record-search > .link-icon {
  width: 14px;
  height: 14px;
  filter: var(--link-icon-muted);
}
.link-record-search > input {
  border: 0;
  background: none;
  padding: 0;
  min-width: 0;
  width: 100%;
  font-size: 12px;
  outline: 0;
  color: #33578c;
}
.link-record-search:focus-within {
  outline: 2px solid #9cc2fc;
  outline-offset: 1px;
}
.link-record-search > input::placeholder {
  color: #7188aa;
}
.link-event-filter {
  position: relative;
  z-index: 4;
  max-width: 60%;
  flex: 0 0 40%;
}
.link-event-filter summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border: 1px solid #d9e6fa;
  border-radius: 14px;
  padding: 8px 12px;
  font-size: 12px;
  line-height: 1.4;
  color: #33578c;
  background: #fff9;
  cursor: pointer;
}
.link-event-filter summary::-webkit-details-marker {
  display: none;
}
.link-event-filter summary > .link-icon {
  width: 11px;
  height: 11px;
  filter: var(--link-icon-muted);
}
.link-event-filter > div {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  min-width: 200px;
  max-width: 280px;
  max-height: 220px;
  overflow: auto;
  scrollbar-width: none;
  border-radius: 12px;
  padding: 6px;
  border: 1px solid #ccdef7;
  background: #fffffff2;
  backdrop-filter: blur(20px);
  box-shadow: 0 14px 30px -12px #3a659749;
}
.link-event-filter > div > button {
  display: block;
  width: 100%;
  padding: 9px 10px;
  text-align: left;
  font-size: 12px;
  color: #45638d;
  border-radius: 7px;
}
.link-event-filter > div > button:hover,
.link-event-filter > div > button[aria-pressed='true'] {
  background: #eaf3ff;
  color: #006bff;
}
.link-inspector-scroll > .link-records,
.link-inspector-scroll > .link-members {
  flex: 1 1 auto;
  min-height: 90px;
  overflow: auto;
  scrollbar-width: none;
}
.link-date-group {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 550;
  color: #48699a;
  line-height: 1.5;
  margin: 0;
  padding: 10px 2px 5px;
}
.link-record {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  width: 100%;
  padding: 11px 4px;
  text-align: left;
  color: #21416e;
  border-bottom: 1px solid #e9effa;
  line-height: 1.45;
}
.link-record.is-selected {
  background: #e6f0ffb8;
  box-shadow: inset 0 0 0 1px #bed7ff;
  border-radius: 9px;
  border-bottom-color: transparent;
}
.link-record:hover {
  background: #eef5ff80;
}
.link-record-symbol {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  flex-shrink: 0;
  background: #edf4ff;
}
.link-record-symbol > .link-icon {
  width: 19px;
  height: 19px;
  filter: var(--link-icon-blue);
}
.record-tone-settlement .link-record-symbol {
  background: #fff7e8;
}
.record-tone-settlement .link-record-symbol > .link-icon {
  filter: var(--link-icon-amber);
}
.record-tone-points .link-record-symbol {
  background: #f3edff;
}
.record-tone-points .link-record-symbol > .link-icon {
  filter: var(--link-icon-purple);
}
.link-record-copy {
  display: block;
  flex: 1;
  min-width: 0;
}
.link-record-copy > strong,
.link-record-heading > strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #153867;
  line-height: 1.4;
}
.link-record-copy > time {
  display: block;
  font-size: 11px;
  color: #6883ac;
  margin-top: 3px;
}
.link-record-copy > small {
  display: block;
  font-size: 11px;
  color: #6c86b0;
  line-height: 1.5;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.link-record-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
}
.link-record-heading > time {
  font-size: 12px;
  color: #6d88b3;
  line-height: 1.4;
  white-space: nowrap;
}
.link-record.is-compact .link-record-copy > small {
  display: none;
}
.link-record.is-compact .link-record-value {
  display: block;
  max-width: none;
  text-align: left;
  font-size: 12px;
  color: #5274a4;
  margin-top: 3px;
}
.link-record.is-compact {
  padding: 0 0 0 25px;
  gap: 0;
  border-bottom: 0;
  background: none;
  box-shadow: none;
}
.link-record-surface {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  width: 100%;
  padding: 9px;
  border-radius: 9px;
}
.link-record.is-compact.is-selected > .link-record-surface {
  background: #e6f0ffb8;
  box-shadow: inset 0 0 0 1px #bed7ff;
}
.link-record.is-compact:hover > .link-record-surface {
  background: #eef5ffb3;
}
.link-record.is-compact:before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  border-left: 1px solid #9dcdd4;
}
.link-record.is-compact:after {
  content: '';
  position: absolute;
  left: 4px;
  top: 24px;
  width: 8px;
  height: 8px;
  border: 1px solid #fff;
  border-radius: 50%;
  background: #139a9a;
  box-shadow: 0 0 0 2px #f8fcff;
}
.link-record.is-compact.record-tone-settlement:after {
  background: #db970f;
}
.link-record.is-compact .link-record-symbol {
  width: 34px;
  height: 34px;
  border-radius: 50%;
}
.link-record.is-compact .link-record-heading > strong {
  font-size: 14px;
}
.link-record-value {
  max-width: 33%;
  font-size: 12px;
  text-align: right;
  line-height: 1.5;
  color: #183d73;
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}
.link-record-arrow {
  width: 12px;
  height: 12px;
  filter: var(--link-icon-muted);
}
.link-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 10px 2px;
  font-size: 11px;
  color: #6d86ab;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}
.link-pagination > div {
  display: flex;
  align-items: center;
  gap: 5px;
}
.link-pagination button {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  padding: 6px;
  border: 1px solid #e0eafa;
  background: #fff9;
  border-radius: 7px;
}
.link-pagination button:disabled {
  opacity: 0.3;
}
.link-pagination .link-icon {
  width: 11px;
  height: 11px;
  opacity: 0.6;
}
.link-evidence {
  position: sticky;
  bottom: 0;
  flex-shrink: 0;
  z-index: 2;
  background: #eff6ffdb;
  border: 1px solid #d5e5fc;
  border-radius: 10px;
  padding: 0;
  margin-top: 8px;
  max-height: 45%;
  overflow: auto;
  scrollbar-width: none;
  box-shadow: inset 0 1px #fff;
  backdrop-filter: blur(18px);
}

.link-evidence-relations {
  margin: 0;
  padding: 0 11px 7px;
}
.link-evidence-relations summary {
  font-size: 10px;
  line-height: 1.5;
  color: #5875a1;
  cursor: pointer;
}
.link-record-relations {
  margin-top: 7px;
}
.link-record-relations > small {
  display: block;
  color: #6985ad;
  font-size: 10px;
}
.link-record-relations > button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 6px 4px 0;
  font-size: 11px;
  color: #426ca7;
}
.link-record-relations .link-icon {
  width: 10px;
  height: 10px;
}
.link-panel-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin: 16px 0 5px;
  font-size: 13px;
  font-weight: 550;
  color: #2b4d7c;
}
.link-panel-label > span {
  font-size: 11px;
  font-weight: 400;
  color: #6580ab;
}
.link-members > button {
  display: block;
  width: 100%;
  padding: 13px 3px;
  border-bottom: 1px solid #e5edfa;
  text-align: left;
}
.link-members > button > span {
  display: flex;
  align-items: center;
  gap: 8px;
}
.link-members strong {
  font-size: 13px;
  color: #214675;
}
.link-members small {
  display: block;
  font-size: 11px;
  color: #6983ab;
  margin: 5px 0;
  overflow-wrap: anywhere;
}
.link-members > button > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #315a92;
}
.link-members > button > div .link-icon {
  width: 11px;
  height: 11px;
}
.link-facts {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 13px 10px;
  margin: 18px 0;
  font-size: 13px;
  line-height: 1.6;
}
.link-facts dt {
  color: #6680a8;
}
.link-facts dd {
  margin: 0;
  color: #244d82;
  overflow-wrap: anywhere;
}
.link-related > button {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 0;
  width: 100%;
  border-bottom: 1px solid #e6edf8;
  text-align: left;
  color: #3b6090;
  font-size: 12px;
}
.link-related > button > span {
  flex: 1;
}
.link-related small {
  display: block;
  font-size: 10px;
  color: #6985ae;
  margin-top: 3px;
}
.link-related .link-icon {
  width: 14px;
  height: 14px;
}
.link-back {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: #376ba8;
  padding: 8px 0;
}
.link-back .link-icon {
  width: 11px;
  height: 11px;
}
.link-empty {
  padding: 32px 14px;
  text-align: center;
  color: #6d85a8;
  font-size: 13px;
  line-height: 1.7;
}
.link-all-records {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  padding: 4px 22px;
}
.link-all-records > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0 12px;
  border-bottom: 1px solid #dce7f7;
}
.link-all-records h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #214879;
}
.link-all-records > header span {
  font-size: 12px;
  color: #6581ac;
}
.link-all-scroll {
  flex: 1;
  min-height: 0;
  overflow: auto;
  scrollbar-width: none;
}
.link-all-scroll .link-record {
  padding: 15px 5px;
  gap: 12px;
}
.link-all-scroll .link-record-copy > strong {
  font-size: 14px;
}
.link-all-scroll .link-record-value {
  font-size: 13px;
}
.link-mobile-map {
  display: none !important;
}
.link-sr-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.business-link button:focus-visible,
.link-map-scroll:focus-visible,
.link-event-filter summary:focus-visible {
  outline: 2px solid #73a9f3;
  outline-offset: 3px;
}
.business-link [hidden] {
  display: none !important;
}
.link-factory-art {
  width: 38px;
  height: 38px;
  object-fit: contain;
  display: block;
}
.group-suppliers .link-node-symbol,
.group-production-gap .link-node-symbol {
  width: 40px;
  height: 40px;
  background: none;
  overflow: visible;
}
.group-production-gap {
  border-style: dashed;
  box-shadow: none;
  background: #ffffff73;
}
.group-production-gap .link-factory-art {
  filter: grayscale(0.55);
  opacity: 0.5;
}
.group-production-gap .link-node-heading-copy > strong {
  font-size: 12px;
  color: #667f9f;
}
.group-production-gap .link-node-heading-copy > small {
  font-size: 11px;
  white-space: normal;
}
.link-node.group-other {
  padding: 10px;
}
.group-other .link-node-heading-copy > strong {
  font-size: 12px;
}
.group-other .link-node-heading-copy > small,
.group-other .link-node-body {
  display: none;
}
.group-other .link-node-foot {
  padding-left: 44px;
  font-size: 11px;
}
.link-object-due-note {
  font-size: 10px;
  color: #8091ac;
  margin-left: auto;
}
.link-node.is-refunded .link-status.grey {
  color: #14998e;
  background: #dcf4ef;
}
.link-evidence-relations:not([open]) {
  display: none;
}
.link-overflow-total .link-node-value {
  display: inline;
  font-size: 13px;
  font-weight: 450;
}
.link-overflow-total .link-node-value em {
  font-size: 12px;
}
/* Reference controls use real icon assets, distinct action labels and a compact evidence dock. */
.business-link {
  --link-icon-blue: invert(34%) sepia(96%) saturate(3800%) hue-rotate(208deg) brightness(101%)
    contrast(106%);
  --link-icon-teal: invert(42%) sepia(77%) saturate(1114%) hue-rotate(134deg) brightness(94%);
  --link-icon-amber: invert(52%) sepia(89%) saturate(2172%) hue-rotate(6deg) brightness(99%);
  --link-icon-purple: invert(47%) sepia(28%) saturate(1415%) hue-rotate(220deg);
  --link-icon-muted: invert(40%) sepia(21%) saturate(1034%) hue-rotate(179deg);
}
.link-node.group-suppliers .link-node-symbol > .link-icon {
  filter: var(--link-icon-blue);
}
.group-transfers .link-node-symbol {
  width: 34px;
  height: 34px;
}
.group-transfers .link-node-symbol > .link-icon {
  width: 23px;
  height: 23px;
}
.link-zoom-controls {
  display: flex;
  align-items: center;
  border: 1px solid #d9e6f8;
  background: #ffffffbd;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: inset 0 1px #fff;
}
.link-zoom-controls button {
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  width: 31px;
  padding: 7px;
}
.link-zoom-controls > span {
  padding: 0 7px;
  min-width: 47px;
  border-inline: 1px solid #e7eff9;
  line-height: 30px;
}
.link-map-controls button[data-link-action='locate'] > span {
  min-width: 0;
}
.link-open-inspector {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border: 1px solid #d9e6fb;
  border-radius: 12px;
  background: #ffffffb0;
  color: #3c6091;
  font-size: 12px;
  white-space: nowrap;
}
.link-inspector-close {
  width: 24px;
  height: 24px;
  justify-content: center;
  border-radius: 7px;
  margin-left: auto;
}
.link-inspector-close:hover {
  background: #eaf2ff;
}
.business-link.is-inspector-closed .link-side {
  display: none;
}
.business-link.is-inspector-closed .link-workspace {
  grid-template-columns: minmax(0, 1fr);
}
.link-evidence-main {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 51px;
  padding-left: 10px;
}
.link-evidence-main > div {
  min-width: 0;
  flex: 1;
}
.link-evidence-main strong {
  display: block;
  font-size: 12px;
  font-weight: 550;
  color: #2c4772;
  line-height: 1.5;
}
.link-evidence-main small {
  display: block;
  font-size: 12px;
  line-height: 1.5;
  color: #5978a8;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.link-evidence-main > .link-evidence-info {
  display: flex;
  align-items: center;
  align-self: flex-start;
  flex-shrink: 0;
  width: 18px;
  height: 23px;
  padding: 0;
  margin-top: 8px;
  border: 0;
  background: none;
}
.link-evidence-info > .link-icon {
  width: 15px;
  height: 15px;
  filter: var(--link-icon-blue);
}
.link-evidence-main > button[data-evidence] {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  gap: 8px;
  padding: 9px 12px;
  border: 0;
  border-left: 1px solid #e0ecfb;
  border-radius: 10px;
  background: #ffffff9e;
  color: #006bff;
  font-size: 12px;
  font-weight: 550;
  white-space: nowrap;
}
.link-evidence-main > button[data-evidence] .link-icon {
  width: 15px;
  height: 15px;
  filter: var(--link-icon-blue);
}
.link-evidence-relations > time {
  font-size: 10px;
  color: #6a83a6;
  display: block;
  margin-top: 6px;
}
.link-evidence-relations > p {
  font-size: 11px;
  line-height: 1.7;
  color: #5875a1;
  overflow-wrap: anywhere;
  margin: 5px 0;
}
.link-date-group > span,
.link-date-group > small {
  font-size: 12px;
  font-weight: 400;
  color: #758aab;
}
.link-inspector-scroll > .link-pagination {
  margin-top: 6px;
  border-top: 1px solid #e4edf9;
}
.link-pagination .link-view-all {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  width: auto;
  height: auto;
  padding: 0;
  border: 0;
  background: none;
  color: #0575fb;
  font-size: 11px;
  white-space: nowrap;
}
.link-pagination .link-view-all > .link-icon {
  width: 13px;
  height: 13px;
  filter: var(--link-icon-blue);
}
.link-repayment {
  margin: -5px 0 12px;
  font-size: 11px;
}
.link-repayment.is-unscheduled .badge {
  padding: 2px 0;
  background: none;
  color: #7d8ca3;
  font-size: 10px;
}
.link-repayment.is-unscheduled .badge:before {
  display: none;
}
@media (min-width: 1800px) {
  .business-link {
    grid-template-columns: minmax(0, 1fr) 420px;
  }
  .link-workspace {
    grid-template-columns: minmax(0, 1fr) 420px;
  }
  .link-inspector-scroll {
    padding-left: 18px;
    padding-right: 18px;
  }
}
@media (max-width: 1200px) {
  .business-link {
    grid-template-columns: minmax(0, 1fr) 340px;
  }
  .link-workspace {
    grid-template-columns: minmax(0, 1fr) 340px;
  }
  .link-heading {
    padding: 10px 12px;
  }
  .link-heading h3 {
    font-size: 21px;
  }
  .link-heading-title > div {
    display: block;
  }
  .link-heading p {
    font-size: 11px;
  }
  .link-mode-switch button {
    padding: 8px 12px;
    font-size: 12px;
    min-width: 96px;
  }
  .link-heading-title > .link-icon {
    width: 32px;
    height: 32px;
    padding: 7px;
  }
  .link-toolbar {
    padding-left: 8px;
  }
  .link-object-amount > strong {
    font-size: 31px;
  }
  .link-node-body > small {
    font-size: 12px;
  }
  .link-side {
    margin-left: 12px;
  }
  .link-search-slot {
    padding-left: 12px;
  }
}
@media (max-height: 850px) and (min-width: 1001px) {
  .link-inspector-scroll > .link-records {
    flex: 0 0 auto;
    min-height: 150px;
    max-height: 300px;
  }
  .link-evidence {
    position: static;
    max-height: 120px;
  }
}
@media (max-width: 1000px) {
  .business-link {
    display: flex;
    flex-direction: column;
    padding: 7px;
    border-radius: 16px;
  }
  .link-heading {
    min-height: 62px;
    height: auto;
    flex-shrink: 0;
    align-self: stretch;
  }
  .link-heading h3 {
    font-size: 21px;
  }
  .link-heading-title > div {
    display: block;
  }
  .link-heading p {
    font-size: 11px;
  }
  .link-search-slot {
    padding: 8px 0;
    flex-shrink: 0;
    align-self: stretch;
    width: 100%;
  }
  .link-search {
    min-height: 42px;
    padding: 10px 14px;
    border-radius: 14px;
  }
  .link-workspace {
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: auto;
    overscroll-behavior: contain;
  }
  .link-main {
    flex: 0 0 clamp(360px, 45dvh, 520px);
    min-height: 360px;
  }
  .link-side {
    flex: 0 0 520px;
    min-height: 520px;
    margin: 8px 0 0;
    border-radius: 14px;
  }
  .link-mobile-map {
    display: flex !important;
    margin-left: auto;
  }
  .link-inspector-heading {
    position: sticky;
    top: 0;
    background: #f8fbfff0;
    z-index: 3;
  }
  .link-map-footer {
    padding: 5px 4px;
  }
  .link-map-controls button {
    min-width: 29px;
    min-height: 32px;
  }
  .link-inspector-scroll {
    padding: 16px 18px 10px;
  }
  .link-object-amount > strong {
    font-size: 33px;
  }
  .link-inspector .link-record-copy > strong,
  .link-record-heading > strong {
    font-size: 14px;
  }
}
@media (max-width: 600px) {
  .link-heading {
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px;
  }
  .link-heading-title {
    gap: 8px;
  }
  .link-heading-title > div {
    display: block;
  }
  .link-heading h3 {
    font-size: 19px;
  }
  .link-heading p {
    font-size: 10px;
  }
  .link-toolbar {
    width: 100%;
    padding: 0;
    flex-wrap: wrap;
  }
  .link-open-inspector {
    width: 100%;
    justify-content: center;
  }
  .link-mode-switch {
    width: 100%;
  }
  .link-mode-switch button {
    flex: 1;
    padding: 7px 12px;
    min-width: 0;
  }
  .link-search-slot {
    padding: 7px 0;
  }
  .link-search {
    min-height: 38px;
  }
  .link-search input {
    font-size: 12px;
  }
  .link-legend {
    font-size: 9px;
    gap: 7px;
  }
  .link-legend span {
    gap: 4px;
  }
  .link-legend span:before {
    width: 13px;
  }
  .link-map-controls {
    gap: 0;
    padding: 2px;
  }
  .link-map-controls span {
    min-width: 33px;
    font-size: 10px;
  }
  .link-map-controls button {
    min-width: 27px;
    padding: 6px 8px;
  }
  .link-zoom-controls button {
    width: 27px;
    padding: 5px;
  }
  .link-map-controls button[data-link-action='locate'] > span {
    display: none;
  }
  .link-map-controls {
    gap: 7px;
    align-self: flex-end;
  }
  .link-map-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 7px;
    padding: 8px 4px;
  }
  .link-legend {
    justify-content: space-between;
    flex-wrap: nowrap;
  }
  .link-map-controls button[data-link-action='fit'] {
    min-width: 44px;
  }
  .link-zoom-controls > span {
    min-width: 45px;
  }
  .link-side {
    flex-basis: 520px;
  }
  .link-inspector-heading {
    padding: 10px 13px;
  }
  .link-inspector-heading > span {
    font-size: 14px;
  }
  .link-inspector-scroll {
    padding: 14px 15px 8px;
  }
  .link-object-heading {
    gap: 9px;
  }
  .link-object-heading h4 {
    font-size: 16px;
  }
  .link-object-heading small {
    font-size: 12px;
  }
  .link-object-symbol {
    width: 33px;
    height: 33px;
  }
  .link-object-symbol > .link-icon {
    width: 22px;
    height: 22px;
  }
  .link-object-heading > .link-status {
    font-size: 10px;
    padding: 4px 7px;
  }
  .link-object-amount {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    margin: 12px 0 5px;
  }
  .link-object-amount > small {
    font-size: 11px;
    margin: 0;
  }
  .link-object-amount > strong {
    font-size: 27px;
    margin: 0;
  }
  .link-object-amount em {
    font-size: 13px;
  }
  .link-object-source {
    font-size: 11px;
    margin-bottom: 10px;
  }
  .link-object-source button {
    font-size: 11px;
  }
  .link-inspector-tabs {
    min-height: 34px;
    margin-bottom: 7px;
  }
  .link-inspector-tabs button {
    font-size: 12px;
    padding: 5px;
  }
  .link-event-filter summary {
    font-size: 11px;
    padding: 5px 9px;
  }
  .link-record-tools > span {
    font-size: 10px;
  }
  .link-pagination {
    padding: 5px 0;
    font-size: 10px;
  }
  .link-pagination button:not(.link-view-all) {
    width: 26px;
    height: 26px;
  }
  .link-evidence {
    padding: 0;
  }
  .link-evidence-relations {
    margin-top: 3px;
  }
  .link-all-records {
    padding: 0 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .link-node {
    transition: none;
  }
  #detailDialog[open] {
    animation: none;
  }
}
@supports not (backdrop-filter: blur(1px)) {
  .link-node,
  .link-heading,
  .link-side,
  .link-search,
  .link-evidence {
    background: #fbfdff;
  }
}
@media (prefers-reduced-transparency: reduce) {
  .link-node,
  .link-heading,
  .link-side,
  .link-search,
  .link-evidence {
    background: #fbfdff;
    backdrop-filter: none;
  }
}
@media (forced-colors: active) {
  .business-link {
    --link-line: CanvasText;
  }
  .link-edge {
    stroke: CanvasText;
  }
  .link-node.is-selected,
  .link-record.is-selected {
    outline: 2px solid Highlight;
  }
  .link-node {
    background: Canvas;
    border-color: ButtonText;
  }
  .link-status {
    border: 1px solid ButtonText;
  }
}

/* A crossing interrupts the lower edge; it is not a junction. */
.link-edge-crossing {
  fill: none;
  stroke: #f7faff;
  stroke-width: 7;
}

/* Keep names, capital class and full amount while avoiding three stacked rows. */
.link-contribution-row {
  min-height: 0;
  padding: 8px;
}
.link-contribution-row > span:nth-child(2) {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 4px;
  align-items: center;
}
.link-contribution-row > span:nth-child(2) > strong {
  grid-column: 1 / -1;
}
.link-contributor-amount {
  justify-self: end;
}
.link-contribution-row small {
  white-space: nowrap;
}

/* One visual line style; business categories remain in labels and evidence. */
.link-edge {
  stroke: var(--link-line);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-dasharray: none;
  opacity: 1;
}
.link-edge.is-active {
  stroke: var(--link-line);
  stroke-width: 1.4;
  opacity: 1;
}
.link-connectors marker path {
  fill: var(--link-line);
}
.tone-neutral {
  --link-tone: #6e83a0;
}

.link-edge-label:focus-visible {
  outline: 2px solid #397fea;
  outline-offset: 2px;
  border-radius: 4px;
}
.link-relation-tooltip {
  position: fixed;
  z-index: 5;
  max-width: min(340px, calc(100vw - 16px));
  padding: 9px 12px;
  border: 1px solid #bfd4f0;
  border-radius: 9px;
  background: #f9fcff;
  box-shadow: 0 6px 20px #315c912b;
  color: #244265;
  font-size: 13px;
  line-height: 1.6;
  overflow-wrap: anywhere;
  pointer-events: none;
}

.link-object-facts {
  margin: 12px 0;
  border-top: 1px solid rgba(87, 135, 202, 0.12);
}
.link-object-facts summary {
  padding: 12px 0;
  color: #436791;
  cursor: pointer;
  font-weight: 550;
}

/* One visible stroke per shared segment; hit paths expose exact member sets. */
.link-shared {
  fill: none;
  stroke: var(--link-line);
  stroke-width: 1.4;
  stroke-dasharray: none;
  stroke-linecap: round;
}
.link-shared-hit {
  fill: none;
  stroke: transparent;
  stroke-width: 14;
  pointer-events: stroke;
  cursor: pointer;
  outline: none;
}
.link-shared-hit:focus-visible {
  stroke: #3784f433;
}
.link-shared-junction {
  fill: var(--link-line);
  stroke: #f8fbff;
  stroke-width: 1;
}

.link-shared.is-active {
  stroke: var(--link-line);
  stroke-width: 1.4;
}
/* Line palette only: card materials, typography and business data are unchanged. */
.link-connectors .link-edge,
.link-connectors .link-shared {
  stroke: var(--link-flow, #0034fc);
  stroke-width: 1.6;
  opacity: 1;
}
.link-connectors .tone-receivable {
  --link-flow: #0e9f7c;
}
.link-connectors marker path,
.link-connectors .link-shared-junction {
  fill: var(--link-flow, #0034fc);
}
.link-edge-label {
  color: #16439c;
}
.link-edge-label.tone-receivable {
  color: #0c8b70;
}

.link-connectors .link-shared-junction.is-incoming {
  stroke: #f8fbff;
  stroke-width: 1.5;
}
