/*
 * SSS69 v1.7.0 final profile cascade guard.
 *
 * Load this file after the legacy Code Snippets output. Every visual rule is
 * deliberately scoped to the v1.7 single-listing template. Review markup is
 * intentionally excluded: #customer-reviews.klescortz-reviews remains owned
 * by the existing moderated-reviews snippet.
 */

html body.single-job_listing.sss69-v161-profile-page .sss69-profile-main {
  width: 100% !important;
  max-width: none;
  padding-right: 0 !important;
  padding-left: 0 !important;
}

html body.single-job_listing.sss69-v161-profile-page .sss69-profile-grid {
  display: grid;
  width: 100% !important;
  max-width: none !important;
  margin-right: auto !important;
  margin-left: auto !important;
  grid-template-columns: minmax(300px, 1.05fr) minmax(310px, 0.92fr) minmax(300px, 0.78fr) !important;
  align-items: start !important;
  justify-content: stretch !important;
  gap: 18px !important;
}

html body.single-job_listing.sss69-v161-profile-page .sss69-profile-grid > section,
html body.single-job_listing.sss69-v161-profile-page .klescortz-profile-left-stage,
html body.single-job_listing.sss69-v161-profile-page .klescortz-profile-left-stage > section {
  min-width: 0;
}

html body.single-job_listing.sss69-v161-profile-page .sss69-profile-grid > section:last-child {
  width: 100%;
  height: auto !important;
  min-height: 0 !important;
  align-self: start !important;
}

html body.single-job_listing.sss69-v161-profile-page :is(
  .sss69-gallery,
  .sss69-profile-info,
  .sss69-booking-panel
) {
  width: 100% !important;
  min-width: 0;
  max-width: none;
  border: 1px solid rgba(192, 132, 252, 0.22);
  border-radius: var(--v160-radius, 16px);
  background:
    radial-gradient(circle at 100% 0, rgba(242, 10, 143, 0.075), transparent 38%),
    linear-gradient(150deg, rgba(22, 11, 35, 0.985), rgba(7, 4, 12, 0.995));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.54), 0 0 32px rgba(139, 36, 255, 0.08);
}

html body.single-job_listing.sss69-v161-profile-page .sss69-gallery {
  padding: 10px;
}

html body.single-job_listing.sss69-v161-profile-page .sss69-gallery-main {
  position: relative;
  min-height: 580px;
  overflow: hidden;
  border: 1px solid rgba(192, 132, 252, 0.18);
  border-radius: 11px;
  background: #12091d;
  box-shadow: inset 0 0 36px rgba(139, 36, 255, 0.09);
}

html body.single-job_listing.sss69-v161-profile-page .sss69-gallery-main > :is(img, .sss69-image-placeholder) {
  width: 100%;
  height: 100%;
  min-height: 580px;
  object-fit: cover;
}

html body.single-job_listing.sss69-v161-profile-page .sss69-status {
  top: 14px;
  right: auto;
  bottom: auto;
  left: 14px;
  width: auto;
  height: auto;
  min-width: 0;
  transform: none;
  border-color: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: #eee5ff;
  background: rgba(9, 4, 15, 0.88);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.42), 0 0 18px rgba(139, 36, 255, 0.2);
}

html body.single-job_listing.sss69-v161-profile-page .sss69-profile-info {
  padding: clamp(20px, 2.4vw, 32px);
}

html body.single-job_listing.sss69-v161-profile-page :is(
  .sss69-stat-item,
  .sss69-rate-grid > div,
  .sss69-tags span,
  .sss69-service-item,
  .sss69-trust > div
) {
  border-color: rgba(192, 132, 252, 0.2);
  background: linear-gradient(145deg, rgba(139, 36, 255, 0.07), rgba(255, 255, 255, 0.012));
}

html body.single-job_listing.sss69-v161-profile-page .sss69-rate-grid > div.is-popular {
  border-color: rgba(232, 65, 199, 0.58);
  background: linear-gradient(145deg, rgba(139, 36, 255, 0.2), rgba(242, 10, 143, 0.07));
}

html body.single-job_listing.sss69-v161-profile-page .sss69-booking-panel {
  position: sticky;
  top: 104px;
  display: block !important;
  height: auto !important;
  min-height: 0;
  padding: 22px;
}

html body.single-job_listing.sss69-v161-profile-page.admin-bar .sss69-booking-panel {
  top: 136px;
}

html body.single-job_listing.sss69-v161-profile-page .sss69-booking-panel .sss69-booking-form {
  display: block;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(192, 132, 252, 0.2);
}

html body.single-job_listing.sss69-v161-profile-page .sss69-booking-panel .sss69-booking-form > small:last-child {
  display: block;
  margin-top: 8px;
  padding-top: 0;
}

html body.single-job_listing.sss69-v161-profile-page .sss69-booking-panel :is(
  .sss69-calendar-head button,
  .sss69-time-grid button
) {
  border-color: rgba(192, 132, 252, 0.24);
  color: #c9bed5;
  background: linear-gradient(145deg, rgba(24, 12, 36, 0.96), rgba(8, 4, 13, 0.98));
}

html body.single-job_listing.sss69-v161-profile-page .sss69-booking-panel :is(
  .sss69-calendar-head button,
  .sss69-time-grid button,
  .sss69-calendar button:not(:disabled)
):hover {
  border-color: rgba(192, 92, 255, 0.66);
  color: #fff;
  background: rgba(139, 36, 255, 0.16);
}

html body.single-job_listing.sss69-v161-profile-page .sss69-booking-panel :is(
  .sss69-calendar button.is-available,
  .sss69-time-grid button.is-available
) {
  border-color: rgba(168, 85, 247, 0.5);
  color: #f7f2ff;
  background: rgba(139, 36, 255, 0.13);
}

html body.single-job_listing.sss69-v161-profile-page .sss69-booking-panel :is(
  .sss69-calendar button.is-selected,
  .sss69-time-grid button.is-selected
) {
  border-color: #c05cff;
  color: #fff;
  background: linear-gradient(135deg, #7c19ff 0%, #a51fff 42%, #d4007a 76%, #f20a8f 100%);
  box-shadow: 0 0 20px rgba(139, 36, 255, 0.34), 0 0 15px rgba(242, 10, 143, 0.16);
}

html body.single-job_listing.sss69-v161-profile-page .sss69-booking-panel .sss69-form-grid :is(input, select, textarea) {
  border-color: rgba(192, 132, 252, 0.24);
  color: #f7f2ff;
  background: #08040d;
}

html body.single-job_listing.sss69-v161-profile-page .sss69-booking-panel .sss69-form-grid :is(input, select, textarea):focus {
  border-color: rgba(192, 92, 255, 0.8);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(139, 36, 255, 0.13), 0 0 22px rgba(242, 10, 143, 0.09);
}

html body.single-job_listing.sss69-v161-profile-page .sss69-booking-panel .sss69-confirm:not(:disabled) {
  border-color: rgba(255, 177, 235, 0.34);
  color: #fff;
  background: linear-gradient(125deg, #7a1ff0 0%, #a31cff 42%, #d4007a 76%, #f20a8f 100%);
  box-shadow: 0 15px 34px rgba(111, 24, 217, 0.34), 0 0 28px rgba(242, 10, 143, 0.2);
}

html body.single-job_listing.sss69-v161-profile-page .sss69-booking-panel .sss69-confirm:disabled {
  border-color: rgba(192, 132, 252, 0.16);
  color: #8e819a;
  background: #17101f;
  box-shadow: none;
}

/* The active manual-time snippet owns visibility and data wiring. This layer
   only brings its injected controls into the v1.7 purple visual system. */
html body.single-job_listing.sss69-v161-profile-page .sss69-booking-panel .klescortz-manual-time {
  margin: 16px 0 18px;
  padding: 15px;
  overflow: hidden;
  border: 1px solid rgba(232, 65, 199, 0.5);
  border-radius: 10px;
  background:
    radial-gradient(circle at 100% 0, rgba(242, 10, 143, 0.09), transparent 48%),
    rgba(16, 5, 27, 0.88);
  box-shadow: inset 0 0 22px rgba(139, 36, 255, 0.05);
}

html body.single-job_listing.sss69-v161-profile-page .sss69-booking-panel .klescortz-manual-time-intro {
  color: #c9bfd4 !important;
}

html body.single-job_listing.sss69-v161-profile-page .sss69-booking-panel .klescortz-manual-time label {
  color: #efb6ff;
}

html body.single-job_listing.sss69-v161-profile-page .sss69-booking-panel #klescortz-preferred-time {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  height: 50px;
  border: 1px solid rgba(192, 92, 255, 0.64);
  border-radius: 8px;
  color: #fff;
  background: #08040d;
  color-scheme: dark;
  box-sizing: border-box;
}

html body.single-job_listing.sss69-v161-profile-page .sss69-booking-panel #klescortz-preferred-time:hover {
  border-color: rgba(242, 10, 143, 0.78);
}

html body.single-job_listing.sss69-v161-profile-page .sss69-booking-panel #klescortz-preferred-time:focus {
  border-color: #c05cff;
  outline: 0;
  box-shadow: 0 0 0 3px rgba(139, 36, 255, 0.16), 0 0 22px rgba(242, 10, 143, 0.1);
}

html body.single-job_listing.sss69-v161-profile-page .sss69-booking-panel .klescortz-manual-time-note {
  color: #aa9bb8;
}

@media (min-width: 1400px) {
  html body.single-job_listing.sss69-v161-profile-page .sss69-profile-grid {
    grid-template-columns: minmax(0, 1fr) minmax(330px, 0.48fr) !important;
  }

  html body.single-job_listing.sss69-v161-profile-page .klescortz-profile-left-stage {
    display: grid;
    width: 100%;
    min-width: 0;
    grid-column: 1;
    grid-row: 1;
    grid-template-columns: minmax(300px, 1.05fr) minmax(310px, 0.92fr);
    align-items: start;
    gap: 18px;
  }

  html body.single-job_listing.sss69-v161-profile-page .klescortz-profile-left-stage > section:first-child {
    width: 100%;
    grid-column: 1;
    grid-row: 1;
  }

  html body.single-job_listing.sss69-v161-profile-page .klescortz-profile-left-stage > .sss69-profile-info {
    width: 100%;
    grid-column: 2;
    grid-row: 1;
  }

  html body.single-job_listing.sss69-v161-profile-page .klescortz-profile-left-stage > .klescortz-gallery-extras {
    width: 100%;
    margin-top: 0;
    grid-column: 1 / -1;
    grid-row: 2;
  }

  html body.single-job_listing.sss69-v161-profile-page .sss69-profile-grid > section:last-child {
    grid-column: 2;
    grid-row: 1;
  }

  html body.single-job_listing.sss69-v161-profile-page .klescortz-profile-left-stage .klescortz-gallery-extras .sss69-rate-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

@media (min-width: 1181px) and (max-width: 1399px) {
  html body.single-job_listing.sss69-v161-profile-page .sss69-profile-grid {
    grid-template-columns: minmax(300px, 1.05fr) minmax(310px, 0.92fr) minmax(300px, 0.78fr) !important;
  }

  html body.single-job_listing.sss69-v161-profile-page .sss69-profile-grid > section:last-child {
    grid-column: 3 !important;
    grid-row: 1 !important;
  }

  html body.single-job_listing.sss69-v161-profile-page .klescortz-gallery-extras .sss69-rate-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (min-width: 761px) and (max-width: 1180px) {
  html body.single-job_listing.sss69-v161-profile-page .sss69-profile-grid {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr) !important;
  }

  html body.single-job_listing.sss69-v161-profile-page .sss69-profile-grid > section:last-child {
    grid-column: 1 / -1 !important;
    grid-row: auto;
  }

  html body.single-job_listing.sss69-v161-profile-page .sss69-booking-panel {
    position: static;
  }

  html body.single-job_listing.sss69-v161-profile-page .sss69-booking-panel .sss69-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  html body.single-job_listing.sss69-v161-profile-page .klescortz-gallery-extras .sss69-rate-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 760px) {
  html body.single-job_listing.sss69-v161-profile-page .sss69-profile-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  html body.single-job_listing.sss69-v161-profile-page .sss69-profile-grid > section,
  html body.single-job_listing.sss69-v161-profile-page .sss69-profile-grid > section:last-child {
    width: 100%;
    grid-column: 1;
    grid-row: auto;
  }

  html body.single-job_listing.sss69-v161-profile-page .sss69-booking-panel {
    position: static;
    padding: 18px;
  }

  html body.single-job_listing.sss69-v161-profile-page .sss69-gallery-main,
  html body.single-job_listing.sss69-v161-profile-page .sss69-gallery-main > :is(img, .sss69-image-placeholder) {
    min-height: min(130vw, 600px);
  }

  html body.single-job_listing.sss69-v161-profile-page .sss69-profile-info .sss69-rate-grid,
  html body.single-job_listing.sss69-v161-profile-page .sss69-booking-panel .sss69-form-grid {
    grid-template-columns: 1fr !important;
  }

  html body.single-job_listing.sss69-v161-profile-page .sss69-booking-panel .klescortz-manual-time {
    width: 100%;
    max-width: 100%;
    padding: 13px !important;
  }

  html body.single-job_listing.sss69-v161-profile-page .sss69-booking-panel #klescortz-preferred-time {
    height: 52px;
    padding-right: 44px !important;
    padding-left: 44px !important;
    text-align: center !important;
  }
}

@media (max-width: 480px) {
  html body.single-job_listing.sss69-v161-profile-page .sss69-profile-info,
  html body.single-job_listing.sss69-v161-profile-page .sss69-booking-panel {
    padding: 16px;
  }

  html body.single-job_listing.sss69-v161-profile-page .sss69-stats,
  html body.single-job_listing.sss69-v161-profile-page .sss69-trust {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

