html.client-apple-ui-preview {
  color-scheme: light;
  --client-apple-bg: #f5f0e9;
  --client-apple-surface: rgba(255, 255, 255, 0.94);
  --client-apple-label: #171412;
  --client-apple-secondary: #68615d;
  --client-apple-tertiary: #8d8580;
  --client-apple-separator: rgba(60, 48, 42, 0.12);
  --client-apple-accent: #76533f;
  --client-apple-accent-pressed: #614330;
  --client-apple-accent-rgb: 118, 83, 63;
  --client-apple-status: #25813d;
  --client-apple-shadow: 0 18px 50px rgba(69, 48, 35, 0.08);
  --client-apple-radius: 28px;
  --client-apple-shell: min(1180px, calc(100% - 32px));
  --client-apple-font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  --client-apple-icon-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 18l6-6-6-6' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --client-apple-icon-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='M8 12.3l2.5 2.5L16.5 9' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --client-apple-icon-close: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 7l10 10M17 7L7 17' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  --client-apple-icon-info: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='M12 10v7M12 7h.01' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  min-height: 100%;
  scroll-behavior: smooth;
  background: var(--client-apple-bg);
}

html.client-apple-ui-preview[data-client-brand="nile-reed"] {
  --client-apple-bg: #f6efed;
  --client-apple-accent: #711c32;
  --client-apple-accent-pressed: #541425;
  --client-apple-accent-rgb: 113, 28, 50;
}

html.client-apple-ui-preview[data-client-brand="arc"] {
  --client-apple-bg: #eef2f9;
  --client-apple-accent: #143f91;
  --client-apple-accent-pressed: #0c2c6b;
  --client-apple-accent-rgb: 20, 63, 145;
}

html.client-apple-ui-preview[data-client-brand="barber-commons"] {
  --client-apple-bg: #edf2ee;
  --client-apple-accent: #174d33;
  --client-apple-accent-pressed: #0d3522;
  --client-apple-accent-rgb: 23, 77, 51;
}

html.client-apple-ui-preview::before,
html.client-apple-ui-preview::after {
  content: none !important;
}

html.client-apple-ui-preview body.nfc-page {
  min-width: 320px;
  min-height: 100%;
  margin: 0;
  padding: env(safe-area-inset-top) 0 max(64px, env(safe-area-inset-bottom));
  background:
    radial-gradient(circle at 10% 6%, rgba(255, 255, 255, 0.82), transparent 24rem),
    var(--client-apple-bg);
  color: var(--client-apple-label);
  font-family: var(--client-apple-font);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color 240ms ease;
}

html.client-apple-ui-preview body.nfc-page :is(button, select, input, textarea, a, p, span, strong, small, label, li, h1, h2, h3, h4) {
  font-family: var(--client-apple-font);
  font-style: normal;
  letter-spacing: normal;
}

html.client-apple-ui-preview body.nfc-page :is(h1, h2, h3, h4) {
  color: var(--client-apple-label);
  overflow-wrap: anywhere;
  text-wrap: balance;
}

html.client-apple-ui-preview body.nfc-page :is(p, li) {
  overflow-wrap: anywhere;
  text-wrap: pretty;
}

html.client-apple-ui-preview body.nfc-page :is(
  .nfc-shell,
  .surface-card,
  .nfc-client-content,
  .nfc-client-identity,
  .nfc-next-steps-head,
  .nfc-section-title-row,
  .nfc-client-event-summary,
  .nfc-client-event-head,
  .nfc-next-step-card,
  .nfc-next-step-head,
  .nfc-next-step-heading-row,
  .nfc-actions,
  .nfc-product-card,
  .nfc-product-card-body,
  .nfc-guidance-card,
  .nfc-sip-style-card
) {
  min-width: 0;
  max-width: 100%;
}

html.client-apple-ui-preview body.nfc-page :is(
  .btn,
  .nfc-book-btn,
  .nfc-gift-btn,
  .nfc-profile-pill,
  .nfc-service-option-chip,
  .nfc-product-priority
) {
  max-width: 100%;
  overflow-wrap: anywhere;
  white-space: normal;
}

html.client-apple-ui-preview body.nfc-page :is(button, a, label, select, input[type="range"]) {
  -webkit-tap-highlight-color: transparent;
}

html.client-apple-ui-preview body.nfc-page :is(button, a, select, input):focus-visible {
  outline: 3px solid rgba(var(--client-apple-accent-rgb), 0.38);
  outline-offset: 3px;
}

html.client-apple-ui-preview body.nfc-page [hidden] {
  display: none !important;
}

html.client-apple-ui-preview body.nfc-page:not(.nfc-admin-document) :is(
  .nfc-next-steps-head h2,
  .nfc-client-name-row h2,
  .nfc-next-step-card h3,
  .nfc-workbook-hero h2,
  .nfc-workbook-page h2,
  .nfc-gift-modal-copy h2
) {
  font-family: var(--client-apple-font);
  font-style: normal;
  font-weight: 650;
  letter-spacing: -0.03em;
}

html.client-apple-ui-preview .client-apple-preview-notice {
  width: var(--client-apple-shell);
  margin: 9px auto 7px;
  color: var(--client-apple-secondary);
  font-size: 12px;
  line-height: 1.35;
  text-align: center;
}

html.client-apple-ui-preview .client-apple-preview-notice span {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  margin-right: 7px;
  border-radius: 999px;
  padding: 2px 9px;
  background: rgba(var(--client-apple-accent-rgb), 0.1);
  color: var(--client-apple-accent);
  font-size: 11px;
  font-weight: 700;
}

html.client-apple-ui-preview body.nfc-page > nav {
  position: sticky;
  top: max(10px, env(safe-area-inset-top));
  z-index: 50;
  width: var(--client-apple-shell);
  max-width: none;
  min-height: 76px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 auto 18px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  padding: 9px 10px 9px 22px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 38px rgba(48, 35, 28, 0.11), inset 0 1px 0 rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(30px) saturate(150%);
  backdrop-filter: blur(30px) saturate(150%);
}

html.client-apple-ui-preview body.nfc-page > nav::before,
html.client-apple-ui-preview body.nfc-page > nav::after {
  content: none;
}

html.client-apple-ui-preview body.nfc-page > nav .logo,
html.client-apple-ui-preview body.nfc-page > nav .brand-logo {
  position: relative;
  z-index: 1;
}

html.client-apple-ui-preview body.nfc-page > nav .brand-logo {
  width: auto;
  max-width: 178px;
  height: 42px;
  object-fit: contain;
}

html.client-apple-ui-preview body.nfc-page > nav ul {
  position: relative;
  z-index: 1;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px;
}

html.client-apple-ui-preview body.nfc-page > nav ul li {
  min-width: 0;
}

html.client-apple-ui-preview body.nfc-page > nav :is(.nfc-gift-btn, .nfc-intro-trigger, .nfc-book-btn) {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 18px;
  padding: 0 15px;
  background: transparent;
  box-shadow: none;
  color: var(--client-apple-label);
  font-size: 14px;
  font-weight: 600;
  text-transform: none;
  transition: background-color 160ms ease, transform 160ms ease;
}

html.client-apple-ui-preview body.nfc-page > nav :is(.nfc-gift-btn, .nfc-intro-trigger):hover {
  background: rgba(var(--client-apple-accent-rgb), 0.08);
  color: var(--client-apple-label);
}

html.client-apple-ui-preview body.nfc-page > nav .nfc-intro-trigger {
  width: 48px;
  padding: 0;
}

html.client-apple-ui-preview body.nfc-page > nav .nfc-intro-trigger img {
  display: none;
}

html.client-apple-ui-preview body.nfc-page > nav .nfc-intro-trigger::before {
  content: "";
  width: 20px;
  height: 20px;
  background: currentColor;
  -webkit-mask: var(--client-apple-icon-info) center / contain no-repeat;
  mask: var(--client-apple-icon-info) center / contain no-repeat;
}

html.client-apple-ui-preview body.nfc-page > nav .nfc-book-btn,
html.client-apple-ui-preview body.nfc-page > nav .nfc-book-btn:hover {
  min-height: 54px;
  border-radius: 999px;
  padding: 0 25px;
  background: var(--client-apple-accent);
  color: #fff;
  box-shadow: 0 8px 18px rgba(var(--client-apple-accent-rgb), 0.2);
  font-size: 16px;
}

html.client-apple-ui-preview body.nfc-page > nav .nfc-book-btn:hover {
  background: var(--client-apple-accent-pressed);
}

html.client-apple-ui-preview body.nfc-page .nfc-shell {
  width: var(--client-apple-shell);
  max-width: none;
  display: grid;
  gap: 22px;
  margin: 0 auto;
}

html.client-apple-ui-preview body.nfc-page .nfc-hero {
  position: relative;
  isolation: isolate;
  min-height: 430px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
  margin: 0;
  border: 0;
  border-radius: 36px;
  padding: clamp(40px, 6vw, 76px);
  background: url("/assets/hairlab-cover.jpg") 64% center / cover no-repeat;
  box-shadow: var(--client-apple-shadow);
  text-align: left;
}

html.client-apple-ui-preview body.nfc-page[data-client-brand="nile-reed"] .nfc-hero {
  background-image: url("/assets/client-dashboard-preview/services/signature-nile-reed-facial.png");
}

html.client-apple-ui-preview body.nfc-page[data-client-brand="arc"] .nfc-hero {
  background-image: url("/assets/beauty-blvd/arc-bg.jpg");
}

html.client-apple-ui-preview body.nfc-page[data-client-brand="barber-commons"] .nfc-hero {
  background-image: url("/assets/client-dashboard-preview/services/distinguished-gentleman-package.png");
}

html.client-apple-ui-preview body.nfc-page .nfc-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #f7f2ec 4%, rgba(247, 242, 236, 0.94) 41%, rgba(247, 242, 236, 0.1) 72%);
}

html.client-apple-ui-preview body.nfc-page[data-client-brand="nile-reed"] .nfc-hero::before {
  background: linear-gradient(90deg, #f7eeee 4%, rgba(247, 238, 238, 0.94) 42%, rgba(247, 238, 238, 0.12) 75%);
}

html.client-apple-ui-preview body.nfc-page[data-client-brand="arc"] .nfc-hero::before {
  background: linear-gradient(90deg, #eef2f9 4%, rgba(238, 242, 249, 0.94) 42%, rgba(238, 242, 249, 0.1) 74%);
}

html.client-apple-ui-preview body.nfc-page[data-client-brand="barber-commons"] .nfc-hero::before {
  background: linear-gradient(90deg, #edf2ee 4%, rgba(237, 242, 238, 0.94) 42%, rgba(237, 242, 238, 0.08) 74%);
}

html.client-apple-ui-preview body.nfc-page .nfc-hero::after {
  content: none;
}

html.client-apple-ui-preview body.nfc-page .nfc-hero h1 {
  max-width: 650px;
  margin: 0;
  color: var(--client-apple-label);
  font-size: clamp(48px, 6.2vw, 78px);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 0.98;
  text-transform: none;
}

html.client-apple-ui-preview body.nfc-page .nfc-hero p {
  max-width: 460px;
  margin: 25px 0 0;
  color: var(--client-apple-secondary);
  font-size: clamp(20px, 2.2vw, 28px);
  letter-spacing: -0.018em;
  line-height: 1.26;
}

html.client-apple-ui-preview body.nfc-page .surface-card {
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: var(--client-apple-radius);
  padding: clamp(24px, 4vw, 42px);
  background: var(--client-apple-surface);
  box-shadow: var(--client-apple-shadow);
  color: var(--client-apple-label);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

html.client-apple-ui-preview body.nfc-page .surface-card::before,
html.client-apple-ui-preview body.nfc-page .surface-card::after {
  content: none;
}

html.client-apple-ui-preview body.nfc-page .surface-card :is(h2, h3, h4, p, li, strong, span, label, .nfc-meta, .nfc-status) {
  color: inherit;
}

html.client-apple-ui-preview body.nfc-page .nfc-next-steps-head {
  gap: 7px;
}

html.client-apple-ui-preview body.nfc-page .nfc-next-steps-head .nfc-kicker,
html.client-apple-ui-preview body.nfc-page #client-profile-kicker,
html.client-apple-ui-preview body.nfc-page .nfc-next-service-recommendations-head .nfc-kicker {
  margin: 0;
  color: var(--client-apple-secondary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

html.client-apple-ui-preview body.nfc-page .nfc-next-steps-head h2,
html.client-apple-ui-preview body.nfc-page .nfc-client-name-row h2 {
  margin: 0;
  color: var(--client-apple-label);
  font-size: clamp(27px, 3.2vw, 38px);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

html.client-apple-ui-preview body.nfc-page .nfc-next-steps-head .nfc-meta {
  max-width: 720px;
  margin: 2px 0 0;
  color: var(--client-apple-secondary);
  font-size: 16px;
  line-height: 1.5;
}

html.client-apple-ui-preview body.nfc-page #nfc-client-card {
  min-height: 0;
}

html.client-apple-ui-preview body.nfc-page #nfc-client-card .nfc-client-content {
  min-height: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(180px, 220px);
  align-items: center;
  column-gap: 28px;
  row-gap: 7px;
}

html.client-apple-ui-preview body.nfc-page .client-apple-profile-photo {
  position: relative;
  grid-column: 1;
  grid-row: 1 / span 5;
  width: 122px;
  align-self: center;
}

html.client-apple-ui-preview body.nfc-page .client-apple-avatar {
  width: 116px;
  height: 116px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(var(--client-apple-accent-rgb), 0.16);
  border-radius: 50%;
  background:
    radial-gradient(circle at 36% 28%, rgba(255, 255, 255, 0.75), transparent 33%),
    rgba(var(--client-apple-accent-rgb), 0.13);
  color: var(--client-apple-accent);
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -0.04em;
}

html.client-apple-ui-preview body.nfc-page .client-apple-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

html.client-apple-ui-preview body.nfc-page .client-apple-photo-button {
  position: absolute;
  right: 0;
  bottom: -5px;
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 3px solid #fff;
  border-radius: 999px;
  padding: 0 11px;
  background: var(--client-apple-accent);
  color: #fff;
  cursor: pointer;
  font-size: 0;
  box-shadow: 0 7px 18px rgba(var(--client-apple-accent-rgb), 0.22);
}

html.client-apple-ui-preview body.nfc-page .client-apple-photo-button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

html.client-apple-ui-preview body.nfc-page #client-profile-badge {
  grid-column: 3;
  grid-row: 1 / span 3;
  width: 100%;
  max-width: none;
  justify-self: stretch;
  align-self: start;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

html.client-apple-ui-preview body.nfc-page #client-profile-badge label {
  padding-left: 4px;
  color: var(--client-apple-secondary);
  font-size: 12px;
  font-weight: 650;
  text-transform: none;
}

html.client-apple-ui-preview body.nfc-page #client-brand-switch {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--client-apple-separator);
  border-radius: 15px;
  padding: 0 38px 0 13px;
  background: #fff;
  color: var(--client-apple-label);
  font-size: 15px;
  font-weight: 600;
}

html.client-apple-ui-preview body.nfc-page #client-profile-kicker {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
}

html.client-apple-ui-preview body.nfc-page .nfc-client-identity {
  grid-column: 2;
  grid-row: 2;
}

html.client-apple-ui-preview body.nfc-page .nfc-client-name-row h2 {
  font-size: clamp(34px, 5vw, 52px);
}

html.client-apple-ui-preview body.nfc-page #client-status-message {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0 0;
  color: var(--client-apple-status);
  font-size: 16px;
  font-weight: 600;
}

html.client-apple-ui-preview body.nfc-page #client-status-message::before {
  content: "";
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
  background: var(--client-apple-status);
  -webkit-mask: var(--client-apple-icon-check) center / contain no-repeat;
  mask: var(--client-apple-icon-check) center / contain no-repeat;
}

html.client-apple-ui-preview body.nfc-page #client-report-title {
  grid-column: 2;
  grid-row: 3;
  margin: 8px 0 0;
  color: var(--client-apple-secondary);
  font-size: 18px;
}

html.client-apple-ui-preview body.nfc-page #client-report-link-state {
  grid-column: 2;
  grid-row: 4;
  margin: 0;
  color: var(--client-apple-tertiary);
  font-size: 13px;
}

html.client-apple-ui-preview body.nfc-page #nfc-client-card > .nfc-client-content > .nfc-actions {
  grid-column: 2 / 4;
  grid-row: 5;
  margin-top: 15px;
}

html.client-apple-ui-preview body.nfc-page .btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  padding: 12px 21px;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

html.client-apple-ui-preview body.nfc-page .btn:active,
html.client-apple-ui-preview body.nfc-page .client-apple-photo-button:active {
  transform: scale(0.97);
}

html.client-apple-ui-preview body.nfc-page .btn.primary,
html.client-apple-ui-preview body.nfc-page .btn.primary:hover {
  border: 1px solid rgba(var(--client-apple-accent-rgb), 0.12);
  background: var(--client-apple-accent);
  color: #fff;
  box-shadow: none;
}

html.client-apple-ui-preview body.nfc-page .btn.primary:hover {
  background: var(--client-apple-accent-pressed);
}

html.client-apple-ui-preview body.nfc-page .btn.secondary,
html.client-apple-ui-preview body.nfc-page .btn.secondary:hover {
  border: 1px solid var(--client-apple-separator);
  background: rgba(255, 255, 255, 0.8);
  color: var(--client-apple-label);
  box-shadow: none;
}

html.client-apple-ui-preview body.nfc-page #client-report-btn {
  width: 100%;
  min-height: 54px;
  justify-content: space-between;
  border-radius: 18px;
  padding-inline: 24px;
}

html.client-apple-ui-preview body.nfc-page #client-report-btn::after {
  content: "";
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  background: currentColor;
  -webkit-mask: var(--client-apple-icon-chevron) center / contain no-repeat;
  mask: var(--client-apple-icon-chevron) center / contain no-repeat;
}

html.client-apple-ui-preview body.nfc-page .nfc-client-events-grid {
  grid-template-columns: 1fr;
  margin-top: 10px;
}

html.client-apple-ui-preview body.nfc-page .nfc-client-event-card {
  border: 0;
  border-top: 1px solid var(--client-apple-separator);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

html.client-apple-ui-preview body.nfc-page .nfc-client-event-summary {
  min-height: 96px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px 20px;
  padding: 20px 4px;
}

html.client-apple-ui-preview body.nfc-page .nfc-client-event-head {
  grid-column: 1;
  justify-content: flex-start;
}

html.client-apple-ui-preview body.nfc-page .nfc-client-event-brand-pill,
html.client-apple-ui-preview body.nfc-page .nfc-client-event-date,
html.client-apple-ui-preview body.nfc-page .nfc-client-event-status {
  min-height: 28px;
  border-radius: 999px;
  padding: 5px 10px;
  background: rgba(var(--client-apple-accent-rgb), 0.08);
  color: var(--client-apple-accent);
  font-size: 12px;
  font-weight: 700;
}

html.client-apple-ui-preview body.nfc-page .nfc-client-event-invite-title {
  display: none;
}

html.client-apple-ui-preview body.nfc-page .nfc-client-event-title {
  grid-column: 1;
  margin: 0;
  color: var(--client-apple-label);
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

html.client-apple-ui-preview body.nfc-page .nfc-client-event-summary::after {
  content: "";
  grid-column: 2;
  grid-row: 1 / span 2;
  width: 44px;
  height: 44px;
  background: currentColor;
  color: var(--client-apple-accent);
  -webkit-mask: var(--client-apple-icon-chevron) center / 18px 18px no-repeat;
  mask: var(--client-apple-icon-chevron) center / 18px 18px no-repeat;
  transition: transform 160ms ease;
}

html.client-apple-ui-preview body.nfc-page .nfc-client-event-card[open] .nfc-client-event-summary::after {
  transform: rotate(90deg);
}

html.client-apple-ui-preview body.nfc-page .nfc-client-event-details {
  border-top: 1px solid var(--client-apple-separator);
  padding: 18px 4px 4px;
}

html.client-apple-ui-preview body.nfc-page .nfc-client-event-description {
  color: var(--client-apple-secondary);
}

html.client-apple-ui-preview body.nfc-page .nfc-next-service-flow-card {
  gap: 18px;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

html.client-apple-ui-preview body.nfc-page .nfc-next-service-recommendations {
  gap: 0;
  border-top: 1px solid var(--client-apple-separator);
  padding-top: 0;
}

html.client-apple-ui-preview body.nfc-page .nfc-next-service-recommendations-head {
  display: none;
}

html.client-apple-ui-preview body.nfc-page .nfc-next-service-recommendations-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

html.client-apple-ui-preview body.nfc-page .nfc-next-service-flow-card .nfc-next-step-card {
  min-height: 120px;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  border: 0;
  border-radius: 0;
  padding: 20px 4px;
  background: transparent;
  box-shadow: none;
}

html.client-apple-ui-preview body.nfc-page .nfc-next-service-flow-card .nfc-next-step-card + .nfc-next-step-card {
  border-top: 1px solid var(--client-apple-separator);
}

html.client-apple-ui-preview body.nfc-page .client-apple-service-image {
  grid-column: 1;
  grid-row: 1 / span 3;
  width: 150px;
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(48, 35, 28, 0.08);
}

html.client-apple-ui-preview body.nfc-page .nfc-next-step-head {
  grid-column: 2;
  gap: 7px;
}

html.client-apple-ui-preview body.nfc-page .nfc-next-step-head .nfc-kicker {
  display: none;
}

html.client-apple-ui-preview body.nfc-page .nfc-next-step-heading-row h3 {
  color: var(--client-apple-label);
  font-size: 21px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

html.client-apple-ui-preview body.nfc-page .nfc-service-option-chip,
html.client-apple-ui-preview body.nfc-page .nfc-product-priority {
  min-height: 27px;
  display: inline-flex;
  align-items: center;
  border: 0;
  border-radius: 999px;
  padding: 4px 9px;
  background: rgba(var(--client-apple-accent-rgb), 0.08);
  color: var(--client-apple-accent);
  font-size: 12px;
  font-weight: 700;
}

html.client-apple-ui-preview body.nfc-page .nfc-next-step-card > .nfc-meta {
  grid-column: 2;
  margin: 0;
  color: var(--client-apple-secondary);
  font-size: 15px;
}

html.client-apple-ui-preview body.nfc-page .nfc-next-step-card > .nfc-actions {
  grid-column: 3;
  grid-row: 1 / span 3;
  margin: 0;
}

html.client-apple-ui-preview body.nfc-page .nfc-actions {
  flex-wrap: wrap;
}

html.client-apple-ui-preview body.nfc-page .nfc-actions > * {
  min-width: 0;
  max-width: 100%;
}

html.client-apple-ui-preview body.nfc-page .nfc-next-step-card > .nfc-actions .btn {
  min-width: 118px;
}

html.client-apple-ui-preview body.nfc-page .nfc-service-timing-card,
html.client-apple-ui-preview body.nfc-page .nfc-guidance-card,
html.client-apple-ui-preview body.nfc-page .nfc-hair-profile-card,
html.client-apple-ui-preview body.nfc-page .nfc-sip-style-card,
html.client-apple-ui-preview body.nfc-page .nfc-hair-regen-timeline-card,
html.client-apple-ui-preview body.nfc-page .nfc-hair-regen-graph-card,
html.client-apple-ui-preview body.nfc-page .nfc-exo-grow-aftercare-card {
  border: 1px solid var(--client-apple-separator);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: none;
}

html.client-apple-ui-preview body.nfc-page .nfc-guidance-card-grid,
html.client-apple-ui-preview body.nfc-page .nfc-product-card-grid,
html.client-apple-ui-preview body.nfc-page .nfc-sip-style-grid {
  gap: 14px;
}

html.client-apple-ui-preview body.nfc-page .nfc-guidance-card {
  padding: 20px;
}

html.client-apple-ui-preview body.nfc-page .nfc-guidance-card h3,
html.client-apple-ui-preview body.nfc-page .nfc-product-card h3,
html.client-apple-ui-preview body.nfc-page .nfc-sip-style-card h3 {
  color: var(--client-apple-label);
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

html.client-apple-ui-preview body.nfc-page .nfc-guidance-line,
html.client-apple-ui-preview body.nfc-page .nfc-product-detail {
  border-color: var(--client-apple-separator);
}

html.client-apple-ui-preview body.nfc-page .nfc-guidance-line :is(span, p),
html.client-apple-ui-preview body.nfc-page .nfc-product-detail :is(span, p),
html.client-apple-ui-preview body.nfc-page .nfc-product-brand,
html.client-apple-ui-preview body.nfc-page .nfc-sip-style-card .nfc-meta {
  color: var(--client-apple-secondary);
}

html.client-apple-ui-preview body.nfc-page .nfc-product-card {
  overflow: hidden;
  border: 1px solid var(--client-apple-separator);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: none;
}

html.client-apple-ui-preview body.nfc-page .nfc-product-card > img {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #fff;
  object-fit: contain;
  padding: 14px;
}

html.client-apple-ui-preview body.nfc-page .nfc-product-card-body {
  padding: 20px;
}

html.client-apple-ui-preview body.nfc-page .nfc-product-stylist-details summary {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  overflow-wrap: anywhere;
  line-height: 1.3;
}

html.client-apple-ui-preview body.nfc-page .nfc-product-stylist-details summary::after {
  content: "";
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  float: none;
  background: currentColor;
  -webkit-mask-image: var(--client-apple-icon-chevron);
  mask-image: var(--client-apple-icon-chevron);
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
  transition: transform 160ms ease;
}

html.client-apple-ui-preview body.nfc-page .nfc-product-stylist-details[open] summary::after {
  content: "";
  transform: rotate(90deg);
}

html.client-apple-ui-preview body.nfc-page .nfc-hair-profile-score-ring {
  box-shadow: none;
}

html.client-apple-ui-preview body.nfc-page .nfc-hair-profile-summary-note {
  border: 0;
  border-left: 3px solid var(--client-apple-accent);
  border-radius: 0 14px 14px 0;
  background: rgba(var(--client-apple-accent-rgb), 0.06);
}

html.client-apple-ui-preview body.nfc-page .nfc-footer {
  width: var(--client-apple-shell);
  margin: 26px auto 0;
  color: var(--client-apple-tertiary);
  text-align: center;
}

html.client-apple-ui-preview .client-apple-crop-dialog {
  width: min(540px, calc(100% - 28px));
  max-height: min(760px, calc(100dvh - 28px));
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 30px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--client-apple-label);
  box-shadow: 0 30px 90px rgba(35, 25, 20, 0.28);
  -webkit-backdrop-filter: blur(34px) saturate(145%);
  backdrop-filter: blur(34px) saturate(145%);
}

html.client-apple-ui-preview .client-apple-crop-dialog::backdrop {
  background: rgba(34, 28, 24, 0.38);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

html.client-apple-ui-preview .client-apple-crop-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

html.client-apple-ui-preview .client-apple-crop-header p {
  margin: 0 0 4px;
  color: var(--client-apple-accent);
  font-size: 12px;
  font-weight: 700;
}

html.client-apple-ui-preview .client-apple-crop-header h2 {
  margin: 0;
  color: var(--client-apple-label);
  font-size: 27px;
  font-weight: 650;
  letter-spacing: -0.03em;
}

html.client-apple-ui-preview .client-apple-icon-button {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border: 0;
  border-radius: 50%;
  background: rgba(58, 48, 42, 0.08);
  color: var(--client-apple-label);
  display: inline-grid;
  place-items: center;
  font-size: 0;
}

html.client-apple-ui-preview :is(
  .client-apple-icon-button,
  .nfc-intro-hint-dismiss,
  .nfc-gift-close-modal,
  .client-voucher-close,
  #hair-regen-modal-close
)::before {
  content: "";
  width: 18px;
  height: 18px;
  background: currentColor;
  -webkit-mask: var(--client-apple-icon-close) center / contain no-repeat;
  mask: var(--client-apple-icon-close) center / contain no-repeat;
}

html.client-apple-ui-preview :is(
  .nfc-intro-hint-dismiss,
  .nfc-gift-close-modal,
  .client-voucher-close,
  #hair-regen-modal-close
) {
  font-size: 0;
}

html.client-apple-ui-preview .client-apple-crop-help,
html.client-apple-ui-preview .client-apple-photo-note {
  color: var(--client-apple-secondary);
  font-size: 14px;
}

html.client-apple-ui-preview .client-apple-crop-help {
  margin: 10px 0 18px;
}

html.client-apple-ui-preview .client-apple-photo-note {
  margin: 14px 0 0;
  text-align: center;
}

html.client-apple-ui-preview .client-apple-crop-viewport {
  position: relative;
  width: min(280px, 72vw);
  aspect-ratio: 1;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  background: #ddd4cc;
  box-shadow: 0 0 0 999px rgba(65, 52, 45, 0.07), 0 16px 34px rgba(48, 35, 28, 0.12);
  cursor: grab;
  touch-action: none;
}

html.client-apple-ui-preview .client-apple-crop-viewport:active {
  cursor: grabbing;
}

html.client-apple-ui-preview .client-apple-crop-viewport img {
  position: absolute;
  top: 50%;
  left: 50%;
  max-width: none;
  max-height: none;
  pointer-events: none;
  user-select: none;
  transform-origin: center;
  will-change: transform;
}

html.client-apple-ui-preview .client-apple-zoom-control {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  margin: 24px 0;
  color: var(--client-apple-secondary);
  font-size: 14px;
  font-weight: 650;
}

html.client-apple-ui-preview .client-apple-zoom-control input {
  width: 100%;
  accent-color: var(--client-apple-accent);
}

html.client-apple-ui-preview .client-apple-crop-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(0, 1.25fr);
  gap: 10px;
}

html.client-apple-ui-preview .client-apple-preview-toast {
  position: fixed;
  right: 20px;
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 1400;
  max-width: min(360px, calc(100% - 40px));
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 17px;
  padding: 13px 16px;
  background: rgba(35, 29, 25, 0.86);
  color: #fff;
  font-size: 14px;
  font-weight: 550;
  box-shadow: 0 16px 44px rgba(30, 23, 19, 0.24);
  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px);
}

@media (max-width: 760px) {
  html.client-apple-ui-preview {
    --client-apple-shell: min(100% - 20px, 620px);
    --client-apple-radius: 24px;
  }

  html.client-apple-ui-preview body.nfc-page {
    font-size: 16px;
  }

  html.client-apple-ui-preview .client-apple-preview-notice {
    margin-top: 7px;
    font-size: 11px;
  }

  html.client-apple-ui-preview body.nfc-page > nav {
    min-height: 66px;
    gap: 5px;
    margin-bottom: 12px;
    padding: 7px 7px 7px 14px;
  }

  html.client-apple-ui-preview body.nfc-page > nav .brand-logo {
    max-width: 111px;
    height: 34px;
  }

  html.client-apple-ui-preview body.nfc-page > nav ul {
    width: auto;
    justify-content: flex-end;
    gap: 1px;
  }

  html.client-apple-ui-preview body.nfc-page > nav :is(.nfc-gift-btn, .nfc-intro-trigger) {
    min-width: 42px;
    min-height: 48px;
    border-radius: 15px;
    padding: 0 7px;
    font-size: 11px;
  }

  html.client-apple-ui-preview body.nfc-page > nav .nfc-book-btn,
  html.client-apple-ui-preview body.nfc-page > nav .nfc-book-btn:hover {
    min-height: 48px;
    padding: 0 14px;
    font-size: 13px;
  }

  html.client-apple-ui-preview body.nfc-page .nfc-shell {
    gap: 16px;
  }

  html.client-apple-ui-preview body.nfc-page .nfc-hero {
    min-height: 390px;
    display: block;
    border-radius: 28px;
    padding: 34px 24px;
    background-position: 59% center;
  }

  html.client-apple-ui-preview body.nfc-page .nfc-hero::before,
  html.client-apple-ui-preview body.nfc-page[data-client-brand="nile-reed"] .nfc-hero::before,
  html.client-apple-ui-preview body.nfc-page[data-client-brand="arc"] .nfc-hero::before,
  html.client-apple-ui-preview body.nfc-page[data-client-brand="barber-commons"] .nfc-hero::before {
    background: linear-gradient(180deg, rgba(247, 242, 236, 0.97) 1%, rgba(247, 242, 236, 0.92) 56%, rgba(247, 242, 236, 0.5) 100%);
  }

  html.client-apple-ui-preview body.nfc-page .nfc-hero h1 {
    max-width: 320px;
    font-size: clamp(42px, 13vw, 58px);
  }

  html.client-apple-ui-preview body.nfc-page .nfc-hero p {
    max-width: 285px;
    margin-top: 16px;
    font-size: 20px;
  }

  html.client-apple-ui-preview body.nfc-page .surface-card {
    padding: 24px 20px;
  }

  html.client-apple-ui-preview body.nfc-page #nfc-client-card .nfc-client-content {
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 18px;
  }

  html.client-apple-ui-preview body.nfc-page .client-apple-profile-photo {
    grid-column: 1;
    grid-row: 1 / span 4;
    width: 96px;
  }

  html.client-apple-ui-preview body.nfc-page .client-apple-avatar {
    width: 92px;
    height: 92px;
    font-size: 28px;
  }

  html.client-apple-ui-preview body.nfc-page #client-profile-kicker,
  html.client-apple-ui-preview body.nfc-page .nfc-client-identity,
  html.client-apple-ui-preview body.nfc-page #client-report-title,
  html.client-apple-ui-preview body.nfc-page #client-report-link-state {
    grid-column: 2;
  }

  html.client-apple-ui-preview body.nfc-page #client-profile-badge {
    grid-column: 1 / -1;
    grid-row: 5;
    margin-top: 16px;
  }

  html.client-apple-ui-preview body.nfc-page #nfc-client-card > .nfc-client-content > .nfc-actions {
    grid-column: 1 / -1;
    grid-row: 6;
  }

  html.client-apple-ui-preview body.nfc-page .nfc-client-name-row h2 {
    font-size: clamp(28px, 8.5vw, 38px);
  }

  html.client-apple-ui-preview body.nfc-page #client-report-title {
    font-size: 15px;
  }

  html.client-apple-ui-preview body.nfc-page .nfc-next-service-flow-card .nfc-next-step-card {
    grid-template-columns: 104px minmax(0, 1fr) 44px;
    gap: 14px;
    padding: 16px 0;
  }

  html.client-apple-ui-preview body.nfc-page .client-apple-service-image {
    width: 104px;
    border-radius: 15px;
  }

  html.client-apple-ui-preview body.nfc-page .nfc-next-step-card > .nfc-meta {
    display: block;
    overflow: visible;
    font-size: 14px;
  }

  html.client-apple-ui-preview body.nfc-page .nfc-next-step-card > .nfc-actions .btn {
    min-width: 44px;
    width: 44px;
    min-height: 44px;
    overflow: hidden;
    padding: 0;
    font-size: 0;
  }

  html.client-apple-ui-preview body.nfc-page .nfc-next-step-card > .nfc-actions .btn::after {
    content: "";
    width: 18px;
    height: 18px;
    background: currentColor;
    -webkit-mask: var(--client-apple-icon-chevron) center / contain no-repeat;
    mask: var(--client-apple-icon-chevron) center / contain no-repeat;
  }

  html.client-apple-ui-preview body.nfc-page .nfc-section-title-row {
    grid-template-columns: minmax(0, 1fr);
  }

  html.client-apple-ui-preview body.nfc-page .nfc-completed-by-pill {
    justify-self: start;
  }

  html.client-apple-ui-preview body.nfc-page .nfc-shop-all-products-btn {
    width: 100%;
  }

  html.client-apple-ui-preview .client-apple-crop-dialog {
    width: calc(100% - 16px);
    max-width: none;
    margin: auto auto 8px;
    border-radius: 30px 30px 24px 24px;
    padding: 22px 18px max(18px, env(safe-area-inset-bottom));
  }

  html.client-apple-ui-preview .client-apple-crop-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  html.client-apple-ui-preview .client-apple-crop-actions .btn.primary {
    grid-column: 1 / -1;
    grid-row: 1;
  }
}

@media (max-width: 430px) {
  html.client-apple-ui-preview body.nfc-page > nav li:has(#client-gift-trigger),
  html.client-apple-ui-preview body.nfc-page > nav li:has(#client-vouchers-trigger),
  html.client-apple-ui-preview body.nfc-page > nav li:has(#client-events-trigger) {
    display: none;
  }

  html.client-apple-ui-preview body.nfc-page .nfc-next-service-flow-card .nfc-next-step-card {
    grid-template-columns: 94px minmax(0, 1fr);
    align-items: start;
  }

  html.client-apple-ui-preview body.nfc-page .client-apple-service-image {
    width: 94px;
  }

  html.client-apple-ui-preview body.nfc-page .nfc-next-step-card > .nfc-actions {
    grid-column: 1 / -1;
    grid-row: 3;
    width: 100%;
  }

  html.client-apple-ui-preview body.nfc-page .nfc-next-step-card > .nfc-actions .btn {
    width: 100%;
    min-width: 0;
    justify-content: space-between;
    padding: 11px 16px;
    font-size: 14px;
  }
}

@media (max-width: 360px) {
  html.client-apple-ui-preview body.nfc-page .nfc-next-service-flow-card .nfc-next-step-card {
    grid-template-columns: 82px minmax(0, 1fr);
    column-gap: 12px;
  }

  html.client-apple-ui-preview body.nfc-page .client-apple-service-image {
    width: 82px;
  }
}

html.client-apple-ui-preview body.nfc-page .nfc-next-service-flow-card .nfc-next-step-disclosure {
  min-height: 0;
  display: block;
  border: 0;
  border-radius: 0;
  padding: 0;
}

html.client-apple-ui-preview body.nfc-page .nfc-next-service-flow-card .nfc-next-step-disclosure + .nfc-next-step-disclosure {
  border-top: 1px solid var(--client-apple-separator);
}

html.client-apple-ui-preview body.nfc-page .nfc-next-step-disclosure > summary {
  min-height: 64px;
  padding: 14px 4px;
}

html.client-apple-ui-preview body.nfc-page .nfc-next-step-disclosure > summary strong {
  color: var(--client-apple-label);
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.01em;
}

html.client-apple-ui-preview body.nfc-page .nfc-next-step-disclosure > summary small,
html.client-apple-ui-preview body.nfc-page .nfc-previous-services-list span {
  color: var(--client-apple-secondary);
}

html.client-apple-ui-preview body.nfc-page .nfc-next-step-disclosure-body {
  grid-template-columns: 1fr;
  border-top-color: var(--client-apple-separator);
  padding: 16px 4px 18px;
}

html.client-apple-ui-preview body.nfc-page .nfc-next-step-disclosure-body > .nfc-meta,
html.client-apple-ui-preview body.nfc-page .nfc-next-step-disclosure-body > .nfc-actions {
  grid-column: auto;
  grid-row: auto;
}

html.client-apple-ui-preview body.nfc-page .nfc-next-step-disclosure-body > .nfc-actions .btn {
  width: auto;
  min-width: 132px;
  min-height: 44px;
  padding: 11px 16px;
  font-size: 14px;
}

html.client-apple-ui-preview body.nfc-page .nfc-previous-services-disclosure {
  border-top: 1px solid var(--client-apple-separator);
}

@media (prefers-contrast: more) {
  html.client-apple-ui-preview {
    --client-apple-secondary: #45403d;
    --client-apple-separator: rgba(30, 24, 20, 0.28);
  }

  html.client-apple-ui-preview body.nfc-page > nav,
  html.client-apple-ui-preview body.nfc-page .surface-card,
  html.client-apple-ui-preview .client-apple-crop-dialog {
    border-color: rgba(35, 28, 24, 0.28);
  }
}

@media (prefers-reduced-transparency: reduce) {
  html.client-apple-ui-preview body.nfc-page > nav,
  html.client-apple-ui-preview .client-apple-crop-dialog,
  html.client-apple-ui-preview .client-apple-preview-toast {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  html.client-apple-ui-preview body.nfc-page > nav,
  html.client-apple-ui-preview .client-apple-crop-dialog {
    background: #fff;
  }
}

@media (prefers-reduced-motion: reduce) {
  html.client-apple-ui-preview {
    scroll-behavior: auto;
  }

  html.client-apple-ui-preview *,
  html.client-apple-ui-preview *::before,
  html.client-apple-ui-preview *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
