.ksr-wrap{max-width:880px;margin:30px auto;padding:24px;border-radius:26px;background:linear-gradient(145deg,#fff,#f8fafc);border:1px solid #e5e7eb;box-shadow:0 20px 60px rgba(15,23,42,.09);font-family:inherit;color:#111827}.ksr-head{text-align:center;margin-bottom:20px}.ksr-head h2{font-size:clamp(23px,4vw,36px);margin:10px 0}.ksr-head p{color:#64748b;line-height:1.9;margin:0}.ksr-badge{display:inline-flex;background:#fff2e8;color:#f26500;border:1px solid #ffd8bd;padding:7px 14px;border-radius:999px;font-weight:900}.ksr-progress{height:7px;background:#eef2f7;border-radius:20px;overflow:hidden}.ksr-progress span{display:block;height:100%;width:20%;background:linear-gradient(90deg,#f26500,#ff9b4a);transition:.3s}.ksr-progress-text{display:flex;justify-content:space-between;margin:8px 2px 15px;color:#64748b;font-size:13px}.ksr-form{background:#fff;border:1px solid #edf0f4;border-radius:20px;padding:22px}.ksr-step{display:none;animation:ksrFade .25s ease}.ksr-step.is-active{display:block}.ksr-step h3{margin:0 0 5px;font-size:24px}.ksr-help{margin:0 0 18px;color:#64748b}.ksr-service-grid,.ksr-area-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ksr-choice{display:block;cursor:pointer}.ksr-choice input{position:absolute;opacity:0;pointer-events:none}.ksr-choice span{display:flex;align-items:center;min-height:52px;padding:11px 13px;border:1px solid #dfe5ec;border-radius:13px;background:#fbfdff;font-weight:750;transition:.18s}.ksr-choice span:before{content:'✓';display:grid;place-items:center;width:22px;height:22px;margin-left:9px;border:2px solid #cbd5e1;border-radius:7px;color:transparent;font-size:13px}.ksr-choice:hover span{border-color:#f6a46d}.ksr-choice.is-selected span,.ksr-choice input:checked+span{border-color:#f26500;background:#fff7f1;box-shadow:0 0 0 3px rgba(242,101,0,.08)}.ksr-choice.is-selected span:before,.ksr-choice input:checked+span:before{background:#f26500;border-color:#f26500;color:#fff}.ksr-choice-wide{margin-bottom:9px}.ksr-condition-group{display:none}.ksr-condition-group.is-visible{display:block}.ksr-field{display:flex;flex-direction:column;gap:7px;margin-top:15px;font-weight:800;color:#334155}.ksr-field input,.ksr-field textarea,.ksr-track-form input{width:100%;box-sizing:border-box;border:1px solid #dbe2ea;background:#fbfdff;border-radius:12px;padding:12px 14px;font:inherit;outline:none}.ksr-field input:focus,.ksr-field textarea:focus,.ksr-track-form input:focus{border-color:#f26500;box-shadow:0 0 0 4px rgba(242,101,0,.1);background:#fff}.ksr-contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.ksr-upload{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:115px;border:2px dashed #f3b184;border-radius:16px;background:#fff9f5;cursor:pointer}.ksr-upload input{display:none}.ksr-upload strong{font-size:18px;color:#e85d00}.ksr-upload small{color:#64748b}.ksr-file-list{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px}.ksr-file-list span{font-size:12px;background:#f1f5f9;padding:5px 9px;border-radius:8px}.ksr-consent{display:flex;align-items:center;gap:8px;margin:18px 0;color:#475569}.ksr-consent input{width:18px;height:18px;accent-color:#f26500}.ksr-nav{display:flex;gap:10px;margin-top:20px}.ksr-next,.ksr-submit,.ksr-back{border:0;border-radius:13px;padding:13px 18px;font:inherit;font-weight:900;cursor:pointer;justify-content:center;align-items:center}.ksr-next,.ksr-submit{flex:1;background:linear-gradient(135deg,#f26500,#ff8b2b);color:#fff;box-shadow:0 10px 25px rgba(242,101,0,.22)}.ksr-back{background:#eef2f7;color:#475569}.ksr-submit{display:none}.ksr-result{display:none;margin-top:15px;padding:14px;border-radius:12px;text-align:center}.ksr-result.is-loading,.ksr-result.is-success,.ksr-result.is-error{display:block}.ksr-result.is-loading{background:#eff6ff;color:#1d4ed8}.ksr-result.is-success{background:#ecfdf5;color:#047857;border:1px solid #a7f3d0}.ksr-result.is-error,.ksr-track-error{background:#fef2f2;color:#b91c1c;border:1px solid #fecaca;padding:14px;border-radius:12px}.ksr-track-form{display:grid;grid-template-columns:1fr 1fr auto;gap:12px}.ksr-track-card{margin-top:18px;padding:18px;border-radius:14px;background:#f8fafc;border:1px solid #e2e8f0}.ksr-bid{padding:15px;background:#fff;border:1px solid #e5e7eb;border-radius:13px;margin-top:10px}@keyframes ksrFade{from{opacity:.2;transform:translateY(5px)}to{opacity:1;transform:none}}@media(max-width:700px){.ksr-wrap{margin:14px 8px;padding:13px;border-radius:18px}.ksr-form{padding:15px}.ksr-service-grid,.ksr-area-grid,.ksr-contact-grid{grid-template-columns:1fr}.ksr-track-form{grid-template-columns:1fr}.ksr-step h3{font-size:21px}.ksr-choice span{min-height:48px}.ksr-nav{position:sticky;bottom:8px;background:rgba(255,255,255,.95);padding-top:8px}.ksr-back{padding-inline:12px}}
.ksr-location-box{margin-top:14px;padding:14px;border:1px solid #e5e7eb;border-radius:14px;background:#fafafa}.ksr-location-title{display:flex;flex-direction:column;gap:3px;margin-bottom:10px}.ksr-location-title small{color:#6b7280}.ksr-location-btn{border:0;border-radius:10px;padding:10px 13px;background:#eef2ff;color:#3730a3;font-weight:700;cursor:pointer;margin-bottom:10px}.ksr-map{height:280px;border-radius:12px;overflow:hidden;background:#e5e7eb}.ksr-location-status{font-size:13px;color:#6b7280;margin:8px 0 0}.ksr-location-status.is-set{color:#047857;font-weight:700}
.ksr-map-loading,.ksr-map-fallback{min-height:220px;display:grid;place-items:center;text-align:center;padding:20px;color:#64748b;background:#f8fafc;border:1px dashed #cbd5e1;border-radius:14px}.ksr-map-fallback{color:#9a3412;background:#fff7ed;border-color:#fdba74}
@media(max-width:700px){.ksr-nav{position:sticky;bottom:92px;z-index:999;background:#fff;padding:10px 0 4px;box-shadow:0 -10px 25px rgba(15,23,42,.06)}.ksr-next,.ksr-submit,.ksr-back{min-height:48px}.ksr-form{padding-bottom:12px}}

/* v2.5 visual refresh */
.ksr-service-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.ksr-choice span{position:relative;min-height:64px;padding:15px 16px;border:1px solid #e2e8f0;border-radius:18px;background:linear-gradient(180deg,#fff,#f8fafc);box-shadow:0 8px 20px rgba(15,23,42,.045);font-weight:850;line-height:1.7}.ksr-choice span:after{content:'انتخاب';margin-right:auto;font-size:11px;color:#94a3b8;background:#f1f5f9;padding:4px 8px;border-radius:999px}.ksr-choice:hover span{transform:translateY(-2px);box-shadow:0 12px 25px rgba(242,101,0,.1)}.ksr-choice.is-selected span,.ksr-choice input:checked+span{background:linear-gradient(135deg,#fff7f1,#fff);border-color:#ff8b2b;box-shadow:0 10px 28px rgba(242,101,0,.14)}.ksr-choice.is-selected span:after,.ksr-choice input:checked+span:after{content:'انتخاب شد';background:#f26500;color:#fff}.ksr-condition-group{padding:14px;border-radius:18px;background:#f8fafc;border:1px solid #eef2f7;margin-bottom:14px}.ksr-condition-group h4{margin:0 0 10px;font-size:17px;color:#0f172a}.ksr-choice-wide span{min-height:58px;background:#fff}.ksr-map-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.ksr-map-link{display:none;padding:9px 12px;border-radius:10px;text-decoration:none;font-weight:800;background:#eef2ff;color:#3730a3}.ksr-map-link.is-ready{display:inline-flex}.ksr-map-fallback{gap:8px}.ksr-map-fallback strong{font-size:17px;color:#9a3412}.ksr-map-fallback span{font-size:13px;color:#7c2d12}.ksr-location-btn{width:100%;min-height:48px;background:linear-gradient(135deg,#0ea5e9,#2563eb);color:#fff;box-shadow:0 8px 20px rgba(37,99,235,.18)}
@media(max-width:700px){.ksr-service-grid{grid-template-columns:1fr;gap:11px}.ksr-choice span{min-height:60px;padding:13px 14px;border-radius:16px}.ksr-choice span:after{font-size:10px}.ksr-condition-group{padding:11px}.ksr-map{height:240px}}

/* v2.6.1 compact step-two cards */
.ksr-condition-group{padding:10px;display:none;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.ksr-condition-group.is-visible{display:grid}
.ksr-condition-group .ksr-choice-wide{margin:0}
.ksr-condition-group .ksr-choice-wide span{min-height:46px;padding:9px 10px;border-radius:12px;font-size:14px;line-height:1.45;box-shadow:none}
.ksr-condition-group .ksr-choice-wide span:after{display:none}
.ksr-condition-group .ksr-choice-wide span:before{width:19px;height:19px;min-width:19px;margin-left:7px;border-radius:6px}
@media(max-width:700px){
 .ksr-condition-group{grid-template-columns:1fr;padding:8px;gap:7px}
 .ksr-condition-group .ksr-choice-wide span{min-height:43px;padding:8px 9px;font-size:13.5px}
 .ksr-help{font-size:13px;line-height:1.7;margin-bottom:12px}
}

/* v2.5.9 — final iOS/Chrome action dock. JavaScript uses the same visual-viewport gap. */
@media(max-width:900px){
  html body.ksr-wizard-open .ksr-wrap.ksr-fullscreen-wizard .ksr-stage-view.is-active{
    padding-bottom:118px!important;
  }
  html body.ksr-wizard-open .ksr-wrap.ksr-fullscreen-wizard .ksr-form > .ksr-nav.ksr-nav-visible:not(.ksr-is-hidden){
    position:fixed!important;
    inset:auto 9px calc(var(--ksr-browser-bottom,0px) + max(10px,env(safe-area-inset-bottom))) 9px!important;
    right:9px!important;
    left:9px!important;
    top:auto!important;
    bottom:calc(var(--ksr-browser-bottom,0px) + max(10px,env(safe-area-inset-bottom)))!important;
    width:auto!important;
    min-height:72px!important;
    padding:8px!important;
    display:grid!important;
    grid-template-columns:minmax(96px,.35fr) minmax(0,1fr)!important;
    align-items:center!important;
    gap:9px!important;
    border:1px solid #e4e9ee!important;
    border-radius:17px!important;
    background:rgba(255,255,255,.98)!important;
    box-shadow:0 14px 38px rgba(15,23,42,.20)!important;
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
    transform:translateZ(0)!important;
    z-index:2147483600!important;
  }
  html body.ksr-wizard-open .ksr-wrap.ksr-fullscreen-wizard .ksr-nav.ksr-nav-visible .ksr-back,
  html body.ksr-wizard-open .ksr-wrap.ksr-fullscreen-wizard .ksr-nav.ksr-nav-visible .ksr-next,
  html body.ksr-wizard-open .ksr-wrap.ksr-fullscreen-wizard .ksr-nav.ksr-nav-visible .ksr-submit{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-height:52px!important;
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
  }
}

/* v2.6.0 — mobile action portal: the buttons are direct children of body so
   iOS Safari/theme containing blocks cannot clip or move them below the viewport. */
@media(max-width:900px){
  html body.ksr-wizard-open > .ksr-nav.ksr-nav-portal:not(.ksr-is-hidden){
    position:fixed!important;
    inset:auto 9px calc(env(safe-area-inset-bottom) + 10px) 9px!important;
    right:9px!important;left:9px!important;top:auto!important;
    bottom:calc(env(safe-area-inset-bottom) + 10px)!important;
    width:auto!important;min-height:72px!important;margin:0!important;padding:8px!important;
    display:grid!important;grid-template-columns:minmax(96px,.35fr) minmax(0,1fr)!important;
    align-items:center!important;gap:9px!important;box-sizing:border-box!important;
    border:1px solid #e4e9ee!important;border-radius:17px!important;
    background:rgba(255,255,255,.98)!important;box-shadow:0 14px 38px rgba(15,23,42,.20)!important;
    opacity:1!important;visibility:visible!important;pointer-events:auto!important;
    transform:translateZ(0)!important;z-index:2147483600!important;
  }
  html body.ksr-wizard-open > .ksr-nav.ksr-nav-portal .ksr-back,
  html body.ksr-wizard-open > .ksr-nav.ksr-nav-portal .ksr-next,
  html body.ksr-wizard-open > .ksr-nav.ksr-nav-portal .ksr-submit{
    align-items:center!important;justify-content:center!important;min-height:52px!important;
    margin:0!important;opacity:1!important;visibility:visible!important;pointer-events:auto!important;
  }
  html body.ksr-wizard-open > .ksr-nav.ksr-nav-portal .ksr-back{display:inline-flex!important;grid-column:1!important}
  html body.ksr-wizard-open > .ksr-nav.ksr-nav-portal .ksr-next,
  html body.ksr-wizard-open > .ksr-nav.ksr-nav-portal .ksr-submit{grid-column:2!important}
  html body.ksr-wizard-open .ksr-wrap.ksr-fullscreen-wizard .ksr-stage-view.is-active{padding-bottom:118px!important}
}

/* Desktop stays in the normal document flow; mobile/PWA rules cannot disturb it. */
@media(min-width:901px){
  html body .ksr-wrap .ksr-form > .ksr-nav,
  html body .ksr-wrap .ksr-form > .ksr-nav.ksr-nav-visible{
    position:relative!important;inset:auto!important;width:100%!important;display:flex!important;
    min-height:0!important;margin:20px 0 0!important;padding:0!important;gap:10px!important;
    border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;
    opacity:1!important;visibility:visible!important;pointer-events:auto!important;transform:none!important;z-index:2!important;
  }
}

/* v2.7 customer tracking and admin quote */
.ksr-track-results{margin-top:18px;display:grid;gap:10px}.ksr-track-results h3{margin:0 0 4px}.ksr-track-order{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;border:1px solid #e2e8f0;border-radius:14px;background:#fff;text-decoration:none;color:#0f172a;transition:.18s}.ksr-track-order:hover{border-color:#f26500;box-shadow:0 8px 22px rgba(242,101,0,.1);transform:translateY(-1px)}.ksr-track-order span{display:flex;flex-direction:column;gap:5px}.ksr-track-order small{color:#64748b}.ksr-track-order>strong{color:#f26500;white-space:nowrap}.ksr-track-summary{padding:14px;border-radius:13px;background:#fff;border:1px solid #e2e8f0;margin-bottom:16px}.ksr-track-summary h3{margin-top:0}.ksr-track-summary p{margin:6px 0}.ksr-bid.is-admin{border-color:#fdba74;background:linear-gradient(145deg,#fff7ed,#fff)}.ksr-bid h4{margin:0 0 8px}.ksr-price{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.ksr-price strong{font-size:21px;color:#c2410c}.ksr-price span{font-size:13px;color:#64748b}.ksr-selected{color:#047857;background:#ecfdf5;padding:8px 10px;border-radius:9px}.ksr-admin-quote input[type=number],.ksr-admin-quote input[type=text]{width:100%;margin-top:8px;padding:9px 11px;border:1px solid #c3c4c7;border-radius:7px;box-sizing:border-box}
@media(max-width:700px){.ksr-track-order{align-items:flex-start;padding:12px}.ksr-track-order>strong{font-size:13px}.ksr-price strong{font-size:18px}}

/* v2.8 inline tracking, auto refresh and success animation */
.ksr-inline-track{margin-top:20px;padding:18px;border:1px solid #e2e8f0;border-radius:18px;background:#fff}.ksr-inline-track-head h3{margin:0 0 6px}.ksr-inline-track-head p{margin:0 0 14px;color:#64748b}.ksr-inline-track-form{display:grid;grid-template-columns:1fr 1fr auto;gap:10px}.ksr-inline-track-form input{width:100%;box-sizing:border-box;border:1px solid #dbe2ea;border-radius:12px;padding:12px 14px;font:inherit}.ksr-inline-track-form .ksr-submit{display:inline-flex;white-space:nowrap}.ksr-inline-result:empty{display:none}.ksr-success-animation{position:relative;width:76px;height:76px;margin:0 auto 12px;display:grid;place-items:center}.ksr-checkmark{position:relative;z-index:2;width:54px;height:54px;border-radius:50%;display:grid;place-items:center;background:#10b981;color:#fff;font-size:31px;font-weight:900;animation:ksrPop .5s ease both}.ksr-pulse-ring{position:absolute;inset:8px;border:3px solid rgba(16,185,129,.35);border-radius:50%;animation:ksrRing 1.8s ease-out infinite}.ksr-track-code-box{display:flex;align-items:center;justify-content:center;gap:9px;flex-wrap:wrap;margin:14px 0;padding:11px;background:#fff;border:1px dashed #86efac;border-radius:12px}.ksr-track-code-box b{direction:ltr;font-size:18px;color:#065f46}.ksr-copy-track{border:0;border-radius:9px;padding:7px 11px;background:#065f46;color:#fff;font-weight:800;cursor:pointer}.ksr-waiting-price{display:flex;align-items:center;justify-content:center;gap:11px;margin-top:12px;padding:12px;border-radius:12px;background:#fff7ed;color:#9a3412}.ksr-waiting-price i{width:22px;height:22px;border:3px solid #fed7aa;border-top-color:#f26500;border-radius:50%;animation:ksrSpin .8s linear infinite}.ksr-waiting-price div{display:flex;flex-direction:column;text-align:right}.ksr-waiting-price small{color:#9a3412;opacity:.8}.ksr-waiting-price.has-price{background:#ecfdf5;color:#047857}.ksr-waiting-price.has-price i{display:none}.ksr-inline-result .ksr-track-card{margin-top:16px}@keyframes ksrPop{0%{transform:scale(.35);opacity:0}70%{transform:scale(1.1)}100%{transform:scale(1);opacity:1}}@keyframes ksrRing{0%{transform:scale(.7);opacity:.8}100%{transform:scale(1.45);opacity:0}}@keyframes ksrSpin{to{transform:rotate(360deg)}}
@media(max-width:700px){.ksr-inline-track{padding:14px}.ksr-inline-track-form{grid-template-columns:1fr}.ksr-inline-track-form .ksr-submit{min-height:48px}.ksr-track-code-box{flex-direction:column}.ksr-waiting-price{align-items:flex-start}}

/* v2.8.2: reliable submit feedback */
.ksr-result.is-loading{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;min-height:72px}
.ksr-result.is-loading small{flex-basis:100%;text-align:center;opacity:.75}
.ksr-submit-spinner{width:22px;height:22px;border:3px solid rgba(37,99,235,.18);border-top-color:#2563eb;border-radius:50%;animation:ksr-submit-spin .75s linear infinite}
@keyframes ksr-submit-spin{to{transform:rotate(360deg)}}
.ksr-is-hidden{display:none!important}.ksr-inline-track.is-tracking-only{margin-top:0}.ksr-inline-track.is-tracking-only .ksr-inline-result{margin-top:0}

/* v2.8.5 professional tracking result and WooCommerce recommendation */
.ksr-inline-track.is-tracking-mode{margin-top:18px}.ksr-inline-track.is-tracking-mode .ksr-inline-track-head{display:block}.ksr-inline-track.is-tracking-mode .ksr-inline-track-form{display:grid}.ksr-track-card-pro{padding:0;overflow:hidden;background:#fff;border-color:#e2e8f0;box-shadow:0 16px 40px rgba(15,23,42,.07)}.ksr-track-hero{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding:20px;background:linear-gradient(135deg,#fff7ed,#fff)}.ksr-track-eyebrow{display:inline-block;color:#c2410c;font-size:12px;font-weight:900;margin-bottom:5px}.ksr-track-hero h3{margin:0 0 7px;font-size:22px}.ksr-track-hero p{margin:0;color:#64748b}.ksr-status-pill{padding:8px 12px;border-radius:999px;background:#fff;color:#c2410c;border:1px solid #fed7aa;font-weight:900;white-space:nowrap}.ksr-track-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:14px 18px;background:#fff;border-top:1px solid #f1f5f9;border-bottom:1px solid #f1f5f9}.ksr-track-meta>div{min-height:66px;padding:10px 12px;border-radius:12px;background:#f8fafc;display:flex;flex-direction:column;gap:4px;position:relative}.ksr-track-meta small{color:#64748b}.ksr-track-meta strong{color:#0f172a}.ksr-track-meta .ksr-copy-track{position:absolute;left:8px;bottom:8px;padding:5px 8px;font-size:11px}.ksr-bids-head{display:flex;align-items:center;justify-content:space-between;padding:18px 18px 5px}.ksr-bids-head h3{margin:0}.ksr-bids-head span{font-size:12px;color:#9a3412;background:#fff7ed;padding:5px 9px;border-radius:999px}.ksr-bids{padding:0 18px 18px}.ksr-bid-pro{padding:0;overflow:hidden;border-radius:16px;margin-top:12px;box-shadow:0 8px 22px rgba(15,23,42,.045)}.ksr-bid-pro.is-admin{border:1px solid #fdba74;background:#fff}.ksr-bid-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:16px;background:#fff}.ksr-bid-source{display:block;font-weight:900;color:#0f172a}.ksr-bid-top small{display:block;color:#64748b;margin-top:4px}.ksr-price-main{font-size:23px;color:#c2410c;white-space:nowrap}.ksr-price-main small{display:inline;color:inherit;font-size:12px}.ksr-bid-time{margin:0 16px 10px;padding:9px 11px;border-radius:10px;background:#f8fafc;color:#475569}.ksr-bid-note{margin:0 16px 14px;padding:12px;border-right:3px solid #fb923c;background:#fff7ed;border-radius:8px;color:#7c2d12;line-height:1.9}.ksr-product-recommend{display:grid;grid-template-columns:104px 1fr;gap:13px;margin:14px 16px;padding:12px;border:1px solid #dbeafe;border-radius:14px;background:linear-gradient(135deg,#eff6ff,#fff)}.ksr-product-image{width:104px;height:104px;border-radius:12px;overflow:hidden;background:#fff;display:grid;place-items:center;border:1px solid #e2e8f0}.ksr-product-image img{width:100%;height:100%;object-fit:cover}.ksr-product-image span{color:#64748b;font-weight:800}.ksr-product-info>span{font-size:11px;color:#2563eb;font-weight:900}.ksr-product-info h4{margin:4px 0 7px;font-size:16px}.ksr-product-price{font-weight:900;color:#0f172a;margin-bottom:8px}.ksr-product-info a{display:inline-flex;padding:8px 11px;border-radius:9px;background:#2563eb;color:#fff;text-decoration:none;font-weight:900;font-size:12px}.ksr-bid-pro .ksr-accept{display:flex;margin:0 16px 16px;width:calc(100% - 32px)}.ksr-bid-pro .ksr-selected{margin:0 16px 16px}.ksr-empty-bids{text-align:center;padding:30px 15px;border:1px dashed #fdba74;border-radius:16px;background:#fffaf5}.ksr-empty-bids strong{display:block;margin-top:10px;color:#9a3412}.ksr-empty-bids p{color:#64748b;margin:6px 0 0}.ksr-empty-spinner{display:inline-block;width:30px;height:30px;border:4px solid #fed7aa;border-top-color:#f26500;border-radius:50%;animation:ksrSpin .85s linear infinite}
@media(max-width:700px){.ksr-track-hero{flex-direction:column;padding:16px}.ksr-track-hero h3{font-size:19px}.ksr-track-meta{grid-template-columns:1fr;padding:12px}.ksr-bids{padding:0 12px 14px}.ksr-bids-head{padding:15px 12px 4px}.ksr-bid-top{flex-direction:column}.ksr-price-main{font-size:21px}.ksr-product-recommend{grid-template-columns:78px 1fr;margin:12px}.ksr-product-image{width:78px;height:78px}.ksr-inline-track.is-tracking-mode .ksr-inline-track-form{grid-template-columns:1fr}}

/* v2.8.6 compact product recommendation and customer offer */
.ksr-product-recommend-compact{display:grid;grid-template-columns:74px 1fr;gap:10px;align-items:center;padding:10px;margin-top:12px;border-radius:14px}
.ksr-product-recommend-compact .ksr-product-image{width:74px;height:74px;border-radius:10px;overflow:hidden}
.ksr-product-recommend-compact .ksr-product-image img{width:100%;height:100%;object-fit:cover}
.ksr-product-recommend-compact .ksr-product-info span{display:block;font-size:12px;line-height:1.7;color:#667085;margin-bottom:3px}
.ksr-product-recommend-compact .ksr-product-info h4{font-size:14px;line-height:1.5;margin:0 0 3px}
.ksr-product-recommend-compact .ksr-product-price{font-size:13px;margin-bottom:4px}
.ksr-product-recommend-compact .ksr-product-info a{display:inline-flex;padding:5px 9px;font-size:12px;border-radius:8px}
@media(max-width:560px){.ksr-product-recommend-compact{grid-template-columns:64px 1fr;padding:9px}.ksr-product-recommend-compact .ksr-product-image{width:64px;height:64px}}
/* v3.0.7: compact Persian schedule selectors */
.ksr-field select{width:100%;min-height:48px;border:1px solid #d8dee9;border-radius:14px;background:#fff;padding:0 14px;font:inherit;color:#172033;outline:none;transition:border-color .18s ease,box-shadow .18s ease}
.ksr-field select:focus{border-color:#ff7a00;box-shadow:0 0 0 3px rgba(255,122,0,.12)}

/* v3.2.1: button-based scheduling */
.ksr-schedule-box{margin-top:16px;padding:16px;border:1px solid #e2e8f0;border-radius:18px;background:linear-gradient(180deg,#fff,#f8fafc)}
.ksr-schedule-title{display:block;margin-bottom:3px;font-size:16px;color:#0f172a}.ksr-schedule-box>small{display:block;color:#64748b;margin-bottom:10px}.ksr-time-title{margin-top:16px}.ksr-day-buttons{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.ksr-time-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ksr-slot-choice span{min-height:44px!important;justify-content:center!important;text-align:center;padding:9px 8px!important;border-radius:12px!important}.ksr-slot-choice span:before,.ksr-slot-choice span:after{display:none!important}.ksr-slot-choice input:checked+span{background:linear-gradient(135deg,#f26500,#ff8b2b)!important;color:#fff!important;border-color:#f26500!important;box-shadow:0 8px 20px rgba(242,101,0,.2)!important}.alo-request-card.alo-deep-highlight{outline:3px solid #f97316;box-shadow:0 0 0 8px rgba(249,115,22,.14),0 18px 45px rgba(15,23,42,.14);animation:aloDeepPulse 1s ease 2}@keyframes aloDeepPulse{50%{transform:scale(1.015)}}
@media(max-width:700px){.ksr-day-buttons{grid-template-columns:repeat(2,minmax(0,1fr))}.ksr-time-buttons{grid-template-columns:1fr 1fr}}
.ksr-document-actions{display:flex;gap:10px;flex-wrap:wrap;margin:14px 0}.ksr-doc-btn{display:inline-flex;align-items:center;justify-content:center;padding:10px 14px;border-radius:11px;background:#fff3e8;color:#c65300!important;border:1px solid #ffd0aa;text-decoration:none;font-weight:800}.ksr-doc-btn.is-final{background:#ecfdf3;color:#166534!important;border-color:#b7ebc8}

/* Tracking is intentionally hidden until a request is submitted or a saved tracking session is restored. */
.ksr-inline-track.ksr-track-hidden-before-submit{display:none!important}


/* v1.1.3 — Simple modern customer form; no promotional header/banner */
.ksr-wrap{max-width:880px;margin:24px auto;padding:18px;border-radius:24px;background:#f8fafc;border:1px solid #e5e7eb;box-shadow:0 18px 48px rgba(15,23,42,.08);overflow:visible}
.ksr-progress{margin-top:0;height:7px;background:#e9eef4;border-radius:999px;overflow:hidden}
.ksr-progress span{background:linear-gradient(90deg,#f26500,#ff9b4a);box-shadow:none}
.ksr-progress-text{margin:9px 3px 16px;color:#64748b;font-weight:800}
.ksr-form{background:#fff;border:1px solid #e7ebf0;border-radius:20px;padding:22px;box-shadow:0 10px 28px rgba(15,23,42,.055)}
.ksr-step h3{color:#0f172a;font-weight:950;line-height:1.55}
.ksr-help{color:#64748b;line-height:1.85}
.ksr-help:before{content:none!important}
.ksr-choice span{background:#fff;border-color:#dfe5ec;box-shadow:0 5px 14px rgba(15,23,42,.035)}
.ksr-choice:hover span{border-color:#f6a46d;box-shadow:0 9px 20px rgba(242,101,0,.08)}
.ksr-choice.is-selected span,.ksr-choice input:checked+span{border-color:#f26500;background:#fff7f1;box-shadow:0 0 0 3px rgba(242,101,0,.07)}
.ksr-field input,.ksr-field textarea,.ksr-track-form input,.ksr-field select{background:#fff;border-color:#dbe2ea}
.ksr-upload{background:#fffaf6;border-color:#f4b98f}
.ksr-location-box,.ksr-schedule-box{background:#fbfcfe;border-color:#e2e8f0}
.ksr-nav:before{content:none!important}
.ksr-next,.ksr-submit{background:linear-gradient(135deg,#f26500,#ff8b2b);box-shadow:0 10px 24px rgba(242,101,0,.2)}
.ksr-back{background:#eef2f7;color:#475569}
@media(max-width:700px){.ksr-wrap{margin:10px 5px;padding:10px;border-radius:18px}.ksr-form{padding:15px;border-radius:17px}.ksr-progress-text{margin-bottom:12px}.ksr-step h3{font-size:21px}.ksr-next,.ksr-submit,.ksr-back{min-height:50px}}

/* فرم خودکار ابتدای مقالات */
.ksr-auto-article-form{margin:0 0 28px;clear:both}
.ksr-auto-article-form .ksr-wrap{margin-top:0}
@media(max-width:767px){.ksr-auto-article-form{margin-bottom:20px}}
.ksr-condition-title{margin:14px 0 10px;font-size:15px;color:#17324d;border-right:3px solid #f97316;padding-right:9px}.ksr-condition-group+.ksr-condition-group{margin-top:22px;padding-top:16px;border-top:1px solid #e7edf3}.ksr-stair-extra{display:none;margin-top:14px;padding:14px;border:1px solid #dbe7ef;border-radius:14px;background:#f8fbfd}.ksr-stair-extra.is-visible{display:block}.ksr-stair-extra h4{margin:0 0 12px}.ksr-stair-only.is-hidden{display:none!important}.ksr-field select{width:100%;min-height:46px;border:1px solid #d5dde5;border-radius:10px;background:#fff;padding:8px 10px}

.ksr-map-search{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-bottom:10px}.ksr-map-search input{min-height:48px;border:1px solid #dbe2ea;border-radius:11px;padding:10px 12px;background:#fff}.ksr-map-search button{border:0;border-radius:11px;padding:10px 14px;background:#0f172a;color:#fff;font-weight:800;cursor:pointer}.ksr-map-search-results{display:grid;gap:6px;margin:-2px 0 10px;padding:8px;border:1px solid #dbe2ea;border-radius:12px;background:#fff;box-shadow:0 10px 25px rgba(15,23,42,.08)}.ksr-map-search-results button{border:0;border-radius:9px;padding:10px;text-align:right;background:#f8fafc;cursor:pointer;line-height:1.7}.ksr-map-search-results button:hover{background:#fff7ed}.ksr-customer-reply-box{margin:14px 0;padding:15px;border:1px solid #e5e7eb;border-radius:14px;background:#f8fafc}.ksr-customer-reply-help{margin:6px 0 12px;color:#64748b;font-size:13px;line-height:1.8}.ksr-customer-reply-saved{margin:8px 0;color:#166534;font-weight:700}.ksr-reply-types{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:10px 0}.ksr-reply-types label{cursor:pointer}.ksr-reply-types input{position:absolute;opacity:0;pointer-events:none}.ksr-reply-types span{display:flex;align-items:center;justify-content:center;min-height:45px;padding:8px;border:1px solid #dbe2ea;border-radius:11px;background:#fff;font-weight:800;font-size:13px;text-align:center}.ksr-reply-types input:checked+span{border-color:#f26500;background:#fff7ed;color:#c2410c;box-shadow:0 0 0 2px rgba(242,101,0,.08)}.ksr-reply-price-wrap{display:none;margin:0 0 10px}.ksr-reply-price-wrap.is-visible{display:block}.ksr-reply-price-wrap span{display:block;margin-bottom:6px;font-size:13px;font-weight:700}.ksr-customer-reply-form input[type=text],.ksr-customer-reply-form textarea{width:100%;border:1px solid #dbe2ea;border-radius:11px;padding:11px 12px;background:#fff;margin-bottom:10px}.ksr-money-input{direction:ltr;text-align:left}@media(max-width:600px){.ksr-map-search{grid-template-columns:1fr}.ksr-reply-types{grid-template-columns:1fr}.ksr-reply-types span{min-height:42px}}

.ksr-chat-thread{display:grid;gap:8px;margin:10px 0}.ksr-chat-msg{padding:9px 11px;border-radius:12px;background:#f3f4f6}.ksr-chat-msg.is-worker{background:#ecfdf5}.ksr-chat-msg small{font-weight:700}.ksr-chat-msg p{margin:3px 0 0}.ksr-customer-reply-form textarea{width:100%;box-sizing:border-box;margin:8px 0}.ksr-customer-reply-submit{width:100%}

/* v1.6.3 customer send button and live sync */
.ksr-customer-reply-form{display:grid;gap:10px}.ksr-customer-reply-form .ksr-customer-reply-submit{display:flex!important;width:100%!important;min-height:50px!important;align-items:center!important;justify-content:center!important;margin:0!important;visibility:visible!important;opacity:1!important;background:linear-gradient(135deg,#f26500,#ff8b2b)!important;color:#fff!important;border:0!important;border-radius:13px!important;font-weight:900!important;cursor:pointer!important;box-shadow:0 10px 24px rgba(242,101,0,.2)!important}.ksr-customer-reply-form .ksr-customer-reply-submit:disabled{opacity:.65!important;cursor:wait!important}

/* v1.6.6: fixed mobile wizard list clearance — v1.6.5 used a negative margin-top on the sticky nav
   which pulled the button bar upward over the last visible options, covering them. The sticky nav
   already reserves its own space via bottom offset, so the step just needs bottom padding — no
   negative margin on the nav itself. */
@media(max-width:700px){.ksr-wizard .ksr-step.is-active{padding-bottom:20px}.ksr-wizard .ksr-nav{margin-top:20px}}


/* v1.6.8: Persian calendar + stable customer composer */
.ksr-jalali-field{display:flex;gap:8px;align-items:center;margin-top:10px}.ksr-jalali-input{flex:1;min-height:46px;background:#fff;cursor:pointer}.ksr-jalali-open{min-height:46px;border:0;border-radius:12px;padding:0 14px;background:#166534;color:#fff;font-weight:800;cursor:pointer}.ksr-jalali-picker{margin-top:8px;background:#fff;border:1px solid #dbe4dc;border-radius:16px;padding:12px;box-shadow:0 14px 35px rgba(15,23,42,.14);max-width:360px}.ksr-jalali-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.ksr-jalali-head button{width:36px;height:36px;border:0;border-radius:10px;background:#eef7f0;font-size:24px;cursor:pointer}.ksr-jalali-week,.ksr-jalali-days{display:grid;grid-template-columns:repeat(7,1fr);gap:5px;text-align:center}.ksr-jalali-week span{font-size:12px;font-weight:800;color:#64748b;padding:5px}.ksr-jalali-days button{height:36px;border:0;border-radius:9px;background:#f8fafc;cursor:pointer;font-weight:700}.ksr-jalali-days button:hover{background:#dcfce7;color:#166534}.ksr-jalali-today{display:block;width:100%;margin-top:10px;border:0;border-radius:10px;padding:9px;background:#ecfdf5;color:#166534;font-weight:800;cursor:pointer}.ksr-chat-display{margin:10px 0}.ksr-chat-composer{position:relative;z-index:2;background:#fff;border-top:1px solid #e5e7eb;padding-top:10px}.ksr-chat-empty{padding:10px 12px;border-radius:10px;background:#f8fafc;color:#64748b;font-size:13px}.ksr-customer-reply-form textarea{min-height:92px;resize:vertical;touch-action:manipulation}
@media(max-width:600px){.ksr-jalali-field{align-items:stretch;flex-direction:column}.ksr-jalali-picker{max-width:none}.ksr-chat-composer{position:relative}}

/* v4.7.2 — customer proposal chat: readable thread and compact composer */
.ksr-customer-reply-box{overflow:visible!important;padding:12px!important;background:#fbfdfc!important}
.ksr-chat-display{position:relative!important;height:clamp(310px,44dvh,520px)!important;min-height:310px!important;margin:10px 0 8px!important;overflow-y:auto!important;overscroll-behavior:contain!important;scroll-padding-bottom:22px!important;padding:12px!important;border:1px solid #dce9e1!important;border-radius:15px!important;background:#eaf4ed!important}
.ksr-chat-thread{display:flex!important;flex-direction:column!important;gap:8px!important;margin:0!important;min-height:100%!important}
.ksr-chat-msg{align-self:flex-start!important;max-width:88%!important;padding:9px 11px!important;border-radius:13px 13px 13px 4px!important;background:#fff!important;box-shadow:0 2px 7px rgba(15,23,42,.05)!important;overflow-wrap:anywhere!important}
.ksr-chat-msg.is-worker{align-self:flex-start!important}.ksr-chat-msg.is-customer{align-self:flex-end!important;border-radius:13px 13px 4px 13px!important;background:#d9fdd3!important}
.ksr-chat-msg p{margin:3px 0 0!important;font-size:13px!important;line-height:1.85!important;white-space:pre-wrap!important}.ksr-chat-msg small{font-size:9px!important;color:#64748b!important}
.ksr-chat-composer{position:relative!important;z-index:3!important;margin:0!important;padding:7px!important;border:1px solid #dce7df!important;border-radius:16px!important;background:#fff!important;box-shadow:0 5px 18px rgba(15,23,42,.06)!important}
.ksr-customer-reply-form{display:grid!important;grid-template-columns:minmax(0,1fr) 58px!important;align-items:end!important;gap:8px!important;margin:0!important}.ksr-customer-reply-form>input[type=hidden]{display:none!important}
.ksr-customer-reply-form textarea{grid-column:1!important;width:100%!important;height:50px!important;min-height:50px!important;max-height:120px!important;margin:0!important;padding:12px 13px!important;border-radius:13px!important;background:#f8faf9!important;font-size:16px!important;line-height:1.55!important;resize:vertical!important;box-sizing:border-box!important}
.ksr-customer-reply-form .ksr-customer-reply-submit{grid-column:2!important;width:58px!important;min-width:58px!important;height:50px!important;min-height:50px!important;margin:0!important;padding:0 5px!important;border-radius:13px!important;font-size:10px!important;white-space:normal!important}
@media(max-width:600px){.ksr-chat-display{height:48dvh!important;min-height:340px!important}.ksr-customer-reply-form{grid-template-columns:minmax(0,1fr) 52px!important}.ksr-customer-reply-form .ksr-customer-reply-submit{width:52px!important;min-width:52px!important}.ksr-customer-portal .ksr-customer-reply-box{margin-inline:4px!important;padding:8px!important}.ksr-customer-portal .ksr-customer-reply-form textarea{min-height:50px!important;font-size:16px!important}}

/* v4.7.3 — more conversation space and a genuinely compact send row */
.ksr-chat-display{height:clamp(420px,58dvh,700px)!important;min-height:420px!important}
.ksr-chat-composer{padding:4px!important;border-radius:12px!important}
.ksr-customer-reply-form{grid-template-columns:minmax(0,1fr) 46px!important;gap:5px!important}
.ksr-customer-reply-form textarea{height:32px!important;min-height:32px!important;max-height:74px!important;padding:5px 9px!important;border-radius:9px!important;font-size:13px!important;line-height:1.5!important}
.ksr-customer-reply-form .ksr-customer-reply-submit{width:46px!important;min-width:46px!important;height:32px!important;min-height:32px!important;padding:0 3px!important;border-radius:9px!important;font-size:9px!important}
@media(max-width:600px){.ksr-chat-display{height:60dvh!important;min-height:430px!important}.ksr-customer-reply-form textarea{height:32px!important;min-height:32px!important;font-size:13px!important}.ksr-customer-reply-form .ksr-customer-reply-submit{width:46px!important;min-width:46px!important;height:32px!important;min-height:32px!important}}

.ksr-date-buttons{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:10px 0 16px}.ksr-date-option{border:1px solid #dbe3ec;background:#fff;border-radius:12px;padding:9px 6px;cursor:pointer;color:#172033}.ksr-date-option strong,.ksr-date-option span{display:block}.ksr-date-option span{font-size:12px;color:#64748b;margin-top:3px}.ksr-date-option.is-selected{border-color:#f97316;background:#fff7ed;box-shadow:0 0 0 2px rgba(249,115,22,.12)}@media(max-width:620px){.ksr-date-buttons{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* v1.6.17 — customer direct chat before proposal */
.ksr-direct-chats{margin:18px 0;padding:15px;border:1px solid #dfe7e2;border-radius:18px;background:#fff;box-shadow:0 8px 24px rgba(15,23,42,.045)}
.ksr-direct-chats-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px}.ksr-direct-chats-head small{color:#16a34a;font-weight:800}.ksr-direct-chats-head h3{margin:2px 0 0;font-size:18px}.ksr-direct-chats-head>span{font-size:10px;padding:6px 8px;border-radius:999px;background:#dcfce7;color:#166534;font-weight:800}
.ksr-direct-chat-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.ksr-direct-chat-box{min-width:0;border:1px solid #dfe9e2;border-radius:15px;overflow:hidden;background:#f7fbf8}.ksr-direct-chat-title{display:flex;align-items:center;gap:8px;padding:10px 11px;background:#fff;border-bottom:1px solid #e7eee9}.ksr-chat-avatar{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#dcfce7}.ksr-direct-chat-title strong{display:block;font-size:12px}.ksr-direct-chat-title small{font-size:9px;color:#64748b}
.ksr-direct-chat-thread{height:240px;overflow:auto;display:flex;flex-direction:column;gap:7px;padding:10px;background:#e9f5ec;background-image:radial-gradient(rgba(22,101,52,.05) 1px,transparent 1px);background-size:14px 14px}.ksr-wa-msg{align-self:flex-start;max-width:84%;padding:8px 9px;border-radius:10px;background:#fff;box-shadow:0 2px 6px rgba(15,23,42,.05)}.ksr-wa-msg.is-me{align-self:flex-end;background:#d9fdd3}.ksr-wa-msg p{margin:0;font-size:11px;line-height:1.7;white-space:pre-wrap}.ksr-wa-msg small{display:block;margin-top:3px;font-size:8px;color:#64748b}
.ksr-request-chat-form{display:grid;grid-template-columns:minmax(0,1fr) 46px;gap:7px;padding:9px;background:#fff;border-top:1px solid #e7eee9}.ksr-request-chat-form textarea{width:100%;min-height:46px;max-height:90px;resize:vertical;box-sizing:border-box;border:1px solid #d7e2da;border-radius:12px;padding:9px 10px;font:inherit;font-size:12px}.ksr-request-chat-form button{border:0;border-radius:12px;background:#16a34a;color:#fff;font-size:18px;cursor:pointer}.ksr-request-chat-form button:disabled{opacity:.6;cursor:wait}
@media(max-width:700px){.ksr-direct-chat-grid{grid-template-columns:1fr}.ksr-direct-chat-thread{height:220px}.ksr-direct-chats{padding:11px}}

/* v1.6.22 — professional customer portal */
.ksr-customer-portal{max-width:1080px;margin:18px auto;padding:12px;font-family:Tahoma,Arial,sans-serif}.ksr-customer-portal>header{padding:22px;border-radius:22px;background:linear-gradient(135deg,#102f1e,#1b6a3c);color:#fff;box-shadow:0 16px 38px rgba(16,47,30,.18)}.ksr-customer-portal>header>span{font-size:9px;color:#b9ddc8;font-weight:800}.ksr-customer-portal>header h1{margin:4px 0;font-size:23px;color:#fff}.ksr-customer-portal>header p{max-width:720px;margin:0;color:#d6eadf;font-size:11px;line-height:1.8}.ksr-customer-portal>header>div{display:flex;gap:6px;flex-wrap:wrap;margin-top:12px}.ksr-customer-portal>header b{padding:6px 9px;border-radius:999px;background:rgba(255,255,255,.1);font-size:8px}.ksr-customer-portal>.ksr-wrap{max-width:none;margin:10px 0 0;padding:14px;border-radius:18px;box-shadow:0 8px 24px rgba(15,23,42,.06)}.ksr-customer-portal .ksr-head{text-align:right;margin-bottom:11px}.ksr-customer-portal .ksr-head h2{margin:0 0 4px;font-size:16px}.ksr-customer-portal .ksr-head p{font-size:10px}.ksr-customer-portal .ksr-track-form{gap:7px}.ksr-customer-portal .ksr-track-form input{min-height:42px;padding:8px 10px;font-size:11px}.ksr-customer-portal .ksr-track-form .ksr-submit{display:flex;padding:8px 12px;font-size:10px}.ksr-customer-portal .ksr-track-hero{padding:15px}.ksr-customer-portal .ksr-track-hero h3{font-size:16px}.ksr-customer-portal .ksr-track-hero p{font-size:9px}.ksr-customer-portal .ksr-track-meta{grid-template-columns:repeat(4,minmax(0,1fr));padding:9px;gap:6px}.ksr-customer-portal .ksr-track-meta>div{min-height:54px;padding:8px}.ksr-customer-portal .ksr-track-meta small{font-size:8px}.ksr-customer-portal .ksr-track-meta strong{font-size:10px}.ksr-customer-portal .ksr-bids{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:0 10px 12px}.ksr-customer-portal .ksr-bid-pro{min-width:0;margin:0}.ksr-customer-portal .ksr-bid-top{padding:11px}.ksr-customer-portal .ksr-bid-source{font-size:10px}.ksr-customer-portal .ksr-price-main{font-size:15px}.ksr-customer-portal .ksr-bid-time,.ksr-customer-portal .ksr-bid-note{margin:0 11px 8px;padding:7px;font-size:9px}.ksr-customer-portal .ksr-customer-reply-box{margin:8px 10px;padding:9px}.ksr-customer-portal .ksr-customer-reply-box>strong{font-size:9px}.ksr-customer-portal .ksr-customer-reply-form textarea{min-height:68px;font-size:10px}.ksr-customer-portal .ksr-customer-reply-form .ksr-customer-reply-submit{min-height:38px!important;font-size:9px!important}.ksr-customer-portal .ksr-product-info h4{font-size:11px}.ksr-customer-portal .ksr-document-actions{padding:0 10px}.ksr-customer-portal .ksr-doc-btn{font-size:9px}.ksr-customer-portal .ksr-direct-chats{padding:10px;margin:10px}.ksr-customer-portal .ksr-direct-chat-thread{height:210px}@media(max-width:760px){.ksr-customer-portal{padding:7px}.ksr-customer-portal>header{padding:16px;border-radius:17px}.ksr-customer-portal>header h1{font-size:18px}.ksr-customer-portal .ksr-track-form{grid-template-columns:1fr}.ksr-customer-portal .ksr-track-meta{grid-template-columns:repeat(2,minmax(0,1fr))}.ksr-customer-portal .ksr-bids{grid-template-columns:1fr}.ksr-customer-portal>.ksr-wrap{padding:9px}.ksr-customer-portal .ksr-bids-head{padding:12px 10px 5px}}
.ksr-phone-verified{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#ecfdf3;border:1px solid #bbf7d0;color:#047857;border-radius:16px;padding:15px;margin:12px 0}.ksr-step .kfscc-customer-login{width:100%;margin:10px 0;box-shadow:none;border-radius:18px;padding:18px}.ksr-step .kfscc-staff-link{display:none}

/* v1.8.0 compact one-screen wizard */
@media(max-width:700px){
  .ksr-wrap{margin:6px!important;padding:9px!important;border-radius:16px!important;min-height:calc(100svh - 12px);box-sizing:border-box}
  .ksr-progress{height:5px}.ksr-progress-text{margin:5px 2px 8px;font-size:11px}
  .ksr-form{padding:10px!important;border-radius:15px;min-height:calc(100svh - 80px);display:flex;flex-direction:column}
  .ksr-step.is-active{flex:1;min-height:0;margin:0;animation:none}
  .ksr-step h3{font-size:18px!important;margin:0 0 3px}.ksr-help{font-size:11px!important;line-height:1.55!important;margin:0 0 8px!important}
  .ksr-service-grid,.ksr-area-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}
  .ksr-choice span{min-height:42px!important;padding:7px 8px!important;border-radius:11px!important;font-size:11.5px!important;line-height:1.35!important;box-shadow:none!important}
  .ksr-choice span:before{width:17px!important;height:17px!important;min-width:17px!important;margin-left:5px!important}.ksr-choice span:after{display:none!important}
  .ksr-condition-group{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important;padding:6px!important;margin:0 0 6px!important;border-radius:12px!important}
  .ksr-condition-group h4{grid-column:1/-1;font-size:12px!important;margin:0 0 2px!important}
  .ksr-condition-group .ksr-choice-wide span{min-height:37px!important;padding:6px 7px!important;font-size:10.5px!important}
  .ksr-stair-extra{grid-column:1/-1}.ksr-stair-extra h4{font-size:11px!important}.ksr-stair-extra .ksr-contact-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:5px!important}
  .ksr-field{gap:4px!important;margin-top:7px!important;font-size:10.5px!important}.ksr-field input,.ksr-field textarea,.ksr-field select{min-height:40px!important;padding:8px 9px!important;border-radius:10px!important;font-size:12px!important}
  .ksr-field textarea{min-height:64px!important;max-height:72px!important;resize:none}
  .ksr-upload{min-height:74px!important;border-radius:12px!important}.ksr-upload strong{font-size:14px!important}.ksr-upload small{font-size:9px!important}.ksr-file-list{margin-top:5px;gap:4px;max-height:34px;overflow:hidden}.ksr-file-list span{font-size:8.5px;padding:3px 5px}
  .ksr-step .kfscc-customer-login{margin:2px 0!important;padding:10px!important;border-radius:14px!important}.ksr-step .kfscc-login-brand{display:none}.ksr-step .kfscc-login-stage h1{font-size:17px!important;margin:0 0 4px}.ksr-step .kfscc-login-stage p{font-size:10px!important;margin:0 0 8px}.ksr-step .kfscc-login-stage label{margin:0!important}.ksr-step .kfscc-customer-login input{min-height:44px!important}.ksr-step .kfscc-customer-login button{min-height:44px!important}
  .ksr-contact-grid{grid-template-columns:1fr!important;gap:5px!important}.ksr-address-grid{grid-template-columns:minmax(0,1fr) 82px!important}.ksr-plaque-field{min-width:0}
  .ksr-schedule-box{padding:8px!important;margin-top:4px!important}.ksr-date-buttons{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:5px!important;margin:6px 0 9px!important}.ksr-date-option{padding:6px 3px!important;border-radius:9px!important}.ksr-date-option strong{font-size:9px!important}.ksr-date-option span{font-size:8px!important}.ksr-time-buttons{display:grid;grid-template-columns:1fr 1fr;gap:6px}.ksr-schedule-title{font-size:11px!important}
  .ksr-location-box{margin-top:2px!important;padding:7px!important;border-radius:12px!important}.ksr-location-btn{min-height:39px!important;margin-bottom:5px!important;font-size:10px!important}.ksr-map-search{grid-template-columns:minmax(0,1fr) 74px!important;gap:5px!important;margin-bottom:5px}.ksr-map-search input,.ksr-map-search button{min-height:37px!important;padding:6px 7px!important;font-size:9px!important}.ksr-map{height:190px!important;border-radius:10px!important}.ksr-location-status{font-size:9px!important;margin:4px 0 0!important}.ksr-map-actions{margin-top:4px!important}.ksr-map-link{padding:5px 7px!important;font-size:8px!important}
  .ksr-nav{position:relative!important;bottom:auto!important;margin-top:8px!important;padding:6px 0 0!important;box-shadow:none!important;background:#fff!important;flex:0 0 auto}.ksr-next,.ksr-submit,.ksr-back{min-height:43px!important;padding:8px 10px!important;border-radius:11px!important;font-size:11px!important}
  .ksr-result{margin-top:6px!important;padding:8px!important;font-size:10px!important}.ksr-redirect-note{display:block;margin-top:4px;font-size:9px}
}


/* v1.6.1 — mobile no-scroll wizard: remove artificial blank space */
@media(max-width:700px){
  .ksr-wrap{
    min-height:0!important;
    height:auto!important;
    margin:4px 6px 84px!important;
    padding:8px!important;
  }
  .ksr-form{
    min-height:0!important;
    height:auto!important;
    display:block!important;
    padding:9px!important;
  }
  .ksr-step,
  .ksr-step.is-active{
    min-height:0!important;
    height:auto!important;
    flex:none!important;
    margin:0!important;
  }
  .ksr-nav{
    position:relative!important;
    inset:auto!important;
    margin:7px 0 0!important;
    padding:5px 0 0!important;
  }
  .ksr-result{margin-top:6px!important}
  /* Schedule should stay compact enough that the action buttons remain visible. */
  .ksr-step[data-step="7"] .ksr-help{margin-bottom:5px!important}
  .ksr-step[data-step="7"] .ksr-schedule-box{padding:6px!important;margin:2px 0 0!important}
  .ksr-step[data-step="7"] .ksr-date-buttons{margin:4px 0 6px!important;gap:4px!important}
  .ksr-step[data-step="7"] .ksr-date-option{min-height:47px!important;padding:4px 2px!important}
  .ksr-step[data-step="7"] .ksr-time-buttons{gap:5px!important}
  .ksr-step[data-step="7"] .ksr-choice span{min-height:39px!important;padding:5px 7px!important}
  /* Final map step: compact map without hiding the submit button. */
  .ksr-step[data-step="8"] .ksr-help{margin-bottom:4px!important}
  .ksr-step[data-step="8"] .ksr-location-box{padding:6px!important}
  .ksr-step[data-step="8"] .ksr-map{height:155px!important}
  .ksr-step[data-step="8"] .ksr-location-btn{min-height:36px!important;margin-bottom:4px!important}
  .ksr-step[data-step="8"] .ksr-map-search{margin-bottom:4px!important}
  .ksr-step[data-step="8"] .ksr-map-search input,.ksr-step[data-step="8"] .ksr-map-search button{min-height:34px!important}
  .ksr-step[data-step="8"] .ksr-map-actions{margin-top:2px!important}
  .ksr-step[data-step="8"] .ksr-location-status{margin:2px 0 0!important;line-height:1.35!important}
}
@media(max-width:380px) and (max-height:760px){
  .ksr-progress-text span{display:none!important}
  .ksr-step h3{font-size:16px!important}
  .ksr-help{font-size:10px!important}
  .ksr-choice span{min-height:36px!important;padding:5px 6px!important;font-size:10.5px!important}
  .ksr-step[data-step="8"] .ksr-map{height:135px!important}
  .ksr-next,.ksr-submit,.ksr-back{min-height:39px!important}
}

/* v1.9 fixed wizard controls, compact viewport, zoom prevention */
.ksr-wrap,.ksr-wrap *{touch-action:manipulation}.ksr-field input,.ksr-field textarea,.ksr-track-form input,.ksr-map-search input{font-size:16px!important}
@media(max-width:700px){
 .ksr-wrap{margin:5px 5px 92px!important;padding:8px!important;border-radius:14px!important}.ksr-form{padding:9px 9px 76px!important;border-radius:13px!important}.ksr-progress-text{margin:4px 2px 7px!important;font-size:10px!important}.ksr-step h3{font-size:17px!important;margin-bottom:3px!important}.ksr-help{font-size:10px!important;line-height:1.5!important;margin-bottom:7px!important}.ksr-service-grid,.ksr-area-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:5px!important}.ksr-choice span{min-height:38px!important;padding:6px 7px!important;font-size:10px!important}.ksr-choice span:before{width:16px!important;height:16px!important;margin-left:5px!important}.ksr-choice-wide{margin-bottom:4px!important}.ksr-field{margin-top:7px!important;gap:4px!important;font-size:10px!important}.ksr-field input,.ksr-field textarea{padding:8px 9px!important;border-radius:9px!important}.ksr-upload{min-height:76px!important}.ksr-upload strong{font-size:13px!important}.ksr-upload small{font-size:9px!important}.ksr-map{height:190px!important}.ksr-location-box,.ksr-schedule-box{padding:8px!important}.ksr-nav{position:fixed!important;z-index:9998!important;bottom:76px!important;right:8px!important;left:8px!important;margin:0!important;padding:7px!important;background:rgba(255,255,255,.96)!important;border:1px solid #e5e7eb!important;border-radius:14px!important;box-shadow:0 10px 30px rgba(15,23,42,.14)!important;backdrop-filter:blur(12px)}.ksr-next,.ksr-submit,.ksr-back{min-height:42px!important;padding:8px 10px!important;font-size:12px!important}.ksr-result{margin-bottom:8px!important}
}
@media(min-width:701px){.ksr-nav{position:sticky!important;bottom:12px!important;z-index:20;background:rgba(255,255,255,.95)!important;padding:8px!important;border-radius:14px!important;box-shadow:0 8px 24px rgba(15,23,42,.08)!important}}

/* v2.0.3 — in-card stable wizard actions */
@media(max-width:700px){
  .ksr-wrap{margin:6px 5px 18px!important;padding:8px!important;border-radius:14px!important}
  .ksr-form{
    padding:10px!important;
    border-radius:14px!important;
    min-height:clamp(430px,72svh,570px)!important;
    display:flex!important;
    flex-direction:column!important;
    box-sizing:border-box!important;
  }
  .ksr-step{display:none!important}
  .ksr-step.is-active{
    display:block!important;
    flex:1 1 auto!important;
    min-height:0!important;
    overflow:visible!important;
  }
  .ksr-nav{
    position:relative!important;
    inset:auto!important;
    right:auto!important;
    left:auto!important;
    bottom:auto!important;
    z-index:auto!important;
    margin:10px 0 0!important;
    padding:7px 0 0!important;
    background:#fff!important;
    border:0!important;
    border-top:1px solid #eef1f4!important;
    border-radius:0!important;
    box-shadow:none!important;
    backdrop-filter:none!important;
    flex:0 0 auto!important;
  }
  .ksr-next,.ksr-submit,.ksr-back{
    min-height:44px!important;
    padding:9px 12px!important;
    font-size:12px!important;
    border-radius:11px!important;
  }
  .ksr-result{margin:7px 0 0!important;flex:0 0 auto!important}
  .ksr-step[data-step="8"] .ksr-map{height:150px!important}
}
@media(max-width:390px) and (max-height:760px){
  .ksr-form{min-height:410px!important}
  .ksr-step[data-step="8"] .ksr-map{height:128px!important}
  .ksr-choice span{min-height:35px!important}
}

/* v2.0.6 customer live reviewing status */
.ksr-reviewing-live{display:flex;align-items:center;gap:12px;margin:14px 0;padding:12px 14px;border:1px solid #bbf7d0;border-radius:14px;background:#f0fdf4;color:#14532d}.ksr-reviewing-live>span{font-size:24px}.ksr-reviewing-live strong{display:block;font-size:14px;line-height:1.8}.ksr-reviewing-live small{display:block;margin-top:2px;color:#4b5563;font-size:11px}

/* v2.0.9 — 4-stage fullscreen customer flow, stable viewport and fixed action zone */
.ksr-stage-view{display:none}
.ksr-stage-view.is-active{display:block}
@media(max-width:700px){
  html:has(body.ksr-wizard-open){overscroll-behavior:none}
  body.ksr-wizard-open{overflow:hidden!important;overscroll-behavior:none!important}
  .ksr-wrap.ksr-fullscreen-wizard{
    position:fixed!important;inset:0!important;z-index:2147482000!important;
    width:100%!important;max-width:none!important;height:var(--ksr-vh,100dvh)!important;
    min-height:0!important;margin:0!important;padding:max(8px,env(safe-area-inset-top)) 9px max(8px,env(safe-area-inset-bottom))!important;
    border:0!important;border-radius:0!important;background:#fff!important;box-shadow:none!important;
    display:grid!important;grid-template-rows:auto auto minmax(0,1fr)!important;gap:0!important;overflow:hidden!important;
  }
  .ksr-fullscreen-wizard .ksr-progress{margin:0 0 4px!important;height:5px!important;flex:0 0 auto!important}
  .ksr-fullscreen-wizard .ksr-progress-text{margin:0 2px 6px!important;min-height:22px!important;display:flex!important;align-items:center!important;justify-content:space-between!important}
  .ksr-fullscreen-wizard .ksr-form{
    min-height:0!important;height:100%!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;
    display:grid!important;grid-template-rows:minmax(0,1fr) auto auto!important;overflow:hidden!important;background:#fff!important;
  }
  .ksr-fullscreen-wizard .ksr-stage-view{display:none!important;min-height:0!important;height:100%!important;overflow-y:auto!important;overflow-x:hidden!important;padding:4px 2px 10px!important;overscroll-behavior:contain!important;-webkit-overflow-scrolling:touch!important;scrollbar-width:none}
  .ksr-fullscreen-wizard .ksr-stage-view::-webkit-scrollbar{display:none}
  .ksr-fullscreen-wizard .ksr-stage-view.is-active{display:block!important}
  .ksr-fullscreen-wizard .ksr-stage-view .ksr-step{display:block!important;min-height:0!important;height:auto!important;overflow:visible!important;margin:0!important;padding:6px 0 10px!important;animation:none!important}
  .ksr-fullscreen-wizard .ksr-stage-view .ksr-step+.ksr-step{margin-top:6px!important;padding-top:12px!important;border-top:1px solid #eef1f4!important}
  .ksr-fullscreen-wizard .ksr-nav{
    position:relative!important;inset:auto!important;z-index:3!important;margin:0!important;padding:8px 0 0!important;
    min-height:60px!important;background:#fff!important;border:0!important;border-top:1px solid #eceff3!important;border-radius:0!important;
    box-shadow:0 -8px 22px rgba(15,23,42,.05)!important;backdrop-filter:none!important;display:grid!important;grid-template-columns:minmax(88px,.35fr) minmax(0,1fr)!important;gap:8px!important;
  }
  .ksr-fullscreen-wizard .ksr-next,.ksr-fullscreen-wizard .ksr-submit,.ksr-fullscreen-wizard .ksr-back{width:100%!important;min-height:50px!important;margin:0!important;border-radius:13px!important;font-size:14px!important;font-weight:800!important}
  .ksr-fullscreen-wizard .ksr-back{grid-column:1}
  .ksr-fullscreen-wizard .ksr-next,.ksr-fullscreen-wizard .ksr-submit{grid-column:2}
  .ksr-fullscreen-wizard .ksr-result{grid-column:1/-1;margin:6px 0 0!important;max-height:38vh!important;overflow:auto!important}
  .ksr-fullscreen-wizard .ksr-service-grid,.ksr-fullscreen-wizard .ksr-area-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .ksr-fullscreen-wizard .ksr-map{height:clamp(150px,24svh,220px)!important}
  .ksr-fullscreen-wizard .ksr-step[data-step="8"] .ksr-map{height:clamp(150px,24svh,220px)!important}
  .ksr-fullscreen-wizard .ksr-step h3{font-size:18px!important;line-height:1.5!important;margin:0 0 4px!important}
  .ksr-fullscreen-wizard .ksr-help{font-size:12px!important;margin:0 0 9px!important}
  .ksr-fullscreen-wizard .ksr-choice span{font-size:12px!important;min-height:42px!important}
}

/* v2.0.9 — customer order lifecycle controls inspired by compact service-booking flows */
.ksr-order-progress{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin:12px 14px 2px;padding:12px 8px;border:1px solid #e7edf0;border-radius:16px;background:#fbfdfd}.ksr-order-progress>div{position:relative;text-align:center;color:#9aa4ad;font-size:10px;font-weight:700}.ksr-order-progress>div:not(:last-child):after{content:"";position:absolute;top:13px;right:58%;width:84%;height:2px;background:#e2e7eb;z-index:0}.ksr-order-progress i{position:relative;z-index:1;width:28px;height:28px;margin:0 auto 5px;display:grid;place-items:center;border:2px solid #d6dde2;border-radius:50%;background:#fff;font-style:normal;font-size:10px}.ksr-order-progress .is-current{color:#0f8f7f}.ksr-order-progress .is-current i{border-color:#1db7a3;color:#0f8f7f;background:#ecfffb}.ksr-order-progress .is-done{color:#118c7d}.ksr-order-progress .is-done i{border-color:#32b8a7;background:#32b8a7;color:#fff}.ksr-order-progress .is-done:not(:last-child):after{background:#75d1c5}.ksr-customer-order-actions{display:grid;grid-template-columns:1fr .38fr;gap:8px;margin:10px 14px}.ksr-customer-order-actions button{min-height:44px;border-radius:12px;font:inherit;font-weight:800;cursor:pointer}.ksr-order-edit-toggle{border:0;background:#27b6a3;color:#fff}.ksr-order-cancel-toggle{border:1px solid #cdd5db;background:#fff;color:#5f6b76}.ksr-order-edit-panel{margin:10px 14px;padding:12px;border:1px solid #e3e8ec;border-radius:15px;background:#fff}.ksr-order-edit-form{display:grid;grid-template-columns:1fr 90px;gap:9px}.ksr-order-edit-form label{display:grid;gap:5px;font-size:11px;font-weight:700;color:#4b5563}.ksr-order-edit-form label:nth-of-type(1),.ksr-order-edit-form label:nth-of-type(3),.ksr-order-edit-form label:nth-of-type(4){grid-column:1/-1}.ksr-order-edit-form input,.ksr-order-edit-form textarea{width:100%;min-height:42px;border:1px solid #d9e0e5;border-radius:10px;padding:8px 10px;font:inherit;background:#fff}.ksr-order-edit-form>div{grid-column:1/-1;display:grid;grid-template-columns:.35fr 1fr;gap:8px}.ksr-order-edit-form button{min-height:42px;border-radius:10px;border:0;font:inherit;font-weight:800}.ksr-order-edit-form button[type=submit]{background:#27b6a3;color:#fff}.ksr-order-edit-close{background:#f1f3f5;color:#59636d}.ksr-cancel-dialog{width:min(520px,calc(100% - 24px));max-height:88dvh;border:0;border-radius:20px;padding:0;box-shadow:0 24px 70px rgba(0,0,0,.24)}.ksr-cancel-dialog::backdrop{background:rgba(0,0,0,.44)}.ksr-cancel-shell{padding:18px;display:grid;gap:9px;position:relative}.ksr-cancel-shell h3{margin:0;font-size:20px}.ksr-cancel-shell p{margin:0 0 4px;color:#6b7280;font-size:12px}.ksr-cancel-shell label{display:flex;align-items:center;gap:8px;padding:10px;border:1px solid #e1e5e9;border-radius:10px;background:#f7f8fa;font-size:11px;font-weight:700}.ksr-dialog-close{position:absolute;left:12px;top:10px;width:36px;height:36px;border:0;background:transparent;font-size:28px}.ksr-confirm-cancel{min-height:48px;margin-top:4px;border:2px solid #bb2e2e;border-radius:11px;background:#fff;color:#b42323;font:inherit;font-weight:900}
@media(max-width:700px){.ksr-order-progress{margin:8px 5px 2px;padding:9px 3px}.ksr-order-progress>div{font-size:9px}.ksr-order-progress i{width:25px;height:25px}.ksr-customer-order-actions,.ksr-order-edit-panel{margin:8px 5px}.ksr-cancel-dialog{width:100%;max-width:none;margin:auto 0 0;border-radius:20px 20px 0 0}.ksr-cancel-shell{padding:18px 14px max(18px,env(safe-area-inset-bottom))}}
.ksr-final-review{margin:10px 0 0;padding:12px;border:1px solid #dfe7e9;border-radius:15px;background:#fbfefe}.ksr-final-review-head{display:flex;align-items:center;gap:9px;margin-bottom:9px}.ksr-final-review-head>span{width:34px;height:34px;display:grid;place-items:center;border-radius:50%;background:#dffaf5;color:#149a88;font-weight:900}.ksr-final-review-head strong{display:block;font-size:14px}.ksr-final-review-head small{display:block;color:#7b858c;font-size:10px}.ksr-final-review-grid{display:grid;gap:0}.ksr-final-review-grid>div{display:grid;grid-template-columns:80px 1fr;gap:8px;padding:8px 2px;border-top:1px dashed #e0e6e8;font-size:11px}.ksr-final-review-grid span{color:#7b858c}.ksr-final-review-grid b{font-weight:800;color:#1d252b}

/* v2.0.12 option pricing */
.ksr-choice span{position:relative}.ksr-choice-price{display:block!important;margin-top:3px;color:#0f8f7f!important;font-size:9px!important;font-weight:800!important;line-height:1.4}.ksr-final-review-grid>div:nth-child(3) b{color:#0f8f7f}.ksr-location-status:not(.is-set){color:#b42318;font-weight:800}.ksr-location-status.is-set{color:#0f8f7f;font-weight:800}


/* v2.0.17 — keep action buttons above Android/iOS browser controls */
@media(max-width:700px){
  .ksr-fullscreen-wizard{padding-bottom:max(18px,env(safe-area-inset-bottom))!important;}
  .ksr-fullscreen-wizard .ksr-form{padding-bottom:0!important;}
  .ksr-fullscreen-wizard .ksr-stage-view{padding-bottom:18px!important;}
  .ksr-fullscreen-wizard .ksr-nav{
    padding:9px 0 max(14px,env(safe-area-inset-bottom))!important;
    min-height:calc(64px + max(14px,env(safe-area-inset-bottom)))!important;
    transform:translateY(calc(-1 * var(--ksr-browser-bottom,0px)))!important;
  }
  .ksr-fullscreen-wizard .ksr-result{padding-bottom:max(12px,env(safe-area-inset-bottom))!important;}
  .ksr-stage-view[data-stage="4"] .ksr-location-box{margin-bottom:10px!important;}
  .ksr-stage-view[data-stage="4"] .ksr-map{height:clamp(180px,32svh,300px)!important;}
}

/* v2.0.21 — stage one stays inside the page; fullscreen begins at stage two */
.kfscc-customer-login[hidden]{display:none!important}
.ksr-step[data-step="5"].is-verified>h3,.ksr-step[data-step="5"].is-verified>.ksr-help{display:none!important}
@media(max-width:700px){
  .ksr-wrap:not(.ksr-fullscreen-wizard) .ksr-form{min-height:0!important;height:auto!important;padding:10px!important}
  .ksr-wrap:not(.ksr-fullscreen-wizard) .ksr-stage-view[data-stage="1"]{overflow:visible!important}
  .ksr-wrap:not(.ksr-fullscreen-wizard) .ksr-stage-view[data-stage="1"] .ksr-service-grid,
  .ksr-wrap:not(.ksr-fullscreen-wizard) .ksr-stage-view[data-stage="1"] .ksr-area-grid{grid-template-columns:1fr!important;gap:8px!important}
  .ksr-wrap:not(.ksr-fullscreen-wizard) .ksr-stage-view[data-stage="1"] .ksr-choice span{min-height:50px!important;padding:11px 13px!important;font-size:14px!important;line-height:1.65!important;text-align:right!important;justify-content:flex-start!important}
  .ksr-wrap:not(.ksr-fullscreen-wizard) .ksr-stage-view[data-stage="1"] .ksr-condition-group{padding:10px!important;border-radius:14px!important}
  .ksr-wrap:not(.ksr-fullscreen-wizard) .ksr-stage-view[data-stage="1"] .ksr-condition-title{font-size:13px!important;margin:0 0 8px!important}
}

/* A defensive reset for older themes that forced every form stage fullscreen. */
@media(max-width:900px){
  html body.kfs-service-form-active .ksr-wrap.ksr-stage-one:not(.ksr-fullscreen-wizard),
  html body .ksr-wrap.ksr-stage-one:not(.ksr-fullscreen-wizard){position:relative!important;inset:auto!important;z-index:auto!important;width:auto!important;max-width:100%!important;height:auto!important;min-height:0!important;margin:6px 5px 18px!important;padding:8px!important;border-radius:14px!important;overflow:visible!important}
  html body .ksr-wrap.ksr-stage-one:not(.ksr-fullscreen-wizard)>.ksr-progress,
  html body .ksr-wrap.ksr-stage-one:not(.ksr-fullscreen-wizard)>.ksr-progress-text{display:flex!important}
  html body .ksr-wrap.ksr-stage-one:not(.ksr-fullscreen-wizard) .ksr-form{height:auto!important;min-height:0!important}
}

/* v2.0.23 — fixed, keyboard-safe Continue actions on every customer stage */
.ksr-map-embed{position:relative;width:100%;height:100%;min-height:220px;overflow:hidden;border-radius:14px;background:#eef2f7}.ksr-map-embed iframe{display:block;width:100%;height:100%;min-height:220px;border:0}.ksr-map-retry{position:absolute;right:10px;bottom:10px;min-height:40px;padding:7px 12px;border:1px solid rgba(15,23,42,.12);border-radius:10px;background:rgba(255,255,255,.94);box-shadow:0 4px 16px rgba(15,23,42,.13);color:#0f172a;font:inherit;font-size:11px;font-weight:900;cursor:pointer}
@media(max-width:700px){
  .ksr-wrap.ksr-fullscreen-wizard{top:var(--ksr-visual-top,0px)!important;bottom:auto!important;height:var(--ksr-vh,100dvh)!important;padding-bottom:0!important}
  .ksr-fullscreen-wizard .ksr-form{grid-template-rows:minmax(0,1fr)!important;padding-bottom:0!important}
  .ksr-fullscreen-wizard .ksr-stage-view{padding-bottom:calc(104px + env(safe-area-inset-bottom))!important}
  .ksr-fullscreen-wizard .ksr-nav{
    position:fixed!important;inset:auto 9px auto 9px!important;
    bottom:calc(max(14px,env(safe-area-inset-bottom)) + var(--ksr-browser-bottom,0px))!important;
    min-height:68px!important;padding:8px!important;border:1px solid #e7ebef!important;border-radius:17px!important;
    background:rgba(255,255,255,.97)!important;box-shadow:0 -8px 28px rgba(15,23,42,.13)!important;
    transform:none!important;backdrop-filter:blur(10px)!important;z-index:2147483000!important
  }
  .ksr-wrap.ksr-stage-one:not(.ksr-fullscreen-wizard) .ksr-form{padding-bottom:112px!important}
  .ksr-wrap.ksr-stage-one:not(.ksr-fullscreen-wizard) .ksr-nav:not(.ksr-is-hidden){
    position:fixed!important;right:10px!important;left:10px!important;bottom:calc(86px + env(safe-area-inset-bottom) + var(--ksr-browser-bottom,0px))!important;
    z-index:2147481000!important;margin:0!important;padding:8px!important;border:1px solid #e6eaf0!important;border-radius:17px!important;
    background:rgba(255,255,255,.97)!important;box-shadow:0 12px 32px rgba(15,23,42,.18)!important;backdrop-filter:blur(10px)!important
  }
  .ksr-wrap.ksr-stage-one:not(.ksr-fullscreen-wizard) .ksr-nav .ksr-next{min-height:52px!important}
}

/* v2.0.24 — visible loading progress with completed/remaining stage labels */
.ksr-progress{--ksr-progress:11.111%;position:relative!important;display:block;overflow:hidden!important;isolation:isolate}
.ksr-progress>span{position:absolute!important;inset-block:0!important;inset-inline-start:0!important;width:var(--ksr-progress)!important;border-radius:999px;overflow:hidden}
.ksr-progress>span:after{content:"";position:absolute;inset:-1px;width:42%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.82),transparent);animation:ksrProgressShimmer 1.15s ease-in-out infinite}
.ksr-progress-loader{position:absolute;z-index:2;inset-block-start:50%;inset-inline-start:max(2px,calc(var(--ksr-progress) - 7px));width:12px;height:12px;border:2px solid #fff;border-inline-start-color:#f26500;border-radius:50%;background:#ff8b2b;box-shadow:0 0 0 2px rgba(242,101,0,.2);transform:translateY(-50%);animation:ksrProgressSpin .75s linear infinite}
.ksr-progress-text b{color:#334155}.ksr-progress-text span{color:#64748b;font-weight:800}
@keyframes ksrProgressShimmer{from{transform:translateX(-150%)}to{transform:translateX(350%)}}
@keyframes ksrProgressSpin{to{transform:translateY(-50%) rotate(360deg)}}
@media(max-width:700px){.ksr-wrap.ksr-fullscreen-wizard>.ksr-progress,.ksr-wrap.ksr-fullscreen-wizard>.ksr-progress-text{display:block!important}.ksr-wrap.ksr-fullscreen-wizard>.ksr-progress-text{display:flex!important}.ksr-progress-loader{width:10px;height:10px}}
@media(prefers-reduced-motion:reduce){.ksr-progress>span:after,.ksr-progress-loader{animation:none}}

/* v2.0.25 — stage one belongs to the page, so its action stays inside the form. */
@media(max-width:900px){
  html body .ksr-wrap.ksr-stage-one:not(.ksr-fullscreen-wizard) .ksr-form{padding-bottom:10px!important}
  html body .ksr-wrap.ksr-stage-one:not(.ksr-fullscreen-wizard) .ksr-nav:not(.ksr-is-hidden){
    position:relative!important;inset:auto!important;right:auto!important;left:auto!important;bottom:auto!important;
    z-index:2!important;margin:14px 0 0!important;padding:0!important;border:0!important;border-radius:0!important;
    background:transparent!important;box-shadow:none!important;backdrop-filter:none!important;transform:none!important
  }
  html body .ksr-wrap.ksr-stage-one:not(.ksr-fullscreen-wizard) .ksr-nav .ksr-next{min-height:50px!important}
}
/* v2.0.27: unified tracking page */
.ksr-track-form .ksr-submit,.ksr-track-form .ksr-track-submit{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:48px!important;white-space:nowrap!important}
.ksr-unified-track .ksr-head .ksr-badge{margin-bottom:7px}
.ksr-product-orders{margin-top:16px}
.ksr-woo-track-card{margin-top:18px;background:#fff}
.ksr-woo-items{margin-top:12px;padding:14px;border-radius:13px;background:#fff;border:1px solid #e5e7eb}
.ksr-woo-items h4{margin:0 0 8px;font-size:14px}.ksr-woo-items ul{margin:0;padding-right:18px}.ksr-woo-items li{margin:5px 0;color:#475569}
@media(max-width:700px){.ksr-track-form .ksr-submit,.ksr-track-form .ksr-track-submit{width:100%!important;display:flex!important}.ksr-unified-track .ksr-head h2{font-size:25px!important}.ksr-unified-track .ksr-head p{font-size:13px!important}}
/* v2.5.0 — مرحله محل کار + پیشنهاد محصول خدمات */
.ksr-scope-group{display:none;margin:0 0 14px}.ksr-scope-group.is-visible{display:block}.ksr-scope-group .ksr-condition-title{margin:0 0 8px;font-size:14px}.ksr-auto-products-in-bid{margin:12px 0;padding:11px;border:1px solid #e2e8f0;border-radius:14px;background:#f8fafc}.ksr-auto-products-title{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;margin-bottom:8px}.ksr-auto-products-title b{font-size:14px;color:#0f172a}.ksr-auto-products-title small{font-size:11px;color:#64748b}.ksr-auto-products-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.ksr-auto-product-card{display:flex;gap:8px;align-items:center;padding:8px;background:#fff;border:1px solid #e5e7eb;border-radius:12px;min-width:0}.ksr-auto-product-card img{width:52px;height:52px;object-fit:cover;border-radius:9px;flex:0 0 auto}.ksr-auto-product-card>div{min-width:0;flex:1}.ksr-auto-product-card h4{display:flex;align-items:center;gap:5px;margin:0 0 2px;font-size:13px}.ksr-auto-product-card h4 em{font-style:normal;font-size:9px;padding:2px 5px;border-radius:999px;background:#ecfdf5;color:#166534}.ksr-auto-product-card p{margin:0 0 3px;font-size:11px;line-height:1.55;color:#475569}.ksr-auto-product-card span{display:block;font-size:11px;font-weight:700}.ksr-auto-product-card a{display:inline-block;margin-top:4px;font-size:11px;text-decoration:none;font-weight:700;color:#166534}@media(max-width:560px){.ksr-auto-products-list{grid-template-columns:1fr}.ksr-auto-products-title{display:block}.ksr-auto-products-title small{display:block;margin-top:2px}}

/* v2.5.1 customer-side automatic product suggestions before technician quotes */
.ksr-auto-products-customer{margin:14px 0 16px;padding:13px;border:1px solid #dbe8e0;border-radius:16px;background:linear-gradient(180deg,#f8fffb 0%,#fff 100%);box-shadow:0 8px 22px rgba(22,101,52,.05)}
.ksr-auto-products-customer .ksr-auto-products-title{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:10px}
.ksr-auto-products-customer .ksr-auto-products-title>div{min-width:0}
.ksr-auto-products-customer .ksr-auto-products-title b{display:block;font-size:14px;color:#123d26;margin-bottom:2px}
.ksr-auto-products-customer .ksr-auto-products-title small{display:block;font-size:10.5px;line-height:1.7;color:#64748b}
.ksr-auto-products-customer .ksr-auto-products-title>span{flex:0 0 auto;font-size:9px;font-weight:800;padding:5px 8px;border-radius:999px;background:#e8f7ee;color:#166534}
.ksr-auto-products-customer .ksr-auto-product-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-top:6px}
.ksr-auto-products-customer .ksr-smart-chat{border:0;border-radius:9px;background:#14532d;color:#fff;padding:7px 9px;font:inherit;font-size:10px;font-weight:800;cursor:pointer}
.ksr-auto-products-customer .ksr-auto-product-actions a{margin:0;padding:6px 7px;border-radius:8px;background:#f1f5f9;color:#334155!important;font-size:10px}
@media(max-width:560px){.ksr-auto-products-customer{padding:11px}.ksr-auto-products-customer .ksr-auto-products-title{display:block}.ksr-auto-products-customer .ksr-auto-products-title>span{display:inline-block;margin-top:6px}.ksr-auto-products-customer .ksr-smart-chat{flex:1 1 auto}}


/* v2.5.3 — iPhone/Chrome fullscreen wizard: keep Previous/Continue visibly docked inside the form. */
@media(max-width:900px){
  html body.ksr-wizard-open .ksr-wrap.ksr-fullscreen-wizard .ksr-form{
    display:grid!important;
    grid-template-rows:minmax(0,1fr) auto!important;
    align-content:stretch!important;
    overflow:hidden!important;
    padding:0!important;
  }
  html body.ksr-wizard-open .ksr-wrap.ksr-fullscreen-wizard .ksr-stage-view.is-active{
    grid-row:1!important;
    min-height:0!important;
    height:auto!important;
    overflow-y:auto!important;
    padding:6px 4px 14px!important;
  }
  html body.ksr-wizard-open .ksr-wrap.ksr-fullscreen-wizard .ksr-form > .ksr-nav.ksr-nav-visible:not(.ksr-is-hidden){
    grid-row:2!important;
    position:relative!important;
    inset:auto!important;
    top:auto!important;
    right:auto!important;
    bottom:auto!important;
    left:auto!important;
    display:grid!important;
    grid-template-columns:minmax(92px,.34fr) minmax(0,1fr)!important;
    gap:9px!important;
    width:100%!important;
    min-height:72px!important;
    margin:0!important;
    padding:9px 4px max(12px,env(safe-area-inset-bottom))!important;
    box-sizing:border-box!important;
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
    transform:none!important;
    overflow:visible!important;
    background:#fff!important;
    border:0!important;
    border-top:1px solid #e8edf2!important;
    border-radius:0!important;
    box-shadow:0 -10px 28px rgba(15,23,42,.10)!important;
    backdrop-filter:none!important;
    z-index:2147483600!important;
  }
  html body.ksr-wizard-open .ksr-wrap.ksr-fullscreen-wizard .ksr-nav.ksr-nav-visible .ksr-back,
  html body.ksr-wizard-open .ksr-wrap.ksr-fullscreen-wizard .ksr-nav.ksr-nav-visible .ksr-next,
  html body.ksr-wizard-open .ksr-wrap.ksr-fullscreen-wizard .ksr-nav.ksr-nav-visible .ksr-submit{
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
    min-height:52px!important;
    margin:0!important;
    transform:none!important;
  }
  html body.ksr-wizard-open .ksr-wrap.ksr-fullscreen-wizard .ksr-nav.ksr-nav-visible .ksr-back{
    display:inline-flex!important;
    grid-column:1!important;
    background:#eef2f7!important;
    color:#475569!important;
  }
  html body.ksr-wizard-open .ksr-wrap.ksr-fullscreen-wizard .ksr-nav.ksr-nav-visible .ksr-next{
    grid-column:2!important;
    background:linear-gradient(135deg,#f26500,#ff8b2b)!important;
    color:#fff!important;
  }
  html body.ksr-wizard-open .ksr-wrap.ksr-fullscreen-wizard .ksr-nav.ksr-nav-visible .ksr-submit{
    grid-column:2!important;
    background:linear-gradient(135deg,#f26500,#ff8b2b)!important;
    color:#fff!important;
  }
  html body.ksr-wizard-open .ksr-wrap.ksr-fullscreen-wizard .ksr-stage-view{
    padding-bottom:14px!important;
  }
}

/* v2.5.5 — hard mobile wizard controls + embedded OTP independent from Customer Hub page assets */
.ksr-otp-box{margin-top:12px;padding:14px;border:1px solid #e3e8ee;border-radius:16px;background:#fbfdff}.ksr-otp-stage{display:none}.ksr-otp-stage.is-active{display:block}.ksr-otp-primary,.ksr-otp-resend,.ksr-otp-change{font:inherit;font-weight:900;cursor:pointer}.ksr-otp-primary{width:100%;min-height:50px;margin-top:10px;border:0;border-radius:13px;background:linear-gradient(135deg,#f26500,#ff8b2b);color:#fff;box-shadow:0 10px 24px rgba(242,101,0,.18)}.ksr-otp-primary:disabled,.ksr-otp-resend:disabled{opacity:.55;cursor:not-allowed}.ksr-otp-resend{width:100%;min-height:42px;margin-top:8px;border:1px solid #dce3ea;border-radius:11px;background:#fff;color:#475569}.ksr-otp-change{border:0;background:transparent;color:#f26500;padding:4px 0 8px}.ksr-otp-hint{margin:0 0 8px;color:#475569;font-size:12px}.ksr-otp-message{min-height:24px;margin:9px 0 0;font-size:12px;font-weight:800}.ksr-otp-message.is-ok{color:#15803d}.ksr-otp-message.is-error{color:#b91c1c}.ksr-phone-verified{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:10px;padding:13px 14px;border:1px solid #bbf7d0;border-radius:14px;background:#f0fdf4;color:#166534}.ksr-phone-verified strong{font-size:13px}.ksr-phone-verified span{font-weight:900}
@media(max-width:900px){
  .ksr-wrap.ksr-fullscreen-wizard .ksr-form{display:grid!important;grid-template-rows:minmax(0,1fr) auto auto!important;overflow:hidden!important}
  .ksr-wrap.ksr-fullscreen-wizard .ksr-stage-view.is-active{grid-row:1!important;min-height:0!important;overflow-y:auto!important;padding-bottom:14px!important}
  .ksr-wrap.ksr-fullscreen-wizard .ksr-form>.ksr-nav.ksr-nav-visible:not(.ksr-is-hidden){display:grid!important;grid-row:2!important;grid-template-columns:minmax(94px,.34fr) minmax(0,1fr)!important;gap:9px!important;position:relative!important;inset:auto!important;right:auto!important;left:auto!important;top:auto!important;bottom:auto!important;width:100%!important;min-height:72px!important;margin:0!important;padding:9px 4px max(12px,env(safe-area-inset-bottom))!important;opacity:1!important;visibility:visible!important;pointer-events:auto!important;transform:none!important;background:#fff!important;border:0!important;border-top:1px solid #e8edf2!important;border-radius:0!important;box-shadow:0 -10px 28px rgba(15,23,42,.10)!important;z-index:2147483600!important}
  .ksr-wrap.ksr-fullscreen-wizard .ksr-nav.ksr-nav-visible .ksr-back,.ksr-wrap.ksr-fullscreen-wizard .ksr-nav.ksr-nav-visible .ksr-next,.ksr-wrap.ksr-fullscreen-wizard .ksr-nav.ksr-nav-visible .ksr-submit{opacity:1!important;visibility:visible!important;pointer-events:auto!important;min-height:52px!important;margin:0!important;transform:none!important}
  .ksr-wrap.ksr-fullscreen-wizard .ksr-nav.ksr-nav-visible .ksr-back{grid-column:1!important}.ksr-wrap.ksr-fullscreen-wizard .ksr-nav.ksr-nav-visible .ksr-next,.ksr-wrap.ksr-fullscreen-wizard .ksr-nav.ksr-nav-visible .ksr-submit{grid-column:2!important}
}

/* v2.5.6 — mobile action controls stay inside the visible white wizard area.
   iOS Chrome/Safari may paint the browser bottom chrome as a grey zone; never dock
   Previous/Continue/Submit into that area. The form owns a white action shelf. */
@media(max-width:900px){
  html body.ksr-wizard-open .ksr-wrap.ksr-fullscreen-wizard{
    background:#fff!important;
    padding-bottom:0!important;
  }
  html body.ksr-wizard-open .ksr-wrap.ksr-fullscreen-wizard .ksr-form{
    min-height:0!important;
    height:100%!important;
    display:grid!important;
    grid-template-rows:minmax(0,1fr) auto auto!important;
    overflow:hidden!important;
    background:#fff!important;
    padding:0!important;
  }
  html body.ksr-wizard-open .ksr-wrap.ksr-fullscreen-wizard .ksr-stage-view.is-active{
    grid-row:1!important;
    min-height:0!important;
    overflow-y:auto!important;
    padding:6px 4px 18px!important;
    background:#fff!important;
  }
  html body.ksr-wizard-open .ksr-wrap.ksr-fullscreen-wizard .ksr-form > .ksr-nav.ksr-nav-visible:not(.ksr-is-hidden){
    grid-row:2!important;
    position:relative!important;
    inset:auto!important;
    right:auto!important;
    left:auto!important;
    top:auto!important;
    bottom:auto!important;
    width:100%!important;
    min-height:82px!important;
    margin:0!important;
    padding:12px 6px max(16px,env(safe-area-inset-bottom))!important;
    display:grid!important;
    grid-template-columns:minmax(96px,.35fr) minmax(0,1fr)!important;
    align-items:center!important;
    gap:10px!important;
    box-sizing:border-box!important;
    background:#fff!important;
    border:0!important;
    border-top:1px solid #edf1f5!important;
    border-radius:0!important;
    box-shadow:0 -10px 28px rgba(15,23,42,.07)!important;
    backdrop-filter:none!important;
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
    transform:none!important;
    z-index:2147483600!important;
  }
  html body.ksr-wizard-open .ksr-wrap.ksr-fullscreen-wizard .ksr-nav.ksr-nav-visible .ksr-back,
  html body.ksr-wizard-open .ksr-wrap.ksr-fullscreen-wizard .ksr-nav.ksr-nav-visible .ksr-next,
  html body.ksr-wizard-open .ksr-wrap.ksr-fullscreen-wizard .ksr-nav.ksr-nav-visible .ksr-submit{
    min-height:52px!important;
    margin:0!important;
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
  }
}
@media(max-width:700px){
  /* Keep the floating chat control on the same visible white band, not in browser chrome. */
  html body.ksr-wizard-open .ksr-floating-contact{
    bottom:calc(92px + env(safe-area-inset-bottom))!important;
  }
}

/* v2.5.9 cascade guard — must remain after legacy wizard rules. */
@media(max-width:900px){
  html body.ksr-wizard-open .ksr-wrap.ksr-fullscreen-wizard .ksr-stage-view.is-active{
    padding-bottom:118px!important;
  }
  html body.ksr-wizard-open .ksr-wrap.ksr-fullscreen-wizard .ksr-form > .ksr-nav.ksr-nav-visible:not(.ksr-is-hidden){
    position:fixed!important;
    inset:auto 9px calc(var(--ksr-browser-bottom,0px) + env(safe-area-inset-bottom) + 10px) 9px!important;
    right:9px!important;
    left:9px!important;
    top:auto!important;
    bottom:calc(var(--ksr-browser-bottom,0px) + env(safe-area-inset-bottom) + 10px)!important;
    width:auto!important;
    min-height:72px!important;
    padding:8px!important;
    display:grid!important;
    grid-template-columns:minmax(96px,.35fr) minmax(0,1fr)!important;
    align-items:center!important;
    gap:9px!important;
    border:1px solid #e4e9ee!important;
    border-radius:17px!important;
    background:rgba(255,255,255,.98)!important;
    box-shadow:0 14px 38px rgba(15,23,42,.20)!important;
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
    transform:translateZ(0)!important;
    z-index:2147483600!important;
  }
  html body.ksr-wizard-open .ksr-wrap.ksr-fullscreen-wizard .ksr-nav.ksr-nav-visible .ksr-back,
  html body.ksr-wizard-open .ksr-wrap.ksr-fullscreen-wizard .ksr-nav.ksr-nav-visible .ksr-next,
  html body.ksr-wizard-open .ksr-wrap.ksr-fullscreen-wizard .ksr-nav.ksr-nav-visible .ksr-submit{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-height:52px!important;
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
  }
}
