.profile-workspace-page {
  background: #edf4f0;
}

.profile-workspace {
  width: 100%;
  min-width: 0;
  padding: 18px;
}

.profile-workspace-shell {
  width: min(1240px, 100%);
  margin: 0 auto;
  padding: 26px 28px 32px;
  overflow: hidden;
  border: 1px solid #c8ddd2;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(24, 55, 40, 0.08);
}

.profile-workspace-header {
  display: grid;
  grid-template-columns: 128px minmax(260px, 1fr) minmax(280px, 320px) minmax(240px, 300px);
  align-items: start;
  gap: 22px;
  min-width: 0;
}

.profile-workspace-avatar-wrap,
.profile-workspace-avatar {
  width: 128px;
  height: 128px;
}

.profile-workspace-avatar-wrap {
  position: relative;
}

.profile-workspace-avatar {
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid #bdd5c9;
  border-radius: 8px;
  object-fit: cover;
  background: #edf4f0;
}

.profile-workspace-avatar-placeholder {
  color: #6c8d7e;
}

.profile-workspace-avatar-placeholder svg {
  width: 42px;
  height: 42px;
}

.profile-workspace-avatar-action {
  position: absolute;
  right: 6px;
  bottom: 6px;
  color: #fff;
  border-color: transparent;
  background: transparent;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.9));
}

.profile-workspace-identity,
.profile-workspace-title-row,
.profile-workspace-title-row > h1 {
  min-width: 0;
}

.profile-workspace-identity {
  display: grid;
  gap: 8px;
}

.profile-workspace-kind,
.profile-workspace-section-heading p {
  margin: 0 0 3px;
  color: #507868;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.profile-workspace-title-row {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.profile-workspace-title-row h1 {
  margin: 0;
  color: #13291f;
  font-size: 34px;
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.profile-workspace-title-row .icon-button {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  color: #16754a;
  background: #e8f3ed;
}

.profile-workspace-bio {
  max-width: 720px;
  margin: 0;
  color: #3f584d;
  font-size: 15px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.profile-workspace-bio.is-empty {
  color: #789085;
  font-style: italic;
}

.profile-workspace-links {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 12px;
}

.profile-workspace-links a {
  display: inline-flex;
  align-items: center;
  max-width: 280px;
  gap: 5px;
  color: #16754a;
  font-size: 12px;
  text-decoration: none;
}

.profile-workspace-links svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
}

.profile-workspace-links span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-workspace-reputation {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: #637d70;
  font-size: 13px;
}

.profile-workspace-reputation span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.profile-workspace-reputation svg {
  width: 16px;
  height: 16px;
}

.profile-workspace-actions {
  display: grid;
  justify-items: end;
  gap: 10px;
  min-width: 0;
}

.profile-workspace-current-trip {
  display: grid;
  width: min(100%, 300px);
  gap: 3px;
  padding: 10px 12px;
  border: 1px solid #9ccbb3;
  border-radius: 6px;
  color: #244a38;
  background: #edf7f2;
  text-decoration: none;
}

.profile-workspace-current-trip > span {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #0d7043;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.profile-workspace-current-trip svg {
  width: 15px;
  height: 15px;
}

.profile-workspace-current-trip strong,
.profile-workspace-current-trip small {
  overflow-wrap: anywhere;
}

.profile-workspace-current-trip small {
  color: #6c8378;
}

.profile-workspace-action-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.profile-workspace-action-buttons form {
  margin: 0;
}

.profile-workspace-action-buttons .icon-button {
  color: #16754a;
  background: #f5faf7;
}

.profile-workspace-stats {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: repeat(4, minmax(0, 1fr));
  width: 100%;
  height: 128px;
  max-width: 320px;
  margin: 0;
  border-top: 1px solid #d6e4dd;
}

.profile-workspace-stats > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-width: 0;
  padding: 0 10px;
  border-bottom: 1px solid #d6e4dd;
}

.profile-workspace-stats dt {
  color: #6c8277;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
}

.profile-workspace-stats dd {
  margin: 0;
  color: #17291f;
  font-size: 17px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.profile-workspace-settings[hidden],
.profile-workspace-panel[hidden],
.profile-workspace-empty[hidden],
[data-profile-trip][hidden],
[data-profile-route][hidden] {
  display: none;
}

.profile-workspace-settings {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin: 16px 0 0 150px;
  padding: 16px;
  border: 1px solid #d2e2da;
  border-radius: 6px;
  background: #f7faf8;
}

.profile-workspace-settings.is-animating {
  overflow: hidden;
}

.profile-workspace-settings-column {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 10px;
  min-width: 0;
}

.profile-workspace-details-form,
.profile-workspace-review-reasons {
  grid-column: 1 / -1;
  min-width: 0;
  padding-top: 16px;
  border-top: 1px solid #d2e2da;
}

.profile-workspace-details-form {
  display: grid;
  gap: 12px;
}

.profile-workspace-details-form textarea {
  min-height: 96px;
  resize: vertical;
}

.profile-workspace-details-form .submit-action {
  justify-self: start;
  margin: 0;
}

.profile-workspace-details-form .profile-link-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 38px;
  gap: 8px;
  align-items: center;
}

.profile-workspace-details-form .profile-link-field .icon-button {
  width: 38px;
  height: 38px;
}

.profile-workspace-review-reasons {
  display: grid;
  gap: 8px;
}

.profile-review-reasons-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  color: #405b4e;
}

.profile-review-reasons-line > svg {
  width: 18px;
  height: 18px;
  color: #b84335;
}

.profile-review-reasons-line span {
  padding: 5px 8px;
  border-radius: 4px;
  background: #eef4f1;
  font-size: 13px;
}

.profile-workspace-review-reasons p {
  margin: 0;
  color: #678075;
  font-size: 13px;
  line-height: 1.45;
}

.profile-club-invite-modal .about-modal-panel {
  max-height: min(760px, calc(100dvh - 32px));
  overflow-y: auto;
}

.profile-club-invite-form {
  margin-top: 14px;
}

.profile-workspace-setting-head {
  display: grid;
  gap: 2px;
}

.profile-workspace-setting-head span {
  color: #678075;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.profile-workspace-notifications {
  display: grid;
  gap: 7px;
}

.profile-workspace-notifications label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #405b4e;
  font-size: 13px;
}

.profile-workspace-tabs {
  display: flex;
  gap: 4px;
  margin-top: 26px;
  padding: 4px;
  overflow-x: auto;
  border: 1px solid #c9ddd3;
  border-radius: 6px;
  background: #edf5f1;
}

.profile-workspace-tabs button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 126px;
  height: 40px;
  padding: 0 14px;
  gap: 7px;
  border: 0;
  border-radius: 5px;
  color: #4f6e60;
  background: transparent;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.profile-workspace-tabs button:hover,
.profile-workspace-tabs button.is-active {
  color: #0f6740;
  background: #fff;
  box-shadow: 0 2px 7px rgba(19, 61, 41, 0.08);
}

.profile-workspace-tabs svg {
  width: 17px;
  height: 17px;
}

.profile-workspace-tabs b {
  min-width: 20px;
  padding: 2px 5px;
  border-radius: 4px;
  background: #dcece4;
  font-size: 11px;
}

.profile-workspace-panels {
  margin-top: 24px;
}

.profile-workspace-overview {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(240px, 1fr);
  gap: 28px;
}

.profile-workspace-overview-routes {
  grid-column: 1 / -1;
}

.profile-workspace-overview-side {
  padding-left: 24px;
  border-left: 1px solid #d6e4dd;
}

.profile-workspace-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  min-width: 0;
  gap: 14px;
  margin-bottom: 13px;
}

.profile-workspace-section-heading h2 {
  margin: 0;
  color: #15281f;
  font-size: 20px;
  line-height: 1.2;
}

.profile-workspace-section-heading > button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0;
  border: 0;
  color: #16754a;
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.profile-workspace-section-heading > button svg {
  width: 16px;
  height: 16px;
}

.profile-workspace-section-heading > span {
  color: #71877c;
  font-size: 13px;
}

.profile-workspace-trip-list,
.profile-workspace-trip-grid,
.profile-workspace-route-grid,
.profile-workspace-review-list,
.profile-workspace-club-grid {
  display: grid;
  gap: 8px;
}

.profile-workspace-trip-row {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid #d4e2db;
  border-radius: 6px;
  color: inherit;
  text-decoration: none;
}

.profile-workspace-trip-row:hover,
.profile-workspace-trip-tile:hover,
.profile-workspace-route-row:hover,
.profile-workspace-club-grid article:hover {
  border-color: #78ad92;
  box-shadow: 0 5px 14px rgba(24, 86, 56, 0.08);
}

.profile-workspace-trip-date {
  display: grid;
  height: 48px;
  place-items: center;
  color: #507165;
  border: 1px solid #d5e5dd;
  border-radius: 5px;
  background: #edf5f1;
  font-size: 10px;
  text-transform: uppercase;
}

.profile-workspace-trip-date b {
  font-size: 18px;
  line-height: 1;
}

.profile-workspace-trip-copy {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.profile-workspace-trip-copy strong {
  overflow-wrap: anywhere;
}

.profile-workspace-trip-copy small,
.profile-workspace-trip-copy span {
  color: #71867c;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-workspace-trip-range {
  color: #667e72;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.profile-workspace-club-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.profile-workspace-club-stack a,
.profile-workspace-club-stack img,
.profile-workspace-club-stack span {
  width: 46px;
  height: 46px;
}

.profile-workspace-club-stack a,
.profile-workspace-club-stack span {
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid #bdd6c9;
  border-radius: 50%;
  color: #16754a;
  background: #edf5f1;
}

.profile-workspace-club-stack img {
  object-fit: cover;
}

.profile-workspace-muted {
  margin: 0;
  color: #71877c;
  line-height: 1.5;
}

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

.profile-workspace-highlight-grid a {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 3px 10px;
  min-width: 0;
  padding: 12px;
  border: 1px solid #d4e2db;
  border-radius: 6px;
  color: #173126;
  text-decoration: none;
}

.profile-workspace-highlight-grid a > span {
  display: grid;
  grid-row: 1 / span 2;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 5px;
  color: #16754a;
  background: #e4f1ea;
}

.profile-workspace-highlight-grid strong {
  overflow-wrap: anywhere;
}

.profile-workspace-highlight-grid small {
  color: #71877c;
}

.profile-workspace-empty {
  display: grid;
  min-height: 120px;
  place-items: center;
  align-content: center;
  gap: 8px;
  color: #71877c;
  border: 1px dashed #c6d9cf;
  border-radius: 6px;
  background: #f8fbf9;
}

.profile-workspace-empty svg {
  width: 26px;
  height: 26px;
}

.profile-workspace-empty p {
  margin: 0;
}

.profile-workspace-tools {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 260px)) minmax(0, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.profile-workspace-result-count {
  align-self: end;
  justify-self: end;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  color: #71877c;
  font-size: 13px;
  white-space: nowrap;
}

.profile-workspace-tools label {
  display: grid;
  gap: 4px;
  color: #668075;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.profile-workspace-tools select {
  width: 100%;
  height: 40px;
  padding: 0 30px 0 10px;
  border: 1px solid #c7dad0;
  border-radius: 5px;
  color: #334f42;
  background: #fff;
  font: inherit;
  font-size: 13px;
}

.profile-workspace-trip-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.profile-workspace-trip-tile {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 14px;
  border: 1px solid #d2e1d9;
  border-radius: 6px;
  color: inherit;
  text-decoration: none;
}

.profile-workspace-trip-tile-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 5px;
  color: #16754a;
  background: #e4f1ea;
}

.profile-workspace-trip-roles {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  max-width: 150px;
  gap: 4px;
}

.profile-workspace-trip-roles b {
  padding: 3px 6px;
  border-radius: 4px;
  color: #286247;
  background: #e2f0e8;
  font-size: 10px;
}

.profile-workspace-route-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.profile-workspace-route-filters .profile-workspace-result-count {
  margin-left: auto;
}

.profile-workspace-route-filters button {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid #c5dacf;
  border-radius: 5px;
  color: #4f6e60;
  background: #f7faf8;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.profile-workspace-route-filters button.is-active {
  color: #fff;
  border-color: #16754a;
  background: #16754a;
}

.profile-workspace-route-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto 20px;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid #d4e2db;
  border-radius: 6px;
  color: #173126;
  text-decoration: none;
}

.profile-workspace-route-row > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 5px;
  color: #16754a;
  background: #e4f1ea;
}

.profile-workspace-route-row strong {
  overflow-wrap: anywhere;
}

.profile-workspace-route-row small {
  color: #71877c;
  white-space: nowrap;
}

.profile-workspace-route-row > svg {
  width: 18px;
  color: #789085;
}

.profile-workspace-review {
  min-width: 0;
  padding: 14px;
  border: 1px solid #d3e2da;
  border-radius: 6px;
}

.profile-workspace-review header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}

.profile-workspace-review header a {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 7px;
  color: #173126;
  text-decoration: none;
}

.profile-workspace-review header a svg {
  width: 17px;
  flex: 0 0 auto;
  color: #16754a;
}

.profile-workspace-review header strong,
.profile-workspace-review > p {
  overflow-wrap: anywhere;
}

.profile-workspace-review header b {
  color: #cbd4cf;
  font-size: 15px;
}

.profile-workspace-review header b.is-filled {
  color: #d99a00;
}

.profile-workspace-review header small,
.profile-workspace-review-route {
  color: #71877c;
}

.profile-workspace-review > p {
  margin: 10px 0 0;
  line-height: 1.45;
}

.profile-workspace-review-route {
  font-size: 12px;
}

.profile-workspace-review-photos {
  display: flex;
  width: 100%;
  gap: 6px;
  margin-top: 12px;
  overflow-x: auto;
}

.profile-workspace-review-photos button,
.profile-workspace-review-photos img {
  width: 86px;
  height: 64px;
}

.profile-workspace-review-photos button {
  flex: 0 0 auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid #cbdcd3;
  border-radius: 5px;
  background: #edf4f0;
  cursor: pointer;
}

.profile-workspace-review-photos img {
  display: block;
  object-fit: cover;
}

.profile-workspace-reputation-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 220px));
  gap: 10px;
}

.profile-workspace-reputation-summary > span {
  display: grid;
  grid-template-columns: 30px 1fr;
  align-items: center;
  padding: 14px;
  border: 1px solid #d3e2da;
  border-radius: 6px;
}

.profile-workspace-reputation-summary svg {
  grid-row: 1 / span 2;
  color: #16754a;
}

.profile-workspace-reputation-summary strong {
  font-size: 22px;
}

.profile-workspace-reputation-summary small {
  color: #71877c;
}

.profile-workspace-club-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.profile-workspace-club-grid article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  border: 1px solid #d3e2da;
  border-radius: 6px;
}

.profile-workspace-club-grid article > a:first-child {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 10px;
  color: #173126;
  text-decoration: none;
}

.profile-workspace-club-grid article > .icon-button {
  margin-right: 10px;
  color: #16754a;
  background: #edf5f1;
}

.profile-workspace-club-grid img,
.profile-workspace-club-grid article > a:first-child > span:first-child {
  width: 52px;
  height: 52px;
  border-radius: 6px;
  object-fit: cover;
}

.profile-workspace-club-grid article > a:first-child > span:first-child {
  display: grid;
  place-items: center;
  color: #16754a;
  background: #edf5f1;
}

.profile-workspace-club-grid article > a:first-child > span:nth-child(2) {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.profile-workspace-club-grid strong {
  overflow-wrap: anywhere;
}

.profile-workspace-club-grid small {
  color: #71877c;
}

.profile-workspace-club-grid a > svg {
  width: 18px;
  color: #789085;
}

.profile-workspace-invitations {
  margin-top: 24px;
}

.profile-workspace-invitations h3 {
  margin: 0 0 10px;
  font-size: 16px;
}

.profile-workspace-invitations article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-top: 1px solid #d6e4dd;
}

.profile-workspace-invitations article > span {
  display: grid;
  gap: 2px;
}

.profile-workspace-invitations small {
  color: #71877c;
}

@media (max-width: 1100px) {
  .profile-workspace-header {
    grid-template-columns: 128px minmax(0, 1fr) minmax(240px, 300px);
  }

  .profile-workspace-avatar-wrap {
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  .profile-workspace-identity {
    grid-column: 2;
    grid-row: 1;
  }

  .profile-workspace-stats {
    grid-column: 2;
    grid-row: 2;
    grid-template-rows: none;
    height: auto;
    margin-top: 8px;
  }

  .profile-workspace-actions {
    grid-column: 3;
    grid-row: 1 / span 2;
  }
}

@media (max-width: 900px) {
  .profile-workspace-header {
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .profile-workspace-avatar-wrap,
  .profile-workspace-avatar {
    width: 112px;
    height: 112px;
  }

  .profile-workspace-actions {
    grid-column: 1 / -1;
    grid-row: 3;
    grid-template-columns: minmax(0, 1fr) auto;
    justify-items: stretch;
  }

  .profile-workspace-avatar-wrap {
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  .profile-workspace-identity {
    grid-column: 2;
    grid-row: 1;
  }

  .profile-workspace-stats {
    grid-column: 2;
    grid-row: 2;
    max-width: 320px;
  }

  .profile-workspace-action-buttons {
    align-items: flex-start;
  }

  .profile-workspace-stats,
  .profile-workspace-settings {
    width: 100%;
    margin-left: 0;
  }

  .profile-workspace-trip-grid,
  .profile-workspace-club-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .profile-workspace {
    padding: 0;
  }

  .profile-workspace-shell {
    padding: 16px 14px 24px;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .profile-workspace-header {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 14px;
  }

  .profile-workspace-avatar-wrap,
  .profile-workspace-avatar {
    width: 88px;
    height: 88px;
  }

  .profile-workspace-title-row h1 {
    font-size: 27px;
  }

  .profile-workspace-bio {
    font-size: 14px;
  }

  .profile-workspace-actions {
    display: grid;
    grid-column: 1 / -1;
    grid-row: 3;
    grid-template-columns: 1fr;
  }

  .profile-workspace-avatar-wrap {
    grid-row: 1;
  }

  .profile-workspace-stats {
    grid-column: 1 / -1;
    grid-row: 2;
    max-width: none;
    margin-top: 0;
  }

  .profile-workspace-current-trip {
    width: 100%;
  }

  .profile-workspace-action-buttons {
    justify-content: flex-start;
  }

  .profile-workspace-stats > div {
    padding: 10px;
  }

  .profile-workspace-stats dd {
    font-size: 17px;
  }

  .profile-workspace-settings,
  .profile-workspace-overview,
  .profile-workspace-highlight-grid,
  .profile-workspace-reputation-summary {
    grid-template-columns: 1fr;
  }

  .profile-workspace-overview-side {
    padding: 20px 0 0;
    border-top: 1px solid #d6e4dd;
    border-left: 0;
  }

  .profile-workspace-overview-routes {
    grid-column: auto;
  }

  .profile-workspace-tabs {
    margin-right: -14px;
    margin-left: -14px;
    padding-right: 14px;
    padding-left: 14px;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .profile-workspace-tabs button {
    min-width: 112px;
  }

  .profile-workspace-tools {
    grid-template-columns: 1fr;
  }

  .profile-workspace-result-count {
    display: none;
  }

  .profile-workspace-trip-row {
    grid-template-columns: 46px minmax(0, 1fr);
  }

  .profile-workspace-trip-range {
    grid-column: 2;
    white-space: normal;
  }

  .profile-workspace-trip-tile {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .profile-workspace-trip-tile-icon {
    width: 40px;
    height: 40px;
  }

  .profile-workspace-trip-roles {
    grid-column: 2;
    justify-content: flex-start;
    max-width: none;
  }

  .profile-workspace-route-row {
    grid-template-columns: 40px minmax(0, 1fr) 18px;
  }

  .profile-workspace-route-row > span {
    width: 40px;
    height: 40px;
  }

  .profile-workspace-route-row small {
    grid-column: 2;
    grid-row: 2;
  }

  .profile-workspace-route-row > svg {
    grid-column: 3;
    grid-row: 1 / span 2;
  }
}

.profile-workspace-page :is(.profile-workspace, .profile-edit-modal, .profile-club-invite-modal, .review-gallery-modal) .primary-action {
  width: auto;
  height: 40px;
  padding: 0 15px;
  gap: 8px;
  border: 1px solid rgba(22, 117, 74, 0.16);
  border-radius: 12px;
  color: var(--accent);
  background: rgba(22, 117, 74, 0.11);
  box-shadow: none;
  filter: none;
  font: inherit;
  font-weight: 650;
  text-decoration: none;
  transform: none;
}

.profile-workspace-page :is(.profile-workspace, .profile-edit-modal, .profile-club-invite-modal, .review-gallery-modal) .primary-action.icon-only {
  width: 40px;
  min-width: 40px;
  padding: 0;
  gap: 0;
}

.profile-workspace-page :is(.profile-workspace, .profile-edit-modal, .profile-club-invite-modal, .review-gallery-modal) .primary-action span {
  display: inline;
}

.profile-workspace-page :is(.profile-workspace, .profile-edit-modal, .profile-club-invite-modal, .review-gallery-modal) .primary-action:hover:not(:disabled) {
  border-color: rgba(22, 117, 74, 0.34);
  color: var(--accent-dark);
  background: rgba(22, 117, 74, 0.18);
}

.profile-workspace-page :is(.profile-workspace, .profile-edit-modal, .profile-club-invite-modal, .review-gallery-modal) .primary-action[aria-pressed="true"] {
  border-color: rgba(22, 117, 74, 0.46);
  color: var(--accent-dark);
  background: rgba(22, 117, 74, 0.24);
  box-shadow: inset 0 2px 4px rgba(10, 75, 45, 0.22);
  transform: translateY(1px);
}

.profile-workspace-page .profile-workspace-avatar-action {
  right: 6px;
  bottom: 6px;
}

.profile-workspace-page .profile-workspace-title-row .primary-action,
.profile-workspace-page .profile-workspace-action-buttons .primary-action,
.profile-workspace-page .profile-workspace-details-form .profile-link-field .primary-action,
.profile-workspace-page .profile-workspace-club-grid article > .primary-action {
  flex: 0 0 auto;
}

.profile-workspace-page .profile-workspace-tabs .primary-action,
.profile-workspace-page .profile-workspace-route-filters .primary-action,
.profile-workspace-page .profile-workspace-section-heading > .primary-action {
  min-height: 40px;
  padding: 0 15px;
  border: 1px solid rgba(22, 117, 74, 0.16);
  border-radius: 12px;
  color: var(--accent);
  background: rgba(22, 117, 74, 0.11);
  box-shadow: none;
  font: inherit;
  font-size: 14px;
  font-weight: 650;
}

.profile-workspace-page .profile-workspace-tabs .primary-action {
  min-width: 126px;
}

.profile-workspace-page .profile-workspace-section-heading > .primary-action.icon-only {
  width: 40px;
  min-width: 40px;
  padding: 0;
}

.profile-workspace-page .route-review-helpful.primary-action {
  min-width: 40px;
  height: 40px;
  padding: 0 11px;
  border-radius: 12px;
  font-size: 12px;
}
