:root {
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", system-ui, sans-serif;
  color: #0f2735;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 188, 130, 0.44), transparent 26%),
    radial-gradient(circle at 84% 14%, rgba(158, 233, 217, 0.42), transparent 30%),
    radial-gradient(circle at 72% 72%, rgba(214, 240, 255, 0.4), transparent 32%),
    linear-gradient(135deg, #f9f3e7 0%, #faf6ee 42%, #edf8f6 100%);
}

.shell {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  padding: 0;
}

.ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.orb,
.ring {
  position: absolute;
  border-radius: 999px;
  animation: float 7.6s ease-in-out infinite;
  will-change: transform;
}

.orb {
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.96), rgba(255, 160, 95, 0.8) 34%, rgba(103, 221, 191, 0.54) 70%, transparent 84%);
  filter: blur(2px);
}

.orbOne {
  top: -2rem;
  left: -2rem;
  width: 22rem;
  height: 22rem;
}

.orbTwo {
  top: 6rem;
  right: 18%;
  width: 15rem;
  height: 15rem;
  animation-delay: -2s;
}

.orbThree {
  right: 8%;
  bottom: 2rem;
  width: 13rem;
  height: 13rem;
  animation-delay: -5s;
}

.ring {
  border: 24px solid rgba(111, 216, 194, 0.26);
  opacity: 0.92;
}

.ringOne {
  top: -5rem;
  right: -2rem;
  width: 31rem;
  height: 31rem;
  animation-duration: 10.5s;
}

.ringTwo {
  bottom: -5rem;
  left: 10%;
  width: 18rem;
  height: 18rem;
  border-width: 18px;
  animation-duration: 9.2s;
  animation-delay: -4s;
}

.stage {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(360px, 440px) minmax(0, 1fr);
  align-items: stretch;
  background: rgba(255, 255, 255, 0.26);
  backdrop-filter: blur(18px);
}

.authPane,
.infoPane {
  padding: clamp(40px, 4vw, 72px);
  display: grid;
  align-content: center;
}

.authPane {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(251, 248, 242, 0.94));
}

.infoPane {
  position: relative;
  background:
    linear-gradient(140deg, rgba(240, 248, 244, 0.92), rgba(232, 245, 243, 0.84) 48%, rgba(245, 249, 244, 0.92));
  border-left: 1px solid rgba(14, 39, 53, 0.07);
}

.infoPane::before {
  content: "";
  position: absolute;
  inset: -2rem auto auto 58%;
  width: 30rem;
  height: 30rem;
  border-radius: 999px;
  border: 24px solid rgba(109, 220, 196, 0.18);
  transform: translateX(-10%);
  animation: sweep 11s ease-in-out infinite;
}

.infoPane::after {
  content: "";
  position: absolute;
  left: 10%;
  bottom: 18%;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 999px;
  background:
    radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.9), rgba(255, 176, 123, 0.72) 52%, rgba(255, 176, 123, 0.12) 74%, transparent 78%);
  box-shadow: 0 0 0 26px rgba(255, 176, 123, 0.08);
  animation: pulse 5.5s ease-in-out infinite;
}

.authPaneInner {
  width: min(100%, 320px);
  margin: 0 auto;
  display: grid;
  gap: 28px;
}

.infoPaneInner {
  width: min(100%, 700px);
  display: grid;
  gap: 24px;
  align-self: center;
}

.logoRow {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logoLink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.logo {
  width: auto;
  height: 50px;
}

.authIntro {
  display: grid;
  gap: 8px;
}

.loginTitle {
  margin: 0;
  font-size: clamp(2.7rem, 4vw, 3.6rem);
  line-height: 0.94;
  text-align: center;
  color: #0f2735;
}

.infoEyebrow {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ff6f34;
}

.title {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 15ch;
  font-size: clamp(1.9rem, 2.3vw, 2.7rem);
  line-height: 1.08;
  color: #0f2735;
}

.stage[data-admin-state="invalid"] .title {
  max-width: 18ch;
  font-size: clamp(1.7rem, 2.5vw, 2.3rem);
}

.copy,
.status,
.supportCopy,
.supportLead,
.hint,
.sessionCopy,
.missingPanel p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #5f6f77;
  line-height: 1.72;
}

.copy {
  max-width: 64ch;
}

.form {
  display: grid;
  gap: 18px;
}

.field {
  display: grid;
  gap: 0.5rem;
}

.field span {
  font-size: 0.84rem;
  font-weight: 600;
  color: #385060;
}

.input {
  width: 100%;
  min-height: 60px;
  border-radius: 22px;
  border: 1px solid rgba(15, 39, 53, 0.12);
  background: rgba(255, 255, 255, 0.92);
  color: #16303c;
  padding: 0 20px;
  font: inherit;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    0 10px 28px rgba(33, 61, 70, 0.06);
}

.input:focus {
  outline: 2px solid rgba(255, 111, 52, 0.16);
  border-color: rgba(255, 111, 52, 0.42);
}

.button,
.buttonSecondary {
  appearance: none;
  min-height: 56px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.button {
  border: 0;
  background: linear-gradient(135deg, #ff8b3d, #ff5f2d);
  color: #ffffff;
  box-shadow: 0 18px 34px rgba(255, 111, 52, 0.24);
}

.buttonSecondary {
  border: 1px solid rgba(15, 39, 53, 0.08);
  background: rgba(255, 255, 255, 0.78);
  color: #16303c;
  padding: 0 24px;
  justify-self: start;
}

.buttonSecondary:is(button) {
  font: inherit;
}

.hint code {
  font-family: ui-monospace, SFMono-Regular, monospace;
  color: #16303c;
}

.sessionPanel,
.missingPanel {
  display: grid;
  gap: 12px;
}

.sessionPanel {
  padding: 20px 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(35, 50, 58, 0.08);
  box-shadow: 0 18px 40px rgba(35, 50, 58, 0.06);
}

.sessionActions {
  display: grid;
  gap: 12px;
}

.missingPanel h3 {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.2;
  color: #0f2735;
}

.capabilities {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  padding-top: 8px;
}

.supportCard {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  padding: 20px 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(35, 50, 58, 0.08);
  box-shadow: 0 18px 40px rgba(35, 50, 58, 0.08);
  max-width: 600px;
}

.sectionTitle {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.3;
  color: #0f2735;
}

.capabilityList {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.7rem;
  color: #385060;
}

.supportLead {
  font-weight: 600;
  color: #0f2735;
}

.supportCopy a {
  color: #16303c;
  font-weight: 700;
  text-decoration: none;
}

.supportCopy a:hover,
.supportCopy a:focus-visible {
  color: #ff5f2d;
}

.supportButton {
  justify-self: start;
}

.status {
  min-height: 22px;
  font-size: 0.92rem;
}

.status[data-tone="success"] {
  color: #1e7e5f;
}

.status[data-tone="error"] {
  color: #b94a48;
}

.status[data-tone="warning"] {
  color: #9c6514;
}

[hidden] {
  display: none !important;
}

@keyframes float {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(0, -62px, 0) scale(1.08);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.92;
  }

  50% {
    transform: scale(1.14);
    opacity: 0.68;
  }
}

@keyframes sweep {
  0%,
  100% {
    transform: translateX(-12%) rotate(0deg) scale(1);
  }

  50% {
    transform: translateX(2%) rotate(12deg) scale(1.14);
  }
}

@media (min-width: 1600px) {
  .stage {
    grid-template-columns: minmax(380px, 480px) minmax(0, 1fr);
  }

  .infoPaneInner {
    width: min(100%, 820px);
  }
}

@media (max-width: 920px) {
  .shell {
    padding: 24px 16px;
  }

  .stage {
    min-height: auto;
    width: min(980px, 100%);
    margin: 0 auto;
    grid-template-columns: 1fr;
    border-radius: 30px;
    box-shadow: 0 24px 72px rgba(27, 39, 43, 0.12);
  }

  .authPaneInner,
  .infoPaneInner {
    width: 100%;
  }

  .infoPane {
    border-left: 0;
    border-top: 1px solid rgba(35, 50, 58, 0.08);
  }

  .title {
    max-width: none;
  }
}

@media (max-width: 560px) {
  .shell {
    padding: 18px 14px;
  }

  .stage {
    border-radius: 28px;
  }

  .authPane,
  .infoPane {
    padding: 24px 20px;
  }

  .loginTitle,
  .title {
    font-size: 2.15rem;
  }

  .infoPane::before {
    top: auto;
    right: -5rem;
    bottom: -3rem;
    width: 16rem;
    height: 16rem;
    border-width: 14px;
    transform: none;
  }

  .orbOne {
    width: 8rem;
    height: 8rem;
  }

  .orbTwo {
    right: 10%;
  }

  .ringOne {
    width: 18rem;
    height: 18rem;
    right: -6rem;
  }

  .ringTwo {
    left: -2rem;
    bottom: -5rem;
  }

  .button,
  .buttonSecondary,
  .input {
    min-height: 54px;
  }

  .buttonSecondary,
  .supportButton {
    justify-self: stretch;
  }
}
