/*
 * V16.3 representative-visit flow.
 * Loaded only on the three-step visit request and confirmation templates.
 */
:root {
  --visit-primary: #004e29;
  --visit-primary-2: #08683a;
  --visit-deep: #064f2c;
  --visit-gold: #c59e41;
  --visit-gold-dark: #775a00;
  --visit-sand: #f2ebe1;
  --visit-ivory: #faf9f6;
  --visit-surface: #fbf9f8;
  --visit-surface-low: #f6f3f2;
  --visit-surface-high: #eae8e7;
  --visit-outline: #bfc9be;
  --visit-text: #1b1c1c;
  --visit-muted: #3f4941;
  --visit-error: #ba1a1a;
  --visit-shadow: 0 12px 32px -8px rgba(90, 67, 0, .07), 0 4px 12px -4px rgba(90, 67, 0, .05);
  --visit-shadow-soft: 0 10px 30px -10px rgba(119, 90, 0, .09);
  --visit-shell: 1440px;
}

body.als-visit-transactional {
  background: var(--visit-ivory);
  color: var(--visit-text);
  font-family: "IBM Plex Sans Arabic", Inter, system-ui, sans-serif;
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
}
body.als-visit-transactional * { box-sizing: border-box; }
body.als-visit-transactional button,
body.als-visit-transactional input,
body.als-visit-transactional select,
body.als-visit-transactional textarea { font: inherit; }
body.als-visit-transactional button { cursor: pointer; }
body.als-visit-transactional [hidden] { display: none !important; }

.als-tx-shell,
.als-v163-shell,
.als-v163-confirm-shell {
  margin-inline: auto;
  max-width: var(--visit-shell);
  padding-inline: 80px;
  width: 100%;
}

/* Transactional header */
.als-tx-header {
  backdrop-filter: blur(20px);
  background: rgba(250, 249, 246, .9);
  border-bottom: 1px solid rgba(191, 201, 190, .35);
  position: sticky;
  top: 0;
  z-index: 500;
}
.admin-bar .als-tx-header { top: 32px; }
.als-tx-header__inner {
  align-items: center;
  display: flex;
  gap: 32px;
  justify-content: space-between;
  min-height: 80px;
}
.als-tx-brand { align-items: center; display: inline-flex; flex: 0 0 auto; }
.als-tx-brand img { display: block; height: 54px; object-fit: contain; width: 175px; }
.als-tx-breadcrumbs,
.als-tx-confirmation-nav,
.als-tx-header__compact-actions,
.als-tx-close-flow {
  align-items: center;
  color: var(--visit-muted);
  display: flex;
  font-size: 15px;
  gap: 10px;
}
.als-tx-breadcrumbs a,
.als-tx-breadcrumbs button,
.als-tx-confirmation-nav a,
.als-tx-header__compact-actions a,
.als-tx-close-flow {
  align-items: center;
  background: transparent;
  border: 0;
  color: inherit;
  display: inline-flex;
  gap: 7px;
  padding: 0;
  text-decoration: none;
}
.als-tx-breadcrumbs strong,
.als-tx-confirmation-nav .is-primary { color: var(--visit-primary); font-weight: 700; }
.als-tx-confirmation-nav { gap: 26px; }
.als-tx-nav-separator { background: rgba(191,201,190,.55); height: 25px; width: 1px; }
.als-tx-header__compact-actions > span { color: var(--visit-gold-dark); font-size: 13px; font-weight: 700; }
.als-tx-close-flow { font-size: 16px; }

/* Transactional footer */
.als-tx-footer { background: var(--visit-deep); color: rgba(255,255,255,.77); margin-top: auto; }
.als-tx-footer__grid { display: grid; gap: 40px; grid-template-columns: 1.45fr repeat(3, 1fr); padding-block: 48px; }
.als-tx-footer__brand img { filter: brightness(0) invert(1); height: 58px; object-fit: contain; object-position: right center; width: 190px; }
.als-tx-footer__brand p { line-height: 1.8; margin: 18px 0 0; max-width: 330px; }
.als-tx-footer h3 { color: var(--visit-gold); font-size: 15px; margin: 0 0 18px; }
.als-tx-footer__grid > div:not(:first-child) { display: flex; flex-direction: column; gap: 10px; }
.als-tx-footer a { color: rgba(255,255,255,.78); text-decoration: none; }
.als-tx-footer a:hover { color: #fff; }
.als-tx-footer__bottom { border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; padding-block: 20px; }

/* Shared form primitives */
.als-v163-visit { background: var(--visit-surface); min-height: 720px; }
.als-v163-honeypot { height: 1px; inset-inline-start: -9999px; overflow: hidden; position: absolute; width: 1px; }
.als-v163-step { animation: visitFade .32s ease; }
@keyframes visitFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.als-v163-card { background: #fff; border: 1px solid rgba(191,201,190,.3); border-radius: 14px; box-shadow: var(--visit-shadow-soft); }
.als-v163-card h2 { color: var(--visit-deep); font-size: 28px; line-height: 1.4; margin: 0 0 30px; }
.als-v163-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.als-v163-field > span,
.als-v163-location-types legend,
.als-v163-day-choices legend,
.als-v163-period-choices legend { color: var(--visit-text); font-size: 15px; font-weight: 700; }
.als-v163-field i,
.als-v163-location-types i,
.als-v163-day-choices i,
.als-v163-period-choices i { color: var(--visit-error); font-style: normal; }
.als-v163-field small { color: rgba(63,73,65,.65); font-weight: 400; }
.als-v163-field input,
.als-v163-field select,
.als-v163-field textarea {
  appearance: none;
  background: var(--visit-ivory);
  border: 1px solid var(--visit-outline);
  border-radius: 9px;
  color: var(--visit-text);
  min-height: 49px;
  outline: 0;
  padding: 12px 14px;
  transition: border-color .2s, box-shadow .2s, background .2s;
  width: 100%;
}
.als-v163-field textarea { min-height: 98px; resize: vertical; }
.als-v163-field input:focus,
.als-v163-field select:focus,
.als-v163-field textarea:focus { background: #fff; border-color: var(--visit-primary); box-shadow: 0 0 0 1px var(--visit-primary); }
.als-v163-fields { display: grid; gap: 24px; }
.als-v163-fields--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.als-v163-field--full { grid-column: 1 / -1; }

.als-v163-btn {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 9px;
  display: inline-flex;
  font-weight: 700;
  gap: 8px;
  justify-content: center;
  min-height: 52px;
  padding: 13px 28px;
  text-decoration: none;
  transition: .22s;
}
.als-v163-btn--primary { background: var(--visit-primary); color: #fff; }
.als-v163-btn--primary:hover { background: var(--visit-primary-2); color: #fff; transform: translateY(-1px); }
.als-v163-btn--secondary { background: transparent; border: 2px solid rgba(111,122,112,.35); color: var(--visit-muted); }
.als-v163-btn--secondary:hover { border-color: var(--visit-primary); color: var(--visit-primary); }
.als-v163-btn--outline { background: transparent; border: 2px solid var(--visit-primary); color: var(--visit-primary); }
.als-v163-card-actions { border-top: 1px solid rgba(191,201,190,.3); display: flex; gap: 14px; margin-top: 32px; padding-top: 28px; }
.als-v163-card-actions--end { justify-content: flex-end; }
.als-v163-card-actions--between { justify-content: space-between; }

/* Shared steppers */
.als-v163-progress { list-style: none; margin: 0; padding: 0; }
.als-v163-progress li { position: relative; text-align: center; }
.als-v163-progress li > span { align-items: center; border-radius: 50%; display: flex; justify-content: center; }
.als-v163-progress li b { display: block; font-size: 14px; }

/* STEP 1 */
.als-v163-step--contact { padding-block: 110px 120px; }
.als-v163-step1-shell { max-width: 1280px; }
.als-v163-page-intro { margin-bottom: 42px; text-align: right; }
.als-v163-page-intro h1 { color: var(--visit-deep); font-size: clamp(36px, 4vw, 48px); line-height: 1.2; margin: 0 0 18px; }
.als-v163-trust-note { align-items: center; background: var(--visit-sand); border-radius: 9px; box-shadow: var(--visit-shadow-soft); color: var(--visit-muted); display: inline-flex; gap: 10px; max-width: 720px; padding: 14px 17px; }
.als-v163-trust-note .als-v16-icon { color: var(--visit-gold); flex: 0 0 auto; }
.als-v163-trust-note p { font-size: 17px; line-height: 1.7; margin: 0; }
.als-v163-progress--bar { display: flex; justify-content: space-between; margin-bottom: 105px; position: relative; }
.als-v163-progress--bar::before { background: var(--visit-surface-high); border-radius: 999px; content: ""; height: 4px; inset-inline: 0; position: absolute; top: 15px; }
.als-v163-progress--bar::after { background: var(--visit-primary); border-radius: 999px; content: ""; height: 4px; inset-inline-start: 0; position: absolute; top: 15px; width: 33.333%; }
.als-v163-progress--bar li { align-items: center; color: var(--visit-muted); display: flex; flex-direction: column; gap: 8px; width: 33.333%; z-index: 2; }
.als-v163-progress--bar li:first-child { align-items: flex-start; text-align: start; }
.als-v163-progress--bar li:last-child { align-items: flex-end; text-align: end; }
.als-v163-progress--bar li > span { background: var(--visit-surface-high); color: var(--visit-muted); height: 32px; width: 32px; }
.als-v163-progress--bar li.is-active { color: var(--visit-primary); }
.als-v163-progress--bar li.is-active > span { background: var(--visit-primary); color: #fff; font-weight: 700; }
.als-v163-progress--bar li.is-complete > span { background: var(--visit-primary); color: #fff; }

.als-v163-contact-layout { align-items: start; display: grid; gap: 24px; grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr); }
.als-v163-contact-card { padding: 38px 40px; }
.als-v163-customer-type { border: 0; display: flex; gap: 28px; margin: 0 0 28px; padding: 0; }
.als-v163-customer-type label { align-items: center; cursor: pointer; display: inline-flex; gap: 10px; }
.als-v163-customer-type input { accent-color: var(--visit-primary); height: 20px; width: 20px; }
.als-v163-customer-type span { color: var(--visit-text); }
.als-v163-contact-methods { border: 0; margin: 30px 0 0; padding: 0; }
.als-v163-contact-methods legend { color: var(--visit-text); font-size: 15px; font-weight: 700; margin-bottom: 13px; }
.als-v163-contact-methods { display: grid; gap: 12px; grid-template-columns: repeat(3, 1fr); }
.als-v163-contact-methods legend { grid-column: 1 / -1; }
.als-v163-contact-methods label { cursor: pointer; }
.als-v163-contact-methods input { height: 1px; opacity: 0; position: absolute; width: 1px; }
.als-v163-contact-methods label > span { align-items: center; background: var(--visit-ivory); border: 1px solid var(--visit-outline); border-radius: 9px; color: var(--visit-deep); display: flex; flex-direction: column; gap: 8px; min-height: 96px; justify-content: center; padding: 14px; text-align: center; transition: .2s; }
.als-v163-contact-methods input:checked + span { background: rgba(0,78,41,.05); border-color: var(--visit-primary); box-shadow: 0 0 0 1px var(--visit-primary); }
.als-v163-selection-summary { background: var(--visit-sand); border: 1px solid rgba(191,201,190,.3); border-radius: 14px; box-shadow: var(--visit-shadow-soft); overflow: hidden; position: sticky; top: 112px; }
.als-v163-selection-summary__toggle { align-items: center; background: transparent; border: 0; color: var(--visit-deep); display: flex; justify-content: space-between; padding: 22px; width: 100%; }
.als-v163-selection-summary__title { align-items: center; display: flex; gap: 10px; text-align: start; }
.als-v163-selection-summary__title .als-v16-icon { color: var(--visit-gold); }
.als-v163-selection-summary__body { padding: 0 18px 18px; }
.als-v163-selection-summary.is-open .als-v163-selection-summary__toggle > .als-v16-icon:last-child { transform: rotate(180deg); }
.als-v163-selected-products { display: grid; gap: 12px; }
.als-v163-selected-products article { align-items: center; background: #fff; border: 1px solid rgba(191,201,190,.25); border-radius: 9px; display: grid; gap: 12px; grid-template-columns: 64px minmax(0,1fr) 28px; padding: 10px; }
.als-v163-selected-products article img { border-radius: 7px; height: 64px; object-fit: cover; width: 64px; }
.als-v163-selected-products article > div { display: flex; flex-direction: column; min-width: 0; }
.als-v163-selected-products article small { color: var(--visit-muted); font-size: 11px; }
.als-v163-selected-products article strong { color: var(--visit-text); font-size: 14px; line-height: 1.5; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.als-v163-selected-products article button { background: transparent; border: 0; color: var(--visit-error); font-size: 24px; }
.als-v163-selected-empty { color: var(--visit-muted); font-size: 14px; line-height: 1.7; padding: 12px 5px; text-align: center; }
.als-v163-selected-empty p { margin: 0 0 10px; }
.als-v163-selected-empty a { color: var(--visit-primary); font-weight: 700; }

/* STEP 2 */
.als-v163-step--location { padding-block: 95px 120px; }
.als-v163-location-shell { max-width: 940px; }
.als-v163-progress--dots { display: flex; justify-content: space-between; margin: 0 auto 66px; max-width: 760px; position: relative; }
.als-v163-progress--dots::before { background: rgba(191,201,190,.45); content: ""; height: 2px; inset-inline: 40px; position: absolute; top: 20px; }
.als-v163-progress--dots::after { background: var(--visit-primary); content: ""; height: 2px; inset-inline-start: 40px; position: absolute; top: 20px; width: calc(50% - 40px); }
.als-v163-progress--dots li { align-items: center; color: var(--visit-outline); display: flex; flex-direction: column; gap: 9px; z-index: 2; }
.als-v163-progress--dots li > span { background: var(--visit-surface-low); border: 1px solid rgba(191,201,190,.5); color: var(--visit-muted); height: 40px; width: 40px; }
.als-v163-progress--dots li.is-complete > span { background: var(--visit-primary); border-color: var(--visit-primary); color: #fff; }
.als-v163-progress--dots li.is-active { color: var(--visit-primary); }
.als-v163-progress--dots li.is-active > span { background: #fff; border: 2px solid var(--visit-primary); color: var(--visit-primary); font-weight: 700; }
.als-v163-location-card { overflow: hidden; padding: 42px; position: relative; }
.als-v163-location-card__accent { background: linear-gradient(to left, var(--visit-primary), var(--visit-primary-2)); height: 4px; inset: 0 0 auto; position: absolute; }
.als-v163-card-heading { margin-bottom: 34px; }
.als-v163-card-heading h1 { color: var(--visit-deep); font-size: 30px; line-height: 1.35; margin: 0 0 8px; }
.als-v163-card-heading p { color: var(--visit-muted); margin: 0; }
.als-v163-map-section { margin-block: 30px; }
.als-v163-map-section__head { align-items: center; display: flex; justify-content: space-between; margin-bottom: 13px; }
.als-v163-map-section__head b { font-size: 14px; }
.als-v163-map-section__head button { align-items: center; background: transparent; border: 0; color: var(--visit-primary); display: inline-flex; font-size: 13px; font-weight: 700; gap: 6px; }
.als-v163-map { background: #e8e5df; border: 1px solid rgba(191,201,190,.45); border-radius: 12px; height: 260px; overflow: hidden; position: relative; }
.als-v163-map::before,
.als-v163-map::after { background: rgba(255,255,255,.7); content: ""; height: 16px; left: -10%; position: absolute; transform: rotate(-16deg); width: 120%; }
.als-v163-map::before { top: 34%; }
.als-v163-map::after { bottom: 22%; transform: rotate(12deg); }
.als-v163-map__roads::before,
.als-v163-map__roads::after { background: rgba(255,255,255,.55); content: ""; height: 120%; position: absolute; top: -10%; width: 11px; }
.als-v163-map__roads::before { left: 30%; transform: rotate(18deg); }
.als-v163-map__roads::after { right: 24%; transform: rotate(-12deg); }
.als-v163-map__pin { align-items: center; background: var(--visit-primary); border: 5px solid rgba(255,255,255,.9); border-radius: 50%; color: #fff; display: flex; height: 58px; justify-content: center; left: 50%; position: absolute; top: 46%; transform: translate(-50%,-50%); width: 58px; z-index: 3; }
.als-v163-map__overlay { align-items: center; background: rgba(220,217,217,.35); display: flex; flex-direction: column; gap: 5px; inset: auto 0 0; padding: 14px; position: absolute; text-align: center; z-index: 4; }
.als-v163-map__overlay b { color: var(--visit-deep); }
.als-v163-map__overlay small { color: var(--visit-muted); }
.als-v163-location-types { border: 0; border-top: 1px solid rgba(191,201,190,.32); margin: 32px 0 26px; padding: 28px 0 0; }
.als-v163-location-types legend { margin-bottom: 14px; }
.als-v163-location-types > div { display: grid; gap: 12px; grid-template-columns: repeat(3, 1fr); }
.als-v163-location-types label { cursor: pointer; }
.als-v163-location-types input { height: 1px; opacity: 0; position: absolute; width: 1px; }
.als-v163-location-types label > span { align-items: center; background: var(--visit-ivory); border: 1px solid rgba(191,201,190,.55); border-radius: 12px; color: var(--visit-muted); display: flex; flex-direction: column; gap: 8px; justify-content: center; min-height: 98px; padding: 14px; text-align: center; transition: .2s; }
.als-v163-location-types input:checked + span { background: rgba(0,78,41,.05); border-color: var(--visit-primary); color: var(--visit-primary); box-shadow: 0 0 0 1px var(--visit-primary); }

/* STEP 3 */
.als-v163-step--review { padding-block: 90px 120px; }
.als-v163-review-layout { align-items: start; display: grid; gap: 24px; grid-template-columns: minmax(0, 7fr) minmax(360px, 5fr); }
.als-v163-review-main { display: flex; flex-direction: column; gap: 28px; }
.als-v163-progress--compact { display: flex; max-width: 520px; position: relative; }
.als-v163-progress--compact::before { background: var(--visit-sand); content: ""; height: 2px; inset-inline: 34px; position: absolute; top: 20px; }
.als-v163-progress--compact::after { background: var(--visit-primary); content: ""; height: 2px; inset-inline-start: 34px; position: absolute; top: 20px; width: calc(50% - 34px); }
.als-v163-progress--compact li { align-items: center; color: var(--visit-muted); display: flex; flex: 1; flex-direction: column; gap: 8px; z-index: 2; }
.als-v163-progress--compact li > span { background: var(--visit-surface-low); border: 1px solid var(--visit-outline); color: var(--visit-muted); height: 40px; width: 40px; }
.als-v163-progress--compact li.is-complete > span { background: var(--visit-primary); border-color: var(--visit-primary); color: #fff; }
.als-v163-progress--compact li.is-active > span { background: #fff; border: 2px solid var(--visit-primary); color: var(--visit-primary); box-shadow: 0 0 0 4px rgba(0,78,41,.08); }
.als-v163-progress--compact li.is-active,
.als-v163-progress--compact li.is-complete { color: var(--visit-primary); }
.als-v163-progress--compact li b { font-size: 12px; white-space: nowrap; }
.als-v163-review-heading h1 { color: var(--visit-deep); font-size: clamp(32px, 3.7vw, 48px); line-height: 1.25; margin: 0 0 13px; }
.als-v163-review-heading p { color: var(--visit-muted); font-size: 18px; line-height: 1.7; margin: 0; max-width: 760px; }
.als-v163-time-card { display: flex; flex-direction: column; gap: 28px; padding: 32px; }
.als-v163-time-card hr { border: 0; border-top: 1px solid var(--visit-sand); margin: 0; }
.als-v163-day-choices,
.als-v163-period-choices { border: 0; margin: 0; padding: 0; }
.als-v163-day-choices legend,
.als-v163-period-choices legend { margin-bottom: 14px; }
.als-v163-day-choices > div { display: grid; gap: 12px; grid-template-columns: repeat(3, 1fr); }
.als-v163-day-choices label,
.als-v163-period-choices label { cursor: pointer; }
.als-v163-day-choices input,
.als-v163-period-choices input { height: 1px; opacity: 0; position: absolute; width: 1px; }
.als-v163-day-choices label span { background: var(--visit-ivory); border: 2px solid var(--visit-sand); border-radius: 12px; color: var(--visit-muted); display: block; padding: 12px; text-align: center; transition: .2s; }
.als-v163-day-choices input:checked + span { background: rgba(0,78,41,.05); border-color: var(--visit-primary); color: var(--visit-primary); font-weight: 700; }
.als-v163-period-choices > div { display: grid; gap: 14px; grid-template-columns: repeat(3, 1fr); }
.als-v163-period-choices label > span { align-items: center; background: var(--visit-ivory); border: 2px solid var(--visit-sand); border-radius: 12px; color: var(--visit-muted); display: flex; flex-direction: column; gap: 8px; justify-content: center; min-height: 150px; padding: 20px; text-align: center; transition: .2s; }
.als-v163-period-choices label b { color: var(--visit-text); }
.als-v163-period-choices label small { color: var(--visit-muted); }
.als-v163-period-choices input:checked + span { background: rgba(0,78,41,.05); border-color: var(--visit-primary); color: var(--visit-primary); }
.als-v163-period-choices input:checked + span b { color: var(--visit-primary); }
.als-v163-time-alert { align-items: flex-start; background: rgba(255,223,153,.35); border: 1px solid rgba(236,193,87,.5); border-radius: 12px; color: var(--visit-muted); display: flex; gap: 13px; padding: 16px; }
.als-v163-time-alert .als-v16-icon { color: var(--visit-gold-dark); flex: 0 0 auto; }
.als-v163-time-alert p { line-height: 1.7; margin: 0; }
.als-v163-review-sidebar { position: sticky; top: 105px; }
.als-v163-review-card { background: #fff; border: 1px solid var(--visit-sand); border-radius: 16px; box-shadow: var(--visit-shadow); overflow: hidden; }
.als-v163-review-card > header { background: rgba(242,235,225,.4); border-bottom: 1px solid var(--visit-sand); padding: 22px 24px; }
.als-v163-review-card h2 { color: var(--visit-deep); font-size: 27px; margin: 0; }
.als-v163-review-row { border-bottom: 1px solid var(--visit-sand); padding: 20px 24px; }
.als-v163-review-row:last-child { border-bottom: 0; }
.als-v163-review-row__head { align-items: center; color: var(--visit-muted); display: grid; gap: 8px; grid-template-columns: 21px 1fr auto; }
.als-v163-review-row__head b { color: var(--visit-text); }
.als-v163-review-row__head button { background: transparent; border: 0; color: var(--visit-primary); font-size: 12px; font-weight: 700; text-decoration: underline; }
.als-v163-review-row__body { color: var(--visit-muted); padding-inline-start: 29px; padding-top: 10px; }
.als-v163-review-row__body p { margin: 2px 0; }
.als-v163-review-map { align-items: center; background: linear-gradient(135deg,#e6e3dc,#f6f3f2); border: 1px solid rgba(191,201,190,.35); border-radius: 8px; color: var(--visit-primary); display: flex; height: 82px; justify-content: center; margin-top: 10px; overflow: hidden; position: relative; }
.als-v163-review-map::before { background: rgba(255,255,255,.65); content: ""; height: 9px; position: absolute; transform: rotate(-12deg); width: 130%; }
.als-v163-review-map span { background: #fff; border-radius: 50%; display: flex; padding: 7px; position: relative; z-index: 2; }
.als-v163-review-products { display: flex; flex-wrap: wrap; gap: 7px; }
.als-v163-review-products span { background: var(--visit-surface-high); border: 1px solid rgba(191,201,190,.4); border-radius: 999px; color: var(--visit-muted); font-size: 12px; padding: 5px 9px; }
.als-v163-final-actions { background: #fff; border: 1px solid var(--visit-sand); border-radius: 16px; box-shadow: var(--visit-shadow-soft); display: flex; flex-direction: column; gap: 13px; margin-top: 16px; padding: 22px; }
.als-v163-consent { align-items: flex-start; color: var(--visit-muted); cursor: pointer; display: flex; font-size: 14px; gap: 10px; line-height: 1.6; }
.als-v163-consent input { accent-color: var(--visit-primary); flex: 0 0 auto; height: 20px; margin-top: 2px; width: 20px; }
.als-v163-consent a { color: var(--visit-primary); font-weight: 700; }
.als-v163-submit { align-items: center; background: var(--visit-primary); border: 0; border-radius: 12px; color: #fff; display: flex; font-size: 22px; font-weight: 700; gap: 9px; justify-content: center; min-height: 62px; padding: 14px; transition: .2s; }
.als-v163-submit:hover { background: var(--visit-primary-2); transform: translateY(-1px); }
.als-v163-submit:disabled { cursor: wait; opacity: .65; }
.als-v163-save,
.als-v163-back-link { background: transparent; border-radius: 10px; font-weight: 700; min-height: 48px; padding: 10px; }
.als-v163-save { border: 2px solid var(--visit-outline); color: var(--visit-muted); }
.als-v163-back-link { border: 0; color: var(--visit-primary); }
.als-v163-form-status { border-radius: 8px; font-size: 14px; line-height: 1.6; padding: 0; }
.als-v163-form-status.is-loading,
.als-v163-form-status.is-success,
.als-v163-form-status.is-error { padding: 10px 12px; }
.als-v163-form-status.is-loading { background: var(--visit-surface-low); color: var(--visit-muted); }
.als-v163-form-status.is-success { background: rgba(0,78,41,.08); color: var(--visit-primary); }
.als-v163-form-status.is-error { background: rgba(186,26,26,.08); color: var(--visit-error); }

/* Confirmation */
.als-v163-confirmation { background: var(--visit-ivory); min-height: 760px; padding-block: 58px 120px; }
.als-v163-confirm-shell { max-width: 1180px; }
.als-v163-success-hero { padding: 20px 0 38px; text-align: center; }
.als-v163-success-icon { align-items: center; background: var(--visit-primary-2); border-radius: 50%; box-shadow: 0 12px 28px rgba(0,78,41,.2); color: #fff; display: flex; height: 96px; justify-content: center; margin: 0 auto 22px; width: 96px; }
.als-v163-success-hero > span { color: var(--visit-gold-dark); display: block; font-size: 12px; font-weight: 800; letter-spacing: .14em; margin-bottom: 8px; text-transform: uppercase; }
.als-v163-success-hero h1 { color: var(--visit-deep); font-size: clamp(36px, 4.2vw, 48px); line-height: 1.2; margin: 0 0 12px; }
.als-v163-success-hero p { color: var(--visit-muted); font-size: 18px; line-height: 1.8; margin: 0 auto; max-width: 760px; }
.als-v163-request-id-card { align-items: center; background: #fff; border: 1px solid rgba(191,201,190,.3); border-radius: 14px; box-shadow: var(--visit-shadow); display: flex; gap: 30px; justify-content: space-between; margin-bottom: 20px; padding: 28px 30px; }
.als-v163-request-code { align-items: center; display: flex; gap: 8px; }
.als-v163-request-code strong { font-size: 25px; }
.als-v163-request-code button { align-items: center; background: transparent; border: 0; border-radius: 50%; color: var(--visit-primary); display: flex; height: 38px; justify-content: center; width: 38px; }
.als-v163-request-code button:hover,
.als-v163-request-code button.is-copied { background: var(--visit-surface-high); }
.als-v163-status-pill { align-items: center; background: var(--visit-surface-high); border-radius: 999px; color: var(--visit-muted); display: inline-flex; font-size: 12px; gap: 7px; margin-top: 12px; padding: 6px 12px; }
.als-v163-status-pill i { animation: visitPulse 1.6s infinite; background: var(--visit-gold); border-radius: 50%; height: 8px; width: 8px; }
@keyframes visitPulse { 50% { opacity: .35; } }
.als-v163-request-actions { display: flex; gap: 12px; }
.als-v163-confirm-info { align-items: flex-start; background: rgba(255,210,102,.12); border: 1px solid rgba(119,90,0,.2); border-radius: 9px; color: #5a4300; display: flex; gap: 10px; margin-bottom: 52px; padding: 14px 16px; }
.als-v163-confirm-info p { line-height: 1.65; margin: 0; }
.als-v163-next-steps { margin-bottom: 55px; }
.als-v163-next-steps h2 { color: var(--visit-deep); font-size: 35px; margin: 0 0 28px; }
.als-v163-next-steps ol { display: grid; gap: 24px; grid-template-columns: repeat(4, 1fr); list-style: none; margin: 0; padding: 0; position: relative; }
.als-v163-next-steps ol::before { background: rgba(191,201,190,.45); content: ""; height: 2px; inset-inline: 12%; position: absolute; top: 24px; }
.als-v163-next-steps li { position: relative; text-align: center; z-index: 2; }
.als-v163-next-steps li > span { align-items: center; background: var(--visit-surface-high); border: 4px solid var(--visit-ivory); border-radius: 50%; color: var(--visit-muted); display: flex; height: 48px; justify-content: center; margin: 0 auto 13px; width: 48px; }
.als-v163-next-steps li.is-active > span { background: var(--visit-primary); box-shadow: 0 0 0 4px rgba(0,78,41,.12); color: #fff; }
.als-v163-next-steps h3 { color: var(--visit-muted); font-size: 16px; margin: 0 0 5px; }
.als-v163-next-steps .is-active h3 { color: var(--visit-primary); }
.als-v163-next-steps p { color: var(--visit-muted); font-size: 13px; line-height: 1.6; margin: 0; }
.als-v163-confirm-grid { align-items: start; display: grid; gap: 28px; grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr); }
.als-v163-confirm-main { display: flex; flex-direction: column; gap: 28px; }
.als-v163-confirm-card { background: #fff; border: 1px solid rgba(191,201,190,.3); border-radius: 14px; box-shadow: var(--visit-shadow); padding: 28px; }
.als-v163-confirm-card > header { align-items: center; border-bottom: 1px solid rgba(191,201,190,.22); display: flex; justify-content: space-between; margin-bottom: 26px; padding-bottom: 17px; }
.als-v163-confirm-card h2 { color: var(--visit-deep); font-size: 31px; margin: 0; }
.als-v163-confirm-card > header a { color: var(--visit-primary); font-weight: 700; }
.als-v163-confirm-card > header > span { color: var(--visit-muted); font-size: 13px; }
.als-v163-summary-grid { display: grid; gap: 30px 42px; grid-template-columns: repeat(2, 1fr); }
.als-v163-summary-grid > div { display: flex; flex-direction: column; gap: 4px; }
.als-v163-summary-grid span { color: var(--visit-gold-dark); font-size: 13px; font-weight: 700; }
.als-v163-summary-grid strong { color: var(--visit-text); }
.als-v163-summary-grid small { color: var(--visit-muted); font-size: 14px; }
.als-v163-map-link { align-items: center; color: var(--visit-primary); display: inline-flex; font-weight: 700; gap: 7px; margin-top: 23px; text-decoration: none; }
.als-v163-confirm-products__list { display: flex; flex-direction: column; gap: 13px; }
.als-v163-confirm-products article { align-items: center; background: var(--visit-surface-low); border: 1px solid rgba(191,201,190,.25); border-radius: 10px; display: grid; gap: 17px; grid-template-columns: 80px minmax(0,1fr) 28px; padding: 13px; }
.als-v163-confirm-product__image { align-items: center; background: var(--visit-surface-high); border-radius: 8px; color: var(--visit-primary); display: flex; height: 80px; justify-content: center; overflow: hidden; width: 80px; }
.als-v163-confirm-product__image img { height: 100%; object-fit: cover; width: 100%; }
.als-v163-confirm-products h3 { color: var(--visit-text); font-size: 16px; margin: 0 0 4px; }
.als-v163-confirm-products p { color: var(--visit-muted); font-size: 13px; margin: 0; }
.als-v163-confirm-products article a { color: var(--visit-primary); display: inline-block; font-size: 12px; font-weight: 700; margin-top: 5px; }
.als-v163-confirm-products article > span { color: var(--visit-primary); }
.als-v163-confirm-products__empty { color: var(--visit-muted); padding: 18px; text-align: center; }
.als-v163-confirm-products__empty h3 { color: var(--visit-deep); }
.als-v163-preparation-card { background: var(--visit-deep); border-radius: 14px; box-shadow: var(--visit-shadow); color: rgba(255,255,255,.88); padding: 30px; position: sticky; top: 110px; }
.als-v163-preparation-card h2 { align-items: center; color: #fff; display: flex; font-size: 26px; gap: 9px; margin: 0 0 26px; }
.als-v163-preparation-card ul { display: flex; flex-direction: column; gap: 24px; list-style: none; margin: 0; padding: 0; }
.als-v163-preparation-card li { align-items: flex-start; display: flex; gap: 12px; }
.als-v163-preparation-card li > .als-v16-icon { background: var(--visit-primary-2); border-radius: 50%; flex: 0 0 auto; height: 34px; padding: 8px; width: 34px; }
.als-v163-preparation-card li p { font-size: 14px; line-height: 1.75; margin: 0; }
.als-v163-preparation-card > p { border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.6); font-size: 12px; margin: 27px 0 0; padding-top: 22px; }
.als-v163-confirmation--denied { align-items: center; display: flex; justify-content: center; padding: 80px 20px; }
.als-v163-denied-card { background: #fff; border-radius: 16px; box-shadow: var(--visit-shadow); max-width: 560px; padding: 42px; text-align: center; }
.als-v163-denied-card > span { align-items: center; background: rgba(186,26,26,.08); border-radius: 50%; color: var(--visit-error); display: flex; font-size: 30px; height: 70px; justify-content: center; margin: 0 auto 18px; width: 70px; }
.als-v163-denied-card h1 { color: var(--visit-deep); }
.als-v163-denied-card p { color: var(--visit-muted); line-height: 1.7; }

/* LTR */
html[dir="ltr"] .als-v163-page-intro,
html[dir="ltr"] .als-v163-card-heading { text-align: left; }
html[dir="ltr"] .als-tx-footer__brand img { object-position: left center; }

/* Tablet */
@media (max-width: 1100px) {
  .als-tx-shell,
  .als-v163-shell,
  .als-v163-confirm-shell { padding-inline: 36px; }
  .als-v163-contact-layout,
  .als-v163-review-layout,
  .als-v163-confirm-grid { grid-template-columns: 1fr; }
  .als-v163-selection-summary { order: -1; position: static; }
  .als-v163-selection-summary__body { display: none; }
  .als-v163-selection-summary.is-open .als-v163-selection-summary__body { display: block; }
  .als-v163-review-sidebar,
  .als-v163-preparation-card { position: static; }
  .als-v163-footer__grid { grid-template-columns: repeat(2,1fr); }
}

/* Mobile */
@media (max-width: 767px) {
  .als-tx-shell,
  .als-v163-shell,
  .als-v163-confirm-shell { padding-inline: 20px; }
  .admin-bar .als-tx-header { top: 46px; }
  .als-tx-header__inner { min-height: 70px; }
  .als-tx-brand img { height: 44px; width: 145px; }
  .als-tx-breadcrumbs { display: none; }
  .als-tx-confirmation-nav { gap: 11px; }
  .als-tx-confirmation-nav a span,
  .als-tx-header__compact-actions > span,
  .als-tx-close-flow span { display: none; }
  .als-tx-nav-separator { display: none; }
  .als-tx-footer__grid { grid-template-columns: 1fr; padding-block: 36px; }
  .als-tx-footer__grid > div:not(:first-child) { display: none; }
  .als-tx-footer__brand { text-align: center; }
  .als-tx-footer__brand img { margin-inline: auto; object-position: center; }
  .als-tx-footer__bottom { text-align: center; }

  .als-v163-step--contact,
  .als-v163-step--location,
  .als-v163-step--review { padding-block: 48px 70px; }
  .als-v163-page-intro { margin-bottom: 32px; text-align: center; }
  .als-v163-page-intro h1 { font-size: 32px; }
  .als-v163-trust-note { align-items: flex-start; text-align: start; }
  .als-v163-trust-note p { font-size: 15px; }
  .als-v163-progress--bar { margin-bottom: 48px; }
  .als-v163-progress--bar li b { display: none; }
  .als-v163-progress--bar li.is-active b { display: block; font-size: 12px; position: absolute; top: 42px; white-space: nowrap; }
  .als-v163-contact-card,
  .als-v163-location-card,
  .als-v163-time-card { padding: 22px 18px; }
  .als-v163-card h2 { font-size: 25px; }
  .als-v163-fields--two { grid-template-columns: 1fr; }
  .als-v163-contact-methods { gap: 8px; }
  .als-v163-contact-methods label > span { min-height: 88px; padding: 10px 6px; }
  .als-v163-card-actions--end .als-v163-btn,
  .als-v163-card-actions--between .als-v163-btn { flex: 1; padding-inline: 12px; }

  .als-v163-progress--dots { margin-bottom: 45px; }
  .als-v163-progress--dots li b { font-size: 11px; max-width: 90px; }
  .als-v163-location-types > div { grid-template-columns: repeat(2, 1fr); }
  .als-v163-map { height: 220px; }
  .als-v163-map-section__head { align-items: flex-start; flex-direction: column; gap: 8px; }

  .als-v163-review-heading h1 { font-size: 32px; }
  .als-v163-review-heading p { font-size: 16px; }
  .als-v163-progress--compact { max-width: none; }
  .als-v163-progress--compact li b { font-size: 10px; max-width: 90px; white-space: normal; }
  .als-v163-day-choices > div { grid-template-columns: repeat(2, 1fr); }
  .als-v163-period-choices > div { grid-template-columns: 1fr; }
  .als-v163-period-choices label > span { min-height: 112px; }
  .als-v163-review-card h2 { font-size: 24px; }
  .als-v163-submit { font-size: 19px; }

  .als-v163-confirmation { padding-block: 38px 75px; }
  .als-v163-success-icon { height: 82px; width: 82px; }
  .als-v163-success-hero h1 { font-size: 32px; }
  .als-v163-success-hero p { font-size: 16px; }
  .als-v163-request-id-card { align-items: stretch; flex-direction: column; padding: 22px; }
  .als-v163-request-code { justify-content: center; }
  .als-v163-request-code strong { font-size: 21px; }
  .als-v163-status-pill { display: flex; justify-content: center; }
  .als-v163-request-actions { flex-direction: column; }
  .als-v163-next-steps h2 { font-size: 29px; }
  .als-v163-next-steps ol { gap: 16px; grid-template-columns: 1fr; }
  .als-v163-next-steps ol::before { bottom: 20px; height: auto; inset: 24px auto 20px 23px; width: 2px; }
  html[dir="rtl"] .als-v163-next-steps ol::before { left: auto; right: 23px; }
  .als-v163-next-steps li { display: grid; gap: 5px 14px; grid-template-columns: 48px 1fr; text-align: start; }
  .als-v163-next-steps li > span { grid-row: 1 / span 2; margin: 0; }
  .als-v163-next-steps h3,
  .als-v163-next-steps p { text-align: start; }
  .als-v163-confirm-card { padding: 20px; }
  .als-v163-confirm-card h2 { font-size: 25px; }
  .als-v163-summary-grid { grid-template-columns: 1fr; }
  .als-v163-confirm-products article { grid-template-columns: 66px minmax(0,1fr) 20px; }
  .als-v163-confirm-product__image { height: 66px; width: 66px; }
}

@media (max-width: 420px) {
  .als-v163-contact-methods { grid-template-columns: 1fr; }
  .als-v163-contact-methods label > span { flex-direction: row; min-height: 58px; }
  .als-v163-card-actions--between { flex-direction: column-reverse; }
  .als-v163-card-actions--between .als-v163-btn { width: 100%; }
  .als-v163-progress--dots li b { font-size: 9px; max-width: 72px; }
}

@media (prefers-reduced-motion: reduce) {
  .als-v163-step,
  .als-v163-btn,
  .als-v163-submit { animation: none !important; transition: none !important; }
}

/* V16.4 live field validation and dependable back navigation */
.als-v163-field-feedback {
  color: rgba(63,73,65,.72) !important;
  display: block;
  font-size: 12px !important;
  line-height: 1.55;
  min-height: 19px;
  transition: color .2s ease;
}
.als-v163-field.is-invalid input {
  background: #fff7f7;
  border-color: #ba1a1a;
  box-shadow: 0 0 0 1px rgba(186,26,26,.12);
}
.als-v163-field.is-invalid .als-v163-field-feedback { color: #ba1a1a !important; font-weight: 600; }
.als-v163-field.is-valid input {
  background: #f7fff9;
  border-color: #08683a;
}
.als-v163-field.is-valid .als-v163-field-feedback { color: #08683a !important; }
.als-v163-back-link,
.als-v163-btn[data-visit-back] {
  cursor: pointer;
  position: relative;
  z-index: 4;
}
.als-v163-back-link:focus-visible,
.als-v163-btn[data-visit-back]:focus-visible {
  outline: 3px solid rgba(8,104,58,.25);
  outline-offset: 3px;
}
@media (max-width: 680px) {
  .als-v163-card-actions--between { align-items: stretch; flex-direction: column-reverse; }
  .als-v163-card-actions--between .als-v163-btn { width: 100%; }
  .als-v163-back-link { min-height: 48px; padding: 10px; width: 100%; }
}
