:root{color-scheme:light;--frame-bg: #ffffff;--frame-surface: #ffffff;--frame-surface-hover: rgba(0,0,0,.055);--frame-border: #d3dbe3;--frame-border-subtle: #ececec;--frame-focus: #b8860b;--frame-text: #43434d;--frame-text-secondary: #5a5a64;--frame-text-muted: #6a6a72;--frame-accent: #b8860b;--frame-accent-text: #8a6508;--frame-accent-subtle: rgba(184,134,11,.07);--frame-on-accent: #1a1206;--frame-bubble: rgba(0,0,0,.055);--frame-error: #b91c1c;--frame-error-muted: rgba(185,28,28,.1);--frame-warning: #b45309;--frame-warning-muted: rgba(180,83,9,.1);--frame-scrim: rgba(0,0,0,.25);--frame-shadow: 0 8px 32px rgba(0,0,0,.12)}@media(prefers-color-scheme:dark){:root:not([data-theme=light]){color-scheme:dark;--frame-bg: #010100;--frame-surface: #181818;--frame-surface-hover: rgba(255,255,255,.06);--frame-border: rgba(255,255,255,.12);--frame-border-subtle: rgba(255,255,255,.08);--frame-focus: #ffd048;--frame-text: #f2f2f2;--frame-text-secondary: #b9bbc0;--frame-text-muted: #8a8e96;--frame-accent: #ffd048;--frame-accent-text: #ffd048;--frame-accent-subtle: rgba(255,208,72,.06);--frame-on-accent: #010100;--frame-bubble: #1e1e1e;--frame-error: #f87171;--frame-error-muted: rgba(248,113,113,.1);--frame-warning: #fbbf24;--frame-warning-muted: rgba(251,191,36,.1);--frame-scrim: rgba(0,0,0,.5);--frame-shadow: 0 8px 32px rgba(0,0,0,.5)}}:root[data-theme=dark]{color-scheme:dark;--frame-bg: #010100;--frame-surface: #181818;--frame-surface-hover: rgba(255,255,255,.06);--frame-border: rgba(255,255,255,.12);--frame-border-subtle: rgba(255,255,255,.08);--frame-focus: #ffd048;--frame-text: #f2f2f2;--frame-text-secondary: #b9bbc0;--frame-text-muted: #8a8e96;--frame-accent: #ffd048;--frame-accent-text: #ffd048;--frame-accent-subtle: rgba(255,208,72,.06);--frame-on-accent: #010100;--frame-bubble: #1e1e1e;--frame-error: #f87171;--frame-error-muted: rgba(248,113,113,.1);--frame-warning: #fbbf24;--frame-warning-muted: rgba(251,191,36,.1);--frame-scrim: rgba(0,0,0,.5);--frame-shadow: 0 8px 32px rgba(0,0,0,.5)}*,*:before,*:after{box-sizing:border-box}html,body{margin:0;height:100%;background:var(--frame-bg);color:var(--frame-text);font:15px/22px Roboto,system-ui,-apple-system,Segoe UI,sans-serif;-webkit-font-smoothing:antialiased;-webkit-text-size-adjust:100%}#root{display:flex;flex-direction:column;height:100%;min-height:0}button,textarea,input{font:inherit;color:inherit}button{cursor:pointer}button:disabled{cursor:default}:focus-visible{outline:2px solid var(--frame-focus);outline-offset:2px}.frame-link{display:inline-flex;align-items:center;min-height:44px;padding:0 4px;margin:0 -4px;border:0;background:none;color:var(--frame-accent-text);font-weight:500;text-decoration:none}.frame-link:hover{text-decoration:underline}.frame-primary{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 20px;border:0;border-radius:8px;background:var(--frame-accent);color:var(--frame-on-accent);font-weight:500}.frame-primary:hover{filter:brightness(1.05)}.frame-primary:disabled{opacity:.5}.frame-secondary{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 16px;border:1px solid var(--frame-border);border-radius:8px;background:none;font-weight:500}.frame-secondary:hover{background:var(--frame-surface-hover)}.frame-icon{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;flex:none;padding:0;border:0;border-radius:8px;background:none;color:var(--frame-text-secondary)}.frame-icon:hover{background:var(--frame-surface-hover);color:var(--frame-text)}.frame-icon svg{width:20px;height:20px}.frame-caption{font-size:13px;line-height:18px;color:var(--frame-text-secondary)}.frame-visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.frame-state{display:flex;flex-direction:column;align-items:center;gap:16px;margin:auto;max-width:32rem;padding:24px 16px;text-align:center;color:var(--frame-text-secondary)}.frame-state p{margin:0}.frame-state:focus{outline:none}.frame-pending-mark{display:block;flex:none;width:24px;height:24px;fill:currentColor}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important}}.frame-sheet{width:min(100% - 32px,560px);max-height:min(100% - 48px,760px);margin:auto;padding:0;border:1px solid var(--frame-border-subtle);border-radius:16px;background:var(--frame-surface);color:var(--frame-text);box-shadow:var(--frame-shadow);overflow:hidden}.frame-sheet-wide{width:min(100% - 32px,680px)}.frame-sheet::backdrop{background:var(--frame-scrim)}.frame-sheet[open]{display:flex;flex-direction:column}.frame-sheet-body{display:flex;flex:1 1 auto;flex-direction:column;gap:16px;min-height:0;padding:8px 20px 24px;overflow-y:auto;overscroll-behavior:contain}.frame-sheet-header{position:sticky;top:-8px;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:12px;margin:-8px -20px 0;padding:8px 8px 0 20px;background:var(--frame-surface)}.frame-sheet-title{margin:0;font-size:17px;line-height:23px;font-weight:500}@media(max-width:599px){.frame-sheet,.frame-sheet-wide{width:100%;max-width:100%;max-height:calc(100% - 24px);margin:auto 0 0;border-radius:16px 16px 0 0;border-width:1px 0 0}.frame-sheet-body{padding-bottom:max(24px,env(safe-area-inset-bottom))}}.frame-about{display:flex;flex-direction:column;gap:24px;min-width:0}.frame-about p{margin:0;overflow-wrap:break-word}.frame-about-section{display:flex;flex-direction:column;gap:12px;min-width:0}.frame-about-who{color:var(--frame-text)}.frame-about-line{color:var(--frame-text-secondary)}.frame-about-heading{margin:0;font-size:13px;line-height:17px;font-weight:500;color:var(--frame-text)}.frame-about-checked{display:flex;align-items:flex-start;gap:8px;min-height:44px;margin:-8px -12px;padding:8px 12px;border:0;border-radius:8px;background:none;color:var(--frame-text-secondary);text-align:left}.frame-about-checked:hover{background:var(--frame-surface-hover)}.frame-about-checked-text{flex:1;min-width:0;overflow-wrap:break-word}.frame-about-chevron{flex:none;width:20px;height:20px;margin-top:1px;color:var(--frame-text-muted);transition:transform .15s ease}.frame-about-checked[aria-expanded=true] .frame-about-chevron{transform:rotate(90deg)}.frame-about-details{display:flex;flex-direction:column;gap:4px;padding:12px 16px;border-radius:8px;background:var(--frame-bubble)}.frame-about-details[hidden]{display:none}.frame-about .frame-about-details p{overflow-wrap:anywhere}.frame-about-key{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:13px;line-height:18px}.frame-about-recheck{display:flex;flex-direction:column;align-items:flex-start;margin-top:4px}.frame-about-recheck-button{position:relative}.frame-about-recheck-button[aria-disabled=true]{cursor:default}.frame-about-recheck-button[aria-disabled=true]:hover{background:none}.frame-about-recheck-button[aria-busy=true] .frame-about-recheck-label{opacity:0}.frame-about-pending-mark{position:absolute;inset:0;width:18px;height:18px;margin:auto}.frame-about-failed{display:block}.frame-about-failed:not(:empty){margin-top:4px}.frame-about-release{padding-top:16px;border-top:1px solid var(--frame-border-subtle)}.frame-failure{display:grid;grid-template-columns:20px minmax(0,1fr) 44px;column-gap:12px;row-gap:12px;align-items:start;padding:12px 0 4px}.frame-failure-icon{display:flex;grid-column:1;padding-top:1px;color:var(--frame-error)}.frame-failure-icon svg{width:20px;height:20px}.frame-failure-body{display:flex;flex-direction:column;gap:4px;grid-column:2;min-width:0}.frame-failure-body p{margin:0;overflow-wrap:break-word}.frame-failure-line{font-size:15px;line-height:22px;color:var(--frame-text)}.frame-failure-note{font-size:13px;line-height:18px;color:var(--frame-text-secondary)}.frame-failure-dismiss{grid-column:3;margin-top:-11px}.frame-failure-help,.frame-failure-actions{grid-column:2 / -1;min-width:0}.frame-failure-help{display:flex;flex-direction:column;gap:8px;max-height:33vh;margin:-4px -6px;padding:4px 6px;overflow-y:auto;overscroll-behavior:contain}@media(min-width:600px){.frame-failure-help{max-height:40vh}}.frame-failure-help-title{margin:0;font-size:13px;line-height:17px;font-weight:500;color:var(--frame-text)}.frame-failure-help-text{margin:0;font-size:13px;line-height:18px;color:var(--frame-text-secondary);overflow-wrap:break-word}.frame-failure-help-links{display:flex;flex-wrap:wrap;column-gap:16px}.frame-failure-help-links .frame-link{overflow-wrap:anywhere}.frame-failure-actions{display:flex;flex-wrap:wrap;gap:8px}.frame-failure-quiet{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 12px;border:0;border-radius:8px;background:none;color:var(--frame-text-secondary);font-weight:500}.frame-failure-quiet:hover{background:var(--frame-surface-hover);color:var(--frame-text)}.frame-history{display:flex;flex-direction:column;flex:1 0 auto;gap:16px;min-width:0}.frame-sheet .frame-history{margin-inline:-12px}.frame-sheet .frame-history-title{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.frame-history-notice{display:grid;grid-template-columns:18px minmax(0,1fr);column-gap:12px;padding:0 12px}.frame-history-notice-icon{display:flex;color:var(--frame-error)}.frame-history-notice-icon svg{width:18px;height:18px}.frame-history-notice-body{display:flex;flex-direction:column;align-items:flex-start;gap:8px;min-width:0}.frame-history-notice-body p{margin:0;font-size:13px;line-height:18px;color:var(--frame-text);overflow-wrap:break-word}.frame-history-section{display:flex;flex-direction:column;gap:4px;min-width:0}.frame-history-title{margin:0;padding:0 12px 4px;font-size:13px;line-height:17px;font-weight:500;color:var(--frame-text-secondary)}.frame-history-list{display:flex;flex-direction:column;gap:2px;margin:0;padding:0;list-style:none}.frame-history-row{display:flex;align-items:center;min-width:0;min-height:44px;border-radius:8px}.frame-history-row:hover{background:var(--frame-surface-hover)}.frame-history-row-open,.frame-history-row-open:hover{background:var(--frame-accent-subtle)}.frame-history-open{display:flex;flex:1;flex-direction:column;justify-content:center;min-width:0;min-height:44px;padding:8px 4px 8px 12px;border:0;border-radius:8px;background:none;color:var(--frame-text);text-align:left}.frame-history-open:focus-visible,.frame-history-remove:focus-visible{outline-offset:-2px}.frame-history-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.frame-history-when{font-size:13px;line-height:18px;color:var(--frame-text-muted)}.frame-history-remove:disabled{opacity:.4}.frame-history-remove:disabled:hover{background:none;color:var(--frame-text-secondary)}@media(hover:hover)and (pointer:fine){.frame-history-remove{opacity:0}.frame-history-row:hover .frame-history-remove,.frame-history-row:focus-within .frame-history-remove{opacity:1}.frame-history-row:hover .frame-history-remove:disabled,.frame-history-row:focus-within .frame-history-remove:disabled{opacity:.4}}.frame-history-confirm{display:flex;flex:1;flex-direction:column;gap:8px;min-width:0;min-inline-size:0;margin:0;padding:12px;border:0;border-radius:8px;background:var(--frame-bubble)}.frame-history-confirm p{margin:0}.frame-history-confirm-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:500}.frame-history-confirm-text{font-size:13px;line-height:18px;color:var(--frame-text-secondary);overflow-wrap:break-word}.frame-history-confirm-actions{display:flex;flex-wrap:wrap;gap:8px;padding-top:4px}.frame-history-danger{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 16px;border:0;border-radius:8px;background:var(--frame-error-muted);color:var(--frame-error);font-weight:500}.frame-history-danger:hover{background:color-mix(in srgb,var(--frame-error) 18%,transparent)}.frame-history-settings{display:flex;flex-direction:column;gap:8px;margin-top:auto;padding:16px 12px 4px}.frame-history-switch-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.frame-history-switch-label{min-width:0;overflow-wrap:break-word}.frame-history-switch{display:inline-flex;align-items:center;justify-content:flex-end;flex:none;min-width:44px;min-height:44px;padding:0;border:0;background:none}.frame-history-switch:focus-visible{outline:none}.frame-history-switch:focus-visible .frame-history-switch-track{outline:2px solid var(--frame-focus);outline-offset:2px}.frame-history-switch-track{display:flex;align-items:center;width:44px;height:26px;padding:2px;border:1px solid var(--frame-border-subtle);border-radius:13px;background:var(--frame-bubble);transition:background-color .12s ease,border-color .12s ease}.frame-history-switch-knob{width:20px;height:20px;border-radius:50%;background:var(--frame-text);transition:transform .12s ease}.frame-history-switch[aria-checked=true] .frame-history-switch-track{border-color:var(--frame-accent);background:var(--frame-accent)}.frame-history-switch[aria-checked=true] .frame-history-switch-knob{background:var(--frame-on-accent);transform:translate(18px)}.frame-history-switch[aria-disabled=true]{cursor:default}.frame-history-switch[aria-disabled=true] .frame-history-switch-track{opacity:.4}.frame-history-line{margin:0;font-size:13px;line-height:18px;color:var(--frame-text-secondary);overflow-wrap:break-word}.frame-history-who{color:var(--frame-text-muted)}.frame-report-notice,.frame-report-question,.frame-report-ai-review,.frame-report-failed{margin:0}.frame-report-notice{color:var(--frame-text-secondary)}.frame-report-quote{flex:none;margin:0;max-height:160px;padding:12px 16px;border-radius:8px;background:var(--frame-bubble);color:var(--frame-text);white-space:pre-wrap;overflow-wrap:anywhere;overflow-y:auto;overscroll-behavior:contain}.frame-report-reasons{display:flex;flex-direction:column;gap:8px}.frame-report-question,.frame-report-note-label{font-size:13px;line-height:17px;font-weight:500;color:var(--frame-text-secondary)}.frame-report-list{display:flex;flex-direction:column;gap:4px}.frame-report-reason{display:flex;align-items:center;gap:12px;min-height:44px;margin:0 -12px;padding:11px 12px;border-radius:8px;cursor:pointer}.frame-report-reason:hover,.frame-report-reason-checked{background:var(--frame-surface-hover)}.frame-report-radio{flex:none;width:20px;height:20px;margin:0;accent-color:var(--frame-text);cursor:inherit}.frame-report-radio:disabled,.frame-report-radio:disabled+.frame-report-reason-label{opacity:.6}.frame-report-reason:has(.frame-report-radio:disabled){cursor:default}@supports selector(:has(*)){.frame-report-radio:focus-visible{outline:none}.frame-report-reason:has(.frame-report-radio:focus-visible){outline:2px solid var(--frame-focus);outline-offset:0}}.frame-report-reason-label{display:flex;flex-direction:column;min-width:0;overflow-wrap:break-word}.frame-report-reason-notice{display:flex;flex-direction:column;gap:4px;margin:4px 0 8px 32px;padding:12px 16px;border-radius:8px;background:var(--frame-bubble);color:var(--frame-text)}.frame-report-reason-notice p{margin:0}.frame-report-reason-links{display:flex;flex-direction:column;align-items:flex-start}.frame-report-reason-links .frame-link{margin:0 -4px;overflow-wrap:anywhere}.frame-report-note{display:flex;flex-direction:column;gap:8px}.frame-report-note-input{display:block;width:100%;min-height:88px;padding:12px 16px;border:0;border-radius:8px;background:var(--frame-bubble);font-size:15px;line-height:22px;resize:vertical}.frame-report-note-input::placeholder{color:var(--frame-text-muted);opacity:1}.frame-report-failed{font-size:13px;line-height:18px;color:var(--frame-error)}.frame-report-actions{display:flex;gap:12px}.frame-report-actions>button{flex:1 1 0;min-width:0}.frame-report-actions .frame-primary[aria-disabled=true]{opacity:.5;cursor:default;filter:none}.frame-report-receipt{display:flex;flex-direction:column;align-items:center;gap:12px;padding:16px 0 8px;text-align:center;color:var(--frame-text-secondary)}.frame-report-receipt-text{display:flex;flex-direction:column;align-items:center;gap:8px;max-width:28rem}.frame-report-receipt p{margin:0}.frame-report-receipt-mark{display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:50%;background:var(--frame-bubble);color:var(--frame-text)}.frame-report-receipt-mark svg{width:24px;height:24px}.frame-report-receipt-title{margin:0;font-size:17px;line-height:23px;font-weight:500;color:var(--frame-text)}.frame-report-done{align-self:stretch;margin-top:8px}@media(forced-colors:active){.frame-report-quote,.frame-report-reason-notice,.frame-report-note-input{border:1px solid CanvasText}}@media(min-width:600px){.frame-report-done{align-self:center;min-width:160px}}.frame-chat-layout{display:flex;flex:1;min-height:0;height:100%}.frame-chat-history{display:flex;flex-direction:column;flex:none;width:clamp(260px,22vw,320px);min-height:0;overflow-y:auto;padding:12px 8px;border-right:1px solid var(--frame-border-subtle)}@media(max-width:719px){.frame-chat-history{display:none}}@media(min-width:720px){.frame-chat-workspace .frame-chat-history-button{display:none}}.frame-chat{display:flex;flex:1;flex-direction:column;min-width:0;min-height:0}.frame-chat-header{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:52px;padding:4px 8px 4px 16px}.frame-chat-chip{display:inline-flex;align-items:center;gap:6px;min-width:0;font-size:13px;line-height:17px;font-weight:500;color:var(--frame-text-secondary)}.frame-chat-chip svg{flex:none;width:16px;height:16px;color:var(--frame-accent)}.frame-chat-chip span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.frame-chat-tools{display:flex;align-items:center;gap:2px}.frame-chat-toggle-on{background:var(--frame-accent-subtle);color:var(--frame-accent-text)}.frame-chat-scroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}.frame-chat-column{display:flex;flex-direction:column;gap:16px;width:100%;max-width:752px;margin:0 auto;padding:8px 16px 24px}.frame-chat-empty{display:flex;align-items:center;justify-content:center;min-height:30vh;color:var(--frame-text-muted)}.frame-chat-empty svg{width:40px;height:40px;opacity:.6}.frame-chat-firstline{display:block;width:100%;padding:12px 16px;border:0;border-radius:12px;background:var(--frame-bubble);color:var(--frame-text-muted);font-size:13px;line-height:18px;text-align:left}.frame-chat-firstline:hover{color:var(--frame-text-secondary)}.frame-chat-temporary{display:flex;flex-wrap:wrap;align-items:center;column-gap:16px;padding:4px 16px;border-radius:12px;background:var(--frame-accent-subtle);font-size:13px;line-height:18px}.frame-chat-temporary p{margin:8px 0}.frame-chat-turn-group{display:flex;flex-direction:column;gap:16px}.frame-chat-turn{display:flex;flex-direction:column;gap:4px;min-width:0}.frame-chat-user{align-items:flex-end}.frame-chat-bubble,.frame-chat-text{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.frame-chat-bubble{max-width:85%;padding:10px 16px;border-radius:16px;background:var(--frame-bubble)}.frame-chat-pending .frame-chat-bubble{opacity:.7}.frame-chat-answer{align-items:flex-start}.frame-chat-actions{display:flex;align-items:center;margin:-4px 0 -4px -14px}.frame-chat-action{color:var(--frame-text-muted)}.frame-chat-action svg{width:16px;height:16px}.frame-chat-report{margin:0;padding:0 8px;color:var(--frame-text-muted);font-size:13px;font-weight:400}.frame-chat-report:hover{color:var(--frame-text-secondary)}@media(hover:hover){.frame-chat-answer .frame-chat-actions{opacity:0;transition:opacity .15s ease}.frame-chat-answer:hover .frame-chat-actions,.frame-chat-answer:focus-within .frame-chat-actions,.frame-chat-turn-group:last-child .frame-chat-actions{opacity:1}}.frame-chat-reminder{display:block;align-self:center;max-width:92%;margin:0;padding:8px 16px;border-radius:12px;background:var(--frame-bubble);color:var(--frame-text);font-size:13px;line-height:18px;text-align:center}.frame-chat-pending-mark{width:20px;height:20px;margin:3px 0}.frame-chat-crisis{display:flex;flex-direction:column;gap:4px;padding:12px 16px;border-radius:12px;background:var(--frame-bubble)}.frame-chat-crisis p{margin:0}.frame-chat-crisis-links{display:flex;flex-wrap:wrap;column-gap:24px}.frame-chat-bottom{flex:none;padding-bottom:env(safe-area-inset-bottom);overflow:hidden;scrollbar-gutter:stable}.frame-chat-bottom .frame-chat-column{gap:8px;padding-top:0;padding-bottom:16px}.frame-chat-composer{display:flex;align-items:flex-end;gap:8px;padding:6px 6px 6px 16px;border:1px solid var(--frame-border);border-radius:24px;background:var(--frame-surface);transition:border-color .15s ease}.frame-chat-composer:focus-within{border-color:var(--frame-focus)}.frame-chat-composer textarea{flex:1;min-width:0;min-height:44px;margin:0;padding:11px 0;border:0;outline:none;background:none;resize:none;font-size:16px;line-height:22px}.frame-chat-composer textarea::placeholder{color:var(--frame-text-muted)}.frame-chat-send{display:inline-flex;flex:none;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:0;border-radius:50%;background:var(--frame-accent);color:var(--frame-on-accent)}.frame-chat-send svg{width:20px;height:20px}.frame-chat-send[aria-disabled=true]{background:var(--frame-bubble);color:var(--frame-text-muted);cursor:default}.frame-chat-under{margin:0;padding:0 16px}.frame-chat-remaining{text-align:center;color:var(--frame-text-muted)}
