.lcs-agent {
  --lcs-agent-gap: 1rem;
  --lcs-agent-border: rgba(7, 21, 38, .10);
  --lcs-agent-muted: rgba(7, 21, 38, .62);
  --lcs-agent-bg: #fff;
  --lcs-agent-soft: rgba(7, 21, 38, .045);
  --lcs-agent-radius: 22px;
  --lcs-agent-card-min-width: 360px;
  --lcs-agent-card-min-height: 150px;
  --lcs-agent-ink: #061427;
  --lcs-agent-accent: #c89b2c;
  --lcs-agent-accent-soft: rgba(200, 155, 44, .13);
  --lcs-agent-card-shadow: 0 16px 42px rgba(7, 21, 38, .085);
  --lcs-agent-card-shadow-hover: 0 24px 58px rgba(7, 21, 38, .14);
  --lcs-agent-status-bg: rgba(200, 155, 44, .10);
  --lcs-agent-status-border: rgba(200, 155, 44, .34);
  --lcs-agent-status-text: #8a6500;
  position: relative;
  width: 100%;
}

.lcs-agent * {
  box-sizing: border-box;
}

.lcs-agent-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .85rem;
  align-items: end;
  margin: 0 0 1.35rem;
  padding: 1rem;
  border: 1px solid var(--lcs-agent-border);
  border-radius: var(--lcs-agent-radius);
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 10px 28px rgba(7, 21, 38, .055);
}

.lcs-agent-toolbar-fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr));
  gap: .75rem;
  align-items: end;
  min-width: 0;
}

.lcs-agent-toolbar label,
.lcs-agent-toolbar-actions {
  display: grid;
  gap: .35rem;
  min-width: 0;
  font-size: .82rem;
  font-weight: 650;
  color: var(--lcs-agent-ink);
}

.lcs-agent-toolbar-actions {
  min-width: 150px;
  align-self: end;
}

.lcs-agent-toolbar-actions-label {
  color: var(--lcs-agent-muted);
  font-size: .78rem;
  font-weight: 780;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.lcs-agent-search {
  grid-column: span 2;
}

.lcs-agent-toolbar input,
.lcs-agent-toolbar select,
.lcs-agent-toggle {
  min-height: 42px;
  border: 1px solid var(--lcs-agent-border);
  border-radius: 13px;
  padding: .55rem .75rem;
  width: 100%;
  max-width: 100%;
  background: #fff;
  color: var(--lcs-agent-ink);
  font: inherit;
}

.lcs-agent-toolbar input:focus,
.lcs-agent-toolbar select:focus,
.lcs-agent-toggle:focus-visible {
  outline: 3px solid rgba(200, 155, 44, .20);
  border-color: rgba(200, 155, 44, .52);
}

.lcs-agent-toggle {
  cursor: pointer;
  font-weight: 750;
}

.lcs-agent-toggle:hover,
.lcs-agent-member-trigger:hover {
  background: var(--lcs-agent-soft);
}

.lcs-agent-directory {
  width: 100%;
}

.lcs-agent-group + .lcs-agent-group {
  margin-top: 1.5rem;
}

.lcs-agent-alumni-directory {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--lcs-agent-border);
}

.lcs-agent-group-alumni .lcs-agent-group-title {
  opacity: .9;
}

.lcs-agent-member-alumni .lcs-agent-member-trigger {
  background: linear-gradient(105deg, rgba(255, 255, 255, .95), rgba(248, 248, 246, .98));
}

.lcs-agent-group-title {
  margin: 0 0 .8rem;
  font-size: 1rem;
  line-height: 1.2;
  color: var(--lcs-agent-ink);
  opacity: .72;
}

.lcs-agent-members {
  display: grid;
  gap: var(--lcs-agent-gap);
}

.lcs-agent-view-cards .lcs-agent-members {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, max(var(--lcs-agent-card-min-width), 340px)), 1fr));
  justify-items: stretch;
}

.lcs-agent-member {
  width: 100%;
  max-width: 100%;
  margin: 0;
}

.lcs-agent-member-trigger {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1.15rem;
  padding: 1rem;
  border: 1px solid rgba(7, 21, 38, .08);
  border-radius: 26px;
  background:
    linear-gradient(108deg, rgba(255, 255, 255, .98) 0%, rgba(255, 255, 255, .98) 58%, rgba(250, 244, 232, .72) 100%);
  color: var(--lcs-agent-ink);
  text-align: left;
  cursor: pointer;
  box-shadow: var(--lcs-agent-card-shadow);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.lcs-agent-member-trigger::before {
  content: "";
  position: absolute;
  right: -78px;
  bottom: -78px;
  width: 220px;
  height: 220px;
  z-index: -1;
  opacity: .72;
  background:
    repeating-radial-gradient(circle at 100% 100%, transparent 0 15px, rgba(200, 155, 44, .13) 16px 17px, transparent 18px 30px);
}

.lcs-agent-member-trigger::after {
  content: "";
  position: absolute;
  top: 22%;
  right: 0;
  width: 4px;
  height: 56%;
  border-radius: 999px 0 0 999px;
  background: linear-gradient(180deg, rgba(200, 155, 44, .08), rgba(200, 155, 44, .72), rgba(200, 155, 44, .08));
  opacity: .70;
}

.lcs-agent-view-cards .lcs-agent-member-trigger {
  min-height: var(--lcs-agent-card-min-height);
  align-items: center;
}

.lcs-agent-member-trigger:focus-visible {
  outline: 3px solid rgba(200, 155, 44, .26);
  outline-offset: 3px;
}

.lcs-agent-member-trigger:hover {
  transform: translateY(-3px);
  border-color: rgba(200, 155, 44, .28);
  box-shadow: var(--lcs-agent-card-shadow-hover);
}

.lcs-agent-avatar {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--lcs-agent-soft);
  border: 1px solid var(--lcs-agent-border);
}

.lcs-agent-view-cards .lcs-agent-avatar {
  width: 104px;
  height: clamp(112px, calc(var(--lcs-agent-card-min-height) - 26px), 172px);
  flex: 0 0 104px;
  border-radius: 22px;
  object-position: center top;
  border: 1px solid rgba(255, 255, 255, .86);
  box-shadow: 0 12px 28px rgba(7, 21, 38, .13);
}

.lcs-agent-avatar-placeholder {
  display: inline-grid;
  place-items: center;
  font-weight: 850;
  letter-spacing: .02em;
  color: var(--lcs-agent-ink);
}

.lcs-agent-member-main {
  position: relative;
  z-index: 1;
  min-width: 0;
  display: grid;
  gap: .42rem;
  align-content: center;
}

.lcs-agent-member-name {
  display: block;
  color: var(--lcs-agent-ink);
  font-weight: 880;
  font-size: 1.08rem;
  line-height: 1.08;
  letter-spacing: -.025em;
}

.lcs-agent-view-cards .lcs-agent-member-name {
  font-size: clamp(1.25rem, 2.1vw, 1.72rem);
}

.lcs-agent-view-cards .lcs-agent-member-name::after {
  content: "";
  display: block;
  width: 58px;
  height: 3px;
  margin: .62rem 0 .2rem;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(200, 155, 44, .92), rgba(200, 155, 44, .20));
}

.lcs-agent-member-function,
.lcs-agent-member-status {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  width: fit-content;
  max-width: 100%;
  color: var(--lcs-agent-status-text);
  font-size: .76rem;
  font-weight: 820;
  line-height: 1.2;
  letter-spacing: .075em;
  text-transform: uppercase;
  padding: .42rem .72rem;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 250, 238, .98), var(--lcs-agent-status-bg));
  border: 1px solid var(--lcs-agent-status-border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .72), 0 8px 20px rgba(200, 155, 44, .10);
}

.lcs-agent-member-status::before {
  content: "";
  width: 1.05em;
  height: 1.05em;
  flex: 0 0 1.05em;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 2h6v2h-1v4.25l5.74 9.95A2.5 2.5 0 0 1 17.57 22H6.43a2.5 2.5 0 0 1-2.17-3.8L10 8.25V4H9V2Zm3 7.8-6 10.4a.5.5 0 0 0 .43.8h11.14a.5.5 0 0 0 .43-.8L12 9.8ZM9.7 17h4.6l1.15 2H8.55l1.15-2Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 2h6v2h-1v4.25l5.74 9.95A2.5 2.5 0 0 1 17.57 22H6.43a2.5 2.5 0 0 1-2.17-3.8L10 8.25V4H9V2Zm3 7.8-6 10.4a.5.5 0 0 0 .43.8h11.14a.5.5 0 0 0 .43-.8L12 9.8ZM9.7 17h4.6l1.15 2H8.55l1.15-2Z'/%3E%3C/svg%3E") center / contain no-repeat;
  opacity: .9;
}

.lcs-agent-view-list .lcs-agent-members {
  grid-template-columns: 1fr;
  gap: .45rem;
}

.lcs-agent-view-list .lcs-agent-member-trigger {
  min-height: auto;
  padding: .65rem .75rem;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(7, 21, 38, .055);
}

.lcs-agent-view-list .lcs-agent-member-trigger::before,
.lcs-agent-view-list .lcs-agent-member-trigger::after {
  display: none;
}

.lcs-agent-view-list .lcs-agent-avatar {
  width: 34px;
  height: 34px;
  flex-basis: 34px;
}

.lcs-agent-view-list .lcs-agent-member-name {
  font-size: 1rem;
}

.lcs-agent-view-list .lcs-agent-member-status {
  padding: .22rem .52rem;
  font-size: .72rem;
  letter-spacing: .045em;
}

.lcs-agent-no-results {
  padding: 1rem;
  border: 1px dashed var(--lcs-agent-border);
  border-radius: var(--lcs-agent-radius);
  color: var(--lcs-agent-muted);
}

.lcs-agent-modal[hidden] {
  display: none;
}

.lcs-agent-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.lcs-agent-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .56);
}

.lcs-agent-modal-dialog {
  position: relative;
  width: min(1120px, calc(100vw - 2rem));
  max-height: min(88vh, 980px);
  overflow: auto;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .28);
  padding: 1.25rem;
}

.lcs-agent-modal-close {
  position: sticky;
  top: 0;
  z-index: 2;
  float: right;
  width: 42px;
  height: 42px;
  border: 1px solid var(--lcs-agent-border);
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  font-size: 1.6rem;
  line-height: 1;
}

.lcs-agent-profile-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(240px, auto);
  gap: 1.35rem;
  align-items: center;
  padding: .35rem 3rem 1.15rem 0;
  border-bottom: 1px solid var(--lcs-agent-border);
}

.lcs-agent-avatar-profile {
  width: clamp(128px, 16vw, 172px);
  height: clamp(128px, 16vw, 172px);
  flex-basis: clamp(128px, 16vw, 172px);
  border-radius: 28px;
  object-position: center top;
}

.lcs-agent-profile-header .lcs-agent-profile-identity > h2 {
  margin: 0;
  color: var(--lcs-agent-ink);
  font-size: clamp(1.6rem, 3vw, 2.85rem);
  line-height: 1.03;
  letter-spacing: -.035em;
  white-space: nowrap;
  overflow-wrap: normal;
}

.lcs-agent-profile-function,
.lcs-agent-profile-status {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin: .5rem 0 0;
  padding: .36rem .72rem;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 250, 238, .98), var(--lcs-agent-status-bg));
  border: 1px solid var(--lcs-agent-status-border);
  color: var(--lcs-agent-status-text);
  font-size: .84rem;
  font-weight: 820;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.lcs-agent-profile-status::before {
  content: "";
  width: 1.05em;
  height: 1.05em;
  flex: 0 0 1.05em;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 2h6v2h-1v4.25l5.74 9.95A2.5 2.5 0 0 1 17.57 22H6.43a2.5 2.5 0 0 1-2.17-3.8L10 8.25V4H9V2Zm3 7.8-6 10.4a.5.5 0 0 0 .43.8h11.14a.5.5 0 0 0 .43-.8L12 9.8ZM9.7 17h4.6l1.15 2H8.55l1.15-2Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 2h6v2h-1v4.25l5.74 9.95A2.5 2.5 0 0 1 17.57 22H6.43a2.5 2.5 0 0 1-2.17-3.8L10 8.25V4H9V2Zm3 7.8-6 10.4a.5.5 0 0 0 .43.8h11.14a.5.5 0 0 0 .43-.8L12 9.8ZM9.7 17h4.6l1.15 2H8.55l1.15-2Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.lcs-agent-profile-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-top: .65rem;
}

.lcs-agent-profile-meta > span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: .2rem .55rem;
  border: 1px solid var(--lcs-agent-border);
  border-radius: 999px;
  font-size: .82rem;
}

.lcs-agent-profile-section {
  padding: 1rem 0 0;
}

.lcs-agent-profile-section h3 {
  margin: 0 0 .55rem;
  font-size: 1rem;
}

.lcs-agent-profile-bio :where(p, ul, ol),
.lcs-agent-profile-team-theme :where(p, ul, ol) {
  margin-top: .45rem;
}

.lcs-agent-socials {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}

.lcs-agent-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: .28rem .62rem;
  border: 1px solid var(--lcs-agent-border);
  border-radius: 999px;
  text-decoration: none;
  font-size: .84rem;
  font-weight: 750;
}


.lcs-agent-profile-tabs-wrap {
  margin-top: 1.15rem;
}

.lcs-agent-profile-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: .35rem;
  padding: .28rem;
  border: 1px solid var(--lcs-agent-border);
  border-radius: 999px;
  background: rgba(248, 250, 252, .86);
}

.lcs-agent-profile-tab {
  appearance: none;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--lcs-agent-muted);
  cursor: pointer;
  font: inherit;
  font-size: .92rem;
  font-weight: 760;
  line-height: 1.15;
  padding: .62rem 1rem;
  transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}

.lcs-agent-profile-tab:hover,
.lcs-agent-profile-tab:focus-visible {
  color: var(--lcs-agent-ink);
}

.lcs-agent-profile-tab:focus-visible {
  outline: 2px solid rgba(197, 151, 37, .38);
  outline-offset: 2px;
}

.lcs-agent-profile-tab.is-active {
  background: #fff;
  color: var(--lcs-agent-ink);
  box-shadow: 0 8px 22px rgba(15, 23, 42, .08);
}

.lcs-agent-profile-tab-panels {
  margin-top: .95rem;
}

.lcs-agent-profile-tab-panel[hidden] {
  display: none !important;
}

.lcs-agent-profile-tab-panel {
  padding-top: 0;
}


.lcs-agent-profile-team-theme {
  color: #1e293b;
  line-height: 1.68;
}

.lcs-agent-profile-team-theme strong {
  color: var(--lcs-agent-ink);
}

.lcs-agent-profile-projects ul {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.lcs-agent-profile-projects li {
  padding: .35rem .6rem;
  border: 1px solid var(--lcs-agent-border);
  border-radius: 999px;
  background: var(--lcs-agent-soft);
}

.lcs-agent-member-static {
  cursor: default;
}

.lcs-agent-member-static:hover {
  transform: none;
  box-shadow: var(--lcs-agent-card-shadow);
  background: linear-gradient(105deg, rgba(255, 255, 255, .95), rgba(248, 248, 246, .98));
  border-color: rgba(7, 21, 38, .08);
}

.lcs-agent-member-static:focus-visible {
  outline: none;
}


.lcs-agent-member-alumni-socials {
  display: flex;
  flex-wrap: wrap;
  gap: .32rem;
  margin-top: .45rem;
}

.lcs-agent-member-alumni-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  min-width: 30px;
  min-height: 30px;
  border: 1px solid rgba(215, 168, 58, .28);
  border-radius: 999px;
  background: rgba(255, 251, 235, .78);
  color: var(--lcs-agent-ink);
  text-decoration: none;
  box-shadow: 0 6px 14px rgba(7, 21, 38, .045);
  transition: transform .18s ease, border-color .18s ease, background .18s ease, color .18s ease;
}

.lcs-agent-member-alumni-social-link:hover,
.lcs-agent-member-alumni-social-link:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(215, 168, 58, .58);
  background: rgba(250, 204, 21, .2);
  color: #92400e;
}

.lcs-agent-member-alumni-social-link:focus-visible {
  outline: 2px solid rgba(215, 168, 58, .38);
  outline-offset: 2px;
}

.lcs-agent-member-alumni-social-icon,
.lcs-agent-member-alumni-social-icon img,
.lcs-agent-member-alumni-social-icon svg {
  display: block;
  width: 15px;
  height: 15px;
}

.lcs-agent-member-alumni-social-icon svg {
  fill: currentColor;
}

.lcs-agent-member-alumni-social-text {
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1;
}

@media (max-width: 720px) {
  .lcs-agent {
    padding-inline: .65rem;
    overflow-x: hidden;
  }

  .lcs-agent-toolbar {
    grid-template-columns: 1fr;
    gap: .75rem;
    padding: .75rem;
    border-radius: 18px;
  }

  .lcs-agent-toolbar-fields {
    grid-template-columns: 1fr 1fr;
    gap: .6rem;
  }

  .lcs-agent-toolbar-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    min-width: 0;
    padding-top: .65rem;
    border-top: 1px solid var(--lcs-agent-border);
  }

  .lcs-agent-toolbar-actions .lcs-agent-toggle {
    width: auto;
    min-width: 132px;
  }

  .lcs-agent-search {
    grid-column: 1 / -1;
  }

  .lcs-agent-toolbar input,
  .lcs-agent-toolbar select,
  .lcs-agent-toggle {
    min-height: 44px;
    font-size: 16px;
  }

  .lcs-agent-view-cards .lcs-agent-members {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .lcs-agent-view-cards .lcs-agent-member {
    width: 100%;
    max-width: min(100%, 560px);
    margin-inline: auto;
  }

  .lcs-agent-view-cards .lcs-agent-member-trigger {
    width: 100%;
    gap: .85rem;
    min-height: 118px;
    padding: .8rem;
    border-radius: 22px;
  }

  .lcs-agent-view-cards .lcs-agent-avatar {
    width: 78px;
    height: 92px;
    flex-basis: 78px;
    border-radius: 18px;
  }

  .lcs-agent-view-cards .lcs-agent-member-name {
    font-size: clamp(1.05rem, 6vw, 1.35rem);
  }

  .lcs-agent-view-cards .lcs-agent-member-status {
    font-size: .68rem;
    letter-spacing: .045em;
    padding: .35rem .55rem;
  }
}

/* Modal header contacts and centered scientific profiles */
.lcs-agent-profile-identity {
  flex: 1 1 260px;
  min-width: 0;
}

.lcs-agent-profile-contact {
  margin-left: auto;
  display: grid;
  gap: .42rem;
  align-self: center;
  width: min(330px, 100%);
  max-width: 330px;
}

.lcs-agent-profile-contact-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 38px;
  padding: .42rem .72rem;
  border: 1px solid var(--lcs-agent-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, .88);
  color: var(--lcs-agent-ink);
  text-decoration: none;
  font-size: .88rem;
  font-weight: 680;
  line-height: 1.2;
  box-shadow: 0 6px 18px rgba(7, 21, 38, .05);
}

.lcs-agent-profile-contact-link:hover {
  border-color: rgba(200, 155, 44, .34);
  background: rgba(255, 250, 238, .96);
}

.lcs-agent-contact-icon {
  width: 1.05em;
  height: 1.05em;
  flex: 0 0 1.05em;
  background: var(--lcs-agent-accent);
  opacity: .95;
}

.lcs-agent-profile-contact-mail .lcs-agent-contact-icon {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 5h16a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2Zm0 3.2V17h16V8.2l-8 5.1-8-5.1ZM5.4 7 12 11.2 18.6 7H5.4Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 5h16a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2Zm0 3.2V17h16V8.2l-8 5.1-8-5.1ZM5.4 7 12 11.2 18.6 7H5.4Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.lcs-agent-profile-contact-phone .lcs-agent-contact-icon {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6.62 10.79a15.05 15.05 0 0 0 6.59 6.59l2.2-2.2a1 1 0 0 1 1.01-.24 11.36 11.36 0 0 0 3.58.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.24.2 2.45.57 3.58a1 1 0 0 1-.25 1.01l-2.2 2.2Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6.62 10.79a15.05 15.05 0 0 0 6.59 6.59l2.2-2.2a1 1 0 0 1 1.01-.24 11.36 11.36 0 0 0 3.58.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.24.2 2.45.57 3.58a1 1 0 0 1-.25 1.01l-2.2 2.2Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.lcs-agent-profile-socials {
  padding: 1rem 0 .15rem;
}

.lcs-agent-socials-centered {
  justify-content: center;
  align-items: center;
}

.lcs-agent-social-link-icon {
  width: 42px;
  height: 42px;
  min-height: 42px;
  padding: 0;
  border-radius: 999px;
  color: var(--lcs-agent-ink);
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 8px 20px rgba(7, 21, 38, .055);
}

.lcs-agent-social-link-icon:hover {
  color: var(--lcs-agent-status-text);
  border-color: rgba(200, 155, 44, .38);
  background: rgba(255, 250, 238, .98);
  transform: translateY(-1px);
}

.lcs-agent-social-icon,
.lcs-agent-social-icon img,
.lcs-agent-social-icon svg {
  display: block;
  width: 20px;
  height: 20px;
}

.lcs-agent-social-icon svg {
  fill: currentColor;
}

.lcs-agent-social-text {
  font-size: .74rem;
  font-weight: 820;
}

.lcs-agent-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width: 900px) {
  .lcs-agent-modal {
    padding: .8rem;
  }

  .lcs-agent-modal-dialog {
    width: min(100%, calc(100vw - 1rem));
    padding: 1rem;
    border-radius: 22px;
  }

  .lcs-agent-profile-header {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1rem;
    padding-right: 2.85rem;
  }

  .lcs-agent-profile-contact {
    grid-column: 2;
    width: 100%;
    max-width: none;
    margin-left: 0;
  }

  .lcs-agent-profile-header .lcs-agent-profile-identity > h2 {
    font-size: clamp(1.45rem, 6vw, 2.2rem);
  }
}

@media (max-width: 560px) {
  .lcs-agent-toolbar,
  .lcs-agent-toolbar-fields {
    grid-template-columns: 1fr;
  }

  .lcs-agent-toolbar-actions {
    display: grid;
    gap: .4rem;
    justify-items: stretch;
  }

  .lcs-agent-toolbar-actions .lcs-agent-toggle,
  .lcs-agent-toggle {
    min-width: 0;
    width: 100%;
  }

  .lcs-agent-profile-header {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding: .25rem 0 1rem;
  }

  .lcs-agent-avatar-profile {
    width: min(58vw, 180px);
    height: min(58vw, 180px);
    flex-basis: auto;
  }

  .lcs-agent-profile-header .lcs-agent-profile-identity > h2 {
    max-width: 100%;
    white-space: normal;
    font-size: clamp(1.45rem, 8vw, 2.25rem);
  }

  .lcs-agent-profile-status {
    margin-inline: auto;
  }

  .lcs-agent-profile-meta {
    justify-content: center;
  }

  .lcs-agent-profile-contact {
    grid-column: 1;
  }

  .lcs-agent-profile-tabs,
  .lcs-agent-profile-tab {
    width: 100%;
  }

  .lcs-agent-profile-tabs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
    border-radius: 18px;
  }

  .lcs-agent-profile-tab {
    justify-content: center;
    text-align: center;
  }

}

/* 1.5.1 - Status badge icons and flush modal header avatar */
.lcs-agent-member-status::before,
.lcs-agent-profile-status::before {
  content: none;
  display: none;
}

.lcs-agent-status-icon {
  display: inline-grid;
  place-items: center;
  width: 1.05em;
  height: 1.05em;
  flex: 0 0 1.05em;
  color: currentColor;
}

.lcs-agent-status-icon-default {
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 2h6v2h-1v4.25l5.74 9.95A2.5 2.5 0 0 1 17.57 22H6.43a2.5 2.5 0 0 1-2.17-3.8L10 8.25V4H9V2Zm3 7.8-6 10.4a.5.5 0 0 0 .43.8h11.14a.5.5 0 0 0 .43-.8L12 9.8ZM9.7 17h4.6l1.15 2H8.55l1.15-2Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 2h6v2h-1v4.25l5.74 9.95A2.5 2.5 0 0 1 17.57 22H6.43a2.5 2.5 0 0 1-2.17-3.8L10 8.25V4H9V2Zm3 7.8-6 10.4a.5.5 0 0 0 .43.8h11.14a.5.5 0 0 0 .43-.8L12 9.8ZM9.7 17h4.6l1.15 2H8.55l1.15-2Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.lcs-agent-status-icon img,
.lcs-agent-status-icon svg {
  display: block;
  width: 1.1em;
  height: 1.1em;
  object-fit: contain;
}

.lcs-agent-status-icon svg {
  fill: currentColor;
}

.lcs-agent-status-text {
  min-width: 0;
}

.lcs-agent-modal-dialog {
  padding: 0;
  border-radius: 30px;
  overflow: auto;
}

.lcs-agent-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  float: none;
  z-index: 5;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
}

.lcs-agent-profile {
  --lcs-agent-modal-pad: clamp(1rem, 2.2vw, 1.5rem);
  padding: 0 var(--lcs-agent-modal-pad) var(--lcs-agent-modal-pad);
}

.lcs-agent-profile-header {
  min-height: clamp(220px, 24vw, 292px);
  grid-template-columns: clamp(220px, 25vw, 310px) minmax(0, 1fr) minmax(260px, auto);
  align-items: stretch;
  gap: clamp(1.2rem, 2.4vw, 2.25rem);
  margin: 0 calc(var(--lcs-agent-modal-pad) * -1);
  padding: 0 calc(var(--lcs-agent-modal-pad) + 3.4rem) 0 0;
  overflow: hidden;
  border-radius: 30px 30px 0 0;
  background:
    linear-gradient(108deg, rgba(255, 255, 255, .98) 0%, rgba(255, 255, 255, .98) 62%, rgba(250, 244, 232, .58) 100%);
}

.lcs-agent-profile-header .lcs-agent-avatar-profile {
  width: 100%;
  height: 100%;
  min-height: inherit;
  flex-basis: auto;
  align-self: stretch;
  border-radius: 30px 0 30px 0;
  border: 0;
  box-shadow: none;
  object-fit: cover;
  object-position: center top;
  background: var(--lcs-agent-soft);
}

.lcs-agent-profile-header .lcs-agent-profile-identity,
.lcs-agent-profile-header .lcs-agent-profile-contact {
  align-self: center;
}

.lcs-agent-profile-header .lcs-agent-profile-identity > h2 {
  max-width: 100%;
}

@media (max-width: 900px) {
  .lcs-agent-profile-header {
    min-height: clamp(210px, 32vw, 270px);
    grid-template-columns: clamp(180px, 30vw, 245px) minmax(0, 1fr);
    padding-right: calc(var(--lcs-agent-modal-pad) + 3.2rem);
  }

  .lcs-agent-profile-contact {
    grid-column: 2;
  }
}

@media (max-width: 560px) {
  .lcs-agent-modal-dialog {
    border-radius: 24px;
  }

  .lcs-agent-profile {
    --lcs-agent-modal-pad: .9rem;
  }

  .lcs-agent-profile-header {
    grid-template-columns: 1fr;
    gap: .9rem;
    min-height: 0;
    padding: 0 0 1rem;
    border-radius: 24px 24px 0 0;
  }

  .lcs-agent-profile-header .lcs-agent-avatar-profile {
    width: 100%;
    height: min(72vw, 310px);
    min-height: 0;
    border-radius: 24px 24px 0 0;
  }

  .lcs-agent-profile-header .lcs-agent-profile-identity,
  .lcs-agent-profile-header .lcs-agent-profile-contact {
    width: 100%;
    padding-inline: var(--lcs-agent-modal-pad);
  }

  .lcs-agent-profile-contact {
    grid-column: 1;
  }
}


/* LCS Agent 1.5.4: separated toolbar actions and refined list view. */
.lcs-agent-view-list .lcs-agent-members {
  grid-template-columns: 1fr;
  gap: .62rem;
}

.lcs-agent-view-list .lcs-agent-member-trigger {
  min-height: 66px;
  padding: .72rem .88rem;
  gap: .78rem;
  border-radius: 18px;
  border: 1px solid rgba(7, 21, 38, .075);
  border-left: 4px solid rgba(200, 155, 44, .55);
  background: linear-gradient(100deg, rgba(255, 255, 255, .98), rgba(252, 249, 242, .92));
  box-shadow: 0 8px 24px rgba(7, 21, 38, .06);
}

.lcs-agent-view-list .lcs-agent-member-trigger:hover {
  transform: translateX(2px);
  border-color: rgba(200, 155, 44, .30);
  border-left-color: rgba(200, 155, 44, .88);
  box-shadow: 0 12px 30px rgba(7, 21, 38, .10);
}

.lcs-agent-view-list .lcs-agent-member-trigger::before {
  display: none;
}

.lcs-agent-view-list .lcs-agent-member-trigger::after {
  content: "›";
  position: static;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.4rem;
  height: 1.4rem;
  margin-left: auto;
  flex: 0 0 auto;
  border-radius: 999px;
  background: rgba(200, 155, 44, .10);
  color: var(--lcs-agent-status-text);
  font-size: 1.35rem;
  line-height: 1;
  opacity: .68;
}

.lcs-agent-view-list .lcs-agent-member-static::after {
  display: none;
}

.lcs-agent-view-list .lcs-agent-avatar {
  width: 46px;
  height: 46px;
  flex-basis: 46px;
  border-radius: 14px;
  object-position: center top;
  box-shadow: 0 6px 16px rgba(7, 21, 38, .10);
}

.lcs-agent-view-list .lcs-agent-member-main {
  width: 100%;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .85rem;
}

.lcs-agent-view-list .lcs-agent-member-name {
  min-width: 0;
  color: var(--lcs-agent-ink);
  font-size: clamp(1rem, 1.7vw, 1.12rem);
  line-height: 1.12;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lcs-agent-view-list .lcs-agent-member-status {
  flex: 0 0 auto;
  padding: .28rem .58rem;
  font-size: .68rem;
  letter-spacing: .045em;
  max-width: min(46vw, 380px);
}

@media (max-width: 560px) {
  .lcs-agent-view-list .lcs-agent-member-trigger {
    align-items: flex-start;
  }

  .lcs-agent-view-list .lcs-agent-member-main {
    display: grid;
    justify-items: start;
    gap: .35rem;
  }

  .lcs-agent-view-list .lcs-agent-member-name {
    white-space: normal;
  }

  .lcs-agent-view-list .lcs-agent-member-status {
    max-width: 100%;
  }

  .lcs-agent-view-list .lcs-agent-member-trigger::after {
    margin-top: .4rem;
  }
}

/* LCS Agent 1.5.5: front team toggle and modal header vertical refinement. */
.lcs-agent-profile-header .lcs-agent-profile-identity {
  align-self: start;
  padding-top: clamp(.75rem, 1.55vw, 1.15rem);
}

.lcs-agent-profile-header .lcs-agent-profile-contact {
  align-self: start;
  padding-top: clamp(.95rem, 1.75vw, 1.35rem);
}

@media (max-width: 560px) {
  .lcs-agent-profile-header .lcs-agent-profile-identity,
  .lcs-agent-profile-header .lcs-agent-profile-contact {
    padding-top: 0;
  }
}


/* LCS Agent 1.5.7: compact list width only. Cards view is untouched. */
.lcs-agent-view-list .lcs-agent-member {
  width: 100%;
  max-width: 40%;
  justify-self: start;
}

@media (max-width: 1180px) {
  .lcs-agent-view-list .lcs-agent-member {
    max-width: 58%;
  }
}

@media (max-width: 760px) {
  .lcs-agent-view-list .lcs-agent-member {
    max-width: 100%;
  }
}

/* LCS Agent 1.5.8: team/platform icons in modal and group headers. */
.lcs-agent-group-title {
  display: flex;
  align-items: center;
  gap: .45rem;
}

.lcs-agent-group-title-main,
.lcs-agent-profile-team-meta,
.lcs-agent-profile-platform-meta,
.lcs-agent-profile-service-meta {
  display: inline-flex;
  align-items: center;
  gap: .42rem;
  min-width: 0;
}

.lcs-agent-term-icon,
.lcs-agent-term-icon img,
.lcs-agent-term-icon svg,
.lcs-agent-group-title-main > img,
.lcs-agent-group-title-main > svg {
  display: inline-block;
  width: 1.25em;
  height: 1.25em;
  object-fit: contain;
  flex: 0 0 1.25em;
}

.lcs-agent-group-title .lcs-agent-term-icon,
.lcs-agent-group-title-main > img,
.lcs-agent-group-title-main > svg {
  width: 1.55em;
  height: 1.55em;
}

.lcs-agent-term-icon svg,
.lcs-agent-group-title-main > svg {
  fill: currentColor;
}

.lcs-agent-team-responsibility-separator {
  opacity: .55;
  margin-inline: .05rem;
}

.lcs-agent-team-responsibility-text {
  font-weight: 740;
}

/* LCS Agent 1.5.9 - modal close button alignment */
.lcs-agent .lcs-agent-modal-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 400;
}

.lcs-agent .lcs-agent-modal-close svg,
.lcs-agent .lcs-agent-modal-close img {
  display: block;
  margin: auto;
}

/* LCS Agent 1.6.0 - iconified member projects and nested project modal. */
.lcs-agent-profile-projects {
  padding-top: .85rem;
}

.lcs-agent-project-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .55rem;
}

.lcs-agent-project-badge {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: .48rem;
  min-height: 42px;
  max-width: 260px;
  padding: .32rem .72rem .32rem .38rem;
  border: 1px solid rgba(7, 21, 38, .10);
  border-radius: 999px;
  background: linear-gradient(105deg, rgba(255,255,255,.96), rgba(252,248,238,.94));
  box-shadow: 0 8px 22px rgba(7, 21, 38, .065);
  color: var(--lcs-agent-ink);
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, background .16s ease;
}

.lcs-agent-project-badge:hover,
.lcs-agent-project-badge:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(200, 155, 44, .34);
  background: linear-gradient(105deg, #fff, rgba(255,250,238,.98));
  box-shadow: 0 12px 28px rgba(7, 21, 38, .10);
}

.lcs-agent-project-badge:focus-visible {
  outline: 2px solid rgba(197, 151, 37, .35);
  outline-offset: 2px;
}

.lcs-agent .lcs-agent-project-badge-image {
  display: block !important;
  width: 30px !important;
  min-width: 30px !important;
  max-width: 30px !important;
  height: 30px !important;
  min-height: 30px !important;
  max-height: 30px !important;
  flex: 0 0 30px !important;
  aspect-ratio: 1 / 1;
  object-fit: cover !important;
  object-position: center;
  border-radius: 50% !important;
  overflow: hidden;
  clip-path: circle(50% at 50% 50%);
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(7, 21, 38, .08);
  vertical-align: middle;
}

.lcs-agent-project-badge-title {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: .86rem;
  font-weight: 760;
}

.lcs-agent-project-modal[hidden] {
  display: none !important;
}

.lcs-agent-project-modal {
  position: fixed;
  inset: 0;
  z-index: 100001;
  display: grid;
  place-items: center;
  padding: clamp(.9rem, 2vw, 1.4rem);
}

.lcs-agent-project-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 21, 38, .52);
  backdrop-filter: blur(5px);
}

.lcs-agent-project-modal-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(210px, 320px) minmax(0, 1fr);
  width: min(920px, calc(100vw - 2rem));
  max-height: min(760px, calc(100vh - 2rem));
  overflow: auto;
  border: 1px solid rgba(255,255,255,.70);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 30px 80px rgba(7, 21, 38, .28);
  color: var(--lcs-agent-ink);
}

.lcs-agent-project-modal-close {
  position: absolute;
  top: .75rem;
  right: .75rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid rgba(7, 21, 38, .08);
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  color: var(--lcs-agent-ink);
  cursor: pointer;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.4rem;
  line-height: 1;
  box-shadow: 0 8px 22px rgba(7,21,38,.08);
}

.lcs-agent-project-modal-media {
  display: grid;
  align-content: start;
  gap: .85rem;
  padding: 1.15rem;
  background: linear-gradient(145deg, rgba(250,244,232,.78), rgba(255,255,255,.95));
}

.lcs-agent-project-modal-image-wrap {
  display: grid;
  place-items: center;
  min-height: 210px;
  border-radius: 22px;
  background: rgba(255,255,255,.86);
  box-shadow: inset 0 0 0 1px rgba(7,21,38,.055);
  overflow: hidden;
}

.lcs-agent-project-modal-image {
  max-width: 88%;
  max-height: 190px;
  object-fit: contain;
}

.lcs-agent-project-modal-image-placeholder {
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  border-radius: 26px;
  background: rgba(200, 155, 44, .12);
  color: var(--lcs-agent-status-text);
  font-size: 2.4rem;
  font-weight: 860;
  text-transform: uppercase;
}

.lcs-agent-project-modal-funders {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: center;
}

.lcs-agent-project-modal-funders img {
  max-width: 88px;
  max-height: 42px;
  object-fit: contain;
  padding: .28rem .44rem;
  border-radius: 12px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 8px 18px rgba(7, 21, 38, .06);
}

.lcs-agent-project-modal-content {
  padding: clamp(1.2rem, 2.8vw, 2rem);
  padding-right: clamp(3.2rem, 5vw, 4.2rem);
}

.lcs-agent-project-modal-dates {
  display: inline-flex;
  margin-bottom: .65rem;
  padding: .25rem .62rem;
  border-radius: 999px;
  background: rgba(200,155,44,.12);
  color: var(--lcs-agent-status-text);
  font-size: .82rem;
  font-weight: 780;
}

.lcs-agent-project-modal-title {
  margin: 0;
  color: var(--lcs-agent-ink);
  font-size: clamp(1.65rem, 3.2vw, 2.55rem);
  line-height: .98;
  letter-spacing: -.04em;
}

.lcs-agent-project-modal-subtitle {
  margin-top: .8rem;
  color: var(--lcs-agent-muted);
  font-size: 1rem;
  line-height: 1.55;
}

.lcs-agent-project-modal-duration {
  display: grid;
  grid-template-columns: auto minmax(80px, 1fr) auto;
  align-items: center;
  gap: .65rem;
  margin-top: 1.2rem;
  color: var(--lcs-agent-status-text);
  font-weight: 820;
}

.lcs-agent-project-modal-duration span[aria-hidden="true"] {
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, rgba(200,155,44,.22), rgba(200,155,44,.68));
}

.lcs-agent-project-modal-details {
  display: grid;
  gap: .75rem;
  margin: 1.25rem 0 0;
}

.lcs-agent-project-modal-details div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: .8rem;
  padding-top: .75rem;
  border-top: 1px solid var(--lcs-agent-border);
}

.lcs-agent-project-modal-details dt {
  color: var(--lcs-agent-muted);
  font-size: .82rem;
  font-weight: 760;
  text-transform: uppercase;
  letter-spacing: .055em;
}

.lcs-agent-project-modal-details dd {
  margin: 0;
  font-weight: 650;
}

.lcs-agent-project-modal-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  margin-top: 1.3rem;
  padding: .55rem .95rem;
  border-radius: 999px;
  background: var(--lcs-agent-ink);
  color: #fff;
  text-decoration: none;
  font-weight: 780;
}

@media (max-width: 760px) {
  .lcs-agent-project-modal-dialog {
    grid-template-columns: 1fr;
    width: min(100%, calc(100vw - 1rem));
    border-radius: 22px;
  }

  .lcs-agent-project-modal-media {
    padding: .85rem;
  }

  .lcs-agent-project-modal-image-wrap {
    min-height: 160px;
    border-radius: 18px;
  }

  .lcs-agent-project-modal-content {
    padding: 1rem;
    padding-right: 3.2rem;
  }

  .lcs-agent-project-modal-details div {
    grid-template-columns: 1fr;
    gap: .25rem;
  }
}

/* LCS Agent 1.6.1 - discreet modal section notes. */
.lcs-agent-profile-note {
  max-width: 680px;
  margin: 0 auto .62rem;
  color: var(--lcs-agent-muted);
  font-size: .78rem;
  font-weight: 560;
  letter-spacing: .018em;
  line-height: 1.45;
  text-align: center;
  opacity: .72;
}

.lcs-agent-profile-socials-note {
  margin-bottom: .58rem;
}

.lcs-agent-profile-projects-note {
  margin-bottom: .7rem;
}

.lcs-agent-project-modal-content > .lcs-agent-project-modal-title:first-child {
  margin-top: .12rem;
}

/* LCS Agent 1.6.4 - social links and projects moved into the modal header. */
.lcs-agent-profile-header-has-panel {
  grid-template-columns: clamp(220px, 25vw, 310px) minmax(0, 1fr) minmax(280px, 380px);
}

.lcs-agent-profile-header-no-panel {
  grid-template-columns: clamp(220px, 25vw, 310px) minmax(0, 1fr);
}

.lcs-agent-profile-header-panel {
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: .78rem;
  min-width: 0;
  width: 100%;
  padding-top: clamp(.78rem, 1.5vw, 1.12rem);
}

.lcs-agent-profile-header-panel .lcs-agent-profile-contact {
  grid-column: auto;
  width: 100%;
  max-width: none;
  margin-left: 0;
  align-self: stretch;
  padding-top: 0;
}

.lcs-agent-profile-header-panel .lcs-agent-profile-contact-link {
  width: 100%;
  min-height: 36px;
  padding: .38rem .68rem;
  font-size: .82rem;
}

.lcs-agent-profile-header-panel .lcs-agent-profile-socials,
.lcs-agent-profile-header-panel .lcs-agent-profile-projects {
  padding: 0;
}

.lcs-agent-profile-header-panel .lcs-agent-profile-note {
  max-width: none;
  margin: 0 0 .38rem;
  text-align: left;
  font-size: .72rem;
  line-height: 1.35;
}

.lcs-agent-profile-header-panel .lcs-agent-socials-centered,
.lcs-agent-profile-header-panel .lcs-agent-project-badges {
  justify-content: flex-start;
}

.lcs-agent-profile-header-panel .lcs-agent-socials,
.lcs-agent-profile-header-panel .lcs-agent-project-badges {
  gap: .38rem;
}

.lcs-agent-profile-header-panel .lcs-agent-social-link-icon {
  width: 38px;
  height: 38px;
  min-height: 38px;
  flex: 0 0 38px;
}

.lcs-agent-profile-header-panel .lcs-agent-social-icon,
.lcs-agent-profile-header-panel .lcs-agent-social-icon img,
.lcs-agent-profile-header-panel .lcs-agent-social-icon svg {
  width: 18px;
  height: 18px;
}

.lcs-agent-profile-header-panel .lcs-agent-project-badge {
  min-height: 36px;
  max-width: min(100%, 300px);
  padding: .28rem .62rem .28rem .32rem;
  box-shadow: 0 6px 18px rgba(7, 21, 38, .055);
}

.lcs-agent .lcs-agent-profile-header-panel .lcs-agent-project-badge-image {
  width: 30px !important;
  min-width: 30px !important;
  max-width: 30px !important;
  height: 30px !important;
  min-height: 30px !important;
  max-height: 30px !important;
  flex: 0 0 30px !important;
  object-fit: cover !important;
  border-radius: 50% !important;
  clip-path: circle(50% at 50% 50%);
}

.lcs-agent-profile-header-panel .lcs-agent-project-badge-title {
  font-size: .8rem;
}

@media (max-width: 900px) {
  .lcs-agent-profile-header-has-panel,
  .lcs-agent-profile-header-no-panel {
    grid-template-columns: clamp(180px, 30vw, 245px) minmax(0, 1fr);
  }

  .lcs-agent-profile-header-panel {
    grid-column: 2;
    padding-top: 0;
  }
}

@media (max-width: 560px) {
  .lcs-agent-profile-header-has-panel,
  .lcs-agent-profile-header-no-panel {
    grid-template-columns: 1fr;
  }

  .lcs-agent-profile-header-panel {
    grid-column: 1;
    padding: 0 var(--lcs-agent-modal-pad);
  }

  .lcs-agent-profile-header-panel .lcs-agent-profile-note {
    text-align: center;
  }

  .lcs-agent-profile-header-panel .lcs-agent-socials-centered,
  .lcs-agent-profile-header-panel .lcs-agent-project-badges {
    justify-content: center;
  }
}

/* LCS Agent 1.6.7 - cleaner modal header and bibliometric filter counter support. */
.lcs-agent-profile-header-has-panel,
.lcs-agent-profile-header-no-panel {
  grid-template-columns: clamp(220px, 25vw, 310px) minmax(0, 1fr);
  align-items: stretch;
}

.lcs-agent-profile-header .lcs-agent-profile-identity {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-width: 0;
  padding-top: clamp(.7rem, 1.4vw, 1rem);
  padding-bottom: clamp(.9rem, 1.6vw, 1.2rem);
}

.lcs-agent-profile-header-panel {
  display: flex;
  flex-direction: column;
  gap: .7rem;
  width: 100%;
  min-width: 0;
  margin-top: .78rem;
  padding-top: 0;
}

.lcs-agent-profile-header-panel .lcs-agent-profile-contact {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: .48rem;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.lcs-agent-profile-header-panel .lcs-agent-profile-contact-link {
  width: auto;
  max-width: 100%;
  min-height: 34px;
  padding: .34rem .64rem;
  font-size: .8rem;
}

.lcs-agent-profile-header-panel .lcs-agent-profile-socials,
.lcs-agent-profile-header-panel .lcs-agent-profile-projects {
  width: 100%;
  padding: 0;
  margin: 0;
}

.lcs-agent-profile-header-panel .lcs-agent-profile-note {
  margin: 0 0 .32rem;
  max-width: none;
  text-align: left;
  font-size: .7rem;
  line-height: 1.35;
  opacity: .68;
}

.lcs-agent-profile-header-panel .lcs-agent-socials-centered,
.lcs-agent-profile-header-panel .lcs-agent-project-badges {
  justify-content: flex-start;
}

.lcs-agent-profile-header-panel .lcs-agent-socials,
.lcs-agent-profile-header-panel .lcs-agent-project-badges {
  gap: .38rem;
}

@media (max-width: 900px) {
  .lcs-agent-profile-header-has-panel,
  .lcs-agent-profile-header-no-panel {
    grid-template-columns: clamp(180px, 30vw, 245px) minmax(0, 1fr);
  }

  .lcs-agent-profile-header-panel {
    grid-column: auto;
    padding-top: 0;
  }
}

@media (max-width: 560px) {
  .lcs-agent-profile-header-has-panel,
  .lcs-agent-profile-header-no-panel {
    grid-template-columns: 1fr;
  }

  .lcs-agent-profile-header .lcs-agent-profile-identity {
    width: 100%;
    padding: 0 var(--lcs-agent-modal-pad) 1rem;
  }

  .lcs-agent-profile-header-panel .lcs-agent-profile-contact,
  .lcs-agent-profile-header-panel .lcs-agent-socials-centered,
  .lcs-agent-profile-header-panel .lcs-agent-project-badges {
    justify-content: center;
  }

  .lcs-agent-profile-header-panel .lcs-agent-profile-note {
    text-align: center;
  }
}

.lcs-agent .is-lcs-agent-biblio-filtered-out {
  display: none !important;
}

/* LCS Agent 1.6.9 - project header limit with show more. */
.lcs-agent-project-badge[hidden],
.lcs-agent-project-badge-more[hidden] {
  display: none !important;
}

.lcs-agent-project-badge-more {
  padding-left: .72rem;
  border-style: dashed;
  background: rgba(255,255,255,.62);
  color: var(--lcs-agent-muted);
  box-shadow: none;
}

.lcs-agent-project-badge-more:hover,
.lcs-agent-project-badge-more:focus-visible {
  color: var(--lcs-agent-ink);
  background: #fff;
}

/* LCS Agent 2.0.0.01: lazy modal profile states */
.lcs-agent-profile-loading,
.lcs-agent-profile-error {
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
  color: var(--lcs-agent-muted, #667085);
}

.lcs-agent-profile-error {
  color: #9f1239;
}

/* LCS Agent 2.0.0.03: instant modal preview while AJAX profile loads. */
.lcs-agent-profile-preview {
  min-height: 260px;
}

.lcs-agent-profile-preview-header {
  opacity: .96;
}

.lcs-agent-profile-preview-avatar {
  filter: saturate(.95);
}

.lcs-agent-profile-preview-status {
  margin-top: .55rem;
  font-size: .78rem;
  color: var(--lcs-agent-muted, #667085);
}

.lcs-agent-profile-skeleton {
  display: grid;
  gap: .55rem;
  width: min(100%, 560px);
  margin-top: 1rem;
}

.lcs-agent-profile-skeleton > span {
  display: block;
  height: .72rem;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(15, 23, 42, .06), rgba(15, 23, 42, .13), rgba(15, 23, 42, .06));
  background-size: 220% 100%;
  animation: lcs-agent-skeleton-pulse 1.2s ease-in-out infinite;
}

.lcs-agent-profile-skeleton > span:nth-child(1) {
  width: 74%;
}

.lcs-agent-profile-skeleton > span:nth-child(2) {
  width: 58%;
}

.lcs-agent-profile-skeleton > span:nth-child(3) {
  width: 42%;
}

@keyframes lcs-agent-skeleton-pulse {
  0% { background-position: 120% 0; }
  100% { background-position: -120% 0; }
}

@media (prefers-reduced-motion: reduce) {
  .lcs-agent-profile-skeleton > span {
    animation: none;
  }
}

/* LCS Agent 2.0.0.04: alternative modal style via modal_style="split". */
.lcs-agent-modal-style-split .lcs-agent-modal-dialog {
  width: min(1180px, calc(100vw - 1.4rem));
  max-height: min(90vh, 1020px);
  padding: 0;
  overflow: auto;
  border-radius: 28px;
  background:
    radial-gradient(circle at 84% 10%, rgba(242, 201, 76, .14), transparent 34%),
    linear-gradient(135deg, #fff 0%, #fbfaf6 48%, #f6f1e8 100%);
  box-shadow: 0 34px 94px rgba(7, 21, 38, .32);
}

.lcs-agent-modal-style-split .lcs-agent-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 8;
  float: none;
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 24px rgba(7, 21, 38, .12);
}

.lcs-agent-modal-style-split .lcs-agent-profile-header-has-panel,
.lcs-agent-modal-style-split .lcs-agent-profile-header-no-panel,
.lcs-agent-modal-style-split .lcs-agent-profile-header {
  display: grid;
  grid-template-columns: minmax(250px, 34%) minmax(0, 1fr);
  align-items: stretch;
  min-height: clamp(340px, 42vh, 470px);
  margin: 0;
  padding: 0;
  border-bottom: 0;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .92), rgba(255, 255, 255, .68)),
    radial-gradient(circle at 100% 0, rgba(242, 201, 76, .22), transparent 35%);
}

.lcs-agent-modal-style-split .lcs-agent-profile-header .lcs-agent-avatar-profile {
  width: 100%;
  height: 100%;
  min-height: clamp(340px, 42vh, 470px);
  max-height: none;
  flex-basis: auto;
  border-radius: 28px 0 0 0;
  object-fit: cover;
  object-position: center top;
  box-shadow: none;
}

.lcs-agent-modal-style-split .lcs-agent-profile-header .lcs-agent-avatar-placeholder.lcs-agent-avatar-profile {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(3rem, 8vw, 6rem);
  background: linear-gradient(135deg, #172033, #2f405a);
  color: #fff;
}

.lcs-agent-modal-style-split .lcs-agent-profile-header .lcs-agent-profile-identity {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .84rem;
  min-width: 0;
  padding: clamp(2rem, 4vw, 3.3rem) clamp(2rem, 5vw, 4.6rem) clamp(1.8rem, 3.8vw, 3rem) clamp(1.55rem, 3.3vw, 3.2rem);
}

.lcs-agent-modal-style-split .lcs-agent-profile-header .lcs-agent-profile-identity::after {
  content: "";
  position: absolute;
  right: clamp(1.4rem, 3vw, 2.6rem);
  bottom: clamp(1.2rem, 2.4vw, 2.1rem);
  width: min(30%, 190px);
  height: min(34%, 150px);
  opacity: .32;
  pointer-events: none;
  background:
    radial-gradient(circle, rgba(242, 201, 76, .45) 1.8px, transparent 2px) 0 0 / 18px 18px;
  mask-image: linear-gradient(135deg, transparent 0%, #000 42%, #000 100%);
}

.lcs-agent-modal-style-split .lcs-agent-profile-header .lcs-agent-profile-identity > h2 {
  position: relative;
  z-index: 1;
  max-width: min(100%, 720px);
  margin: 0;
  color: #121826;
  font-size: clamp(2rem, 4.4vw, 4rem);
  line-height: .98;
  letter-spacing: -.055em;
  white-space: nowrap;
}

.lcs-agent-modal-style-split .lcs-agent-profile-status {
  position: relative;
  z-index: 1;
  width: fit-content;
  margin: .1rem 0 0;
  background: rgba(255, 248, 229, .9);
  box-shadow: inset 0 0 0 1px rgba(242, 201, 76, .18), 0 10px 28px rgba(242, 201, 76, .1);
}

.lcs-agent-modal-style-split .lcs-agent-profile-meta {
  position: relative;
  z-index: 1;
  margin-top: .16rem;
}

.lcs-agent-modal-style-split .lcs-agent-profile-header-panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: .72rem;
  width: min(100%, 740px);
  margin-top: .24rem;
  padding: 0;
}

.lcs-agent-modal-style-split .lcs-agent-profile-header-panel .lcs-agent-profile-contact {
  display: flex;
  flex-wrap: wrap;
  gap: .48rem;
  width: 100%;
}

.lcs-agent-modal-style-split .lcs-agent-profile-header-panel .lcs-agent-profile-contact-link {
  min-height: 36px;
  width: auto;
  border-color: rgba(15, 23, 42, .08);
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 8px 22px rgba(7, 21, 38, .06);
}

.lcs-agent-modal-style-split .lcs-agent-profile-header-panel .lcs-agent-profile-note {
  margin: 0 0 .34rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .66rem;
  font-weight: 800;
  color: rgba(18, 24, 38, .44);
  opacity: 1;
}

.lcs-agent-modal-style-split .lcs-agent-profile-header-panel .lcs-agent-socials-centered,
.lcs-agent-modal-style-split .lcs-agent-profile-header-panel .lcs-agent-project-badges {
  justify-content: flex-start;
}

.lcs-agent-modal-style-split .lcs-agent-profile-header-panel .lcs-agent-social-link-icon {
  width: 40px;
  height: 40px;
  flex-basis: 40px;
  background: rgba(255, 255, 255, .8);
  box-shadow: 0 8px 22px rgba(7, 21, 38, .06);
}

.lcs-agent-modal-style-split .lcs-agent-profile-header-panel .lcs-agent-project-badge {
  background: rgba(255, 255, 255, .82);
  border-color: rgba(15, 23, 42, .08);
  box-shadow: 0 8px 22px rgba(7, 21, 38, .06);
}

.lcs-agent-modal-style-split .lcs-agent-profile-tabs-wrap {
  margin: 0;
  padding: clamp(1rem, 2.2vw, 1.6rem);
  background: rgba(255, 255, 255, .74);
  border-top: 1px solid rgba(15, 23, 42, .07);
}

.lcs-agent-modal-style-split .lcs-agent-profile-tabs {
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  background: rgba(255, 255, 255, .82);
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, .06);
}

.lcs-agent-modal-style-split .lcs-agent-profile-tab-panels {
  max-width: 980px;
  margin-inline: auto;
}

@media (max-width: 760px) {
  .lcs-agent-modal-style-split .lcs-agent-modal-dialog {
    width: min(100vw - .85rem, 720px);
    border-radius: 22px;
  }

  .lcs-agent-modal-style-split .lcs-agent-profile-header-has-panel,
  .lcs-agent-modal-style-split .lcs-agent-profile-header-no-panel,
  .lcs-agent-modal-style-split .lcs-agent-profile-header {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .lcs-agent-modal-style-split .lcs-agent-profile-header .lcs-agent-avatar-profile {
    height: min(56vw, 280px);
    min-height: 220px;
    border-radius: 22px 22px 0 0;
  }

  .lcs-agent-modal-style-split .lcs-agent-profile-header .lcs-agent-profile-identity {
    padding: 1.25rem 1rem 1.35rem;
    align-items: center;
    text-align: center;
  }

  .lcs-agent-modal-style-split .lcs-agent-profile-header .lcs-agent-profile-identity > h2 {
    white-space: normal;
    font-size: clamp(1.9rem, 9vw, 3rem);
  }

  .lcs-agent-modal-style-split .lcs-agent-profile-header-panel,
  .lcs-agent-modal-style-split .lcs-agent-profile-header-panel .lcs-agent-profile-contact,
  .lcs-agent-modal-style-split .lcs-agent-profile-header-panel .lcs-agent-socials-centered,
  .lcs-agent-modal-style-split .lcs-agent-profile-header-panel .lcs-agent-project-badges {
    justify-content: center;
    align-items: center;
  }

  .lcs-agent-modal-style-split .lcs-agent-profile-header-panel .lcs-agent-profile-note {
    text-align: center;
  }
}

/* LCS Agent 2.0.0.07 - ShortBio template output. */
.lcs-agent-shortbio {
  display: grid;
  gap: .35rem;
  color: var(--lcs-agent-text, #1f2937);
  font-size: .98rem;
  line-height: 1.55;
}

.lcs-agent-shortbio p {
  margin: 0;
}

.lcs-agent-shortbio strong {
  color: var(--lcs-agent-heading, #111827);
  font-weight: 760;
}

/* Card style variants */
.lcs-agent-card-style-classic .lcs-agent-member-trigger {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(7, 21, 38, .06);
}

.lcs-agent-card-style-classic .lcs-agent-member-trigger::before,
.lcs-agent-card-style-classic .lcs-agent-member-trigger::after {
  display: none;
}

.lcs-agent-card-style-classic .lcs-agent-avatar {
  width: 50px;
  height: 50px;
  flex-basis: 50px;
}

.lcs-agent-card-style-compact .lcs-agent-member-trigger {
  min-height: 92px;
  padding: .72rem .82rem;
  gap: .78rem;
  border-radius: 18px;
  box-shadow: 0 8px 22px rgba(7, 21, 38, .055);
}

.lcs-agent-card-style-compact .lcs-agent-member-trigger::before {
  opacity: .28;
  width: 150px;
  height: 150px;
  right: -58px;
  bottom: -58px;
}

.lcs-agent-card-style-compact .lcs-agent-member-trigger::after {
  height: 42%;
  top: 29%;
}

.lcs-agent-card-style-compact .lcs-agent-avatar {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
}

.lcs-agent-card-style-compact .lcs-agent-member-name {
  font-size: .95rem;
}

.lcs-agent-card-style-compact .lcs-agent-member-status {
  padding: .22rem .48rem;
  font-size: .68rem;
}

/* 2.0.0.11 - Service and separated modal badges */
.lcs-agent-member-service,
.lcs-agent-profile-service,
.lcs-agent-profile-role {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  width: fit-content;
  max-width: 100%;
  line-height: 1.2;
  border-radius: 999px;
  text-transform: uppercase;
  white-space: normal;
}

.lcs-agent-member-service {
  padding: .36rem .66rem;
  font-size: .70rem;
  font-weight: 850;
  letter-spacing: .08em;
  color: #334155;
  background: linear-gradient(180deg, rgba(248, 250, 252, .98), rgba(226, 232, 240, .72));
  border: 1px solid rgba(148, 163, 184, .42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 8px 20px rgba(15, 23, 42, .07);
}

.lcs-agent-profile-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .44rem;
  margin-top: .55rem;
}

.lcs-agent-profile-service,
.lcs-agent-profile-role {
  margin: 0;
  padding: .36rem .72rem;
  font-size: .78rem;
  font-weight: 840;
  letter-spacing: .05em;
}

.lcs-agent-profile-service {
  color: #334155;
  background: linear-gradient(180deg, rgba(248, 250, 252, .98), rgba(226, 232, 240, .72));
  border: 1px solid rgba(148, 163, 184, .42);
}

.lcs-agent-profile-role {
  color: #5b4b14;
  background: linear-gradient(180deg, rgba(255, 251, 235, .98), rgba(254, 243, 199, .64));
  border: 1px solid rgba(202, 138, 4, .24);
}

.lcs-agent-profile-badges .lcs-agent-profile-status {
  margin: 0;
}

.lcs-agent-service-icon,
.lcs-agent-role-icon {
  display: inline-grid;
  place-items: center;
  width: 1.05em;
  height: 1.05em;
  flex: 0 0 1.05em;
  color: currentColor;
}

.lcs-agent-service-icon-default,
.lcs-agent-role-icon {
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 7a3 3 0 0 1 3-3h10a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3H7a3 3 0 0 1-3-3V7Zm3-1a1 1 0 0 0-1 1v2h12V7a1 1 0 0 0-1-1H7Zm11 5H6v6a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1v-6Zm-9 2h2v2H9v-2Zm4 0h2v2h-2v-2Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 7a3 3 0 0 1 3-3h10a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3H7a3 3 0 0 1-3-3V7Zm3-1a1 1 0 0 0-1 1v2h12V7a1 1 0 0 0-1-1H7Zm11 5H6v6a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1v-6Zm-9 2h2v2H9v-2Zm4 0h2v2h-2v-2Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.lcs-agent-service-icon img,
.lcs-agent-service-icon svg {
  display: block;
  width: 1.1em;
  height: 1.1em;
  object-fit: contain;
}

.lcs-agent-profile-service + .lcs-agent-profile-status,
.lcs-agent-member-service + .lcs-agent-member-status {
  margin-top: .08rem;
}

@media (max-width: 760px) {
  .lcs-agent-profile-badges {
    gap: .35rem;
  }
  .lcs-agent-member-service,
  .lcs-agent-profile-service,
  .lcs-agent-profile-role {
    font-size: .68rem;
  }
}

/* LCS Agent 2.0.0.13 - Expertises */
.lcs-agent-expertise-tags,
.lcs-agent-expertise-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.lcs-agent-expertise-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 24px;
  padding: 4px 9px;
  border: 1px solid rgba(35, 48, 68, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: rgba(30, 41, 59, 0.72);
  font-size: 12px;
  line-height: 1.15;
  font-weight: 650;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
}

.lcs-agent-expertise-tag-more {
  color: rgba(30, 41, 59, 0.56);
  background: rgba(241, 245, 249, 0.9);
}

.lcs-agent-member-expertises {
  margin-top: 9px;
  max-width: 100%;
}

.lcs-agent-member-expertises .lcs-agent-expertise-tag {
  min-height: 21px;
  padding: 3px 7px;
  font-size: 11px;
  font-weight: 600;
  background: rgba(248, 250, 252, 0.82);
}

.lcs-agent-profile-expertises {
  display: grid;
  gap: 7px;
}

.lcs-agent-profile-header-panel .lcs-agent-profile-expertises {
  margin-top: 2px;
}

.lcs-agent-expertise-cloud {
  margin: 1rem 0;
}

.lcs-agent-expertise-cloud .lcs-agent-expertise-tag:hover,
.lcs-agent-expertise-cloud .lcs-agent-expertise-tag:focus-visible {
  border-color: rgba(15, 23, 42, 0.28);
  color: rgba(15, 23, 42, 0.88);
  background: #fff;
}


/* LCS Agent 2.5b1 - team responsibility badges */
.lcs-agent-profile-meta > .lcs-agent-profile-team-meta,
.lcs-agent-profile-meta > .lcs-agent-profile-platform-meta,
.lcs-agent-profile-meta > .lcs-agent-profile-service-meta {
  min-height: 30px;
  gap: .38rem;
  padding: .26rem .66rem;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(248, 250, 252, .96), rgba(241, 245, 249, .72));
  border: 1px solid rgba(148, 163, 184, .32);
  color: #334155;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.72);
}

.lcs-agent-profile-meta > .lcs-agent-profile-team-meta {
  background: linear-gradient(180deg, rgba(236, 253, 245, .92), rgba(220, 252, 231, .58));
  border-color: rgba(34, 197, 94, .24);
  color: #14532d;
}

.lcs-agent-profile-meta > .lcs-agent-profile-platform-meta {
  background: linear-gradient(180deg, rgba(239, 246, 255, .92), rgba(219, 234, 254, .58));
  border-color: rgba(59, 130, 246, .22);
  color: #1e3a8a;
}

.lcs-agent-profile-meta > .lcs-agent-profile-service-meta {
  background: linear-gradient(180deg, rgba(255, 251, 235, .96), rgba(254, 243, 199, .62));
  border-color: rgba(215, 168, 58, .32);
  color: #92400e;
}

.lcs-agent-profile-meta > .lcs-agent-profile-team-meta span,
.lcs-agent-profile-meta > .lcs-agent-profile-platform-meta span,
.lcs-agent-profile-meta > .lcs-agent-profile-service-meta span,
.lcs-agent-team-responsibility-badge span,
.lcs-agent-service-responsibility-badge span {
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-size: inherit;
}

.lcs-agent-profile-team-meta .lcs-agent-term-label,
.lcs-agent-profile-platform-meta .lcs-agent-term-label,
.lcs-agent-profile-service-meta .lcs-agent-term-label,
.lcs-agent-team-responsibility-badge .lcs-agent-term-label,
.lcs-agent-service-responsibility-badge .lcs-agent-term-label {
  font-weight: 760;
}

.lcs-agent-profile-team-meta .lcs-agent-team-responsibility-text,
.lcs-agent-profile-platform-meta .lcs-agent-team-responsibility-text,
.lcs-agent-profile-service-meta .lcs-agent-team-responsibility-text,
.lcs-agent-team-responsibility-badge .lcs-agent-team-responsibility-text,
.lcs-agent-service-responsibility-badge .lcs-agent-team-responsibility-text {
  font-weight: 860;
}

.lcs-agent-team-responsibility-badges,
.lcs-agent-service-responsibility-badges,
.lcs-agent-member-team-responsibilities,
.lcs-agent-member-service-responsibilities {
  display: flex;
  flex-wrap: wrap;
  gap: .32rem;
  align-items: center;
  min-width: 0;
}

.lcs-agent-member-team-responsibilities,
.lcs-agent-member-service-responsibilities {
  margin-top: .02rem;
}

.lcs-agent-team-responsibility-badge,
.lcs-agent-service-responsibility-badge {
  display: inline-flex;
  align-items: center;
  gap: .32rem;
  width: fit-content;
  max-width: 100%;
  min-height: 24px;
  padding: .26rem .58rem;
  border-radius: 999px;
  color: #14532d;
  font-size: .69rem;
  font-weight: 780;
  line-height: 1.15;
  letter-spacing: .045em;
  text-transform: uppercase;
  background: linear-gradient(180deg, rgba(236, 253, 245, .98), rgba(220, 252, 231, .68));
  border: 1px solid rgba(34, 197, 94, .24);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.72), 0 6px 14px rgba(20, 83, 45, .06);
}

.lcs-agent-service-responsibility-badge {
  color: #92400e;
  background: linear-gradient(180deg, rgba(255, 251, 235, .98), rgba(254, 243, 199, .72));
  border-color: rgba(215, 168, 58, .30);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.72), 0 6px 14px rgba(146, 64, 14, .06);
}

.lcs-agent-team-responsibility-badge .lcs-agent-term-icon,
.lcs-agent-team-responsibility-badge .lcs-agent-term-icon img,
.lcs-agent-team-responsibility-badge .lcs-agent-term-icon svg,
.lcs-agent-service-responsibility-badge .lcs-agent-term-icon,
.lcs-agent-service-responsibility-badge .lcs-agent-term-icon img,
.lcs-agent-service-responsibility-badge .lcs-agent-term-icon svg {
  width: 1em;
  height: 1em;
  flex: 0 0 1em;
}

.lcs-agent-view-list .lcs-agent-member-team-responsibilities,
.lcs-agent-view-list .lcs-agent-member-service-responsibilities {
  gap: .25rem;
}

.lcs-agent-view-list .lcs-agent-team-responsibility-badge,
.lcs-agent-view-list .lcs-agent-service-responsibility-badge {
  font-size: .64rem;
  padding: .2rem .46rem;
}

@media (max-width: 760px) {
  .lcs-agent-profile-meta > .lcs-agent-profile-team-meta,
  .lcs-agent-profile-meta > .lcs-agent-profile-platform-meta,
  .lcs-agent-profile-meta > .lcs-agent-profile-service-meta,
  .lcs-agent-team-responsibility-badge,
  .lcs-agent-service-responsibility-badge {
    font-size: .68rem;
  }
}


/* LCS Agent 2.5b3: compact one-line toolbar on desktop. */
.lcs-agent .lcs-agent-toolbar {
  display: flex;
  align-items: flex-end;
  gap: .55rem;
  padding: .72rem .82rem;
}

.lcs-agent .lcs-agent-toolbar-fields {
  display: flex;
  flex: 1 1 auto;
  align-items: flex-end;
  gap: .48rem;
  min-width: 0;
  flex-wrap: nowrap;
}

.lcs-agent .lcs-agent-toolbar label,
.lcs-agent .lcs-agent-toolbar-actions {
  gap: .22rem;
  font-size: .73rem;
  line-height: 1.15;
}

.lcs-agent .lcs-agent-toolbar label {
  flex: 0 1 124px;
}

.lcs-agent .lcs-agent-search {
  flex: 0 1 176px;
  grid-column: auto;
}

.lcs-agent .lcs-agent-group-control {
  flex: 0 1 132px;
}

.lcs-agent .lcs-agent-filter-status,
.lcs-agent .lcs-agent-filter-service,
.lcs-agent .lcs-agent-filter-role,
.lcs-agent .lcs-agent-filter-team,
.lcs-agent .lcs-agent-filter-platform,
.lcs-agent .lcs-agent-filter-expertise {
  flex-basis: 116px;
}

.lcs-agent .lcs-agent-toolbar input,
.lcs-agent .lcs-agent-toolbar select,
.lcs-agent .lcs-agent-toggle {
  min-height: 36px;
  padding: .42rem .56rem;
  border-radius: 11px;
  font-size: .8rem;
  line-height: 1.2;
}

.lcs-agent .lcs-agent-toolbar-actions {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  flex: 0 0 auto;
  min-width: 0;
}

.lcs-agent .lcs-agent-toolbar-actions-label {
  display: none;
}

.lcs-agent .lcs-agent-toolbar-actions .lcs-agent-toggle {
  width: auto;
  min-width: 106px;
  white-space: nowrap;
}

@media (max-width: 1180px) {
  .lcs-agent .lcs-agent-toolbar {
    flex-wrap: wrap;
  }

  .lcs-agent .lcs-agent-toolbar-fields {
    flex-wrap: wrap;
  }

  .lcs-agent .lcs-agent-search {
    flex-basis: 190px;
  }

  .lcs-agent .lcs-agent-toolbar label {
    flex-basis: 136px;
  }
}

@media (max-width: 720px) {
  .lcs-agent .lcs-agent-toolbar {
    display: grid;
    grid-template-columns: 1fr;
    gap: .65rem;
    padding: .75rem;
  }

  .lcs-agent .lcs-agent-toolbar-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .55rem;
  }

  .lcs-agent .lcs-agent-toolbar label,
  .lcs-agent .lcs-agent-search,
  .lcs-agent .lcs-agent-group-control,
  .lcs-agent .lcs-agent-filter-status,
  .lcs-agent .lcs-agent-filter-service,
  .lcs-agent .lcs-agent-filter-role,
  .lcs-agent .lcs-agent-filter-team,
  .lcs-agent .lcs-agent-filter-platform,
  .lcs-agent .lcs-agent-filter-expertise {
    flex-basis: auto;
  }

  .lcs-agent .lcs-agent-search {
    grid-column: 1 / -1;
  }

  .lcs-agent .lcs-agent-toolbar-actions {
    width: 100%;
    justify-content: stretch;
    padding-top: .58rem;
    border-top: 1px solid var(--lcs-agent-border);
  }

  .lcs-agent .lcs-agent-toolbar-actions .lcs-agent-toggle,
  .lcs-agent .lcs-agent-toggle {
    width: 100%;
    min-width: 0;
    min-height: 42px;
    font-size: 15px;
  }
}

@media (max-width: 560px) {
  .lcs-agent .lcs-agent-toolbar-fields {
    grid-template-columns: 1fr;
  }
}

/* LCS Agent 2.5b5 - portrait view, compact directory, vCard */
.lcs-agent-view-portrait .lcs-agent-members {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr));
  justify-items: stretch;
}

.lcs-agent-view-portrait .lcs-agent-member-trigger,
.lcs-agent-card-style-portrait .lcs-agent-member-trigger {
  min-height: 0;
  flex-direction: column;
  align-items: stretch;
  gap: .82rem;
  padding: .82rem;
  border-radius: 26px;
  text-align: center;
  background: linear-gradient(180deg, rgba(255,255,255,.99), rgba(250,244,232,.74));
}

.lcs-agent-view-portrait .lcs-agent-member-trigger::before,
.lcs-agent-card-style-portrait .lcs-agent-member-trigger::before {
  width: 170px;
  height: 170px;
  right: -70px;
  bottom: -70px;
  opacity: .42;
}

.lcs-agent-view-portrait .lcs-agent-member-trigger::after,
.lcs-agent-card-style-portrait .lcs-agent-member-trigger::after {
  top: auto;
  right: 20%;
  bottom: 0;
  width: 60%;
  height: 4px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(90deg, rgba(200,155,44,.04), rgba(200,155,44,.68), rgba(200,155,44,.04));
}

.lcs-agent-view-portrait .lcs-agent-avatar,
.lcs-agent-card-style-portrait .lcs-agent-avatar {
  width: 100%;
  height: 220px;
  flex: 0 0 auto;
  border-radius: 22px;
  object-fit: cover;
  object-position: center top;
  box-shadow: 0 14px 30px rgba(7, 21, 38, .12);
}

.lcs-agent-view-portrait .lcs-agent-member-main,
.lcs-agent-card-style-portrait .lcs-agent-member-main {
  align-items: center;
  text-align: center;
}

.lcs-agent-view-portrait .lcs-agent-member-name,
.lcs-agent-card-style-portrait .lcs-agent-member-name {
  justify-content: center;
  font-size: 1.02rem;
}

.lcs-agent-view-portrait .lcs-agent-member-status,
.lcs-agent-view-portrait .lcs-agent-member-service,
.lcs-agent-view-portrait .lcs-agent-team-responsibility-badge,
.lcs-agent-view-portrait .lcs-agent-service-responsibility-badge,
.lcs-agent-card-style-portrait .lcs-agent-member-status,
.lcs-agent-card-style-portrait .lcs-agent-member-service,
.lcs-agent-card-style-portrait .lcs-agent-team-responsibility-badge,
.lcs-agent-card-style-portrait .lcs-agent-service-responsibility-badge {
  margin-inline: auto;
}

.lcs-agent-profile-vcard {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: .2rem .55rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, .28);
  color: rgba(15, 23, 42, .58);
  background: rgba(255, 255, 255, .58);
  font-size: .72rem;
  font-weight: 700;
  text-decoration: none;
}

.lcs-agent-profile-vcard:hover,
.lcs-agent-profile-vcard:focus-visible {
  color: rgba(15, 23, 42, .88);
  border-color: rgba(200, 155, 44, .40);
  background: rgba(255,255,255,.92);
}

.lcs-agent-compact-directory {
  --lcs-agent-compact-border: rgba(15, 23, 42, .10);
  display: grid;
  gap: .75rem;
  color: var(--lcs-agent-ink, #061427);
}

.lcs-agent-compact-search {
  display: grid;
  gap: .32rem;
  max-width: 360px;
  font-size: .78rem;
  font-weight: 760;
}

.lcs-agent-compact-search input {
  min-height: 38px;
  border: 1px solid var(--lcs-agent-compact-border);
  border-radius: 12px;
  padding: .45rem .65rem;
  font: inherit;
}

.lcs-agent-compact-list {
  display: grid;
  gap: .42rem;
}

.lcs-agent-compact-item {
  display: grid;
  grid-template-columns: minmax(150px, 1.15fr) minmax(110px, .85fr) minmax(105px, .75fr) minmax(160px, 1fr) minmax(100px, .75fr);
  gap: .6rem;
  align-items: center;
  min-height: 42px;
  padding: .48rem .7rem;
  border: 1px solid var(--lcs-agent-compact-border);
  border-radius: 14px;
  background: rgba(255,255,255,.86);
}

.lcs-agent-compact-item.is-alumni {
  opacity: .72;
}

.lcs-agent-compact-name {
  font-weight: 780;
}

.lcs-agent-compact-meta,
.lcs-agent-compact-link {
  color: rgba(15, 23, 42, .68);
  font-size: .84rem;
  text-decoration: none;
}

.lcs-agent-compact-link:hover,
.lcs-agent-compact-link:focus-visible {
  color: rgba(15, 23, 42, .95);
  text-decoration: underline;
}

.lcs-agent-compact-empty {
  margin: .25rem 0 0;
  color: rgba(15, 23, 42, .58);
}

@media (max-width: 900px) {
  .lcs-agent-compact-item {
    grid-template-columns: 1fr;
    gap: .18rem;
    align-items: start;
  }
}

.lcs-agent-completion-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  min-height: 26px;
  padding: .2rem .55rem;
  border-radius: 999px;
  font-weight: 780;
  font-size: .78rem;
  border: 1px solid rgba(148, 163, 184, .30);
  background: #f8fafc;
  color: #334155;
}

.lcs-agent-completion-badge.is-good {
  background: #ecfdf5;
  color: #166534;
  border-color: rgba(34, 197, 94, .28);
}

.lcs-agent-completion-badge.is-medium {
  background: #fffbeb;
  color: #92400e;
  border-color: rgba(245, 158, 11, .30);
}

.lcs-agent-completion-badge.is-low {
  background: #fef2f2;
  color: #991b1b;
  border-color: rgba(239, 68, 68, .28);
}

/* LCS Agent 2.6.0 - discreet enriched tooltips and standalone profile shortcode. */
.lcs-agent [data-lcs-tooltip] {
  position: relative;
  outline: none;
}

.lcs-agent [data-lcs-tooltip]::before,
.lcs-agent [data-lcs-tooltip]::after {
  position: absolute;
  left: 50%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 6px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
  z-index: 900000;
}

.lcs-agent [data-lcs-tooltip]::before {
  content: "";
  bottom: calc(100% + 4px);
  border: 6px solid transparent;
  border-top-color: rgba(15, 23, 42, .96);
}

.lcs-agent [data-lcs-tooltip]::after {
  content: attr(data-lcs-tooltip);
  bottom: calc(100% + 16px);
  width: max-content;
  max-width: min(280px, 80vw);
  padding: .58rem .68rem;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px;
  background: rgba(15, 23, 42, .96);
  box-shadow: 0 18px 42px rgba(2, 6, 23, .28);
  color: #fff;
  font-size: .76rem;
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: .005em;
  text-align: left;
  white-space: pre-line;
  backdrop-filter: blur(12px);
}

@media (hover: hover) {
  .lcs-agent [data-lcs-tooltip]:hover::before,
  .lcs-agent [data-lcs-tooltip]:hover::after,
  .lcs-agent [data-lcs-tooltip]:focus-visible::before,
  .lcs-agent [data-lcs-tooltip]:focus-visible::after {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
  }
}

.lcs-agent [data-lcs-tooltip]:focus-visible {
  box-shadow: 0 0 0 3px rgba(242, 201, 76, .25);
}

.lcs-agent-single-profile {
  --lcs-agent-modal-pad: clamp(1rem, 2.2vw, 1.5rem);
  max-width: min(1120px, 100%);
  margin-inline: auto;
}

.lcs-agent-single-profile .lcs-agent-profile {
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(7, 21, 38, .12);
}

.lcs-agent-single-profile .lcs-agent-profile-tabs-wrap {
  padding: 0 var(--lcs-agent-modal-pad) var(--lcs-agent-modal-pad);
}

.lcs-agent-single-profile.lcs-agent-modal-style-split .lcs-agent-profile {
  border-radius: 32px;
  box-shadow: 0 30px 84px rgba(7, 21, 38, .14);
}

@media (max-width: 760px) {
  .lcs-agent [data-lcs-tooltip]::after {
    max-width: min(240px, 86vw);
    font-size: .72rem;
  }
}

/* Single public member profile generated by the plugin. */
.lcs-agent-single-template {
  width: 100%;
}

.lcs-agent-single-template-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0;
}

.lcs-agent-single-profile .lcs-agent-profile {
  margin-inline: auto;
}


body.lcs-agent-single-profile-page .ast-title-bar-wrap {
  display: none !important;
}

.lcs-agent-single-actions {
  display: flex;
  justify-content: flex-start;
  margin: 0 0 22px;
}

.lcs-agent-single-back {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  min-height: 42px;
  padding: .55rem .95rem .55rem .65rem;
  border: 1px solid rgba(15, 23, 42, .10);
  border-radius: 999px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 10px 26px rgba(7, 21, 38, .07);
  color: #0f172a;
  font-size: .92rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  backdrop-filter: blur(10px);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background-color .18s ease;
}

.lcs-agent-single-back-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(15, 23, 42, .07);
  color: #0f172a;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1;
}

.lcs-agent-single-back-label {
  white-space: nowrap;
}

.lcs-agent-single-back:hover,
.lcs-agent-single-back:focus-visible {
  border-color: rgba(15, 23, 42, .22);
  background: #fff;
  box-shadow: 0 14px 34px rgba(7, 21, 38, .11);
  color: #0f172a;
  text-decoration: none;
  transform: translateX(-2px);
}

.lcs-agent-single-back:hover .lcs-agent-single-back-icon,
.lcs-agent-single-back:focus-visible .lcs-agent-single-back-icon {
  background: rgba(15, 23, 42, .11);
}

@media (max-width: 560px) {
  .lcs-agent-single-template-inner {
    width: min(100% - 20px, 1120px);
    padding-top: 28px;
  }

  .lcs-agent-single-back {
    padding-right: .8rem;
    font-size: .86rem;
  }
}

/* LCS Agent 2.6.7 - selectable premium public single profile page. */
.lcs-agent-single-style-premium {
  --lcs-agent-single-accent: #133d5b;
  --lcs-agent-single-accent-2: #0f6f83;
  --lcs-agent-single-line: rgba(15, 23, 42, .10);
  --lcs-agent-single-soft: #f6f8fb;
  max-width: min(1180px, 100%);
}

.lcs-agent-single-style-premium .lcs-agent-profile-premium {
  overflow: hidden;
  border: 1px solid var(--lcs-agent-single-line);
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 28px 86px rgba(7, 21, 38, .13);
}

.lcs-agent-single-style-premium .lcs-agent-premium-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(190px, 260px) minmax(0, 1fr);
  gap: clamp(1.35rem, 3vw, 2.4rem);
  align-items: center;
  padding: clamp(1.4rem, 3.8vw, 3rem);
  border-bottom: 1px solid var(--lcs-agent-single-line);
  background:
    radial-gradient(circle at 92% 0%, rgba(15, 111, 131, .12), transparent 34%),
    linear-gradient(135deg, #f9fbfd 0%, #eef4f8 100%);
}

.lcs-agent-single-style-premium .lcs-agent-premium-hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: linear-gradient(90deg, var(--lcs-agent-single-accent), var(--lcs-agent-single-accent-2));
}

.lcs-agent-single-style-premium .lcs-agent-premium-avatar-wrap {
  position: relative;
  z-index: 1;
}

.lcs-agent-single-style-premium .lcs-agent-avatar-profile {
  width: min(240px, 100%);
  height: auto;
  aspect-ratio: 4 / 5;
  border: 6px solid rgba(255, 255, 255, .92);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 20px 50px rgba(7, 21, 38, .18);
  object-fit: cover;
  object-position: center top;
}

.lcs-agent-single-style-premium .lcs-agent-avatar-placeholder.lcs-agent-avatar-profile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(3rem, 6vw, 5rem);
}

.lcs-agent-single-style-premium .lcs-agent-premium-identity {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.lcs-agent-single-style-premium .lcs-agent-premium-eyebrow {
  margin: 0 0 .7rem;
  color: var(--lcs-agent-single-accent-2);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .11em;
  line-height: 1.25;
  text-transform: uppercase;
}

.lcs-agent-single-style-premium .lcs-agent-premium-identity h1 {
  max-width: 920px;
  margin: 0;
  color: #0f172a;
  font-size: clamp(2.25rem, 5.2vw, 4.6rem);
  font-weight: 850;
  letter-spacing: -.055em;
  line-height: .96;
}

.lcs-agent-single-style-premium .lcs-agent-premium-function {
  max-width: 780px;
  margin: .9rem 0 0;
  color: #334155;
  font-size: clamp(1rem, 1.55vw, 1.25rem);
  font-weight: 560;
  line-height: 1.45;
}

.lcs-agent-single-style-premium .lcs-agent-premium-badges {
  margin-top: 1rem;
}

.lcs-agent-single-style-premium .lcs-agent-premium-meta {
  margin-top: .85rem;
}

.lcs-agent-single-style-premium .lcs-agent-premium-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-top: 1.35rem;
}

.lcs-agent-single-style-premium .lcs-agent-premium-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: .72rem 1rem;
  border: 1px solid rgba(15, 23, 42, .13);
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  color: #0f172a;
  font-size: .88rem;
  font-weight: 760;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(7, 21, 38, .06);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background-color .18s ease;
}

.lcs-agent-single-style-premium .lcs-agent-premium-action-primary {
  border-color: rgba(19, 61, 91, .30);
  background: var(--lcs-agent-single-accent);
  color: #fff;
}

.lcs-agent-single-style-premium .lcs-agent-premium-action:hover,
.lcs-agent-single-style-premium .lcs-agent-premium-action:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(19, 61, 91, .32);
  background: #fff;
  color: #0f172a;
  box-shadow: 0 14px 30px rgba(7, 21, 38, .10);
  text-decoration: none;
}

.lcs-agent-single-style-premium .lcs-agent-premium-action-primary:hover,
.lcs-agent-single-style-premium .lcs-agent-premium-action-primary:focus-visible {
  background: #0f172a;
  color: #fff;
}

.lcs-agent-single-style-premium .lcs-agent-premium-layout {
  display: grid;
  grid-template-columns: minmax(260px, 330px) minmax(0, 1fr);
  gap: clamp(1rem, 2.2vw, 1.6rem);
  padding: clamp(1rem, 2.6vw, 2rem);
  background: #fff;
}

.lcs-agent-single-style-premium .lcs-agent-premium-layout-no-aside {
  grid-template-columns: 1fr;
}

.lcs-agent-single-style-premium .lcs-agent-premium-aside {
  display: flex;
  flex-direction: column;
  gap: .9rem;
}

.lcs-agent-single-style-premium .lcs-agent-premium-card,
.lcs-agent-single-style-premium .lcs-agent-premium-content .lcs-agent-profile-tabs-wrap {
  border: 1px solid var(--lcs-agent-single-line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(7, 21, 38, .055);
}

.lcs-agent-single-style-premium .lcs-agent-premium-card {
  padding: 1.05rem;
}

.lcs-agent-single-style-premium .lcs-agent-premium-card > h2 {
  margin: 0 0 .75rem;
  color: #0f172a;
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .08em;
  line-height: 1.25;
  text-transform: uppercase;
}

.lcs-agent-single-style-premium .lcs-agent-premium-card .lcs-agent-profile-section,
.lcs-agent-single-style-premium .lcs-agent-premium-card .lcs-agent-profile-projects {
  margin: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  border: 0;
}

.lcs-agent-single-style-premium .lcs-agent-premium-card .lcs-agent-profile-note {
  display: none;
}

.lcs-agent-single-style-premium .lcs-agent-premium-card .lcs-agent-profile-contact {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: .5rem;
  margin: 0;
  padding: 0;
}

.lcs-agent-single-style-premium .lcs-agent-premium-card .lcs-agent-profile-contact-link,
.lcs-agent-single-style-premium .lcs-agent-premium-card .lcs-agent-profile-vcard {
  width: 100%;
  max-width: 100%;
  justify-content: flex-start;
}

.lcs-agent-single-style-premium .lcs-agent-premium-card .lcs-agent-socials-centered,
.lcs-agent-single-style-premium .lcs-agent-premium-card .lcs-agent-project-badges {
  justify-content: flex-start;
}

.lcs-agent-single-style-premium .lcs-agent-premium-card .lcs-agent-project-badge {
  max-width: 100%;
}

.lcs-agent-single-style-premium .lcs-agent-premium-content {
  min-width: 0;
}

.lcs-agent-single-style-premium .lcs-agent-premium-content .lcs-agent-profile-tabs-wrap {
  margin: 0;
  padding: clamp(1rem, 2.2vw, 1.5rem);
}

.lcs-agent-single-style-premium .lcs-agent-premium-content .lcs-agent-profile-tabs {
  justify-content: flex-start;
  margin: 0 0 1rem;
  padding: .32rem;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 999px;
  background: var(--lcs-agent-single-soft);
}

.lcs-agent-single-style-premium .lcs-agent-premium-content .lcs-agent-profile-tab {
  border-radius: 999px;
  font-weight: 800;
}

.lcs-agent-single-style-premium .lcs-agent-premium-content .lcs-agent-profile-tab.is-active {
  background: #fff;
  color: var(--lcs-agent-single-accent);
  box-shadow: 0 8px 20px rgba(7, 21, 38, .08);
}

.lcs-agent-single-style-premium .lcs-agent-premium-content .lcs-agent-profile-tab-panel {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.lcs-agent-single-style-premium .lcs-agent-premium-content .lcs-agent-profile-bio,
.lcs-agent-single-style-premium .lcs-agent-premium-content .lcs-agent-profile-team-theme,
.lcs-agent-single-style-premium .lcs-agent-premium-content .lcs-agent-profile-publications {
  color: #1e293b;
  font-size: 1rem;
  line-height: 1.72;
}

@media (max-width: 920px) {
  .lcs-agent-single-style-premium .lcs-agent-premium-hero,
  .lcs-agent-single-style-premium .lcs-agent-premium-layout {
    grid-template-columns: 1fr;
  }

  .lcs-agent-single-style-premium .lcs-agent-premium-avatar-wrap {
    max-width: 230px;
  }
}

@media (max-width: 560px) {
  .lcs-agent-single-style-premium .lcs-agent-profile-premium {
    border-radius: 22px;
  }

  .lcs-agent-single-style-premium .lcs-agent-premium-hero {
    padding: 1.2rem;
  }

  .lcs-agent-single-style-premium .lcs-agent-premium-layout {
    padding: .8rem;
  }

  .lcs-agent-single-style-premium .lcs-agent-premium-identity h1 {
    font-size: clamp(2rem, 11vw, 3rem);
  }

  .lcs-agent-single-style-premium .lcs-agent-premium-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .lcs-agent-single-style-premium .lcs-agent-premium-action {
    width: 100%;
  }
}

/* LCS Agent 2.6.8 - public profile close button and seasonal single-page styles. */
.lcs-agent-single-profile .lcs-agent-profile-header,
.lcs-agent-single-style-premium .lcs-agent-premium-hero {
  position: relative;
}

.lcs-agent-single-close {
  position: absolute;
  top: clamp(.72rem, 1.6vw, 1.05rem);
  right: clamp(.72rem, 1.6vw, 1.05rem);
  z-index: 6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(15, 23, 42, .14);
  border-radius: 999px;
  background: rgba(255, 255, 255, .86);
  color: #0f172a;
  font-size: 1.75rem;
  font-weight: 300;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(7, 21, 38, .11);
  backdrop-filter: blur(12px);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, background-color .16s ease, color .16s ease;
}

.lcs-agent-single-close:hover,
.lcs-agent-single-close:focus-visible {
  transform: translateY(-1px) scale(1.03);
  border-color: rgba(15, 23, 42, .26);
  background: #fff;
  color: #0f172a;
  text-decoration: none;
  box-shadow: 0 16px 38px rgba(7, 21, 38, .16);
}

.lcs-agent-single-style-premium .lcs-agent-single-close {
  top: clamp(.85rem, 1.8vw, 1.25rem);
  right: clamp(.85rem, 1.8vw, 1.25rem);
}

@media (max-width: 560px) {
  .lcs-agent-single-close {
    width: 38px;
    height: 38px;
    font-size: 1.55rem;
  }
}

/* Custom CSS override targets:
   .lcs-agent-single-style-premium { ... }
   .lcs-agent-single-style-noel { ... }
   .lcs-agent-single-style-halloween { ... }
   Inline custom CSS from LCS Agent settings is loaded after this stylesheet. */

body.lcs-agent-single-profile-style-noel .lcs-agent-single-template {
  background:
    radial-gradient(circle at 12% 12%, rgba(255,255,255,.92) 0 2px, transparent 3px),
    radial-gradient(circle at 82% 18%, rgba(255,255,255,.76) 0 2px, transparent 3px),
    linear-gradient(135deg, #f8fbff 0%, #fff7ed 42%, #eef8f2 100%);
  background-size: 120px 120px, 180px 180px, auto;
}

.lcs-agent-single-style-noel {
  --lcs-agent-single-accent: #0f6848;
  --lcs-agent-single-accent-2: #b91c2b;
  --lcs-agent-single-line: rgba(15, 104, 72, .16);
  --lcs-agent-single-soft: #fff8ed;
  --lcs-agent-season-gold: #d7a83a;
  --lcs-agent-season-snow: rgba(255, 255, 255, .86);
}

.lcs-agent-single-style-noel .lcs-agent-profile-premium {
  position: relative;
  border-color: rgba(15, 104, 72, .22);
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,250,241,.94));
  box-shadow: 0 30px 90px rgba(15, 104, 72, .18), 0 0 0 8px rgba(215, 168, 58, .08);
}

.lcs-agent-single-style-noel .lcs-agent-premium-hero {
  background:
    radial-gradient(circle at 18% 18%, rgba(255,255,255,.98) 0 2px, transparent 3px),
    radial-gradient(circle at 72% 26%, rgba(255,255,255,.9) 0 1.5px, transparent 3px),
    radial-gradient(circle at 88% 72%, rgba(215,168,58,.22), transparent 24%),
    linear-gradient(135deg, #f8fffb 0%, #fff7ed 47%, #edf8f1 100%);
  background-size: 110px 110px, 160px 160px, auto, auto;
}

.lcs-agent-single-style-noel .lcs-agent-premium-hero::before {
  height: 9px;
  background:
    repeating-linear-gradient(90deg, #0f6848 0 28px, #d7a83a 28px 42px, #b91c2b 42px 70px, #d7a83a 70px 84px);
}

.lcs-agent-single-style-noel .lcs-agent-premium-hero::after {
  content: "❄  ✦  ❄  ✦  ❄";
  position: absolute;
  right: clamp(3.6rem, 8vw, 6rem);
  top: clamp(1.1rem, 3vw, 2rem);
  z-index: 0;
  color: rgba(15, 104, 72, .18);
  font-size: clamp(2.2rem, 6vw, 5.2rem);
  font-weight: 900;
  letter-spacing: .08em;
  line-height: 1;
  pointer-events: none;
  text-shadow: 0 8px 22px rgba(255,255,255,.9);
  animation: lcs-agent-season-drift 9s ease-in-out infinite;
}

.lcs-agent-single-style-noel .lcs-agent-premium-eyebrow {
  color: #b91c2b;
}

.lcs-agent-single-style-noel .lcs-agent-premium-identity h1 {
  color: #0b3f2e;
  text-shadow: 0 2px 0 rgba(255,255,255,.86);
}

.lcs-agent-single-style-noel .lcs-agent-premium-function {
  color: #2f4b3f;
}

.lcs-agent-single-style-noel .lcs-agent-avatar-profile {
  border-color: rgba(255, 255, 255, .96);
  box-shadow: 0 20px 56px rgba(15, 104, 72, .20), 0 0 0 4px rgba(215, 168, 58, .20);
}

.lcs-agent-single-style-noel .lcs-agent-premium-action-primary,
.lcs-agent-single-style-noel .lcs-agent-premium-content .lcs-agent-profile-tab.is-active {
  background: #0f6848;
  color: #fff;
}

.lcs-agent-single-style-noel .lcs-agent-premium-action:not(.lcs-agent-premium-action-primary),
.lcs-agent-single-style-noel .lcs-agent-premium-card,
.lcs-agent-single-style-noel .lcs-agent-premium-content .lcs-agent-profile-tabs-wrap {
  border-color: rgba(15, 104, 72, .14);
  background: rgba(255, 255, 255, .84);
  box-shadow: 0 14px 34px rgba(15, 104, 72, .08);
}

.lcs-agent-single-style-noel .lcs-agent-premium-card > h2 {
  color: #0f6848;
}

.lcs-agent-single-style-noel .lcs-agent-single-close {
  border-color: rgba(185, 28, 43, .26);
  background: rgba(255, 255, 255, .92);
  color: #b91c2b;
}

body.lcs-agent-single-profile-style-halloween .lcs-agent-single-template {
  background:
    radial-gradient(circle at 82% 14%, rgba(252, 211, 77, .20), transparent 10%),
    radial-gradient(circle at 16% 70%, rgba(124, 58, 237, .18), transparent 20%),
    linear-gradient(135deg, #100719 0%, #1d102d 42%, #2b1222 100%);
}

.lcs-agent-single-style-halloween {
  --lcs-agent-single-accent: #f97316;
  --lcs-agent-single-accent-2: #a855f7;
  --lcs-agent-single-line: rgba(251, 146, 60, .22);
  --lcs-agent-single-soft: rgba(255, 237, 213, .08);
  --lcs-agent-halloween-ink: #fff7ed;
  --lcs-agent-halloween-muted: #fed7aa;
}

.lcs-agent-single-style-halloween .lcs-agent-profile-premium {
  position: relative;
  overflow: hidden;
  border-color: rgba(251, 146, 60, .28);
  background: #160b22;
  box-shadow: 0 34px 100px rgba(0, 0, 0, .48), 0 0 0 8px rgba(249, 115, 22, .08);
}

.lcs-agent-single-style-halloween .lcs-agent-profile-premium::after {
  content: "";
  position: absolute;
  inset: auto -10% -22% -10%;
  height: 220px;
  background: radial-gradient(ellipse at center, rgba(249, 115, 22, .16), transparent 64%);
  pointer-events: none;
}

.lcs-agent-single-style-halloween .lcs-agent-premium-hero {
  color: var(--lcs-agent-halloween-ink);
  border-bottom-color: rgba(251, 146, 60, .24);
  background:
    radial-gradient(circle at 84% 20%, rgba(251, 191, 36, .96) 0 32px, rgba(251, 191, 36, .14) 34px, transparent 76px),
    radial-gradient(circle at 18% 86%, rgba(168, 85, 247, .24), transparent 28%),
    linear-gradient(135deg, #13091f 0%, #241039 54%, #3a1625 100%);
}

.lcs-agent-single-style-halloween .lcs-agent-premium-hero::before {
  height: 8px;
  background: linear-gradient(90deg, #f97316, #a855f7, #facc15, #f97316);
}

.lcs-agent-single-style-halloween .lcs-agent-premium-hero::after {
  content: "☾   🦇   🦇   🎃";
  position: absolute;
  top: clamp(1.35rem, 3vw, 2.25rem);
  right: clamp(3.5rem, 8vw, 6rem);
  z-index: 0;
  color: rgba(255, 237, 213, .30);
  font-size: clamp(1.7rem, 4.5vw, 4.2rem);
  letter-spacing: .14em;
  line-height: 1;
  pointer-events: none;
  filter: drop-shadow(0 12px 18px rgba(0,0,0,.45));
  animation: lcs-agent-season-drift 7s ease-in-out infinite;
}

.lcs-agent-single-style-halloween .lcs-agent-premium-eyebrow {
  color: #fdba74;
}

.lcs-agent-single-style-halloween .lcs-agent-premium-identity h1 {
  color: var(--lcs-agent-halloween-ink);
  text-shadow: 0 0 22px rgba(249, 115, 22, .24), 0 3px 0 rgba(0,0,0,.22);
}

.lcs-agent-single-style-halloween .lcs-agent-premium-function,
.lcs-agent-single-style-halloween .lcs-agent-premium-meta,
.lcs-agent-single-style-halloween .lcs-agent-profile-meta {
  color: var(--lcs-agent-halloween-muted);
}

.lcs-agent-single-style-halloween .lcs-agent-avatar-profile {
  border-color: rgba(255, 237, 213, .88);
  box-shadow: 0 22px 60px rgba(0, 0, 0, .42), 0 0 0 4px rgba(249, 115, 22, .26);
}

.lcs-agent-single-style-halloween .lcs-agent-premium-layout {
  background:
    linear-gradient(180deg, #160b22 0%, #110719 100%);
}

.lcs-agent-single-style-halloween .lcs-agent-premium-card,
.lcs-agent-single-style-halloween .lcs-agent-premium-content .lcs-agent-profile-tabs-wrap {
  border-color: rgba(251, 146, 60, .22);
  background: rgba(255, 237, 213, .07);
  color: var(--lcs-agent-halloween-ink);
  box-shadow: 0 14px 36px rgba(0, 0, 0, .22);
}

.lcs-agent-single-style-halloween .lcs-agent-premium-card > h2 {
  color: #fdba74;
}

.lcs-agent-single-style-halloween .lcs-agent-premium-content .lcs-agent-profile-tabs {
  border-color: rgba(251, 146, 60, .20);
  background: rgba(0, 0, 0, .24);
}

.lcs-agent-single-style-halloween .lcs-agent-premium-content .lcs-agent-profile-tab {
  color: #fed7aa;
}

.lcs-agent-single-style-halloween .lcs-agent-premium-content .lcs-agent-profile-tab.is-active,
.lcs-agent-single-style-halloween .lcs-agent-premium-action-primary {
  background: #f97316;
  color: #111827;
}

.lcs-agent-single-style-halloween .lcs-agent-premium-action:not(.lcs-agent-premium-action-primary) {
  border-color: rgba(251, 146, 60, .26);
  background: rgba(255, 237, 213, .10);
  color: #ffedd5;
}

.lcs-agent-single-style-halloween .lcs-agent-premium-action:hover,
.lcs-agent-single-style-halloween .lcs-agent-premium-action:focus-visible {
  border-color: rgba(251, 146, 60, .44);
  background: rgba(255, 237, 213, .18);
  color: #fff7ed;
}

.lcs-agent-single-style-halloween .lcs-agent-premium-content .lcs-agent-profile-bio,
.lcs-agent-single-style-halloween .lcs-agent-premium-content .lcs-agent-profile-publications,
.lcs-agent-single-style-halloween .lcs-agent-profile-contact-link,
.lcs-agent-single-style-halloween .lcs-agent-profile-vcard,
.lcs-agent-single-style-halloween .lcs-agent-social-link {
  color: #fff7ed;
}

.lcs-agent-single-style-halloween .lcs-agent-profile-contact-link,
.lcs-agent-single-style-halloween .lcs-agent-profile-vcard,
.lcs-agent-single-style-halloween .lcs-agent-social-link {
  border-color: rgba(251, 146, 60, .24);
  background: rgba(0, 0, 0, .20);
}

.lcs-agent-single-style-halloween .lcs-agent-single-close {
  border-color: rgba(251, 146, 60, .36);
  background: rgba(17, 7, 25, .72);
  color: #ffedd5;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .38);
}

.lcs-agent-single-style-halloween .lcs-agent-single-close:hover,
.lcs-agent-single-style-halloween .lcs-agent-single-close:focus-visible {
  background: #f97316;
  color: #111827;
}

@keyframes lcs-agent-season-drift {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50% { transform: translate3d(-8px, 8px, 0) rotate(-2deg); }
}

@media (prefers-reduced-motion: reduce) {
  .lcs-agent-single-style-noel .lcs-agent-premium-hero::after,
  .lcs-agent-single-style-halloween .lcs-agent-premium-hero::after {
    animation: none;
  }
}

@media (max-width: 720px) {
  .lcs-agent-single-style-noel .lcs-agent-premium-hero::after,
  .lcs-agent-single-style-halloween .lcs-agent-premium-hero::after {
    right: 3rem;
    top: 1rem;
    max-width: 62vw;
    overflow: hidden;
    opacity: .75;
    white-space: nowrap;
  }
}

/* LCS Agent 2.6.9 - Interactive expertise cloud */
.lcs-agent-expertise-cloud {
  --lcs-expertise-accent: #1d4f91;
  --lcs-expertise-accent-strong: #123d73;
  --lcs-expertise-bg: rgba(255, 255, 255, .82);
  --lcs-expertise-bg-hover: #fff;
  --lcs-expertise-bg-active: #1d4f91;
  --lcs-expertise-text: #334155;
  --lcs-expertise-text-muted: #64748b;
  --lcs-expertise-text-active: #fff;
  --lcs-expertise-border: rgba(71, 85, 105, .18);
  --lcs-expertise-border-active: rgba(29, 79, 145, .72);
  --lcs-expertise-radius: 999px;
  --lcs-expertise-shadow: 0 10px 24px rgba(15, 23, 42, .07);
  --lcs-expertise-gap: 7px;
  margin: 1rem 0;
}

.lcs-agent-expertise-cloud,
.lcs-agent-expertise-cloud-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--lcs-expertise-gap);
  align-items: center;
}

.lcs-agent-expertise-cloud.has-search {
  align-items: stretch;
  flex-direction: column;
}

.lcs-agent-expertise-cloud-search {
  display: grid;
  gap: .28rem;
  max-width: min(100%, 340px);
  color: var(--lcs-expertise-text-muted);
  font-size: .76rem;
  font-weight: 650;
}

.lcs-agent-expertise-cloud-search input {
  min-height: 38px;
  width: 100%;
  border: 1px solid var(--lcs-expertise-border);
  border-radius: 12px;
  background: rgba(255,255,255,.94);
  color: var(--lcs-expertise-text);
  padding: .55rem .75rem;
  box-shadow: inset 0 1px 2px rgba(15,23,42,.04);
}

.lcs-agent-expertise-cloud .lcs-agent-expertise-tag {
  appearance: none;
  border: 1px solid var(--lcs-expertise-border);
  border-radius: var(--lcs-expertise-radius);
  background: var(--lcs-expertise-bg);
  color: var(--lcs-expertise-text);
  cursor: pointer;
  font-size: calc(.74rem * var(--lcs-expertise-weight, 1));
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1.1;
  min-height: 30px;
  padding: .42rem .68rem;
  text-decoration: none;
  transition: transform .16s ease, border-color .16s ease, background .16s ease, color .16s ease, box-shadow .16s ease;
}

.lcs-agent-expertise-cloud .lcs-agent-expertise-tag:hover,
.lcs-agent-expertise-cloud .lcs-agent-expertise-tag:focus-visible {
  background: var(--lcs-expertise-bg-hover);
  border-color: var(--lcs-expertise-border-active);
  color: var(--lcs-expertise-accent-strong);
  transform: translateY(-1px);
  box-shadow: var(--lcs-expertise-shadow);
  outline: none;
}

.lcs-agent-expertise-cloud .lcs-agent-expertise-tag.is-active {
  background: var(--lcs-expertise-bg-active);
  border-color: var(--lcs-expertise-border-active);
  color: var(--lcs-expertise-text-active);
  box-shadow: 0 10px 22px rgba(29, 79, 145, .2);
}

.lcs-agent-expertise-tag-label,
.lcs-agent-expertise-tag-count {
  display: inline-flex;
  align-items: center;
}

.lcs-agent-expertise-tag-count {
  justify-content: center;
  min-width: 1.45em;
  min-height: 1.45em;
  margin-left: .28rem;
  padding: 0 .32rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, .08);
  color: inherit;
  font-size: .82em;
  font-weight: 800;
}

.lcs-agent-expertise-cloud .lcs-agent-expertise-tag.is-active .lcs-agent-expertise-tag-count {
  background: rgba(255,255,255,.22);
}

.lcs-agent-expertise-cloud-empty {
  color: var(--lcs-expertise-text-muted);
  font-size: .84rem;
  font-weight: 600;
}

.lcs-agent-expertise-cloud--premium {
  --lcs-expertise-radius: 14px;
  --lcs-expertise-bg: linear-gradient(180deg, rgba(255,255,255,.96), rgba(248,250,252,.9));
  --lcs-expertise-bg-hover: #fff;
  --lcs-expertise-shadow: 0 14px 30px rgba(15, 23, 42, .09);
}

.lcs-agent-expertise-cloud--premium .lcs-agent-expertise-tag {
  min-height: 38px;
  padding: .58rem .78rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.82);
}

.lcs-agent-expertise-cloud--compact {
  --lcs-expertise-gap: 4px;
  --lcs-expertise-bg: transparent;
  --lcs-expertise-border: transparent;
  --lcs-expertise-bg-hover: rgba(241,245,249,.86);
  margin: .35rem 0;
}

.lcs-agent-expertise-cloud--compact .lcs-agent-expertise-tag {
  min-height: 24px;
  padding: .22rem .34rem;
  font-size: .76rem;
  box-shadow: none !important;
}

.lcs-agent-expertise-cloud--network {
  --lcs-expertise-bg: radial-gradient(circle at 30% 25%, #fff 0, rgba(239,246,255,.92) 100%);
  --lcs-expertise-radius: 999px;
  justify-content: center;
  gap: 10px;
}

.lcs-agent-expertise-cloud--network .lcs-agent-expertise-tag {
  min-width: calc(58px * var(--lcs-expertise-weight, 1));
  min-height: calc(38px * var(--lcs-expertise-weight, 1));
  justify-content: center;
}

.lcs-agent-expertise-cloud--noel {
  --lcs-expertise-accent: #0f7a4f;
  --lcs-expertise-accent-strong: #075f3c;
  --lcs-expertise-bg-active: linear-gradient(135deg, #0f7a4f, #b91c1c);
  --lcs-expertise-border-active: rgba(15, 122, 79, .72);
  --lcs-expertise-bg: linear-gradient(180deg, rgba(255,255,255,.96), rgba(240,253,244,.9));
  --lcs-expertise-shadow: 0 12px 28px rgba(15, 122, 79, .14);
}

.lcs-agent-expertise-cloud--noel .lcs-agent-expertise-tag::before {
  content: "✦";
  color: #b91c1c;
  font-size: .78em;
}

.lcs-agent-expertise-cloud--noel .lcs-agent-expertise-tag.is-active::before {
  color: rgba(255,255,255,.86);
}

.lcs-agent-expertise-cloud--halloween {
  --lcs-expertise-accent: #f97316;
  --lcs-expertise-accent-strong: #c2410c;
  --lcs-expertise-bg-active: linear-gradient(135deg, #111827, #f97316);
  --lcs-expertise-border-active: rgba(249, 115, 22, .72);
  --lcs-expertise-bg: linear-gradient(180deg, rgba(255,247,237,.96), rgba(255,237,213,.78));
  --lcs-expertise-shadow: 0 12px 28px rgba(194, 65, 12, .16);
}

.lcs-agent-expertise-cloud--halloween .lcs-agent-expertise-tag::before {
  content: "◈";
  color: #7c2d12;
  font-size: .72em;
}

.lcs-agent-expertise-cloud--halloween .lcs-agent-expertise-tag.is-active::before {
  color: rgba(255,255,255,.9);
}

@media (max-width: 760px) {
  .lcs-agent-expertise-cloud .lcs-agent-expertise-tag {
    white-space: normal;
  }
  .lcs-agent-expertise-cloud-search {
    max-width: 100%;
  }
}

/* LCS Agent 2.6.10 - expertise descriptions popover */
.lcs-agent-expertise-cloud {
  --lcs-expertise-popover-bg: #ffffff;
  --lcs-expertise-popover-text: #1f2937;
  --lcs-expertise-popover-muted: #64748b;
  --lcs-expertise-popover-border: rgba(71, 85, 105, .18);
  --lcs-expertise-popover-shadow: 0 24px 60px rgba(15, 23, 42, .18);
  --lcs-expertise-popover-radius: 18px;
}

.lcs-agent-expertise-cloud .lcs-agent-expertise-tag.has-description {
  position: relative;
}

.lcs-agent-expertise-cloud .lcs-agent-expertise-tag.has-description::after {
  content: "";
  display: inline-block;
  width: .36em;
  height: .36em;
  margin-left: .42rem;
  border-radius: 999px;
  background: currentColor;
  opacity: .38;
  transform: translateY(-.08em);
}

.lcs-agent-expertise-cloud .lcs-agent-expertise-tag.has-description.is-popover-open,
.lcs-agent-expertise-cloud .lcs-agent-expertise-tag.has-description.is-popover-open:hover,
.lcs-agent-expertise-cloud .lcs-agent-expertise-tag.has-description.is-popover-open:focus-visible {
  border-color: var(--lcs-expertise-border-active);
  box-shadow: var(--lcs-expertise-shadow);
}

.lcs-agent-expertise-cloud-popover[hidden] {
  display: none !important;
}

.lcs-agent-expertise-cloud-popover {
  position: fixed;
  z-index: 999999;
  width: min(340px, calc(100vw - 24px));
  padding: 1rem;
  border: 1px solid var(--lcs-expertise-popover-border);
  border-radius: var(--lcs-expertise-popover-radius);
  background: var(--lcs-expertise-popover-bg);
  color: var(--lcs-expertise-popover-text);
  box-shadow: var(--lcs-expertise-popover-shadow);
  backdrop-filter: blur(14px);
  animation: lcsExpertisePopoverIn .14s ease-out;
}

@keyframes lcsExpertisePopoverIn {
  from {
    opacity: 0;
    transform: translateY(4px) scale(.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.lcs-agent-expertise-popover-close {
  position: absolute;
  top: .56rem;
  right: .56rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.85rem;
  height: 1.85rem;
  border: 1px solid rgba(148, 163, 184, .28);
  border-radius: 999px;
  background: rgba(248, 250, 252, .88);
  color: var(--lcs-expertise-popover-muted);
  cursor: pointer;
  font-size: 1.08rem;
  line-height: 1;
}

.lcs-agent-expertise-popover-close:hover,
.lcs-agent-expertise-popover-close:focus-visible {
  background: #fff;
  color: var(--lcs-expertise-accent-strong);
  outline: none;
}

.lcs-agent-expertise-popover-content {
  padding-right: 1.85rem;
}

.lcs-agent-expertise-popover-kicker {
  margin-bottom: .24rem;
  color: var(--lcs-expertise-accent);
  font-size: .68rem;
  font-weight: 850;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.lcs-agent-expertise-popover-title {
  margin: 0;
  color: var(--lcs-expertise-popover-text);
  font-size: 1.05rem;
  font-weight: 850;
  line-height: 1.16;
}

.lcs-agent-expertise-popover-count {
  margin-top: .32rem;
  color: var(--lcs-expertise-popover-muted);
  font-size: .78rem;
  font-weight: 700;
}

.lcs-agent-expertise-popover-description {
  margin-top: .72rem;
  color: var(--lcs-expertise-popover-text);
  font-size: .88rem;
  line-height: 1.55;
}

.lcs-agent-expertise-popover-description :first-child {
  margin-top: 0;
}

.lcs-agent-expertise-popover-description :last-child {
  margin-bottom: 0;
}

.lcs-agent-expertise-popover-description a {
  color: var(--lcs-expertise-accent-strong);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.lcs-agent-expertise-popover-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 38px;
  margin-top: .9rem;
  border: 1px solid var(--lcs-expertise-border-active);
  border-radius: 12px;
  background: var(--lcs-expertise-bg-active);
  color: var(--lcs-expertise-text-active);
  cursor: pointer;
  font-size: .82rem;
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(29, 79, 145, .16);
}

.lcs-agent-expertise-popover-action:hover,
.lcs-agent-expertise-popover-action:focus-visible {
  filter: brightness(1.04);
  outline: none;
}

.lcs-agent-expertise-cloud--premium {
  --lcs-expertise-popover-bg: rgba(255, 255, 255, .96);
}

.lcs-agent-expertise-cloud--noel {
  --lcs-expertise-popover-bg: linear-gradient(180deg, #ffffff, #f0fdf4);
  --lcs-expertise-popover-border: rgba(15, 122, 79, .22);
  --lcs-expertise-popover-shadow: 0 24px 60px rgba(15, 122, 79, .18);
}

.lcs-agent-expertise-cloud--halloween {
  --lcs-expertise-popover-bg: linear-gradient(180deg, #fff7ed, #ffffff);
  --lcs-expertise-popover-border: rgba(249, 115, 22, .28);
  --lcs-expertise-popover-shadow: 0 24px 60px rgba(124, 45, 18, .2);
}

@media (max-width: 760px) {
  .lcs-agent-expertise-cloud-popover {
    width: calc(100vw - 24px);
    border-radius: 16px;
  }

  .lcs-agent-expertise-popover-content {
    padding-right: 1.4rem;
  }
}

/* LCS Agent 2.6.11 - institutional yellow palette alignment. */
.lcs-agent-single-style-premium {
  --lcs-agent-single-accent: #92400e;
  --lcs-agent-single-accent-2: #d7a83a;
  --lcs-agent-single-line: rgba(215, 168, 58, .22);
  --lcs-agent-single-soft: #fffbeb;
}

.lcs-agent-single-style-premium .lcs-agent-premium-hero {
  background:
    radial-gradient(circle at 92% 0%, rgba(215, 168, 58, .22), transparent 34%),
    linear-gradient(135deg, #fffdf7 0%, #fff8ed 100%);
}

.lcs-agent-single-style-premium .lcs-agent-premium-eyebrow,
.lcs-agent-single-style-premium .lcs-agent-premium-content .lcs-agent-profile-tab.is-active,
.lcs-agent-single-style-premium .lcs-agent-premium-card > h2 {
  color: #92400e;
}

.lcs-agent-single-style-premium .lcs-agent-premium-action-primary {
  border-color: rgba(215, 168, 58, .46);
  background: linear-gradient(135deg, #92400e, #d7a83a);
  color: #fff;
}

.lcs-agent-single-style-premium .lcs-agent-premium-action:hover,
.lcs-agent-single-style-premium .lcs-agent-premium-action:focus-visible {
  border-color: rgba(215, 168, 58, .48);
}

.lcs-agent-single-style-premium .lcs-agent-premium-action-primary:hover,
.lcs-agent-single-style-premium .lcs-agent-premium-action-primary:focus-visible {
  background: #92400e;
  color: #fff;
}

.lcs-agent-expertise-cloud:not(.lcs-agent-expertise-cloud--noel):not(.lcs-agent-expertise-cloud--halloween) {
  --lcs-expertise-accent: #d7a83a;
  --lcs-expertise-accent-strong: #92400e;
  --lcs-expertise-bg: rgba(255, 251, 235, .88);
  --lcs-expertise-bg-hover: #fff8ed;
  --lcs-expertise-bg-active: linear-gradient(135deg, #facc15, #d7a83a);
  --lcs-expertise-text-active: #1f2937;
  --lcs-expertise-border-active: rgba(215, 168, 58, .74);
  --lcs-expertise-shadow: 0 12px 28px rgba(215, 168, 58, .18);
  --lcs-expertise-popover-border: rgba(215, 168, 58, .30);
  --lcs-expertise-popover-shadow: 0 24px 60px rgba(146, 64, 14, .16);
}

.lcs-agent-expertise-cloud:not(.lcs-agent-expertise-cloud--noel):not(.lcs-agent-expertise-cloud--halloween) .lcs-agent-expertise-tag.is-active {
  box-shadow: 0 10px 22px rgba(215, 168, 58, .28);
}

.lcs-agent-expertise-cloud--premium:not(.lcs-agent-expertise-cloud--noel):not(.lcs-agent-expertise-cloud--halloween) {
  --lcs-expertise-bg: linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(255, 251, 235, .92));
  --lcs-expertise-bg-hover: #fffdf7;
}

.lcs-agent-expertise-cloud--network:not(.lcs-agent-expertise-cloud--noel):not(.lcs-agent-expertise-cloud--halloween) {
  --lcs-expertise-bg: radial-gradient(circle at 30% 25%, #fff 0, rgba(255, 251, 235, .94) 100%);
}

.lcs-agent-expertise-cloud:not(.lcs-agent-expertise-cloud--noel):not(.lcs-agent-expertise-cloud--halloween) .lcs-agent-expertise-popover-kicker,
.lcs-agent-expertise-cloud:not(.lcs-agent-expertise-cloud--noel):not(.lcs-agent-expertise-cloud--halloween) .lcs-agent-expertise-popover-description a,
.lcs-agent-expertise-cloud:not(.lcs-agent-expertise-cloud--noel):not(.lcs-agent-expertise-cloud--halloween) .lcs-agent-expertise-popover-close:hover,
.lcs-agent-expertise-cloud:not(.lcs-agent-expertise-cloud--noel):not(.lcs-agent-expertise-cloud--halloween) .lcs-agent-expertise-popover-close:focus-visible {
  color: #92400e;
}

.lcs-agent-expertise-cloud:not(.lcs-agent-expertise-cloud--noel):not(.lcs-agent-expertise-cloud--halloween) .lcs-agent-expertise-popover-action {
  border-color: rgba(215, 168, 58, .62);
  background: linear-gradient(135deg, #92400e, #d7a83a);
  color: #fff;
  box-shadow: 0 12px 24px rgba(146, 64, 14, .16);
}

.lcs-agent-expertise-cloud--premium:not(.lcs-agent-expertise-cloud--noel):not(.lcs-agent-expertise-cloud--halloween) {
  --lcs-expertise-popover-bg: rgba(255, 253, 247, .98);
}


/* LCS Agent 2.6.12 - expertise families, project-linked popovers and matrix. */
.lcs-agent-expertise-cloud.is-grouped-by-family,
.lcs-agent-expertise-cloud.is-grouped-by-family .lcs-agent-expertise-cloud-list {
  align-items: stretch;
  flex-direction: column;
  gap: .9rem;
}

.lcs-agent-expertise-family-group {
  display: grid;
  gap: .45rem;
}

.lcs-agent-expertise-family-title,
.lcs-agent-expertise-matrix-family-title {
  margin: .15rem 0 0;
  color: var(--lcs-expertise-accent-strong, #92400e);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.lcs-agent-expertise-family-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--lcs-expertise-gap, 7px);
  align-items: center;
}

.lcs-agent-expertise-popover-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  margin-top: .45rem;
  color: var(--lcs-expertise-popover-muted);
  font-size: .76rem;
  font-weight: 760;
}

.lcs-agent-expertise-popover-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 1.55rem;
  padding: .18rem .5rem;
  border: 1px solid rgba(215, 168, 58, .28);
  border-radius: 999px;
  background: rgba(255, 251, 235, .74);
}

.lcs-agent-expertise-popover-projects {
  margin-top: .82rem;
  padding-top: .78rem;
  border-top: 1px solid rgba(215, 168, 58, .24);
}

.lcs-agent-expertise-popover-projects strong {
  display: block;
  margin-bottom: .42rem;
  color: var(--lcs-expertise-accent-strong, #92400e);
  font-size: .76rem;
  font-weight: 850;
}

.lcs-agent-expertise-popover-projects ul,
.lcs-agent-expertise-matrix-projects {
  display: grid;
  gap: .28rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lcs-agent-expertise-popover-projects li,
.lcs-agent-expertise-matrix-projects li {
  margin: 0;
}

.lcs-agent-expertise-popover-projects a,
.lcs-agent-expertise-matrix-projects a {
  color: var(--lcs-expertise-accent-strong, #92400e);
  font-weight: 760;
  text-decoration: none;
}

.lcs-agent-expertise-popover-projects a:hover,
.lcs-agent-expertise-popover-projects a:focus-visible,
.lcs-agent-expertise-matrix-projects a:hover,
.lcs-agent-expertise-matrix-projects a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.lcs-agent-expertise-more {
  color: var(--lcs-expertise-popover-muted, #64748b);
  font-size: .82em;
  font-weight: 780;
}

.lcs-agent-expertise-matrix {
  --lcs-matrix-accent: #92400e;
  --lcs-matrix-accent-2: #d7a83a;
  --lcs-matrix-line: rgba(215, 168, 58, .25);
  --lcs-matrix-soft: #fffbeb;
  --lcs-matrix-text: #1f2937;
  display: grid;
  gap: 1rem;
  margin: 1.25rem 0;
  color: var(--lcs-matrix-text);
}

.lcs-agent-expertise-matrix-search {
  display: grid;
  gap: .28rem;
  max-width: min(100%, 360px);
  color: #92400e;
  font-size: .78rem;
  font-weight: 780;
}

.lcs-agent-expertise-matrix-search input {
  min-height: 40px;
  width: 100%;
  border: 1px solid var(--lcs-matrix-line);
  border-radius: 13px;
  background: #fffdf7;
  padding: .58rem .8rem;
}

.lcs-agent-expertise-matrix-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--lcs-matrix-line);
  border-radius: 18px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 16px 34px rgba(146, 64, 14, .08);
}

.lcs-agent-expertise-matrix-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.lcs-agent-expertise-matrix-table th,
.lcs-agent-expertise-matrix-table td {
  padding: .86rem 1rem;
  border-bottom: 1px solid rgba(215, 168, 58, .18);
  text-align: left;
  vertical-align: top;
}

.lcs-agent-expertise-matrix-table th {
  background: linear-gradient(180deg, #fffdf7, #fffbeb);
  color: var(--lcs-matrix-accent);
  font-size: .75rem;
  font-weight: 850;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.lcs-agent-expertise-matrix-table tbody tr:last-child td {
  border-bottom: 0;
}

.lcs-agent-expertise-matrix-table tbody tr:hover td {
  background: rgba(255, 251, 235, .48);
}

.lcs-agent-expertise-matrix-table code {
  color: #92400e;
  background: rgba(255, 251, 235, .8);
  border-radius: 999px;
  padding: .12rem .42rem;
  font-size: .75rem;
}

.lcs-agent-expertise-matrix-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.1rem;
  min-height: 2.1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #facc15, #d7a83a);
  color: #1f2937;
  font-weight: 850;
}

@media (max-width: 760px) {
  .lcs-agent-expertise-cloud.is-grouped-by-family {
    gap: .75rem;
  }
  .lcs-agent-expertise-matrix-table {
    min-width: 640px;
  }
}

/* LCS Agent 2.6.13 - project shortcodes. */
.lcs-agent-project-expertises {
  margin: .75rem 0 1rem;
}

.lcs-agent-project-expertises-list {
  align-items: center;
}

.lcs-agent-project-expertises-empty,
.lcs-agent-project-members-empty {
  padding: .85rem 1rem;
  border: 1px dashed rgba(215, 168, 58, .42);
  border-radius: 16px;
  background: rgba(255, 251, 235, .58);
  color: #92400e;
  font-size: .92rem;
}

.lcs-agent-project-members {
  --lcs-project-member-accent: #d7a83a;
  --lcs-project-member-accent-strong: #92400e;
  --lcs-project-member-soft: #fffbeb;
  --lcs-project-member-border: rgba(215, 168, 58, .24);
  --lcs-project-member-text: #1f2937;
  --lcs-project-member-muted: #64748b;
  display: block;
  margin: 1rem 0;
  color: var(--lcs-project-member-text);
}

.lcs-agent-project-members-grid {
  display: grid;
  gap: .72rem;
}

.lcs-agent-project-members--cards .lcs-agent-project-members-grid {
  grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
  gap: .9rem;
}

.lcs-agent-project-members--list .lcs-agent-project-members-grid,
.lcs-agent-project-members--compact .lcs-agent-project-members-grid {
  grid-template-columns: 1fr;
}

.lcs-agent-project-member-card {
  position: relative;
  min-width: 0;
  border: 1px solid var(--lcs-project-member-border);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(255, 251, 235, .38));
  box-shadow: 0 14px 30px rgba(146, 64, 14, .07);
  overflow: hidden;
}

.lcs-agent-project-member-link,
.lcs-agent-project-member-card > span {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .78rem;
  align-items: center;
  min-height: 82px;
  padding: .72rem .82rem;
  color: inherit;
  text-decoration: none;
}

.lcs-agent-project-member-link:hover,
.lcs-agent-project-member-link:focus-visible {
  background: rgba(255, 251, 235, .7);
  outline: none;
}

.lcs-agent-project-member-avatar {
  display: inline-flex;
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  align-items: center;
  justify-content: center;
}

.lcs-agent-project-member-avatar .lcs-agent-avatar {
  width: 56px;
  height: 56px;
  border: 2px solid rgba(215, 168, 58, .34);
  box-shadow: 0 8px 18px rgba(146, 64, 14, .12);
}

.lcs-agent-project-member-body {
  display: grid;
  gap: .22rem;
  min-width: 0;
}

.lcs-agent-project-member-name {
  color: var(--lcs-project-member-accent-strong);
  font-size: .98rem;
  font-weight: 850;
  line-height: 1.18;
}

.lcs-agent-project-member-meta {
  color: var(--lcs-project-member-muted);
  font-size: .82rem;
  line-height: 1.3;
}


.lcs-agent-project-member-expertises {
  display: flex;
  flex-wrap: wrap;
  gap: .28rem;
  margin-top: .2rem;
}

.lcs-agent-project-member-expertises .lcs-agent-expertise-tag {
  font-size: .72rem;
  padding: .16rem .46rem;
  border-color: rgba(215, 168, 58, .28);
  background: rgba(255, 251, 235, .72);
  color: var(--lcs-project-member-accent-strong);
}

.lcs-agent-project-members--list .lcs-agent-project-member-card {
  border-radius: 14px;
  box-shadow: none;
}

.lcs-agent-project-members--list .lcs-agent-project-member-link,
.lcs-agent-project-members--list .lcs-agent-project-member-card > span {
  min-height: 66px;
  padding: .55rem .68rem;
}

.lcs-agent-project-members--list .lcs-agent-project-member-avatar,
.lcs-agent-project-members--list .lcs-agent-project-member-avatar .lcs-agent-avatar {
  width: 44px;
  height: 44px;
  flex-basis: 44px;
}

.lcs-agent-project-members--compact .lcs-agent-project-member-expertises {
  display: none;
}

@media (max-width: 640px) {
  .lcs-agent-project-members--cards .lcs-agent-project-members-grid {
    grid-template-columns: 1fr;
  }
  .lcs-agent-project-member-link,
  .lcs-agent-project-member-card > span {
    gap: .62rem;
  }
}

/* LCS Agent 2.6.15 - sleek, configurable expertise matrix. */
.lcs-agent-expertise-matrix {
  --lcs-matrix-accent: #92400e;
  --lcs-matrix-accent-2: #d7a83a;
  --lcs-matrix-accent-3: #facc15;
  --lcs-matrix-line: rgba(215, 168, 58, .26);
  --lcs-matrix-soft: #fffbeb;
  --lcs-matrix-panel: rgba(255, 253, 247, .94);
  --lcs-matrix-text: #1f2937;
  --lcs-matrix-muted: #64748b;
  --lcs-matrix-shadow: 0 18px 46px rgba(146, 64, 14, .10);
  display: grid;
  gap: 1.15rem;
  margin: 1.35rem 0;
  color: var(--lcs-matrix-text);
}

.lcs-agent-expertise-matrix-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(220px, 340px);
  gap: .9rem;
  align-items: end;
  padding: 1rem;
  border: 1px solid var(--lcs-matrix-line);
  border-radius: 24px;
  background:
    radial-gradient(circle at top left, rgba(250, 204, 21, .20), transparent 34%),
    linear-gradient(135deg, rgba(255, 253, 247, .98), rgba(255, 251, 235, .76));
  box-shadow: var(--lcs-matrix-shadow);
}

.lcs-agent-expertise-matrix-heading {
  min-width: 0;
}

.lcs-agent-expertise-matrix-kicker {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: var(--lcs-matrix-accent);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.lcs-agent-expertise-matrix-kicker::before {
  content: "";
  width: .72rem;
  height: .72rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--lcs-matrix-accent-3), var(--lcs-matrix-accent-2));
  box-shadow: 0 0 0 4px rgba(250, 204, 21, .16);
}

.lcs-agent-expertise-matrix-summary {
  margin: .2rem 0 0;
  color: var(--lcs-matrix-muted);
  font-size: .95rem;
}

.lcs-agent-expertise-matrix-stats {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  justify-content: flex-end;
}

.lcs-agent-expertise-matrix-stats span {
  display: inline-flex;
  align-items: center;
  gap: .32rem;
  min-height: 2.2rem;
  padding: .35rem .7rem;
  border: 1px solid rgba(215, 168, 58, .34);
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  color: #78350f;
  font-size: .8rem;
  font-weight: 780;
  white-space: nowrap;
}

.lcs-agent-expertise-matrix-stats strong {
  color: #1f2937;
  font-size: .98rem;
}

.lcs-agent-expertise-matrix-search {
  display: grid;
  gap: .3rem;
  min-width: 0;
  color: var(--lcs-matrix-accent);
  font-size: .75rem;
  font-weight: 850;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.lcs-agent-expertise-matrix-search input {
  min-height: 42px;
  width: 100%;
  border: 1px solid var(--lcs-matrix-line);
  border-radius: 999px;
  background: #fff;
  padding: .62rem .9rem;
  color: var(--lcs-matrix-text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
}

.lcs-agent-expertise-matrix-group {
  display: grid;
  gap: .72rem;
}

.lcs-agent-expertise-matrix-family-title {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: .45rem;
  margin: .1rem 0 0;
  padding: .25rem .7rem;
  border: 1px solid rgba(215, 168, 58, .28);
  border-radius: 999px;
  background: rgba(255, 251, 235, .68);
  color: var(--lcs-matrix-accent);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .065em;
  text-transform: uppercase;
}

.lcs-agent-expertise-matrix-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
  gap: .9rem;
}

.lcs-agent-expertise-matrix-card {
  position: relative;
  display: grid;
  gap: .85rem;
  overflow: hidden;
  padding: 1rem;
  border: 1px solid var(--lcs-matrix-line);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(255, 253, 247, .92));
  box-shadow: 0 14px 34px rgba(146, 64, 14, .08);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.lcs-agent-expertise-matrix-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--lcs-matrix-accent-3), var(--lcs-matrix-accent-2), rgba(146, 64, 14, .72));
}

.lcs-agent-expertise-matrix-card:hover,
.lcs-agent-expertise-matrix-card:focus-within {
  transform: translateY(-2px);
  border-color: rgba(215, 168, 58, .52);
  box-shadow: 0 22px 52px rgba(146, 64, 14, .13);
}

.lcs-agent-expertise-matrix-card-header {
  display: flex;
  gap: .85rem;
  align-items: flex-start;
  justify-content: space-between;
}

.lcs-agent-expertise-matrix-card-family {
  display: inline-flex;
  margin-bottom: .28rem;
  color: var(--lcs-matrix-accent);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.lcs-agent-expertise-matrix-card h3 {
  margin: 0;
  color: var(--lcs-matrix-text);
  font-size: clamp(1.05rem, 1vw + .8rem, 1.32rem);
  line-height: 1.12;
}

.lcs-agent-expertise-matrix-card code,
.lcs-agent-expertise-matrix-table code {
  display: inline-flex;
  width: fit-content;
  margin-top: .35rem;
  border-radius: 999px;
  background: rgba(255, 251, 235, .9);
  padding: .16rem .46rem;
  color: var(--lcs-matrix-accent);
  font-size: .72rem;
}

.lcs-agent-expertise-matrix-card-metrics {
  display: flex;
  flex-direction: column;
  gap: .34rem;
  align-items: flex-end;
  flex: 0 0 auto;
}

.lcs-agent-expertise-matrix-card-metrics span {
  display: inline-flex;
  align-items: baseline;
  gap: .28rem;
  min-height: 2rem;
  padding: .28rem .58rem;
  border: 1px solid rgba(215, 168, 58, .30);
  border-radius: 999px;
  background: #fff;
  color: #78350f;
  font-size: .72rem;
  font-weight: 780;
  white-space: nowrap;
}

.lcs-agent-expertise-matrix-card-metrics strong,
.lcs-agent-expertise-matrix-count {
  color: #1f2937;
  font-weight: 920;
}

.lcs-agent-expertise-matrix-description {
  color: var(--lcs-matrix-muted);
  font-size: .92rem;
  line-height: 1.55;
}

.lcs-agent-expertise-matrix-description p {
  margin: 0;
}

.lcs-agent-expertise-matrix-card-body {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 185px), 1fr));
  gap: .65rem;
}

.lcs-agent-expertise-matrix--compact .lcs-agent-expertise-matrix-card-body {
  grid-template-columns: 1fr;
}

.lcs-agent-expertise-matrix-block {
  min-width: 0;
  padding: .72rem;
  border: 1px solid rgba(215, 168, 58, .20);
  border-radius: 18px;
  background: rgba(255, 251, 235, .42);
}

.lcs-agent-expertise-matrix-block h4 {
  margin: 0 0 .45rem;
  color: var(--lcs-matrix-accent);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.lcs-agent-expertise-matrix-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .34rem;
}

.lcs-agent-expertise-matrix-chip {
  display: inline-flex;
  align-items: center;
  min-height: 1.65rem;
  padding: .18rem .55rem;
  border: 1px solid rgba(215, 168, 58, .32);
  border-radius: 999px;
  background: #fff;
  color: #78350f;
  font-size: .78rem;
  font-weight: 760;
}

.lcs-agent-expertise-matrix-links {
  display: grid;
  gap: .3rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lcs-agent-expertise-matrix-links li {
  margin: 0;
}

.lcs-agent-expertise-matrix-links a {
  color: var(--lcs-matrix-accent);
  font-size: .82rem;
  font-weight: 520;
  line-height: 1.25;
  text-decoration: none;
}

.lcs-agent-expertise-matrix-links a:hover,
.lcs-agent-expertise-matrix-links a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.lcs-agent-expertise-matrix-muted,
.lcs-agent-expertise-matrix-empty {
  margin: 0;
  color: var(--lcs-matrix-muted);
  font-size: .86rem;
}

.lcs-agent-expertise-matrix-empty {
  padding: 1rem;
  border: 1px dashed var(--lcs-matrix-line);
  border-radius: 18px;
  background: var(--lcs-matrix-soft);
}

.lcs-agent-expertise-matrix--compact .lcs-agent-expertise-matrix-card {
  padding: .82rem;
  border-radius: 18px;
}

.lcs-agent-expertise-matrix--compact .lcs-agent-expertise-matrix-card-header {
  align-items: center;
}

.lcs-agent-expertise-matrix--compact .lcs-agent-expertise-matrix-description {
  font-size: .86rem;
}

.lcs-agent-expertise-matrix--table .lcs-agent-expertise-matrix-toolbar {
  border-radius: 18px;
}

@media (max-width: 880px) {
  .lcs-agent-expertise-matrix-toolbar {
    grid-template-columns: 1fr;
    align-items: stretch;
  }
  .lcs-agent-expertise-matrix-stats {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .lcs-agent-expertise-matrix-card-header {
    flex-direction: column;
  }
  .lcs-agent-expertise-matrix-card-metrics {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
  }
}

.lcs-agent-expertise-matrix-member-link {
  display: inline-flex;
  align-items: center;
  gap: .24rem;
  width: fit-content;
  padding: .12rem .38rem;
  border-radius: 999px;
  background: rgba(250, 204, 21, .10);
  border: 1px solid rgba(215, 168, 58, .24);
  font-size: .76rem;
  font-weight: 500;
  letter-spacing: .002em;
  line-height: 1.18;
}

.lcs-agent-expertise-matrix-member-link::after {
  content: "›";
  font-size: .82rem;
  line-height: 1;
  opacity: .55;
}

.lcs-agent-expertise-matrix-member-link:hover,
.lcs-agent-expertise-matrix-member-link:focus-visible {
  background: rgba(250, 204, 21, .22);
  border-color: rgba(146, 64, 14, .38);
  text-decoration: none !important;
}

/* Public single project page */
body.lcs-agent-single-project-page .ast-title-bar-wrap {
  display: none !important;
}

.lcs-agent-single-project {
  --lcs-project-single-accent: #d7a83a;
  --lcs-project-single-accent-strong: #92400e;
  --lcs-project-single-accent-soft: #fffbeb;
  --lcs-project-single-line: rgba(215, 168, 58, .26);
  --lcs-project-single-text: #1f2937;
  --lcs-project-single-muted: #64748b;
  --lcs-project-single-shadow: 0 24px 70px rgba(120, 83, 25, .13);
  max-width: min(1180px, calc(100vw - 36px));
  color: var(--lcs-project-single-text);
}

.lcs-agent-single-project-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(240px, .78fr) minmax(0, 1.22fr);
  overflow: hidden;
  border: 1px solid var(--lcs-project-single-line);
  border-radius: 32px;
  background: linear-gradient(135deg, #fff 0%, #fffbeb 64%, #fff7d6 100%);
  box-shadow: var(--lcs-project-single-shadow);
  isolation: isolate;
}

.lcs-agent-single-project--no-hero-image .lcs-agent-single-project-hero {
  grid-template-columns: minmax(0, 1fr);
}

.lcs-agent-single-project--no-hero-image .lcs-agent-single-project-hero-content {
  max-width: 920px;
}

.lcs-agent-single-project-hero::before {
  content: "";
  position: absolute;
  inset: auto -8% -42% 38%;
  height: 68%;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(250, 204, 21, .28), rgba(250, 204, 21, 0) 68%);
  pointer-events: none;
  z-index: -1;
}

.lcs-agent-single-project-hero-media {
  min-height: 360px;
  background: linear-gradient(145deg, rgba(146, 64, 14, .95), rgba(215, 168, 58, .72));
}

.lcs-agent-single-project-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.lcs-agent-single-project-hero-placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  min-height: 360px;
  place-items: center;
  color: rgba(255, 255, 255, .92);
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 800;
  letter-spacing: -.08em;
}

.lcs-agent-single-project-hero-content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: flex-start;
  padding: clamp(1.45rem, 3.4vw, 3rem) clamp(2rem, 5vw, 4.5rem) clamp(2rem, 4.4vw, 3.8rem);
}

.lcs-agent-single-project-eyebrow,
.lcs-agent-single-project-section-heading span {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin: 0 0 .7rem;
  color: var(--lcs-project-single-accent-strong);
  font-size: .72rem;
  font-weight: 760;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.lcs-agent-single-project-eyebrow::before,
.lcs-agent-single-project-section-heading span::before {
  content: "";
  width: .55rem;
  height: .55rem;
  border-radius: 999px;
  background: var(--lcs-project-single-accent);
  box-shadow: 0 0 0 5px rgba(215, 168, 58, .14);
}

.lcs-agent-single-project-hero h1 {
  margin: 0;
  color: #1f2937;
  font-size: clamp(2.15rem, 5vw, 4.4rem);
  font-weight: 780;
  line-height: .95;
  letter-spacing: -.06em;
}

.lcs-agent-single-project-subtitle {
  max-width: 62ch;
  margin-top: 1.15rem;
  color: #475569;
  font-size: clamp(1.02rem, 1.8vw, 1.24rem);
  line-height: 1.55;
}

.lcs-agent-single-project-subtitle > *:last-child {
  margin-bottom: 0;
}

.lcs-agent-single-project-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: .62rem;
  margin-top: 1.45rem;
}

.lcs-agent-single-project-metrics span {
  display: inline-flex;
  align-items: center;
  min-height: 2.2rem;
  padding: .48rem .78rem;
  border: 1px solid rgba(215, 168, 58, .32);
  border-radius: 999px;
  background: rgba(255, 255, 255, .76);
  color: var(--lcs-project-single-accent-strong);
  font-size: .82rem;
  font-weight: 680;
  box-shadow: 0 10px 26px rgba(146, 64, 14, .08);
}

.lcs-agent-single-project-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 1.65rem;
}

.lcs-agent-single-project-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: .72rem 1rem;
  border: 1px solid rgba(146, 64, 14, .22);
  border-radius: 999px;
  background: rgba(255, 255, 255, .9);
  color: var(--lcs-project-single-accent-strong);
  font-size: .9rem;
  font-weight: 720;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

.lcs-agent-single-project-action-primary,
.lcs-agent-single-project-action:hover,
.lcs-agent-single-project-action:focus-visible {
  border-color: rgba(146, 64, 14, .26);
  background: linear-gradient(135deg, #facc15, #d7a83a);
  color: #3f2507;
  box-shadow: 0 16px 32px rgba(146, 64, 14, .18);
  transform: translateY(-1px);
}

.lcs-agent-single-project-layout {
  display: grid;
  grid-template-columns: minmax(250px, 320px) minmax(0, 1fr);
  gap: clamp(1rem, 2.6vw, 1.8rem);
  margin-top: clamp(1rem, 2.6vw, 1.8rem);
}

.lcs-agent-single-project--no-aside .lcs-agent-single-project-layout,
.lcs-agent-single-project--no-main .lcs-agent-single-project-layout {
  grid-template-columns: minmax(0, 1fr);
}

.lcs-agent-single-project-aside,
.lcs-agent-single-project-main {
  display: grid;
  align-content: start;
  gap: 1rem;
}

.lcs-agent-single-project-card,
.lcs-agent-single-project-section {
  border: 1px solid var(--lcs-project-single-line);
  border-radius: 24px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 16px 42px rgba(120, 83, 25, .08);
}

.lcs-agent-single-project-card {
  padding: 1.15rem;
}

.lcs-agent-single-project-card h2,
.lcs-agent-single-project-section-heading h2 {
  margin: 0;
  color: #1f2937;
  font-size: 1.05rem;
  font-weight: 760;
  letter-spacing: -.02em;
}

.lcs-agent-single-project-card h2 {
  margin-bottom: .72rem;
  color: var(--lcs-project-single-accent-strong);
  font-size: .86rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.lcs-agent-single-project-date {
  margin: 0;
  color: #334155;
  font-size: .98rem;
  font-weight: 700;
}

.lcs-agent-single-project-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}

.lcs-agent-single-project-chips span {
  display: inline-flex;
  padding: .42rem .62rem;
  border: 1px solid rgba(215, 168, 58, .26);
  border-radius: 999px;
  background: var(--lcs-project-single-accent-soft);
  color: #3f2507;
  font-size: .82rem;
  font-weight: 590;
  line-height: 1.15;
}

.lcs-agent-single-project-funders-card--wide {
  margin-top: clamp(1rem, 2.6vw, 1.8rem);
  padding: clamp(1.1rem, 2.6vw, 1.55rem);
  text-align: center;
}

.lcs-agent-single-project-funders-card--wide h2 {
  margin-bottom: .9rem;
  text-align: center;
}

.lcs-agent-single-project-funders {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(.7rem, 2vw, 1.25rem);
  text-align: center;
}

.lcs-agent-single-project-funders img {
  display: block;
  width: auto;
  max-width: min(180px, 100%);
  max-height: 64px;
  padding: .45rem;
  border: 1px solid rgba(215, 168, 58, .22);
  border-radius: 16px;
  background: #fff;
  object-fit: contain;
}

.lcs-agent-single-project-footer-note {
  max-width: 760px;
  margin: .95rem auto 0;
  color: var(--lcs-project-single-muted);
  font-size: .82rem;
  line-height: 1.45;
  text-align: center;
}

.lcs-agent-single-project-section {
  padding: clamp(1.1rem, 2.4vw, 1.6rem);
}

.lcs-agent-single-project-section-heading {
  margin-bottom: 1rem;
}

.lcs-agent-single-project-section .lcs-agent-expertise-cloud,
.lcs-agent-single-project-section .lcs-agent-project-members {
  margin-top: .4rem;
}

.lcs-agent-single-project-details-dialog {
  max-width: min(880px, calc(100vw - 32px));
  grid-template-columns: 1fr;
}

.lcs-agent-single-project-details-content {
  padding: clamp(1.35rem, 4vw, 2.4rem);
}

.lcs-agent-single-project-details-content h2 {
  margin: 0 0 1rem;
  color: #1f2937;
  font-size: clamp(1.55rem, 3vw, 2.3rem);
  line-height: 1.05;
  letter-spacing: -.04em;
}

.lcs-agent-single-project-details-html {
  color: #334155;
  font-size: 1rem;
  line-height: 1.72;
}

.lcs-agent-single-project-details-html > *:first-child {
  margin-top: 0;
}

.lcs-agent-single-project-details-html > *:last-child {
  margin-bottom: 0;
}

@media (max-width: 920px) {
  .lcs-agent-single-project-hero,
  .lcs-agent-single-project-layout {
    grid-template-columns: 1fr;
  }

  .lcs-agent-single-project-hero-media,
  .lcs-agent-single-project-hero-media img,
  .lcs-agent-single-project-hero-placeholder {
    min-height: 260px;
  }
}

@media (max-width: 640px) {
  .lcs-agent-single-project {
    max-width: min(100% - 18px, 1180px);
    margin-block: 1rem;
  }

  .lcs-agent-single-project-hero,
  .lcs-agent-single-project-card,
  .lcs-agent-single-project-section {
    border-radius: 20px;
  }

  .lcs-agent-single-project-hero-content {
    padding: 1.2rem 1.35rem 1.45rem;
  }

  .lcs-agent-single-project-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .lcs-agent-single-project-action {
    width: 100%;
  }
}

/* LCS Agent 2.6.20 - finished project visual state. */
.lcs-agent-single-project--finished .lcs-agent-single-project-hero-media img {
  filter: grayscale(.34) saturate(.82) brightness(.94);
  opacity: .9;
  transition: filter .24s ease, opacity .24s ease;
}

.lcs-agent-single-project--finished .lcs-agent-single-project-hero:hover .lcs-agent-single-project-hero-media img,
.lcs-agent-single-project--finished .lcs-agent-single-project-hero:focus-within .lcs-agent-single-project-hero-media img {
  filter: none;
  opacity: 1;
}

/* LCS Annuaire 2.6.32 - Couleurs personnalisables des badges de service */
.lcs-agent-member-service.has-service-color,
.lcs-agent-profile-service.has-service-color,
.lcs-agent-profile-meta > .lcs-agent-profile-service-meta.has-service-color,
.lcs-agent-service-responsibility-badge.has-service-color {
  color: var(--lcs-agent-service-badge-text, #111827);
  background: var(--lcs-agent-service-badge-bg, #facc15);
  border-color: var(--lcs-agent-service-badge-border, #facc15);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .32), 0 8px 18px rgba(15, 23, 42, .08);
}

.lcs-agent-member-service.has-service-color .lcs-agent-service-icon-default,
.lcs-agent-profile-service.has-service-color .lcs-agent-service-icon-default,
.lcs-agent-profile-meta > .lcs-agent-profile-service-meta.has-service-color .lcs-agent-term-icon,
.lcs-agent-service-responsibility-badge.has-service-color .lcs-agent-term-icon {
  color: currentColor;
}

/* LCS Agent 2.6.33 - team-specific wide member layout */
.lcs-agent-members--team-mode .lcs-agent-toolbar {
  margin-bottom: 1rem;
}

.lcs-agent-members--team-mode .lcs-agent-group-title {
  margin-bottom: 1rem;
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  font-weight: 820;
  letter-spacing: -.02em;
  color: var(--lcs-agent-ink);
  opacity: .92;
}

.lcs-agent-members--team-mode .lcs-agent-members {
  grid-template-columns: 1fr;
  gap: 1.05rem;
}

.lcs-agent-team-card {
  width: 100%;
}

.lcs-agent-team-card__inner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  gap: .85rem;
  width: 100%;
  padding: .9rem;
  border: 1px solid rgba(7, 21, 38, .08);
  border-radius: 28px;
  background:
    linear-gradient(110deg, rgba(255, 255, 255, .98) 0%, rgba(255, 255, 255, .98) 58%, rgba(255, 251, 235, .78) 100%);
  box-shadow: 0 18px 52px rgba(7, 21, 38, .085);
}

.lcs-agent-team-card__inner::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -90px;
  bottom: -110px;
  width: 280px;
  height: 280px;
  opacity: .66;
  background:
    radial-gradient(circle at 50% 50%, rgba(250, 204, 21, .18), transparent 58%),
    repeating-radial-gradient(circle at 50% 50%, transparent 0 16px, rgba(200, 155, 44, .12) 17px 18px, transparent 19px 31px);
}

.lcs-agent-team-card__profile {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  gap: clamp(1rem, 2.3vw, 1.55rem);
  align-items: start;
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  font: inherit;
}

.lcs-agent-team-card__profile:focus-visible {
  outline: 3px solid rgba(200, 155, 44, .28);
  outline-offset: 4px;
  border-radius: 22px;
}

.lcs-agent-team-card__avatar-wrap {
  display: block;
  width: 148px;
  min-width: 0;
}

.lcs-agent-team-card .lcs-agent-avatar {
  width: 148px;
  height: 168px;
  flex: 0 0 148px;
  border-radius: 24px;
  object-fit: cover;
  object-position: center top;
  border: 4px solid #facc15;
  box-shadow: 0 16px 34px rgba(7, 21, 38, .15);
  filter: saturate(.92);
}

.lcs-agent-team-card__body {
  display: grid;
  gap: .55rem;
  min-width: 0;
}

.lcs-agent-team-card__head {
  display: flex;
  gap: .75rem;
  justify-content: space-between;
  align-items: flex-start;
  min-width: 0;
}

.lcs-agent-team-card__identity {
  display: grid;
  gap: .18rem;
  min-width: 0;
}

.lcs-agent-team-card__name {
  color: var(--lcs-agent-ink);
  font-size: clamp(1.9rem, 4vw, 3.55rem);
  font-weight: 880;
  line-height: .96;
  letter-spacing: -.055em;
}

.lcs-agent-team-card__meta {
  color: rgba(7, 21, 38, .62);
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  line-height: 1.2;
  font-weight: 520;
  letter-spacing: .01em;
}

.lcs-agent-team-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: .38rem;
  align-items: center;
}

.lcs-agent-team-card__keywords {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .36rem .5rem;
  color: rgba(7, 21, 38, .55);
}

.lcs-agent-team-card__keywords-label {
  font-size: .82rem;
  font-weight: 700;
  color: rgba(7, 21, 38, .54);
}

.lcs-agent-team-card__keywords .lcs-agent-member-expertises {
  display: inline-flex;
  flex-wrap: wrap;
  gap: .32rem;
  margin-top: 0;
}

.lcs-agent-team-card__keywords .lcs-agent-expertise-tag {
  background: transparent;
  border-color: transparent;
  padding: 0 .08rem;
  min-height: 0;
  color: rgba(7, 21, 38, .56);
  font-size: clamp(.88rem, 1.15vw, 1.05rem);
  font-style: italic;
  font-weight: 500;
}

.lcs-agent-team-card__theme {
  display: grid;
  gap: .32rem;
  margin-top: .1rem;
  max-width: 100%;
  color: rgba(7, 21, 38, .70);
}

.lcs-agent-team-card__theme-title {
  width: fit-content;
  color: #92400e;
  font-size: .72rem;
  line-height: 1.1;
  font-weight: 830;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.lcs-agent-team-card__theme-text {
  max-width: 88ch;
  color: rgba(7, 21, 38, .64);
  font-size: clamp(1rem, 1.55vw, 1.23rem);
  line-height: 1.48;
  font-weight: 420;
}

.lcs-agent-team-card__theme-text p {
  margin: 0 0 .52rem;
}

.lcs-agent-team-card__theme-text p:last-child {
  margin-bottom: 0;
}

.lcs-agent-team-card__links {
  display: flex;
  flex-direction: column;
  gap: .42rem;
  align-items: center;
  justify-content: flex-start;
  padding-top: .2rem;
}

.lcs-agent-team-card__link {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(200, 155, 44, .28);
  background: rgba(255, 255, 255, .74);
  color: #c89b2c;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(7, 21, 38, .07);
  transition: transform .16s ease, background .16s ease, color .16s ease, border-color .16s ease;
}

.lcs-agent-team-card__link:hover,
.lcs-agent-team-card__link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(200, 155, 44, .54);
  background: #facc15;
  color: #1f1600;
  outline: none;
}

.lcs-agent-team-card__link-icon,
.lcs-agent-team-card__link-icon img,
.lcs-agent-team-card__link-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.lcs-agent-team-card__link-text {
  font-size: .62rem;
  font-weight: 820;
  letter-spacing: -.02em;
}

@media (max-width: 720px) {
  .lcs-agent-team-card__inner {
    grid-template-columns: 1fr;
    padding: .85rem;
    border-radius: 24px;
  }

  .lcs-agent-team-card__profile {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .lcs-agent-team-card__avatar-wrap,
  .lcs-agent-team-card .lcs-agent-avatar {
    width: 132px;
  }

  .lcs-agent-team-card .lcs-agent-avatar {
    height: 148px;
  }

  .lcs-agent-team-card__badges,
  .lcs-agent-team-card__keywords,
  .lcs-agent-team-card__keywords .lcs-agent-member-expertises {
    justify-content: center;
  }

  .lcs-agent-team-card__theme-title {
    margin-inline: auto;
  }

  .lcs-agent-team-card__links {
    flex-direction: row;
    justify-content: center;
    padding-top: 0;
  }
}
