.user-entity-action {
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid rgba(125, 249, 255, 0.22);
  border-radius: 6px;
  color: #b8c8dc;
  background: rgba(255, 255, 255, 0.045);
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 850;
}

.user-entity-action.is-active {
  border-color: rgba(45, 212, 191, 0.55);
  color: #07151d;
  background: #62e5d5;
}

.profile-save-actions .user-entity-action {
  min-height: 44px;
  padding: 0 16px;
  border-color: rgba(125, 249, 255, 0.28);
  color: #eaf6ff;
  background: rgba(120, 231, 255, 0.09);
  font-size: 12px;
  font-weight: 900;
}

.profile-save-actions .user-entity-action:hover {
  border-color: rgba(125, 249, 255, 0.56);
  background: rgba(120, 231, 255, 0.16);
}

.profile-save-actions .user-entity-action.is-active {
  border-color: rgba(45, 212, 191, 0.72);
  color: #07151d;
  background: #62e5d5;
}

.user-hub-link {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 10px;
  border: 1px solid rgba(125, 249, 255, 0.2);
  border-radius: 6px;
  color: #dbe8f7;
  font-size: 11px;
  font-weight: 850;
  text-decoration: none;
}

.user-hub-link span {
  min-width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: #04111c;
  background: #7df9ff;
  font-size: 9px;
}

.user-hub {
  width: min(1120px, calc(100% - 28px));
  margin: 36px auto 70px;
}

.user-hub-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  padding: 28px 0;
  border-bottom: 1px solid rgba(125, 249, 255, 0.14);
}

.user-hub-hero p,
.user-hub-section header p {
  margin: 0 0 7px;
  color: #7df9ff;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.user-hub-hero h1 {
  margin: 0;
  color: #eef6ff;
  font-size: 42px;
}

.user-hub-hero span {
  display: block;
  margin-top: 10px;
  color: #9fb0c8;
}

.user-score {
  min-width: 150px;
  padding: 18px;
  border: 1px solid rgba(125, 249, 255, 0.2);
  border-radius: 8px;
  background: rgba(8, 25, 41, 0.8);
}

.user-score strong,
.user-score span,
.user-score small {
  display: block;
}

.user-score strong {
  color: #eef6ff;
  font-size: 36px;
}

.user-score span {
  margin-top: 2px;
  color: #7df9ff;
  font-weight: 850;
}

.user-score small {
  margin-top: 5px;
  color: #9fb0c8;
}

.user-research-snapshot {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-top: 18px;
}

.user-research-snapshot a {
  display: grid;
  min-height: 82px;
  align-content: space-between;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(125, 249, 255, 0.16);
  border-radius: 8px;
  color: #9fb0c8;
  background: rgba(8, 25, 41, 0.62);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.user-research-snapshot a:hover {
  transform: translateY(-2px);
  border-color: rgba(125, 249, 255, 0.42);
  background: rgba(12, 37, 57, 0.82);
}

.user-research-snapshot span {
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.user-research-snapshot strong {
  color: #eef6ff;
  font-size: 26px;
  line-height: 1;
}

.user-hub-section {
  scroll-margin-top: 110px;
}

.user-research-search {
  display: grid;
  grid-template-columns: minmax(160px, 0.28fr) minmax(280px, 1fr) auto;
  gap: 10px 16px;
  align-items: center;
  margin-top: 10px;
  padding: 14px;
  border: 1px solid rgba(125, 249, 255, 0.14);
  border-radius: 8px;
  background: rgba(8, 25, 41, 0.5);
}

.user-research-search label {
  color: #dbe8f7;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.user-research-search > div {
  position: relative;
}

.user-research-search input {
  width: 100%;
  min-height: 42px;
  padding: 0 44px 0 13px;
  border: 1px solid rgba(125, 249, 255, 0.2);
  border-radius: 6px;
  color: #eef6ff;
  background: rgba(3, 15, 27, 0.72);
  font: inherit;
  font-size: 13px;
}

.user-research-search input:focus {
  border-color: #7df9ff;
  outline: none;
}

.user-research-search button {
  position: absolute;
  top: 50%;
  right: 6px;
  width: 30px;
  height: 30px;
  transform: translateY(-50%);
  border: 0;
  border-radius: 5px;
  color: #7df9ff;
  background: transparent;
  cursor: pointer;
  font-size: 20px;
}

.user-research-search button:disabled {
  cursor: default;
  opacity: 0.3;
}

.user-research-search small {
  color: #9fb0c8;
  font-size: 11px;
  text-align: right;
}

.user-hub.is-searching .user-data-tools,
.user-hub.is-searching .user-recommendations,
.is-search-hidden {
  display: none;
}

.user-search-empty {
  display: grid;
  gap: 7px;
  margin-top: 22px;
  padding: 28px;
  border: 1px dashed rgba(125, 249, 255, 0.24);
  border-radius: 8px;
  text-align: center;
}

.user-search-empty[hidden] {
  display: none;
}

.user-search-empty strong {
  color: #eef6ff;
  font-size: 18px;
}

.user-search-empty span {
  color: #9fb0c8;
  font-size: 12px;
}

.user-research-activity {
  margin-top: 18px;
}

.user-research-activity > header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 10px;
}

.user-research-activity > header p {
  margin: 0 0 5px;
  color: #7df9ff;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.user-research-activity > header h2 {
  margin: 0;
  color: #eef6ff;
  font-size: 20px;
}

.user-research-activity > header a {
  color: #7df9ff;
  font-size: 11px;
  font-weight: 850;
  text-decoration: none;
}

.user-activity-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.user-activity-list > a {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 104px;
  align-content: space-between;
  gap: 8px;
  padding: 14px;
  border: 1px solid rgba(125, 249, 255, 0.14);
  border-radius: 8px;
  color: #eef6ff;
  background: rgba(255, 255, 255, 0.035);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.user-activity-list > a:hover {
  transform: translateY(-2px);
  border-color: rgba(125, 249, 255, 0.4);
  background: rgba(125, 249, 255, 0.07);
}

.user-activity-list span {
  color: #62e5d5;
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
}

.user-activity-list strong {
  overflow: hidden;
  font-size: 14px;
  line-height: 1.35;
  text-overflow: ellipsis;
}

.user-activity-list small {
  color: #9fb0c8;
  font-size: 10px;
}

.user-activity-list .user-empty {
  grid-column: 1 / -1;
}

.user-hub-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 28px;
}

.user-data-tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px 24px;
  align-items: center;
  margin-top: 24px;
  padding: 18px;
  border: 1px solid rgba(125, 249, 255, 0.16);
  border-radius: 8px;
  background: rgba(8, 25, 41, 0.62);
}

.user-data-tools p {
  margin: 0 0 5px;
  color: #7df9ff;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.user-data-tools h2 {
  margin: 0;
  color: #eef6ff;
  font-size: 18px;
}

.user-data-tools span,
.user-data-tools > small {
  color: #9fb0c8;
  font-size: 11px;
  line-height: 1.5;
}

.user-data-tools span {
  display: block;
  margin-top: 6px;
}

.user-data-tools > small {
  grid-column: 1 / -1;
}

.user-data-actions {
  display: flex;
  gap: 8px;
}

.user-data-actions button {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(125, 249, 255, 0.22);
  border-radius: 6px;
  color: #dbe8f7;
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 850;
}

.user-recommendations {
  margin-top: 24px;
}

.user-recommendations > header {
  margin-bottom: 12px;
}

.user-recommendations > header p {
  margin: 0 0 6px;
  color: #7df9ff;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.user-recommendations > header h2 {
  margin: 0;
  color: #eef6ff;
  font-size: 22px;
}

.user-recommendations > header span {
  display: block;
  margin-top: 6px;
  color: #9fb0c8;
  font-size: 12px;
}

.user-recommendation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.user-recommendation-card {
  min-width: 0;
  border: 1px solid rgba(125, 249, 255, 0.14);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.035);
  overflow: hidden;
}

.user-recommendation-card > a {
  display: block;
  min-height: 128px;
  padding: 14px;
  color: #eef6ff;
  text-decoration: none;
}

.user-recommendation-card span,
.user-recommendation-card strong,
.user-recommendation-card small,
.user-recommendation-card em {
  display: block;
}

.user-recommendation-card span {
  color: #7df9ff;
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
}

.user-recommendation-card strong {
  margin-top: 6px;
  font-size: 15px;
}

.user-recommendation-card small {
  margin-top: 5px;
  color: #9fb0c8;
  line-height: 1.4;
}

.user-recommendation-card em {
  margin-top: 10px;
  color: #62e5d5;
  font-size: 10px;
  font-style: normal;
}

.user-recommendation-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(125, 249, 255, 0.13);
}

.user-recommendation-actions button {
  min-height: 36px;
  border: 0;
  color: #9fb0c8;
  background: rgba(255, 255, 255, 0.025);
  cursor: pointer;
  font: inherit;
  font-size: 10px;
  font-weight: 850;
}

.user-recommendation-actions button + button {
  border-left: 1px solid rgba(125, 249, 255, 0.13);
}

.user-recommendation-actions button:hover,
.user-recommendation-actions button:focus-visible {
  color: #eef6ff;
  background: rgba(125, 249, 255, 0.08);
}

.user-recommendation-actions button.is-active {
  color: #07131d;
  background: #7df9ff;
}

.user-recommendation-grid .user-empty {
  grid-column: 1 / -1;
}

.user-hub-section {
  min-width: 0;
}

.user-hub-section-wide {
  grid-column: 1 / -1;
}

.user-hub-section header {
  margin-bottom: 12px;
}

.user-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.user-section-heading button,
.user-list-actions button,
.user-section-link {
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid rgba(125, 249, 255, 0.18);
  border-radius: 6px;
  color: #b8c8dc;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 850;
}

.user-section-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.user-section-link[aria-disabled="true"] {
  color: #607086;
  cursor: default;
  opacity: 0.55;
}

.user-section-actions {
  display: flex;
  gap: 7px;
}

.user-review-counts {
  display: flex;
  gap: 7px;
  color: #9fb0c8;
  font-size: 10px;
  font-weight: 750;
}

.user-review-counts span {
  padding: 7px 8px;
  border: 1px solid rgba(125, 249, 255, 0.14);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.035);
}

.user-review-counts strong {
  color: #eef6ff;
}

.user-hub-section h2 {
  margin: 0;
  color: #eef6ff;
  font-size: 22px;
}

.user-section-note {
  display: block;
  margin-top: 7px;
  color: #8396af;
  font-size: 11px;
}

.user-watchlist-pulse {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 10px;
}

.user-watchlist-pulse span {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 9px;
  border: 1px solid rgba(125, 249, 255, 0.12);
  border-radius: 6px;
  color: #7f92aa;
  background: rgba(255, 255, 255, 0.025);
  font-size: 9px;
  font-weight: 850;
  text-transform: uppercase;
}

.user-watchlist-pulse strong {
  overflow: hidden;
  color: #eaf6ff;
  font-size: 15px;
  line-height: 1.1;
  text-overflow: ellipsis;
  text-transform: none;
  white-space: nowrap;
}

.user-list {
  display: grid;
  gap: 8px;
}

.user-list-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  border: 1px solid rgba(125, 249, 255, 0.13);
  border-radius: 7px;
  color: #eef6ff;
  background: rgba(255, 255, 255, 0.035);
  overflow: hidden;
}

.user-note-preview {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 7px;
  color: #8fded4;
  font-size: 10px;
  font-style: normal;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.user-list-row > a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 13px;
  color: #eef6ff;
  text-decoration: none;
}

.user-list-actions {
  display: flex;
  align-self: stretch;
}

.user-list-actions button,
.user-list-actions a {
  align-self: stretch;
  min-height: 100%;
  border-width: 0 0 0 1px;
  border-radius: 0;
}

.user-list-actions a {
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-style: solid;
  border-color: rgba(125, 249, 255, 0.18);
  color: #7df9ff;
  background: rgba(125, 249, 255, 0.045);
  font-size: 11px;
  font-weight: 850;
  text-decoration: none;
}

.user-list-actions a:hover {
  background: rgba(125, 249, 255, 0.11);
}

.user-signal-empty {
  display: inline-flex;
  align-items: center;
  align-self: stretch;
  padding: 0 10px;
  border-left: 1px solid rgba(125, 249, 255, 0.13);
  color: #687b94;
  background: rgba(255, 255, 255, 0.02);
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.user-list-actions .user-review-toggle.is-reviewed {
  color: #7df9d4;
  background: rgba(46, 204, 153, 0.1);
}

.user-note-editor {
  display: grid;
  grid-column: 1 / -1;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid rgba(125, 249, 255, 0.13);
  background: rgba(3, 15, 27, 0.72);
}

.user-note-editor label {
  color: #dbe8f7;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.user-note-editor textarea {
  box-sizing: border-box;
  width: 100%;
  resize: vertical;
  padding: 10px;
  border: 1px solid rgba(125, 249, 255, 0.2);
  border-radius: 6px;
  color: #eef6ff;
  background: rgba(255, 255, 255, 0.035);
  font: inherit;
  font-size: 12px;
  line-height: 1.5;
}

.user-note-editor textarea:focus {
  border-color: #7df9ff;
  outline: none;
}

.user-note-editor > div {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
}

.user-note-editor > div small {
  margin-right: auto;
  color: #71869f;
}

.user-note-editor button {
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid rgba(125, 249, 255, 0.18);
  border-radius: 6px;
  color: #dbe8f7;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  font: inherit;
  font-size: 10px;
  font-weight: 850;
}

.user-note-editor [data-save-note] {
  color: #04111c;
  background: #62e5d5;
}

.user-section-heading button:disabled,
.user-list-actions button:disabled {
  color: #607086;
  cursor: default;
  opacity: 0.55;
}

.user-list strong,
.user-list small {
  display: block;
}

.user-list small {
  margin-top: 4px;
  color: #9fb0c8;
}

.user-recent-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.user-recent-list .user-empty {
  grid-column: 1 / -1;
}

.user-empty {
  padding: 20px;
  border: 1px dashed rgba(125, 249, 255, 0.2);
  color: #9fb0c8;
  text-align: center;
}

@media (max-width: 720px) {
  .user-hub-hero,
  .user-hub-grid,
  .user-data-tools {
    grid-template-columns: 1fr;
  }

  .user-hub-hero h1 {
    font-size: 34px;
  }

  .user-hub-section-wide {
    grid-column: auto;
  }

  .user-recent-list {
    grid-template-columns: 1fr;
  }

  .user-section-heading {
    align-items: start;
    flex-direction: column;
  }

  .user-data-actions {
    flex-direction: column;
  }

  .user-recommendation-grid {
    grid-template-columns: 1fr;
  }

  .user-research-snapshot {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .user-research-snapshot a:last-child {
    grid-column: 1 / -1;
  }

  .user-research-search {
    grid-template-columns: 1fr;
  }

  .user-research-search small {
    text-align: left;
  }

  .user-research-activity > header {
    align-items: start;
  }

  .user-activity-list {
    grid-template-columns: 1fr;
  }

  .user-list-row {
    grid-template-columns: 1fr;
  }

  .user-watchlist-pulse {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .user-list-actions {
    border-top: 1px solid rgba(125, 249, 255, 0.13);
  }

  .user-list-actions button,
  .user-list-actions a,
  .user-signal-empty {
    flex: 1;
    min-height: 38px;
    border-width: 0;
    justify-content: center;
  }

  .user-list-actions > * + * {
    border-left: 1px solid rgba(125, 249, 255, 0.13);
  }

  .user-note-editor > div {
    align-items: stretch;
    flex-wrap: wrap;
  }

  .user-note-editor > div small {
    flex-basis: 100%;
  }
}
.user-ris-profile-link {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  border: 1px solid rgba(125, 249, 255, 0.34);
  border-radius: 6px;
  color: #7df9ff;
  background: rgba(125, 249, 255, 0.08);
  font-size: 11px;
  font-weight: 900;
  text-decoration: none;
}

.user-ris-profile-link:hover,
.user-ris-profile-link:focus-visible {
  border-color: rgba(125, 249, 255, 0.62);
  color: #eef6ff;
  background: rgba(125, 249, 255, 0.14);
}

body.light-theme .user-ris-profile-link {
  border-color: rgba(0, 115, 135, 0.28);
  color: #006f82;
  background: rgba(0, 150, 170, 0.08);
}
