.kyc-pilot {
  display: grid;
  gap: 14px;
  padding: 6px 16px 32px;
  color: #25252b;
}
.kyc-nav-spacer { width: 34px; }
.kyc-status-card, .kyc-panel {
  padding: 16px;
  border: 1px solid #e9e9ec;
  border-radius: 16px;
  background: #fff;
  min-width: 0;
}
.kyc-status-card {
  display: grid;
  gap: 9px;
  background: linear-gradient(155deg, #fff5f5, #fff 70%);
  border-color: #f3cfd6;
}
.kyc-status-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.kyc-status-meta small {
  border: 1px solid #f3cfd6;
  border-radius: 100px;
  padding: 4px 9px;
  background: #fff;
  color: #8e1b2b;
  font-size: 11px;
  font-weight: 700;
}
.kyc-status-icon {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #8e1b2b;
  color: #fff;
  font-size: 22px;
}
.kyc-status-card h2 { font-size: 24px; font-weight: 800; line-height: 1.16; letter-spacing: -.025em; margin: 0; }
.kyc-status-card p, .kyc-panel p { font-size: 14px; color: #4f4f5a; margin: 0; }
.kyc-status-card .kyc-reason { border-radius: 12px; padding: 9px 12px; color: #8e1b2b; background: #fff5f5; }
.kyc-panel h3 { font-size: 17px; margin: 0 0 10px; }
.kyc-panel h4 { font-size: 14px; margin: 10px 0 4px; }
.kyc-panel details { margin: 8px 0; }
.kyc-panel summary { padding: 9px 0; font-weight: 650; }
.kyc-pilot > details.kyc-panel { padding-block: 7px; }
.kyc-pilot > details.kyc-panel > summary { min-height: 44px; align-content: center; }
.kyc-pilot > details.kyc-panel > :last-child:not(summary) { margin-bottom: 7px; }
.kyc-panel ol { padding-inline-start: 22px; margin-bottom: 0; }
.kyc-panel ol li + li, .kyc-panel p + p { margin-top: 7px; }
.kyc-instructions, #kyc-upload-preview { display: block; width: 100%; border-radius: 12px; }
.kyc-instructions { aspect-ratio: 16 / 9; background: #8e1b2b; }
.kyc-pilot form { display: grid; gap: 8px; margin-top: 12px; }
.kyc-pilot form .check-row { margin: 2px 0; align-items: start; line-height: 1.4; }
.kyc-pilot form .form-error:empty { display: none; }
.kyc-file { min-height: 44px; min-width: 0; width: 100%; padding: 6px 8px; }
.kyc-file::file-selector-button {
  border: 0;
  border-radius: 7px;
  padding: 6px 10px;
  margin-inline-end: 8px;
  background: #fff5f5;
  color: #8e1b2b;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
}
.kyc-note { background: #f2f2f7; margin: 0; padding: 10px 12px; border-radius: 10px; }
#kyc-upload-preview { max-height: 170px; background: #f2f2f7; object-fit: contain; }
#kyc-upload-preview[hidden] { display: none; }
.kyc-pilot > a.link { justify-self: start; padding: 8px 0; }
.kyc-support-link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 7px 12px;
  border: 1px solid #e9dfe0;
  border-radius: 12px;
  background: #fff;
  color: #8e1b2b;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}
.kyc-support-link:hover,
.kyc-support-link:active {
  border-color: #d6a9b2;
  background: #fff5f5;
  color: #8e1b2b;
}
.kyc-support-link:focus-visible { outline: 2px solid #b92338; outline-offset: 2px; }
.kyc-support-icon {
  display: grid;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 8px;
  background: #fdf1f3;
  font-size: 16px;
}
.kyc-pilot :focus-visible { outline: 2px solid #b92338; outline-offset: 2px; }

.kyc-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin: 7px 0 0;
  padding: 0;
  list-style: none;
}
.kyc-steps li {
  display: grid;
  justify-items: start;
  align-content: start;
  gap: 5px;
  color: #61535a;
  font-size: 11px;
  line-height: 1.3;
  overflow-wrap: anywhere;
  position: relative;
}
.kyc-steps li:not(:last-child)::before {
  content: '';
  position: absolute;
  top: 11px;
  left: 31px;
  right: 0;
  height: 2px;
  background: #e9e9ec;
}
.kyc-steps li.is-done::before {
  background: #f3cfd6;
}
.kyc-step-marker {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: #f1e4e8;
  font-size: 12px;
}
.kyc-steps [aria-current=step], .kyc-steps .is-done { color: #8e1b2b; font-weight: 700; }
.kyc-steps [aria-current=step] .kyc-step-marker { color: #fff; background: #8e1b2b; }
.kyc-pilot .kyc-refresh, .kyc-pilot .kyc-camera-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #d6a9b2;
  color: #8e1b2b;
  background: #fff;
}
.kyc-pilot .kyc-refresh { width: fit-content; margin-top: 4px; padding-inline: 12px; }
.kyc-pilot .kyc-camera-button { margin-block: 4px; }
.kyc-capture, .kyc-photo-review {
  display: grid;
  gap: 8px;
  min-width: 0;
}
.kyc-capture[hidden], .kyc-photo-review[hidden], .kyc-camera-status:empty { display: none; }
.kyc-camera-view {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: #211a1d;
  aspect-ratio: 4 / 3;
}
.kyc-camera-view video { display: block; width: 100%; height: 100%; object-fit: contain; }
.kyc-camera-guide {
  position: absolute;
  inset: 21% 11%;
  border: 2px solid #fff;
  border-radius: 10px;
  box-shadow: 0 0 0 1px #43242e;
  pointer-events: none;
}
.kyc-camera-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.kyc-camera-actions .btn { padding-inline: 6px; }
.kyc-camera-actions .btn:disabled { opacity: .45; }
.kyc-photo-review .btn { justify-self: end; width: fit-content; padding-inline: 12px; }
.kyc-history ul { display: grid; gap: 8px; margin: 4px 0 0; padding: 0; list-style: none; }
.kyc-history li { display: grid; gap: 2px; padding-block: 7px; border-top: 1px solid #e9e9ec; }
.kyc-history strong { font-size: 14px; }
.kyc-history li span { color: #4f4f5a; font-size: 12px; }
.kyc-wizard { border-color: #eadde0; }
.kyc-wizard form { margin-top: 0; }
.kyc-wizard .kyc-wizard-step { display: grid; gap: 10px; min-width: 0; }
.kyc-wizard [hidden] { display: none !important; }
.kyc-wizard-step h3 { font-size: 24px; font-weight: 800; letter-spacing: -.025em; line-height: 1.17; margin: 2px 0 0; }
.kyc-step-title { display: flex; align-items: center; gap: 9px; }
.kyc-step-title iconify-icon { flex: 0 0 auto; color: #8e1b2b; font-size: 23px; }
.kyc-stage-heading {
  display: grid;
  gap: 7px;
  padding: 12px;
  border-radius: 14px;
  background: linear-gradient(145deg, #fff5f5, #fff);
}
.kyc-stage-heading h3 { margin: 0; }
.kyc-stage-heading .kyc-step-title iconify-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #8e1b2b;
  color: #fff;
  font-size: 20px;
}
.kyc-stage-heading p { font-size: 13px; line-height: 1.5; }
.kyc-prepare-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(68px, 32%);
  align-items: center;
  gap: 9px;
  overflow: hidden;
  border-radius: 14px;
  padding: 14px 12px 14px 14px;
  background: linear-gradient(135deg, #8e1b2b, #a00f1c);
  color: #fff;
}
.kyc-prepare-intro h3 { font-size: clamp(21px, 6vw, 28px); margin: 0; }
.kyc-prepare-intro h3:focus-visible { outline-color: #fff; }
.kyc-prepare-intro p { margin-top: 7px; color: #fff5f5; font-size: 13px; line-height: 1.5; }
.kyc-prepare-art {
  position: relative;
  display: grid;
  place-items: center;
  height: 74px;
}
.kyc-art-brackets {
  position: absolute;
  inset: 2px;
  border: 1px solid #f3cfd6;
  border-radius: 12px;
  opacity: .7;
  mask-image: conic-gradient(from 225deg, #000 0deg 19deg, transparent 19deg 71deg, #000 71deg 109deg, transparent 109deg 161deg, #000 161deg 199deg, transparent 199deg 251deg, #000 251deg 289deg, transparent 289deg 341deg, #000 341deg);
}
.kyc-art-card {
  display: grid;
  place-items: center;
  width: 74%;
  max-width: 74px;
  aspect-ratio: 3 / 2;
  border-radius: 9px;
  background: #fff;
  color: #8e1b2b;
  transform: rotate(-12deg);
  box-shadow: 0 7px 14px rgba(30, 30, 36, .23);
  font-size: 29px;
}
.kyc-art-shield {
  position: absolute;
  right: 0;
  bottom: 4px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 2px solid #8e1b2b;
  border-radius: 9px;
  background: #fff5f5;
  color: #8e1b2b;
}
.kyc-wizard .kyc-privacy-note {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 8px;
  font-size: 13px;
}
.kyc-privacy-note iconify-icon { color: #8e1b2b; margin-top: 2px; font-size: 16px; }
.kyc-wizard .kyc-start { position: relative; padding-inline: 32px; }
.kyc-start iconify-icon { position: absolute; inset-inline-end: 12px; font-size: 16px; }
.kyc-wizard-steps, .kyc-poses {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0,1fr);
  gap: 6px; list-style: none; margin: 0; padding: 0 !important;
}
.kyc-wizard-steps { scroll-margin-top: 78px; margin-bottom: 7px; }
.kyc-wizard-steps li, .kyc-poses li { font-size: 11px; line-height: 1.25; margin: 0 !important; }
.kyc-wizard-steps li::before {
  content: '';
  display: block;
  height: 4px;
  margin-bottom: 6px;
  border-radius: 7px;
  background: linear-gradient(90deg, var(--kyc-segment, #d42a3a), var(--kyc-segment, #d42a3a)) left / 0% 100% no-repeat #eadde0;
  transition: background-size 220ms cubic-bezier(.16, 1, .3, 1);
}
.kyc-wizard-steps li.is-complete::before { --kyc-segment: #d98b98; background-size: 100% 100%; }
.kyc-wizard-steps li[aria-current] { color: #8e1b2b; font-weight: 750; }
.kyc-wizard-steps li[aria-current]::before { background-size: 100% 100%; }
.kyc-wizard-guide { display: grid; gap: 10px; padding: 0; margin: 0 0 4px; list-style: none; }
.kyc-wizard-guide li { display: grid; grid-template-columns: 32px 1fr; align-items: start; gap: 10px; font-size: 14px; }
.kyc-wizard-guide iconify-icon { padding: 7px; border-radius: 10px; color: #8e1b2b; background: #fdf1f3; }
.kyc-document-types { min-width: 0; padding: 0; margin: 0; border: 0; }
.kyc-document-types legend { font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.kyc-document-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.kyc-document-types label {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-content: start;
  align-items: center;
  gap: 7px;
  min-height: 88px;
  padding: 9px 11px;
  border: 1px solid #e9e9ec;
  border-radius: 12px;
  cursor: pointer;
}
.kyc-document-types label:has(:checked) { color: #8e1b2b; background: #fff5f5; border-color: #d6a9b2; }
.kyc-document-types iconify-icon { justify-self: start; font-size: 22px; }
.kyc-document-types input { margin: 0; width: 16px; height: 16px; }
.kyc-document-types label span { display: grid; grid-column: 1 / -1; gap: 1px; min-width: 0; line-height: 1.3; }
.kyc-document-types strong { font-size: 15px; }
.kyc-document-types small { color: #676771; font-size: 12px; }
.kyc-document-types input, .kyc-record-progress { accent-color: #b51d38; }
.kyc-wizard .btn { white-space: normal; }
.kyc-wizard [data-kyc-camera-open][aria-expanded=true] { display: none; }
.kyc-capture-box {
  display: grid;
  gap: 8px;
  min-width: 0;
  border: 1px solid #e9e9ec;
  border-radius: 14px;
  padding: 10px;
  background: #fafafc;
}
.kyc-capture-box > label { font-size: 13px; font-weight: 700; }
.kyc-capture-box > #kyc-file-hint { font-size: 12px; }
.kyc-capture-box .kyc-camera-button { margin: 0; }
.kyc-video-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.kyc-video-meta li { display: flex; align-items: center; gap: 4px; color: #4f4f5a; font-size: 11px; font-weight: 700; }
.kyc-video-meta iconify-icon { color: #8e1b2b; font-size: 15px; }
.kyc-video-capture:has(.kyc-capture:not([hidden])) .kyc-pose-plan { display: none; }
.kyc-stage-actions { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.kyc-stage-actions [data-kyc-next] { display: flex; justify-content: center; align-items: center; gap: 7px; }
.kyc-stage-actions [data-kyc-next] iconify-icon { font-size: 16px; }
.kyc-face-camera video { transform: scaleX(-1); }
.kyc-face-camera .kyc-camera-guide { inset: 10% 29%; border-radius: 50%; box-shadow: 0 0 0 200px #24151c38; }
.kyc-record-indicator {
  position: absolute; top: 9px; left: 9px; color: #fff; background: #291e23; padding: 5px 8px;
  border-radius: 7px; font-size: 12px; font-variant-numeric: tabular-nums;
}
.kyc-record-indicator::before { content: ''; display: inline-block; width: 7px; height: 7px; margin-right: 5px; border-radius: 50%; background: #ff6881; }
.kyc-wizard .kyc-pose-cue { text-align: center; color: #221a1c; font-size: 17px; font-weight: 750; }
.kyc-pose-cue:empty { display: none; }
.kyc-poses li {
  display: grid;
  justify-items: center;
  gap: 4px;
  text-align: center;
  border-radius: 9px;
  padding: 7px 3px;
  background: #f2f2f7;
  color: #4f4f5a;
  font-weight: 700;
}
.kyc-poses iconify-icon { color: #8e1b2b; font-size: 17px; }
.kyc-poses li[aria-current] { background: #fdefef; color: #8e1b2b; box-shadow: inset 0 0 0 1px #dfa2ae; font-weight: 750; }
.kyc-poses li.is-complete { background: #edf7f2; color: #185a46; }
.kyc-poses li.is-complete iconify-icon { color: inherit; }
.kyc-record-progress { width: 100%; height: 7px; }
.kyc-review-item { display: grid; gap: 6px; min-width: 0; border: 1px solid #e9e9ec; border-radius: 14px; padding: 8px 10px 10px; }
.kyc-review-item-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 36px; }
.kyc-review-item .kyc-review-limit { color: #676771; font-size: 12px; }
.kyc-review-item .kyc-review-error,
.kyc-capture-box:has([aria-invalid=true]) .kyc-camera-status {
  margin: 0;
  padding: 8px 10px;
  border-radius: 9px;
  background: #fff5f5;
  color: #8e1b2b;
  font-size: 13px;
}
.kyc-review-error:empty { display: none; }
.kyc-review-item strong { display: flex; align-items: center; gap: 7px; font-size: 14px; }
.kyc-review-item strong iconify-icon { color: #8e1b2b; font-size: 17px; }
.kyc-wizard .kyc-review-item .btn { min-width: 0; width: auto; min-height: 40px; padding-inline: 11px; color: #8e1b2b; font-size: 13px; }
.kyc-review-item img, .kyc-review-item video, .kyc-photo-review video {
  display: block; width: 100%; max-height: 250px; object-fit: contain; border-radius: 10px; background: #f6f1f1;
}
.kyc-review-item img, .kyc-review-item video { max-height: 180px; }
.kyc-review-item video, .kyc-photo-review video { background: #1e1e24; }
.kyc-consent-box { border-radius: 14px; padding: 8px 11px 10px; background: #fafafc; border: 1px solid #e9e9ec; }
.kyc-consent-box details { margin: 0 0 8px; border-bottom: 1px solid #e9e9ec; padding-bottom: 4px; }
.kyc-consent-box details[open] { padding-bottom: 9px; }
.kyc-consent-box summary { min-height: 40px; align-content: center; }
.kyc-consent-box .check-row { font-size: 13px; cursor: pointer; }

@media (prefers-reduced-motion: no-preference) {
  .kyc-art-card { animation: kyc-card-in 480ms cubic-bezier(.16, 1, .3, 1) both; }
  .kyc-art-shield { animation: kyc-lock-in 300ms 100ms cubic-bezier(.16, 1, .3, 1) both; }
  .kyc-wizard [data-step-motion] > .kyc-wizard-step:not([hidden]) {
    animation: kyc-step-in 230ms cubic-bezier(.16, 1, .3, 1) both;
  }
  .kyc-wizard [data-step-motion="back"] { --kyc-step-shift: -9px; }
  .kyc-poses li[aria-current="step"] { animation: kyc-cue-in 260ms ease-out both; }
  .kyc-support-link, .kyc-document-types label { transition: background-color 160ms ease-out, border-color 160ms ease-out; }
}
@media (prefers-reduced-motion: reduce) {
  .kyc-wizard-steps li::before { transition: none; }
}
@keyframes kyc-card-in {
  from { transform: translate(9px, 8px) rotate(4deg); }
  to { transform: rotate(-12deg); }
}
@keyframes kyc-lock-in {
  from { transform: scale(.78); opacity: .6; }
  to { transform: scale(1); opacity: 1; }
}
@keyframes kyc-step-in {
  from { transform: translateX(var(--kyc-step-shift, 9px)); opacity: .8; }
  to { transform: translateX(0); opacity: 1; }
}
@keyframes kyc-cue-in {
  from { box-shadow: inset 0 0 0 1px #fff5f5; }
  to { box-shadow: inset 0 0 0 1px #dfa2ae; }
}

/* Blocked actions keep the next step inline, including on narrow booking forms. */
.identity-action-prompt {
  display:flex; align-items:flex-start; gap:12px; width:100%; box-sizing:border-box;
  padding:14px; border:1px solid #e7d6d9; border-radius:14px; background:#fff8f9;
  color:#262129; text-align:start; font-size:14px; font-weight:400; line-height:1.45;
}
.identity-action-icon {
  display:grid; place-items:center; flex:0 0 32px; height:32px; border-radius:10px;
  background:#f7e2e6; color:#921f35; font-size:20px;
}
.identity-action-copy {display:grid; min-width:0; gap:4px; overflow-wrap:anywhere}
.identity-action-copy > strong {color:#29232a; font-size:15px}
.identity-action-copy > span {color:#62565a; font-size:13px}
.identity-action-copy > a {display:inline-flex; align-items:center; gap:6px; min-height:44px; width:fit-content; color:#8e1b2b; font-weight:750}
.identity-action-copy > a:focus-visible {outline:2px solid currentColor; outline-offset:2px}
.identity-gate-page .scroll {padding:18px 16px}
