.prompt-panel {
  margin: 1rem 0;
  padding: 1rem 1.2rem;
  border-left: 4px solid var(--green);
  border-radius: 12px;
  background: #eef6f1;
}

.prompt-panel blockquote {
  margin: 0.7rem 0;
  font-family: Georgia, serif;
  font-size: 1.25rem;
  line-height: 1.5;
}

.review-panel {
  margin: 1.25rem 0;
  padding: 1rem 1.2rem;
  border-radius: 14px;
  background: #f5f8f5;
  border: 1px solid var(--line);
}
.review-panel h3 { margin-bottom: .35rem; }
.review-panel[hidden], .travis-learn[hidden] { display: none; }
.travis-learn {
  margin-top: 1.25rem;
  padding: 1.35rem;
  border: 1px solid #cbded4;
  border-top: 4px solid #1f5c49;
  border-radius: 18px;
  background: linear-gradient(145deg, #f8fcfa 0%, #eef6f1 100%);
  box-shadow: 0 8px 22px rgba(23, 61, 39, .06);
}
.travis-learn > .step { color: #1f5c49; }
.travis-learn h4 { margin-bottom: .45rem; }
.travis-comparison { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1rem; align-items: start; }
.travis-comparison > div { min-width: 0; min-height: 0; padding: 1rem 1.1rem; border: 1px solid #cbded4; border-left: 4px solid #1f5c49; border-radius: 14px; background: #eaf5ef; }
.travis-comparison > div:last-child { border-color: #e7d5a0; border-left-color: #c79a1a; background: #fff7df; }
.travis-comparison .review-answer { height: auto; min-height: 0; box-sizing: border-box; overflow-wrap: anywhere; margin: 0; padding: .35rem 0 0; background: transparent; border: 0; border-radius: 0; }
.travis-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; margin: 1.15rem 0 0; }
.travis-meta div { border-top: 2px solid #cbded4; padding-top: .55rem; }
.travis-meta strong, .travis-meta span { display: block; }
.travis-meta strong { color: #527066; font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; }
.travis-meta span { margin-top: .2rem; font-weight: 700; }
.travis-answer-structure { margin-top: 1.2rem; padding: 1rem 1.1rem 0; border-top: 1px solid #cbded4; border-radius: 14px 14px 0 0; background: #eaf3ef; }
.travis-answer-structure h4 { color: #183d31; }
.answer-structure { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: .65rem; border-top: 1px solid #cbded4; border-bottom: 1px solid #cbded4; }
.answer-structure-step { position: relative; min-width: 0; padding: .75rem .9rem .75rem 0; }
.answer-structure-step:not(:last-child)::after { content: '→'; position: absolute; right: -.35rem; top: 50%; transform: translateY(-50%); color: #c79a1a; font-size: 1.2rem; font-weight: 700; }
.answer-structure-step strong, .answer-structure-step span { display: block; }
.answer-structure-step strong { color: #1f5c49; font-size: .84rem; text-transform: uppercase; letter-spacing: .04em; }
.answer-structure-step span { margin-top: .25rem; color: #65716b; line-height: 1.4; }
.travis-expressions { margin-top: 1rem; }
.travis-expressions .tags span { background: #dceee6; color: #1f5c49; border: 1px solid #c5dfd2; }

@media (max-width: 600px) {
  .prompt-panel { padding: .85rem 1rem; }
  .prompt-panel blockquote { font-size: 1.05rem; }
  .travis-learn { padding: 1rem; border-radius: 14px; }
  .travis-comparison, .travis-meta { grid-template-columns: 1fr; }
  .answer-structure { grid-template-columns: 1fr; gap: 0; }
  .answer-structure-step { padding: .7rem 0 .9rem; }
  .answer-structure-step:not(:last-child)::after { content: '↓'; right: auto; left: 0; top: auto; bottom: -.65rem; transform: none; }
}
