:root {
  --green: #14804a;
  --green-dark: #0e5f38;
  --green-soft: #eaf7f0;
  --mint: #bcebd2;
  --ink: #122018;
  --muted: #5d6b63;
  --line: #dce7e1;
  --panel: #ffffff;
  --bg: #f5faf7;
  --shadow: 0 18px 55px rgba(18, 32, 24, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  overscroll-behavior-x: none;
  scroll-behavior: smooth;
}

body {
  width: 100%;
  max-width: 100%;
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
  overscroll-behavior-x: none;
  padding-bottom: 86px;
  touch-action: pan-y;
}

main {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow-x: hidden;
  touch-action: pan-y;
}

body.is-entering main,
body.is-entering .site-header,
body.is-entering .site-footer {
  animation: pageEnter 360ms ease both;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  right: 0;
  left: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 0;
  padding: 14px clamp(18px, 4vw, 64px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.96);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.page-loader.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.loader-mark {
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  overflow: hidden;
  background: #ffffff;
  border: 0;
  border-radius: 26px;
  box-shadow: 0 14px 30px rgba(18, 32, 24, 0.1);
  animation: loaderSpin 700ms linear infinite;
  backface-visibility: hidden;
  will-change: transform;
}

.loader-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: none;
}

@keyframes loaderSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pageEnter {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand-logo {
  display: block;
  width: 112px;
  height: 37px;
  object-fit: fill;
  object-position: left center;
}

.desktop-nav {
  display: flex;
  gap: 26px;
  color: var(--muted);
  font-weight: 700;
}

.desktop-nav a:hover {
  color: var(--green-dark);
}

.header-action,
.btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 800;
  cursor: pointer;
}

.account-link,
.account-avatar {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  overflow: hidden;
  color: white;
  background: var(--green);
  border: 2px solid var(--mint);
  border-radius: 999px;
  font-weight: 900;
}

.account-menu {
  position: relative;
}

.account-menu summary {
  list-style: none;
  cursor: pointer;
}

.account-menu summary::-webkit-details-marker {
  display: none;
}

.account-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 40;
  display: grid;
  width: 250px;
  gap: 4px;
  padding: 10px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.account-dropdown::before {
  position: absolute;
  top: -7px;
  right: 16px;
  width: 12px;
  height: 12px;
  content: "";
  background: white;
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
  transform: rotate(45deg);
}

.account-dropdown strong {
  padding: 8px 10px 10px;
  border-bottom: 1px solid var(--line);
}

.account-dropdown a,
.account-dropdown button {
  width: 100%;
  padding: 11px 10px;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-radius: 6px;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.account-dropdown a:hover,
.account-dropdown button:hover {
  color: var(--green-dark);
  background: var(--green-soft);
}

.account-dropdown form {
  margin: 0;
  padding-top: 4px;
  border-top: 1px solid var(--line);
}

.account-link img,
.account-avatar img,
.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.account-avatar.large {
  width: 86px;
  height: 86px;
  font-size: 34px;
}

.header-action,
.btn.secondary {
  color: var(--green-dark);
  background: white;
  border-color: var(--line);
}

.btn.primary {
  color: white;
  background: var(--green);
}

.btn.primary:hover {
  background: var(--green-dark);
}

.btn.danger {
  color: #8a1f11;
  background: #fff1ed;
  border-color: #fec7bb;
}

.form-switch {
  color: var(--muted);
  margin: 0;
  text-align: center;
}

.form-switch a {
  color: var(--green-dark);
  font-weight: 800;
  text-decoration: none;
}

.problem-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.problem-actions form {
  margin: 0;
}

.problem-request-head {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
}

.problem-request-head .worker-meta {
  display: grid;
  gap: 7px;
  align-self: start;
}

.problem-location-badge {
  display: inline-flex;
  width: fit-content;
  min-height: 26px;
  align-items: center;
  padding: 0 9px;
  color: #3f4a45;
  background: #f1f3f2;
  border: 1px solid #dde4e0;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.problem-status {
  min-width: 0;
  min-height: 24px;
  justify-self: end;
  padding-inline: 9px;
  color: #3f4a45;
  background: #f1f3f2;
  border-color: #dde4e0;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  box-shadow: none;
}

.problem-status.status-open {
  color: #0e5f38;
  background: #eaf7f0;
  border-color: #bcebd2;
}

.problem-status.status-in_contact {
  color: #7a5200;
  background: #fff7d6;
  border-color: #f6d779;
}

.problem-status.status-completed {
  color: #8a1f11;
  background: #fff1ed;
  border-color: #fec7bb;
}

.problem-request-type {
  color: var(--ink);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.25;
}

.problem-request-photo {
  display: block;
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.worker-problems-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.worker-problem-filter-shell {
  position: relative;
  z-index: 70;
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
  padding: 14px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 12px 34px rgba(18, 32, 24, 0.06);
}

.worker-problem-filter-shell:has(.custom-select.is-open) {
  margin-bottom: 292px;
}

.worker-problem-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 46px;
  gap: 12px;
  align-items: end;
}

.worker-problem-search {
  max-width: none;
  min-width: 0;
  margin-bottom: 0;
}

.worker-problem-toolbar .admin-search,
.worker-problem-toolbar .search-label {
  margin-bottom: 0;
}

.filter-toggle {
  position: relative;
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 0;
  place-items: center;
  color: var(--green-dark);
  background: #eef7f1;
  border: 1px solid #cfe5d7;
  border-radius: 10px;
  cursor: pointer;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.filter-toggle:hover,
.filter-toggle[aria-expanded="true"] {
  background: #e6f5ec;
  border-color: var(--green);
}

.filter-toggle:active {
  transform: scale(0.96);
}

.filter-toggle svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2.4;
}

.filter-toggle-field {
  display: grid;
  gap: 7px;
  align-self: end;
  justify-items: center;
}

.filter-toggle-field > span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}

.filter-count {
  position: absolute;
  top: -7px;
  right: -7px;
  display: inline-grid;
  min-width: 22px;
  height: 22px;
  place-items: center;
  padding-inline: 6px;
  color: white;
  background: var(--green);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.active-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.active-filter-chips:empty {
  display: none;
}

.active-filter-chips span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  color: var(--green-dark);
  background: #eef9f2;
  border: 1px solid #bee8ce;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.worker-problem-filters {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  align-items: end;
  padding-top: 4px;
}

.worker-problem-filters[hidden] {
  display: none;
}

.worker-problem-filters .admin-search {
  max-width: none;
  min-width: 0;
  margin-bottom: 0;
}

@media (max-width: 1180px) {
  .worker-problem-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .worker-filter-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.worker-problems-grid .problem-request-card {
  min-height: 0;
  aspect-ratio: auto;
  align-content: start;
  gap: 12px;
  overflow: hidden;
  padding: 16px;
}

.worker-problems-grid .problem-request-head {
  gap: 10px;
}

.worker-problems-grid .problem-request-type {
  font-size: 16px;
}

.worker-problems-grid .problem-request-photo {
  height: 150px;
  max-height: none;
  min-height: 0;
}

.worker-problems-grid .problem-request-card p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: var(--muted);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.worker-problems-grid .worker-actions {
  margin-top: auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.problem-market-card {
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(18, 32, 24, 0.06);
}

.problem-market-card summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  padding: 16px;
  cursor: pointer;
  list-style: none;
}

.problem-market-card summary::-webkit-details-marker {
  display: none;
}

.problem-market-main {
  display: grid;
  min-width: 0;
  gap: 9px;
}

.problem-market-main strong {
  color: var(--ink);
  font-size: 17px;
  font-weight: 900;
  line-height: 1.25;
  white-space: normal;
  overflow-wrap: anywhere;
}

.problem-details-trigger {
  grid-column: 1 / -1;
  display: inline-flex;
  width: fit-content;
  min-height: 34px;
  align-items: center;
  padding: 0 12px;
  color: var(--green-dark);
  background: var(--green-soft);
  border: 1px solid var(--mint);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 850;
}

.problem-market-card[open] .problem-details-trigger {
  color: #3f4a45;
  background: #f1f3f2;
  border-color: #dde4e0;
}

.details-open {
  display: none;
}

.problem-market-card[open] .details-closed {
  display: none;
}

.problem-market-card[open] .details-open {
  display: inline;
}

.problem-market-details {
  display: grid;
  gap: 12px;
  padding: 0 16px 16px;
}

.problem-market-details .problem-request-photo {
  height: 190px;
  max-height: none;
}

.problem-client-line {
  display: grid;
  gap: 2px;
}

.problem-client-line span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.problem-client-line strong {
  color: var(--ink);
  font-size: 15px;
}

.problem-market-details p {
  margin: 0;
  color: var(--muted);
}

.problem-comments,
.problem-comment-form {
  display: grid;
  gap: 10px;
  padding: 12px;
  background: #f7fbf8;
  border: 1px solid rgba(20, 128, 74, 0.12);
  border-radius: 8px;
}

.problem-comments > strong,
.problem-comment-form label > span {
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.problem-comments article {
  display: grid;
  gap: 4px;
  padding: 10px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.problem-comments article span {
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 900;
}

.problem-comments article p {
  color: #43534b;
  font-size: 14px;
  line-height: 1.5;
}

.problem-comment-form label {
  display: grid;
  gap: 7px;
}

.problem-comment-form textarea {
  width: 100%;
  min-height: 92px;
  resize: vertical;
  padding: 12px;
  color: var(--ink);
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

.problem-comment-form textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(20, 128, 74, 0.14);
}

.problem-comment-form .btn {
  justify-self: stretch;
}

@media (max-width: 820px) {
  .admin-filter-row {
    grid-template-columns: 1fr;
  }

  .worker-problem-filter-shell {
    padding: 12px;
  }

  .worker-problem-toolbar {
    grid-template-columns: minmax(0, 1fr) 46px;
  }

  .worker-problem-filters {
    grid-template-columns: 1fr;
  }

  .worker-filter-panel {
    grid-template-columns: 1fr;
  }

  .filters.worker-search-filter-shell {
    grid-template-columns: 1fr;
  }

  .filters.worker-search-filter-shell .worker-problem-toolbar {
    grid-template-columns: minmax(0, 1fr) 46px;
  }

  .filters.worker-search-filter-shell .worker-filter-panel {
    grid-template-columns: 1fr;
    min-width: 0;
  }

  .filters.worker-search-filter-shell .worker-filter-panel > *,
  .filters.worker-search-filter-shell [data-country-city-group],
  .filters.worker-search-filter-shell label,
  .filters.worker-search-filter-shell .custom-select {
    min-width: 0;
  }

  .worker-search-filter-shell:has(.custom-select.is-open),
  .worker-problem-filter-shell:has(.custom-select.is-open) {
    margin-bottom: 18px;
  }

  .worker-search-filter-shell .custom-select.opens-up .custom-select-list,
  .worker-problem-filter-shell .custom-select.opens-up .custom-select-list {
    top: auto;
    bottom: auto;
  }

  .worker-search-filter-shell .custom-select.is-open .custom-select-list,
  .worker-problem-filter-shell .custom-select.is-open .custom-select-list {
    position: static;
    margin-top: 8px;
    max-height: 230px;
  }

  .location-picker-head {
    display: grid;
  }

  .location-picker-actions {
    justify-content: flex-start;
  }

  .location-map {
    min-height: 340px;
  }

  .trade-options {
    grid-template-columns: 1fr;
  }

  .worker-problems-grid {
    grid-template-columns: 1fr;
  }

  .worker-problems-grid .problem-request-card {
    overflow: visible;
  }

  .worker-problems-grid .problem-request-photo {
    height: 190px;
  }
}

.problem-photo-field input {
  padding: 11px;
  background: white;
}

.rating-line {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  color: var(--text);
  margin-top: 10px;
}

.rating-score {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.rating-value {
  color: var(--ink);
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
}

.compact-rating {
  gap: 5px;
}

.single-rating-star {
  color: #f5b301;
  font-size: 22px;
  line-height: 1;
  filter: drop-shadow(0 2px 3px rgba(245, 179, 1, 0.16));
}

.single-rating-star.is-empty {
  color: #d1d5db;
  opacity: 0.65;
}

.worker-trust {
  display: grid;
  justify-items: end;
  align-self: start;
  gap: 7px;
}

.worker-trust .rating-line {
  margin-top: 0;
}

.worker-trust-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.worker-trust-row .rating-line {
  margin-top: 0;
}

.rating-stars {
  position: relative;
  display: inline-block;
  width: 106px;
  height: 22px;
  color: #d1d5db;
  font-size: 20px;
  letter-spacing: 0;
  line-height: 22px;
  filter: drop-shadow(0 2px 3px rgba(245, 179, 1, 0.16));
}

.rating-stars-empty,
.rating-stars-fill {
  position: absolute;
  inset: 0;
  overflow: hidden;
  white-space: nowrap;
}

.rating-stars-fill {
  color: #f5b301;
}

.rating-stars.is-empty {
  opacity: 0.45;
}

.reviews-list {
  margin-top: 10px;
}

.review-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.review-head > strong {
  min-width: max-content;
  white-space: nowrap;
}

.review-head .review-rating-line {
  align-self: center;
  margin-top: 0;
  margin-left: auto;
  transform: translateY(-1px);
}

.review-arrows {
  display: inline-flex;
  gap: 8px;
}

.review-arrows button {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--green-dark);
  font-size: 24px;
  line-height: 1;
  background: white;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  transition: 0.18s ease;
}

.review-arrows button:hover {
  color: white;
  background: var(--green);
  border-color: var(--green);
}

.review-item {
  display: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: white;
}

.review-item.active {
  display: block;
}

.review-item p {
  margin: 6px 0 0;
}

.review-form {
  align-items: start;
}

.worker-search-panel {
  display: grid;
  gap: 12px;
}

.review-search {
  max-width: 100%;
}

.review-worker-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}

.review-worker-option {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
  padding: 12px;
  color: var(--text);
  text-align: left;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  transition: 0.18s ease;
}

.review-worker-option:hover,
.review-worker-option.selected {
  border-color: var(--green);
  box-shadow: 0 12px 24px rgba(20, 128, 74, 0.12);
}

.review-worker-option.selected {
  background: #f0fdf4;
}

.review-worker-avatar {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  overflow: hidden;
  color: white;
  font-weight: 900;
  background: var(--green);
  border-radius: 50%;
}

.review-worker-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-worker-option strong,
.review-worker-option small {
  display: block;
  min-width: 0;
}

.review-worker-option small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.82rem;
  overflow-wrap: anywhere;
}

.rating-picker {
  margin: 0;
  padding: 0;
  border: 0;
}

.rating-picker legend {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.rating-options {
  display: grid;
  grid-template-columns: repeat(5, minmax(92px, 1fr));
  gap: 10px;
}

.rating-option {
  display: block;
}

.rating-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.rating-option span {
  display: grid;
  min-height: 76px;
  place-items: center;
  padding: 10px;
  text-align: center;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  transition: 0.18s ease;
}

.rating-option strong {
  font-size: 1.25rem;
  line-height: 1;
}

.rating-option small {
  color: var(--muted);
  font-size: 0.78rem;
}

.rating-option input:checked + span {
  color: white;
  background: var(--green);
  border-color: var(--green);
  box-shadow: 0 12px 24px rgba(20, 128, 74, 0.18);
}

.rating-option input:checked + span small {
  color: rgba(255, 255, 255, 0.82);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  justify-items: center;
  min-height: calc(92vh - 72px);
  padding: 72px clamp(18px, 5vw, 80px) 52px;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(20, 128, 74, 0.12), transparent 36%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 100%),
    var(--bg);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(20, 128, 74, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 128, 74, 0.04) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 72%, transparent 100%);
  opacity: 0.34;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 19px;
}

.hero-copy {
  max-width: 620px;
  margin-inline: auto;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 19px;
}

.hero h1 {
  margin-right: auto;
  margin-left: auto;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.hero-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 680px;
  margin: 58px auto 0;
  padding: 14px;
  border: 1px solid rgba(20, 128, 74, 0.12);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(246, 251, 248, 0.78)),
    rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 44px rgba(18, 32, 24, 0.08);
  overflow: hidden;
}

.flow-track {
  position: absolute;
  left: 16.666%;
  right: 16.666%;
  top: 45px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(20, 128, 74, 0.2), transparent);
}

.flow-dot {
  position: absolute;
  top: 50%;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 7px rgba(20, 128, 74, 0.12);
  transform: translate(-50%, -50%);
  animation: flowMove 4.8s ease-in-out infinite;
}

.flow-step {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 10px;
  min-height: 92px;
  padding: 10px 8px 8px;
  color: var(--ink);
  text-align: center;
}

.flow-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(20, 128, 74, 0.13);
  border-radius: 15px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(20, 128, 74, 0.1);
}

.flow-icon svg {
  width: 21px;
  height: 21px;
  fill: var(--green-dark);
}

.flow-step strong {
  font-size: 14px;
  line-height: 1.2;
}

@keyframes flowMove {
  0%, 12% {
    left: 0;
  }

  45%, 57% {
    left: 50%;
  }

  88%, 100% {
    left: 100%;
  }
}

.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 6vw, 72px);
  padding: 82px clamp(18px, 5vw, 80px) 70px;
  background:
    radial-gradient(circle at top left, rgba(20, 128, 74, 0.12), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
}

.about-hero-copy {
  max-width: 780px;
}

.about-hero-copy h1 {
  margin-bottom: 18px;
}

.about-hero-copy p:not(.eyebrow) {
  max-width: 620px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.about-mark {
  display: grid;
  width: 250px;
  aspect-ratio: 1;
  place-items: center;
  justify-self: end;
  background: white;
  border: 1px solid rgba(20, 128, 74, 0.16);
  border-radius: 18px;
  box-shadow: 0 24px 72px rgba(18, 32, 24, 0.11);
}

.about-mark img {
  width: 180px;
  height: 180px;
  object-fit: contain;
}

.notice {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1.45;
  box-shadow: 0 12px 28px rgba(18, 32, 24, 0.06);
}

.notice::before {
  display: grid;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
}

.notice.success {
  color: var(--green-dark);
  background: var(--green-soft);
  border: 1px solid var(--mint);
}

.notice.success::before {
  content: "✓";
  color: white;
  background: var(--green);
}

.notice.error {
  color: #8a1f11;
  background: #fff1ed;
  border: 1px solid #fec7bb;
}

.notice.error::before {
  content: "!";
  color: #fff;
  background: #d92d20;
}

.notice.warning {
  color: #704c00;
  background: #fff8db;
  border: 1px solid #f2d46b;
}

.notice.warning::before {
  content: "!";
  color: #704c00;
  background: #facc15;
}

.account-created-notice,
.account-verification-notice {
  display: grid;
  gap: 6px;
  max-width: 900px;
  line-height: 1.55;
}

.account-created-notice strong {
  color: var(--green-dark);
}

.account-verification-notice strong {
  color: #704c00;
}

.account-verification-notice span {
  color: #6f5a24;
}

.problem-status-guide {
  display: grid;
  gap: 6px;
  margin-bottom: 18px;
  padding: 15px 16px;
  color: #2f3a35;
  background: #fbfdfc;
  border: 1px solid var(--line);
  border-left: 4px solid var(--green);
  border-radius: 10px;
}

.problem-status-guide strong {
  color: var(--ink);
  font-size: 15px;
}

.problem-status-guide p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.problem-status-guide b {
  color: var(--green-dark);
  font-weight: 800;
}

.client-problem-card {
  gap: 14px;
}

.client-problem-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
}

.client-problem-title {
  display: grid;
  min-width: 0;
  gap: 8px;
}

.client-problem-title strong {
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.25;
}

.client-problem-body {
  display: grid;
  gap: 12px;
}

.client-problem-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
}

.client-problem-card .problem-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin-top: 2px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.client-problem-card .problem-actions form {
  flex: 1 1 0;
  min-width: 0;
}

.client-problem-card .problem-actions .btn {
  width: 100%;
  padding-inline: 8px;
  white-space: nowrap;
}

.admin-problem-card .problem-market-details > p {
  margin: 0;
  color: var(--muted);
}

.auth-switch {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: 20px;
  padding: 6px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.auth-switch a {
  padding: 10px 16px;
  color: var(--muted);
  border-radius: 6px;
  font-weight: 900;
  text-align: center;
}

.auth-switch a.active {
  color: white;
  background: var(--green);
}

.checkbox-field {
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkbox-field input {
  width: 18px;
  min-height: 18px;
}

.login-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.login-options .checkbox-field {
  min-width: 0;
  flex: 1 1 auto;
}

.login-options a {
  flex: 0 0 auto;
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
  white-space: nowrap;
}

.login-options a:hover {
  text-decoration: underline;
}

.account-type-picker {
  margin: 0;
  padding: 0;
  border: 0;
}

.register-account-choice {
  display: grid;
  gap: 12px;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(20, 128, 74, 0.08), rgba(255, 255, 255, 0) 42%),
    white;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.account-type-picker legend {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
}

.account-type-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 8px;
}

.account-type-card,
.account-type-options label {
  display: block;
  min-width: 0;
  height: 100%;
  cursor: pointer;
}

.account-type-card {
  color: inherit;
  text-decoration: none;
}

.account-type-options input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.account-type-card span,
.account-type-options label span {
  display: grid;
  height: 100%;
  min-height: 118px;
  align-content: center;
  gap: 7px;
  padding: 18px;
  color: var(--ink);
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(18, 32, 24, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.account-type-card:hover span,
.account-type-options label:hover span {
  transform: translateY(-3px);
  border-color: var(--green);
  box-shadow: 0 18px 42px rgba(20, 128, 74, 0.2);
}

.account-type-card strong,
.account-type-options strong {
  color: var(--ink);
  font-size: 19px;
  font-weight: 900;
}

.account-type-card small,
.account-type-options small {
  display: block;
  min-height: 40px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
}

.account-type-options input:checked + span {
  color: var(--green-dark);
  background: linear-gradient(135deg, #d7f6e3, #aee8c2);
  border-color: #62c986;
  box-shadow: 0 18px 42px rgba(20, 128, 74, 0.14);
}

.account-type-options input:checked + span strong {
  color: var(--green-dark);
}

.account-type-options input:checked + span small {
  color: #315b42;
}

.register-form-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.register-back-row {
  display: flex;
  justify-content: flex-start;
}

[hidden] {
  display: none !important;
}

.trade-picker {
  margin: 0;
  padding: 0;
  border: 0;
}

.trade-picker legend {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.trade-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 9px;
  align-items: start;
  max-width: 100%;
  min-width: 0;
  overflow-x: clip;
}

.trade-picker.grouped {
  display: grid;
  gap: 10px;
  max-width: 100%;
  min-width: 0;
  overflow-x: hidden;
}

.trade-group {
  max-width: 100%;
  min-width: 0;
  overflow: clip;
  contain: inline-size;
  overscroll-behavior-x: none;
  touch-action: pan-y;
  background: #fbfdfc;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.trade-group summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  max-width: 100%;
  min-width: 0;
  min-height: 48px;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  color: #34433b;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  touch-action: manipulation;
}

.trade-group summary::-webkit-details-marker {
  display: none;
}

.trade-group summary::after {
  content: "+";
  display: grid;
  grid-column: 2;
  grid-row: 1;
  width: 26px;
  height: 26px;
  place-items: center;
  color: white;
  background: var(--green);
  border-radius: 50%;
  font-size: 18px;
  line-height: 1;
}

.trade-group-title {
  min-width: 0;
  overflow-wrap: anywhere;
}

.trade-group[open] summary {
  color: var(--green-dark);
  background: var(--green-soft);
  border-bottom: 1px solid var(--mint);
}

.trade-group[open] summary::after {
  content: "-";
}

.trade-group-selected {
  display: none;
  flex-wrap: wrap;
  gap: 7px;
  max-width: 100%;
  min-width: 0;
  grid-column: 1 / -1;
  grid-row: 2;
  overflow-x: hidden;
}

.trade-group:not([open]) .trade-group-selected:not(:empty) {
  display: flex;
}

.trade-group-selected span {
  display: inline-flex;
  max-width: 100%;
  min-width: 0;
  min-height: 30px;
  align-items: center;
  padding: 0 10px;
  color: var(--green-dark);
  background: var(--green-soft);
  border: 1px solid var(--mint);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  overflow-wrap: anywhere;
  white-space: normal;
}

.trade-group .trade-options {
  width: 100%;
  max-width: 100%;
  padding: 12px;
  overscroll-behavior-x: none;
  touch-action: pan-y;
}

.trade-option {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.trade-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.trade-option span {
  display: inline-flex;
  width: 100%;
  max-width: 100%;
  min-height: 42px;
  align-items: center;
  justify-content: flex-start;
  padding: 0 14px;
  color: var(--green-dark);
  background: var(--green-soft);
  border: 1px solid var(--mint);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
  overflow-wrap: anywhere;
  white-space: normal;
  cursor: pointer;
  touch-action: manipulation;
  transition:
    background 150ms ease,
    color 150ms ease,
    border-color 150ms ease,
    box-shadow 150ms ease;
}

.trade-option input:checked + span {
  color: white;
  background: var(--green);
  border-color: var(--green);
  box-shadow: 0 8px 18px rgba(20, 128, 74, 0.18);
}

.trade-option input:focus-visible + span {
  box-shadow: 0 0 0 3px rgba(20, 128, 74, 0.18);
}

.hero-actions .btn {
  min-width: 164px;
}

.hero-panel {
  display: grid;
  gap: 14px;
  padding: 16px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.repair-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 18px;
  background: #f9fcfa;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.repair-card.active {
  background: var(--green-soft);
  border-color: var(--mint);
}

.service-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: var(--green-dark);
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 15px;
  font-weight: 900;
}

.repair-card strong,
.repair-card span {
  display: block;
}

.repair-card span:not(.service-icon):not(.status) {
  color: var(--muted);
}

.status {
  padding: 7px 9px;
  color: var(--green-dark);
  background: white;
  border: 1px solid var(--mint);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.workers-section,
.trust-section,
.steps-section,
.about-section,
.about-purpose,
.about-split,
.signup-section {
  padding: 64px clamp(18px, 5vw, 80px);
}

.workers-section {
  padding-top: 72px;
}

.trust-section {
  padding-top: 46px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.section-heading > p {
  max-width: 500px;
  margin-bottom: 0;
  color: var(--muted);
}

.filters {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 24px;
  padding: 16px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 36px rgba(18, 32, 24, 0.07);
}

.worker-search-filter-shell {
  position: relative;
  z-index: 70;
  grid-template-columns: 1fr;
  gap: 12px;
}

.worker-search-filter-shell:has(.custom-select.is-open) {
  margin-bottom: 292px;
}

.worker-filter-panel {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding-top: 4px;
}

.worker-filter-panel[hidden] {
  display: none;
}

.filters .search-label {
  grid-column: 1 / -1;
}

.worker-search-filter-shell .search-label {
  grid-column: auto;
  max-width: none;
  min-width: 0;
  margin-bottom: 0;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.about-purpose {
  background: white;
  border-block: 1px solid var(--line);
}

.about-purpose .section-heading {
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(20, 128, 74, 0.08), rgba(255, 255, 255, 0) 42%),
    #fbfdfc;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.about-values article {
  display: grid;
  gap: 8px;
  min-height: 210px;
  padding: 22px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 38px rgba(18, 32, 24, 0.06);
}

.about-values span {
  display: inline-flex;
  width: fit-content;
  padding: 6px 10px;
  color: var(--green-dark);
  background: var(--green-soft);
  border: 1px solid var(--mint);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.about-values p,
.about-split p {
  color: var(--muted);
  line-height: 1.62;
}

.about-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  background: white;
  border-block: 1px solid var(--line);
}

.about-split > div {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 26px;
  background: #fbfdfc;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.legal-hero {
  padding: 78px clamp(18px, 5vw, 80px) 34px;
  background:
    radial-gradient(circle at top left, rgba(20, 128, 74, 0.1), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
}

.legal-hero h1 {
  max-width: 780px;
}

.legal-hero p:not(.eyebrow) {
  max-width: 680px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.legal-content {
  display: grid;
  gap: 14px;
  padding: 28px clamp(18px, 5vw, 80px) 72px;
}

.legal-content article {
  display: grid;
  gap: 8px;
  max-width: 900px;
  padding: 22px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(18, 32, 24, 0.05);
}

.legal-content h2 {
  margin-bottom: 2px;
  font-size: clamp(24px, 3vw, 32px);
}

.legal-content p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.legal-content strong {
  color: var(--ink);
}

.legal-compact {
  gap: 12px;
}

.legal-compact article {
  padding: 20px;
}

.legal-compact h2 {
  font-size: clamp(20px, 2.2vw, 26px);
}

.faq-content {
  display: grid;
  gap: 18px;
  max-width: 1040px;
  margin: 0 auto;
  padding: 28px clamp(18px, 5vw, 80px) 72px;
}

.faq-group {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.faq-group h2,
.faq-note h2 {
  margin: 0 0 4px;
  color: var(--ink);
  font-size: clamp(22px, 2.5vw, 30px);
}

.faq-item {
  min-width: 0;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(18, 32, 24, 0.05);
  overflow: hidden;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-width: 0;
  padding: 18px 20px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 780;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  display: grid;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  place-items: center;
  color: var(--green-dark);
  background: var(--green-soft);
  border: 1px solid var(--mint);
  border-radius: 50%;
  font-size: 20px;
  line-height: 1;
  transition: transform 0.18s ease, background 0.18s ease;
}

.faq-item[open] summary::after {
  content: "-";
  transform: rotate(180deg);
  background: white;
}

.faq-item p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
  line-height: 1.62;
}

.faq-note {
  display: grid;
  gap: 10px;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(20, 128, 74, 0.08), rgba(255, 255, 255, 0) 52%),
    white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(18, 32, 24, 0.05);
}

.faq-note p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.faq-note a {
  width: fit-content;
  color: var(--green-dark);
  font-weight: 850;
  text-decoration: none;
}

.how-content {
  display: grid;
  gap: 18px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px clamp(18px, 5vw, 80px) 72px;
}

.how-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
  gap: 22px;
  align-items: start;
  padding: 24px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(18, 32, 24, 0.05);
}

.how-tag {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 12px;
  padding: 8px 12px;
  color: var(--green-dark);
  background: var(--green-soft);
  border: 1px solid var(--mint);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 850;
}

.how-panel h2 {
  margin: 0 0 10px;
  font-size: clamp(24px, 3vw, 34px);
}

.how-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.how-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: how-step;
}

.how-list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px 12px;
  align-items: start;
  padding: 14px;
  background: #fbfdfc;
  border: 1px solid var(--line);
  border-radius: 8px;
  counter-increment: how-step;
}

.how-list li::before {
  content: counter(how-step);
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: white;
  background: var(--green);
  border-radius: 50%;
  font-weight: 900;
}

.how-list strong {
  display: block;
  color: var(--ink);
  font-size: 15px;
}

.how-list span {
  grid-column: 2;
  color: var(--muted);
  line-height: 1.45;
}

.contact-content {
  display: grid;
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px clamp(18px, 5vw, 80px) 72px;
  overflow-x: hidden;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 16px;
  min-width: 0;
}

.contact-card {
  display: grid;
  align-content: start;
  gap: 12px;
  min-width: 0;
  padding: 24px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(18, 32, 24, 0.05);
}

.primary-contact-card {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  width: 100%;
  max-width: 980px;
  background:
    linear-gradient(135deg, rgba(20, 128, 74, 0.08), rgba(255, 255, 255, 0) 46%),
    white;
}

@media (max-width: 760px) {
  .contact-content {
    padding-right: 14px;
    padding-left: 14px;
  }

  .contact-card {
    padding: 18px;
  }

  .primary-contact-card {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

.contact-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: var(--green-dark);
  background: var(--green-soft);
  border: 1px solid var(--mint);
  border-radius: 8px;
}

.primary-contact-card .contact-icon {
  width: 58px;
  height: 58px;
}

.contact-icon svg {
  width: 23px;
  height: 23px;
  fill: currentColor;
}

.contact-card h3 {
  margin: 0;
  color: var(--ink-soft);
  font-size: 20px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.contact-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
  overflow-wrap: anywhere;
}

.contact-card a:not(.btn) {
  color: var(--green-dark);
  font-weight: 850;
  overflow-wrap: anywhere;
}

.contact-email-line {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin-top: 2px;
  color: var(--green-dark);
  font-size: 16px;
  font-weight: 850;
  overflow-wrap: anywhere;
}

label {
  display: grid;
  gap: 7px;
}

label span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  color: var(--ink);
  background: #fbfdfc;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  outline: none;
}

[data-country-city-group] {
  display: contents;
}

select {
  appearance: none;
  padding-right: 52px;
  background-image:
    linear-gradient(45deg, transparent 50%, currentColor 50%),
    linear-gradient(135deg, currentColor 50%, transparent 50%),
    linear-gradient(180deg, #eef7f1 0%, #eef7f1 100%),
    linear-gradient(180deg, #ffffff 0%, #f8fcfa 100%);
  background-position:
    calc(100% - 25px) 50%,
    calc(100% - 19px) 50%,
    calc(100% - 42px) 50%,
    0 0;
  background-size:
    6px 6px,
    6px 6px,
    34px 34px,
    100% 100%;
  background-repeat: no-repeat;
  border-color: #d6e6dc;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.native-filter-select {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.custom-select {
  position: relative;
}

.custom-select.is-open {
  z-index: 90;
}

.custom-select-trigger {
  display: flex;
  width: 100%;
  min-height: 46px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  color: var(--ink);
  font-weight: 400;
  text-align: left;
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fcfa 100%);
  border: 1px solid #d6e6dc;
  border-radius: 8px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 8px 18px rgba(18, 32, 24, 0.05);
  cursor: pointer;
}

.custom-select-trigger span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--ink);
  font-size: inherit;
  font-weight: 400;
}

.custom-select-trigger::after {
  content: "";
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  background:
    linear-gradient(45deg, transparent 50%, currentColor 50%) calc(50% - 3px) 50% / 6px 6px no-repeat,
    linear-gradient(135deg, currentColor 50%, transparent 50%) calc(50% + 3px) 50% / 6px 6px no-repeat,
    #eef7f1;
  border-radius: 7px;
}

.custom-select.is-open .custom-select-trigger {
  border-color: var(--green);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 0 0 3px rgba(20, 128, 74, 0.12);
}

.custom-select-list {
  position: absolute;
  z-index: 95;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  display: none;
  max-height: 260px;
  overflow: auto;
  padding: 8px;
  background: white;
  border: 1px solid #d6e6dc;
  border-radius: 10px;
  box-shadow: 0 18px 44px rgba(18, 32, 24, 0.14);
}

.custom-select.opens-up .custom-select-list {
  top: auto;
  bottom: calc(100% + 8px);
}

.custom-select.is-open .custom-select-list {
  display: grid;
  gap: 6px;
}

.custom-select-option {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  color: var(--ink);
  font-weight: 400;
  text-align: left;
  background: transparent;
  border: 0;
  border-radius: 7px;
  cursor: pointer;
}

.custom-select-option:hover,
.custom-select-option[aria-selected="true"] {
  color: var(--green-dark);
  background: #eefbf4;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(20, 128, 74, 0.14);
}

input.is-invalid,
select.is-invalid,
textarea.is-invalid {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}

.phone-input-wrap {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  min-height: 48px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.phone-input-wrap:focus-within {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(20, 128, 74, 0.14);
}

.phone-input-wrap input[data-phone-prefix] {
  width: 58px;
  min-height: 48px;
  padding: 0 8px;
  color: var(--ink);
  background: #f3f6f4;
  border-right: 1px solid var(--line);
  border-radius: 0;
  font-weight: 400;
  text-align: center;
}

.phone-input-wrap input[type="tel"],
.phone-input-wrap input[data-phone-prefix] {
  min-height: 48px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.phone-input-wrap input[type="tel"]:focus,
.phone-input-wrap input[data-phone-prefix]:focus {
  box-shadow: none;
}

.phone-input-wrap:has(input.is-invalid) {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}

.field-error {
  display: block;
  margin-top: 7px;
  color: #b42318;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

@media (min-width: 921px) {
  .signup-form:not(.login-form) label,
  .admin-password-form label {
    position: relative;
    padding-bottom: 24px;
  }

  .signup-form:not(.login-form) label .field-error,
  .admin-password-form label .field-error {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    margin-top: 0;
  }
}

.login-form .field-error {
  margin-top: 6px;
  color: #b42318;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

.workers-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 18px;
}

.worker-card {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 16px;
  padding: 20px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(18, 32, 24, 0.06);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

.worker-card:hover {
  transform: translateY(-2px);
  border-color: var(--mint);
  box-shadow: 0 16px 38px rgba(18, 32, 24, 0.1);
}

.worker-top {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(96px, auto);
  gap: 13px;
  align-items: start;
  min-width: 0;
}

.worker-top .worker-meta {
  align-self: center;
}

.avatar {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  overflow: hidden;
  color: white;
  background: var(--green);
  border-radius: 999px;
  font-size: 22px;
  font-weight: 900;
}

.worker-card .avatar {
  width: 68px;
  height: 68px;
  font-size: 24px;
}

.worker-meta strong,
.worker-meta span {
  display: block;
}

.worker-meta strong {
  font-size: 18px;
  line-height: 1.25;
}

.verified-badge {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 11px;
  color: #0b6b3b;
  background: #eefbf4;
  border: 1px solid #8fdbb1;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(20, 128, 74, 0.14);
}

.verified-badge span {
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  color: white;
  background: var(--green);
  border-radius: 999px;
  font-size: 12px;
  line-height: 1;
}

.verified-badge span::before {
  content: "✓";
}

.card-trust-column {
  display: grid;
  justify-items: end;
  align-self: start;
  gap: 6px;
  min-width: 118px;
}

.card-trust-column .rating-line {
  justify-content: flex-end;
  margin-top: 3px;
  overflow: visible;
}

.worker-meta span,
.worker-card p,
.trust-grid p,
.steps-grid p,
.signup-copy p,
.site-footer span {
  color: var(--muted);
}

.worker-card p {
  align-self: start;
}

.rating {
  color: var(--green-dark);
  font-weight: 900;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
}

.tags span {
  display: inline-flex;
  max-width: 100%;
  min-width: 0;
  min-height: 34px;
  align-items: center;
  padding: 0 11px;
  color: var(--green-dark);
  background: var(--green-soft);
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  overflow-wrap: anywhere;
  white-space: normal;
}

.worker-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  align-self: end;
  margin-top: auto;
}

.worker-card .worker-actions .btn {
  width: 100%;
  min-height: 44px;
}

.worker-actions .btn {
  min-height: 42px;
  padding-inline: 10px;
}

.load-more-shell {
  grid-column: 1 / -1;
  display: grid;
  justify-items: center;
  gap: 8px;
  margin-top: 4px;
}

.load-more-button {
  min-width: 190px;
  min-height: 44px;
}

.load-more-shell span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 28px;
  text-align: center;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.empty-state-rich {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  max-width: 720px;
  width: 100%;
  margin: 4px auto;
  padding: 24px;
  text-align: left;
  background:
    linear-gradient(135deg, rgba(33, 132, 79, 0.08), rgba(255, 255, 255, 0.96) 46%),
    #ffffff;
  border-color: rgba(33, 132, 79, 0.16);
  box-shadow: 0 18px 46px rgba(18, 48, 37, 0.08);
}

.empty-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--green-dark);
  background: var(--green-soft);
  border: 1px solid rgba(33, 132, 79, 0.18);
  border-radius: 16px;
  font-size: 25px;
  font-weight: 900;
  line-height: 1;
}

.empty-state-rich h3 {
  margin: 0 0 6px;
  color: var(--text);
  font-size: 20px;
  line-height: 1.2;
}

.empty-state-rich p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.empty-state-rich ul {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.empty-state-rich li {
  position: relative;
  padding-left: 18px;
  color: #334139;
  font-size: 14px;
  line-height: 1.45;
}

.empty-state-rich li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
}

.steps-section {
  background: #ffffff;
  border-block: 1px solid var(--line);
}

.trust-grid,
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.trust-story {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
  align-items: stretch;
}

.trust-statement {
  display: flex;
  min-height: 270px;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
  padding: 28px;
  color: white;
  background: linear-gradient(135deg, #123025, #14804a);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(18, 48, 37, 0.18);
}

.trust-statement span {
  width: fit-content;
  padding: 8px 11px;
  color: #dff8e8;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.trust-statement p {
  max-width: 560px;
  margin: 0;
  color: white;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 850;
  line-height: 1.16;
}

.trust-points {
  display: grid;
  gap: 12px;
}

.trust-points div {
  display: grid;
  gap: 7px;
  align-content: center;
  padding: 22px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(18, 32, 24, 0.05);
}

.trust-point-icon {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 4px;
  place-items: center;
  color: var(--green-dark);
  background: var(--green-soft);
  border: 1px solid var(--mint);
  border-radius: 8px;
}

.trust-point-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.trust-points strong {
  color: var(--ink);
  font-size: 18px;
}

.trust-points span {
  color: var(--muted);
  line-height: 1.55;
}

.trust-grid article,
.steps-grid article {
  padding: 22px;
  background: #fbfdfc;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.trust-grid article span,
.steps-grid article span {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  place-items: center;
  color: white;
  background: var(--green);
  border-radius: 8px;
  font-weight: 900;
}

.trust-grid article {
  background: white;
  box-shadow: 0 12px 34px rgba(18, 32, 24, 0.06);
}

.trust-grid article span {
  color: var(--green-dark);
  background: var(--green-soft);
  border: 1px solid var(--mint);
  border-radius: 999px;
  font-size: 13px;
}

.signup-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
}

.signup-page {
  min-height: calc(100vh - 151px);
  align-items: center;
  padding-top: 78px;
  padding-bottom: 78px;
}

.signup-page h1 {
  max-width: 620px;
  font-size: clamp(38px, 5vw, 62px);
}

.worker-auth-page .signup-copy {
  padding: clamp(22px, 4vw, 34px);
  color: white;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0) 42%),
    linear-gradient(135deg, #123025, #14804a);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(18, 48, 37, 0.22);
}

.worker-auth-page .signup-copy .eyebrow,
.worker-auth-page .signup-copy h1,
.worker-auth-page .signup-copy p {
  color: white;
}

.worker-auth-page {
  position: relative;
}

.worker-auth-page .signup-copy .eyebrow {
  opacity: 0.82;
}

.worker-auth-page .signup-copy p {
  opacity: 0.9;
}

.worker-auth-page .auth-switch {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}

.worker-auth-page .auth-switch a {
  color: white;
}

.worker-auth-page .auth-switch a.active {
  color: var(--green-dark);
  background: white;
}

.password-auth-page .signup-form {
  align-content: start;
  border-color: rgba(20, 128, 74, 0.12);
  box-shadow: 0 18px 44px rgba(18, 32, 24, 0.08);
}

.password-form-column {
  display: grid;
  gap: 14px;
  align-self: center;
}

.worker-auth-page:not(.password-auth-page) .password-form-column {
  align-self: start;
  margin-top: 165px;
}

.password-notice-slot {
  min-height: 64px;
}

.password-notice-slot:empty {
  display: block;
}

.password-notice-slot .notice {
  margin-bottom: 0;
}

.password-auth-page .signup-form label.full-field {
  padding: 4px;
  background: #f7fbf8;
  border: 1px solid rgba(20, 128, 74, 0.1);
  border-radius: 8px;
}

.password-auth-page .signup-form label.full-field > span {
  display: block;
  margin: 0 0 7px 2px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 900;
}

.signup-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  padding: 18px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.register-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 6px;
  background: #f7fbf8;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.client-auth-page .register-steps {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.register-steps span {
  display: grid;
  min-height: 34px;
  place-items: center;
  color: var(--muted);
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
}

.register-steps span.active {
  color: white;
  background: var(--green);
  border-color: var(--green);
}

.register-steps span.done {
  color: var(--green-dark);
  background: var(--green-soft);
  border-color: var(--mint);
}

.register-step {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  border: 0;
}

.register-step[hidden] {
  display: none;
}

.register-step-head {
  grid-column: 1 / -1;
  display: grid;
  gap: 4px;
  padding: 4px 0 8px;
}

.register-step-head span {
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.register-step-head h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
}

.register-step-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 8px;
}

.register-step-actions.split {
  justify-content: space-between;
}

.register-step-actions .btn {
  min-width: 142px;
}

.profile-preview-box,
.work-preview-box {
  display: grid;
  gap: 7px;
}

.profile-preview-box > span,
.work-preview-box > span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.upload-tile {
  display: grid;
  width: fit-content;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.profile-photo-preview {
  display: grid;
  width: 112px;
  height: 112px;
  place-items: center;
  overflow: hidden;
  color: var(--green-dark);
  background: var(--green-soft);
  border: 1px solid var(--mint);
  border-radius: 999px;
  font-weight: 900;
}

.register-identity {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 124px;
  gap: 14px;
  align-items: stretch;
  width: 100%;
}

.identity-fields {
  display: grid;
  gap: 14px;
}

.worker-register-identity.is-business .identity-fields {
  display: contents;
}

.worker-register-identity.is-business .email-field {
  grid-column: 1 / -1;
}

.worker-register-identity.is-business .identity-photo {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.identity-photo {
  display: grid;
  align-content: start;
  justify-content: end;
}

.identity-photo .upload-tile,
.identity-photo .profile-photo-preview {
  width: 124px;
  height: 124px;
}

.profile-photo-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.upload-plus {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: white;
  background: var(--green);
  border-radius: 999px;
  font-size: 30px;
  line-height: 1;
}

.work-photo-preview {
  display: grid;
  width: 100%;
  aspect-ratio: 16 / 10;
  place-items: center;
  overflow: hidden;
  color: var(--green-dark);
  background: #fbfdfc;
  border: 1px dashed var(--mint);
  border-radius: 8px;
  font-weight: 900;
}

.work-photo-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-tile {
  width: 100%;
}

.id-card-fields {
  margin: 0;
  padding: 0;
  border: 0;
}

.id-card-fields legend {
  width: 100%;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.id-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.id-card-preview {
  aspect-ratio: 16 / 10;
}

.business-document-preview {
  max-width: 240px;
  margin-inline: auto;
  aspect-ratio: 10 / 14;
}

.id-card-admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.id-card-admin-grid span {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.id-card-admin-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.crop-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  width: 100vw;
  padding: 14px;
  overflow-x: hidden;
  overflow-y: auto;
}

.crop-modal.is-open {
  display: flex;
}

.crop-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 32, 24, 0.65);
}

.crop-card {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  width: min(420px, 100%);
  max-width: 100%;
  max-height: calc(100vh - 28px);
  overflow: auto;
  padding: 14px;
  background: white;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.crop-head {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: white;
}

.crop-head h2 {
  margin-bottom: 0;
  font-size: 24px;
}

.crop-head .modal-close {
  position: relative;
  z-index: 5;
  flex: 0 0 auto;
}

.crop-stage {
  position: relative;
  z-index: 1;
  width: min(330px, 100%, calc(100vh - 260px));
  max-width: 100%;
  margin-inline: auto;
  overflow: hidden;
  touch-action: none;
}

#cropCanvas {
  display: block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 1;
  border-radius: 8px;
  cursor: grab;
}

.crop-mask {
  position: absolute;
  left: 50%;
  top: 50%;
  pointer-events: none;
  border: 2px solid white;
  box-shadow: 0 0 0 999px rgba(18, 32, 24, 0.18);
  transform: translate(-50%, -50%);
}

.crop-mask.circle {
  width: 72%;
  height: 72%;
  border-radius: 999px;
}

.crop-mask.rect {
  width: 82%;
  aspect-ratio: 16 / 10;
  border-radius: 8px;
}

.crop-mask.vertical {
  width: 62%;
  aspect-ratio: 10 / 14;
  border-radius: 8px;
}

.crop-zoom {
  display: grid;
  gap: 8px;
}

.crop-zoom input {
  padding: 0;
}

.crop-tools {
  display: flex;
  justify-content: center;
  margin-top: -2px;
}

.crop-rotate-button {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: var(--green-dark);
  background: var(--green-soft);
  border: 1px solid var(--mint);
  border-radius: 999px;
  cursor: pointer;
  transition:
    transform 150ms ease,
    background 150ms ease,
    border-color 150ms ease;
}

.crop-rotate-button:hover {
  background: white;
  border-color: var(--green);
  transform: rotate(18deg);
}

.crop-rotate-button svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.crop-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

@media (max-width: 420px) {
  .crop-modal {
    align-items: flex-start;
    padding: 10px;
  }

  .crop-card {
    width: 100%;
    max-height: calc(100vh - 20px);
  }

  .crop-stage {
    width: min(280px, 100%, calc(100vh - 240px));
  }

  .crop-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .crop-actions .btn {
    width: 100%;
    padding-inline: 10px;
  }
}

@media (max-height: 680px) {
  .crop-card {
    gap: 8px;
    padding: 12px;
  }

  .crop-stage {
    width: min(280px, 100%, calc(100vh - 220px));
  }

  .crop-head .eyebrow {
    display: none;
  }

  .crop-head h2 {
    font-size: 20px;
  }
}

.dashboard-section {
  padding: 64px clamp(18px, 5vw, 80px);
  min-width: 0;
  max-width: 100%;
  overflow-x: hidden;
}

body.worker-account-details-page,
.worker-account-details-page main,
.worker-account-details-page .dashboard-section,
.worker-account-details-page .account-form,
.worker-account-details-page .register-identity {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
}

.account-sections {
  display: grid;
  gap: 28px;
}

.account-panel {
  scroll-margin-top: 96px;
}

.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.dashboard-header.centered-title {
  justify-content: center;
  text-align: center;
}

.dashboard-profile {
  display: flex;
  align-items: center;
  gap: 18px;
}

.dashboard-profile h1 {
  margin-bottom: 8px;
  font-size: clamp(34px, 5vw, 58px);
}

.dashboard-profile p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.dashboard-subtitle {
  max-width: 620px;
  color: var(--muted);
}

.page-center-title {
  margin: 0 0 24px;
  text-align: center;
  font-size: clamp(34px, 6vw, 54px);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
  gap: 22px;
  align-items: start;
}

.work-form h2 {
  grid-column: 1 / -1;
  font-size: 28px;
}

.single-form,
.account-form {
  width: 100%;
  max-width: 900px;
  min-width: 0;
}

.admin-list {
  display: grid;
  gap: 16px;
}

.admin-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 28px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(18, 32, 24, 0.06);
}

.admin-tabs a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  padding: 0 12px;
  color: var(--muted);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  transition:
    color 150ms ease,
    background 150ms ease,
    border-color 150ms ease,
    box-shadow 150ms ease;
}

.admin-tabs strong {
  overflow: hidden;
  color: inherit;
  font-size: 14px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-tabs a.active,
.admin-tabs a:hover {
  color: var(--green-dark);
  background: white;
  border-color: var(--mint);
  box-shadow: 0 8px 20px rgba(18, 32, 24, 0.08);
}

.admin-tabs span {
  display: grid;
  min-width: 28px;
  height: 28px;
  place-items: center;
  color: #3f4a45;
  background: #eef1ef;
  border: 1px solid #d4dad6;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.admin-tabs a.active span,
.admin-tabs a:hover span {
  color: white;
  background: var(--green);
  border-color: var(--green);
}

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.admin-stats-grid article,
.admin-problem-stats {
  padding: 18px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(18, 32, 24, 0.06);
}

.admin-stats-grid span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.admin-stats-grid strong {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-size: 34px;
  line-height: 1;
}

.admin-stats-grid p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.admin-problem-stats {
  display: grid;
  gap: 18px;
}

.admin-problem-stats h2 {
  margin: 4px 0 0;
  font-size: 24px;
}

.admin-status-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.admin-status-cards article {
  display: grid;
  gap: 12px;
  padding: 14px;
  background: #fbfdfc;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.admin-status-cards strong {
  color: var(--ink);
  font-size: 28px;
}

.admin-activity-list {
  display: grid;
  gap: 12px;
}

.admin-activity-card {
  display: grid;
  gap: 9px;
  padding: 16px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(18, 32, 24, 0.05);
}

.admin-activity-card > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
}

.admin-activity-card strong {
  color: var(--ink);
  font-size: 16px;
}

.admin-activity-card > div span {
  color: var(--green-dark);
  font-weight: 800;
}

.admin-activity-card p {
  margin: 0;
  color: var(--muted);
}

.admin-activity-card footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding-top: 9px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.admin-panel-section {
  margin-top: 30px;
  scroll-margin-top: 96px;
}

.admin-search {
  max-width: 520px;
  margin-bottom: 16px;
}

.admin-filter-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(160px, 190px);
  gap: 14px;
  align-items: end;
  margin-bottom: 16px;
}

.admin-filter-row .admin-search {
  max-width: none;
  margin-bottom: 0;
}

.admin-worker-card {
  display: grid;
  gap: 16px;
  padding: 18px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(18, 32, 24, 0.06);
}

.notifications-page {
  max-width: 860px;
  margin-inline: auto;
}

.notifications-list {
  display: grid;
  gap: 12px;
}

.notification-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px;
  color: var(--ink);
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(18, 32, 24, 0.06);
}

.notification-card.unread {
  border-color: rgba(20, 128, 74, 0.26);
  background: linear-gradient(180deg, #ffffff 0%, #f4fbf7 100%);
}

.notification-dot {
  width: 12px;
  height: 12px;
  margin-top: 5px;
  background: var(--green);
  border-radius: 999px;
  box-shadow: 0 0 0 5px rgba(20, 128, 74, 0.1);
}

.notification-dot.warning {
  background: #f59e0b;
  box-shadow: 0 0 0 5px rgba(245, 158, 11, 0.14);
}

.notification-dot.rating {
  background: #facc15;
  box-shadow: 0 0 0 5px rgba(250, 204, 21, 0.18);
}

.notification-dot.account {
  background: #111827;
  box-shadow: 0 0 0 5px rgba(17, 24, 39, 0.1);
}

.notification-content {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.notification-content strong {
  font-size: 15px;
}

.notification-content small,
.notification-content time {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.notifications-empty {
  display: grid;
  gap: 6px;
}

.admin-status {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 0 11px;
  color: #26302b;
  background: #eef1ef;
  border: 1px solid #d4dad6;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.admin-status.verified {
  color: var(--green-dark);
  background: var(--green-soft);
  border-color: var(--mint);
}

.admin-status.rejected {
  color: #8a1f11;
  background: #fff1ed;
  border-color: #fec7bb;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-actions.centered {
  justify-content: center;
  padding-top: 4px;
}

.admin-verification-menu {
  position: relative;
}

.admin-verification-menu summary {
  list-style: none;
  cursor: pointer;
}

.admin-verification-menu summary::-webkit-details-marker {
  display: none;
}

.admin-verification-options {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  z-index: 12;
  display: grid;
  min-width: 174px;
  padding: 8px;
  border: 1px solid rgba(20, 128, 74, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 42px rgba(18, 32, 24, 0.14);
  transform: translateX(-50%);
}

.admin-verification-options::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -7px;
  width: 14px;
  height: 14px;
  background: rgba(255, 255, 255, 0.96);
  border-right: 1px solid rgba(20, 128, 74, 0.14);
  border-bottom: 1px solid rgba(20, 128, 74, 0.14);
  transform: translateX(-50%) rotate(45deg);
}

.admin-verification-options label {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 10px 12px;
  color: var(--ink);
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}

.admin-verification-options label:hover,
.admin-verification-options label:has(input:checked) {
  color: var(--green-dark);
  background: var(--green-soft);
}

.admin-verification-options input {
  width: 16px;
  height: 16px;
  accent-color: var(--green);
}

.admin-verification-submit {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 38px;
  margin-top: 6px;
}

.admin-worker-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
  padding-top: 4px;
  border-top: 1px solid var(--line);
}

.admin-message-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
  padding-top: 4px;
  border-top: 1px solid var(--line);
}

.admin-message-form label {
  min-width: 0;
}

.admin-message-form textarea {
  min-height: 74px;
}

.admin-password-form {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto;
  gap: 10px;
  align-items: end;
}

.admin-password-form label {
  min-width: 0;
}

.id-card-admin-grid.single {
  grid-template-columns: minmax(0, 1fr);
}

.approve-btn,
.reject-btn {
  min-width: 132px;
  box-shadow: 0 10px 22px rgba(18, 32, 24, 0.08);
}

.admin-details {
  padding: 12px;
  background: #fbfdfc;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.admin-details summary {
  color: var(--green-dark);
  font-weight: 900;
  cursor: pointer;
}

.admin-detail-grid {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 10px 14px;
  margin-top: 14px;
}

.admin-detail-grid span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.admin-detail-grid strong {
  overflow-wrap: anywhere;
}

.public-profile-preview {
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(18, 32, 24, 0.06);
}

.premium-profile {
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(18, 32, 24, 0.08);
}

.premium-profile-hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: clamp(22px, 4vw, 34px);
  background:
    linear-gradient(135deg, rgba(20, 128, 74, 0.1), rgba(255, 255, 255, 0) 46%),
    #fbfdfc;
  border-bottom: 1px solid var(--line);
}

.premium-avatar {
  display: grid;
  width: clamp(96px, 14vw, 132px);
  height: clamp(96px, 14vw, 132px);
  place-items: center;
  overflow: hidden;
  color: white;
  background: var(--green);
  border: 5px solid white;
  border-radius: 50%;
  box-shadow: 0 18px 38px rgba(18, 32, 24, 0.14);
  font-size: 42px;
  font-weight: 900;
}

.premium-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.premium-profile-main {
  display: grid;
  min-width: 0;
  gap: 14px;
}

.premium-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.premium-title-row h2 {
  margin: 2px 0 0;
  overflow-wrap: anywhere;
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.02;
}

.premium-title-row .verified-badge {
  flex: 0 0 auto;
}

.premium-profile-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.premium-profile-badges span {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 0 11px;
  color: var(--green-dark);
  background: var(--green-soft);
  border: 1px solid var(--mint);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.premium-profile-main > p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.premium-profile-content {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 18px;
  padding: clamp(16px, 3vw, 24px);
}

.premium-panel {
  min-width: 0;
  padding: clamp(16px, 3vw, 22px);
  background: #fbfdfc;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.premium-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.premium-section-head h3 {
  margin: 2px 0 0;
  font-size: 22px;
}

.premium-section-head .btn {
  min-height: 42px;
  padding-inline: 14px;
  white-space: nowrap;
}

.premium-work-grid {
  display: none;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  align-items: stretch;
  gap: 14px;
}

.premium-work-grid.active {
  display: grid;
  animation: workSlideIn 180ms ease;
}

.premium-work-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(18, 32, 24, 0.05);
}

.premium-work-card img,
.premium-work-card .work-placeholder {
  display: grid;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  place-items: center;
  object-fit: cover;
}

.premium-work-card > div:last-child {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 10px;
  min-width: 0;
  padding: 14px;
}

.premium-work-title,
.profile-work-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}

.premium-work-card h4 {
  min-width: 0;
  margin: 0;
  font-size: 18px;
  overflow-wrap: anywhere;
}

.premium-work-title time,
.profile-work-heading time {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.4;
}

.premium-work-card p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.portfolio-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.portfolio-actions form {
  margin: 0;
}

.portfolio-actions .btn {
  width: 100%;
  min-height: 38px;
  padding-inline: 8px;
  font-size: 13px;
  font-weight: 800;
}

.portfolio-actions .btn.secondary:not(.danger) {
  color: var(--green-dark);
  background: #f3fbf6;
  border-color: #b9e7cc;
}

.portfolio-actions .btn.danger {
  color: #9f2414;
  background: #fff5f2;
  border-color: #ffc9bd;
}

.confirm-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  place-items: center;
  padding: 20px;
}

.confirm-modal.is-open {
  display: grid;
}

.confirm-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 32, 24, 0.38);
  backdrop-filter: blur(6px);
}

.confirm-card {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(100%, 380px);
  gap: 12px;
  padding: 22px;
  text-align: center;
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 28px 80px rgba(18, 32, 24, 0.28);
}

.confirm-icon {
  display: grid;
  width: 46px;
  height: 46px;
  margin-inline: auto;
  place-items: center;
  color: #9f1d1d;
  background: #fff1ed;
  border: 1px solid #fec7bb;
  border-radius: 50%;
  font-weight: 900;
}

.report-icon {
  color: #9f2414;
  background: #fff0eb;
}

.report-button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  color: #9f2414;
  background: #fff6f3;
  border: 1px solid #ffd2c7;
  border-radius: 8px;
  font-weight: 850;
  cursor: pointer;
}

.report-button svg,
.report-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.report-reason {
  text-align: left;
}

.report-reason textarea {
  margin-top: 7px;
}

.confirm-card h2 {
  margin: 0;
  font-size: 22px;
}

.confirm-card p {
  margin: 0;
  color: var(--muted);
}

.confirm-card p strong {
  color: var(--ink);
  font-weight: 900;
}

.confirm-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 6px;
}

.premium-work-dots {
  justify-content: center;
  padding-top: 14px;
}

.premium-rating-panel {
  align-self: start;
}

.premium-rating-score {
  display: grid;
  place-items: center;
  justify-items: center;
  gap: 8px;
  padding: 18px;
  text-align: center;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.premium-rating-score strong {
  color: var(--ink);
  font-size: 46px;
  line-height: 1;
}

.premium-stars {
  display: block;
  width: max-content;
  margin-inline: auto;
  color: transparent;
  background: linear-gradient(90deg, #f5b301 var(--rating-percent), #d1d5db var(--rating-percent));
  background-clip: text;
  -webkit-background-clip: text;
  font-size: 25px;
  letter-spacing: 0;
  line-height: 28px;
  filter: drop-shadow(0 2px 3px rgba(245, 179, 1, 0.16));
}

.premium-rating-score small {
  color: var(--muted);
  font-weight: 800;
}

.premium-review-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.premium-review-list article {
  display: none;
  padding: 13px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.premium-review-list article.active {
  display: block;
  animation: workSlideIn 180ms ease;
}

.premium-review-shell {
  position: relative;
}

.premium-review-arrows {
  justify-content: center;
  margin-top: 14px;
}

.premium-review-list article > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 7px;
}

.premium-review-list strong {
  color: var(--green-dark);
  font-size: 18px;
}

.premium-review-list span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.premium-review-list p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.profile-hero.inline {
  border-bottom: 1px solid var(--line);
}

.works-panel {
  min-width: 0;
}

.section-heading.compact {
  margin-bottom: 14px;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.work-item {
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.work-item img,
.work-placeholder,
.profile-work-item img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  place-items: center;
  color: white;
  background: var(--green);
  font-size: 32px;
  font-weight: 900;
  object-fit: cover;
}

.work-placeholder {
  display: grid;
}

.work-item h3,
.work-item p {
  padding-inline: 14px;
}

.work-item h3 {
  margin-top: 14px;
}

.work-item p {
  margin-bottom: 14px;
  color: var(--muted);
}

.profile-works-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.profile-works-slider {
  display: grid;
  min-width: 0;
  overflow: hidden;
}

.profile-work-item {
  display: none;
  min-width: 0;
  overflow: hidden;
  background: #fbfdfc;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.profile-work-item.active {
  display: grid;
  animation: workSlideIn 180ms ease;
}

.work-media {
  position: relative;
  touch-action: pan-y;
}

.work-dots {
  display: grid;
  grid-auto-flow: column;
  justify-content: center;
  gap: 8px;
  padding: 12px 0 2px;
}

.work-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  background: #d7e4dc;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: 0.18s ease;
}

.work-dots button.active {
  width: 24px;
  background: var(--green);
}

.work-dots button:hover {
  background: var(--green-dark);
}

@keyframes workSlideIn {
  from {
    opacity: 0.4;
    transform: translateX(8px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.profile-work-item h3,
.profile-work-item p {
  padding-inline: 12px;
}

.profile-work-heading {
  min-width: 0;
  padding-inline: 12px;
}

.profile-work-item h3 {
  min-width: 0;
  margin: 12px 0 0;
  font-size: 17px;
  overflow-wrap: anywhere;
}

.profile-work-heading time {
  margin-top: 14px;
}

.profile-work-item p {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 14px;
}

.full-field {
  grid-column: 1 / -1;
}

textarea {
  resize: vertical;
}

.location-picker {
  display: grid;
  gap: 12px;
  padding: 14px;
  background: #fbfdfc;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.location-picker-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}

.location-picker-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.location-icon-button {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: var(--green-dark);
  background: #eef7f1;
  border: 1px solid #cfe5d7;
  border-radius: 12px;
  cursor: pointer;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.location-icon-button:hover,
.location-icon-button.is-active {
  background: #e6f5ec;
  border-color: var(--green);
}

.location-icon-button:active {
  transform: scale(0.96);
}

.location-icon-button svg {
  width: 23px;
  height: 23px;
  fill: currentColor;
}

.location-icon-button[hidden] {
  display: none;
}

.location-picker-head span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.location-picker-head small,
.location-picker-note {
  color: var(--muted);
  font-size: 13px;
}

.location-map-panel[hidden] {
  display: none;
}

.location-map {
  width: 100%;
  min-height: 320px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #eef7f1;
}

.location-map .leaflet-control-attribution {
  font-size: 10px;
}

.location-picker-note {
  margin: 0;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.modal.is-open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 32, 24, 0.55);
}

.modal-card {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100dvw - 24px));
  min-width: 0;
  max-height: calc(100vh - 128px);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: white;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.modal-close {
  position: sticky;
  top: 12px;
  right: auto;
  z-index: 30;
  display: grid;
  width: 46px;
  height: 46px;
  margin: 12px 12px -58px auto;
  place-items: center;
  color: var(--green-dark);
  background: white;
  border: 1px solid var(--mint);
  border-radius: 8px;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  touch-action: manipulation;
}

.modal-close:hover {
  color: white;
  background: var(--green);
  border-color: var(--green);
}

body.modal-open {
  overflow: hidden;
  touch-action: none;
}

body.modal-open .bottom-nav {
  display: none;
}

body.modal-open .worker-search-filter-shell,
body.modal-open .worker-problem-filter-shell,
body.modal-open .custom-select {
  z-index: auto;
}

.profile-hero {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  padding: 28px;
  background: var(--green-soft);
  border-bottom: 1px solid var(--line);
}

.profile-hero.simple {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  min-width: 0;
  position: sticky;
  top: 0;
  z-index: 18;
  padding-right: 76px;
  background: white;
  box-shadow: 0 1px 0 var(--line);
}

.profile-hero.simple > div:last-child {
  min-width: 0;
}

.profile-title-block {
  position: relative;
  display: block;
  min-width: 0;
  min-height: 78px;
}

.profile-title-block h2 {
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  transform: translateY(-50%);
}

.modal-verified {
  position: absolute;
  top: calc(50% + 15px);
  right: -50px;
  justify-self: end;
  margin-top: 0;
}

.profile-hero.simple h2 {
  margin-bottom: 0;
  overflow-wrap: anywhere;
}

.profile-hero .avatar {
  width: 78px;
  height: 78px;
  font-size: 29px;
}

.profile-body {
  display: grid;
  gap: 18px;
  min-width: 0;
  padding: 24px 28px 28px;
  overflow-x: hidden;
}

.profile-badges {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  max-width: 100%;
  overflow-x: hidden;
}

.worker-badges {
  align-items: flex-start;
}

.profile-badges > .tags:first-child {
  flex: 1;
  min-width: 0;
}

.location-badge {
  flex: 0 0 auto;
  justify-content: flex-end;
}

.location-badge span {
  color: #26302b;
  background: #eef1ef;
  border: 1px solid #d4dad6;
}

.work-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.work-photo {
  min-height: 100px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(20, 128, 74, 0.65), rgba(255, 255, 255, 0.05)),
    var(--photo);
  background-size: cover;
  background-position: center;
}

.review {
  min-width: 0;
  padding: 14px;
  overflow-x: hidden;
  background: #fbfdfc;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin: 36px clamp(14px, 5vw, 80px) 22px;
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(20, 128, 74, 0.08), rgba(255, 255, 255, 0) 42%),
    #ffffff;
  border-top: 1px solid var(--line);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 18px 54px rgba(18, 32, 24, 0.09);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.footer-logo {
  display: grid;
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  background: #f4fbf7;
  border: 1px solid rgba(20, 128, 74, 0.18);
  border-radius: 12px;
}

.footer-logo img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.footer-brand strong {
  display: block;
  color: var(--green-dark);
  font-size: 20px;
  line-height: 1.1;
}

.footer-brand span:not(.footer-logo) {
  display: block;
  margin-top: 5px;
  max-width: 340px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.footer-links {
  display: grid;
  gap: 12px;
}

.footer-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.footer-contact-icon {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--green-dark);
  background: var(--green-soft);
  border: 1px solid rgba(20, 128, 74, 0.18);
  border-radius: 999px;
}

.footer-contact-icon svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.footer-links a:hover {
  color: var(--green-dark);
}

.footer-bottom {
  grid-column: 1 / -1;
  padding-top: 14px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 13px;
  font-weight: 700;
}

.bottom-nav {
  --bottom-nav-space: 24px;
  position: fixed;
  right: auto;
  bottom: 14px;
  left: 50%;
  z-index: 200;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  align-items: center;
  gap: 0;
  width: min(620px, calc(100dvw - var(--bottom-nav-space)));
  padding: 7px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(18, 32, 24, 0.08);
  border-radius: 16px;
  box-shadow:
    0 24px 72px rgba(18, 32, 24, 0.2),
    0 8px 22px rgba(18, 32, 24, 0.1);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.bottom-nav-item {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 54px;
  min-width: 0;
  place-items: center;
  color: #315243;
  border-radius: 12px;
  font-size: 0;
  font-weight: 900;
  transition:
    color 160ms ease,
    background 160ms ease,
    transform 160ms ease;
}

.bottom-nav > a:not(:last-child)::after,
.bottom-nav > details:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 17px;
  right: 0;
  width: 1px;
  height: 20px;
  background: rgba(18, 32, 24, 0.07);
}

.bottom-nav-item:hover {
  color: var(--green-dark);
  background: rgba(35, 132, 78, 0.08);
}

.bottom-nav-item.active {
  color: var(--green-dark);
  background: rgba(35, 132, 78, 0.1);
}

.bottom-icon,
.bottom-avatar {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  overflow: hidden;
  color: currentColor;
  background: transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
}

.bottom-plus {
  color: white;
  background: var(--green);
  box-shadow: 0 8px 18px rgba(35, 132, 78, 0.2);
}

.bottom-nav-item.active .bottom-plus {
  color: white;
  background: var(--green);
  box-shadow: 0 8px 18px rgba(35, 132, 78, 0.2);
}

.bottom-avatar {
  color: var(--green-dark);
  background: var(--green-soft);
}

.bottom-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.bottom-nav-item .bottom-icon,
.bottom-nav-item .bottom-avatar {
  font-size: 16px;
}


.bottom-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bottom-nav-item.active .bottom-icon {
  color: currentColor;
  background: transparent;
  box-shadow: none;
  transform: scale(1.08);
}

.bottom-unread-badge {
  position: absolute;
  top: 6px;
  right: calc(50% - 21px);
  display: grid;
  min-width: 18px;
  height: 18px;
  place-items: center;
  padding-inline: 5px;
  color: white;
  background: #ef4444;
  border: 2px solid white;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 5px 14px rgba(239, 68, 68, 0.28);
}

.notification-nav-item .bottom-icon {
  position: relative;
  overflow: visible;
}

.notification-badge {
  position: absolute;
  top: -8px;
  right: -9px;
  display: grid;
  min-width: 18px;
  height: 18px;
  place-items: center;
  padding-inline: 5px;
  color: white;
  background: #ef4444;
  border: 2px solid white;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(239, 68, 68, 0.28);
}

.bottom-account {
  position: relative;
  display: grid;
  min-width: 0;
}

.bottom-account[open]::before {
  display: none;
}

.bottom-account summary {
  position: relative;
  z-index: 211;
  width: 100%;
  min-width: 0;
  list-style: none;
  cursor: pointer;
}

.bottom-account summary::-webkit-details-marker {
  display: none;
}

.bottom-account-menu {
  position: fixed;
  right: auto;
  bottom: 92px;
  left: 50%;
  z-index: 210;
  display: grid;
  width: min(620px, calc(100dvw - var(--bottom-nav-space)));
  max-width: 620px;
  gap: 8px;
  margin-inline: 0;
  padding: 14px;
  background: white;
  border: 1px solid rgba(220, 231, 225, 0.9);
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(18, 32, 24, 0.24);
  transform: translateX(-50%);
}

.bottom-account-menu::after {
  content: "";
  position: absolute;
  right: 34px;
  bottom: -8px;
  width: 16px;
  height: 16px;
  background: white;
  border-right: 1px solid rgba(220, 231, 225, 0.9);
  border-bottom: 1px solid rgba(220, 231, 225, 0.9);
  border-bottom-right-radius: 4px;
  transform: rotate(45deg);
  box-shadow: 8px 8px 18px rgba(18, 32, 24, 0.08);
}

.account-sheet-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  padding: 4px 4px 14px;
  border-bottom: 1px solid var(--line);
}

.account-sheet-avatar {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  overflow: hidden;
  color: white;
  background: var(--green);
  border-radius: 50%;
  font-weight: 900;
}

.account-sheet-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.account-sheet-head strong,
.account-sheet-head small {
  display: block;
}

.account-sheet-head small {
  color: var(--muted);
  font-size: 13px;
}

.bottom-account-menu a,
.bottom-account-menu button {
  display: flex;
  width: 100%;
  min-height: 50px;
  align-items: center;
  gap: 9px;
  padding: 11px 10px;
  color: var(--ink);
  background: #fbfdfc;
  border: 1px solid transparent;
  border-bottom-color: rgba(18, 32, 24, 0.09);
  border-radius: 12px;
  box-shadow: inset 0 -1px 0 rgba(18, 32, 24, 0.05);
  font-size: 13px;
  font-weight: 760;
  line-height: 1.15;
  text-align: left;
  white-space: nowrap;
  cursor: pointer;
}

.bottom-account-menu a:last-of-type,
.bottom-account-menu form button {
  border-bottom-color: transparent;
}

.bottom-account-menu a span,
.bottom-account-menu button span {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  place-items: center;
  color: var(--green-dark);
  background: var(--green-soft);
  border-radius: 10px;
  font-size: 12px;
  font-weight: 900;
}

.bottom-account-menu a span svg,
.bottom-account-menu button span svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.bottom-account-menu a:hover,
.bottom-account-menu button:hover {
  color: var(--green-dark);
  background: var(--green-soft);
  border-color: var(--mint);
}

.bottom-account-menu form {
  margin: 0;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.bottom-account-menu form button {
  color: #9f1d1d;
  background: #fff7f7;
}

.bottom-account-menu form button span {
  color: #9f1d1d;
  background: #ffe3e3;
}

.account-details-page .bottom-nav {
  right: 10px;
  left: 10px;
  width: auto;
  max-width: 620px;
  margin-inline: auto;
  transform: none;
}

.account-details-page .bottom-account-menu {
  right: 10px;
  left: 10px;
  width: auto;
  max-width: 620px;
  margin-inline: auto;
  transform: none;
}

.worker-account-details-page .bottom-nav {
  position: fixed !important;
  right: auto !important;
  bottom: 8px !important;
  left: 50% !important;
  z-index: 500 !important;
  width: calc(100dvw - 20px) !important;
  max-width: 620px !important;
  margin-inline: 0 !important;
  transform: translate3d(-50%, 0, 0) !important;
  overflow: visible !important;
  pointer-events: auto !important;
}

.worker-account-details-page .bottom-account-menu {
  position: fixed !important;
  right: auto !important;
  bottom: 92px !important;
  left: 50% !important;
  z-index: 520 !important;
  width: calc(100dvw - 20px) !important;
  max-width: 620px !important;
  margin-inline: 0 !important;
  transform: translate3d(-50%, 0, 0) !important;
  pointer-events: auto !important;
}

.worker-account-details-page .bottom-account {
  overflow: visible;
  pointer-events: auto !important;
}

.worker-account-details-page .bottom-nav a,
.worker-account-details-page .bottom-nav button,
.worker-account-details-page .bottom-nav summary,
.worker-account-details-page .bottom-nav details {
  pointer-events: auto !important;
}

.worker-account-details-page .dashboard-header h1,
.account-details-page .dashboard-header h1 {
  font-size: clamp(30px, 7vw, 48px);
  line-height: 1.05;
}

.trade-group[open],
.trade-group[open] summary,
.trade-group[open] .trade-options,
.trade-group[open] .trade-option,
.trade-group[open] .trade-option span {
  max-width: 100%;
  overflow-x: clip;
}

@media (min-width: 1024px) {
  .hero-content,
  .section-heading,
  .trust-story,
  .about-values,
  .about-split,
  .legal-content,
  .faq-content,
  .how-content,
  .contact-content,
  .workers-page .filters,
  .workers-grid,
  .dashboard-section > .dashboard-header,
  .dashboard-section > .admin-tabs,
  .dashboard-section > .admin-list,
  .dashboard-section > .worker-problem-filter-shell,
  .dashboard-section > .account-sections,
  .dashboard-section > .premium-profile {
    width: min(100%, 1180px);
    margin-right: auto;
    margin-left: auto;
  }

  .hero {
    min-height: min(820px, calc(100vh - 66px));
    padding-top: 88px;
    padding-bottom: 74px;
  }

  .hero-content {
    max-width: 880px;
    padding: 0 24px;
  }

  .hero-copy {
    max-width: 680px;
  }

  .trust-section,
  .workers-section,
  .about-purpose,
  .about-split,
  .signup-section,
  .dashboard-section {
    padding-right: clamp(34px, 5vw, 96px);
    padding-left: clamp(34px, 5vw, 96px);
  }

  .workers-page .section-heading,
  .legal-hero,
  .about-hero-copy {
    padding: 30px;
    background:
      linear-gradient(135deg, rgba(20, 128, 74, 0.08), rgba(255, 255, 255, 0) 46%),
      rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(20, 128, 74, 0.1);
    border-radius: 16px;
    box-shadow: 0 18px 50px rgba(18, 32, 24, 0.06);
  }

  .legal-hero {
    width: min(calc(100% - 68px), 1180px);
    margin: 44px auto 0;
    padding: 40px;
  }

  .about-hero {
    justify-items: center;
    padding-top: 72px;
    padding-bottom: 56px;
  }

  .about-hero-copy {
    width: min(100%, 1180px);
    max-width: 1180px;
  }

  .about-purpose .section-heading {
    border-radius: 16px;
    box-shadow: 0 16px 44px rgba(18, 32, 24, 0.055);
  }

  .about-values article,
  .about-split > div,
  .how-panel,
  .contact-card,
  .faq-item,
  .legal-content article,
  .worker-card,
  .problem-market-card,
  .admin-worker-card,
  .signup-form {
    border-radius: 12px;
    transition:
      transform 160ms ease,
      box-shadow 160ms ease,
      border-color 160ms ease;
  }

  .about-values article:hover,
  .about-split > div:hover,
  .how-panel:hover,
  .contact-card:hover,
  .faq-item:hover,
  .legal-content article:hover,
  .worker-card:hover,
  .problem-market-card:hover,
  .admin-worker-card:hover {
    transform: translateY(-2px);
    border-color: rgba(20, 128, 74, 0.2);
    box-shadow: 0 22px 56px rgba(18, 32, 24, 0.09);
  }

  .how-panel {
    grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1.18fr);
    gap: 34px;
    padding: 30px;
  }

  .faq-content,
  .contact-content,
  .how-content,
  .legal-content {
    padding-top: 34px;
  }

  .contact-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .primary-contact-card {
    max-width: none;
    padding: 30px;
  }

  .worker-filter-panel,
  .worker-problem-filters {
    gap: 16px;
  }

  .dashboard-header {
    padding: 24px 26px;
    background:
      linear-gradient(135deg, rgba(20, 128, 74, 0.07), rgba(255, 255, 255, 0) 46%),
      rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(20, 128, 74, 0.09);
    border-radius: 16px;
    box-shadow: 0 16px 44px rgba(18, 32, 24, 0.055);
  }

  .admin-list,
  .worker-problem-filter-shell,
  .filters {
    border-radius: 14px;
  }

  .site-footer {
    width: min(calc(100% - 68px), 1180px);
    margin-right: auto;
    margin-left: auto;
  }
}

@media (max-width: 920px) {
  .worker-auth-page:not(.password-auth-page) .password-form-column {
    margin-top: 0;
  }

  .desktop-nav {
    display: none;
  }

  .hero,
  .about-hero,
  .signup-section {
    grid-template-columns: 1fr;
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .premium-profile-content {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 54px;
  }

  .about-mark {
    justify-self: start;
    width: 210px;
  }

  .about-mark img {
    width: 150px;
    height: 150px;
  }

  .workers-grid,
  .trust-grid,
  .trust-story,
  .steps-grid,
  .about-values {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-split {
    grid-template-columns: 1fr;
  }

  .filters {
    grid-template-columns: 1fr 1fr;
  }

  .filters.worker-search-filter-shell,
  .filters.worker-search-filter-shell .worker-filter-panel {
    grid-template-columns: 1fr;
  }

  .admin-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 560px) {
}

@media (max-width: 620px) {
  .loader-mark {
    width: 76px;
    height: 76px;
    border-radius: 24px;
    box-shadow: 0 12px 26px rgba(18, 32, 24, 0.1);
  }

  .loader-mark img {
    width: 92%;
    height: 92%;
  }

  .site-header {
    gap: 12px;
    padding: 12px 14px;
  }

  .brand {
    max-width: 156px;
  }

  .brand-logo {
    width: 112px;
    height: 37px;
  }

  .header-action {
    min-height: 40px;
    padding-inline: 12px;
    font-size: 14px;
  }

  .login-options {
    align-items: center;
    flex-direction: row;
    gap: 10px;
  }

  .login-options .checkbox-field span,
  .login-options a {
    font-size: 13px;
  }

  .bottom-nav {
    --bottom-nav-space: 20px;
    bottom: 8px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    margin-inline: 10px;
    margin-bottom: 96px;
    padding: 18px;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

  .bottom-nav-item {
    min-width: 0;
  }

  .worker-problems-grid {
    grid-template-columns: 1fr;
  }

  .worker-problems-grid .problem-request-card {
    aspect-ratio: auto;
  }

  .worker-problems-grid .worker-actions {
    grid-template-columns: 1fr;
  }

  .client-problem-head {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .client-problem-head .problem-status {
    justify-self: end;
  }

  .admin-tabs {
    grid-template-columns: 1fr;
  }

  .admin-stats-grid,
  .admin-status-cards {
    grid-template-columns: 1fr;
  }

  .modal {
    padding-inline: 10px;
    padding-top: 34px;
    padding-bottom: 34px;
  }

  .modal-card {
    width: calc(100dvw - 20px);
    max-height: calc(100vh - 92px);
  }

  .profile-hero.simple {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    padding: 18px 14px;
    padding-right: 66px;
  }

  .profile-title-block {
    display: block;
    min-height: 82px;
  }

  .modal-verified {
    right: -50px;
    top: calc(50% + 15px);
    margin-top: 0;
  }

  .profile-body {
    padding: 18px 14px 20px;
  }

  .profile-badges {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
  }

  .review-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 10px;
  }

  .review-head > strong {
    min-width: 0;
    white-space: normal;
  }

  .review-head .review-rating-line {
    justify-self: end;
    margin-left: 0;
    transform: translateY(-1px);
  }

  .review-arrows {
    grid-column: 1 / -1;
    justify-self: center;
  }

  .hero,
  .about-hero,
  .workers-section,
  .trust-section,
  .steps-section,
  .about-section,
  .about-purpose,
  .about-split,
  .legal-hero,
  .legal-content,
  .faq-content,
  .how-content,
  .signup-section {
    padding-inline: 14px;
  }

  .how-panel {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .faq-item summary {
    padding: 16px;
  }

  .faq-item p {
    padding: 0 16px 16px;
  }

  .faq-note {
    padding: 18px;
  }

  h1 {
    font-size: 42px;
  }

  .hero-copy {
    font-size: 17px;
  }

  .hero-actions,
  .worker-actions {
    grid-template-columns: 1fr;
  }

  .hero-actions .btn,
  .worker-actions .btn {
    width: 100%;
  }

  .hero-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 12px;
    margin-top: 42px;
    padding: 14px 12px 0;
    border-radius: 18px;
  }

  .flow-track {
    inset: 0;
    width: auto;
    height: auto;
    background: none;
  }

  .flow-track::before,
  .flow-track::after {
    content: "";
    position: absolute;
    top: 74px;
    width: calc(25% + 18px);
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(20, 128, 74, 0.22), transparent);
    transform-origin: center;
  }

  .flow-track::before {
    left: calc(25% + 4px);
    transform: rotate(24deg);
  }

  .flow-track::after {
    right: calc(25% + 4px);
    transform: rotate(-24deg);
  }

  .flow-dot {
    top: 43px;
    left: calc(25% - 15px);
    animation: flowMoveMobileV 4.8s ease-in-out infinite;
  }

  .flow-step {
    grid-template-columns: 1fr;
    justify-items: center;
    align-items: center;
    min-height: 68px;
    padding: 8px 2px;
    text-align: center;
    order: 1;
  }

  .flow-step:first-of-type {
    justify-self: start;
    width: 98%;
    transform: translateX(-18px);
  }

  .flow-step:nth-of-type(2) {
    grid-column: 1 / -1;
    justify-self: center;
    width: min(210px, 74%);
    min-height: 64px;
    order: 3;
    margin-bottom: -30px;
    transform: translateY(-44px);
  }

  .flow-step:nth-of-type(3) {
    justify-self: end;
    width: 98%;
    transform: translateX(18px);
    order: 2;
  }

  .flow-step strong {
    font-size: 13px;
  }

  @keyframes flowMoveMobileV {
    0%, 12% {
      left: calc(25% - 15px);
      top: 43px;
    }

    45%, 57% {
      left: 50%;
      top: 92px;
    }

    88%, 100% {
      left: calc(75% + 15px);
      top: 43px;
    }
  }

  @keyframes flowMoveMobile {
    0%, 12% {
      top: 0;
    }

    45%, 57% {
      top: 50%;
    }

    88%, 100% {
      top: 100%;
    }
  }

  .repair-card {
    grid-template-columns: auto 1fr;
  }

  .repair-card .status {
    grid-column: 2;
    justify-self: start;
  }

  .workers-grid,
  .trust-grid,
  .trust-story,
  .steps-grid,
  .about-values,
  .about-split,
  .filters,
  .signup-form,
  .register-step,
  .rating-options,
  .work-gallery,
  .profile-works-grid,
  .id-card-grid,
  .id-card-admin-grid {
    grid-template-columns: 1fr;
  }

  .filters.worker-search-filter-shell .worker-problem-toolbar {
    grid-template-columns: minmax(0, 1fr) 46px;
  }

  .identity-photo .upload-tile,
  .identity-photo .profile-photo-preview {
    width: 112px;
    height: 112px;
  }

  .worker-register-identity.is-business .identity-fields {
    display: contents;
  }

  .worker-register-identity.is-business .identity-photo {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .worker-register-identity.is-business .email-field {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .section-heading {
    display: block;
  }

  .register-step-actions,
  .register-step-actions.split {
    display: grid;
    grid-template-columns: 1fr;
  }

  .account-type-options {
    grid-template-columns: 1fr;
  }

  .register-step-actions .btn {
    width: 100%;
  }

  .profile-hero:not(.simple) {
    grid-template-columns: 1fr;
  }

  .premium-profile-hero {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .premium-title-row {
    align-items: center;
    flex-direction: column;
  }

  .premium-profile-badges {
    justify-content: center;
  }

  .premium-work-grid {
    grid-template-columns: 1fr;
  }

  .premium-section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .premium-section-head .btn {
    width: 100%;
  }

  .worker-top {
    grid-template-columns: auto minmax(0, 1fr) minmax(104px, auto);
    gap: 10px;
  }

  .worker-card .avatar {
    width: 64px;
    height: 64px;
    font-size: 23px;
  }

  .card-trust-column {
    gap: 5px;
    min-width: 104px;
  }

  .rating-stars {
    width: 106px;
    height: 22px;
    font-size: 20px;
    line-height: 22px;
  }

  .verified-badge {
    grid-column: auto;
    justify-self: end;
    padding-inline: 9px;
    font-size: 11px;
  }


  .dashboard-header,
  .dashboard-profile {
    align-items: flex-start;
    flex-direction: column;
  }

  .works-grid {
    grid-template-columns: 1fr;
  }

  .admin-worker-controls,
  .admin-message-form,
  .admin-password-form {
    grid-template-columns: 1fr;
  }
}
