:root{--ap-background: #ffffff;--ap-surface: #f4f4f4;--ap-text: #0d0d0d;--ap-muted: #6f6f6f;--ap-line: #e6e6e6;--ap-accent: #1c1c1c;--ap-accent-text: #ffffff;--ap-error: #c64343;--ap-font: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;--ap-radius: 26px;--ap-font-size: 14px;--ap-column: 720px;--ap-soft: color-mix(in srgb, var(--ap-text) 6%, transparent);--ap-ease: cubic-bezier(.2, .8, .2, 1)}html{background:var(--ap-background)}body{margin:0;background:var(--ap-background);color:var(--ap-text);font-family:var(--ap-font);font-size:var(--ap-font-size);line-height:1.6;-webkit-font-smoothing:antialiased;-webkit-text-size-adjust:100%}.ap-page,.ap-page *,.ap-page *:before,.ap-page *:after{box-sizing:border-box}.ap-page{display:flex;width:100%;max-width:calc(var(--ap-column) + 32px);min-height:100svh;flex-direction:column;justify-content:center;margin:0 auto;padding:24px 16px;overflow-wrap:anywhere}.ap-page.is-conversation{justify-content:flex-start;padding-top:0;padding-bottom:0}.ap-intro{display:flex;flex-direction:column;align-items:center;margin-bottom:28px;text-align:center;view-transition-name:ap-intro}.ap-logo{display:block;max-width:140px;max-height:36px;margin:0 auto 18px}.ap-eyebrow{width:fit-content;margin:0 0 18px;padding:5px 13px;border:1px solid var(--ap-line);border-radius:999px;background:var(--ap-surface);color:var(--ap-text);font-size:.86em;font-weight:500;line-height:1.4}.ap-title{margin:0;color:var(--ap-text);font-size:clamp(30px,5vw,46px);font-weight:600;letter-spacing:-.035em;line-height:1.08}.ap-lead{max-width:560px;margin:14px 0 0;color:var(--ap-muted);font-size:1.07em;line-height:1.55}.ap-header{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 0 10px;background:linear-gradient(var(--ap-background) 75%,transparent)}.ap-header .ap-logo{margin:0;max-height:24px}.ap-header .ap-eyebrow{margin:0}.ap-new{margin-left:auto;padding:6px 12px;border:1px solid var(--ap-line);border-radius:999px;background:var(--ap-background);color:var(--ap-text);font:inherit;font-size:.9em;cursor:pointer}.ap-new:hover:not(:disabled){background:var(--ap-surface)}.ap-new:disabled{opacity:.5;cursor:default}.ap-conversation{display:flex;flex:1;flex-direction:column;min-width:0}.ap-page:not(.is-conversation) .ap-conversation{flex:0}.ap-transcript{display:flex;flex-direction:column;gap:22px;padding:8px 0 24px}.ap-transcript:empty{display:none}.is-conversation .ap-transcript{flex:1}.ap-message{display:flex;flex-direction:column;min-width:0}.ap-message.is-user{align-items:flex-end}.ap-bubble{white-space:pre-wrap;line-height:1.65}.ap-message.is-user .ap-bubble{max-width:min(80%,560px);padding:10px 15px;border-radius:20px 20px 6px;background:var(--ap-surface);color:var(--ap-text)}.ap-message.is-assistant .ap-bubble{width:100%;padding:0;color:var(--ap-text)}.ap-thinking{display:inline-block;background:linear-gradient(90deg,var(--ap-muted) 25%,var(--ap-text) 50%,var(--ap-muted) 75%);background-size:200% 100%;-webkit-background-clip:text;background-clip:text;color:transparent;animation:ap-shimmer 1.6s linear infinite}@keyframes ap-shimmer{0%{background-position:100% 0}to{background-position:-100% 0}}.ap-reasoning{margin:0 0 10px;color:var(--ap-muted);font-size:.92em}.ap-reasoning summary{display:inline-flex;align-items:center;gap:6px;list-style:none;cursor:pointer}.ap-reasoning summary::-webkit-details-marker{display:none}.ap-reasoning summary:after{content:"";width:6px;height:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(-45deg);transition:transform .18s var(--ap-ease)}.ap-reasoning[open] summary:after{transform:rotate(45deg)}.ap-reasoning p{margin:8px 0 0;padding-left:12px;border-left:2px solid var(--ap-line);white-space:pre-wrap;line-height:1.55}.ap-meta{display:flex;align-items:center;gap:10px;margin-top:6px;color:var(--ap-muted);font-size:.82em}.ap-meta button{padding:0;border:0;background:none;color:inherit;font:inherit;cursor:pointer}.ap-meta button:hover{color:var(--ap-text)}.ap-cards{display:grid;width:min(100%,420px);gap:8px;margin-top:12px}.ap-card{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 14px;border:1px solid var(--ap-line);border-radius:14px;background:var(--ap-background);color:var(--ap-text);text-decoration:none;transition:background .16s ease}.ap-card:hover{background:var(--ap-surface)}.ap-suggestions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.ap-suggestions button,.ap-starter{padding:6px 13px;border:1px solid var(--ap-line);border-radius:999px;background:var(--ap-background);color:var(--ap-text);font:inherit;font-size:.9em;line-height:1.4;cursor:pointer;transition:background .16s ease,border-color .16s ease}.ap-suggestions button:hover:not(:disabled),.ap-starter:hover:not(:disabled),.ap-starter[aria-pressed=true]{border-color:color-mix(in srgb,var(--ap-text) 25%,transparent);background:var(--ap-surface)}.ap-suggestions button:disabled,.ap-starter:disabled{opacity:.5;cursor:default}.ap-activity{display:flex;align-items:center;gap:8px;margin:0;color:var(--ap-muted);font-size:.92em}.ap-activity>span{width:7px;height:7px;border-radius:50%;background:var(--ap-muted);animation:ap-pulse 1.1s ease-in-out infinite}@keyframes ap-pulse{50%{opacity:.3}}.ap-error{margin:0;color:var(--ap-error);font-size:.92em}.ap-dock{display:flex;flex-direction:column;gap:10px}.is-conversation .ap-dock{position:sticky;bottom:0;z-index:2;padding:12px 0 14px;background:linear-gradient(transparent,var(--ap-background) 28%)}.ap-composer{display:flex;flex-direction:column;gap:10px;padding:14px 14px 12px 18px;border:1px solid var(--ap-line);border-radius:var(--ap-radius);background:var(--ap-background);box-shadow:0 1px 2px var(--ap-soft),0 10px 28px -12px color-mix(in srgb,var(--ap-text) 18%,transparent);view-transition-name:ap-composer;transition:box-shadow .2s ease,border-color .2s ease}.ap-composer:focus-within{border-color:color-mix(in srgb,var(--ap-text) 28%,transparent)}.ap-composer-input{width:100%;min-height:48px;max-height:200px;padding:0;border:0;background:transparent;color:var(--ap-text);font:inherit;font-size:var(--ap-font-size);line-height:1.55;resize:none}.ap-composer-input::placeholder{color:var(--ap-muted)}@media (pointer: coarse){.ap-composer-input{font-size:max(16px,var(--ap-font-size))}}.ap-composer-toolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:10px}.ap-composer-starters{display:flex;flex-wrap:wrap;gap:8px;min-width:0}.ap-send{display:grid;flex:none;width:36px;height:36px;margin-left:auto;place-items:center;border:0;border-radius:50%;background:var(--ap-accent);color:var(--ap-accent-text);font-size:18px;line-height:1;cursor:pointer;transition:opacity .16s ease,transform .16s var(--ap-ease)}.ap-send:disabled{background:var(--ap-surface);color:var(--ap-muted);cursor:default}.ap-send:not(:disabled):active{transform:scale(.94)}.ap-icon-stop{width:11px;height:11px;border-radius:2px;background:currentColor}.ap-proof:empty{display:none}.ap-footer{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:center;gap:4px 12px;color:var(--ap-muted);font-size:.8em;text-align:center}.ap-footer a{color:inherit}.ap-disclosure{max-width:620px;margin:0;line-height:1.5}.ap-visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.ap-page :is(button,a,summary):focus-visible{outline:2px solid var(--ap-accent);outline-offset:2px}.ap-page .ap-composer-input:focus-visible{outline:none}.ap-composer:has(.ap-composer-input:focus-visible){border-color:color-mix(in srgb,var(--ap-accent) 62%,var(--ap-background));box-shadow:0 0 0 3px color-mix(in srgb,var(--ap-accent) 14%,transparent),0 10px 28px -12px color-mix(in srgb,var(--ap-text) 18%,transparent)}::view-transition-group(ap-composer){animation-duration:.46s;animation-timing-function:var(--ap-ease)}::view-transition-old(ap-intro){animation:ap-intro-out .26s ease both}@keyframes ap-intro-out{to{opacity:0;transform:translateY(-16px)}}@media (prefers-reduced-motion: reduce){.ap-thinking,.ap-activity>span{animation:none}.ap-thinking{color:var(--ap-muted);background:none}.ap-page *,.ap-page *:after{transition:none}::view-transition-group(*),::view-transition-old(*),::view-transition-new(*){animation:none}}
