body.br-login.postal-login {
 --postal-gold: #ffb329;
 --postal-text: #faf9f7;
 background: #292a28;
 color: var(--postal-text);
}

.postal-login .postal-login-shell {
 min-height: 100svh;
 display: grid;
 grid-template-columns: minmax(0, 1fr) clamp(340px, 31.4vw, 680px);
 align-items: center;
 column-gap: clamp(28px, 4vw, 72px);
 padding: clamp(24px, 4.2svh, 54px) 2.5vw max(64px, 7svh) 4vw;
}

.postal-login .postal-login-shell::before {
 background: linear-gradient(180deg, #15171940 0%, transparent 48%), url("/assets/postal-login-courier.webp") center 54% / cover no-repeat;
}

.postal-intro {
 align-self: start;
 min-width: 0;
}

.postal-hero-logo {
 display: block;
 width: clamp(240px, 23vw, 440px);
 max-width: 100%;
 height: auto;
}

.postal-hero {
 margin-top: clamp(24px, 4svh, 50px);
 text-shadow: 0 2px 18px #100e09a6;
}

.postal-hero h1 {
 margin: 0;
 color: var(--postal-text);
 font-size: clamp(40px, 4.15vw, 86px);
 line-height: .99;
 font-weight: 840;
 letter-spacing: -.037em;
 white-space: normal;
}

.postal-hero h1 span {
 display: block;
 color: var(--postal-gold);
}

.postal-hero p {
 margin: .55em 0 0;
 font-size: clamp(18px, 1.55vw, 32px);
 line-height: 1.3;
 font-weight: 500;
}

.postal-hero::after {
 content: "";
 display: block;
 width: clamp(52px, 4.1vw, 88px);
 height: 4px;
 border-radius: 2px;
 margin-top: clamp(16px, 3.1svh, 32px);
 background: var(--postal-gold);
}

.postal-access {
 min-width: 0;
 border: 1px solid #e7ad48;
 border-radius: clamp(20px, 1.8vw, 35px);
 padding: clamp(33px, 2.65vw, 61px) clamp(26px, 2.15vw, 52px) clamp(38px, 4vw, 92px);
 color: var(--postal-text);
 background: linear-gradient(148deg, #232526f5, #121616fa 88%);
 box-shadow: 0 24px 72px #06080860, inset 0 1px #ffffff16;
}

.postal-card-logo {
 display: block;
 width: 93%;
 height: auto;
 margin: 0 auto;
}

.postal-access h2 {
 margin: clamp(20px, 1.85vw, 42px) 0 clamp(25px, 2.35vw, 53px);
 color: var(--postal-text);
 text-align: center;
 font-size: clamp(28px, 2.4vw, 52px);
 line-height: 1.1;
 font-weight: 810;
 letter-spacing: -.033em;
}

.postal-form {
 display: grid;
 gap: clamp(14px, 1vw, 24px);
}

.postal-field {
 display: flex;
 align-items: center;
 min-height: clamp(55px, 3.7vw, 80px);
 gap: clamp(13px, 1.55vw, 28px);
 padding-inline: clamp(15px, 1.05vw, 24px);
 border: 1px solid #777879;
 border-radius: clamp(12px, .95vw, 20px);
 background: #ffffff11;
}

.postal-password {
 border-color: #ffb329b5;
}

.postal-field:focus-within {
 border-color: var(--postal-gold);
 box-shadow: 0 0 0 2px #ffb3295e;
}

.postal-field svg,
.postal-enter svg {
 flex: none;
 width: clamp(22px, 1.6vw, 30px);
 height: auto;
 fill: none;
 stroke: currentColor;
 stroke-width: 1.5;
 stroke-linecap: round;
 stroke-linejoin: round;
}

.postal-field input {
 flex: 1;
 width: 0;
 min-width: 0;
 min-height: 50px;
 padding: 0;
 border: 0;
 background: transparent;
 outline: none;
 color: inherit;
 font: inherit;
 font-size: clamp(16px, 1.12vw, 24px);
}

.postal-field input::placeholder {
 color: #deddd9;
 opacity: 1;
}

.postal-field input:-webkit-autofill {
 -webkit-text-fill-color: #fff;
 box-shadow: 0 0 0 1000px #2d2f2f inset;
}

.postal-password-toggle {
 flex: none;
 min-height: 44px;
 padding: 0;
 border: 0;
 background: none;
 color: inherit;
 font: inherit;
 font-size: clamp(15px, 1.05vw, 21px);
 font-weight: 730;
 cursor: pointer;
}

.postal-enter {
 display: flex;
 justify-content: center;
 align-items: center;
 gap: 12px;
 min-height: clamp(58px, 4.05vw, 90px);
 margin-top: clamp(5px, .73vw, 15px);
 padding: 10px 14px;
 border: 1px solid #ffa619;
 border-radius: clamp(12px, .98vw, 21px);
 background: linear-gradient(100deg, #ffad18, #ff8f0a);
 color: #271703;
 font: inherit;
 font-size: clamp(22px, 1.6vw, 35px);
 font-weight: 820;
 cursor: pointer;
}

.postal-enter:hover {
 background: linear-gradient(100deg, #ffbd45, #ffa42e);
}

.postal-password-toggle:focus-visible,
.postal-enter:focus-visible {
 outline: 2px solid var(--postal-gold);
 outline-offset: 4px;
}

.postal-alert {
 margin: -8px 0 16px;
 padding: 10px 13px;
 border: 1px solid #f9a082;
 border-radius: 10px;
 color: #ffded0;
 background: #39201e;
 font-size: 14px;
 line-height: 1.4;
}

@media (max-width: 760px) {
 .postal-login .postal-login-shell {
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  row-gap: 26px;
  padding: 24px clamp(18px, 5vw, 38px) max(16px, env(safe-area-inset-bottom));
 }

 .postal-login .postal-login-shell::before {
  background-image: linear-gradient(180deg, #10121375, #10121335 37%, #11131475), url("/assets/postal-login-courier.webp");
  background-position: 38% center;
 }

 .postal-access {
  width: min(100%, 480px);
  justify-self: center;
  padding: 26px clamp(20px, 5vw, 34px) 29px;
 }

 .postal-hero h1 { font-size: clamp(36px, 7.2vw, 52px); }
 .postal-hero p { font-size: clamp(17px, 3.7vw, 22px); }
 .postal-hero::after { margin-top: 16px; }
 .postal-card-logo { width: min(90%, 360px); }
}

@media (max-height: 790px) and (min-width: 761px) {
 .postal-login .postal-login-shell { padding-block: 22px max(55px, 7svh); }
 .postal-access { padding-block: clamp(23px, 4.6svh, 36px); }
 .postal-access h2 { margin-block: clamp(18px, 3svh, 32px) clamp(22px, 3.7svh, 39px); }
 .postal-card-logo { width: min(90%, 61svh); }
 .postal-form { gap: 13px; }
 .postal-field { min-height: clamp(54px, 8.5svh, 65px); }
 .postal-enter { min-height: clamp(55px, 9.2svh, 72px); }
}
