.researcher-network-widget {
  margin: 16px 0;
}

.researcher-network-widget__card {
  border: 1px solid #e7ded7;
  background: #fffaf6;
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  gap: 14px;
  align-items: center;
}

.researcher-network-widget__card--approved {
  border-color: #f0b089;
  background: #fff6ef;
}

.researcher-network-widget__card--pending {
  border-color: #e3c979;
  background: #fff9e7;
}

.researcher-network-widget__card--proposal {
  border-color: #f0b089;
  background: #fff6ef;
}

.researcher-network-widget__card--free {
  border-color: #d8d8d8;
  background: #f8f8f8;
}

.researcher-network-widget__logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
  background: #fff;
  border-radius: 10px;
  border: 1px solid #ead8ca;
  padding: 6px;
}

.researcher-network-widget__proposal {
  margin-top: 14px;
  padding: 16px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e8e2dc;
}

.researcher-network-widget__benefit {
  margin: 0;
  color: #5e5a57;
  font-size: 13px;
}

.researcher-network-widget__benefit-list {
  margin: 8px 0 0;
  padding-left: 18px;
  color: #5e5a57;
  font-size: 13px;
}

.researcher-network-widget__footer {
  margin-top: 10px;
}

.researcher-network-widget__link {
  color: #f08035;
  font-weight: 600;
  text-decoration: none;
}

.researcher-network-cart-link {
  margin-top: 16px;
}

.researcher-network-cart-link__anchor {
  display: block;
  position: relative;
  overflow: hidden;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid #efd9c9;
  background:
    radial-gradient(circle at top right, rgba(240, 128, 53, 0.14), transparent 34%),
    linear-gradient(135deg, #fff8f2 0%, #fffdfb 100%);
  box-shadow: 0 10px 26px rgba(108, 77, 52, 0.08);
  color: #2c2926;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.researcher-network-cart-link__anchor:hover,
.researcher-network-cart-link__anchor:focus {
  color: #2c2926;
  text-decoration: none;
  transform: translateY(-2px);
  border-color: #efb184;
  box-shadow: 0 14px 32px rgba(108, 77, 52, 0.14);
}

.researcher-network-cart-link__anchor--org {
  border-color: #cde7d5;
  background:
    radial-gradient(circle at top right, rgba(92, 184, 92, 0.14), transparent 36%),
    linear-gradient(135deg, #f5fcf6 0%, #fcfffc 100%);
}

.researcher-network-cart-link__anchor--org:hover,
.researcher-network-cart-link__anchor--org:focus {
  border-color: #8fc89e;
}

.researcher-network-cart-link__eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(240, 128, 53, 0.18);
  color: #b15a1f;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.researcher-network-cart-link__anchor--org .researcher-network-cart-link__eyebrow {
  border-color: rgba(92, 184, 92, 0.22);
  color: #397547;
}

.researcher-network-cart-link__main {
  display: flex;
  align-items: center;
  gap: 14px;
}

.researcher-network-cart-link__media {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(239, 177, 132, 0.42);
}

.researcher-network-cart-link__anchor--org .researcher-network-cart-link__media {
  border-color: rgba(143, 200, 158, 0.5);
}

.researcher-network-cart-link__icon-svg {
  width: 23px;
  height: 23px;
  display: block;
  color: #d06d2b;
}

.researcher-network-cart-link__anchor--org .researcher-network-cart-link__icon-svg {
  color: #4c8a59;
}

.researcher-network-cart-link__content {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}

.researcher-network-cart-link__text {
  display: block;
  color: #22201d;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

.researcher-network-cart-link__note {
  display: block;
  color: #625953;
  font-size: 12px;
  line-height: 1.45;
}

.researcher-network-cart-link__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(239, 177, 132, 0.5);
  color: #c55f11;
  white-space: nowrap;
}

.researcher-network-cart-link__anchor--org .researcher-network-cart-link__cta {
  border-color: rgba(143, 200, 158, 0.55);
  color: #3d7d4b;
}

.researcher-network-cart-link__cta-label {
  font-size: 12px;
  font-weight: 700;
}

.researcher-network-cart-link__cta-icon {
  font-size: 18px;
  line-height: 1;
}

.researcher-network-cart-link__logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #ead8ca;
  padding: 3px;
}

.block-cart-summary .researcher-network-cart-link {
  margin-top: 14px;
}

.block-cart-summary .researcher-network-cart-link__anchor {
  padding: 14px;
  border-radius: 16px;
}

.block-cart-summary .researcher-network-cart-link__eyebrow {
  margin-bottom: 10px;
  font-size: 10px;
}

.block-cart-summary .researcher-network-cart-link__main {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px 12px;
  align-items: start;
}

.block-cart-summary .researcher-network-cart-link__media {
  width: 42px;
  height: 42px;
  flex-basis: 42px;
  border-radius: 12px;
}

.block-cart-summary .researcher-network-cart-link__icon-svg {
  width: 20px;
  height: 20px;
}

.block-cart-summary .researcher-network-cart-link__logo {
  width: 32px;
  height: 32px;
}

.block-cart-summary .researcher-network-cart-link__text {
  font-size: 14px;
}

.block-cart-summary .researcher-network-cart-link__note {
  font-size: 11px;
  line-height: 1.4;
}

.block-cart-summary .researcher-network-cart-link__cta {
  grid-column: 1 / -1;
  width: 100%;
  justify-content: space-between;
  margin-left: 0;
  padding: 9px 12px;
}

@media (max-width: 575px) {
  .researcher-network-cart-link__main {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .researcher-network-cart-link__cta {
    margin-left: 62px;
  }
}

.researcher-network-page {
  padding-bottom: 48px;
}

/* ── Hero ────────────────────────────────────────── */
.researcher-network-hero {
  margin-bottom: 24px;
  background: linear-gradient(135deg, #fff2e7 0%, #fffaf6 100%);
  border: 1px solid #f2dfd1;
  border-radius: 20px;
  padding: 32px 30px;
  position: relative;
  overflow: hidden;
}

.researcher-network-hero::after {
  content: '';
  position: absolute;
  right: -40px;
  top: -40px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(240,128,53,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.researcher-network-hero h1 {
  margin: 0 0 10px;
  color: #232323;
  font-size: 26px;
}

.researcher-network-hero p {
  margin: 0;
  max-width: 680px;
  color: #4e4e4e;
  line-height: 1.7;
}

.researcher-network-hero__benefits {
  margin: 18px 0 0;
  padding-left: 0;
  list-style: none;
  color: #3f3f3f;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.researcher-network-hero__benefits li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
}

.researcher-network-hero__benefits li::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 18px;
  min-width: 18px;
  background: #f08035;
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpolyline points='2,6 5,9 10,3' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 12px 12px;
  background-repeat: no-repeat;
  background-position: center;
}

/* ── Status panels ───────────────────────────────── */
.researcher-network-panel {
  margin-bottom: 24px;
  border-radius: 18px;
  border: 1px solid #eadfd5;
  border-left-width: 4px;
  background: #fff;
  padding: 22px 24px;
}

.researcher-network-panel--free,
.researcher-network-panel--guest {
  border-left-color: #c8c3be;
  background: #fafaf9;
}

.researcher-network-panel--pending {
  border-left-color: #e3c979;
  background: #fffdf0;
}

.researcher-network-panel--proposal {
  border-left-color: #f08035;
  background: #fff8f2;
}

.researcher-network-panel--approved {
  border-left-color: #5cb85c;
  background: #f6fbf6;
}

.researcher-network-panel h2 {
  margin: 0 0 6px;
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.researcher-network-panel h2 .rn-panel-icon {
  font-size: 20px;
  line-height: 1;
}

.researcher-network-panel > p {
  margin: 0 0 14px;
  color: #55514d;
  line-height: 1.6;
}

.researcher-network-panel > p:last-child {
  margin-bottom: 0;
}

.researcher-network-panel__cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-width: 260px;
  max-width: 100%;
  margin-top: 6px;
  padding: 14px 18px;
  border-radius: 16px;
  border: 1px solid #efb184;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.28), transparent 38%),
    linear-gradient(135deg, #f08b3b 0%, #ea6f2f 100%);
  box-shadow: 0 10px 24px rgba(240, 128, 53, 0.22);
  color: #fff;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.researcher-network-panel__cta:hover,
.researcher-network-panel__cta:focus {
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(240, 128, 53, 0.28);
  filter: saturate(1.03);
}

.researcher-network-panel__cta-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.researcher-network-panel__cta-label {
  display: block;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
}

.researcher-network-panel__cta-note {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
}

.researcher-network-panel__cta-arrow {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 20px;
  line-height: 1;
}

.researcher-network-panel__action {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-width: 280px;
  max-width: 100%;
  margin-top: 6px;
  padding: 14px 18px;
  border-radius: 16px;
  border: 1px solid transparent;
  box-shadow: 0 10px 24px rgba(74, 74, 74, 0.12);
  color: #fff;
  text-align: left;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
  cursor: pointer;
}

.researcher-network-panel__action:hover,
.researcher-network-panel__action:focus {
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(74, 74, 74, 0.16);
  filter: saturate(1.03);
}

.researcher-network-panel__action--approved {
  border-color: #96d1a4;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.24), transparent 38%),
    linear-gradient(135deg, #5dad6a 0%, #468e53 100%);
}

.researcher-network-panel__action--proposal {
  border-color: #efb184;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.24), transparent 38%),
    linear-gradient(135deg, #f08b3b 0%, #ea6f2f 100%);
}

.researcher-network-panel__action-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.researcher-network-panel__action-label {
  display: block;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
}

.researcher-network-panel__action-note {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
}

.researcher-network-panel__action-arrow {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 20px;
  line-height: 1;
}

.researcher-network-panel__header {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-bottom: 18px;
}

.researcher-network-panel__logo {
  width: 78px;
  height: 78px;
  object-fit: contain;
  background: #fffaf6;
  border: 1px solid #ead8ca;
  border-radius: 14px;
  padding: 8px;
  flex-shrink: 0;
}

.researcher-network-benefits {
  margin: 0 0 18px 0;
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  color: #55514d;
}

.researcher-network-benefits li::before {
  content: '✓ ';
  color: #f08035;
  font-weight: 700;
}

/* ── Organization grid ───────────────────────────── */
.researcher-network-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.researcher-network-card {
  background: #fff;
  border: 1px solid #eadfd5;
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.researcher-network-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.researcher-network-card__header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 20px 16px;
  border-bottom: 1px solid #f2ebe5;
}

.researcher-network-card__logo {
  width: 64px;
  height: 64px;
  min-width: 64px;
  object-fit: contain;
  border-radius: 14px;
  background: #fffaf6;
  border: 1px solid #ead8ca;
  padding: 8px;
}

.researcher-network-card__header h3 {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.3;
}

.researcher-network-card__count {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #fff2e7;
  border: 1px solid #f0c8a0;
  color: #c45f0a;
  font-weight: 600;
  font-size: 13px;
  border-radius: 999px;
  padding: 2px 10px;
}

.researcher-network-card__body {
  padding: 18px 20px 20px;
}

.researcher-network-card__body h4 {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #9e9590;
}

.researcher-network-card__note {
  margin: 0 0 18px;
  color: #323232;
  line-height: 1.65;
  font-size: 14px;
}

.researcher-network-card__note--empty {
  color: #aaa09a;
  font-style: italic;
  font-size: 13px;
}

/* Audit log – collapsed toggle */
.researcher-network-card__log-toggle {
  background: none;
  border: none;
  padding: 0;
  font-size: 12px;
  color: #f08035;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 8px;
  font-weight: 600;
}

.researcher-network-card__log-toggle:hover {
  text-decoration: underline;
}

.researcher-network-card__log-toggle-icon {
  display: inline-block;
  transition: transform 0.2s;
  font-style: normal;
}

.researcher-network-card__log-toggle[aria-expanded="true"] .researcher-network-card__log-toggle-icon {
  transform: rotate(90deg);
}

.researcher-network-card__log-body {
  display: none;
}

.researcher-network-card__log-body.is-open {
  display: block;
}

.researcher-network-card__log {
  margin: 0;
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.researcher-network-card__log li {
  font-size: 12px;
  color: #4e4e4e;
  background: #faf8f6;
  border: 1px solid #ede7e0;
  border-radius: 8px;
  padding: 8px 10px;
  line-height: 1.5;
}

.researcher-network-card__log li strong {
  color: #2e2b28;
  display: block;
  margin-bottom: 2px;
}

.researcher-network-card__log-note {
  margin-top: 4px;
  color: #323232;
  line-height: 1.5;
}

@media (max-width: 767px) {
  .researcher-network-panel,
  .researcher-network-hero {
    padding: 18px 16px;
  }

  .researcher-network-hero h1 {
    font-size: 22px;
  }

  .researcher-network-card__header {
    align-items: flex-start;
  }

  .researcher-network-panel__header {
    align-items: flex-start;
    flex-direction: column;
  }

  .researcher-network-grid {
    grid-template-columns: 1fr;
  }

  .researcher-network-panel__cta {
    width: 100%;
    min-width: 0;
  }

  .researcher-network-panel__action {
    width: 100%;
    min-width: 0;
  }
}
