/* ============================================================================
   ZKCAP-X · ui-next/v3 · AUTH / FOCUSED COMPOSITION
   Layer 4 of 6 — one focused shell shared by AUTH-ACCESS, AUTH-INTENT and
   AUTH-CLIENT-ONBOARD.

   The focused composition is deliberately BRIGHTER than the public marketing
   surfaces: paper-led, less navy, no hero artwork. It reads as a working
   environment rather than a brochure.
   ========================================================================== */

.product-shell[data-shell="focused"] {
  background: var(--paper-050);
}

.auth-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1.28fr);
  min-height: calc(100vh - 64px);
}

/* --- Context panel --- */

.auth-aside {
  background-color: var(--paper-100);
  background-image: linear-gradient(180deg, var(--paper-100) 0%, var(--paper-150) 100%);
  color: var(--ink-800);
  padding: var(--s-16) var(--s-12);
  border-right: 1px solid var(--line);
}

.auth-aside-inner { max-width: 44ch; }
.auth-aside .d3 { color: var(--ink-900); }
.auth-aside .body { color: var(--ink-700); }
.auth-aside .bullets li { color: var(--ink-600); font-size: var(--fs-micro); }
.auth-aside .eyebrow { color: var(--gilt-700); }

.auth-stat {
  display: flex;
  flex-direction: column;
  gap: var(--s-1);
  padding-top: var(--s-6);
  border-top: 1px solid var(--line);
}

.auth-stat-value { font-family: var(--font-display); font-size: 2.25rem; color: var(--ink-900); line-height: 1; }
.auth-stat-label { font-size: var(--fs-micro); color: var(--ink-500); max-width: 30ch; }

/* --- Form column --- */

.auth-main {
  display: flex;
  justify-content: center;
  padding: var(--s-16) var(--s-10);
}

.auth-main-inner { width: 100%; max-width: 640px; }

.auth-card {
  background: var(--paper-000);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(7, 17, 32, 0.03), 0 12px 30px -22px rgba(7, 17, 32, 0.3);
}

.auth-card-head { padding: var(--s-8) var(--s-8) var(--s-6); border-bottom: 1px solid var(--line-soft); }
.auth-card-body { padding: var(--s-8); }
.auth-card-foot {
  padding: var(--s-5) var(--s-8);
  border-top: 1px solid var(--line-soft);
  background: var(--paper-050);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
}

.verify-block {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: var(--s-4);
  align-items: start;
  padding: var(--s-5);
  border: 1px solid var(--line);
  border-left: 2px solid var(--gilt-500);
  border-radius: var(--radius-sm);
  background: var(--paper-050);
}

.verify-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xs);
  background: var(--paper-000);
  color: var(--navy-800);
}

.invite-org {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: var(--s-4);
  align-items: center;
  padding: var(--s-5);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper-050);
}

.invite-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xs);
  background: var(--paper-000);
  color: var(--gilt-600);
}

/* ---------------------------------------------------------------------------
   ONBOARDING
   ------------------------------------------------------------------------ */

.onboard-layout { display: flex; flex-direction: column; min-height: calc(100vh - 64px); }

.onboard-head {
  padding-block: var(--s-8);
  background: var(--paper-100);
  border-bottom: 1px solid var(--line);
}

.onboard-count {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  letter-spacing: 0.05em;
  color: var(--gilt-700);
  white-space: nowrap;
}

.onboard-body {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
  gap: var(--s-12);
  align-items: start;
  padding-block: var(--s-12);
}

.onboard-main { min-width: 0; }

.onboard-foot {
  position: sticky;
  bottom: 0;
  padding-block: var(--s-5);
  background: var(--paper-000);
  border-top: 1px solid var(--line);
}

.onboard-foot-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s-6); }

/* Focused shell keeps the footer minimal */
.foot-focused .t-micro,
.foot-focused .micro { color: var(--ink-500); }
