.examples { display: grid; grid-template-columns: 156px minmax(0, 1fr); align-items: start; gap: 28px; max-width: 1120px; margin-inline: auto; padding-bottom: 104px; }
.examples__tabs { display: grid; gap: 6px; padding-top: 14px; }
.examples__tab { position: relative; display: flex; align-items: center; justify-content: flex-start; min-height: 46px; padding: .75rem 1rem; color: var(--muted); font-size: .875rem; text-decoration: none; border-radius: 6px; transition: color .18s ease, background-color .18s ease; }
.examples__tab::after { content: ""; position: absolute; inset: 10px auto 10px 0; width: 2px; border-radius: 1px; background: var(--accent); transform: scaleY(0); transform-origin: top; transition: transform .2s ease; }
.examples__tab:hover, .examples__tab[aria-selected="true"] { color: var(--accent); }
.examples__tab[aria-selected="true"] { font-weight: 550; background: #00635e08; }
.examples__tab:focus-visible { outline: none; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .3em; }
.examples__tab[aria-selected="true"]::after { transform: scaleY(1); }
.example-chat { border: 1px solid #e2dfd7; border-radius: 16px; background: #f9f8f4; color: #373a32; overflow: hidden; }
.example-chat__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 18px 24px; border-bottom: 1px solid #e9e6df; }
.example-chat__bar > span { color: #777b70; font-size: .75rem; }

.examples__panels { display: grid; gap: 32px; }
.examples--tabbed .examples__panels { display: block; height: clamp(400px, 60vh, 540px); overflow-y: auto; overscroll-behavior-y: contain; overflow-anchor: none; scroll-behavior: auto; scrollbar-width: thin; scrollbar-color: #d5d9d0 transparent; }
.example__turn + .example__turn { margin-top: 36px; }
.example { min-width: 0; width: 100%; padding: 32px 40px 24px; scroll-margin-top: 2rem; }
.example__request { width: fit-content; max-width: 82%; margin: 0 0 28px auto; padding: 12px 17px; border-radius: 12px; background: #eeede6; color: #3e4238; font-size: 1rem; line-height: 1.6; overflow-wrap: anywhere; }
.example__attachment { display: flex; align-items: center; gap: 10px; width: fit-content; max-width: 100%; margin-bottom: 12px; padding: 9px 12px; border: 1px solid #ddded4; border-radius: 8px; background: var(--surface); }
.example__attachment svg { flex: none; width: 22px; height: 26px; fill: none; stroke: #777b70; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.example__attachment-name { display: block; font-size: .875rem; font-weight: 500; }
.example__attachment small { display: block; color: #777b70; font-size: .6875rem; }
.example__reply { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 16px; min-width: 0; }
.example__assistant { display: block; margin-top: 9px; }
.example__answer { min-width: 0; font-size: 1rem; line-height: 1.75; }
.example__response > p + p { margin-top: 14px; }
.example__answer strong { font-weight: 600; }
.example__answer code { padding: 2px 4px; border-radius: 4px; background: #eeece5; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .8125em; overflow-wrap: anywhere; }
.example__answer ul { padding-left: 22px; margin: 14px 0 0; }
.example__answer li + li { margin-top: 8px; }
.example__answer blockquote { margin: 16px 0 0; padding: 4px 0 4px 16px; border-left: 2px solid #cbc9bd; }
.example__answer table { width: 100%; margin-top: 16px; border-collapse: collapse; table-layout: fixed; font-size: .875rem; text-align: left; }
.example__answer th { padding: 10px 12px; border-bottom: 1px solid #cacdc1; font-weight: 550; }
.example__answer td { padding: 12px; border-bottom: 1px solid #e2e4da; vertical-align: top; overflow-wrap: anywhere; }
.example__answer th:first-child, .example__answer td:first-child { padding-left: 0; }
.example__answer th:last-child, .example__answer td:last-child { padding-right: 0; }
.example__answer .example-reading-table th:first-child { width: 74%; }
.example__answer .example-reading-table a { text-decoration-color: #b7c8bd; text-underline-offset: .18em; }
.example__answer .example-audit-table th:first-child { width: 14%; }
.example__answer .example-audit-table th:nth-child(2) { width: 29%; }
.example-tool { margin-bottom: 20px; border: 1px solid #dedfd4; border-radius: 8px; font-size: .75rem; color: #72796a; }
.example-tool summary { display: flex; align-items: center; gap: 9px; min-height: 40px; padding: 8px 12px; cursor: pointer; list-style: none; }
.example-tool summary::-webkit-details-marker { display: none; }
.example-tool summary:hover { background: #eeeee6; border-radius: 7px; }
.example-tool__service { margin-left: auto; color: #858a7c; font-size: .6875rem; }
.example-tool svg { display: block; width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.example-tool__check { color: #778d70; }
.example-tool__chevron { transition: transform .18s ease; }
.example-tool[open] .example-tool__chevron { transform: rotate(90deg); }
.example-tool dl { display: grid; gap: 6px; margin: 0; padding: 12px; border-top: 1px solid #dedfd4; }
.example-tool dl > div { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 12px; }
.example-tool dd { margin: 0; color: #4f5748; overflow-wrap: anywhere; }
.example-chat__compose { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 12px 40px 28px 80px; min-height: 66px; padding: 15px 16px; border: 1px solid #deded3; border-radius: 14px; background: #fffefa; color: #929487; font-size: .9375rem; }
.example-chat__compose-body { flex: 1; min-width: 0; line-height: 1.6; overflow-wrap: anywhere; }
.example-chat__draft { display: none; color: #3e4238; }
.example-chat__compose.is-typing .example-chat__placeholder { display: none; }
.example-chat__compose.is-typing .example-chat__draft { display: inline; }
.example-chat__compose.is-typing .example-chat__draft::after { content: ""; display: inline-block; height: 1em; margin-left: 2px; border-right: 1.5px solid currentColor; vertical-align: -.12em; animation: example-caret .8s step-end infinite; }
.example-chat__send { display: grid; flex: none; align-self: flex-end; place-items: center; width: 29px; height: 29px; border-radius: 8px; background: #e6e7dd; color: #929887; transition: background-color .2s ease, color .2s ease, transform .15s ease; }
.example-chat__compose.is-typing .example-chat__send { background: var(--accent); color: #fffefa; }
.example-chat__compose.is-sending .example-chat__send { transform: scale(.88); }
.example-chat__send svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 640px) {
  .examples { grid-template-columns: minmax(0, 1fr); gap: 16px; padding-bottom: 64px; }
  .examples__tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; padding-top: 0; }
  .examples__tab { justify-content: center; min-height: 44px; padding: .75rem .5rem; font-size: .8125rem; }
  .examples__tab::after { inset: auto 12px 0; width: auto; height: 2px; transform: scaleX(0); }
  .examples__tab[aria-selected="true"]::after { transform: scaleX(1); }
  .example__reply { grid-template-columns: 20px minmax(0, 1fr); gap: 10px; }
  .example__assistant { width: 20px; height: 20px; margin-top: 11px; }
  .example-chat { border-radius: 12px; }
  .example-chat__bar { padding: 14px 16px; }
  .example { padding: 24px 16px 20px; }
  .example__request { max-width: 92%; padding: 11px 14px; font-size: .9375rem; }
  .example__answer { font-size: .9375rem; }
  .example-tool summary { flex-wrap: wrap; gap: 6px; padding: 8px 10px; }
  .example-tool__service { margin-left: 0; }
  .example-tool__chevron { margin-left: auto; }
  .example-tool dl > div { grid-template-columns: 80px minmax(0, 1fr); gap: 8px; }
  .example__answer table { font-size: .75rem; }
  .example__answer th, .example__answer td { padding: 10px 7px; }
  .example__answer .example-audit-table th:first-child { width: 17%; }
  .example__answer .example-audit-table th:nth-child(2) { width: 31%; }
  .example-chat__compose { min-height: 60px; margin: 8px 16px 20px; padding: 12px 14px; }
}

.example-chat__replay { display: inline-flex; align-items: center; gap: 6px; padding: 5px 0 5px 10px; border: 0; background: transparent; color: var(--muted); font: inherit; font-size: .75rem; cursor: pointer; }
.example-chat__replay[hidden] { display: none; }
.example-chat__replay:hover { color: var(--accent); }
.example-chat__replay svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.example--queued .example__request, .example--queued .example__reply { visibility: hidden; }
.example__turn[data-state="working"] .example__request { animation: example-message-in .3s ease-out both; }
.example__turn[data-state="working"] .example__reply, .example__turn[data-state="responding"] .example__reply { visibility: visible; opacity: 1; transform: translateY(0); transition: opacity .25s ease, transform .25s ease; }
.example__turn:not([data-state="complete"]) .example__word:not(.is-visible), .example__turn:not([data-state="complete"]) .example__chunk:not(.is-visible) { opacity: 0; }
.example__word.is-visible, .example__chunk.is-visible { transition: opacity .12s ease; }
.example-tool summary { position: relative; }
.example-tool--running .example-tool__check { opacity: 0; }
.example-tool--running summary::before { content: ""; position: absolute; left: 14px; width: 12px; height: 12px; box-sizing: border-box; border: 1.5px solid #d7ddd0; border-top-color: #748768; border-radius: 50%; animation: example-tool-spin .7s linear infinite; }
@keyframes example-message-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes example-caret { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
@keyframes example-tool-spin { to { transform: rotate(360deg); } }
@media (max-width: 640px) { .example-tool--running summary::before { left: 12px; } }

.example-chat__actions { display: flex; align-items: center; gap: 14px; }
.example-chat__countdown { display: inline-flex; align-items: center; }
.example-chat__countdown[hidden] { display: none; }
.example-chat__countdown svg { width: 17px; height: 17px; fill: none; stroke-width: 1.5; transform: rotate(-90deg); }
.example-chat__timer-track { stroke: #e0e4da; }
.example-chat__timer-progress { stroke: var(--accent); stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--remaining, 1)); stroke-linecap: round; }
@media (max-width: 640px) { .example-chat__actions { gap: 8px; } }

@media (max-width: 640px) { .examples__tab--visualize { grid-column: 1 / -1; } }
