/* An isolated English, left-to-right workbench: write, run, compare. */
#ag-chat-three-simulators.ags-app {
  --ags-ink: #162740;
  --ags-muted: #566579;
  --ags-blue: #234fcc;
  --ags-line: #d9e1ec;
  --ags-surface: #f5f7fa;
  box-sizing: border-box;
  width: 100%;
  max-width: 1250px;
  margin: 0 auto;
  padding: 30px 32px 32px;
  color: var(--ags-ink);
  background: #fff;
  font-family: Arial, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-align: left;
  direction: ltr;
  isolation: isolate;
}
#ag-chat-three-simulators.ags-app *,
#ag-chat-three-simulators.ags-app *::before,
#ag-chat-three-simulators.ags-app *::after { box-sizing: border-box; }
#ag-chat-three-simulators.ags-app :is(h1,h2,h3,p,ul,ol,pre,details) { margin: 0; }
#ag-chat-three-simulators.ags-app :is(h1,h2,h3) { color: var(--ags-ink); font-family: inherit; font-style: normal; letter-spacing: normal; text-transform: none; }
#ag-chat-three-simulators.ags-app a { color: var(--ags-blue); text-decoration: underline; text-underline-offset: 4px; }
#ag-chat-three-simulators.ags-app :is(button,input,textarea,select) { font: inherit; letter-spacing: normal; text-transform: none; }
#ag-chat-three-simulators.ags-app :is(button,select,textarea) { max-width: 100%; }
#ag-chat-three-simulators.ags-app button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: auto;
  min-height: 44px;
  margin: 0;
  padding: 10px 16px;
  border: 1px solid var(--ags-line);
  border-radius: 9px;
  color: var(--ags-ink);
  background: #fff;
  box-shadow: none;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease;
}
#ag-chat-three-simulators.ags-app button:not(:disabled):hover { border-color: #a5b7d5; background: #f0f4fc; }
#ag-chat-three-simulators.ags-app button:disabled { color: #717b8c; border-color: #e1e5ec; background: #edf0f4; cursor: not-allowed; opacity: 1; }
#ag-chat-three-simulators.ags-app :is(button,a,input,select,textarea,summary):focus-visible { outline: 3px solid #3674e5; outline-offset: 3px; }
#ag-chat-three-simulators.ags-app :is(input,select,textarea):disabled { color: #687589; background: #eef1f5; cursor: wait; opacity: 1; }
#ag-chat-three-simulators.ags-app .ags-brand { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 24px; }
#ag-chat-three-simulators.ags-app .ags-brand img { display: block; width: 190px; height: 33px; max-width: 55%; object-fit: contain; }
#ag-chat-three-simulators.ags-app .ags-brand a { min-height: 44px; display: inline-flex; align-items: center; font-size: 14px; white-space: nowrap; }
#ag-chat-three-simulators.ags-app .ags-header { margin-bottom: 24px; }
#ag-chat-three-simulators.ags-app .ags-header h1 { margin: 0 0 5px; font-size: clamp(28px, 3.3vw, 39px); font-weight: 700; line-height: 1.25; }
#ag-chat-three-simulators.ags-app .ags-header p { color: var(--ags-muted); font-size: 17px; line-height: 1.6; }
#ag-chat-three-simulators.ags-app .ags-tabs { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; margin-bottom: 24px; }
#ag-chat-three-simulators.ags-app .ags-tabs button { justify-content: flex-start; gap: 12px; min-height: 65px; padding: 12px 17px; text-align: left; background: var(--ags-surface); border-color: transparent; }
#ag-chat-three-simulators.ags-app .ags-tabs button[aria-selected="true"] { color: #123b9c; border-color: #afc2f1; background: #edf3ff; box-shadow: inset 0 -3px 0 var(--ags-blue); }
#ag-chat-three-simulators.ags-app .ags-tabs strong { color: inherit; font-size: 17px; line-height: 1.45; overflow-wrap: anywhere; }
#ag-chat-three-simulators.ags-app .ags-tab-index { flex: 0 0 auto; direction: ltr; color: #5c6e8e; font-size: 13px; font-weight: 400; font-variant-numeric: tabular-nums; }
#ag-chat-three-simulators.ags-app .ags-selector { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px 22px; }
#ag-chat-three-simulators.ags-app .ags-selector > label { display: grid; flex: 1 1 350px; min-width: 0; gap: 6px; color: var(--ags-muted); font-size: 14px; font-weight: 700; }
#ag-chat-three-simulators.ags-app select { display: block; width: 100%; height: 46px; margin: 0; padding: 8px 35px 8px 12px; border: 1px solid #c6d0df; border-radius: 8px; color: var(--ags-ink); background-color: #fff; font-weight: 400; line-height: 1.4; text-align: left; direction: ltr; cursor: pointer; }
#ag-chat-three-simulators.ags-app .ags-selector > div { display: flex; flex: 0 0 auto; gap: 7px; }
#ag-chat-three-simulators.ags-app .ags-example-count { display: flex; flex: 0 0 auto; flex-direction: column; justify-content: center; min-height: 46px; line-height: 1.45; }
#ag-chat-three-simulators.ags-app .ags-example-count bdi { color: var(--ags-ink); font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; }
#ag-chat-three-simulators.ags-app .ags-example-count small { color: var(--ags-muted); font-size: 12px; }
#ag-chat-three-simulators.ags-app .ags-brief { margin: 14px 0 17px; color: var(--ags-muted); font-size: 15px; line-height: 1.65; }
#ag-chat-three-simulators.ags-app .ags-editors,
#ag-chat-three-simulators.ags-app .ags-results { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; align-items: stretch; }
#ag-chat-three-simulators.ags-app .ags-card,
#ag-chat-three-simulators.ags-app .ags-result { min-width: 0; margin: 0; padding: 20px; border: 1px solid var(--ags-line); border-radius: 12px; background: #fff; box-shadow: none; }
#ag-chat-three-simulators.ags-app .ags-card.is-enhanced,
#ag-chat-three-simulators.ags-app .ags-result.is-enhanced { border-color: #a8bfef; }
#ag-chat-three-simulators.ags-app .ags-card-top,
#ag-chat-three-simulators.ags-app .ags-result-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 13px; }
#ag-chat-three-simulators.ags-app :is(.ags-card-top,.ags-result-top) h2 { min-width: 0; margin: 0; font-size: 20px; font-weight: 700; line-height: 1.4; }
#ag-chat-three-simulators.ags-app .ags-card-top h2 label { margin: 0; color: inherit; font: inherit; }
#ag-chat-three-simulators.ags-app .ags-field-label { display: block; margin: 12px 0 6px; font-size: 14px; font-weight: 700; }
#ag-chat-three-simulators.ags-app textarea { display: block; width: 100%; min-height: 220px; margin: 0; padding: 13px 14px; border: 1px solid #c5d0e0; border-radius: 8px; color: #1b2e48; background: #fafbfd; box-shadow: none; font-size: 16px; font-weight: 400; line-height: 1.65; text-align: left; direction: ltr; resize: vertical; overflow-wrap: anywhere; }
#ag-chat-three-simulators.ags-app textarea::placeholder { color: #738096; opacity: 1; }
#ag-chat-three-simulators.ags-app .ags-custom textarea { min-height: 82px; padding: 10px 12px; }
#ag-chat-three-simulators.ags-app .ags-feedback textarea { min-height: 185px; }
#ag-chat-three-simulators.ags-app .ags-rules { display: grid; gap: 7px; }
#ag-chat-three-simulators.ags-app .ags-rules label { display: flex; align-items: flex-start; gap: 10px; min-height: 39px; margin: 0; padding: 8px 0; color: var(--ags-ink); font-size: 15px; font-weight: 400; line-height: 1.55; cursor: pointer; }
#ag-chat-three-simulators.ags-app .ags-rules input[type="checkbox"] { display: block; flex: 0 0 19px; appearance: auto; width: 19px; height: 19px; margin: 2px 0 0; border-radius: 4px; accent-color: var(--ags-blue); cursor: pointer; }
#ag-chat-three-simulators.ags-app .ags-rules label:has(input:disabled) { cursor: wait; color: var(--ags-muted); }
#ag-chat-three-simulators.ags-app .ags-preview { margin-top: 12px; }
#ag-chat-three-simulators.ags-app .ags-preview summary { width: fit-content; min-height: 35px; padding: 5px 0; color: var(--ags-blue); font-size: 13px; line-height: 1.6; cursor: pointer; }
#ag-chat-three-simulators.ags-app .ags-preview summary:hover { text-decoration: underline; text-underline-offset: 3px; }
#ag-chat-three-simulators.ags-app .ags-preview pre { margin-top: 6px; padding: 12px; border: 1px solid var(--ags-line); border-radius: 7px; color: #46566e; background: var(--ags-surface); font-family: inherit; font-size: 13px; line-height: 1.75; white-space: pre-wrap; overflow-wrap: anywhere; word-break: normal; text-align: left; direction: ltr; }
#ag-chat-three-simulators.ags-app .ags-actionbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin: 18px 0 22px; }
#ag-chat-three-simulators.ags-app button.ags-primary { min-height: 49px; padding: 12px 23px; color: #fff; border-color: var(--ags-blue); background: var(--ags-blue); font-size: 16px; }
#ag-chat-three-simulators.ags-app button.ags-primary:not(:disabled):hover { color: #fff; border-color: #173da9; background: #173da9; }
#ag-chat-three-simulators.ags-app button.ags-primary:disabled { color: #617087; border-color: #d8e0ee; background: #e6ecf7; }
#ag-chat-three-simulators.ags-app .ags-hint { display: inline-block; margin-top: 7px; color: var(--ags-muted); font-size: 13px; line-height: 1.6; }
#ag-chat-three-simulators.ags-app .ags-actionbar .ags-hint { margin-top: 0; }
#ag-chat-three-simulators.ags-app .ags-status { margin: -8px 0 20px; padding: 12px 15px; border: 1px solid #c2d3f2; border-radius: 8px; color: #23466f; background: #f2f6ff; font-size: 14px; line-height: 1.65; overflow-wrap: anywhere; }
#ag-chat-three-simulators.ags-app .ags-status[data-kind="error"] { color: #8c2525; border-color: #edc8c8; background: #fff7f7; }
#ag-chat-three-simulators.ags-app .ags-status[data-kind="success"] { color: #235442; border-color: #bcded0; background: #f2faf6; }
#ag-chat-three-simulators.ags-app [hidden] { display: none !important; }
#ag-chat-three-simulators.ags-app .ags-spinner { display: inline-block; flex: 0 0 16px; width: 16px; height: 16px; border: 2px solid currentColor; border-inline-start-color: transparent; border-radius: 50%; animation: ags-spin 850ms linear infinite; }
@keyframes ags-spin { to { transform: rotate(360deg); } }
#ag-chat-three-simulators.ags-app .ags-results { scroll-margin-top: 130px; }
#ag-chat-three-simulators.ags-app .ags-result { display: flex; flex-direction: column; padding: 22px; }
#ag-chat-three-simulators.ags-app .ags-result .ags-preview { margin: 0 0 16px; }
#ag-chat-three-simulators.ags-app .ags-result-top { min-height: 33px; }
#ag-chat-three-simulators.ags-app .ags-tag { display: inline-flex; align-items: center; padding: 3px 8px; border-radius: 5px; color: #415975; background: #f0f4f9; font-size: 11px; white-space: nowrap; }
#ag-chat-three-simulators.ags-app .ags-result.is-enhanced .ags-tag { color: #244b9c; background: #ecf2ff; }
#ag-chat-three-simulators.ags-app .ags-empty { display: flex; align-items: center; justify-content: center; min-height: 105px; padding: 16px 5px; color: #68768a; font-size: 14px; line-height: 1.6; text-align: center; }
#ag-chat-three-simulators.ags-app .ags-result-body { min-width: 0; color: #23354d; font-size: 16px; line-height: 1.9; overflow-wrap: anywhere; text-align: left; }
#ag-chat-three-simulators.ags-app .ags-result-body > :first-child { margin-top: 0; }
#ag-chat-three-simulators.ags-app .ags-result-body > :last-child { margin-bottom: 0; }
#ag-chat-three-simulators.ags-app .ags-result-body p { margin: 0 0 15px; }
#ag-chat-three-simulators.ags-app .ags-result-body :is(h2,h3,h4) { margin: 22px 0 10px; color: var(--ags-ink); font-size: 18px; font-weight: 700; line-height: 1.5; }
#ag-chat-three-simulators.ags-app .ags-result-body :is(ul,ol) { margin: 10px 0 18px; padding-inline-start: 23px; padding-inline-end: 0; }
#ag-chat-three-simulators.ags-app .ags-result-body li { margin: 6px 0; padding-inline-start: 3px; }
#ag-chat-three-simulators.ags-app .ags-result-body strong { color: #172b48; font-weight: 700; }
#ag-chat-three-simulators.ags-app .ags-result-body .ags-table-wrap { max-width: 100%; margin: 16px 0; overflow-x: auto; overscroll-behavior-inline: contain; -webkit-overflow-scrolling: touch; }
#ag-chat-three-simulators.ags-app .ags-result-body table { width: 100%; min-width: 300px; margin: 0; border-collapse: collapse; color: inherit; font-size: 14px; line-height: 1.65; text-align: left; }
#ag-chat-three-simulators.ags-app .ags-result-body :is(th,td) { min-width: 80px; padding: 10px 11px; border: 1px solid var(--ags-line); vertical-align: top; text-align: left; overflow-wrap: anywhere; }
#ag-chat-three-simulators.ags-app .ags-result-body th { color: #263d5f; background: #edf2fa; font-weight: 700; }
#ag-chat-three-simulators.ags-app .ags-result-body tr:nth-child(even) td { background: #fafbfd; }
#ag-chat-three-simulators.ags-app .ags-result-body pre { max-width: 100%; margin: 14px 0; padding: 14px; border: 1px solid var(--ags-line); border-radius: 7px; color: #263d5f; background: var(--ags-surface); font-family: Consolas, monospace; font-size: 13px; line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; text-align: left; direction: ltr; }
#ag-chat-three-simulators.ags-app .ags-result-body :not(pre) > code { padding: 1px 4px; border-radius: 3px; color: #1b477d; background: #edf2fa; font-size: 0.9em; }
#ag-chat-three-simulators.ags-app .ags-result-footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 9px; margin-top: auto; padding-top: 18px; }
#ag-chat-three-simulators.ags-app .ags-result-footer small { color: var(--ags-muted); font-size: 12px; }
#ag-chat-three-simulators.ags-app .ags-result-footer bdi { unicode-bidi: isolate; direction: ltr; }
#ag-chat-three-simulators.ags-app .ags-result-footer button { padding: 8px 12px; font-size: 13px; }
#ag-chat-three-simulators.ags-app .ags-focus { margin: 20px 0 0; padding: 13px 16px; border-inline-start: 3px solid #6081c3; color: #344964; background: #f5f8fd; font-size: 15px; line-height: 1.7; }
#ag-chat-three-simulators.ags-app .ags-footer { margin-top: 27px; padding-top: 17px; border-top: 1px solid #e4e9f0; color: #687589; font-size: 12px; line-height: 1.8; }
body.agl-labs-page .entry-title { display: none; }
body.agl-labs-page .site-main { box-sizing: border-box; width: 100%; max-width: none; margin: 0 auto; padding: 0; }
@media (max-width: 1050px) {
  #ag-chat-three-simulators.ags-app { padding: 25px 24px 30px; }
  #ag-chat-three-simulators.ags-app .ags-tabs button { gap: 9px; padding: 12px; }
  #ag-chat-three-simulators.ags-app .ags-tabs strong { font-size: 16px; }
  #ag-chat-three-simulators.ags-app .ags-selector { gap: 12px 18px; }
  #ag-chat-three-simulators.ags-app .ags-selector > label { flex-basis: 100%; }
  #ag-chat-three-simulators.ags-app .ags-selector > div { margin-inline-start: auto; }
  #ag-chat-three-simulators.ags-app .ags-card,
  #ag-chat-three-simulators.ags-app .ags-result { padding: 17px; }
  #ag-chat-three-simulators.ags-app :is(.ags-card-top,.ags-result-top) h2 { font-size: 19px; }
}
@media (max-width: 800px) {
  #ag-chat-three-simulators.ags-app { padding: 22px 16px 27px; }
  #ag-chat-three-simulators.ags-app .ags-brand { margin-bottom: 20px; }
  #ag-chat-three-simulators.ags-app .ags-header { margin-bottom: 20px; }
  #ag-chat-three-simulators.ags-app .ags-header h1 { font-size: 31px; }
  #ag-chat-three-simulators.ags-app .ags-header p { font-size: 16px; }
  #ag-chat-three-simulators.ags-app .ags-tabs { gap: 7px; margin-bottom: 20px; }
  #ag-chat-three-simulators.ags-app .ags-tabs button { flex-direction: column; align-items: flex-start; justify-content: center; gap: 3px; min-height: 77px; padding: 10px; }
  #ag-chat-three-simulators.ags-app .ags-tab-index { font-size: 11px; }
  #ag-chat-three-simulators.ags-app .ags-tabs strong { font-size: 14px; line-height: 1.4; }
  #ag-chat-three-simulators.ags-app .ags-editors,
  #ag-chat-three-simulators.ags-app .ags-results { grid-template-columns: minmax(0,1fr); gap: 14px; }
  #ag-chat-three-simulators.ags-app textarea { min-height: 210px; }
  #ag-chat-three-simulators.ags-app .ags-feedback textarea { min-height: 130px; }
  #ag-chat-three-simulators.ags-app .ags-actionbar { margin: 17px 0 21px; gap: 10px; }
  #ag-chat-three-simulators.ags-app .ags-actionbar .ags-hint { flex-basis: 100%; }
  #ag-chat-three-simulators.ags-app .ags-results { scroll-margin-top: 110px; }
  #ag-chat-three-simulators.ags-app .ags-result-body { font-size: 16px; line-height: 1.85; }
}
@media (max-width: 440px) {
  #ag-chat-three-simulators.ags-app .ags-brand { gap: 12px; }
  #ag-chat-three-simulators.ags-app .ags-brand img { width: 174px; height: 31px; max-width: 57%; }
  #ag-chat-three-simulators.ags-app .ags-brand a { font-size: 13px; }
  #ag-chat-three-simulators.ags-app .ags-header h1 { font-size: 28px; }
  #ag-chat-three-simulators.ags-app .ags-header p { font-size: 15px; }
  #ag-chat-three-simulators.ags-app .ags-tabs button { padding: 9px 8px; }
  #ag-chat-three-simulators.ags-app .ags-tabs strong { font-size: 13px; }
  #ag-chat-three-simulators.ags-app .ags-selector { gap: 12px; }
  #ag-chat-three-simulators.ags-app .ags-selector > div { gap: 5px; }
  #ag-chat-three-simulators.ags-app .ags-selector button { padding: 9px 11px; font-size: 13px; }
  #ag-chat-three-simulators.ags-app .ags-example-count small { max-width: 140px; font-size: 11px; }
  #ag-chat-three-simulators.ags-app .ags-card,
  #ag-chat-three-simulators.ags-app .ags-result { padding: 15px; border-radius: 10px; }
  #ag-chat-three-simulators.ags-app :is(.ags-card-top,.ags-result-top) h2 { font-size: 18px; }
  #ag-chat-three-simulators.ags-app textarea { padding: 11px; font-size: 16px; }
  #ag-chat-three-simulators.ags-app .ags-actionbar button.ags-primary { width: 100%; }
  #ag-chat-three-simulators.ags-app .ags-result-footer { align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  #ag-chat-three-simulators.ags-app *,
  #ag-chat-three-simulators.ags-app *::before,
  #ag-chat-three-simulators.ags-app *::after { transition: none !important; animation-duration: 0s !important; scroll-behavior: auto !important; }
  #ag-chat-three-simulators.ags-app .ags-spinner { animation: none; }
}