/* Sign-in shell: dark brand panel and a centered card. Mobile collapses the panel to a header. */

.t-auth {
  display: grid;
  grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
  min-height: 100vh;
  background: var(--color-bg);
}

.t-auth__panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-6);
  padding: var(--space-7);
  background: var(--color-sidebar);
  color: var(--color-sidebar-text);
}

.t-auth__panel .t-brand__eyebrow {
  color: var(--color-sidebar-muted);
  opacity: 1;
}

.t-auth__panel .t-brand__name {
  color: var(--color-sidebar-text);
  font-size: var(--font-size-h2);
}

.t-auth__tagline {
  margin: 0;
  max-width: 16rem;
  font-size: var(--font-size-h2);
  font-weight: 600;
  line-height: 1.35;
  color: var(--color-sidebar-text);
}

.t-auth__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 100vh;
}

.t-auth__bar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: var(--topbar-height);
  padding: var(--space-4) var(--space-6);
}

.t-auth__main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-6);
}

.t-auth__main > .t-card {
  width: min(100%, var(--content-max-public));
}

.t-auth-address {
  margin: 0;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.t-auth .t-footer {
  margin-top: auto;
}

@media (max-width: 900px) {
  .t-auth {
    grid-template-columns: minmax(0, 1fr);
  }

  .t-auth__panel {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    min-height: var(--topbar-height);
    padding: var(--space-4);
  }

  .t-auth__tagline {
    display: none;
  }

  .t-auth__body {
    min-height: 0;
  }

  .t-auth__bar {
    min-height: 0;
    padding: var(--space-4) var(--space-4) 0;
  }

  .t-auth__main {
    align-items: stretch;
    padding: var(--space-5) var(--space-4) var(--space-6);
  }
}

.t-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
