/* Presentation only. Keep auth fields, state, handlers and shared gates intact. */
#ttGate .tt-card--auth {
  width: min(1200px, 100%);
  max-height: none;
  margin: auto;
  padding: 0;
  border: 1px solid #e0e4ee;
  border-radius: 28px;
  background: #f8f9fc;
  box-shadow: 0 20px 64px rgba(39,54,92,.05);
  overflow: visible;
}
#ttGate .tt-card--auth .tt-auth-shell {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  align-items: stretch;
  gap: 0;
  min-height: min(740px, calc(100svh - 40px));
  padding: 0;
  text-align: left;
}
#ttGate .tt-card--auth .tt-auth-story {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 40px clamp(28px,4vw,60px);
  border-radius: 27px 0 0 27px;
  background: #edf1ff;
}
#ttGate .tt-card--auth .tt-auth-brandbar { justify-content: flex-start; }
#ttGate .tt-card--auth .tt-auth-logo { width: 194px; height: auto; filter: none; }
#ttGate .tt-card--auth .tt-auth-copywrap {
  flex: 1;
  align-items: flex-start;
  justify-content: center;
  gap: 22px;
  padding: 70px 0;
}
#ttGate .tt-card--auth .tt-auth-headline {
  margin: 0;
  font-size: clamp(40px,4.3vw,62px);
  line-height: 1.06;
  letter-spacing: -.045em;
  font-weight: 700;
  color: #111827;
}
#ttGate .tt-card--auth .tt-auth-headline-line { white-space: normal; }
#ttGate .tt-card--auth .tt-auth-headline-line:last-child { color: #1d3a8a; }
#ttGate .tt-card--auth .tt-auth-copy {
  max-width: 320px;
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
  font-weight: 400;
  color: #4b5b73;
}
#ttGate .tt-card--auth .tt-auth-story-foot { margin: 0; color: #1d3a8a; font-size: 16px; font-weight: 600; }
#ttGate .tt-card--auth .tt-auth-access {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-width: 0;
  padding: 40px clamp(24px,3.2vw,48px) 26px;
}
#ttGate .tt-card--auth .tt-auth-panel {
  box-sizing: border-box;
  width: 100%;
  max-width: 440px;
  gap: 16px;
  padding: 32px;
  border-radius: 22px;
  border: 1px solid #e0e4ee;
  background: #fff;
  box-shadow: 0 12px 36px rgba(39,54,92,.025);
}
#ttGate .tt-card--auth .tt-auth-title { margin: 0 0 6px; font-size: 32px; line-height: 1.15; letter-spacing: -.035em; font-weight: 700; color: #111827; }
#ttGate .tt-card--auth .tt-auth-form .tt-field { margin: 8px 0 12px; }
#ttGate .tt-card--auth .tt-auth-form .tt-label { margin: 0 0 8px; font-size: 14px; line-height: 1.4; font-weight: 600; color: #26344b; }
#ttGate .tt-card--auth .tt-auth-form .tt-input {
  min-height: 54px;
  border: 1px solid #dce2ef;
  border-radius: 12px;
  padding: 14px;
  background: #fff;
  color: #111827;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 400;
}
#ttGate .tt-card--auth .tt-auth-form .tt-input::placeholder { color: #728096; font-weight: 400; }
#ttGate .tt-card--auth .tt-auth-form .tt-input:focus { border-color: #1d3a8a; box-shadow: 0 0 0 3px rgba(29,58,138,.16); }
#ttGate .tt-card--auth .tt-auth-form .tt-password-field .tt-input { padding-right: 78px; }
/* Keep the existing labels and inputs; enhance their presentation only. */
@supports selector(.tt-field:has(input)) {
  #ttGate .tt-card--auth .tt-auth-form .tt-field {
    position: relative;
    margin: 16px 0 20px;
  }
  #ttGate .tt-card--auth .tt-auth-form .tt-field > .tt-label {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 10px;
    max-width: calc(100% - 28px);
    margin: 0;
    padding: 0 4px;
    background: #fff;
    color: #64748b;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    transform: translateY(-50%);
    transform-origin: left center;
    transition: top .18s ease, transform .18s ease, color .18s ease;
    cursor: text;
  }
  #ttGate .tt-card--auth .tt-auth-form .tt-field:has(.tt-password-field) > .tt-label {
    max-width: calc(100% - 92px);
  }
  #ttGate .tt-card--auth .tt-auth-form .tt-input::placeholder { opacity: 0; transition: opacity .1s ease; }
  #ttGate .tt-card--auth .tt-auth-form .tt-input:focus::placeholder { opacity: 1; transition-delay: .18s; }
  #ttGate .tt-card--auth .tt-auth-form .tt-field:has(.tt-input:is(:focus, :not(:placeholder-shown), :autofill, :-webkit-autofill)) > .tt-label {
    top: 0;
    transform: translateY(-50%) scale(.875);
  }
  #ttGate .tt-card--auth .tt-auth-form .tt-field:has(.tt-input:focus) > .tt-label { color: #1d3a8a; }
  @media (prefers-reduced-motion: reduce) {
    #ttGate .tt-card--auth .tt-auth-form .tt-field > .tt-label,
    #ttGate .tt-card--auth .tt-auth-form .tt-input::placeholder { transition: none; }
  }
}
#ttGate .tt-card--auth .tt-password-toggle { right: 5px; min-height: 44px; min-width: 60px; padding: 0 10px; border: 0; border-radius: 8px; box-shadow: none; background: transparent; color: #1d3a8a; font-size: 14px; font-weight: 600; }
#ttGate .tt-card--auth .tt-password-toggle:hover { background: #eff4fb; }
#ttGate .tt-card--auth .tt-auth-actions { gap: 14px; margin-top: 10px; }
#ttGate .tt-card--auth .tt-auth-primary { min-height: 54px; padding: 14px 18px; border-radius: 12px; background: #1d3a8a; color: #fff; font-size: 16px; line-height: 1.35; font-weight: 600; box-shadow: 0 5px 12px rgba(29,58,138,.08); }
#ttGate .tt-card--auth .tt-auth-primary:hover:not(:disabled) { background: #172f73; transform: none; box-shadow: 0 7px 20px rgba(29,58,138,.1); }
#ttGate .tt-card--auth .tt-auth-primary:disabled { background: #e2e8f0; color: #52616f; box-shadow: none; }
#ttGate .tt-card--auth .tt-auth-switch { margin: 0; padding: 10px 0; min-height: 44px; color: #4b5b73; font-size: 14px; line-height: 1.5; font-weight: 400; }
#ttGate .tt-card--auth .tt-auth-switch span { color: #1d3a8a; font-weight: 600; }
#ttGate .tt-card--auth .tt-auth-forgot { margin: -8px 0 0; }
#ttGate .tt-card--auth .tt-auth-link { min-height: 44px; padding: 8px 0; color: #4b5b73; font-size: 14px; font-weight: 600; }
#ttGate .tt-card--auth .tt-auth-foot { gap: 24px; margin-top: 24px; }
#ttGate .tt-card--auth .tt-auth-foot a { padding: 10px 0; color: #4b5b73; font-size: 14px; font-weight: 400; }
#ttGate .tt-card--auth .tt-auth-consents { gap: 14px; margin: 8px 0 6px; }
#ttGate .tt-card--auth .tt-consent-row { grid-template-columns: 20px minmax(0,1fr); gap: 10px; font-size: 14px; line-height: 1.5; font-weight: 400; color: #4b5b73; }
#ttGate .tt-card--auth .tt-consent-row input { width: 20px; height: 20px; margin-top: 1px; }
#ttGate .tt-card--auth .tt-consent-row a { font-weight: 600; }
#ttGate .tt-card--auth .tt-consent-row em { font-size: 12px; font-weight: 600; letter-spacing: 0; text-transform: none; }
#ttGate .tt-card--auth .tt-auth-helper { font-size: 14px; line-height: 1.5; font-weight: 400; text-align: left; color: #4b5b73; }
#ttGate .tt-card--auth .tt-auth-state { font-size: 14px; line-height: 1.5; font-weight: 400; overflow-wrap: anywhere; border-radius: 10px; }
#ttGate .tt-card--auth :is(button,a):focus-visible { outline: 3px solid #3b67b7; outline-offset: 3px; }
@media (max-width: 900px) {
  #ttGate .tt-card--auth { max-width: 560px; }
  #ttGate .tt-card--auth .tt-auth-shell { grid-template-columns: minmax(0,1fr); min-height: 0; }
  #ttGate .tt-card--auth .tt-auth-story { padding: 26px 32px; border-radius: 27px 27px 0 0; }
  #ttGate .tt-card--auth .tt-auth-logo { width: 164px; }
  #ttGate .tt-card--auth .tt-auth-copywrap { padding: 24px 0 0; gap: 12px; }
  #ttGate .tt-card--auth .tt-auth-headline { font-size: 36px; }
  #ttGate .tt-card--auth .tt-auth-copy, #ttGate .tt-card--auth .tt-auth-story-foot { display: none; }
  #ttGate .tt-card--auth .tt-auth-access { padding: 24px 28px 14px; }
  #ttGate .tt-card--auth .tt-auth-panel { max-width: none; padding: 28px; }
  #ttGate .tt-card--auth .tt-auth-foot { margin-top: 12px; }
}
@media (max-width: 540px) {
  #ttGate .tt-card--auth { border-radius: 22px; }
  #ttGate .tt-card--auth .tt-auth-story { padding: 22px 24px; border-radius: 21px 21px 0 0; }
  #ttGate .tt-card--auth .tt-auth-copywrap { padding-top: 18px; }
  #ttGate .tt-card--auth .tt-auth-headline { font-size: clamp(27px,7vw,34px); }
  #ttGate .tt-card--auth .tt-auth-access { padding: 22px 16px max(12px,env(safe-area-inset-bottom)); }
  #ttGate .tt-card--auth .tt-auth-panel { padding: 24px 20px; border-radius: 18px; }
  #ttGate .tt-card--auth .tt-auth-title { font-size: 28px; }
}
