/* Account pages (create-workspace / invite-accept) — same tokens as site.css,
   but a normal scrolling document instead of the fixed 3D scene. */

html,
body {
  overflow: auto; /* site.css hides overflow for the graph canvas */
  height: auto;
  min-height: 100%;
}

.page {
  max-width: 460px;
  margin: 0 auto;
  padding: 48px 20px 64px;
}

.page .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 650;
  font-size: 17px;
  margin-bottom: 28px;
  color: var(--text);
  text-decoration: none;
}

.page .brand .logo {
  height: 22px;
  filter: drop-shadow(0 0 10px rgba(132, 113, 163, 0.55));
}

.form-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 28px;
}

.form-card h1 {
  font-size: 22px;
  margin-bottom: 6px;
}

.form-card .sub {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 20px;
}

.field {
  margin-bottom: 14px;
}

.field label {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 5px;
}

.field input {
  width: 100%;
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font: inherit;
  padding: 9px 12px;
}

.field input:focus {
  outline: none;
  border-color: var(--accent);
}

.submit {
  width: 100%;
  margin-top: 8px;
  background: var(--accent-strong);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 16px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.submit:hover {
  background: var(--accent);
}

.submit:disabled {
  opacity: 0.6;
  cursor: default;
}

.form-error {
  color: var(--bad);
  font-size: 13.5px;
  margin-top: 12px;
  min-height: 1em;
}

.fine-print {
  color: var(--muted);
  font-size: 12.5px;
  margin-top: 16px;
}

.success {
  display: none;
}

.success h1 {
  font-size: 22px;
  margin-bottom: 8px;
}

.success p {
  color: var(--muted);
  font-size: 14.5px;
}

.success .highlight {
  color: var(--good);
  font-weight: 600;
}
