.tutor-nav-link {
  color: var(--slate);
  font-weight: 600;
  text-decoration: none;
}

.tutor-try-wrap {
  margin: 8px 0 0;
}

.tutor-try-link {
  color: var(--slate);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Signup: form left, how-to right; stacks on mobile with how-to below. */
.tutor-signup-screen {
  max-width: none;
}

body:has(.tutor-signup-screen:not([hidden])) .game-shell {
  max-width: 920px;
}

.tutor-signup-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 40px;
  align-items: flex-start;
  text-align: left;
}

.tutor-signup-main {
  flex: 1 1 280px;
  min-width: 0;
}

.tutor-howto-section {
  flex: 1 1 260px;
  min-width: 0;
  padding: 20px 22px;
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
}

.tutor-howto-section h2 {
  margin: 0 0 16px;
  font-size: 1.15rem;
}

.tutor-howto {
  list-style: none;
  counter-reset: tutor-step;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tutor-howto li {
  counter-increment: tutor-step;
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 4px 12px;
  align-items: start;
}

.tutor-howto li::before {
  content: counter(tutor-step);
  grid-row: 1 / span 2;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.tutor-howto strong {
  font-size: 1.05rem;
}

.tutor-howto span {
  color: var(--slate);
  line-height: 1.45;
}

.tutor-dashboard-lead {
  margin-bottom: 4px;
}

.tutor-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
  margin-top: 20px;
}

.tutor-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 600;
}

.tutor-form input,
.share-builder select,
.share-link-row input {
  font: inherit;
  padding: 11px 14px;
  border: 2px solid var(--line);
  border-radius: 999px;
}

.tutor-form input:focus,
.share-builder select:focus,
.share-link-row input:focus {
  outline: none;
  border-color: var(--yellow);
}

.field-hint {
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--slate);
}

.slug-preview {
  margin: 0;
  font-size: 0.9rem;
  color: var(--slate);
  word-break: break-all;
}

.share-builder {
  text-align: left;
  background: #fff8e6;
  border-radius: var(--radius-sm);
  padding: 16px;
  margin: 16px 0 24px;
}

.share-builder-title {
  margin: 0 0 12px;
  font-size: 1.05rem;
}

.share-builder-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
}

.share-builder-row label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 600;
  flex: 1;
  min-width: 140px;
}

.share-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.share-link-row input {
  flex: 1;
  min-width: 200px;
  border-radius: var(--radius-sm);
}

.tutor-results {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}

.tutor-result-row {
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  text-align: left;
}

.tutor-result-row strong {
  display: block;
  margin-bottom: 4px;
}

.ai-summary-label {
  margin: 10px 0 4px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--slate);
}

.tutor-ai-summary {
  margin: 0;
  line-height: 1.45;
}

.tutor-result-actions {
  margin: 8px 0 0;
}

.tutor-result-actions a {
  color: var(--yellow-dark, #b8860b);
  font-weight: 600;
  text-decoration: none;
}

.tutor-result-actions a:hover {
  text-decoration: underline;
}
