/* Scoped phone interface. Dimensions use the original 336px canvas. */
.ss-phone.is-live > img {
  display: none;
}
.ss-phone.is-live {
  cursor: default;
}
.ss-phone[role="button"] {
  cursor: pointer;
}
.ss-phone[role="button"]:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 5px;
}
.d-app {
  --d-s: 1;
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--surface);
  border-radius: calc(var(--pw) * 0.128);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: var(--track-body);
  text-align: left;
  isolation: isolate;
}
.d-app *, .d-app *::before, .d-app *::after {
  box-sizing: border-box;
}
.d-canvas {
  position: relative;
  width: 336px;
  height: calc(100% / var(--d-s));
  overflow: hidden;
  transform: scale(var(--d-s));
  transform-origin: 0 0;
  background: var(--surface);
}
.d-app img {
  border-radius: 0;
  background: transparent;
}
.d-app button {
  font: inherit;
  letter-spacing: inherit;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.d-app button:disabled {
  cursor: not-allowed;
  color: var(--ink-3);
  background: var(--surface-3);
  border-color: var(--line);
}
.d-app button:focus-visible, .d-app [tabindex="-1"]:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}
.d-app h2, .d-app h3, .d-app p {
  margin: 0;
}
.d-app svg {
  flex: none;
  vertical-align: middle;
}
.d-view {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  animation: d-enter 200ms var(--ease-out);
}
.d-top {
  min-height: 54px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-bottom: 1px solid var(--line-soft);
  flex: none;
}
/* the page's `.c-ch h2` (class + tag) outweighs one class: phone headings carry the app scope so they keep the phone type sizes */
.d-app .d-title {
  font-size: 17px;
  font-weight: 750;
  line-height: 1.35;
  flex: 1;
  letter-spacing: var(--track-head);
}
.d-home-top {
  border: 0;
  min-height: 44px;
}
.d-home-top > svg {
  color: var(--brand);
}
.d-app .d-home-top .d-title {
  font-size: 20px;
}
.d-icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink-2);
  flex: none;
}
.d-icon:hover {
  background: var(--surface-3);
}
.d-liked {
  color: var(--brand);
}
.d-liked svg {
  fill: var(--p-100);
}
.d-scroll {
  min-height: 0;
  flex: 1;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 12px;
  scrollbar-width: thin;
  scrollbar-color: var(--n-300) transparent;
}
.d-with-nav {
  padding-bottom: 82px;
}
.d-text {
  margin: 8px 0 !important;
  color: var(--ink-2);
  font-size: 14px;
}
.d-small {
  font-size: 11px;
  line-height: 1.55;
  color: var(--ink-3);
}
.d-small:not(span) {
  margin: 7px 0 !important;
}
.d-section-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 10px !important;
}
.d-large {
  font-size: 22px;
  font-weight: 750;
  line-height: 1.45;
  margin: 16px 0 !important;
  letter-spacing: var(--track-head);
}
.d-intro {
  margin: 6px 0 18px !important;
  color: var(--ink-3);
}
.d-button {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink-2);
  padding: 10px 14px;
  min-height: 42px;
}
.d-primary {
  display: block;
  width: 100%;
  min-height: 46px;
  padding: 12px 16px;
  background: var(--brand);
  color: var(--surface);
  border: 0;
  border-radius: 7px;
  font-weight: 700 !important;
  text-align: center;
}
.d-primary:hover {
  background: var(--brand-hover);
}
.d-link {
  min-height: 40px;
  display: block;
  padding: 8px 4px;
  margin: 4px auto;
  border: 0;
  color: var(--brand);
  background: transparent;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.d-chips {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.d-chip {
  min-height: 36px;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  color: var(--ink-2);
  font-size: 13px !important;
  white-space: nowrap;
}
.d-chip:hover {
  background: var(--p-50);
}
.d-selected {
  color: var(--brand);
  border-color: var(--brand);
  background: var(--p-50);
  font-weight: 650 !important;
}
.d-urgent {
  border-radius: 18px;
  padding: 4px 8px;
  color: var(--urgent);
  background: color-mix(in srgb, var(--urgent) 10%, var(--surface));
  font-size: 11px;
}
.d-urgent-text {
  color: var(--urgent);
  font-weight: 700;
}
.d-ok {
  color: var(--ok);
  margin: 8px 0 !important;
  font-weight: 650;
}
.d-bubble {
  max-width: 92%;
  width: fit-content;
  border-radius: 12px 12px 12px 3px;
  background: var(--p-50);
  padding: 12px;
  margin: 8px 0 14px !important;
  color: var(--ink);
  font-size: 14px;
}
.d-mine {
  margin-left: auto !important;
  background: var(--p-100);
  border-radius: 12px 12px 3px 12px;
}
.d-question {
  padding: 8px 0;
}
.d-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  margin: 12px 0;
  background: var(--surface);
}
.d-summary {
  background: var(--p-50);
}
.d-summary .d-primary {
  margin-top: 14px;
}
.d-center {
  text-align: center;
  padding: 44px 12px 24px;
}
.d-center > svg {
  width: 44px;
  height: 44px;
  color: var(--brand);
}
.d-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.d-grow {
  flex: 1;
  min-width: 0;
}
.d-pick .d-photo {
  width: 72px;
  height: 96px;
}
.d-pick .d-primary {
  margin-top: 14px;
}
.d-steps {
  margin: 12px 0 24px;
  padding-left: 24px;
  color: var(--ink-2);
}
.d-step {
  padding: 7px 0 7px 4px;
}
.d-live-strip {
  width: 100%;
  padding: 14px 10px;
  border: 0;
  border-radius: 12px;
  background: var(--p-50);
  color: var(--brand);
  text-align: left;
  font-weight: 650 !important;
  font-size: 12px !important;
}
.d-problem {
  display: block;
  margin: 6px 0 12px auto;
  padding: 8px 0;
  min-height: 36px;
  border: 0;
  background: transparent;
  color: var(--ink-2);
  font-size: 12px !important;
}
.d-filter {
  flex-wrap: nowrap;
  overflow: auto;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line-soft);
  scrollbar-width: none;
}
.d-notice {
  background: var(--p-50);
  color: var(--ink-2);
  padding: 10px;
  font-size: 11px;
  border-radius: 10px;
  margin: 8px 0 !important;
}
.d-person {
  position: relative;
  border-bottom: 1px solid var(--line-soft);
  padding: 16px 0;
}
.d-person-open {
  display: flex;
  width: 100%;
  gap: 12px;
  align-items: stretch;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--ink);
}
.d-photo {
  display: inline-flex;
  position: relative;
  flex: none;
  width: 80px;
  height: 107px;
  border-radius: 6px;
  overflow: hidden;
  background: var(--p-100);
  color: var(--p-400);
  align-items: center;
  justify-content: center;
}
.d-letter {
  font-size: 27px;
  font-weight: 750;
}
.d-photo img, .d-cover img, .d-shop img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}
.d-cert {
  position: absolute;
  top: 5px;
  left: 5px;
  border-radius: 14px;
  background: var(--surface);
  color: var(--brand);
  font-size: 10px;
  padding: 2px 6px;
  font-weight: 700;
}
.d-person-info {
  min-width: 0;
  flex: 1;
  padding-right: 12px;
}
.d-person-name {
  font-size: 14px;
  font-weight: 750;
}
.d-person-intro {
  display: block;
  font-size: 12px;
  color: var(--ink-2);
  margin-top: 6px;
}
.d-person-meta {
  display: block;
  font-size: 11px;
  color: var(--ink-3);
  margin-top: 3px;
}
.d-price {
  display: block;
  margin-top: 17px;
  font-size: 15px;
}
.d-person > .d-icon {
  position: absolute;
  right: -6px;
  top: 10px;
  width: 30px;
  height: 32px;
}
.d-person > .d-icon svg {
  width: 18px;
  height: 18px;
}
.d-nav {
  position: absolute;
  z-index: 3;
  left: 9px;
  right: 9px;
  bottom: 10px;
  height: 45px;
  border-radius: 28px;
  background: var(--brand);
  display: flex;
  align-items: center;
  justify-content: space-around;
  color: var(--surface);
}
.d-nav-item {
  display: grid;
  place-items: center;
  color: var(--p-300);
  background: transparent;
  border: 0;
  height: 44px;
  width: 54px;
  border-radius: 24px;
}
.d-nav-item[aria-current] {
  color: var(--surface);
}
.d-nav-item:hover {
  color: var(--surface);
}
.d-nav-item:focus-visible {
  outline-color: var(--surface) !important;
  outline-offset: -4px !important;
}
.d-biz {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px;
  background: var(--surface-2);
  text-align: left;
  color: var(--ink);
  margin: 10px 0;
}
.d-biz strong {
  font-size: 14px;
}
.d-shop {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 4 / 3;
  color: var(--brand);
  background: var(--p-100);
  border-radius: 5px;
  overflow: hidden;
}
.d-empty {
  padding: 40px 16px;
  text-align: center;
  color: var(--ink-3);
}
.d-toast {
  position: absolute;
  z-index: 30;
  left: 16px;
  right: 16px;
  bottom: 76px;
  border-radius: 10px;
  padding: 12px;
  background: var(--n-900);
  color: var(--surface);
  font-size: 12px;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity 180ms var(--ease-out), transform 180ms var(--ease-out);
}
.d-toast:empty {
  padding: 0;
}
.d-toast.d-on {
  opacity: 1;
  transform: translateY(0);
}
.d-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
@keyframes d-enter {
  from {
  opacity: 0;
  transform: translateY(5px);
} to {
  opacity: 1;
  transform: translateY(0);
} }
@media (prefers-reduced-motion: reduce) {
  .d-view, .d-sheet {
  animation: none !important;
}
  .d-toast {
  transition: none !important;
}
}

/* Profile and bottom sheets. */
.d-profile-scroll {
  padding: 0;
}
.d-cover {
  display: flex;
  position: relative;
  width: 100%;
  height: 305px;
  align-items: center;
  justify-content: center;
  background: var(--p-100);
  color: var(--p-400);
  overflow: hidden;
}
.d-cover .d-letter {
  font-size: 30px;
}
.d-cover-tools {
  position: absolute;
  z-index: 1;
  top: 6px;
  left: 6px;
  right: 6px;
  display: flex;
  justify-content: space-between;
}
.d-cover-tools .d-icon {
  background: var(--surface);
  width: 35px;
  height: 35px;
}
.d-cover > .d-cert {
  top: auto;
  bottom: 12px;
  left: 10px;
  padding: 5px 10px;
  font-size: 13px;
}
.d-profile-info {
  padding: 18px 12px;
  border-bottom: 6px solid var(--surface-3);
}
.d-app .d-profile-info > .d-title {
  font-size: 18px;
}
.d-profile-info > .d-link {
  float: right;
  margin-top: -43px;
}
.d-profile-info .d-notice {
  margin-top: 20px !important;
  padding: 14px;
  font-size: 13px;
}
.d-foot {
  flex: none;
  padding: 10px 12px 8px;
  border-top: 1px solid var(--line-soft);
  background: var(--surface);
}
.d-foot .d-link {
  color: var(--ink-3);
  font-size: 13px;
  min-height: 30px;
  padding: 4px;
}
.d-sheet-layer {
  position: absolute;
  z-index: 10;
  inset: 0;
  display: flex;
  align-items: flex-end;
  background: color-mix(in srgb, var(--n-950) 40%, transparent);
}
.d-sheet {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-height: 91%;
  padding-top: 10px;
  background: var(--surface);
  border-radius: 18px 18px 0 0;
  animation: d-enter 200ms var(--ease-out);
}
.d-sheet::before {
  content: '';
  position: absolute;
  top: 6px;
  left: calc(50% - 14px);
  width: 28px;
  height: 3px;
  border-radius: 2px;
  background: var(--n-300);
}
.d-sheet-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 8px 6px 15px;
  gap: 6px;
  flex: none;
}
.d-app .d-sheet-title {
  font-size: 17px;
  font-weight: 750;
  line-height: 1.4;
  letter-spacing: var(--track-head);
}
.d-sheet-body {
  overflow: auto;
  overscroll-behavior: contain;
  padding: 0 15px 22px;
  min-height: 0;
}
.d-sheet-body .d-section-title {
  margin-top: 20px !important;
}
.d-sheet-body > .d-primary {
  margin-top: 25px;
}
.d-stage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin: 12px 0 20px;
}
.d-stage > span {
  border-top: 2px solid var(--line);
  padding-top: 4px;
  font-size: 11px;
  color: var(--ink-3);
}
.d-stage > .d-current {
  color: var(--brand);
  border-color: var(--brand);
}
.d-menu-row {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 16px 0;
  border: 0;
  border-bottom: 1px solid var(--line-soft);
  background: var(--surface);
  color: var(--ink);
  text-align: left;
  min-height: 54px;
}
.d-avatar {
  display: inline-flex;
  position: relative;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 30px;
  height: 36px;
  background: var(--p-100);
  color: var(--p-400);
  border-radius: 50%;
  overflow: hidden;
}
.d-avatar .d-letter {
  font-size: 18px;
}
/* same face framing inside the phone frame and in the full-screen sheet (the frame's own `.ss-phone img` rule would otherwise pin photos to the top only there) */
.d-app .d-photo img, .d-app .d-cover img, .d-app .d-avatar img {
  object-position: 50% 18%;
}
.d-avatar img {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
  object-fit: cover;
}
.d-chat-strip {
  padding: 8px 12px;
  background: var(--surface-3);
  font-size: 11px;
  color: var(--ink-2);
  flex: none;
}
.d-chat-note {
  text-align: center;
  width: fit-content;
  margin: 0 auto 12px !important;
  background: var(--surface-2);
  color: var(--ink-3);
  border-radius: 15px;
  padding: 6px 12px;
  font-size: 11px;
}
.d-request {
  width: 89%;
  margin-left: auto;
  font-size: 12px;
}
.d-request .d-section-title {
  color: var(--brand);
  font-size: 13px;
}
.d-request .d-text {
  font-size: 12px;
  margin: 10px 0 !important;
}
.d-request .d-button {
  width: 100%;
  font-size: 12px;
  margin-top: 8px;
}
.d-compose {
  border-top: 1px solid var(--line-soft);
  padding: 8px 12px;
  background: var(--surface);
  flex: none;
}
.d-compose-button {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 11px 15px;
  text-align: left;
  background: var(--surface-2);
  color: var(--ink-3);
}
.d-quick {
  margin-bottom: 8px;
}
.d-quick[hidden] {
  display: none;
}

/* Care, safety and sitter-side requests. */
.d-care-person {
  margin: 10px 0 34px;
}
.d-care-person .d-photo {
  width: 64px;
  height: 86px;
}
.d-care-person .d-section-title {
  margin-bottom: 3px !important;
  font-size: 15px;
}
.d-care-person .d-ok {
  color: var(--brand);
  font-size: 14px;
  margin-top: 20px !important;
}
.d-warm {
  border-radius: 12px;
  padding: 14px;
  margin-top: 12px;
  background: color-mix(in srgb, var(--urgent) 7%, var(--surface));
  color: var(--ink-2);
}
.d-warm .d-section-title {
  font-size: 14px;
  margin-bottom: 3px !important;
}
.d-warm .d-text {
  font-size: 12px;
}
.d-warm .d-button {
  border-radius: 20px;
  font-size: 12px;
  min-height: 30px;
  padding: 6px 10px;
}
.d-progress {
  margin: 20px -12px 0;
  padding: 20px 12px 4px;
  border-top: 6px solid var(--surface-3);
}
.d-dots {
  display: flex;
  gap: 5px;
  margin: 12px 0 18px;
}
.d-dot {
  width: 8px;
  height: 8px;
  border: 1px solid var(--n-300);
  border-radius: 50%;
}
.d-complete {
  background: var(--brand);
  border-color: var(--brand);
}
.d-now {
  border: 2px solid var(--brand);
}
.d-progress > .d-card {
  font-size: 13px;
  padding: 12px;
}
.d-progress .d-link {
  margin-left: 0;
  font-size: 12px;
  text-decoration: none;
}
.d-calls {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.d-call {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
  background: var(--surface);
  gap: 4px;
  color: var(--urgent);
}
.d-call > strong {
  font-size: 22px;
}
.d-call > svg {
  width: 17px;
  height: 17px;
}
.d-row-note {
  display: block;
  font-size: 11px;
  color: var(--ink-3);
  margin-top: 4px;
}
.d-menu-row > svg {
  margin-right: 10px;
  width: 20px;
  height: 20px;
  color: var(--ink-2);
}
.d-menu-row > svg:last-child {
  margin-right: 0;
  width: 15px;
}
.d-lock-note {
  display: flex;
  gap: 6px;
  margin: 20px 0 !important;
  font-size: 11px;
  color: var(--ink-3);
}
.d-lock-note svg {
  width: 13px;
  height: 16px;
  color: var(--brand);
}
.d-job {
  display: flex;
  gap: 10px;
  width: 100%;
  text-align: left;
  border: 0;
  border-bottom: 1px solid var(--line-soft);
  padding: 20px 0;
  background: var(--surface);
  color: var(--ink);
}
.d-age {
  display: flex;
  flex-direction: column;
  gap: 3px;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 55px;
  height: 74px;
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  background: var(--p-50);
  color: var(--brand);
}
.d-age strong {
  font-size: 18px;
}
.d-new {
  display: inline-block;
  background: var(--brand);
  color: var(--surface);
  border-radius: 4px;
  padding: 1px 5px;
  font-size: 10px;
}
.d-job-title {
  display: block;
  margin-top: 4px;
  font-size: 14px;
}
.d-job .d-ok, .d-job .d-urgent-text {
  display: block;
  font-size: 10px;
  margin-top: 5px !important;
}
.d-job .d-price {
  font-size: 15px;
  margin-top: 8px;
}
.d-over {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  background: color-mix(in srgb, var(--n-950) 65%, transparent);
  font-family: var(--font-sans);
  color: var(--ink);
}
.d-over-shell {
  width: min(100vw, 430px);
  height: 100%;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  overflow: hidden;
}
.d-over-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: none;
  padding: max(8px, env(safe-area-inset-top)) 12px 8px;
  gap: 6px;
  border-bottom: 1px solid var(--line);
}
.d-over-title {
  font-size: 12px;
  font-weight: 600;
  margin: 0;
}
.d-over-close {
  min-width: 56px;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  font: 600 14px var(--font-sans);
  cursor: pointer;
}
.d-over-close:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}
.d-over-phone {
  min-height: 0;
  flex: 1;
  position: relative;
  padding-bottom: env(safe-area-inset-bottom);
}
.d-over-phone .d-app {
  border-radius: 0;
}
.d-over-phone .d-canvas {
  border-radius: 0;
}
@media (forced-colors: active) {
  .d-selected, .d-nav-item[aria-current] {
  outline: 2px solid ButtonText;
  outline-offset: -3px;
}
  .d-dot {
  border-color: CanvasText;
}
}
