/* Service and customer flows matching the supplied nursery app references. */
.service-directory {
  padding-block: clamp(16px, 3vw, 32px);
}
.service-directory > h1 {
  margin: 0 0 14px;
  font-size: clamp(24px, 3vw, 34px);
}
.service-category-choices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 8px;
}
.service-category-choice {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 5px;
  min-width: 0;
  min-height: 76px;
  padding: 8px 4px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  background: #f7f9f4;
  font: inherit;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.25;
  text-align: center;
  overflow-wrap: anywhere;
  cursor: pointer;
}
.service-category-choice[aria-pressed="true"] {
  color: var(--green);
  background: #eaf3e4;
  border-color: var(--green);
}
.service-category-choice > span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: var(--green);
}
.service-category-choice img {
  width: 100%;
  height: 100%;
  border-radius: 7px;
  object-fit: cover;
}
.service-category-choice svg {
  width: 25px;
  height: 25px;
}
.service-directory-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-block: 16px 10px;
}
.service-directory-toolbar h2 {
  margin: 0;
  font-size: clamp(16px, 2vw, 22px);
  overflow-wrap: anywhere;
}
.service-directory-toolbar form {
  flex: 0 1 300px;
  min-width: 0;
}
.service-directory-toolbar .search-field {
  width: 100%;
  padding: 0 0 0 10px;
}
.service-directory-toolbar .search-field:focus-within {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}
.service-directory-toolbar input {
  flex: 1;
  font-size: 13px;
}
.service-directory-toolbar button {
  display: grid;
  flex: 0 0 44px;
  min-height: 44px;
  place-items: center;
  padding: 0;
  border: 0;
  color: var(--green);
  background: transparent;
  cursor: pointer;
}
.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.service-list-card {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.service-list-overview {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: inherit;
}
.service-list-overview img {
  width: clamp(54px, 8vw, 80px);
  aspect-ratio: 1;
  flex: none;
  border-radius: 8px;
  object-fit: cover;
}
.service-list-overview h3 {
  margin: 0;
  font-size: clamp(14px, 2vw, 17px);
  overflow-wrap: anywhere;
}
.service-list-overview p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  margin: 3px 0;
  overflow: hidden;
  font-size: 12px;
  line-height: 1.3;
}
.service-list-overview strong {
  color: var(--green);
  font-size: 12px;
  line-height: 1.3;
}
.service-list-card > button {
  flex: none;
  min-height: 44px;
  padding-inline: 9px;
}
.reference-booking-entry .booking-service-options[hidden],
.reference-booking-entry [data-booking-property-fields][hidden] {
  display: none;
}
@media (max-width: 640px) {
  .service-category-choices {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .service-directory-toolbar form {
    flex-basis: 54%;
  }
  .service-list {
    grid-template-columns: minmax(0, 1fr);
  }
}

.reference-service-page.reference-service-overview,
.reference-service-page.reference-booking-entry,
.reference-service-page.reference-booking-detail {
  --reference-forest: #07560b;
  max-width: 1120px;
  color: #171d15;
  background: #fff;
}
.reference-service-page .reference-page-back {
  margin-bottom: 18px;
  padding-bottom: 14px;
}
.reference-service-page h2 {
  color: #171d15;
}
.reference-service-overview .reference-split-service-hero {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  border: 0;
  background: #f5f8f0;
  border-radius: 14px;
}
.reference-service-overview .reference-split-service-hero > div {
  padding: 30px;
  gap: 15px;
}
.reference-service-overview .reference-split-service-hero > img {
  aspect-ratio: 1.3;
  height: 100%;
  border-radius: 45% 0 0 45% / 100% 0 0 100%;
  object-fit: cover;
}
.reference-service-overview .reference-split-service-hero h2 {
  color: #07560b;
  font-size: clamp(26px, 3.1vw, 39px);
  line-height: 1.15;
}
.reference-service-overview .reference-split-service-hero h2 > span {
  display: block;
  color: #171d15;
}
.reference-service-overview .reference-split-service-hero p {
  font-size: 14px;
  color: #20271c;
  line-height: 1.6;
}
.reference-service-overview .reference-hero-benefits {
  display: flex;
  gap: 15px;
  justify-content: space-between;
  width: 100%;
}
.reference-hero-benefits > span {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}
.reference-hero-benefits .icon {
  box-sizing: content-box;
  width: 25px;
  height: 25px;
  border: 1px solid #dce7d4;
  border-radius: 50%;
  background: #fff;
  padding: 9px;
}
.reference-hero-benefits small {
  font-size: 11px;
  line-height: 1.4;
  color: #20271c;
}
.reference-service-overview .reference-benefit-section,
.reference-service-overview .reference-service-offerings,
.reference-service-overview .reference-process {
  margin: 25px 0;
}
.reference-service-overview .reference-benefit-section > h2,
.reference-service-overview .reference-service-offerings > h2,
.reference-service-overview .reference-process > h2 {
  margin: 0 0 15px;
  font-size: 20px;
}
.reference-benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
}
.reference-benefit-grid article {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 10px;
  background: #f6f8f1;
  border-radius: 12px;
  padding: 19px;
}
.reference-benefit-grid article > .icon {
  width: 28px;
  height: 28px;
}
.reference-benefit-grid h3 {
  font-size: 13px;
  line-height: 1.4;
  margin: 0;
  align-self: center;
}
.reference-benefit-grid p {
  grid-column: 1 / -1;
  font-size: 12px;
  line-height: 1.6;
  margin: 0;
  color: #22291f;
}
.reference-offering-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}
.reference-offering-card {
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  min-width: 0;
  border: 1px solid #e8ebe3;
  border-radius: 13px;
  color: #171d15;
  background: #fff;
}
.reference-offering-card > img {
  width: 100%;
  height: 165px;
  object-fit: cover;
}
.reference-offering-card > div {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 18px 14px 15px;
}
.reference-offering-icon {
  position: absolute;
  left: 13px;
  top: -22px;
  border: 2px solid #fff;
  background: #07560b;
  padding: 7px;
  border-radius: 50%;
}
.reference-offering-icon .icon {
  width: 23px;
  height: 23px;
  color: #fff;
}
.reference-offering-card h3 {
  font-size: 15px;
  margin: 5px 0 6px;
  line-height: 1.35;
}
.reference-offering-card p {
  font-size: 12px;
  line-height: 1.6;
  color: #262f21;
  margin: 0 0 13px;
}
.reference-offering-card strong {
  font-size: 13px;
  color: #07560b;
  margin-top: auto;
  padding-right: 32px;
}
.consultation-tag {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin-top: 3px;
  padding: 2px 6px;
  border-radius: 4px;
  background: #fff0d8;
  color: #7a3709;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.3;
}
.reference-offering-card .consultation-tag {
  max-width: calc(100% - 32px);
}
.reference-fee-amount {
  flex-shrink: 0;
  text-align: right;
}
.reference-fee-amount .consultation-tag {
  margin-left: auto;
}
.service-card .consultation-tag {
  font-size: clamp(0.6rem, 1.4vw, 0.72rem);
}
.service-consultation-pricing {
  display: block;
}
.service-charge-estimate {
  display: block;
  margin-top: 4px;
  color: #555d50;
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.35;
}
.reference-offering-card .service-charge-estimate {
  padding-right: 32px;
}
.reference-price-breakdown .reference-service-charge-heading {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px dashed #cbd4c2;
  font-weight: 650;
  color: #354630;
}
.reference-price-breakdown .reference-service-charge-total {
  font-weight: 650;
}
.reference-offering-open {
  width: 29px;
  height: 29px;
  border: 1px solid #d9e3d1;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 11px;
  bottom: 12px;
  background: #fff;
  color: #07560b;
}
.reference-offering-open .icon {
  width: 17px;
  height: 17px;
}
.reference-offering-select {
  position: absolute;
  inset: 0;
  width: 100%;
  z-index: 1;
  border: 0;
  border-radius: inherit;
  padding: 0;
  background: transparent;
  cursor: pointer;
}
.reference-offering-card:focus-visible,
.reference-offering-select:focus-visible {
  outline: 2px solid #07560b;
  outline-offset: -3px;
}
.reference-offering-select > .reference-offering-open {
  pointer-events: none;
}
@media (hover: hover) {
  .reference-offering-card:is(a, :has(.reference-offering-select)):hover {
    border-color: #8ba981;
  }
  .reference-offering-card:hover .reference-offering-open {
    color: #fff;
    background: #07560b;
  }
}
.reference-service-overview .reference-process > div {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  border: 0;
}
.reference-service-overview .reference-process article {
  padding: 0;
  gap: 9px;
  position: relative;
}
.reference-service-overview .reference-process article:not(:last-child)::after {
  content: "→";
  color: #92a185;
  position: absolute;
  left: calc(50% + 40px);
  top: 20px;
  width: calc(100% - 65px);
  border-bottom: 1px dashed #b6c3ad;
  line-height: 1px;
  text-align: right;
}
.reference-service-overview .reference-process article > span {
  width: 57px;
  height: 57px;
  background: #07560b;
  color: #fff;
  padding: 14px;
  position: relative;
}
.reference-service-overview .reference-process .icon {
  width: 28px;
  height: 28px;
  color: #fff;
}
.reference-service-overview .reference-process article > span > b {
  position: absolute;
  bottom: -3px;
  left: 0;
  background: #07560b;
  color: #fff;
  border: 1px solid #fff;
  width: 21px;
  height: 21px;
  line-height: 19px;
  font-size: 11px;
  border-radius: 50%;
}
.reference-service-overview .reference-process strong {
  font-size: 12px;
  line-height: 1.3;
}
.reference-service-overview .reference-process p {
  margin: 0;
  font-size: 11px;
  line-height: 1.55;
  max-width: 145px;
  color: #292f25;
}
.reference-service-cta {
  display: flex;
  align-items: center;
  gap: 17px;
  padding: 19px 22px;
  background: #f1f5e9;
  border-radius: 12px;
  margin-top: 24px;
}
.reference-service-cta > span > .icon {
  width: 42px;
  height: 42px;
}
.reference-service-cta > div {
  flex: 1;
}
.reference-service-cta h2 {
  font-size: 19px;
  color: #07560b;
  margin: 0 0 5px;
}
.reference-service-cta p {
  margin: 0;
  font-size: 12px;
}
.reference-floating-consultation.btn {
  display: none;
}
.reference-service-overview .reference-service-details,
.reference-service-overview .reference-service-faq {
  border: 1px solid #e8ebe3;
  border-radius: 10px;
  padding: 14px 16px;
  margin: 16px 0;
  font-size: 13px;
}
.reference-service-overview details > summary {
  cursor: pointer;
  font-weight: 650;
}
.reference-service-overview details p {
  line-height: 1.7;
  font-size: 12px;
  margin-bottom: 0;
}
/* Checkout keeps its controls and summary in one form. */
.reference-service-page.reference-booking-entry {
  max-width: 1080px;
}
.reference-booking-entry .reference-page-back {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-bottom: 20px;
}
.reference-booking-checkout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  align-items: start;
  gap: clamp(20px, 4vw, 48px);
}
.reference-checkout-fields,
.reference-checkout-summary {
  min-width: 0;
}
.reference-checkout-summary {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  background: #f7faf5;
}
.reference-checkout-summary h2,
.reference-review-heading h2 {
  font-size: 1.125rem;
  margin: 0;
}
.reference-booking-service {
  margin: 7px 0 14px;
  color: #4b5844;
  font-size: 0.875rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.reference-booking-payable {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 10px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-weight: 650;
  font-size: 0.875rem;
}
.reference-booking-payable strong {
  color: #07560b;
  font-size: 1.125rem;
}
.reference-checkout-summary .btn {
  width: 100%;
  min-height: 44px;
  justify-content: center;
}
.reference-checkout-summary .field-note {
  font-size: 0.8rem;
  margin-top: 10px;
}
.reference-checkout-summary .reference-price-breakdown {
  margin: 12px 0 0;
  padding: 0;
  border: 0;
  background: transparent;
}
.reference-checkout-summary .reference-price-breakdown > div {
  gap: 8px;
  overflow-wrap: anywhere;
}
.reference-checkout-summary .reference-price-total strong {
  font-size: 1rem;
}
.reference-booking-entry .reference-form-section {
  min-inline-size: 0;
  margin: 0 0 16px;
  padding: 0 0 16px;
}
.reference-booking-entry .reference-form-section > legend {
  font-size: 1rem;
  margin-bottom: 10px;
}
.reference-booking-step {
  display: inline-grid;
  place-items: center;
  width: 25px;
  height: 25px;
  margin-right: 5px;
  border-radius: 50%;
  background: #e7efdf;
  color: #07560b;
  font-size: 0.8rem;
  vertical-align: middle;
}
.reference-booking-entry .form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.reference-booking-entry [data-booking-package-field][hidden],
.reference-booking-entry [data-booking-service-extras][hidden] {
  display: none;
}
.booking-mode-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}
.booking-mode-option {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}
.booking-mode-option:has(:checked) {
  border-color: var(--green);
  background: #f2f7ee;
}
.booking-mode-option input {
  flex: 0 0 auto;
  margin: 3px 0 0;
  accent-color: var(--green);
}
.booking-mode-option strong,
.booking-mode-option small {
  display: block;
  font-size: 0.875rem;
  line-height: 1.35;
}
.booking-mode-option small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.75rem;
}
.reference-booking-entry .field {
  min-width: 0;
}
.reference-booking-entry .field input,
.reference-booking-entry .field select,
.reference-booking-entry .field textarea {
  min-width: 0;
  width: 100%;
  min-height: 44px;
  font-size: 1rem;
}
.reference-booking-entry [role="status"]:empty {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.reference-booking-options {
  border-block: 1px solid var(--line);
}
.reference-booking-disclosure + .reference-booking-disclosure {
  border-top: 1px solid var(--line);
}
.reference-booking-disclosure > summary {
  padding: 12px 0;
  min-height: 44px;
  cursor: pointer;
  font-weight: 650;
}
.reference-booking-disclosure > div {
  padding: 2px 0 12px;
}
.reference-booking-disclosure .reference-addon-options {
  grid-template-columns: 1fr;
}
.reference-booking-disclosure .reference-addon-options label {
  padding: 10px 12px;
  min-height: 44px;
  cursor: pointer;
}
.reference-booking-disclosure .reference-addon-options input {
  flex: 0 0 16px;
  margin: 0;
}
.reference-booking-disclosure .reference-addon-options b {
  flex-shrink: 0;
}
.reference-booking-disclosure .reference-upload-field {
  margin-top: 12px;
}
.reference-booking-disclosure .checkout-promo {
  align-items: flex-end;
}
.reference-booking-disclosure .checkout-promo > .field {
  flex: 1;
}
.reference-review-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 14px;
}
.reference-review-heading .btn {
  min-height: 44px;
}
.reference-review-section {
  border-top: 1px solid var(--line);
  padding: 14px 0;
  overflow-wrap: anywhere;
}
.reference-review-section h3 {
  font-size: 1rem;
  margin: 0 0 10px;
}
.reference-review-section > p {
  font-size: 0.875rem;
  margin: 0 0 5px;
}
.reference-review-section .reference-review-notes {
  margin-top: 12px;
  white-space: pre-wrap;
}
@media (min-width: 761px) and (min-height: 650px) {
  .reference-checkout-summary {
    position: sticky;
    top: calc(var(--store-header-height, 115px) + 16px);
  }
}
@media (max-width: 760px) {
  .reference-booking-checkout {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 380px) {
  .reference-booking-entry .form-grid,
  .booking-mode-options {
    grid-template-columns: minmax(0, 1fr);
  }
  .reference-checkout-summary {
    padding: 14px;
  }
}
.reference-review-address {
  display: flex;
  gap: 9px;
  align-items: center;
  font-size: 13px;
}
.reference-booking-entry .reference-review-address {
  overflow-wrap: anywhere;
}
.reference-inline-note {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  background: #f3f6ee;
  border-radius: 8px;
  margin: 11px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: #273321;
}
.reference-inline-note > .icon {
  width: 21px;
  height: 21px;
  flex-shrink: 0;
}
/* Five persisted stages, with no artificial timers or vendor-progress claims. */
.reference-five-steps.reference-workflow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0 28px;
}
.reference-five-steps.reference-free-workflow {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.reference-five-steps.reference-workflow > span {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  border: 0;
  padding: 0;
  position: relative;
  color: #555d50;
}
.reference-five-steps.reference-workflow > span > b {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1.5px solid #a9afa5;
  border-radius: 50%;
  color: #555d50;
  background: #fff;
  font-size: 19px;
  font-weight: 500;
}
.reference-five-steps.reference-workflow > span:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 17px;
  left: calc(50% + 25px);
  width: calc(100% - 37px);
  height: 1px;
  line-height: 1px;
  color: #a1a99b;
  text-align: right;
  border-bottom: 1px dashed #b9c1b2;
}
.reference-five-steps.reference-workflow > span.active > b {
  background: #07560b;
  color: #fff;
  border-color: #07560b;
}
.reference-five-steps.reference-workflow > span.done::after {
  border-bottom-style: solid;
  border-color: #07560b;
  color: #07560b;
}
.reference-five-steps .icon {
  width: 20px;
  height: 20px;
  color: #fff;
}
.reference-five-steps small {
  font-size: 12px;
  max-width: 110px;
  line-height: 1.4;
}
.reference-match-intro {
  background: #f7f9f3;
  border: 1px solid #edf0e7;
  border-radius: 15px;
  padding: 20px;
}
.reference-matching-page .reference-match-status {
  border: 0;
  padding: 5px 10px;
  background: transparent;
  display: flex;
  gap: 23px;
  align-items: center;
  text-align: left;
}
.reference-match-emblem {
  width: 95px;
  height: 95px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #07560b;
}
.reference-match-emblem > .icon {
  width: 68px;
  height: 68px;
}
.reference-matching-page .reference-match-status h2 {
  color: #07560b;
  font-size: 25px;
  margin: 0 0 10px;
  line-height: 1.3;
}
.reference-matching-page .reference-match-status p {
  max-width: none;
  color: #3b4336;
  font-size: 13px;
  margin: 0;
}
.reference-matching-page .reference-partner {
  margin: 15px 0 0;
  border-color: #e7ece0;
  padding: 16px;
  gap: 15px;
}
.reference-partner .reference-avatar {
  width: 65px;
  height: 65px;
  font-size: 27px;
}
.reference-matching-page .reference-partner h3 {
  font-size: 20px;
}
.reference-matching-page .reference-partner p {
  display: flex;
  align-items: center;
  gap: 5px;
}
.reference-partner p > .icon {
  width: 15px;
  height: 15px;
}
.reference-partner-identity {
  min-width: 0;
  flex: 1;
  overflow-wrap: anywhere;
}
.reference-partner-contact-details {
  display: grid;
  justify-items: start;
  margin-top: 5px;
}
.reference-partner-contact-details > a {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  max-width: 100%;
  gap: 6px;
  color: #07560b;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-size: 0.8rem;
}
.reference-partner-contact-details .icon {
  flex: none;
  width: 15px;
  height: 15px;
}
.reference-partner-contact {
  display: flex;
  gap: 15px;
  margin-left: auto;
  align-items: center;
}
.reference-partner-contact > a,
.reference-partner-contact > button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 65px;
  min-height: 66px;
  color: #07560b;
}
.reference-partner-contact .icon {
  width: 34px;
  height: 34px;
  padding: 6px;
  background: #f3f7ef;
  border: 1px solid #e5ecdf;
  border-radius: 50%;
}
.reference-partner-contact small {
  font-size: 10px;
  text-align: center;
  letter-spacing: 0;
}
.reference-matching-page .reference-match-summary {
  padding: 20px;
  border-color: #e9ece4;
  border-radius: 13px;
}
.reference-match-summary > h2 {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 20px;
  margin: 0 0 20px;
}
.reference-match-summary > h2 > .icon {
  width: 26px;
  height: 26px;
}
.reference-match-summary-body {
  display: flex;
  gap: 25px;
  align-items: center;
}
.reference-match-summary-body > .portal-definition {
  flex: 1;
  margin: 0;
}
.reference-match-summary-body .portal-definition > div {
  display: grid;
  grid-template-columns: 155px 1fr;
  gap: 15px;
  padding: 9px 0;
  border: 0;
  font-size: 13px;
}
.reference-match-summary-body .portal-definition dd {
  text-align: left;
  color: #222a1d;
}
.reference-match-summary-body > img {
  width: 30%;
  max-width: 245px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 15px;
}
.reference-search-progress > h2 {
  text-align: center;
  font-size: 19px;
  margin: 25px 0 15px;
}
.reference-matching-page .reference-matching-counts {
  padding: 5px 0 15px;
  gap: 25px;
}
.reference-matching-page .reference-matching-counts strong {
  font-size: 20px;
}
.reference-progress-checks {
  border: 1px solid #e8ece2;
  border-radius: 13px;
  padding: 5px 16px;
}
.reference-progress-checks > div {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 12px 0;
  border-bottom: 1px solid #f0f2eb;
}
.reference-progress-checks > div:last-child {
  border: 0;
}
.reference-progress-checks > div > span {
  background: #f1f6e9;
  padding: 8px;
  border-radius: 50%;
}
.reference-progress-checks .icon {
  width: 22px;
  height: 22px;
}
.reference-progress-checks strong {
  flex: 1;
  font-size: 13px;
  font-weight: 500;
}
.reference-progress-checks i {
  display: flex;
  color: #7e8974;
}
.reference-progress-checks i.done {
  color: #07560b;
}
.reference-match-map {
  max-width: 400px;
  margin: 15px auto;
  text-align: center;
}
.reference-match-map svg {
  width: 100%;
  height: 150px;
}
.reference-match-map p {
  font-size: 12px;
  color: #49563e;
  margin: 0;
}
.reference-matching-page .reference-final-price {
  padding: 20px;
  border-radius: 13px;
  border-color: #e9ece4;
}
.reference-final-price > h2 {
  font-size: 20px;
  margin: 0 0 8px;
}
.reference-final-price .reference-price-breakdown {
  border: 0;
  padding: 0;
  margin: 0;
}
.reference-final-price .reference-price-breakdown > div {
  padding: 8px 0;
  margin: 0;
  color: #222a1c;
}
.reference-final-price .reference-price-total {
  border-top-style: dashed;
}
.reference-confirm-cta {
  margin-top: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  padding: 16px;
  background: #f5f8ef;
  border-radius: 11px;
}
.reference-confirm-cta h3 {
  color: #07560b;
  font-size: 17px;
  margin: 0 0 5px;
}
.reference-confirm-cta p {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
}
.reference-match-help {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px;
  border: 1px solid #edf0e8;
  background: #f7faf3;
  border-radius: 10px;
  font-size: 12px;
}
.reference-match-help > .text-link {
  margin-left: auto;
  white-space: nowrap;
}
/* Customer profile, saved addresses, account menu and booking cards. */
.reference-customer-shell .reference-profile-page,
.reference-customer-shell .reference-history-page {
  max-width: 1000px;
  margin: auto;
}
.reference-customer-shell .reference-profile-hero {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px;
  min-height: 205px;
  position: relative;
  overflow: hidden;
  border-radius: 17px;
  background: linear-gradient(110deg, #317d15, #064908);
  color: #fff;
}
.reference-customer-shell .reference-profile-hero::after {
  content: "";
  position: absolute;
  right: -8px;
  bottom: -55px;
  width: 250px;
  height: 240px;
  background: url("./assets/leaf-texture.jpg") center/cover;
  opacity: 0.13;
  border-radius: 50%;
  pointer-events: none;
}
.reference-profile-photo {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}
.reference-profile-photo > .reference-avatar {
  width: 130px;
  height: 130px;
  border: 3px solid #fff;
  background: #dce9d3;
  color: #07560b;
  font-size: 48px;
  overflow: hidden;
}
.reference-profile-photo .reference-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.reference-profile-photo > button {
  position: absolute;
  right: -2px;
  bottom: 5px;
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #276d17;
  border: 3px solid #fff;
  color: #fff;
}
.reference-profile-photo > button > .icon {
  color: #fff;
  width: 19px;
  height: 19px;
}
.reference-profile-identity {
  min-width: 0;
  z-index: 1;
}
.reference-profile-identity h1 {
  font-size: 27px;
  color: #fff;
  margin: 0 0 16px;
  line-height: 1.2;
}
.reference-customer-shell .reference-profile-identity p {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  font-size: 14px;
  margin: 8px 0;
  overflow-wrap: anywhere;
}
.reference-profile-identity .icon {
  width: 18px;
  height: 18px;
  color: #fff;
  flex-shrink: 0;
}
.reference-profile-edit {
  margin-left: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border: 1px solid #ffffff7a;
  color: #fff;
  border-radius: 22px;
  font-size: 12px;
  z-index: 1;
  white-space: nowrap;
}
.reference-profile-edit .icon {
  width: 16px;
  height: 16px;
  color: #fff;
}
.reference-customer-shell .reference-profile-section {
  background: #fff;
  border: 1px solid #e9ede4;
  box-shadow: 0 1px 4px #1d3f0b05;
  border-radius: 15px;
  padding: 20px;
  margin: 15px 0;
}
.reference-customer-shell .reference-address-section {
  position: relative;
  margin-top: -12px;
  z-index: 2;
}
.reference-customer-shell .reference-profile-section h2 {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 19px;
  color: #171d15;
  margin: 0 0 15px;
}
.reference-profile-section h2 > .icon {
  width: 24px;
  height: 24px;
  background: #f4f7ef;
  box-sizing: content-box;
  padding: 7px;
  border-radius: 50%;
}
.reference-profile-section .panel-heading h2 {
  margin: 0;
}
.reference-customer-shell .reference-address-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 17px;
}
.reference-customer-shell .reference-address {
  display: flex;
  align-items: center;
  gap: 17px;
  padding: 17px;
  background: #fff;
  border: 1px solid #e8ece3;
  border-radius: 12px;
}
.reference-address-symbol {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  background: #f0f5e9;
  border-radius: 11px;
  flex-shrink: 0;
}
.reference-address-symbol > .icon {
  width: 39px;
  height: 39px;
}
.reference-address-copy {
  flex: 1;
  min-width: 0;
}
.reference-customer-shell .reference-address-copy h3 {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 0 0 10px;
  font-size: 18px;
}
.reference-address-copy .tag {
  font-size: 11px;
  padding: 4px 9px;
  background: #edf4e6;
  color: #07560b;
}
.reference-customer-shell .reference-address-copy p {
  font-size: 13px;
  color: #4a4e46;
  line-height: 1.6;
  margin: 3px 0;
}
.reference-address-copy .text-link {
  font-size: 11px;
  margin-top: 5px;
}
.reference-address-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}
.reference-address-actions .icon-btn {
  width: 34px;
  height: 34px;
  color: #6d7168;
}
.reference-address-actions .icon {
  width: 19px;
  height: 19px;
  color: inherit;
}
.reference-customer-shell .reference-activity {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.reference-customer-shell .reference-activity > a {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 20px;
  background: #f6f8f2;
  border: 0;
  border-radius: 11px;
}
.reference-activity-icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: #edf3e4;
}
.reference-activity-icon .icon {
  width: 31px;
  height: 31px;
}
.reference-customer-shell .reference-activity > a > div {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
  flex: 1;
}
.reference-customer-shell .reference-activity strong {
  color: #171d15;
  font-size: 26px;
  line-height: 1;
}
.reference-customer-shell
  .reference-activity
  span:not(.reference-activity-icon) {
  color: #4e5348;
  font-size: 13px;
}
.reference-activity small {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: #07560b;
  margin-top: 7px;
}
.reference-activity small > .icon {
  width: 16px;
  height: 16px;
}
.reference-customer-shell .reference-profile-links {
  border: 1px solid #e9ede4;
  box-shadow: 0 1px 4px #1d3f0b05;
  border-radius: 15px;
  background: #fff;
  margin: 15px 0;
  padding: 0 17px;
}
.reference-customer-shell .reference-profile-links button {
  display: flex;
  align-items: center;
  gap: 13px;
  width: 100%;
  padding: 13px 0;
  border-bottom: 1px solid #edf0e8;
  text-align: left;
  color: #171d15;
}
.reference-customer-shell .reference-profile-links button:last-child {
  border: 0;
}
.reference-link-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #f1f6e9;
  flex-shrink: 0;
}
.reference-link-icon > .icon {
  width: 23px;
  height: 23px;
}
.reference-customer-shell
  .reference-profile-links
  button
  > span:not(.reference-link-icon) {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 0;
}
.reference-profile-links strong {
  font-size: 15px;
  font-weight: 600;
}
.reference-profile-links small {
  font-size: 12px;
  color: #6a6e64;
}
.reference-customer-shell .reference-profile-links button > .icon:last-child {
  width: 17px;
  height: 17px;
  color: #60685a;
}
.reference-profile-more {
  border: 1px solid #edf0e8;
  border-radius: 12px;
  padding: 13px 17px;
  background: #fff;
  margin-bottom: 15px;
}
.reference-profile-more > summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 13px;
  color: #526147;
}
.reference-profile-more > summary > .icon {
  width: 16px;
  height: 16px;
}
.reference-customer-shell .reference-profile-more .reference-profile-links {
  border: 0;
  box-shadow: none;
  margin: 5px 0 0;
  padding: 0;
}
.reference-customer-shell .reference-logout {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff0f0;
  padding: 18px;
  width: 100%;
  text-align: left;
  border: 1px solid #ffe5e5;
  border-radius: 13px;
  color: #bd2525;
  margin: 15px 0;
}
.reference-logout > .icon {
  width: 29px;
  height: 29px;
  color: #bd2525;
}
.reference-logout > span {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
}
.reference-logout strong {
  font-size: 16px;
  font-weight: 600;
}
.reference-logout small {
  font-size: 12px;
  color: #6d6a66;
}
.reference-logout > .icon:last-child {
  width: 18px;
  height: 18px;
}
/* History rows use actual status, price, service imagery and owned actions. */
.reference-history-page .workspace-heading {
  margin-bottom: 15px;
  align-items: center;
}
.reference-history-page .workspace-heading h1 {
  font-size: 27px;
}
.reference-history-page .workspace-heading > .text-link {
  font-size: 12px;
}
.reference-history-page .reference-history-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  background: transparent;
  padding: 0;
  border: 0;
  margin-bottom: 15px;
}
.reference-history-page .reference-history-tabs a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 10px;
  border: 1px solid #e1e6dc;
  color: #171d15;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
}
.reference-history-page .reference-history-tabs a.active {
  color: #fff;
  background: #07560b;
  border-color: #07560b;
}
.reference-history-tabs .icon {
  width: 24px;
  height: 24px;
}
.reference-history-tabs a.active .icon {
  color: #fff;
}
.reference-history-page .reference-status-chips {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 1px solid #e9ece4;
  border-radius: 25px;
  padding: 5px;
  gap: 9px;
  margin: 0 0 12px;
  overflow: visible;
}
.reference-history-page .reference-status-chips button {
  background: #fff;
  color: #07560b;
  border: 1px solid #edf0e9;
  font-size: 12px;
  border-radius: 24px;
  padding: 8px;
  white-space: nowrap;
}
.reference-history-page .reference-status-chips button[data-status="Pending"] {
  color: #cc7c1c;
}
.reference-history-page
  .reference-status-chips
  button[data-status="In Progress"] {
  color: #2b6fba;
}
.reference-history-page
  .reference-status-chips
  button[data-status="Cancelled"] {
  color: #bd3030;
}
.reference-history-page .reference-status-chips button.active {
  background: #07560b;
  color: #fff;
  border-color: #07560b;
}
.reference-history-search-details {
  margin: 0 0 16px;
}
.reference-history-search-details > summary {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #72816a;
  cursor: pointer;
  width: max-content;
}
.reference-history-search-details > summary > .icon {
  width: 15px;
  height: 15px;
}
.reference-history-search-details .reference-history-search {
  margin: 10px 0;
}
.reference-history-label {
  color: #171d15;
  font-size: 18px;
  margin: 0 0 12px;
}
.reference-history-count {
  font-size: 10px;
  color: #7b8572;
  margin: 0 0 10px;
}
.reference-history-page .reference-booking-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.reference-history-page .reference-history-card {
  border: 1px solid #e6ebe0;
  border-radius: 14px;
  padding: 12px;
  background: #fff;
}
.reference-history-page .reference-booking-main {
  display: grid;
  grid-template-columns: 125px minmax(0, 1fr) 125px 20px;
  gap: 18px;
  align-items: center;
}
.reference-history-page .reference-booking-main > img {
  width: 125px;
  height: 130px;
  border-radius: 10px;
  object-fit: cover;
}
.reference-history-page .reference-record-icon {
  width: 125px;
  height: 130px;
  display: grid;
  place-items: center;
  background: #f3f7ed;
  border-radius: 10px;
}
.reference-history-page .reference-history-copy {
  min-width: 0;
}
.reference-history-page .reference-booking-main h2 {
  font-size: 18px;
  margin: 0 0 8px;
  line-height: 1.3;
  color: #171d15;
}
.reference-history-page .reference-booking-main p {
  font-size: 12px;
  margin: 5px 0;
  color: #454b3e;
  display: flex;
  gap: 6px;
  align-items: center;
}
.reference-history-page .reference-booking-main p > .icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: #818779;
}
.reference-history-page .reference-history-package {
  color: #252f1e;
}
.reference-history-page .reference-addon-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 7px 0 0;
}
.reference-history-page .reference-addon-tags span {
  padding: 3px 6px;
  background: #f0f6e9;
  color: #327425;
  font-size: 10px;
  border-radius: 5px;
}
.reference-history-meta {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: flex-start;
  border-left: 1px solid #f0f2ec;
  padding-left: 16px;
}
.reference-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  border-radius: 5px;
  background: #eff6e8;
  color: #2b6e21;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 8px;
  white-space: nowrap;
}
.reference-status-pill > i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.reference-status-pill[data-status="In Progress"] {
  background: #eef5ff;
  color: #2470bf;
}
.reference-status-pill[data-status="Pending"] {
  background: #fff6e8;
  color: #c98622;
}
.reference-status-pill[data-status="Cancelled"] {
  background: #fff0ef;
  color: #b83f37;
}
.reference-history-meta > small {
  color: #717a68;
  font-size: 11px;
}
.reference-history-id {
  font-size: 11px;
  color: #38432e;
  margin-bottom: 7px;
  font-weight: 600;
}
.reference-history-price {
  font-size: 17px;
  color: #07560b;
}
.reference-record-open {
  display: grid;
  place-items: center;
  color: #53634a;
  width: 24px;
  height: 35px;
}
.reference-record-open > .icon {
  width: 19px;
  height: 19px;
}
@media (max-width: 900px) {
  html:has(.reference-floating-consultation) {
    scroll-padding-bottom: calc(129px + env(safe-area-inset-bottom));
  }
  body:has(.reference-floating-consultation) {
    padding-bottom: calc(129px + env(safe-area-inset-bottom));
  }
  .reference-floating-consultation.btn {
    position: fixed;
    z-index: 49;
    inset-inline: max(12px, env(safe-area-inset-left)) max(12px, env(safe-area-inset-right));
    bottom: calc(75px + env(safe-area-inset-bottom));
    display: inline-flex;
    justify-content: center;
    width: min(290px, calc(100% - 24px));
    min-height: 46px;
    margin-inline: auto;
    box-shadow: 0 4px 18px #12320e36;
  }
  .reference-service-page.reference-service-overview,
  .reference-service-page.reference-booking-entry,
  .reference-service-page.reference-booking-detail {
    padding: 12px 16px 28px;
  }
  .reference-service-overview > .reference-page-back,
  .reference-booking-detail > .reference-page-back {
    display: block;
    position: relative;
    height: 0;
    border: 0;
    padding: 0;
    margin: 0;
  }
  .reference-service-overview > .reference-page-back > a,
  .reference-booking-detail > .reference-page-back > a {
    display: none;
  }
  .reference-service-overview > .reference-page-back > h1,
  .reference-booking-detail > .reference-page-back > h1 {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .reference-service-overview .reference-split-service-hero {
    grid-template-columns: 0.93fr 1.07fr;
  }
  .reference-service-overview .reference-split-service-hero > div {
    padding: 20px 16px;
    gap: 12px;
  }
  .reference-service-overview .reference-split-service-hero > img {
    min-height: 230px;
    height: 100%;
  }
  .reference-service-overview .reference-split-service-hero h2 {
    font-size: 27px;
  }
  .reference-service-overview .reference-split-service-hero p {
    font-size: 12px;
    line-height: 1.55;
  }
  .reference-service-overview .reference-hero-benefits {
    gap: 8px;
  }
  .reference-hero-benefits .icon {
    width: 20px;
    height: 20px;
    padding: 7px;
  }
  .reference-hero-benefits small {
    font-size: 9px;
  }
  .reference-service-overview .reference-benefit-section,
  .reference-service-overview .reference-service-offerings,
  .reference-service-overview .reference-process {
    margin: 20px 0;
  }
  .reference-service-overview .reference-benefit-section > h2,
  .reference-service-overview .reference-service-offerings > h2,
  .reference-service-overview .reference-process > h2 {
    font-size: 17px;
    margin-bottom: 12px;
  }
  .reference-benefit-grid {
    gap: 9px;
  }
  .reference-benefit-grid article {
    padding: 12px;
    grid-template-columns: 23px 1fr;
    gap: 7px;
  }
  .reference-benefit-grid article > .icon {
    width: 23px;
    height: 23px;
  }
  .reference-benefit-grid h3 {
    font-size: 11px;
  }
  .reference-benefit-grid p {
    font-size: 11px;
    line-height: 1.55;
  }
  .reference-offering-grid {
    gap: 10px;
  }
  .reference-offering-card > img {
    height: 115px;
  }
  .reference-offering-card > div {
    padding: 15px 10px 12px;
  }
  .reference-offering-card h3 {
    font-size: 12px;
  }
  .reference-offering-card p {
    font-size: 10px;
    line-height: 1.5;
  }
  .reference-offering-card strong {
    font-size: 11px;
    padding-right: 23px;
  }
  .reference-offering-icon {
    padding: 5px;
    top: -18px;
    left: 8px;
  }
  .reference-offering-icon .icon {
    width: 19px;
    height: 19px;
  }
  .reference-offering-open {
    right: 8px;
    bottom: 10px;
    width: 23px;
    height: 23px;
  }
  .reference-offering-open .icon {
    width: 14px;
    height: 14px;
  }
  .reference-service-overview .reference-process > div {
    gap: 7px;
  }
  .reference-service-overview .reference-process article > span {
    width: 46px;
    height: 46px;
    padding: 10px;
  }
  .reference-service-overview .reference-process .icon {
    width: 25px;
    height: 25px;
  }
  .reference-service-overview
    .reference-process
    article:not(:last-child)::after {
    top: 20px;
    left: calc(50% + 27px);
    width: calc(100% - 41px);
  }
  .reference-service-overview .reference-process strong {
    font-size: 10px;
  }
  .reference-service-overview .reference-process p {
    font-size: 9px;
    line-height: 1.5;
  }
  .reference-service-cta {
    padding: 14px;
    gap: 12px;
  }
  .reference-service-cta > span > .icon {
    width: 31px;
    height: 31px;
  }
  .reference-service-cta h2 {
    font-size: 15px;
  }
  .reference-service-cta p {
    font-size: 11px;
  }
  .reference-service-cta .btn {
    font-size: 11px;
    padding: 10px 12px;
    white-space: nowrap;
  }
  .reference-matching-page .reference-match-status {
    gap: 13px;
    padding: 0;
  }
  .reference-match-emblem {
    width: 75px;
    height: 75px;
  }
  .reference-match-emblem > .icon {
    width: 58px;
    height: 58px;
  }
  .reference-matching-page .reference-match-status h2 {
    font-size: 21px;
  }
  .reference-matching-page .reference-match-status p {
    font-size: 12px;
  }
  .reference-matching-page .reference-partner h3 {
    font-size: 17px;
  }
  .reference-partner-contact {
    gap: 8px;
  }
  .reference-partner-contact > a,
  .reference-partner-contact > button {
    width: 48px;
    min-height: 58px;
  }
  .reference-matching-page .reference-match-summary {
    padding: 16px;
  }
  .reference-match-summary-body {
    gap: 15px;
  }
  .reference-match-summary-body .portal-definition > div {
    grid-template-columns: 115px 1fr;
    font-size: 12px;
    gap: 9px;
  }
  .reference-match-summary-body > img {
    width: 29%;
  }
  .reference-confirm-cta {
    padding: 13px;
    gap: 15px;
  }
  .reference-confirm-cta h3 {
    font-size: 15px;
  }
  .reference-confirm-cta .btn {
    font-size: 12px;
    white-space: nowrap;
  }
  .reference-customer-shell[data-section="profile"] .workspace-content,
  .reference-customer-shell[data-section="bookings"] .workspace-content,
  .reference-customer-shell[data-section="orders"] .workspace-content {
    padding: 14px 16px 25px;
  }
  .reference-customer-shell .reference-profile-hero {
    padding: 25px 20px;
    gap: 17px;
    min-height: 175px;
  }
  .reference-profile-photo > .reference-avatar {
    width: 105px;
    height: 105px;
    font-size: 40px;
  }
  .reference-profile-photo > button {
    width: 31px;
    height: 31px;
    border-width: 2px;
  }
  .reference-profile-identity h1 {
    font-size: 23px;
    margin-bottom: 13px;
  }
  .reference-customer-shell .reference-profile-identity p {
    font-size: 12px;
  }
  .reference-profile-edit {
    font-size: 10px;
    padding: 7px 10px;
    gap: 5px;
  }
  .reference-customer-shell .reference-profile-section {
    padding: 16px;
    margin: 13px 0;
  }
  .reference-customer-shell .reference-address-section {
    margin-top: -10px;
  }
  .reference-customer-shell .reference-profile-section h2 {
    font-size: 17px;
  }
  .reference-customer-shell .reference-address {
    padding: 14px;
    gap: 14px;
  }
  .reference-address-symbol {
    width: 51px;
    height: 56px;
  }
  .reference-address-symbol > .icon {
    width: 34px;
    height: 34px;
  }
  .reference-customer-shell .reference-address-copy h3 {
    font-size: 16px;
    margin-bottom: 7px;
  }
  .reference-customer-shell .reference-address-copy p {
    font-size: 12px;
  }
  .reference-address-actions {
    gap: 3px;
  }
  .reference-address-actions .icon-btn {
    width: 29px;
    height: 32px;
  }
  .reference-customer-shell .reference-activity > a {
    padding: 15px;
    gap: 13px;
  }
  .reference-activity-icon {
    width: 47px;
    height: 47px;
  }
  .reference-activity-icon .icon {
    width: 28px;
    height: 28px;
  }
  .reference-customer-shell .reference-activity strong {
    font-size: 23px;
  }
  .reference-customer-shell
    .reference-activity
    span:not(.reference-activity-icon) {
    font-size: 12px;
  }
  .reference-profile-links strong {
    font-size: 14px;
  }
  .reference-profile-links small {
    font-size: 11px;
  }
  .reference-history-page .workspace-heading h1 {
    font-size: 24px;
  }
  .reference-history-page .reference-history-tabs a {
    font-size: 14px;
    gap: 9px;
    padding: 13px 8px;
  }
  .reference-history-page .reference-status-chips {
    gap: 7px;
  }
  .reference-history-page .reference-status-chips button {
    font-size: 11px;
    padding: 7px 5px;
  }
  .reference-history-page .reference-booking-main {
    grid-template-columns: 100px minmax(0, 1fr) 100px 15px;
    gap: 12px;
  }
  .reference-history-page .reference-booking-main > img,
  .reference-history-page .reference-record-icon {
    width: 100px;
    height: 115px;
  }
  .reference-history-page .reference-booking-main h2 {
    font-size: 16px;
  }
  .reference-history-page .reference-booking-main p {
    font-size: 11px;
  }
  .reference-history-meta {
    padding-left: 10px;
  }
  .reference-history-price {
    font-size: 16px;
  }
}
@media (max-width: 540px) {
  .reference-service-page.reference-service-overview,
  .reference-service-page.reference-booking-entry,
  .reference-service-page.reference-booking-detail {
    padding-inline: 12px;
  }
  .reference-service-overview .reference-split-service-hero > div {
    padding: 16px 13px;
    gap: 10px;
  }
  .reference-service-overview .reference-split-service-hero h2 {
    font-size: 23px;
  }
  .reference-service-overview .reference-split-service-hero p {
    font-size: 11px;
  }
  .reference-service-overview .reference-split-service-hero > img {
    min-height: 235px;
  }
  .reference-hero-benefits .icon {
    width: 18px;
    height: 18px;
    padding: 6px;
  }
  .reference-hero-benefits small {
    font-size: 8px;
  }
  .reference-benefit-grid {
    gap: 7px;
  }
  .reference-benefit-grid article {
    display: flex;
    flex-direction: column;
    padding: 10px 8px;
    gap: 7px;
  }
  .reference-benefit-grid h3 {
    font-size: 10px;
    line-height: 1.4;
    align-self: flex-start;
  }
  .reference-benefit-grid p {
    font-size: 10px;
    line-height: 1.45;
  }
  .reference-offering-grid {
    gap: 8px;
  }
  .reference-offering-card > img {
    height: 90px;
  }
  .reference-offering-card > div {
    padding: 15px 8px 11px;
  }
  .reference-offering-card h3 {
    font-size: 11px;
  }
  .reference-offering-card p {
    font-size: 10px;
    line-height: 1.4;
  }
  .reference-offering-card strong {
    font-size: 10px;
    padding-right: 0;
    margin-bottom: 28px;
  }
  .reference-offering-open {
    width: 22px;
    height: 22px;
  }
  .reference-service-overview .reference-process article > span {
    width: 39px;
    height: 39px;
    padding: 8px;
  }
  .reference-service-overview .reference-process .icon {
    width: 23px;
    height: 23px;
  }
  .reference-service-overview .reference-process article > span > b {
    width: 16px;
    height: 16px;
    line-height: 14px;
    font-size: 9px;
  }
  .reference-service-overview
    .reference-process
    article:not(:last-child)::after {
    top: 17px;
    left: calc(50% + 23px);
    width: calc(100% - 34px);
  }
  .reference-service-overview .reference-process strong {
    font-size: 9px;
  }
  .reference-service-overview .reference-process p {
    font-size: 8px;
    line-height: 1.4;
  }
  .reference-service-cta {
    flex-wrap: wrap;
    padding: 13px;
  }
  .reference-service-cta > span {
    display: none;
  }
  .reference-service-cta h2 {
    font-size: 14px;
  }
  .reference-service-cta > .btn {
    width: 100%;
    justify-content: center;
  }
  .reference-five-steps.reference-workflow {
    gap: 6px;
    margin: 8px 0 20px;
  }
  .reference-five-steps.reference-workflow > span {
    gap: 8px;
  }
  .reference-five-steps.reference-workflow > span > b {
    width: 28px;
    height: 28px;
    font-size: 15px;
  }
  .reference-five-steps.reference-workflow > span > small {
    font-size: 9px;
  }
  .reference-five-steps.reference-workflow > span:not(:last-child)::after {
    top: 13px;
    left: calc(50% + 20px);
    width: calc(100% - 28px);
  }
  .reference-five-steps .icon {
    width: 16px;
    height: 16px;
  }
  .reference-match-intro {
    padding: 14px;
  }
  .reference-matching-page .reference-match-status {
    align-items: flex-start;
    gap: 12px;
  }
  .reference-match-emblem {
    width: 52px;
    height: 58px;
  }
  .reference-match-emblem > .icon {
    width: 46px;
    height: 46px;
  }
  .reference-matching-page .reference-match-status h2 {
    font-size: 17px;
    margin-bottom: 7px;
  }
  .reference-matching-page .reference-match-status p {
    font-size: 11px;
    line-height: 1.5;
  }
  .reference-matching-page .reference-partner {
    gap: 10px;
    padding: 12px;
    flex-wrap: wrap;
  }
  .reference-partner .reference-avatar {
    width: 48px;
    height: 48px;
    font-size: 22px;
  }
  .reference-matching-page .reference-partner h3 {
    font-size: 14px;
  }
  .reference-matching-page .reference-partner p {
    font-size: 10px;
  }
  .reference-partner-contact {
    margin-left: auto;
    gap: 4px;
  }
  .reference-partner-contact > a,
  .reference-partner-contact > button {
    width: 46px;
    min-height: 48px;
    gap: 3px;
  }
  .reference-partner-contact .icon {
    width: 29px;
    height: 29px;
    padding: 5px;
  }
  .reference-partner-contact small {
    font-size: 8px;
  }
  .reference-matching-page .reference-match-summary {
    padding: 14px;
  }
  .reference-match-summary > h2 {
    font-size: 17px;
    margin-bottom: 13px;
  }
  .reference-match-summary-body {
    gap: 10px;
    align-items: flex-start;
  }
  .reference-match-summary-body .portal-definition > div {
    grid-template-columns: 83px 1fr;
    font-size: 10px;
    gap: 8px;
    padding: 7px 0;
  }
  .reference-match-summary-body > img {
    width: 28%;
    border-radius: 10px;
  }
  .reference-matching-page .reference-matching-counts {
    gap: 16px;
    font-size: 9px;
  }
  .reference-matching-page .reference-matching-counts strong {
    font-size: 19px;
  }
  .reference-progress-checks {
    padding: 4px 12px;
  }
  .reference-progress-checks > div {
    gap: 10px;
    padding: 10px 0;
  }
  .reference-progress-checks strong {
    font-size: 11px;
  }
  .reference-progress-checks .icon {
    width: 18px;
    height: 18px;
  }
  .reference-progress-checks > div > span {
    padding: 6px;
  }
  .reference-search-progress > h2 {
    font-size: 16px;
  }
  .reference-match-map svg {
    height: 125px;
  }
  .reference-match-map p {
    font-size: 10px;
  }
  .reference-matching-page .reference-final-price {
    padding: 14px;
  }
  .reference-final-price > h2 {
    font-size: 17px;
  }
  .reference-final-price .reference-price-breakdown > div {
    font-size: 12px;
  }
  .reference-confirm-cta {
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    gap: 12px;
  }
  .reference-confirm-cta .btn {
    justify-content: center;
  }
  .reference-match-help {
    font-size: 10px;
    gap: 7px;
    padding: 11px;
  }
  .reference-match-help .text-link {
    font-size: 10px;
  }
  .reference-customer-shell[data-section="profile"] .workspace-content,
  .reference-customer-shell[data-section="bookings"] .workspace-content,
  .reference-customer-shell[data-section="orders"] .workspace-content {
    padding-inline: 12px;
  }
  .reference-customer-shell .reference-profile-hero {
    gap: 13px;
    padding: 20px 16px;
    min-height: 175px;
    align-items: center;
  }
  .reference-profile-photo > .reference-avatar {
    width: 79px;
    height: 79px;
    font-size: 33px;
  }
  .reference-profile-photo > button {
    width: 26px;
    height: 26px;
    right: -1px;
    bottom: 2px;
  }
  .reference-profile-photo > button > .icon {
    width: 16px;
    height: 16px;
  }
  .reference-profile-identity h1 {
    font-size: 19px;
    margin-bottom: 9px;
    max-width: 180px;
  }
  .reference-customer-shell .reference-profile-identity p {
    font-size: 10px;
    gap: 6px;
    margin: 6px 0;
  }
  .reference-profile-identity .icon {
    width: 14px;
    height: 14px;
  }
  .reference-profile-edit {
    position: absolute;
    top: 14px;
    right: 13px;
    padding: 5px 8px;
    font-size: 9px;
  }
  .reference-profile-edit .icon {
    width: 12px;
    height: 12px;
  }
  .reference-customer-shell .reference-profile-section {
    padding: 14px;
  }
  .reference-customer-shell .reference-profile-section h2 {
    gap: 7px;
    font-size: 15px;
  }
  .reference-profile-section h2 > .icon {
    width: 18px;
    height: 18px;
    padding: 6px;
  }
  .reference-profile-section .panel-heading > .text-link {
    font-size: 11px;
    gap: 4px;
  }
  .reference-customer-shell .reference-address {
    padding: 12px 10px;
    gap: 10px;
  }
  .reference-address-symbol {
    width: 40px;
    height: 45px;
    border-radius: 8px;
    align-self: flex-start;
  }
  .reference-address-symbol > .icon {
    width: 29px;
    height: 29px;
  }
  .reference-customer-shell .reference-address-copy h3 {
    font-size: 14px;
    gap: 6px;
  }
  .reference-address-copy .tag {
    font-size: 9px;
    padding: 3px 6px;
  }
  .reference-customer-shell .reference-address-copy p {
    font-size: 10px;
    line-height: 1.6;
  }
  .reference-address-actions {
    flex-direction: column;
    gap: 0;
  }
  .reference-address-actions .icon-btn {
    width: 29px;
    height: 30px;
  }
  .reference-address-actions .icon {
    width: 16px;
    height: 16px;
  }
  .reference-customer-shell .reference-activity {
    gap: 9px;
  }
  .reference-customer-shell .reference-activity > a {
    padding: 13px 10px;
    gap: 9px;
  }
  .reference-activity-icon {
    width: 35px;
    height: 35px;
  }
  .reference-activity-icon .icon {
    width: 23px;
    height: 23px;
  }
  .reference-customer-shell .reference-activity strong {
    font-size: 21px;
  }
  .reference-customer-shell
    .reference-activity
    span:not(.reference-activity-icon),
  .reference-activity small {
    font-size: 10px;
  }
  .reference-customer-shell .reference-profile-links {
    padding: 0 13px;
  }
  .reference-customer-shell .reference-profile-links button {
    gap: 10px;
    padding: 12px 0;
  }
  .reference-link-icon {
    width: 34px;
    height: 34px;
  }
  .reference-link-icon > .icon {
    width: 21px;
    height: 21px;
  }
  .reference-profile-links strong {
    font-size: 12px;
  }
  .reference-profile-links small {
    font-size: 10px;
  }
  .reference-customer-shell .reference-logout {
    padding: 14px;
    gap: 12px;
  }
  .reference-logout strong {
    font-size: 14px;
  }
  .reference-logout small {
    font-size: 10px;
  }
  .reference-history-page .workspace-heading h1 {
    font-size: 21px;
  }
  .reference-history-page .workspace-heading > .text-link {
    font-size: 10px;
  }
  .reference-history-page .reference-history-tabs {
    gap: 9px;
  }
  .reference-history-page .reference-history-tabs a {
    font-size: 12px;
    gap: 6px;
    padding: 12px 6px;
  }
  .reference-history-tabs .icon {
    width: 20px;
    height: 20px;
  }
  .reference-history-page .reference-status-chips {
    gap: 4px;
    padding: 5px;
  }
  .reference-history-page .reference-status-chips button {
    font-size: 9px;
    padding: 7px 2px;
  }
  .reference-history-page .reference-history-card {
    padding: 9px;
  }
  .reference-history-page .reference-booking-main {
    grid-template-columns: 73px minmax(0, 1fr) 72px 10px;
    gap: 8px;
  }
  .reference-history-page .reference-booking-main > img,
  .reference-history-page .reference-record-icon {
    width: 73px;
    height: 95px;
    border-radius: 8px;
  }
  .reference-history-page .reference-booking-main h2 {
    font-size: 12px;
    margin-bottom: 5px;
  }
  .reference-history-page .reference-booking-main p {
    font-size: 9px;
    margin: 4px 0;
    gap: 4px;
  }
  .reference-history-page .reference-booking-main p > .icon {
    width: 11px;
    height: 11px;
  }
  .reference-history-meta {
    padding-left: 7px;
    gap: 3px;
  }
  .reference-status-pill {
    font-size: 8px;
    padding: 4px 5px;
    gap: 4px;
    margin-bottom: 6px;
  }
  .reference-status-pill > i {
    width: 4px;
    height: 4px;
  }
  .reference-history-meta > small,
  .reference-history-id {
    font-size: 8px;
  }
  .reference-history-id {
    margin-bottom: 5px;
  }
  .reference-history-price {
    font-size: 12px;
  }
  .reference-record-open {
    width: 14px;
  }
  .reference-record-open > .icon {
    width: 14px;
    height: 14px;
  }
  .reference-history-page .reference-addon-tags {
    gap: 4px;
    margin-top: 5px;
  }
  .reference-history-page .reference-addon-tags span {
    font-size: 8px;
    padding: 3px 4px;
  }
}
@media (max-width: 359px) {
  .reference-benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .reference-offering-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .reference-service-overview .reference-process > div {
    overflow-x: auto;
    grid-template-columns: repeat(5, 65px);
    padding-bottom: 4px;
  }
  .reference-history-page .reference-booking-main {
    grid-template-columns: 60px minmax(0, 1fr) 65px 9px;
    gap: 6px;
  }
  .reference-history-page .reference-booking-main > img,
  .reference-history-page .reference-record-icon {
    width: 60px;
    height: 90px;
  }
  .reference-customer-shell .reference-profile-hero {
    padding-inline: 12px;
    gap: 10px;
  }
  .reference-profile-photo > .reference-avatar {
    width: 66px;
    height: 66px;
  }
  .reference-profile-identity h1 {
    font-size: 17px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .reference-offering-card,
  .reference-history-card {
    scroll-behavior: auto;
  }
}

.reference-profile-identity h1,
.reference-address-copy p,
.reference-history-copy h2,
.reference-history-copy p,
.reference-match-summary-body dd,
.reference-offering-card h3 {
  overflow-wrap: anywhere;
}
.reference-service-details .product-facts dd > small {
  display: block;
  font-size: 11px;
  margin-top: 5px;
  line-height: 1.5;
}

/* Shared customer chrome and secondary account screens use the same app shell. */
.portal-header {
  display: contents;
}
.reference-customer-shell .reference-portal-location {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 14px 28px 0;
  padding: 9px 14px;
  color: #171d15;
  background: #fff;
  border: 1px solid #e7ebe3;
  border-radius: 28px;
  font-size: 13px;
  font-weight: 650;
  max-width: calc(100% - 56px);
}
.reference-customer-shell .reference-portal-location .icon {
  width: 17px;
  height: 17px;
}
.reference-customer-shell .workspace-content > .panel,
.reference-customer-shell .portal-security-grid > .panel,
.reference-customer-shell .workspace-columns > .panel {
  border: 1px solid #e7ebe3;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 2px 7px #12340b04;
}
.reference-customer-shell .workspace-heading h1 {
  font-size: clamp(22px, 2.5vw, 30px);
}
.reference-customer-shell .portal-welcome {
  background: #07560b;
  border-radius: 14px;
}
@media (max-width: 900px) {
  .reference-customer-shell .portal-header {
    display: block;
    position: sticky;
    top: 0;
    z-index: 65;
    background: #fff;
    border-bottom: 1px solid var(--portal-border);
  }
  .reference-customer-shell .portal-topbar {
    position: relative;
    border: 0;
    height: 91px;
    min-height: 91px;
    padding: 8px 15px;
  }
  .reference-customer-shell .portal-topbar .reference-portal-header-brand {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: max-content;
    max-width: calc(100% - 178px);
  }
  .reference-customer-shell .portal-topbar .reference-brand {
    gap: 8px;
  }
  .reference-customer-shell
    .portal-topbar
    .reference-portal-header-brand
    .brand-icon {
    width: 59px;
    height: 59px;
    flex-shrink: 0;
  }
  .reference-customer-shell
    .portal-topbar
    .reference-portal-header-brand
    .brand-words {
    white-space: normal;
    max-width: 152px;
    font-size: 24px;
    line-height: 0.98;
    letter-spacing: -0.4px;
    font-weight: 800;
  }
  .reference-customer-shell
    .portal-topbar
    .reference-portal-header-brand
    .brand-words
    small {
    white-space: nowrap;
    margin-top: 5px;
    font-size: 9px;
    letter-spacing: 0;
    color: #20251e;
    font-weight: 500;
  }
  .reference-customer-shell .portal-topbar .portal-mobile-toggle {
    top: 50%;
    transform: translateY(-50%);
  }
  .reference-customer-shell .portal-topbar .reference-workspace-help {
    display: none;
  }
  .reference-customer-shell .portal-topbar .portal-topbar-actions {
    gap: 10px;
  }
  .reference-customer-shell .portal-topbar .mobile-header-location {
    display: inline-flex;
    position: absolute;
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
  }
  .reference-customer-shell .reference-portal-location {
    display: none;
  }
  .reference-customer-shell .portal-footer {
    padding-bottom: 85px;
  }
  .reference-customer-shell .portal-filter {
    gap: 9px;
    padding: 12px;
  }
}
@media (max-width: 430px) {
  .reference-customer-shell .portal-topbar {
    height: 79px;
    min-height: 79px;
  }
  .reference-customer-shell
    .portal-topbar
    .reference-portal-header-brand
    .brand-icon {
    width: 46px;
    height: 46px;
  }
  .reference-customer-shell
    .portal-topbar
    .reference-portal-header-brand
    .brand-words {
    max-width: 121px;
    font-size: 19px;
  }
  .reference-customer-shell
    .portal-topbar
    .reference-portal-header-brand
    .brand-words
    small {
    font-size: 7px;
  }
}
.payment-state-banner {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  margin-bottom: 20px;
  border: 1px solid #dfe7d9;
  border-radius: 12px;
  background: #f6f8f2;
}
.payment-state-banner > span {
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  height: 38px;
  border-radius: 50%;
  color: #07560b;
  background: #e7f0de;
}
.payment-state-banner h2 {
  margin: 0 0 6px;
  font-size: 21px;
}
.payment-state-banner p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
}
.payment-state-banner.is-failed {
  background: #fff7f5;
  border-color: #f0d7d0;
}
.payment-state-banner.is-failed > span {
  color: #9f2e1b;
  background: #fce6e0;
}
.payment-state-banner.is-failed h2,
.payment-state-banner.is-failed p,
.payment-failure-text {
  color: #9f2e1b;
}
.payment-state-banner.is-pending > span {
  color: #795014;
  background: #f6ecd6;
}
.payment-attempt-history {
  margin-top: 20px;
}
.payment-attempt-history summary {
  cursor: pointer;
  font-weight: 650;
}
.payment-status-view .portal-button-row {
  flex-wrap: wrap;
}
.billing-readiness-grid .settings-line {
  gap: 15px;
}
@media (max-width: 430px) {
  .payment-state-banner {
    padding: 13px;
    gap: 10px;
  }
  .payment-state-banner h2 {
    font-size: 18px;
  }
  .payment-status-view .portal-button-row > * {
    width: 100%;
    justify-content: center;
  }
}
.field[data-pin-areas][hidden],
.field[data-pin-manual][hidden],
[data-promo-cod][hidden] {
  display: none;
}
