:root{--rsa-red:#e51b23;--rsa-red2:#f31b23;--rsa-navy:#12213a;--rsa-blue:#12419a;--rsa-border:#e6ebf2;--rsa-muted:#647084;--rsa-shadow:0 35px 90px rgba(4,17,38,.33)}
html.rsa-auth-open{overflow:hidden}.rsa-auth-shell{position:fixed;inset:0;z-index:2147483000;display:none;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;color:var(--rsa-navy)}.rsa-auth-shell.open{display:block}.rsa-auth-backdrop{position:absolute;inset:0;background:rgba(9,19,34,.72);backdrop-filter:blur(7px)}
.rsa-auth-modal{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:min(1024px,calc(100vw - 48px));max-height:calc(100vh - 48px);background:#fff;border-radius:22px;box-shadow:var(--rsa-shadow);overflow:auto}.rsa-auth-close{position:absolute;right:20px;top:18px;z-index:5;width:38px;height:38px;border:0;border-radius:50%;background:#fff;box-shadow:0 4px 18px rgba(19,35,59,.10);font-size:26px;line-height:1;color:#213048;cursor:pointer}.rsa-auth-main{display:grid;grid-template-columns:1fr 1fr;min-height:610px}.rsa-auth-left{padding:34px 50px 30px}.rsa-auth-right{position:relative;padding:74px 42px 28px;background:linear-gradient(145deg,#fbfdff 0%,#edf6ff 52%,#fff5f3 100%);overflow:hidden}.rsa-auth-right:after{content:"";position:absolute;inset:auto -120px -170px 70px;height:420px;border-radius:50%;background:radial-gradient(circle,rgba(33,97,188,.09),transparent 67%)}
.rsa-auth-head{display:flex;align-items:center;justify-content:space-between;gap:28px;margin-bottom:26px}.rsa-auth-brand{min-width:140px}.rsa-auth-logo-img{display:block;max-width:142px;max-height:58px;width:auto;height:auto}.rsa-auth-wordmark b{display:block;font-size:34px;letter-spacing:1px}.rsa-auth-wordmark span{display:block;font-size:10px;letter-spacing:5px}.rsa-auth-tabs{display:flex;padding:3px;background:#f7f8fa;border-radius:999px;box-shadow:0 6px 18px rgba(23,39,65,.10)}.rsa-auth-tabs button{border:0;background:transparent;border-radius:999px;padding:10px 30px;color:#303b4f;cursor:pointer}.rsa-auth-tabs button.active{background:var(--rsa-red);color:#fff;box-shadow:0 8px 18px rgba(229,27,35,.24)}
.rsa-auth-view{display:none}.rsa-auth-view.active{display:block}.rsa-auth-view h2{font-size:30px;line-height:1.1;margin:0 0 8px;letter-spacing:-.6px}.rsa-auth-view>p{margin:0 0 24px;color:#4c596d;font-size:14px;line-height:1.55}.rsa-auth-view label{display:block;font-size:12px;font-weight:700;margin:14px 0 7px}.rsa-field{height:46px;border:1px solid #d9e0e8;border-radius:7px;display:flex;align-items:center;padding:0 12px;transition:.2s;background:#fff}.rsa-field:focus-within{border-color:#8facdf;box-shadow:0 0 0 3px rgba(36,91,171,.08)}.rsa-field>span{margin-right:9px;color:#7b8ba2}.rsa-field input{width:100%;border:0!important;box-shadow:none!important;outline:0!important;background:transparent!important;padding:0!important;font-size:13px;height:auto!important;min-height:0!important}.rsa-eye{border:0;background:none;cursor:pointer;color:#77859b}.rsa-auth-row{display:flex;align-items:center;justify-content:space-between;margin:12px 0 16px}.rsa-check{display:flex!important;align-items:center;gap:8px!important;margin:0!important;font-weight:500!important}.rsa-check input{accent-color:var(--rsa-red)}.rsa-link,.rsa-back{border:0;background:none;color:var(--rsa-red);font-size:12px;cursor:pointer;padding:0}.rsa-primary{width:100%;height:47px;border:0;border-radius:6px;background:linear-gradient(90deg,var(--rsa-red),var(--rsa-red2));color:#fff;font-weight:700;font-size:14px;cursor:pointer;box-shadow:0 10px 22px rgba(229,27,35,.16)}.rsa-primary:disabled{opacity:.68;cursor:wait}.rsa-primary span{margin-left:8px}.rsa-divider{display:flex;align-items:center;gap:12px;margin:18px 0 14px;color:#69758a;font-size:11px}.rsa-divider:before,.rsa-divider:after{content:"";height:1px;background:#e0e5ec;flex:1}.rsa-social{display:grid;grid-template-columns:1fr 1fr;gap:10px}.rsa-social button{height:42px;border:1px solid #dbe1e9;background:#fff;border-radius:6px;color:#253349;font-size:12px;cursor:pointer}.rsa-message{display:none;margin:10px 0;padding:10px 12px;border-radius:7px;background:#fff0f1;color:#b9131c;font-size:12px;line-height:1.45}.rsa-message.ok{background:#edfff4;color:#187747}
.rsa-grid2{display:grid;grid-template-columns:1fr 1fr;gap:12px}.rsa-role-pills{display:flex;gap:7px}.rsa-role-pills input{position:absolute;opacity:0}.rsa-role-pills span{display:block;border:1px solid #dce3eb;border-radius:999px;padding:8px 11px;font-size:11px;font-weight:600;cursor:pointer}.rsa-role-pills input:checked+span{border-color:#ef8e92;background:#fff3f3;color:#c7161d}.rsa-terms{margin:14px 0!important;font-size:11px!important}.rsa-terms a{color:var(--rsa-red)}
.rsa-auth-benefit-copy{position:relative;z-index:2}.rsa-auth-benefit-copy h3{font-size:22px;margin:0 0 8px}.rsa-auth-benefit-copy h3 em{font-style:normal;color:var(--rsa-red)}.rsa-auth-benefit-copy>p{font-size:13px;color:#566277;margin:0 0 22px}.rsa-benefit{display:flex;gap:13px;margin:18px 0}.rsa-benefit i{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#fff;box-shadow:0 7px 18px rgba(20,43,77,.08);color:var(--rsa-red);font-style:normal;font-size:20px;flex:0 0 auto}.rsa-benefit:nth-of-type(even) i{color:var(--rsa-blue)}.rsa-benefit b{display:block;font-size:12px;margin-bottom:4px}.rsa-benefit span{display:block;font-size:11px;line-height:1.45;color:#59667a}.rsa-house-art{position:absolute;right:3px;bottom:0;width:290px;height:205px;z-index:1}.rsa-house{position:absolute;right:22px;bottom:18px;width:210px;height:113px}.rsa-house-body{position:absolute;inset:18px 10px 0;background:linear-gradient(135deg,#fff,#dae5ef);border:1px solid #9fb2c5;box-shadow:0 18px 28px rgba(34,54,77,.16)}.rsa-house-roof{position:absolute;left:0;top:0;width:220px;height:42px;background:#eef2f5;clip-path:polygon(10% 100%,53% 4%,100% 68%,100% 100%);border-bottom:3px solid #344353}.rsa-house-body span{display:inline-block;width:55px;height:42px;background:linear-gradient(160deg,#43627f,#c3d9eb);margin:18px 3px 0 12px;border:4px solid #eef4f8}.rsa-house-body b{position:absolute;right:14px;bottom:0;width:52px;height:52px;background:#695542}
.rsa-auth-footer{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid #edf0f4;min-height:70px;padding:0 38px;background:#fff}.rsa-auth-footer>div{display:flex;align-items:center;gap:12px;padding:14px 22px;border-right:1px solid #edf0f4}.rsa-auth-footer>div:last-child{border:0}.rsa-auth-footer i{font-style:normal;color:#607ea9;font-size:22px}.rsa-auth-footer b,.rsa-auth-footer small{display:block}.rsa-auth-footer b{font-size:11px}.rsa-auth-footer small{font-size:10px;color:#697589;margin-top:3px}
.rsa-status{padding-top:35px;text-align:left}.rsa-status .rsa-back{margin-bottom:30px}.rsa-status-icon{width:82px;height:82px;border-radius:50%;background:#f3f7fd;display:grid;place-items:center;margin:10px auto 22px;font-size:33px;color:#7494bd;position:relative;box-shadow:0 0 0 10px rgba(241,247,254,.7)}.rsa-status-icon b{position:absolute;right:0;bottom:2px;width:28px;height:28px;border-radius:50%;background:var(--rsa-red);color:#fff;font-size:14px;display:grid;place-items:center}.rsa-status h2,.rsa-status>p{text-align:center}.rsa-status ul{font-size:12px;color:#556278;padding-left:18px;line-height:2;margin:22px 0}.rsa-success{background:#2bb673;color:#fff;box-shadow:0 0 0 11px #eaf9f2,0 0 0 18px #f5fcf8}.rsa-progress{height:4px;border-radius:10px;background:#edf0f4;width:55%;margin:22px auto;overflow:hidden}.rsa-progress span{display:block;height:100%;width:55%;background:var(--rsa-red);animation:rsaProgress .8s linear forwards}@keyframes rsaProgress{to{width:100%}}
.rsa-no-register .rsa-auth-tabs button[data-rsa-view=register]{display:none}.rsa-no-password .rsa-password-wrap{display:none}.rsa-no-mobile .rsa-mobile-wrap{display:none}.rsa-no-first .rsa-optional-names>div:first-child{display:none}.rsa-no-last .rsa-optional-names>div:last-child{display:none}.rsa-no-first.rsa-no-last .rsa-optional-names{display:none}
@media(max-width:850px){.rsa-auth-modal{width:min(620px,calc(100vw - 24px));max-height:calc(100vh - 24px)}.rsa-auth-main{grid-template-columns:1fr}.rsa-auth-right{display:none}.rsa-auth-left{padding:28px 28px 24px}.rsa-auth-footer{padding:0 12px}.rsa-auth-footer>div{padding:12px 10px}.rsa-auth-footer small{display:none}}
@media(max-width:560px){.rsa-auth-modal{inset:8px;transform:none;left:0;top:0;width:calc(100vw - 16px);max-height:calc(100vh - 16px);border-radius:18px}.rsa-auth-left{padding:24px 20px}.rsa-auth-head{align-items:flex-start;flex-direction:column;gap:14px}.rsa-auth-tabs{width:100%}.rsa-auth-tabs button{flex:1}.rsa-auth-view h2{font-size:27px}.rsa-grid2{grid-template-columns:1fr}.rsa-role-pills{flex-wrap:wrap}.rsa-auth-footer{grid-template-columns:1fr}.rsa-auth-footer>div{border-right:0;border-bottom:1px solid #edf0f4}.rsa-auth-footer>div:last-child{border-bottom:0}.rsa-auth-close{right:12px;top:12px}}

/* Houzez / Cloudflare Turnstile bridge */
.rsa-captcha-slot{display:none;margin:14px 0 10px;min-height:0}.rsa-captcha-slot.is-visible{display:flex;justify-content:flex-start;align-items:center;min-height:65px}.rsa-turnstile-host{max-width:100%;min-height:65px}.rsa-turnstile-host iframe{max-width:100%}.rsa-captcha-note{font-size:11px;color:#697589}
@media(max-width:420px){.rsa-captcha-slot.is-visible{overflow:hidden}.rsa-turnstile-host{transform-origin:left top;max-width:100%}}


/* v0.1.2: input/focus ownership hardening */
.rsa-auth-shell.open .rsa-field,
.rsa-auth-shell.open .rsa-field input,
.rsa-auth-shell.open input,
.rsa-auth-shell.open textarea,
.rsa-auth-shell.open select{pointer-events:auto!important}
.rsa-auth-shell.open .rsa-field input,
.rsa-auth-shell.open input[type=text],
.rsa-auth-shell.open input[type=email],
.rsa-auth-shell.open input[type=password],
.rsa-auth-shell.open input[type=tel]{user-select:text!important;-webkit-user-select:text!important;caret-color:var(--rsa-navy)!important}
html.rsa-auth-open #login-register-form.modal,
html.rsa-auth-open .login-register-form.modal,
html.rsa-auth-open .modal.login-register-form,
html.rsa-auth-open .houzez-login-register-modal{display:none!important;visibility:hidden!important;pointer-events:none!important}


/* v0.1.7 — approved RSA Auth UI refinement */
.rsa-auth-logo-img{
  display:block;
  max-width:178px!important;
  max-height:60px!important;
  width:auto!important;
  height:auto!important;
  object-fit:contain;
  object-position:left center;
}
.rsa-auth-right{
  background:
    radial-gradient(circle at 78% 18%,rgba(190,220,255,.48),transparent 33%),
    linear-gradient(145deg,#fbfdff 0%,#eef6ff 54%,#fff8f6 100%);
}
.rsa-auth-benefit-copy{max-width:360px}
.rsa-svg-icon svg{
  width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;
  stroke-linecap:round;stroke-linejoin:round;
}
.rsa-house-art{
  right:0;bottom:0;width:330px;height:250px;overflow:hidden;
  display:flex;justify-content:flex-end;align-items:flex-end;
}
.rsa-house-art img{
  width:100%;height:100%;object-fit:cover;object-position:center bottom;display:block;
  mix-blend-mode:multiply;
}
.rsa-role-pills{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
}
.rsa-role-pills label{margin:0!important}
.rsa-role-pills span{
  min-height:38px;display:flex;align-items:center;justify-content:center;
  text-align:center;padding:8px 9px;
}
.rsa-auth-tabs button{min-width:96px}
.rsa-social button{
  font-weight:600;
  transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease;
}
.rsa-social button:hover{
  border-color:#bfc9d7;
  box-shadow:0 5px 16px rgba(25,45,75,.08);
  transform:translateY(-1px);
}
@media(max-width:560px){
  .rsa-role-pills{grid-template-columns:repeat(2,minmax(0,1fr))}
}


/* v0.1.8 — replace temporary CSS house placeholder with approved artwork */
.rsa-house-art{
  position:absolute!important;
  right:0!important;
  bottom:0!important;
  width:360px!important;
  height:280px!important;
  overflow:hidden!important;
  display:flex!important;
  align-items:flex-end!important;
  justify-content:flex-end!important;
  pointer-events:none!important;
  background:transparent!important;
}
.rsa-house-art .rsa-house,
.rsa-house-art .rsa-house-roof,
.rsa-house-art .rsa-house-body{
  display:none!important;
}
.rsa-house-art img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:center bottom!important;
  border:0!important;
  box-shadow:none!important;
  background:transparent!important;
  mix-blend-mode:multiply;
}
@media(max-width:900px){
  .rsa-house-art{width:300px!important;height:230px!important}
}


/* v0.1.9 — Facebook login temporarily hidden pending hosting CA/SSL repair */
.rsa-social.rsa-social-single{
  grid-template-columns:minmax(220px,320px)!important;
  justify-content:center;
}
.rsa-social.rsa-social-single button{
  width:100%;
}

/* RSA native compatibility: legacy Houzez/Bootstrap modal markup must stay
   out of document flow while closed when the full Bootstrap CSS bundle is
   intentionally not loaded on RSA-native routes. */
.modal.fade:not(.show){display:none!important}
.modal.fade.show{display:block}
