.auth-scene {
  --scene-text: #e6edf6;
  --scene-muted: #9caec6;
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  overflow: hidden;
  color: var(--scene-text);
  background:
    radial-gradient(
      47% 52% at 31% 6%,
      rgba(58, 102, 145, 0.32),
      transparent 75%
    ),
    radial-gradient(
      36% 55% at 94% 33%,
      rgba(46, 106, 127, 0.28),
      transparent 75%
    ),
    radial-gradient(
      48% 44% at 63% 92%,
      rgba(70, 69, 114, 0.24),
      transparent 75%
    ),
    linear-gradient(125deg, #0e1927, #132233 45%, #0e1826);
}
.auth-scene::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 36%;
  right: -15%;
  bottom: -25%;
  height: 52%;
  transform: rotate(-10deg);
  background: linear-gradient(
    160deg,
    rgba(84, 142, 205, 0.12),
    transparent 58%
  );
  border-top: 1px solid rgba(139, 190, 245, 0.12);
  pointer-events: none;
}
.auth-scene-header {
  position: relative;
  z-index: 2;
  width: min(100% - 80px, 1500px);
  min-height: 100px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.auth-scene-header > a {
  color: inherit;
  text-decoration: none;
}
.auth-scene-header .brand-mark {
  width: 32px;
  height: 32px;
}
.auth-scene-layout {
  width: min(100% - 100px, 1440px);
  min-height: calc(100vh - 100px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(32px, 6vw, 120px);
  padding: 24px 0 80px;
}
.auth-scene-content {
  position: relative;
  z-index: 1;
  min-width: 0;
}
.auth-login {
  width: min(100%, 480px);
}
.auth-login h1,
.error-scene-content h1 {
  margin: 0;
  font-size: 30px;
  line-height: 39px;
  letter-spacing: -0.9px;
  font-weight: 560;
}
.auth-login > p,
.error-scene-content > p {
  margin: 12px 0 32px;
  color: var(--scene-muted);
  font-size: 15px;
  line-height: 1.55;
}
.auth-login .domain-login {
  margin-top: 0;
}
.auth-login .field {
  display: grid;
  gap: 9px;
  margin-bottom: 21px;
  font-size: 13px;
  line-height: 19.5px;
}
.auth-login .field input {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid #b5d7fa27;
  border-radius: 9px;
  background: rgba(9, 23, 39, 0.25);
  color: #e2edf8;
  font-size: 14px;
  line-height: 21px;
}
.auth-login .field input:focus-visible {
  outline: 2px solid #74b9ff;
  outline-offset: 3px;
  border-color: #82c5f68c;
  box-shadow: 0 0 0 3px #6eafe610;
}
.auth-login .field input::placeholder {
  color: #879db8;
}
.auth-login .password-control {
  position: relative;
}
.auth-login .password-control input {
  padding-right: 48px;
}
.auth-login .password-control button {
  position: absolute;
  right: 4px;
  top: 4px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--scene-muted);
}
.auth-login .domain-login > .button {
  min-height: 39px;
  margin-top: 3px;
}
.auth-login .local-login {
  margin-top: 28px;
  padding-top: 20px;
  border-color: rgba(174, 199, 232, 0.22);
}
.auth-login .local-login > summary {
  width: max-content;
  margin-inline: auto;
  color: var(--scene-muted);
  font-size: 13px;
  cursor: pointer;
}
.auth-login .local-login form {
  margin-top: 20px;
}
.auth-login .auth-oidc-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: #83c5ff;
  font-size: 13px;
}
.auth-login .demo-login {
  width: 100%;
}
.error-scene-code {
  display: block;
  margin: 0 0 24px;
  color: transparent;
  -webkit-text-stroke: 1px rgba(156, 192, 238, 0.83);
  font-size: clamp(100px, 11vw, 178px);
  line-height: 0.88;
  letter-spacing: -0.09em;
  font-weight: 500;
  user-select: none;
}
.error-scene-content > p {
  margin-bottom: 28px;
}
.error-scene-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.error-scene-actions .button {
  min-height: 39px;
  min-width: 140px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}
.auth-art {
  position: relative;
  width: 100%;
  height: min(58vh, 620px);
  min-height: 430px;
  pointer-events: none;
}
.auth-art::before {
  content: "";
  position: absolute;
  left: 15%;
  right: 2%;
  bottom: 0;
  height: 18%;
  border-radius: 50%;
  background: rgba(81, 145, 219, 0.25);
  filter: blur(45px);
}
.auth-art-line {
  position: absolute;
  width: 65%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #82c5f644, transparent);
}
.auth-art-line-one {
  top: 39%;
  left: -9%;
  transform: rotate(-8deg);
}
.auth-art-line-two {
  top: 65%;
  right: -8%;
  transform: rotate(11deg);
}
.auth-art-gateway {
  position: absolute;
  inset: 3% 0;
  perspective: 1000px;
}
.auth-art-pane {
  position: absolute;
  display: grid;
  place-items: center;
  width: 37%;
  height: 72%;
  top: 11%;
  border: 1px solid rgba(155, 204, 250, 0.52);
  border-radius: 17px;
  box-shadow:
    inset 0 1px 0 #ffffff25,
    0 24px 70px #06132644;
  background: linear-gradient(
    145deg,
    rgba(115, 172, 229, 0.22),
    rgba(57, 105, 156, 0.11) 72%
  );
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}
.auth-art-pane-back {
  left: 58%;
  transform: rotateY(-18deg) scale(0.86);
  opacity: 0.62;
}
.auth-art-pane-middle {
  left: 39%;
  transform: rotateY(-15deg) scale(0.93);
  opacity: 0.77;
}
.auth-art-pane-front {
  left: 19%;
  color: #a5d6ff;
  transform: rotateY(-11deg);
}
.auth-art-pane-front::after {
  content: "";
  position: absolute;
  inset: auto 8% -12% 8%;
  height: 12%;
  background: #7abfff4a;
  filter: blur(30px);
}
.auth-art-map {
  position: absolute;
  inset: 4% 0;
}
.auth-art-map::before,
.auth-art-map::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(117, 176, 237, 0.45);
  border-right: 0;
  border-radius: 32px 0 0 32px;
}
.auth-art-map::before {
  left: 18%;
  top: 35%;
  width: 51%;
  height: 35%;
}
.auth-art-map::after {
  left: 39%;
  top: 14%;
  width: 45%;
  height: 53%;
  transform: rotate(180deg);
}
.auth-art-node,
.auth-art-missing {
  position: absolute;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 21%;
  aspect-ratio: 1;
  border: 1px solid rgba(155, 204, 250, 0.54);
  border-radius: 20px;
  background: linear-gradient(
    140deg,
    rgba(106, 160, 214, 0.3),
    rgba(36, 74, 116, 0.22)
  );
  box-shadow:
    inset 0 1px 0 #fff3,
    0 24px 55px #0613263d;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.auth-art-node .brand-mark {
  width: 37px;
  height: 37px;
}
.auth-art-node-one {
  top: 12%;
  left: 44%;
}
.auth-art-node-two {
  top: 42%;
  left: 15%;
}
.auth-art-node-three {
  top: 63%;
  left: 61%;
}
.auth-art-missing {
  top: 33%;
  right: 0;
  border-style: dashed;
  background: rgba(21, 43, 67, 0.3);
  color: #9bd1ff;
}
.auth-state {
  width: min(100%, 480px);
  color: var(--scene-muted);
}
.auth-state .error {
  max-width: 480px;
}
.shell-error-scene {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 32px;
  min-height: min(740px, calc(100vh - 180px));
}
.shell-error-scene .auth-art {
  height: min(48vh, 500px);
  min-height: 330px;
}
.shell-error-scene .error-scene-code {
  font-size: clamp(90px, 9vw, 150px);
}
.login-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 100vh;
  color: #e6edf6;
  text-align: center;
  background: radial-gradient(circle at 50% 45%, #21466a, #0c1522 70%);
}
.login-success strong {
  margin-top: 13px;
  font-size: 22px;
  font-weight: 560;
}
.login-success > span {
  color: #9caec6;
  font-size: 13px;
}
.login-success-gateway {
  position: relative;
  width: 130px;
  height: 130px;
  perspective: 700px;
}
.login-success-panel {
  position: absolute;
  top: 5px;
  width: 62px;
  height: 115px;
  border: 1px solid #8dcaff8a;
  background: linear-gradient(140deg, #78bafc55, #224b7655);
  box-shadow: 0 0 35px #62afff33;
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
}
.login-success-panel-left {
  left: 4px;
  border-radius: 16px 2px 2px 16px;
  transform-origin: left center;
  animation: login-open-left 0.8s ease-in-out forwards;
}
.login-success-panel-right {
  right: 4px;
  border-radius: 2px 16px 16px 2px;
  transform-origin: right center;
  animation: login-open-right 0.8s ease-in-out forwards;
}
.login-success-mark {
  position: absolute;
  z-index: -1;
  inset: 0;
  display: grid;
  place-items: center;
  animation: login-mark 0.8s ease-out forwards;
}
.login-success-mark .brand-mark {
  width: 47px;
  height: 47px;
}
@keyframes login-open-left {
  to {
    transform: rotateY(-56deg) translateX(-9px);
  }
}
@keyframes login-open-right {
  to {
    transform: rotateY(56deg) translateX(9px);
  }
}
@keyframes login-mark {
  from {
    opacity: 0.25;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
:root[data-theme="light"] .auth-scene {
  --scene-text: #21354b;
  --scene-muted: #566c82;
  background:
    radial-gradient(
      47% 52% at 31% 6%,
      rgba(134, 171, 207, 0.2),
      transparent 75%
    ),
    radial-gradient(
      36% 55% at 94% 33%,
      rgba(135, 189, 199, 0.19),
      transparent 75%
    ),
    radial-gradient(
      48% 44% at 63% 92%,
      rgba(172, 166, 201, 0.17),
      transparent 75%
    ),
    linear-gradient(125deg, #edf3f9, #e7eef6 45%, #eff4f9);
}
:root[data-theme="light"] .auth-scene::after {
  background: linear-gradient(
    160deg,
    rgba(95, 151, 200, 0.11),
    transparent 58%
  );
  border-color: rgba(70, 102, 137, 0.15);
}
:root[data-theme="light"] .auth-login .field input {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(49, 106, 153, 0.25);
  color: #21354b;
}
:root[data-theme="light"] .auth-login .field input:focus-visible {
  outline-color: #286b9f;
  border-color: #337cad;
  box-shadow: 0 0 0 3px rgba(51, 124, 173, 0.12);
}
:root[data-theme="light"] .auth-login .auth-oidc-link {
  color: #286b9f;
}
:root[data-theme="light"] .error-scene-code {
  -webkit-text-stroke-color: rgba(45, 94, 139, 0.7);
}
:root[data-theme="light"] .auth-art-pane,
:root[data-theme="light"] .auth-art-node {
  border-color: rgba(62, 115, 164, 0.4);
  background: linear-gradient(
    140deg,
    rgba(255, 255, 255, 0.67),
    rgba(165, 199, 232, 0.27)
  );
  box-shadow:
    inset 0 1px 0 #fff9,
    0 18px 46px #26415c1c;
}
:root[data-theme="light"] .auth-art-pane-front,
:root[data-theme="light"] .auth-art-missing {
  color: #286b9f;
}
:root[data-theme="light"] .auth-art-missing {
  background: rgba(255, 255, 255, 0.45);
}
:root[data-theme="light"] .login-success {
  color: #21354b;
  background: radial-gradient(circle at 50% 45%, #d8e9f7, #edf2f7 70%);
}
:root[data-theme="light"] .login-success > span {
  color: #566c82;
}
@media (max-width: 1050px) {
  .auth-scene-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.7fr);
    gap: 18px;
  }
  .auth-art {
    opacity: 0.68;
  }
}
@media (max-width: 760px) {
  .auth-scene-header {
    width: calc(100% - 36px);
    min-height: 76px;
  }
  .auth-scene-layout {
    width: calc(100% - 36px);
    display: block;
    min-height: calc(100vh - 76px);
    padding: 64px 0;
  }
  .auth-art {
    display: none;
  }
  .shell-error-scene {
    display: block;
    min-height: 0;
    padding: 64px 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .login-success-panel,
  .login-success-mark {
    animation: none;
  }
  .login-success-panel-left {
    transform: rotateY(-56deg);
  }
  .login-success-panel-right {
    transform: rotateY(56deg);
  }
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}
.brand strong {
  display: block;
  font-size: 19px;
  font-weight: 650;
  letter-spacing: 0.5px;
}
.brand small {
  display: block;
  color: #7e95af;
  font-size: 9px;
  letter-spacing: 1.3px;
  margin-top: 3px;
}
.brand-mark {
  width: 30px;
  height: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  transform: rotate(-5deg);
}
.brand-mark span {
  background: #569cff;
  border-radius: 5px 5px 3px 5px;
}
.brand-mark span:nth-child(2) {
  background: #377bd8;
  transform: scale(0.7);
  transform-origin: bottom left;
}
.brand-mark span:nth-child(3) {
  background: #3c83e1;
}
.brand-mark span:nth-child(4) {
  background: #7cb5ff;
  transform: scale(0.55);
  transform-origin: top left;
}

*{box-sizing:border-box}body{margin:0;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}button,input{font:inherit}.button{border:1px solid #70afff44;border-radius:9px;background:#569cff;color:#081b33;padding:10px 20px;font-weight:600;cursor:pointer}.form-status{min-height:24px;margin-top:18px;color:#9caec6;font-size:14px}.theme-button{background:transparent;border:1px solid #86baff40;color:#9caec6;border-radius:50%;width:36px;height:36px;cursor:pointer}.auth-art-pane svg{width:88px;height:88px}@media(max-width:760px){.auth-scene-header{width:calc(100% - 40px);min-height:80px}.auth-scene-layout{width:calc(100% - 40px);grid-template-columns:1fr;min-height:calc(100vh - 80px);padding:36px 0 60px}.auth-art{display:none}.auth-login{margin:auto}}