body{background:#f5f7fb;color:#263346}.kv-app{display:grid;grid-template-columns:minmax(310px,38%) minmax(0,1fr);min-height:100vh}.kv-hero{background:linear-gradient(160deg,#122b53,#184e86 65%,#0f70a6);color:#fff;padding:48px clamp(28px,4vw,78px);display:flex;flex-direction:column;justify-content:space-between}.kv-brand img{width:152px;max-width:100%;background:white;padding:10px;border-radius:10px}.kv-brand span{display:block;font-size:11px;letter-spacing:.2em;margin-top:12px;opacity:.8}.eyebrow,.kv-kicker{font-size:11px;letter-spacing:.16em;font-weight:800}.kv-hero h1{font-size:clamp(38px,4vw,62px);line-height:1.08;color:white;font-weight:800;margin:22px 0}.kv-hero h1 em{color:#90ddff;font-style:normal}.kv-hero-main>p{font-size:17px;line-height:1.7;opacity:.85;margin-bottom:35px}.kv-benefit{display:flex;gap:14px;align-items:center;margin:18px 0;font-size:15px}.kv-benefit i{font-size:23px;color:#90ddff}.kv-hero-footer{font-size:12px;opacity:.65}.kv-main{max-width:940px;width:100%;margin:auto;padding:50px clamp(24px,5vw,80px)}.kv-topline{display:flex;justify-content:space-between;gap:16px;align-items:start}.kv-kicker{color:#2467b8}.kv-topline h2{font-size:30px;margin:12px 0 8px;font-weight:800}.kv-topline p{color:#788397}.kv-secure{font-size:12px;color:#64748b;border:1px solid #e3e8f1;padding:9px 13px;border-radius:40px;white-space:nowrap}.kv-progress{display:flex;align-items:center;margin:30px 0 25px}.kv-progress button{display:flex;align-items:center;gap:9px;background:transparent;border:0;color:#8792a4;padding:0;cursor:pointer}.kv-progress button b{display:grid;place-items:center;border-radius:50%;width:34px;height:34px;background:#e9eef6;color:#7e8b9c}.kv-progress button.active b,.kv-progress button.complete b{background:#2368b8;color:white}.kv-progress button.active span{color:#263346;font-weight:700}.kv-progress-line{flex:1;height:1px;background:#d8dfe9;margin:0 15px}.kv-card{border:1px solid #e6eaf1;border-radius:18px;box-shadow:0 14px 45px rgba(26,46,86,.055)}.kv-card .card-body{padding:clamp(22px,3vw,40px)}.kv-step{display:none}.kv-step.active{display:block}.section-heading{border-bottom:1px solid #e9edf3;margin-bottom:24px;padding-bottom:16px}.section-heading small{font-weight:800;color:#2467b8;letter-spacing:.14em}.section-heading h3{font-weight:800;font-size:22px;margin:9px 0}.section-heading p{margin:0;color:#7a8595}.kv-card .form-group{margin-bottom:17px}.kv-card input.form-control,.kv-card select.form-control{min-height:48px;border-radius:9px;border-color:#dfe5ee;font-size:15px}.kv-card input:focus,.kv-card select:focus{box-shadow:0 0 0 3px #c9def8}.kv-card .row>[class*=col-]{margin-bottom:1px}.kv-step-actions{display:flex;justify-content:flex-end;gap:14px;border-top:1px solid #e7ebf2;padding-top:22px;margin-top:12px}.kv-help{display:flex;gap:18px;align-items:center;flex-wrap:wrap;font-size:13px;margin-top:22px;color:#788398}.kv-help a{color:#2368b8}.kv-warning{font-size:12px;line-height:1.55;color:#8490a0;margin-top:16px}.review-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin:20px 0}.review-item{padding:13px;border:1px solid #e7ebf1;border-radius:10px;word-break:break-word}.review-item small{display:block;color:#8793a5;font-size:11px;margin-bottom:5px}.review-item strong{font-size:14px}.kv-mobilebrand{display:none}.kv-card #myCheck{margin-right:8px}.kv-card #myCheck+label{font-size:13px;line-height:1.5}.kv-card #myCheck+label br{display:none}@media(max-width:1100px){.kv-app{grid-template-columns:300px minmax(0,1fr)}.kv-hero{padding:36px 25px}.kv-hero h1{font-size:38px}.kv-main{padding:34px}}@media(max-width:850px){.kv-app{display:block}.kv-hero{display:none}.kv-mobilebrand{display:block;margin-bottom:26px}.kv-mobilebrand img{width:140px}.kv-main{padding:25px 18px 50px}.kv-topline h2{font-size:24px}.kv-secure{display:none}.kv-progress button span{font-size:12px}.kv-progress-line{margin:0 7px}}@media(max-width:460px){.kv-progress button{gap:5px}.kv-progress button b{width:28px;height:28px}.kv-card .card-body{padding:20px 15px}.review-grid{grid-template-columns:1fr}.kv-help{gap:8px 16px}}
/* v0.3.1: explicit, accessible consent control */
.kv-consent-panel{margin-top:22px;padding:20px;border:1px solid #d9e5f2;border-radius:12px;background:#f7faff}
.kv-consent-check{display:flex;align-items:flex-start;gap:12px;min-height:26px;padding-left:0;margin:0}
.kv-consent-check .form-check-input{appearance:checkbox!important;-webkit-appearance:checkbox!important;position:static!important;float:none!important;display:block!important;flex:0 0 22px;width:22px!important;height:22px!important;min-width:22px;margin:0!important;opacity:1!important;visibility:visible!important;cursor:pointer;accent-color:#2467b8}
.kv-consent-check .form-check-label{display:block;font-size:15px;line-height:1.55;color:#263346;cursor:pointer}
.kv-consent-check a{color:#155ba8;text-decoration:underline}
.kv-consent-help{margin:12px 0 0 34px;font-size:13px;color:#68788e}
.kv-consent-panel:has(input:checked){border-color:#a1d4b8;background:#f4fbf7}
#kv-submit:disabled{opacity:.55;cursor:not-allowed}

/* v0.3.2: dynamic W Express branch radio controls from get_stn.php.
   Scope overrides to #stn-list so other field types retain Sneat appearance. */
#stn-list input[type="radio"],
.kv-card #stn-list input[type="radio"].form-control {
  appearance: auto !important;
  -webkit-appearance: radio !important;
  width: 21px !important;
  height: 21px !important;
  min-height: 21px !important;
  min-width: 21px !important;
  max-width: 21px !important;
  display: inline-block !important;
  vertical-align: middle !important;
  padding: 0 !important;
  margin: 4px 0 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: transparent !important;
  box-shadow: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  float: none !important;
  flex: 0 0 21px !important;
  cursor: pointer;
  accent-color: #2467b8;
}
#stn-list .row.form-group:has(input[type="radio"]) {
  padding: 12px 8px;
  margin: 4px 0 10px;
  border: 1px solid #dce5f0;
  border-radius: 12px;
  cursor: pointer;
  transition: background-color .15s, border-color .15s;
}
#stn-list .row.form-group:has(input[type="radio"]:checked) {
  background: #f0f6ff;
  border-color: #2467b8;
}
#stn-list .row.form-group:has(input[type="radio"]:focus-visible) {
  outline: 2px solid #2467b8;
  outline-offset: 2px;
}
#stn-list .row.form-group:has(input[type="radio"]) > .col-md-1 {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
#stn-list .row.form-group:has(input[type="radio"]) h5 { margin: 0 0 6px; }
@media(max-width:767px){
  #stn-list .row.form-group:has(input[type="radio"]) > .col-md-1 {justify-content:flex-start; padding-bottom:8px;}
}

/* v0.3.3: dedicated native branch radios (never apply text-field sizing). */
#stn-list .kv-branch-radio, .kv-card #stn-list input.kv-branch-radio[type=radio] {
  -webkit-appearance: radio !important; appearance: radio !important;
  display: inline-block !important; width: 22px !important; height: 22px !important;
  min-width: 22px !important; min-height: 22px !important; max-width: 22px !important;
  padding: 0 !important; margin: 3px 0 !important; border-radius: 50% !important;
  background: initial !important; box-shadow: none !important; cursor: pointer;
  accent-color: #2467b8; vertical-align: top;
}
#stn-list .row.form-group:has(.kv-branch-radio:checked){border-color:#2467b8;background:#f0f6ff;}

/* v0.3.5: native, exclusive station-ID selectors including OSA station 1000 */
#stn-list .kv-options{display:grid;gap:12px;margin:16px 0;}
#stn-list .kv-service-notice{font-weight:600;color:#ba3535;margin:0 0 5px;}
#stn-list label.kv-delivery-option{display:flex;gap:16px;align-items:flex-start;border:1px solid #d8e1ef;border-radius:12px;padding:16px;cursor:pointer;background:#fff;margin:0;transition:border-color .2s,background-color .2s;}
#stn-list label.kv-delivery-option:has(input:checked){border-color:#3463e9;background:#eff4ff;box-shadow:0 0 0 1px #3463e9;}
#stn-list .kv-delivery-option .kv-branch-radio{appearance:radio!important;-webkit-appearance:radio!important;width:20px!important;height:20px!important;min-width:20px!important;min-height:20px!important;max-width:20px!important;margin:1px 0!important;accent-color:#3463e9;flex:none;cursor:pointer;}
#stn-list .kv-option-content{display:grid;gap:5px;min-width:0;}
#stn-list .kv-option-content strong{font-size:15px;color:#263a57;}
#stn-list .kv-option-detail{font-size:13px;line-height:1.6;color:#62738b;}

/* v0.3.7: Review delivery / pickup summary, matching the existing selected stnid. */
.kv-review-delivery{margin-top:22px;}
.kv-review-delivery h4{font-size:17px;font-weight:700;color:#2d405f;margin:0 0 12px;}
.kv-review-station-card{background:#f2f6fc;border:1px solid #dce6f4;border-radius:12px;padding:16px 20px;display:grid;gap:12px;}
.kv-review-station-line{display:grid;gap:3px;overflow-wrap:anywhere;}
.kv-review-station-line small{font-size:12px;color:#7586a3;}
.kv-review-station-line strong{font-size:14px;font-weight:600;color:#394f6e;}

/* v0.4.0: review labels and values must never run together. */
.kv-review-station-card{display:grid;gap:14px}
.kv-review-station-line{display:flex;flex-direction:column;align-items:flex-start;gap:6px;min-width:0}
.kv-review-station-line small,.kv-review-station-line strong{display:block;max-width:100%;line-height:1.55;white-space:normal;overflow-wrap:anywhere}
.kv-review-station-line small{font-size:12px;font-weight:500;color:#687a97}
.kv-review-station-line strong{font-size:14px;font-weight:650;color:#334966}
.kv-group-guidance{display:flex;gap:13px;align-items:flex-start;border:1px solid #c9dff7;background:#f1f7ff;padding:18px;border-radius:12px;color:#294465;margin:20px 0;line-height:1.55}
.kv-group-guidance[hidden]{display:none!important}.kv-group-guidance p{margin:5px 0 0;font-size:14px}
.kv-group-guidance .kv-guidance-icon,.kv-group-guidance>.bx{font-size:24px;color:#2467b8}

/* v0.4.1: explicit two-line station review fields, robust against legacy styles. */
.kv-review-station-card .kv-review-station-line{display:block!important;margin-bottom:14px;min-width:0;}
.kv-review-station-card .kv-review-station-line:last-child{margin-bottom:0;}
.kv-review-station-card .kv-review-station-label{display:block!important;font-size:12px;font-weight:500;color:#687a97;line-height:1.45;margin-bottom:5px;}
.kv-review-station-card .kv-review-station-value{display:block!important;font-size:14px;font-weight:600;color:#334966;line-height:1.55;overflow-wrap:anywhere;white-space:normal;}

/* v0.4.2: fixed desktop brand panel; right-side form scrolls with document. */
@media (min-width: 851px) {
  .kv-app { align-items: start; }
  .kv-hero {
    position: sticky; top: 0; align-self: start;
    height: 100vh; height: 100dvh;
    min-height: 0; overflow-y: auto;
    overscroll-behavior: contain;
    z-index: 2;
  }
  .kv-brand { flex-shrink: 0; }
  .kv-hero-main { margin-block: auto; padding-block: 28px; }
  .kv-hero-footer { flex-shrink: 0; }
}
@media (max-width: 850px) {
  .kv-hero { position: static; height: auto; }
}
