.eyebrow {
  margin: 0 0 6px;
  color: var(--text-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.surface-card {
  border: 1px solid rgba(92, 63, 67, 0.55);
  background: linear-gradient(180deg, rgba(18, 26, 43, 0.96), rgba(14, 19, 35, 0.96));
  box-shadow: var(--shadow);
}

.auth-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.auth-card {
  width: min(100%, 520px);
  border-radius: 28px;
  padding: 32px;
}

.brand-block {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 28px;
}

.brand-mark {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: var(--secondary);
  background: rgba(68, 226, 246, 0.1);
  border: 1px solid rgba(68, 226, 246, 0.25);
  font-size: 26px;
  box-shadow: 0 0 22px rgba(68, 226, 246, 0.12);
}

.brand-block h1,
.sidebar-brand h2,
.topbar h1,
.editor-sheet-header h3,
.panel-head h3,
.section-toolbar h3 {
  margin: 0;
  font-family: "Outfit", sans-serif;
  letter-spacing: -0.02em;
}

.auth-copy,
.sidebar-copy,
.topbar-copy,
.section-copy {
  margin: 8px 0 0;
  color: var(--text-soft);
  line-height: 1.5;
}

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

.auth-mode-links,
.auth-links {
  display: grid;
  gap: 10px;
}

.auth-mode-links {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 14px;
}

.auth-text-button {
  padding: 6px;
  border: 0;
  background: transparent;
  color: var(--secondary);
  cursor: pointer;
  font-size: 13px;
}

.auth-text-button:hover {
  text-decoration: underline;
}

.auth-mode-heading {
  margin-bottom: 4px;
}

.auth-mode-heading h2 {
  margin: 0;
  font-family: "Outfit", sans-serif;
}

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

#clerkAuthMountV2 {
  min-height: 72px;
}

.field-label {
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 600;
}

.auth-form input,
.toolbar-actions input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--surface-high);
  color: var(--text);
  outline: none;
}

.auth-form input:focus,
.toolbar-actions input:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(68, 226, 246, 0.14);
}

.inline-notice,
.system-banner {
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  font-size: 14px;
  line-height: 1.5;
}

.inline-notice[data-tone="warning"],
.system-banner[data-tone="warning"] {
  color: #fde68a;
  background: var(--warning-soft);
  border-color: rgba(245, 158, 11, 0.28);
}

.inline-notice[data-tone="danger"],
.system-banner[data-tone="danger"] {
  color: #fecaca;
  background: var(--danger-soft);
  border-color: rgba(239, 68, 68, 0.28);
}

.inline-notice[data-tone="success"],
.system-banner[data-tone="success"] {
  color: #bbf7d0;
  background: var(--success-soft);
  border-color: rgba(34, 197, 94, 0.28);
}

.inline-notice[data-tone="info"],
.system-banner[data-tone="info"] {
  color: #bae6fd;
  background: var(--secondary-soft);
  border-color: rgba(68, 226, 246, 0.24);
}

.auth-links {
  margin-top: 16px;
}

.button {
  min-height: 44px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 140ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:focus-visible,
.nav-item:focus-visible,
.auth-text-button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(68, 226, 246, 0.42);
  outline-offset: 3px;
}

.button:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}

.button-lg {
  min-height: 50px;
}

.button-full {
  width: 100%;
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #ff2d6f);
  box-shadow: 0 0 18px rgba(255, 78, 124, 0.18);
}

.button-secondary {
  color: var(--secondary);
  background: rgba(68, 226, 246, 0.08);
  border-color: rgba(68, 226, 246, 0.22);
}

.button-ghost {
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(168, 179, 199, 0.16);
}
