
.auth-modern .auth-actions-row{
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  width:100% !important;
  gap:8px !important;
  margin:0 0 22px !important;
  padding:0 !important;
  align-items:stretch !important;
}
.auth-modern .auth-actions-row .auth-link-btn{
  width:100% !important;
  min-width:0 !important;
  min-height:42px !important;
  margin:0 !important;
  padding:8px 6px !important;
  border:1px solid #dce7e2 !important;
  border-radius:11px !important;
  background:#f5f8f7 !important;
  color:#50625b !important;
  box-shadow:none !important;
  font-size:13px !important;
  font-weight:700 !important;
  text-decoration:none !important;
  white-space:nowrap !important;
}
.auth-modern .auth-actions-row .auth-link-btn:hover{
  background:#edf4f1 !important;
  border-color:#c9dbd4 !important;
}
.auth-modern .auth-actions-row .auth-link-btn.active{
  background:var(--primary) !important;
  border-color:var(--primary) !important;
  color:#fff !important;
  box-shadow:0 5px 14px color-mix(in srgb,var(--primary) 20%,transparent) !important;
}
.auth-modern .auth-header{
  display:block !important;
  width:100% !important;
  margin:0 0 16px !important;
  text-align:center !important;
}
.auth-modern .auth-header h3,
.auth-modern #auth-title{
  width:100% !important;
  margin:0 !important;
  text-align:center !important;
  font-size:23px !important;
  line-height:1.6 !important;
}
.auth-modern .auth-main-input{
  direction:ltr !important;
  text-align:right !important;
  unicode-bidi:plaintext !important;
}
.auth-modern #au_mobile::placeholder{
  direction:rtl !important;
  text-align:right !important;
  color:#9aa7a1 !important;
}
.auth-modern #au_mobile{
  letter-spacing:0 !important;
}
@media(max-width:520px){
  .auth-modern .auth-actions-row{gap:6px !important;}
  .auth-modern .auth-actions-row .auth-link-btn{
    min-height:40px !important;
    font-size:12px !important;
  }
}


/* Compact connected auth tabs, placed under the title */
.auth-modern .auth-header{
  margin-bottom:14px !important;
}
.auth-modern .auth-actions-row{
  display:grid !important;
  grid-template-columns:repeat(3,1fr) !important;
  gap:0 !important;
  width:100% !important;
  margin:0 0 20px !important;
  padding:0 !important;
}
.auth-modern .auth-actions-row .auth-link-btn{
  min-height:34px !important;
  height:34px !important;
  padding:4px 8px !important;
  margin:0 !important;
  border:1px solid #d8e4df !important;
  border-radius:0 !important;
  background:#f1f5f3 !important;
  color:#52645d !important;
  box-shadow:none !important;
  font-size:12px !important;
  font-weight:700 !important;
  line-height:1 !important;
}
.auth-modern .auth-actions-row .auth-link-btn:first-child{
  border-radius:0 10px 10px 0 !important;
}
.auth-modern .auth-actions-row .auth-link-btn:last-child{
  border-radius:10px 0 0 10px !important;
}
.auth-modern .auth-actions-row .auth-link-btn + .auth-link-btn{
  border-left:0 !important;
}
.auth-modern .auth-actions-row .auth-link-btn.active{
  background:#2f8f68 !important;
  border-color:#2f8f68 !important;
  color:#fff !important;
  box-shadow:inset 0 -2px 0 rgba(0,0,0,.08) !important;
}
.auth-modern .auth-actions-row .auth-link-btn:hover:not(.active){
  background:#e7efeb !important;
  color:#235b46 !important;
}
@media(max-width:520px){
  .auth-modern .auth-actions-row .auth-link-btn{
    min-height:32px !important;
    height:32px !important;
    font-size:11.5px !important;
    padding-inline:5px !important;
  }
}


.auth-modern .auth-actions-row{
  direction:rtl !important;
}
.auth-modern .auth-actions-row .auth-link-btn:first-child{
  border-radius:0 10px 10px 0 !important;
}
.auth-modern .auth-actions-row .auth-link-btn:last-child{
  border-radius:10px 0 0 10px !important;
}
.auth-modern .auth-actions-row .auth-link-btn + .auth-link-btn{
  border-left:0 !important;
}


/* Mobile number: entered digits are LTR; placeholder is a separate RTL label. */
.auth-modern #au_mobile{
  direction:ltr !important;
  text-align:left !important;
  unicode-bidi:isolate !important;
  font-variant-numeric:tabular-nums !important;
  letter-spacing:.02em !important;
}
.auth-modern #au_mobile::placeholder{
  direction:rtl !important;
  text-align:right !important;
  unicode-bidi:isolate !important;
  color:#9aa7a1 !important;
  opacity:1 !important;
  letter-spacing:0 !important;
}


#l_F-L06.field-invalid{
  border-color:#d35d5d !important;
  box-shadow:0 0 0 3px rgba(211,93,93,.08) !important;
}


/* Only the payment/registration waiting view: prevent horizontal overflow. */
#paymentSection,
#paymentSection *,
.payment-section,
.payment-section *{
  max-width:100%;
  box-sizing:border-box;
}
#paymentSection,
.payment-section{
  width:100%;
  overflow-x:hidden !important;
}
#paymentSection .payment-card,
.payment-section .payment-card{
  width:100%;
  min-width:0 !important;
  overflow-x:hidden !important;
}
@media(max-width:900px){
  #paymentSection .payment-card,
  .payment-section .payment-card{
    overflow-x:hidden !important;
  }
}


#app-notice{position:fixed;z-index:100000;left:14px;right:14px;top:14px;display:none;max-width:560px;margin:0 auto;padding:12px 14px;border-radius:12px;background:#263b34;color:#fff;box-shadow:0 12px 38px rgba(0,0,0,.22);font-size:13px;line-height:1.8;text-align:right;direction:rtl}
#app-notice.open{display:block}#app-notice.error{background:#8f2f27}#app-notice.warn{background:#7b5a12}#app-notice.success{background:#176b46}


#final-confirm-modal{position:fixed;inset:0;z-index:99999;display:none;align-items:center;justify-content:center;padding:18px;background:rgba(14,28,24,.48);backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px)}
#final-confirm-modal.open{display:flex}
.final-confirm-card{width:min(92vw,460px);max-height:85vh;overflow:auto;background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:0 22px 70px rgba(0,0,0,.22);padding:20px;direction:rtl;text-align:right}
.final-confirm-card h3{margin:0 0 12px;font-size:20px}.final-confirm-summary{background:#f7faf8;border:1px solid var(--line);border-radius:12px;padding:14px;line-height:2;font-size:14px}.final-confirm-summary-row{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:5px 0;border-bottom:1px dashed var(--line)}.final-confirm-summary-row:last-of-type{border-bottom:0}.final-confirm-summary-row span{color:var(--muted)}.final-confirm-total{font-size:18px;color:var(--primary)}.final-confirm-note{display:block;margin-top:10px;font-size:13px;line-height:1.9;color:#445851}.final-confirm-actions{display:flex;gap:9px;margin-top:15px;direction:rtl}.final-confirm-actions button{flex:1;margin:0!important;min-height:48px}.final-confirm-primary{order:1}.final-confirm-secondary{order:2}
.final-register-progress{display:none;margin:12px 0 2px;padding:14px 15px;border:1px solid #a8dcc0;border-radius:13px;background:#effaf3;color:#176b46;line-height:1.9;text-align:right;box-shadow:0 5px 16px rgba(23,107,70,.07)}
.final-register-progress.show{display:flex;align-items:flex-start;gap:11px}.final-register-pulse{width:12px;height:12px;margin-top:7px;flex:0 0 12px;border-radius:50%;background:#24945f;box-shadow:0 0 0 0 rgba(36,148,95,.35);animation:finalRegisterPulse 1.45s ease-out infinite}.final-register-copy{min-height:52px;font-size:13px;font-weight:700}.final-register-caret{display:inline-block;width:2px;height:1.15em;margin-right:3px;background:#24945f;vertical-align:-2px;animation:finalRegisterCaret .75s steps(1) infinite}
@keyframes finalRegisterPulse{0%{box-shadow:0 0 0 0 rgba(36,148,95,.38)}70%{box-shadow:0 0 0 9px rgba(36,148,95,0)}100%{box-shadow:0 0 0 0 rgba(36,148,95,0)}}@keyframes finalRegisterCaret{50%{opacity:0}}
@media(prefers-reduced-motion:reduce){.final-register-pulse,.final-register-caret{animation:none}}
.boarding-card{margin:14px 0;padding:14px;border:1px solid color-mix(in srgb,var(--primary) 25%,var(--line));border-radius:14px;background:#f8fbf9}.boarding-card h3{margin:0 0 4px;font-size:15px}.boarding-card p{margin:0 0 9px;color:var(--muted);font-size:12px;line-height:1.8}.boarding-card select{min-height:48px}.benefit-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.benefit-item{min-width:0}.benefit-help{display:block;color:var(--muted);font-size:10.5px;line-height:1.7;margin-top:3px}.benefit-apply{min-height:44px;margin-top:10px!important}.copy-reservation{margin:8px auto 0!important;min-height:42px!important}
@media(max-width:560px){.final-confirm-card{width:94vw;padding:17px;border-radius:16px}.final-confirm-card h3{font-size:18px}.final-confirm-summary{font-size:13.5px}.final-confirm-actions{flex-direction:column}.final-confirm-primary{order:1}.final-confirm-secondary{order:2}.benefit-grid{grid-template-columns:1fr}.boarding-card{padding:12px}.final-confirm-actions button{width:100%}}
.waitlist-result{border:2px solid #b42318;background:#fff4f2;color:#8f1b13;border-radius:18px;padding:22px;text-align:center;line-height:1.9}.waitlist-result h2{margin:0 0 8px;color:#a31e16;font-size:clamp(22px,4vw,30px)}.waitlist-result p{margin:8px 0;font-size:15px}.waitlist-result .waitlist-code{display:block;background:#fff;border:1px solid #dcaaa4;border-radius:12px;padding:12px;margin:14px 0;color:#61140f;font-size:21px;font-weight:800;direction:ltr}.waitlist-trip-facts{text-align:right;border:1px solid var(--line);border-radius:14px;padding:14px;margin-top:14px;background:#fff;line-height:2}.waitlist-trip-facts b{color:var(--text)}


.public-head{min-height:72px!important}.brand-unit{width:min(1180px,100%);justify-content:flex-start!important}.brand-unit img{width:64px!important;height:64px!important;border-radius:12px!important}.brand-copy{min-width:0}.brand-copy b{font-size:17px!important;white-space:normal!important;line-height:1.7}.brand-copy small{line-height:1.7}
.journey-shell{max-width:1040px!important;margin-inline:auto!important}
.journey-intro{align-items:center!important}.journey-intro>div{min-width:0}.journey-intro h1{line-height:1.7!important}.journey-intro p{line-height:1.8!important}
.caravan-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
.caravan-card{border-radius:15px!important;box-shadow:0 4px 15px rgba(18,64,50,.05)!important;position:relative}
.caravan-card:nth-child(even){background:#F8FBF9!important}.caravan-card:nth-child(even) .trip-card-main{background:#F8FBF9!important}.caravan-card:hover{transform:translateY(-1px)!important;box-shadow:var(--habib-shadow-hover)!important}
.trip-type-tag{position:absolute;top:0;left:0;z-index:2;border-radius:0 0 12px 0!important;max-width:38%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.trip-card-main{padding:16px 18px!important}.trip-card-head{padding-left:88px;min-height:28px}.trip-card-title h2{font-size:17px!important;line-height:1.8!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.trip-route{font-size:13.5px!important;margin:9px 0!important}.trip-summary{grid-template-columns:minmax(180px,.9fr) minmax(180px,.75fr)!important;gap:8px!important}.trip-fact{padding:8px 11px!important;background:#fff!important}.caravan-card:nth-child(even) .trip-fact{background:#FBFDFC!important}.trip-fact small{font-size:10px!important}.trip-fact b{font-size:13px!important}
.trip-card-foot{margin-top:10px!important}.status-button{max-width:none!important;padding:5px 10px!important;border:1px solid var(--habib-line)!important}.details-toggle{min-height:36px!important}
.trip-details{background:#FCFDFC!important;padding:13px 18px 16px!important}.detail-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important}.detail-item{background:#F6F9F7;border:1px solid #E8EFEC;border-radius:10px;padding:8px 10px!important;min-width:0}.detail-item b{display:block;overflow-wrap:anywhere}
/* Optional caravan photo: it exists only when a real image URL is provided; no placeholder is ever reserved. */
.caravan-photo{width:92px;height:76px;border-radius:12px;object-fit:cover;flex:0 0 92px;border:1px solid var(--habib-line);background:#fff}.caravan-photo-placeholder{display:grid;place-items:center;padding:8px;text-align:center;background:var(--habib-soft-2);color:var(--habib-muted);font-size:11px;font-weight:700}
.auth-compact{box-shadow:var(--habib-shadow)!important}.people-counts>div{background:#F8FBF9!important}
.people-counts{grid-template-columns:minmax(0,1fr) auto!important;align-items:stretch}.child-disclosure{display:flex;align-items:stretch}.child-disclosure button{min-height:100%!important;margin:0!important;white-space:nowrap}.child-count-options{grid-column:1/-1;display:none;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:9px!important}.child-count-options.is-open{display:grid}
@media(max-width:900px){.caravan-grid{grid-template-columns:1fr!important}}
@media(max-width:760px){.journey-shell{padding:12px!important}.public-head{min-height:58px!important}.brand-unit img{width:48px!important;height:48px!important}.trip-card-main{padding:13px!important}.trip-card-head{padding-left:0;padding-top:27px}.trip-type-tag{max-width:58%;font-size:10.5px!important;padding:5px 9px!important}.trip-card-title h2{font-size:15.5px!important}.trip-summary{grid-template-columns:1fr 1fr!important}.trip-card-foot{gap:7px!important}.status-button{font-size:10.8px!important}.details-toggle{font-size:11px!important;padding:6px 9px!important}.detail-grid{grid-template-columns:1fr 1fr!important}.caravan-photo{width:76px;height:64px;flex-basis:76px}}
@media(max-width:430px){.trip-summary{grid-template-columns:1fr!important}.trip-card-foot{align-items:stretch!important;flex-direction:column}.status-button{align-self:flex-start}.details-toggle{width:100%!important}.detail-grid{grid-template-columns:1fr!important}}
@media(orientation:landscape) and (max-height:560px){.public-head{position:static!important}.journey-shell{margin-top:4px!important}.caravan-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.trip-summary{grid-template-columns:1fr!important}.trip-card-foot{flex-wrap:wrap}.detail-grid{grid-template-columns:1fr 1fr!important}}


/* Safari/iPhone zooms focused form controls below 16px. This late rule wins over
   route-specific compact typography while preserving compact checkbox/radio controls. */
@media (max-width:760px){
  input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),select,textarea{font-size:16px!important}
}


/* Claude v3.1 visual language, mapped onto the live form. No controls, IDs,
   validation, data flow or registration handlers are replaced by demo HTML. */
:root{--kh-v31-deep:#0B4A36;--kh-v31-green:#12805F;--kh-v31-bright:#1C9C74;--kh-v31-ink:#16281F;--kh-v31-muted:#6B7C74;--kh-v31-line:#DCE7E2;--kh-v31-surface:#FFFFFF;--kh-v31-canvas:#F7FAF8}
body{background:var(--kh-v31-canvas)!important;color:var(--kh-v31-ink)}
.public-head{background:#fff!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;border-bottom:1px solid var(--kh-v31-line)!important;box-shadow:0 3px 14px rgba(11,74,54,.045)!important}
.container{max-width:1040px!important}.container>.card{border:1px solid var(--kh-v31-line)!important;border-radius:20px!important;background:var(--kh-v31-surface)!important;box-shadow:0 8px 26px rgba(11,74,54,.055)!important;margin-block:14px}
.journey-shell{padding:18px!important}.journey-intro{padding:clamp(18px,3vw,28px);border-radius:18px;background:linear-gradient(135deg,var(--kh-v31-deep),var(--kh-v31-green) 58%,var(--kh-v31-bright));color:#fff;align-items:center!important;margin-bottom:17px!important}
.journey-intro h1,.journey-intro p{color:#fff!important}.journey-intro h1{font-weight:800;letter-spacing:0;line-height:1.7}.journey-intro p{opacity:.94}.journey-intro .refresh-btn{background:rgba(255,255,255,.15)!important;border-color:rgba(255,255,255,.55)!important;color:#fff!important;box-shadow:none!important}
.trip-filters{margin-bottom:17px!important}.trip-filter{border-radius:999px!important;background:#f2f7f4!important;color:var(--kh-v31-ink)!important;min-height:44px!important}.trip-filter.active{background:var(--kh-v31-deep)!important;color:#fff!important;border-color:var(--kh-v31-deep)!important}
.caravan-card{border:1px solid var(--kh-v31-line)!important;border-radius:18px!important;background:#fff!important;box-shadow:0 5px 18px rgba(11,74,54,.05)!important}.caravan-card:nth-child(even),.caravan-card:nth-child(even) .trip-card-main{background:#fff!important}.caravan-card:hover{border-color:#B3D7C8!important;box-shadow:0 10px 26px rgba(11,74,54,.10)!important}
.trip-type-tag.land{background:#E8F7EF;color:#176846}.trip-type-tag.air{background:#E8F2FA;color:#245D89}.trip-type-tag.mix-al,.trip-type-tag.mix-la{background:#FFF6E4;color:#805D17}.trip-card-title h2{color:var(--kh-v31-ink)!important;font-weight:800}.trip-fact{border-color:#E7EFEB!important;background:#F9FCFA!important}.trip-details{background:#FBFDFC!important}.card-action:not(:disabled),.auth-primary-btn,#pax-btn,#quote-btn,#final-btn,#pay-btn,.done-action{background:linear-gradient(135deg,var(--kh-v31-deep),var(--kh-v31-bright))!important;border-color:var(--kh-v31-deep)!important;color:#fff!important;box-shadow:0 5px 14px rgba(18,128,95,.18)!important}
#step-form,#step-pax,#step-quote,#step-done,#step-pay{padding:clamp(16px,2.6vw,30px)!important}
.registration-title-row{padding:17px 20px;border-radius:16px;background:linear-gradient(135deg,var(--kh-v31-deep),var(--kh-v31-green) 58%,var(--kh-v31-bright));color:#fff;margin-bottom:16px}.registration-title-row h2{color:#fff!important;margin:0}.registration-title-row .change-caravan-btn{background:rgba(255,255,255,.14)!important;color:#fff!important;border:1px solid rgba(255,255,255,.55)!important;box-shadow:none!important}
.progress-steps .seg.done,.progress-steps .seg.active{background:linear-gradient(90deg,var(--kh-v31-deep),var(--kh-v31-bright))!important}.progress-labels{color:var(--kh-v31-muted)}
#step-form>h3,#step-pax>h2,#step-quote>h2,#step-pay>h2{color:var(--kh-v31-deep)!important;font-weight:800;line-height:1.8}.people-counts>div,.boarding-card,.passenger-card,.marketing-box{border:1px solid var(--kh-v31-line)!important;border-radius:16px!important;background:#fff!important}.people-counts>div{background:#F8FBF9!important}.passenger-card-head{background:#F0F8F3!important;border-bottom:1px solid var(--kh-v31-line)!important}.passenger-card.complete .passenger-card-state{color:var(--kh-v31-green)!important}
#step-pax>h2,#step-quote>h2,#step-pay>h2{background:linear-gradient(135deg,var(--kh-v31-deep),var(--kh-v31-green) 58%,var(--kh-v31-bright));color:#fff!important;padding:16px 20px;border-radius:16px;margin:-2px 0 18px}#step-pax>h2 svg,#step-quote>h2 svg,#step-pay>h2 svg{color:#fff}#step-done{background:linear-gradient(180deg,#F0FBF5,#fff 50%)!important}
/* A completed passenger never disappears in the new design. The old collapse
   state may still be set by existing JS, but its fields remain available. */
.passenger-card.collapsed .passenger-card-body{display:block!important}.passenger-card-toggle{display:none!important}
#pre-pay-box{background:linear-gradient(135deg,#F0FBF5,#E8F8F0)!important;border:1px solid #BEE3CC!important;border-radius:18px!important;padding:clamp(15px,2.5vw,22px)!important}#pre-pay-box h3{color:var(--kh-v31-deep)!important}
#benefit-fields,#agree-card{background:#F7FBF8!important;border:1px solid #CFE7D8!important;border-radius:15px!important}.final-confirm-card{border-color:var(--kh-v31-line)!important}.final-confirm-summary{background:#F8FBF9!important}
#step-done .done-actions{max-width:680px}.public-footer{background:#fff!important;border-top-color:var(--kh-v31-line)!important}
:where(#step-form,#step-pax,#step-quote,#step-pay) input:not([type=checkbox]):not([type=radio]),:where(#step-form,#step-pax,#step-quote,#step-pay) select,:where(#step-form,#step-pax,#step-quote,#step-pay) textarea{border-radius:12px!important;border-color:var(--kh-v31-line)!important;background:#fff;min-height:44px}
:where(#step-form,#step-pax,#step-quote,#step-pay) input:focus-visible,:where(#step-form,#step-pax,#step-quote,#step-pay) select:focus-visible,:where(#step-form,#step-pax,#step-quote,#step-pay) textarea:focus-visible{outline:2px solid var(--kh-v31-green)!important;outline-offset:2px}
@media(max-width:760px){.container>.card{border-radius:16px!important;margin-block:9px}.journey-intro{padding:19px 15px!important;align-items:flex-start!important;gap:12px}.journey-intro h1{font-size:19px!important}.registration-title-row{padding:14px!important;gap:10px}.registration-title-row h2{font-size:17px!important}.progress-labels{display:flex!important;gap:3px;font-size:10px;line-height:1.5}.progress-labels span{min-width:0;overflow-wrap:anywhere;text-align:center}.trip-filter{min-height:44px!important}.caravan-card:hover{transform:none!important}#step-form,#step-pax,#step-quote,#step-done,#step-pay{padding:16px!important}#step-pax>h2,#step-quote>h2,#step-pay>h2{padding:14px!important;font-size:17px!important}}
@media(max-width:430px){.journey-intro{flex-direction:column}.journey-intro .refresh-btn{font-size:12px!important;width:auto!important}.journey-intro .refresh-btn svg{margin-left:4px!important}.registration-title-row{flex-wrap:wrap}.registration-title-row .change-caravan-btn{width:100%!important}}
@media(prefers-reduced-motion:reduce){.caravan-card,.card-action,.done-action{transition:none!important;transform:none!important}}
#pax-stage-actions,#quote-stage-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;align-items:stretch}
#pax-stage-actions>div,#quote-stage-actions>div{min-width:0;display:flex}
#pax-stage-actions button,#quote-stage-actions button{width:100%;height:100%;min-height:46px;margin:0;white-space:normal}
@media(max-width:560px){#pax-stage-actions,#quote-stage-actions{gap:7px}#pax-stage-actions button,#quote-stage-actions button{font-size:11.5px!important;padding:9px 7px!important;line-height:1.65}}


/* ============================================================================
   KH-AI-065 — تم v4 فرم ثبت‌نام زائر (طراحی تأییدشدهٔ مهدی، ۱۴۰۵/۰۷/۰۳)
   فقط ظاهر: هیچ id، رویداد، متن دکمه/پیام یا جریان داده‌ای در این بلوک تغییر نمی‌کند.
   این بلوک آخرین <style> صفحه است تا بر لایه‌های قبلی (v1/v3.1) مقدم باشد.
   ============================================================================ */
:root{
  --kh4-deep:#0A3D2E;--kh4-deep2:#07291F;--kh4-green:#12805F;--kh4-emer:#22B383;--kh4-mint:#EAF5EF;--kh4-mint2:#F4FAF6;
  --kh4-gold:#CFA24A;--kh4-gold-l:#F2D99E;--kh4-gold-soft:#FBF4E4;--kh4-gold-ink:#7A5716;
  --kh4-ink:#13241C;--kh4-muted:#5D6E66;--kh4-faint:#8B9892;--kh4-line:#E3EAE6;--kh4-canvas:#F6F8F7;
  --kh4-run:#3D77B0;--kh4-run-soft:#EAF1F8;--kh4-off:#6F7773;--kh4-off-soft:#EFF1F0;--kh4-danger:#B3322B;
  --kh4-r:14px;--kh4-r-sm:10px;--kh4-r-lg:18px;--kh4-head:64px;--kh4-ct:18px;
  --kh4-font:'Vazirmatn',Vazir,Tahoma,sans-serif;--kh4-ease:cubic-bezier(.16,1,.3,1);
  --kh4-shadow:0 1px 2px rgba(10,61,46,.05),0 18px 40px -28px rgba(10,61,46,.45);
  --kh4-bg-green:radial-gradient(60% 70% at 50% -10%,rgba(242,217,158,.26),transparent 70%),radial-gradient(50% 80% at 100% 100%,rgba(18,128,95,.55),transparent 70%),radial-gradient(40% 60% at 0% 90%,rgba(18,128,95,.28),transparent 70%);
  --kh4-pattern:none;
}
html body{background:#fff!important;color:var(--kh4-ink)!important;position:relative}
/* نوار سبز پوستری بالای همه مراحل */
html body::before{content:"";position:absolute;inset:0 0 auto;height:clamp(210px,30vh,260px);z-index:0;pointer-events:none;background:var(--kh4-pattern),var(--kh4-bg-green),var(--kh4-deep);-webkit-mask-image:linear-gradient(#000 80%,transparent);mask-image:linear-gradient(#000 80%,transparent)}
html body :where(h1,h2,h3,h4,label,button,b,strong,.brand-copy b,.pill,th){font-family:var(--kh4-font)}
html body h2{font-size:clamp(17px,2.2vw,20px);color:var(--kh4-deep)}
html body h3{font-size:15.5px;color:var(--kh4-deep)}

/* ---------- سربرگ ---------- */
html body .public-head{position:relative!important;z-index:3;height:var(--kh4-head);min-height:var(--kh4-head)!important;padding:0 max(16px,calc((100vw - 1080px)/2 + 18px))!important;background:transparent!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;display:flex!important;justify-content:space-between!important;align-items:center!important;color:#fff!important}
html body .brand-unit{width:auto!important;gap:10px!important;min-width:0}
html body .brand-unit img{width:42px!important;height:42px!important;border-radius:10px!important;object-fit:contain}
html body .brand-mark{width:42px!important;height:42px!important;border-radius:10px!important;background:transparent!important;border:1px solid rgba(242,217,158,.45);color:var(--kh4-gold-l)!important}
html body .brand-copy b{color:#fff!important;font-size:15px!important;font-weight:700;line-height:1.5!important}
html body .brand-copy small{display:none!important}
.kh-track{display:inline-flex;align-items:center;gap:6px;flex:none;border:1px solid rgba(255,255,255,.2);background:rgba(255,255,255,.08);color:#fff;border-radius:999px;padding:7px 14px;font:700 12.5px/1.4 var(--kh4-font);text-decoration:none;transition:background .2s}
.kh-track:hover{background:rgba(255,255,255,.16)}

/* ---------- قاب محتوا و کارت‌ها ---------- */
html body .container{position:relative;z-index:1;max-width:1080px!important;padding:var(--kh4-ct) clamp(14px,3vw,18px) 24px!important}
html body .container>.card{background:#fff!important;border:1px solid var(--kh4-line)!important;border-radius:var(--kh4-r-lg)!important;box-shadow:var(--kh4-shadow)!important;margin:0 0 16px!important}
html body #step-form,html body #step-pax,html body #step-quote,html body #step-done,html body #step-pay{padding:clamp(16px,3vw,28px)!important}
html body .card .card{box-shadow:none!important}

/* ---------- فرم‌ها ---------- */
html body label{color:#33453D!important;font-size:12.5px!important;font-weight:600;margin:12px 0 5px}
html body input:not([type=checkbox]):not([type=radio]):not([type=file]),html body select,html body textarea{border:1px solid #D5E0DA!important;border-radius:var(--kh4-r-sm)!important;background:#fff!important;min-height:46px}
html body input:focus,html body select:focus,html body textarea:focus{border-color:var(--kh4-green)!important;box-shadow:0 0 0 3px rgba(18,128,95,.14)!important}
html body input[type=file]{border:1px dashed #C9D8D0;border-radius:var(--kh4-r-sm);padding:10px;background:var(--kh4-mint2);min-height:46px;width:100%}
html body input[type=checkbox],html body input[type=radio]{accent-color:var(--kh4-green)}
html body .field-error,html body .error{color:var(--kh4-danger)!important}
html body .validation-summary{border-radius:var(--kh4-r-sm)!important}
html body .success{color:var(--kh4-green)!important}

/* ---------- دکمه‌ها ---------- */
html body button{border-radius:12px!important;font-weight:700;background:var(--kh4-deep)!important;color:#fff!important;border:1px solid var(--kh4-deep)!important;box-shadow:none!important;transition:background .2s,transform .15s,filter .2s!important}
html body button:hover{background:var(--kh4-green)!important;border-color:var(--kh4-green)!important;transform:none!important;filter:none!important}
html body button:active{transform:scale(.98)!important}
html body button:disabled{background:var(--kh4-off-soft)!important;border-color:var(--kh4-off-soft)!important;color:var(--kh4-off)!important;opacity:1!important}
html body button.secondary{background:#fff!important;color:var(--kh4-deep)!important;border:1px solid #D5E0DA!important}
html body button.secondary:hover{background:var(--kh4-mint2)!important;border-color:#BFD4C9!important}
/* دکمه‌هایی که زائر را یک گام جلو می‌برند: طلایی */
html body #pax-btn,html body #quote-btn,html body #final-btn,html body #pay-btn,html body #final-confirm-yes,html body .card-action:not(:disabled){position:relative;overflow:hidden;background:linear-gradient(180deg,#F6E2AE,var(--kh4-gold))!important;color:#1D1606!important;border:0!important;font-weight:800!important;box-shadow:0 14px 28px -16px rgba(207,162,74,.95),inset 0 1px 0 rgba(255,255,255,.55)!important}
html body #pax-btn:hover,html body #quote-btn:hover,html body #final-btn:hover,html body #pay-btn:hover,html body #final-confirm-yes:hover,html body .card-action:not(:disabled):hover{filter:brightness(1.05)!important}
html body #pax-btn{width:100%;min-height:52px;margin-top:18px!important}

/* ---------- گام ۲: سربرگ مرحله ---------- */
html body .progress-steps{gap:6px!important;margin-bottom:8px!important}
html body .progress-steps .seg{height:6px!important;border-radius:4px!important;background:#E4ECE8!important}
html body .progress-steps .seg.done,html body .progress-steps .seg.active{background:linear-gradient(90deg,var(--kh4-gold),#E6C57F)!important}
html body .progress-labels{color:var(--kh4-muted)!important;font:600 11.5px/1.6 var(--kh4-font)!important;margin-bottom:14px!important}
html body .registration-title-row{background:var(--kh4-mint2)!important;border:1px solid #D9E9E0;border-radius:var(--kh4-r)!important;padding:12px 16px!important;color:var(--kh4-ink)!important;margin-bottom:18px!important}
html body .registration-title-row h2{color:var(--kh4-deep)!important;font-size:17px!important}
html body .registration-title-row .change-caravan-btn{background:#fff!important;color:var(--kh4-deep)!important;border:1px solid #CFE0D7!important}
html body #step-form>h3,html body #step-form h3{display:flex;align-items:center;gap:8px;margin:22px 0 8px!important}
html body #step-form>h3::before,html body #step-pax>h2::before,html body #step-quote>h2::before,html body #step-pay>h2::before{content:"";width:4px;height:18px;border-radius:3px;background:var(--kh4-gold);flex:none}
html body #step-pax>h2,html body #step-quote>h2,html body #step-pay>h2{display:flex;align-items:center;gap:8px;background:none!important;color:var(--kh4-deep)!important;padding:0!important;margin:0 0 16px!important;border-radius:0!important}
html body #step-pax>h2 svg,html body #step-quote>h2 svg,html body #step-pay>h2 svg{color:var(--kh4-green)!important}
html body #step-pay{text-align:right!important}

/* ورود */
html body .auth-modern{max-width:480px!important;border:1px solid var(--kh4-line)!important;border-radius:var(--kh4-r-lg)!important;background:#fff!important;box-shadow:0 14px 34px -24px rgba(10,61,46,.45)!important}
html body .auth-modern:before{background:linear-gradient(90deg,var(--kh4-gold),var(--kh4-green))!important;height:3px!important}
html body .auth-modern #auth-title{color:var(--kh4-deep)!important;font-size:21px!important}
html body .auth-primary-btn{background:var(--kh4-deep)!important;border-color:var(--kh4-deep)!important;min-height:48px!important}
html body .auth-otp-modern{background:var(--kh4-mint2)!important;border-color:#D9E9E0!important;border-radius:var(--kh4-r)!important}
html body .auth-otp-input-modern{border-radius:var(--kh4-r-sm)!important;font-family:var(--kh4-font)!important}
html body .auth-otp-input-modern:focus{border-color:var(--kh4-green)!important}
html body .auth-resend-btn,html body .auth-edit-btn,html body .auth-link-btn,html body .google-switch-method{background:transparent!important;color:var(--kh4-green)!important;border:0!important;box-shadow:none!important}
html body .auth-resend-btn:disabled{color:#A8B2AE!important;background:transparent!important}
html body .google-signin-btn{background:#fff!important;color:#25342E!important;border:1px solid #D5E0DA!important}
html body .auth-success-icon{background:var(--kh4-mint)!important;color:var(--kh4-green)!important}

/* تعداد نفرات */
html body .people-counts>div:not(.child-count-options):not(.child-disclosure){background:var(--kh4-mint2)!important;border:1px solid #DDEBE3!important;border-radius:var(--kh4-r)!important;padding:10px 12px!important}
html body .people-counts input{font-family:var(--kh4-font);font-size:18px!important;font-weight:800;color:var(--kh4-deep)}
html body .child-count-options{background:#fff!important;border:1px dashed #CFE0D7!important;border-radius:var(--kh4-r)!important}
/* جعبه‌های اطلاعاتی داخل فرم */
html body .boarding-card{background:var(--kh4-mint2)!important;border:1px solid #D9E9E0!important;border-radius:var(--kh4-r)!important}
html body #border-box{background:var(--kh4-gold-soft)!important;border:1px solid #EEDCB4!important;border-radius:var(--kh4-r)!important;box-shadow:none!important}
html body #border-box #border-desc{color:#8C6F35!important}
html body #agree-card{background:#fff!important;border:1px solid var(--kh4-line)!important;border-inline-start:4px solid var(--kh4-green)!important;border-radius:var(--kh4-r)!important;box-shadow:none!important}
html body #agree-card a{color:var(--kh4-green);font-weight:700;text-decoration:none}
html body #agree-crv-box{background:var(--kh4-gold-soft)!important;border-color:#EEDCB4!important}
html body #cap-note{color:var(--kh4-muted)!important}

/* کارت زائران */
html body .passenger-card{border:1px solid var(--kh4-line)!important;border-radius:var(--kh4-r)!important;background:#fff!important;box-shadow:none!important}
html body .passenger-card-head{background:var(--kh4-mint2)!important;border-bottom:1px solid var(--kh4-line)!important}
html body .passenger-card-title b{color:var(--kh4-deep);font-size:14px}
html body .passenger-card.complete .passenger-card-state{color:var(--kh4-green)!important}
html body .marketing-box{background:var(--kh4-mint2)!important;border:1px solid #DDEBE3!important;border-radius:var(--kh4-r)!important}
html body .seat-pref-map{border-radius:22px!important;border-color:var(--kh4-line)!important}
html body .seat-pref{background:var(--kh4-mint2)!important;color:var(--kh4-ink)!important;border:1px solid #DDEBE3!important;border-radius:8px 8px 5px 5px!important}
html body .seat-pref.selected{background:var(--kh4-deep)!important;color:#fff!important;border-color:var(--kh4-deep)!important}
html body .seat-pref.occupied{background:#E9ECEA!important;color:#7C837F!important}
html body .seat-pref.locked{background:var(--kh4-gold-soft)!important;color:var(--kh4-gold-ink)!important}

/* پیش‌فاکتور و پرداخت */
html body #quote-box table,html body #pay-summary table,html body #balance-box table{border-collapse:separate;border-spacing:0;border:1px solid var(--kh4-line);border-radius:var(--kh4-r);overflow:hidden}
html body #quote-box th,html body #quote-box td,html body #pay-summary th,html body #pay-summary td{border:0!important;border-bottom:1px solid var(--kh4-line)!important;padding:9px 12px!important}
html body #quote-box th,html body #pay-summary th{background:var(--kh4-mint2)!important;color:var(--kh4-deep)!important}
html body #benefit-toggle{background:#fff!important;color:var(--kh4-deep)!important;border:1px dashed #BFD4C9!important}
html body #benefit-fields{background:var(--kh4-mint2)!important;border-color:#DDEBE3!important;border-radius:var(--kh4-r)!important}
html body #pre-pay-box{background:var(--kh4-gold-soft)!important;border:1px solid #EEDCB4!important;border-radius:var(--kh4-r)!important}
html body #pre-pay-box h3{color:var(--kh4-gold-ink)!important}
html body #bank-accounts-box,html body #bank-accounts-box2{border-radius:var(--kh4-r)}
html body #dl-btn{background:var(--kh4-deep)!important;border-color:var(--kh4-deep)!important}
html body .final-register-progress{border-color:#CFE6DA!important;background:var(--kh4-mint2)!important;color:var(--kh4-deep)!important;border-radius:var(--kh4-r)!important}

/* پایان ثبت‌نام */
html body .done-actions{gap:10px!important}
html body .done-action{background:#fff!important;color:var(--kh4-deep)!important;border:1px solid #D5E0DA!important;border-radius:12px!important;box-shadow:none!important;min-height:50px!important}
html body .done-action:hover{background:var(--kh4-mint2)!important}
html body .done-action svg{color:var(--kh4-green)}
html body #done-pay-btn{background:linear-gradient(180deg,#F6E2AE,var(--kh4-gold))!important;color:#1D1606!important;border:0!important}
html body #done-pay-btn svg{color:#1D1606}
html body #step-done{background:#fff!important}
html body .waitlist-result{border-radius:var(--kh4-r-lg)!important}

/* پنجره تأیید نهایی و اعلان */
html body #final-confirm-modal{background:rgba(6,20,15,.5)!important}
html body .final-confirm-card{border-radius:var(--kh4-r-lg)!important;border:0!important}
html body .final-confirm-card h3{color:var(--kh4-deep)!important}
html body .final-confirm-summary{background:var(--kh4-mint2)!important;border-color:#DDEBE3!important;border-radius:var(--kh4-r)!important}
html body .final-confirm-total{color:var(--kh4-deep)!important;font-family:var(--kh4-font)}
html body #app-notice{border-radius:12px!important;font-family:var(--kh4-font)}
html body #app-notice.success{background:var(--kh4-deep)!important}

/* پانوشت */
html body .public-footer{background:#fff!important;border-top:1px solid var(--kh4-line)!important;color:var(--kh4-muted)!important}
html body .footer-link{color:var(--kh4-green)!important}

/* ============================ گام ۱: انتخاب سفر ============================ */
html body #step-list.journey-shell{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;margin:0!important;max-width:none!important}
.kh-hero{position:relative;color:#fff;margin:calc(-1 * (var(--kh4-head) + var(--kh4-ct))) calc((100% - 100vw) / 2) 0;padding:calc(var(--kh4-head) + 4px) calc((100vw - 100%) / 2) clamp(22px,4vw,34px);background:var(--kh4-pattern),var(--kh4-bg-green),var(--kh4-deep);isolation:isolate}
.kh-hero[hidden],.kh-two[hidden]{display:none!important}
.kh-stage{display:grid;grid-template-columns:1fr 1fr;gap:clamp(16px,3vw,28px);align-items:stretch;padding-top:clamp(4px,1.5vw,12px);transition:opacity .22s var(--kh4-ease),transform .35s var(--kh4-ease)}
.kh-hero.swapping .kh-stage{opacity:0;transform:translateY(8px)}
.kh-lead{display:flex;flex-direction:column;justify-content:space-between;gap:16px;min-width:0}
.kh-chips{display:flex;flex-wrap:wrap;gap:6px}
.kh-chip{display:inline-flex;align-items:center;gap:6px;border-radius:999px;padding:4px 12px;font:700 12.5px/1.6 var(--kh4-font);background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.16);color:#fff}
.kh-chip.land{background:rgba(34,179,131,.22);border-color:rgba(110,231,183,.45)}.kh-chip.air{background:rgba(79,149,219,.25);border-color:rgba(140,190,240,.5)}.kh-chip.mix{background:rgba(207,162,74,.25);border-color:rgba(242,217,158,.5)}
.kh-chip.st i{width:7px;height:7px;border-radius:50%;background:#6EE7B7;animation:khPulse 1.8s infinite}
.kh-chip.st.closed i{background:#B9C0BC;animation:none}.kh-chip.st.running i{background:#9CC6EC}.kh-chip.st.wait i{background:var(--kh4-gold-l)}
@keyframes khPulse{50%{opacity:.3}}
.kh-kick{margin-top:12px;font:700 14px/1.6 var(--kh4-font);color:var(--kh4-gold-l)}
html body .kh-h1{margin:2px 0 0;font:900 34px/1.35 var(--kh4-font);letter-spacing:-.02em;color:#fff!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.kh-seatw{margin-bottom:16px}
.kh-row{display:flex;justify-content:space-between;align-items:baseline;gap:8px;font-size:13px;margin-bottom:8px;color:rgba(255,255,255,.75)}
.kh-row b{color:var(--kh4-gold-l);font-size:14px}
.kh-seats{display:flex;gap:5px;min-height:38px}
.kh-seats i{flex:1;height:38px;border-radius:7px 7px 4px 4px;background:rgba(255,255,255,.12);position:relative}
.kh-seats i.b{background:rgba(255,255,255,.62)}
.kh-seats i.fr{background:linear-gradient(180deg,var(--kh4-gold-l),var(--kh4-gold))}
.kh-seats i::after{content:"";position:absolute;inset:auto 18% 4px;height:3px;border-radius:2px;background:rgba(0,0,0,.18)}
.kh-ctas{display:grid;grid-template-columns:1fr 1fr;gap:10px}
html body #trip-hero .card-action{width:100%!important;margin:0!important;min-height:56px!important;border-radius:14px!important;font-size:15.5px!important;display:flex;align-items:center;justify-content:space-between;padding:8px 8px 8px 8px!important;padding-inline-start:20px!important}
html body #trip-hero .card-action:not(:disabled)::after{content:"‹";display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:10px;flex:none;background:var(--kh4-deep);color:var(--kh4-gold-l);font:800 28px/1 var(--kh4-font);transition:transform .3s var(--kh4-ease)}
html body #trip-hero .card-action:not(:disabled):hover::after{transform:translateX(-4px)}
html body #trip-hero .card-action:disabled{background:rgba(255,255,255,.1)!important;color:rgba(255,255,255,.72)!important;border:1px solid rgba(255,255,255,.14)!important;justify-content:center}
html body #trip-hero .kh-send{margin:0!important;min-height:56px!important;border-radius:14px!important;display:flex;align-items:center;justify-content:center;gap:8px;background:rgba(255,255,255,.07)!important;border:1px solid rgba(255,255,255,.22)!important;color:#fff!important;font-size:14px!important}
html body #trip-hero .kh-send:hover{background:rgba(255,255,255,.14)!important}
.kh-info{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;align-content:stretch;border-radius:18px;padding:6px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.13)}
.kh-cell{grid-column:span 3;border-radius:12px;padding:12px 14px;background:rgba(255,255,255,.05);min-width:0}
.kh-cell small{display:flex;align-items:center;gap:6px;font:700 11.5px/1.6 var(--kh4-font);color:rgba(255,255,255,.55)}
.kh-cell>b{display:block;font:800 15.5px/1.55 var(--kh4-font);margin-top:2px;color:#fff}
.kh-cell .s{display:block;font-size:12.5px;color:rgba(255,255,255,.66)}
.kh-cd{grid-column:span 2;display:flex;flex-direction:column;align-items:center;text-align:center;background:linear-gradient(150deg,#F5E0AC,var(--kh4-gold));color:#2A1E06}
.kh-cd>b{flex:1;display:grid;place-items:center;font:900 46px/1 var(--kh4-font);letter-spacing:-.04em;color:#2A1E06;margin:0}
.kh-cd .s,.kh-pr .s{font:600 12.5px/1.6 var(--kh4-font);min-height:1.6em}
.kh-cd .s{color:rgba(42,30,6,.82)}
.kh-cd.off{background:rgba(156,198,236,.16);color:#DCEBF8}.kh-cd.off>b{font-size:22px;color:#DCEBF8}.kh-cd.off .s{color:#B9D6F0}
.kh-pr{grid-column:span 4;display:flex;flex-direction:column}
.kh-pr>b{flex:1;display:flex;align-items:center;justify-content:flex-start;direction:ltr;font:900 32px/1.2 var(--kh4-font);letter-spacing:-.02em;margin:4px 0}
.kh-pr>b span{order:-1;font:600 13px/1 var(--kh4-font);color:rgba(255,255,255,.66);margin-right:8px}
.kh-pr .s{text-align:left}
.kh-w{grid-column:span 6}
.kh-dp{display:flex;align-items:center;gap:14px}.kh-dp small{flex:none}.kh-dp>b{margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.kh-sep{display:inline-block;width:4px;height:4px;border-radius:50%;background:var(--kh4-gold-l);margin:0 9px;vertical-align:middle;opacity:.8}
.kh-bd{grid-column:span 6;display:flex;justify-content:space-between;align-items:center;gap:10px;background:rgba(242,217,158,.1);border:1px dashed rgba(242,217,158,.35)}
.kh-bd b{font:800 14px/1.6 var(--kh4-font)}.kh-bd .s{display:inline}.kh-bd strong{color:var(--kh4-gold-l);font:900 16px/1.4 var(--kh4-font);white-space:nowrap}

/* باکس‌های «هزینه سفر شامل» و «پیش از ثبت‌نام بدانید» */
.kh-two{display:grid;grid-template-columns:1.35fr 1fr;gap:12px;margin-top:18px}
.kh-box{display:flex;border:1px solid var(--kh4-line);border-radius:var(--kh4-r);overflow:hidden;background:#fff}
html body .kh-box h3{margin:0!important;flex:none;writing-mode:vertical-rl;transform:rotate(180deg);display:flex;align-items:center;justify-content:center;padding:14px 10px;font:800 14px/1.4 var(--kh4-font);color:#fff!important;background:linear-gradient(180deg,var(--kh4-green),var(--kh4-deep))}
html body .kh-know h3{background:linear-gradient(180deg,#D9AE58,#A67A28);color:#2A1E06!important}
.kh-bx{flex:1;padding:14px 16px;min-width:0;display:flex;flex-direction:column;justify-content:center}
.kh-incg{display:grid;grid-template-columns:1fr 1fr;gap:12px 14px}
.kh-incg div{display:flex;align-items:center;gap:11px;font-size:12.5px;color:var(--kh4-muted);line-height:1.6}
.kh-incg b{display:block;color:var(--kh4-ink);font-size:13.5px}
.kh-ic{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;flex:none;background:var(--kh4-mint);color:var(--kh4-green)}
.kh-know ul{list-style:none;margin:0;padding:0}
.kh-know li{display:flex;gap:8px;align-items:center;font-size:13px;color:var(--kh4-muted);margin-bottom:8px}.kh-know li:last-child{margin-bottom:0}
.kh-know .kh-ic{width:32px;height:32px;border-radius:9px;background:var(--kh4-gold-soft);color:var(--kh4-gold-ink)}
.kh-know b{color:var(--kh4-ink)}.kh-know a{color:inherit;text-decoration:none}

/* بخش فهرست کاروان‌ها */
html body #step-list .journey-intro{display:flex!important;align-items:flex-end!important;justify-content:space-between;gap:12px;margin:30px 0 12px!important;padding:0!important;background:none!important;border-radius:0!important;color:var(--kh4-ink)!important}
html body #step-list .journey-intro h1{color:var(--kh4-ink)!important;font:900 20px/1.5 var(--kh4-font)!important;margin:0!important}
html body #step-list .journey-intro p{color:var(--kh4-muted)!important;font-size:13px!important;opacity:1!important;display:block!important}
html body #step-list .journey-intro .refresh-btn{background:#fff!important;color:var(--kh4-deep)!important;border:1px solid #D5E0DA!important;min-height:38px!important;font-size:12.5px!important;width:auto!important}
html body .trip-filters{gap:6px!important;margin:0 0 12px!important}
html body .trip-filter{background:#fff!important;color:var(--kh4-muted)!important;border:1px solid var(--kh4-line)!important;border-radius:999px!important;min-height:38px!important;font-size:13px!important}
html body .trip-filter.active{background:var(--kh4-ink)!important;color:#fff!important;border-color:var(--kh4-ink)!important}
html body #caravans.caravan-grid{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:10px!important}
html body #caravans.loading{border:1px dashed var(--kh4-line);border-radius:var(--kh4-r);padding:28px!important;color:var(--kh4-muted)}
html body .kh-trip.caravan-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center!important;text-align:right!important;gap:8px 16px;padding:12px 16px 12px 14px!important;border:1px solid var(--kh4-line)!important;border-radius:var(--kh4-r)!important;background:#fff!important;box-shadow:none!important;cursor:pointer;position:relative;overflow:hidden;transition:border-color .2s,box-shadow .25s,transform .2s!important}
html body .kh-trip.caravan-card::before{content:""!important;display:block!important;position:absolute;inset-block:0;inset-inline-start:0;width:4px;background:var(--kh4-c,#B9C0BC)!important}
.kh-trip.open{--kh4-c:var(--kh4-emer)}.kh-trip.wait{--kh4-c:var(--kh4-gold)}.kh-trip.closed{--kh4-c:#B9C0BC}.kh-trip.running{--kh4-c:#7FAEDB}
html body .kh-trip.caravan-card:hover{transform:translateY(-1px)!important;box-shadow:0 10px 24px -18px rgba(10,61,46,.5)!important}
html body .kh-trip.caravan-card.sel{border-color:var(--kh4-green)!important;box-shadow:0 0 0 3px rgba(18,128,95,.10)!important}
html body .kh-trip.caravan-card:focus-visible{outline:2px solid var(--kh4-gold);outline-offset:2px}
.kh-dt{width:62px;height:62px;flex:none;border-radius:12px;background:var(--kh4-canvas);display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1.15}
.kh-dt b{font:900 24px/1.1 var(--kh4-font)}.kh-dt small{font:700 11px/1.3 var(--kh4-font);color:var(--kh4-muted)}
.kh-trip.open .kh-dt{background:var(--kh4-mint);color:var(--kh4-deep)}
html body .kh-trip .caravan-photo{width:62px!important;height:62px!important;flex:0 0 62px!important;border-radius:12px!important}
.kh-trip-media{display:flex;gap:16px;grid-row:2;grid-column:1}
.kh-trip-head{grid-row:1;grid-column:1;display:flex;align-items:flex-start;gap:8px;min-width:0}
.kh-trip-head.has-occasion{grid-column:1/-1}
html body .kh-trip-head .kh-type{margin:0;justify-content:center;flex:none}
html body .kh-trip-head:not(.has-occasion) .kh-type{width:100%;box-sizing:border-box}
.kh-tt{min-width:0;grid-row:2;grid-column:2}
html body .kh-trip-head h4,html body .kh-tt h4{margin:0;font:800 15px/1.6 var(--kh4-font);color:var(--kh4-ink);overflow-wrap:anywhere}
.kh-full{font-size:12px;color:var(--kh4-faint);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.kh-m{font-size:12.5px;color:var(--kh4-muted)}
.kh-lbls{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:5px}
.kh-lbl{display:inline-flex;align-items:center;gap:5px;font:700 11.5px/1.6 var(--kh4-font);padding:2px 10px;border-radius:999px}
.kh-lbl.open{background:var(--kh4-mint);color:var(--kh4-green)}.kh-lbl.open::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--kh4-emer)}
.kh-lbl.wait{background:var(--kh4-gold-soft);color:var(--kh4-gold-ink)}
.kh-lbl.closed{background:var(--kh4-off-soft);color:var(--kh4-off)}
.kh-lbl.running{background:var(--kh4-run-soft);color:var(--kh4-run)}
.kh-lbl.kh-type{color:#fff;vertical-align:2px;margin-inline-end:8px;padding:1px 9px}
.kh-lbl.kh-type.land{background:#12805F}.kh-lbl.kh-type.air{background:#2F6FB0}.kh-lbl.kh-type.mix{background:#B7862F}
.kh-p{text-align:left;white-space:nowrap;grid-row:2;grid-column:3}
.kh-p small{display:block;font-size:11.5px;color:var(--kh4-faint)}
.kh-p b{font:900 17px/1.5 var(--kh4-font);color:var(--kh4-ink)}
.kh-trip.closed .kh-p b,.kh-trip.running .kh-p b{color:var(--kh4-faint)}

/* پنجرهٔ ارسال اطلاعات سفر */
.kh-sheet{position:fixed;inset:0;z-index:99990;display:none;align-items:flex-end;justify-content:center;background:rgba(6,20,15,.45)}
.kh-sheet.on{display:flex}
.kh-sheet-p{width:min(520px,100%);background:#fff;border-radius:20px 20px 0 0;padding:14px 18px calc(18px + env(safe-area-inset-bottom));animation:khSheet .35s var(--kh4-ease);text-align:right}
@keyframes khSheet{from{transform:translateY(100%)}}
.kh-grab{width:40px;height:4px;border-radius:2px;background:#D6DDD9;margin:0 auto 12px}
html body .kh-sheet h3{margin:0}
.kh-pv{margin:10px 0 14px;padding:12px 14px;border-radius:12px;background:var(--kh4-canvas);font-size:12.5px;color:var(--kh4-muted);white-space:pre-line;line-height:1.9;max-height:150px;overflow:auto}
.kh-apps{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
html body .kh-app{display:flex!important;flex-direction:column;align-items:center;gap:6px;border:0!important;background:none!important;color:var(--kh4-ink)!important;font-size:12px!important;padding:4px!important;margin:0!important;min-height:0!important}
html body .kh-app:hover{background:none!important}
.kh-app i{width:52px;height:52px;border-radius:16px;display:grid;place-items:center;font:900 22px/1 var(--kh4-font);font-style:normal;color:#fff;background:var(--c)}
html body .kh-close{width:100%;margin-top:14px!important}

/* نوار ثابت ثبت‌نام (موبایل) */
.kh-dock{position:fixed;inset-inline:0;bottom:0;z-index:9000;display:none;align-items:center;justify-content:space-between;gap:12px;padding:10px 14px calc(10px + env(safe-area-inset-bottom));background:rgba(10,61,46,.96);color:#fff;transform:translateY(110%);transition:transform .35s var(--kh4-ease)}
.kh-dock.show{transform:none}
.kh-dock small{display:block;font-size:11px;opacity:.65}.kh-dock b{font:900 16.5px/1.4 var(--kh4-font);color:#fff}
html body .kh-dock button{margin:0!important;border:0!important;border-radius:12px!important;padding:12px 22px!important;background:linear-gradient(180deg,#F6E2AE,var(--kh4-gold))!important;color:#1D1606!important;font-weight:900}

@media (max-width:880px){
  .kh-stage{grid-template-columns:1fr}
  .kh-two{grid-template-columns:1fr}
  .kh-dock{display:flex}
}
@media (max-width:560px){
  :root{--kh4-head:58px;--kh4-ct:12px}
  html body .brand-copy b{font-size:14px!important}
  .kh-track span{display:none}.kh-track{padding:8px}
  .kh-cell{padding:11px 12px}.kh-cell>b{font-size:14.5px}.kh-cd>b{font-size:36px}.kh-pr>b{font-size:22px}
  .kh-cd .s,.kh-pr .s{font-size:11px;white-space:nowrap}.kh-cd{padding-inline:6px}
  .kh-dp{flex-direction:column;align-items:flex-start;gap:2px}.kh-dp>b{white-space:normal}
  .kh-ctas{grid-template-columns:1.1fr 1fr}
  html body #trip-hero .card-action{font-size:14px!important;padding-inline-start:14px!important}
  html body #trip-hero .card-action:not(:disabled)::after{width:34px;height:34px}
  html body #trip-hero .kh-send{font-size:13px!important;padding:0 10px!important}
  .kh-lg{display:none}
  .kh-seats{gap:4px}.kh-seats i{height:28px}
  .kh-incg{grid-template-columns:1fr}
  html body .kh-box h3{padding:12px 7px;font-size:13px}
  html body .kh-trip.caravan-card{grid-template-columns:auto minmax(0,1fr);gap:8px 12px}
  .kh-trip-media{gap:12px}
  .kh-p{grid-row:3;grid-column:1/-1;display:flex;justify-content:space-between;align-items:baseline;border-top:1px dashed var(--kh4-line);padding-top:8px;text-align:right}
  html body #step-list .journey-intro{flex-wrap:wrap}
}
@media (prefers-reduced-motion:reduce){.kh-chip.st i,.kh-stage,.kh-sheet-p,.kh-dock{animation:none!important;transition:none!important}}


/* ============================================================================
   KH-AI-067/069 — پرداخت نهایی ظاهر گام‌های فرم ثبت‌نام (شروع، اطلاعات زائران، هزینه/پرداخت، پایان، ثبت واریزی).
   فقط ظاهر و چیدمان. هیچ id، متن، پیام، دکمه یا منطقی تغییر نمی‌کند. بعد از kh-theme-v4 می‌آید.
   مقیاس فاصله: 4 / 8 / 12 / 16 / 24 / 32
   ============================================================================ */
:root{--kh5-s1:4px;--kh5-s2:8px;--kh5-s3:12px;--kh5-s4:16px;--kh5-s5:24px;--kh5-s6:32px;--kh5-field:48px}

/* ---------- پایهٔ فرم: برچسب، راهنما، فیلد ---------- */
html body #step-form label,html body #step-pax label,html body #step-quote label,html body #step-pay label{display:block;margin:0 0 6px!important;font:700 12.5px/1.7 var(--kh4-font)!important;color:#33453D!important}
html body :is(#step-form,#step-pax,#step-quote,#step-pay) :is(input:not([type=checkbox]):not([type=radio]):not([type=file]),select){min-height:var(--kh5-field)!important;margin:0!important}
html body :is(#step-form,#step-pax,#step-quote,#step-pay) textarea{margin:0!important;min-height:92px}
html body :is(#step-form,#step-pax,#step-quote,#step-pay) small:not(.field-error){display:block;margin-top:6px!important;font-size:11.5px!important;font-weight:400!important;line-height:1.7;color:var(--kh4-muted)!important}
html body :is(#step-form,#step-pax,#step-quote,#step-pay) .field-error{display:block;margin-top:6px;font-size:11.5px}
html body :is(#step-form,#step-quote,#step-pay) .row{gap:var(--kh5-s3) var(--kh5-s4)!important;margin:0 0 var(--kh5-s4)!important}
html body :is(#step-form,#step-quote,#step-pay) .row>div{min-width:0}
html body input[type=file]{width:100%;min-height:var(--kh5-field);border:1px dashed #C9D8D0!important;border-radius:var(--kh4-r-sm)!important;padding:10px!important;background:var(--kh4-mint2)!important;font-size:12.5px}
html body input[type=checkbox],html body input[type=radio]{accent-color:var(--kh4-green);width:18px!important;height:18px!important;flex:none}

/* ---------- نوار مراحل: برچسب زیر هر بخش + برجسته شدن گام جاری ---------- */
html body .progress-steps{gap:6px!important;margin-bottom:8px!important}
html body .progress-labels{display:grid!important;grid-template-columns:repeat(4,1fr);text-align:center;gap:6px}
html body .progress-labels span{white-space:nowrap}
html body .progress-steps:has(#seg1.done)+.progress-labels span:nth-child(1),
html body .progress-steps:has(#seg2.done)+.progress-labels span:nth-child(2),
html body .progress-steps:has(#seg3.done)+.progress-labels span:nth-child(3),
html body .progress-steps:has(#seg4.done)+.progress-labels span:nth-child(4){color:var(--kh4-deep)!important;font-weight:800}

/* ---------- عنوان بخش‌ها و توضیح زیرشان ---------- */
/* ---------- گام شروع (KH-AI-069): نوار کاروان، ورود افقی، بخش‌های کارت‌شکل کنار هم ---------- */
html body .registration-title-row{background:var(--kh4-pattern),var(--kh4-bg-green),var(--kh4-deep)!important;border:0!important;border-radius:var(--kh4-r)!important;padding:14px 18px!important;margin:0 0 var(--kh5-s4)!important;box-shadow:none!important}
html body .registration-title-row h2{color:#fff!important;font-size:17px!important;margin:0!important}
html body #crv-occasion{display:block;margin-block-start:4px;color:var(--kh4-gold-l);overflow-wrap:anywhere}
html body #crv-occasion[hidden]{display:none}
html body .registration-title-row h2::before{display:none!important}
html body .registration-title-row .change-caravan-btn{width:auto!important;min-height:36px!important;padding:6px 14px!important;margin:0!important;background:rgba(255,255,255,.08)!important;color:var(--kh4-gold-l)!important;border:1px solid rgba(242,217,158,.45)!important;font-size:12px!important}
html body .registration-title-row .change-caravan-btn:hover{background:rgba(255,255,255,.16)!important}

/* KH-AI-094: قواعد قدیمیِ کارت ورود (گرید سه‌ستونه) حذف شد؛ سبک جدید در <style id="kh094-auth"> است. */

/* شبکهٔ بخش‌ها: نفرات (⅓) | مسئول رزرو (⅔) ، سوارشدن و مرز کنار هم */
html body .kh-start-grid{display:grid;align-items:start;grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:var(--kh5-s4);margin:0 0 var(--kh5-s4)}
html body .kh-sec,html body .kh-opt-grid{background:#fff;border:1px solid var(--kh4-line);border-radius:var(--kh4-r);padding:var(--kh5-s4);min-width:0}
html body #step-form .kh-sec>h3,html body #step-form .kh-sec .boarding-card>h3{display:flex!important;align-items:center;gap:10px;margin:0 0 var(--kh5-s3)!important;padding:0!important;border:0!important;font-size:15px!important;color:var(--kh4-deep)!important}
html body .kh-sec>h3::before,html body .kh-sec .boarding-card>h3::before{content:"•";display:flex;align-items:center;justify-content:center;width:30px;height:30px;flex:none;border-radius:9px;background:var(--kh4-mint);color:var(--kh4-green);font:800 24px/1 var(--kh4-font)}
html body .kh-sec-leader>h3+p{margin:-4px 0 var(--kh5-s3)!important;font-size:12px!important;line-height:1.9!important;color:var(--kh4-muted)!important}
html body #leader-fields .row{margin:0!important}

/* نفرات: شمارندهٔ + / − */
html body #step-form .people-counts{display:grid!important;grid-template-columns:1fr!important;gap:var(--kh5-s3)!important;background:transparent!important;border:0!important;padding:0!important;margin:0!important}
html body #step-form .people-counts>div{background:transparent!important;border:0!important;padding:0!important;margin:0!important;box-shadow:none!important;text-align:right!important}
html body #step-form .people-counts label{text-align:right!important}
html body .kh-stepper{margin:0!important;display:flex;align-items:stretch;height:var(--kh5-field);max-width:260px;border:1px solid #D5E0DA;border-radius:12px;overflow:hidden;background:#fff}
html body .kh-stepper:focus-within{border-color:var(--kh4-green);box-shadow:0 0 0 3px rgba(18,128,95,.14)}
html body #step-form .kh-stepper input{flex:1;min-width:0;width:auto!important;height:100%!important;min-height:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;text-align:center;font:800 18px/1 var(--kh4-font)!important;color:var(--kh4-deep)!important;background:#fff!important}
html body #step-form .kh-step{flex:none;width:48px!important;min-height:0!important;height:100%!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:var(--kh4-mint2)!important;color:var(--kh4-green)!important;font:800 22px/1 var(--kh4-font)!important;box-shadow:none!important;transform:none!important}
html body #step-form .kh-step:hover{background:var(--kh4-mint)!important}
html body #step-form .kh-step:active{background:#D8ECE1!important}
html body #step-form .child-disclosure{justify-self:start}
html body #step-form .child-disclosure button{min-height:36px!important;height:auto;padding:6px 14px!important;width:auto!important;border-radius:999px!important;background:#fff!important;color:var(--kh4-green)!important;border:1px dashed #BFD6CA!important;font-size:12px!important}
html body #step-form .child-disclosure button[aria-expanded=true]{border-style:solid!important;background:var(--kh4-mint)!important}
html body #step-form .child-count-options{gap:var(--kh5-s3)!important;padding:var(--kh5-s3)!important;background:var(--kh4-mint2)!important;border:1px solid #DDEBE3!important;border-radius:var(--kh4-r-sm)!important}
html body #step-form .child-count-options[aria-hidden=true]{display:none!important}
html body #step-form .child-count-options[aria-hidden=false]{display:grid!important;grid-template-columns:1fr}
/* B1: بزرگسال تمام عرض؛ پس از بازشدن بخش کودک، هر سه شمارنده هم‌عرض. */
html body #step-form .kh-sec-count,html body #step-form .kh-sec-leader{grid-column:1/-1}
html body #step-form .people-counts>div:first-child{width:100%!important}
html body #step-form .kh-stepper{max-width:none;width:100%}
@media(min-width:700px){
  html body #step-form .people-counts:has(.child-count-options[aria-hidden=false]){grid-template-columns:repeat(3,minmax(0,1fr))!important}
  html body #step-form .people-counts:has(.child-count-options[aria-hidden=false]) .child-count-options{display:contents!important}
}
html body #cap-note{display:flex!important;align-items:center;gap:6px;flex-wrap:wrap;margin:var(--kh5-s3) 0 0!important;font-size:12px!important;color:var(--kh4-green)!important}
html body #cap-note:empty{display:none!important}

/* سوارشدن و مرز */
html body .kh-sec-trip{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:var(--kh5-s4);align-items:stretch}
html body .kh-sec-trip:has(>#border-box[style*="none"])>#boarding-box,html body .kh-sec-trip:has(>#boarding-box[style*="none"])>#border-box{grid-column:1/-1}
html body .kh-sec-trip:has(>#boarding-box[style*="none"]):has(>#border-box[style*="none"]){display:none}
html body #step-form .kh-sec-trip .boarding-card{margin:0!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
html body #step-form .boarding-card p{margin:0 0 var(--kh5-s3)!important;font-size:12px!important;color:var(--kh4-muted)!important;line-height:1.8}
html body #border-box{margin:0!important;padding:14px 16px!important;min-height:0!important;align-self:center;display:flex!important;flex-direction:column;justify-content:center}
html body #border-box[style*="none"]{display:none!important}
html body #border-box>label{font-size:13px!important}
html body #border-desc{margin:6px 28px 0 0!important}
html body #border-desc:empty{display:none}

/* اختیاری‌ها و ارسال */
html body .kh-opt-grid{display:grid;grid-template-columns:1fr 1fr;gap:var(--kh5-s4);margin:0 0 var(--kh5-s4)}
html body .kh-opt-grid .kh-opt{display:flex;flex-direction:column;min-width:0}
html body .kh-opt-grid .kh-opt>p{margin:-2px 0 8px!important;font-size:11.5px!important;line-height:1.8!important;color:var(--kh4-muted)!important}
html body .kh-opt-grid .kh-opt>label{margin-top:0!important}
html body .kh-opt-grid textarea{flex:1;min-height:var(--kh5-field)!important;resize:vertical}
html body .kh-opt-grid .kh-opt:first-child input{margin-top:auto!important}
html body .kh-submit{display:grid;grid-template-columns:minmax(0,1fr) minmax(240px,340px);gap:var(--kh5-s4);align-items:start}
html body #agree-card{margin:0!important;padding:14px 16px!important;border:1px solid #CFE3D7!important;border-inline-start-width:1px!important;background:var(--kh4-mint2)!important;box-shadow:none!important;border-radius:var(--kh4-r)!important}
html body #agree-card>label{font-size:13.5px!important;font-weight:700!important;cursor:pointer}
html body #agree-card>a{margin:6px 26px 0 0!important;color:var(--kh4-green)!important;font-weight:700}
html body #pax-btn{margin:0!important;min-height:76px!important;font-size:15px!important}
html body #form-msg:not(:empty){margin-top:var(--kh5-s3)}

/* جمع‌شدن خودکار کارت زائرِ تکمیل‌شده (قابلیت موجود، دوباره فعال) */
html body .passenger-card-toggle{display:inline-flex!important;align-items:center;min-height:32px!important;padding:4px 12px!important;border-radius:999px!important;background:#fff!important;color:var(--kh4-green)!important;border:1px solid #CFE3D7!important;font-size:11.5px!important;width:auto!important;margin:0!important}
html body .passenger-card.collapsed .passenger-card-body,html body .passenger-card.collapsed .passenger-card-body.kh-grid{display:none!important}
html body .passenger-card.collapsed .passenger-card-head{border-bottom:0!important}
html body .passenger-card.collapsed{background:var(--kh4-mint2)!important}

/* ---------- گام اطلاعات زائران: فیلدها در شبکهٔ ۳ستونه (موبایل ۲ستونه) ---------- */
html body .passenger-card{margin:0 0 var(--kh5-s4)!important}
html body .passenger-card-head{padding:12px 16px!important;gap:12px!important}
html body .passenger-card-summary{font-size:11.5px!important}
html body .passenger-card-state{padding:4px 10px;border-radius:999px;background:#fff;border:1px solid var(--kh4-line);font-size:11px!important}
html body .passenger-card.complete .passenger-card-state{background:var(--kh4-mint)!important;border-color:#CFE3D7}
html body .passenger-card-body.kh-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--kh5-s4) var(--kh5-s4);padding:var(--kh5-s4)!important;align-items:start}
html body .kh-f{min-width:0}
html body .kh-f>label:first-child{min-height:21px}
html body .kh-f.kh-wide{grid-column:span 2}
html body .kh-f.kh-full{grid-column:1/-1}
html body .kh-f.kh-empty,html body .kh-f:has(>[id$="_F-P13_wrap"][style*="none"]){display:none}
/* گزینه‌های رادیویی و «دارد» به‌صورت دکمه‌های انتخابی */
html body .kh-f .row{display:flex!important;flex-wrap:wrap;gap:6px!important;margin:0!important}
html body .kh-f .row>label,html body .kh-f.kh-check>label+label{display:inline-flex!important;align-items:center;gap:6px!important;min-height:40px;margin:0!important;padding:6px 12px!important;border:1px solid #D5E0DA;border-radius:var(--kh4-r-sm);background:#fff;font-weight:600!important;cursor:pointer;width:auto!important;flex:0 0 auto!important;min-width:0!important}
html body .kh-f .row>label{flex:1 1 auto!important;justify-content:center;padding:6px 10px!important;white-space:nowrap}
html body .kh-f .row>label:has(input:checked),html body .kh-f.kh-check>label+label:has(input:checked){border-color:var(--kh4-green);background:var(--kh4-mint);color:var(--kh4-deep)!important}
html body .kh-f .row>label{position:relative}
html body .kh-f .row>label>.field-error{position:absolute;top:100%;right:0;margin-top:5px!important;white-space:nowrap;font-weight:400}
html body .kh-f:has(.row .field-error) .row{margin-bottom:22px!important}
html body .kh-f .row:has(.field-invalid)>label{border-color:#E6B4B0}
html body #seat-pref-box{margin:0 0 var(--kh5-s4)!important;padding:var(--kh5-s4)!important}
html body #pax-stage-actions{margin-top:var(--kh5-s4)!important}

/* ---------- گام هزینه و پرداخت ---------- */
html body #quote-box .passenger-block{margin:0 0 var(--kh5-s3)!important;border-radius:var(--kh4-r)!important}
html body #quote-box .passenger-block[style*="text-align:center"]{background:var(--kh4-mint2)!important;border:1px solid #CFE3D7!important;padding:18px!important}
html body #quote-box .passenger-block[style*="text-align:center"]>div{color:var(--kh4-deep)!important;font-family:var(--kh4-font)}
html body #benefit-toggle{margin:0 0 var(--kh5-s4)!important}
html body #pre-pay-box:not([style*="display: none"]):not([style*="display:none"]){display:flex!important;flex-direction:column;gap:var(--kh5-s3);padding:var(--kh5-s4)!important;margin:0!important}
html body #pre-pay-box>h3{order:0;margin:0!important;font-size:15px!important;color:var(--kh4-deep)!important}
html body #pre-pay-box>p{order:1;margin:0!important;font-size:12.5px!important;line-height:1.9!important;color:var(--kh4-muted)!important}
html body #pre-pay-box>#bank-accounts-box2{order:2}
html body #step-quote #pre-pay-box>.row{order:3;display:grid!important;grid-template-columns:1fr 1fr;margin:0!important}
html body #pp_preview,html body #up_preview{grid-column:1/-1;margin:0!important}
html body #pp_preview:empty,html body #up_preview:empty{display:none}
html body :is(#pp_preview,#up_preview) img{max-height:160px!important;width:auto!important;max-width:100%;border-radius:var(--kh4-r-sm);border:1px solid var(--kh4-line)}
/* کارت شماره حساب: خطوط منظم و دکمهٔ کپی کوچک کنار عدد */
html body :is(#bank-accounts-box2,#bank-accounts-box)>b{display:block;margin:0 0 8px;font-size:12.5px!important;color:var(--kh4-ink)}
html body :is(#bank-accounts-box2,#bank-accounts-box) .passenger-block{margin:0 0 8px!important;padding:12px 14px!important;line-height:2.4!important;font-size:13px;background:#fff!important;border:1px solid var(--kh4-line)!important;border-radius:var(--kh4-r)!important}
html body :is(#bank-accounts-box2,#bank-accounts-box) .passenger-block .en{font-family:var(--kh4-font);letter-spacing:.5px}
html body :is(#bank-accounts-box2,#bank-accounts-box) button{display:inline-flex!important;align-items:center;min-height:26px!important;height:26px;width:auto!important;padding:0 12px!important;margin:0 6px!important;border-radius:999px!important;font-size:11px!important;vertical-align:middle;background:var(--kh4-mint2)!important;color:var(--kh4-green)!important;border:1px solid #CFE3D7!important}
html body #step-quote #quote-stage-actions{margin:var(--kh5-s4) 0 0!important}
html body #website{left:0!important;opacity:0!important;pointer-events:none!important;overflow:hidden!important}

/* ---------- صفحهٔ پایان ثبت‌نام ---------- */
html body #done-box{max-width:680px;margin:0 auto}
html body #done-box .success{display:inline-flex;align-items:center;gap:6px;padding:6px 14px;border-radius:999px;background:var(--kh4-mint);color:var(--kh4-deep)!important;font-size:13px}
html body #done-box>div>b[style*="font-size:26px"]{display:block;margin:2px 0 8px;font-family:var(--kh4-font);font-size:30px!important;color:var(--kh4-deep)!important}
html body #done-box .copy-reservation{display:flex!important;min-height:36px!important;padding:6px 14px!important;font-size:12px!important;width:auto!important;margin:0 auto var(--kh5-s3)!important}
html body #done-box>div>br{display:none}
html body #done-box>div>div[style*="margin-top:5px"],html body #done-box>div>div[style*="margin-top:7px"]{display:inline-flex!important;align-items:center;gap:6px;margin:4px 3px!important;padding:6px 12px;border-radius:999px;background:var(--kh4-mint2);border:1px solid var(--kh4-line);font-size:12.5px!important;color:var(--kh4-ink)!important}
html body #done-box>div>div[style*="text-align:right"]{margin-top:var(--kh5-s5)!important}
html body #done-box>div>div[style*="text-align:right"]>div>div{padding:10px 14px!important;border-radius:var(--kh4-r-sm)!important;font-size:13px}
html body #done-box .passenger-block[style*="max-width:310px"]{max-width:250px!important;padding:12px!important}
html body #done-box .passenger-block[style*="max-width:310px"] img{width:150px!important;height:150px!important}
html body #done-box .passenger-block[style*="margin-top:8px"]{background:var(--kh4-gold-soft)!important;border:1px solid #EEDCB4!important;border-radius:var(--kh4-r)!important;padding:14px 16px!important;line-height:2.2;font-size:13.5px}
html body #done-box .passenger-block[style*="border:1px solid #e0b23c"]{border-radius:var(--kh4-r)!important;padding:16px!important;line-height:1.9;text-align:center}
html body #done-box #grp-tpl{min-height:0;font-size:12px!important;background:#fff}
html body #step-done .done-actions{max-width:680px;margin:var(--kh5-s4) auto 0!important}

/* ---------- گام ثبت واریزی (بعد از رزرو) ---------- */
html body #step-pay>h3{margin:var(--kh5-s5) 0 var(--kh5-s3)!important;font-size:15px!important;color:var(--kh4-deep)!important}
html body #pay-summary p{margin:0 0 var(--kh5-s3)!important;padding:12px 14px;border-radius:var(--kh4-r);background:var(--kh4-mint2);border:1px solid var(--kh4-line);font-size:13px}
html body #step-pay>p{font-size:12px!important;color:var(--kh4-muted)!important}
html body #step-pay>button,html body #new-pay-box>button{width:100%!important;margin-top:var(--kh5-s2)!important}

/* نوار ثابت موبایل وقتی دیده نمی‌شود قابل فوکوس نباشد */
html body .kh-dock:not(.show){visibility:hidden;transition:transform .35s ease,visibility 0s .35s}

/* ---------- KH-AI-069: جنسیت با آیکون سامانه، سابقه تشرف به‌صورت نوار انتخاب پیوسته ---------- */
html body .kh-f.kh-gender input[type=radio],html body .kh-f.kh-seg input[type=radio]{position:absolute!important;opacity:0!important;width:1px!important;height:1px!important;margin:0!important;pointer-events:none}
html body .kh-f.kh-gender .row>label{flex:1 1 0!important;justify-content:center;gap:8px!important;min-height:var(--kh5-field)!important;font-size:13px!important}
html body .kh-f.kh-gender .kh-ic{display:inline-grid;place-items:center;width:28px;height:28px;border-radius:8px;background:var(--kh4-mint2);color:var(--kh4-faint)}
html body .kh-f.kh-gender label:has(input:checked) .kh-ic{background:#fff;color:var(--kh4-green)}
html body #step-pax .kh-f.kh-gender label:has(input[value=FEMALE]:checked){border-color:#D9A6BC!important;background:#FBF1F5!important;color:#7A2E4F!important}
html body .kh-f.kh-gender label:has(input[value=FEMALE]:checked) .kh-ic{color:#B0527A}
html body .kh-f.kh-seg .row{gap:0!important;flex-wrap:nowrap!important}
html body .kh-f.kh-seg .row>label{flex:1 1 0!important;justify-content:center;min-height:var(--kh5-field)!important;margin:0 -1px 0 0!important;border-radius:0!important;padding:6px!important;font-size:12.5px!important}
html body .kh-f.kh-seg .row>label:first-child{margin-right:0!important;border-radius:0 12px 12px 0!important}
html body .kh-f.kh-seg .row>label:last-child{border-radius:12px 0 0 12px!important}
html body #step-pax .kh-f.kh-seg .row>label:has(input:checked){position:relative;z-index:1;background:var(--kh4-deep)!important;border-color:var(--kh4-deep)!important;color:#fff!important}
html body .kh-f:is(.kh-gender,.kh-seg) label:has(input:focus-visible){outline:2px solid var(--kh4-green);outline-offset:2px}
/* توضیح محدودیت حرکتی روبه‌روی همان گزینه باز می‌شود */
html body .kh-f.kh-full:has(>[id$="_F-P13_wrap"]){grid-column:span 2}
html body .kh-f [id$="_F-P13_wrap"] textarea{min-height:var(--kh5-field)!important;height:var(--kh5-field);resize:vertical}

/* ---------- درخواست صندلی: بخش جدا با شماتیک اتوبوس (همان شماره‌ها و ردیف‌ها) ---------- */
html body #seat-pref-box:not([style*="none"]){display:grid!important;grid-template-columns:minmax(0,1fr) 300px;grid-template-rows:auto auto 1fr;column-gap:28px;align-items:start;margin:0 0 var(--kh5-s4)!important;padding:20px!important;background:#fff!important;border:1px solid var(--kh4-line)!important;border-radius:var(--kh4-r-lg)!important;box-shadow:var(--kh4-shadow)!important}
html body #seat-pref-box>h3{grid-column:1;display:flex!important;align-items:center;gap:10px;margin:0 0 8px!important;font-size:16px!important;color:var(--kh4-deep)!important}
html body #seat-pref-box>h3::before{content:"▦";display:flex;align-items:center;justify-content:center;width:34px;height:34px;flex:none;border-radius:10px;background:var(--kh4-mint);color:var(--kh4-green);font:700 21px/1 var(--kh4-font)}
html body #seat-pref-note{grid-column:1;margin:0 0 12px!important;font-size:12.5px!important;line-height:1.9;color:var(--kh4-muted)!important}
html body #seat-pref-passenger{grid-column:1}
html body #seat-pref-passenger .seat-counter{display:inline-flex;align-items:center;gap:6px;padding:8px 14px;border-radius:999px;background:var(--kh4-gold-soft);border:1px solid #EEDCB4;color:var(--kh4-gold-ink);font:800 13px/1.6 var(--kh4-font)}
html body #seat-pref-passenger p{text-align:right!important;margin:10px 0 0!important;font-size:12px!important;line-height:1.9}
html body #seat-pref-map{grid-column:2;grid-row:1/-1}
html body .seat-pref-map{max-width:300px!important;margin:0 auto!important;padding:14px 16px 16px!important;border:2px solid #CFE3D7!important;border-radius:44px 44px 20px 20px!important;background:linear-gradient(180deg,var(--kh4-mint2),#fff 110px)!important;box-shadow:inset 0 0 0 5px #fff,0 10px 30px -22px rgba(10,61,46,.6)!important}
html body .seat-pref-map>div:first-child{display:flex;align-items:center;justify-content:center;margin:0 0 12px!important;padding:6px 0 12px;border-bottom:2px dashed #D6E6DC;font-weight:700;color:var(--kh4-green)!important}
html body .seat-pref-row{grid-template-columns:1fr 1fr 22px 1fr!important;gap:8px!important;margin:8px 0!important}
html body .seat-pref-map .seat-pref{position:relative;min-height:46px!important;padding:8px 2px 4px!important;border-radius:11px 11px 6px 6px!important;font:800 13px/1.2 var(--kh4-font)!important;box-shadow:inset 0 -4px 0 rgba(10,61,46,.08)!important;transition:transform .12s,border-color .12s!important}
html body .seat-pref-map .seat-pref::before{content:"";position:absolute;top:4px;left:22%;right:22%;height:3px;border-radius:3px;background:currentColor;opacity:.28}
html body .seat-pref-map .seat-pref small{display:block;margin-top:2px;font:600 8.5px/1.3 var(--kh4-font)!important}
html body .seat-pref-map .seat-pref.available{background:#E3F3EA!important;border:1px solid #9FD0B8!important;color:#0F6B4E!important}
html body .seat-pref-map .seat-pref.available:hover{transform:translateY(-1px);border-color:var(--kh4-green)!important}
html body .seat-pref-map .seat-pref.selected{background:var(--kh4-deep)!important;border:1px solid var(--kh4-deep)!important;color:#fff!important;box-shadow:inset 0 -4px 0 rgba(0,0,0,.25),0 0 0 3px rgba(207,162,74,.45)!important}
html body #step-pax .seat-pref-map .seat-pref small{color:inherit!important;margin-top:2px!important}
html body #step-pax .seat-pref-map .seat-pref.selected small{color:var(--kh4-gold-l)!important}
html body .seat-pref-map .seat-pref.occupied{background:repeating-linear-gradient(135deg,#E4E7E5 0 6px,#EDEFEE 6px 12px)!important;border:1px solid #CDD3CF!important;color:#8A918D!important;cursor:not-allowed}
html body .seat-pref-map .seat-pref.locked{background:var(--kh4-gold-soft)!important;border:1px solid #E8CF97!important;color:var(--kh4-gold-ink)!important;cursor:not-allowed}
html body .seat-pref-map>div:last-child{gap:10px 14px!important;margin-top:14px!important;padding-top:12px;border-top:1px solid var(--kh4-line);font-size:11px!important;color:var(--kh4-muted)}
html body .seat-pref-map>div:last-child span{display:inline-flex;align-items:center;gap:5px}
html body .seat-pref-map>div:last-child span::before{content:"";width:12px;height:12px;border-radius:4px;border:1px solid #9FD0B8;background:#E3F3EA}
html body .seat-pref-map>div:last-child span:nth-child(2)::before{background:var(--kh4-deep);border-color:var(--kh4-deep)}
html body .seat-pref-map>div:last-child span:nth-child(3)::before{background:repeating-linear-gradient(135deg,#E4E7E5 0 3px,#EDEFEE 3px 6px);border-color:#CDD3CF}

/* ---------- بارگذاری فهرست سفرها: اسکلت به‌جای متن تنها (حس سرعت) ---------- */
html body #caravans>p.loading{position:relative;margin:0!important;padding:0 0 312px!important;font-size:12px;color:var(--kh4-muted)}
html body #caravans>p.loading::after{content:"";position:absolute;inset:26px 0 0;border-radius:var(--kh4-r);background:linear-gradient(90deg,transparent,rgba(255,255,255,.75),transparent) -40% 0/40% 100% no-repeat,repeating-linear-gradient(180deg,#EEF3F0 0 90px,transparent 90px 102px);animation:kh-skel 1.2s linear infinite}
@keyframes kh-skel{to{background-position:140% 0,0 0}}
@media (prefers-reduced-motion:reduce){html body #caravans>p.loading::after{animation:none}}

@media (max-width:880px){
  html body .kh-f.kh-full:has(>[id$="_F-P13_wrap"]){grid-column:span 1}
  html body #seat-pref-box:not([style*="none"]){grid-template-columns:1fr}
  html body #seat-pref-map{grid-column:1;grid-row:auto;margin-top:16px}
  html body .passenger-card-body.kh-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  html body .kh-f.kh-wide{grid-column:1/-1}
}
@media (max-width:560px){
  html body .passenger-card-body.kh-grid{gap:var(--kh5-s3);padding:var(--kh5-s3)!important}
  html body .kh-f.kh-m-full{grid-column:1/-1}
  html body .kh-f .row{gap:4px!important}
  html body .kh-f .row>label{padding:6px 8px!important;gap:4px!important;font-size:12px!important}
  html body .kh-f .row input[type=radio]{width:16px!important;height:16px!important}
  html body .kh-f.kh-full:has(>[id$="_F-P13_wrap"]){grid-column:1/-1}
  html body .kh-f.kh-seg .row>label{font-size:11.5px!important;padding:6px 3px!important}
  html body .kh-f.kh-gender .row>label{padding:6px 8px!important}
  html body #seat-pref-box:not([style*="none"]){padding:16px!important}
  html body #step-form .child-count-options[aria-hidden=false]{grid-template-columns:1fr}
  html body .kh-opt-grid{grid-template-columns:1fr}
  html body .kh-start-grid,html body .kh-sec-trip,html body .kh-submit{grid-template-columns:1fr}
  html body #pax-btn{min-height:52px!important}
  html body .registration-title-row{padding:12px 14px!important}
  html body .registration-title-row h2{font-size:15px!important}
  html body #step-quote #pre-pay-box>.row{grid-template-columns:1fr}
  html body :is(#step-form,#step-quote,#step-pay) .row{margin-bottom:var(--kh5-s3)!important}
  html body #done-box>div>b[style*="font-size:26px"]{font-size:26px!important}
  html body .progress-labels{font-size:10.5px!important}
}

/* ============================================================================
   KH-AI-072 — اصلاحات چیدمان فرم ثبت‌نام (شروع، زائران، صندلی، تأیید نهایی)
   ============================================================================ */
/* شروع: «تعداد نفرات» تمام‌عرض؛ مسئول رزرو و محل سوارشدن کنار هم */
html body .kh-start-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}
html body .kh-sec-count{grid-column:1/-1}
html body .kh-sec-trip{grid-column:auto!important;grid-template-columns:1fr!important;align-content:start}
html body #step-form .people-counts{grid-template-columns:repeat(3,minmax(0,1fr))!important;align-items:end;column-gap:var(--kh5-s4)!important}
html body #step-form .child-count-options[aria-hidden=false]{display:contents!important}
html body .kh-count-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:var(--kh5-s3)}
html body .kh-count-foot .child-disclosure{margin:0!important}
html body .kh-count-foot #cap-note{margin:0!important;margin-inline-start:auto!important}
/* بخش‌ها: آیکون عنوان از همان ست سامانه (به‌جای نماد متنی) */
html body .kh-sec>h3:has(.kh-h-ic)::before,html body .kh-sec .boarding-card>h3:has(.kh-h-ic)::before,html body #seat-pref-box>h3:has(.kh-h-ic)::before{content:none!important;display:none!important}
html body .kh-h-ic{display:inline-grid;place-items:center;width:32px;height:32px;flex:none;border-radius:10px;background:var(--kh4-mint);color:var(--kh4-green)}
html body .kh-h-ic svg{width:17px!important;height:17px!important}
/* همراه/توضیحات: پایان هر دو در یک خط؛ ارتفاع توضیحات هم‌اندازهٔ فیلد */
html body .kh-opt-grid{align-items:end}
html body .kh-opt>label{margin-top:0!important}
html body .kh-opt-grid #leader_notes{flex:0 0 auto!important;min-height:var(--kh5-field,48px)!important;height:var(--kh5-field,48px)!important;resize:vertical}
/* پذیرش شرایط: «مشاهده شرایط» در همان خط، سمت چپ */
html body #agree-card{display:flex!important;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 14px}
html body #agree-card>label{flex:1 1 auto}
html body #agree-card>a{margin:0!important;white-space:nowrap}
html body #agree-card>#agreement-body{flex:1 1 100%}
html body .kh-submit{align-items:center!important}

/* زائران: سابقهٔ تشرف و محدودیت حرکتی در یک ردیف؛ توضیح محدودیت تمام‌عرض */
@media (min-width:881px){
  html body .passenger-card-body.kh-grid{grid-template-columns:repeat(12,minmax(0,1fr))!important}
  html body .passenger-card-body.kh-grid>.kh-f{grid-column:span 4}
  html body .passenger-card-body.kh-grid>.kh-f.kh-wide{grid-column:span 8}
  html body .passenger-card-body.kh-grid>.kh-f[data-f="F-P10"]{grid-column:span 3}
  html body .passenger-card-body.kh-grid>.kh-f[data-f="F-P11"]{grid-column:span 6}
  html body .passenger-card-body.kh-grid>.kh-f[data-f="F-P12"]{grid-column:span 3}
  html body .passenger-card-body.kh-grid>.kh-f.kh-full,html body .passenger-card-body.kh-grid>.kh-f.kh-full:has(>[id$="_F-P13_wrap"]){grid-column:1/-1!important}
}
html body .kh-f[data-f="F-P12"] .row>label,html body .kh-f.kh-check[data-f="F-P12"]>label+label{width:100%;justify-content:center}

/* صندلی: شماتیک پهن‌تر، در ورودی جلو-راست و فرمان سمت راننده */
html body #seat-pref-box:not([style*="none"]){grid-template-columns:minmax(0,1fr) minmax(340px,420px)!important}
html body #seat-pref-box>h3{gap:10px}
html body .seat-pref-map{max-width:420px!important}
html body .seat-pref-row{grid-template-columns:1fr 1fr 26px 1fr!important;gap:10px!important}
html body .seat-pref-map .seat-pref{min-height:54px!important;padding:9px 4px 5px!important}
html body .seat-pref-map .seat-pref small{font-size:10px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body .seat-pref-map>.kh-bus-front{display:flex!important;align-items:center;justify-content:space-between;gap:10px;margin:0 0 12px!important;padding:4px 2px 12px!important;border-bottom:2px dashed #D6E6DC}
html body .kh-bus-front>b{flex:1;text-align:center;font:800 13px/1.5 var(--kh4-font);color:var(--kh4-green)}
html body .kh-bus-door{display:inline-flex;flex-direction:column;align-items:center;gap:2px;min-width:44px;padding:6px 6px 4px;border:1.5px solid #9FD0B8;border-radius:10px 10px 4px 4px;background:#fff;color:var(--kh4-green)}
html body .kh-bus-door small{font:700 10px/1.2 var(--kh4-font);color:var(--kh4-muted)}
html body .kh-bus-wheel{display:inline-grid;place-items:center;width:44px;height:44px;border-radius:50%;background:var(--kh4-mint);color:var(--kh4-deep)}
html body .kh-bus-door svg,html body .kh-bus-wheel svg{width:20px!important;height:20px!important}

/* تأیید نهایی: نام و کد ملی با فاصله و جداکننده */
html body .final-confirm-summary-row b.kh-pax-id{display:inline-flex;align-items:center;gap:14px}
html body .kh-pax-id>i{font-style:normal}
html body .kh-pax-id>.kh-sep{display:inline-block;width:2px;height:18px;border-radius:2px;background:#C3D2CA;font-size:0;line-height:0;color:transparent;overflow:hidden}
html body .kh-pax-id>small{font-size:13px;font-weight:700;color:var(--kh4-muted);letter-spacing:.5px}
html body .final-confirm-note{display:block;margin-top:10px}

/* هنگام ثبت نهایی همهٔ دکمه‌ها به‌وضوح غیرفعال دیده شوند */
html body #step-quote button:disabled,html body #final-confirm-modal button:disabled{opacity:.5!important;cursor:not-allowed!important;pointer-events:none!important;filter:grayscale(.3)}

@media (max-width:880px){
  html body #seat-pref-box:not([style*="none"]){grid-template-columns:1fr!important}
  html body #step-form .people-counts{grid-template-columns:1fr!important}
}
@media (max-width:560px){
  html body .kh-start-grid{grid-template-columns:1fr!important}
  html body .kh-count-foot #cap-note{margin-inline-start:0!important}
  html body .seat-pref-row{gap:7px!important}
  html body .final-confirm-summary-row b.kh-pax-id{flex-wrap:wrap;gap:4px 10px}
}


/* KH-AI-094 — کارت ورود/هویت: موبایل روش اصلی، Google ثانویه، فقط یک جریان در هر لحظه؛ پوستهٔ khs در هدر/فوتر. */
html body #auth-card.kha{max-width:none!important;margin:0 0 var(--kh5-s4,16px)!important;padding:18px!important;border:1px solid var(--kh4-line)!important;border-radius:var(--kh4-r)!important;background:#fff!important;box-shadow:none!important}
.kha [hidden]{display:none!important}
.kha-wrap{max-width:560px;margin:0 auto}
html body .kha h3{margin:0 0 4px!important;font:800 17px/1.6 var(--kh4-font)!important;color:var(--kh4-deep)!important}
.kha-lead{margin:0 0 14px;color:var(--kh4-muted);font-size:13.5px;line-height:1.9}
.kha-label{display:block;margin:0 0 6px;font-weight:700;font-size:13px;color:var(--kh4-ink)}
.kha-hint{display:block;margin-top:6px;color:var(--kh4-muted);font-size:12px;line-height:1.8}
.kha-row{display:flex;gap:10px;align-items:stretch}
html body .kha .kha-row input,html body .kha .kha-emailfb input{flex:1 1 0;min-width:0;width:100%!important;min-height:48px!important;margin:0!important;direction:ltr;text-align:left;font-size:16px!important;border-radius:var(--kh4-r-sm)!important}
html body .kha .kha-pri{flex:none;min-height:48px!important;margin:0!important;padding:0 22px!important;border:1px solid var(--kh4-deep)!important;border-radius:var(--kh4-r-sm)!important;background:var(--kh4-deep)!important;color:#fff!important;font:800 14px/1 var(--kh4-font)!important;white-space:nowrap;cursor:pointer;box-shadow:none!important;transition:background .18s,border-color .18s}
html body .kha .kha-pri:hover:not(:disabled),html body .kha .kha-pri:focus-visible{background:var(--kh4-green)!important;border-color:var(--kh4-green)!important;color:#fff!important}
html body .kha .kha-pri:disabled{opacity:.55;cursor:not-allowed}
html body .kha .kha-wide{width:100%!important;margin-top:10px!important}
html body .kha .kha-link{display:inline-flex;align-items:center;justify-content:center;min-height:38px;margin:0!important;padding:0 12px!important;border:0!important;border-radius:var(--kh4-r-sm)!important;background:transparent!important;color:var(--kh4-green)!important;font:700 13px/1.4 var(--kh4-font)!important;cursor:pointer;box-shadow:none!important}
html body .kha .kha-link:hover:not(:disabled),html body .kha .kha-link:focus-visible{background:var(--kh4-mint)!important;color:var(--kh4-deep)!important}
html body .kha .kha-link:disabled{color:#A8B2AE!important;cursor:default}
.kha-or{display:flex;align-items:center;gap:12px;margin:16px 0 12px;color:var(--kh4-faint);font-size:12px}
.kha-or:before,.kha-or:after{content:"";flex:1;height:1px;background:var(--kh4-line)}
.kha-google .loading{font-size:12.5px;color:var(--kh4-muted)}
html body .kha .kha-g{display:flex;align-items:center;justify-content:center;gap:10px;width:100%!important;min-height:48px!important;margin:0!important;padding:0 16px!important;border:1px solid #D5E0DA!important;border-radius:var(--kh4-r-sm)!important;background:#fff!important;color:#25342E!important;font:700 14px/1 var(--kh4-font)!important;cursor:pointer;box-shadow:none!important;transition:background .18s,border-color .18s}
html body .kha .kha-g:hover:not(:disabled),html body .kha .kha-g:focus-visible{background:var(--kh4-mint2)!important;border-color:var(--kh4-green)!important;color:var(--kh4-deep)!important}
html body .kha .kha-g:disabled{opacity:.6;cursor:not-allowed}
.kha-g svg{width:20px;height:20px;flex:none}
.kha-otp-top{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;margin:0 0 4px;font-size:13.5px;color:var(--kh4-ink)}
html body .kha .khs-otp{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:10px 0 6px;width:100%}
html body .kha .khs-otp input{width:100%!important;height:58px!important;font-size:24px!important}
.kha-otp-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;min-height:38px}
.kha-timer{font-size:12.5px;color:var(--kh4-muted);font-weight:700}
.kha-emailfb{margin-top:12px;padding:12px;border:1px solid var(--kh4-line);border-radius:var(--kh4-r);background:var(--kh4-mint2)}
.kha-gchip,.kha-done-row{display:flex;align-items:center;gap:10px}
.kha-gchip{margin:0 0 14px;padding:10px 12px;border:1px solid #CFE6DA;border-radius:var(--kh4-r);background:var(--kh4-mint2)}
.kha-gchip-copy{flex:1;display:flex;flex-direction:column;min-width:0;font-size:13px}.kha-gchip-copy small{color:var(--kh4-muted);overflow:hidden;text-overflow:ellipsis;direction:ltr;text-align:right}
.kha-tick{flex:none;width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:var(--kh4-mint);color:var(--kh4-green);font-weight:900;font-size:14px}
.kha-done-row{flex-wrap:wrap}
.kha-done-copy{display:flex;flex-direction:column;flex:1 1 180px;min-width:0;line-height:1.6;font-size:13px}.kha-done-copy b{color:var(--kh4-deep);font-size:13.5px}.kha-done-meta{color:var(--kh4-muted);font-size:12.5px;overflow:hidden;text-overflow:ellipsis}
.kha-done-act{display:flex;gap:8px;flex-wrap:wrap}
html body .kha .kha-chip{min-height:36px!important;margin:0!important;padding:0 14px!important;border:1px solid #BFDFCF!important;border-radius:999px!important;background:#fff!important;color:var(--kh4-green)!important;font:700 12.5px/1 var(--kh4-font)!important;cursor:pointer;box-shadow:none!important}
html body .kha .kha-chip:hover,html body .kha .kha-chip:focus-visible{background:var(--kh4-mint)!important;color:var(--kh4-deep)!important;border-color:var(--kh4-green)!important}
.kha-identity{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:14px;padding-top:14px;border-top:1px dashed var(--kh4-line)}
.kha-identity .kha-msg{grid-column:1/-1}
.kha-msg:empty{display:none}
.kha-msg p{margin:10px 0 0}
html body .kha a.kha-pri{display:flex;align-items:center;justify-content:center;text-decoration:none}
@media(max-width:600px){
  html body #auth-card.kha{padding:14px!important}
  .kha-row{flex-direction:column}
  html body .kha .kha-pri,html body .kha .kha-chip{width:100%!important}
  .kha-done-act{width:100%}.kha-done-act .kha-chip{flex:1 1 0}
  .kha-identity{grid-template-columns:1fr}
  html body .kha .khs-otp{gap:8px}html body .kha .khs-otp input{height:54px!important;font-size:22px!important}
}
/* هدر: کاربر واردشده + خروج (khs-user) کنار «پیگیری»؛ در موبایل متن پیگیری حذف می‌شود تا جا باز شود. */
.public-head .khs-act{display:flex;align-items:center;gap:8px;min-width:0}
.public-head .khs-user{max-width:min(58vw,330px)}
@media(max-width:600px){.public-head .khs-act:has(.khs-user:not([hidden])) .kh-track span{display:none}.public-head .khs-act:has(.khs-user:not([hidden])) .kh-track{padding:7px 9px}.public-head:has(.khs-user:not([hidden])) .brand-copy{display:none}}


html body .kh-sec-services{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start}
html body .kh-sec-services>div{min-width:0;align-self:start!important;margin-block:0!important}
html body .kh-sec-services select{width:100%;max-width:100%;min-height:44px}
html body #service-addon-options{margin:10px 0 0;padding:8px;border:1px solid var(--line);border-radius:10px;gap:6px;min-width:0}
html body #service-addon-options legend{font-size:12px;color:var(--muted)}
html body #service-addon-options label{display:flex;align-items:center;gap:7px;min-height:44px;margin:0;line-height:1.7;font-size:13px}
html body #service-addon-options input{width:22px;min-width:22px;height:22px;margin:0;flex:none}
html body #service-addon-options label[aria-disabled=true]{opacity:.55}
html body .kh-sec-services #border-box{margin:0!important;padding:10px!important;box-shadow:none!important}
html body .kh-sec-services #border-box label{min-height:44px;line-height:1.8}
html body .kh-sec-services #is_border_only{flex:none;min-width:24px;min-height:24px}
html body .kh-sec-services #service-package-note{grid-column:1/-1}
html body .kh-sec-services:has(#service-package-box[style*="none"]):has(#border-box[style*="none"]){display:none}
html body .kh-sec-services:has(#service-package-box[style*="none"]) #service-package-note{display:none}
html body .kh-sec-services:has(#border-box[style*="none"]) #service-package-box,html body .kh-sec-services:has(#service-package-box[style*="none"]) #border-box{grid-column:1/-1}
html body .kh-sec-trip{grid-column:1/-1!important}
html body #step-form .people-counts:not(:has(#child-count-options[aria-hidden="false"]))>div:first-child{grid-column:1/-1}
html body #step-form .people-counts:has(#child-count-options[aria-hidden="false"]) label{min-height:62px;display:flex;align-items:center;line-height:1.7}
html body #step-form .people-counts:has(#child-count-options[aria-hidden="false"]){grid-template-columns:repeat(3,minmax(0,1fr))!important}
html body .kha #auth-reservations-btn,html body .kha #kha-edit-btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px!important;line-height:1.6!important;white-space:nowrap}
@media(max-width:480px){
 html body #step-form .people-counts{column-gap:6px!important}
 html body #step-form .people-counts:has(#child-count-options[aria-hidden="false"]) .kh-stepper{display:grid;grid-template-columns:1fr;grid-template-rows:44px 44px 44px;height:132px}
 html body #step-form .people-counts:has(#child-count-options[aria-hidden="false"]) .kh-step{width:100%!important;min-height:44px!important}
 html body #step-form .people-counts:has(#child-count-options[aria-hidden="false"]) label{min-height:62px;font-size:11px!important;display:flex;align-items:center;line-height:1.7}
 html body .kh-sec-services{gap:8px;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)}
 html body .kh-sec-services select{font-size:13px!important;padding-inline:8px!important}
}


/* KH-AI-131: ستارهٔ خودِ زائر (فقط‌نمایشی) */
.kh-mystars131-host[hidden]{display:none!important}
.kh-mystars131{display:inline-flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:4px;padding:4px 10px;border-radius:10px;background:#FFF8E6;border:1px solid #F0DFAE;color:#6B5312;font-size:12px;font-weight:600;line-height:1.5;max-width:100%}
.kh-mystars131-s{display:inline-flex;gap:2px;align-items:center}
.kh-mystars131-s svg{display:block;flex:0 0 auto}
h3+.kh-mystars131{margin:0 0 10px}


/* KH-AI-132: نشان فشردهٔ ستارهٔ خودِ زائر (★ × عدد) کنار نام؛ فقط‌نمایشی */
.kh-star132{display:inline-flex;align-items:center;gap:3px;direction:ltr;flex:none;position:relative;overflow:hidden;padding:2px 9px 2px 7px;border-radius:999px;background:linear-gradient(135deg,#FFFBEA,#FBEBB5);border:1px solid #E8CF82;color:#7A5A07;font-size:12px;font-weight:800;line-height:1.55;vertical-align:middle;white-space:nowrap;box-shadow:inset 0 1px 0 rgba(255,255,255,.85),0 1px 2px rgba(120,85,5,.16);cursor:default}
.kh-star132 svg{display:block;flex:none;filter:drop-shadow(0 .5px .6px rgba(140,95,5,.4))}
.kh-star132 i{font-style:normal;font-weight:700;font-size:10.5px;opacity:.72;line-height:1}
html body .kh-star132 b{display:inline!important;font-weight:900!important;font-size:12.5px!important;color:#6B4E05!important;max-width:none!important;overflow:visible!important}
.kh-star132:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(105deg,transparent 36%,rgba(255,255,255,.8) 50%,transparent 64%);transform:translateX(-130%);animation:khStarShine132 5s ease-in-out .7s infinite}
@keyframes khStarShine132{0%{transform:translateX(-130%)}24%,100%{transform:translateX(130%)}}
@media(prefers-reduced-motion:reduce){.kh-star132:after{animation:none}}
.kha-done-t132{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.kh-mystars131-host{display:inline-flex}
/* KH-AI-132: ورود با Google = دکمهٔ آیکونی کوچک زیر ورود با موبایل */
.kha-alt132{display:flex;align-items:center;justify-content:center;gap:10px;margin:12px 0 0;color:var(--kh4-faint);font-size:12px;min-height:44px}
.kha-alt132 .kha-google{display:flex;align-items:center}
html body .kha .kha-g.kha-g132{position:relative;flex:none;width:44px!important;min-width:44px!important;max-width:44px!important;height:44px!important;min-height:44px!important;padding:0!important;border-radius:50%!important;gap:0}
html body .kha .kha-g.kha-g132:disabled svg{filter:grayscale(1);opacity:.55}
.kha-g132 span{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}


/* KH-AI-130 — اصلاح چیدمان و یکدست‌سازی اندازه‌ها (فقط ظاهر؛ هیچ فیلد/شناسه/رفتاری تغییر نکرده است).
   این بلوک پس از لایه‌های قبلی می‌آید تا بر آن‌ها مقدم باشد. */
/* --- کارت «خدمات انتخابی سفر» --- */
html body .kh-sec-services{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:14px;align-items:stretch}
html body .kh-sec-services>#service-package-box>label{display:block;margin:0 0 6px}
html body .kh-sec-services select{min-height:48px;text-overflow:ellipsis}
html body .kh-sec-services #service-base-desc{margin:8px 0 0}
html body .kh-sec-services #border-box{display:flex;flex-direction:column;justify-content:center;border-radius:12px!important;padding:12px 14px!important;align-self:start!important;margin-top:27px!important}
html body .kh-sec-services #border-box[style*="display: none"],html body .kh-sec-services #border-box[style*="display:none"]{display:none!important}
html body .kh-sec-services #border-box label{align-items:flex-start!important;gap:10px!important;min-height:0;line-height:1.9;font-size:13.5px}
html body .kh-sec-services #is_border_only{width:22px!important;height:22px!important;min-width:22px!important;min-height:22px!important;margin:3px 0 0!important;flex:none}
html body .kh-sec-services #border-desc{margin:6px 32px 0 0!important}
html body .kh-sec-services #border-desc:empty{display:none}
html body .kh130-price{margin:10px 0 0;padding:12px 14px;border:1px solid #CFE3D8;border-radius:12px;background:#F4FAF6}
html body .kh130-price[hidden]{display:none}
html body .kh130-price-main{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap}
html body .kh130-price-main span{font-size:12.5px;color:var(--muted,#5D6E66);min-width:0}
html body .kh130-price-main b{font-size:18px;font-weight:800;color:var(--primary,#176B55);white-space:nowrap}
html body .kh130-price-list{list-style:none;margin:10px 0 0;padding:8px 0 0;border-top:1px dashed #CFE3D8;display:grid;gap:2px}
html body .kh130-price-list li{display:flex;align-items:baseline;justify-content:space-between;gap:10px;padding:5px 8px;border-radius:8px;font-size:12.5px;line-height:1.7;color:#42524B}
html body .kh130-price-list li span{min-width:0}
html body .kh130-price-list li b{font-weight:700;white-space:nowrap;color:#17352D}
html body .kh130-price-list li.on{background:#E4F2EA;color:#0A3D2E}
html body .kh130-price-list li.on b{color:#0A3D2E}
html body .kh130-price small{display:block;margin-top:8px;font-size:11.5px;line-height:1.8;color:var(--muted,#5D6E66)}
/* --- متن حقوقی زیر واریزی و اطلاعیهٔ گروه --- */
html body .kh130-legal{margin:10px 0 0;padding:10px 12px;border:1px solid #EBDDB8;border-radius:10px;background:#FBF6E9;text-align:right}
html body .kh130-legal p{margin:0;font-size:12.5px;line-height:1.95;color:#4A3A12}
html body .kh130-legal p+p{margin-top:4px}
html body .kh130-group{text-align:right!important}
html body .kh130-group-text{margin:0;font-size:13px;line-height:2;color:#3D3110}
html body .kh130-group-row{display:flex;margin:10px 0 2px}
html body .kh130-group-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:46px;padding:10px 22px;border-radius:10px;background:linear-gradient(135deg,#0088cc,#00c26e);color:#fff!important;font-weight:700;font-size:14px;text-decoration:none;line-height:1.5}
html body .kh130-group #grp-tpl{display:block;width:100%;margin-top:10px!important}
html body .kh130-group button.secondary{margin-top:8px}
/* --- ردیف دکمه‌های مرحله‌ها: دو دکمهٔ هم‌اندازه و هم‌تراز --- */
html body #pax-stage-actions,html body #quote-stage-actions{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1.35fr);gap:10px;align-items:stretch}
html body #pax-stage-actions[style*="display: none"],html body #quote-stage-actions[style*="display: none"],html body #pax-stage-actions[style*="display:none"],html body #quote-stage-actions[style*="display:none"]{display:none!important}
html body #pax-stage-actions>div,html body #quote-stage-actions>div{min-width:0;display:flex;margin:0!important}
html body #pax-stage-actions>div>button,html body #quote-stage-actions>div>button{width:100%!important;min-height:52px!important;height:100%;margin:0!important;padding:10px 12px!important;font-size:14px!important;line-height:1.5!important;display:inline-flex;align-items:center;justify-content:center;gap:6px;white-space:normal;box-sizing:border-box}
html body .final-confirm-actions{align-items:stretch}
html body .final-confirm-actions>button{min-height:52px!important;margin:0!important;display:inline-flex;align-items:center;justify-content:center;line-height:1.5!important;box-sizing:border-box}
/* --- اندازهٔ یکسان فیلدها --- */
html body #step-form input:not([type=checkbox]):not([type=radio]):not([type=file]):not(.kh-step-in),html body #step-form select,html body #step-pax input:not([type=checkbox]):not([type=radio]):not([type=file]),html body #step-pax select,html body #step-quote input:not([type=checkbox]):not([type=radio]):not([type=file]),html body #step-quote select,html body #step-pay input:not([type=checkbox]):not([type=radio]):not([type=file]),html body #step-pay select{min-height:48px;box-sizing:border-box;font-size:15px}
html body #step-form #group_link_code::placeholder,html body #step-form #leader_notes::placeholder{font-size:13px}
html body #step-form #leader_notes{min-height:104px!important;height:auto!important;line-height:1.9!important;font-size:14px!important;padding-block:10px!important;box-sizing:border-box;resize:vertical}
html body #step-form .kh-opt>label{margin-top:0!important}
html body #leader-fields .row>div>small{display:block;margin-top:5px;line-height:1.8}
html body #step-pax input[type=checkbox],html body #step-form #agree_all{width:22px!important;height:22px!important;min-width:22px;flex:none}
html body #pre-pay-box .row,html body #step-pay .row{align-items:start}
html body #pp_preview:empty,html body #up_preview:empty{display:none!important;margin:0!important}
html body #step-quote input[type=file],html body #step-pay input[type=file]{width:100%;max-width:100%;box-sizing:border-box;min-height:48px;font-size:13px}
html body #step-pay>button{min-height:50px;margin-top:10px}
html body .done-actions .done-action{min-height:52px;box-sizing:border-box}
@media(max-width:640px){
 html body .kh-sec-services{grid-template-columns:minmax(0,1fr)!important;gap:10px}
 html body .kh-sec-services select{font-size:14px!important;padding-inline:12px!important}
 html body .kh-sec-services #border-box{margin-top:0!important}
 html body #leader-fields .row{row-gap:14px}
 html body #pax-stage-actions,html body #quote-stage-actions{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}
 html body #pax-stage-actions>div>button,html body #quote-stage-actions>div>button{font-size:13px!important;padding:8px 6px!important}
 html body .kh130-group-row{display:block}
 html body .kh130-group-btn{display:flex;width:100%;box-sizing:border-box}
 html body .kh130-group button.secondary{width:100%;min-height:46px}
 html body .kh130-price-main b{font-size:17px}
}
/* ===== KH-AI-134 — صفحهٔ موفقیت ثبت‌نام (بلیت سفر) ===== */
html body #step-done:has(.khd134){text-align:right!important}
html body #done-box .khd134{--d-deep:#073F32;--d-deep2:#0A4A3A;--d-gold:#CFA24A;--d-gold-l:#F2D99E;--d-ivory:#FBF8F1;--d-line:#E6E0CF;--d-ink:#13241C;--d-muted:#5D6E66;text-align:right;color:var(--d-ink)}
html body #done-box .khd134-hero{position:relative;overflow:hidden;text-align:center;color:#fff;background-color:var(--d-deep);background-image:radial-gradient(120% 90% at 50% 0,rgba(207,162,74,.20),transparent 60%),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cg fill='none' stroke='%23CFA24A' stroke-opacity='.16' stroke-width='1'%3E%3Crect x='16' y='16' width='24' height='24'/%3E%3Crect x='16' y='16' width='24' height='24' transform='rotate(45 28 28)'/%3E%3C/g%3E%3C/svg%3E");border-radius:18px;padding:26px 18px 22px;margin:0 0 14px;box-shadow:inset 0 -4px 0 var(--d-gold)}
html body #done-box .khd134-seal{display:inline-block;width:64px;height:64px;filter:drop-shadow(0 6px 14px rgba(0,0,0,.28))}
html body #done-box .khd134-seal svg{display:block}
@media (prefers-reduced-motion:no-preference){html body #done-box .khd134-seal{animation:khd134seal .7s cubic-bezier(.16,1,.3,1) both}@keyframes khd134seal{from{transform:scale(.55) rotate(-45deg);opacity:0}to{transform:none;opacity:1}}}
html body #done-box .khd134-title{margin:10px 0 2px;color:#fff!important;font-size:clamp(19px,4.6vw,24px);font-weight:800;line-height:1.6;border:0;padding:0}
html body #done-box .khd134-trip{margin:0 0 14px;color:var(--d-gold-l);font-size:14px;font-weight:600;line-height:1.8}
html body #done-box .khd134-code{display:inline-flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:center;max-width:100%;box-sizing:border-box;background:var(--d-ivory);border:1.5px dashed var(--d-gold);border-radius:14px;padding:9px 10px 9px 16px;color:var(--d-ink)}
html body #done-box .khd134-code-lbl{font-size:12.5px;color:#7A5716;font-weight:700}
html body #done-box .khd134-code-val{font-size:26px;font-weight:800;letter-spacing:2px;color:var(--d-deep);line-height:1.3;word-break:break-all}
html body #done-box .khd134-code .copy-reservation{display:inline-flex!important;align-items:center;gap:5px;width:auto!important;min-height:36px!important;margin:0!important;padding:5px 12px!important;font-size:12px!important;border-radius:10px!important;background:var(--d-deep)!important;color:#fff!important;border:0!important}
html body #done-box .khd134-alert{margin:0 0 12px;background:#fff8e6;border:1px solid #e0b23c;border-radius:12px;text-align:right;line-height:1.9}
html body #done-box .khd134-ticket{display:grid;grid-template-columns:minmax(0,1fr) 220px;grid-template-areas:"info stub" "money money";background:#fff;border:1px solid var(--d-line);border-radius:18px;box-shadow:0 1px 2px rgba(7,63,50,.05),0 18px 40px -30px rgba(7,63,50,.5);overflow:hidden}
html body #done-box .khd134-ticket.no-qr{grid-template-columns:minmax(0,1fr);grid-template-areas:"info" "money"}
html body #done-box .khd134-info{grid-area:info;padding:16px 18px 14px;min-width:0}
html body #done-box .khd134-row{display:grid;grid-template-columns:32px 104px minmax(0,1fr);align-items:center;gap:10px;padding:8px 0;border-bottom:1px solid #F0EDE4}
html body #done-box .khd134-row:last-of-type{border-bottom:0}
html body #done-box .khd134-ico{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:9px;background:#EAF5EF;color:var(--d-deep)}
html body #done-box .khd134-lbl{font-size:12.5px;color:var(--d-muted)}
html body #done-box .khd134-val{font-size:14px;font-weight:700;color:var(--d-ink);line-height:1.7;min-width:0;overflow-wrap:anywhere}
html body #done-box .khd134-val small{font-weight:500;color:var(--d-muted);font-size:12px}
html body #done-box .khd134-status .khd134-val{display:inline-block;justify-self:start;background:#FBF4E4;color:#7A5716;border:1px solid #EEDCB4;border-radius:8px;padding:2px 10px;font-size:12.5px}
html body #done-box .khd134-people{margin-top:10px;padding-top:10px;border-top:1px solid #F0EDE4}
html body #done-box .khd134-people>b{font-size:12.5px;color:var(--d-muted);font-weight:600}
html body #done-box .khd134-people ol{list-style:none;margin:6px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:6px}
html body #done-box .khd134-people li{display:inline-flex;align-items:center;gap:7px;padding:5px 10px 5px 12px;border:1px solid var(--d-line);border-radius:999px;background:var(--d-ivory);font-size:13px;font-weight:600}
html body #done-box .khd134-n{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;border-radius:50%;background:var(--d-deep);color:#fff;font-size:11px}
html body #done-box .khd134-stub{grid-area:stub;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:18px 14px;background:var(--d-ivory);border-inline-start:2px dashed #D9CFB4}
html body #done-box .khd134-stub::before,html body #done-box .khd134-stub::after{content:"";position:absolute;inset-inline-start:-12px;width:22px;height:22px;border-radius:50%;background:#fff;border:1px solid var(--d-line)}
html body #done-box .khd134-stub::before{top:-12px}html body #done-box .khd134-stub::after{bottom:-12px}
html body #done-box .khd134-stub img{width:168px;height:168px;max-width:100%;image-rendering:pixelated;background:#fff;border:1px solid var(--d-line);border-radius:12px;padding:6px;box-sizing:border-box}
html body #done-box .khd134-stub-cap{font-size:11.5px;color:var(--d-muted);text-align:center;line-height:1.7}
html body #done-box .khd134-money{grid-area:money;padding:14px 18px 16px;background:#FBF4E4;border-top:1px solid #EEDCB4}
html body #done-box .khd134-mrow{display:flex;align-items:baseline;justify-content:space-between;gap:10px;padding:4px 0;font-size:13.5px}
html body #done-box .khd134-mrow b{font-size:15px;font-weight:800;color:var(--d-ink);white-space:nowrap}
html body #done-box .khd134-remain{margin-top:4px;padding-top:8px;border-top:1px dashed #E2CC98}
html body #done-box .khd134-remain b{font-size:17px}
html body #done-box .khd134 b.ok,html body #done-box .khd134-mnote.ok{color:#1F6E43!important}
html body #done-box .khd134 b.due{color:#B3322B!important}
html body #done-box .khd134-mnote{font-size:12.5px;color:#7A5716;padding:2px 0;display:flex;align-items:center;gap:5px}
html body #done-box .khd134-money .kh130-legal{margin-top:10px}
html body #done-box .khd134-group{margin-top:14px!important;padding:16px!important;border:1px solid #E6CF8F!important;background:#FFF9EA!important;border-radius:16px!important;text-align:right!important}
html body #done-box .khd134-group .kh130-group-row{display:block;margin:12px 0 0}
html body #done-box .khd134-group .kh130-group-btn{display:flex;width:100%;box-sizing:border-box;min-height:52px;border-radius:12px;background:var(--d-deep,#073F32);color:#fff!important;box-shadow:inset 0 -3px 0 #CFA24A;font-size:15px;font-weight:800}
html body #done-box .khd134-group .kh130-group-btn svg{color:#F2D99E}
html body #done-box .khd134-group #grp-tpl{display:block;width:100%;box-sizing:border-box;margin-top:10px!important;font-size:12px!important;background:#fff;border-radius:10px}
html body #done-box .khd134-group .khd134-copy-invite{display:flex!important;align-items:center;justify-content:center;gap:6px;width:100%!important;min-height:50px!important;margin:8px 0 0!important;box-sizing:border-box;border-radius:12px!important;background:#fff!important;color:#073F32!important;border:1.5px solid #073F32!important;font-weight:800!important;font-size:14px!important}
html body #done-box .khd134-group #grp-copied{display:block;margin-top:6px;text-align:center}
/* KH-AI-134: رفع دو اشکال قدیمی صفحهٔ فهرست انتظار — دکمه‌های پنهان‌شده با !important دوباره دیده می‌شدند و شکست سطرهای «سفر مورد درخواست» حذف شده بود */
html body #step-done .done-action[style*="display: none"],html body #step-done .done-action[style*="display:none"]{display:none!important}
html body #done-box>div.waitlist-trip-facts>br{display:inline}
html body #done-box .waitlist-result .waitlist-code{unicode-bidi:plaintext}
@media(max-width:640px){
 html body #done-box .khd134-hero{padding:22px 14px 18px;border-radius:16px}
 html body #done-box .khd134-code{flex-direction:column;gap:4px;padding:10px 14px;width:100%}
 html body #done-box .khd134-code-val{font-size:24px}
 html body #done-box .khd134-ticket{grid-template-columns:minmax(0,1fr);grid-template-areas:"info" "stub" "money"}
 html body #done-box .khd134-info{padding:12px 14px}
 html body #done-box .khd134-row{grid-template-columns:30px 92px minmax(0,1fr);gap:8px}
 html body #done-box .khd134-ico{width:30px;height:30px}
 html body #done-box .khd134-stub{border-inline-start:0;border-top:2px dashed #D9CFB4}
 html body #done-box .khd134-stub::before,html body #done-box .khd134-stub::after{top:-12px;bottom:auto}
 html body #done-box .khd134-stub::before{inset-inline-start:-12px}html body #done-box .khd134-stub::after{inset-inline-start:auto;inset-inline-end:-12px}
 html body #done-box .khd134-stub img{width:184px;height:184px}
 html body #done-box .khd134-money{padding:12px 14px 14px}
}


html body .kh-sr-only141{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%);white-space:nowrap}
html body .kha-auth-row141{display:flex;align-items:center;gap:12px;max-width:620px;margin-inline:auto}
html body .kha-auth-row141>.kha-row{flex:1;min-width:0;margin:0!important}
html body .kha-auth-row141>.kha-alt132{flex:0 0 auto;margin:0!important}
html body #step-form .kh-sec-count>h3{margin-bottom:6px!important}
html body .kh-sec-count .people-counts{margin-top:0!important;gap:12px!important}
html body .kh-sec-count .people-counts label{margin-block:0 6px!important}
html body #step-form .kh-sec-services{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;align-items:start!important}
html body #step-form .kh-sec-services #service-package-box{grid-column:1!important;grid-row:1!important;min-width:0}
html body #step-form .kh-service-side142{grid-column:2!important;grid-row:1!important;display:flex;flex-direction:column;gap:12px;min-width:0}
html body #step-form .kh-service-side142>#border-box{width:100%!important;max-width:100%!important;box-sizing:border-box!important;align-self:stretch!important;margin:0!important}
html body #step-form .kh-service-side142>.kh-sec-trip{display:block!important;width:auto!important;min-width:0;grid-column:auto!important;margin:0!important;padding:12px!important}
html body #step-form .kh-sec-services>#service-package-note{grid-column:1/-1!important}
@media(max-width:700px){html body #step-form .kh-sec-services{grid-template-columns:minmax(0,1fr)!important}html body #step-form .kh-service-side142{grid-column:1!important;grid-row:auto!important}}
html body .kh-sec-services #border-box{grid-column:2;grid-row:1}
html body .kh-sec-services>.kh-sec-trip{grid-column:2;grid-row:2;padding:12px!important;margin:0!important}
html body .kh-opt-grid{align-items:stretch!important;gap:16px!important}
html body .kh-opt-grid .kh-opt>label{margin-block:0 6px!important}
html body #step-form .kh-opt-grid #leader_notes{min-height:64px!important;height:64px!important;margin-top:auto!important}
@media(max-width:700px){html body .kh-sec-services{grid-template-columns:1fr!important}html body .kh-sec-services #service-package-box,html body .kh-sec-services #border-box,html body .kh-sec-services>.kh-sec-trip{grid-column:1!important;grid-row:auto}html body .kha-auth-row141{gap:8px}html body .kha-auth-row141 .kha-row{gap:6px}}


html body .public-head .brand-copy b,html body .public-head .khs-who b,html body .public-head a.kh-track{color:#fff!important}
html body .public-head .khs-who small{color:#cfe3da!important}


/* PF-UI proposal — فقط چیدمان/فاصله/تراز/اندازه؛ بدون هیچ تغییر عملکردی. این بلوک باید آخرین <style> باشد. */
:root{--pf-gap:16px;--pf-gap-s:12px;--pf-field:48px}
/* --- ۱. «تعداد نفرات»: لیبل‌ها بدون ارتفاع ثابت ۶۲px؛ فاصلهٔ لیبل تا شمارنده یکسان --- */
html body #step-form .people-counts:has(#child-count-options[aria-hidden="false"]) label{min-height:0;align-items:flex-end}
html body #step-form .people-counts>div,html body #step-form .child-count-options>div{display:flex;flex-direction:column;justify-content:flex-end}
html body #leader-fields .row{row-gap:var(--pf-gap)!important}
html body #step-form .kh-sec>h3{margin:0 0 var(--pf-gap-s)!important}
html body #step-form .kh-sec-count .people-counts{gap:var(--pf-gap-s) var(--pf-gap)!important}
html body #step-form .kh-count-foot{margin-top:var(--pf-gap-s)}
/* --- ۲. کارت «خدمات سفر»: حذف ردیف خالیِ یادداشت، همترازی دو ستون، حذف فاصلهٔ مرده --- */
html body #service-package-note:empty{display:none}
html body .kh-sec-services{align-items:start}
html body .kh-sec-services #service-base-desc:empty{display:none}
html body #step-form .kh-service-side142>#border-box{margin:0!important;align-self:stretch}
html body #step-form .kh-service-side142{align-self:stretch!important}
html body #step-form .kh-service-side142>.kh-sec-trip{flex:1 1 auto;display:flex!important;flex-direction:column;justify-content:center}
html body #step-form .kh-sec .boarding-card>h3{display:block!important;font-size:14px;line-height:1.8}
html body #step-form .boarding-card>h3>.kh-h-ic,html body #step-form .boarding-card>h3::before{float:inline-start;margin-inline-end:10px}
/* --- ۳. «همراه/توضیحات»: لیبل، راهنما و فیلد هر دو ستون در یک خط افقی --- */
html body .kh-opt-grid{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:auto auto auto;column-gap:var(--pf-gap);row-gap:0;align-items:start!important}
html body .kh-opt-grid>.kh-opt{display:grid;grid-template-rows:subgrid;grid-row:span 3;row-gap:6px}
html body .kh-opt-grid>.kh-opt>label{grid-row:1;margin:0!important}
html body .kh-opt-grid>.kh-opt>p{grid-row:2;margin:0!important}
html body .kh-opt-grid>.kh-opt>input,html body .kh-opt-grid>.kh-opt>textarea,html body #step-form .kh-opt-grid #leader_notes{grid-row:3;margin:0!important;min-height:var(--pf-field)!important;height:var(--pf-field)!important;box-sizing:border-box;resize:vertical}
/* KH-UI-152: توضیحات: یک خط ۴۸px؛ با تایپ چندخطی خودکار بزرگ می‌شود (field-sizing؛ در مرورگر بی‌پشتیبانی همان ۴۸px با دستگیرهٔ تغییر اندازه) */
@supports (field-sizing:content){html body #step-form .kh-opt-grid #leader_notes{field-sizing:content;height:auto!important;max-height:160px;overflow-y:auto}}
html body .kh-opt-grid>.kh-opt:first-child>input{margin:0!important}
/* --- ۴. ردیف توافق + دکمهٔ ادامه: هم‌قد و هم‌تراز --- */
html body .kh-submit{align-items:stretch!important;grid-template-columns:minmax(0,1fr)!important;gap:var(--pf-gap-s)}
html body #agree-card{margin:0!important;min-height:52px;box-sizing:border-box;align-items:center;padding:10px 16px!important}
html body #pax-btn{margin:0!important;min-height:52px!important;width:100%}
/* --- ۵. کارت ورود: حذف فاصلهٔ بالای عنوان، گوگل زیر دکمه (نه کنار ستون) --- */
html body #auth-card #auth-title{margin:0 0 8px!important}
html body #auth-card .kha-v-title,html body #auth-card .kha-lead{margin-top:0}
html body #auth-card .kha-wrap{max-width:none}
html body .kha-auth-row141{max-width:none;margin-inline:0}
html body .kha-otp-foot{min-height:0}
/* --- ۵ب. مرحلهٔ کد ۵ رقمی: عرض متعادل به‌جای پخش‌شدن ۵ خانه در تمام عرض --- */
html body #kha-v-otp{max-width:480px;margin-inline:auto}
/* --- ۵پ. فهرست کاروان‌ها: در دسکتاپ دو ستون تا وسطِ خالیِ کارت‌ها پر شود؛ بلوک بالای قهرمان بدون شکاف --- */
/* KH-UI-152: دو ستون از ۹۰۰px؛ در ۷۲۰–۸۹۹ کارت‌ها در دو ستون تنگ می‌شوند (عنوان شکسته/بریده) پس یک ستون می‌مانند */
@media(min-width:900px){
 html body #caravans.caravan-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:var(--pf-gap-s)!important;align-items:stretch}
 html body #caravans.caravan-grid>.caravan-card{height:100%;box-sizing:border-box}
}
html body .kh-lead{justify-content:center;gap:28px}
/* --- ۵ت. KH-UI-152: انتخاب جانمایی اتوبوس (دسکتاپ): نقشه و پنل کنار هم و وسط‌چین، بدون فضای مردهٔ ۶۰۰px؛ شمارندهٔ «صندلی انتخاب‌شده» هنگام اسکرول کنار نقشه می‌ماند --- */
@media(min-width:1000px){
 html body #seat-pref-box:not([style*="none"]){grid-template-columns:minmax(0,380px) minmax(340px,420px)!important;justify-content:center;column-gap:56px}
 html body #seat-pref-passenger{position:sticky;top:16px;align-self:start}
 /* sticky نیاز دارد html/body «پیمایش‌گر» نباشند؛ clip همچنان از اسکرول افقی جلوگیری می‌کند */
 html,html body{overflow-x:clip!important;overflow-y:visible!important}
}
/* --- ۶. اطلاعات زائران: ردیف آخر روی همان ستون‌های ۱۲‌تایی --- */
@media(min-width:901px){
 html body .passenger-card-body.kh-grid>.kh-f[data-f="F-P10"]{grid-column:span 4}
 html body .passenger-card-body.kh-grid>.kh-f[data-f="F-P11"]{grid-column:span 8}
 html body .passenger-card-body.kh-grid>.kh-f[data-f="F-P12"]{grid-column:span 4}
}
/* --- ۸. پیش‌فاکتور/پرداخت: فاصلهٔ عمودی یکسان، حساب‌های بانکی دو ستونه، دکمه‌ها هم‌قد --- */
html body #step-quote>*:not(#pf-x),html body #step-pay>*:not(#pf-x){margin-top:0!important;margin-bottom:0!important}
html body #step-quote>*+*:not(#pf-x),html body #step-pay>*+*:not(#pf-x){margin-top:var(--pf-gap-s)!important}
html body #step-quote>h2+*:not(#pf-x),html body #step-pay>h2+*:not(#pf-x){margin-top:var(--pf-gap)!important}
html body #step-quote #pre-pay-box:not([style*="display: none"]):not([style*="display:none"]){margin:var(--pf-gap-s) 0 0!important}
html body #step-quote #pre-pay-box:not([style*="display: none"]):not([style*="display:none"]) .row{margin:0!important}
html body #quote-msg:empty,html body #submit-msg:empty,html body #pay-msg:empty,html body #balance-box:empty,html body #pp_preview:empty,html body #up_preview:empty,html body #form-msg:empty,html body #pax-msg:empty{display:none!important}
html body #step-quote #quote-box>.passenger-block{margin:0 0 var(--pf-gap-s)}
html body #step-quote #quote-box>.passenger-block:last-child:not(#pf-x){margin-bottom:0!important}
html body #benefit-toggle{align-self:flex-start;margin:0!important}
html body #benefit-apply-btn{min-height:var(--pf-field);margin:var(--pf-gap-s) 0 0}
html body #bank-accounts-box,html body #bank-accounts-box2{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:var(--pf-gap-s)}
html body #bank-accounts-box>:not(.passenger-block),html body #bank-accounts-box2>:not(.passenger-block){grid-column:1/-1;margin:0}
html body #bank-accounts-box>.passenger-block,html body #bank-accounts-box2>.passenger-block{margin:0!important;height:auto}
/* درخواست مالک: یک حساب تنها، تمام‌عرض (نه نیمه راست شبکه دو ستونه). */
html body #bank-accounts-box>.passenger-block:first-of-type:last-of-type,html body #bank-accounts-box2>.passenger-block:first-of-type:last-of-type{grid-column:1/-1}
html body #step-pay .row{margin:0;gap:var(--pf-gap)}
html body #pre-pay-box .row{gap:var(--pf-gap)}
html body #step-pay .row+.row:not(#pf-x){margin-top:var(--pf-gap-s)!important}
/* --- ۹. رزروهای من: دکمه‌ها هم‌قد؛ کارت‌ها بدون تو در تو اضافه --- */
html body #done-box>.card>.passenger-block>button.secondary{min-height:44px;margin:8px 8px 0 0;box-sizing:border-box;vertical-align:middle}
html body #done-box>.card>h4,html body #done-box>.card>h3{margin:0 0 var(--pf-gap-s)}
html body #done-box>.card>.passenger-block{margin:0 0 var(--pf-gap-s)}
/* --- ۱۰. موبایل: حذف لایه‌های تو در توی خالی تا فیلدها عریض‌تر شوند --- */
@media(max-width:640px){
 html body .container{padding:10px 8px 24px!important}
 html body #step-form,html body #step-pax,html body #step-quote,html body #step-pay,html body #step-done{padding:12px!important}
 html body #step-form .kh-sec,html body #step-form .kh-opt-grid{padding:14px!important}
 html body #auth-card.kha{padding:14px!important}
 html body #step-form .people-counts,html body #step-form .people-counts:has(#child-count-options[aria-hidden="false"]){grid-template-columns:1fr!important}
 html body #step-form .people-counts:has(#child-count-options[aria-hidden="false"]) .child-count-options{display:contents!important}
 html body #step-form .people-counts>div,html body #step-form .child-count-options>div{flex-direction:row;align-items:center;justify-content:space-between;gap:12px}
 html body #step-form .people-counts label,html body #step-form .people-counts:has(#child-count-options[aria-hidden="false"]) label{flex:1;min-height:0;font-size:13px!important;margin:0!important;align-items:center}
 html body #step-form .people-counts .kh-stepper,html body #step-form .people-counts:has(#child-count-options[aria-hidden="false"]) .kh-stepper{display:flex;grid-template-rows:none;flex:0 0 148px;width:148px;height:var(--pf-field)}
 html body #step-form .people-counts:has(#child-count-options[aria-hidden="false"]) .kh-step{width:44px!important;min-height:0!important}
 html body #step-form .boarding-card h3{display:block}
 html body .kha-auth-row141{flex-direction:column;align-items:stretch;gap:10px}
 html body .kha-auth-row141>.kha-alt132{justify-content:center}
 html body #benefit-apply-btn{width:100%}
 html body #leader-fields .row,html body #step-pay .row{display:grid;grid-template-columns:minmax(0,1fr);row-gap:var(--pf-gap)}
 html body #leader-fields .row>div,html body #step-pay .row>div{margin:0!important}
 html body .kh-opt-grid{grid-template-columns:1fr;grid-template-rows:none}
 html body .kh-opt-grid>.kh-opt{display:flex;flex-direction:column;grid-row:auto;gap:6px}
 html body .kh-opt-grid>.kh-opt+.kh-opt{margin-top:var(--pf-gap)}
 html body #step-form .kh-opt-grid #leader_notes{height:72px!important;min-height:72px!important}
 html body #done-box>.card>.passenger-block>button.secondary{width:100%;margin:8px 0 0}
 html body #done-box>.card{padding:12px!important}
 html body #bank-accounts-box>.passenger-block,html body #bank-accounts-box2>.passenger-block{padding:12px!important}
}
html.kh-track-login #step-form>:not(#auth-card){display:none!important}
html.kh-my-reservations #done-pay-btn,html.kh-my-reservations #done-download-btn{display:none!important}

/* Empty public journey remains legible on its branded hero background. */
html body #step-list.kh-no-trips .journey-intro h1{color:#fff!important;font-size:clamp(18px,3vw,24px)!important;line-height:1.8}
