.concept-demo, .case-response {
  margin: .9rem 0;
  padding: .8rem;
  border: 1px solid #adc5d7;
  border-radius: .65rem;
  color: #18283a;
  background: #fff;
}
.concept-demo h3 { margin: 0 0 .45rem; color: #173c60; }
.concept-actions { display: flex; flex-wrap: wrap; gap: .45rem; }
.concept-actions button, .case-response button {
  min-height: 44px;
  max-width: 100%;
  text-align: start;
  white-space: normal;
}
.concept-actions button[aria-pressed="true"] { background: #143c5d; color: #fff; }
.concept-result { padding: .55rem .7rem; border-inline-start: 4px solid #135b88; background: #edf7fd; color: #18283a; }
.concept-tip { color: #38516a; }
.case-response label { display: block; min-width: 0; font-weight: 700; }
.case-response select {
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  margin-block: .35rem;
  padding: .45rem .55rem;
  color: #18283a;
  background: #fff;
  border: 1px solid #527891;
  border-radius: .35rem;
  font: inherit;
}
.case-response [role="status"]:empty, [data-seq-log]:empty { display: none; }
.terminal-output { min-height: 4rem; padding: .7rem; border-radius: .45rem; color: #fff; background: #173c60; white-space: pre-wrap; overflow-wrap: anywhere; }
.concept-demo :focus-visible, .case-response :focus-visible { outline: 3px solid #135b88; outline-offset: 2px; }
