/* POTO official brand alignment (based on existing site CSS: #232528 / #FEBC20). */
#poto-lead-gate,
#poto-lead-gate input,
#poto-lead-gate select,
#poto-lead-gate button,
#poto-calculator,
#poto-calculator input,
#poto-calculator button {font-family:Vazirmatn,Vazirmatn,Tahoma,Arial,sans-serif!important}
#poto-lead-gate{background:#232528;color:#fff;padding:clamp(44px,6vw,84px) 20px;min-height:calc(100vh - 160px);position:relative;isolation:isolate}
#poto-lead-gate::before{content:"";pointer-events:none;position:absolute;z-index:-1;inset:0;background:radial-gradient(ellipse 45% 48% at 10% 10%,rgba(254,188,32,.12),transparent 75%)}
#poto-lead-gate .poto-lead-card{max-width:980px;background:linear-gradient(145deg,#2e3033,#242629);border:1px solid rgba(255,255,255,.13);border-radius:22px;box-shadow:0 28px 70px rgba(0,0,0,.24)}
#poto-lead-gate .poto-lead-accent{height:4px;background:#febc20}
#poto-lead-gate .poto-lead-head{padding:30px clamp(22px,5vw,52px) 0}
#poto-lead-gate .poto-lead-logo{color:white;letter-spacing:-1.2px}
#poto-lead-gate .poto-lead-logo span{color:#febc20}
#poto-lead-gate .poto-lead-tag{color:#febc20;background:rgba(254,188,32,.10);border-color:rgba(254,188,32,.24)}
#poto-lead-gate .poto-lead-leadtext{padding:26px clamp(22px,5vw,52px) 20px}
#poto-lead-gate .poto-lead-eyebrow{color:#febc20;font-size:13px;font-weight:700;letter-spacing:.05px}
#poto-lead-gate .poto-lead-leadtext h1{color:#fff;font-size:clamp(25px,3.9vw,41px);max-width:720px;line-height:1.55;font-weight:800}
#poto-lead-gate .poto-lead-leadtext p{color:rgba(255,255,255,.65);max-width:760px}
#poto-lead-gate #poto-lead-form{padding:0 clamp(22px,5vw,52px) 42px}
#poto-lead-gate .poto-lead-fields{gap:18px 22px}
#poto-lead-gate .poto-lead-field label{color:rgba(255,255,255,.91);font-weight:650}
#poto-lead-gate .poto-lead-field label span{color:#febc20}
#poto-lead-gate .poto-lead-field input,#poto-lead-gate .poto-lead-field select{border:1px solid rgba(255,255,255,.20);background:#393b3e;color:#fff;border-radius:10px;min-height:54px;padding-inline:17px}
#poto-lead-gate .poto-lead-field select option{background:#393b3e;color:#fff}
#poto-lead-gate .poto-lead-field input::placeholder{color:rgba(255,255,255,.40)}
#poto-lead-gate .poto-lead-field input:focus,#poto-lead-gate .poto-lead-field select:focus{border-color:#febc20;box-shadow:0 0 0 3px rgba(254,188,32,.18)}
#poto-lead-gate .poto-lead-field small{color:rgba(255,255,255,.50)}
#poto-lead-gate .poto-lead-check{color:rgba(255,255,255,.76)}
#poto-lead-gate .poto-lead-check input{accent-color:#febc20}
#poto-lead-gate .poto-lead-check a{color:#febc20}
#poto-lead-gate .poto-lead-submit{background:#febc20;color:#232528;border-radius:50px;font-weight:800;box-shadow:none;min-height:58px;transition:background .25s ease,transform .25s ease}
#poto-lead-gate .poto-lead-submit:hover{background:#ffcf61;transform:translateY(-2px)}
#poto-lead-gate .poto-lead-note{color:rgba(255,255,255,.47)}
#poto-lead-gate .poto-lead-status{color:#f5bcb2;background:#60271d;border-color:#a74337}
#poto-lead-gate #poto-lead-result{margin:-44px -20px}
#poto-calculator{--poto-accent:#febc20;--poto-accent-dark:#80520c;background:#f6f6f3}
#poto-calculator .poto-calc-hero{margin-top:30px;margin-bottom:27px;padding:clamp(24px,4vw,46px);border-radius:22px;background:#232528;color:#fff;min-height:280px}
#poto-calculator .poto-calc-hero-copy h1{color:#fff}
#poto-calculator .poto-calc-hero-copy p{color:rgba(255,255,255,.73)}
#poto-calculator .poto-calc-hero .poto-eyebrow{color:#febc20}
#poto-calculator .poto-calc-hero .poto-tag{color:#febc20;border-color:rgba(254,188,32,.35);background:rgba(254,188,32,.12)}
#poto-calculator .poto-calc-hero-image{background:#febc20}
#poto-calculator .poto-cta{background:#232528;color:#fff}
#poto-calculator .poto-cta h2{color:#fff}
#poto-calculator .poto-cta .poto-eyebrow{color:#febc20}
#poto-calculator .poto-cta p,#poto-calculator .poto-contact-caption{color:rgba(255,255,255,.7)}
#poto-calculator .poto-button{background:#febc20;color:#232528}
#poto-calculator .poto-button:hover{background:#ffce5a}
/* Neutralize Elementor's global width/padding around the shortcode. */
#poto-lead-gate .poto-lead-fields>*{min-width:0}
@media(max-width:767px){
#poto-lead-gate{padding:35px 14px 50px}
#poto-lead-gate .poto-lead-card{border-radius:16px}
#poto-lead-gate .poto-lead-head{padding:21px 20px 0}
#poto-lead-gate .poto-lead-leadtext{padding:20px 20px 14px}
#poto-lead-gate #poto-lead-form{padding:0 20px 26px}
#poto-lead-gate .poto-lead-fields{grid-template-columns:1fr}
#poto-lead-gate #poto-lead-result{margin:-35px -14px}
#poto-calculator .poto-calc-hero{margin-top:16px;padding:24px}
}
/* Keep the honeypot visually hidden without creating a 10,000px horizontal scrollbar in RTL. */
#poto-lead-gate .poto-lead-trap{left:0!important;top:0!important;width:1px!important;height:1px!important;clip-path:inset(50%);clip:rect(0,0,0,0);overflow:hidden!important;pointer-events:none!important}
/* Existing POTO header is fixed; leave visual clearance under it on Elementor Full Width. */
#poto-lead-gate{padding-top:clamp(118px,9vw,148px)}
@media(max-width:767px){#poto-lead-gate{padding-top:106px}}

/* v1.3: Desktop form sizing. Scoped to the lead form so the calculator remains unchanged. */
@media (min-width:1024px) {
  #poto-lead-gate {padding:clamp(118px,9vw,148px) clamp(20px,3vw,56px) 64px;}
  #poto-lead-gate .poto-lead-card {width:100%;max-width:900px;border-radius:20px;}
  #poto-lead-gate .poto-lead-head {padding:24px 36px 0;}
  #poto-lead-gate .poto-lead-leadtext {padding:18px 36px 14px;}
  #poto-lead-gate .poto-lead-leadtext h1 {font-size:clamp(26px,2.3vw,34px);line-height:1.55;max-width:100%;margin-bottom:10px;}
  #poto-lead-gate .poto-lead-leadtext p {font-size:13.5px;line-height:1.9;}
  #poto-lead-gate #poto-lead-form {padding:0 36px 30px;}
  #poto-lead-gate .poto-lead-fields {gap:12px 18px;margin:15px 0 16px;}
  #poto-lead-gate .poto-lead-field label {font-size:13.5px;margin-bottom:5px;}
  #poto-lead-gate .poto-lead-field input,
  #poto-lead-gate .poto-lead-field select {min-height:48px;padding:9px 14px;font-size:14px;}
  #poto-lead-gate .poto-lead-check {margin:10px 0;font-size:12.5px;}
  #poto-lead-gate .poto-lead-submit {min-height:52px;margin-top:16px;font-size:15px;}
}

/* v1.4 -- edge-to-edge page without altering the site's actual header/footer. */
body:has(#poto-lead-gate), html:has(#poto-lead-gate){background:#232528!important}
#poto-lead-gate{
  width:100vw!important;max-width:none!important;
  margin-inline:calc(50% - 50vw)!important;
  background:#232528;
}
#poto-lead-gate #poto-lead-result{margin-inline:-20px}
/* Real POTO product PNG -- transparent photo, no artificial red poster crop/caption. */
#poto-calculator .poto-calc-hero-image{
  background:radial-gradient(circle at 50% 42%,#ffffff 0%,#f5f1e8 60%,#e8e4df 100%);
  border:1px solid #ede8dc;
  border-radius:18px;
  padding:12px;
  height:250px;
}
#poto-calculator .poto-calc-hero-image .poto-machine-window{
  display:flex;align-items:center;justify-content:center;height:100%;width:100%;
}
#poto-calculator .poto-calc-hero-image img{
  position:static!important;object-fit:contain!important;width:100%!important;
  height:100%!important;max-width:100%!important;
}
/* Make the actual calculator inputs the prominent action area on desktop. */
#poto-calculator .poto-workspace{grid-template-columns:minmax(400px, 450px) minmax(0,1fr);gap:26px}
#poto-calculator .poto-input-panel{
  background:#292b2d;
  border:2px solid rgba(254,188,32,.70);
  border-top:6px solid #febc20;
  color:white;
  box-shadow:0 18px 38px rgba(0,0,0,.11);
  padding:25px;
  position:relative;
}
#poto-calculator .poto-input-panel .poto-section-top h2{
  color:#fff;font-weight:850;font-size:clamp(1.35rem,1.8vw,1.7rem);
}
#poto-calculator .poto-input-panel .poto-muted{color:#f6d995;font-size:.93rem;font-weight:600}
#poto-calculator .poto-input-panel .poto-text-button{color:#febc20;font-weight:700;text-decoration:none}
#poto-calculator .poto-input-panel .poto-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 15px}
#poto-calculator .poto-input-panel .poto-field label{color:#fff;font-weight:850;font-size:.93rem;line-height:1.8}
#poto-calculator .poto-input-panel .poto-input-wrap{
  background:#fff;border:2px solid #fff;box-shadow:0 2px 0 rgba(0,0,0,.08);
}
#poto-calculator .poto-input-panel .poto-input-wrap:focus-within{
  border-color:#febc20;box-shadow:0 0 0 3px rgba(254,188,32,.35)
}
#poto-calculator .poto-input-panel .poto-input-wrap input{
  min-height:50px;font-size:1.12rem;font-weight:750;color:#202226;background:#fff;
}
#poto-calculator .poto-input-panel .poto-field-hint{color:#d4d5d7;font-size:.76rem}
#poto-calculator .poto-input-panel .poto-input-unit{font-weight:700;color:#565b5f}
#poto-calculator .poto-input-panel .poto-sample-note{
  background:rgba(254,188,32,.13);color:#ffebb9;border:1px solid rgba(254,188,32,.26)
}
#poto-calculator .poto-input-panel .poto-sample-note>span{border-color:#febc20}
#poto-calculator .poto-input-panel .poto-field-error{color:#ffd2c9}
@media(max-width:1050px){
  #poto-calculator .poto-workspace{grid-template-columns:360px minmax(0,1fr);gap:20px}
  #poto-calculator .poto-input-panel .poto-fields{grid-template-columns:1fr}
}
@media(max-width:780px){
  #poto-calculator .poto-workspace{grid-template-columns:1fr}
  #poto-calculator .poto-input-panel .poto-fields{grid-template-columns:repeat(2,minmax(0,1fr))}
  #poto-calculator .poto-calc-hero-image{height:195px}
}
@media(max-width:560px){
  #poto-calculator .poto-input-panel .poto-fields{grid-template-columns:1fr}
  #poto-calculator .poto-input-panel{padding:20px 17px}
  #poto-calculator .poto-calc-hero-image{height:175px;padding:6px}
}

/* v1.5 new financial calculator: after the lead gate succeeds use the same full-bleed container,
   but replace old calculator padding and paper background; native WordPress footer remains. */
#poto-lead-gate[data-pspc-active="1"]{min-height:0!important}
#poto-lead-gate[data-pspc-active="1"] #poto-lead-result{margin:0!important;width:100%;max-width:100%;background:#f5f3ed}
#poto-lead-gate[data-pspc-active="1"] .pspc{background:#f5f3ed;width:100%;max-width:none}
@media(max-width:767px){#poto-lead-gate[data-pspc-active="1"]{padding-top:92px!important}}
