.catalogue {
  --ink: #272230;
  --muted: #797580;
  --purple: #6841bb;
  min-height: 100dvh;
  background: #fff;
  color: var(--ink);
  font-family: "Source Sans 3", Arial, sans-serif;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}
.catalogue * {
  box-sizing: border-box;
}
.catalogue a {
  text-decoration: none;
}
.catalogue a:focus-visible, .catalogue button:focus-visible {
  outline: 3px solid #bba2e8;
  outline-offset: 5px;
}
.catalogue-header {
  position: relative;
  padding: 76px 24px 0;
  text-align: center;
}
.catalogue-languages {
  position: absolute;
  top: 24px;
  right: 36px;
  display: flex;
  gap: 18px;
  font-size: 12px;
  letter-spacing: 0.05em;
}
.catalogue-languages a {
  color: #918a99;
}
.catalogue-languages a[aria-current] {
  color: var(--purple);
  font-weight: 700;
}
.catalogue h1 {
  margin: 0;
  font-size: 64px;
  font-weight: 700;
  letter-spacing: -3px;
  line-height: 1.15;
}
.catalogue h1 a {
  color: #322341;
}
.catalogue-logo {
  display: block;
  width: min(360px, 100%);
  height: auto;
  margin: 0 auto;
}
.catalogue-profile .catalogue-logo {
  width: min(240px, 100%);
}
.catalogue-intro {
  font-size: 16px;
  color: var(--muted);
  margin: 12px 0 28px;
}
.catalogue-search {
  display: flex;
  align-items: center;
  gap: 15px;
  max-width: 696px;
  margin: 0 auto;
  border: 1px solid #dedbe4;
  border-radius: 32px;
  padding: 7px 8px 7px 22px;
  height: 58px;
  box-shadow: 0 3px 12px #32234108;
  text-align: left;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.catalogue-search:focus-within {
  border-color: #ac8ad9;
  box-shadow: 0 3px 18px #6841bb18;
}
.catalogue-search > svg {
  color: #99919f;
  flex-shrink: 0;
}
.catalogue-search input[type="search"] {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 17px;
  padding: 6px 0;
}
.catalogue-search input::placeholder {
  color: #948d9c;
}
.catalogue-search button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #f1ecf8;
  color: var(--purple);
  cursor: pointer;
  flex-shrink: 0;
}
.catalogue-search button:hover {
  background: #e7dcf5;
}
.catalogue-results {
  width: 100%;
  max-width: 696px;
  margin: 38px auto 60px;
  padding: 0 10px;
  flex: 1;
}
.catalogue-results-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #eeeaf1;
  padding: 0 0 15px;
  gap: 16px;
  font-size: 13px;
  color: #938b9b;
}
.catalogue-results-heading > span:first-child {
  font-weight: 600;
  color: #51445f;
}
.catalogue-result {
  padding-top: 29px;
  padding-bottom: 2px;
}
.catalogue-source {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.catalogue-source-icon {
  height: 29px;
  width: 29px;
  display: grid;
  place-items: center;
  background: #f4f0f8;
  color: #8a6aac;
  border: 1px solid #ede7f3;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 600;
}
.catalogue-source > div {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.catalogue-agency {
  font-size: 13px;
  line-height: 1.25;
  color: #534c5a;
}
.catalogue-breadcrumb {
  font-size: 11px;
  color: #99919f;
  line-height: 1.3;
}
.catalogue-breadcrumb span {
  margin: 0 6px;
}
.catalogue-result h2 {
  font-size: 23px;
  line-height: 1.3;
  letter-spacing: -0.35px;
  font-weight: 500;
  margin: 0 0 5px;
}
.catalogue-result h2 a {
  color: var(--purple);
}
.catalogue-result h2 a:hover {
  text-decoration: underline;
}
.catalogue-meta {
  font-size: 13px;
  color: #817789;
  margin: 0 0 7px;
  line-height: 1.6;
}
.catalogue-description {
  font-size: 15px;
  line-height: 1.6;
  color: #544e5b;
  margin: 0 0 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.catalogue-skills {
  font-size: 13px;
  line-height: 1.65;
  color: #7a6d87;
  margin: 0;
}
.catalogue-availability {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #54856a;
  margin: 7px 0 0;
}
.catalogue-availability span {
  width: 5px;
  height: 5px;
  background: #65a77e;
  border-radius: 50%;
}
.catalogue-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #eeeaf1;
  font-size: 14px;
  color: #8b8194;
}
.catalogue-pagination a, .catalogue-empty a {
  color: var(--purple);
}
.catalogue-empty {
  padding: 60px 0 80px;
}
.catalogue-empty h2 {
  font-size: 22px;
  font-weight: 500;
  margin: 0 0 10px;
}
.catalogue-empty p {
  color: var(--muted);
  margin-bottom: 20px;
}
.catalogue-footer {
  padding: 22px 36px;
  border-top: 1px solid #f1eef4;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 12px;
  color: #a097a7;
  background: #fcfbfd;
}
.catalogue-footer > div {
  display: flex;
  gap: 24px;
}
.catalogue-footer a {
  color: #88808f;
}
.catalogue-skip {
  position: absolute;
  left: 16px;
  top: -100px;
}
.catalogue-skip:focus {
  top: 12px;
  z-index: 10;
  background: white;
  padding: 10px;
}
@media (max-width: 600px) {
  .catalogue-header {
    padding: 74px 20px 0;
  }
  .catalogue h1 {
    font-size: 52px;
  }
  .catalogue-intro {
    font-size: 14px;
  }
  .catalogue-languages {
    right: 23px;
    top: 20px;
  }
  .catalogue-search {
    height: 54px;
    padding-left: 16px;
    gap: 10px;
  }
  .catalogue-search input[type="search"] {
    font-size: 15px;
  }
  .catalogue-search button {
    width: 38px;
    height: 38px;
  }
  .catalogue-results {
    margin-top: 29px;
    padding: 0 24px;
  }
  .catalogue-result h2 {
    font-size: 21px;
  }
  .catalogue-footer {
    padding: 20px 24px;
    flex-direction: column;
    gap: 12px;
  }
  .catalogue-footer > div {
    gap: 20px;
    flex-wrap: wrap;
  }
}

/* The first visit starts with a single search, before any catalogue request. */
.catalogue--start .catalogue-header {
  padding-top: clamp(120px, 28vh, 300px);
}
.catalogue--start h1 {
  margin-bottom: 32px;
}
.catalogue--start .catalogue-search {
  width: 100%;
}

.catalogue-search-caption {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.catalogue-start-footer {
  color: var(--muted);
  margin-top: auto;
  padding: 28px 24px;
  text-align: center;
  font-size: 13px;
}
.catalogue-start-footer a {
  color: var(--muted);
}
.catalogue-start-footer a:hover {
  color: var(--purple);
  text-decoration: underline;
}

.catalogue-search-wrap {
  position: relative;
  max-width: 696px;
  margin: 0 auto;
  text-align: left;
}
.catalogue-search--open {
  border-radius: 28px 28px 0 0;
  border-bottom-color: transparent;
}
.catalogue-suggestions {
  position: absolute;
  z-index: 20;
  top: calc(100% - 1px);
  left: 0;
  right: 0;
  margin: 0;
  padding: 8px 0 12px;
  list-style: none;
  border: 1px solid #dedbe4;
  border-top: 0;
  border-radius: 0 0 24px 24px;
  background: white;
  box-shadow: 0 12px 20px #32234112;
}
.catalogue-suggestions li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 22px;
  cursor: pointer;
  color: var(--ink);
  font-size: 16px;
}
.catalogue-suggestions li[aria-selected="true"],
.catalogue-suggestions li:hover {
  background: #f6f2fa;
}
.suggestion-arrow {
  color: #a39aa9;
}
.suggestion-text {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}
.suggestion-kind {
  color: var(--muted);
  font-size: 12px;
}

.catalogue--start .catalogue-header {
  padding-top: clamp(100px, 20vh, 220px);
}
.catalogue--start h1 {
  margin-bottom: 18px;
}
.vacancy-headline {
  font-size: 20px;
  color: #665c70;
  margin: 22px 0 0;
  font-weight: 400;
}
/* One composer for search, pasted vacancies, and documents. */
.vacancy-file-input {
  display: none;
}
.catalogue-search.catalogue-composer {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  height: auto;
  min-height: 124px;
  background: #fdfcfe;
  border-color: #e7e2ed;
  box-shadow: 0 4px 24px #32234107;
  border-radius: 28px;
  padding: 18px 20px 12px;
}
.catalogue-composer textarea {
  width: 100%;
  min-height: 44px;
  height: 44px;
  border: 0;
  outline: none;
  resize: none;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  line-height: 1.4;
  padding: 0;
}
.catalogue-composer textarea::placeholder {
  color: #948d9c;
}
.composer-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.catalogue-composer .composer-upload {
  display: inline-flex;
  width: auto;
  height: 38px;
  gap: 7px;
  padding: 0 8px;
  border-radius: 10px;
  background: transparent;
  color: #84788f;
  font: inherit;
  font-size: 13px;
}
.catalogue-composer .composer-go {
  margin-left: auto;
  background: #7d50c8;
  color: white;
  box-shadow: 0 3px 8px #754bb826;
}
.catalogue-composer button:disabled {
  opacity: 0.55;
  cursor: default;
}
.composer-status {
  color: #80659b;
  font-size: 12px;
}
.vacancy-error {
  color: #a43446;
  font-size: 14px;
  margin: 0;
}
.vacancy-spinner {
  display: block;
  width: 18px;
  height: 18px;
  border: 2px solid #e5dced;
  border-top-color: #7951a4;
  border-radius: 50%;
  animation: vacancy-spin 0.8s linear infinite;
}
@keyframes vacancy-spin {
  to {
    transform: rotate(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .vacancy-spinner {
    animation: none;
  }
}
.vacancy-summary {
  border: 1px solid #ded5e8;
  border-radius: 14px;
  background: #f8f5fc;
  padding: 16px;
  overflow-wrap: anywhere;
}
.vacancy-summary-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  color: #80629e;
  font-size: 12px;
}
.vacancy-summary strong {
  color: #382649;
  font-size: 16px;
}
.vacancy-summary p {
  color: #877a92;
  font-size: 13px;
  line-height: 1.5;
  margin: 8px 0;
}
.catalogue-composer .vacancy-remove {
  width: 26px;
  height: 26px;
  font-size: 20px;
  background: transparent;
}
.catalogue-composer .vacancy-change {
  width: auto;
  height: auto;
  padding: 0;
  background: transparent;
  font: inherit;
  font-size: 12px;
  text-decoration: underline;
  border-radius: 0;
}
@media (max-width: 600px) {
  .vacancy-headline {
    font-size: 17px;
    margin: 20px 0 0;
  }
  .catalogue--start .catalogue-header {
    padding-top: 110px;
  }
  .catalogue-search.catalogue-composer {
    padding: 16px;
  }
  .catalogue-composer textarea {
    font-size: 15px;
  }
}

.catalogue-composer .composer-go:hover {
  background: #6940b2;
}

/* Keep submission beside the text; suggestions replace the upload row. */
.catalogue-composer textarea {
  width: calc(100% - 56px);
}
.catalogue-composer .composer-go {
  position: absolute;
  top: 18px;
  right: 20px;
}
.catalogue-composer .vacancy-summary {
  margin-right: 56px;
}
.catalogue-search.catalogue-composer.catalogue-search--open {
  border-radius: 28px 28px 0 0;
  border-bottom-color: transparent;
}
.catalogue-search--open .composer-upload {
  visibility: hidden;
}
.catalogue-composer + .catalogue-suggestions {
  top: 72px;
  background: #fdfcfe;
  border-color: #e7e2ed;
}
@media (max-width: 600px) {
  .catalogue-composer .composer-go {
    top: 16px;
    right: 16px;
  }
  .catalogue-composer + .catalogue-suggestions {
    top: 70px;
  }
}

.region-map-card {
  margin: 24px 0 32px;
  border: 1px solid #e7e2ed;
  border-radius: 20px;
  overflow: hidden;
  background: #fdfcfe;
}
.region-map-card h2 {
  font-size: 18px;
  font-weight: 600;
  margin: 20px 20px 6px;
}
.region-map-note {
  color: var(--muted);
  font-size: 12px;
  margin: 0 20px 16px;
}
.region-map-frame {
  position: relative;
}
.region-map-canvas {
  height: 260px;
  width: 100%;
  background: #f1f0f5;
}
.region-map-status {
  position: absolute;
  left: 20px;
  right: 20px;
  top: 85px;
  padding: 12px;
  border-radius: 12px;
  background: #ffffffeb;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}
.region-map-marker {
  width: 34px;
  height: 34px;
  border: 3px solid white;
  border-radius: 50%;
  background: #8050cc;
  color: white;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 2px 10px #40304f44;
  cursor: pointer;
}
.region-map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 18px;
  align-items: center;
}
.region-map-legend button {
  border: 1px solid #e6ddef;
  background: white;
  border-radius: 20px;
  padding: 6px 10px;
  color: #655373;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}
.region-map-legend button:disabled {
  cursor: default;
}
.region-map-legend strong {
  margin-left: 6px;
  color: #754bb8;
}
.region-map-legend span {
  font-size: 12px;
  color: var(--muted);
}
.catalogue-composer .composer-location {
  position: absolute;
  top: 18px;
  right: 70px;
  background: transparent;
  color: #93859f;
}
.catalogue-composer .composer-location:hover,
.catalogue-composer .composer-location[aria-pressed="true"] {
  color: #754bb8;
  background: #f1eafa;
}
.catalogue-composer textarea {
  width: calc(100% - 106px);
}
.catalogue-composer .vacancy-summary {
  margin-right: 106px;
}
.composer-location-status {
  font-size: 12px;
  color: #80659b;
  margin: 10px 16px 0;
}
.region-map-user {
  width: 18px;
  height: 18px;
  border: 3px solid white;
  border-radius: 50%;
  background: #3989dc;
  box-shadow: 0 0 0 8px #3989dc26;
}
@media (max-width: 600px) {
  .catalogue-composer .composer-location {
    top: 16px;
    right: 62px;
  }
}
.region-map-layout {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
}
.region-map-layout .region-map-canvas {
  height: 340px;
}
.region-map-options {
  padding: 20px;
  border-left: 1px solid #e7e2ed;
  background: #fdfcfe;
}
.region-map-options h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
}
.region-map-options p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0 0 16px;
}
.region-map-options label {
  display: block;
  font-size: 12px;
  color: #665373;
  margin: 14px 0 6px;
}
.region-map-options select {
  width: 100%;
  padding: 10px;
  font: inherit;
  font-size: 13px;
  color: #44344f;
  border: 1px solid #ded5e8;
  border-radius: 9px;
  background: white;
}
.region-map-options select:disabled {
  opacity: 0.5;
}
.region-map-options .region-map-filter-count {
  margin: 18px 0 12px;
  color: #754bb8;
}
.region-map-reset {
  border: 0;
  padding: 0;
  background: transparent;
  color: #754bb8;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
  text-decoration: underline;
}
.region-map-marker[hidden] {
  display: none;
}
@media (max-width: 600px) {
  .region-map-layout {
    display: block;
  }
  .region-map-layout .region-map-frame, .region-map-legend {
    display: none;
  }
  .region-map-options {
    border-left: 0;
    border-top: 1px solid #e7e2ed;
  }
}

/* Align the search, map and results to one readable column. */
.catalogue-results {
  max-width: 696px;
  width: calc(100% - 48px);
  padding-inline: 0;
}
.catalogue-list {
  max-width: 780px;
}
.catalogue-result[hidden] {
  display: none;
}
.region-map-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}
.region-map-field-wide {
  grid-column: 1 / -1;
}
.region-map-options p {
  margin-bottom: 6px;
}
.region-map-layout .region-map-canvas {
  height: 100%;
  min-height: 420px;
}
.region-map-options select {
  min-width: 0;
  text-overflow: ellipsis;
}
@media (max-width: 600px) {
  .catalogue-results {
    width: calc(100% - 40px);
    padding-inline: 0;
    margin-top: 24px;
  }
  .region-map-options {
    padding: 16px;
  }
  .region-map-card h2 {
    margin: 16px 16px 6px;
  }
  .region-map-note {
    margin-inline: 16px;
  }
  .region-map-fields {
    gap: 0 10px;
  }
}

.region-map-options select {
  min-height: 44px;
  padding: 10px 12px;
  cursor: pointer;
}
.region-map-options select:focus-visible {
  outline: 2px solid #8250c8;
  outline-offset: 2px;
}
.region-map-options select:disabled {
  cursor: default;
}
.region-map-options label {
  font-weight: 500;
}

/* Keep single-column criteria compact beside the map. */
.region-map-layout {
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  height: 380px;
}
.region-map-options {
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #c9b8df transparent;
  padding: 16px 18px;
}
.region-map-layout .region-map-canvas {
  min-height: 0;
  height: 380px;
}
@media (max-width: 600px) {
  .region-map-layout {
    height: auto;
  }
  .region-map-options {
    max-height: 420px;
    padding: 16px;
  }
}

.search-location-dialog {
  position: fixed;
  inset: 0;
  margin: auto;
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  background: #fff;
  text-align: center;
  max-width: 420px;
  width: calc(100% - 40px);
  padding: 26px;
  border: 1px solid #e7e2ed;
  border-radius: 22px;
  color: var(--ink);
  box-shadow: 0 20px 80px #32234126;
}
.search-location-dialog::backdrop {
  background: #241b353d;
  backdrop-filter: blur(3px);
}
.search-location-dialog h2 {
  font-size: 22px;
  margin: 0 0 12px;
}
.search-location-dialog p {
  color: var(--muted);
  line-height: 1.6;
}
.search-location-dialog button {
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  border: 0;
  font: inherit;
  cursor: pointer;
  margin-top: 8px;
  background: #8050ca;
  color: white;
}
.search-location-dialog button + button {
  background: #f3eef9;
  color: #62428b;
}
.search-location-dialog button:disabled {
  opacity: 0.6;
  cursor: wait;
}

/* Equal-height headings, scrolling criteria and a persistent result count. */
.region-map-layout {
  height: 480px;
}
.region-map-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
}
.region-map-heading {
  padding: 18px 18px 14px;
  min-height: 96px;
  flex-shrink: 0;
}
.region-map-heading h2, .region-map-heading h3 {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.4;
}
.region-map-heading .region-map-note, .region-map-heading p {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
}
.region-map-main .region-map-frame {
  flex: 1;
  min-height: 0;
}
.region-map-layout .region-map-canvas {
  height: 100%;
}
.region-map-main .region-map-legend {
  flex-shrink: 0;
  padding: 12px;
}
.region-map-options {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  min-height: 0;
}
.region-map-fields {
  display: block;
  padding: 0 16px 16px;
  overflow-y: auto;
  flex: 1;
  min-height: 0;
  scrollbar-width: thin;
}
.region-map-filter-footer {
  padding: 12px 16px;
  border-top: 1px solid #e7e2ed;
  background: #fdfcfe;
  flex-shrink: 0;
}
.region-map-options .region-map-filter-count {
  margin: 0 0 6px;
  font-weight: 600;
}
.region-radius-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}
.region-radius-controls input[type="range"] {
  min-width: 0;
  width: 100%;
  accent-color: #8050ca;
}
.region-radius-number {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 12px;
  color: var(--muted);
}
.region-radius-number input {
  width: 62px;
  border: 1px solid #ded5e8;
  border-radius: 9px;
  padding: 9px 5px;
  font: inherit;
  background: white;
}
.region-field-label {
  display: block;
  font-size: 12px;
  color: #665373;
  font-weight: 500;
  margin: 14px 0 6px;
}
.region-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.region-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #ded5e8;
  border-radius: 20px;
  padding: 7px 10px;
  background: #eee6f8;
  color: #68429e;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
  text-align: left;
}
.region-pill-add {
  background: white;
  border-style: dashed;
}
.region-pill-add span {
  font-size: 18px;
  line-height: 1;
}
.region-pill-picker {
  margin-top: 8px;
  border: 1px solid #ded5e8;
  border-radius: 10px;
  background: white;
  overflow: hidden;
}
.region-pill-picker input {
  width: 100%;
  padding: 10px;
  font: inherit;
  font-size: 12px;
  border: 0;
  border-bottom: 1px solid #eee;
}
.region-pill-choices {
  max-height: 150px;
  overflow-y: auto;
}
.region-pill-choices button {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 9px 10px;
  background: white;
  border: 0;
  text-align: left;
  font: inherit;
  font-size: 12px;
  color: #44344f;
  cursor: pointer;
}
.region-pill-choices button:hover {
  background: #f3eef9;
}
@media (max-width: 600px) {
  .region-map-main {
    display: none;
  }
  .region-map-layout {
    height: 480px;
  }
  .region-map-options {
    height: 100%;
    max-height: none;
    border-top: 0;
  }
  .region-map-heading {
    min-height: auto;
  }
}

.catalogue-profile .catalogue-header {
  padding-top: 44px;
}
.catalogue-profile .catalogue-header h1 {
  font-size: 44px;
}
.catalogue-profile-content {
  width: calc(100% - 48px);
  max-width: 696px;
  margin: 30px auto 60px;
  flex: 1;
}
.profile-back {
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
}
.profile-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}
.profile-actions a, .profile-actions button {
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  text-align: center;
  padding: 13px 10px;
  min-height: 46px;
  border: 1px solid #ded5e8;
  border-radius: 14px;
  background: #fcfaff;
  color: #754bb8;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
.profile-actions a {
  background: #8050ca;
  color: white;
  border-color: #8050ca;
}
.profile-action-status {
  font-size: 12px;
  color: var(--muted);
}
.profile-action-status:empty {
  display: none;
}
.profile-heading {
  padding: 32px 0 24px;
  border-bottom: 1px solid #e7e2ed;
}
.profile-eyebrow {
  font-size: 12px;
  color: #8050ca;
}
.profile-heading h2 {
  font-size: 32px;
  line-height: 1.25;
  margin: 10px 0 14px;
  letter-spacing: -0.6px;
}
.profile-heading p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}
.profile-section {
  padding: 24px 0;
  border-bottom: 1px solid #eee9f2;
}
.profile-section h3 {
  font-size: 17px;
  margin: 0 0 14px;
}
.profile-section p {
  line-height: 1.75;
  white-space: pre-line;
  margin: 0;
  color: #61596a;
}
.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.profile-tags span {
  background: #f4effa;
  border: 1px solid #e8def2;
  color: #715096;
  padding: 7px 12px;
  border-radius: 20px;
  font-size: 13px;
}
.profile-timeline-item {
  padding: 0 0 0 18px;
  margin-top: 22px;
  border-left: 2px solid #e8def2;
}
.profile-timeline-item h4 {
  margin: 0 0 5px;
  font-size: 16px;
}
.profile-timeline-item > span {
  color: var(--muted);
  font-size: 13px;
}
.profile-timeline-item p {
  margin-top: 8px;
}
.profile-access a {
  display: inline-block;
  margin-top: 14px;
  color: #8050ca;
}
@media (max-width: 600px) {
  .catalogue-profile-content {
    width: calc(100% - 40px);
  }
  .profile-actions {
    gap: 6px;
  }
  .profile-actions a, .profile-actions button {
    font-size: 12px;
    padding: 10px 6px;
  }
  .profile-heading h2 {
    font-size: 27px;
  }
}
@media print {
  .profile-actions,
  .profile-back,
  .profile-action-status,
  .catalogue-profile .catalogue-start-footer {
    display: none;
  }
  .catalogue-profile-content {
    width: 100%;
    max-width: none;
    margin: 0;
  }
  .profile-section {
    break-inside: avoid;
  }
}
.profile-actions .profile-contact-button {
  background: #8050ca;
  color: white;
  border-color: #8050ca;
}
.profile-contact-dialog {
  max-width: 480px;
  text-align: left;
}
.profile-contact-dialog label {
  display: block;
  font-size: 13px;
  color: #665373;
  margin: 12px 0;
}
.profile-contact-dialog input, .profile-contact-dialog textarea {
  display: block;
  width: 100%;
  margin-top: 5px;
  padding: 10px 12px;
  border: 1px solid #ded5e8;
  border-radius: 10px;
  font: inherit;
  background: white;
  color: #322341;
}
.profile-contact-dialog .enquiry-close {
  width: 30px;
  padding: 0;
  margin: 0;
  float: right;
  background: transparent;
  color: #665373;
  font-size: 24px;
}
.profile-contact-dialog .enquiry-notice {
  font-size: 12px;
}
@media print {
  .profile-contact-dialog {
    display: none;
  }
}

.catalogue-composer .composer-subscribe {
  margin-left: auto;
}
.search-subscription {
  width: min(560px, calc(100% - 24px));
  max-height: calc(100dvh - 32px);
  overflow: auto;
  text-align: left;
}
.search-subscription form {
  display: grid;
  gap: 14px;
}
.search-subscription label {
  display: grid;
  gap: 6px;
  font-size: 14px;
  color: #655a70;
}
.search-subscription input:not([type="checkbox"]),
.search-subscription textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #ded5eb;
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  color: #322341;
  background: white;
}
.search-subscription textarea {
  resize: vertical;
  min-height: 80px;
}
.subscription-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.search-subscription .subscription-consent {
  display: flex;
  align-items: flex-start;
  line-height: 1.5;
}
.subscription-consent input {
  margin-top: 4px;
  accent-color: #8252c8;
}
@media (max-width: 480px) {
  .subscription-fields {
    grid-template-columns: 1fr;
  }
  .composer-actions {
    gap: 4px;
    flex-wrap: wrap;
  }
  .catalogue-composer .composer-upload {
    font-size: 12px;
    padding: 0 4px;
  }
}

.search-subscription {
  max-width: 560px;
}
.search-subscription .enquiry-close {
  width: 30px;
  padding: 0;
  margin: 0;
  float: right;
  background: transparent;
  color: #665373;
  font-size: 24px;
}
.search-subscription button:disabled {
  opacity: 0.6;
  cursor: wait;
}
@media (max-width: 600px) {
  .catalogue-composer textarea {
    min-height: 84px;
    height: 84px;
  }
  .catalogue-composer + .catalogue-suggestions {
    top: 110px;
  }
}

.catalogue-search-request {
  margin: 24px 0;
  padding: 24px;
  border: 1px solid #e6ddef;
  border-radius: 20px;
  background: #fcfaff;
  text-align: left;
}
.catalogue-search-request h3 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.35;
}
.catalogue-search-request > p {
  color: var(--muted);
  line-height: 1.6;
}
.catalogue-search-request > button {
  padding: 12px 18px;
  border: 0;
  border-radius: 24px;
  background: #8050ca;
  color: white;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  margin-top: 8px;
}
.catalogue-search-request > button:hover {
  background: #7041b8;
}

.region-candidate-heading {
  min-height: 0;
}
.region-candidate-heading .region-map-reset {
  margin-bottom: 12px;
  text-decoration: none;
}
.region-candidate-heading h3:focus {
  outline: none;
}
.region-candidate-details {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 0 16px 16px;
  scrollbar-width: thin;
}
.region-candidate-preview {
  padding: 16px 0;
  border-top: 1px solid #e7e2ed;
}
.region-candidate-preview h4 {
  font-size: 16px;
  line-height: 1.35;
  margin: 5px 0 8px;
  color: #322341;
}
.region-candidate-agency {
  color: #8050ca;
  font-size: 11px;
}
.region-candidate-preview p {
  line-height: 1.65;
  margin-bottom: 12px;
}
.region-candidate-meta {
  font-size: 11px;
}
.region-candidate-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 10px 0 14px;
}
.region-candidate-skills span {
  padding: 4px 8px;
  font-size: 11px;
  border-radius: 14px;
  color: #715096;
  background: #f1eaf8;
}
.region-candidate-open {
  display: inline-block;
  padding: 9px 13px;
  border-radius: 18px;
  background: #8050ca;
  color: white;
  text-decoration: none;
  font-size: 12px;
}
.region-candidate-open:hover {
  background: #7041b8;
}
