:root{color:#17382c;background:#faf9f5;font-family:system-ui,sans-serif;font-size:17px}*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button{color:inherit;cursor:pointer;background:#eef1eb;border:1px solid #ccd7cf;border-radius:12px;padding:9px 13px}button:disabled{opacity:.4}input{border:1px solid #b5c6bc;border-radius:8px;min-width:0;padding:10px}textarea{resize:none;min-width:0;color:inherit;background:0 0;border:0;padding:12px;line-height:1.5}button:focus-visible,input:focus-visible,textarea:focus-visible{outline-offset:2px;outline:2px solid #187758}.app{flex-direction:column;max-width:1000px;height:100dvh;margin:auto;display:flex}.app>header{border-bottom:1px solid #d5dbd4;flex:none;align-items:center;gap:12px;height:54px;padding:5px 10px;display:flex}.app>header strong{white-space:nowrap;text-overflow:ellipsis;flex:1;font-size:16px;overflow:hidden}.thread{flex-direction:column;flex:1;min-height:0;display:flex}.viewport{overscroll-behavior:contain;flex:1;min-height:0;padding:16px;overflow:auto}.message{overflow-wrap:anywhere;max-width:800px;margin:0 auto 22px;line-height:1.6}.message.user{white-space:pre-wrap;background:#e0ebe2;border-radius:20px;padding:14px}.message img{object-fit:contain;border-radius:10px;max-width:100%;max-height:320px;display:block}.message pre{white-space:pre;background:#e9ece6;padding:14px;overflow:auto}.message button{margin-top:8px;padding:5px 9px;font-size:13px}.message table{display:block;overflow:auto}.composer-wrap{padding:6px 12px max(8px,env(safe-area-inset-bottom));flex:none;max-height:45dvh;overflow:auto}.composer{background:#fff;border:1px solid #c8d2c9;border-radius:22px;max-width:820px;margin:auto;padding:6px}.input-row{align-items:flex-end;gap:4px;display:flex}.input-row textarea{flex:1;max-height:25dvh}.input-row button{flex:none}.attachment{align-items:center;gap:8px;padding:3px 8px;font-size:14px;display:flex}.attachment span{text-overflow:ellipsis;white-space:nowrap;flex:1;overflow:hidden}.attachment button{padding:3px 9px}.composer-wrap p{margin:4px 8px;font-size:13px}[role=alert]{color:#8a251c}.empty{text-align:center;color:#64766b;margin-top:20vh}aside{z-index:10;background:#faf9f5;width:min(380px,95vw);padding:12px;position:absolute;top:54px;bottom:0;left:0;overflow:auto;box-shadow:4px 0 18px #0002}.history-row{gap:5px;margin:8px 0;display:flex}.history-row button:first-child{text-align:left;flex:1}.history-row button:last-child{font-size:12px}.login{max-width:450px;margin:8vh auto;padding:20px}.login label{flex-direction:column;gap:5px;margin:15px 0;display:flex}.edit{border:1px solid #b5c6bc;border-radius:14px;padding:8px}.edit textarea{width:100%;display:block}@media (width>=800px){.viewport{padding:24px 40px}.message.user{margin-left:12%}}:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}[hidden]{display:none!important}.app{height:var(--app-height,100dvh);top:var(--app-top,0px);position:relative}.chat-host{flex:1;min-height:0;display:flex}.access-paused>*{visibility:hidden}.panel{flex:1;min-height:0;padding:20px;overflow:auto}.stack{flex-direction:column;gap:12px;max-width:520px;display:flex}.stack label{flex-direction:column;gap:5px;display:flex}.stack input,.stack select{width:100%}.inline,.drawer-actions{flex-wrap:wrap;gap:8px;margin:10px 0;display:flex}.inline label{flex-direction:column;gap:4px;display:flex}.notice{flex:none;justify-content:space-between;align-items:center;gap:8px;padding:6px 12px;font-size:13px;display:flex}.notice button{padding:4px 8px}.long-input{justify-content:space-between;align-items:center;gap:8px;padding:5px;font-size:12px;display:flex}.long-input button{padding:4px 8px}.long-message summary{cursor:pointer;white-space:pre-wrap}.long-message summary span{color:#526b60;font-size:13px;display:block}.user-text{white-space:pre-wrap}.provenance{color:#536c60;margin-top:8px;font-size:12px}.provenance summary{cursor:pointer}dialog{border:1px solid #bccac0;border-radius:18px;max-width:min(520px,92vw);max-height:85dvh;overflow:auto}dialog::backdrop{background:#102b2366}aside input,aside select{width:100%;margin-top:8px}aside{max-height:calc(var(--app-height,100dvh) - 54px)}.history-row details{align-self:center;position:relative}.history-row summary{cursor:pointer;padding:8px;list-style:none}.history-row details[open]{background:#fff;border:1px solid #d1dbd3;border-radius:8px;padding:4px}.history-row details button{font-size:12px;display:block}.record{border-bottom:1px solid #d1dbd3;padding:12px 0}.record pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit}.record h3{margin:6px 0;font-size:17px}.overview{border:1px solid #d1dbd3;border-radius:14px;padding:10px}.overview p{margin:6px 0}.overview button{margin-left:10px}.login p:empty,[role=alert]:empty,[role=status]:empty{display:none}a{color:#164f86}button[aria-pressed=true]{color:#fff;background:#153e2e}.chat-host,.thread,.viewport,.composer-wrap{width:100%;min-width:0;max-width:100%}.message{min-width:0;max-width:min(800px,100%)}.message pre,.message table,.message .code-header{min-width:0;max-width:100%}.message .code-header{background:#e9ece6;border-radius:10px 10px 0 0;justify-content:flex-end;align-items:center;gap:8px;padding:4px 8px 0;display:flex}.message .code-header span{text-overflow:ellipsis;white-space:nowrap;color:#536c60;flex:1;font-size:12px;overflow:hidden}.message .code-header button{flex:none;min-height:44px;margin:0}.message .code-header+pre{border-radius:0 0 10px 10px;margin-top:0}dialog.attachment-picker{border-radius:14px;width:216px;max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);margin:0;padding:8px;position:fixed;top:auto}dialog.attachment-picker[open]{gap:4px;display:grid}.input-row dialog.attachment-picker button{text-align:left;min-height:44px;color:inherit;background:#eef1eb;border:0;margin:0;font-size:17px}dialog.attachment-picker::backdrop{background:#102b2326}.composer{border-radius:24px;padding:4px}.composer:focus-within{border-color:#187758;box-shadow:0 0 0 1px #187758}.input-row textarea{border-radius:12px;min-height:44px;padding:10px 8px;line-height:1.4}.input-row textarea:focus-visible{outline:none}.input-row button.composer-control{width:44px;height:44px;color:inherit;background:0 0;border:0;border-radius:50%;place-items:center;padding:0;font-size:17px;display:grid;position:relative}.composer-control:before{content:"";background:#eef1eb;border-radius:50%;position:absolute;inset:6px}.composer-control svg{width:20px;height:20px;position:relative}.input-row button.composer-send,.input-row button.composer-stop{color:#fff}.composer-send:before,.composer-stop:before{background:#123d2c}.composer-stop svg{fill:currentColor;width:12px;height:12px;position:relative}.composer-send:not(:disabled):hover:before,.composer-stop:not(:disabled):hover:before{background:#1b563e}
