/* Palaeli Roof Estimator. Colors and fonts come from --pre-* variables set by the shortcode (Settings → Advanced),
   else from the Elementor kit's global colors, else these defaults. */
.pre-est{--e-navy:var(--pre-primary,var(--e-global-color-primary,#0F2B36));--e-teal:var(--pre-accent,var(--e-global-color-accent,#0A9BB0));--e-teal-d:var(--pre-accent-dark,color-mix(in srgb,var(--e-teal) 78%,#000));--e-red:var(--pre-cta,var(--e-global-color-secondary,#B10000));--e-red-d:var(--pre-cta-dark,color-mix(in srgb,var(--e-red) 80%,#000));--e-ink:#172126;--e-muted:#55646B;--e-line:#E6E1D7;--e-paper:#F7F4EE;--e-err:#B10000;
  font-family:var(--pre-font-body,inherit);color:var(--e-ink);font-size:17px;line-height:1.55;
  background:#fff;border:1px solid var(--e-line);border-radius:6px;padding:32px;box-shadow:0 30px 60px -30px rgba(15,43,54,.25);position:relative;max-width:720px;margin:0 auto;text-align:left}
.pre-est[data-config] *,.pre-est[data-config] *::before,.pre-est[data-config] *::after{box-sizing:border-box}
.pre-est[data-config] .pre-est__shell{position:relative;min-height:220px}
.pre-est[data-config] .pre-est__loading{color:var(--e-muted)}
.pre-est[data-config] .pre-est__progress{display:flex;align-items:center;gap:14px;margin:0 0 22px}
.pre-est[data-config] .pre-est__steplabel{font-size:14px;font-weight:700;color:var(--e-muted);white-space:nowrap}
.pre-est[data-config] .pre-est__bar{flex:1;height:4px;background:var(--e-line);border-radius:2px;overflow:hidden}
.pre-est[data-config] .pre-est__bar span{display:block;height:100%;background:var(--e-teal);transition:width .3s ease}
.pre-est[data-config] .pre-est__title{font-family:var(--pre-font-heading,inherit);font-weight:600;font-size:30px;line-height:1.15;letter-spacing:-.01em;margin:0 0 18px;color:var(--e-ink)}
.pre-est[data-config] .pre-est__title:focus{outline:none}
.pre-est[data-config] .pre-est__title--sub{font-size:24px;margin-top:32px;padding-top:24px;border-top:1px solid var(--e-line)}
.pre-est[data-config] .pre-est__addr{margin:-8px 0 20px;color:var(--e-muted);font-weight:600}
.pre-est[data-config] .pre-est__field{margin:0 0 16px}
.pre-est[data-config] .pre-est__field label,.pre-est[data-config] .pre-est__choices legend{display:block;font-weight:700;font-size:15px;margin:0 0 6px;color:var(--e-ink)}
.pre-est[data-config] .pre-est__shell input[type=text],.pre-est[data-config] .pre-est__shell input[type=email],.pre-est[data-config] .pre-est__shell input[type=tel],.pre-est[data-config] .pre-est__shell input[type=number],.pre-est[data-config] .pre-est__shell select{
  width:100%;min-height:52px;padding:12px 14px;font:500 17px/1.3 var(--pre-font-body,inherit);color:var(--e-ink);background:#fff;border:1px solid #C9C2B4;border-radius:6px;appearance:auto}
.pre-est[data-config] .pre-est__shell input:focus-visible,.pre-est[data-config] .pre-est__shell select:focus-visible{outline:3px solid var(--e-teal);outline-offset:1px;border-color:var(--e-teal)}
.pre-est[data-config] .pre-est__shell [aria-invalid=true]{border-color:var(--e-err)}
.pre-est[data-config] .pre-est__hint{font-size:14px;color:var(--e-muted);margin:6px 0 0}
.pre-est[data-config] .pre-est__error{color:var(--e-err);font-size:14px;font-weight:600;margin:6px 0 0;min-height:0}
.pre-est[data-config] .pre-est__error:empty{display:none}
.pre-est[data-config] .pre-est__formerror{color:var(--e-err);font-weight:600;margin:12px 0 0}
.pre-est[data-config] .pre-est__combo{position:relative}
.pre-est[data-config] .pre-est__suggest{position:absolute;z-index:20;left:0;right:0;top:calc(100% + 4px);margin:0;padding:6px;list-style:none;background:#fff;border:1px solid var(--e-line);border-radius:6px;box-shadow:0 18px 40px -12px rgba(15,43,54,.25);max-height:320px;overflow:auto}
.pre-est[data-config] .pre-est__suggest li{padding:10px 12px;border-radius:4px;cursor:pointer;display:flex;flex-direction:column;line-height:1.35}
.pre-est[data-config] .pre-est__suggest li span{font-size:14px;color:var(--e-muted)}
.pre-est[data-config] .pre-est__suggest li.is-active,.pre-est[data-config] .pre-est__suggest li:hover{background:#E4F4F6}
.pre-est[data-config] .pre-est__choices{border:0;padding:0;margin:0 0 18px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.pre-est[data-config] .pre-est__choices legend{grid-column:1/-1;float:left;width:100%;margin-bottom:4px}
.pre-est[data-config] .pre-est__choices .pre-est__error{grid-column:1/-1}
.pre-est[data-config] .pre-est__choice{position:relative}
.pre-est[data-config] .pre-est__choice input{position:absolute;opacity:0;width:1px;height:1px}
.pre-est[data-config] .pre-est__choice label{display:flex;align-items:center;min-height:56px;padding:12px 14px 12px 44px;border:1px solid #C9C2B4;border-radius:6px;font-weight:600;cursor:pointer;position:relative;background:#fff;transition:border-color .15s,background-color .15s}
.pre-est[data-config] .pre-est__choice label::before{content:"";position:absolute;left:14px;top:50%;width:18px;height:18px;margin-top:-9px;border:2px solid #9AA5AA;border-radius:50%;background:#fff}
.pre-est[data-config] .pre-est__choice input:checked + label{border-color:var(--e-navy);background:#F2F7F8;box-shadow:inset 0 0 0 1px var(--e-navy)}
.pre-est[data-config] .pre-est__choice input:checked + label::before{border-color:var(--e-navy);background:radial-gradient(circle,var(--e-navy) 0 4px,#fff 5px)}
.pre-est[data-config] .pre-est__choice input:focus-visible + label{outline:3px solid var(--e-teal);outline-offset:2px}
.pre-est[data-config] .pre-est__manual{background:var(--e-paper);border-radius:6px;padding:16px 16px 4px;margin:0 0 18px}
.pre-est[data-config] .pre-est__note{margin:0 0 14px;font-size:15px}
.pre-est[data-config] .pre-est__row{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}
.pre-est[data-config] .pre-est__row--3{grid-template-columns:2fr 1fr 1.3fr}
.pre-est[data-config] .pre-est__consent{display:grid;grid-template-columns:24px 1fr;gap:10px;align-items:start;margin:6px 0 4px;font-size:14px;color:var(--e-muted)}
.pre-est[data-config] .pre-est__consent input{width:20px;height:20px;margin:2px 0 0;accent-color:var(--e-navy)}
.pre-est[data-config] .pre-est__consent label{font-weight:500;line-height:1.5}
.pre-est[data-config] .pre-est__consent a{color:var(--e-teal-d)}
.pre-est[data-config] .pre-est__consent .pre-est__error{grid-column:2}
.pre-est[data-config] .pre-est__hp{position:absolute!important;left:-9999px;width:1px;height:1px;overflow:hidden}
.pre-est[data-config] .pre-est__actions{display:flex;gap:12px;align-items:center;justify-content:flex-end;margin-top:22px;flex-wrap:wrap}
.pre-est[data-config] .pre-est__btn{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:14px 26px;border:0;border-radius:6px;background:var(--e-navy);color:#fff;font:700 16px/1.2 Manrope,system-ui,sans-serif;cursor:pointer;text-decoration:none;transition:background-color .2s}
.pre-est[data-config] .pre-est__btn:hover{background:var(--e-teal-d);color:#fff}
.pre-est[data-config] .pre-est__btn--primary{background:var(--e-red)}
.pre-est[data-config] .pre-est__btn--primary:hover{background:var(--e-red-d)}
.pre-est[data-config] .pre-est__btn--ghost{background:transparent;color:var(--e-navy);box-shadow:inset 0 0 0 2px var(--e-navy)}
.pre-est[data-config] .pre-est__btn--ghost:hover{background:var(--e-navy);color:#fff}
.pre-est[data-config] .pre-est__btn:focus-visible,.pre-est[data-config] .pre-est__back:focus-visible{outline:3px solid var(--e-teal);outline-offset:3px}
.pre-est[data-config] .pre-est__btn[disabled]{opacity:.7;cursor:progress}
.pre-est[data-config] .pre-est__btn.is-busy::after{content:"";width:16px;height:16px;margin-left:10px;border:2px solid rgba(255,255,255,.5);border-top-color:#fff;border-radius:50%;animation:pre-spin .8s linear infinite}
.pre-est[data-config] .pre-est__back{background:none;border:0;color:var(--e-muted);font:700 16px Manrope,system-ui,sans-serif;padding:14px 10px;cursor:pointer;margin-right:auto}
.pre-est[data-config] .pre-est__back:hover{color:var(--e-ink);text-decoration:underline}
.pre-est[data-config] .pre-est__measuring{position:absolute;inset:-32px;background:rgba(255,255,255,.97);border-radius:6px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:24px;z-index:30}
.pre-est[data-config] .pre-est__radar{width:84px;height:84px;border-radius:50%;border:2px solid var(--e-line);position:relative;margin-bottom:18px;
  background:conic-gradient(from 0deg,rgba(10,155,176,.0),rgba(10,155,176,.35) 25%,rgba(10,155,176,0) 26%);animation:pre-spin 1.6s linear infinite}
.pre-est[data-config] .pre-est__measuring-title{font-family:var(--pre-font-heading,inherit);font-size:22px;font-weight:600;margin:0 0 4px}
.pre-est[data-config] .pre-est__measuring-sub{color:var(--e-muted);margin:0}
.pre-est[data-config] .pre-est__price{font-family:var(--pre-font-heading,inherit);font-weight:600;font-size:52px;line-height:1.05;letter-spacing:-.02em;margin:0 0 20px;color:var(--e-navy)}
.pre-est[data-config] .pre-est__price span{color:var(--e-muted);font-weight:500}
.pre-est[data-config] .pre-est__facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin:0 0 14px;border-top:1px solid var(--e-ink)}
.pre-est[data-config] .pre-est__facts div{padding:12px 12px 12px 0}
.pre-est[data-config] .pre-est__facts dt{font-size:13px;color:var(--e-muted);font-weight:600;margin:0}
.pre-est[data-config] .pre-est__facts dd{margin:2px 0 0;font-weight:700}
.pre-est[data-config] .pre-est__source{font-size:14px;color:var(--e-teal-d);font-weight:600;margin:0 0 8px}
.pre-est[data-config] .pre-est__disclaimer{font-size:15px;color:var(--e-muted);margin:0}
.pre-est[data-config] .pre-est__thanks{margin:20px 0 0;padding:14px 16px;background:#E4F4F6;border-radius:6px}
.pre-est[data-config] .pre-est__actions--result{justify-content:flex-start}
@keyframes pre-spin{
to{transform:rotate(360deg)}
}
@media (prefers-reduced-motion:reduce){
.pre-est[data-config] .pre-est__radar,.pre-est[data-config] .pre-est__btn.is-busy::after{animation:none}
.pre-est[data-config] .pre-est__bar span{transition:none}
}
@media (max-width:600px){
.pre-est[data-config]{padding:22px 18px;border-radius:6px;font-size:16px}
.pre-est[data-config] .pre-est__measuring{inset:-22px -18px}
.pre-est[data-config] .pre-est__title{font-size:25px}
.pre-est[data-config] .pre-est__choices{grid-template-columns:1fr}
.pre-est[data-config] .pre-est__row,.pre-est[data-config] .pre-est__row--3{grid-template-columns:1fr}
.pre-est[data-config] .pre-est__price{font-size:38px}
.pre-est[data-config] .pre-est__facts{grid-template-columns:1fr}
.pre-est[data-config] .pre-est__facts div{padding:10px 0;border-bottom:1px solid var(--e-line)}
.pre-est[data-config] .pre-est__actions .pre-est__btn{flex:1 1 100%}
.pre-est[data-config] .pre-est__actions{flex-direction:column-reverse;align-items:stretch}
.pre-est[data-config] .pre-est__back{margin:0;text-align:center}
}
.pre-est[data-config] button{text-transform:none;letter-spacing:normal;box-shadow:none}
.pre-est[data-config] .pre-est__back{background:none;border-radius:0;min-height:0}
.pre-est[data-config] .pre-est__back:hover{background:none}

.pre-est[data-config]{scroll-margin-top:110px}

.pre-est[data-config] .pre-est__figure{margin:0 0 10px;border-radius:6px;overflow:hidden;background:#DCE3E5;aspect-ratio:16/10;border:1px solid var(--e-line)}
.pre-est[data-config] .pre-est__map{display:block;width:100%;height:100%;object-fit:cover}
.pre-est[data-config] .pre-est__actions--confirm .pre-est__btn{min-width:0}
@media (max-width:600px){.pre-est[data-config] .pre-est__figure{aspect-ratio:4/3}}

/* material options with reference photos */
.pre-est[data-config] .pre-est__choices--media{grid-template-columns:repeat(3,minmax(0,1fr))}
.pre-est[data-config] .pre-est__choices--media .pre-est__choice label{flex-direction:column;align-items:stretch;padding:0;min-height:0;overflow:hidden;height:100%}
.pre-est[data-config] .pre-est__choices--media .pre-est__choice label::before{display:none}
.pre-est[data-config] .pre-est__choices--media .pre-est__choice img,.pre-est[data-config] .pre-est__noimg{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;background:var(--e-paper);border-radius:0}
.pre-est[data-config] .pre-est__choice-text{display:flex;align-items:center;position:relative;padding:12px 12px 12px 42px;min-height:52px;line-height:1.3}
.pre-est[data-config] .pre-est__choice-text::before{content:"";position:absolute;left:14px;top:50%;width:18px;height:18px;margin-top:-9px;border:2px solid #9AA5AA;border-radius:50%;background:#fff}
.pre-est[data-config] .pre-est__choices--media .pre-est__choice input:checked + label .pre-est__choice-text::before{border-color:var(--e-navy);background:radial-gradient(circle,var(--e-navy) 0 4px,#fff 5px)}
.pre-est[data-config] .pre-est__choices--media .pre-est__choice input:checked + label img{filter:none}
.pre-est[data-config] .pre-est__choices--media .pre-est__choice label:hover{border-color:var(--e-navy)}
@media (max-width:600px){
  .pre-est[data-config] .pre-est__choices--media{grid-template-columns:1fr}
  .pre-est[data-config] .pre-est__choices--media .pre-est__choice label{flex-direction:row;align-items:center}
  .pre-est[data-config] .pre-est__choices--media .pre-est__choice img,.pre-est[data-config] .pre-est__noimg{width:112px;flex:0 0 112px;align-self:stretch}
}
