/* Shared Seawater public calculator design tokens. Scoped: never affects WordPress admin. */
:root{--sw-public-blue:#1c75ba;--sw-public-ink:#17364a;--sw-public-muted:#718697;--sw-public-line:#dbe6f9;--sw-public-soft:#f5f9fc;--sw-public-orange:#faaf41}
/* OTP occupies the whole form grid and is centered at every viewport width. */
.rpcc.rpcc .rpcc-access-fields>[data-role="otp-wrap"],
.rpcc-pipe.rpcc-pipe .rpcc-pipe-access-fields>[data-role="otp-wrap"],
.sw-project.sw-project .sw-project-fields>[data-role="otp-wrap"]{grid-column:1/-1!important;width:100%!important;min-width:0!important}
.rpcc.rpcc .rpcc-access-fields>[data-role="otp-wrap"] input[name="otp"],
.rpcc-pipe.rpcc-pipe .rpcc-pipe-access-fields>[data-role="otp-wrap"] input[name="otp"],
.sw-project.sw-project .sw-project-fields>[data-role="otp-wrap"] input[name="otp"]{display:block!important;width:100%!important;max-width:none!important;box-sizing:border-box!important;text-align:center!important;direction:ltr!important;letter-spacing:.22em!important;font-variant-numeric:tabular-nums!important}
/* Unified OTP dialogs for pool, pipe and project; labels/buttons match the pool reference. */
.rpcc.rpcc .rpcc-access-gate-card,
.rpcc-pipe.rpcc-pipe .rpcc-pipe-access-card,
.sw-project.sw-project .sw-project-gate-card{width:min(724px,100%)!important;border:1px solid var(--sw-public-line)!important;border-radius:20px!important;background:#fff!important;padding:clamp(22px,3.2vw,40px)!important;box-shadow:0 20px 62px rgba(20,88,147,.13)!important}
.rpcc.rpcc .rpcc-access-gate-card h2,
.rpcc-pipe.rpcc-pipe .rpcc-pipe-access-card h2,
.sw-project.sw-project .sw-project-gate-card h2{color:var(--sw-public-blue)!important;font-size:clamp(20px,2.3vw,26px)!important;font-weight:850!important;text-align:center!important}
.rpcc.rpcc .rpcc-access-gate-card>p,
.rpcc-pipe.rpcc-pipe .rpcc-pipe-access-card>p,
.sw-project.sw-project .sw-project-gate-card>p{color:var(--sw-public-muted)!important;text-align:center!important;font-size:13px!important;line-height:1.95!important}
.rpcc.rpcc .rpcc-access-fields,
.rpcc-pipe.rpcc-pipe .rpcc-pipe-access-fields,
.sw-project.sw-project .sw-project-fields{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px 14px!important;text-align:right!important}
.rpcc.rpcc .rpcc-access-fields label,
.rpcc-pipe.rpcc-pipe .rpcc-pipe-access-fields label,
.sw-project.sw-project .sw-project-fields label{min-width:0!important;color:var(--sw-public-ink)!important;font-size:13px!important;font-weight:750!important;text-align:right!important}
.rpcc.rpcc .rpcc-access-fields input,
.rpcc-pipe.rpcc-pipe .rpcc-pipe-access-fields input,
.sw-project.sw-project .sw-project-fields input{width:100%!important;min-width:0!important;min-height:55px!important;border:1px solid var(--sw-public-line)!important;border-radius:30px!important;background:#e8f0fd!important;color:var(--sw-public-ink)!important;padding:10px 18px!important;font:700 14px 'Yekan Bakh',Tahoma,Arial,sans-serif!important;box-shadow:none!important}
.rpcc.rpcc .rpcc-access-fields input:focus,
.rpcc-pipe.rpcc-pipe .rpcc-pipe-access-fields input:focus,
.sw-project.sw-project .sw-project-fields input:focus{border-color:#87c4ee!important;background:#fff!important;box-shadow:0 0 0 4px rgba(28,117,186,.10)!important;outline:none!important}
.rpcc.rpcc .rpcc-access-submit,
.rpcc-pipe.rpcc-pipe .rpcc-pipe-access-submit,
.sw-project.sw-project .sw-project-submit{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;min-height:54px!important;margin-top:14px!important;padding:10px 20px!important;border:0!important;border-radius:99px!important;background:var(--sw-public-orange)!important;color:#fff!important;font:750 14px 'Yekan Bakh',Tahoma,Arial,sans-serif!important;text-align:center!important;cursor:pointer}
.rpcc.rpcc .rpcc-access-submit:hover,
.rpcc-pipe.rpcc-pipe .rpcc-pipe-access-submit:hover,
.sw-project.sw-project .sw-project-submit:hover{background:#f4a434!important}
/* Calculator sections: match shape, form controls, focus state and surface contrast. */
.rpcc-pipe .rpcc-pipe-step-card,
.rpcc-pipe .rpcc-pipe-result-card,
.sw-project .sw-project-frame-wrap{border:1px solid var(--sw-public-line)!important;border-radius:18px!important;box-shadow:0 9px 32px rgba(18,75,128,.06)!important;background:#fff!important}
.rpcc-pipe .rpcc-pipe-config-panel input:not([type="checkbox"]),
.rpcc-pipe .rpcc-pipe-config-panel select{border:1px solid var(--sw-public-line)!important;border-radius:30px!important;background:#fff!important;color:var(--sw-public-ink)!important;min-height:45px!important;font-family:'Yekan Bakh',Tahoma,Arial,sans-serif!important}
.rpcc-pipe .rpcc-pipe-config-panel input:focus,
.rpcc-pipe .rpcc-pipe-config-panel select:focus{outline:0!important;border-color:#8cc8ec!important;box-shadow:0 0 0 3px rgba(28,117,186,.10)!important}
@media(max-width:640px){
  .rpcc.rpcc .rpcc-access-fields,
  .rpcc-pipe.rpcc-pipe .rpcc-pipe-access-fields,
  .sw-project.sw-project .sw-project-fields{grid-template-columns:minmax(0,1fr)!important}
  .rpcc.rpcc .rpcc-access-gate-card,
  .rpcc-pipe.rpcc-pipe .rpcc-pipe-access-card,
  .sw-project.sw-project .sw-project-gate-card{padding:20px 16px!important;border-radius:18px!important}
}

/* An author-defined flex/grid label must not override HTML hidden-state. */
.rpcc.rpcc [data-role="otp-wrap"][hidden],
.rpcc-pipe.rpcc-pipe [data-role="otp-wrap"][hidden],
.sw-project.sw-project [data-role="otp-wrap"][hidden]{display:none!important}
