:root {
  --auth-ink: #0f172a;
  --auth-muted: #64748b;
  --auth-panel: #ffffffe6;
  --auth-panel-border: #ded6c8;
  --auth-sand: #f3efe7;
  --auth-navy: #03162b;
  --auth-navy-soft: #08213d;
  --auth-teal: #0f766e;
  --auth-gold: #b98b45;
  --auth-gold-soft: #d6a84f;
  --auth-radius: 0.75rem;
  --auth-shadow: 0 25px 50px -24px rgba(2, 6, 23, 0.34);
}

*,
::before,
::after {
  box-sizing: border-box;
  border: 0 solid currentColor;
}

html {
  min-height: 100%;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  tab-size: 4;
}

body {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
}

.app-shell-body {
  min-height: 100svh;
  overflow: hidden;
  color: var(--auth-ink);
  background: var(--auth-sand);
  font-family: var(--font-ui), Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.material-symbols-rounded {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  letter-spacing: 0;
  vertical-align: middle;
}

.min-h-\[100svh\] {
  min-height: 100svh;
}

.h-full {
  height: 100%;
}

.overflow-hidden {
  overflow: hidden;
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.inset-0 {
  inset: 0;
}

.inset-y-0 {
  top: 0;
  bottom: 0;
}

.right-0 {
  right: 0;
}

.block {
  display: block;
}

.flex {
  display: flex;
}

.inline-flex {
  display: inline-flex;
}

.grid {
  display: grid;
}

.items-center {
  align-items: center;
}

.items-start {
  align-items: flex-start;
}

.justify-center {
  justify-content: center;
}

.justify-end {
  justify-content: flex-end;
}

.flex-1 {
  flex: 1 1 0%;
}

.flex-col {
  flex-direction: column;
}

.w-full {
  width: 100%;
}

.w-12 {
  width: 3rem;
}

.h-4 {
  height: 1rem;
}

.w-4 {
  width: 1rem;
}

.h-px {
  height: 1px;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-3 {
  gap: 0.75rem;
}

.gap-4 {
  gap: 1rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-5 {
  margin-bottom: 1.25rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-0\.5 {
  margin-top: 0.125rem;
}

.ms-3 {
  margin-inline-start: 0.75rem;
}

.pt-1 {
  padding-top: 0.25rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.pr-12 {
  padding-right: 3rem;
}

.text-center {
  text-align: center;
}

.text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}

.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.text-\[10px\] {
  font-size: 10px;
}

.text-\[18px\] {
  font-size: 18px;
}

.text-\[20px\] {
  font-size: 20px;
}

.font-semibold {
  font-weight: 600;
}

.font-bold {
  font-weight: 700;
}

.font-black {
  font-weight: 900;
}

.uppercase {
  text-transform: uppercase;
}

.tracking-\[0\.14em\] {
  letter-spacing: 0.14em;
}

.cursor-pointer {
  cursor: pointer;
}

.overflow-hidden {
  overflow: hidden;
}

.rounded {
  border-radius: 0.25rem;
}

.rounded-xl {
  border-radius: var(--auth-radius);
}

.rounded-r-xl {
  border-top-right-radius: var(--auth-radius);
  border-bottom-right-radius: var(--auth-radius);
}

.border {
  border-width: 1px;
}

.bg-white {
  background: #ffffff;
}

.bg-emerald-500\/10 {
  background: rgba(16, 185, 129, 0.1);
}

.border-emerald-500\/20 {
  border-color: rgba(16, 185, 129, 0.2);
}

.text-emerald-700 {
  color: #047857;
}

.text-rose-600 {
  color: #e11d48;
}

.text-ops-400 {
  color: #94a3b8;
}

.text-ops-500 {
  color: #64748b;
}

.text-ops-600 {
  color: #475569;
}

.text-tech-700 {
  color: #0f766e;
}

.text-white {
  color: #ffffff;
}

.bg-ops-200 {
  background: #e2e8f0;
}

.transition-colors {
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.transition-all {
  transition: all 160ms ease;
}

.transition-transform {
  transition: transform 160ms ease;
}

.opacity-0 {
  opacity: 0;
}

.scale-0 {
  transform: scale(0);
}

.space-y-1 > :not([hidden]) ~ :not([hidden]) {
  margin-top: 0.25rem;
}

.space-y-4 > :not([hidden]) ~ :not([hidden]) {
  margin-top: 1rem;
}

.space-y-5 > :not([hidden]) ~ :not([hidden]) {
  margin-top: 1.25rem;
}

.ops-brand-wordmark,
.ops-auth-wordmark {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  max-width: 100%;
  height: 3rem;
  width: min(14rem, 82vw);
  border-radius: 0;
}

.ops-auth-form-brand .ops-auth-wordmark.ops-brand-wordmark {
  height: clamp(3.5rem, 8vh, 4rem);
  width: min(12rem, 76vw);
}

.ops-brand-wordmark:focus {
  outline: none;
}

.ops-brand-wordmark:focus-visible {
  outline: 2px solid rgba(45, 212, 191, 0.7);
  outline-offset: 4px;
}

.ops-brand-wordmark-media {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.ops-auth-shell {
  display: grid;
  inline-size: min(100%, 100vw);
  block-size: min(100svh, 100vh);
  min-block-size: min(100svh, 100vh);
  max-block-size: min(100svh, 100vh);
  overflow: hidden;
  color: #020617;
  color-scheme: light;
  background: var(--auth-sand);
}

.ops-auth-layout {
  display: grid;
  block-size: 100%;
  min-block-size: 0;
}

@media (min-width: 80rem) {
  .ops-auth-layout {
    grid-template-columns: minmax(0, 1.38fr) minmax(430px, 0.72fr);
  }
}

.ops-auth-visual {
  isolation: isolate;
  display: none;
  position: relative;
  min-height: 0;
  overflow: hidden;
  color: #ffffff;
  background: radial-gradient(circle at 78% 4%, rgba(37, 99, 235, 0.18), transparent 30rem), linear-gradient(#061b34 0%, #031226 45%, #020b17 100%);
}

@media (min-width: 80rem) {
  .ops-auth-visual {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    row-gap: clamp(1rem, 2.2vh, 1.75rem);
    block-size: 100%;
    inline-size: min(100vw, 100%);
    padding: clamp(1.5rem, 2.2vw, 3rem);
  }
}

.ops-auth-visual::before,
.ops-auth-visual::after {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: -1;
}

.ops-auth-visual::before {
  background: linear-gradient(90deg, rgba(2, 20, 40, 0.98) 0%, rgba(2, 20, 40, 0.84) 28%, rgba(2, 20, 40, 0.36) 62%, rgba(2, 20, 40, 0.88) 100%), linear-gradient(rgba(2, 20, 40, 0.08), rgba(2, 6, 23, 0.96) 74%);
}

.ops-auth-visual::after {
  opacity: 0.35;
  background-image: linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(#000, transparent 82%);
}

.ops-auth-property-scene {
  pointer-events: none;
  position: absolute;
  top: 0;
  right: 0;
  z-index: -2;
  width: 64%;
  block-size: min(42vh, 32rem);
  max-block-size: min(32rem, 42vh);
  background-image: url("/images/auth/login-townhomes-night.png");
  background-position: center;
  background-size: cover;
  opacity: 0.95;
}

.ops-auth-visual-content {
  position: relative;
  z-index: 10;
  display: grid;
  min-height: 0;
  grid-template-rows: auto minmax(0, 1fr);
  row-gap: clamp(1rem, 2vh, 1.6rem);
}

.ops-auth-visual-copy {
  max-width: 34rem;
}

.ops-auth-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  color: var(--auth-gold-soft);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.ops-auth-eyebrow span {
  height: 1px;
  width: 2rem;
  background: var(--auth-gold-soft);
}

.ops-auth-title {
  max-width: 42rem;
  margin: clamp(0.75rem, 1.4vh, 1.25rem) 0 0;
  color: #ffffff;
  font-family: var(--font-display), var(--font-ui), sans-serif;
  font-size: clamp(2.15rem, 3.05vw, 3.35rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0;
}

.ops-auth-subtitle {
  max-width: 28rem;
  margin: clamp(0.75rem, 1.4vh, 1.25rem) 0 0;
  color: #e2e8f0;
  font-size: 15px;
  line-height: 1.75;
}

.ops-auth-showcase {
  display: grid;
  align-items: center;
  min-height: 0;
  max-width: 68rem;
  gap: clamp(1rem, 2vw, 1.75rem);
  block-size: 100%;
}

@media (min-width: 80rem) {
  .ops-auth-showcase {
    grid-template-columns: minmax(12.5rem, 15rem) minmax(0, 1fr);
  }
}

.ops-auth-benefit-list {
  display: grid;
  align-self: center;
  gap: clamp(1rem, 2vh, 1.5rem);
  padding-bottom: clamp(0.5rem, 1.5vh, 1.5rem);
}

.ops-auth-benefit {
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr);
  gap: 0.75rem;
  padding-bottom: clamp(1rem, 2vh, 1.5rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.ops-auth-benefit:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.ops-auth-benefit > .material-symbols-rounded {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  color: var(--auth-gold-soft);
  font-size: 28px;
}

.ops-auth-benefit h2 {
  margin: 0;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 800;
}

.ops-auth-benefit p {
  margin: 0.25rem 0 0;
  color: #cbd5e1;
  font-size: 0.875rem;
  line-height: 1.5rem;
}

.ops-auth-dashboard-frame {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  inline-size: 100%;
  block-size: min(100%, 34rem);
  max-block-size: 100%;
  margin: 0;
  padding: 0.5rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
  background: #071221;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.ops-auth-dashboard-frame::before {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 10;
  border-radius: 1rem;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.ops-auth-dashboard-frame img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 1696 / 1269;
  border-radius: 0.5rem;
  object-fit: contain;
  object-position: center;
}

.ops-auth-feature-grid {
  position: relative;
  z-index: 10;
  display: grid;
  max-width: 58rem;
  min-block-size: clamp(4.5rem, 7.5vh, 5.4rem);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(18px);
}

@media (min-width: 40rem) {
  .ops-auth-feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.ops-auth-feature-card {
  display: flex;
  align-items: center;
  min-height: clamp(4.5rem, 8vh, 5.25rem);
  gap: 1rem;
  padding: clamp(0.75rem, 1.4vh, 1rem) 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  text-align: left;
}

@media (min-width: 40rem) {
  .ops-auth-feature-card {
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 0;
  }
}

.ops-auth-feature-card:last-child {
  border-right: 0;
  border-bottom: 0;
}

.ops-auth-feature-card > .material-symbols-rounded {
  color: var(--auth-gold-soft);
  font-size: 31px;
}

.ops-auth-feature-card strong,
.ops-auth-feature-card small {
  display: block;
}

.ops-auth-feature-card strong {
  font-size: 0.875rem;
  font-weight: 800;
}

.ops-auth-feature-card small {
  margin-top: 0.25rem;
  color: #cbd5e1;
  font-size: 0.75rem;
  line-height: 1.25rem;
}

.ops-auth-form-area {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  block-size: 100%;
  inline-size: min(100vw, 100%);
  overflow: hidden;
  padding: clamp(1rem, 2.2vh, 1.8rem) clamp(1rem, 3.5vw, 2.75rem);
  background-color: var(--auth-sand);
  background-image: radial-gradient(circle at 98% 72%, rgba(184, 155, 103, 0.18), transparent 17rem), linear-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(15, 23, 42, 0.03) 1px, transparent 1px);
  background-size: 100% 100%, 32px 32px, 32px 32px;
}

.ops-auth-form-area::after {
  content: "";
  pointer-events: none;
  position: absolute;
  right: 0;
  bottom: 0;
  width: 14rem;
  height: 14rem;
  opacity: 0.35;
  background: radial-gradient(at 100% 100%, rgba(105, 117, 86, 0.38), transparent 64%), linear-gradient(135deg, transparent 52%, rgba(105, 117, 86, 0.2) 53%, transparent 56%);
}

.ops-auth-form-shell {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: min(27.5rem, 88vw);
}

.ops-auth-form-brand {
  display: flex;
  justify-content: center;
  margin-bottom: clamp(0.9rem, 2.7vh, 1.8rem);
}

.ops-auth-card-header {
  margin-bottom: clamp(0.85rem, 1.9vh, 1.4rem);
}

.ops-auth-card-header > :not(:last-child) {
  margin-bottom: 0.75rem;
}

.ops-auth-card-eyebrow {
  margin: 0;
  color: var(--auth-gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.ops-auth-card-title {
  margin: 0;
  color: #0b172a;
  font-family: var(--font-display), var(--font-ui), sans-serif;
  font-size: clamp(1.55rem, 2.4vw, 1.95rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
}

.ops-auth-card-copy {
  max-width: 24rem;
  margin: 0;
  color: #5f6573;
  font-size: clamp(0.95rem, 1.9vw, 1rem);
  line-height: 1.7;
}

.ops-auth-card {
  padding: clamp(1.15rem, 2.4vw, 1.55rem);
  border: 1px solid var(--auth-panel-border);
  border-radius: 1rem;
  background: var(--auth-panel);
  box-shadow: var(--auth-shadow);
}

.ops-auth-card a {
  overflow-wrap: break-word;
}

.ops-auth-card label {
  color: #1f2937;
}

.ops-auth-login-form label,
.ops-auth-card label.mb-2 {
  display: block;
  margin-bottom: 0.5rem;
  color: #4b5563;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ops-auth-card .ui-input,
.ops-auth-card input[type="email"],
.ops-auth-card input[type="password"],
.ops-auth-card input[type="text"] {
  display: block;
  width: 100%;
  min-height: clamp(2.75rem, 5.6vh, 3.15rem);
  padding: 0.75rem 1rem;
  border: 1px solid #cfc7ba;
  border-radius: var(--auth-radius);
  background: #ffffff;
  color: #172034;
  font-size: 1rem;
  line-height: 1.5;
  box-shadow: inset 0 2px 4px rgba(2, 6, 23, 0.05);
}

.ops-auth-card input[type="password"].pr-12 {
  padding-right: 3rem;
}

.ops-auth-card .ui-input::placeholder,
.ops-auth-card input::placeholder {
  color: #8b8f99;
}

.ops-auth-card .ui-input:focus,
.ops-auth-card input[type="email"]:focus,
.ops-auth-card input[type="password"]:focus,
.ops-auth-card input[type="text"]:focus {
  border-color: var(--auth-teal);
  outline: 2px solid rgba(15, 118, 110, 0.2);
  outline-offset: 0;
}

.ops-auth-login-form button[data-password-visibility-toggle] {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  width: 3rem;
  align-items: center;
  justify-content: center;
  border-top-right-radius: var(--auth-radius);
  border-bottom-right-radius: var(--auth-radius);
  color: #64748b;
  background: transparent;
  transition: color 160ms ease, background-color 160ms ease;
}

.ops-auth-login-form button[data-password-visibility-toggle]:hover {
  color: var(--auth-teal);
  background: rgba(15, 118, 110, 0.06);
}

.ops-auth-login-form button[data-password-visibility-toggle]:focus-visible {
  outline: 2px solid rgba(15, 118, 110, 0.45);
  outline-offset: 2px;
}

.ops-auth-login-form a {
  color: var(--auth-teal);
  font-weight: 700;
  transition: color 160ms ease;
}

.ops-auth-login-form a:hover {
  color: #064e3b;
}

.ops-auth-login-form label[for="remember_me"] {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0;
  cursor: pointer;
  text-transform: none;
  letter-spacing: 0;
}

.ops-auth-login-form label[for="remember_me"] > span:first-child {
  position: relative;
  display: inline-flex;
  width: 1rem;
  height: 1rem;
  overflow: hidden;
  border: 1px solid #cbd5e1;
  border-radius: 0.25rem;
  background: #ffffff;
  transition: border-color 160ms ease;
}

.ops-auth-login-form label[for="remember_me"]:hover > span:first-child {
  border-color: var(--auth-teal);
}

#remember_me {
  position: absolute;
  inset: 0;
  z-index: 1;
  cursor: pointer;
  opacity: 0;
}

#remember_me + span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: #c29651;
  transform: scale(0);
  transition: transform 160ms ease;
}

#remember_me:checked + span {
  transform: scale(1);
}

.ops-auth-login-form label[for="remember_me"] > span:last-child {
  margin-inline-start: 0.75rem;
  color: #475569;
  font-size: 0.875rem;
  font-weight: 600;
}

.ops-auth-card .ui-btn-primary,
.ops-auth-card button[type="submit"] {
  display: inline-flex;
  min-height: clamp(2.75rem, 5.6vh, 3.15rem);
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: var(--auth-radius);
  background: var(--auth-navy);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  box-shadow: 0 20px 25px -14px rgba(3, 22, 43, 0.35);
  transition: background-color 160ms ease, box-shadow 160ms ease;
}

.ops-auth-card .ui-btn-primary:hover,
.ops-auth-card button[type="submit"]:hover {
  background: var(--auth-navy-soft);
}

.ops-auth-card .ui-btn-primary:focus-visible,
.ops-auth-card button[type="submit"]:focus-visible {
  outline: 2px solid rgba(15, 118, 110, 0.45);
  outline-offset: 2px;
}

.ops-auth-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: #e11d48;
  font-size: 0.875rem;
  font-weight: 600;
}

.ops-auth-footer {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: clamp(0.85rem, 1.8vh, 1.4rem);
  padding-top: clamp(0.7rem, 1.4vh, 1.2rem);
  border-top: 1px solid #d6cdbf;
  color: #73706a;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5rem;
}

.ops-auth-footer .material-symbols-rounded {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  color: #9ca3af;
  font-size: 26px;
}

[aria-label="OAuth sign-in options"] > .flex {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #94a3b8;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

[aria-label="OAuth sign-in options"] > .flex span:first-child,
[aria-label="OAuth sign-in options"] > .flex span:last-child {
  height: 1px;
  flex: 1 1 0%;
  background: #e2e8f0;
}

.oauth-provider-button {
  position: relative;
  display: inline-flex;
  min-height: clamp(2.75rem, 5.6vh, 3.15rem);
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 0.72rem;
  border: 1px solid #d6dce8;
  border-radius: var(--auth-radius);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  color: #172034;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0;
  box-shadow: 0 12px 24px -20px rgba(2, 6, 23, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.92);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease, color 160ms ease;
}

.oauth-provider-button:hover {
  transform: translateY(-1px);
  border-color: #9db9f5;
  background: #ffffff;
  color: #111827;
  box-shadow: 0 16px 34px -24px rgba(66, 133, 244, 0.85), 0 0 0 3px rgba(66, 133, 244, 0.08);
}

.oauth-provider-button:active {
  transform: translateY(0);
}

.oauth-provider-button:focus-visible {
  outline: 2px solid #4285f4;
  outline-offset: 2px;
}

.oauth-provider-button.is-oauth-loading {
  pointer-events: none;
  border-color: rgba(15, 148, 136, 0.38);
  color: var(--auth-teal);
  box-shadow: 0 16px 34px -24px rgba(15, 148, 136, 0.72), 0 0 0 3px rgba(15, 148, 136, 0.08);
}

.oauth-provider-button.is-oauth-loading::after {
  content: "";
  position: absolute;
  right: 0.95rem;
  width: 1rem;
  height: 1rem;
  border: 2px solid rgba(15, 148, 136, 0.22);
  border-top-color: #0f9488;
  border-radius: 999px;
  animation: oauth-provider-spin 0.8s linear infinite;
}

@keyframes oauth-provider-spin {
  to {
    transform: rotate(360deg);
  }
}

.oauth-provider-status {
  min-height: 1.05rem;
  margin: -0.4rem 0 0;
  color: #64748b;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}

.oauth-provider-status.is-error {
  color: #b42318;
}

.oauth-provider-icon {
  display: inline-flex;
  width: 1.55rem;
  height: 1.55rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.12);
}

.oauth-provider-icon svg {
  display: block;
  width: 1.18rem;
  height: 1.18rem;
}

.oauth-provider-icon .material-symbols-rounded {
  color: #334155;
  font-size: 1.2rem;
}

.oauth-provider-button-google {
  border-color: #d8e0ee;
}

.oauth-auth-divider {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: #7d8694;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1;
}

.oauth-auth-divider span:nth-child(2) {
  position: relative;
  z-index: 1;
  padding: 0.34rem 0.62rem 0.32rem;
  border: 1px solid rgba(222, 214, 200, 0.95);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 250, 252, 0.86));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96), 0 8px 16px -14px rgba(2, 6, 23, 0.45);
}

.oauth-auth-divider span:first-child,
.oauth-auth-divider span:last-child {
  position: relative;
  height: 1px;
  flex: 1 1 0%;
  overflow: visible;
}

.oauth-auth-divider span:first-child {
  background: linear-gradient(90deg, transparent 0%, rgba(222, 214, 200, 0.78) 34%, rgba(185, 139, 69, 0.62) 72%, rgba(66, 133, 244, 0.56) 100%);
}

.oauth-auth-divider span:last-child {
  background: linear-gradient(90deg, rgba(66, 133, 244, 0.56) 0%, rgba(185, 139, 69, 0.62) 28%, rgba(222, 214, 200, 0.78) 66%, transparent 100%);
}

.oauth-auth-divider span:first-child::after,
.oauth-auth-divider span:last-child::before {
  content: "";
  position: absolute;
  top: 50%;
  width: 3px;
  height: 3px;
  transform: translateY(-50%) rotate(45deg);
  border-radius: 1px;
  background: var(--auth-gold);
}

.oauth-auth-divider span:first-child::after {
  right: -1px;
}

.oauth-auth-divider span:last-child::before {
  left: -1px;
}

@media (max-width: 1279px) {
  .ops-auth-layout {
    display: block;
  }

  .ops-auth-form-area {
    min-height: 0;
    padding-block: clamp(1rem, 2.4vh, 1.9rem);
    padding-inline: clamp(1rem, 4vw, 2.25rem);
  }

  .ops-auth-form-brand {
    margin-bottom: clamp(0.75rem, 2.2vh, 1.25rem);
  }
}

@media (min-width: 1280px) and (max-height: 820px) {
  .ops-auth-visual {
    row-gap: clamp(0.75rem, 1.8vh, 1rem);
    padding: clamp(1.25rem, 2.1vw, 1.9rem);
  }

  .ops-auth-title {
    margin-top: 0.65rem;
    font-size: clamp(2rem, 2.75vw, 2.9rem);
    line-height: 1.03;
  }

  .ops-auth-subtitle {
    margin-top: 0.75rem;
    font-size: 0.93rem;
    line-height: 1.6;
  }

  .ops-auth-benefit-list {
    gap: clamp(0.65rem, 1.4vh, 0.9rem);
    padding-bottom: 0;
  }

  .ops-auth-benefit {
    gap: 0.7rem;
    padding-bottom: clamp(0.65rem, 1.4vh, 0.9rem);
  }

  .ops-auth-dashboard-frame {
    block-size: min(100%, 29rem);
  }

  .ops-auth-feature-card {
    min-height: 4.4rem;
    gap: 0.85rem;
    padding: 0.7rem 1rem;
  }
}

@media (max-width: 639px) {
  .ops-auth-form-area {
    align-items: flex-start;
    padding: clamp(1rem, 2.8vh, 1.5rem) 1rem;
  }

  .ops-auth-card {
    padding: 1rem;
  }

  .ops-auth-card-title {
    font-size: 1.5rem;
  }
}

.dark .app-shell-body,
.dark .ops-auth-shell {
  color: #f8fafc;
  background: #0b0e14;
}

.dark .ops-auth-form-area {
  background-color: #0b0e14;
  background-image: radial-gradient(circle at 98% 72%, rgba(20, 184, 166, 0.12), transparent 17rem), linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
}

.dark .ops-auth-card {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(15, 23, 42, 0.9);
  box-shadow: 0 25px 50px -24px rgba(0, 0, 0, 0.65);
}

.dark .ops-auth-card-title,
.dark .ops-auth-card label,
.dark .ops-auth-login-form label {
  color: #f8fafc;
}

.dark .ops-auth-card-copy,
.dark .ops-auth-login-form label[for="remember_me"] > span:last-child {
  color: #cbd5e1;
}

.dark .ops-auth-card .ui-input,
.dark .ops-auth-card input[type="email"],
.dark .ops-auth-card input[type="password"],
.dark .ops-auth-card input[type="text"] {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(2, 6, 23, 0.82);
  color: #ffffff;
}

.dark .ops-auth-login-form button[data-password-visibility-toggle] {
  color: #94a3b8;
}

.dark .ops-auth-footer {
  border-color: rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
}

.dark [aria-label="OAuth sign-in options"] > .flex {
  color: #94a3b8;
}

.dark [aria-label="OAuth sign-in options"] > .flex span:first-child,
.dark [aria-label="OAuth sign-in options"] > .flex span:last-child {
  background: rgba(255, 255, 255, 0.12);
}

.dark .oauth-provider-button {
  border-color: rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.95), rgba(2, 6, 23, 0.92));
  color: #f8fafc;
}

.dark .oauth-provider-icon {
  background: #ffffff;
}

.dark .oauth-auth-divider {
  color: #aab3c2;
}

.dark .oauth-auth-divider span:nth-child(2) {
  border-color: rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.88), rgba(3, 22, 43, 0.82));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 8px 16px -14px rgba(0, 0, 0, 0.8);
}

@media (prefers-reduced-motion: reduce) {
  *,
  ::before,
  ::after {
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
  }
}
