.nw-auth {
  color-scheme: dark;
  --auth-night: #070b0f;
  --auth-night-deep: #030609;
  --auth-steel: #20262e;
  --auth-panel: rgba(10, 16, 21, .9);
  --auth-panel-strong: rgba(8, 13, 17, .97);
  --auth-well: rgba(3, 8, 11, .78);
  --auth-line: rgba(156, 170, 172, .21);
  --auth-line-strong: rgba(179, 138, 69, .43);
  --auth-ivory: #e9dfce;
  --auth-muted: #969995;
  --auth-muted-low: #687277;
  --auth-brass: #9f773e;
  --auth-amber: #d3912e;
  --auth-cyan: #32bec6;
  --auth-green: #56846b;
  --auth-danger: #d46b63;
  --auth-focus: #50d3dc;
  --auth-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --auth-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  min-height: 100%;
  background: var(--auth-night);
}

.nw-auth *, .nw-auth *::before, .nw-auth *::after { box-sizing: border-box; }

.nw-auth body {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 34% 48%, rgba(28, 125, 132, .075), transparent 33%),
    radial-gradient(circle at 77% 58%, rgba(151, 103, 37, .065), transparent 31%),
    linear-gradient(118deg, #05090c, var(--auth-night) 46%, var(--auth-night-deep));
  color: var(--auth-ivory);
  font: 15px/1.5 var(--auth-sans);
}

.nw-auth body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  /* The handoff calls for chronometer/circuit drafting, not a page-wide
     graph-paper grid. These sparse registration paths deliberately stop short
     of becoming axes or faux telemetry. */
  background-image:
    repeating-radial-gradient(circle at 35% 51%, transparent 0 47px, rgba(179, 138, 69, .042) 48px 49px, transparent 50px 78px),
    linear-gradient(117deg, transparent 0 18%, rgba(83, 136, 142, .045) 18% calc(18% + 1px), transparent calc(18% + 1px) 69%, rgba(83, 136, 142, .032) 69% calc(69% + 1px), transparent calc(69% + 1px)),
    radial-gradient(ellipse at 12% 82%, transparent 0 42%, rgba(83, 136, 142, .04) 42% calc(42% + 1px), transparent calc(42% + 1px));
  background-size: auto;
  -webkit-mask-image: linear-gradient(90deg, #000, rgba(0,0,0,.82) 52%, transparent 95%);
  mask-image: linear-gradient(90deg, #000, rgba(0,0,0,.82) 52%, transparent 95%);
  opacity: .72;
}

.nw-auth body::after {
  content: "";
  position: fixed;
  inset: auto 0 0;
  height: 132px;
  pointer-events: none;
  border-top: 1px solid rgba(91, 131, 134, .08);
  background:
    linear-gradient(90deg, transparent 0 6%, rgba(44, 169, 177, .26) 6% calc(6% + 1px), transparent calc(6% + 1px) 91%, rgba(44, 169, 177, .22) 91% calc(91% + 1px), transparent calc(91% + 1px)),
    linear-gradient(0deg, rgba(1, 4, 6, .62), transparent);
}

.nw-auth a { color: inherit; }
.nw-auth button, .nw-auth input { font: inherit; }

.nw-auth .auth-header,
.nw-auth .auth-footer {
  position: relative;
  z-index: 3;
  width: min(1472px, calc(100% - 64px));
  margin-inline: auto;
}

.nw-auth .auth-header {
  display: flex;
  min-height: 108px;
  padding: 15px 2px 13px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(151, 167, 169, .13);
}

.nw-auth .auth-brand {
  display: inline-flex;
  gap: 14px;
  align-items: center;
  color: var(--auth-ivory);
  text-decoration: none;
}
.nw-auth .auth-brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  transform: translateY(1px);
  filter: saturate(.9) contrast(1.03);
}
.nw-auth .auth-brand span, .nw-auth .auth-brand b, .nw-auth .auth-brand small { display: block; }
.nw-auth .auth-brand b { font-size: 21px; font-weight: 470; letter-spacing: .39em; }
.nw-auth .auth-brand small {
  position: relative;
  margin-top: 9px;
  padding-top: 7px;
  color: var(--auth-amber);
  font: 7px/1.2 var(--auth-mono);
  letter-spacing: .2em;
  text-transform: uppercase;
}
.nw-auth .auth-brand small::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, var(--auth-brass), rgba(179,138,69,.14));
}
.nw-auth .auth-clock { color: var(--auth-muted-low); font: 9px var(--auth-mono); letter-spacing: .14em; }

.nw-auth .auth-shell {
  position: relative;
  isolation: isolate;
  z-index: 2;
  display: grid;
  width: min(1472px, calc(100% - 64px));
  min-height: min(866px, calc(100vh - 211px));
  margin: 0 auto;
  padding: 6px 0 40px;
  grid-template-columns: minmax(0, 1.05fr) minmax(520px, .95fr);
  gap: 40px;
  align-items: start;
  animation: nw-auth-acquire 360ms ease-out both;
}
.nw-auth .auth-shell::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 6px 0 40px;
  pointer-events: none;
  background-image:
    linear-gradient(90deg, rgba(3,8,11,.88) 0 8%, rgba(3,8,11,.58) 36%, rgba(3,8,11,.22) 58%, rgba(3,8,11,.72) 100%),
    url('/ui/assets/brand/lunar-canon-2026-08-17/login/nightwatch-login-dish-desktop-1536x1024-q88.webp?v=0d4d99c3b74a97ae');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.nw-auth .invitation-shell {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(1390px, calc(100% - 64px));
  min-height: min(790px, calc(100vh - 154px));
  margin: 0 auto;
  padding: 30px 0 40px;
  grid-template-columns: minmax(0, .9fr) minmax(480px, 1.1fr);
  gap: clamp(36px, 5vw, 82px);
  align-items: center;
}
.nw-auth .invitation-context { position: relative; max-width: 520px; padding: 24px 8px; }
.nw-auth .invitation-context::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 50% auto auto 42%;
  width: min(560px, 48vw);
  aspect-ratio: 1;
  translate: -50% -50%;
  background: url('/ui/assets/brand/lunar-canon-2026-08-17/symbols/nightwatch-primary-crest.webp') center / contain no-repeat;
  opacity: .12;
  -webkit-mask-image: radial-gradient(circle, #000 0 51%, transparent 82%);
  mask-image: radial-gradient(circle, #000 0 51%, transparent 82%);
}
.nw-auth .invitation-context > span { color: var(--auth-cyan); font: 9px var(--auth-mono); letter-spacing: .18em; text-transform: uppercase; }
.nw-auth .invitation-context h1 { max-width: 9ch; margin: 16px 0 20px; font-size: clamp(45px, 4.6vw, 68px); font-weight: 310; line-height: 1.03; letter-spacing: -.038em; }
.nw-auth .invitation-context p { max-width: 38ch; color: #c4bdb1; font-size: 15px; line-height: 1.65; }
.nw-auth .invitation-context dl { display: grid; gap: 12px; max-width: 390px; margin: 30px 0 0; }
.nw-auth .invitation-context dl > div { padding: 10px 0 10px 16px; border-left: 1px solid var(--auth-brass); }
.nw-auth .invitation-context dt { color: var(--auth-brass); font: 9px var(--auth-mono); letter-spacing: .12em; text-transform: uppercase; }
.nw-auth .invitation-context dd { margin: 4px 0 0; color: var(--auth-muted); font-size: 12px; }
.nw-auth .invitation-entry { min-width: 0; padding: clamp(18px, 3.5vw, 42px); border: 1px solid var(--auth-line); background: linear-gradient(145deg, rgba(11,19,24,.95), rgba(4,9,12,.97)); box-shadow: 0 26px 80px rgba(0,0,0,.34); }
.nw-auth .invitation-entry .nw-v3::before { display: none; }
.nw-auth .invitation-entry .nw-org-invite-signup { width: 100%; max-width: 560px; padding: 0; border: 0; background: transparent; }
.nw-auth .invitation-entry .nw-org-invite-signup header span { color: var(--auth-cyan); }
.nw-auth .invitation-entry .nw-org-invite-signup header h1 { margin-top: 8px; }
.nw-auth .invitation-entry .nw-org-invite-signup input { background: var(--auth-well); color: var(--auth-ivory); }
.nw-auth .invitation-entry .nw-org-invite-signup button[type="submit"] { border-color: var(--auth-line-strong); background: color-mix(in srgb, var(--auth-amber) 18%, var(--auth-well)); color: var(--auth-ivory); }

@media (max-width: 960px) {
  .nw-auth .invitation-shell { grid-template-columns: minmax(0, 1fr); }
  .nw-auth .invitation-context { max-width: 700px; padding-bottom: 0; }
  .nw-auth .invitation-context h1 { max-width: none; font-size: clamp(38px, 7vw, 58px); }
  .nw-auth .invitation-context dl { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; }
}
@media (max-width: 620px) {
  .nw-auth .invitation-shell { width: min(100% - 28px, 560px); padding-block: 18px 34px; gap: 22px; }
  .nw-auth .invitation-context { padding-inline: 2px; }
  .nw-auth .invitation-context::before { width: 430px; opacity: .075; }
  .nw-auth .invitation-context h1 { margin-block: 11px 14px; font-size: 36px; }
  .nw-auth .invitation-context dl { display: none; }
  .nw-auth .invitation-entry { padding: 20px 16px; }
}

.nw-auth .brand-stage {
  position: relative;
  z-index: 1;
  isolation: isolate;
  display: flex;
  min-width: 0;
  min-height: 850px;
  align-items: flex-start;
  overflow: hidden;
}

.nw-auth .brand-copy { position: relative; z-index: 1; width: min(690px, 92%); padding: 42px 0 18px 34px; }
.nw-auth .brand-kicker,
.nw-auth .instrument-label { color: var(--auth-cyan); font: 9px var(--auth-mono); letter-spacing: .18em; text-transform: uppercase; }
.nw-auth .brand-kicker { display: block; margin-bottom: 15px; }
.nw-auth .brand-copy h2 { margin: 0; font-size: clamp(48px, 4vw, 60px); font-weight: 310; line-height: 1.04; letter-spacing: -.038em; }
.nw-auth .brand-copy > p { max-width: 46ch; margin: 20px 0 0; color: #c4bdb1; font-size: 16px; line-height: 1.62; }
.nw-auth .brand-principles {
  position: absolute;
  z-index: 1;
  right: 14px;
  bottom: 88px;
  display: grid;
  gap: 17px;
  width: min(250px, 35%);
  margin: 0;
  padding: 0;
  list-style: none;
}
.nw-auth .brand-principles li { display: grid; grid-template-columns: 44px 1fr; gap: 15px; align-items: center; }
.nw-auth .brand-principles i {
  position: relative;
  display: block;
  width: 42px;
  height: 42px;
  color: var(--auth-amber);
}
.nw-auth .brand-principles i::before {
  content: "";
  position: absolute;
  inset: 0;
  background: currentColor;
  -webkit-mask: center / contain no-repeat;
  mask: center / contain no-repeat;
}
.nw-auth .brand-principles [data-principle="watch"] i::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cg fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 3h10l2.2 4.2 4.5-1.4 6.5 6.5-1.4 4.5L45 19v10l-4.2 2.2 1.4 4.5-6.5 6.5-4.5-1.4L29 45H19l-2.2-4.2-4.5 1.4-6.5-6.5 1.4-4.5L3 29V19l4.2-2.2-1.4-4.5 6.5-6.5 4.5 1.4L19 3Z'/%3E%3Ccircle cx='24' cy='24' r='12'/%3E%3Ccircle cx='24' cy='24' r='3'/%3E%3Cpath d='M24 12v5m0 14v5m-12-12h5m14 0h5m-12-7v7l5-4'/%3E%3C/g%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cg fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 3h10l2.2 4.2 4.5-1.4 6.5 6.5-1.4 4.5L45 19v10l-4.2 2.2 1.4 4.5-6.5 6.5-4.5-1.4L29 45H19l-2.2-4.2-4.5 1.4-6.5-6.5 1.4-4.5L3 29V19l4.2-2.2-1.4-4.5 6.5-6.5 4.5 1.4L19 3Z'/%3E%3Ccircle cx='24' cy='24' r='12'/%3E%3Ccircle cx='24' cy='24' r='3'/%3E%3Cpath d='M24 12v5m0 14v5m-12-12h5m14 0h5m-12-7v7l5-4'/%3E%3C/g%3E%3C/svg%3E");
}
.nw-auth .brand-principles [data-principle="evidence"] i { color: var(--auth-cyan); }
.nw-auth .brand-principles [data-principle="evidence"] i::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cg fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M23 5c-5-3-11 1-10 7-6 1-7 9-2 12-5 4-2 12 4 12 1 6 8 8 12 4V8c-1-1-2-2-4-3Zm2 3c4-5 12-2 11 4 6 1 7 9 2 12 5 4 2 12-4 12-1 6-8 8-11 4'/%3E%3Cpath d='M17 13c4 0 6 3 6 6m-11 5h8m-4 12c0-5 3-7 7-7m8-16c-4 0-6 3-6 6m11 5h-8m4 12c0-5-3-7-7-7M9 24H5m38 0h-4M24 4V1m0 46v-4'/%3E%3Ccircle cx='17' cy='13' r='1.5' fill='black'/%3E%3Ccircle cx='31' cy='13' r='1.5' fill='black'/%3E%3Ccircle cx='16' cy='36' r='1.5' fill='black'/%3E%3Ccircle cx='32' cy='36' r='1.5' fill='black'/%3E%3C/g%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cg fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M23 5c-5-3-11 1-10 7-6 1-7 9-2 12-5 4-2 12 4 12 1 6 8 8 12 4V8c-1-1-2-2-4-3Zm2 3c4-5 12-2 11 4 6 1 7 9 2 12 5 4 2 12-4 12-1 6-8 8-11 4'/%3E%3Cpath d='M17 13c4 0 6 3 6 6m-11 5h8m-4 12c0-5 3-7 7-7m8-16c-4 0-6 3-6 6m11 5h-8m4 12c0-5-3-7-7-7M9 24H5m38 0h-4M24 4V1m0 46v-4'/%3E%3Ccircle cx='17' cy='13' r='1.5' fill='black'/%3E%3Ccircle cx='31' cy='13' r='1.5' fill='black'/%3E%3Ccircle cx='16' cy='36' r='1.5' fill='black'/%3E%3Ccircle cx='32' cy='36' r='1.5' fill='black'/%3E%3C/g%3E%3C/svg%3E");
}
.nw-auth .brand-principles [data-principle="judgment"] i::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cg fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 3h12m-9 0v5h6V3m-12 9 5-4h8l5 4 3 27H12l3-27Zm1 2h16l-2 21H18l-2-21Z'/%3E%3Cpath d='m24 17-5 8 5 8 5-8-5-8Zm-10 22-3 5m23-5 3 5M16 44h16'/%3E%3C/g%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cg fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 3h12m-9 0v5h6V3m-12 9 5-4h8l5 4 3 27H12l3-27Zm1 2h16l-2 21H18l-2-21Z'/%3E%3Cpath d='m24 17-5 8 5 8 5-8-5-8Zm-10 22-3 5m23-5 3 5M16 44h16'/%3E%3C/g%3E%3C/svg%3E");
}
.nw-auth .brand-principles span, .nw-auth .brand-principles b, .nw-auth .brand-principles small { display: block; }
.nw-auth .brand-principles b { color: var(--auth-brass); font: 9px var(--auth-mono); letter-spacing: .14em; text-transform: uppercase; }
.nw-auth .brand-principles small { margin-top: 3px; color: var(--auth-muted); font-size: 12px; }

.nw-auth .box {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 670px;
  min-height: 620px;
  justify-self: start;
  padding: clamp(34px, 2.8vw, 40px);
  border: 1px solid rgba(156, 170, 172, .34);
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(11, 19, 24, .96), rgba(4, 9, 12, .98)),
    var(--auth-panel-strong);
  box-shadow: 0 26px 80px rgba(0,0,0,.38), inset 0 1px rgba(255,255,255,.035);
}
.nw-auth .box::before { content: ""; position: absolute; inset: 11px; pointer-events: none; border: 1px solid rgba(50,190,198,.05); border-radius: 8px; }
.nw-auth .instrument-label { position: relative; display: flex; gap: 11px; align-items: center; margin: 0 0 10px; }
.nw-auth .instrument-label::before { content: ""; width: 13px; height: 16px; border: 1px solid currentColor; clip-path: polygon(50% 0,100% 20%,100% 67%,50% 100%,0 67%,0 20%); }
.nw-auth .instrument-label::after { content: ""; position: absolute; left: 4px; top: 5px; width: 5px; height: 3px; border-bottom: 1px solid currentColor; border-left: 1px solid currentColor; transform: rotate(-45deg); }
.nw-auth .watch-title { margin: 0 0 16px; }
.nw-auth h1 { margin: 0 0 8px; color: var(--auth-ivory); font-size: 28px; font-weight: 420; line-height: 1.12; letter-spacing: -.02em; }
.nw-auth p.sub { margin: 0; color: var(--auth-muted); font-size: 13px; }
.nw-auth label { display: block; margin: 17px 0 7px; color: #d3c9ba; font-size: 12px; }
.nw-auth label span { color: var(--auth-muted-low); }
.nw-auth input {
  width: 100%;
  min-height: 52px;
  padding: 13px 15px;
  border: 1px solid var(--auth-line);
  border-radius: 5px;
  background: var(--auth-well);
  color: var(--auth-ivory);
  caret-color: var(--auth-cyan);
  font-size: 14px;
  transition: border-color 140ms ease, background-color 140ms ease;
}
.nw-auth input#u {
  padding-left: 46px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23969995' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m4 7 8 6 8-6'/%3E%3C/g%3E%3C/svg%3E");
  background-position: 15px center;
  background-size: 19px 19px;
  background-repeat: no-repeat;
}
.nw-auth input:focus {
  border-color: rgba(50, 190, 198, .56);
  outline: 2px solid var(--auth-focus);
  outline-offset: 1px;
  background-image:
    linear-gradient(90deg, rgba(50,190,198,.36) 0 2px, transparent 2px),
    linear-gradient(90deg, transparent 11px, rgba(50,190,198,.38) 11px 16px, transparent 16px);
  background-position: 0 0, 0 7px;
  background-size: 100% 100%, 100% 1px;
  background-repeat: no-repeat;
  box-shadow: inset 0 0 11px rgba(50,190,198,.045);
}
.nw-auth input#u:focus {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%2332bec6' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m4 7 8 6 8-6'/%3E%3C/g%3E%3C/svg%3E"),
    linear-gradient(90deg, rgba(50,190,198,.36) 0 2px, transparent 2px),
    linear-gradient(90deg, transparent 11px, rgba(50,190,198,.38) 11px 16px, transparent 16px);
  background-position: 15px center, 0 0, 0 7px;
  background-size: 19px 19px, 100% 100%, 100% 1px;
}
.nw-auth input:focus-visible, .nw-auth button:focus-visible, .nw-auth a:focus-visible { outline: 2px solid var(--auth-focus); outline-offset: 3px; }
.nw-auth .password-control { position: relative; }
.nw-auth .password-control::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 15px;
  width: 18px;
  height: 20px;
  translate: 0 -50%;
  pointer-events: none;
  background: var(--auth-muted);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='10' width='16' height='11' rx='2'/%3E%3Cpath d='M8 10V7a4 4 0 0 1 8 0v3m-4 4v3'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='10' width='16' height='11' rx='2'/%3E%3Cpath d='M8 10V7a4 4 0 0 1 8 0v3m-4 4v3'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}
.nw-auth .password-control:focus-within::before { background: var(--auth-cyan); }
.nw-auth .password-control input { padding-right: 76px; padding-left: 46px; }
.nw-auth .show-password { position: absolute; top: 50%; right: 13px; width: auto; min-height: 36px; margin: 0; padding: 0 5px; translate: 0 -50%; border: 0; background: transparent; color: var(--auth-muted); cursor: pointer; font: 9px var(--auth-mono); letter-spacing: .09em; text-transform: uppercase; }
.nw-auth .show-password:hover { color: var(--auth-cyan); }
.nw-auth .box > button[type="submit"] {
  width: 100%;
  min-height: 54px;
  margin-top: 27px;
  border: 1px solid color-mix(in srgb, var(--auth-amber) 68%, #352310);
  border-radius: 4px;
  background: linear-gradient(180deg, #b77f30, #8f5c1c);
  box-shadow: inset 0 1px rgba(255,243,206,.26), inset 0 -9px 18px rgba(61,34,7,.16);
  color: #100d08;
  cursor: pointer;
  font: 650 12px var(--auth-mono);
  letter-spacing: .16em;
  text-transform: uppercase;
  transition: border-color 140ms ease, filter 140ms ease;
}
.nw-auth .box > button[type="submit"]:hover { border-color: #dda64e; filter: brightness(1.08); }
.nw-auth .box > button[type="submit"]:disabled { cursor: wait; filter: saturate(.58) brightness(.78); }
.nw-auth .authlinks { display: flex; gap: 18px; justify-content: space-between; margin-top: 16px; font-size: 11px; }
.nw-auth .authlinks a, .nw-auth .authlinks button { color: var(--auth-muted); text-underline-offset: 4px; }
.nw-auth .authlinks a:hover, .nw-auth .authlinks button:hover { color: var(--auth-amber); }
.nw-auth .authlinks button { width: auto; min-height: 36px; margin: 0; padding: 0; border: 0; background: transparent; cursor: pointer; font: inherit; text-decoration: underline; }
.nw-auth .err { min-height: 22px; margin-top: 15px; color: var(--auth-danger); font-size: 12px; }
.nw-auth .err:not(:empty) { padding: 7px 0 7px 11px; border-left: 2px solid currentColor; }
.nw-auth .err.success { color: #79aa8d; }
.nw-auth .turnstile-wrap:empty { display: none; }
.nw-auth .turnstile-wrap:not(:empty) { display: flex; min-width: 300px; margin: 15px 0 -8px; justify-content: center; }
.nw-auth .turnstile-wrap .cf-turnstile { width: 100%; }
.nw-auth .build { margin-top: 23px; color: var(--auth-muted-low); font: 8px var(--auth-mono); letter-spacing: .12em; text-transform: uppercase; }

.nw-auth .auth-footer { display: flex; min-height: 103px; padding: 22px 2px 28px; align-items: center; justify-content: space-between; border-top: 1px solid rgba(151,167,169,.18); color: #7f898c; font: 8px var(--auth-mono); letter-spacing: .11em; text-transform: uppercase; }
.nw-auth .auth-footer nav { display: flex; gap: 24px; }
.nw-auth .auth-footer a { text-underline-offset: 4px; }
.nw-auth .auth-footer a:hover { color: var(--auth-ivory); }

@keyframes nw-auth-acquire { from { opacity: .26; transform: translateY(5px); } to { opacity: 1; transform: none; } }
@keyframes nw-auth-trace-breathe { 0%,76%,100% { opacity: .28; } 82% { opacity: .78; } 88% { opacity: .36; } }
@keyframes nw-auth-window-open { to { transform: scale(1.006); filter: brightness(1.035); } }
.nw-auth .auth-shell.opening { animation: nw-auth-window-open 180ms ease-out forwards; }

@media (max-width: 980px) {
  .nw-auth .auth-header, .nw-auth .auth-footer, .nw-auth .auth-shell { width: min(760px, calc(100% - 36px)); }
  .nw-auth .auth-shell { min-height: 0; padding-block: 24px 34px; grid-template-columns: 1fr; gap: 18px; }
  .nw-auth .auth-shell::before { display: none; }
  .nw-auth .brand-stage {
    display: block;
    min-height: 300px;
    background-image:
      linear-gradient(90deg, rgba(3,8,11,.84), rgba(3,8,11,.32)),
      url('/ui/assets/brand/lunar-canon-2026-08-17/login/nightwatch-login-dish-desktop-1536x1024-q88.webp?v=0d4d99c3b74a97ae');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
  }
  .nw-auth .brand-copy { width: min(660px, 88%); padding-left: 8px; }
  .nw-auth .brand-copy h2 { font-size: clamp(39px, 7vw, 55px); }
  .nw-auth .brand-principles { position: static; width: auto; grid-template-columns: repeat(3, 1fr); max-width: 620px; margin: 28px 0 0 8px; }
  .nw-auth .brand-principles li { grid-template-columns: 30px 1fr; gap: 9px; }
  .nw-auth .brand-principles small { display: none; }
  .nw-auth .box { max-width: none; min-height: 0; justify-self: stretch; }
}

@media (max-width: 560px) {
  .nw-auth .auth-header, .nw-auth .auth-footer, .nw-auth .auth-shell { width: calc(100% - 28px); }
  .nw-auth .auth-header { min-height: 65px; padding-block: 10px; }
  .nw-auth .auth-brand img { width: 40px; height: 40px; }
  .nw-auth .auth-brand b { font-size: 13px; letter-spacing: .26em; }
  .nw-auth .auth-brand small, .nw-auth .auth-clock { display: none; }
  .nw-auth .auth-shell { padding-top: 10px; }
  .nw-auth .brand-stage { min-height: 190px; }
  .nw-auth .brand-stage {
    background-image:
      linear-gradient(90deg, rgba(3,8,11,.82), rgba(3,8,11,.32)),
      url('/ui/assets/brand/lunar-canon-2026-08-17/login/nightwatch-login-dish-phone-853x570-q88.webp?v=449df4ea9251ebbd');
    background-position:center 42%;
  }
  .nw-auth .brand-copy { width: 82%; padding: 18px 0 12px 3px; }
  .nw-auth .brand-kicker { margin-bottom: 9px; }
  .nw-auth .brand-copy h2 { font-size: 36px; }
  .nw-auth .brand-copy > p { margin-top: 12px; font-size: 12px; line-height: 1.5; }
  .nw-auth .brand-principles { display: none; }
  .nw-auth .box { padding: 24px 22px; border-radius: 8px; }
  .nw-auth .instrument-label { margin-bottom: 18px; }
  .nw-auth .turnstile-wrap:not(:empty) { min-width: 0; }
  .nw-auth .authlinks { flex-wrap: wrap; }
  .nw-auth .auth-footer { align-items: flex-start; gap: 10px; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .nw-auth .auth-shell, .nw-auth .auth-shell.opening { animation:none; transform:none; }
}

@media (forced-colors: active) {
  .nw-auth .auth-shell::before, .nw-auth body::before, .nw-auth body::after { display: none; }
  .nw-auth .brand-stage { background-image:none; }
  .nw-auth .box, .nw-auth input { border-color: CanvasText; }
  .nw-auth .brand-principles i, .nw-auth .password-control::before { background: CanvasText; }
  .nw-auth .box > button[type="submit"] { background: ButtonFace; color: ButtonText; }
}
