:root {
  color-scheme: light;
  --auth-ink: #17272b;
  --auth-muted: #63757a;
  --auth-line: #d5dfe1;
  --auth-page: #edf2f3;
  --auth-surface: #ffffff;
  --auth-primary: #0b6873;
  --auth-primary-hover: #07545d;
  --auth-navy: #123a40;
  --auth-danger: #ad372f;
  --auth-success: #197454;
}

* { box-sizing: border-box; }

html { min-width: 320px; background: var(--auth-page); }

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--auth-ink);
  background: var(--auth-page);
  font-family: "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.5;
}

button, input { font: inherit; letter-spacing: 0; }
a { color: var(--auth-primary); }

.auth-layout {
  display: grid;
  grid-template-columns: minmax(280px, 36%) minmax(420px, 1fr);
  min-height: 100vh;
}

.auth-brand-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 42px;
  color: #fff;
  background: var(--auth-navy);
}

.auth-brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: #fff;
  text-decoration: none;
}

.auth-brand-mark {
  display: flex;
  width: 40px;
  height: 40px;
  align-items: end;
  gap: 3px;
  padding: 7px;
  background: #fff;
  border-radius: 7px;
}
.auth-brand-mark i { display: block; flex: 1; height: 42%; background: #4c8e95; border-radius: 1px; }
.auth-brand-mark i:nth-child(2) { height: 70%; background: #56a699; }
.auth-brand-mark i:nth-child(3) { height: 100%; background: #dc724f; }
.auth-brand-copy { display: grid; gap: 1px; }
.auth-brand-copy strong { font-size: 18px; }
.auth-brand-copy small { color: #aec6ca; font-family: Consolas, monospace; font-size: 10px; font-weight: 700; }

.auth-brand-message { max-width: 380px; }
.auth-brand-message p { margin: 0 0 8px; color: #9fbec2; font-family: Consolas, monospace; font-size: 11px; font-weight: 700; }
.auth-brand-message h2 { margin: 0; font-size: 28px; font-weight: 650; line-height: 1.35; }
.auth-brand-footer { margin: 0; color: #9fb3b6; font-size: 12px; }

.auth-content { display: grid; place-items: center; padding: 40px 28px; }
.auth-card { width: min(420px, 100%); }
.auth-kicker { margin: 0 0 7px; color: var(--auth-primary); font-family: Consolas, monospace; font-size: 11px; font-weight: 700; }
.auth-card h1 { margin: 0; color: var(--auth-navy); font-size: 27px; line-height: 1.3; }
.auth-subtitle { margin: 9px 0 27px; color: var(--auth-muted); }

.auth-alert {
  margin: 0 0 18px;
  padding: 11px 12px;
  border: 1px solid;
  border-radius: 5px;
}
.auth-alert.error { color: var(--auth-danger); background: #fff5f4; border-color: #ecc5c1; }
.auth-alert.notice { color: var(--auth-success); background: #f1faf6; border-color: #bfe1d1; }

.auth-form { display: grid; gap: 17px; }
.auth-field { display: grid; gap: 7px; }
.auth-field span { color: #29474d; font-weight: 650; }
.auth-field input {
  width: 100%;
  height: 46px;
  padding: 0 13px;
  color: var(--auth-ink);
  background: #fff;
  border: 1px solid #bfcdd0;
  border-radius: 5px;
  outline: none;
}
.auth-field input:hover { border-color: #91a7ab; }
.auth-field input:focus { border-color: var(--auth-primary); box-shadow: 0 0 0 3px rgba(11, 104, 115, 0.12); }
.auth-field input::placeholder { color: #96a4a7; }
.auth-help { margin: -8px 0 0; color: var(--auth-muted); font-size: 12px; }
.auth-submit {
  min-height: 46px;
  margin-top: 5px;
  color: #fff;
  background: var(--auth-primary);
  border: 1px solid var(--auth-primary);
  border-radius: 5px;
  cursor: pointer;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(11, 104, 115, 0.18);
}
.auth-submit:hover { background: var(--auth-primary-hover); border-color: var(--auth-primary-hover); }
.auth-submit:focus-visible { outline: 3px solid rgba(11, 104, 115, 0.25); outline-offset: 2px; }
.auth-card-footer { margin: 24px 0 0; padding-top: 18px; color: var(--auth-muted); border-top: 1px solid var(--auth-line); font-size: 12px; }

.account-page { min-height: 100vh; }
.account-header {
  display: flex;
  min-height: 66px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 28px;
  background: #fff;
  border-bottom: 1px solid var(--auth-line);
}
.account-header .auth-brand { color: var(--auth-navy); }
.account-header .auth-brand-mark { width: 34px; height: 34px; padding: 6px; background: var(--auth-primary); }
.account-header .auth-brand-mark i { background: #fff; opacity: 0.8; }
.account-header .auth-brand-mark i:nth-child(2) { background: #a9d9d2; }
.account-header .auth-brand-copy strong { font-size: 16px; }
.account-header .auth-brand-copy small { color: #7b8b8f; }
.account-nav { display: flex; align-items: center; gap: 7px; }
.account-nav a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 5px 11px;
  color: #36565d;
  background: #fff;
  border: 1px solid var(--auth-line);
  border-radius: 5px;
  font-size: 12px;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}
.account-nav a:hover { color: var(--auth-primary); background: #f1f7f7; }
.account-main { width: min(960px, calc(100% - 32px)); margin: 28px auto 50px; }
.account-main.narrow { max-width: 500px; }
.account-heading { margin-bottom: 22px; }
.account-heading p { margin: 0 0 5px; color: var(--auth-primary); font-family: Consolas, monospace; font-size: 11px; font-weight: 700; }
.account-heading h1 { margin: 0; color: var(--auth-navy); font-size: 25px; }
.account-heading .account-description { margin: 8px 0 0; color: var(--auth-muted); font-family: inherit; font-size: 14px; font-weight: 400; }
.account-panel { padding: 24px; background: #fff; border: 1px solid var(--auth-line); border-radius: 7px; box-shadow: 0 8px 24px rgba(19, 50, 56, 0.05); }

.user-create-form { display: grid; grid-template-columns: minmax(170px, 1fr) minmax(220px, 1.3fr) auto; align-items: end; gap: 10px; padding-bottom: 23px; border-bottom: 1px solid var(--auth-line); }
.user-create-form .auth-submit { min-width: 150px; margin: 0; padding: 0 15px; }
.user-list-title { margin: 22px 0 10px; color: var(--auth-navy); font-size: 15px; }
.user-table-wrap { overflow-x: auto; border: 1px solid var(--auth-line); border-radius: 5px; }
.user-table { width: 100%; border-collapse: collapse; }
.user-table th, .user-table td { padding: 12px 14px; border-bottom: 1px solid #e2e8e9; text-align: left; }
.user-table th { color: #53696e; background: #f6f8f8; font-size: 12px; font-weight: 650; }
.user-table tr:last-child td { border-bottom: 0; }
.user-table td:first-child { color: var(--auth-navy); font-weight: 650; }
.role-badge { display: inline-flex; padding: 3px 8px; color: #406168; background: #eef4f4; border: 1px solid #d1dfe0; border-radius: 4px; font-size: 11px; }
.role-badge.admin { color: #7b4a12; background: #fff8ec; border-color: #ead1a9; }
.inline-form { margin: 0; }
.danger-button { min-height: 32px; padding: 4px 10px; color: var(--auth-danger); background: #fff; border: 1px solid #e0b5b1; border-radius: 4px; cursor: pointer; font-size: 12px; font-weight: 650; }
.danger-button:hover { background: #fff2f1; }
.current-user-label { color: var(--auth-muted); font-size: 12px; }

@media (max-width: 760px) {
  .auth-layout { grid-template-columns: 1fr; }
  .auth-brand-panel { min-height: 150px; padding: 24px; }
  .auth-brand-message { display: none; }
  .auth-brand-footer { margin-top: 30px; }
  .auth-content { place-items: start center; padding: 34px 20px 44px; }
  .account-header { align-items: flex-start; flex-direction: column; padding: 12px 16px; }
  .account-nav { width: 100%; padding-bottom: 2px; overflow-x: auto; }
  .account-nav a { min-height: 38px; }
  .account-main { margin-top: 20px; }
  .user-create-form { grid-template-columns: 1fr; }
  .user-create-form .auth-submit { width: 100%; }
}

@media (max-width: 520px) {
  .auth-brand-panel { min-height: 130px; padding: 20px; }
  .auth-brand-footer { margin-top: 22px; }
  .auth-content { padding: 29px 18px 40px; }
  .auth-card h1 { font-size: 24px; }
  .account-main { width: calc(100% - 24px); }
  .account-panel { padding: 18px 15px; }
  .user-table th, .user-table td { padding: 10px; }
}

/* Sci-fi access surface inspired by the supplied reference. */
.auth-screen {
  color: #eef7ff;
  background: #05070c;
  overflow-x: hidden;
}
.auth-screen .auth-layout {
  position: relative;
  display: block;
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
  background-color: #05070c;
  background-image:
    radial-gradient(circle at 78% 46%, rgba(79, 187, 220, 0.12) 0, rgba(79, 187, 220, 0.04) 11%, transparent 28%),
    radial-gradient(circle at 82% 45%, transparent 0 16%, rgba(165, 105, 220, 0.20) 16.2% 16.35%, transparent 16.6% 21%, rgba(99, 214, 230, 0.12) 21.15% 21.28%, transparent 21.6%),
    repeating-linear-gradient(112deg, rgba(113, 153, 187, 0.055) 0 1px, transparent 1px 92px);
}
.auth-screen .auth-layout::before,
.auth-screen .auth-layout::after {
  position: absolute;
  z-index: -1;
  content: "";
  pointer-events: none;
}
.auth-screen .auth-layout::before {
  inset: 0;
  opacity: 0.7;
  background-image:
    radial-gradient(circle, rgba(208, 238, 255, 0.7) 0 1px, transparent 1.4px),
    radial-gradient(circle, rgba(147, 190, 228, 0.45) 0 1px, transparent 1.4px);
  background-position: 18px 30px, 94px 112px;
  background-size: 173px 137px, 251px 193px;
}
.auth-screen .auth-layout::after {
  top: 30%;
  right: 5%;
  width: 44vw;
  height: 22vw;
  border: 1px solid rgba(112, 222, 240, 0.28);
  border-radius: 50%;
  box-shadow: 0 0 0 14px rgba(157, 95, 210, 0.08), 0 0 45px rgba(95, 207, 235, 0.13);
  transform: rotate(-12deg);
}
.auth-screen .auth-brand-panel {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: block;
  min-height: 0;
  padding: 27px 5vw;
  color: #fff;
  background: transparent;
  pointer-events: none;
}
.auth-screen .auth-brand,
.auth-screen .auth-brand-footer { pointer-events: auto; }
.auth-screen .auth-brand-mark {
  background: #0d1827;
  border: 1px solid rgba(104, 220, 235, 0.55);
  box-shadow: 0 0 24px rgba(57, 205, 229, 0.22);
}
.auth-screen .auth-brand-copy strong { color: #f3fbff; letter-spacing: 0.02em; }
.auth-screen .auth-brand-copy small { color: #6ed8e2; }
.auth-screen .auth-brand-message {
  position: absolute;
  bottom: 16vh;
  left: 5vw;
  max-width: 440px;
}
.auth-screen .auth-brand-message p { color: #6dd9e5; letter-spacing: 0.16em; }
.auth-screen .auth-brand-message h2 { color: #f2f8ff; font-size: clamp(26px, 3vw, 46px); font-weight: 700; letter-spacing: 0.01em; text-shadow: 0 0 28px rgba(91, 210, 235, 0.2); }
.auth-screen .auth-brand-footer { position: absolute; bottom: 28px; left: 5vw; color: #6f8c9e; }
.auth-screen .auth-content {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 100vh;
  align-items: center;
  justify-content: flex-end;
  padding: 110px 10vw 62px 52%;
}
.auth-screen .auth-card {
  position: relative;
  width: min(430px, 100%);
  padding: 34px 35px 29px;
  overflow: hidden;
  color: #eef7ff;
  background: rgba(10, 17, 29, 0.78);
  border: 1px solid rgba(123, 190, 214, 0.3);
  border-radius: 8px;
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.45), 0 0 42px rgba(82, 159, 202, 0.10);
  backdrop-filter: blur(16px);
}
.auth-screen .auth-card::before { position: absolute; top: 0; right: 0; left: 0; height: 2px; background: #67e0e9; box-shadow: 0 0 18px #67e0e9; content: ""; }
.auth-screen .auth-kicker { color: #6dd9e5; letter-spacing: 0.15em; }
.auth-screen .auth-card h1 { color: #f4fbff; font-size: 29px; }
.auth-screen .auth-subtitle { color: #8ca9b8; }
.auth-screen .auth-field span { color: #c6e5ec; }
.auth-screen .auth-field input {
  height: 48px;
  color: #effaff;
  background: rgba(4, 10, 18, 0.75);
  border-color: rgba(118, 169, 191, 0.38);
}
.auth-screen .auth-field input::placeholder { color: #607d8b; }
.auth-screen .auth-field input:hover { border-color: rgba(103, 224, 233, 0.65); }
.auth-screen .auth-field input:focus { border-color: #67e0e9; box-shadow: 0 0 0 3px rgba(103, 224, 233, 0.12), 0 0 18px rgba(103, 224, 233, 0.12); }
.auth-screen .auth-submit {
  color: #061017;
  background: #b9f6f1;
  border-color: #b9f6f1;
  box-shadow: 0 0 22px rgba(103, 224, 233, 0.24);
}
.auth-screen .auth-submit:hover { color: #fff; background: #14828d; border-color: #67e0e9; }
.auth-screen .auth-card-footer { color: #7894a1; border-top-color: rgba(119, 177, 197, 0.19); }
.auth-screen .auth-alert.error { color: #ffb8ab; background: rgba(116, 33, 37, 0.28); border-color: rgba(239, 123, 111, 0.45); }

/* Compatibility selectors for an already-running pre-redesign worker. */
body:not(.account-page) .auth-layout {
  position: relative;
  display: block;
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
  color: #eef7ff;
  background-color: #05070c;
  background-image: radial-gradient(circle at 78% 46%, rgba(79, 187, 220, 0.12), transparent 28%), radial-gradient(circle at 82% 45%, transparent 0 16%, rgba(165, 105, 220, 0.20) 16.2% 16.35%, transparent 16.6% 21%, rgba(99, 214, 230, 0.12) 21.15% 21.28%, transparent 21.6%), repeating-linear-gradient(112deg, rgba(113, 153, 187, 0.055) 0 1px, transparent 1px 92px);
}
body:not(.account-page) .auth-layout::before,
body:not(.account-page) .auth-layout::after { position: absolute; z-index: -1; content: ""; pointer-events: none; }
body:not(.account-page) .auth-layout::before { inset: 0; opacity: 0.7; background-image: radial-gradient(circle, rgba(208, 238, 255, 0.7) 0 1px, transparent 1.4px), radial-gradient(circle, rgba(147, 190, 228, 0.45) 0 1px, transparent 1.4px); background-position: 18px 30px, 94px 112px; background-size: 173px 137px, 251px 193px; }
body:not(.account-page) .auth-layout::after { top: 30%; right: 5%; width: 44vw; height: 22vw; border: 1px solid rgba(112, 222, 240, 0.28); border-radius: 50%; box-shadow: 0 0 0 14px rgba(157, 95, 210, 0.08), 0 0 45px rgba(95, 207, 235, 0.13); transform: rotate(-12deg); }
body:not(.account-page) .auth-layout .auth-brand-panel { position: absolute; z-index: 2; inset: 0; display: block; min-height: 0; padding: 27px 5vw; color: #fff; background: transparent; pointer-events: none; }
body:not(.account-page) .auth-layout .auth-brand { pointer-events: auto; }
body:not(.account-page) .auth-layout .auth-brand-mark { background: #0d1827; border-color: rgba(104, 220, 235, 0.55); box-shadow: 0 0 24px rgba(57, 205, 229, 0.22); }
body:not(.account-page) .auth-layout .auth-brand-copy strong { color: #f3fbff; }
body:not(.account-page) .auth-layout .auth-brand-copy small { color: #6ed8e2; }
body:not(.account-page) .auth-layout .auth-brand-message { position: absolute; bottom: 16vh; left: 5vw; max-width: 440px; }
body:not(.account-page) .auth-layout .auth-brand-message p { color: #6dd9e5; letter-spacing: 0.16em; }
body:not(.account-page) .auth-layout .auth-brand-message h2 { color: #f2f8ff; font-size: clamp(26px, 3vw, 46px); text-shadow: 0 0 28px rgba(91, 210, 235, 0.2); }
body:not(.account-page) .auth-layout .auth-brand-footer { position: absolute; bottom: 28px; left: 5vw; color: #6f8c9e; }
body:not(.account-page) .auth-layout .auth-content { position: relative; z-index: 1; display: flex; min-height: 100vh; align-items: center; justify-content: flex-end; padding: 110px 10vw 62px 52%; }
body:not(.account-page) .auth-layout .auth-card { position: relative; width: min(430px, 100%); padding: 34px 35px 29px; overflow: hidden; color: #eef7ff; background: rgba(10, 17, 29, 0.78); border-color: rgba(123, 190, 214, 0.3); border-radius: 8px; box-shadow: 0 24px 90px rgba(0, 0, 0, 0.45), 0 0 42px rgba(82, 159, 202, 0.10); backdrop-filter: blur(16px); }
body:not(.account-page) .auth-layout .auth-card::before { position: absolute; top: 0; right: 0; left: 0; height: 2px; background: #67e0e9; box-shadow: 0 0 18px #67e0e9; content: ""; }
body:not(.account-page) .auth-layout .auth-kicker { color: #6dd9e5; letter-spacing: 0.15em; }
body:not(.account-page) .auth-layout .auth-card h1 { color: #f4fbff; }
body:not(.account-page) .auth-layout .auth-subtitle { color: #8ca9b8; }
body:not(.account-page) .auth-layout .auth-field span { color: #c6e5ec; }
body:not(.account-page) .auth-layout .auth-field input { height: 48px; color: #effaff; background: rgba(4, 10, 18, 0.75); border-color: rgba(118, 169, 191, 0.38); }
body:not(.account-page) .auth-layout .auth-field input::placeholder { color: #607d8b; }
body:not(.account-page) .auth-layout .auth-field input:focus { border-color: #67e0e9; box-shadow: 0 0 0 3px rgba(103, 224, 233, 0.12), 0 0 18px rgba(103, 224, 233, 0.12); }
body:not(.account-page) .auth-layout .auth-submit { color: #061017; background: #b9f6f1; border-color: #b9f6f1; box-shadow: 0 0 22px rgba(103, 224, 233, 0.24); }
body:not(.account-page) .auth-layout .auth-submit:hover { color: #fff; background: #14828d; border-color: #67e0e9; }
body:not(.account-page) .auth-layout .auth-card-footer { color: #7894a1; border-top-color: rgba(119, 177, 197, 0.19); }

/* Motion layer: the scene stays lightweight and runs without external assets. */
@keyframes auth-stars-drift { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-46px, 34px, 0); } }
@keyframes auth-orbit-turn { from { transform: rotate(-12deg) rotate(0deg); } to { transform: rotate(-12deg) rotate(360deg); } }
@keyframes auth-card-rise { from { opacity: 1; transform: translate3d(0, 14px, 0); } to { opacity: 1; transform: translate3d(0, 0, 0); } }
@keyframes auth-logo-pulse { 0%, 100% { box-shadow: 0 0 18px rgba(57, 205, 229, 0.18); } 50% { box-shadow: 0 0 34px rgba(161, 109, 228, 0.38); } }
@keyframes auth-button-shimmer { 0% { transform: translateX(-120%); } 55%, 100% { transform: translateX(140%); } }
.auth-screen .auth-layout::before,
body:not(.account-page) .auth-layout::before { animation: auth-stars-drift 24s linear infinite alternate; }
.auth-screen .auth-layout::after,
body:not(.account-page) .auth-layout::after { animation: auth-orbit-turn 28s linear infinite; transform-origin: 50% 50%; }
.auth-screen .auth-card,
body:not(.account-page) .auth-layout .auth-card { animation: auth-card-rise 720ms cubic-bezier(.18,.8,.25,1) both; }
.auth-screen .auth-brand-mark,
body:not(.account-page) .auth-layout .auth-brand-mark { animation: auth-logo-pulse 4s ease-in-out infinite; }
.auth-screen .auth-submit,
body:not(.account-page) .auth-layout .auth-submit { position: relative; overflow: hidden; transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease; }
.auth-screen .auth-submit::after,
body:not(.account-page) .auth-layout .auth-submit::after { position: absolute; top: 0; bottom: 0; left: 0; width: 34%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.7), transparent); content: ""; transform: translateX(-120%); animation: auth-button-shimmer 4.2s ease-in-out infinite; }
.auth-screen .auth-submit:hover,
body:not(.account-page) .auth-layout .auth-submit:hover { transform: translateY(-2px); box-shadow: 0 0 30px rgba(103, 224, 233, 0.34); }
.auth-screen .auth-field input,
body:not(.account-page) .auth-layout .auth-field input { transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease; }
.auth-screen .auth-field input:focus,
body:not(.account-page) .auth-layout .auth-field input:focus { transform: translateY(-1px); }

@media (prefers-reduced-motion: reduce) {
  .auth-screen .auth-layout::before,
  .auth-screen .auth-layout::after,
  .auth-screen .auth-card,
  .auth-screen .auth-brand-mark,
  .auth-screen .auth-submit::after,
  body:not(.account-page) .auth-layout::before,
  body:not(.account-page) .auth-layout::after,
  body:not(.account-page) .auth-layout .auth-card,
  body:not(.account-page) .auth-layout .auth-brand-mark,
  body:not(.account-page) .auth-layout .auth-submit::after { animation: none; }
}

/* Clean, airy access palette. */
body.auth-screen,
body:not(.account-page) {
  color: #273844;
  background: #f2f6f8;
  overflow-x: hidden;
}
body.auth-screen .auth-layout,
body:not(.account-page) .auth-layout {
  color: #273844;
  background-color: #f2f6f8;
  background-image: linear-gradient(135deg, #f8fafb 0%, #edf3f5 52%, #f7f8f6 100%);
}
body.auth-screen .auth-layout::before,
body:not(.account-page) .auth-layout::before {
  opacity: .48;
  background-image: radial-gradient(circle, rgba(82,143,169,.30) 0 1px, transparent 1.4px), radial-gradient(circle, rgba(102,162,153,.22) 0 1px, transparent 1.4px);
  background-size: 173px 137px, 251px 193px;
}
body.auth-screen .auth-layout::after,
body:not(.account-page) .auth-layout::after {
  top: 27%;
  right: 7%;
  width: 39vw;
  height: 20vw;
  border-color: rgba(82,143,169,.22);
  box-shadow: 0 0 0 14px rgba(102,162,153,.07), 0 0 40px rgba(82,143,169,.08);
}
body.auth-screen .auth-brand-panel,
body:not(.account-page) .auth-layout .auth-brand-panel { color: #273844; }
body.auth-screen .auth-brand,
body:not(.account-page) .auth-layout .auth-brand { color: #243e51; }
body.auth-screen .auth-brand-mark,
body:not(.account-page) .auth-layout .auth-brand-mark { background: #f2f8f8; border-color: #9dc8c4; box-shadow: 0 8px 20px rgba(58,110,125,.10); }
body.auth-screen .auth-brand-mark i,
body:not(.account-page) .auth-layout .auth-brand-mark i { background: #4f9f99; }
body.auth-screen .auth-brand-mark i:nth-child(2),
body:not(.account-page) .auth-layout .auth-brand-mark i:nth-child(2) { background: #7bbab0; }
body.auth-screen .auth-brand-mark i:nth-child(3),
body:not(.account-page) .auth-layout .auth-brand-mark i:nth-child(3) { background: #d77d65; }
body.auth-screen .auth-brand-copy strong,
body:not(.account-page) .auth-layout .auth-brand-copy strong { color: #243e51; text-shadow: none; }
body.auth-screen .auth-brand-copy small,
body:not(.account-page) .auth-layout .auth-brand-copy small { color: #5e8e8c; }
body.auth-screen .auth-brand-message,
body:not(.account-page) .auth-layout .auth-brand-message { color: #273844; }
body.auth-screen .auth-brand-message p,
body:not(.account-page) .auth-layout .auth-brand-message p { color: #5f8d92; }
body.auth-screen .auth-brand-message h2,
body:not(.account-page) .auth-layout .auth-brand-message h2 { color: #243e51; text-shadow: none; }
body.auth-screen .auth-brand-footer,
body:not(.account-page) .auth-layout .auth-brand-footer { color: #789098; }
body.auth-screen .auth-card,
body:not(.account-page) .auth-layout .auth-card {
  color: #273844;
  background: rgba(255,255,255,.82);
  border-color: #d6e1e5;
  border-radius: 10px;
  box-shadow: 0 20px 58px rgba(47,74,89,.11), 0 2px 10px rgba(47,74,89,.05);
  backdrop-filter: blur(14px);
}
body.auth-screen .auth-card::before,
body:not(.account-page) .auth-layout .auth-card::before { background: #4f9f99; box-shadow: 0 0 12px rgba(79,159,153,.35); }
body.auth-screen .auth-kicker,
body:not(.account-page) .auth-layout .auth-kicker { color: #4e858d; }
body.auth-screen .auth-card h1,
body:not(.account-page) .auth-layout .auth-card h1 { color: #243e51; }
body.auth-screen .auth-subtitle,
body:not(.account-page) .auth-layout .auth-subtitle { color: #72838b; }
body.auth-screen .auth-field span,
body:not(.account-page) .auth-layout .auth-field span { color: #3f5965; }
body.auth-screen .auth-field input,
body:not(.account-page) .auth-layout .auth-field input { color: #273844; background: #fff; border-color: #cbd9de; }
body.auth-screen .auth-field input::placeholder,
body:not(.account-page) .auth-layout .auth-field input::placeholder { color: #9aa9ae; }
body.auth-screen .auth-field input:hover,
body:not(.account-page) .auth-layout .auth-field input:hover { border-color: #9abac5; }
body.auth-screen .auth-field input:focus,
body:not(.account-page) .auth-layout .auth-field input:focus { border-color: #5a95ae; box-shadow: 0 0 0 3px rgba(90,149,174,.12); }
body.auth-screen .auth-submit,
body:not(.account-page) .auth-layout .auth-submit { color: #fff; background: #3f8490; border-color: #3f8490; box-shadow: 0 7px 17px rgba(63,132,144,.18); }
body.auth-screen .auth-submit:hover,
body:not(.account-page) .auth-layout .auth-submit:hover { color: #fff; background: #33717c; border-color: #33717c; box-shadow: 0 9px 22px rgba(63,132,144,.24); }
body.auth-screen .auth-card-footer,
body:not(.account-page) .auth-layout .auth-card-footer { color: #7b8e96; border-top-color: #e1e8eb; }
body.auth-screen .auth-alert.error,
body:not(.account-page) .auth-layout .auth-alert.error { color: #b34f47; background: #fff4f2; border-color: #edc6c1; }

@media (max-width: 880px) {
  body.auth-screen .auth-layout::after,
  body:not(.account-page) .auth-layout::after { top: 23%; right: -20%; width: 88vw; height: 44vw; }
}

@media (max-width: 880px) {
  .auth-screen .auth-content { justify-content: center; padding: 112px 20px 45px; }
  .auth-screen .auth-brand-message { bottom: 8vh; left: 24px; opacity: 0.3; }
  .auth-screen .auth-brand-message h2 { font-size: 25px; }
  .auth-screen .auth-layout::after { top: 27%; right: -18%; width: 92vw; height: 46vw; }
}
@media (max-width: 520px) {
  .auth-screen .auth-brand-panel { padding: 19px 20px; }
  .auth-screen .auth-content { padding: 105px 16px 30px; }
  .auth-screen .auth-card { padding: 29px 22px 23px; }
  .auth-screen .auth-brand-message { display: none; }
  .auth-screen .auth-brand-footer { bottom: 16px; left: 20px; }
  body:not(.account-page) .auth-layout .auth-brand-panel { padding: 19px 20px; }
  body:not(.account-page) .auth-layout .auth-content { padding: 105px 16px 30px; }
  body:not(.account-page) .auth-layout .auth-card { padding: 29px 22px 23px; }
  body:not(.account-page) .auth-layout .auth-brand-message { display: none; }
  body:not(.account-page) .auth-layout .auth-brand-footer { bottom: 16px; left: 20px; }
}
