/* UrbanNest light-only marketplace and fixed listing system, August 2026. */
:root {
  color-scheme: light;
  --marketplace-card-width: 292px;
  --marketplace-card-image-height: 218px;
  --marketplace-page-gutter: clamp(28px, 4vw, 72px);
  --marketplace-max-width: 1760px;
  --marketplace-shadow: 0 8px 24px rgba(17, 24, 39, 0.09);
  --marketplace-shadow-hover: 0 16px 36px rgba(17, 24, 39, 0.14);
}

html,
body {
  color-scheme: light;
  background: #ffffff;
  color: #17191c;
}

input,
select,
textarea,
button {
  color-scheme: light;
}

.discovery-nav {
  position: sticky;
  top: 0;
  z-index: 80;
  border-bottom: 1px solid #e7e9ec;
  background: #ffffff;
  box-shadow: 0 2px 12px rgba(17, 24, 39, 0.04);
}

.discovery-nav .nav-inner {
  width: min(calc(100% - (var(--marketplace-page-gutter) * 2)), var(--marketplace-max-width));
  max-width: var(--marketplace-max-width);
  min-height: 84px;
  margin-inline: auto;
  padding: 8px 0;
  gap: 28px;
}

.discovery-brand {
  flex: 0 0 auto;
  gap: 11px;
}

.discovery-brand .brand-logo-wrap,
.discovery-brand .brand-logo-image {
  width: 52px;
  height: 52px;
  border-radius: 50%;
}

.discovery-brand .brand-logo-image {
  border: 1px solid #eceef0;
  background: #ffffff;
  object-fit: contain;
  box-shadow: 0 4px 12px rgba(17, 24, 39, 0.08);
}

.discovery-brand strong {
  color: #17191c;
  font-size: 25px;
  line-height: 1;
  letter-spacing: 0;
}

.discovery-nav .nav-links {
  gap: 26px;
}

.discovery-nav .nav-links .link-button {
  min-height: 44px;
  padding: 8px 2px;
  color: #2a2d31;
  font-size: 14px;
  font-weight: 800;
}

.nav-saved-action,
.nav-signin-action,
.nav-menu-action {
  min-width: 44px;
  min-height: 44px;
  color: #17191c;
  font-size: 14px;
}

.marketplace-home,
.sale-coming-soon-shell,
.sale-coming-soon-page {
  background: #ffffff;
  color: #17191c;
}

.marketplace-home {
  min-height: calc(100vh - 84px);
}

.marketplace-wide-container {
  width: min(calc(100% - (var(--marketplace-page-gutter) * 2)), var(--marketplace-max-width));
  max-width: var(--marketplace-max-width);
  margin-inline: auto;
}

.marketplace-discovery-panel {
  position: relative;
  z-index: 10;
  padding: 18px 0 30px;
  border-bottom: 1px solid #e7e9ec;
  background: #ffffff;
}

.marketplace-category-tabs {
  display: flex;
  width: max-content;
  max-width: 100%;
  align-items: stretch;
  justify-content: center;
  gap: 8px;
  margin: 0 auto 18px;
}

.marketplace-category-tabs button {
  position: relative;
  display: grid;
  min-width: 128px;
  min-height: 64px;
  grid-template-columns: auto auto;
  align-content: center;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 14px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: #5d636d;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.marketplace-category-tabs button::after {
  position: absolute;
  right: 18px;
  bottom: 2px;
  left: 18px;
  height: 3px;
  border-radius: 3px;
  background: transparent;
  content: "";
}

.marketplace-category-tabs button:hover {
  background: #f6f7f8;
  color: #17191c;
}

.marketplace-category-tabs button.active {
  color: #17191c;
}

.marketplace-category-tabs button.active::after {
  background: #ff7a1a;
}

.marketplace-category-tabs .dock-icon {
  width: 26px;
  height: 26px;
  color: #008b8c;
}

.home-search-bar {
  width: min(900px, 100%);
  grid-template-columns: minmax(190px, 1.25fr) repeat(3, minmax(135px, 0.78fr)) auto;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid #dfe2e5;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.11);
}

.home-search-bar.people-search-bar {
  grid-template-columns: minmax(230px, 1fr) minmax(280px, 1.25fr) auto;
}

.home-search-bar label {
  min-height: 62px;
  justify-content: center;
  padding: 10px 18px;
  border-color: #e7e9ec;
  color: #515762;
}

.home-search-bar label:hover,
.home-search-bar label:focus-within {
  border-radius: 999px;
  background: #f4f5f6;
}

.home-search-bar label > span,
.home-search-bar .search-context-copy small {
  color: #17191c;
  font-size: 12px;
  font-weight: 900;
}

.home-search-bar select {
  color: #646b76;
  font-size: 12px;
  font-weight: 650;
}

.search-context-copy {
  display: grid;
  min-width: 0;
  align-content: center;
  gap: 3px;
  padding: 10px 18px;
  color: #656c76;
  font-size: 12px;
}

.search-context-copy strong {
  overflow: hidden;
  color: #656c76;
  font-size: 12px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-search-submit {
  position: relative;
  display: grid;
  width: 48px;
  min-width: 48px;
  height: 48px;
  min-height: 48px;
  align-self: center;
  margin: 7px 8px 7px 6px;
  overflow: hidden;
  padding: 0;
  border-radius: 50%;
  color: #111111;
  font-size: 0;
  place-items: center;
  box-shadow: 0 5px 14px rgba(255, 122, 26, 0.24);
}

.home-search-submit .dock-icon {
  width: 21px;
  height: 21px;
  stroke-width: 2.5;
}

.marketplace-results-section {
  padding: 44px 0 84px;
  background: #ffffff;
}

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

.marketplace-results-heading h1,
.marketplace-results-heading p {
  margin: 0;
}

.marketplace-results-heading h1 {
  color: #17191c;
  font-size: clamp(27px, 2.2vw, 38px);
  line-height: 1.1;
}

.marketplace-results-heading p {
  margin-top: 6px;
  color: #626a75;
  font-size: 14px;
}

.marketplace-results-heading > span {
  flex: 0 0 auto;
  color: #626a75;
  font-size: 13px;
  font-weight: 800;
}

.airbnb-property-grid,
.marketplace-people-grid,
.property-grid,
.property-bubble-grid,
.floating-listing-grid,
.unit-floating-grid,
.mockup-search-results,
.mockup-secondary-panel .property-bubble-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 248px), var(--marketplace-card-width)));
  justify-content: start;
  align-items: start;
  gap: 30px 16px;
}

.property-card,
.discovery-property-card,
.property-bubble-card,
.floating-listing-card,
.unit-floating-card,
.mockup-property-list-card,
.saved-property-wrap {
  width: 100%;
  max-width: var(--marketplace-card-width);
  min-width: 0;
  justify-self: start;
}

.property-card,
.discovery-property-card,
.property-bubble-card,
.floating-listing-card,
.unit-floating-card,
.mockup-property-list-card {
  overflow: hidden;
  border: 1px solid #e7e9ec;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: var(--marketplace-shadow);
  transition: box-shadow 160ms ease, transform 160ms ease;
}

.property-card:hover,
.discovery-property-card:hover,
.property-bubble-card:hover,
.floating-listing-card:hover,
.unit-floating-card:hover,
.mockup-property-list-card:hover {
  box-shadow: var(--marketplace-shadow-hover);
  transform: translateY(-2px);
}

.property-rail > .discovery-property-card {
  flex: 0 0 var(--marketplace-card-width);
  max-width: var(--marketplace-card-width);
}

.discovery-property-card .photo-carousel,
.discovery-property-card .photo-track,
.discovery-property-card .photo-track img,
.discovery-property-card .listing-photo-empty,
.property-card .photo-carousel,
.property-card .photo-track,
.property-card .photo-track img,
.property-card .listing-photo-empty {
  width: 100%;
  height: var(--marketplace-card-image-height);
  min-height: var(--marketplace-card-image-height);
}

.discovery-property-card .photo-track img,
.property-card .photo-track img {
  flex: 0 0 100%;
  object-fit: cover;
}

.property-bubble-main,
.mockup-secondary-panel .property-bubble-main {
  display: block;
  grid-template-columns: none;
  width: 100%;
}

.property-bubble-image,
.mockup-secondary-panel .property-bubble-image {
  display: block;
  width: 100%;
  height: var(--marketplace-card-image-height);
  min-height: var(--marketplace-card-image-height);
  overflow: hidden;
}

.property-bubble-image img,
.mockup-secondary-panel .property-bubble-image img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
}

.property-bubble-copy {
  padding: 15px;
}

.property-bubble-stats,
.mockup-secondary-panel .property-bubble-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.property-bubble-stats span {
  padding: 8px 6px;
  border-radius: 10px;
  text-align: center;
}

.property-bubble-stats strong {
  font-size: 18px;
}

.property-bubble-money {
  font-size: 17px;
}

.floating-image-wrap,
.floating-listing-card .floating-image-wrap {
  display: block;
  width: 100%;
  height: var(--marketplace-card-image-height);
  overflow: hidden;
}

.floating-image-wrap img,
.floating-listing-card .floating-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.floating-listing-body {
  display: grid;
  gap: 9px;
  padding: 15px;
}

.unit-floating-main {
  display: block;
}

.unit-floating-main > img {
  width: 100%;
  height: var(--marketplace-card-image-height);
  object-fit: cover;
}

.unit-floating-body {
  display: grid;
  gap: 8px;
  padding: 15px;
}

.mockup-property-open {
  display: block;
}

.mockup-property-image {
  display: block;
  width: 100%;
  height: var(--marketplace-card-image-height);
  min-height: var(--marketplace-card-image-height);
}

.mockup-property-copy {
  gap: 7px;
  padding: 15px;
}

.mockup-property-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.marketplace-people-grid {
  --marketplace-card-width: 320px;
}

.marketplace-people-grid .crew-market-card {
  width: 100%;
  max-width: 320px;
  min-width: 0;
  border: 1px solid #e7e9ec;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: var(--marketplace-shadow);
}

.marketplace-people-grid .crew-market-card .app-user {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 11px;
}

.marketplace-people-grid .crew-market-card .app-user > div,
.marketplace-people-grid .crew-market-card .app-user strong,
.marketplace-people-grid .crew-market-card .app-user small,
.marketplace-people-grid .crew-market-card .app-user > div > span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.marketplace-people-grid .crew-market-card .app-user strong,
.marketplace-people-grid .crew-market-card .app-user small,
.marketplace-people-grid .crew-market-card .app-user > div > span {
  display: block;
}

.marketplace-people-grid .crew-market-card .profile-subline .stars {
  display: inline-flex;
  gap: 1px;
  white-space: nowrap;
}

.marketplace-people-grid .crew-market-card .profile-subline .star {
  display: inline;
}

.public-marketplace-dock {
  display: none;
}

.sale-coming-soon-page {
  display: grid;
  min-height: calc(100vh - 84px);
  place-items: center;
  padding: 48px var(--marketplace-page-gutter);
}

.sale-coming-soon-page > section {
  width: min(620px, 100%);
  padding: 48px;
  border: 1px solid #e7e9ec;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: var(--marketplace-shadow);
  text-align: center;
}

.sale-coming-icon {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  margin: 0 auto 20px;
  border-radius: 18px;
  background: #e5f7f7;
  color: #008b8c;
}

.sale-coming-icon .dock-icon {
  width: 30px;
  height: 30px;
}

.sale-coming-soon-page h1 {
  margin: 8px 0 12px;
  color: #17191c;
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.04;
}

.sale-coming-soon-page p {
  margin: 0 auto 24px;
  color: #626a75;
  line-height: 1.6;
}

.compact-home-signoff {
  padding-bottom: 26px;
  background: #f6f7f8;
  color: #17191c;
}

@media (min-width: 761px) {
  .tab-search .role-dashboard-shell {
    display: grid;
    width: calc(100% - 32px);
    max-width: none;
  }

  .tab-search .mockup-dashboard-sidebar {
    display: flex;
  }

  .tab-search .mockup-dashboard-heading {
    display: flex;
  }

  .tab-search .mockup-dashboard-main.app-main {
    padding: 38px 42px 52px;
  }
}

@media (max-width: 980px) {
  .discovery-nav .nav-inner {
    gap: 14px;
  }

  .discovery-nav .nav-links {
    gap: 14px;
  }

  .home-search-bar {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
    border-radius: 24px;
  }

  .home-search-bar label:nth-of-type(3),
  .home-search-bar label:nth-of-type(4) {
    border-top: 1px solid #e7e9ec;
  }

  .home-search-bar.people-search-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
  }
}

@media (max-width: 760px) {
  :root {
    --marketplace-page-gutter: 16px;
    --marketplace-card-width: 100%;
    --marketplace-card-image-height: 226px;
  }

  body {
    padding-bottom: env(safe-area-inset-bottom);
  }

  .discovery-nav .nav-inner {
    min-height: 66px;
    padding: 6px 0;
  }

  .discovery-brand {
    gap: 8px;
  }

  .discovery-brand .brand-logo-wrap,
  .discovery-brand .brand-logo-image {
    width: 43px;
    height: 43px;
  }

  .discovery-brand strong {
    display: inline;
    font-size: 20px;
  }

  .discovery-actions {
    margin-left: auto;
  }

  .nav-saved-action,
  .nav-signin-action {
    display: none;
  }

  .discovery-nav .mobile-nav-toggle {
    display: inline-grid !important;
    width: 42px;
    height: 42px;
    border: 1px solid #e7e9ec;
    border-radius: 50%;
    background: #ffffff;
  }

  .marketplace-home {
    min-height: calc(100vh - 66px);
    padding-bottom: 92px;
  }

  .marketplace-discovery-panel {
    padding: 8px 0 18px;
  }

  .marketplace-category-tabs {
    width: 100%;
    justify-content: flex-start;
    gap: 2px;
    margin-bottom: 12px;
    overflow-x: auto;
    padding: 0 0 4px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .marketplace-category-tabs::-webkit-scrollbar {
    display: none;
  }

  .marketplace-category-tabs button {
    min-width: max-content;
    min-height: 54px;
    flex: 0 0 auto;
    gap: 7px;
    padding: 8px 12px;
    scroll-snap-align: start;
    font-size: 13px;
  }

  .marketplace-category-tabs .dock-icon {
    width: 22px;
    height: 22px;
  }

  .home-search-bar,
  .home-search-bar.people-search-bar {
    display: grid;
    width: 100%;
    grid-template-columns: minmax(0, 1fr) auto;
    overflow: hidden;
    border-radius: 18px;
  }

  .home-search-bar label,
  .home-search-bar.people-search-bar label {
    min-height: 58px;
    padding: 9px 13px;
  }

  .home-search-bar label:not(:first-of-type),
  .home-search-bar .search-context-copy {
    display: none;
  }

  .home-search-bar.people-search-bar {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  }

  .home-search-bar.people-search-bar label:not(:first-of-type) {
    display: grid;
  }

  .home-search-submit {
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
    margin: 7px;
  }

  .marketplace-results-section {
    padding: 28px 0 118px;
  }

  .marketplace-results-heading {
    display: grid;
    align-items: start;
    gap: 8px;
    margin-bottom: 18px;
  }

  .marketplace-results-heading h1 {
    font-size: 28px;
  }

  .airbnb-property-grid,
  .marketplace-people-grid,
  .property-grid,
  .property-bubble-grid,
  .floating-listing-grid,
  .unit-floating-grid,
  .mockup-search-results,
  .mockup-secondary-panel .property-bubble-grid {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 20px;
  }

  .property-card,
  .discovery-property-card,
  .property-bubble-card,
  .floating-listing-card,
  .unit-floating-card,
  .mockup-property-list-card,
  .saved-property-wrap,
  .marketplace-people-grid .crew-market-card {
    max-width: 390px;
    justify-self: center;
  }

  .public-marketplace-dock {
    position: fixed;
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
    left: 10px;
    z-index: 95;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    min-height: 68px;
    padding: 7px 5px;
    border: 1px solid #dfe2e5;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 12px 34px rgba(17, 24, 39, 0.18);
  }

  .public-marketplace-dock button {
    display: grid;
    min-width: 0;
    min-height: 54px;
    place-items: center;
    align-content: center;
    gap: 3px;
    padding: 4px 2px;
    border: 0;
    border-radius: 14px;
    background: transparent;
    color: #545b65;
    font-size: 10px;
    font-weight: 800;
  }

  .public-marketplace-dock button.active {
    background: #fff0e5;
    color: #d85f08;
  }

  .public-marketplace-dock .dock-icon {
    width: 22px;
    height: 22px;
  }

  .compact-home-signoff {
    display: none;
  }

  .sale-coming-soon-page {
    min-height: calc(100vh - 66px);
    padding: 24px 14px 96px;
  }

  .sale-coming-soon-page > section {
    padding: 32px 20px;
    border-radius: 18px;
  }
}

@media (max-width: 360px) {
  .discovery-brand strong {
    font-size: 18px;
  }

  .marketplace-results-heading h1 {
    font-size: 25px;
  }

  .public-marketplace-dock {
    right: 6px;
    left: 6px;
    padding-inline: 2px;
  }

  .public-marketplace-dock button {
    font-size: 9px;
  }
}

/* Home content is ordered for discovery: search, Shorts, homes, then guidance. */
.marketplace-home .shorts-section {
  padding: 38px 0 42px;
  border-top: 1px solid #e7e9ec;
  border-bottom: 1px solid #e7e9ec;
  background: #f6f7f8;
  color: #17191c;
}

.marketplace-home .shorts-section .container {
  width: min(calc(100% - (var(--marketplace-page-gutter) * 2)), var(--marketplace-max-width));
  max-width: var(--marketplace-max-width);
  margin-inline: auto;
}

.marketplace-home .shorts-section .section-title {
  align-items: end;
  margin-bottom: 22px;
}

.marketplace-home .shorts-section .section-title h2,
.marketplace-home .shorts-section .shorts-empty strong {
  color: #17191c;
}

.marketplace-home .shorts-section .section-title p,
.marketplace-home .shorts-section .shorts-empty span {
  color: #626a75;
}

.marketplace-home .shorts-section .shorts-empty {
  border-color: #d9dde2;
  background: #ffffff;
  color: #17191c;
}

.marketplace-about-section,
.marketplace-faq-section {
  padding: 64px 0;
  background: #ffffff;
  color: #17191c;
}

.marketplace-about-section {
  border-top: 1px solid #e7e9ec;
  background: #f6f7f8;
}

.marketplace-about-grid,
.marketplace-faq-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}

.marketplace-about-copy h2,
.marketplace-faq-layout h2 {
  max-width: 760px;
  margin: 7px 0 12px;
  color: #17191c;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.08;
}

.marketplace-about-copy p,
.marketplace-faq-layout > div:first-child > p {
  max-width: 620px;
  margin: 0;
  color: #626a75;
  font-size: 15px;
  line-height: 1.65;
}

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

.marketplace-about-points article {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 18px;
  border: 1px solid #e1e4e8;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.05);
}

.marketplace-about-points .dock-icon {
  width: 22px;
  height: 22px;
  padding: 11px;
  border-radius: 50%;
  background: #e4f7f6;
  color: #087f81;
  box-sizing: content-box;
}

.marketplace-about-points article div {
  display: grid;
  gap: 4px;
}

.marketplace-about-points strong {
  color: #17191c;
  font-size: 16px;
}

.marketplace-about-points span {
  color: #626a75;
  font-size: 13px;
  line-height: 1.5;
}

.marketplace-faq-list {
  display: grid;
  gap: 10px;
}

.marketplace-faq-list details {
  overflow: hidden;
  border: 1px solid #e1e4e8;
  border-radius: 14px;
  background: #ffffff;
}

.marketplace-faq-list summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 22px;
  gap: 16px;
  align-items: center;
  min-height: 60px;
  padding: 15px 18px;
  color: #17191c;
  font-size: 15px;
  font-weight: 800;
  list-style: none;
  cursor: pointer;
}

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

.marketplace-faq-list summary .dock-icon {
  width: 20px;
  height: 20px;
  color: #087f81;
  transition: transform 160ms ease;
}

.marketplace-faq-list details[open] summary .dock-icon {
  transform: rotate(45deg);
}

.marketplace-faq-list p {
  margin: 0;
  padding: 0 18px 18px;
  color: #626a75;
  font-size: 14px;
  line-height: 1.6;
}

.marketplace-contact-section {
  padding: 64px 0 24px;
  border-top: 1px solid #2e3338;
  background: #17191c;
  color: #ffffff;
}

.marketplace-contact-layout {
  display: grid;
  grid-template-columns: minmax(260px, 1.12fr) minmax(250px, 0.94fr) minmax(250px, 0.94fr);
  gap: clamp(34px, 5vw, 76px);
  align-items: start;
}

.marketplace-contact-intro {
  display: grid;
  justify-items: start;
}

.marketplace-contact-intro > img {
  width: 64px;
  height: 64px;
  margin-bottom: 22px;
  border: 2px solid rgba(255, 255, 255, 0.84);
  border-radius: 50%;
  background: #ffffff;
  object-fit: contain;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.marketplace-contact-section .eyebrow {
  color: #72dcda;
}

.marketplace-contact-intro h2 {
  max-width: 520px;
  margin: 8px 0 14px;
  color: #ffffff;
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1.06;
}

.marketplace-contact-intro p,
.marketplace-contact-connect > p {
  max-width: 540px;
  margin: 0;
  color: #c8cdd3;
  font-size: 15px;
  line-height: 1.65;
}

.marketplace-contact-details,
.marketplace-contact-connect {
  display: grid;
  min-width: 0;
  gap: 12px;
}

.marketplace-contact-details h3,
.marketplace-contact-connect h3 {
  margin: 0 0 6px;
  color: #ffffff;
  font-size: 18px;
}

.marketplace-contact-details > a,
.marketplace-contact-details > div {
  display: grid;
  min-width: 0;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 8px 0;
  color: #ffffff;
  text-decoration: none;
}

.marketplace-contact-details > a:hover strong {
  color: #72dcda;
}

.marketplace-contact-details .dock-icon {
  width: 20px;
  height: 20px;
  padding: 10px;
  border-radius: 50%;
  background: #272c31;
  color: #72dcda;
  box-sizing: content-box;
}

.marketplace-contact-details span {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.marketplace-contact-details small {
  color: #949ca5;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.marketplace-contact-details strong {
  max-width: 100%;
  color: #ffffff;
  font-size: 14px;
  line-height: 1.35;
  overflow-wrap: anywhere;
  transition: color 160ms ease;
}

.whatsapp-contact-button {
  display: inline-flex;
  width: fit-content;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 18px;
  border-radius: 12px;
  background: #1f9d68;
  color: #ffffff;
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(31, 157, 104, 0.24);
  transition: transform 160ms ease, background 160ms ease;
}

.whatsapp-contact-button:hover {
  background: #19875a;
  transform: translateY(-1px);
}

.whatsapp-contact-button .dock-icon {
  width: 21px;
  height: 21px;
}

.marketplace-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 5px;
}

.marketplace-social-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid #3a4148;
  border-radius: 10px;
  background: #22272b;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.marketplace-social-link .dock-icon {
  width: 17px;
  height: 17px;
}

.marketplace-social-link.pending {
  color: #aab1b8;
  cursor: default;
  opacity: 0.76;
}

.social-links-note {
  color: #949ca5;
  font-size: 11px;
  line-height: 1.45;
}

.marketplace-contact-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid #343a40;
  color: #aeb5bc;
  font-size: 12px;
  line-height: 1.5;
}

.nairobi-mini {
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.nairobi-mini strong {
  color: #ff7417;
}

.techbykennedy-credit {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 5px 14px;
}

.techbykennedy-credit strong {
  color: #ffffff;
}

.techbykennedy-credit a {
  color: #c8cdd3;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.techbykennedy-credit a:hover {
  color: #72dcda;
}

@media (max-width: 900px) and (min-width: 761px) {
  .marketplace-contact-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 38px;
  }

  .marketplace-contact-intro {
    grid-column: 1 / -1;
  }
}

/* Profile pages keep their headings left and all account actions at the end. */
.tab-profile .mockup-dashboard-heading,
.role-crew.tab-account .mockup-dashboard-heading {
  align-items: flex-start;
  text-align: left;
}

.tab-profile .mockup-heading-intro,
.role-crew.tab-account .mockup-heading-intro {
  width: 100%;
  justify-content: flex-start;
  text-align: left;
}

.tab-profile .mockup-heading-actions,
.role-crew.tab-account .mockup-heading-actions {
  display: none;
}

.profile-session-panel {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid #e1e4e8;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.05);
}

.profile-session-panel > div {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.profile-session-panel strong {
  color: #17191c;
  overflow-wrap: anywhere;
}

.profile-session-panel > div > span {
  color: #626a75;
  font-size: 13px;
  line-height: 1.45;
}

.profile-signout-action {
  display: inline-flex;
  width: auto;
  min-width: 132px;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.profile-signout-action .dock-icon {
  width: 18px;
  height: 18px;
}

/* Financial values may wrap, but must never be clipped or covered by actions. */
.mockup-rent-due {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.mockup-rent-due > div,
.mockup-kpi-card,
.dashboard-summary-card,
.profile-detail-grid > div,
.financial-card {
  min-width: 0;
}

.mockup-rent-due strong,
.mockup-kpi-card > strong,
.dashboard-summary-card strong,
.profile-detail-grid strong,
.financial-card strong {
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: normal;
}

@media (max-width: 760px) {
  .marketplace-home .shorts-section {
    padding: 28px 0 32px;
  }

  .marketplace-home .shorts-section .section-title {
    display: grid;
    gap: 8px;
    align-items: start;
  }

  .marketplace-home .shorts-section .section-title h2 {
    font-size: 27px;
  }

  .marketplace-about-section,
  .marketplace-faq-section {
    padding: 42px 0;
  }

  .marketplace-faq-section {
    padding-bottom: 42px;
  }

  .marketplace-about-grid,
  .marketplace-faq-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .marketplace-about-copy h2,
  .marketplace-faq-layout h2 {
    font-size: 30px;
  }

  .marketplace-home {
    padding-bottom: 0;
  }

  .marketplace-contact-section {
    padding: 44px 0 calc(112px + env(safe-area-inset-bottom));
  }

  .marketplace-contact-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
  }

  .marketplace-contact-intro > img {
    width: 56px;
    height: 56px;
    margin-bottom: 18px;
  }

  .marketplace-contact-intro h2 {
    font-size: 31px;
  }

  .marketplace-contact-details > a,
  .marketplace-contact-details > div {
    min-height: 48px;
  }

  .whatsapp-contact-button {
    width: 100%;
  }

  .marketplace-social-link {
    min-height: 44px;
  }

  .marketplace-contact-legal {
    display: grid;
    justify-items: start;
    margin-top: 38px;
  }

  .techbykennedy-credit {
    display: grid;
    justify-items: start;
    justify-content: start;
    gap: 6px;
  }

  .profile-session-panel {
    display: grid;
    padding: 16px;
  }

  .profile-signout-action {
    width: 100%;
  }

  .mockup-rent-due {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    align-items: stretch;
  }

  .mockup-rent-due strong {
    font-size: clamp(19px, 5.5vw, 24px);
    line-height: 1.15;
  }

  .mockup-rent-due .button {
    width: 100%;
    min-width: 0;
  }

  .mockup-kpi-card > strong,
  .dashboard-summary-card strong,
  .profile-detail-grid strong,
  .financial-card strong {
    font-size: clamp(17px, 4.7vw, 22px);
    line-height: 1.15;
  }
}

@media (max-width: 360px) {
  .marketplace-about-points article {
    grid-template-columns: 40px minmax(0, 1fr);
    padding: 14px;
  }

  .marketplace-about-points .dock-icon {
    width: 19px;
    height: 19px;
    padding: 9px;
  }

  .profile-summary-card > summary {
    grid-template-columns: 36px minmax(0, 1fr) 18px;
  }

  .profile-summary-status {
    display: none !important;
  }
}
