.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.demo-symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.demo-frame { padding: 8px; border: 1px solid #dedfe0; border-radius: 22px; background: linear-gradient(145deg, #eceeed, #e4e5e5); box-shadow: 0 32px 64px -38px #1c29314d, 0 6px 16px -8px #1c293119; }
.app-demo { --demo-bg: #0b0d10; --demo-chrome: #14171b; --demo-sidebar: #111418; --demo-surface: #161a20; --demo-muted: #a4abb5; --demo-line: rgba(225, 230, 238, .1); --demo-text: #eceff3; position: relative; height: 600px; overflow: hidden; border: 1px solid #2e333a; border-radius: 14px; background: var(--demo-bg); color: var(--demo-text); font: 400 14px/1.5 var(--font-ui); font-kerning: normal; font-synthesis: none; letter-spacing: 0; color-scheme: dark; text-align: left; isolation: isolate; }
.app-demo *, .demo-caption * { box-sizing: border-box; }
.app-demo [hidden], .demo-caption [hidden] { display: none !important; }
.app-demo svg, .demo-caption svg { display: block; width: 16px; height: 16px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.app-demo button { font: inherit; color: inherit; cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.app-demo button:focus-visible, .demo-caption button:focus-visible, .demo-scroll:focus-visible, .demo-review-scroll:focus-visible { outline: 2px solid #79b4ff; outline-offset: 3px; }
.app-demo button:disabled { cursor: default; opacity: .4; }
.app-demo button:active:not(:disabled), .demo-caption button:active { transform: scale(.97); }
.demo-topbar { position: relative; display: flex; align-items: center; justify-content: center; height: 36px; padding: 0 14px; border-bottom: 1px solid var(--demo-line); background: var(--demo-chrome); }
.demo-app-brand { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; }
.demo-app-brand img, .demo-sidebar-brand img { filter: invert(93%) brightness(1.25); object-fit: contain; }
.demo-body { position: relative; display: flex; height: calc(100% - 36px); min-width: 0; overflow-anchor: none; }
.demo-sidebar { display: flex; flex: 0 0 230px; width: 230px; min-width: 0; flex-direction: column; padding: 21px 13px 22px; border-right: 1px solid var(--demo-line); background: var(--demo-sidebar); }
.demo-sidebar-heading { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 14px; padding-left: 5px; color: var(--demo-muted); font-size: 12px; }
.demo-chat-count { margin-left: 8px; color: #8d96a2; font-size: 12px; font-variant-numeric: tabular-nums; }
.demo-icon-button { display: grid; place-items: center; width: 30px; height: 30px; padding: 6px; border: 0; border-radius: 6px; background: transparent; color: var(--demo-muted); }
.demo-icon-button:hover:not(:disabled) { color: var(--demo-text); background: #242b34; }
.demo-sidebar-toggle { display: none; position: absolute; left: 8px; }
.demo-chat-list { display: grid; align-content: start; gap: 4px; }
.demo-chat { display: flex; width: 100%; min-width: 0; align-items: center; gap: 8px; min-height: 36px; padding: 7px 9px; border: 1px solid transparent; border-radius: 8px; background: transparent; text-align: left; }
.demo-chat > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.demo-chat .demo-chat-indicator { width: 5px; height: 5px; margin-left: auto; flex-shrink: 0; border-radius: 50%; background: #8eafdc; }
.demo-chat:hover { background: #1d242c; }
.demo-chat[aria-current="true"] { border-color: var(--demo-line); background: #191f26; }
.demo-empty-list { margin: 6px 5px; color: #8d96a2; font-size: 12px; }
.demo-limit { margin: 16px 8px 0; color: #8d96a2; font-size: 12px; line-height: 20px; }
.demo-sidebar-brand { display: grid; justify-items: center; gap: 8px; margin-top: auto; padding-top: 24px; color: #a4abb5; }
.demo-sidebar-brand > div { display: flex; align-items: center; gap: 7px; }
.demo-sidebar-brand strong { font-size: 14px; font-weight: 600; }
.demo-sidebar-brand > span { font-size: 12px; }
.demo-sidebar-brand img { opacity: .72; }
.demo-workspace { display: flex; flex: 1; flex-direction: column; min-width: 0; }
.demo-chat-header { display: flex; min-height: 51px; flex: 0 0 51px; align-items: center; justify-content: space-between; gap: 14px; padding: 8px 18px; border-bottom: 1px solid var(--demo-line); }
.demo-chat-header > div:first-child { display: grid; gap: 1px; min-width: 0; }
.demo-chat-header strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 600; line-height: 20px; }
.demo-chat-header span { color: #939ca8; font-size: 12px; }
.demo-new-mobile { display: none; flex-shrink: 0; gap: 6px; align-items: center; min-height: 34px; padding: 6px 8px; border: 1px solid var(--demo-line); border-radius: 7px; background: #191f26; font-size: 12px !important; }
.demo-scroll { display: flex; flex: 1 1 auto; min-height: 0; overflow: auto; overscroll-behavior: contain; padding: 28px clamp(20px, 3.2vw, 46px); scrollbar-width: thin; scrollbar-color: #3d454f transparent; }
.demo-welcome { align-self: center; width: 100%; max-width: 680px; margin: auto; padding-bottom: 12px; }
.demo-welcome h2 { margin: 0 0 10px; color: var(--demo-text); font-size: 30px; font-weight: 500; letter-spacing: -.02em; line-height: 38px; text-align: center; text-wrap: balance; }
.demo-welcome > p { margin: 0 0 28px; color: var(--demo-muted); font-size: 14px; line-height: 22px; text-align: center; }
.demo-prompts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.demo-prompt { position: relative; display: flex; min-height: 116px; flex-direction: column; align-items: flex-start; padding: 16px 13px; border: 1px solid #30363f; border-radius: 10px; background: #141a20; text-align: left; transition: background 150ms ease, border-color 150ms ease; }
.demo-prompt:hover { background: #1c242e; border-color: #6b7a8d; }
.demo-prompt > svg { width: 19px; height: 19px; margin-bottom: 15px; color: #b5c4d8; }
.demo-prompt strong { margin-bottom: 4px; font-size: 14px; font-weight: 500; line-height: 20px; letter-spacing: 0; }
.demo-prompt > span { color: var(--demo-muted); font-size: 12px; line-height: 18px; }
.demo-prompt .demo-prompt-arrow { position: absolute; top: 12px; right: 12px; color: #7a899c; font-size: 14px; }
.demo-prompt.is-used { border-color: #3c4959; }
.demo-conversation { width: 100%; max-width: 780px; margin-inline: auto; }
.demo-user-message { max-width: 87%; margin: 0 0 28px auto; text-align: right; }
.demo-user-message > p { display: inline-block; margin: 0; padding: 12px 16px; border: 1px solid #b2bac533; border-radius: 8px; background: #1c2229; box-shadow: 0 10px 24px #00000017, inset 0 1px 0 #ffffff08; color: #eceff3; font-size: 15px; line-height: 24px; text-align: left; }
.demo-attachment { display: flex; width: max-content; max-width: 100%; align-items: center; gap: 6px; margin: 0 0 7px auto; padding: 4px 9px; border: 1px solid #b5c4d81f; border-radius: 100px; color: #b5c4d8; background: #161b21; font-size: 12px; }
.demo-attachment svg { width: 12px; height: 12px; }
.demo-work-status { display: flex; min-height: 20px; align-items: center; gap: 7px; margin-bottom: 16px; color: #a4abb5; font-size: 12px; }
.demo-work-status::before { width: 5px; height: 5px; flex-shrink: 0; border-radius: 50%; background: #8ea5c4; content: ""; }
.demo-answer { position: relative; padding-left: 20px; border-left: 1px solid #a7b0bb35; color: #e1e6ed; font-size: 15px; line-height: 24px; overflow-wrap: break-word; }
.demo-answer h3 { margin: 0 0 12px; font-size: 20px; font-weight: 600; letter-spacing: -.01em; line-height: 28px; }
.demo-answer p { margin: 0 0 16px; }
.demo-answer p:last-child { margin-bottom: 0; }
.demo-answer ul { padding-left: 19px; margin: 0 0 14px; }
.demo-answer li { margin-bottom: 5px; padding-left: 2px; }
.demo-answer pre { margin: 0 0 16px; padding: 14px 16px; border: 1px solid var(--demo-line); border-radius: 8px; background: #101319; white-space: pre-wrap; font: 14px/24px var(--font-ui); }
.demo-answer .demo-source { color: #a3b8d3; font-size: 12px; line-height: 20px; }
.demo-answer .is-writing::after { display: inline-block; width: 2px; height: 1em; margin-left: 3px; background: #b5c4d8; vertical-align: -.12em; content: ""; }
.demo-answer-actions { display: flex; gap: 14px; margin: 16px 0 0 20px; }
.demo-answer-actions button { display: flex; align-items: center; gap: 6px; min-height: 32px; padding: 4px; border: 0; border-radius: 5px; background: transparent; color: #a4abb5; font-size: 12px; }
.demo-answer-actions button:hover { color: white; }
.demo-answer-actions svg { width: 13px; height: 13px; }
.demo-dock { flex: 0 0 auto; width: min(100%, 712px); align-self: center; padding: 10px 30px 18px; }
.demo-composer { min-height: 90px; padding: 12px 12px 7px; border: 1px solid #e1e6ee2b; border-radius: 15px; background: #161a20; }
.demo-composer > p { min-height: 24px; margin: 0 2px 12px; color: #a4abb5; font-size: 14px; line-height: 22px; }
.demo-composer-rail { display: flex; align-items: center; gap: 10px; }
.demo-model { margin-right: auto; color: #b9c0cb; font-size: 12px; }
.demo-send { display: grid; width: 29px; height: 29px; flex-shrink: 0; place-items: center; padding: 6px; border: 0; border-radius: 50%; background: #d6dee8; color: #101319 !important; }
.demo-send:hover:not(:disabled) { background: white; }
.demo-send.is-running::before { width: 10px; height: 10px; border-radius: 2px; background: currentColor; content: ""; }
.demo-send.is-running svg { display: none; }
.demo-caption { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 19px; padding-inline: 9px; color: #4b4b50; font-size: 12px; line-height: 1.55; }
.demo-caption p { margin: 0; }
.demo-caption p span { margin-left: 7px; color: #68686d; }
.demo-caption button { display: inline-flex; flex-shrink: 0; align-items: center; gap: 6px; min-height: 32px; padding: 3px 0 3px 6px; border: 0; border-radius: 5px; background: transparent; color: #55555a; font: inherit; cursor: pointer; }
.demo-caption button:hover { color: #101011; }
.demo-caption svg { width: 13px; height: 13px; }
.demo-header-actions { display: flex; align-items: center; gap: 7px; flex-shrink: 0; }
.demo-review-toggle { display: flex; align-items: center; gap: 7px; min-height: 32px; padding: 5px 9px; border: 1px solid var(--demo-line); border-radius: 7px; background: var(--demo-surface); font-size: 12px !important; }
.demo-review-toggle:hover { background: #242b34; }
.demo-artifact { display: flex; align-items: center; gap: 11px; width: 100%; margin-top: 17px; padding: 13px; border: 1px solid #b5c4d833; border-radius: 9px; background: #17202a; text-align: left; }
.demo-artifact > svg { width: 20px; height: 20px; color: #a9c6ec; }
.demo-artifact > span:nth-child(2) { display: grid; gap: 3px; min-width: 0; }
.demo-artifact strong { overflow-wrap: anywhere; font-size: 14px; font-weight: 500; line-height: 20px; }
.demo-artifact small { color: var(--demo-muted); font-size: 12px; line-height: 18px; }
.demo-artifact-action { display: flex; align-items: center; gap: 6px; margin-left: auto; font-size: 12px; }
.demo-artifact:hover { background: #1e2b39; border-color: #6987ad; }
.demo-review { position: absolute; inset: 0 0 0 auto; z-index: 7; display: flex; flex-direction: column; width: calc(100% - 230px); min-width: 0; overflow: hidden; border-left: 1px solid #444c59; background: var(--demo-bg); box-shadow: -18px 0 38px #0005; transform: translateX(102%); }
.demo-review-top { display: flex; align-items: center; gap: 14px; min-height: 49px; flex-shrink: 0; padding: 8px 14px 8px 18px; border-bottom: 1px solid var(--demo-line); background: var(--demo-chrome); }
.demo-review-top > strong { font-size: 14px; font-weight: 600; }
.demo-review-top .demo-icon-button { margin-left: auto; }
.demo-review-toolbar { display: flex; align-items: center; gap: 12px; min-height: 47px; flex-shrink: 0; padding: 9px 14px; border-bottom: 1px solid var(--demo-line); background: #12161c; }
.demo-review-toolbar > strong { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 500; }
.demo-change-count { flex-shrink: 0; font-size: 12px; font-variant-numeric: tabular-nums; }
.demo-addition { color: #82c89c; }
.demo-deletion { margin-left: 6px; color: #ed969e; }
.demo-review-scroll { flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #3d454f transparent; }
.demo-diff { padding: 0 0 24px; font-size: 14px; font-variant-numeric: tabular-nums; font-variant-ligatures: none; line-height: 24px; }
.demo-diff-headings, .demo-diff-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.demo-diff-headings { position: sticky; top: 0; z-index: 1; background: #181d25; color: #a4abb5; border-bottom: 1px solid var(--demo-line); font-size: 12px; line-height: 20px; }
.demo-diff-headings span { padding: 10px 12px 10px 44px; }
.demo-diff-headings span + span, .demo-diff-cell + .demo-diff-cell { border-left: 1px solid var(--demo-line); }
.demo-diff.compact .demo-diff-headings { grid-template-columns: 1fr; }
.demo-diff.compact .demo-diff-cell { border-left: 0; }
.demo-diff-cell { display: grid; grid-template-columns: 36px minmax(0, 1fr); min-height: 36px; padding-right: 12px; }
.demo-line-number { padding: 6px 8px 6px 2px; color: #8b95a2; font-size: 12px; text-align: right; white-space: pre; user-select: none; }
.demo-diff .demo-review-text { display: block; padding: 6px 8px; white-space: pre-wrap; overflow-wrap: anywhere; tab-size: 2; }
.demo-diff-cell.is-removed { background: #bb46591c; }
.demo-diff-cell.is-added { background: #4caa7024; }
.demo-diff ins { border-radius: 2px; background: #43845ab3; color: #edfff3; text-decoration: none; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.demo-review-text { font: inherit; color: inherit; }
.demo-document-paper { width: calc(100% - 54px); max-width: 690px; margin: 24px auto 30px; padding: clamp(24px, 3.5vw, 42px); border: 1px solid #ffffff13; border-radius: 5px; background: #171c22; color: #e4e8ed; }
.demo-document-paper h3 { margin: 0 0 8px; font-size: 28px; font-weight: 600; line-height: 36px; letter-spacing: -.02em; }
.demo-document-paper h4 { margin: 28px 0 10px; font-size: 15px; font-weight: 600; line-height: 22px; letter-spacing: 0; }
.demo-document-paper p { margin: 0 0 12px; font-size: 14px; line-height: 23px; }
.demo-document-paper .subtitle { color: var(--demo-muted); font-size: 12px; line-height: 20px; }
.demo-document-paper .bullet { position: relative; padding-left: 14px; }
.demo-document-paper .bullet::before { position: absolute; left: 1px; content: "•"; color: var(--demo-muted); }
@media (max-width: 720px) {
  .demo-review { width: 100%; border-left: 0; }
  .demo-review-top { min-height: 48px; }
  .demo-review-top .demo-icon-button { width: 34px; height: 34px; }
  .demo-review-toolbar { padding-inline: 12px; gap: 8px; }
  .demo-document-paper { width: calc(100% - 26px); margin: 14px auto; padding: 24px 20px; }
  .demo-document-paper h3 { font-size: 26px; line-height: 34px; }
  .demo-review-toggle { min-height: 38px; }
  .demo-header-actions { gap: 4px; }
  .demo-artifact { padding: 11px; gap: 8px; }
  .demo-artifact strong { font-size: 13px; }
}
@media (max-width: 1050px) and (min-width: 721px) {
  .demo-sidebar { width: 190px; flex-basis: 190px; }
  .demo-review { width: calc(100% - 190px); }
  .demo-scroll { padding-inline: 22px; }
  .demo-prompts { gap: 7px; }
  .demo-prompt { padding: 13px 9px; }
  .demo-prompt strong { font-size: 13px; }
  .demo-prompt > span:not(.demo-prompt-arrow) { display: none; }
}
@media (max-width: 720px) {
  .demo-frame { padding: 5px; border-radius: 17px; }
  .app-demo { height: 592px; border-radius: 12px; }
  .demo-topbar { height: 42px; }
  .demo-body { height: calc(100% - 42px); }
  .demo-sidebar-toggle { display: grid; width: 36px; height: 36px; }
  .demo-sidebar { position: absolute; inset: 0 auto 0 0; z-index: 5; width: min(250px, 86%); padding-top: 15px; background: #14181e; box-shadow: 16px 0 38px #0006; transform: translateX(-105%); visibility: hidden; }
  .demo-sidebar.is-open { visibility: visible; }
  .demo-sidebar-heading { font-size: 12px; }
  .demo-sidebar-heading .demo-icon-button { width: 40px; height: 40px; }
  .demo-chat { min-height: 44px; }
  .demo-new-mobile { display: flex; min-height: 38px; }
  .demo-chat-header { min-height: 58px; flex-basis: 58px; padding-inline: 13px; gap: 6px; }
  .demo-scroll { padding: 23px 18px; }
  .demo-welcome { padding-bottom: 0; }
  .demo-welcome h2 { max-width: 290px; margin-inline: auto; font-size: 24px; line-height: 30px; }
  .demo-welcome > p { margin: 10px auto 20px; font-size: 13px; line-height: 20px; }
  .demo-prompts { grid-template-columns: 1fr; gap: 8px; max-width: 390px; margin: auto; }
  .demo-prompt { display: grid; min-height: 49px; grid-template-columns: 22px minmax(0, 1fr) 16px; align-items: center; column-gap: 11px; padding: 13px; border-radius: 9px; }
  .demo-prompt > svg { width: 17px; height: 17px; margin: 0; }
  .demo-prompt strong { margin: 0; font-size: 14px; }
  .demo-prompt > span:not(.demo-prompt-arrow) { display: none; }
  .demo-prompt .demo-prompt-arrow { position: static; }
  .demo-dock { padding: 8px 13px 13px; }
  .demo-composer { padding: 11px 9px 7px; }
  .demo-composer-rail { gap: 7px; }
  .demo-user-message { max-width: 96%; }
  .demo-user-message > p { font-size: 14px; line-height: 22px; }
  .demo-answer { font-size: 14px; line-height: 22px; padding-left: 14px; }
  .demo-answer h3 { font-size: 18px; line-height: 26px; }
  .demo-answer pre { font-size: 14px; padding-inline: 10px; }
  .demo-answer-actions { margin-left: 14px; }
  .demo-answer-actions button { min-height: 40px; }
  .demo-send { width: 34px; height: 34px; }
  .demo-caption { align-items: flex-start; gap: 8px; margin-top: 13px; padding-inline: 4px; font-size: 11px; }
  .demo-caption p span { display: block; margin-left: 0; }
  .demo-caption button { min-height: 40px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) { .demo-sidebar { transition: none; } }
@media (prefers-contrast: more) {
  .app-demo { --demo-line: #59616d; --demo-muted: #d0d7e0; }
  .demo-prompt, .demo-composer { border-color: #7b8796; }
  .demo-caption p span { color: #45454a; }
}
