/* UTM Campaign Tracking Lab — tool-specific styles only.
   The design system lives in shared/css/main.css; nothing here restyles .card or buttons. */

/* ---------- Stage navigation ---------- */

.stage-nav {
  margin: 1.5rem 0 1rem;
}

.stage-nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: none;
}

.stage-nav__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--app-card-bg, #fff);
  color: var(--app-muted, #64748b);
  border: 1px solid var(--app-border, #e2e8f0);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
}

.stage-nav__item:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.stage-nav__item.active {
  background: var(--app-accent, #2a7de1);
  border-color: var(--app-accent, #2a7de1);
  color: #fff;
}

.stage-nav__item.complete:not(.active) {
  color: var(--app-success, #16a34a);
  border-color: var(--app-success, #16a34a);
}

.stage-nav__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.08);
  font-size: 0.8rem;
}

.stage-nav__item.active .stage-nav__num {
  background: rgba(255, 255, 255, 0.25);
}

.stage-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 1.25rem;
}

.stage-actions--split {
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.muted {
  color: var(--app-muted, #64748b);
  font-size: 0.94rem;
}

.field-label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin: 0.85rem 0 0.35rem;
}

/* ---------- Stage 1: dissector ---------- */

.brief-card {
  border-left: 4px solid var(--app-accent, #2a7de1);
}

.url-input {
  width: 100%;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--app-border, #e2e8f0);
  border-radius: 6px;
}

.preset-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.9rem 0 1.25rem;
}

.param-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.param-card {
  border: 1px solid var(--app-border, #e2e8f0);
  border-left: 4px solid var(--param-color, #94a3b8);
  border-radius: 8px;
  padding: 0.8rem;
  background: #fff;
}

.param-card--missing {
  background: #f8fafc;
  opacity: 0.75;
}

.param-card__key {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.8rem;
  color: var(--param-color, #475569);
  font-weight: 700;
}

.param-card__value {
  font-size: 1.02rem;
  font-weight: 600;
  word-break: break-all;
  margin: 0.25rem 0;
}

.param-card__value--empty {
  color: var(--app-muted, #94a3b8);
  font-style: italic;
  font-weight: 400;
}

.param-card__note {
  font-size: 0.82rem;
  color: var(--app-muted, #64748b);
  line-height: 1.45;
  margin: 0;
}

.param-card__flag {
  display: inline-block;
  margin-top: 0.4rem;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #b45309;
}

.verdict {
  background: #f8fafc;
  border: 1px solid var(--app-border, #e2e8f0);
  border-radius: 8px;
  padding: 1rem 1.15rem;
}

.verdict h4 {
  margin: 0 0 0.75rem;
}

.verdict__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.75rem 1.25rem;
  margin: 0;
}

.verdict__grid dt {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--app-muted, #64748b);
  font-weight: 700;
}

.verdict__grid dd {
  margin: 0.15rem 0 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.95rem;
  word-break: break-all;
}

.channel-chip {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.88rem;
  background: #dcfce7;
  color: #166534;
}

.channel-chip--bad {
  background: #fee2e2;
  color: #991b1b;
}

.channel-chip--warn {
  background: #fef3c7;
  color: #92400e;
}

/* ---------- Linter ---------- */

.lint-list {
  margin-top: 1rem;
  display: grid;
  gap: 0.5rem;
}

.lint-item {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  border-radius: 6px;
  padding: 0.6rem 0.75rem;
  font-size: 0.89rem;
  line-height: 1.5;
  border: 1px solid transparent;
}

.lint-item--error {
  background: #fef2f2;
  border-color: #fecaca;
  color: #7f1d1d;
}

.lint-item--warning {
  background: #fffbeb;
  border-color: #fde68a;
  color: #78350f;
}

.lint-item--info {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1e3a8a;
}

.lint-item--ok {
  background: #f0fdf4;
  border-color: #bbf7d0;
  color: #14532d;
}

.lint-item__icon {
  flex: 0 0 auto;
  font-weight: 700;
}

.lint-item__fix {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.85rem;
  opacity: 0.85;
}

/* ---------- Stage 2: plan ---------- */

.conventions {
  display: grid;
  gap: 0.6rem;
  max-width: 460px;
}

.checkline {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.94rem;
  cursor: pointer;
}

.source-grid,
.source-stepper {
  display: grid;
  gap: 1rem;
}

/* Stage 2 stepper: one source at a time, with a progress rail above it. */
.stepper-intro {
  margin: 1.25rem 0 0.5rem;
}

.plan-progress {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  counter-reset: none;
}

.plan-pip {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.7rem;
  border: 1px solid var(--app-border, #e2e8f0);
  border-radius: 999px;
  background: #fff;
  font-size: 0.82rem;
  color: #475569;
  cursor: pointer;
}

.plan-pip__num {
  display: grid;
  place-items: center;
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 50%;
  background: #e2e8f0;
  color: #475569;
  font-weight: 700;
  font-size: 0.74rem;
}

.plan-pip--done {
  border-color: #86efac;
  background: #f0fdf4;
}

.plan-pip--done .plan-pip__num {
  background: var(--app-success, #16a34a);
  color: #fff;
}

.plan-pip--current {
  border-color: var(--app-accent, #2a7de1);
  box-shadow: 0 0 0 2px rgba(42, 125, 225, 0.15);
  color: #0f172a;
  font-weight: 600;
}

.plan-pip--current .plan-pip__num {
  background: var(--app-accent, #2a7de1);
  color: #fff;
}

.plan-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0.9rem 0 1.5rem;
  flex-wrap: wrap;
}

.plan-counter {
  font-size: 0.86rem;
  color: var(--app-muted, #64748b);
  font-weight: 600;
}

.source-card__badge {
  display: inline-block;
  margin: 0.6rem 0 0;
  padding: 0.28rem 0.6rem;
  border-radius: 5px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.source-card__badge--worked { background: #eff6ff; color: #1d4ed8; }
.source-card__badge--gap    { background: #fefce8; color: #a16207; }
.source-card__badge--blank  { background: #f1f5f9; color: #475569; }

.source-card__brief {
  margin: 0.5rem 0 0;
  font-size: 0.93rem;
  color: #334155;
}

.tag-field__note {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--app-muted, #64748b);
}

.source-card__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
}

.source-card__meta {
  font-size: 0.86rem;
  color: var(--app-muted, #64748b);
  margin: 0.15rem 0 0;
}

.tag-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem;
  margin-top: 0.9rem;
}

.tag-field label {
  display: block;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.78rem;
  font-weight: 700;
  color: #475569;
  margin-bottom: 0.25rem;
}

.tag-field input,
.tag-field select {
  width: 100%;
  padding: 0.5rem 0.6rem;
  border: 1px solid var(--app-border, #e2e8f0);
  border-radius: 5px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.86rem;
  background: #fff;
}

.medium-select {
  font-family: inherit !important;
  font-size: 0.84rem !important;
}

.medium-custom {
  margin-top: 0.4rem;
}

.medium-custom.hidden {
  display: none;
}

.tag-field input[aria-invalid="true"],
.tag-field select[aria-invalid="true"] {
  border-color: var(--app-danger, #dc2626);
  background: #fef2f2;
}

.tag-field input:disabled,
.tag-field select:disabled {
  background: #f1f5f9;
  color: #94a3b8;
}

.source-card--untagged .tag-grid {
  opacity: 0.5;
}

.source-hint {
  margin-top: 0.85rem;
  font-size: 0.88rem;
}

.source-hint summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--app-accent, #2a7de1);
}

.source-hint p {
  margin: 0.5rem 0 0;
  color: #334155;
}

.source-fill {
  margin-top: 0.9rem;
}

/* The Stage 1 verdict idea, repeated per source so cause and effect stay visible. */
.source-preview {
  margin-top: 0.85rem;
  padding: 0.7rem 0.85rem;
  border-radius: 7px;
  background: #f8fafc;
  border: 1px solid var(--app-border, #e2e8f0);
}

.source-preview__line {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.source-preview__label {
  font-size: 0.82rem;
  color: var(--app-muted, #64748b);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 700;
}

.source-preview__verdict {
  margin: 0.5rem 0 0;
  font-size: 0.88rem;
}

.source-preview__verdict.is-ok { color: var(--app-success, #16a34a); }
.source-preview__verdict.is-off { color: var(--app-danger, #dc2626); font-weight: 600; }

.source-lint:not(:empty) {
  margin-top: 0.75rem;
}

.built-url {
  margin-top: 0.75rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.8rem;
  background: #0f172a;
  color: #e2e8f0;
  padding: 0.6rem 0.75rem;
  border-radius: 6px;
  word-break: break-all;
}

.built-url--none {
  background: #f1f5f9;
  color: #64748b;
  font-style: italic;
}

.review-card {
  border-top: 4px solid var(--app-accent, #2a7de1);
}

.review-summary {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.85rem;
}

.review-stat {
  font-size: 0.92rem;
}

.review-stat strong {
  display: block;
  font-size: 1.6rem;
  line-height: 1.2;
}

.review-stat--error strong { color: var(--app-danger, #dc2626); }
.review-stat--warning strong { color: #b45309; }
.review-stat--ok strong { color: var(--app-success, #16a34a); }

/* ---------- Stage 3: deploy ---------- */

.deploy-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
}

.deploy-day {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 1rem;
}

.deploy-track {
  height: 12px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
  max-width: 560px;
  margin: 0 auto;
}

.deploy-fill {
  height: 100%;
  width: 0;
  background: var(--app-accent, #2a7de1);
  transition: width 90ms linear;
}

.deploy-status {
  margin-top: 1rem;
  color: var(--app-muted, #64748b);
}

.deploy-log {
  list-style: none;
  padding: 0;
  margin: 1.25rem auto 0;
  max-width: 460px;
  text-align: left;
  font-size: 0.9rem;
  display: grid;
  gap: 0.35rem;
}

.deploy-log li {
  color: var(--app-muted, #64748b);
}

/* ---------- Stage 4: dashboard + debrief ---------- */

.report-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  font-size: 0.92rem;
}

.report-table th,
.report-table td {
  padding: 0.55rem 0.7rem;
  border-bottom: 1px solid var(--app-border, #e2e8f0);
  text-align: left;
}

.report-table th {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--app-muted, #64748b);
}

.report-table td.num,
.report-table th.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.report-table .row-key {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.86rem;
}

.bar-cell {
  position: relative;
  min-width: 120px;
}

.bar-fill {
  display: block;
  height: 8px;
  border-radius: 4px;
  background: var(--app-accent, #2a7de1);
  min-width: 2px;
}

.bar-fill--truth { background: var(--app-success, #16a34a); }
.bar-fill--muted { background: #cbd5e1; }

.empty-report {
  padding: 1.5rem;
  text-align: center;
  background: #f8fafc;
  border: 1px dashed var(--app-border, #cbd5e1);
  border-radius: 8px;
  color: var(--app-muted, #64748b);
  margin-top: 1rem;
}

.question-block {
  border: 1px solid var(--app-border, #e2e8f0);
  border-radius: 8px;
  padding: 1rem 1.15rem;
  margin-bottom: 0.85rem;
}

.question-block h4 {
  margin: 0 0 0.2rem;
  font-size: 1rem;
}

.question-why {
  margin: 0 0 0.7rem;
  font-size: 0.86rem;
  color: var(--app-muted, #64748b);
}

.option-list {
  display: grid;
  gap: 0.4rem;
}

.option-list label {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.92rem;
  cursor: pointer;
  padding: 0.35rem 0.5rem;
  border-radius: 5px;
}

.option-list label:hover {
  background: #f8fafc;
}

.budget-heading {
  margin-top: 1.75rem;
}

.budget-row {
  display: grid;
  grid-template-columns: minmax(140px, 1fr) 2fr auto;
  align-items: center;
  gap: 0.9rem;
  padding: 0.4rem 0;
}

.budget-row__label {
  font-size: 0.92rem;
  font-weight: 600;
}

.budget-row__value {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  min-width: 5.5rem;
  text-align: right;
}

.budget-total {
  margin-top: 0.9rem;
  font-size: 0.95rem;
}

.budget-warning {
  color: var(--app-danger, #dc2626);
  font-weight: 600;
  margin-left: 0.6rem;
}

.reveal-card {
  border-top: 4px solid var(--app-success, #16a34a);
}

.verdict-summary {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.verdict-tile {
  flex: 1 1 150px;
  border-radius: 8px;
  padding: 0.9rem 1rem;
  border: 1px solid transparent;
}

.verdict-tile strong {
  display: block;
  font-size: 1.8rem;
  line-height: 1.1;
}

.verdict-tile span {
  font-size: 0.85rem;
}

.verdict-tile--correct { background: #f0fdf4; border-color: #bbf7d0; color: #14532d; }
.verdict-tile--blind { background: #fffbeb; border-color: #fde68a; color: #78350f; }
.verdict-tile--wrong { background: #fef2f2; border-color: #fecaca; color: #7f1d1d; }
.verdict-tile--money { background: #f8fafc; border-color: #e2e8f0; color: #0f172a; }

.graded-item {
  border-left: 4px solid #cbd5e1;
  padding: 0.75rem 0 0.75rem 1rem;
  margin-bottom: 1rem;
}

.graded-item--correct { border-left-color: var(--app-success, #16a34a); }
.graded-item--blind { border-left-color: #d97706; }
.graded-item--wrong { border-left-color: var(--app-danger, #dc2626); }

.graded-item h4 {
  margin: 0 0 0.35rem;
  font-size: 0.98rem;
}

.graded-line {
  font-size: 0.9rem;
  margin: 0.15rem 0;
}

.graded-verdict {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  margin-bottom: 0.35rem;
}

.graded-verdict--correct { background: #dcfce7; color: #166534; }
.graded-verdict--blind { background: #fef3c7; color: #92400e; }
.graded-verdict--wrong { background: #fee2e2; color: #991b1b; }

.graded-detail {
  font-size: 0.87rem;
  color: var(--app-muted, #475569);
  margin: 0.4rem 0 0;
}

.budget-result {
  margin-top: 1.5rem;
  background: #f8fafc;
  border: 1px solid var(--app-border, #e2e8f0);
  border-radius: 8px;
  padding: 1.1rem 1.25rem;
}

.budget-result__headline {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 0.4rem;
}

.money-bad { color: var(--app-danger, #dc2626); }
.money-good { color: var(--app-success, #16a34a); }

.scorecard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0.85rem;
  margin-top: 1rem;
}

.score-tile {
  border: 1px solid var(--app-border, #e2e8f0);
  border-radius: 8px;
  padding: 0.9rem 1rem;
}

.score-tile__value {
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.1;
}

.score-tile__label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--app-muted, #64748b);
  font-weight: 700;
  margin-top: 0.2rem;
}

.score-tile__note {
  font-size: 0.84rem;
  color: var(--app-muted, #64748b);
  margin: 0.4rem 0 0;
  line-height: 1.45;
}

.source-status {
  margin-top: 1.1rem;
  display: grid;
  gap: 0.4rem;
}

.source-status__row {
  display: flex;
  gap: 0.6rem;
  align-items: baseline;
  font-size: 0.89rem;
  flex-wrap: wrap;
}

.source-status__name {
  font-weight: 600;
  min-width: 190px;
}

.status-ok { color: var(--app-success, #16a34a); font-weight: 600; }
.status-bad { color: var(--app-danger, #dc2626); font-weight: 600; }

@media (max-width: 640px) {
  .budget-row {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }

  .budget-row__value {
    text-align: left;
  }

  .source-status__name {
    min-width: 0;
  }

  .plan-nav {
    flex-direction: column;
    align-items: stretch;
  }

  .plan-pip__label {
    display: none;
  }
}

/* ---------------------------------------------------------------------------
   Stage 1 framing: preset commentary, glossary, primary/secondary parameters
   --------------------------------------------------------------------------- */

.preset-note {
  margin: 0.7rem 0 0;
  padding: 0.65rem 0.8rem;
  background: #f8fafc;
  border-left: 3px solid var(--app-accent, #2a7de1);
  border-radius: 0 6px 6px 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #334155;
}

.preset-note:empty {
  display: none;
}

.param-card--secondary {
  opacity: 0.82;
}

.glossary {
  margin-top: 1.1rem;
  border-top: 1px solid var(--app-border, #e2e8f0);
  padding-top: 0.85rem;
}

.glossary summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--app-accent, #2a7de1);
  font-size: 0.92rem;
}

.glossary__grid {
  margin: 0.85rem 0 0;
  display: grid;
  gap: 0.5rem 1rem;
}

.glossary__grid dt {
  font-weight: 700;
  color: #0f172a;
  font-size: 0.9rem;
}

.glossary__grid dd {
  margin: 0 0 0.5rem;
  font-size: 0.89rem;
  line-height: 1.55;
  color: #475569;
}

/* ---------------------------------------------------------------------------
   Deploy consequences
   --------------------------------------------------------------------------- */

.deploy-warning {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid #fecaca;
  background: #fef2f2;
  border-radius: 8px;
}

.deploy-warning h4 {
  margin: 0 0 0.5rem;
  color: #b91c1c;
}

.deploy-warning__list {
  margin: 0.5rem 0;
  padding-left: 1.2rem;
  font-size: 0.9rem;
  line-height: 1.6;
}

.deploy-log__warn {
  color: #b91c1c;
  font-weight: 600;
}

/* ---------------------------------------------------------------------------
   Debrief: report guidance, evidence links, abstain option
   --------------------------------------------------------------------------- */

.tab-hint {
  margin: 0.35rem 0 0.8rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #334155;
}

.report-purpose {
  margin: 0.7rem 0 0.9rem;
  padding: 0.6rem 0.8rem;
  background: #f8fafc;
  border-radius: 6px;
  font-size: 0.88rem;
  line-height: 1.55;
  color: #475569;
}

.evidence-link {
  display: inline-block;
  margin: 0.15rem 0 0.7rem;
  padding: 0.35rem 0.7rem;
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  font-size: 0.83rem;
  font-weight: 600;
  cursor: pointer;
}

.evidence-link:hover {
  background: #dbeafe;
}

.option-list--abstain {
  margin-top: 0.6rem;
  padding-top: 0.6rem;
  border-top: 1px dashed var(--app-border, #e2e8f0);
}

.abstain-note {
  margin: 0.3rem 0 0 1.6rem;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--app-muted, #64748b);
}

.row-highlight {
  background: #eff6ff;
  font-weight: 600;
}

/* ---------------------------------------------------------------------------
   Inline checks and the take-to-class summary
   --------------------------------------------------------------------------- */

.inline-check:not(:empty) {
  margin: 1.25rem 0;
  padding: 1rem 1.15rem;
  border: 1px solid #bfdbfe;
  background: #f8fbff;
  border-radius: 10px;
}

.inline-check__title {
  margin: 0 0 0.4rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #1d4ed8;
}

.inline-check__question {
  margin: 0 0 0.75rem;
  font-weight: 600;
  line-height: 1.55;
}

.inline-check__feedback {
  margin-top: 0.75rem;
  padding: 0.7rem 0.85rem;
  border-radius: 6px;
  font-size: 0.89rem;
  line-height: 1.6;
}

.inline-check__feedback.hidden {
  display: none;
}

.inline-check__feedback.is-right {
  background: #f0fdf4;
  border-left: 3px solid var(--app-success, #16a34a);
}

.inline-check__feedback.is-wrong {
  background: #fffbeb;
  border-left: 3px solid #d97706;
}

.debrief-summary {
  margin-top: 1.5rem;
  padding: 1rem 1.15rem;
  background: #f8fafc;
  border: 1px solid var(--app-border, #e2e8f0);
  border-radius: 10px;
}

.debrief-summary h4 {
  margin: 0 0 0.35rem;
}

.debrief-summary__list {
  margin: 0.7rem 0 1rem;
  padding-left: 1.2rem;
  font-size: 0.92rem;
  line-height: 1.7;
}

.professor-mode-banner--auto {
  box-shadow: 0 0 0 2px rgba(42, 125, 225, 0.25);
}
