@font-face {
  font-family: "Trip Sans";
  src: url("/assets/fonts/trip-sans-regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Trip Sans";
  src: url("/assets/fonts/trip-sans-medium.woff2") format("woff2");
  font-weight: 500 600;
  font-display: swap;
}
@font-face {
  font-family: "Trip Sans";
  src: url("/assets/fonts/trip-sans-bold.woff2") format("woff2");
  font-weight: 700 900;
  font-display: swap;
}
body:has(.ct-auth),
body.ct-auth-document {
  margin: 0;
  background: #000;
}
.ct-auth {
  box-sizing: border-box;
  min-height: 100dvh;
  padding: 0 16px 16px;
  display: flex;
  flex-direction: column;
  background: #000;
  color: #171717;
  font-family: "Trip Sans", sans-serif;
}
.ct-auth-header {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 12px;
  color: #fff;
}
.ct-auth-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.ct-auth-brand img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}
.ct-auth-header .button {
  color: #fff;
  background: #222;
  border-color: #222;
}
.ct-auth-header .button:hover {
  background: #353535;
  border-color: #353535;
}
.ct-auth-workspace {
  flex: 1;
  min-width: 0;
  background: #fff;
  border-radius: 24px;
  padding: clamp(32px, 6vw, 76px);
}
.ct-auth-content {
  display: grid;
  overflow-wrap: anywhere;
  grid-template-columns: minmax(0, 1fr) minmax(0, 400px);
  gap: clamp(36px, 6vw, 88px);
  max-width: 920px;
  margin: clamp(12px, 6vh, 64px) auto 0;
  align-items: start;
}
.ct-auth-label {
  margin: 0 0 14px;
  color: #686864;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.ct-auth-intro h1 {
  margin: 0;
  font-size: clamp(27px, 3vw, 34px);
  line-height: 1.12;
  letter-spacing: -0.035em;
}
.ct-auth-description {
  max-width: 35ch;
  margin-top: 14px;
  color: #595959;
  font-size: 15px;
  line-height: 1.5;
}
.ct-auth-description p {
  margin: 0;
}
.ct-auth-actions {
  min-width: 0;
}
.ct-auth-actions form {
  display: grid;
  gap: 16px;
}
.ct-auth-actions label {
  display: grid;
  gap: 6px;
  color: #595959;
  font-size: 13px;
  font-weight: 500;
}
.ct-auth-actions input:not([type="hidden"]) {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 9px 11px;
  border: 1px solid #b6b6b3;
  border-radius: 8px;
  background: #fff;
  color: #171717;
  font: inherit;
  font-size: 16px;
}
.ct-auth-actions :is(button, .ct-auth-button) {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 9px 14px;
  border: 1px solid #000;
  border-radius: 8px;
  background: #000;
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.ct-auth-actions :is(button, .ct-auth-button):hover {
  background: #333;
  border-color: #333;
}
.ct-auth-actions :is(.button.quiet, .ct-auth-button-secondary, .secondary) {
  background: #f1f1ee;
  border-color: #f1f1ee;
  color: #171717;
}
.ct-auth-actions
  :is(.button.quiet, .ct-auth-button-secondary, .secondary):hover {
  background: #e8e8e5;
  border-color: #e8e8e5;
}
.ct-auth-actions button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.ct-auth-actions .ct-auth-feedback {
  margin: 0;
  overflow-wrap: anywhere;
  line-height: 1.5;
}
.ct-auth-actions :is(.ct-auth-error, .error) {
  color: #171717;
  background: #f3f3f0;
  border: 0;
  border-radius: 8px;
  padding: 10px 12px;
}
.ct-auth-actions > :first-child {
  margin-top: 0;
}
.ct-auth-actions .button {
  min-height: 44px;
}
.ct-auth-actions .button.primary {
  background: #000;
  border-color: #000;
  color: #fff;
}
.ct-auth-actions .button.primary:hover {
  background: #333;
  border-color: #333;
}
.ct-auth-actions .input {
  min-height: 44px;
  background: #fff;
}
.ct-auth-actions :is(button, a, input):focus-visible,
.ct-auth-header :is(button, a):focus-visible {
  outline: 2px solid #747474;
  outline-offset: 3px;
}
.ct-auth-actions .portal-login-form {
  margin-top: 0;
}
.ct-auth-actions .portal-notice {
  margin: 0 0 16px;
}
.ct-auth-actions .error {
  overflow-wrap: anywhere;
}
.ct-auth-admin-actions {
  display: grid;
  gap: 10px;
}
.ct-auth-admin-actions p {
  margin: 0;
}
@media (max-width: 720px) {
  .ct-auth {
    padding: 0 12px 12px;
  }
  .ct-auth-header {
    min-height: 64px;
    padding-inline: 8px;
  }
  .ct-auth-workspace {
    border-radius: 20px;
    padding: 30px 24px;
  }
  .ct-auth-content {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
    margin: 6px auto 0;
    max-width: 460px;
  }
}
@media (max-width: 360px) {
  .ct-auth-workspace {
    padding-inline: 20px;
  }
}
