:root{font-family:Inter,Segoe UI,Arial,sans-serif;color:#18332e;background:#f3f5f2;font-size:15px;line-height:1.55;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button,a,input,textarea{outline-offset:4px}button{cursor:pointer;border:1px solid #d7e0d9;background:white;color:#254b3d;padding:10px 15px;border-radius:10px;transition:background .15s}button:hover{background:#edf3ed}button:disabled{opacity:.45;cursor:default}.primary{background:#245b46;color:white;border-color:#245b46}.primary:hover{background:#164634}.quiet{background:transparent}.brand{display:flex;align-items:center;gap:12px;font-weight:650}.logo{background:#245b46;color:white;border-radius:12px;padding:9px;font:600 17px Georgia,serif;letter-spacing:1px}.eyebrow{font-size:11px;letter-spacing:1.5px;text-transform:uppercase;color:#77897f}.muted{color:#6d8076;font-size:13px}h1,h2,h3,p{margin-top:0}h1{font-size:26px;letter-spacing:-.7px}h2{font-size:20px}h3{font-size:15px}header{padding:18px 26px;border-bottom:1px solid #e0e7e1;display:flex;align-items:center;justify-content:space-between;background:#fff;gap:20px}.pill{display:inline-flex;align-items:center;gap:7px;padding:5px 10px;border-radius:20px;background:#edf2eb;font-size:12px}.pill[data-state=review]{background:#fff0c9;color:#866018}.pill[data-state=generating],.pill[data-state=queued]{background:#e5edf8;color:#44678d}.pill[data-state=error]{background:#fce6df;color:#a44a32}.pill[data-state=closed]{background:#e1efdf;color:#396a32}.dot{width:7px;height:7px;background:currentColor;border-radius:50%}.workspace{display:grid;grid-template-columns:270px minmax(300px,1fr) minmax(300px,420px);height:calc(100vh - 84px)}aside{background:#fafbf8;border-right:1px solid #dfe5dd;overflow:auto}.section-title{padding:24px 20px 14px;display:flex;justify-content:space-between}.chat-list{padding:0 10px}.chat-item{display:block;width:100%;text-align:left;padding:16px 13px;border:0;background:none;margin-bottom:5px}.chat-item.active{background:#e4ece2;box-shadow:inset 3px 0 #376348}.chat-item .name{font-weight:600;margin-bottom:7px}.conversation{display:flex;flex-direction:column;min-height:0;background:#fff}.conversation-head{padding:22px 26px;border-bottom:1px solid #edf0ea;min-height:105px}.messages{overflow:auto;flex:1;padding:24px 26px}.message{margin-bottom:20px;max-width:92%}.message.operator{margin-left:auto}.message .who{font-size:11px;color:#7a887c;margin-bottom:5px}.bubble{padding:14px 17px;background:#f0f3ed;border-radius:4px 14px 14px 14px;overflow-wrap:anywhere}.operator .bubble{background:#e7f0e7;border-radius:14px 4px 14px 14px}.bubble p{margin:0 0 10px}.bubble p:last-child{margin:0}.bubble ul{padding-left:20px;margin:7px 0}.bubble a{color:#276c60}.draft-pane{padding:22px;overflow:auto;border-left:1px solid #dfe5dd;background:#f8faf6}.draft-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.editor{width:100%;min-height:270px;resize:vertical;border:1px solid #cedace;border-radius:12px;padding:16px;background:white;line-height:1.65;color:#243c31}.editor:focus,input:focus,textarea:focus{border-color:#568969;outline:2px solid #dce9df}.actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:12px}.actions .primary{flex:1}.note{padding:12px 14px;border-radius:10px;background:#fff1d8;color:#795b29;font-size:13px;margin:12px 0}.sources{font-size:12px;color:#728175;margin-top:16px;overflow-wrap:anywhere}details{margin:16px 0}summary{cursor:pointer;font-size:13px;color:#52705b}.hint-input{width:100%;height:85px;border:1px solid #d7e0d5;border-radius:10px;padding:10px;margin-top:10px}.empty{padding:40px 25px;color:#7a897a;text-align:center}.empty-symbol{font-size:34px;color:#98ad95;margin-bottom:14px}.client-wrap{max-width:800px;margin:auto;height:100vh;display:flex;flex-direction:column;background:white;box-shadow:0 0 50px #203d2610}.client-wrap header{padding:20px 26px}.client-intro{margin:34px 28px;padding:24px;background:#f3f6ee;border:1px solid #e2eadb;border-radius:15px}.client-intro h1{font:normal 30px Georgia,serif}.client-intro p{color:#677b66;max-width:490px}.client-compose{padding:18px 24px;border-top:1px solid #e8eee4;display:flex;gap:10px;background:#fff}.client-compose textarea{flex:1;resize:none;height:65px;border:1px solid #d7e0d5;border-radius:12px;padding:10px}.client-status{padding:8px 26px;font-size:13px;color:#74856c;min-height:38px}.start-form{max-width:440px;padding:0 28px 30px;display:grid;gap:13px}label{font-size:13px;color:#4d6752}input{display:block;width:100%;margin-top:5px;padding:11px 12px;border:1px solid #d7e0d5;border-radius:9px;background:white}.start-form button{margin-top:10px}.local-label{padding:7px;text-align:center;font-size:11px;background:#edf2e8;color:#728269}.review-hint{font-size:12px;color:#758771;margin-top:8px}.preview{margin-top:15px;border-top:1px solid #dae3d6;padding-top:15px}.preview .bubble{background:white;border:1px solid #e2e7df}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);padding:14px 22px;color:white;background:#344e3b;border-radius:12px;box-shadow:0 6px 24px #0003;max-width:90%;z-index:10}a{color:#376c52}#login{max-width:470px;margin:70px auto;padding:30px;background:white;border:1px solid #dce5d7;border-radius:20px}#login input{margin:15px 0}.bottom-tools{display:flex;gap:8px;align-items:center}.count{font-size:12px;border-radius:20px;background:#e8eee2;padding:2px 8px}@media(max-width:1050px){.workspace{grid-template-columns:210px 1fr}.draft-pane{grid-column:2;overflow:visible}.conversation{min-height:500px}.workspace{height:auto}aside{grid-row:1/3}.editor{min-height:220px}}@media(max-width:650px){.workspace{display:block}aside{max-height:210px}.conversation{height:55vh;min-height:350px}.draft-pane{border-left:0}header{padding:14px}.messages{padding:18px}.bottom-tools .muted{display:none}.client-wrap{height:100dvh}.client-intro{margin:20px}.client-intro h1{font-size:26px}.client-compose{padding:12px}.client-compose button{padding:8px}.message{max-width:96%}}

.mode-control{display:flex;align-items:center;gap:7px;font-size:13px}.mode-control select{font:inherit;padding:9px;border:1px solid #d7e0d9;border-radius:8px;max-width:100%}.bottom-tools{flex-wrap:wrap}#login-form{padding:20px}#login-form input{width:100%;padding:12px;margin-bottom:12px}@media(max-width:650px){header{flex-wrap:wrap}.bottom-tools{width:100%;gap:8px}.mode-control{width:100%}.mode-control select{flex:1}.bottom-tools button{font-size:13px}input,textarea,select{font-size:16px!important}.draft-pane{padding:16px}}
