body.in-command-access > .header,
body.in-command-access > footer,
body.in-command-access > #announcement-marquee,
body.in-command-access > #november-banner,
body.in-command-access > #seasonal-preview-controls,
body.in-command-access > .brand-marquee,
body.in-command-access > .preview-bar {
  display: none !important;
}
body.in-command-access {
  background: #f7f3ec;
}
body.in-command-access #main {
  width: 100%;
  max-width: none;
  min-height: 100svh;
  margin: 0;
  padding: 0;
}
.command-auth {
  --command-ink: #541d2d;
  --command-muted: #78675f;
  --command-paper: #f7f3ec;
  --command-gold: #c5a77b;
  box-sizing: border-box;
  min-height: 100svh;
  padding: 0 clamp(18px, 3.5vw, 64px) 20px;
  color: var(--command-ink);
  background: radial-gradient(ellipse at 95% 10%, #ece0ce70, transparent 46%), var(--command-paper);
  font-family: var(--font-body, 'DM Sans', sans-serif);
}
.command-auth *,
.command-auth-legacy * {
  box-sizing: border-box;
}
.command-auth [hidden],
.command-auth-legacy [hidden] {
  display: none !important;
}
.command-auth-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  max-width: 1320px;
  min-height: 98px;
  margin: 0 auto;
  padding-top: env(safe-area-inset-top);
}
.command-auth-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--command-ink, #541d2d);
  text-decoration: none;
}
.command-auth-brand img {
  display: block;
  flex: none;
  width: 38px;
  height: 38px;
}
.command-auth-brand > span {
  display: grid;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.13em;
}
.command-auth-brand small {
  color: #7c675d;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.2em;
}
.command-auth-return {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  min-height: 44px;
  color: #745c52;
  font-size: 13px;
  text-decoration: none;
}
.command-auth-return > span {
  font-size: 23px;
  transition: transform 220ms ease;
}
.command-auth-return:hover > span {
  transform: translate(3px, -3px);
}
.command-auth-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(0, 1.02fr);
  max-width: 1320px;
  min-height: 700px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid #d8caba;
  border-radius: 26px;
  background: #fffdf7;
  box-shadow:
    0 20px 70px #542b1910,
    0 2px 5px #542b1905;
  animation: command-access-enter 750ms cubic-bezier(0.16, 1, 0.3, 1) both;
}
.command-auth-scene {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 700px;
  overflow: hidden;
  padding: 34px 36px 27px;
  color: #f8ecdb;
  background: #3c1726;
  isolation: isolate;
}
.command-auth-scene::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(ellipse at 56% 32%, #a5686648, transparent 43%),
    radial-gradient(ellipse at 4% 110%, #a3545c54, transparent 60%),
    linear-gradient(120deg, #2d1220, #541d2d 57%, #361523);
  content: '';
}
.command-auth-scene::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(#e8ccaa05 1px, transparent 1px),
    linear-gradient(90deg, #e8ccaa05 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(transparent, #000 20%, #000 65%, transparent);
  content: '';
}
.command-scene-caption,
.command-scene-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.16em;
}
.command-scene-caption {
  color: #debaa5;
}
.command-scene-art {
  position: relative;
  width: calc(100% + 72px);
  max-height: 400px;
  margin: -7px -36px -24px;
  aspect-ratio: 600 / 510;
  overflow: hidden;
}
.command-scene-art > svg {
  display: block;
  width: 100%;
  height: 100%;
}
.command-scene-art::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 34%, #fff2ce12 49%, transparent 63%);
  transform: translateX(110%);
  pointer-events: none;
  content: '';
  animation: command-access-light 1900ms 850ms cubic-bezier(0.2, 0.65, 0.3, 1) both;
}
.command-scene-orbits {
  transform-origin: 300px 255px;
  animation: command-access-orbit 4400ms cubic-bezier(0.16, 1, 0.3, 1) both;
}
.command-scene-paths {
  stroke-dasharray: 230;
  animation: command-access-draw 1800ms 600ms ease both;
}
.command-scene-seal {
  transform-origin: 300px 255px;
  animation: command-access-seal 1600ms 100ms cubic-bezier(0.16, 1, 0.3, 1) both;
}
.command-scene-monogram {
  stroke-dasharray: 600;
  animation: command-access-monogram 1800ms 350ms ease both;
}
.command-scene-nodes {
  animation: command-access-nodes 1400ms 850ms ease both;
}
.command-scene-coordinate {
  position: absolute;
  color: #dcc6ac;
  font-size: 8px;
  letter-spacing: 0.17em;
  animation: command-access-enter 900ms 950ms ease both;
}
.command-scene-coordinate-one {
  top: 24%;
  left: 8%;
}
.command-scene-coordinate-two {
  top: 31%;
  right: 8%;
}
.command-scene-coordinate-three {
  right: 13%;
  bottom: 15%;
}
.command-scene-copy {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding: 8px 0 29px;
  animation: command-access-enter 900ms 180ms cubic-bezier(0.16, 1, 0.3, 1) both;
}
.command-scene-title {
  margin: 0 0 19px;
  color: #fff0db;
  font-family: var(--font-display, 'Libre Caslon Display', Georgia, serif);
  font-size: clamp(58px, 5.3vw, 78px);
  font-weight: 400;
  line-height: 0.99;
  letter-spacing: -0.035em;
}
.command-scene-title em {
  color: #d5b18f;
  font-weight: 400;
}
.command-scene-copy > p:last-child {
  margin: 0;
  color: #ddc8b5;
  font-size: 14px;
  line-height: 1.75;
}
.command-scene-foot {
  padding-top: 20px;
  border-top: 1px solid #e7cfae25;
  color: #c5a893;
  font-size: 8px;
  letter-spacing: 0.13em;
}
.command-auth-panel {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(34px, 4.7vw, 66px) clamp(28px, 4.5vw, 64px) 32px;
  background: radial-gradient(ellipse at 110% -20%, #eddbc455, transparent 60%), #fffdf7;
}
.command-auth-eyebrow,
.command-auth-stage-label {
  display: block;
  color: #8c6d5c;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.17em;
}
.command-auth-intro h1 {
  margin: 14px 0 14px;
  color: var(--command-ink);
  font-family: var(--font-display, 'Libre Caslon Display', Georgia, serif);
  font-size: clamp(38px, 3.9vw, 57px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.035em;
}
.command-auth-intro p {
  margin: 0;
  color: var(--command-muted);
  font-size: 15px;
  line-height: 1.65;
}
.command-auth-progress {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
  margin: 32px 0;
  padding: 0;
  list-style: none;
}
.command-auth-progress li {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding-bottom: 15px;
  border-bottom: 1px solid #e2d9ca;
  color: #7c695f;
  font-size: 11px;
  font-weight: 500;
  transition:
    color 220ms ease,
    border-color 220ms ease;
}
.command-auth-progress b {
  display: grid;
  flex: none;
  place-items: center;
  width: 25px;
  height: 25px;
  border: 1px solid #d5c9b8;
  border-radius: 50%;
  font-size: 9px;
  font-weight: 500;
  transition:
    color 220ms ease,
    background 220ms ease;
}
.command-auth-progress [aria-current='step'] {
  border-color: #763145;
  color: #541d2d;
}
.command-auth-progress [aria-current='step'] b {
  border-color: #541d2d;
  color: #fff9ef;
  background: #541d2d;
  box-shadow: 0 0 0 4px #541d2d08;
}
.command-auth-progress [data-state='complete'] b {
  border-color: #d7c4a5;
  color: #6e4c2e;
  background: #eee3d0;
}
.command-auth-forms {
  min-height: 245px;
}
.command-auth form,
.command-auth .account-email-code,
.command-auth .admin-password-form,
.command-auth-legacy .admin-password-form {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #541d2d;
  background: transparent;
  box-shadow: none;
}
.command-auth .field,
.command-auth-legacy .field {
  display: grid;
  gap: 10px;
  margin: 0 0 17px;
  color: #5a3d3d;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
}
.command-auth .field input,
.command-auth-legacy .field input {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 57px;
  padding: 16px 17px;
  border: 1px solid #c9b8a6;
  border-radius: 10px;
  color: #35131f;
  background: #fffefa;
  font: 400 16px/1.45 var(--font-body, 'DM Sans', sans-serif);
  scroll-margin-block: 32px;
  transition:
    border-color 200ms ease,
    box-shadow 200ms ease;
}
.command-auth .field input::placeholder {
  color: #7e6b62;
}
.command-auth .field input:focus-visible,
.command-auth-legacy .field input:focus-visible {
  border-color: #925a3e;
  outline: 2px solid #a5794f;
  outline-offset: 3px;
  box-shadow: 0 0 0 6px #c5a77b15;
}
.command-auth .button,
.command-auth-legacy .admin-password-form .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px;
  margin: 0;
  padding: 17px 20px;
  border: 1px solid #541d2d !important;
  border-radius: 10px !important;
  color: #fff8ef !important;
  background: #541d2d !important;
  box-shadow: 0 7px 16px #541d2d10;
  font: 600 14px/1.45 var(--font-body, 'DM Sans', sans-serif);
  cursor: pointer;
  transition:
    background 200ms ease,
    box-shadow 200ms ease,
    transform 200ms ease;
}
.command-auth .button:hover:not(:disabled),
.command-auth-legacy .admin-password-form .button:hover:not(:disabled) {
  background: #713047 !important;
  box-shadow: 0 9px 18px #541d2d1b;
  transform: translateY(-1px);
}
.command-auth :is(a, button, input):focus-visible,
.command-auth-legacy :is(a, button):focus-visible {
  outline: 3px solid #a5794f;
  outline-offset: 4px;
}
.command-auth .button:disabled {
  opacity: 0.6;
  cursor: wait;
}
.command-auth .checkbox {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin: 0;
  padding: 9px 0;
  color: #78675f;
  font-size: 13px;
  line-height: 1.6;
}
.command-auth .checkbox input {
  flex: none;
  width: 19px;
  height: 19px;
  margin: 1px 0 0;
  accent-color: #541d2d;
}
.command-auth .checkbox a {
  color: #541d2d;
  text-underline-offset: 3px;
}
.command-auth-declarations {
  padding-top: 1px;
}
.command-auth-declarations > .button {
  margin-top: 16px;
}
.command-auth [role='status'],
.command-auth-legacy [role='status'] {
  min-height: 22px;
  margin: 14px 0 0;
  color: #795444;
  font-size: 13px;
  line-height: 1.65;
}
.command-auth .account-email-code,
.command-auth .admin-password-form {
  animation: command-access-enter 400ms ease both;
}
.command-auth .account-email-code h2,
.command-auth .admin-password-form h2,
.command-auth-legacy .admin-password-form h2 {
  margin: 10px 0 12px;
  color: #541d2d;
  font-family: var(--font-display, 'Libre Caslon Display', Georgia, serif);
  font-size: 31px;
  font-weight: 400;
  line-height: 1.13;
  letter-spacing: -0.02em;
}
.command-auth .account-email-code p,
.command-auth .admin-password-form p,
.command-auth-legacy .admin-password-form p {
  color: #78675f;
  font-size: 14px;
  line-height: 1.65;
}
.command-auth .account-email-code strong {
  color: #541d2d;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.command-auth .account-email-code input[name='code'] {
  font-size: 25px;
  font-weight: 500;
  letter-spacing: 0.17em;
}
.command-auth .account-email-code .small {
  font-size: 12px;
}
.command-auth .account-code-actions {
  gap: 10px 22px;
  margin-top: 10px;
}
.command-auth .account-code-actions button {
  min-height: 44px;
  padding: 0;
  color: #6a3c42;
  font: 500 12px/1.5 var(--font-body, 'DM Sans', sans-serif);
  text-underline-offset: 4px;
}
.command-auth-private {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: auto 0 0;
  padding-top: 32px;
  color: #7d685d;
  font-size: 11px;
  line-height: 1.5;
}
.command-auth-private svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 1.1px;
}
.command-auth-help {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 15px;
  margin-top: 21px;
  padding-top: 15px;
  border-top: 1px solid #e5dacb;
}
.command-auth-help a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #795c53;
  font-size: 11px;
  text-decoration: none;
  text-underline-offset: 4px;
}
.command-auth-help a:hover {
  text-decoration: underline;
}
.command-auth-bottom {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  max-width: 1320px;
  margin: 21px auto 0;
  color: #79665b;
  font-size: 9px;
  line-height: 1.6;
  letter-spacing: 0.07em;
}
.command-auth-legacy {
  width: min(calc(100% - 36px), 550px);
  min-height: 0;
  margin: 42px auto;
  padding: 34px;
  border: 1px solid #d8caba;
  border-radius: 22px;
  color: #541d2d;
  background: #fffdf7;
  box-shadow: 0 20px 80px #541d2d0c;
  animation: command-access-enter 500ms ease both;
}
.command-auth-legacy-brand {
  margin-bottom: 36px;
}
.command-auth-legacy > .eyebrow,
.command-auth-legacy > p:first-of-type {
  display: none;
}
.command-auth-legacy > h1 {
  margin: 0 0 18px;
  font: 400 44px/1.08 var(--font-display, 'Libre Caslon Display', Georgia, serif);
  letter-spacing: -0.035em;
}
.command-auth-legacy > [data-account-verify-status] {
  margin-bottom: 24px;
}
.command-auth-legacy > a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  margin: 20px 18px 0 0;
  color: #795c53;
  font-size: 12px;
}
@keyframes command-access-enter {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes command-access-orbit {
  from {
    opacity: 0;
    transform: rotate(-38deg) scale(0.72);
  }
  to {
    opacity: 1;
    transform: rotate(0) scale(1);
  }
}
@keyframes command-access-seal {
  from {
    opacity: 0;
    transform: translateY(18px) rotate(-11deg) scale(0.86);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(0) scale(1);
  }
}
@keyframes command-access-draw {
  from {
    opacity: 0;
    stroke-dashoffset: 240;
  }
  to {
    opacity: 1;
    stroke-dashoffset: 0;
  }
}
@keyframes command-access-nodes {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes command-access-monogram {
  from {
    opacity: 0;
    stroke-dashoffset: 600;
  }
  to {
    opacity: 1;
    stroke-dashoffset: 0;
  }
}
@keyframes command-access-light {
  from {
    transform: translateX(-110%);
  }
  to {
    transform: translateX(110%);
  }
}
@media (max-width: 1050px) {
  .command-auth {
    padding-inline: 22px;
  }
  .command-auth-panel {
    padding: 38px 30px 28px;
  }
  .command-auth-scene {
    padding: 30px 27px 25px;
  }
  .command-scene-art {
    width: calc(100% + 54px);
    margin-inline: -27px;
  }
  .command-scene-title {
    font-size: 62px;
  }
  .command-scene-foot > span:last-child {
    display: none;
  }
}
@media (max-width: 760px) {
  .command-auth {
    padding-inline: 16px;
    padding-bottom: max(20px, env(safe-area-inset-bottom));
  }
  .command-auth-topbar {
    min-height: 82px;
    gap: 16px;
  }
  .command-auth-brand img {
    width: 34px;
    height: 34px;
  }
  .command-auth-brand > span {
    font-size: 10px;
  }
  .command-auth-brand small {
    font-size: 7px;
  }
  .command-auth-return {
    gap: 9px;
    font-size: 11px;
  }
  .command-auth-layout {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    border-radius: 20px;
  }
  .command-auth-scene {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    min-height: 192px;
    padding: 22px;
  }
  .command-scene-caption {
    position: absolute;
    top: 20px;
    left: 22px;
    font-size: 7px;
  }
  .command-scene-caption > span:last-child,
  .command-scene-foot,
  .command-scene-coordinate {
    display: none;
  }
  .command-scene-art {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    width: 232px;
    height: 198px;
    max-height: none;
    margin: -24px -47px -22px -22px;
  }
  .command-scene-copy {
    grid-column: 1;
    grid-row: 1;
    align-self: end;
    min-width: 0;
    margin-top: 38px;
    padding: 0;
  }
  .command-scene-title {
    margin: 0;
    font-size: 43px;
    line-height: 1;
  }
  .command-scene-copy > p:last-child {
    display: none;
  }
  .command-auth-panel {
    padding: 31px 25px 21px;
  }
  .command-auth-intro h1 {
    margin-block: 12px;
    font-size: clamp(37px, 8.5vw, 48px);
  }
  .command-auth-intro p {
    font-size: 16px;
  }
  .command-auth-progress {
    gap: 10px;
    margin: 26px 0;
  }
  .command-auth-progress li {
    gap: 6px;
    font-size: 10px;
  }
  .command-auth-progress b {
    width: 23px;
    height: 23px;
    font-size: 8px;
  }
  .command-auth-forms {
    min-height: 0;
  }
  .command-auth .field {
    font-size: 14px;
  }
  .command-auth .field input {
    font-size: 16px;
  }
  .command-auth .button {
    min-height: 56px;
    font-size: 14px;
  }
  .command-auth .checkbox {
    font-size: 16px;
  }
  .command-auth .account-email-code p,
  .command-auth .admin-password-form p {
    font-size: 16px;
  }
  .command-auth .account-email-code .small {
    font-size: 12px;
  }
  .command-auth-private {
    padding-top: 23px;
    font-size: 11px;
  }
  .command-auth-help {
    margin-top: 17px;
    padding-top: 9px;
  }
  .command-auth-help a {
    font-size: 11px;
  }
  .command-auth-bottom {
    gap: 12px;
    margin-top: 17px;
    font-size: 8px;
  }
  .command-auth-legacy {
    margin-block: 24px;
    padding: 28px 24px;
  }
}
@media (max-width: 375px) {
  .command-auth {
    padding-inline: 12px;
  }
  .command-auth-panel {
    padding-inline: 21px;
  }
  .command-scene-title {
    font-size: 40px;
  }
  .command-auth-progress {
    gap: 7px;
  }
  .command-auth-progress li {
    font-size: 9px;
  }
  .command-auth-return {
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .command-auth *,
  .command-auth *::before,
  .command-auth *::after,
  .command-auth-legacy,
  .command-auth-legacy * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
