/* internal/httpapi/static/src/styles/auth.css */
:root {
  color: #101936;
  background: #f7f9fd;
  font-family:
    "Inter",
    "Segoe UI Variable Text",
    "Segoe UI",
    system-ui,
    -apple-system,
    "PingFang SC",
    "HarmonyOS Sans SC",
    "Microsoft YaHei UI",
    "Microsoft YaHei",
    sans-serif;
  font-synthesis: none;
  letter-spacing: 0;
}
* {
  box-sizing: border-box;
}
body[data-auth-bootstrap] {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: #101936;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background:
    radial-gradient(
      900px 420px at 82% -160px,
      rgba(18, 103, 255, .1),
      transparent 70%),
    radial-gradient(
      720px 420px at -120px 105%,
      rgba(116, 87, 255, .07),
      transparent 70%),
    linear-gradient(
      180deg,
      #f9fbff 0,
      #f5f8fd 60%,
      #f7f9fd 100%);
}
body[data-auth-bootstrap] #app {
  display: none;
}
button,
input {
  font: inherit;
  letter-spacing: 0;
}
::selection {
  background: rgba(18, 103, 255, .16);
}
.fe-auth-page {
  width: min(100% - 40px, 1080px);
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  grid-template: auto 1fr auto / minmax(0, 1fr);
  align-items: center;
  padding: 32px 0 24px;
}
.fe-auth-topbar {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}
.fe-auth-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  justify-self: start;
}
.fe-auth-brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #ffffff;
  background:
    linear-gradient(
      135deg,
      #2f80ff 0,
      #1267ff 55%,
      #0756df 100%);
  box-shadow: 0 1px 2px rgba(7, 86, 223, .3), 0 8px 20px rgba(18, 103, 255, .28);
  font-size: 18px;
  font-weight: 750;
}
.fe-auth-brand > span:last-child {
  display: grid;
  gap: 2px;
}
.fe-auth-brand strong {
  color: #101936;
  font-size: 17px;
  line-height: 1.2;
}
.fe-auth-brand small {
  color: #657493;
  font-size: 12px;
  line-height: 1.35;
}
.fe-auth-nav {
  display: flex;
  gap: 6px;
  align-items: center;
}
.fe-auth-nav button,
.fe-auth-text-button {
  min-height: 36px;
  padding: 0 12px;
  border: 0;
  border-radius: 9px;
  color: #43526f;
  background: transparent;
  cursor: pointer;
  transition: background .14s ease, color .14s ease;
}
.fe-auth-nav button:hover,
.fe-auth-text-button:hover {
  color: #0756df;
  background: #edf4ff;
}
.fe-auth-panel {
  width: min(100%, 430px);
  justify-self: center;
  padding: 36px 34px 32px;
  border: 1px solid #e4eaf6;
  border-radius: 18px;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 2px rgba(16, 25, 54, .04), 0 24px 64px rgba(38, 71, 132, .12);
}
.fe-auth-heading {
  margin-bottom: 26px;
}
.fe-auth-kicker {
  margin: 0 0 8px;
  color: #1267ff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
}
.fe-auth-heading h1 {
  margin: 0;
  color: #101936;
  font-size: 27px;
  font-weight: 750;
  line-height: 1.2;
}
.fe-auth-heading > p:last-child {
  margin: 8px 0 0;
  color: #657493;
  font-size: 14px;
  line-height: 1.55;
}
.fe-auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-height: 42px;
  margin-bottom: 22px;
  padding: 4px;
  border: 1px solid #e4eaf6;
  border-radius: 11px;
  background: #f1f5fb;
}
.fe-auth-tabs button {
  min-width: 0;
  border: 0;
  border-radius: 8px;
  color: #657493;
  background: transparent;
  cursor: pointer;
  transition:
    background .14s ease,
    color .14s ease,
    box-shadow .14s ease;
}
.fe-auth-tabs button[aria-selected=true] {
  color: #0756df;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(16, 25, 54, .08), 0 3px 10px rgba(38, 71, 132, .1);
  font-weight: 650;
}
#auth-form {
  display: grid;
  gap: 11px;
}
#auth-form label {
  color: #33415f;
  font-size: 13px;
  font-weight: 650;
}
#auth-form input {
  width: 100%;
  min-height: 46px;
  padding: 10px 13px;
  border: 1px solid #d9e2f1;
  border-radius: 10px;
  outline: none;
  color: #101936;
  background: #ffffff;
  transition: border-color .14s ease, box-shadow .14s ease;
}
#auth-form input:hover {
  border-color: #b9c8e4;
}
#auth-form input:focus {
  border-color: #1267ff;
  box-shadow: 0 0 0 3px rgba(18, 103, 255, .16);
}
.fe-auth-register-field {
  display: grid;
  gap: 11px;
}
.fe-auth-register-field[hidden] {
  display: none;
}
.fe-auth-session-row {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  min-height: 36px;
}
.fe-auth-checkbox {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: #43526f;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}
#auth-form .fe-auth-checkbox input {
  width: 16px;
  min-height: 16px;
  margin: 0;
  padding: 0;
  accent-color: #1267ff;
}
.fe-auth-text-button {
  min-height: 32px;
  padding-inline: 8px;
  color: #1267ff;
  font-size: 13px;
}
.fe-auth-inline-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}
.fe-auth-secondary,
.fe-auth-retry {
  border: 1px solid #d9e2f1;
  border-radius: 10px;
  color: #33415f;
  background: #ffffff;
  cursor: pointer;
  transition:
    border-color .14s ease,
    background .14s ease,
    color .14s ease;
}
.fe-auth-secondary {
  min-height: 46px;
  padding: 0 14px;
}
.fe-auth-secondary:hover:not(:disabled) {
  border-color: #b9ccf0;
  background: #f4f7fd;
}
.fe-auth-secondary:disabled {
  color: #98a4ba;
  background: #f4f6fb;
  cursor: not-allowed;
}
.fe-auth-security {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
  min-height: 42px;
  margin-top: 4px;
  padding: 9px 11px;
  border: 1px solid #e4eaf6;
  border-radius: 10px;
  color: #56637f;
  background: #f7f9fd;
  font-size: 12px;
  line-height: 1.4;
}
.fe-auth-security-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d59838;
  box-shadow: 0 0 0 3px rgba(213, 152, 56, .15);
}
.fe-auth-security.is-ready .fe-auth-security-indicator {
  background: #0f8a5f;
  box-shadow: 0 0 0 3px rgba(15, 138, 95, .16);
}
.fe-auth-security.is-error .fe-auth-security-indicator {
  background: #b42318;
  box-shadow: 0 0 0 3px rgba(180, 35, 24, .14);
}
.fe-auth-retry {
  min-height: 28px;
  padding: 0 8px;
  color: #b42318;
}
.fe-auth-notice,
.fe-auth-message {
  margin: 0;
  padding: 9px 11px;
  border-radius: 10px;
  color: #56637f;
  background: #f1f5fb;
  font-size: 12px;
  line-height: 1.5;
}
.fe-auth-notice[data-tone=success],
.fe-auth-message[data-tone=success] {
  color: #0f8a5f;
  background: #e9f8f0;
}
.fe-auth-notice[data-tone=warning] {
  color: #b45309;
  background: #fff4df;
}
.fe-auth-message[data-tone=error] {
  color: #b42318;
  background: #fff0ed;
}
.fe-auth-turnstile[hidden],
.fe-auth-notice[hidden],
.fe-auth-message[hidden],
.fe-auth-retry[hidden],
.fe-auth-tabs[hidden],
.fe-auth-session-row[hidden],
.fe-auth-security[hidden],
.fe-auth-text-button[hidden] {
  display: none;
}
.fe-auth-submit {
  min-height: 48px;
  margin-top: 6px;
  border: 0;
  border-radius: 10px;
  color: #ffffff;
  background:
    linear-gradient(
      180deg,
      #2f80ff 0,
      #1267ff 100%);
  box-shadow: 0 1px 2px rgba(7, 86, 223, .28), 0 8px 20px rgba(18, 103, 255, .26);
  font-weight: 700;
  cursor: pointer;
  transition:
    background .15s ease,
    box-shadow .15s ease,
    transform .15s ease;
}
.fe-auth-submit:hover:not(:disabled) {
  background:
    linear-gradient(
      180deg,
      #1e74ff 0,
      #0756df 100%);
  box-shadow: 0 1px 2px rgba(7, 86, 223, .32), 0 10px 24px rgba(18, 103, 255, .32);
}
.fe-auth-submit:active:not(:disabled) {
  transform: translateY(1px);
}
.fe-auth-submit:focus-visible,
.fe-auth-tabs button:focus-visible,
.fe-auth-secondary:focus-visible,
.fe-auth-retry:focus-visible,
.fe-auth-nav button:focus-visible,
.fe-auth-text-button:focus-visible,
.fe-auth-dialog-close:focus-visible,
.fe-auth-support-link:focus-visible {
  outline: 3px solid rgba(18, 103, 255, .28);
  outline-offset: 2px;
}
.fe-auth-submit:disabled {
  color: #8b97ad;
  background: #e3e9f4;
  box-shadow: none;
  cursor: not-allowed;
}
.fe-auth-footer {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-self: center;
  color: #8b97ad;
  font-size: 12px;
}
.fe-auth-footer a {
  color: #43526f;
}
.fe-auth-dialog-backdrop {
  position: fixed;
  z-index: 20;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(13, 22, 44, .42);
  backdrop-filter: blur(8px);
}
.fe-auth-dialog-backdrop[hidden] {
  display: none;
}
.fe-auth-dialog {
  width: min(100%, 440px);
  max-height: min(720px, calc(100vh - 40px));
  overflow: auto;
  padding: 26px;
  border: 1px solid #e4eaf6;
  border-radius: 16px;
  color: #101936;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(16, 25, 54, .06), 0 32px 80px rgba(13, 22, 44, .28);
}
.fe-auth-dialog > header {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 18px;
}
.fe-auth-dialog h2 {
  margin: 0;
  font-size: 21px;
  font-weight: 750;
  line-height: 1.3;
}
.fe-auth-dialog p {
  color: #56637f;
  font-size: 14px;
  line-height: 1.6;
}
.fe-auth-dialog .fe-auth-kicker {
  margin: 0 0 5px;
  color: #1267ff;
  font-size: 12px;
  line-height: 1.4;
}
.fe-auth-dialog-close {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border: 0;
  border-radius: 9px;
  color: #56637f;
  background: #f1f5fb;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background .14s ease, color .14s ease;
}
.fe-auth-dialog-close:hover {
  color: #101936;
  background: #e6edf9;
}
#auth-forgot-form {
  display: grid;
  gap: 11px;
}
#auth-forgot-form > p:first-child {
  margin: 0 0 4px;
}
#auth-forgot-form label {
  color: #33415f;
  font-size: 13px;
  font-weight: 650;
}
#auth-forgot-form input {
  width: 100%;
  min-height: 46px;
  padding: 10px 13px;
  border: 1px solid #d9e2f1;
  border-radius: 10px;
  outline: none;
  color: #101936;
  background: #ffffff;
  transition: border-color .14s ease, box-shadow .14s ease;
}
#auth-forgot-form input:focus {
  border-color: #1267ff;
  box-shadow: 0 0 0 3px rgba(18, 103, 255, .16);
}
.fe-auth-support-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 10px;
  color: #ffffff;
  background:
    linear-gradient(
      180deg,
      #2f80ff 0,
      #1267ff 100%);
  box-shadow: 0 1px 2px rgba(7, 86, 223, .28), 0 8px 20px rgba(18, 103, 255, .26);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  transition: background .15s ease, box-shadow .15s ease;
}
.fe-auth-support-link:hover {
  background:
    linear-gradient(
      180deg,
      #1e74ff 0,
      #0756df 100%);
}
.fe-auth-legal-copy {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}
.fe-auth-legal-copy p {
  margin: 0;
}
.codex-recharge {
  width: min(100%, 520px);
  margin: 8vh auto 0;
  padding: 28px;
  border: 1px solid #d8dfdb;
  border-radius: 8px;
  color: #17211d;
  background: #ffffff;
  box-shadow: 0 20px 60px rgb(14 24 19 / 16%);
}
.codex-recharge-header {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  justify-content: space-between;
}
.codex-recharge-heading {
  min-width: 0;
}
.codex-recharge-kicker {
  margin: 0 0 5px;
  color: #197149;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}
.codex-recharge h1 {
  margin: 0;
  font-size: 24px;
  line-height: 1.25;
}
.codex-recharge-description {
  margin: 10px 0 0;
  color: #59665f;
  font-size: 14px;
  line-height: 1.6;
}
.codex-recharge-exit {
  min-height: 36px;
  flex: 0 0 auto;
  padding: 0 11px;
  border: 1px solid #cbd4cf;
  border-radius: 6px;
  color: #33403a;
  background: #ffffff;
  cursor: pointer;
}
.codex-recharge-identity {
  display: flex;
  gap: 16px;
  align-items: baseline;
  justify-content: space-between;
  margin: 24px 0 18px;
  padding: 13px 14px;
  border: 1px solid #dfe6e2;
  border-radius: 6px;
  background: #f5f8f6;
}
.codex-recharge-identity span {
  color: #657169;
  font-size: 13px;
}
.codex-recharge-identity strong {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 14px;
}
.codex-recharge-form {
  display: grid;
  gap: 10px;
}
.codex-recharge-form label {
  color: #33403a;
  font-size: 13px;
  font-weight: 650;
}
.codex-recharge-form input {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #cbd4cf;
  border-radius: 6px;
  outline: none;
  color: #17211d;
  background: #ffffff;
}
.codex-recharge-form input:focus {
  border-color: #197149;
  box-shadow: 0 0 0 3px rgb(25 113 73 / 14%);
}
.codex-recharge-form button[type=submit] {
  min-height: 44px;
  border: 0;
  border-radius: 6px;
  color: #ffffff;
  background: #197149;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.codex-recharge-form button[type=submit]:hover:not(:disabled) {
  background: #125f3c;
}
.codex-recharge-form button[type=submit]:disabled {
  cursor: wait;
  opacity: 0.68;
}
.codex-recharge-message {
  margin: 2px 0 0;
  color: #59665f;
  font-size: 13px;
  line-height: 1.5;
}
.codex-recharge-message[data-tone=success] {
  color: #197149;
}
.codex-recharge-message[data-tone=error] {
  color: #a33a33;
}
@media (prefers-reduced-motion: reduce) {
  .fe-auth-submit,
  .fe-auth-support-link,
  .fe-auth-tabs button,
  .fe-auth-nav button,
  .fe-auth-text-button,
  .fe-auth-secondary,
  .fe-auth-retry,
  .fe-auth-dialog-close,
  #auth-form input,
  #auth-forgot-form input {
    transition: none;
  }
}
@media (max-width: 560px) {
  .fe-auth-page {
    width: min(100% - 24px, 420px);
    padding: 20px 0 16px;
  }
  .fe-auth-panel {
    padding: 26px 20px;
  }
  .fe-auth-brand small {
    max-width: 220px;
  }
  .fe-auth-topbar {
    align-items: flex-start;
  }
  .fe-auth-brand small {
    display: none;
  }
  .fe-auth-nav {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .fe-auth-nav button {
    min-height: 34px;
    padding-inline: 8px;
    font-size: 12px;
  }
  .fe-auth-footer {
    flex-wrap: wrap;
    gap: 8px 14px;
    justify-content: center;
  }
  .codex-recharge {
    margin-top: 3vh;
    padding: 22px 18px;
  }
  .codex-recharge-header {
    align-items: flex-start;
  }
  .codex-recharge-identity {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }
}

/* internal/httpapi/static/src/styles/auth-brand.css */
.fe-auth-brand .brand-lamp {
  width: 46px;
  height: 46px;
  display: block;
  fill: none;
  stroke: none;
  overflow: visible;
}
.fe-auth-brand .brand-lamp .lamp-body {
  transform-origin: 37px 62px;
}
.fe-auth-brand .brand-lamp .lamp-head {
  transform-origin: 40px 22px;
}
.fe-auth-brand .brand-lamp .lamp-shadow {
  transform-origin: 37px 65px;
}
.fe-auth-brand .brand-lamp .lamp-beam {
  transform-origin: 42px 26px;
}
.fe-auth-brand .lamp-intro .lamp-body {
  animation: auth-lamp-arrive 4.8s ease-in-out both;
}
.fe-auth-brand .lamp-intro .lamp-shadow {
  animation: auth-lamp-shadow-arrive 4.8s ease-in-out both;
}
.fe-auth-brand .lamp-intro .lamp-head {
  animation: auth-lamp-first-look 4.8s ease-in-out both;
}
.fe-auth-brand .lamp-intro .lamp-beam {
  animation: auth-lamp-switch-on 4.8s ease-in-out both;
}
.fe-auth-brand .lamp-greeting .lamp-head {
  animation: auth-lamp-greet 1.7s ease-in-out both;
}
.fe-auth-brand .lamp-greeting .lamp-beam {
  animation: auth-lamp-glow 1.7s ease-in-out both;
}
@keyframes auth-lamp-arrive {
  0% {
    transform: translate(13px, -15px) rotate(-12deg);
  }
  12% {
    transform: translate(3px, -23px) rotate(-5deg);
  }
  24% {
    transform: translate(-1px, 0) scale(1.06, .91);
  }
  33% {
    transform: translate(0, -8px) rotate(3deg);
  }
  43% {
    transform: translate(0, 0) scale(1.02, .97);
  }
  52%, 100% {
    transform: translate(0, 0) rotate(0) scale(1);
  }
}
@keyframes auth-lamp-shadow-arrive {
  0% {
    transform: translateX(12px) scale(.5);
    opacity: .03;
  }
  12% {
    transform: translateX(3px) scale(.6);
    opacity: .04;
  }
  24% {
    transform: scale(1.1);
    opacity: .12;
  }
  33% {
    transform: scale(.8);
    opacity: .05;
  }
  43%, 100% {
    transform: scale(1);
    opacity: .08;
  }
}
@keyframes auth-lamp-first-look {
  0%, 43% {
    transform: rotate(-8deg);
  }
  57% {
    transform: rotate(9deg);
  }
  71% {
    transform: rotate(-12deg);
  }
  86%, 100% {
    transform: rotate(0);
  }
}
@keyframes auth-lamp-switch-on {
  0%, 45% {
    opacity: 0;
  }
  60% {
    opacity: .12;
  }
  80%, 100% {
    opacity: .38;
  }
}
@keyframes auth-lamp-greet {
  0%, 100% {
    transform: rotate(0);
  }
  30% {
    transform: rotate(10deg);
  }
  65% {
    transform: rotate(-7deg);
  }
}
@keyframes auth-lamp-glow {
  0%, 100% {
    opacity: .38;
  }
  35% {
    opacity: .55;
  }
  70% {
    opacity: .25;
  }
}
.fe-auth-brand:hover .lamp-head {
  animation: auth-lamp-greet 1.7s ease-in-out both;
}
@media (prefers-reduced-motion:reduce) {
  .fe-auth-brand .brand-lamp * {
    animation: none !important;
  }
  .fe-auth-brand .brand-lamp .lamp-body,
  .fe-auth-brand .brand-lamp .lamp-head,
  .fe-auth-brand .brand-lamp .lamp-shadow {
    transform: none !important;
  }
  .fe-auth-brand .brand-lamp .lamp-beam {
    opacity: .38;
  }
}

/* internal/httpapi/static/src/styles/teal-auth.css */
body[data-auth-bootstrap] {
  color: #233f48;
  background: #f0f4f5;
}
.fe-auth-page {
  width: min(1120px, calc(100% - 64px));
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr);
  column-gap: 90px;
  row-gap: 36px;
  padding: 32px 0 24px;
}
.fe-auth-topbar,
.fe-auth-footer {
  grid-column: 1/-1;
}
.fe-auth-brand {
  gap: 13px;
}
.fe-auth-brand-mark {
  background: transparent;
  color: #346d78;
  box-shadow: none;
  width: 46px;
  height: 46px;
  border-radius: 0;
}
.fe-auth-brand strong {
  color: #294b54;
  font-size: 27px;
  letter-spacing: -.8px;
  font-weight: 650;
}
.fe-auth-brand small {
  color: #627d84;
  font-size: 11px;
  margin-top: 4px;
}
.fe-auth-nav button {
  color: #52767d;
  border-radius: 99px;
}
.fe-auth-nav button:hover {
  background: #e5efec;
  color: #285d62;
}
.fe-auth-panel {
  width: 100%;
  max-width: 445px;
  padding: 36px;
  border: 1px solid #e2ebe8;
  border-radius: 30px;
  box-shadow: none;
  background: #fff;
  backdrop-filter: none;
  align-self: center;
  justify-self: end;
}
.fe-auth-kicker {
  color: #547f83;
  font-size: 10px;
  letter-spacing: 1.4px;
}
.fe-auth-heading h1 {
  font-size: 28px;
  letter-spacing: -.5px;
  color: #294b54;
  font-weight: 650;
}
.fe-auth-heading p {
  color: #5b7b82;
  font-size: 13px;
  line-height: 1.7;
}
.fe-auth-tabs {
  border: 0;
  padding: 4px;
  background: #f1f6f4;
  border-radius: 99px;
  gap: 4px;
}
.fe-auth-tabs button {
  border: 0;
  border-radius: 99px;
  color: #597980;
}
.fe-auth-tabs button[aria-selected=true] {
  background: #233f48;
  color: white;
  box-shadow: none;
}
.fe-auth-panel label {
  color: #3c626b;
  font-size: 12px;
}
.fe-auth-panel input:not([type=checkbox]) {
  border: 1px solid #dce7e3;
  background: #f7faf8;
  border-radius: 14px;
  color: #294b54;
  min-height: 46px;
}
.fe-auth-panel input:focus {
  border-color: #75aaa2;
  box-shadow: 0 0 0 3px #78bdb51c;
  outline: 0;
}
.fe-auth-submit {
  background: #233f48;
  border: 1px solid #233f48;
  border-radius: 99px;
  box-shadow: none;
  min-height: 47px;
}
.fe-auth-submit:hover:not(:disabled) {
  background: #2f646c;
}
.fe-auth-submit:disabled {
  background: #cbdcda;
  color: #4b6d74;
  border-color: #cbdcda;
}
.fe-auth-secondary,
.fe-auth-dialog-primary {
  border-radius: 99px;
}
.fe-auth-text-button,
.fe-auth-support-link {
  color: #327a75;
}
.fe-auth-security {
  color: #557b72;
  background: #eff7f2;
  border-color: #dcebe2;
  border-radius: 12px;
}
.fe-auth-security-indicator {
  background: #78b6a0;
}
.fe-auth-dialog {
  border-color: #dce8e3;
  border-radius: 25px;
  box-shadow: 0 15px 50px #22454c1a;
}
.fe-auth-footer {
  font-size: 11px;
  color: #607d82;
}
.fe-auth-story {
  align-self: center;
  padding-bottom: 34px;
}
.fe-auth-story > .fe-auth-kicker {
  margin-bottom: 24px;
}
.fe-auth-story h2 {
  font-size: 44px;
  line-height: 1.45;
  letter-spacing: -1.8px;
  font-weight: 500;
  color: #2c545d;
  margin: 0 0 22px;
  max-width: 450px;
}
.fe-auth-story > p:not(.fe-auth-kicker) {
  color: #607e84;
  font-size: 14px;
  line-height: 2;
  max-width: 370px;
}
.fe-auth-story-visual {
  position: relative;
  max-width: 430px;
  height: 225px;
  margin-top: 38px;
  padding: 30px;
  border: 1px solid #c4dfd5;
  border-radius: 29px;
  background:
    linear-gradient(
      135deg,
      #c6e6d8,
      #8bc9c1);
  box-shadow: inset 0 0 0 6px #ffffff2b;
  overflow: hidden;
  color: #2e636b;
}
.fe-auth-story-visual > span {
  font-size: 12px;
}
.fe-auth-story-visual strong {
  display: block;
  margin-top: 16px;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 1px;
}
.fe-auth-story-visual > svg {
  position: absolute;
  width: 105%;
  height: 90px;
  bottom: 0;
  left: -5%;
  opacity: .65;
}
.fe-auth-story-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 21px;
}
.fe-auth-story-tags > span {
  border: 1px solid #dce8e3;
  background: #f7faf8;
  border-radius: 99px;
  padding: 8px 14px;
  color: #527b7e;
  font-size: 11px;
}
@media (max-width:950px) {
  .fe-auth-page {
    column-gap: 35px;
    grid-template-columns: 1fr 1fr;
    width: calc(100% - 40px);
  }
  .fe-auth-story h2 {
    font-size: 34px;
  }
  .fe-auth-panel {
    padding: 29px;
  }
  .fe-auth-story-visual {
    height: 205px;
    padding: 26px;
  }
  .fe-auth-story-visual strong {
    font-size: 22px;
  }
}
@media (max-width:740px) {
  .fe-auth-page {
    width: min(450px, calc(100% - 36px));
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
    padding: 24px 0;
  }
  .fe-auth-topbar,
  .fe-auth-footer {
    grid-column: auto;
  }
  .fe-auth-story {
    display: none;
  }
  .fe-auth-panel {
    justify-self: center;
    align-self: center;
    max-width: 430px;
  }
  .fe-auth-brand strong {
    font-size: 24px;
  }
  .fe-auth-brand small {
    display: none;
  }
  .fe-auth-brand-mark {
    width: 34px;
    height: 38px;
  }
  .fe-auth-brand-mark .brand-lamp {
    width: 39px;
    height: 39px;
  }
  .fe-auth-nav {
    gap: 0;
  }
  .fe-auth-nav button {
    font-size: 10px;
    padding: 0 9px;
  }
  .fe-auth-topbar {
    gap: 12px;
  }
  .fe-auth-heading h1 {
    font-size: 26px;
  }
  .fe-auth-footer {
    flex-wrap: wrap;
  }
}
@media (prefers-reduced-motion:reduce) {
  .fe-auth-page * {
    scroll-behavior: auto;
  }
}
#auth-form input:not([type=checkbox]) {
  background: #f7faf8;
  border-color: #dce7e3;
  border-radius: 14px;
  color: #294b54;
}
#auth-form input:focus {
  border-color: #75aaa2;
  box-shadow: 0 0 0 3px #78bdb51c;
  outline: 0;
}
#auth-form label {
  color: #3c626b;
  font-size: 12px;
}
#auth-form input[type=checkbox] {
  accent-color: #327f7d;
}
.fe-auth-heading > p:last-child {
  color: #5b7b82;
  font-size: 13px;
}

/* internal/httpapi/static/src/styles/auth-motion.css */
:root {
  --b2-motion-ease: cubic-bezier(.23,1,.32,1);
}
body[data-auth-bootstrap] {
  font-size: 16px;
  line-height: normal;
}
[data-auth-skeleton] button:not(:where(.nav-item, .logo, .workspace-brand, .scrim)) {
  --b2-button-rest-shadow:1px 2px 3px #294b5412,-1px -1px 2px #ffffff24,inset 0 0 0 #294b5400,inset 0 0 0 #ffffff00;
  box-shadow: var(--b2-button-rest-shadow);
  translate: 0 0;
  transition:
    translate 180ms var(--b2-motion-ease),
    transform 180ms var(--b2-motion-ease),
    box-shadow 180ms ease,
    background-color 160ms ease,
    color 160ms ease,
    border-color 160ms ease;
}
[data-auth-skeleton] button:disabled:not(:where(.nav-item, .logo, .workspace-brand, .scrim)) {
  box-shadow: none;
  translate: 0 0;
}
@media (hover:hover) and (pointer:fine) {
  [data-auth-skeleton] button:where(:hover):not(:disabled):not(:where(.nav-item, .logo, .workspace-brand, .scrim)) {
    translate: 0 var(--b2-hover-y,-2px);
    box-shadow:
      1px 3px 5px #294b541a,
      -1px -1px 2px #ffffff30,
      inset 0 0 0 #294b5400,
      inset 0 0 0 #ffffff00;
  }
}
[data-auth-skeleton] button:is(:active:not(:disabled), .active, .b2-disclosure-open, [aria-pressed=true], [aria-selected=true]):not(:where(.nav-item, .logo, .workspace-brand, .scrim)) {
  translate: 0 2px;
  scale: 1;
  transform: none;
  background-color: #e8f0ef;
  background-image: none;
  color: #426a70;
  box-shadow:
    0 0 0 #294b5400,
    0 0 0 #ffffff00,
    inset 1px 2px 3px #294b5424,
    inset -1px -1px 2px #ffffff35;
  transition-duration: 100ms;
}
.b2-tab-track {
  position: relative;
  isolation: isolate;
}
[data-auth-skeleton] .b2-tab-track > button {
  position: relative;
  z-index: 1;
  transition-property:
    translate,
    transform,
    scale,
    color,
    border-color;
}
.b2-tab-moving {
  background: transparent !important;
  box-shadow: none !important;
}
.b2-tab-indicator {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  transform-origin: top left;
}
[data-auth-skeleton] button[data-b2-refresh] .app-icon:first-child {
  position: relative;
}
[data-auth-skeleton] button[data-b2-refresh]:not(:has(.app-icon)) {
  position: relative;
}
[data-auth-skeleton] button[data-b2-refresh=loading]:not(:has(.app-icon))::after {
  content: "";
  position: absolute;
  right: 5px;
  top: calc(50% - 4px);
  width: 8px;
  height: 8px;
  border: 1px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: b2-orbit 800ms linear infinite;
}
[data-auth-skeleton] button[data-b2-refresh=complete]:not(:has(.app-icon))::after {
  content: "";
  position: absolute;
  right: 6px;
  top: calc(50% - 5px);
  width: 4px;
  height: 8px;
  border: solid currentColor;
  border-width: 0 1px 1px 0;
  transform: rotate(45deg);
}
[data-auth-skeleton] button[data-b2-refresh] .app-icon:first-child svg {
  transition: opacity 160ms ease;
}
[data-auth-skeleton] button[data-b2-refresh=loading] .app-icon:first-child svg {
  animation: b2-orbit 800ms linear infinite;
  animation-delay: var(--b2-spin-offset,0ms);
}
[data-auth-skeleton] button[data-b2-refresh=complete] {
  box-shadow: var(--b2-button-rest-shadow), 0 0 0 3px color-mix(in srgb, var(--primary,currentColor) 13%, transparent);
}
[data-auth-skeleton] button[data-b2-refresh=complete] .app-icon:first-child svg {
  opacity: 0;
}
[data-auth-skeleton] button[data-b2-refresh=complete] .app-icon:first-child::after {
  content: "";
  position: absolute;
  left: 32%;
  top: 16%;
  width: 32%;
  height: 55%;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  animation: b2-check 220ms var(--b2-motion-ease) both;
}
[data-auth-skeleton] button[data-b2-refresh=error] {
  box-shadow: var(--b2-button-rest-shadow), 0 0 0 3px color-mix(in srgb, var(--red,#b42318) 18%, transparent);
}
.fe-auth-page :is(.fe-auth-dialog-backdrop, .fe-auth-dialog) {
  overscroll-behavior: contain;
}
.fe-auth-panel {
  position: relative;
}
.fe-auth-page.b2-auth-pending :is(#auth-form, [data-auth-tabs]) {
  visibility: hidden;
}
.fe-auth-page.b2-auth-pending #auth-message {
  display: none;
}
.b2-auth-progress {
  position: absolute;
  inset: 150px 36px 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
  color: #294b54;
}
.b2-auth-progress[hidden] {
  display: none;
}
.b2-auth-progress p {
  margin: 0;
  color: #607e84;
  font-size: 13px;
  line-height: 1.8;
}
.b2-auth-orbit {
  width: 74px;
  height: 74px;
  position: relative;
  display: grid;
  place-items: center;
  margin-bottom: 8px;
}
.b2-auth-orbit::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid #dce8e3;
  border-top: 2px solid #547f83;
  border-radius: 50%;
  animation: b2-orbit 1.5s linear infinite;
}
.b2-auth-orbit .fe-auth-brand-mark {
  margin: 0;
}
.b2-auth-track {
  width: 136px;
  height: 3px;
  border-radius: 4px;
  overflow: hidden;
  background: #dce8e3;
  margin-top: 8px;
}
.b2-auth-track::after {
  content: "";
  display: block;
  width: 55%;
  height: 100%;
  border-radius: inherit;
  background: #78b6a0;
  animation: b2-progress 1.6s ease-in-out infinite;
}
.fe-auth-story-visual svg {
  animation: b2-wave 7s ease-in-out infinite alternate;
}
.fe-auth-story-visual svg path:nth-child(2) {
  animation: b2-wave-detail 5s ease-in-out infinite alternate;
}
.b2-motion-exit {
  pointer-events: none !important;
}
.b2-motion-paused *,
.b2-motion-paused *::before,
.b2-motion-paused *::after {
  animation-play-state: paused !important;
}
@keyframes b2-orbit {
  to {
    transform: rotate(360deg);
  }
}
@keyframes b2-progress {
  from {
    transform: translateX(-110%);
  }
  to {
    transform: translateX(190%);
  }
}
@keyframes b2-wave {
  from {
    transform: translate(0, 2px);
  }
  to {
    transform: translate(8px, -5px);
  }
}
@keyframes b2-wave-detail {
  from {
    opacity: .6;
    transform: translateY(2px);
  }
  to {
    opacity: 1;
    transform: translateY(-3px);
  }
}
@media (prefers-reduced-motion:reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .app-shell button,
  .fe-auth-page button,
  .nav-item .app-icon,
  .app-shell :is(.business-overview-metric, .stat.clickable, .quick-card, .pool-account-card) {
    transform: none !important;
    translate: none !important;
    scale: 1 !important;
  }
}
