html:has(.auth-body) {
  color-scheme: light;
  background: #fbfafd;
  scrollbar-width: none;
}
html:has(.auth-body)::-webkit-scrollbar { width: 0; height: 0; display: none; }

.auth-body {
  --a-ink: #110e18;
  --a-ink-2: #474255;
  --a-ink-3: #6f6880;
  --a-ink-4: #9d96ab;
  --a-line: #ebe7f1;
  --a-line-2: #ddd7e7;
  --a-line-3: #cbc3d8;
  --a-canvas: #fbfafd;
  --a-surface: #ffffff;
  --a-surface-glass: rgba(255, 255, 255, 0.82);
  --a-field: #faf9fc;
  --a-autofill: #f5f0fe;
  --a-ink-hover: #2a2138;
  --a-on-ink: #ffffff;
  --a-violet: #6a2bd9;
  --a-violet-deep: #5924b9;
  --a-orchid: #bb4cc8;
  --a-violet-soft: #f1eafd;
  --a-violet-line: rgba(106, 43, 217, 0.14);
  --a-violet-ring: rgba(106, 43, 217, 0.13);
  --a-hero-edge: #efe9f5;
  --a-hero-top: #ffffff;
  --a-hero-bottom: #faf6fc;
  --a-wash-violet: rgba(141, 76, 236, 0.26);
  --a-wash-orchid: rgba(214, 120, 214, 0.22);
  --a-wash-peach: rgba(253, 204, 158, 0.62);
  --a-wash-blush: rgba(246, 214, 238, 0.8);
  --a-wash-lilac: rgba(232, 222, 255, 0.9);
  --a-shadow-ink: rgba(17, 14, 24, 0.05);
  --a-shadow-violet: rgba(68, 28, 140, 0.2);
  --a-shadow-btn: rgba(17, 14, 24, 0.55);
  --a-green: #13845a;
  --a-green-soft: #e8f6ef;
  --a-red: #c23557;
  --a-red-soft: #fdecef;
  --a-amber: #a95b07;
  --a-amber-soft: #fff4e3;
  --a-iso-lot: #f7f3fd;
  --a-iso-lot-l: #ece4f8;
  --a-iso-lot-r: #dccff1;
  --a-iso-wall-a: #efe8fb;
  --a-iso-wall-b: #e2d7f5;
  --a-iso-top-a: #7c3aed;
  --a-iso-top-dark: #4a1d9e;
  --a-iso-top-deep: #3d1786;
  --a-iso-unit-t: #e48a72;
  --a-iso-unit-r: #8f2c15;
  --a-iso-fan: #3a3247;
  --a-iso-hub: #6f6880;
  --a-iso-sheen: rgba(255, 255, 255, 0.5);
  --a-iso-shingle: rgba(255, 255, 255, 0.22);
  --a-iso-glass: #d6c8f5;
  --a-iso-brass: #f2cf8f;
  --a-iso-leaf: #c5e6d1;
  --a-iso-leaf-dark: #a9d6ba;
  --a-iso-leaf-light: #e3f4e9;
  --a-iso-trunk: #d6c3b4;
  --a-zone-reset: #2f7d4f;
  --a-zone-reset-soft: #d5ecdd;
  --a-zone-settled: #6b7680;
  --a-zone-settled-soft: #e3e7ea;
  --a-zone-watch: #a86a00;
  --a-zone-watch-soft: #f6e3bd;
  --a-zone-cliff: #b23a1e;
  --a-zone-cliff-soft: #f3cfc4;
  --a-display: "Google Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --a-font: "Google Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --pp-font: var(--a-font);
  --pp-canvas: var(--a-canvas);
  --pp-surface: var(--a-surface);
  --pp-text: var(--a-ink);
  --pp-text-muted: var(--a-ink-3);
  --pp-border: var(--a-line);
  --pp-border-strong: var(--a-line-2);
  --pp-blue: var(--a-violet);
  --pp-danger: var(--a-red);
  --pp-danger-bg: var(--a-red-soft);
  --pp-danger-border: #f5c9d3;
  --pp-success: var(--a-green);
  --pp-success-bg: var(--a-green-soft);
  --pp-success-border: #bfe6d3;
  --pp-info: var(--a-violet);
  --pp-info-bg: var(--a-violet-soft);
  --pp-info-border: #dccbfa;
  --pp-warn: var(--a-amber);
  --pp-warn-bg: var(--a-amber-soft);
  --pp-warn-border: #f6d9a8;
  --pp-neutral: var(--a-ink-3);
  --pp-neutral-bg: var(--a-field);
  --pp-neutral-border: var(--a-line);
  --rs-red: #e0456b;

  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  overflow-x: hidden;
  background: var(--a-canvas);
  color: var(--a-ink);
  font-family: var(--a-font);
  font-size: 14px;
  scrollbar-width: none;
}
.auth-body::-webkit-scrollbar { width: 0; height: 0; display: none; }
.auth-body input, .auth-body select, .auth-body textarea { color-scheme: light; }
.auth-body :focus-visible { outline: 2px solid var(--a-violet); outline-offset: 2px; }

.auth-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr);
  min-height: 100vh;
  min-height: 100dvh;
  padding: clamp(10px, 1.4vh, 16px);
  gap: clamp(10px, 1.2vw, 20px);
}

.auth-hero {
  display: flex;
  min-height: 0;
  overflow: hidden;
  padding: clamp(28px, 5.4vh, 64px) clamp(24px, 4.4vw, 68px);
  border: 1px solid var(--a-hero-edge);
  border-radius: clamp(20px, 2vw, 28px);
  background:
    radial-gradient(52% 46% at 0% 100%, var(--a-wash-violet) 0%, transparent 70%),
    radial-gradient(46% 40% at 32% 108%, var(--a-wash-orchid) 0%, transparent 72%),
    radial-gradient(55% 55% at 104% 94%, var(--a-wash-peach) 0%, transparent 70%),
    radial-gradient(44% 40% at 94% 4%, var(--a-wash-blush) 0%, transparent 72%),
    radial-gradient(40% 36% at 6% 2%, var(--a-wash-lilac) 0%, transparent 70%),
    linear-gradient(180deg, var(--a-hero-top) 0%, var(--a-hero-bottom) 100%);
}

.auth-hero-inner {
  display: flex;
  flex-direction: column;
  gap: clamp(22px, 4.4vh, 44px);
  width: 100%;
  max-width: 560px;
  margin: auto;
}

.auth-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  padding: 6px 12px 6px 8px;
  border-radius: 999px;
  background: var(--a-surface-glass);
  box-shadow: inset 0 0 0 1px var(--a-violet-line);
  font-size: 12.5px;
  line-height: 1.3;
  font-weight: 600;
  color: var(--a-violet);
}
.auth-kicker i {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: var(--a-violet);
  color: var(--a-on-ink);
  font-size: 12px;
}
.auth-kicker span { font-weight: 500; color: var(--a-ink-3); }

.auth-hero-title {
  margin: 18px 0 0;
  font-family: var(--a-display);
  font-size: clamp(32px, 3vw, 44px);
  line-height: 1.04;
  font-weight: 600;
  letter-spacing: -0.035em;
  color: var(--a-ink);
  text-wrap: balance;
}
.auth-hero-title em {
  font-style: normal;
  background: linear-gradient(92deg, var(--a-violet-deep) 0%, var(--a-violet) 45%, var(--a-orchid) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.auth-hero-sub {
  margin: 14px 0 0;
  max-width: 30em;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--a-ink-2);
}

.auth-art {
  position: relative;
  margin: 0;
  padding: 8px 0 0;
}
.auth-iso {
  display: block;
  width: min(100%, 400px);
  height: auto;
  margin: 0 auto;
}
.auth-iso .is-ground { fill: var(--a-shadow-violet); opacity: 0.5; filter: blur(7px); }
.auth-iso .is-slab-t { fill: var(--a-iso-lot); }
.auth-iso .is-slab-l { fill: var(--a-iso-lot-l); }
.auth-iso .is-slab-r { fill: var(--a-iso-lot-r); }
.auth-iso .is-tile { fill: var(--a-iso-lot-l); }
.auth-iso .is-wall-l { fill: var(--a-surface); }
.auth-iso .is-wall-r { fill: url(#authWall); }
.auth-iso .is-stop-wall-a { stop-color: var(--a-iso-wall-a); }
.auth-iso .is-stop-wall-b { stop-color: var(--a-iso-wall-b); }
.auth-iso .is-top { fill: url(#authTop); }
.auth-iso .is-stop-top-a { stop-color: var(--a-iso-top-a); }
.auth-iso .is-stop-top-b { stop-color: var(--a-orchid); }
.auth-iso .is-top-back, .auth-iso .is-fascia-dark { fill: var(--a-iso-top-dark); }
.auth-iso .is-fascia { fill: var(--a-iso-top-deep); }
.auth-iso .is-shingle { stroke: var(--a-iso-shingle); stroke-width: 1; }
.auth-iso .is-chim-l, .auth-iso .is-sill, .auth-iso .is-mail-l { fill: var(--a-surface); }
.auth-iso .is-chim-r, .auth-iso .is-mail-r { fill: var(--a-iso-wall-b); }
.auth-iso .is-chim-t, .auth-iso .is-mail-t { fill: var(--a-iso-lot-r); }
.auth-iso .is-door { fill: var(--a-violet-deep); }
.auth-iso .is-knob { fill: var(--a-iso-brass); }
.auth-iso .is-glass { fill: var(--a-iso-glass); }
.auth-iso .is-mullion { stroke: var(--a-surface); stroke-width: 1.2; }
.auth-iso .is-pad-t { fill: var(--a-surface); }
.auth-iso .is-pad-l { fill: var(--a-iso-wall-a); }
.auth-iso .is-pad-r { fill: var(--a-iso-lot-r); }
.auth-iso .is-unit-t { fill: var(--a-iso-unit-t); }
.auth-iso .is-unit-l { fill: var(--a-zone-cliff); }
.auth-iso .is-unit-r { fill: var(--a-iso-unit-r); }
.auth-iso .is-fan { fill: var(--a-iso-fan); }
.auth-iso .is-hub { fill: var(--a-iso-hub); }
.auth-iso .is-guard { stroke: var(--a-iso-hub); stroke-width: 1.6; stroke-linecap: round; }
.auth-iso .is-louvre { stroke: var(--a-iso-sheen); stroke-width: 2.2; stroke-linecap: round; }
.auth-iso .is-leaf-l { fill: var(--a-iso-leaf); }
.auth-iso .is-leaf-r { fill: var(--a-iso-leaf-dark); }
.auth-iso .is-trunk-l, .auth-iso .is-trunk-r, .auth-iso .is-trunk-t { fill: var(--a-iso-trunk); }
.auth-iso .is-post-l, .auth-iso .is-post-r, .auth-iso .is-post-t { fill: var(--a-line-3); }

.auth-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px 9px 9px;
  border-radius: 14px;
  background: var(--a-surface-glass);
  border: 1px solid var(--a-surface);
  box-shadow: 0 1px 2px var(--a-shadow-ink), 0 18px 36px -20px var(--a-shadow-violet);
  backdrop-filter: blur(10px);
  white-space: nowrap;
}
.auth-chip > i {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--a-violet-soft);
  color: var(--a-violet);
  font-size: 16px;
}
.auth-chip small { display: block; font-size: 11px; line-height: 1.3; color: var(--a-ink-3); }
.auth-chip b { display: block; font-size: 13.5px; line-height: 1.3; font-weight: 600; color: var(--a-ink); }
.auth-chip-a { top: 4%; left: 0; }
.auth-chip-b { right: 0; bottom: 16%; }
.auth-chip-b > i { background: var(--a-zone-cliff-soft); color: var(--a-zone-cliff); }

.auth-zones {
  padding: 16px 18px 14px;
  border-radius: 18px;
  background: var(--a-surface-glass);
  border: 1px solid var(--a-surface);
  box-shadow: 0 1px 2px var(--a-shadow-ink);
  backdrop-filter: blur(10px);
}
.auth-zones-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--a-ink);
}
.auth-zones-head span { font-weight: 500; color: var(--a-ink-3); }

.auth-clock-track {
  position: relative;
  display: grid;
  grid-template-columns: 4fr 6fr 5fr 5fr;
  gap: 3px;
}
.auth-clock-track span { height: 8px; border-radius: 3px; }
.auth-clock-track .z-reset { background: var(--a-zone-reset-soft); }
.auth-clock-track .z-settled { background: var(--a-zone-settled-soft); }
.auth-clock-track .z-watch { background: var(--a-zone-watch-soft); }
.auth-clock-track .z-cliff { background: var(--a-zone-cliff-soft); }
.auth-clock-track .is-on { box-shadow: inset 0 0 0 1px var(--a-zone-cliff); }
.auth-clock-mark {
  position: absolute;
  top: -5px;
  left: var(--at, 78%);
  width: 3px;
  height: 18px;
  border-radius: 2px;
  background: var(--a-ink);
  box-shadow: 0 0 0 2px var(--a-surface);
}

.auth-clock-legend {
  display: grid;
  grid-template-columns: 4fr 6fr 5fr 5fr;
  gap: 3px;
  margin-top: 8px;
  font-size: 11.5px;
  line-height: 1.3;
  color: var(--a-ink-3);
}
.auth-clock-legend b { display: block; font-size: 12px; font-weight: 600; }
.auth-clock-legend .z-reset b { color: var(--a-zone-reset); }
.auth-clock-legend .z-settled b { color: var(--a-zone-settled); }
.auth-clock-legend .z-watch b { color: var(--a-zone-watch); }
.auth-clock-legend .z-cliff b { color: var(--a-zone-cliff); }

.auth-steps-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
}
.auth-steps-bar span { height: 8px; border-radius: 3px; background: var(--a-line); }
.auth-steps-bar .is-done { background: var(--a-violet); }
.auth-steps-bar .is-now { background: var(--a-orchid); }
.auth-steps-legend {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--a-ink-4);
}
.auth-steps-legend .is-done, .auth-steps-legend .is-now { color: var(--a-ink); }

.auth-pane {
  display: flex;
  justify-content: center;
  min-height: 0;
  padding: clamp(16px, 3vh, 48px) clamp(16px, 3vw, 40px);
}

.auth-form {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 428px;
  margin-block: auto;
}

.auth-mark {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 10px;
  margin-bottom: clamp(18px, 4vh, 34px);
  color: var(--a-ink);
  text-decoration: none;
}
.auth-mark:hover { text-decoration: none; }
.auth-mark img { display: block; max-height: 34px; max-width: 200px; }
.auth-mark-badge {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--a-ink);
  color: var(--a-on-ink);
}
.auth-mark-badge svg { width: 19px; height: 19px; display: block; }
.auth-mark-text {
  font-family: var(--a-display);
  font-size: 21px;
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.auth-mark-text span { color: var(--a-violet); }

.auth-card {
  padding: clamp(22px, 4vh, 36px) clamp(20px, 3vw, 34px);
  border: 1px solid var(--a-line);
  border-radius: 24px;
  background: var(--a-surface);
  box-shadow: 0 1px 2px var(--a-shadow-ink), 0 28px 56px -34px var(--a-shadow-violet);
}

.auth-eyebrow {
  margin: 0 0 10px;
  font-size: 12.5px;
  line-height: 1;
  font-weight: 600;
  color: var(--a-violet);
}
.auth-eyebrow::before { content: "{ "; }
.auth-eyebrow::after { content: " }"; }

.auth-title {
  margin: 0;
  font-family: var(--a-display);
  font-size: clamp(28px, 2.4vw, 34px);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.035em;
  color: var(--a-ink);
}
.auth-title em { font-style: normal; color: var(--a-violet); }

.auth-lede {
  margin: 10px 0 clamp(20px, 3.4vh, 28px);
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--a-ink-3);
}

.auth-card .alert {
  margin-bottom: 20px;
  padding: 11px 14px;
  border-radius: 14px;
  font-size: 13.5px;
  line-height: 1.5;
}
.auth-card .alert::before { color: var(--a-on-ink); }

.auth-field { margin-bottom: 16px; }
.auth-field label {
  display: block;
  margin: 0 0 7px;
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
  color: var(--a-ink);
}
.auth-label-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 7px;
}
.auth-label-row label { margin: 0; }
.auth-label-row a { font-size: 12.5px; font-weight: 600; color: var(--a-violet); }
.auth-label-row a:hover { text-decoration: underline; text-underline-offset: 3px; }

.auth-input { position: relative; display: block; }
.auth-input input {
  width: 100%;
  height: 50px;
  padding: 0 14px 0 44px;
  border: 1px solid var(--a-line-2);
  border-radius: 14px;
  background: var(--a-field);
  color: var(--a-ink);
  font: 500 14.5px/1 var(--a-font);
  box-shadow: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.auth-input input::placeholder { color: var(--a-ink-4); }
.auth-input input:hover:not(:focus) { border-color: var(--a-line-3); }
.auth-input input:focus {
  outline: none;
  border-color: var(--a-violet);
  background: var(--a-surface);
  box-shadow: 0 0 0 4px var(--a-violet-ring);
}
.auth-input input:-webkit-autofill,
.auth-input input:-webkit-autofill:hover,
.auth-input input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--a-ink);
  -webkit-box-shadow: 0 0 0 1000px var(--a-autofill) inset;
  caret-color: var(--a-ink);
}
.auth-input > i {
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  font-size: 18px;
  line-height: 1;
  color: var(--a-ink-4);
  pointer-events: none;
  transition: color 0.15s ease;
}
.auth-input input:focus ~ i { color: var(--a-violet); }
.auth-input.has-peek input { padding-right: 48px; }

.auth-peek {
  position: absolute;
  top: 50%;
  right: 7px;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--a-ink-4);
  font-size: 18px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.auth-peek:hover { background: var(--a-violet-soft); color: var(--a-violet); }

.auth-hint { margin: 7px 0 0; font-size: 12px; line-height: 16px; color: var(--a-ink-3); }

.auth-body .auth-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 52px;
  margin-top: 24px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: var(--a-ink);
  color: var(--a-on-ink) !important;
  font: 600 15px/1 var(--a-font);
  cursor: pointer;
  box-shadow: 0 14px 28px -18px var(--a-shadow-btn);
  transition: background 0.15s ease, box-shadow 0.15s ease;
}
.auth-body .auth-submit:hover { background: var(--a-ink-hover); box-shadow: 0 16px 30px -18px var(--a-shadow-violet); }
.auth-body .auth-submit:focus-visible { outline: 3px solid var(--a-violet-ring); outline-offset: 3px; }
.auth-submit i { font-size: 17px; }

.auth-alt {
  margin: 20px 0 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--a-ink-3);
  text-align: center;
}
.auth-alt a { font-weight: 600; color: var(--a-violet); text-decoration: none; }
.auth-alt a:hover { text-decoration: underline; text-underline-offset: 3px; }

.auth-legal { margin-top: clamp(18px, 3vh, 28px); }
.auth-legal .pp-credit { color: var(--a-ink-3); font-size: 12px; }

@media (max-width: 980px) {
  .auth-shell { grid-template-columns: minmax(0, 1fr); padding: 10px; gap: 10px; }
  .auth-hero { order: 2; padding: 36px 22px 32px; border-radius: 22px; }
  .auth-hero-inner { max-width: 600px; }
  .auth-hero-title { max-width: none; font-size: 32px; }
  .auth-pane { order: 1; padding: 28px 8px 36px; }
}

@media (max-width: 560px) {
  .auth-card { padding: 24px 18px; border-radius: 20px; }
  .auth-title { font-size: 28px; }
  .auth-hero-title { font-size: 29px; }
  .auth-art { padding-top: 40px; }
  .auth-chip-a { top: 0; }
  .auth-chip-b { bottom: 4%; }
  .auth-chip { padding: 7px 10px 7px 7px; }
  .auth-chip > i { width: 26px; height: 26px; font-size: 14px; }
  .auth-chip b { font-size: 12.5px; }
  .auth-clock-legend { font-size: 10.5px; }
  .auth-clock-legend b { font-size: 11px; }
}

@media (min-width: 981px) and (max-height: 760px) {
  .auth-hero { padding-block: 24px; }
  .auth-hero-inner { gap: 18px; }
  .auth-hero-title { margin-top: 12px; font-size: clamp(30px, 2.8vw, 38px); }
  .auth-hero-sub { margin-top: 10px; font-size: 14.5px; }
  .auth-iso { width: min(100%, 300px); }
  .auth-mark { margin-bottom: 16px; }
  .auth-field { margin-bottom: 12px; }
  .auth-input input { height: 46px; }
  .auth-body .auth-submit { min-height: 48px; margin-top: 18px; }
  .auth-lede { margin-bottom: 18px; }
}

@media (min-width: 981px) {
  .auth-hero-title span { display: block; }
}

/* Product logo from Config\App on the sign in pages */
.auth-mark img.auth-mark-logo { max-height: 36px; max-width: 230px; }
.auth-mark-badge img { display: block; width: 100%; height: 100%; object-fit: contain; }
.auth-mark-badge:has(img) { background: none; }
