:root{font-family:Inter,"Segoe UI",Arial,sans-serif;color:#22343b;background:#fbfcfb;font-size:15px;font-synthesis:none;--accent:#187263;--line:#e3e9e6;--muted:#7d898a}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}[hidden]{display:none!important}button{border:0}button:focus-visible,a:focus-visible{outline:3px solid #80c5ac;outline-offset:3px}input:focus,textarea:focus,select:focus{outline:2px solid #6cb59c;outline-offset:1px}button,a,input,textarea{-webkit-tap-highlight-color:transparent}.muted{color:var(--muted)}.primary,.send{background:var(--accent);color:white}.primary,.secondary{padding:11px 16px;border-radius:9px}.secondary{background:#edf2ef;color:#2e5147}.text-button{background:none;color:var(--accent);padding:12px 0}.icon{width:34px;height:34px;flex-shrink:0;border-radius:8px;background:transparent;color:#7f8e8b;font-size:22px}.icon:hover{background:#e8efeb}.brand-icon{display:inline-grid;place-items:center;color:#e9f7ec;background:#223f37;border-radius:11px;width:34px;height:34px;font:italic 700 29px Georgia}.login-screen{min-height:100dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;background:radial-gradient(ellipse at 12% 5%,#dcece0,transparent 55%),#f5f6f1;padding:28px}.login-card{width:100%;max-width:425px;background:#fff;padding:38px;border:1px solid var(--line);border-radius:22px;box-shadow:0 14px 60px #294e3910}.eyebrow{font-size:10px;letter-spacing:1.8px;color:#708179;margin:30px 0 14px}.login-card h1{font-size:35px;line-height:1.15;font-weight:550;letter-spacing:-1px;margin:0 0 16px}.login-card>.muted{font-size:14px;line-height:1.6;margin-bottom:28px}.login-card label,dialog label{display:block;font-size:13px;margin:16px 0}.login-card input,dialog input{display:block;border:1px solid #d9e2db;border-radius:8px;width:100%;padding:12px;margin-top:7px}.login-card .primary{width:100%;text-align:left;margin-top:14px}.primary span{float:right}.login-footer{font-size:12px;color:#809084;margin-top:24px}#workspace{display:grid;grid-template-columns:264px minmax(0,1fr);height:100dvh;overflow:hidden}#sidebar{background:#f0f3ef;border-right:1px solid var(--line);display:flex;min-height:0;flex-direction:column;padding:22px 13px 14px}.brand{display:flex;align-items:center;gap:10px;padding:0 8px 25px}.brand strong{font-size:16px;letter-spacing:-.5px}.new-chat{background:white;border:1px solid #d5e0d7;border-radius:9px;padding:12px 15px;text-align:left;color:#355248;box-shadow:0 2px 3px #00000002}.sidebar-label{display:flex;justify-content:space-between;font-size:10px;letter-spacing:1.3px;color:#919e94;margin:27px 12px 12px}#chat-list{overflow-y:auto;min-height:0;flex:1;scrollbar-width:thin}.chat-link{display:block;text-align:left;width:100%;padding:12px;border-radius:8px;background:transparent;color:#53645c;margin-bottom:4px;overflow:hidden}.chat-link strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13px;font-weight:450}.chat-link small{font-size:11px;color:#8b988e;display:block;margin-top:5px}.chat-link.active{background:#dfe9df;color:#1d4c37}.profile{display:flex;align-items:center;gap:10px;padding:18px 7px 0;border-top:1px solid #dfe6de;margin-top:15px}.profile>div:nth-child(2){flex:1;min-width:0}.profile strong{font-size:12px;display:block}.profile small{display:block;font-size:10px;color:#7f8d83;margin-top:4px}.avatar{width:33px;height:33px;background:#dce5d8;color:#536c4f;border-radius:50%;display:grid;place-items:center;font-size:11px}.conversation{display:flex;flex-direction:column;min-height:0;min-width:0;background:#fff}.chat-header{height:79px;flex-shrink:0;border-bottom:1px solid #edf0ed;padding:0 35px;display:flex;align-items:center;justify-content:space-between;gap:14px}.chat-header h1{font-size:15px;font-weight:550;margin:0;max-width:55vw;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.chat-header p{font-size:11px;color:#88948c;margin:7px 0 0;display:flex;align-items:center;gap:6px}.dot{display:inline-block;width:6px;height:6px;background:#c0c8c1;border-radius:50%}.dot.online{background:#59a178}.model-label{font-size:10px;color:#849188;display:flex;gap:8px;align-items:center}.model-label select{font-size:12px;max-width:190px;color:#425c4e;border:1px solid #e5eae4;border-radius:7px;padding:7px;background:#fafcf9}.messages{flex:1;min-height:0;overflow-y:auto;padding:36px max(28px,calc((100% - 860px)/2));scrollbar-width:thin;overflow-wrap:anywhere}.welcome{margin:clamp(22px,13vh,130px) auto 30px;max-width:680px}.welcome-mark{font-size:35px;color:#639977}.welcome h2{font-weight:450;font-size:32px;letter-spacing:-.9px;margin:19px 0 12px}.welcome p{font-size:14px;color:#8a958e;line-height:1.8}.suggestions{display:flex;gap:10px;margin-top:33px}.suggestions button{border:1px solid var(--line);border-radius:10px;background:white;flex:1;padding:17px 13px;font-size:12px;line-height:1.6;text-align:left;color:#63756a}.suggestions button:hover{background:#f6faf5}.message{margin:0 0 25px;line-height:1.7;font-size:14px;white-space:pre-wrap}.message header{white-space:normal;font-size:10px;letter-spacing:.8px;color:#9aa69e;margin-bottom:7px}.message.user{background:#f1f5ee;border:1px solid #e8eee3;border-radius:13px;padding:13px 18px;margin-left:clamp(0px,10%,70px)}.message.assistant{padding:3px 0}.stream{color:#6e7f73}.stream:empty{display:none}.composer-area{flex-shrink:0;padding:8px max(25px,calc((100% - 860px)/2)) 18px}.activity{font-size:11px;min-height:20px;color:#829383;padding:0 4px 6px}#composer{border:1px solid #dce5d9;border-radius:15px;box-shadow:0 4px 18px #314b2810;background:white;padding:14px 14px 10px}#prompt{display:block;resize:none;width:100%;min-height:48px;max-height:22vh;border:0;background:transparent;color:#233d30;font-size:14px;line-height:1.6;padding:0 2px}#prompt:focus{outline:none}#prompt::placeholder{color:#a1aba2}.composer-tools{display:flex;align-items:center;gap:10px}.attach{display:grid;place-items:center;cursor:pointer;border-radius:7px;color:#6f8272;font-size:25px;width:32px;height:32px}.attach:hover{background:#f0f5ee}#attachment-status{font-size:11px;flex:1}.send{width:34px;height:34px;border-radius:9px;font-size:22px}.composer-caption{display:flex;justify-content:space-between;color:#a1aba2;font-size:9px;margin:9px 3px 0}.approvals,.files{flex-shrink:0;max-height:24vh;overflow:auto;padding:0 max(25px,calc((100% - 860px)/2))}.approval{background:#fff8e9;border:1px solid #eedcb6;border-radius:10px;padding:13px 16px;font-size:13px;margin-bottom:8px}.approval pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px;max-height:110px;overflow:auto}.approval button{margin:5px 8px 0 0}.files{display:flex;gap:7px;flex-wrap:wrap;padding-top:5px}.files a{font-size:11px;text-decoration:none;color:#4b7760;border:1px solid #e3eadf;border-radius:7px;padding:6px 9px}#error,#login-error,#settings-error{color:#a64b42;font-size:12px;margin:8px 0 0}dialog{border:1px solid #e1e8df;border-radius:18px;max-width:500px;width:calc(100% - 30px);padding:24px;max-height:88dvh;overflow:auto;box-shadow:0 20px 80px #19322233}dialog::backdrop{background:#172d2855;backdrop-filter:blur(3px)}.dialog-title{display:flex;align-items:center;justify-content:space-between}.dialog-title h2{font-size:21px;font-weight:500;margin:0}dialog section{border-top:1px solid var(--line);padding:12px 0;margin-top:18px}dialog h3{font-size:14px;margin:8px 0}dialog p{font-size:12px;line-height:1.7}dialog code{display:block;font-size:12px;overflow-wrap:anywhere;background:#eef4ea;padding:13px;border-radius:8px;margin-bottom:10px}.mobile{display:none}@media(max-width:740px){#workspace{grid-template-columns:1fr}#sidebar{position:fixed;left:0;top:0;bottom:0;width:280px;z-index:10;transform:translateX(-100%);transition:transform .15s;box-shadow:10px 0 30px #294b2418}body.sidebar-open #sidebar{transform:none}.mobile{display:block}.brand{justify-content:space-between}.brand strong{flex:1}.chat-header{height:64px;padding:0 12px;gap:8px}.chat-header>div{flex:1;min-width:0}.chat-header h1{max-width:45vw;font-size:13px}.chat-header p{font-size:9px}.model-label{display:block;text-align:right}.model-label span{display:none}.model-label select{max-width:125px;font-size:10px;padding:7px 3px}.messages{padding:25px 18px}.welcome{margin-top:12vh}.welcome h2{font-size:28px}.suggestions{flex-direction:column;margin-top:25px}.suggestions button{padding:12px 14px}.composer-area{padding:6px 12px max(12px,env(safe-area-inset-bottom))}.composer-caption{font-size:8px}.desktop{display:none}.approvals,.files{padding-left:12px;padding-right:12px}.message{font-size:13px}.message.user{margin-left:20px}.login-card{padding:27px}.login-card h1{font-size:31px}.login-footer{text-align:center;font-size:10px}}@media(max-height:530px){.welcome{margin-top:15px}.welcome h2{font-size:23px}.welcome p,.suggestions{display:none}.chat-header{height:53px}.composer-area{padding-bottom:7px}.composer-caption{display:none}#prompt{min-height:28px}.messages{padding-top:18px;padding-bottom:12px}.composer-tools{height:30px}#composer{padding:9px 12px}}
