/* A worked example: outcome first, optional technical detail second. */
#try .section-head { max-width: 850px; margin-bottom: 2.5rem; }
#try [data-demo] { align-items: start; gap: clamp(1.5rem, 4vw, 3rem); }
#try .example-intro { font-size: 1.05rem; line-height: 1.65; margin: 0 0 1.4rem; max-width: 48ch; }
#try .scenario { width: 100%; padding: 1rem 1.15rem; text-align: left; border-radius: 8px; transition: background .15s; }
#try .scenario-title { font-size: 1rem; line-height: 1.4; }
#try .scenario-sub { font-size: .8rem; margin-top: .35rem; }
#try .scenario[aria-pressed="true"] { border-left: 4px solid #24704f; }
#try .console { border-radius: 10px; overflow: hidden; min-width: 0; }
#try .console-bar { flex-wrap: wrap; gap: .65rem; font-size: .7rem; }
#try .console-body { padding: clamp(1.2rem, 3vw, 2rem); }
#try .outcome { margin: 0; padding: 0; border: 0; background: transparent; }
#try .outcome h3 { font-size: clamp(1.5rem, 2.7vw, 2rem); line-height: 1.2; margin: 1rem 0; }
#try .outcome p { font-size: 1rem; line-height: 1.7; }
#try .example-details { border-top: 1px solid #496f5b; padding-top: 1rem; margin-top: 1.4rem; }
#try .example-details summary { cursor: pointer; color: #a5ecc6; font-size: .95rem; font-weight: 600; padding: .35rem 0; }
#try .example-details summary:focus-visible { outline: 2px solid #a5ecc6; outline-offset: 5px; }
#try .example-details > p { font-size: .9rem; color: #c7d8ce; margin: 1rem 0; }
#try .request-grid { margin-top: 1.2rem; }
#try .payload { white-space: pre-wrap; overflow-wrap: anywhere; font-size: .8rem; }
#try .trace li { opacity: 1; transform: none; }
#try .trace-mark.skip { color: #ccd9d0; }
#try .trace-detail { font-size: .86rem; line-height: 1.6; }
#try .demo-note { font-size: .85rem; line-height: 1.6; border-radius: 8px; margin-top: 1.2rem; }
#try .repair-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.4rem; }
#try [data-demo-outcome] { scroll-margin-top: 100px; }
@media(max-width:780px) {
  #try [data-demo] { grid-template-columns: 1fr; }
  #try .scenario { padding: .8rem 1rem; }
  #try .request-grid { grid-template-columns: 1fr; }
  #try .repair-actions .btn { width: 100%; justify-content: center; white-space: normal; }
}
