/* The recommendation and directory rows share one portrait and one reading order. */
.cleaning #catalogCards,.cleaning .reco-grid {
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;
}
.cleaning :is(#catalogGrid,#recommendationTail) .journal-card {
  display:flex;flex-direction:column;align-items:stretch;gap:12px;min-width:0;
  padding:16px;border:0;border-radius:16px;box-shadow:0 0 15px rgb(16 45 85 / 10%);background:white;
}
.cleaning .card-identity {display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:start;gap:11px}
.cleaning :is(#catalogCards,#top3Grid) .card-identity .picture {
  width:clamp(64px,5.2vw,80px);height:clamp(64px,5.2vw,80px);min-height:0;
  margin:0;aspect-ratio:1;align-self:start;border-radius:50%;overflow:hidden;background:#eef3fa;
}
.cleaning .journal-card .photo-action,.cleaning .journal-card .photo-action img {
  display:block;position:static;width:100%;height:100%;border-radius:50%;object-fit:cover;object-position:center 28%;
}
.cleaning .card-byline {align-self:center;min-width:0}
.cleaning .card-byline h3 {font-size:clamp(20px,1.55vw,24px);line-height:1.02;overflow-wrap:anywhere}
.cleaning .card-byline h3 button {text-align:start}
.cleaning .card-identity .favorite {position:static;width:32px;height:32px;box-shadow:none;border:1px solid #e4e9f1}
.cleaning .person-meta {display:flex;align-items:baseline;gap:3px 5px;flex-wrap:wrap;margin-top:5px;font-size:15px;line-height:1.15}
.cleaning .card-languages,.cleaning .unknown-rating,.cleaning .award-languages {
  display:block;color:var(--muted);font-size:14px;line-height:1.18;font-weight:400;
}
.cleaning .card-languages {margin-top:3px}
.cleaning .award-languages {font-size:13px;margin-top:3px}
.cleaning .award-week .award-languages {color:inherit}
.cleaning .card-story {display:flex;flex-direction:column;align-items:stretch;gap:9px;flex:1}
.cleaning .card-story:empty {display:none}
.cleaning .story-tag {
  max-width:100%;display:inline-flex;align-items:center;align-self:flex-start;
  text-align:start;gap:9px;padding:6px 11px 6px 7px;border-radius:10px;background:var(--medal-bg,#eef2fc);color:var(--medal-ink,var(--blue));
}
.cleaning .story-symbol,.cleaning .story-tag>svg,.cleaning .story-tag>img {width:25px;height:25px;flex:none}
.cleaning .story-tag small,.cleaning .match-label small {display:block;font-size:12px;font-weight:500;line-height:1.1}
.cleaning .story-tag strong {display:block;font-size:16px;line-height:1.12}
.cleaning .story-tag:hover strong,.cleaning .preview-person:hover span {text-decoration:underline}
.cleaning .card-bio {
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
  margin:0;padding:0;border:0;background:transparent;text-align:left;cursor:pointer;
  color:#2b3a4f;font-size:14px;line-height:1.32;font-weight:400;
}
.cleaning .card-bio strong {color:#111d32;font-weight:600}
.cleaning .card-bio:hover {color:var(--blue)}
.cleaning .card-dossier {
  margin:0;color:var(--muted);font-size:13.5px;line-height:1.3;
}
.cleaning .journal-card .card-review {
  margin:0;padding:8px 0 1px 11px;border:0;border-left:3px solid #cfddf7;background:transparent;border-radius:0;
}
.cleaning .journal-card .card-review figcaption {justify-content:flex-start;gap:7px;margin-bottom:3px}
.cleaning .journal-card .review-excerpt {font-size:16px;line-height:1.2;-webkit-line-clamp:3}
.cleaning :is(#catalogGrid,#recommendationTail) .journal-card .person-actions {
  width:100%;margin:0;margin-top:auto;padding:5px 0 0;border:0;
}
.cleaning .journal-card .person-actions .btn {min-height:38px;padding:6px 14px;font-size:16px}
.cleaning .profile-services {display:grid;gap:5px;list-style:none;padding:0}
.cleaning .profile-services li {display:flex;align-items:center;gap:8px}
.cleaning .profile-services svg {width:20px;height:20px;color:var(--blue)}
.cleaning .profile-about {
  margin:12px 0;padding:12px 14px;border-radius:12px;background:#f4f8ff;border-left:3px solid var(--blue);
}
.cleaning .profile-about h3 {margin:0 0 5px;font-size:15px;color:#111d32}
.cleaning .profile-about p {margin:0;font-size:15px;line-height:1.42;color:#223046}
.cleaning .profile-exp {margin:4px 0 0;font-size:14px;font-weight:600;color:var(--blue)}
.cleaning .profile-dossier-pills {
  display:flex;flex-wrap:wrap;gap:6px;list-style:none;padding:0;margin:10px 0;
}
.cleaning .profile-dossier-pills li {
  display:inline-flex;align-items:center;gap:5px;padding:5px 10px;border-radius:999px;
  background:#eef3fb;color:#1b2c46;font-size:13px;font-weight:500;
}
.cleaning .profile-dossier-pills svg {width:14px;height:14px;color:var(--blue)}
.cleaning #instantMatches,.cleaning .district-edition {
  margin-top:12px;display:flex;align-items:center;gap:18px;flex-wrap:wrap;background:#eef4ff;padding:12px 16px;border-radius:14px;
}
.cleaning .match-label,.cleaning .match-people,.cleaning .preview-person {display:flex;align-items:center;gap:8px}
.cleaning .match-label .story-symbol {color:var(--blue)}
.cleaning .match-label strong {display:block;font-size:17px}
.cleaning .match-people {flex-wrap:wrap}
.cleaning .match-note {font-size:16px}
.cleaning .preview-person {background:white;border-radius:999px;padding:3px 12px 3px 3px;font-size:16px;font-weight:500}
.cleaning .preview-person img,.cleaning .preview-person .portrait-initials {width:34px;height:34px;border-radius:50%;object-fit:cover;font-size:14px}
.cleaning .district-count {color:var(--muted);font-weight:400;font-size:13px}
.cleaning .district-edition {margin:10px var(--gutter) 20px;padding:18px 22px;justify-content:space-between}
.cleaning .district-edition>div:first-child {display:flex;align-items:center;flex-wrap:wrap;gap:12px}
.cleaning .district-edition h2 {font-size:24px}
.cleaning #districtSelect {max-width:100%;background:white;border:1px solid #d8e2f3;border-radius:8px;padding:6px;font:inherit}
.cleaning :is(#instantMatches,#districtEdition)[hidden] {display:none}
@media(max-width:1025px) and (min-width:761px) {
  .cleaning #catalogCards,.cleaning .reco-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
  .cleaning .reco-grid:has(>.journal-card:nth-child(3):last-child)>.journal-card:first-child {
    grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;align-items:center;
  }
  .cleaning .reco-grid:has(>.journal-card:nth-child(3):last-child)>.journal-card:first-child .card-story {grid-column:2;grid-row:1/3}
}

@media(max-width:760px) {
  .cleaning #catalogCards,.cleaning .reco-grid {grid-template-columns:minmax(0,1fr)}
  .cleaning :is(#catalogGrid,#recommendationTail) .journal-card {padding:14px;gap:11px}
  .cleaning :is(#catalogCards,#top3Grid) .card-identity .picture {width:67px;height:67px}
  .cleaning .card-byline h3 {font-size:23px}
  .cleaning #instantMatches {gap:8px;padding:10px}
  .cleaning .match-people {gap:6px}
  .cleaning .preview-person {font-size:15px;padding-right:9px}
  .cleaning .district-edition {padding:15px}
}

.cleaning .profile-run {display:flex;align-items:center;gap:8px}

.cleaning #crmStories .edition-area,
.cleaning #districtSelect {
  appearance:none;-webkit-appearance:none;
  display:inline-block;max-width:100%;min-width:180px;
  margin:8px 0 10px;padding:9px 38px 9px 14px;
  border:1px solid #d4e0f5;border-radius:10px;
  background:#ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%231e3a5f' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center;
  color:#0f1b2d;font:inherit;font-size:15px;font-weight:600;line-height:1.25;
  box-shadow:0 2px 8px rgb(20 55 120 / 7%);cursor:pointer;
  transition:border-color .15s ease,box-shadow .15s ease;
}
.cleaning #districtSelect {margin:0;min-width:168px}
.cleaning #crmStories .edition-area:hover,
.cleaning #districtSelect:hover {border-color:var(--blue)}
.cleaning #crmStories .edition-area:focus-visible,
.cleaning #districtSelect:focus-visible {outline:none;border-color:var(--blue);box-shadow:0 0 0 3px rgb(37 99 235 / 18%)}

/* Partner registration CTA: header pill + editorial recruitment banner */
.cleaning .cw-partner-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-block-size: 38px;
  padding: 7px 14px;
  border: 1.5px solid rgb(255 255 255 / 58%);
  border-radius: 24px;
  color: white;
  background: rgb(255 255 255 / 8%);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap;
  transition: background-color 150ms ease-out, border-color 150ms ease-out, box-shadow 150ms ease-out, scale 150ms ease-out;
}
.cleaning .cw-partner-btn:hover {
  background: rgb(255 255 255 / 18%);
  border-color: white;
  box-shadow: 0 2px 10px rgb(11 16 32 / 18%);
}
.cleaning .cw-partner-btn:active { scale: 0.97; }
.cleaning .cw-partner-btn:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

.cleaning .partner-join-panel {
  position: relative;
  margin: 14px var(--gutter) 22px;
  padding: 24px 28px;
  border-radius: 16px;
  background: linear-gradient(135deg, #173f9e 0%, var(--blue) 60%, #2d6ae6 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px 28px;
  flex-wrap: wrap;
  box-shadow: 0 10px 28px rgb(20 55 120 / 16%);
}
.cleaning .partner-join-copy {
  flex: 1 1 360px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.cleaning .partner-join-eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgb(255 255 255 / 16%);
  color: #eef4ff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.01em;
}
.cleaning .partner-join-panel h2 {
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.12;
  color: white;
}
.cleaning .partner-join-desc {
  font-size: 16px;
  line-height: 1.38;
  color: rgb(255 255 255 / 90%);
  max-width: 60ch;
}
.cleaning .partner-join-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-block-size: 48px;
  padding: 12px 24px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.15;
  white-space: nowrap;
  box-shadow: 0 6px 18px rgb(11 16 32 / 18%);
  transition: background-color 150ms ease-out, box-shadow 150ms ease-out, scale 150ms ease-out;
}
.cleaning .partner-join-cta:hover {
  background: #ffd461;
  box-shadow: 0 10px 24px rgb(11 16 32 / 26%);
}
.cleaning .partner-join-cta:active { scale: 0.97; }
.cleaning .partner-join-cta:focus-visible { outline: 3px solid white; outline-offset: 3px; }
.cleaning .partner-join-arrow { font-size: 18px; line-height: 1; }

@media (max-width: 1640px) and (min-width: 761px) {
  .cleaning > header { gap: 12px; }
  .cleaning .cw-header-left { gap: 14px; }
  .cleaning header nav { gap: 12px; }
  .cleaning .cw-header-right { gap: 8px; }
  .cleaning .cw-header-search { width: 102px; font-size: 14px; }
  .cleaning .cw-nav-link { font-size: 15px; white-space: nowrap; }
  .cleaning .cw-partner-btn { padding: 7px 12px; font-size: 13.5px; }
  .cleaning .cw-auth-btn { padding: 8px 13px; font-size: 14px; }
}
@media (max-width: 1220px) and (min-width: 761px) {
  .cleaning .cw-search-input-wrap { display: none; }
}
@media (max-width: 760px) {
  .cleaning .cw-partner-btn {
    border-color: var(--blue);
    background: var(--ice);
    color: var(--blue);
    min-block-size: 40px;
    padding: 8px 14px;
  }
  .cleaning .cw-partner-btn:hover { background: #dce8ff; border-color: var(--hover); }
  .cleaning .cw-partner-btn:focus-visible { outline-color: var(--blue); }
  .cleaning .partner-join-panel {
    flex-direction: column;
    align-items: stretch;
    padding: 20px 18px;
    gap: 16px;
  }
  .cleaning .partner-join-copy { flex: 0 0 auto; gap: 8px; }
  .cleaning .partner-join-desc { font-size: 15px; }
  .cleaning .partner-join-cta {
    width: 100%;
    white-space: normal;
    text-align: center;
    padding: 12px 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cleaning .cw-partner-btn,
  .cleaning .partner-join-cta { transition: none; }
  .cleaning .cw-partner-btn:active,
  .cleaning .partner-join-cta:active { scale: none; }
}

/* Stage 1: Multi-service Home Services Hub (swipeable with scroll-snap) */
.cleaning .service-hub {
  margin: 14px var(--gutter) 4px;
  display: grid;
  gap: 8px;
}
.cleaning .service-hub-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.cleaning .service-hub-head h2 {
  font-size: clamp(19px, 1.7vw, 24px);
  color: var(--ink);
}
.cleaning .ecosystem-shield {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #17419e;
  background: #edf4ff;
  border-radius: 999px;
  padding: 5px 12px;
}
.cleaning .ecosystem-shield svg { width: 15px; height: 15px; flex: none; color: var(--blue); }
.cleaning .service-hub-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 2px 8px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}
.cleaning .svc-pill {
  flex: 0 0 auto;
  scroll-snap-align: start;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-block-size: 40px;
  padding: 8px 15px;
  border-radius: 999px;
  border: 1.5px solid #d4e0f5;
  background: white;
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color 150ms ease-out, border-color 150ms ease-out, box-shadow 150ms ease-out, scale 150ms ease-out;
}
.cleaning .svc-pill small {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  padding: 1px 6px;
  border-radius: 999px;
  background: #eef3fb;
  color: #36507a;
  font-size: 12px;
  font-weight: 700;
}
.cleaning .svc-pill:hover { border-color: var(--blue); background: #f5f9ff; }
.cleaning .svc-pill:active { scale: 0.97; }
.cleaning .svc-pill.active {
  background: var(--blue);
  border-color: var(--blue);
  color: white;
  box-shadow: 0 4px 14px rgb(36 87 198 / 24%);
}
.cleaning .svc-pill.active small { background: rgb(255 255 255 / 22%); color: white; }
.cleaning .svc-pill-on-demand { border-style: dashed; color: var(--muted); }

/* Stage 2: Entity Filter Tabs (All / Specialists / Companies VAT) & Company Badges */
.cleaning .entity-tabs {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px;
  border-radius: 999px;
  background: #eef3fb;
}
.cleaning .entity-tab {
  min-block-size: 34px;
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: #2c4166;
  white-space: nowrap;
  transition: background-color 150ms ease-out, color 150ms ease-out, box-shadow 150ms ease-out;
}
.cleaning .entity-tab:hover { color: var(--blue); }
.cleaning .entity-tab.active {
  background: white;
  color: var(--blue);
  box-shadow: 0 2px 6px rgb(16 45 85 / 12%);
}

.cleaning .card-name-row,
.cleaning .modal-name-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.cleaning .entity-company-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  background: #e6f0ff;
  color: #1644a8;
  border: 1px solid #bfd6ff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}
.cleaning .entity-brigade-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 999px;
  background: #edf9f0;
  color: #166534;
  border: 1px solid #bbf7d0;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}
.cleaning .card-svc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 6px;
}
.cleaning .card-svc-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  background: #f3f6fc;
  color: #273c61;
  font-size: 12.5px;
  font-weight: 600;
}

/* Dual Partner CTA buttons in Banner */
.cleaning .partner-join-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.cleaning .partner-company-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-block-size: 48px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1.5px solid rgb(255 255 255 / 72%);
  background: rgb(255 255 255 / 12%);
  color: white;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.15;
  white-space: nowrap;
  transition: background-color 150ms ease-out, border-color 150ms ease-out, scale 150ms ease-out;
}
.cleaning .partner-company-cta:hover { background: rgb(255 255 255 / 24%); border-color: white; }
.cleaning .partner-company-cta:active { scale: 0.97; }
.cleaning .partner-company-cta:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

/* Stage 3: Empty Service Card & Native In-Ecosystem Service Request Modal */
.cleaning .empty-service-card {
  grid-column: 1 / -1;
  padding: 28px 24px;
  border-radius: 16px;
  background: #f4f8ff;
  border: 1.5px solid #d4e2fa;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.cleaning .empty-service-card h3 { font-size: 22px; color: var(--ink); }
.cleaning .empty-service-card p { font-size: 16px; color: var(--muted); max-width: 58ch; }

.cleaning #serviceRequestModal {
  width: min(540px, calc(100vw - 24px));
  max-height: min(90dvh, 760px);
  padding: 26px 24px 24px;
  border: 0;
  border-radius: 20px;
  background: white;
  color: var(--ink);
  box-shadow: 0 24px 64px rgb(11 16 32 / 28%);
}
.cleaning #serviceRequestModal::backdrop { background: rgb(11 16 32 / 55%); backdrop-filter: blur(3px); }
.cleaning .sr-head { padding-right: 44px; margin-bottom: 14px; display: grid; gap: 6px; }
.cleaning .sr-head h2 { font-size: 26px; line-height: 1.12; }
.cleaning .sr-head p { font-size: 15px; color: var(--muted); line-height: 1.35; }
.cleaning .sr-summary {
  display: grid;
  gap: 4px;
  padding: 11px 14px;
  border-radius: 12px;
  background: #f3f7ff;
  border: 1px solid #d9e5fb;
  margin-bottom: 14px;
  font-size: 14.5px;
}
.cleaning .sr-summary strong { color: var(--blue); }
.cleaning .sr-form { display: grid; gap: 12px; }
.cleaning .sr-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cleaning .sr-field { display: grid; gap: 5px; }
.cleaning .sr-field label { font-size: 14px; font-weight: 700; color: var(--ink); }
.cleaning .sr-field input,
.cleaning .sr-field textarea {
  width: 100%;
  min-block-size: 44px;
  padding: 10px 12px;
  border: 1.5px solid #cfd9ea;
  border-radius: 10px;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: white;
}
.cleaning .sr-field textarea { min-block-size: 78px; resize: vertical; }
.cleaning .sr-field :is(input, textarea):focus-visible { outline: 3px solid rgb(36 87 198 / 28%); border-color: var(--blue); }
.cleaning .sr-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.35;
  color: var(--muted);
  cursor: pointer;
}
.cleaning .sr-consent input { width: 20px; height: 20px; flex: none; margin-top: 1px; accent-color: var(--blue); }
.cleaning .sr-error {
  padding: 10px 12px;
  border-radius: 10px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  font-size: 14px;
  font-weight: 600;
}
.cleaning .sr-submit-row { display: grid; gap: 8px; margin-top: 2px; }
.cleaning .sr-submit-row .btn { width: 100%; min-block-size: 48px; }
.cleaning .sr-shield-note { font-size: 13px; color: var(--muted); text-align: center; }
.cleaning .sr-success {
  padding: 18px;
  border-radius: 14px;
  background: #edf9f0;
  border: 1px solid #bbf7d0;
  display: grid;
  gap: 8px;
}
.cleaning .sr-success h3 { font-size: 20px; color: #166534; }
.cleaning .sr-success p { font-size: 15px; color: #14532d; }
.cleaning .sr-hp { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

@media (max-width: 760px) {
  .cleaning .service-hub { margin: 10px var(--gutter) 2px; }
  .cleaning .ecosystem-shield { font-size: 12px; padding: 4px 10px; }
  .cleaning .partner-join-actions { width: 100%; flex-direction: column; align-items: stretch; }
  .cleaning .partner-company-cta { width: 100%; white-space: normal; text-align: center; }
  .cleaning .sr-row-2 { grid-template-columns: 1fr; }
  .cleaning #serviceRequestModal { padding: 20px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .cleaning .svc-pill,
  .cleaning .entity-tab,
  .cleaning .partner-company-cta { transition: none; }
  .cleaning .svc-pill:active,
  .cleaning .partner-company-cta:active { scale: none; }
}

/* Wide Home Services 4-group tabs & active header nav link */
.cleaning .svc-group-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  padding: 2px 0;
  scrollbar-width: none;
}
.cleaning .svc-group-tabs::-webkit-scrollbar { display: none; }
.cleaning .svc-group-tab {
  flex: 0 0 auto;
  min-block-size: 32px;
  padding: 5px 12px;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 700;
  white-space: nowrap;
  transition: background-color 150ms ease-out, color 150ms ease-out;
}
.cleaning .svc-group-tab:hover { background: #edf3ff; color: var(--blue); }
.cleaning .svc-group-tab.active { background: #dce8ff; color: #1644a8; }
.cleaning #serviceNav .cw-nav-link.active {
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 2px;
}

/* Native modal dialog scroll containment (Modern Web Guidance) */
.cleaning dialog:modal {
  overscroll-behavior: contain;
}
.cleaning dialog::backdrop {
  overflow: hidden;
  overscroll-behavior: contain;
}

/* Modal action bar: Book + Full Profile ("Подробнее") + Share */
.cleaning .modal-action-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}
.cleaning .modal-full-profile-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-block-size: 40px;
  padding: 8px 14px;
  font-size: 14.5px;
  font-weight: 700;
}

/* Share / Copy button + accessible live-region status bubble */
.cleaning .cw-share-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.cleaning .cw-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-inline-size: 40px;
  min-block-size: 40px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 700;
}
.cleaning .cw-share-btn svg {
  width: 16px;
  height: 16px;
  flex: none;
}
.cleaning .cw-share-btn[data-copied] {
  border-color: #15803d;
  color: #15803d;
  background: #edf9f0;
}
.cleaning .cw-share-btn[data-failed] {
  border-color: #b91c1c;
  color: #b91c1c;
  background: #fef2f2;
}
.cleaning .cw-share-tip {
  position: absolute;
  inset-block-end: calc(100% + 6px);
  inset-inline-start: 50%;
  transform: translateX(-50%);
  padding: 5px 10px;
  border-radius: 8px;
  background: #0d1b36;
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 160ms ease-out;
  z-index: 20;
}
.cleaning .cw-share-btn:is([data-copied], [data-failed]) + .cw-share-tip {
  opacity: 1;
}

/* Human / Lifestyle "Poznaj bliżej" block (Modal + Full Profile) */
.cleaning .profile-personal {
  margin: 14px 0;
  padding: 14px 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, #f8fbff 0%, #f1f6ff 100%);
  border: 1px solid #d9e6fa;
}
.cleaning .profile-personal h3 {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 700;
  color: #112240;
}
.cleaning .personal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.cleaning .personal-item {
  padding: 10px 12px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #e3ecf9;
  display: grid;
  gap: 3px;
}
.cleaning .personal-item-wide {
  grid-column: 1 / -1;
  background: #fffdf5;
  border-color: #f3e2a8;
}
.cleaning .personal-item small,
.cleaning .personal-hobbies small {
  font-size: 12px;
  font-weight: 600;
  color: #556885;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.cleaning .personal-item strong {
  font-size: 14.5px;
  font-weight: 600;
  color: #0f1b2d;
  line-height: 1.35;
}
.cleaning .personal-hobbies {
  margin-top: 10px;
  display: grid;
  gap: 6px;
}
.cleaning .hobby-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.cleaning .hobby-chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 11px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #cddcf6;
  color: #173f9e;
  font-size: 13px;
  font-weight: 600;
}

/* Full Dedicated Specialist Profile Page View */
.cleaning.profile-mode :is(#start, #serviceHubSection, #matching, #featuredSection, #crmStories, .editorial-band, #katalog, #districtEdition, #localPanel, .seo-cleaner-summary) {
  display: none !important;
}
.cleaning .specialist-full-page[hidden] {
  display: none;
}
.cleaning .specialist-full-page {
  margin: 18px var(--gutter) 28px;
}
.cleaning .fp-shell {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  gap: 20px;
}
.cleaning .fp-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.cleaning .fp-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-block-size: 40px;
  padding: 8px 16px;
  border-radius: 999px;
  background: #eef4ff;
  color: #173f9e;
  font-size: 14.5px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 150ms ease-out;
}
.cleaning .fp-back-link:hover {
  background: #dce8ff;
}
.cleaning .fp-back-link svg {
  width: 17px;
  height: 17px;
}
.cleaning .fp-topbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.cleaning .fp-topbar-actions .favorite {
  position: static;
  width: 40px;
  height: 40px;
  border: 1px solid #d8e2f3;
  box-shadow: none;
}
.cleaning .fp-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 20px;
  align-items: start;
}
.cleaning .fp-main {
  display: grid;
  gap: 16px;
  min-width: 0;
}
.cleaning .fp-aside {
  display: grid;
  gap: 14px;
  position: sticky;
  top: 84px;
}
.cleaning .fp-card {
  padding: 22px 24px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid #dce6f5;
  box-shadow: 0 6px 20px rgb(16 45 85 / 6%);
  display: grid;
  gap: 12px;
}
.cleaning .fp-card h2 {
  margin: 0;
  font-size: 21px;
  line-height: 1.2;
  color: #0d1b36;
}
.cleaning .fp-card h3 {
  margin: 0 0 6px;
  font-size: 16px;
  color: #15294a;
}
.cleaning .fp-hero-grid {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
}
.cleaning .fp-portrait {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  overflow: hidden;
  background: #eef3fa;
  border: 3px solid #dce8ff;
}
.cleaning .fp-portrait img,
.cleaning .fp-portrait .portrait-initials {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 24%;
  display: grid;
  place-items: center;
  font-size: 40px;
  font-weight: 700;
}
.cleaning .fp-identity {
  display: grid;
  gap: 7px;
  min-width: 0;
}
.cleaning .fp-name-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.cleaning .fp-identity h1 {
  margin: 0;
  font-size: clamp(26px, 2.8vw, 36px);
  line-height: 1.08;
  color: #0d1b36;
}
.cleaning .fp-meta-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 17px;
}
.cleaning .fp-subline {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
}
.cleaning .fp-about-text {
  margin: 0;
  font-size: 16px;
  line-height: 1.52;
  color: #1d2d46;
}
.cleaning .fp-personal-card {
  padding: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
}
.cleaning .fp-personal-card .profile-personal {
  margin: 0;
  padding: 20px 22px;
}
.cleaning .fp-subblock {
  display: grid;
  gap: 6px;
  padding-top: 8px;
  border-top: 1px solid #edf2fa;
}
.cleaning .fp-district-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.cleaning .fp-district-chips span {
  display: inline-flex;
  padding: 5px 12px;
  border-radius: 999px;
  background: #f2f6fd;
  color: #203454;
  font-size: 13.5px;
  font-weight: 600;
}
.cleaning .fp-reviews-list {
  display: grid;
  gap: 12px;
}
.cleaning .fp-review-item {
  margin: 0;
  padding: 14px 16px;
  border-radius: 12px;
  background: #f7faff;
  border-left: 3px solid var(--blue);
  display: grid;
  gap: 8px;
}
.cleaning .fp-review-item p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.45;
  color: #162640;
}
.cleaning .fp-booking-card {
  gap: 14px;
  border-color: #c9dbf8;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}
.cleaning .fp-price-line {
  font-size: 20px;
  color: #0d1b36;
}
.cleaning .fp-primary-cta .btn {
  width: 100%;
  justify-content: center;
  min-block-size: 48px;
  font-size: 16.5px;
}
.cleaning .fp-trust-box {
  padding-top: 12px;
  border-top: 1px solid #e3ecf9;
  display: grid;
  gap: 8px;
}
.cleaning .fp-trust-box > strong {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14.5px;
  color: #1644a8;
}
.cleaning .fp-trust-box > strong svg {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--blue);
}
.cleaning .fp-trust-box ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}
.cleaning .fp-trust-box li {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-size: 13.5px;
  line-height: 1.35;
  color: #344763;
}
.cleaning .fp-trust-box li svg {
  width: 15px;
  height: 15px;
  flex: none;
  margin-top: 2px;
  color: #15803d;
}
.cleaning .fp-share-card p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--muted);
}
.cleaning .fp-share-url {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  background: #f3f7fe;
  border: 1px solid #dce6f7;
  font-size: 12.5px;
  color: #274472;
  overflow-wrap: anywhere;
}
.cleaning .fp-share-card .cw-share-wrap,
.cleaning .fp-share-card .cw-share-btn {
  width: 100%;
  justify-content: center;
}
.cleaning .fp-similar {
  margin-top: 8px;
  display: grid;
  gap: 12px;
}
.cleaning .fp-similar-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.cleaning .fp-similar-grid .journal-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  min-width: 0;
  padding: 16px;
  border: 0;
  border-radius: 16px;
  box-shadow: 0 0 15px rgb(16 45 85 / 10%);
  background: white;
}
.cleaning .fp-similar-grid .card-identity .picture {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  overflow: hidden;
  background: #eef3fa;
}
.cleaning .fp-similar-grid .person-actions {
  width: 100%;
  margin: 0;
  margin-top: auto;
  padding: 5px 0 0;
  border: 0;
}

.cleaning .fp-mobile-cta {
  display: none;
}

@media (max-width: 960px) {
  .cleaning .fp-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .cleaning .fp-aside {
    position: static;
  }
  .cleaning .fp-mobile-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding-top: 12px;
    border-top: 1px solid #e6eef9;
  }
  .cleaning .fp-mobile-cta .btn {
    flex: 1 1 200px;
    justify-content: center;
    min-block-size: 46px;
  }
  .cleaning .fp-similar-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .cleaning .specialist-full-page {
    margin: 12px var(--gutter) 22px;
  }
  .cleaning .fp-card {
    padding: 16px;
  }
  .cleaning .fp-hero-grid {
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
  }
  .cleaning .fp-portrait {
    width: 84px;
    height: 84px;
  }
  .cleaning .personal-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .cleaning .fp-similar-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .cleaning .modal-action-row {
    flex-direction: column;
    align-items: stretch;
  }
  .cleaning .modal-action-row > *,
  .cleaning .modal-action-row .cw-share-btn {
    width: 100%;
    justify-content: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cleaning .cw-share-tip,
  .cleaning .fp-back-link {
    transition: none;
  }
}
