:root {
  --ink: #163b35;
  --muted: #61716b;
  --green: #174f46;
  --lime: #d7ef98;
  --cream: #f6f7f2;
  --line: #dfe5dd;
  --red: #ad3939;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font:
    15px 'DM Sans',
    system-ui,
    sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
a:is(.button, [target='_blank'], [href^='https://' i], [href^='http://' i], [href^='//']):hover {
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  background: var(--green);
  color: #fff;
  padding: 13px 20px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  min-height: 46px;
}
button:hover,
.button:hover {
  filter: brightness(1.1);
  text-decoration: none;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
.secondary {
  background: #eef3e8;
  color: var(--green);
}
.danger {
  background: #fff0ef;
  color: var(--red);
}
header {
  padding: 20px 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.brand {
  display: flex;
  gap: 10px;
  align-items: center;
  font-family: Manrope, system-ui;
  font-weight: 800;
  font-size: 18px;
}
.mark {
  display: grid;
  place-items: center;
  background: var(--green);
  color: var(--lime);
  height: 35px;
  width: 35px;
  border-radius: 10px;
  font-size: 25px;
}
nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
nav a {
  font-size: 14px;
  font-weight: 600;
}
nav a.active {
  color: var(--green);
  border-bottom: 2px solid var(--green);
}
main {
  max-width: 1220px;
  margin: auto;
  padding: 46px 30px 70px;
  min-height: 72vh;
}
h1,
h2,
h3 {
  font-family: Manrope, system-ui;
  letter-spacing: -0.035em;
  margin-top: 0;
}
h1 {
  font-size: 38px;
  line-height: 1.2;
}
h2 {
  font-size: 26px;
}
h3 {
  font-size: 18px;
}
p {
  line-height: 1.7;
}
.muted,
small {
  color: var(--muted);
}
.eyebrow {
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.15em;
  font-weight: 700;
  color: var(--green);
}
.hero {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 35px 0 65px;
}
.hero h1 {
  font-size: 60px;
  max-width: 620px;
}
.hero p {
  max-width: 480px;
  font-size: 17px;
}
.hero-art {
  position: relative;
  background: var(--green);
  border-radius: 28px;
  padding: 36px;
  color: #fff;
  min-height: 360px;
  overflow: hidden;
}
.hero-art:before {
  content: '';
  position: absolute;
  width: 280px;
  height: 280px;
  border: 45px solid #ffffff0c;
  border-radius: 50%;
  right: -70px;
  top: -70px;
}
.hero-art .tool {
  font-size: 90px;
  line-height: 1.2;
  color: var(--lime);
}
.hero-art .pill {
  background: #ffffff18;
  color: #fff;
}
.hero-art h2 {
  max-width: 260px;
  font-size: 31px;
  margin-top: 40px;
}
.row {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.between {
  justify-content: space-between;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 25px;
  margin-bottom: 20px;
}
.card h3 {
  margin-bottom: 10px;
}
.card p {
  margin: 8px 0 18px;
}
.pill {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 50px;
  background: #edf3e4;
  color: var(--green);
  font-size: 12px;
  font-weight: 600;
}
.empty {
  border: 1px dashed #c5d1c1;
  border-radius: 15px;
  padding: 35px;
  text-align: center;
  color: var(--muted);
  margin: 20px 0;
}
.section {
  margin-top: 40px;
}
.split {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 25px;
}
.stack {
  display: grid;
  gap: 16px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
label {
  display: grid;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
label.full {
  grid-column: 1/-1;
}
input,
textarea,
select {
  width: 100%;
  border: 1px solid #ced8ce;
  background: #fff;
  border-radius: 8px;
  padding: 12px;
  min-height: 46px;
  color: var(--ink);
}
input[type='checkbox'] {
  width: 20px;
  min-height: 20px;
}
textarea {
  min-height: 100px;
  resize: vertical;
}
form button[type='submit'] {
  margin-top: 20px;
}
form .row label {
  display: flex;
  align-items: center;
}
fieldset {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px;
}
legend {
  font-size: 13px;
  font-weight: 600;
}
.money {
  font-family: Manrope, system-ui;
  font-size: 30px;
  font-weight: 800;
}
.list-row {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.list-row:last-child {
  border: 0;
}
.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.banner {
  padding: 14px 20px;
  background: #f2ecd7;
  border-radius: 10px;
  margin-bottom: 25px;
  font-size: 13px;
  line-height: 1.6;
}
.error {
  color: var(--red);
  background: #fff1ef;
}
.success {
  background: #eaf3df;
}
#notice {
  position: sticky;
  top: 0;
  z-index: 5;
  margin: 0 auto;
  max-width: 1220px;
}
#notice:not(:empty) {
  padding: 16px 24px;
  border-radius: 0 0 12px 12px;
  background: #eaf3df;
}
#notice.error {
  background: #fff1ef;
}
footer {
  padding: 25px 6%;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 25px;
  font-size: 12px;
  color: var(--muted);
}
footer span {
  margin-right: auto;
}
dialog {
  border: 0;
  border-radius: 18px;
  box-shadow: 0 20px 80px #102e3440;
  padding: 35px;
  width: min(650px, 92vw);
  max-height: 90vh;
  overflow: auto;
}
dialog::backdrop {
  background: #102e3470;
}
.close {
  position: absolute;
  right: 12px;
  top: 8px;
  background: transparent;
  color: var(--ink);
  font-size: 24px;
  padding: 5px;
  min-height: 35px;
}
.skip {
  position: absolute;
  top: -100px;
}
.skip:focus {
  top: 10px;
  background: white;
  padding: 10px;
  z-index: 20;
}
:focus-visible {
  outline: 3px solid #7eb845;
  outline-offset: 3px;
}
.loading {
  padding: 60px;
  text-align: center;
}
.timeline {
  border-left: 2px solid var(--line);
  padding-left: 20px;
}
.message {
  background: #f4f6ef;
  padding: 13px 17px;
  border-radius: 10px;
  margin: 12px 0;
}
.table-wrap {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13px;
}
th,
td {
  padding: 13px;
  border-bottom: 1px solid var(--line);
}
.receipt {
  font-variant-numeric: tabular-nums;
}
.receipt .row {
  padding: 8px 0;
}
.receipt .total {
  border-top: 1px solid var(--line);
  font-weight: 700;
  margin-top: 10px;
}
.avatar {
  height: 44px;
  width: 44px;
  display: grid;
  place-items: center;
  background: #e8f0dd;
  border-radius: 50%;
  font-weight: 700;
}
.no-print {
  display: block;
}
@media (max-width: 800px) {
  header {
    padding: 16px 20px;
    display: block;
  }
  .brand {
    margin-bottom: 16px;
  }
  nav {
    gap: 19px;
    overflow-x: auto;
    padding-bottom: 5px;
    white-space: nowrap;
  }
  main {
    padding: 30px 20px 50px;
  }
  h1 {
    font-size: 30px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 15px 0 35px;
  }
  .hero h1 {
    font-size: 44px;
  }
  .hero-art {
    min-height: 260px;
    padding: 25px;
  }
  .hero-art h2 {
    margin-top: 15px;
  }
  .hero-art .tool {
    font-size: 65px;
  }
  .grid,
  .grid.two,
  .split {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  footer {
    flex-wrap: wrap;
    padding: 20px;
  }
  .card {
    padding: 20px;
  }
  .money {
    font-size: 27px;
  }
  .section {
    margin-top: 25px;
  }
}
@media print {
  header,
  footer,
  nav,
  .actions,
  form,
  .no-print,
  #notice {
    display: none;
  }
  main {
    padding: 0;
  }
  .card {
    border: 0;
  }
}

.auth-shell {
  max-width: 510px;
  margin: 20px auto;
}
.booking-card {
  display: block;
}
.wrap {
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.portfolio-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
}
figure {
  margin: 18px 0;
}
figcaption {
  font-size: 13px;
  color: var(--muted);
  margin-top: 8px;
}

.brand-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 500;
  line-height: 1.5;
}
.check input {
  flex: 0 0 21px;
  width: 21px;
  min-height: 21px;
  margin-top: 2px;
}
.instruction-account {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.instruction-account:last-of-type {
  border: 0;
}
dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
dt {
  color: var(--muted);
}
dd {
  margin: 0;
  font-weight: 600;
}
summary {
  cursor: pointer;
  padding: 12px 0;
  font-weight: 700;
}
details form {
  margin-top: 15px;
}
.card p,
.message,
td {
  overflow-wrap: anywhere;
}

.community-text,
.community-preview {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.community-preview {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.community-photo {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0.5rem 0;
  border-radius: 0.75rem;
}

.portfolio-item {
  margin: 0;
  overflow-wrap: anywhere;
}

#bottom-navigation {
  display: none;
}

.community-ui {
  --green: #2448c6;
  --lime: #f2bf78;
  --ink: #1b2440;
  --muted: #566176;
  --cream: #f4f6fa;
  --line: #e0e5ef;
  --page-width: 1100px;
  font-family: Inter, system-ui, sans-serif;
  background: var(--cream);
}
.community-ui h1,
.community-ui h2,
.community-ui h3 {
  font-family: Inter, system-ui, sans-serif;
}
.community-ui > header {
  position: sticky;
  z-index: 5;
  top: 0;
  padding: 12px max(24px, calc((100% - var(--page-width)) / 2));
  gap: 25px;
  min-height: 65px;
}
.community-ui .brand {
  font:
    800 22px Inter,
    system-ui,
    sans-serif;
  letter-spacing: -0.055em;
  padding-left: 0;
}
.community-ui .mark {
  background: #2549ca;
  color: #fff;
  width: 39px;
  height: 39px;
  border-radius: 12px;
}
.community-ui #navigation {
  display: flex;
  align-items: center;
  flex-direction: row;
  gap: 3px;
  overflow: visible;
}
.community-ui nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 0;
  padding: 11px 10px;
  min-height: 44px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 650;
  color: #535e75;
}
.community-ui nav a:hover,
.community-ui nav a.active {
  color: #233f85;
  background: #edf0fb;
  text-decoration: none;
}
.community-ui .nav-icon {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  font-size: 20px;
  line-height: 1;
}
.community-ui > main {
  width: 100%;
  max-width: calc(var(--page-width) + 48px);
  margin: 0 auto;
  padding: 36px 24px 56px;
}
.community-ui > footer {
  background: transparent;
  padding: 22px max(24px, calc((100% - var(--page-width)) / 2));
}
.community-ui .card {
  border-color: var(--line);
  border-radius: 17px;
  box-shadow: 0 2px 4px #25201306;
}
.community-ui :is(button, .button) {
  border-radius: 10px;
}
.community-ui .secondary {
  background: #edf0fb;
  color: #233f85;
}
.community-ui .pill,
.community-ui .avatar {
  background: #edf0fb;
  color: #233f85;
}
.community-ui .card label {
  color: var(--ink);
}
.community-ui :is(input, select, textarea) {
  border-color: #dbdce5;
  background: #fff;
}
.community-ui :is(a, button, input, select, textarea):focus-visible {
  outline: 3px solid #526bd0;
  outline-offset: 3px;
}
.community-page-heading {
  margin-bottom: 23px;
}
.community-page-heading > p:first-child {
  color: #45578a;
  font-size: 13px;
  font-weight: 750;
  margin: 0 0 3px;
}
.community-page-heading h1 {
  font-size: clamp(30px, 3.5vw, 44px);
  margin: 0;
  letter-spacing: -0.06em;
}
.community-page-heading > p:last-child {
  margin: 8px 0 0;
  color: var(--muted);
}
.community-ui > main:has(> .community-feed-layout) {
  padding-block: 20px 32px;
}
.community-feed-layout {
  width: min(100%, 700px);
  margin-inline: auto;
}
.feed-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 10px;
  margin-bottom: 10px;
}
.feed-filters {
  margin-left: auto;
}
.feed-toolbar:has(.feed-filters[open]) .feed-filters {
  flex-basis: 100%;
}
.feed-filters[open] summary {
  width: fit-content;
  margin-left: auto;
}
.feed-filter-panel {
  width: min(100%, 350px);
  margin: 6px 0 0 auto;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.community-ui .feed-filters .card {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  margin: 0;
}
.community-ui .feed-filters [data-action='lookup-location'] {
  margin-bottom: 12px;
}
.feed-filters .form-grid {
  grid-template-columns: 1fr;
  gap: 10px;
}
.feed-filters [data-selected-places]:empty {
  display: none;
}
.feed-filters button[type='submit'] {
  width: 100%;
}
.feed-empty {
  padding: clamp(25px, 5vw, 48px) 20px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 17px;
}
.feed-empty h2,
.feed-empty h3 {
  margin: 11px 0 4px;
  font-size: 20px;
}
.feed-empty p {
  margin: 0 auto;
  max-width: 365px;
  color: var(--muted);
}
.community-feed-layout .feed-empty,
.community-feed-layout #job-feed-results > .empty {
  padding: 16px;
  border-radius: 12px;
}
.community-feed-layout .feed-empty h2 {
  margin: 0 0 3px;
  font-size: 17px;
}
.community-feed-layout .feed-empty p {
  max-width: none;
  font-size: 14px;
}
.community-ui .community-feed-layout .feed-post {
  padding: 14px;
  margin-bottom: 10px;
  border-radius: 12px;
}
.community-feed-layout .feed-post h2 {
  margin-top: 10px;
  font-size: 20px;
}
.community-feed-layout .feed-post .post-location {
  margin-bottom: 6px;
}
.empty-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: #edf0fb;
  color: #233f85;
  font-size: 24px;
}
.feed-post-header,
.worker-identity {
  display: flex;
  gap: 11px;
  align-items: center;
  min-width: 0;
}
.feed-post-header small {
  display: block;
  margin-top: 2px;
}
.feed-post h2 {
  font-size: 24px;
  margin: 18px 0 4px;
}
.feed-post .post-location {
  font-size: 13px;
  color: #4b5c87;
  font-weight: 650;
  margin: 0 0 11px;
}
.feed-post .community-photo {
  width: 100%;
  max-height: 350px;
  object-fit: cover;
}
.post-type {
  margin-left: auto;
  background: #edf0fb;
  color: #233f85;
  border-radius: 50px;
  padding: 6px 9px;
  font-size: 11px;
  font-weight: 750;
}
.post-type.project {
  background: #fff0db;
  color: #734719;
}
.community-ui .discovery-layout {
  display: grid;
  grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.discovery-filters form {
  min-width: 0;
}
.worker-directory {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 235px), 1fr));
  gap: 14px;
}
.worker-card {
  margin-bottom: 0;
}
.worker-identity h2 {
  font-size: 20px;
  margin: 0;
  overflow-wrap: anywhere;
}
.worker-identity .avatar,
.feed-post-header .avatar {
  flex: 0 0 43px;
}
.worker-card .worker-identity p {
  color: var(--muted);
  font-size: 13px;
  margin: 2px 0 0;
  line-height: 1.45;
}
.worker-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 13px;
}
@media (max-width: 860px) {
  .community-ui {
    padding-bottom: calc(66px + env(safe-area-inset-bottom));
  }
  .community-ui > header {
    position: static;
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    padding: 12px 16px;
    gap: 8px 12px;
    border: 0;
    border-bottom: 1px solid var(--line);
  }
  .community-ui .brand {
    padding: 0;
  }
  .community-ui #navigation {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 2px;
  }
  .community-ui #navigation a {
    display: none;
  }
  .community-ui
    #navigation
    a:is([href='#application'], [href='#service-area'], [href='#community-reports']) {
    display: flex;
    font-size: 12px;
    padding: 5px 8px;
  }
  .community-ui #navigation .nav-icon {
    display: none;
  }
  .community-ui > main {
    padding: 21px 16px 35px;
    width: 100%;
    min-height: 65vh;
  }
  .community-ui > footer {
    padding: 16px;
  }
  .community-ui #bottom-navigation {
    position: fixed;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    z-index: 6;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 5px 8px calc(5px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: #fff;
    gap: 2px;
  }
  .community-ui #bottom-navigation a {
    justify-content: center;
    flex-direction: column;
    gap: 2px;
    padding: 3px 0;
    font-size: 10px;
    white-space: nowrap;
    min-height: 47px;
  }
  .community-ui #bottom-navigation a[href='#post-job'],
  .community-ui #bottom-navigation a:nth-child(3) {
    color: #233f85;
  }
  .community-ui #bottom-navigation a:nth-child(3) .nav-icon {
    border-radius: 7px;
    background: #233f85;
    color: #fff;
  }
  .community-ui .discovery-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
}

.feed-filters summary {
  cursor: pointer;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: white;
  font-size: 13px;
  font-weight: 700;
}
.feed-filters[open] summary {
  color: var(--green);
  border-color: var(--green);
}

.feed-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.feed-title h1 {
  margin: 0;
  font-size: clamp(25px, 3vw, 32px);
  line-height: 1.1;
}
.feed-title p {
  color: var(--muted);
  margin: 7px 0 0;
}
.feed-title .actions {
  margin: 0;
}
.community-ui .feed-title .actions .button {
  padding: 8px 12px;
  font-size: 13px;
}
.feed-types {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-bottom: 0;
  padding: 3px;
  border-radius: 12px;
  background: #e9edf5;
  width: fit-content;
  max-width: 100%;
}
.community-ui .feed-types button {
  background: transparent;
  color: #495571;
  min-height: 36px;
  padding: 5px 10px;
  white-space: nowrap;
  font-size: 13px;
  border-radius: 8px;
}
.community-ui .feed-types button[aria-pressed='true'] {
  background: #fff;
  color: #1b399c;
  box-shadow: 0 1px 4px #1a27531a;
}
@media (max-width: 860px) {
  .community-ui > main:has(> .community-feed-layout) {
    padding-block: 14px 24px;
  }
  .community-ui .feed-types button,
  .feed-filters summary {
    min-height: 44px;
  }
  .feed-filters summary {
    line-height: 26px;
  }
}

.community-ui {
  display: flex;
  flex-direction: column;
  min-height: 100svh;
}
.community-ui > main {
  flex: 1;
}
.community-ui > footer {
  width: 100%;
}
.community-ui .nav-icon {
  position: relative;
  flex: 0 0 23px;
}
.community-ui .nav-icon::before,
.community-ui .nav-icon::after {
  position: absolute;
  box-sizing: border-box;
}
.community-ui .nav-icon-feed::before {
  content: '';
  inset: 4px 4px 4px;
  border: 1.6px solid currentColor;
  border-radius: 3px;
}
.community-ui .nav-icon-feed::after {
  content: '';
  left: 8px;
  top: 9px;
  width: 7px;
  height: 1.5px;
  background: currentColor;
  box-shadow: 0 4px currentColor;
}
.community-ui .nav-icon-search::before {
  content: '';
  width: 12px;
  height: 12px;
  top: 4px;
  left: 4px;
  border: 1.7px solid currentColor;
  border-radius: 50%;
}
.community-ui .nav-icon-search::after {
  content: '';
  width: 7px;
  height: 1.6px;
  top: 16px;
  left: 13px;
  background: currentColor;
  transform: rotate(45deg);
}
.community-ui .nav-icon-add::before {
  content: '+';
  font-size: 19px;
  font-weight: 750;
}
.community-ui .nav-icon-chat::before {
  content: '';
  inset: 4px 3px 6px;
  border: 1.6px solid currentColor;
  border-radius: 4px;
}
.community-ui .nav-icon-chat::after {
  content: '';
  width: 4px;
  height: 4px;
  left: 7px;
  bottom: 3px;
  border-left: 1.6px solid currentColor;
  transform: skewY(-35deg);
}
.community-ui .nav-icon-person::before {
  content: '';
  width: 7px;
  height: 7px;
  top: 3px;
  border: 1.6px solid currentColor;
  border-radius: 50%;
}
.community-ui .nav-icon-person::after {
  content: '';
  width: 14px;
  height: 8px;
  bottom: 3px;
  border: 1.6px solid currentColor;
  border-radius: 8px 8px 3px 3px;
}
.community-ui .nav-icon-help::before {
  content: '?';
  font-size: 16px;
  font-weight: 750;
}
.community-ui .nav-icon-pin::before {
  content: '';
  width: 12px;
  height: 15px;
  border: 1.6px solid currentColor;
  border-radius: 8px 8px 8px 2px;
  transform: rotate(-45deg);
}

/* Service discovery */
.service-search {
  max-width: 850px;
  margin-inline: auto;
}
.service-intro h1 {
  margin: 0;
  font-size: clamp(29px, 4vw, 44px);
}
.service-intro p {
  color: var(--muted);
  margin: 7px 0 21px;
}
.service-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
}
.service-location {
  border-top: 1px solid var(--line);
  margin-top: 18px;
  padding-top: 16px;
}
.community-ui .service-location .card {
  margin: 0;
  padding: 0;
  border: 0;
  box-shadow: none;
}
.service-location [data-place-options] ul {
  list-style: none;
  padding: 0;
}
.service-location [data-place-options] li {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 5px;
}
.service-submit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: space-between;
  margin-top: 12px;
}
.service-results {
  margin-top: 22px;
}
.service-results h2 {
  font-size: 20px;
  margin: 0 0 10px;
}
.worker-results-hint {
  color: var(--muted);
  border-top: 1px solid var(--line);
  margin: 0;
  padding: 13px 0;
}
@media (max-width: 860px) {
  .service-panel {
    padding: 13px;
  }
  .service-submit-actions > button {
    flex: 1;
    padding-inline: 8px;
  }
}

.service-search {
  max-width: 1080px;
}
.service-search-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: clamp(24px, 5vw, 76px);
}
.service-search-copy {
  min-width: 0;
}
.directory-back {
  display: inline-block;
  margin-bottom: 19px;
  color: var(--green);
  font-size: 14px;
  font-weight: 700;
}
.service-search-copy h1 {
  margin: 0;
  font-size: clamp(45px, 6vw, 80px);
  font-weight: 800;
  line-height: 0.99;
  letter-spacing: -0.075em;
}
.service-search-copy p {
  color: var(--muted);
  margin: 14px 0 22px;
}
.directory-photo {
  aspect-ratio: 2 / 1;
  border-radius: 14px;
  background: #213149 url('/community-welcome.webp') 60% 43% / cover no-repeat;
}
.service-search .service-panel {
  padding: clamp(18px, 3vw, 29px);
  border-radius: 18px;
  box-shadow: 0 8px 26px #2035590c;
}
.directory-label {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 750;
}
.service-search .service-tile {
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 5px;
  border-radius: 10px;
  min-height: 87px;
}
.service-search .service-symbol {
  background: transparent;
  height: 28px;
}
.service-search .service-location {
  padding-top: 19px;
  margin-top: 19px;
}
.service-search .service-location form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: end;
}
.service-search .service-location form > div {
  grid-column: 1 / -1;
}
.service-search .service-location button[type='submit'] {
  padding-inline: 12px;
}
.service-search .service-submit-actions {
  align-items: center;
  margin-top: 9px;
}
.service-search .service-submit-actions .secondary {
  background: transparent;
  color: var(--green);
  padding-left: 0;
}
.service-search .service-submit-actions [type='submit'] {
  flex: 1 0 100%;
}
.service-search .service-results:empty {
  display: none;
}
@media (max-width: 860px) {
  .service-search-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 17px;
  }
  .service-search-copy h1 {
    font-size: clamp(34px, 9vw, 48px);
  }
  .service-search-copy h1 br,
  .directory-photo {
    display: none;
  }
  .service-search-copy h1 br::after {
    content: ' ';
  }
  .service-search-copy p {
    margin: 8px 0 0;
  }
  .directory-back {
    margin-bottom: 11px;
  }
  .service-search .service-panel {
    padding: 15px;
  }
}

/* Community landing page */
.community-landing > header {
  position: relative;
  min-height: 52px;
  padding-block: 4px;
  gap: 14px;
  color: var(--ink);
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.community-landing > header .brand {
  gap: 8px;
  flex-shrink: 0;
  font-size: 20px;
}
.community-landing > header .mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  font-size: 22px;
}
.community-landing #navigation {
  justify-content: flex-end;
  gap: clamp(3px, 0.8vw, 10px);
}
.community-landing #navigation a {
  position: relative;
  color: var(--ink);
  white-space: nowrap;
  padding: 6px 7px;
}
.community-landing #navigation a:hover,
.community-landing #navigation a.active {
  color: var(--green);
  background: transparent;
}
.community-landing #navigation a.active::after {
  content: '';
  position: absolute;
  bottom: 3px;
  inset-inline: 7px;
  height: 2px;
  border-radius: 2px;
  background: var(--green);
}
.community-landing #navigation a:is([href='#login'], [href='#account']) {
  margin-inline-start: 5px;
  padding-inline: 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--green);
}
.community-landing #navigation a:is([href='#login'], [href='#account']):hover {
  background: #edf0fb;
}
@media (max-width: 860px) {
  .community-ui.community-landing > header {
    display: flex;
    position: relative;
    flex-wrap: nowrap;
    padding: 4px 16px;
  }
  .community-ui.community-landing > header .brand {
    margin: 0;
  }
  .community-ui.community-landing #navigation {
    width: auto;
    margin-inline-start: auto;
    padding-bottom: 0;
  }
  .community-landing #navigation a:is([href='#login'], [href='#account']) {
    display: flex;
    min-height: 44px;
    padding: 5px 11px;
    font-size: 13px;
  }
  .community-landing
    #navigation
    a:is([href='#application'], [href='#service-area'], [href='#community-reports']) {
    display: none;
  }
}
.community-landing > main {
  max-width: none;
  padding: 0 0 56px;
}
.landing-container {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}
.landing-hero {
  --hero-shade: linear-gradient(90deg, #09273dd9, #09273d5c 55%, transparent 85%);
  position: relative;
  isolation: isolate;
  color: #fff;
  background: #162331;
  height: clamp(250px, 20.833vw, 400px);
  padding-block-start: clamp(28px, 3.5vw, 55px);
  overflow: hidden;
}
.hero-media,
.hero-media::after,
.hero-frame {
  position: absolute;
  inset: 0;
}
.hero-media {
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.hero-media::after {
  content: '';
  background: var(--hero-shade);
}
.hero-frame {
  background: var(--hero-photo) var(--hero-position) / cover no-repeat;
  opacity: 0;
  transition: opacity 850ms ease;
}
.hero-frame[data-hero-frame='0'] {
  --hero-photo: url('/patrabaho-trades-desktop.webp');
  --hero-position: center top;
}
.hero-frame[data-hero-frame='1'] {
  --hero-photo: url('/patrabaho-professionals-desktop.webp');
  --hero-position: center top;
}
.hero-frame[data-hero-frame='2'] {
  --hero-photo: url('/patrabaho-factory-desktop.webp');
  --hero-position: center top;
}
.landing-hero[data-hero-slide='0'] :where([data-hero-frame='0']),
.landing-hero[data-hero-slide='1'] :where([data-hero-frame='1']),
.landing-hero[data-hero-slide='2'] :where([data-hero-frame='2']) {
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  .landing-hero .hero-frame {
    transition: none;
  }
}
.hero-slide-controls {
  position: absolute;
  left: 50%;
  bottom: 67px;
  transform: translateX(-50%);
  display: flex;
}
.community-ui .hero-slide-controls button {
  display: grid;
  place-items: center;
  width: 24px;
  min-height: 24px;
  padding: 0;
  background: transparent;
  border-radius: 50%;
}
.hero-slide-controls button::before {
  content: '';
  width: 5px;
  height: 5px;
  border: 1px solid #ffffffb8;
  box-shadow: 0 0 2px #101827;
  border-radius: 50%;
}
.hero-slide-controls button[aria-pressed='true']::before {
  background: white;
}
.landing-booking {
  position: relative;
  margin-block-start: -60px;
}
.hero-copy {
  position: relative;
}
.hero-copy h1 {
  max-width: min(450px, 36vw);
  margin: 0;
  font-size: clamp(25px, 3.2vw, 43px);
  line-height: 1.14;
}
.hero-copy p {
  max-width: min(400px, 34vw);
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.5;
}
.landing-shortcuts {
  display: flex;
  width: fit-content;
  max-width: 100%;
  background: #183b91;
  border-radius: 12px 12px 0 0;
}
.community-ui .landing-shortcuts :is(a, button) {
  min-height: 46px;
  padding: 9px clamp(16px, 3vw, 38px);
  border-radius: 0;
  white-space: nowrap;
  background: transparent;
  color: #fff;
}
.community-ui .landing-shortcuts :is(a, button):first-child {
  border-top-left-radius: 12px;
}
.community-ui .landing-shortcuts button:last-child {
  border-top-right-radius: 12px;
}
.community-ui .landing-shortcuts :is(a, button):hover {
  background: #254caa;
}
.community-ui .landing-shortcuts button[aria-pressed='true'] {
  background: #fff;
  color: #183b91;
  box-shadow: inset 0 3px 0 #f9cf45;
}
.landing-booking .service-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 7px 20px;
  box-shadow: 0 12px 32px #15264d14;
  border-start-start-radius: 0;
  padding: 14px clamp(14px, 2vw, 22px);
}
.landing-booking .directory-label {
  grid-column: 1;
  margin: 0;
}
.landing-booking .service-tiles {
  grid-column: 1;
  grid-row: 2;
}
.community-ui .landing-booking .service-tile {
  flex-direction: row;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 5px 7px;
  border-radius: 9px;
  font-size: 12px;
}
.landing-booking .service-symbol {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  font-size: 14px;
  border-radius: 6px;
}
.landing-booking .service-location {
  grid-column: 2;
  grid-row: 1 / span 2;
  margin: 0;
  padding: 0;
  border: 0;
}
.landing-booking .service-location form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 8px;
}
.landing-booking .service-location form > :is([data-place-scope], [data-place-options]) {
  grid-column: 1 / -1;
}
.community-ui .landing-booking [data-landing-submit] {
  background: #f9cf45;
  color: #152442;
  white-space: nowrap;
}
.community-ui .landing-booking [data-landing-submit]:hover {
  background: #efc037;
}
.landing-booking
  :is([data-place-scope], [data-place-options], [data-selected-places], [data-point-status]):empty {
  display: none;
}
.landing-area-field {
  position: relative;
  min-width: 0;
}
.landing-area-field:has([data-clear-landing-area]:not([hidden])) input {
  padding-inline-end: 48px;
  text-overflow: ellipsis;
}
.community-ui .landing-booking .landing-area-field [data-clear-landing-area][hidden] {
  display: none;
}
.community-ui .landing-booking .landing-area-field [data-clear-landing-area] {
  position: absolute;
  inset-inline-end: 2px;
  bottom: 1px;
  width: 44px;
  padding: 0;
  background: transparent;
  font-size: 20px;
}
.landing-booking .service-submit {
  display: none;
}
.community-ui .landing-booking :is(.service-location form, .service-submit-actions) button {
  min-height: 44px;
  padding-block: 8px;
}
.landing-booking .service-results:empty {
  display: none;
}
.landing-explore {
  padding-top: 35px;
}
.landing-explore h2 {
  margin-bottom: 14px;
  font-size: 24px;
}
.landing-explore .service-tile {
  min-height: 96px;
}
@media (max-width: 860px) {
  .community-landing > main {
    padding: 0 0 32px;
  }
  .landing-container {
    width: calc(100% - 32px);
  }
  .landing-hero {
    height: auto;
    padding: 0;
    --hero-shade: linear-gradient(0deg, #0a1e3080, transparent 48%);
  }
  .hero-copy {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .hero-copy p {
    display: none;
  }
  .hero-media {
    position: relative;
    height: clamp(145px, 45.128vw, 320px);
  }
  .hero-frame[data-hero-frame='0'] {
    --hero-photo: url('/patrabaho-trades-mobile.webp');
  }
  .hero-frame[data-hero-frame='1'] {
    --hero-photo: url('/patrabaho-professionals-mobile.webp');
  }
  .hero-frame[data-hero-frame='2'] {
    --hero-photo: url('/patrabaho-factory-mobile.webp');
  }
  .landing-shortcuts {
    width: 100%;
  }
  .community-ui .landing-shortcuts :is(a, button) {
    flex: 1;
    justify-content: center;
    padding: 9px 6px;
    font-size: 12px;
  }
  .landing-booking .service-panel {
    display: block;
    border-radius: 0 0 16px 16px;
  }
  .landing-booking .directory-label {
    margin-bottom: 8px;
  }
  .landing-booking .service-location {
    margin-top: 9px;
  }
  .landing-explore {
    padding-top: 23px;
  }
}

@media (max-width: 430px) {
  .community-ui .landing-booking .service-tile {
    flex-direction: column;
    gap: 3px;
    min-height: 54px;
    padding: 4px;
    text-align: center;
  }
  .community-ui .landing-booking .service-location form button {
    padding-inline: 8px;
    font-size: 12px;
  }
}

.service-picker {
  position: relative;
  min-width: 0;
}
.service-options {
  position: absolute;
  z-index: 4;
  top: calc(100% + 4px);
  inset-inline: 0;
  max-height: 225px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  box-shadow: 0 8px 20px #172b5026;
}
.service-options ul {
  list-style: none;
  margin: 0;
  padding: 4px;
}
.service-options p {
  margin: 0;
  padding: 10px 12px;
  color: var(--muted);
}
.service-options p:empty {
  display: none;
}
.community-ui .service-options button {
  display: flex;
  justify-content: flex-start;
  width: 100%;
  min-height: 44px;
  padding: 8px 12px;
  background: white;
  color: var(--ink);
}
.community-ui .service-options button:is(:hover, :focus-visible) {
  background: #edf0fb;
}
.landing-booking .service-picker {
  grid-column: 1;
}
.landing-booking .service-location {
  grid-row: 1;
}
@media (min-width: 861px) {
  .landing-booking .service-panel {
    align-items: start;
  }
}

.community-login {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  max-width: 920px;
  margin: 12px auto 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 16px 42px #14234012;
}
.community-login:has(.login-content:only-child) {
  display: block;
  max-width: 480px;
}
.login-content {
  min-width: 0;
  padding: clamp(24px, 4vw, 48px);
}
.login-back,
.login-recovery,
.login-register a {
  color: var(--green);
  font-size: 14px;
  font-weight: 700;
}
.login-back {
  display: inline-block;
  margin-bottom: 24px;
}
.login-content h1 {
  margin: 0;
  font-size: clamp(32px, 5vw, 46px);
}
.login-content > p {
  margin: 8px 0 24px;
  color: var(--muted);
}
.login-content .form-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 13px;
}
.login-content form > button {
  width: 100%;
  margin-top: 17px;
}
.login-recovery {
  justify-self: end;
}
.login-otp {
  font-size: 13px;
  color: var(--muted);
}
.login-otp summary {
  cursor: pointer;
}
.login-otp label {
  margin-top: 8px;
}
.login-register {
  margin-top: 23px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.login-photo {
  background: #17283b url('/community-login.webp?v=portrait') center / cover no-repeat;
}
.community-signup .login-content {
  padding: clamp(20px, 3vw, 36px);
}
.community-signup h1 {
  margin-bottom: 18px;
  font-size: clamp(27px, 4vw, 37px);
}
.signup-roles {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.signup-roles legend {
  margin-bottom: 6px;
  padding: 0;
  font-size: 14px;
  font-weight: 700;
}
.signup-role-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.signup-role-options label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}
.signup-role-options label:has(input:checked) {
  border-color: var(--green);
  background: #edf0fb;
}
.signup-role-options input {
  width: 16px;
  height: 16px;
  flex: none;
  margin: 2px 0 0;
  accent-color: var(--green);
}
.community-signup small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
}
.community-signup .login-register {
  margin-top: 16px;
  padding-top: 12px;
}
@media (max-width: 720px) {
  .community-login {
    display: block;
    max-width: 480px;
    margin-top: 0;
  }
  .login-photo {
    display: none;
  }
}

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

.profile-service-group summary {
  padding: 10px 4px;
  cursor: pointer;
}

.profile-service-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 8px 16px;
  padding: 0 12px 12px;
}

.community-ui .service-options .service-category-option {
  font-weight: 700;
}

.community-ui .service-options .service-item-option {
  padding-inline-start: 24px;
}


.landing-section-header,
.landing-discovery-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.landing-section-header {
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.landing-explore h2 {
  margin: 0 0 14px;
  font-size: clamp(20px, 2.5vw, 24px);
}

.landing-section-header h2 {
  margin: 0;
}

.landing-explore :is(.landing-section-header, .landing-discovery-card) a {
  color: var(--green);
  font-weight: 700;
}

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

.landing-discovery-card {
  min-height: 58px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  /* "anywhere" cut long names such as "Electrical troubleshooting" in the middle of a word on a
     phone. break-word only splits a word when it cannot fit on a line at all, and hyphens let
     the browser split at a sensible place. */
  overflow-wrap: break-word;
  hyphens: auto;
}
@media (max-width: 480px) {
  .landing-discovery-card {
    padding: 12px 10px;
    font-size: 14px;
  }
}

a.landing-discovery-card:hover {
  border-color: var(--green);
  color: var(--green);
  text-decoration: none;
}

.landing-job-card {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.landing-job-card small {
  color: var(--muted);
}

.landing-ad {
  margin-block-start: 24px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--muted);
}

@media (max-width: 600px) {
  .landing-discovery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .landing-job-card {
    grid-column: 1 / -1;
  }
}

.community-hq > main {
  max-width: 960px;
}

.community-hq:has(.hq-login) {
  padding-bottom: 0;
}

.community-hq:has(.hq-login) > header {
  min-height: 56px;
  padding-block: 8px;
}

.community-hq > main:has(.hq-login) {
  padding-top: clamp(24px, 6vw, 72px);
}

.hq-login.community-login:has(.login-content:only-child) {
  max-width: 420px;
  margin-top: 0;
  border-top: 4px solid var(--green);
  border-radius: 14px;
  box-shadow: 0 12px 32px #1423400d;
}

.hq-login .login-content {
  padding: clamp(18px, 4vw, 32px);
}

.hq-login .login-content h1 {
  font-size: clamp(23px, 5vw, 30px);
  line-height: 1.16;
}

.hq-login .login-content > p {
  margin: 7px 0 20px;
  font-size: 14px;
}

.hq-session {
  display: flex;
  justify-content: flex-end;
}

.hq-records {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 12px;
  margin-top: 20px;
}

.hq-records article {
  margin: 0;
  overflow-wrap: anywhere;
}

.community-hq > footer,
.community-hq #bottom-navigation {
  display: none;
}

@media (max-width: 860px) {
  .community-hq #navigation a {
    display: flex;
  }
}

.hq-login-step:not([hidden]) {
  display: grid;
  gap: 13px;
}

.hq-login-step small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-weight: 400;
}

.hq-login-step [data-hq-back] {
  justify-self: start;
}

.landing-post-panel {
  margin: 0;
  border-start-start-radius: 0;
}
