/* Teacher portal: a calmer, single-column layout on top of styles.css. */
.t-app { min-height: 100vh; display: flex; flex-direction: column; }
.t-top { display: flex; align-items: center; gap: 12px; padding: 12px 20px; background: var(--panel); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 10; }
.t-brand { font-weight: 750; display: flex; align-items: center; gap: 10px; margin-right: auto; }
.t-brand small { color: var(--text-dim); font-weight: 500; }
.t-user { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-dim); }
.t-user img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; background: var(--panel-2); }
.t-tabs { display: flex; gap: 4px; padding: 10px 20px 0; background: var(--panel); border-bottom: 1px solid var(--border); overflow-x: auto; }
.t-tab { background: none; border: none; border-bottom: 2px solid transparent; color: var(--text-dim); padding: 10px 14px; cursor: pointer; font-weight: 600; white-space: nowrap; }
.t-tab:hover { color: var(--text); }
.t-tab.is-active { color: var(--accent); border-bottom-color: var(--accent); }
.t-main { width: 100%; max-width: 1040px; margin: 0 auto; padding: 24px 20px 64px; }

.t-hero { text-align: center; max-width: 560px; margin: 8vh auto; background: var(--panel); border: 1px solid var(--border); border-radius: 18px; padding: 36px 28px; box-shadow: var(--shadow); }
.t-hero h1 { font-size: 24px; margin: 14px 0 8px; letter-spacing: -.02em; }
.t-hero p { color: var(--text-dim); line-height: 1.6; }

.boost-card { display: grid; grid-template-columns: 96px 1fr auto; gap: 16px; align-items: start; }
.boost-card img, .boost-card .noimg { width: 96px; height: 96px; border-radius: 10px; object-fit: cover; background: var(--panel-2); }
.boost-card__title { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 4px; }
.boost-card__text { color: var(--text-dim); font-size: 13px; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.boost-stats { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; margin-top: 8px; }
.boost-stats b { font-variant-numeric: tabular-nums; }
.boost-actions { display: flex; flex-direction: column; gap: 6px; }

.steps { display: flex; gap: 6px; margin-bottom: 20px; flex-wrap: wrap; }
.step { flex: 1; min-width: 110px; padding: 8px 10px; border-radius: 9px; background: var(--panel-2); color: var(--text-dim); font-size: 12px; font-weight: 600; border: 1px solid var(--border); }
.step.is-on { background: var(--accent-soft); color: var(--accent); border-color: color-mix(in srgb, var(--accent) 40%, transparent); }
.step.is-done { color: var(--green); }
.choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.choice { text-align: left; background: var(--panel); border: 1px solid var(--border); border-radius: 12px; padding: 16px; cursor: pointer; color: var(--text); }
.choice:hover { border-color: var(--accent); }
.choice.is-picked { border-color: var(--accent); background: var(--accent-soft); }
.choice:disabled { opacity: .5; cursor: not-allowed; }
.choice strong { display: block; margin-bottom: 4px; font-size: 15px; }
.choice span { color: var(--text-dim); font-size: 12.5px; line-height: 1.5; }
.wizard-nav { display: flex; justify-content: space-between; gap: 8px; margin-top: 20px; }
.review-list { display: grid; grid-template-columns: 140px 1fr; gap: 8px 16px; font-size: 13px; }
.review-list dt { color: var(--text-dim); }
.review-list dd { margin: 0; }
.wa-flag { font-size: 11px; font-weight: 650; color: var(--green); }

@media (max-width: 640px) {
  .boost-card { grid-template-columns: 64px 1fr; }
  .boost-card img, .boost-card .noimg { width: 64px; height: 64px; }
  .boost-actions { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
  .t-main { padding: 16px; }
  .review-list { grid-template-columns: 1fr; }
  .review-list dt { margin-top: 6px; }
}
