:root{color-scheme:light;font-family:Arial,Helvetica,sans-serif;font-size:16px;--paper:#f4f6f9;--ink:#252729;--muted:#646e78;--line:#d7dfe5;--blue:#0a4469;--link:#196698;--pale:#deecf4;--white:#fff}
*{box-sizing:border-box;font-family:inherit;font-size:inherit;font-style:normal;letter-spacing:normal}
body{margin:0;color:var(--ink);background:var(--paper);height:100dvh;display:flex;flex-direction:column;overflow:hidden;line-height:1.5}
button,textarea{font:inherit;color:inherit}button{cursor:pointer}button:disabled{cursor:default}button,a,textarea,summary{-webkit-tap-highlight-color:transparent}
a{color:var(--link)}strong,b,h1,h2{font-weight:600}em{font-style:normal}button{transition:background .18s,border-color .18s}
button:focus-visible,a:focus-visible,textarea:focus-visible,summary:focus-visible{outline:2px solid var(--link);outline-offset:3px}[hidden]{display:none!important}
.topbar{flex-shrink:0;background:var(--pale);border-bottom:1px solid #ccdde8;padding:16px 28px}.header-inner{max-width:1000px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:20px}
.brand{display:flex;gap:12px;align-items:center;text-decoration:none;color:var(--ink);min-width:0}.brand>span{font-weight:600}.brand small{display:block;font-weight:400;color:var(--muted)}
.peter-avatar{object-fit:cover;border-radius:50%;border:1px solid #c8d5df;background:var(--white);flex-shrink:0}
main{flex:1;min-width:0;min-height:0;display:flex;flex-direction:column}.scroll-area{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain}
.welcome{max-width:900px;margin:0 auto;padding:42px 28px 28px}h1{margin:0 0 14px;line-height:1.5;color:var(--ink)}.intro{line-height:1.7;color:var(--muted);margin:0}.suggestions{margin:28px 0 0;display:grid;grid-template-columns:1fr 1fr;gap:12px;text-align:left}
.suggestion{border:1px solid transparent;border-radius:16px;background:var(--white);padding:20px 44px 20px 20px;text-align:left;position:relative;min-height:104px}.suggestion:hover{border-color:#a5c4d8;background:#edf5fa}.suggestion strong{display:block;color:var(--blue)}.suggestion>span:not(.card-arrow){display:block;color:var(--muted);margin-top:6px}.card-arrow{position:absolute;top:20px;right:20px;color:var(--blue)}
.composer-area{flex-shrink:0;width:100%;max-width:900px;margin:0 auto;padding:12px 28px max(16px,env(safe-area-inset-bottom));background:var(--paper)}.composer{border:1px solid var(--line);border-radius:24px;background:var(--white);padding:16px 18px 12px}.composer:focus-within{border-color:var(--link)}.composer textarea{width:100%;border:0;resize:none;outline:0;min-height:27px;max-height:150px;padding:0;background:none;line-height:1.6}.composer textarea:focus-visible{outline:0}.composer textarea::placeholder{color:#747d86}
.composer-actions{display:flex;align-items:center;gap:12px;margin-top:8px;min-height:38px}.counter{color:var(--muted);margin-left:auto;white-space:nowrap}.send{margin-left:auto;flex-shrink:0;border:0;border-radius:50%;background:var(--blue);color:var(--white);width:40px;height:40px;display:grid;place-items:center}.send:hover:not(:disabled){background:var(--link)}.send:disabled{background:#e3e9ee;color:#77838d}
.composer-note{font-size:13px;display:flex;justify-content:center;flex-wrap:wrap;gap:0 .35em;line-height:1.5;text-align:center;color:var(--muted);margin:10px 0 0;max-width:100%;overflow-wrap:anywhere;text-wrap:pretty}.composer-note>span{min-width:0;max-width:100%}
.messages{width:100%;max-width:900px;margin:0 auto;padding:28px 28px 12px}.message{margin-bottom:24px}.message.assistant{background:var(--white);border-radius:24px;padding:22px}.message.user{margin-left:auto;max-width:90%;width:fit-content;background:var(--pale);padding:12px 16px;border-radius:22px 22px 8px 22px}.assistant-label{display:flex;align-items:center;gap:10px;font-weight:600;margin-bottom:12px;color:var(--blue)}.assistant-label img{width:36px;height:36px}.message-body{line-height:1.75;white-space:normal;overflow-wrap:anywhere}.message.user .message-body{line-height:1.6}
.citation{font-weight:400;vertical-align:baseline;white-space:normal;background:none;text-decoration:underline;text-decoration-color:currentColor;text-underline-offset:3px;text-decoration-thickness:1px;color:var(--link)}.citation:hover{color:var(--blue)}.sources{border-top:1px solid var(--line);margin-top:20px;padding-top:14px}.sources-heading{color:var(--muted);margin-bottom:10px}.source{display:flex;gap:10px;align-items:flex-start;text-decoration:none;padding:12px;border:1px solid var(--line);border-radius:16px;line-height:1.5;margin-bottom:8px;background:var(--white)}a.source:hover{background:#edf5fa;border-color:#a5c4d8}.source-num,.source-arrow{color:var(--link)}.source-title{flex:1;min-width:0;overflow-wrap:anywhere}.source-unavailable{color:var(--muted)}.message-status{color:#8b5a22;margin-top:10px}.message.error .message-body{color:#a33b3b}.retry{background:transparent;border:1px solid var(--blue);border-radius:24px;color:var(--blue);padding:8px 16px;margin-top:10px}
.steps{margin-top:18px;border:1px solid var(--line);border-radius:16px;background:var(--paper);color:var(--blue);overflow:hidden}.steps summary{cursor:pointer;list-style:none}.steps summary::-webkit-details-marker{display:none}.steps summary:focus-visible{outline-offset:-3px;border-radius:16px}
.steps-summary,.step-summary{display:grid;grid-template-columns:20px minmax(0,1fr) 7ch 18px;column-gap:10px;align-items:center;line-height:1.5}.steps-summary{padding:12px 14px;min-height:48px}.steps-label,.step-title{min-width:0;overflow-wrap:anywhere}.steps-count,.step-time{text-align:right;white-space:nowrap;color:var(--muted);font-variant-numeric:tabular-nums;font-feature-settings:'tnum';font-weight:400}
.steps-indicator,.step-marker{width:20px;height:20px;display:grid;place-items:center;position:relative;color:var(--blue)}.steps-indicator.is-complete,.step-marker.is-complete{color:var(--muted)}.is-complete::before{content:'';width:11px;height:6px;border-left:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:translateY(-2px) rotate(-45deg)}
.disclosure-arrow{justify-self:center;width:8px;height:8px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg) translateY(-2px);transition:transform 220ms cubic-bezier(.2,.7,.2,1);opacity:.7}summary[aria-expanded=true]>.disclosure-arrow{transform:rotate(225deg) translate(-1px,-1px)}
.is-running::before,.step[data-status=running] .step-marker::before{content:'';width:14px;height:14px;border:1.5px solid #c1d6e3;border-top-color:var(--blue);border-radius:50%;animation:step-spin .8s linear infinite}
.steps-list{list-style:none;margin:0;padding:2px 14px 12px;border-top:1px solid var(--line)}.step-item{position:relative}.step-item:not(:last-child)::before{content:'';position:absolute;top:32px;left:10px;bottom:-10px;width:1px;background:var(--line)}.step{overflow:hidden;border-radius:12px}.step-summary{min-height:48px;padding:11px 0}.step-marker{background:var(--paper)}.step[data-status=error] .step-marker,.step[data-status=interrupted] .step-marker{color:#8b5a22}.step-body{padding:0 4px 12px 30px;color:var(--muted);line-height:1.6;overflow-wrap:anywhere}.step-body p{margin:0 0 8px;white-space:pre-wrap}.step-body ul{margin:6px 0 0;padding-left:20px}.step-body li{margin-bottom:6px}
.notice{border:1px solid #dfcaac;background:#fff8ef;border-radius:16px;padding:11px 14px;line-height:1.6;color:#815422;margin-bottom:10px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

@keyframes step-spin{to{transform:rotate(360deg)}}
@media(max-width:600px){.topbar{padding:12px 16px}.header-inner{gap:10px}.brand{gap:9px}.brand img{width:40px;height:40px}.welcome{padding:26px 16px 18px}.suggestions{gap:8px;margin-top:22px}.suggestion{padding:14px 28px 14px 14px;min-height:112px}.card-arrow{top:14px;right:10px}.composer-area{padding:10px 16px max(12px,env(safe-area-inset-bottom))}.composer{padding:12px 14px;border-radius:20px}.composer-note{font-size:11px;display:block;text-align:left;line-height:1.4;margin-top:8px}.messages{padding:20px 12px 8px}.message.assistant{padding:16px 12px}.message.user{max-width:94%}.steps-summary{padding:10px}.steps-list{padding:2px 10px 10px}.steps-summary,.step-summary{grid-template-columns:16px minmax(0,1fr) 7ch 12px;column-gap:6px}.steps-indicator,.step-marker{width:16px;height:16px}.step-item:not(:last-child)::before{left:8px}.step-body{padding-left:22px}.desktop-break{display:none}}
@media(max-width:370px){.composer-note{font-size:10px}.suggestions{grid-template-columns:1fr}.suggestion{min-height:84px}.brand small{max-width:150px}.steps-summary,.step-summary{grid-template-columns:14px minmax(0,1fr) 6.5ch 10px;column-gap:4px}.composer-area{padding-left:12px;padding-right:12px}}
@media(max-height:620px) and (max-width:600px){.topbar{padding-top:8px;padding-bottom:8px}.composer-actions{margin-top:2px;min-height:32px}.send{width:32px;height:32px}.composer-note{margin-top:5px;line-height:1.25}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.message-body>:first-child{margin-top:0}.message-body>:last-child{margin-bottom:0}.message-body p{margin:0 0 12px}.message-body h1,.message-body h2,.message-body h3,.message-body h4,.message-body h5,.message-body h6{font-size:inherit;font-weight:600;line-height:1.5;margin:18px 0 10px;color:inherit}.message-body ul,.message-body ol{padding-left:24px;margin:10px 0 14px}.message-body li{margin:5px 0}.message-body li>p{margin:6px 0}.message-body em{font-style:italic}.message-body blockquote{margin:12px 0;padding:12px 16px;border-left:3px solid #9bb5c6;border-radius:0 14px 14px 0;background:var(--paper)}.message-body pre{overflow:auto;max-width:100%;padding:14px;border-radius:14px;background:var(--paper);white-space:pre}.message-body code{border-radius:6px;background:var(--paper);padding:2px 4px}.message-body pre code{padding:0}.message-body table{display:block;overflow-x:auto;max-width:100%;border-spacing:0;border:1px solid var(--line);border-radius:14px;margin:12px 0}.message-body th,.message-body td{text-align:left;padding:8px 12px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);min-width:100px}.message-body th{background:var(--pale);font-weight:600}.message-body tr:last-child td{border-bottom:0}.message-body hr{border:0;border-top:1px solid var(--line);margin:18px 0}

.chat-loading{max-width:900px;margin:0 auto;padding:28px;color:var(--muted)}
.quick-questions{flex-shrink:0;display:flex;gap:8px;width:100%;max-width:900px;margin:0 auto 10px;padding:0;border-radius:20px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;cursor:grab;user-select:none;-webkit-user-select:none}
.quick-question{flex-shrink:0;border:1px solid var(--line);border-radius:20px;background:var(--white);padding:8px 14px;color:var(--blue);white-space:nowrap}
.quick-question:hover:not(:disabled){border-color:#a5c4d8;background:#edf5fa}.quick-question:disabled{color:var(--muted)}
@media(max-width:600px){.quick-questions{margin-bottom:8px;gap:6px}.quick-question{padding:7px 12px}.chat-loading{padding:20px 16px}}

.quick-questions::-webkit-scrollbar{display:none}.quick-questions .quick-question{cursor:inherit}.quick-questions.is-dragging{cursor:grabbing}
