/* Independent examples, with compact controls and a height that follows the content. */
.a2y .a2y-introduction { max-width: 64ch; }
.a2y-grid { align-items: start; gap: 18px; }
.a2y-grid > .a2y-product { min-width: 0; padding: 22px; }
.a2y-product-header { min-width: 0; }
.a2y-grid .a2y-product h3 { font-size: clamp(25px, 2.2vw, 31px); margin-bottom: 8px; overflow-wrap: anywhere; text-wrap: balance; }
.a2y-grid .a2y-product-summary { color: #514365; font-size: 15px; margin: 0 0 16px; }
.a2y-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.a2y-grid .a2y-select-hint { margin: 0; color: #514365; font-size: 12px; line-height: 1.3; font-weight: 650; }
.a2y-navigation { display: flex; align-items: center; flex-shrink: 0; gap: 0; }
.a2y-navigation button { display: grid; place-items: center; min-height: 44px; min-width: 44px; padding: 8px; background: transparent; border: 0; border-radius: 3px; color: #5022c9; transition: background .15s; }
.a2y-navigation button:hover { background: #eae3f8; }
.a2y-navigation button:active { background: #dcd0f5; }
.a2y-navigation svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.a2y-count { min-width: 34px; text-align: center; color: #514365; font-size: 12px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.a2y-topics { position: relative; isolation: isolate; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3px; padding: 3px; margin-bottom: 18px; background: #ebe6f2; border-radius: 4px; }
.a2y-topics button { position: relative; z-index: 1; min-width: 0; min-height: 44px; padding: 7px 9px; border: 0; border-radius: 3px; background: transparent; color: #514365; font-size: 12px; line-height: 1.35; text-align: left; hyphens: auto; overflow-wrap: anywhere; transition: color .15s, background .15s; }
.a2y-topics button:hover:not([aria-selected="true"]) { background: #ded4ed; }
.a2y-topics button[aria-selected="true"] { color: white; }
.a2y-topic-indicator { position: absolute; top: 0; left: 0; z-index: 0; border-radius: 3px; background: #5022c9; pointer-events: none; transform-origin: 0 0; }
.a2y-examples-body { min-width: 0; }
.a2y-ready .a2y-examples-body { overflow: clip; }
.a2y-example + .a2y-example { margin-top: 26px; }
.a2y-ready .a2y-example + .a2y-example { margin-top: 0; }
.a2y-grid .a2y-example-label { margin: 0 0 9px; color: #5022c9; font-size: 12px; font-weight: 650; line-height: 1.45; }
.a2y-example h4 { margin: 0 0 16px; color: var(--ink); font-family: var(--display); font-size: 20px; font-weight: 700; line-height: 1.25; letter-spacing: -.02em; text-wrap: pretty; }
.a2y-example dl { margin: 0; }
.a2y-example dl > div { padding: 12px 0; border-top: 1px solid #d8d0e2; }
.a2y-example dl > div:last-child { padding-bottom: 0; }
.a2y-example dt { margin-bottom: 5px; color: #514365; font-size: 12px; font-weight: 650; }
.a2y-example dd { margin: 0; max-width: 65ch; color: var(--ink); font-size: 14px; line-height: 1.55; hyphens: auto; overflow-wrap: break-word; }
.a2y-product :focus-visible { outline: 3px solid #5022c9; outline-offset: 3px; }
.a2y-example:focus-visible { outline-offset: -3px; }
.a2y-status { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (min-width: 661px) and (max-width: 1150px) {
  .a2y-grid { grid-template-columns: 1fr; gap: 16px; }
  .a2y-grid > .a2y-product { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 28px; padding: 24px; }
  .a2y-grid .a2y-product h3 { font-size: 27px; }
  .a2y-topics { margin-bottom: 0; }
  .a2y-example h4 { font-size: 22px; }
}
@media (max-width: 660px) {
  .a2y-grid { grid-template-columns: 1fr; gap: 16px; }
  .a2y-grid > .a2y-product { padding: 18px; }
  .a2y-grid .a2y-product h3 { font-size: 28px; }
  .a2y-example h4 { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .a2y-topics button, .a2y-navigation button { transition: none; }
}
