:root{
  --ws-blue:#0054b8;
  --ws-blue-dark:#003f8a;
  --ws-blue-deep:#082a5a;
  --ws-blue-soft:#eef7ff;
  --ws-orange:#f58220;
  --ws-orange-dark:#eb6f00;
  --ws-green:#08a045;
  --ws-border:#d8e5f2;
  --ws-text:#10233f;
  --ws-muted:#667085;
  --ws-bg:#f5faff;
  --ws-white:#fff;
  --ws-shadow:0 14px 34px rgba(0,84,184,.10);
}

.ws-template--estimate,
.ws-template--estimate *{box-sizing:border-box;}
.ws-template--estimate{background:linear-gradient(180deg,#f7fbff 0%,#fff 44%,#f7fbff 100%);color:var(--ws-text);font-family:inherit;}
.ws-estimate-container{width:min(100% - 40px,1180px);margin-inline:auto;}

/* page top */
.ws-estimate-fv{padding:34px 0 22px;background:linear-gradient(180deg,#f6fbff 0%,#fff 100%);border-bottom:1px solid #eaf1f8;}
.ws-estimate-fv h1{margin:0;text-align:center;color:var(--ws-blue-deep);font-size:clamp(30px,4.4vw,46px);font-weight:900;line-height:1.25;letter-spacing:.06em;}
.ws-estimate-fv__lead{margin:12px auto 24px;text-align:center;color:#263b59;font-size:18px;line-height:1.8;font-weight:700;}
.ws-estimate-merits{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 auto 20px;}
.ws-estimate-merit{display:flex;align-items:center;gap:16px;min-height:96px;padding:18px 24px;border:1px solid var(--ws-border);border-radius:10px;background:#fff;box-shadow:0 8px 24px rgba(0,50,120,.06);}
.ws-estimate-merit__icon{display:grid;place-items:center;width:54px;height:54px;flex:0 0 auto;border:3px solid var(--ws-blue);border-radius:12px;color:var(--ws-blue);font-size:28px;font-weight:900;line-height:1;}
.ws-estimate-merit strong{display:block;color:var(--ws-blue);font-size:18px;font-weight:900;line-height:1.35;}
.ws-estimate-merit small{display:block;margin-top:5px;color:#4c5f76;font-size:13px;font-weight:700;line-height:1.5;}
.ws-estimate-step{display:grid;grid-template-columns:repeat(3,1fr);padding:0;margin:18px 0 16px;list-style:none;border:1px solid var(--ws-border);border-radius:8px;background:#fff;box-shadow:0 8px 22px rgba(0,55,120,.06);overflow:hidden;}
.ws-estimate-step li{position:relative;display:flex;align-items:center;justify-content:center;gap:14px;min-height:72px;color:#243b5a;font-size:18px;font-weight:900;}
.ws-estimate-step li:not(:last-child)::after{content:"";position:absolute;right:-24px;top:0;width:48px;height:72px;background:#fff;border-top:1px solid var(--ws-border);border-right:1px solid var(--ws-border);transform:skewX(-38deg);z-index:2;}
.ws-estimate-step li span{position:relative;z-index:3;display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#d8e0ea;color:#0d2b4f;font-size:24px;font-weight:900;}
.ws-estimate-step li.is-active{color:var(--ws-blue);}
.ws-estimate-step li.is-active span{background:var(--ws-blue);color:#fff;}
.ws-estimate-guide{margin:0;text-align:center;color:#253b57;font-size:16px;line-height:1.7;font-weight:700;}

/* form card */
.ws-estimate-form-section{padding:22px 0 28px;}
.ws-estimate-card{background:#fff;border:1px solid var(--ws-border);border-radius:12px;box-shadow:var(--ws-shadow);padding:32px 36px;}
.ws-estimate-mwform-wrap{width:100%;}
.ws-estimate-mwform-wrap br,
.ws-estimate-form br,
.ws-estimate-mwform-wrap p:empty,
.ws-estimate-form p:empty{display:none!important;}

/* MW form recommended markup */
.ws-estimate-form{display:block;}
.ws-estimate-form__section{padding:0 0 28px;margin:0 0 24px;border-bottom:1px solid #e2edf8;}
.ws-estimate-form__section:last-of-type{border-bottom:0;margin-bottom:0;padding-bottom:0;}
.ws-estimate-form__title{display:flex;align-items:center;gap:12px;margin:0 0 20px;color:var(--ws-blue);font-size:26px;font-weight:900;line-height:1.45;}
.ws-estimate-form__title::after{content:"";display:block;flex:1;height:1px;border-top:1px dashed #b9d1eb;margin-left:18px;}
.ws-estimate-form__title-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:8px;background:#eef6ff;color:var(--ws-blue);font-size:22px;}
.ws-estimate-field{margin:0 0 20px;}
.ws-estimate-field:last-child{margin-bottom:0;}
.ws-estimate-label{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0 0 10px;color:#152b48;font-size:16px;font-weight:900;line-height:1.5;}
.ws-estimate-required,.ws-estimate-optional{display:inline-flex;align-items:center;justify-content:center;min-width:34px;height:20px;padding:0 7px;border-radius:3px;color:#fff;font-size:12px;font-weight:900;line-height:1;}
.ws-estimate-required{background:#ff4d62;}
.ws-estimate-optional{background:#98a2b3;}
.ws-estimate-label-note{color:#667085;font-size:14px;font-weight:700;}
.ws-estimate-note{margin:6px 0 0!important;color:#667085;font-size:13px;line-height:1.6;}
.ws-estimate-two-col{display:grid;grid-template-columns:1fr 1fr;gap:20px 34px;}

/* inputs */
.ws-estimate-mwform-wrap input[type="text"],
.ws-estimate-mwform-wrap input[type="email"],
.ws-estimate-mwform-wrap input[type="tel"],
.ws-estimate-mwform-wrap input[type="url"],
.ws-estimate-mwform-wrap input[type="number"],
.ws-estimate-mwform-wrap select,
.ws-estimate-mwform-wrap textarea{display:block;width:100%!important;max-width:none!important;margin:0!important;padding:14px 16px!important;border:1px solid #cbd8e7!important;border-radius:7px!important;background:#fff!important;color:#152b48!important;font-size:16px!important;line-height:1.6!important;box-shadow:none!important;appearance:auto;}
.ws-estimate-mwform-wrap textarea{min-height:96px;resize:vertical;}
.ws-estimate-mwform-wrap input::placeholder,
.ws-estimate-mwform-wrap textarea::placeholder{color:#98a2b3;opacity:1;}
.ws-estimate-mwform-wrap input:focus,
.ws-estimate-mwform-wrap textarea:focus,
.ws-estimate-mwform-wrap select:focus{outline:none!important;border-color:var(--ws-blue)!important;box-shadow:0 0 0 3px rgba(0,84,184,.13)!important;}

/* trouble place cards */
.ws-estimate-place-grid{display:grid;grid-template-columns:repeat(8,1fr);gap:12px;}
.ws-estimate-place-card{position:relative;display:flex!important;flex-direction:column;align-items:center;justify-content:center;min-height:96px;margin:0!important;padding:14px 8px!important;border:1px solid #d4e1f0;border-radius:8px;background:#fff;color:#0c2d54;text-align:center;font-weight:900;cursor:pointer;transition:.18s ease;}
.ws-estimate-place-card:hover{border-color:var(--ws-blue);box-shadow:0 8px 18px rgba(0,84,184,.1);transform:translateY(-1px);}
.ws-estimate-place-card input{position:absolute;opacity:0;pointer-events:none;}
.ws-estimate-place-card .ws-estimate-place-card__icon{display:grid;place-items:center;width:44px;height:44px;margin-bottom:8px;color:var(--ws-blue);font-size:31px;line-height:1;}
.ws-estimate-place-card:has(input:checked){border-color:var(--ws-blue);background:#eef6ff;box-shadow:0 0 0 2px rgba(0,84,184,.14) inset;}

/* check grid */
.ws-estimate-check-grid{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid #d4e1f0;border-radius:8px;overflow:hidden;background:#fff;}
.ws-estimate-check-grid label,
.ws-estimate-mwform-wrap .horizontal-item,
.ws-estimate-mwform-wrap .vertical-item{display:flex!important;align-items:center;gap:9px;min-height:48px;margin:0!important;padding:12px 16px!important;border-right:1px solid #e0e9f4;border-bottom:1px solid #e0e9f4;color:#152b48;font-size:15px;font-weight:700;line-height:1.4;}
.ws-estimate-check-grid label:nth-child(4n),
.ws-estimate-mwform-wrap .horizontal-item:nth-child(4n){border-right:0;}
.ws-estimate-check-grid label:nth-last-child(-n+4){border-bottom:0;}
.ws-estimate-mwform-wrap input[type="checkbox"],
.ws-estimate-mwform-wrap input[type="radio"]{width:18px!important;height:18px!important;margin:0 8px 0 0!important;accent-color:var(--ws-blue);flex:0 0 auto;}

/* upload */
.ws-estimate-upload{position:relative;display:flex;align-items:center;justify-content:center;min-height:108px;padding:22px;border:2px dashed #b9cde5;border-radius:8px;background:#fbfdff;text-align:center;color:var(--ws-blue);font-weight:900;}
.ws-estimate-upload input[type="file"]{position:absolute;inset:0;width:100%!important;height:100%!important;opacity:0;cursor:pointer;}
.ws-estimate-upload__text strong{display:block;font-size:18px;line-height:1.5;}
.ws-estimate-upload__text small{display:block;margin-top:4px;color:#667085;font-size:14px;font-weight:700;}

/* address row */
.ws-estimate-address-zip{display:grid;grid-template-columns:1fr auto;gap:10px;margin-bottom:10px;}
.ws-estimate-address-search{display:inline-flex;align-items:center;justify-content:center;min-width:118px;padding:0 16px;border:1px solid #cbd8e7;border-radius:7px;background:#fff;color:var(--ws-blue);font-size:14px;font-weight:900;text-decoration:none;}

/* radio buttons */
.ws-estimate-radio-cards{display:flex;gap:12px;flex-wrap:wrap;}
.ws-estimate-radio-cards label{display:flex!important;align-items:center;gap:10px;min-width:128px;margin:0!important;padding:12px 18px!important;border:1px solid #d4e1f0;border-radius:7px;background:#fff;color:#152b48;font-weight:900;}

/* privacy */
.ws-estimate-privacy{display:flex;gap:18px;align-items:flex-start;margin-top:18px;padding:20px 24px;border-radius:8px;background:linear-gradient(90deg,#eef7ff 0%,#f8fbff 100%);border:1px solid #dceaf8;}
.ws-estimate-privacy__icon{display:grid;place-items:center;width:44px;height:44px;flex:0 0 auto;border:2px solid var(--ws-blue);border-radius:10px;color:var(--ws-blue);font-size:24px;}
.ws-estimate-privacy p{margin:0!important;color:#273b57;font-size:15px;line-height:1.8;font-weight:700;}
.ws-estimate-privacy a{color:var(--ws-blue);font-weight:900;text-decoration:underline;}
.ws-estimate-privacy label{display:inline-flex!important;align-items:center;gap:8px;margin:6px 0 0!important;font-weight:900;}

/* buttons */
.ws-estimate-mw-buttons{margin-top:18px;}
.ws-estimate-mwform-wrap input[type="submit"],
.ws-estimate-mwform-wrap button[type="submit"],
.ws-estimate-mwform-wrap .mwform-submit-button{display:flex!important;align-items:center;justify-content:center;width:100%!important;min-height:62px!important;margin:0!important;padding:16px 28px!important;border:0!important;border-radius:8px!important;background:linear-gradient(180deg,#ff8a1c 0%,#ff7400 100%)!important;color:#fff!important;font-size:26px!important;font-weight:900!important;line-height:1.3!important;letter-spacing:.04em;box-shadow:0 14px 24px rgba(245,130,32,.25)!important;cursor:pointer;}
.ws-estimate-mwform-wrap .mwform-back-button{display:inline-flex!important;align-items:center;justify-content:center;min-width:180px!important;min-height:48px!important;margin:0 12px 14px 0!important;padding:12px 22px!important;border:0!important;border-radius:8px!important;background:#64748b!important;color:#fff!important;font-size:16px!important;font-weight:900!important;}
.ws-mwform-empty{padding:18px;border-radius:10px;background:#fff7ed;border:1px solid #fed7aa;color:#7c2d12;}

/* bottom contact strip */
.ws-estimate-contact-strip{padding:0 0 42px;background:#f7fbff;}
.ws-estimate-contact-strip__inner{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:20px;align-items:center;padding:24px 32px;border:1px solid #d9e9f8;border-radius:12px;background:linear-gradient(90deg,#eef7ff 0%,#fff 100%);box-shadow:0 10px 26px rgba(0,84,184,.08);}
.ws-estimate-contact-strip__person{display:grid;place-items:center;width:82px;height:82px;border-radius:10px;background:#fff;color:var(--ws-blue);font-size:54px;border:1px solid #d9e9f8;}
.ws-estimate-contact-strip__text h2{margin:0;color:var(--ws-blue);font-size:22px;font-weight:900;line-height:1.5;}
.ws-estimate-contact-strip__text p{margin:4px 0 0;color:#344054;font-size:15px;font-weight:700;line-height:1.7;}
.ws-estimate-contact-strip__buttons{display:flex;gap:14px;}
.ws-estimate-btn{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:190px;min-height:68px;padding:11px 18px;border-radius:8px;color:#fff;text-decoration:none;text-align:center;font-weight:900;line-height:1.25;}
.ws-estimate-btn span{font-size:14px;}
.ws-estimate-btn strong{font-size:22px;letter-spacing:.03em;}
.ws-estimate-btn small{font-size:12px;font-weight:800;opacity:.95;}
.ws-estimate-btn--tel{background:var(--ws-orange);}
.ws-estimate-btn--line{background:var(--ws-green);}
.ws-estimate-btn--mail{background:var(--ws-blue);}

@media (max-width: 1024px){
  .ws-estimate-merits{grid-template-columns:repeat(2,1fr);}
  .ws-estimate-place-grid{grid-template-columns:repeat(4,1fr);}
  .ws-estimate-contact-strip__inner{grid-template-columns:1fr;text-align:center;}
  .ws-estimate-contact-strip__person{margin:auto;}
  .ws-estimate-contact-strip__buttons{justify-content:center;flex-wrap:wrap;}
}
@media (max-width: 768px){
  .ws-estimate-container{width:min(100% - 24px,1180px);}
  .ws-estimate-fv{padding:28px 0 18px;}
  .ws-estimate-fv__lead{font-size:15px;margin-bottom:18px;}
  .ws-estimate-merits{grid-template-columns:1fr;gap:10px;}
  .ws-estimate-merit{min-height:78px;padding:14px 16px;}
  .ws-estimate-step{grid-template-columns:1fr;margin-top:14px;}
  .ws-estimate-step li{min-height:54px;font-size:15px;}
  .ws-estimate-step li:not(:last-child)::after{display:none;}
  .ws-estimate-card{padding:22px 16px;}
  .ws-estimate-form__title{font-size:21px;}
  .ws-estimate-form__title::after{display:none;}
  .ws-estimate-place-grid{grid-template-columns:repeat(2,1fr);}
  .ws-estimate-check-grid{grid-template-columns:1fr;border-bottom:0;}
  .ws-estimate-check-grid label,
  .ws-estimate-mwform-wrap .horizontal-item,
  .ws-estimate-mwform-wrap .vertical-item{border-right:0;border-bottom:1px solid #e0e9f4!important;}
  .ws-estimate-two-col{grid-template-columns:1fr;gap:0;}
  .ws-estimate-address-zip{grid-template-columns:1fr;}
  .ws-estimate-radio-cards{display:grid;grid-template-columns:1fr;}
  .ws-estimate-radio-cards label{min-width:0;}
  .ws-estimate-privacy{padding:18px;}
  .ws-estimate-mwform-wrap input[type="submit"],
  .ws-estimate-mwform-wrap button[type="submit"],
  .ws-estimate-mwform-wrap .mwform-submit-button{font-size:20px!important;min-height:56px!important;}
  .ws-estimate-contact-strip__inner{padding:20px 16px;}
  .ws-estimate-contact-strip__buttons{display:grid;grid-template-columns:1fr;width:100%;}
  .ws-estimate-btn{width:100%;min-width:0;}
}

/* MW WP Form generated radio/checkbox card support */
.ws-estimate-place-grid .horizontal-item,
.ws-estimate-place-grid .vertical-item{position:relative;display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:7px;min-height:96px;margin:0!important;padding:14px 8px!important;border:1px solid #d4e1f0!important;border-radius:8px!important;background:#fff!important;color:#0c2d54!important;text-align:center;font-weight:900!important;cursor:pointer;}
.ws-estimate-place-grid .horizontal-item::before,
.ws-estimate-place-grid .vertical-item::before{display:block;color:var(--ws-blue);font-size:32px;line-height:1;}
.ws-estimate-place-grid .horizontal-item:nth-child(1)::before{content:"♿";}
.ws-estimate-place-grid .horizontal-item:nth-child(2)::before{content:"▦";}
.ws-estimate-place-grid .horizontal-item:nth-child(3)::before{content:"♨";}
.ws-estimate-place-grid .horizontal-item:nth-child(4)::before{content:"▱";}
.ws-estimate-place-grid .horizontal-item:nth-child(5)::before{content:"♁";}
.ws-estimate-place-grid .horizontal-item:nth-child(6)::before{content:"∪";}
.ws-estimate-place-grid .horizontal-item:nth-child(7)::before{content:"▣";}
.ws-estimate-place-grid .horizontal-item:nth-child(8)::before{content:"…";}
.ws-estimate-place-grid .horizontal-item input,
.ws-estimate-place-grid .vertical-item input{position:absolute;opacity:0;pointer-events:none;}
.ws-estimate-place-grid .horizontal-item:has(input:checked),
.ws-estimate-place-grid .vertical-item:has(input:checked){border-color:var(--ws-blue)!important;background:#eef6ff!important;box-shadow:0 0 0 2px rgba(0,84,184,.14) inset!important;}

@media (max-width: 768px){
  .ws-estimate-place-grid .horizontal-item,
  .ws-estimate-place-grid .vertical-item{min-height:86px;}
}

/* v20 final override: trouble content grid - remove all inner vertical divider lines */
.ws-template--estimate .ws-estimate-check-grid{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:12px!important;
  border:0!important;
  border-radius:0!important;
  overflow:visible!important;
  background:transparent!important;
}
.ws-template--estimate .ws-estimate-check-grid > .horizontal-item,
.ws-template--estimate .ws-estimate-check-grid > .vertical-item,
.ws-template--estimate .ws-estimate-check-grid > .mwform-checkbox-field{
  display:flex!important;
  align-items:center!important;
  min-height:60px!important;
  margin:0!important;
  padding:0!important;
  border:1px solid #d4e1f0!important;
  border-radius:8px!important;
  background:#fff!important;
  box-shadow:none!important;
  overflow:hidden!important;
}
.ws-template--estimate .ws-estimate-check-grid > .horizontal-item > label,
.ws-template--estimate .ws-estimate-check-grid > .vertical-item > label,
.ws-template--estimate .ws-estimate-check-grid > .mwform-checkbox-field > label{
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
  width:100%!important;
  min-height:60px!important;
  margin:0!important;
  padding:16px 18px!important;
  border:0!important;
  border-left:0!important;
  border-right:0!important;
  border-top:0!important;
  border-bottom:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#152b48!important;
  font-size:16px!important;
  font-weight:900!important;
  line-height:1.4!important;
  cursor:pointer!important;
}
.ws-template--estimate .ws-estimate-check-grid > .horizontal-item > label::before,
.ws-template--estimate .ws-estimate-check-grid > .horizontal-item > label::after,
.ws-template--estimate .ws-estimate-check-grid > .vertical-item > label::before,
.ws-template--estimate .ws-estimate-check-grid > .vertical-item > label::after,
.ws-template--estimate .ws-estimate-check-grid > .mwform-checkbox-field > label::before,
.ws-template--estimate .ws-estimate-check-grid > .mwform-checkbox-field > label::after{
  content:none!important;
  display:none!important;
  border:0!important;
}
.ws-template--estimate .ws-estimate-check-grid > .horizontal-item > label *,
.ws-template--estimate .ws-estimate-check-grid > .vertical-item > label *,
.ws-template--estimate .ws-estimate-check-grid > .mwform-checkbox-field > label *{
  border-left:0!important;
  border-right:0!important;
  box-shadow:none!important;
}
.ws-template--estimate .ws-estimate-check-grid input[type="checkbox"]{
  position:static!important;
  opacity:1!important;
  pointer-events:auto!important;
  width:18px!important;
  height:18px!important;
  margin:0!important;
  flex:0 0 auto!important;
  accent-color:var(--ws-blue)!important;
}
.ws-template--estimate .ws-estimate-check-grid > .horizontal-item.is-checked,
.ws-template--estimate .ws-estimate-check-grid > .vertical-item.is-checked,
.ws-template--estimate .ws-estimate-check-grid > .mwform-checkbox-field.is-checked,
.ws-template--estimate .ws-estimate-check-grid > .horizontal-item:has(input:checked),
.ws-template--estimate .ws-estimate-check-grid > .vertical-item:has(input:checked),
.ws-template--estimate .ws-estimate-check-grid > .mwform-checkbox-field:has(input:checked){
  border-color:var(--ws-blue)!important;
  background:#f3f8ff!important;
}
@media (max-width:767px){
  .ws-template--estimate .ws-estimate-check-grid{grid-template-columns:1fr!important;gap:10px!important;}
}

/* v29: simple and reliable photo upload UI */
.ws-estimate-upload{
  position:relative;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:132px;
  padding:26px 20px!important;
  border:2px dashed #b9cde5!important;
  border-radius:10px!important;
  background:#fbfdff!important;
  text-align:center;
  overflow:visible!important;
}
.ws-estimate-upload__input{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  padding:0!important;
  margin:-1px!important;
  overflow:hidden!important;
  clip:rect(0,0,0,0)!important;
  white-space:nowrap!important;
  border:0!important;
  opacity:0!important;
}
.ws-estimate-upload__button{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:260px!important;
  min-height:52px!important;
  padding:13px 28px!important;
  border-radius:8px!important;
  border:0!important;
  background:#0054b8!important;
  color:#fff!important;
  font-size:18px!important;
  font-weight:900!important;
  line-height:1.2!important;
  text-decoration:none!important;
  cursor:pointer!important;
  box-shadow:0 10px 22px rgba(0,84,184,.16)!important;
}
.ws-estimate-upload__button:hover{
  background:#00479c!important;
}
.ws-estimate-upload__help{
  margin:0!important;
  color:#667085!important;
  font-size:14px!important;
  font-weight:800!important;
  line-height:1.6!important;
}
.ws-estimate-upload__selected{
  width:100%;
  max-width:520px;
  margin-top:4px;
}
.ws-estimate-upload__selected.is-active{
  display:block;
}
.ws-estimate-upload__file{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:38px;
  margin:8px auto 0;
  padding:8px 14px;
  border:1px solid #b9d7ff;
  border-radius:8px;
  background:#eef6ff;
  color:#0054b8;
  font-size:14px;
  font-weight:900;
  line-height:1.4;
  word-break:break-all;
}
.ws-estimate-upload.is-selected .ws-estimate-upload__help,
.ws-estimate-upload.is-selected .ws-estimate-upload__text{
  display:none!important;
}
.ws-estimate-upload__text{
  display:none!important;
}
.ws-estimate-photo-confirm-note{
  margin:8px 0 0!important;
  color:#667085!important;
  font-size:13px!important;
  font-weight:700!important;
}
.ws-estimate-address-search{
  display:none!important;
}
@media (max-width: 767px){
  .ws-estimate-upload__button{
    width:100%!important;
    min-width:0!important;
  }
}

/* v30: use native file input so the browser file picker opens reliably */
.ws-estimate-upload__button,
.ws-upload-button{display:none!important;}
.ws-estimate-upload__input,
.ws-estimate-upload input[type="file"],
.ws-upload-box input[type="file"]{
  position:static!important;inset:auto!important;display:block!important;width:auto!important;max-width:100%!important;height:auto!important;min-height:0!important;padding:0!important;margin:0 auto!important;overflow:visible!important;clip:auto!important;clip-path:none!important;white-space:normal!important;border:0!important;opacity:1!important;cursor:pointer!important;z-index:auto!important;color:#152b48!important;font-size:15px!important;font-weight:700!important;background:transparent!important;
}
.ws-estimate-upload__input::file-selector-button,
.ws-estimate-upload input[type="file"]::file-selector-button,
.ws-upload-box input[type="file"]::file-selector-button{margin-right:14px!important;padding:12px 24px!important;border:0!important;border-radius:8px!important;background:#0054b8!important;color:#fff!important;font-weight:900!important;cursor:pointer!important;}
.ws-estimate-upload__selected.is-active{display:block!important;width:100%!important;max-width:560px!important;margin-top:10px!important;padding:12px 16px!important;border-radius:8px!important;background:#eef6ff!important;text-align:left!important;}
.ws-estimate-upload__file{color:#0054b8!important;font-size:14px!important;font-weight:900!important;line-height:1.7!important;}

/* v39: MW WP Form confirmation screen button override for estimate input template */
.ws-template--estimate .ws-estimate-mwform-wrap input[type="submit"][value="戻る"],
.ws-template--estimate .ws-estimate-mwform-wrap input[type="button"][value="戻る"],
.ws-template--estimate .ws-estimate-mwform-wrap button[value="戻る"],
.ws-template--estimate .ws-estimate-mwform-wrap input[name="submitBack"],
.ws-template--estimate .ws-estimate-mwform-wrap button[name="submitBack"],
.ws-template--estimate .ws-estimate-mwform-wrap .mwform-back-button,
.ws-template--estimate .ws-estimate-mwform-wrap .ws-estimate-confirm-back{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  min-height:62px!important;
  margin:0 0 18px 0!important;
  padding:16px 28px!important;
  border:0!important;
  border-radius:8px!important;
  background:#0054b8!important;
  background-image:linear-gradient(180deg,#0068d9 0%,#0054b8 100%)!important;
  color:#fff!important;
  font-size:22px!important;
  font-weight:900!important;
  line-height:1.3!important;
  letter-spacing:.04em!important;
  box-shadow:0 12px 22px rgba(0,84,184,.22)!important;
  cursor:pointer!important;
}
.ws-template--estimate .ws-estimate-mwform-wrap .ws-estimate-confirm-buttons,
.ws-template--estimate .ws-estimate-mwform-wrap .ws-estimate-confirm-buttons p{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:18px!important;
  row-gap:18px!important;
}
.ws-template--estimate .ws-estimate-mwform-wrap .ws-estimate-confirm-submit,
.ws-template--estimate .ws-estimate-mwform-wrap input[type="submit"][value="送信する"],
.ws-template--estimate .ws-estimate-mwform-wrap input[type="submit"][value="送信"],
.ws-template--estimate .ws-estimate-mwform-wrap button[value="送信する"]{
  margin-top:0!important;
}
.ws-template--estimate .ws-estimate-mwform-wrap input[type="submit"][value="戻る"] + input[type="submit"],
.ws-template--estimate .ws-estimate-mwform-wrap input[name="submitBack"] + input[type="submit"],
.ws-template--estimate .ws-estimate-mwform-wrap .mwform-back-button + .mwform-submit-button{
  margin-top:18px!important;
}

/* v60 estimate form icon refresh: align with price-page blue line icon style */
.ws-template--estimate .ws-estimate-merit__icon{
  border:0!important;
  border-radius:12px!important;
  background:#eef7ff!important;
  width:54px!important;
  height:54px!important;
  padding:10px!important;
  box-shadow:inset 0 0 0 2px rgba(0,84,184,.18)!important;
}
.ws-template--estimate .ws-estimate-merit__icon img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
}
.ws-template--estimate .ws-estimate-form__title-icon{
  font-size:0!important;
  background:#eef7ff!important;
  border:1px solid #d8e8f8!important;
  background-repeat:no-repeat!important;
  background-position:center!important;
  background-size:21px 21px!important;
  background-image:url('../img/estimate/estimate_cta_help.svg')!important;
}
.ws-template--estimate .ws-estimate-place-grid .horizontal-item::before,
.ws-template--estimate .ws-estimate-place-grid .vertical-item::before{
  content:""!important;
  display:block!important;
  width:42px!important;
  height:42px!important;
  margin:0 0 4px!important;
  background-repeat:no-repeat!important;
  background-position:center!important;
  background-size:contain!important;
}
.ws-template--estimate .ws-estimate-place-grid .horizontal-item:nth-child(1)::before,
.ws-template--estimate .ws-estimate-place-grid .vertical-item:nth-child(1)::before{background-image:url('../img/estimate/estimate_place_toilet.svg')!important;}
.ws-template--estimate .ws-estimate-place-grid .horizontal-item:nth-child(2)::before,
.ws-template--estimate .ws-estimate-place-grid .vertical-item:nth-child(2)::before{background-image:url('../img/estimate/estimate_place_kitchen.svg')!important;}
.ws-template--estimate .ws-estimate-place-grid .horizontal-item:nth-child(3)::before,
.ws-template--estimate .ws-estimate-place-grid .vertical-item:nth-child(3)::before{background-image:url('../img/estimate/estimate_place_washbasin.svg')!important;}
.ws-template--estimate .ws-estimate-place-grid .horizontal-item:nth-child(4)::before,
.ws-template--estimate .ws-estimate-place-grid .vertical-item:nth-child(4)::before{background-image:url('../img/estimate/estimate_place_bath.svg')!important;}
.ws-template--estimate .ws-estimate-place-grid .horizontal-item:nth-child(5)::before,
.ws-template--estimate .ws-estimate-place-grid .vertical-item:nth-child(5)::before{background-image:url('../img/estimate/estimate_place_faucet.svg')!important;}
.ws-template--estimate .ws-estimate-place-grid .horizontal-item:nth-child(6)::before,
.ws-template--estimate .ws-estimate-place-grid .vertical-item:nth-child(6)::before{background-image:url('../img/estimate/estimate_place_drain.svg')!important;}
.ws-template--estimate .ws-estimate-place-grid .horizontal-item:nth-child(7)::before,
.ws-template--estimate .ws-estimate-place-grid .vertical-item:nth-child(7)::before{background-image:url('../img/estimate/estimate_place_waterheater.svg')!important;}
.ws-template--estimate .ws-estimate-place-grid .horizontal-item:nth-child(8)::before,
.ws-template--estimate .ws-estimate-place-grid .vertical-item:nth-child(8)::before{background-image:url('../img/estimate/estimate_place_other.svg')!important;}
.ws-template--estimate .ws-estimate-place-card .ws-estimate-place-card__icon{
  font-size:0!important;
  background-repeat:no-repeat!important;
  background-position:center!important;
  background-size:42px 42px!important;
}
.ws-template--estimate .ws-estimate-place-card:nth-child(1) .ws-estimate-place-card__icon{background-image:url('../img/estimate/estimate_place_toilet.svg')!important;}
.ws-template--estimate .ws-estimate-place-card:nth-child(2) .ws-estimate-place-card__icon{background-image:url('../img/estimate/estimate_place_kitchen.svg')!important;}
.ws-template--estimate .ws-estimate-place-card:nth-child(3) .ws-estimate-place-card__icon{background-image:url('../img/estimate/estimate_place_washbasin.svg')!important;}
.ws-template--estimate .ws-estimate-place-card:nth-child(4) .ws-estimate-place-card__icon{background-image:url('../img/estimate/estimate_place_bath.svg')!important;}
.ws-template--estimate .ws-estimate-place-card:nth-child(5) .ws-estimate-place-card__icon{background-image:url('../img/estimate/estimate_place_faucet.svg')!important;}
.ws-template--estimate .ws-estimate-place-card:nth-child(6) .ws-estimate-place-card__icon{background-image:url('../img/estimate/estimate_place_drain.svg')!important;}
.ws-template--estimate .ws-estimate-place-card:nth-child(7) .ws-estimate-place-card__icon{background-image:url('../img/estimate/estimate_place_waterheater.svg')!important;}
.ws-template--estimate .ws-estimate-place-card:nth-child(8) .ws-estimate-place-card__icon{background-image:url('../img/estimate/estimate_place_other.svg')!important;}
.ws-template--estimate .ws-estimate-contact-strip__person{
  width:82px!important;
  height:82px!important;
  padding:14px!important;
  font-size:0!important;
  background:#fff!important;
  border:2px solid #d9e9f8!important;
}
.ws-template--estimate .ws-estimate-contact-strip__person img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
}


/* v61 estimate form icon correction: use actual SVG icons instead of ambiguous text glyphs */
.ws-template--estimate .ws-estimate-merit__icon img{display:block;width:34px;height:34px;object-fit:contain;}
.ws-template--estimate .ws-estimate-place-grid .horizontal-item::before,
.ws-template--estimate .ws-estimate-place-grid .vertical-item::before{
  content:""!important;
  width:40px!important;
  height:40px!important;
  margin:0 0 4px!important;
  background-repeat:no-repeat!important;
  background-position:center!important;
  background-size:contain!important;
  font-size:0!important;
  line-height:0!important;
}
.ws-template--estimate .ws-estimate-place-grid .horizontal-item:nth-child(1)::before{background-image:url('../img/estimate/estimate_place_toilet.svg')!important;}
.ws-template--estimate .ws-estimate-place-grid .horizontal-item:nth-child(2)::before{background-image:url('../img/estimate/estimate_place_kitchen.svg')!important;}
.ws-template--estimate .ws-estimate-place-grid .horizontal-item:nth-child(3)::before{background-image:url('../img/estimate/estimate_place_washbasin.svg')!important;}
.ws-template--estimate .ws-estimate-place-grid .horizontal-item:nth-child(4)::before{background-image:url('../img/estimate/estimate_place_bath.svg')!important;}
.ws-template--estimate .ws-estimate-place-grid .horizontal-item:nth-child(5)::before{background-image:url('../img/estimate/estimate_place_faucet.svg')!important;}
.ws-template--estimate .ws-estimate-place-grid .horizontal-item:nth-child(6)::before{background-image:url('../img/estimate/estimate_place_drain.svg')!important;}
.ws-template--estimate .ws-estimate-place-grid .horizontal-item:nth-child(7)::before{background-image:url('../img/estimate/estimate_place_waterheater.svg')!important;}
.ws-template--estimate .ws-estimate-place-grid .horizontal-item:nth-child(8)::before{background-image:url('../img/estimate/estimate_place_other.svg')!important;}
.ws-template--estimate .ws-estimate-place-grid .vertical-item:nth-child(1)::before{background-image:url('../img/estimate/estimate_place_toilet.svg')!important;}
.ws-template--estimate .ws-estimate-place-grid .vertical-item:nth-child(2)::before{background-image:url('../img/estimate/estimate_place_kitchen.svg')!important;}
.ws-template--estimate .ws-estimate-place-grid .vertical-item:nth-child(3)::before{background-image:url('../img/estimate/estimate_place_washbasin.svg')!important;}
.ws-template--estimate .ws-estimate-place-grid .vertical-item:nth-child(4)::before{background-image:url('../img/estimate/estimate_place_bath.svg')!important;}
.ws-template--estimate .ws-estimate-place-grid .vertical-item:nth-child(5)::before{background-image:url('../img/estimate/estimate_place_faucet.svg')!important;}
.ws-template--estimate .ws-estimate-place-grid .vertical-item:nth-child(6)::before{background-image:url('../img/estimate/estimate_place_drain.svg')!important;}
.ws-template--estimate .ws-estimate-place-grid .vertical-item:nth-child(7)::before{background-image:url('../img/estimate/estimate_place_waterheater.svg')!important;}
.ws-template--estimate .ws-estimate-place-grid .vertical-item:nth-child(8)::before{background-image:url('../img/estimate/estimate_place_other.svg')!important;}


/* v62 estimate form place icons: use the same blue reference icons as the price guide */
.ws-template--estimate .ws-estimate-place-grid .horizontal-item::before,
.ws-template--estimate .ws-estimate-place-grid .vertical-item::before{
  content:""!important;
  display:block!important;
  width:46px!important;
  height:46px!important;
  margin:0 0 6px!important;
  background-repeat:no-repeat!important;
  background-position:center!important;
  background-size:contain!important;
  font-size:0!important;
  line-height:0!important;
}
.ws-template--estimate .ws-estimate-place-grid .horizontal-item:nth-child(1)::before,
.ws-template--estimate .ws-estimate-place-grid .vertical-item:nth-child(1)::before{background-image:url('../img/price/price_fix_icon002.png')!important;}
.ws-template--estimate .ws-estimate-place-grid .horizontal-item:nth-child(2)::before,
.ws-template--estimate .ws-estimate-place-grid .vertical-item:nth-child(2)::before{background-image:url('../img/price/price_fix_icon003.png')!important;}
.ws-template--estimate .ws-estimate-place-grid .horizontal-item:nth-child(3)::before,
.ws-template--estimate .ws-estimate-place-grid .vertical-item:nth-child(3)::before{background-image:url('../img/price/price_fix_icon005.png')!important;}
.ws-template--estimate .ws-estimate-place-grid .horizontal-item:nth-child(4)::before,
.ws-template--estimate .ws-estimate-place-grid .vertical-item:nth-child(4)::before{background-image:url('../img/price/price_fix_icon004.png')!important;}
.ws-template--estimate .ws-estimate-place-grid .horizontal-item:nth-child(5)::before,
.ws-template--estimate .ws-estimate-place-grid .vertical-item:nth-child(5)::before{background-image:url('../img/price/price_fix_icon001.png')!important;}
.ws-template--estimate .ws-estimate-place-grid .horizontal-item:nth-child(6)::before,
.ws-template--estimate .ws-estimate-place-grid .vertical-item:nth-child(6)::before{background-image:url('../img/price/price_fix_icon006.png')!important;}
.ws-template--estimate .ws-estimate-place-grid .horizontal-item:nth-child(7)::before,
.ws-template--estimate .ws-estimate-place-grid .vertical-item:nth-child(7)::before{background-image:url('../img/estimate/estimate_place_waterheater.svg')!important;}
.ws-template--estimate .ws-estimate-place-grid .horizontal-item:nth-child(8)::before,
.ws-template--estimate .ws-estimate-place-grid .vertical-item:nth-child(8)::before{background-image:url('../img/estimate/estimate_place_other.svg')!important;}

.ws-template--estimate .ws-estimate-place-card .ws-estimate-place-card__icon{
  font-size:0!important;
  width:46px!important;
  height:46px!important;
  margin-bottom:6px!important;
  background-repeat:no-repeat!important;
  background-position:center!important;
  background-size:contain!important;
}
.ws-template--estimate .ws-estimate-place-card:nth-child(1) .ws-estimate-place-card__icon{background-image:url('../img/price/price_fix_icon002.png')!important;}
.ws-template--estimate .ws-estimate-place-card:nth-child(2) .ws-estimate-place-card__icon{background-image:url('../img/price/price_fix_icon003.png')!important;}
.ws-template--estimate .ws-estimate-place-card:nth-child(3) .ws-estimate-place-card__icon{background-image:url('../img/price/price_fix_icon005.png')!important;}
.ws-template--estimate .ws-estimate-place-card:nth-child(4) .ws-estimate-place-card__icon{background-image:url('../img/price/price_fix_icon004.png')!important;}
.ws-template--estimate .ws-estimate-place-card:nth-child(5) .ws-estimate-place-card__icon{background-image:url('../img/price/price_fix_icon001.png')!important;}
.ws-template--estimate .ws-estimate-place-card:nth-child(6) .ws-estimate-place-card__icon{background-image:url('../img/price/price_fix_icon006.png')!important;}
.ws-template--estimate .ws-estimate-place-card:nth-child(7) .ws-estimate-place-card__icon{background-image:url('../img/estimate/estimate_place_waterheater.svg')!important;}
.ws-template--estimate .ws-estimate-place-card:nth-child(8) .ws-estimate-place-card__icon{background-image:url('../img/estimate/estimate_place_other.svg')!important;}
