.hm2-login-screen {
  color-scheme: light;
  --ink: #07143d;
  --muted: #697597;
  --line: #dce2f2;
  --panel: #ffffff;
  --soft: #f5f7ff;
  --blue: #1473ff;
  --violet: #613bff;
  --purple: #9a35ef;
  --green: #0dbd66;
  --shadow: 0 24px 70px rgba(35, 44, 91, 0.14);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.hm2-login-screen,
.hm2-login-screen * {
  box-sizing: border-box;
}

.hm2-login-screen {
  min-width: 320px;
  background: #f6f8ff;
  min-height: 100vh;
  min-height: 100svh;
  color: var(--ink);
  background:
    linear-gradient(122deg, rgba(222, 228, 255, 0.34) 0 1px, transparent 1px 100%) 0 0 / 58px 58px,
    #f6f8ff;
}

body.auth-locked button,
body.auth-locked input {
  font: inherit;
}

/* NAO devolva o `color: inherit` que existia aqui.
   No mockup de origem a regra era `button { color: inherit }` — peso (0,0,1), que perdia
   para `.hm2-primary-action` (0,1,0). Ao escopar para `body.auth-locked button` na
   portabilidade, o peso subiu para (0,1,2) e a cascata inverteu: o `color:#fff` declarado
   no botao primario parava de valer, e "Entrar ->", "Criar minha conta ->" e
   "Esqueceu sua senha?" saiam em azul-marinho (#07143d) sobre gradiente violeta.
   A aba ativa escapava so porque tem duas classes (0,2,0). */

/* Foco visivel: na BORDA DO SHELL, nunca dentro dele.
   O <input> mora dentro de `.hm2-field-shell`; um `outline` com `outline-offset: 2px` e
   desenhado ao redor do input, ou seja, DENTRO do box branco — e em campo de texto o
   `:focus-visible` casa tambem no clique de mouse, entao aparecia sempre. Era a "sombra
   dentro do mesmo box" relatada.
   Isto e acessibilidade, nao enfeite: quem navega por teclado precisa ver onde esta. Por
   isso o realce nao foi removido, so mudou de lugar — o `.hm2-field-shell:focus-within`
   mais abaixo ja engrossa a borda e faz esse papel. */
body.auth-locked input:focus-visible,
body.auth-locked textarea:focus-visible,
body.auth-locked select:focus-visible {
  outline: none;
}

body.auth-locked button:focus-visible,
body.auth-locked a:focus-visible {
  outline: 3px solid rgba(64, 84, 255, 0.25);
  outline-offset: 2px;
}

[hidden] {
  display: none !important;
}

.hm2-auth-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.85fr) minmax(420px, 0.92fr);
  gap: 30px;
  min-height: 100vh;
  min-height: 100svh;
  padding: 28px;
  overflow: hidden;
}

.hm2-product-showcase {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 760px;
  flex-direction: column;
  padding: 2px 10px 0 22px;
}

.hm2-showcase-brand,
.hm2-access-logo {
  position: relative;
  z-index: 5;
}

.hm2-showcase-brand img {
  display: block;
  width: 250px;
  height: auto;
}

.hm2-showcase-copy {
  position: relative;
  z-index: 4;
  max-width: 720px;
  margin-top: 26px;
}

.hm2-showcase-kicker {
  margin: 0 0 8px;
  color: #48567c;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hm2-showcase-copy h1 {
  max-width: 720px;
  margin: 0;
  color: var(--ink);
  font-size: 58px;
  line-height: 0.96;
  letter-spacing: 0;
}

.hm2-showcase-copy h1 span {
  color: transparent;
  background: linear-gradient(90deg, var(--blue), var(--violet) 56%, var(--purple));
  background-clip: text;
  -webkit-background-clip: text;
}

.hm2-showcase-copy > p:last-child {
  max-width: 640px;
  margin: 18px 0 0;
  color: #687493;
  font-size: 20px;
  line-height: 1.45;
}

.hm2-product-stage {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  min-height: 455px;
  margin: 18px 0 0;
}

.hm2-product-stage::before {
  position: absolute;
  inset: 15% 4% 9% 8%;
  z-index: -1;
  border: 1px solid rgba(103, 78, 255, 0.11);
  border-radius: 50%;
  content: "";
  transform: rotate(-9deg);
}

.hm2-desktop-device {
  position: absolute;
  right: auto;
  bottom: 8px;
  left: 0;
  width: auto;
  height: min(calc(100% - 62px), 510px);
  aspect-ratio: 1.907;
  overflow: hidden;
  border: 9px solid #182848;
  border-radius: 22px;
  background: #eef1fa;
  box-shadow: 0 22px 42px rgba(22, 35, 68, 0.24);
  transform: rotate(-2deg);
  transform-origin: 50% 100%;
}

.hm2-desktop-camera {
  position: absolute;
  top: 3px;
  left: 50%;
  z-index: 2;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #5e6b83;
  transform: translateX(-50%);
}

.hm2-desktop-device img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.hm2-phones {
  position: absolute;
  right: 1%;
  bottom: 0;
  z-index: 3;
  width: 40%;
  height: min(calc(100% - 42px), 475px);
}

.hm2-phone {
  position: absolute;
  bottom: 0;
  aspect-ratio: 0.47;
  overflow: hidden;
  border: 7px solid #101728;
  border-radius: 32px;
  background: #fff;
  box-shadow: 0 20px 32px rgba(21, 27, 54, 0.27);
}

.hm2-phone img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hm2-phone-sales {
  right: 32%;
  width: auto;
  height: 100%;
  z-index: 2;
}

.hm2-phone-ai {
  right: 0;
  width: auto;
  height: 92%;
  z-index: 3;
}

.hm2-metric-card,
.hm2-growth-pill {
  position: absolute;
  z-index: 6;
  display: flex;
  align-items: center;
  border: 1px solid rgba(218, 225, 242, 0.9);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 14px 36px rgba(50, 61, 112, 0.14);
  backdrop-filter: blur(10px);
}

.hm2-metric-card small,
.hm2-metric-card strong,
.hm2-metric-card em,
.hm2-metric-card b,
.hm2-growth-pill strong,
.hm2-growth-pill span {
  display: block;
  font-style: normal;
}

.hm2-metric-revenue {
  top: 0;
  right: 17%;
  gap: 14px;
  min-width: 250px;
  padding: 15px 18px;
}

.hm2-metric-icon {
  display: grid;
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 14px;
}

.hm2-metric-icon-green {
  color: #09a85b;
  background: #dff9ea;
}

.hm2-metric-icon svg {
  width: 28px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.hm2-metric-revenue small,
.hm2-metric-roas small {
  color: #586686;
  font-size: 13px;
  font-weight: 700;
}

.hm2-metric-revenue strong {
  margin-top: 1px;
  color: var(--ink);
  font-size: 27px;
  line-height: 1;
}

.hm2-metric-revenue em {
  margin-top: 5px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
}

.hm2-metric-revenue em b {
  color: #71809d;
  font-weight: 500;
}

.hm2-metric-roas {
  top: 22px;
  right: 1%;
  gap: 12px;
  padding: 14px 17px;
}

.hm2-metric-roas strong {
  margin-top: 2px;
  color: var(--violet);
  font-size: 24px;
  line-height: 1;
}

.hm2-mini-bars {
  display: flex;
  height: 38px;
  align-items: flex-end;
  gap: 4px;
}

.hm2-mini-bars i {
  display: block;
  width: 7px;
  border-radius: 5px 5px 2px 2px;
  background: linear-gradient(180deg, #8d4eff, #4b36ff);
}

.hm2-mini-bars i:nth-child(1) { height: 17px; }
.hm2-mini-bars i:nth-child(2) { height: 30px; }
.hm2-mini-bars i:nth-child(3) { height: 38px; }

.hm2-growth-pill {
  right: 19%;
  bottom: -2px;
  flex-direction: column;
  align-items: flex-start;
  padding: 11px 15px;
}

.hm2-growth-pill strong {
  color: var(--ink);
  font-size: 20px;
}

.hm2-growth-pill span {
  color: #71809d;
  font-size: 10px;
}

.hm2-feature-strip {
  position: relative;
  z-index: 8;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 12px;
  padding: 0 4px 4px;
}

.hm2-feature-strip article {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 11px;
}

.hm2-feature-icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid #e7e3ff;
  border-radius: 10px;
  color: #603cff;
  background: #f1edff;
}

.hm2-feature-icon svg {
  width: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.hm2-feature-strip strong {
  min-width: 0;
  color: #172248;
  font-size: 13px;
  line-height: 1.25;
}

.hm2-access-column {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  padding: 12px 0;
}

.hm2-access-card {
  position: relative;
  width: 100%;
  max-width: 540px;
  max-height: calc(100vh - 56px);
  max-height: calc(100svh - 56px);
  overflow: auto;
  padding: 38px 44px 30px;
  border: 1px solid rgba(232, 235, 245, 0.95);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--shadow);
  scrollbar-width: thin;
  scrollbar-color: #cfd5e7 transparent;
}

.hm2-access-logo {
  display: block;
  width: 218px;
  height: auto;
}

.hm2-access-heading {
  margin-top: 34px;
}

.hm2-access-heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: 34px;
  line-height: 1.12;
  letter-spacing: 0;
}

.hm2-access-heading p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.45;
}

.hm2-auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin-top: 26px;
  padding: 3px;
  border: 1px solid #d8ddec;
  border-radius: 11px;
  background: #f8f9fd;
}

.hm2-auth-tab {
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  color: #1b2548;
  background: transparent;
  font-weight: 800;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.hm2-auth-tab.hm2-is-active {
  color: #fff;
  background: linear-gradient(120deg, #533cff, #6540ed);
  box-shadow: 0 7px 16px rgba(90, 60, 240, 0.22);
}

.hm2-form-panel {
  margin-top: 25px;
}

.hm2-auth-form {
  display: grid;
  gap: 16px;
}

.hm2-auth-form label {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.hm2-auth-form label > span {
  color: #263153;
  font-size: 13px;
  font-weight: 800;
}

.hm2-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.hm2-field-shell {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 52px;
  align-items: center;
  border: 1px solid #d7ddeb;
  border-radius: 9px;
  background: #fff;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.hm2-field-shell:focus-within {
  border-color: #6b55f2;
  box-shadow: 0 0 0 4px rgba(96, 65, 241, 0.1);
}

/* Teclado ganha um anel mais forte que o mouse.
   `:focus-within` dispara nos dois; `:has(:focus-visible)` so quando o navegador decide
   que o foco veio do teclado. Quem clica ve o realce discreto da borda; quem tabula ve o
   anel — que e o que a regra de acessibilidade removida acima garantia. */
.hm2-field-shell:has(:focus-visible) {
  box-shadow: 0 0 0 3px rgba(96, 65, 241, 0.35);
}

.hm2-field-shell > svg {
  width: 20px;
  margin-left: 15px;
  flex: 0 0 auto;
  fill: none;
  stroke: #687596;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.hm2-field-shell input {
  width: 100%;
  min-width: 0;
  height: 50px;
  padding: 0 15px;
  border: 0;
  border-radius: 9px;
  outline: 0;
  color: #131d40;
  background: transparent;
  font-size: 15px;
}

.hm2-field-shell > svg + input {
  padding-left: 12px;
}

.hm2-field-shell input::placeholder {
  color: #98a2bc;
}

.hm2-password-toggle {
  position: relative;
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}

.hm2-password-toggle span {
  position: relative;
  display: block;
  width: 19px;
  height: 13px;
  border: 2px solid #6d7897;
  border-radius: 50% / 60%;
}

.hm2-password-toggle span::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #6d7897;
  content: "";
  transform: translate(-50%, -50%);
}

.hm2-password-toggle.hm2-is-visible span::before,
.hm2-password-toggle[aria-label="Ocultar senha"] span::before {
  position: absolute;
  top: 50%;
  left: -3px;
  width: 22px;
  height: 2px;
  background: #6d7897;
  content: "";
  transform: rotate(-38deg);
}

.hm2-forgot-link {
  justify-self: end;
  margin-top: -7px;
  padding: 0;
  border: 0;
  color: #583cff;
  background: transparent;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.hm2-primary-action {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  border-radius: 9px;
  color: #fff;
  background: linear-gradient(120deg, #5940ff, #7448ef);
  box-shadow: 0 12px 24px rgba(89, 64, 255, 0.22);
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
}

.hm2-primary-action:hover {
  box-shadow: 0 15px 28px rgba(89, 64, 255, 0.29);
  transform: translateY(-1px);
}

.hm2-primary-action:active {
  transform: translateY(0);
}

.hm2-primary-action:disabled {
  cursor: wait;
  opacity: 0.65;
}

.hm2-primary-action b {
  font-size: 21px;
  font-weight: 500;
}

.hm2-form-message {
  margin: -2px 0 0;
  padding: 10px 12px;
  border: 1px solid #bdebd1;
  border-radius: 8px;
  color: #087b43;
  background: #ecfbf3;
  font-size: 13px;
  line-height: 1.4;
}

.hm2-form-message.hm2-is-error {
  border-color: #ffd2d5;
  color: #ba2732;
  background: #fff2f3;
}

.hm2-form-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 23px 0 15px;
  color: #8b95ae;
  font-size: 12px;
}

.hm2-form-divider::before,
.hm2-form-divider::after {
  height: 1px;
  flex: 1;
  background: #e0e4ee;
  content: "";
}

.hm2-free-account-link {
  display: grid;
  width: 100%;
  gap: 3px;
  padding: 0;
  border: 0;
  color: #5236f5;
  background: transparent;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.hm2-free-account-link strong {
  font-size: 16px;
}

.hm2-free-account-link span {
  color: #74809f;
  font-size: 12px;
}

.hm2-signup-panel {
  margin-top: 17px;
}

.hm2-signup-form {
  gap: 12px;
}

.hm2-signup-form .hm2-field-shell {
  min-height: 45px;
}

.hm2-signup-form .hm2-field-shell input {
  height: 43px;
  padding-right: 12px;
  padding-left: 12px;
  font-size: 13px;
}

.hm2-signup-form .hm2-password-toggle {
  width: 40px;
  height: 40px;
}

.hm2-terms-check {
  display: flex !important;
  grid-column: 1 / -1;
  grid-template-columns: none !important;
  align-items: flex-start;
  gap: 9px !important;
}

.hm2-terms-check input {
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
  accent-color: #5e41f5;
}

.hm2-terms-check span {
  color: #6c7693 !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  line-height: 1.45;
}

.hm2-terms-check a {
  color: #563bf1;
  font-weight: 700;
}

.hm2-trust-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid #e4e7ef;
  color: #66728f;
  font-size: 11px;
  white-space: nowrap;
}

.hm2-trust-row span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hm2-trust-row b {
  display: grid;
  width: 17px;
  height: 17px;
  place-items: center;
  border: 2px solid var(--green);
  border-radius: 50%;
  color: var(--green);
  font-size: 10px;
  line-height: 1;
}

@media (max-width: 1390px) {
  .hm2-auth-layout {
    grid-template-columns: minmax(0, 1.55fr) minmax(400px, 0.85fr);
    gap: 20px;
    padding: 22px;
  }

  .hm2-product-showcase {
    padding-left: 12px;
  }

  .hm2-showcase-brand img {
    width: 220px;
  }

  .hm2-showcase-copy {
    margin-top: 18px;
  }

  .hm2-showcase-copy h1 {
    font-size: 46px;
  }

  .hm2-showcase-copy > p:last-child {
    font-size: 17px;
  }

  .hm2-metric-revenue {
    top: 0;
    right: 15%;
    min-width: 220px;
  }

  .hm2-feature-strip {
    gap: 10px;
  }

  .hm2-feature-strip strong {
    font-size: 11px;
  }

  .hm2-access-card {
    padding: 30px 34px 25px;
  }
}

@media (min-width: 1391px) and (max-height: 900px) {
  .hm2-auth-layout {
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .hm2-product-showcase {
    min-height: 700px;
  }

  .hm2-showcase-brand img {
    width: 220px;
  }

  .hm2-showcase-copy {
    margin-top: 16px;
  }

  .hm2-showcase-copy h1 {
    font-size: 50px;
    line-height: 0.98;
  }

  .hm2-showcase-copy > p:last-child {
    margin-top: 12px;
    font-size: 17px;
  }

  .hm2-product-stage {
    min-height: 390px;
    margin-top: 16px;
  }

  .hm2-metric-revenue {
    top: 0;
  }

  .hm2-feature-strip {
    margin-top: 6px;
  }
}

@media (min-width: 1081px) and (max-height: 900px) {
  .hm2-auth-layout {
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .hm2-product-showcase {
    min-height: 680px;
  }

  .hm2-product-stage {
    min-height: 370px;
  }

  .hm2-access-card {
    max-height: calc(100vh - 36px);
    max-height: calc(100svh - 36px);
    padding: 20px 36px 14px;
  }

  .hm2-access-logo {
    width: 180px;
  }

  .hm2-access-heading {
    margin-top: 14px;
  }

  .hm2-access-heading h2 {
    font-size: 29px;
  }

  .hm2-access-heading p {
    margin-top: 5px;
    font-size: 14px;
  }

  .hm2-auth-tabs {
    margin-top: 14px;
  }

  .hm2-auth-tab {
    min-height: 41px;
  }

  .hm2-form-panel {
    margin-top: 13px;
  }

  .hm2-signup-panel {
    margin-top: 9px;
  }

  .hm2-signup-form {
    gap: 7px;
  }

  .hm2-signup-form .hm2-field-shell {
    min-height: 40px;
  }

  .hm2-signup-form .hm2-field-shell input {
    height: 38px;
  }

  .hm2-trust-row {
    margin-top: 13px;
    padding-top: 10px;
  }
}

@media (max-width: 1080px) {
  .hm2-auth-layout {
    grid-template-columns: 1fr;
    overflow: visible;
  }

  .hm2-access-column {
    order: -1;
    padding: 0;
  }

  .hm2-access-card {
    max-width: 620px;
    max-height: none;
  }

  .hm2-product-showcase {
    min-height: 760px;
    padding: 20px 4vw 10px;
  }

  .hm2-showcase-copy {
    max-width: 650px;
  }

  .hm2-product-stage {
    min-height: 460px;
  }
}

@media (max-width: 700px) {
  .hm2-auth-layout {
    gap: 22px;
    padding: 12px;
  }

  .hm2-access-card {
    padding: 25px 20px 22px;
    border-radius: 18px;
  }

  .hm2-access-logo {
    width: 185px;
  }

  .hm2-access-heading {
    margin-top: 26px;
  }

  .hm2-access-heading h2 {
    font-size: 28px;
  }

  .hm2-field-grid {
    grid-template-columns: 1fr;
  }

  .hm2-trust-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .hm2-product-showcase {
    min-height: 600px;
    padding: 14px 8px 6px;
  }

  .hm2-showcase-brand img {
    width: 190px;
  }

  .hm2-showcase-copy h1 {
    font-size: 36px;
    line-height: 1;
  }

  .hm2-showcase-copy > p:last-child {
    font-size: 15px;
  }

  .hm2-product-stage {
    min-height: 315px;
    margin-top: 12px;
  }

  .hm2-desktop-device {
    right: auto;
    width: 88%;
    height: auto;
    border-width: 5px;
    border-radius: 13px;
  }

  .hm2-phones {
    right: -1%;
    width: 42%;
    height: 62%;
    max-height: 205px;
  }

  .hm2-phone {
    border-width: 4px;
    border-radius: 18px;
  }

  .hm2-metric-revenue {
    top: 0;
    right: 0;
    min-width: 156px;
    gap: 8px;
    padding: 9px 10px;
  }

  .hm2-metric-icon {
    width: 37px;
    height: 37px;
    border-radius: 9px;
  }

  .hm2-metric-icon svg {
    width: 21px;
  }

  .hm2-metric-revenue strong {
    font-size: 18px;
  }

  .hm2-metric-revenue small,
  .hm2-metric-revenue em {
    font-size: 9px;
  }

  .hm2-metric-roas,
  .hm2-growth-pill {
    display: none;
  }

  .hm2-feature-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 15px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hm2-access-card {
    animation: card-in 520ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  .hm2-desktop-device,
  .hm2-phones,
  .hm2-metric-card {
    animation: visual-in 650ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  .hm2-phones { animation-delay: 90ms; }
  .hm2-metric-card { animation-delay: 180ms; }
}

@keyframes card-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes visual-in {
  from { opacity: 0; translate: 0 18px; }
  to { opacity: 1; translate: 0 0; }
}

.hm2-panel-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid #e1e6f3;
  border-radius: 8px;
  color: #74809d;
  background: #fff;
  cursor: pointer;
}

.hm2-panel-close:hover {
  border-color: #c9d2e8;
  color: #4937e8;
  background: #f7f8ff;
}

.hm2-secondary-card {
  min-height: 0;
}

.hm2-secondary-card .hm2-access-heading {
  margin-top: 24px;
}

.hm2-panel-icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-top: 30px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #2878ff, #673cff);
  box-shadow: 0 12px 24px rgba(91, 62, 244, 0.2);
}

.hm2-panel-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.hm2-secondary-card .hm2-auth-form {
  margin-top: 22px;
}

.hm2-secondary-card .hm2-primary-action {
  margin-top: 4px;
}

.hm2-secondary-actions {
  display: grid;
  gap: 9px;
  margin: 18px 0 0;
  text-align: center;
}

.hm2-secondary-actions button {
  border: 0;
  color: #5839f3;
  font-weight: 800;
  background: transparent;
  cursor: pointer;
}

.hm2-code-input {
  text-align: center;
  font-size: 22px !important;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.hm2-form-message.hm2-is-success {
  border-color: #a9e8c8;
  color: #087947;
  background: #effcf5;
}

@media (min-width: 1081px) and (max-height: 900px) {
  .hm2-secondary-card .hm2-access-heading {
    margin-top: 18px;
  }

  .hm2-panel-icon {
    margin-top: 22px;
  }

  .hm2-secondary-card .hm2-auth-form {
    margin-top: 15px;
  }
}
