/* User: Ceasar | Story: #0 | Date: 2026-06-12 | Change: Redesign non-home unauthenticated auth pages without changing auth routes or data contracts. */
body.page--auth-shell {
  background:
    radial-gradient(circle at 88% 12%, rgba(232, 170, 46, 0.12), transparent 26%),
    linear-gradient(180deg, #fbfcff 0%, #f1f5fa 100%);
}

/* User: Ceasar | Story: #0 | Date: 2026-06-13 | Change: Keep redesigned unauthenticated auth pages free of the legacy top navigation. */
.page--auth-shell .navbar,
.page--auth-shell .navbar__mobile-nav {
  display: none !important;
}

/* User: Ceasar | Story: #0 | Date: 2026-06-14 | Change: Keep the global Clara dock from covering login and registration controls. */
.page--auth-shell .sales-chat {
  display: none !important;
}

.page-main--auth-shell {
  max-width: 1200px;
  padding-top: 32px;
  padding-bottom: 56px;
}

.auth-shell {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(360px, 1fr);
  gap: 24px;
  align-items: stretch;
}

.auth-shell__brand-panel,
.auth-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-elevated);
}

.auth-shell__brand-panel {
  position: relative;
  display: grid;
  align-content: space-between;
  min-height: 660px;
  padding: 28px;
  overflow: hidden;
  background:
    linear-gradient(160deg, rgba(245, 169, 30, 0.16), transparent 34%),
    linear-gradient(180deg, #061f4d 0%, #02142f 100%);
  color: #fff;
}

.auth-shell__brand-panel::after {
  content: '';
  position: absolute;
  right: 28px;
  bottom: 28px;
  width: 140px;
  height: 140px;
  border: 1px solid rgba(245, 169, 30, 0.42);
  border-radius: 50%;
  background:
    conic-gradient(from 10deg, rgba(245, 169, 30, 0.72), rgba(245, 169, 30, 0.14), rgba(255, 255, 255, 0.08), rgba(245, 169, 30, 0.72));
  opacity: 0.42;
  pointer-events: none;
}

.auth-shell__brand {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  color: #fff;
  text-decoration: none;
}

.auth-shell__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(245, 169, 30, 0.62);
  border-radius: 12px;
  color: #f5c35c;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.auth-shell__brand strong,
.auth-shell__brand small {
  display: block;
  line-height: 1.05;
}

.auth-shell__brand strong {
  font-size: 18px;
  text-transform: uppercase;
}

.auth-shell__brand small {
  color: rgba(255, 255, 255, 0.78);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-align: right;
}

.auth-shell__copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  max-width: 380px;
}

.auth-shell__kicker {
  color: #d79b22;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.auth-shell__brand-panel .auth-shell__kicker {
  color: #f5c35c;
}

.auth-shell__copy h2 {
  margin: 0;
  color: #fff;
  font-family: var(--font-body);
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.02;
}

.auth-shell__copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  line-height: 1.65;
}

.auth-shell__metrics {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.auth-shell__metrics span {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.auth-shell__metrics strong {
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}

.auth-shell__metrics small {
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  font-weight: 700;
}

.auth-card {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: clamp(24px, 4vw, 44px);
  background: rgba(255, 255, 255, 0.96);
}

.auth-card h1 {
  margin: 0;
  color: #07183d;
  font-family: var(--font-body);
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.05;
}

.auth-card > p,
.auth-otp-card > p,
.auth-alert > p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.65;
}

.auth-form {
  display: grid;
  gap: 16px;
}

.auth-field {
  display: grid;
  gap: 7px;
}

.auth-field__label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.auth-inline-link {
  color: var(--accent);
  text-decoration: none;
}

.auth-inline-link:hover,
.auth-inline-link:focus-visible {
  text-decoration: underline;
}

input.auth-input {
  width: 100%;
  min-height: 50px;
  padding: 11px 12px;
  border-color: #dbe4ef;
  background: #f8fbff;
  font-size: 15px;
}

input.auth-input:focus {
  border-color: rgba(11, 108, 122, 0.42);
  box-shadow: 0 0 0 3px rgba(11, 108, 122, 0.12);
  outline: 0;
}

.auth-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.auth-actions .btn,
.auth-actions form {
  min-width: 148px;
}

.auth-actions form .btn {
  width: 100%;
}

.auth-alert,
.auth-otp-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(248, 113, 113, 0.22);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(248, 113, 113, 0.08), rgba(255, 255, 255, 0.96));
}

.auth-otp-card {
  margin-top: 2px;
  border-color: #dbe4ef;
  background: #f8fbff;
}

.auth-alert h2,
.auth-otp-card h2 {
  margin: 0;
  color: #07183d;
  font-size: 24px;
}

.auth-alert .question-meta,
.auth-alert__session .question-meta {
  margin: 0;
}

.auth-alert__session {
  display: grid;
  gap: 8px;
}

.auth-alert__session p {
  margin: 0;
  color: #5e6b82;
}

.auth-alert__session div p:last-child {
  color: #0b1020;
  font-weight: 700;
}

html[data-theme] body.page--auth-shell {
  color-scheme: light;
}

.page--auth-shell select option {
  background: #fff;
  color: #0b1020;
}

.auth-card .auth-oauth {
  margin-top: 2px;
}

@media (max-width: 900px) {
  .page-main--auth-shell {
    padding-top: 18px;
  }

  .auth-shell {
    grid-template-columns: 1fr;
  }

  .auth-shell__brand-panel {
    min-height: 360px;
  }
}

@media (max-width: 640px) {
  .page-main--auth-shell {
    padding-right: 14px;
    padding-left: 14px;
  }

  .auth-shell {
    gap: 14px;
  }

  .auth-shell__brand-panel,
  .auth-card {
    border-radius: 10px;
  }

  .auth-shell__brand-panel {
    min-height: 0;
    padding: 20px;
    gap: 28px;
  }

  .auth-shell__copy h2 {
    font-size: 32px;
  }

  .auth-shell__copy p {
    font-size: 14px;
  }

  .auth-shell__metrics {
    grid-template-columns: 1fr;
  }

  .auth-card {
    padding: 22px;
  }

  .auth-actions,
  .auth-actions .btn,
  .auth-actions form {
    width: 100%;
  }
}

/* 2026-07-10 AWS cockpit auth mockup pass. Forms and social-login links remain server-rendered from existing auth config. */
body.page--auth-shell {
  min-height: 100vh;
  background:
    radial-gradient(circle at 88% 8%, rgba(56, 230, 163, 0.22), transparent 31%),
    radial-gradient(circle at 58% 10%, rgba(52, 213, 255, 0.24), transparent 28%),
    radial-gradient(circle at 10% 8%, rgba(255, 153, 0, 0.15), transparent 28%),
    linear-gradient(135deg, #f7efe3 0%, #f4f7fb 52%, #dff5ef 100%);
}

.page-main--auth-shell {
  width: min(100%, 1560px);
  max-width: none;
  min-height: 100vh;
  padding: 36px;
  display: grid;
  align-items: center;
}

.auth-shell {
  grid-template-columns: minmax(420px, 0.57fr) minmax(460px, 0.5fr);
  gap: 0;
  align-items: center;
}

.auth-shell__brand-panel,
.auth-card {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 36px;
  box-shadow: 0 34px 90px rgba(11, 16, 32, 0.14);
}

.auth-shell__brand-panel {
  min-height: 828px;
  padding: 46px 42px;
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 153, 0, 0.18), transparent 24%),
    radial-gradient(circle at 72% 24%, rgba(52, 213, 255, 0.16), transparent 28%),
    linear-gradient(145deg, #20190f 0%, #06111f 43%, #0b2037 100%);
}

.auth-shell__brand-panel::after {
  right: 40px;
  bottom: 38px;
  width: min(390px, 52%);
  height: 214px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background:
    linear-gradient(90deg, #ff9900, #34d5ff) 20px 68px / calc(100% - 40px) 10px no-repeat,
    linear-gradient(90deg, rgba(255, 153, 0, 0.92), rgba(52, 213, 255, 0.85)) 20px 68px / 72% 10px no-repeat,
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.05));
  opacity: 1;
}

.auth-shell__brand {
  grid-template-columns: 48px minmax(0, 1fr);
}

.auth-shell__mark {
  border: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, #ff9900, #ffc45a);
  color: #07111f;
  font-size: 25px;
  letter-spacing: 0;
}

.auth-shell__brand strong {
  text-transform: none;
  letter-spacing: 0;
}

.auth-shell__brand small {
  text-align: left;
  letter-spacing: 0;
}

.auth-shell__kicker {
  width: fit-content;
  padding: 8px 12px;
  border: 1px solid rgba(52, 213, 255, 0.42);
  border-radius: 999px;
  background: rgba(52, 213, 255, 0.12);
  color: #006782;
  letter-spacing: 0;
  text-transform: none;
}

.auth-shell__brand-panel .auth-shell__kicker {
  border-color: rgba(255, 153, 0, 0.28);
  background: rgba(255, 153, 0, 0.12);
  color: #ffb02e;
}

.auth-shell__copy {
  max-width: 640px;
  gap: 22px;
}

.auth-shell__copy h2 {
  max-width: 560px;
  font-size: clamp(48px, 4.6vw, 58px);
  line-height: 0.94;
}

.auth-shell__copy p {
  max-width: 650px;
  color: rgba(238, 244, 250, 0.78);
  font-size: 19px;
  line-height: 1.38;
}

.auth-shell__metrics {
  width: min(390px, 100%);
  margin-left: auto;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  background: rgba(71, 85, 105, 0.52);
  backdrop-filter: blur(14px);
}

.auth-shell__readiness-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.auth-shell__readiness-head span {
  width: auto;
  min-height: 0;
  padding: 8px 12px;
  border-radius: 999px;
  background: #07111f;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.auth-shell__readiness-head strong {
  color: #fff;
  font-size: 18px;
  line-height: 1;
}

.auth-shell__readiness-bar {
  display: block;
  width: 100%;
  height: 10px;
  margin-bottom: 16px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(226, 232, 240, 0.86);
}

.auth-shell__readiness-bar span {
  display: block;
  width: 73%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ff9900, #34d5ff);
}

.auth-shell__readiness-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.auth-shell__metrics span {
  min-height: 96px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.auth-shell__metrics .auth-shell__readiness-bar {
  min-height: 10px;
  border-radius: 999px;
}

.auth-shell__readiness-stats span {
  display: grid;
  align-content: center;
  padding: 18px;
}

.auth-shell__metrics strong {
  font-size: 30px;
}

.auth-card {
  position: relative;
  z-index: 2;
  min-height: 600px;
  margin-left: -48px;
  padding: clamp(34px, 5vw, 58px);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
}

.auth-card h1 {
  color: #0b1020;
  font-size: clamp(38px, 4vw, 44px);
  line-height: 1;
}

.auth-card > p,
.auth-otp-card > p,
.auth-alert > p {
  color: #5e6b82;
  font-size: 16px;
}

.auth-form {
  gap: 16px;
}

.auth-field {
  gap: 8px;
}

.auth-field .question-meta,
.auth-field__label-row .question-meta {
  color: #6b7280;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

input.auth-input {
  min-height: 52px;
  padding: 12px 16px;
  border: 1px solid #d9e2ef;
  border-radius: 16px;
  background: #f5f8fc;
  color: #0b1020;
}

input.auth-input:focus {
  border-color: rgba(52, 213, 255, 0.7);
  box-shadow: 0 0 0 4px rgba(52, 213, 255, 0.14);
}

.auth-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
}

.auth-actions .btn {
  min-height: 44px;
  border-radius: 16px;
  font-weight: 950;
}

.auth-actions .btn--primary {
  background: linear-gradient(135deg, #ff9900, #ffc45a);
  color: #111827;
}

.auth-actions .btn--outline {
  border-color: rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.78);
  color: #111827;
}

.auth-card .auth-oauth {
  margin-top: 12px;
}

.auth-oauth__divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
}

.auth-oauth__divider-line {
  border: 0;
  border-top: 1px solid rgba(15, 23, 42, 0.1);
}

.auth-oauth__divider-label {
  color: #6b7280;
  font-size: 12px;
}

.auth-oauth__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.auth-oauth__button {
  min-height: 48px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.84);
  color: #374151;
}

.auth-oauth__copy {
  color: #66758c;
  letter-spacing: 0;
  text-transform: none;
}

@media (max-width: 1100px) {
  .auth-shell {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .auth-shell__brand-panel {
    min-height: 420px;
  }

  .auth-card {
    order: -1;
    margin-left: 0;
  }
}

@media (max-width: 640px) {
  .page-main--auth-shell {
    padding: 16px;
  }

  .auth-shell__brand-panel,
  .auth-card {
    border-radius: 24px;
  }

  .auth-shell__brand-panel {
    min-height: 0;
    padding: 24px;
  }

  .auth-shell__copy h2 {
    font-size: 38px;
  }

  .auth-shell__metrics {
    grid-template-columns: 1fr;
    margin-left: 0;
  }

  .auth-card {
    min-height: 0;
    padding: 24px;
  }

  .auth-actions,
  .auth-oauth__grid {
    grid-template-columns: 1fr;
  }
}

/* 2026-07-10 AWS auth mockup tightening pass. Keep configured social providers intact; only fixes visual layout. */
.auth-shell__metrics {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-content: end;
  width: min(430px, 100%);
}

.auth-shell__readiness-head,
.auth-shell__readiness-bar,
.auth-shell__readiness-stats {
  grid-column: 1;
}

.auth-shell__readiness-head {
  margin: 0;
}

.auth-shell__metrics .auth-shell__readiness-head span {
  display: inline-flex;
  width: auto;
  min-height: 0;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
}

.auth-shell__readiness-head strong {
  font-size: 36px;
}

.auth-shell__readiness-bar {
  min-height: 10px;
  padding: 0;
}

.auth-shell__readiness-bar span {
  min-height: 0;
  padding: 0;
  border: 0;
  background: linear-gradient(90deg, #ff9900, #34d5ff);
}

.auth-shell__readiness-stats span {
  min-height: 104px;
}

.auth-shell__readiness-stats strong {
  font-size: 32px;
  line-height: 1;
}

@media (max-width: 640px) {
  .auth-shell__readiness-stats {
    grid-template-columns: 1fr;
  }
}

/* 2026-07-12 prototype consolidation: Inter cockpit typography and capability-based guest messaging. */
body.page--auth-shell {
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --auth-ink: #0b1020;
  --auth-muted: #667085;
  --auth-amber: #ff9900;
  --auth-aqua: #34d5ff;
  --auth-mint: #38e6a3;
  font-family: var(--font-body);
}

.page--auth-shell :is(button, input, select, textarea) {
  font-family: inherit;
}

.auth-shell__brand-panel::after {
  background:
    radial-gradient(circle at 22% 28%, rgba(255, 153, 0, 0.26), transparent 26%),
    radial-gradient(circle at 78% 72%, rgba(52, 213, 255, 0.24), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.05));
}

.auth-shell__copy h2,
.auth-card h1,
.auth-alert h2,
.auth-otp-card h2 {
  font-family: var(--font-body);
  letter-spacing: 0;
}

.auth-shell__copy h2 {
  text-wrap: balance;
}

.auth-shell__capability-rule {
  grid-column: 1;
  display: block;
  width: 100%;
  height: 10px;
  min-height: 10px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--auth-amber), var(--auth-aqua), var(--auth-mint));
}

.auth-shell__readiness-head strong {
  max-width: 52%;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.08;
  text-align: right;
}

.auth-shell__readiness-stats strong {
  font-size: clamp(21px, 2vw, 27px);
  letter-spacing: 0;
}

.auth-shell__readiness-stats small {
  line-height: 1.35;
}

.auth-card,
.auth-shell__brand-panel {
  border-radius: 32px;
}

.auth-card .btn,
.auth-card input,
.auth-oauth__button {
  border-radius: 16px;
}

@media (max-width: 1100px) {
  .auth-shell__metrics {
    margin-left: 0;
  }
}

@media (max-width: 640px) {
  .auth-shell__readiness-head strong {
    max-width: 48%;
    font-size: 18px;
  }

  .auth-shell__readiness-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .auth-shell__readiness-stats span {
    min-height: 96px;
    padding: 14px;
  }

  .auth-shell__readiness-stats strong {
    font-size: 19px;
  }
}

@media (max-width: 420px) {
  .auth-shell__readiness-stats {
    grid-template-columns: 1fr;
  }
}

/* 2026-08-08 visual-system consolidation: align auth with public certification and cockpit shells. */
body.page--auth-shell {
  background:
    radial-gradient(circle at 16% 12%, rgba(56, 230, 163, 0.16), transparent 26%),
    radial-gradient(circle at 92% 14%, rgba(255, 153, 0, 0.13), transparent 28%),
    linear-gradient(180deg, #eef8f3 0%, #f7f9fd 44%, #ffffff 100%);
  color: var(--auth-ink);
}

.page-main--auth-shell {
  width: min(1240px, 100%);
  min-height: 100vh;
  padding: clamp(20px, 4vw, 40px);
}

.auth-shell {
  grid-template-columns: minmax(0, 0.95fr) minmax(380px, 0.72fr);
  gap: 24px;
  align-items: stretch;
}

.auth-shell__brand-panel,
.auth-card {
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 28px;
  box-shadow: 0 24px 70px rgba(11, 16, 32, 0.08);
}

.auth-shell__brand-panel {
  min-height: min(680px, calc(100vh - 80px));
  padding: clamp(30px, 4vw, 48px);
  background:
    radial-gradient(circle at 94% 12%, rgba(56, 230, 163, 0.2), transparent 30%),
    radial-gradient(circle at 8% 96%, rgba(255, 153, 0, 0.16), transparent 34%),
    rgba(255, 255, 255, 0.94);
  color: var(--auth-ink);
}

.auth-shell__brand-panel::after {
  right: 32px;
  bottom: 32px;
  width: min(340px, 48%);
  height: 172px;
  border-color: rgba(232, 170, 46, 0.28);
  border-radius: 24px;
  background:
    linear-gradient(90deg, var(--auth-amber), #ffc45a) 24px 60px / calc(100% - 48px) 10px no-repeat,
    linear-gradient(90deg, rgba(52, 213, 255, 0.86), rgba(56, 230, 163, 0.82)) 24px 86px / 62% 10px no-repeat,
    rgba(255, 255, 255, 0.72);
  opacity: 0.84;
}

.auth-shell__brand,
.auth-shell__brand strong {
  color: var(--auth-ink);
}

.auth-shell__brand small,
.auth-shell__copy p,
.auth-card > p,
.auth-otp-card > p,
.auth-alert > p {
  color: #5b6a80;
}

.auth-shell__mark {
  border-radius: 16px;
  background: linear-gradient(135deg, var(--auth-amber), #ffc45a);
  color: #111827;
}

.auth-shell__kicker,
.auth-shell__brand-panel .auth-shell__kicker {
  border-color: rgba(21, 122, 116, 0.24);
  background: rgba(238, 250, 245, 0.92);
  color: #0f5f5b;
  letter-spacing: 0;
}

.auth-shell__copy h2,
.auth-card h1,
.auth-alert h2,
.auth-otp-card h2 {
  color: var(--auth-ink);
  letter-spacing: 0;
}

.auth-shell__copy h2 {
  font-size: clamp(2.25rem, 4vw, 3.65rem);
  line-height: 1.02;
}

.auth-shell__copy p {
  font-size: 17px;
  line-height: 1.55;
}

.auth-shell__metrics {
  width: min(430px, 100%);
  margin-left: 0;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 48px rgba(11, 16, 32, 0.07);
}

.auth-shell__readiness-head span,
.auth-shell__metrics .auth-shell__readiness-head span {
  background: rgba(255, 153, 0, 0.16);
  color: #8a4d00;
}

.auth-shell__readiness-head strong {
  max-width: none;
  color: var(--auth-ink);
  text-align: left;
}

.auth-shell__metrics span {
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.86);
}

.auth-shell__metrics strong,
.auth-shell__readiness-stats strong {
  color: var(--auth-ink);
  letter-spacing: 0;
}

.auth-shell__metrics small,
.auth-shell__readiness-stats small {
  color: #5b6a80;
}

.auth-shell__capability-rule,
.auth-shell__readiness-bar span {
  background: linear-gradient(90deg, var(--auth-amber), var(--auth-mint), var(--auth-aqua));
}

.auth-shell__metrics .auth-shell__capability-rule {
  display: block;
  width: 100%;
  height: 10px;
  min-height: 10px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--auth-amber), var(--auth-mint), var(--auth-aqua));
}

.auth-card {
  min-height: auto;
  margin-left: 0;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
}

.auth-card h1 {
  font-size: clamp(2.25rem, 4vw, 2.75rem);
  line-height: 1.05;
}

.auth-field .question-meta,
.auth-field__label-row .question-meta {
  color: #5b6a80;
  letter-spacing: 0;
}

.auth-inline-link {
  color: #0f5f5b;
}

input.auth-input {
  border-color: rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.92);
}

input.auth-input:focus {
  border-color: rgba(255, 153, 0, 0.66);
  box-shadow: 0 0 0 4px rgba(255, 153, 0, 0.14);
}

.auth-alert,
.auth-otp-card {
  border-color: rgba(15, 23, 42, 0.1);
  background: rgba(247, 249, 253, 0.82);
}

.auth-actions .btn--primary {
  border-color: rgba(255, 153, 0, 0.58);
  background: linear-gradient(135deg, var(--auth-amber), #ffc45a);
  color: #111827;
}

.auth-actions .btn--outline,
.auth-oauth__button {
  border-color: rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.82);
  color: #111827;
}

@media (max-width: 1100px) {
  .auth-shell {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .auth-shell__brand-panel {
    min-height: auto;
  }

  .auth-card {
    order: -1;
  }
}

@media (max-width: 640px) {
  .page-main--auth-shell {
    padding: 16px;
  }

  .auth-shell {
    gap: 16px;
  }

  .auth-shell__brand-panel,
  .auth-card {
    border-radius: 24px;
  }

  .auth-shell__brand-panel {
    padding: 24px;
  }

  .auth-shell__copy h2 {
    font-size: 32px;
  }

  .auth-shell__copy p {
    font-size: 15px;
  }

  .auth-shell__readiness-head {
    align-items: flex-start;
  }

  .auth-shell__readiness-head strong {
    max-width: 50%;
    font-size: 18px;
    text-align: right;
  }

  .auth-actions,
  .auth-oauth__grid {
    grid-template-columns: 1fr;
  }
}

/* 2026-08-08 social workspace auth consolidation final cascade: compact professional entry pages. */
body.page--auth-shell {
  --auth-social-blue: #0a66c2;
  --auth-action-blue: #1877f2;
  --auth-ink: #1f2937;
  --auth-muted: #5f6b7a;
  --auth-line: #d6dbe3;
  --auth-soft: #f3f2ef;
  --auth-radius: 8px;
  --auth-control-radius: 6px;
  --auth-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
  background: linear-gradient(180deg, #f3f2ef 0%, #eef2f6 100%);
  color: var(--auth-ink);
}

.page-main--auth-shell {
  width: min(1120px, 100%);
  min-height: 100vh;
  padding: 24px;
  align-items: center;
}

.auth-shell {
  grid-template-columns: minmax(0, 1fr) minmax(340px, 430px);
  gap: 16px;
  align-items: start;
}

.auth-shell__brand-panel,
.auth-card,
.auth-shell__metrics,
.auth-alert,
.auth-otp-card {
  border: 1px solid var(--auth-line);
  border-radius: var(--auth-radius);
  background: #fff;
  box-shadow: var(--auth-shadow);
}

.auth-shell__brand-panel {
  min-height: 0;
  padding: 16px;
  align-content: start;
  gap: 18px;
  border-left: 4px solid var(--auth-amber);
  color: var(--auth-ink);
}

.auth-shell__brand-panel::after {
  display: none;
}

.auth-shell__brand {
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
}

.auth-shell__mark {
  width: 38px;
  height: 38px;
  border-radius: var(--auth-radius);
  background: linear-gradient(135deg, var(--auth-amber), #ffc45a);
  box-shadow: none;
}

.auth-shell__brand,
.auth-shell__brand strong,
.auth-shell__brand small,
.auth-shell__copy h2,
.auth-card h1,
.auth-alert h2,
.auth-otp-card h2 {
  color: var(--auth-ink);
}

.auth-shell__brand strong {
  font-size: 16px;
}

.auth-shell__brand small,
.auth-shell__copy p,
.auth-card > p,
.auth-otp-card > p,
.auth-alert > p,
.auth-shell__metrics small,
.auth-shell__readiness-stats small {
  color: var(--auth-muted);
}

.auth-shell__copy {
  max-width: 620px;
  gap: 10px;
}

.auth-shell__copy h2 {
  max-width: 560px;
  font-size: clamp(28px, 2.6vw, 40px);
  line-height: 1.1;
}

.auth-shell__copy p {
  max-width: 620px;
  font-size: 14px;
  line-height: 1.5;
}

.auth-shell__kicker,
.auth-shell__brand-panel .auth-shell__kicker,
.auth-shell__readiness-head span,
.auth-shell__metrics .auth-shell__readiness-head span {
  min-height: 0;
  padding: 5px 8px;
  border-color: #cfe1f7;
  border-radius: var(--auth-control-radius);
  background: #eef3ff;
  color: var(--auth-social-blue);
  font-size: 11px;
  letter-spacing: 0;
  text-transform: none;
}

.auth-shell__metrics {
  width: 100%;
  max-width: 560px;
  margin-left: 0;
  padding: 12px;
  gap: 10px;
  background: #fff;
}

.auth-shell__readiness-head {
  gap: 10px;
}

.auth-shell__readiness-head strong {
  max-width: none;
  color: var(--auth-ink);
  font-size: 16px;
  text-align: right;
}

.auth-shell__capability-rule,
.auth-shell__readiness-bar,
.auth-shell__readiness-bar span,
.auth-shell__metrics .auth-shell__capability-rule,
.auth-shell__metrics .auth-shell__readiness-bar {
  height: 6px;
  min-height: 6px;
  border-radius: 999px;
}

.auth-shell__capability-rule,
.auth-shell__readiness-bar span {
  background: linear-gradient(90deg, var(--auth-amber), var(--auth-social-blue));
}

.auth-shell__metrics .auth-shell__capability-rule {
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
}

.auth-shell__readiness-stats {
  gap: 10px;
}

.auth-shell__metrics span,
.auth-shell__readiness-stats span {
  min-height: 0;
  padding: 10px;
  border: 1px solid var(--auth-line);
  border-radius: var(--auth-control-radius);
  background: #f7f8fa;
}

.auth-shell__metrics strong,
.auth-shell__readiness-stats strong {
  color: var(--auth-ink);
  font-size: 18px;
  line-height: 1.1;
}

.auth-card {
  min-height: 0;
  margin-left: 0;
  padding: 18px;
  gap: 14px;
  background: #fff;
  backdrop-filter: none;
}

.auth-card h1 {
  font-size: clamp(30px, 3vw, 38px);
  line-height: 1.08;
}

.auth-card > p,
.auth-otp-card > p,
.auth-alert > p {
  font-size: 14px;
  line-height: 1.5;
}

.auth-form,
.auth-field {
  gap: 10px;
}

.auth-field .question-meta,
.auth-field__label-row .question-meta {
  color: var(--auth-muted);
  font-size: 11px;
  letter-spacing: 0.04em;
}

input.auth-input {
  min-height: 42px;
  padding: 9px 11px;
  border-color: var(--auth-line);
  border-radius: var(--auth-control-radius);
  background: #f7f8fa;
  font-size: 14px;
}

input.auth-input:focus {
  border-color: rgba(10, 102, 194, 0.5);
  box-shadow: 0 0 0 3px rgba(10, 102, 194, 0.12);
}

.auth-actions {
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.auth-actions .btn,
.auth-card .btn,
.auth-card input,
.auth-oauth__button {
  min-height: 40px;
  border-radius: var(--auth-control-radius);
  box-shadow: none;
}

body.page--auth-shell input.auth-input {
  min-height: 42px;
}

.auth-actions .btn--primary {
  border-color: #d99a16;
  background: linear-gradient(180deg, #f5c451, #e8aa2e);
  color: #111827;
}

.auth-actions .btn--outline,
.auth-oauth__button {
  border-color: var(--auth-line);
  background: #fff;
  color: var(--auth-social-blue);
}

.auth-oauth__grid {
  gap: 8px;
}

.auth-oauth__button {
  min-height: 40px;
}

.auth-alert,
.auth-otp-card {
  padding: 12px;
  gap: 10px;
}

@media (max-width: 900px) {
  .page-main--auth-shell {
    padding: 14px;
    align-items: start;
  }

  .auth-shell {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .auth-card {
    order: -1;
  }
}

@media (max-width: 640px) {
  .page-main--auth-shell {
    padding: 10px;
  }

  .auth-shell {
    gap: 10px;
  }

  .auth-shell__brand-panel,
  .auth-card {
    padding: 14px;
    border-radius: var(--auth-radius);
  }

  .auth-shell__copy h2 {
    font-size: 28px;
  }

  .auth-shell__copy p {
    font-size: 14px;
  }

  .auth-shell__readiness-head {
    align-items: center;
  }

  .auth-shell__readiness-head strong {
    max-width: none;
    font-size: 16px;
  }

  .auth-shell__readiness-stats,
  .auth-actions,
  .auth-oauth__grid {
    grid-template-columns: 1fr;
  }
}
