:root{--navy:#071d40;--ink:#12264b;--muted:#6e7f9b;--orange:#ffad22}*{box-sizing:border-box}body.web-auth{margin:0;font-family:Inter,Arial,sans-serif;color:var(--ink);background:#f6f9fe}.auth-layout{min-height:100vh;display:grid;grid-template-columns:minmax(360px,42%) 1fr}.auth-intro{position:relative;padding:54px clamp(34px,6vw,96px);color:#fff;overflow:hidden;background:linear-gradient(150deg,rgba(5,25,57,.9),rgba(6,38,80,.72)),url('/assets/img/vito_agency.jpg') center/cover}.auth-intro:after{content:"";position:absolute;inset:45% 0 0;background:linear-gradient(transparent,#061938)}.brand,.intro-copy{position:relative;z-index:1}.brand img{width:145px;max-height:52px;object-fit:contain;object-position:left center}.intro-copy{max-width:480px;margin-top:clamp(150px,24vh,280px)}.intro-copy span,.eyebrow,label,.otp-label{font-size:.72rem;letter-spacing:.16em;font-weight:800}.intro-copy span{color:#ffbd4d}.intro-copy h1{font-size:clamp(2.4rem,4vw,4.3rem);letter-spacing:-.055em;line-height:1.01;margin:16px 0}.intro-copy p{color:#d5e2f8;line-height:1.7;font-size:1.05rem;max-width:380px}.auth-main{min-height:100vh;padding:42px clamp(24px,8vw,150px);display:flex;flex-direction:column;justify-content:center;background:radial-gradient(circle at 90% 8%,#e8f2ff,transparent 28%),#f9fbff}.auth-panel{width:min(100%,510px);padding:10px 0}.account-tabs{display:grid;grid-template-columns:1fr 1fr;border-bottom:1px solid #cbd9ed;margin-bottom:38px}.account-tab{border:0;background:none;padding:13px 4px;color:#7b8ca6;font-weight:600;font-size:1rem;cursor:pointer;position:relative}.account-tab i{margin-right:8px}.account-tab.active{color:var(--ink)}.account-tab.active:after{content:"";position:absolute;height:3px;border-radius:3px;background:var(--orange);bottom:-1px;left:14%;right:14%}.eyebrow{color:#8798b2;margin:0 0 10px}.auth-panel h2{font-size:clamp(2rem,3.2vw,2.7rem);letter-spacing:-.05em;line-height:1.05;margin:0 0 13px}.lead{margin:0 0 30px;color:var(--muted);line-height:1.6}.lead strong{color:var(--ink);font-weight:600;word-break:break-word}.field{margin-bottom:22px}.field label,.otp-label{display:block;color:#5a6d8b;margin-bottom:9px}.input{height:58px;border:1px solid #9bb9df;border-radius:12px;background:#fff;display:flex;align-items:center;padding:0 17px;gap:13px;transition:.18s}.input:focus-within{border-color:#3977bd;box-shadow:0 0 0 4px rgba(51,115,190,.12)}.input i{font-size:1.25rem;color:#5b7dab}.input input{border:0;outline:0;width:100%;height:100%;font:inherit;font-size:1rem;color:var(--ink);background:transparent}.primary{width:100%;height:56px;border:0;border-radius:12px;background:linear-gradient(100deg,#ffbe48,#ff9818);color:#10254a;font:600 1rem Inter,Arial,sans-serif;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:12px;box-shadow:0 14px 28px rgba(247,151,19,.19)}.primary:disabled{opacity:.52;cursor:not-allowed;box-shadow:none}.primary i{font-size:1.25rem}.text-action{display:block;margin:25px auto 0;border:0;background:none;color:#71829e;font:inherit;cursor:pointer}.text-action strong,.link-button{color:#d27a00;font-weight:700}.agency-notice{display:flex;gap:10px;padding:12px 14px;border-radius:10px;background:#f3f7fe;color:#667895;font-size:.87rem;line-height:1.45}.agency-notice i{color:#e58b11}.agency-notice a{color:#bb6900;font-weight:700}.hidden{display:none!important}.change-email{border:0;background:none;color:#6a7f9d;padding:0;margin:0 0 22px;font:inherit;cursor:pointer}.change-email i{margin-right:7px}.otp-inputs{display:grid;grid-template-columns:repeat(6,1fr);gap:10px;margin:0 0 28px}.otp-inputs input{min-width:0;height:58px;text-align:center;border:1px solid #8eafd7;border-radius:11px;background:#fff;color:var(--ink);font:700 1.45rem Inter,Arial,sans-serif;outline:0}.otp-inputs input:focus{border-color:#e99a18;box-shadow:0 0 0 4px rgba(248,164,34,.16)}.resend{text-align:center;color:#71829e;font-size:.9rem;margin:24px 0 0}.link-button{border:0;background:none;font:inherit;cursor:pointer}.security{margin-top:38px;padding-top:20px;border-top:1px solid #e2e9f3;display:flex;align-items:center;justify-content:center;gap:9px;color:#8a9ab1;font-size:.8rem}.security i{color:#e29316;font-size:1rem}@media(max-width:800px){.auth-layout{grid-template-columns:1fr}.auth-intro{min-height:255px;padding:30px 25px}.brand img{width:126px}.intro-copy{margin-top:55px}.intro-copy h1{font-size:2.15rem;margin:8px 0}.intro-copy p{display:none}.auth-main{min-height:calc(100vh - 255px);padding:50px 25px 40px}.auth-panel{margin:auto}.account-tabs{margin-bottom:28px}}@media(max-width:400px){.auth-main{padding-left:18px;padding-right:18px}.otp-inputs{gap:7px}.otp-inputs input{height:52px}.account-tab{font-size:.92rem}}

/* Visible branding on the photo and a clear home navigation control. */
.web-auth .brand { display: inline-flex; align-items: center; }
.web-auth .brand img {
  display: block;
  width: 240px;
  max-width: 100%;
  max-height: none;
  height: auto;
}
.web-auth .auth-home-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 52px;
  margin-top: 24px;
  padding: 13px 18px;
  border: 1px solid #c9d5e6;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
  transition: border-color .18s ease, background .18s ease;
}
.web-auth .auth-home-link span { flex: 1; text-align: center; }
.web-auth .auth-home-link > .bi { font-size: 18px; }
.web-auth .auth-home-link:hover { border-color: #e3a23e; background: #fff5e4; }
.web-auth :is(.brand, .auth-home-link):focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 5px;
}
@media (max-width: 800px) {
  .web-auth .brand img { width: 180px; }
}
@media (prefers-reduced-motion: reduce) {
  .web-auth .auth-home-link { transition: none; }
}
