/* Use the portal's shared shell, navigation, card and panel spacing. */
.is-network-mode > .contact-booking-card.is-dashboard-tab {
  height: auto;
}
.is-network-mode .contact-booking-card.is-dashboard-tab .mode-layout,
.is-network-mode .contact-booking-card.is-dashboard-tab #dashboardView {
  height: auto;
  min-height: 0;
  overflow: visible;
}
.is-network-mode .contact-booking-card.is-dashboard-tab .mode-panel-right {
  height: auto;
  overflow: visible;
}
.is-network-mode #dashboardView > .dashboard-title {
  display: none;
}
.is-network-mode #dashboardView > .dashboard-footer-links {
  margin-top: 26px;
}
.network-view {
  color: #37383f;
  --net-muted: #65737b;
  --net-line: #dce4e8;
  --net-accent: var(--ci);
}
.network-view svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.network-view button,
.network-view input {
  font-family: inherit;
}
.network-view button {
  cursor: pointer;
}
.network-view button:disabled {
  cursor: wait;
  opacity: 0.55;
}
.network-view button:focus-visible,
.network-view input:focus-visible,
.network-scroll:focus-visible {
  outline: 2px solid #0d5869;
  outline-offset: 4px;
}
.network-heading {
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}
.network-intro {
  font-size: 12px;
  line-height: 1.4;
  color: #65737b;
  margin: 8px 0 0;
}
.network-retry {
  margin-top: 12px;
}
.network-head-slot {
  display: flex;
  justify-content: center;
  position: relative;
  padding: 20px 0 30px;
}
.network-head-slot::after {
  content: "";
  width: 1px;
  background: var(--net-line);
  height: 30px;
  position: absolute;
  bottom: 0;
  left: 50%;
}
.network-head-card {
  width: 360px;
  max-width: 100%;
  background: #f7f9fa;
  border: 1px solid #dce4e8;
  border-radius: 11px;
}
.network-head-person {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
}
.network-head-avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--net-accent);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
}
.network-head-role {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.13em;
  color: var(--net-accent);
}
.network-head-person h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 4px 0;
  color: #25343c;
}
.network-head-person p {
  font-size: 12px;
  color: var(--net-muted);
  margin: 0;
}
.network-you {
  margin-left: auto;
  align-self: flex-start;
  padding: 4px 8px;
  background: #f1f5f5;
  border-radius: 4px;
  font-size: 10px;
  color: #627a81;
}
.network-head-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #dce4e8;
  padding: 12px 0;
}
.network-head-stats > div {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 7px;
  border-right: 1px solid #e7eded;
}
.network-head-stats > div:last-child {
  border: 0;
}
.network-head-stats strong {
  font-size: 16px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.network-head-stats span {
  font-size: 11px;
  color: var(--net-muted);
}
.network-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 0 14px;
  border-bottom: 1px solid #e5e5e5;
}
.network-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.network-filters button {
  padding: 8px 10px;
  min-height: 36px;
  border: 1px solid transparent;
  border-radius: 9px;
  color: #65737b;
  background: #f7f9fa;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}
.network-filters button:hover {
  background: #eef2f3;
}
.network-filters button[aria-pressed="true"] {
  color: var(--net-accent);
  background: #e7eff1;
  font-weight: 500;
}
.network-search {
  display: flex;
  flex: 1 1 220px;
  align-items: center;
  gap: 9px;
  color: #74828a;
  background: var(--input-bg);
  border: 1px solid transparent;
  border-radius: 9px;
  padding: 0 12px;
  min-width: 0;
}
.network-search input {
  border: 0;
  outline: 0;
  background: transparent;
  min-width: 0;
  width: 100%;
  height: 36px;
  font-size: 12px;
  color: #243236;
}
.network-search input::placeholder {
  color: #849094;
}
.network-scroll {
  overflow-x: auto;
  padding: 0 1px 10px;
}
.network-branches {
  position: relative;
  display: grid;
  grid-template-columns: repeat(var(--branches), minmax(0, 1fr));
  gap: 24px 16px;
  align-items: start;
  background: linear-gradient(var(--net-line), var(--net-line)) center top / 1px
    100% no-repeat;
}
.network-branch {
  position: relative;
  min-width: 0;
  padding-top: 24px;
}
.network-branch::before {
  content: "";
  position: absolute;
  left: -8px;
  right: -8px;
  height: 1px;
  top: 0;
  background: var(--net-line);
}
.network-branch:nth-child(odd)::before {
  left: 50%;
}
.network-branch:nth-child(even)::before {
  right: 50%;
}
.network-branch::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  height: 24px;
  width: 1px;
  background: var(--net-line);
}
.network-member {
  background: #f7f9fa;
  border: 1px solid #dce4e8;
  border-radius: 11px;
  padding: 14px 14px 0;
  position: relative;
}
.network-member::before {
  content: "";
  position: absolute;
  top: -4px;
  left: calc(50% - 3px);
  background: #f8f9fb;
  width: 5px;
  height: 5px;
  border: 1px solid #b9c8cc;
  border-radius: 50%;
}
.network-member-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.network-avatar {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 7px;
  background: #eef2f3;
  color: #61757c;
  font-size: 11px;
  font-weight: 500;
}
.network-role {
  font-size: 10px;
  color: #65737b;
  font-weight: 700;
}
.network-member h3 {
  margin: 0 0 5px;
  font-size: 14px;
  font-weight: 700;
  color: #25343c;
  overflow-wrap: anywhere;
}
.network-member > p {
  color: var(--net-muted);
  font-size: 12px;
  line-height: 1.4;
  margin: 0 0 12px;
  min-height: 17px;
}
.network-member-count {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border: 0;
  border-top: 1px solid #edf0f1;
  background: transparent;
  color: #6a7b81;
  font-size: 11px !important;
}
.network-member-count strong {
  color: #374a51;
  margin-right: 3px;
  font-weight: 500;
}
.network-member-count svg {
  width: 14px;
  height: 14px;
  transition: transform 0.15s;
}
.network-member-count[aria-expanded="false"] svg {
  transform: rotate(-90deg);
}
.network-customers {
  position: relative;
  display: grid;
  gap: 12px;
  padding-top: 24px;
}
.network-customers::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 40px;
  left: 50%;
  background: var(--net-line);
  width: 1px;
  z-index: 0;
}
.network-customer {
  position: relative;
  z-index: 1;
  background: #fff;
  border: 1px solid #dce4e8;
  border-radius: 11px;
  padding: 14px;
}
.network-customer:hover {
  border-color: #b5c7cd;
}
.network-customer-toggle {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  border: 0;
  padding: 0;
  width: 100%;
  color: #293b42;
  background: transparent;
  text-align: left;
}
.network-customer-toggle strong {
  display: block;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 700;
  overflow-wrap: anywhere;
}
.network-customer-status {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 7px;
  color: #65737b;
  font-size: 12px;
}
.network-customer-status i {
  height: 4px;
  width: 4px;
  background: #93a5aa;
  border-radius: 50%;
}
.network-customer-status svg {
  width: 11px;
  height: 11px;
  color: #0d5869;
}
.network-detail-icon {
  color: #8b9b9f;
  padding-top: 1px;
}
.network-detail-icon svg {
  width: 14px;
  height: 14px;
}
.network-customer-toggle[aria-expanded="true"] .network-detail-icon {
  transform: rotate(180deg);
}
.network-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}
.network-steps li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  color: #a1aaad;
}
.network-steps li::before {
  content: "";
  position: absolute;
  top: 8px;
  left: -50%;
  right: 50%;
  height: 1px;
  background: #e4e9eb;
}
.network-steps li:first-child::before {
  display: none;
}
.network-step-marker {
  z-index: 1;
  display: grid;
  place-items: center;
  position: relative;
  width: 18px;
  height: 18px;
  background: white;
  border: 1px solid #e1e7e8;
  border-radius: 50%;
  font-size: 8px;
}
.network-step-marker svg {
  width: 10px;
  height: 10px;
}
.network-step-label {
  text-align: center;
  font-size: 10px;
  line-height: 1.3;
}
.network-steps .is-done .network-step-marker {
  border-color: #bad1d5;
  color: #4e7b84;
  background: #edf4f5;
}
.network-steps .is-done::before,
.network-steps .is-current::before {
  background: #aec8ce;
}
.network-steps .is-current {
  color: #0d5869;
}
.network-steps .is-current .network-step-marker {
  background: #0d5869;
  border-color: #0d5869;
  color: #fff;
  box-shadow: 0 0 0 3px #edf4f5;
}
.network-steps .is-done .network-step-label {
  color: #6c858d;
}
.network-customer.is-purchased {
  border-color: #c8d9d9;
}
.network-customer.is-closed {
  background: #fafbfc;
}
.network-customer.is-closed .network-steps {
  opacity: 0.65;
}
.network-customer-detail {
  border-top: 1px solid #edf0f1;
  margin-top: 15px;
  padding-top: 12px;
  font-size: 11px;
  color: #687b83;
  line-height: 1.6;
}
.network-customer-detail p {
  margin: 0 0 12px;
}
.network-customer-detail dl {
  margin: 0;
}
.network-customer-detail dl > div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.network-customer-detail dt,
.network-customer-detail dd {
  margin: 0;
  font-size: 10px;
}
.network-customer-detail dd {
  color: #3a515a;
}
.network-no-customers {
  position: relative;
  background: #f8f9fb;
  border: 1px dashed #d6dfe2;
  border-radius: 8px;
  padding: 26px 12px;
  text-align: center;
  font-size: 11px;
  color: #819095;
}
.network-more {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  background: #f8f9fb;
  color: #536f78;
  border: 1px solid #dce4e7;
  border-radius: 7px;
  padding: 10px;
  font-size: 11px !important;
}
.network-more svg {
  width: 13px;
  height: 13px;
}
.network-branch.is-own .network-member {
  background: #f0f5f6;
  border-color: #cddde0;
}
.network-branch.is-own .network-avatar {
  color: #0d5869;
  background: #e0ecef;
}
.network-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid #e2e8ea;
  margin-top: 26px;
  padding-top: 18px;
  color: #8c999e;
  font-size: 10px;
}
.network-feedback {
  border: 1px solid #e5d6b9;
  background: #fffcf6;
  padding: 16px;
  font-size: 13px;
  border-radius: 8px;
  margin-bottom: 24px;
}
.network-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 100px 0;
  font-size: 13px;
  color: #6a828a;
}
.network-loading > span {
  width: 16px;
  height: 16px;
  border: 2px solid #d3e1e6;
  border-top-color: #0d5869;
  border-radius: 50%;
  animation: partner-boot-spin 0.8s linear infinite;
}
.network-empty {
  text-align: center;
  padding: 55px 20px;
}
.network-empty h3 {
  font-size: 18px;
  font-weight: 500;
}
.network-empty p {
  font-size: 13px;
  color: #78898f;
}
.network-empty button {
  padding: 10px 16px;
  border: 1px solid #d6e0e4;
  background: white;
  border-radius: 6px;
  color: #0d5869;
  font-size: 12px;
}
.network-branch:only-child::before {
  left: 50%;
  right: 50%;
}
@media (max-width: 600px) {
  .network-heading {
    gap: 12px;
  }
  .network-filters {
    flex-wrap: wrap;
    width: 100%;
  }
  .network-search {
    flex-basis: 100%;
  }
  .network-head-slot::after {
    left: 3px;
  }
  .network-scroll {
    overflow: visible;
  }
  .network-branches {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-left: 14px;
    border-left: 1px solid var(--net-line);
    margin-left: 3px;
    background: none;
  }
  .network-branch {
    padding: 0;
  }
  .network-branch::after {
    display: none;
  }
  .network-branch::before,
  .network-branch:nth-child(odd)::before,
  .network-branch:nth-child(even)::before {
    top: 32px;
    left: -15px;
    right: auto;
    width: 15px;
  }
  .network-member::before {
    left: -4px;
    top: 29px;
  }
  .network-customers {
    padding-top: 16px;
  }
  .network-footer {
    flex-direction: column;
    gap: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .network-loading > span {
    animation: none;
  }
  .network-member-count svg {
    transition: none;
  }
}
