/* ============================================================
   AUTH — sign in / sign up / SSO / forgot / verify / invite / first-run
   ============================================================ */

body { overflow: auto; }

.auth-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(420px, 1fr) 1.1fr;
  background: var(--bg);
}
@media (max-width: 900px) {
  .auth-shell { grid-template-columns: 1fr; }
  .auth-shell .auth-hero { display: none; }
}

/* ---- left pane (form) ---- */
.auth-form-pane {
  display: flex;
  flex-direction: column;
  padding: 32px 56px;
  min-height: 100vh;
  position: relative;
}
.auth-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 64px;
}
.auth-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--fg);
}
.auth-brand .mark {
  width: 30px; height: 30px; border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dim));
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--accent-ink); font-weight: 800; font-size: 13px;
  letter-spacing: -0.02em;
  box-shadow: 0 0 0 1px oklch(100% 0 0 / 0.06) inset;
}
.auth-brand .name {
  font-weight: 700; font-size: 15px; letter-spacing: -0.02em;
}
.auth-brand .tag {
  font-family: var(--font-mono); font-size: 10px;
  color: var(--fg-4); letter-spacing: 0.08em; text-transform: uppercase;
  margin-left: 2px;
}
.auth-top-right {
  display: flex; align-items: center; gap: 14px;
  font-size: 12px; color: var(--fg-3);
}
.auth-top-right a { color: var(--fg); text-decoration: none; font-weight: 600; }
.auth-top-right a:hover { text-decoration: underline; }

.auth-form-wrap {
  flex: 1;
  display: flex; flex-direction: column;
  max-width: 380px;
  width: 100%;
  margin: 0 auto;
  justify-content: center;
  padding-bottom: 64px;
}
.auth-form-wrap.wide { max-width: 460px; }

.auth-kicker {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: inline-flex; align-items: center; gap: 6px;
}
.auth-kicker .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.auth-form-wrap h1 {
  font-family: "Source Serif 4", serif;
  font-weight: 500;
  font-size: 32px;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 10px;
  color: var(--fg);
  text-wrap: balance;
}
.auth-form-wrap .sub {
  font-size: 13.5px;
  color: var(--fg-3);
  margin: 0 0 28px;
  line-height: 1.5;
}
.auth-form-wrap .sub a { color: var(--fg); font-weight: 600; }

.auth-sso {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
}
.auth-sso-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg-1);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--fg);
  cursor: pointer;
  transition: background 0.12s, border-color 0.12s;
}
.auth-sso-btn:hover { background: var(--bg-2); border-color: var(--fg-4); }
.auth-sso-btn.full { grid-column: 1 / -1; }
.auth-sso-btn svg { flex-shrink: 0; }

.auth-divider {
  display: flex; align-items: center; gap: 12px;
  margin: 18px 0;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-4);
}
.auth-divider::before,
.auth-divider::after {
  content: ""; flex: 1; height: 1px; background: var(--line-soft);
}

.auth-field { margin-bottom: 14px; }
.auth-field label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--fg-2);
  letter-spacing: 0.02em;
  margin-bottom: 6px;
  text-transform: uppercase;
  font-family: var(--font-mono);
}
.auth-field input,
.auth-field .compound-input {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg-1);
  font-size: 14px;
  color: var(--fg);
  transition: border-color 0.12s, background 0.12s;
  font-family: var(--font-sans);
}
.auth-field input:focus,
.auth-field .compound-input:focus-within {
  border-color: var(--accent);
  background: var(--bg-2);
  box-shadow: 0 0 0 3px var(--accent-glow);
  outline: none;
}
.auth-field .compound-input {
  display: flex; align-items: center; gap: 0;
  padding: 0;
}
.auth-field .compound-input input {
  border: none; background: transparent; padding: 11px 13px; flex: 1;
}
.auth-field .compound-input input:focus { box-shadow: none; background: transparent; }
.auth-field .compound-input .adornment {
  padding: 0 12px;
  font-size: 12px;
  color: var(--fg-4);
  font-family: var(--font-mono);
  border-left: 1px solid var(--line-soft);
  display: inline-flex; align-items: center; height: 100%;
}
.auth-field .compound-input .prefix {
  padding: 0 0 0 13px;
  color: var(--fg-4);
  font-size: 14px;
  display: inline-flex; align-items: center;
}
.auth-field .compound-input .prefix + input { padding-left: 6px; }

.auth-field-row { display: flex; gap: 10px; }
.auth-field-row .auth-field { flex: 1; }

.auth-field .hint {
  font-size: 11px;
  color: var(--fg-4);
  margin-top: 6px;
}
.auth-field .error {
  font-size: 11.5px;
  color: oklch(72% 0.17 25);
  margin-top: 6px;
  display: flex; align-items: center; gap: 4px;
}

.auth-field .password-wrap {
  position: relative;
}
.auth-field .password-wrap button.peek {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  color: var(--fg-4);
  font-size: 11px;
  padding: 4px 6px;
  border-radius: 4px;
  background: transparent;
  font-family: var(--font-mono);
}
.auth-field .password-wrap button.peek:hover { color: var(--fg); background: var(--bg-3); }

.auth-row-between {
  display: flex; align-items: center; justify-content: space-between;
  margin: 4px 0 20px;
  font-size: 12px;
}
.auth-row-between .remember {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--fg-2);
  cursor: pointer;
  user-select: none;
}
.auth-row-between .remember input {
  width: 14px; height: 14px;
  accent-color: var(--accent);
}
.auth-row-between a { color: var(--fg); font-weight: 600; text-decoration: none; font-size: 12px; }
.auth-row-between a:hover { text-decoration: underline; }

.auth-submit {
  width: 100%;
  padding: 12px 16px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: -0.01em;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.12s, transform 0.1s;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}
.auth-submit:hover { background: color-mix(in oklch, var(--accent) 90%, white); }
.auth-submit:active { transform: scale(0.995); }
.auth-submit[disabled] { opacity: 0.6; cursor: not-allowed; }
.auth-submit.ghost {
  background: transparent; color: var(--fg); border: 1px solid var(--line);
}
.auth-submit.ghost:hover { background: var(--bg-2); }

.auth-footer-note {
  margin-top: 20px;
  text-align: center;
  font-size: 12.5px;
  color: var(--fg-3);
}
.auth-footer-note a { color: var(--fg); font-weight: 600; text-decoration: none; }
.auth-footer-note a:hover { text-decoration: underline; }

.auth-legal {
  font-size: 10.5px;
  color: var(--fg-4);
  text-align: center;
  line-height: 1.6;
  margin-top: 28px;
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}
.auth-legal a { color: var(--fg-3); text-decoration: none; }
.auth-legal a:hover { color: var(--fg); text-decoration: underline; }

.auth-bottom {
  display: flex; justify-content: space-between;
  font-size: 11px;
  color: var(--fg-4);
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: auto;
  padding-top: 24px;
}
.auth-bottom a { color: var(--fg-4); text-decoration: none; }
.auth-bottom a:hover { color: var(--fg); }

/* ---- right pane (hero) ---- */
.auth-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 15% 10%, color-mix(in oklch, var(--accent) 14%, transparent) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 100% 100%, color-mix(in oklch, oklch(70% 0.14 260) 16%, transparent) 0%, transparent 60%),
    var(--bg-1);
  border-left: 1px solid var(--line-soft);
}
.auth-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.35;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 80%);
}
.auth-hero-inner {
  position: relative;
  padding: 56px;
  min-height: 100vh;
  display: flex; flex-direction: column;
  gap: 40px;
}

/* testimonial card */
.auth-testimonial {
  max-width: 440px;
  background: color-mix(in oklch, var(--bg-2) 70%, transparent);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  padding: 24px 24px;
  backdrop-filter: blur(10px);
}
.auth-testimonial .quote {
  font-family: "Source Serif 4", serif;
  font-size: 22px;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--fg);
  margin: 0 0 18px;
  text-wrap: balance;
}
.auth-testimonial .quote::before { content: "“"; color: var(--accent); margin-right: 2px; }
.auth-testimonial .quote::after { content: "”"; color: var(--accent); }
.auth-testimonial .author {
  display: flex; align-items: center; gap: 12px;
}
.auth-testimonial .avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, oklch(72% 0.16 30), oklch(55% 0.18 10));
  display: inline-flex; align-items: center; justify-content: center;
  color: white; font-family: var(--font-mono); font-weight: 600; font-size: 11px;
}
.auth-testimonial .who .n { font-size: 13px; font-weight: 600; color: var(--fg); }
.auth-testimonial .who .r { font-size: 11.5px; color: var(--fg-4); margin-top: 1px; }

/* mini dashboard preview */
.auth-preview {
  flex: 1;
  position: relative;
  min-height: 420px;
}
.preview-window {
  position: absolute;
  left: 40px; right: -120px; top: 0; bottom: 0;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 30px 80px oklch(0% 0 0 / 0.4), 0 1px 0 oklch(100% 0 0 / 0.04) inset;
  overflow: hidden;
  display: flex;
  transform: perspective(1600px) rotateY(-5deg) rotateX(1deg);
}
.preview-sidebar {
  width: 48px;
  flex-shrink: 0;
  border-right: 1px solid var(--line-soft);
  background: var(--bg-1);
  padding: 12px 6px;
  display: flex; flex-direction: column; gap: 6px;
}
.preview-sidebar .dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--line);
  margin: 0 auto 4px;
}
.preview-sidebar .dot.accent { background: var(--accent); }
.preview-sidebar .row {
  height: 24px; border-radius: 5px;
}
.preview-sidebar .row.a { background: var(--bg-3); }
.preview-sidebar .row.b { background: var(--bg-2); }

.preview-main { flex: 1; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.preview-top {
  display: flex; align-items: center; gap: 8px;
  border-bottom: 1px solid var(--line-soft);
  padding-bottom: 10px;
}
.preview-top .crumb {
  font-size: 10px; color: var(--fg-3);
  font-family: var(--font-mono); letter-spacing: 0.04em;
}
.preview-top .crumb strong { color: var(--fg); }
.preview-top .pulse-pill {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 9px; font-family: var(--font-mono);
  color: var(--accent); letter-spacing: 0.08em; text-transform: uppercase;
}
.preview-top .pulse-pill .p {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.preview-cols {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px;
  flex: 1; overflow: hidden;
}
.preview-col { display: flex; flex-direction: column; gap: 6px; }
.preview-col h4 {
  font-size: 9px;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-4);
  margin: 0 0 2px;
  display: flex; align-items: center; gap: 4px;
}
.preview-col h4 .bubble {
  width: 6px; height: 6px; border-radius: 50%; display: inline-block;
}
.preview-col h4 .count {
  margin-left: auto; color: var(--fg-3); font-weight: 400;
}
.preview-card {
  background: var(--bg-1);
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  padding: 7px 8px;
  display: flex; flex-direction: column; gap: 4px;
}
.preview-card .title { font-size: 10px; color: var(--fg); line-height: 1.3; }
.preview-card .meta {
  display: flex; align-items: center; gap: 4px;
  font-size: 8px; color: var(--fg-4);
}
.preview-card .meta .bar {
  height: 4px; border-radius: 2px; background: var(--bg-3); flex: 1;
  overflow: hidden;
}
.preview-card .meta .bar .fill {
  height: 100%; background: var(--accent);
}
.preview-card .assignees {
  display: flex; margin-left: auto;
}
.preview-card .assignees .av {
  width: 14px; height: 14px; border-radius: 50%;
  border: 1.5px solid var(--bg-1);
  margin-left: -4px;
}
.preview-card .assignees .av:first-child { margin-left: 0; }

/* feature bullets */
.auth-features {
  display: flex; flex-direction: column; gap: 18px;
  max-width: 460px;
  margin-top: auto;
}
.auth-feature {
  display: flex; gap: 14px;
  align-items: flex-start;
}
.auth-feature .dot {
  width: 28px; height: 28px; border-radius: 8px;
  background: color-mix(in oklch, var(--accent) 18%, var(--bg-2));
  border: 1px solid color-mix(in oklch, var(--accent) 35%, var(--line));
  color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.auth-feature .text .t {
  font-size: 13px; font-weight: 600; color: var(--fg); margin-bottom: 3px;
}
.auth-feature .text .d {
  font-size: 12px; color: var(--fg-3); line-height: 1.45;
}

.auth-logos {
  display: flex; align-items: center; gap: 20px;
  flex-wrap: wrap;
  opacity: 0.7;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
}
.auth-logos .lbl {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-4);
}
.auth-logos .logo {
  font-family: "Source Serif 4", serif;
  font-style: italic;
  font-size: 14px;
  color: var(--fg-3);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.auth-logos .logo.sans {
  font-family: var(--font-sans);
  font-style: normal;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.auth-logos .logo.mono {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-style: normal;
}

/* ---- password strength ---- */
.pw-strength {
  display: flex; gap: 4px; margin-top: 8px;
}
.pw-strength .bar {
  flex: 1; height: 3px; border-radius: 2px;
  background: var(--bg-3);
  transition: background 0.2s;
}
.pw-strength .bar.on-1 { background: oklch(72% 0.17 25); }
.pw-strength .bar.on-2 { background: oklch(75% 0.15 60); }
.pw-strength .bar.on-3 { background: oklch(75% 0.14 110); }
.pw-strength .bar.on-4 { background: var(--accent); }
.pw-strength-label {
  font-size: 11px; color: var(--fg-4);
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
  margin-top: 6px;
}
.pw-strength-label strong { color: var(--fg-2); }

/* ---- mode tabs (toggle signin/signup/sso etc) ---- */
.auth-mode-tabs {
  position: fixed;
  left: 24px;
  bottom: 24px;
  display: flex; flex-direction: column; gap: 6px;
  background: color-mix(in oklch, var(--bg-1) 92%, transparent);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: 10px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--fg-4);
  letter-spacing: 0.02em;
  backdrop-filter: blur(12px);
  z-index: 9999;
  max-width: 180px;
}
.auth-mode-tabs .lbl {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-4);
  margin-bottom: 2px;
}
.auth-mode-tabs button {
  text-align: left;
  padding: 5px 8px;
  border-radius: 5px;
  background: transparent;
  color: var(--fg-3);
  font-family: var(--font-mono);
  font-size: 10.5px;
  cursor: pointer;
  transition: background 0.12s, color 0.12s;
  display: flex; align-items: center; gap: 6px;
}
.auth-mode-tabs button:hover { background: var(--bg-2); color: var(--fg); }
.auth-mode-tabs button[data-on="true"] { background: var(--bg-3); color: var(--fg); }
.auth-mode-tabs button .num {
  color: var(--fg-4); font-size: 9px;
}

/* ---- verify / invite / wizard shared ---- */
.auth-verify-box {
  display: flex; flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 0;
}
.auth-icon-bubble {
  width: 64px; height: 64px; border-radius: 18px;
  background: color-mix(in oklch, var(--accent) 18%, var(--bg-2));
  border: 1px solid color-mix(in oklch, var(--accent) 35%, var(--line));
  color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.auth-verify-box h1 { text-align: center; }
.auth-verify-box .sub { text-align: center; }
.auth-verify-email {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--fg);
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  padding: 6px 10px;
  display: inline-block;
}

.auth-code-input {
  display: flex; gap: 8px;
  justify-content: center;
  margin: 16px 0;
}
.auth-code-input input {
  width: 48px; height: 56px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 600;
  color: var(--fg);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg-1);
  transition: border-color 0.12s, background 0.12s;
}
.auth-code-input input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
  outline: none;
  background: var(--bg-2);
}
.auth-code-input input.filled { background: var(--bg-2); border-color: var(--accent); }

.auth-resend {
  font-size: 12px;
  color: var(--fg-3);
  text-align: center;
}
.auth-resend a { color: var(--fg); font-weight: 600; }
.auth-resend .timer {
  font-family: var(--font-mono);
  color: var(--fg-4);
}

/* ---- invite surface ---- */
.auth-invite-card {
  background: var(--bg-1);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  padding: 18px;
  margin: 20px 0 24px;
  display: flex; align-items: center; gap: 14px;
}
.auth-invite-card .org-mark {
  width: 44px; height: 44px; border-radius: 10px;
  flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  color: white; font-weight: 700; font-family: var(--font-mono); font-size: 13px;
  background: linear-gradient(135deg, oklch(72% 0.16 30), oklch(55% 0.18 10));
}
.auth-invite-card .meta {
  flex: 1;
}
.auth-invite-card .meta .t { font-size: 14px; font-weight: 600; color: var(--fg); margin-bottom: 2px; }
.auth-invite-card .meta .s { font-size: 11.5px; color: var(--fg-3); }
.auth-invite-card .role {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: color-mix(in oklch, oklch(72% 0.14 260) 18%, var(--bg-2));
  color: oklch(80% 0.13 260);
  border: 1px solid color-mix(in oklch, oklch(72% 0.14 260) 35%, var(--line));
}
.invited-by {
  font-size: 11.5px;
  color: var(--fg-3);
  display: flex; align-items: center; gap: 6px;
  margin-bottom: 18px;
}
.invited-by .av {
  width: 18px; height: 18px; border-radius: 50%;
  background: linear-gradient(135deg, oklch(72% 0.14 30), oklch(55% 0.14 10));
  display: inline-flex; align-items: center; justify-content: center;
  color: white; font-family: var(--font-mono); font-size: 8px; font-weight: 600;
}

/* ---- first-run wizard ---- */
.wizard-progress {
  display: flex; align-items: center; gap: 6px;
  margin-bottom: 28px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-4);
}
.wizard-progress .step {
  display: flex; align-items: center; gap: 6px;
  color: var(--fg-4);
}
.wizard-progress .step.current { color: var(--accent); }
.wizard-progress .step.done { color: var(--fg-2); }
.wizard-progress .step .n {
  width: 18px; height: 18px; border-radius: 50%;
  border: 1px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 10px;
  background: var(--bg-1);
}
.wizard-progress .step.current .n { border-color: var(--accent); color: var(--accent); background: color-mix(in oklch, var(--accent) 15%, var(--bg-1)); }
.wizard-progress .step.done .n { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.wizard-progress .sep {
  flex: 1; height: 1px; background: var(--line-soft); max-width: 28px;
}

.wizard-nav {
  display: flex; justify-content: space-between;
  margin-top: 24px;
  align-items: center;
}
.wizard-nav .back-btn {
  padding: 8px 12px;
  font-size: 12px;
  color: var(--fg-3);
  border-radius: 6px;
  background: transparent;
  display: inline-flex; align-items: center; gap: 6px;
}
.wizard-nav .back-btn:hover { color: var(--fg); background: var(--bg-2); }
.wizard-nav .skip {
  font-size: 11.5px; color: var(--fg-4);
  background: transparent;
}
.wizard-nav .skip:hover { color: var(--fg-3); }

/* wizard step specifics */
.wizard-choice-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  margin: 18px 0 24px;
}
.wizard-choice {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 14px;
  background: var(--bg-1);
  cursor: pointer;
  text-align: left;
  transition: background 0.12s, border-color 0.12s;
}
.wizard-choice:hover { border-color: var(--fg-4); background: var(--bg-2); }
.wizard-choice[data-on="true"] {
  border-color: var(--accent);
  background: color-mix(in oklch, var(--accent) 10%, var(--bg-1));
}
.wizard-choice .icon-bubble {
  width: 30px; height: 30px; border-radius: 8px;
  background: var(--bg-3);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--fg-2);
  margin-bottom: 8px;
}
.wizard-choice[data-on="true"] .icon-bubble {
  background: var(--accent); color: var(--accent-ink);
}
.wizard-choice .t { font-size: 13px; font-weight: 600; color: var(--fg); margin-bottom: 2px; }
.wizard-choice .d { font-size: 11.5px; color: var(--fg-3); line-height: 1.4; }

.wizard-invite-row {
  display: grid; grid-template-columns: 1fr 120px 32px; gap: 8px;
  margin-bottom: 8px;
  align-items: center;
}
.wizard-invite-row input {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--bg-1);
  font-size: 12.5px;
  color: var(--fg);
}
.wizard-invite-row input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
  outline: none;
}
.wizard-invite-row .role-sel {
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--bg-1);
  font-size: 12px;
  color: var(--fg-2);
  font-family: var(--font-sans);
  cursor: pointer;
}
.wizard-invite-row .x-btn {
  width: 28px; height: 28px; border-radius: 6px;
  background: transparent; color: var(--fg-4);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.wizard-invite-row .x-btn:hover { background: var(--bg-2); color: var(--fg); }

.wizard-add-row {
  font-size: 12px;
  color: var(--fg-3);
  padding: 6px 0;
  display: inline-flex; align-items: center; gap: 6px;
  cursor: pointer;
  background: transparent;
}
.wizard-add-row:hover { color: var(--fg); }

.wizard-summary {
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 12px;
  color: var(--fg-2);
  line-height: 1.6;
  margin: 8px 0 20px;
}
.wizard-summary dt {
  color: var(--fg-4);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 6px;
}
.wizard-summary dt:first-child { margin-top: 0; }
.wizard-summary dd { margin: 2px 0 0; color: var(--fg); font-weight: 500; }

/* ---- SSO list ---- */
.sso-list {
  display: flex; flex-direction: column; gap: 8px;
}
.sso-list .sso-entry {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-1);
  cursor: pointer;
  transition: background 0.12s, border-color 0.12s;
}
.sso-list .sso-entry:hover { background: var(--bg-2); border-color: var(--fg-4); }
.sso-list .sso-entry .ic {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--bg-3);
  display: inline-flex; align-items: center; justify-content: center;
}
.sso-list .sso-entry .n { font-size: 13px; font-weight: 600; color: var(--fg); }
.sso-list .sso-entry .d { font-size: 11px; color: var(--fg-4); margin-top: 1px; }
.sso-list .sso-entry .arrow {
  margin-left: auto; color: var(--fg-4);
}
.sso-list .sso-entry:hover .arrow { color: var(--fg); }
